:root {
  --bg:#05090d; --surface:#0a1118; --surface-2:#0e1821; --ink:#e9f6f7; --muted:#789099;
  --line:#1b323b; --line-hot:#24606a; --cyan:#4de8e2; --cyan-soft:rgba(77,232,226,.1);
  --green:#74f5a7; --red:#ff5968; --amber:#ffc857; --shadow:0 24px 70px rgba(0,0,0,.38);
}
* { box-sizing:border-box; }
html { color-scheme:dark; }
body { margin:0; min-width:320px; background:var(--bg); color:var(--ink); font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; }
body::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background-image:linear-gradient(rgba(77,232,226,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(77,232,226,.025) 1px,transparent 1px); background-size:40px 40px; mask-image:linear-gradient(to bottom,#000,transparent 85%); }
button,input,textarea { font:inherit; } button { cursor:pointer; } .hidden { display:none!important; }
button:focus-visible,input:focus-visible,textarea:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
.eyebrow,.section-kicker { margin:0; color:var(--cyan); font:600 11px/1.2 Consolas,monospace; letter-spacing:.14em; }
.brand-mark { position:relative; width:38px; height:38px; display:grid; place-items:center; color:var(--cyan); background:var(--cyan-soft); border:1px solid var(--line-hot); clip-path:polygon(12% 0,100% 0,100% 72%,72% 100%,0 100%,0 28%); box-shadow:inset 0 0 18px rgba(77,232,226,.07); }
.brand-mark::after { content:""; position:absolute; inset:4px; border:1px solid rgba(77,232,226,.15); }
.brand-mark svg { width:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.login-screen { position:relative; min-height:100vh; display:grid; place-items:center; overflow:hidden; padding:24px; background:radial-gradient(circle at 25% 50%,rgba(14,97,104,.22),transparent 31%),#05090d; }
.login-screen::before,.login-screen::after { content:""; position:absolute; width:140px; height:140px; border-color:rgba(77,232,226,.18); pointer-events:none; }
.login-screen::before { top:32px; left:32px; border-top:1px solid; border-left:1px solid; }
.login-screen::after { right:32px; bottom:32px; border-right:1px solid; border-bottom:1px solid; }
.login-visual { position:absolute; width:min(72vw,860px); aspect-ratio:1; border:1px solid rgba(77,232,226,.08); border-radius:50%; }
.radar { position:absolute; inset:13%; border:1px solid rgba(77,232,226,.11); border-radius:50%; background:repeating-radial-gradient(circle,transparent 0 68px,rgba(77,232,226,.06) 69px 70px); }
.radar::before,.radar::after { content:""; position:absolute; background:rgba(77,232,226,.1); }
.radar::before { width:1px; height:100%; left:50%; } .radar::after { height:1px; width:100%; top:50%; }
.radar span { position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 20deg,transparent 0 315deg,rgba(77,232,226,.16) 350deg,rgba(77,232,226,.55)); animation:radar 6s linear infinite; }
.login-card { position:relative; z-index:1; width:min(450px,100%); padding:42px; background:rgba(7,15,21,.92); border:1px solid var(--line-hot); box-shadow:var(--shadow),inset 0 0 50px rgba(28,115,120,.06); backdrop-filter:blur(18px); clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px)); }
.login-card::before { content:"SECURE ACCESS // 256-BIT"; position:absolute; top:15px; right:28px; color:#436169; font:9px Consolas,monospace; letter-spacing:.12em; }
.login-brand { display:flex; align-items:center; gap:12px; margin-bottom:34px; color:var(--ink); font:700 14px Consolas,monospace; letter-spacing:.08em; }
.login-card h1 { margin:10px 0 9px; max-width:320px; font-size:30px; line-height:1.25; letter-spacing:0; }
.login-intro { color:var(--muted); line-height:1.7; margin:0 0 28px; }
.login-form { display:grid; gap:17px; }
label { display:grid; gap:8px; color:#9eb2b8; font-size:12px; font-weight:600; }
input,textarea { color:var(--ink); background:#071017; border:1px solid var(--line); outline:none; transition:border-color .2s,box-shadow .2s,background .2s; }
input { height:46px; padding:0 13px; }
textarea { width:100%; min-height:214px; resize:vertical; padding:16px; line-height:1.75; }
input:focus,textarea:focus { border-color:var(--cyan); background:#09151c; box-shadow:0 0 0 3px rgba(77,232,226,.08),inset 0 0 22px rgba(77,232,226,.025); }
input::placeholder,textarea::placeholder { color:#4e6871; }
.primary-button,.secondary-button { min-height:44px; border:1px solid transparent; padding:0 17px; display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:700; transition:background .2s,border-color .2s,color .2s,box-shadow .2s; }
.primary-button { color:#031113; background:var(--cyan); border-color:var(--cyan); box-shadow:0 0 24px rgba(77,232,226,.14); }
.primary-button:hover { background:#8cf8f3; box-shadow:0 0 34px rgba(77,232,226,.27); }
.primary-button:disabled { cursor:wait; opacity:.5; box-shadow:none; }
.secondary-button { color:#a8c3c8; background:#0b151c; border-color:var(--line); }
.secondary-button:hover { color:var(--cyan); border-color:var(--line-hot); background:var(--cyan-soft); }
.primary-button.full { width:100%; margin-top:3px; }
.form-error { min-height:18px; margin:8px 0 0; color:var(--red); font-size:12px; }
.topbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 28px; background:rgba(7,13,18,.94); border-bottom:1px solid var(--line); box-shadow:0 8px 30px rgba(0,0,0,.2); backdrop-filter:blur(16px); }
.brand,.topbar-meta,.status-line { display:flex; align-items:center; }
.brand { gap:12px; } .brand strong { display:block; font:700 16px Consolas,monospace; letter-spacing:.04em; }
.brand small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.topbar-meta { gap:22px; color:var(--muted); font-size:11px; }
.topbar-meta b { color:#b8d2d6; font-weight:600; }
.service-badge,.panel-tag { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; color:var(--green); background:rgba(116,245,167,.06); border:1px solid rgba(116,245,167,.25); font:10px Consolas,monospace; letter-spacing:.06em; }
.text-button { min-height:40px; border:0; background:transparent; color:var(--muted); padding:6px 8px; }
.text-button:hover { color:var(--cyan); }
.layout { display:flex; min-height:calc(100vh - 72px); }
.sidebar { width:236px; flex:0 0 236px; display:flex; flex-direction:column; background:#070d12; border-right:1px solid var(--line); }
.sidebar-label { padding:28px 22px 12px; color:#415861; font:10px Consolas,monospace; letter-spacing:.16em; }
nav { padding:0 10px; }
.nav-item { position:relative; width:100%; min-height:48px; display:flex; align-items:center; gap:12px; border:1px solid transparent; padding:0 12px; background:transparent; color:#789099; text-align:left; transition:all .2s; }
.nav-item:hover { color:#bdd1d4; background:rgba(255,255,255,.025); }
.nav-item.active { color:var(--cyan); background:var(--cyan-soft); border-color:rgba(77,232,226,.14); box-shadow:inset 3px 0 var(--cyan); font-weight:700; }
.nav-icon { width:23px; color:#466068; font:10px Consolas,monospace; }
.nav-item.active .nav-icon { color:var(--cyan); }
.sidebar-foot { margin-top:auto; padding:20px; border-top:1px solid var(--line); }
.status-line { gap:9px; color:#8aa1a8; font-size:11px; }
.version { display:block; margin-top:11px; color:#3f555d; font:9px Consolas,monospace; letter-spacing:.07em; }
.status-dot { display:inline-block; width:7px; height:7px; border-radius:50%; color:var(--green); background:var(--green); box-shadow:0 0 10px currentColor; animation:pulse 2s ease-in-out infinite; }
.status-dot.amber { color:var(--amber); background:var(--amber); } .status-dot.red { color:var(--red); background:var(--red); }
.main-content { width:100%; max-width:1480px; margin:0 auto; padding:34px 40px 24px; }
.page-heading { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:24px; }
h2 { margin:8px 0 5px; font-size:28px; color:var(--ink); letter-spacing:0; }
h3 { margin:5px 0 0; font-size:17px; } h4 { margin:0; font-size:16px; }
.page-heading p:not(.eyebrow),.section-intro p { margin:0; color:var(--muted); line-height:1.7; }
.heading-time { text-align:right; color:#4b646d; font:10px Consolas,monospace; }
.heading-time b { display:block; margin-top:6px; color:#9ab0b6; font:600 12px Consolas,monospace; font-variant-numeric:tabular-nums; }
.notice-bar { display:flex; align-items:center; gap:10px; padding:11px 14px; margin-bottom:16px; color:#9fc7cc; background:rgba(77,232,226,.045); border:1px solid rgba(77,232,226,.16); font-size:12px; }
.notice-icon { width:20px; height:20px; flex:0 0 20px; display:grid; place-items:center; border:1px solid var(--line-hot); color:var(--cyan); font:11px Consolas,monospace; }
.notice-code { margin-left:auto; color:#44616a; font:9px Consolas,monospace; letter-spacing:.08em; }
.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:16px; }
.stat-card,.panel,.guide-card { position:relative; overflow:hidden; background:var(--surface); border:1px solid var(--line); box-shadow:inset 0 1px rgba(255,255,255,.018); }
.stat-card::before,.panel::before,.guide-card::before { content:""; position:absolute; top:-1px; left:-1px; width:34px; height:10px; border-top:1px solid var(--cyan); border-left:1px solid var(--cyan); opacity:.55; }
.stat-card { min-height:112px; padding:18px 20px; }
.stat-index { position:absolute; top:16px; right:17px; color:#344d55; font:9px Consolas,monospace; letter-spacing:.08em; }
.stat-label,.stat-help { display:block; color:#617a83; font-size:11px; }
.stat-card strong { display:block; margin:10px 0 6px; font-size:19px; }
.stat-card .stat-value { color:var(--green); } .stat-help { color:#506971; }
.work-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:16px; }
.panel { padding:22px; }
.panel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.panel-header h3 { font-size:18px; }
.detector-panel::after { content:""; position:absolute; left:22px; right:22px; top:87px; height:1px; background:linear-gradient(90deg,transparent,var(--cyan),transparent); opacity:0; pointer-events:none; animation:scan 4.8s ease-in-out infinite; }
.sample-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px; color:#607983; font-size:11px; }
.sample-chip { min-height:32px; padding:5px 10px; color:#83d8d5; background:#0a151b; border:1px solid #1f4850; font-size:11px; }
.sample-chip:hover { color:var(--cyan); background:var(--cyan-soft); }
.sample-chip.danger { color:#ff8e98; border-color:#58313a; }
.sample-chip.danger:hover { background:rgba(255,89,104,.08); }
.input-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; color:#536b73; font:11px Consolas,monospace; }
.input-actions { display:flex; gap:8px; } .detector-panel .form-error { margin-bottom:-4px; }
.result-panel { display:flex; flex-direction:column; min-height:432px; }
.result-body { position:relative; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:20px; }
.result-body::before,.result-body::after { content:""; position:absolute; width:230px; height:230px; border:1px solid rgba(77,232,226,.065); border-radius:50%; }
.result-body::after { width:166px; height:166px; border-style:dashed; animation:radar 18s linear infinite; }
.result-body p { position:relative; z-index:1; max-width:300px; margin:10px 0 0; color:#668088; font-size:12px; line-height:1.7; }
.result-symbol { position:relative; z-index:1; width:72px; height:72px; display:grid; place-items:center; margin-bottom:18px; color:#779098; background:#0b171e; border:1px solid #28434c; font:30px Consolas,monospace; clip-path:polygon(14% 0,100% 0,100% 86%,86% 100%,0 100%,0 14%); box-shadow:0 0 36px rgba(77,232,226,.06); }
.result-body h4 { position:relative; z-index:1; } .empty-result h4 { color:#81969c; }
.verdict-good .result-symbol { color:var(--green); background:rgba(116,245,167,.08); border-color:rgba(116,245,167,.5); box-shadow:0 0 36px rgba(116,245,167,.12); }
.verdict-good h4 { color:var(--green); font-size:23px; } .verdict-good p { color:#70a485; }
.verdict-bad .result-symbol { color:var(--red); background:rgba(255,89,104,.08); border-color:rgba(255,89,104,.55); box-shadow:0 0 38px rgba(255,89,104,.16); animation:danger 1.25s ease-in-out infinite; }
.verdict-bad h4 { color:var(--red); font-size:23px; } .verdict-bad p { color:#b56b73; }
.verdict-error .result-symbol { color:var(--amber); border-color:rgba(255,200,87,.45); } .verdict-error h4 { color:var(--amber); }
.result-state { padding:6px 10px; border:1px solid #29424a; color:#718a92; background:#0a141b; font:10px Consolas,monospace; letter-spacing:.05em; white-space:nowrap; }
.result-state.good { color:var(--green); border-color:rgba(116,245,167,.3); background:rgba(116,245,167,.06); }
.result-state.bad { color:var(--red); border-color:rgba(255,89,104,.36); background:rgba(255,89,104,.07); }
.result-state.error { color:var(--amber); border-color:rgba(255,200,87,.3); background:rgba(255,200,87,.06); }
.result-state.loading { color:var(--cyan); border-color:rgba(77,232,226,.34); background:var(--cyan-soft); }
.result-meta { display:flex; justify-content:space-between; gap:12px; padding-top:15px; border-top:1px solid var(--line); color:#4e6871; font-size:10px; }
.result-meta b { color:#8da6ad; font:600 11px Consolas,monospace; font-variant-numeric:tabular-nums; }
.result-note { display:flex; align-items:center; gap:8px; margin-top:14px; color:#536c74; font-size:11px; } .note-mark { color:var(--green); }
.view { display:none; } .active-view { display:block; animation:enter .3s ease-out; }
.section-intro { margin-bottom:18px; } .section-intro h3 { margin:8px 0 5px; font-size:22px; }
.status-hero { display:flex; align-items:center; gap:18px; min-height:140px; } .status-hero .secondary-button { margin-left:auto; }
.health-icon { width:60px; height:60px; display:grid; place-items:center; border:1px solid #2a4850; color:#779098; font-size:22px; }
.health-icon.good { color:var(--green); background:rgba(116,245,167,.07); border-color:rgba(116,245,167,.4); box-shadow:0 0 30px rgba(116,245,167,.08); }
.health-icon.bad { color:var(--red); background:rgba(255,89,104,.07); border-color:rgba(255,89,104,.4); }
.health-icon.pending { color:var(--amber); background:rgba(255,200,87,.06); border-color:rgba(255,200,87,.34); }
.status-hero h3 { font-size:19px; } .status-hero p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.service-capabilities { margin-top:16px; }
.capability-row { display:grid; grid-template-columns:1fr 2fr auto; gap:16px; align-items:center; padding-top:15px; border-top:1px solid var(--line); color:#9bb0b5; font-size:12px; }
.table-status { padding:5px 9px; font-size:10px; }
.table-status.ready { color:var(--green); background:rgba(116,245,167,.07); } .table-status.pending { color:var(--amber); background:rgba(255,200,87,.07); } .table-status.bad { color:var(--red); background:rgba(255,89,104,.07); }
.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.guide-card { min-height:190px; padding:21px; } .guide-card>span { color:var(--cyan); font:600 12px Consolas,monospace; }
.guide-card h4 { margin:26px 0 9px; } .guide-card p { color:var(--muted); font-size:12px; line-height:1.8; margin:0; }
.policy-panel { margin-top:16px; } .policy-panel ul { margin:0; padding-left:18px; color:#81979d; line-height:2.1; font-size:12px; }
.history-panel { min-height:280px; } .history-list { display:grid; gap:9px; }
.history-empty { padding:64px 20px; text-align:center; color:#50666d; font-size:12px; border:1px dashed #263f47; }
.history-row { display:grid; grid-template-columns:132px 1fr 110px 70px 160px; gap:14px; align-items:center; padding:13px 14px; border:1px solid #152a32; background:#091118; font-size:12px; }
.history-row time { color:#607a82; font:11px Consolas,monospace; } .history-row p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin:0; color:#9bb0b6; }
.history-verdict { justify-self:start; padding:4px 8px; } .history-verdict.good { color:var(--green); background:rgba(116,245,167,.07); }
.history-verdict.bad { color:var(--red); background:rgba(255,89,104,.07); } .history-verdict.error { color:var(--amber); background:rgba(255,200,87,.07); }
.history-id { color:#647f87; font:11px Consolas,monospace; }
footer { display:flex; justify-content:space-between; gap:16px; padding:28px 0 0; color:#354c54; font:9px Consolas,monospace; letter-spacing:.07em; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.spinner { display:inline-block;width:12px;height:12px;border:2px solid rgba(3,17,19,.3);border-top-color:#031113;border-radius:50%;animation:radar .8s linear infinite;vertical-align:-2px; }
.spinner.large { width:28px;height:28px;border-color:rgba(77,232,226,.18);border-top-color:var(--cyan);vertical-align:0; }
.loading-result .result-symbol { border-color:var(--line-hot);background:var(--cyan-soft); }
@keyframes radar { to { transform:rotate(360deg); } }
@keyframes pulse { 50% { opacity:.4;box-shadow:0 0 18px currentColor; } }
@keyframes scan { 0%,18% { opacity:0;transform:translateY(0); } 30% { opacity:.6; } 72% { opacity:.2;transform:translateY(250px); } 100% { opacity:0;transform:translateY(250px); } }
@keyframes danger { 50% { box-shadow:0 0 52px rgba(255,89,104,.28); } }
@keyframes enter { from { opacity:0;transform:translateY(6px); } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important; } }
@media (max-width:900px) {
  .topbar { padding:0 16px; } .topbar-meta>span:not(.service-badge) { display:none; }
  .layout { display:block; } .sidebar { width:100%;display:block;border-right:0;border-bottom:1px solid var(--line); }
  .sidebar-label,.sidebar-foot { display:none; } nav { display:flex;overflow:auto;padding:8px; }
  .nav-item { flex:0 0 auto;width:auto;min-height:44px; } .nav-item.active { box-shadow:inset 0 -2px var(--cyan); }
  .main-content { padding:24px 16px; } .page-heading { align-items:flex-start;gap:15px; } .heading-time { display:none; }
  .work-grid { grid-template-columns:1fr; } .stat-grid,.guide-grid { grid-template-columns:1fr; }
  .capability-row,.history-row { grid-template-columns:1fr;gap:7px; } .history-verdict { justify-self:start; }
}
@media (max-width:520px) {
  .topbar { min-height:62px; } .brand small,.service-badge { display:none; } .brand-mark { width:34px;height:34px; }
  .login-card { padding:38px 24px 28px; } .login-card h1 { font-size:26px; } .panel { padding:17px; }
  .page-heading h2 { font-size:23px; } .notice-code { display:none; } .input-footer { align-items:flex-end;flex-wrap:wrap; }
  .input-actions { width:100%;justify-content:flex-end; } .result-meta,footer { flex-direction:column; }
  .result-body::before { width:200px;height:200px; } .result-body::after { width:144px;height:144px; }
}

/* Interaction-led command center refresh */
* { letter-spacing:0!important; }
:root { --blue:#5c7cfa; --surface-raised:#101b24; --ease:cubic-bezier(.16,1,.3,1); }
body { min-height:100dvh; }
.skip-link { position:fixed; top:10px; left:10px; z-index:1000; padding:10px 14px; color:#041014; background:var(--cyan); transform:translateY(-160%); transition:transform .2s var(--ease); }
.skip-link:focus { transform:translateY(0); }
.icon-button { width:44px; height:44px; display:grid; place-items:center; border:0; color:#789099; background:transparent; }
.icon-button:hover { color:var(--cyan); background:var(--cyan-soft); }
.icon-button svg,.privacy-note svg { width:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.password-field { position:relative; display:block; }
.password-field input { width:100%; padding-right:48px; }
.password-field .icon-button { position:absolute; top:1px; right:1px; }
.primary-button:active,.secondary-button:active,.sample-chip:active,.filter-button:active { transform:scale(.98); }
.primary-button:disabled { cursor:not-allowed; }
.panel-header p { max-width:460px; margin:7px 0 0; color:#6f858d; font-size:12px; line-height:1.6; }

.topbar { position:sticky; top:0; z-index:40; min-height:64px; padding:0 24px; }
.topbar .brand-mark { width:34px; height:34px; }
.sidebar { position:sticky; top:64px; height:calc(100dvh - 64px); }
.nav-item { min-height:52px; margin-bottom:4px; border-radius:4px; }
.nav-icon { width:20px; height:20px; flex:0 0 20px; }
.nav-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.nav-item.active { background:linear-gradient(90deg,rgba(77,232,226,.13),rgba(77,232,226,.035)); }
.main-content { max-width:1420px; padding-top:28px; }
.main-content:focus { outline:none; }
.page-heading { margin-bottom:20px; }
.page-heading h2 { font-size:26px; }

.command-strip { min-height:74px; display:grid; grid-template-columns:1fr 1.3fr .85fr 1.35fr; align-items:stretch; margin-bottom:16px; background:#081117; border:1px solid var(--line); }
.command-strip>div { min-width:0; display:flex; flex-direction:column; justify-content:center; padding:14px 18px; border-right:1px solid var(--line); }
.command-strip>div:last-child { border-right:0; }
.command-strip span,.command-strip small { color:#526b74; font:10px Consolas,monospace; }
.command-strip strong { overflow:hidden; margin-top:6px; color:#c9dcdf; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.command-strip strong b { color:var(--cyan); font-size:18px; font-variant-numeric:tabular-nums; }
.command-strip .command-status { display:grid; grid-template-columns:auto 1fr; column-gap:12px; }
.command-strip .command-status .status-dot { grid-row:1 / 3; align-self:center; }
.command-message { position:relative; background:linear-gradient(100deg,rgba(92,124,250,.08),transparent); }
.command-message small { margin-top:7px; color:#647cba; }

.work-grid { grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr); gap:12px; align-items:stretch; }
.panel { border-color:#1c3741; border-radius:4px; }
.detector-panel,.result-panel { min-height:510px; padding:24px; }
.detector-panel::after { display:none; }
.sample-row { margin:1px 0 14px; }
.sample-chip { min-height:36px; border-radius:3px; transition:color .2s,background .2s,border-color .2s,transform .12s; }
.composer { position:relative; overflow:hidden; border:1px solid var(--line); background:#061017; transition:border-color .2s,box-shadow .2s; }
.composer:focus-within { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(77,232,226,.08),inset 0 0 32px rgba(77,232,226,.025); }
.composer textarea { min-height:245px; border:0; background:transparent; box-shadow:none; resize:none; }
.composer textarea:focus { border:0; background:transparent; box-shadow:none; }
.composer-status { height:38px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; color:#536c74; background:#08141b; border-top:1px solid var(--line); font:10px Consolas,monospace; }
#input-status { display:inline-flex; align-items:center; gap:7px; }
#input-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#50666e; }
#input-status.ready { color:var(--green); }
#input-status.ready::before { background:var(--green); box-shadow:0 0 10px var(--green); }
.input-footer { min-height:55px; margin-top:12px; }
.privacy-note { display:inline-flex; align-items:center; gap:7px; color:#536c74; font:11px/1.4 Consolas,monospace; }
.privacy-note svg { width:15px; }
.input-actions .primary-button { min-width:132px; }

.result-panel { background:linear-gradient(145deg,#0b151d,#081117 58%); }
.analysis-pipeline { display:grid; grid-template-columns:repeat(3,1fr); margin:-2px 0 8px; counter-reset:stage; }
.analysis-pipeline span { position:relative; padding:11px 6px 11px 18px; color:#435961; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font:10px Consolas,monospace; transition:color .2s,background .2s; }
.analysis-pipeline span+span { border-left:1px solid var(--line); }
.analysis-pipeline span::before { counter-increment:stage; content:"0" counter(stage); margin-right:6px; color:#344850; }
.analysis-pipeline span.active { color:var(--cyan); background:var(--cyan-soft); }
.analysis-pipeline span.done { color:var(--green); }
.analysis-pipeline span.done::before { content:"✓"; color:var(--green); }
.result-body { min-height:300px; isolation:isolate; }
.result-body::before { width:250px; height:250px; border-color:rgba(92,124,250,.1); }
.result-body::after { width:196px; height:196px; border-color:rgba(77,232,226,.11); }
.result-orbit { position:relative; z-index:2; display:grid; place-items:center; width:104px; height:104px; margin-bottom:17px; border:1px solid rgba(77,232,226,.13); border-radius:50%; }
.result-orbit::before,.result-orbit::after { content:""; position:absolute; width:4px; height:4px; border-radius:50%; background:var(--cyan); box-shadow:0 0 10px var(--cyan); }
.result-orbit::before { top:8px; }
.result-orbit::after { bottom:8px; }
.result-symbol { width:66px; height:66px; margin:0; clip-path:none; border-radius:50%; }
.result-overline { position:relative; z-index:2; margin-bottom:9px; color:#527078; font:10px Consolas,monospace; }
.result-body h4 { font-size:21px; }
.verdict-good .result-orbit { border-color:rgba(116,245,167,.3); }
.verdict-good .result-overline { color:#6fb58a; }
.verdict-bad .result-orbit { border-color:rgba(255,89,104,.35); }
.verdict-bad .result-overline { color:#c06872; }
.result-meta { min-height:42px; align-items:center; }

.history-toolbar { display:flex; gap:4px; margin:-4px 0 14px; }
.filter-button { min-width:64px; min-height:36px; color:#718991; background:#081118; border:1px solid var(--line); transition:color .2s,background .2s,border-color .2s,transform .12s; }
.filter-button.active { color:var(--cyan); background:var(--cyan-soft); border-color:var(--line-hot); }
.danger-text:hover { color:var(--red); }
.history-row { width:100%; grid-template-columns:150px minmax(180px,1fr) 110px 70px 92px; color:inherit; text-align:left; cursor:pointer; transition:background .2s,border-color .2s,transform .2s var(--ease); }
.history-row:hover { background:#0d1b24; border-color:var(--line-hot); transform:translateX(3px); }
.history-action { justify-self:end; color:#6e8992; font-size:11px; }

@media (max-width:1100px) {
  .command-strip { grid-template-columns:repeat(3,1fr); }
  .command-message { display:none!important; }
  .work-grid { grid-template-columns:1fr; }
  .detector-panel,.result-panel { min-height:0; }
}
@media (max-width:900px) {
  .layout { display:block; min-height:calc(100dvh - 64px); }
  .sidebar { position:fixed; inset:auto 0 0; z-index:50; width:100%; height:auto; border-top:1px solid var(--line); border-bottom:0; background:rgba(6,13,18,.96); backdrop-filter:blur(18px); }
  .sidebar nav { display:grid; grid-template-columns:repeat(4,1fr); overflow:visible; padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); }
  .nav-item { min-width:0; min-height:54px; justify-content:center; gap:5px; margin:0; padding:5px; flex-direction:column; font-size:10px; }
  .nav-item.active { box-shadow:inset 0 2px var(--cyan); }
  .nav-icon,.nav-icon svg { width:19px; height:19px; }
  .main-content { padding-bottom:100px; }
  .history-row { grid-template-columns:1fr auto; gap:8px 12px; }
  .history-row p { grid-column:1 / -1; grid-row:1; }
  .history-row time,.history-row .history-action { grid-row:3; }
  .history-row .history-verdict { grid-row:2; }
}
@media (max-width:620px) {
  .topbar-meta .text-button { min-width:44px; }
  .main-content { padding:20px 14px 100px; }
  .page-heading { margin-bottom:16px; }
  .page-heading p:not(.eyebrow) { max-width:280px; }
  .command-strip { grid-template-columns:1fr 1fr; }
  .command-strip>div { padding:12px; }
  .command-strip>div:nth-child(2) { border-right:0; }
  .command-strip>div:nth-child(3) { grid-column:1 / -1; border-top:1px solid var(--line); border-right:0; }
  .detector-panel,.result-panel { padding:17px; }
  .composer textarea { min-height:210px; font-size:16px; }
  .privacy-note { display:none; }
  .input-footer,.input-actions { width:100%; }
  .input-actions { display:grid; grid-template-columns:.7fr 1.3fr; }
  .analysis-pipeline span { padding-left:7px; text-align:center; }
  .analysis-pipeline span::before { display:block; margin:0 0 3px; }
}
