/* Seyf admin — "night vault" theme. Self-hosted Geist (SIL OFL, see /fonts/OFL.txt). */

@font-face {
    font-family: "Geist";
    src: url("/fonts/Geist-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg: #0A0C0F;
    --bg-sunk: #07080A;
    --side: #0D1014;
    --panel: #111419;
    --panel-2: #161A20;
    --panel-3: #1B2029;
    --line: #1F252D;
    --line-2: #2C333D;
    --text: #E7EAEE;
    --text-2: #C9CED6;
    --muted: #9AA3AF;
    --faint: #6B7380;
    --link: #8AB4FF;
    --blue: #5B9BFF;
    --blue-bg: #132033;
    --amber: #F5A524;
    --amber-ink: #1A1203;
    --amber-bg: #2A200B;
    --amber-line: #4A3912;
    --red: #FF8A8A;
    --red-fill: #C9353B;
    --red-bg: #1A1215;
    --red-line: #3A2226;
    --violet: #C4B5FD;
    --violet-bg: #221A33;
    --green: #8FC6A0;
    --radius: 14px;
    --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font: 14px/1.5 var(--sans);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: #B8D0FF; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 16px; font-weight: 600; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.icon { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ---------- shell ---------- */

.shell { min-height: 100vh; display: flex; flex-wrap: wrap; }

.side {
    flex: 1 1 240px;
    padding: 20px 16px;
    background: var(--side);
    border-right: 1px solid #1C2128;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--amber); color: var(--amber-ink);
    display: flex; align-items: center; justify-content: center;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name strong { font-size: 16px; }
.brand-name span { font-size: 12px; color: var(--muted); }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
    display: flex; align-items: center; gap: 12px;
    min-height: 44px; padding: 0 12px; border-radius: 10px;
    color: var(--muted); font-weight: 500;
}
.nav a:hover { background: var(--panel-2); color: var(--text); }
.nav a.on { background: var(--panel-3); color: var(--text); }
.nav a span:first-of-type { flex-grow: 1; }
.nav .count {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    padding: 1px 8px; border-radius: 99px; background: var(--amber); color: var(--amber-ink);
}

.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.disk {
    padding: 14px; border-radius: 12px; background: #12161C; border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px;
}
.disk-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 12px; color: var(--muted); }
.me { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.me-info { flex-grow: 1; display: flex; flex-direction: column; line-height: 1.3; }
.me-info span { font-size: 12px; color: var(--muted); }
.me form { margin: 0; }

.main {
    flex: 999 1 560px;
    min-width: 0;
    padding: 28px clamp(16px, 3vw, 40px) 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.page-title { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- controls ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 16px; border-radius: 10px;
    border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
    font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #1D232C; color: var(--text); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-icon { width: 40px; min-height: 40px; padding: 0; background: transparent; border-color: transparent; color: var(--muted); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: #FFB43F; color: var(--amber-ink); }
.btn-light { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-light:hover { background: #FFFFFF; color: var(--bg); }
.btn-danger { background: var(--red-fill); border-color: var(--red-fill); color: #FFFFFF; }
.btn-danger:hover { background: #DB3E45; color: #FFFFFF; }
.btn-danger-soft { background: var(--red-bg); border-color: var(--red-line); color: var(--red); }
.btn-danger-soft:hover { background: #24161A; color: #FFB0B0; }
.btn-wide { width: 100%; justify-content: space-between; min-height: 52px; }

.kbd {
    font-family: var(--mono); font-size: 11px; line-height: 1;
    padding: 4px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px;
    color: var(--text-2); background: var(--panel-2);
}
.btn-light .kbd { background: #D3D7DD; color: var(--bg); border-color: #B9BEC6; }
.btn-danger .kbd { background: #A82C31; color: #FFFFFF; border-color: #8E2429; }

.search {
    flex: 0 1 360px; display: flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 14px; border-radius: 10px;
    background: var(--panel); border: 1px solid #232932; color: var(--muted);
}
.search:focus-within { border-color: var(--amber); }
.search input { flex-grow: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; }

.input, select.input {
    min-height: 42px; padding: 0 12px; border-radius: 10px;
    border: 1px solid var(--line-2); background: var(--side); color: var(--text); font: inherit;
}
.input:focus { outline: none; border-color: var(--amber); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--amber); }
.check-danger input { accent-color: #E5484D; }

.segmented { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--side); border: 1px solid var(--line); }
.segmented a {
    min-height: 32px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center;
    color: var(--muted); font-size: 12px; font-weight: 500;
}
.segmented a:hover { color: var(--text); }
.segmented a.on { background: var(--line); color: var(--text); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 38px; padding: 0 14px; border-radius: 99px;
    border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font-size: 13px;
}
.chip:hover { border-color: #4A525E; color: var(--text); }
.chip.on { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.chip .mono { font-size: 12px; opacity: 0.8; }

/* ---------- surfaces ---------- */

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.grow-2 { flex: 2 1 460px; min-width: 0; }
.grow-1 { flex: 1 1 300px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.stat {
    display: flex; flex-direction: column; gap: 12px; padding: 18px;
    border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text);
}
a.stat:hover { border-color: var(--line-2); color: var(--text); }
.stat-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500; }
.stat-num { font-family: var(--mono); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.stat-num small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.stat-sub { font-size: 12px; color: var(--muted); }
.stat-sub.up { color: var(--green); }
.stat-sub.violet { color: var(--violet); }
.stat.alert { background: #17130A; border-color: var(--amber-line); }
.stat.alert .stat-top { color: #E8C67A; }
.stat.alert .stat-num { color: var(--amber); }
.stat.alert .stat-sub { color: #C9AE72; }

.badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
    background: var(--panel-2); color: var(--muted); white-space: nowrap;
}
.badge.amber { background: var(--amber-bg); color: var(--amber); }
.badge.danger { background: #2A1519; color: var(--red); }
.badge.violet { background: var(--violet-bg); color: var(--violet); }
.badge.info { background: var(--blue-bg); color: var(--link); }
.badge.warn { background: var(--amber-bg); color: var(--amber); }
.badge.muted { background: var(--panel-2); color: var(--muted); }
.tag {
    font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
    padding: 3px 7px; border-radius: 6px; background: var(--bg); color: var(--text-2); border: 1px solid var(--line-2);
}

.flash { padding: 12px 14px; border-radius: 12px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.flash form { margin: 0 0 0 auto; }
.flash.ok { background: #101B2B; border: 1px solid #24406B; color: #A9C8FF; }
.flash.err { background: #1C1013; border: 1px solid #5A262C; color: #FFB4B4; }
.flash .btn { color: inherit; border-color: currentColor; background: transparent; }

.bar { display: block; width: 100%; height: 6px; }
.bar .track { fill: var(--line); }
.bar .fill { fill: var(--blue); }
.bar .fill.amber { fill: var(--amber); }

.empty { padding: 40px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------- blurred media ---------- */

.hatch { background-color: #151920; background-image: repeating-linear-gradient(135deg, #1A1F27 0 10px, #151920 10px 20px); }
.blurable { position: relative; overflow: hidden; }
.blurable > img, .blurable > video, .blurable > .note { transition: filter 0.2s; }
html:not(.blur-off) .blurable:not(.revealed) > img,
html:not(.blur-off) .blurable:not(.revealed) > video { filter: blur(24px) saturate(0.6); transform: scale(1.08); }
html:not(.blur-off) .blurable:not(.revealed) > .note { filter: blur(7px); user-select: none; }
.veil { display: none; }
html:not(.blur-off) .blurable:not(.revealed) > .veil {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--text-2); font-size: 12px; font-weight: 500; background: rgba(10, 12, 15, 0.35);
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tile.removed { opacity: 0.55; }
.thumb {
    aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.thumb > img { width: 100%; height: 100%; object-fit: cover; }
.thumb .tag { position: absolute; top: 10px; left: 10px; z-index: 1; }
.thumb .dot { position: absolute; top: 12px; right: 12px; z-index: 1; width: 8px; height: 8px; border-radius: 99px; background: var(--amber); }
.thumb .gone { position: absolute; top: 10px; right: 10px; z-index: 1; }
.tile-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.tile-title { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-title:hover { color: var(--text); }
.tile-meta { display: flex; gap: 8px; font-size: 12px; color: var(--muted); }
.tile-meta :last-child { margin-left: auto; }
.tile-actions { display: flex; gap: 8px; margin-top: 6px; }
.tile-actions form { flex: 1 1 0; margin: 0; display: flex; }
.tile-actions .btn { flex: 1 1 0; }

/* ---------- dashboard ---------- */

.chart { display: block; width: 100%; height: 180px; }
.chart rect { fill: #2A3240; }
.chart rect.today { fill: var(--amber); }
.chart-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 8px; }
.split { display: block; width: 100%; height: 10px; }
.split .k-PHOTO, .swatch.k-PHOTO { fill: var(--blue); background: var(--blue); }
.split .k-VIDEO, .swatch.k-VIDEO { fill: var(--amber); background: var(--amber); }
.split .k-DOCUMENT, .swatch.k-DOCUMENT { fill: #A78BFA; background: #A78BFA; }
.split .k-NOTE, .swatch.k-NOTE { fill: var(--muted); background: var(--muted); }
.legend { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.legend-row { display: flex; align-items: center; gap: 10px; }
.legend-row span:nth-child(2) { flex-grow: 1; }
.swatch { width: 10px; height: 10px; border-radius: 3px; }
.legend-row .pct { width: 44px; text-align: right; }

.feed-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #1A1F26; }
.feed-row .badge { min-width: 104px; justify-content: center; }
.feed-row .what { flex: 1 1 240px; }
.feed-row .when { font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* ---------- tables ---------- */

.table-box { border-radius: var(--radius); border: 1px solid var(--line); background: #0F1216; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
.table-box table { min-width: 880px; }
th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 14px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid #171B21; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
tbody tr:hover { background: #12161C; }
tbody tr:last-child td { border-bottom: 0; }
td form { margin: 0; }
.num { text-align: right; font-family: var(--mono); }

.who { display: flex; align-items: center; gap: 12px; color: var(--text); }
.who:hover { color: var(--text); }
.who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.who-text strong { display: flex; gap: 8px; align-items: center; }
.avatar {
    width: 36px; height: 36px; border-radius: 99px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.avatar.lg { width: 72px; height: 72px; border-radius: 22px; font-size: 30px; }
.av-0 { background: #2B2346; color: var(--violet); }
.av-1 { background: #13243A; color: var(--link); }
.av-2 { background: var(--amber-bg); color: var(--amber); }
.av-3 { background: #1D2A22; color: var(--green); }
.usage { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.pager div { display: flex; gap: 8px; }

/* ---------- profile ---------- */

.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px; }
.profile-main { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.profile-main .badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.id-pill { font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 8px; background: var(--side); border: 1px solid #232932; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { margin: 0; }

dl.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 13px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; word-break: break-word; }

.danger-zone { background: #140E10; border-color: var(--red-line); display: flex; flex-direction: column; gap: 12px; }
.danger-zone h2 { color: var(--red); }
.danger-zone .input { border-color: var(--red-line); }

.pay-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #1A1F26; }
.pay-row:first-of-type { border-top: 0; }
.pay-row > div { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }

/* ---------- review (focus mode) ---------- */

.focus { min-height: 100vh; display: flex; flex-direction: column; }
.focus-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    padding: 12px clamp(16px, 3vw, 32px); background: var(--side); border-bottom: 1px solid #1C2128;
}
.focus-bar .back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); font-weight: 500; }
.focus-bar .sep { width: 1px; height: 24px; background: #232932; }
.progress { flex: 1 1 200px; max-width: 360px; display: flex; align-items: center; gap: 12px; }
.progress .mono { white-space: nowrap; }
.progress .bar .fill { fill: var(--amber); }
.focus-nav { margin-left: auto; display: flex; gap: 8px; }
.focus-body { flex-grow: 1; display: flex; flex-wrap: wrap; }

.stage-col { flex: 999 1 560px; min-width: 0; padding: clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; background: var(--bg-sunk); }
.stage {
    flex-grow: 1; min-height: 520px; border-radius: 16px; border: 1px solid #1C2128;
    display: flex; align-items: center; justify-content: center;
}
.stage > img, .stage > video { max-width: 100%; max-height: 72vh; border-radius: 8px; }
.stage > .note {
    width: min(720px, 92%); max-height: 70vh; overflow: auto; margin: 0; padding: 24px; border-radius: 12px;
    background: var(--panel); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font: 15px/1.6 var(--mono);
}
html:not(.blur-off) .stage:not(.revealed) > .veil { gap: 16px; font-size: 14px; text-align: center; padding: 24px; }
.veil-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.veil strong { font-size: 18px; color: var(--text); }
.veil p { max-width: 380px; color: var(--muted); font-weight: 400; }
.stage .hide-btn { position: absolute; top: 16px; right: 16px; display: none; }
html:not(.blur-off) .stage.revealed .hide-btn { display: inline-flex; }
.nopreview { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); text-align: center; padding: 24px; }

.strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.strip a {
    flex: 0 0 auto; width: 76px; height: 56px; border-radius: 10px; border: 2px solid var(--line);
    background: #12151B; color: var(--muted); display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em;
}
.strip a:hover { border-color: var(--line-2); color: var(--text); }
.strip a.on { border-color: var(--amber); color: var(--amber); }

.inspector {
    flex: 1 1 360px; padding: clamp(16px, 2.4vw, 28px); background: var(--side); border-left: 1px solid #1C2128;
    display: flex; flex-direction: column; gap: 22px;
}
.inspector h1 { font-size: 22px; }
.owner { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--radius); background: #12161C; border: 1px solid var(--line); color: var(--text); }
.owner:hover { border-color: var(--line-2); color: var(--text); }
.owner-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.owner-stats > span { display: block; padding: 10px 4px; border-radius: 10px; background: var(--side); }
.owner-stats strong { display: block; font-family: var(--mono); font-size: 18px; font-weight: 500; }
.owner-stats span { font-size: 11px; color: var(--muted); }
.owner-stats .bad strong { color: var(--red); }

.decide { display: flex; flex-direction: column; gap: 12px; }
.decide form { margin: 0; }
.remove-box { margin: 0; padding: 16px; border-radius: var(--radius); border: 1px solid var(--red-line); background: #140E10; display: flex; flex-direction: column; gap: 12px; }
.remove-box legend { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--red); }
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chips label { cursor: pointer; }
.reason-chips input { position: absolute; opacity: 0; pointer-events: none; }
.reason-chips span {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 99px;
    border: 1px solid var(--line-2); background: #12161C; color: var(--text-2); font-size: 13px;
}
.reason-chips label:hover span { border-color: #4A525E; }
.reason-chips input:checked + span { border-color: #E5484D; background: #2A1519; color: #FFB4B4; }
.reason-chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.inspector-foot {
    margin-top: auto; padding-top: 16px; border-top: 1px solid #1C2128;
    display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted);
}
.shortcuts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- login ---------- */

.login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.login-intro {
    flex: 1 1 420px; padding: clamp(28px, 5vw, 64px); background: var(--side); border-right: 1px solid #1C2128;
    display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.login-intro h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; max-width: 460px; }
.login-intro ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; color: var(--text-2); }
.login-intro li { display: flex; gap: 12px; align-items: center; }
.login-intro li svg { color: var(--amber); }
.login-form-col { flex: 1 1 420px; padding: clamp(28px, 5vw, 64px); display: flex; align-items: center; justify-content: center; }
.login-form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 20px; }
.login-form .input { min-height: 48px; font-size: 15px; border-radius: 12px; }
.login-form .btn { min-height: 50px; border-radius: 12px; font-size: 15px; }
.pw { position: relative; display: flex; }
.pw .input { flex-grow: 1; padding-right: 52px; }
.pw button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }

@media (max-width: 800px) {
    .side { flex-basis: 100%; border-right: 0; border-bottom: 1px solid #1C2128; gap: 12px; padding: 12px 16px; }
    .nav { flex-direction: row; overflow-x: auto; }
    .nav a { white-space: nowrap; }
    .side-foot { display: none; }
    .inspector { border-left: 0; border-top: 1px solid #1C2128; }
    .stage { min-height: 320px; }
}
.spacer { flex-grow: 1; }
.login-form h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
