/* „Taško“ stilius: tamsus fonas, mėlyna #4A75FF, geltona – atlikta */
@font-face { font-family: Archivo; src: url(sriftai/archivo-latin-ext-standard-normal.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Archivo; src: url(sriftai/archivo-latin-standard-normal.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: Hanken; src: url(sriftai/hanken-grotesk-latin-ext-400-normal.woff2) format('woff2'); font-weight: 400; unicode-range: U+0100-024F; }
@font-face { font-family: Hanken; src: url(sriftai/hanken-grotesk-latin-400-normal.woff2) format('woff2'); font-weight: 400; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: Hanken; src: url(sriftai/hanken-grotesk-latin-ext-600-normal.woff2) format('woff2'); font-weight: 600; unicode-range: U+0100-024F; }
@font-face { font-family: Hanken; src: url(sriftai/hanken-grotesk-latin-600-normal.woff2) format('woff2'); font-weight: 600; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --blue: #4A75FF; --black: #161616; --yellow: #FFE652; --red: #FF5A4E; --green: #27C466;
  --bg: #121214; --card: #1C1C1F; --line: rgba(255,255,255,.1); --fg: #E9E9E9; --mute: #9C9CA4;
  --head: Archivo, "Arial Black", Arial, sans-serif; --body: Hanken, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--body); }
h1, h2, h3 { font-family: var(--head); font-stretch: 125%; font-weight: 600; margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-size: 30px; } h2 { font-size: 22px; } h3 { font-size: 17px; }
a { color: var(--blue); }
.logo { font: 700 22px var(--head); font-stretch: 125%; color: #fff; text-decoration: none; letter-spacing: .01em; }
.logo b { color: var(--blue); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(16px, 4vw); border-bottom: 1px solid var(--line); }
.top .who { display: flex; gap: 12px; align-items: center; color: var(--mute); font-size: 14px; }
main { max-width: 980px; margin: 0 auto; padding: 32px max(16px, 4vw) 60px; display: grid; gap: 24px; }
.center { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 16px; }
.narrow { width: min(420px, 100%); }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=password], textarea, select {
  width: 100%; background: #0C0C0E; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  padding: 11px 13px; font: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.code-in { font: 600 28px/1 var(--head); letter-spacing: .3em; text-align: center; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
button, .btn { font: 700 15px var(--body); border-radius: 10px; padding: 11px 18px; border: 0; cursor: pointer; background: var(--blue); color: #fff; text-decoration: none; display: inline-flex; justify-content: center; gap: 8px; }
button.ghost, .btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.22); color: var(--fg); }
button.danger { background: transparent; border: 1px solid var(--red); color: var(--red); }
button.small { padding: 6px 12px; font-size: 13px; }
button:disabled { opacity: .5; cursor: default; }
.err { color: var(--red); font-weight: 600; min-height: 1.4em; margin: 0; }
.ok { color: var(--green); font-weight: 600; margin: 0; }
.mute { color: var(--mute); font-size: 14px; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.secret { font: 600 15px ui-monospace, Menlo, monospace; background: #0C0C0E; padding: 10px 12px; border-radius: 10px; user-select: all; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; font: 600 17px ui-monospace, Menlo, monospace; background: var(--yellow); color: var(--black); padding: 16px 20px; border-radius: 12px; }
.qr { background: #fff; border-radius: 12px; padding: 10px; width: 220px; height: 220px; justify-self: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { background: transparent; border: 1px solid var(--line); color: var(--mute); }
.tabs button.on { background: #fff; color: var(--black); border-color: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--mute); font-weight: 600; font-size: 13px; }
.tablewrap { overflow-x: auto; }
.pill { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--mute); }
.pill.warn { background: rgba(255,90,78,.18); color: var(--red); }
.shown { background: var(--yellow); color: var(--black); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.shown table td, .shown table th { border-color: rgba(0,0,0,.15); color: var(--black); }
.shown code { font: 700 16px ui-monospace, Menlo, monospace; }
.stack { display: grid; gap: 16px; }
.row.spread { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.w-short { width: 140px !important; }
.card.inner { padding: 16px; background: rgba(255,255,255,.02); }
.code-sm { width: 170px !important; font-size: 20px; }
button.dark { background: var(--black); }
