:root {
  --bg: #0b1017;
  --surface: #111821;
  --surface-2: #151e29;
  --surface-3: #1a2531;
  --line: #243140;
  --line-soft: #1d2935;
  --text: #eef3f7;
  --muted: #8392a3;
  --muted-2: #5e6d7d;
  --primary: #48d7a0;
  --primary-dark: #113b30;
  --blue: #52a8ff;
  --amber: #f4b554;
  --red: #f36d76;
  --green: #48d7a0;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .22);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); min-width: 320px; }
button, input, select { font: inherit; }
button { color: inherit; }

.app-shell { min-height: 100vh; }
body.auth-checking .app-shell { visibility: hidden; }
body.auth-required .app-shell { display: none; }
.login-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 25%, rgba(72,215,160,.1), transparent 34%), var(--bg); }
.login-card { width: min(420px, 100%); border: 1px solid var(--line); background: rgba(17,24,33,.98); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }.login-brand strong,.login-brand span { display: block; }.login-brand strong { letter-spacing: .15em; font-size: 15px; }.login-brand span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.login-card h1 { margin: 0; font-size: 27px; }.login-card > p:not(.eyebrow) { margin: 8px 0 24px; color: var(--muted); font-size: 11px; }.login-card > small { display: block; margin-top: 18px; color: var(--muted-2); font-size: 8px; line-height: 1.5; text-align: center; }
.login-card form,.user-editor form { display: grid; gap: 15px; }.login-card label,.user-editor label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 700; }.login-card input,.user-editor input,.user-editor select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #0c131b; color: var(--text); padding: 0 11px; outline: none; }.login-card input:focus,.user-editor input:focus,.user-editor select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(72,215,160,.08); }.form-error { min-height: 14px; margin: 0; color: var(--red); font-size: 9px; line-height: 1.5; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 30; background: #0d141c; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.brand { height: 74px; display: flex; align-items: center; gap: 12px; padding: 0 22px; border-bottom: 1px solid var(--line-soft); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: #07120e; }
.brand-mark svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; letter-spacing: .15em; font-size: 15px; }
.brand span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; letter-spacing: .04em; }
.nav { padding: 20px 12px; flex: 1; overflow-y: auto; }
.nav-item { border: 0; width: 100%; height: 43px; border-radius: 8px; background: transparent; color: #99a7b5; display: flex; align-items: center; gap: 12px; padding: 0 12px; cursor: pointer; text-align: left; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active { background: #15362e; color: #bff9df; box-shadow: inset 3px 0 var(--primary); }
.nav-icon { width: 18px; text-align: center; font-size: 18px; line-height: 1; }
.nav-count { margin-left: auto; font-size: 10px; color: #b9c5d0; border: 1px solid var(--line); background: var(--surface-3); border-radius: 10px; padding: 2px 7px; }
.nav-section { margin: 24px 12px 9px; color: #536274; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.sidebar-foot { padding: 14px 14px 16px; border-top: 1px solid var(--line-soft); }
.system-state { display: flex; gap: 9px; align-items: flex-start; padding: 0 9px 14px; }
.system-state strong, .system-state span { display: block; }
.system-state strong { font-size: 11px; }
.system-state span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.pulse { width: 8px; height: 8px; margin-top: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(72,215,160,.1); }
.user-card { width: 100%; border: 1px solid var(--line-soft); background: var(--surface); border-radius: 10px; padding: 9px; display: flex; align-items: center; gap: 9px; text-align: left; }
.user-card strong, .user-card small { display: block; }
.user-card strong { font-size: 11px; }
.user-card small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #203449; color: #acd6ff; font-size: 10px; font-weight: 800; }
.session-state { margin-left: auto; color: var(--muted); font-size: 8px; }
.logout-button { margin-left: auto; border: 0; background: transparent; color: var(--primary); font-size: 8px; cursor: pointer; padding: 5px; }

.main { margin-left: 248px; min-height: 100vh; }
.topbar { height: 74px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 22px; padding: 0 30px; position: sticky; top: 0; z-index: 20; background: rgba(11,16,23,.94); backdrop-filter: blur(14px); }
.scope-select span, .scope-select strong { display: block; }
.scope-select span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.scope-select strong { font-size: 12px; margin-top: 3px; }
.global-search { margin-left: auto; width: min(370px, 38vw); height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--muted); }
.global-search input, .table-search input { border: 0; outline: 0; flex: 1; background: transparent; color: var(--text); min-width: 0; }
.global-search input::placeholder, .table-search input::placeholder { color: #5f6e7f; }
kbd { font-size: 9px; color: var(--muted); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 2px 5px; font-family: inherit; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-btn:hover { border-color: #3c5063; background: var(--surface-2); }
.notification-dot { position: absolute; top: 7px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.menu-btn { display: none; }

.view { display: none; padding: 34px 34px 56px; max-width: 1620px; margin: 0 auto; }
.view.active { display: block; animation: fade-in .25s ease-out; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px !important; color: var(--primary) !important; font-size: 9px !important; font-weight: 800; letter-spacing: .18em; }
.page-head h1 { margin: 0; font-size: clamp(25px, 2.3vw, 34px); letter-spacing: -.035em; }
.page-head p { color: var(--muted); margin: 7px 0 0; font-size: 13px; }
.head-actions { display: flex; gap: 9px; }
.btn { min-height: 39px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; font-weight: 700; font-size: 12px; }
.btn.primary { background: var(--primary); color: #06130e; box-shadow: 0 7px 20px rgba(72,215,160,.12); }
.btn.primary:hover { background: #5ce3ae; }
.btn.primary:disabled { background: #263a35; color: #657a73; box-shadow: none; cursor: not-allowed; }
.btn.secondary { border-color: var(--line); background: var(--surface); color: #c2cdd7; }
.btn.secondary:hover { background: var(--surface-2); border-color: #3a4d5f; }
.btn.compact { min-height: 34px; padding: 0 12px; }
.btn.full { width: 100%; }
.text-btn { border: 0; color: var(--primary); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.metric-grid.three { grid-template-columns: repeat(3, 1fr); }
.metric, .panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.metric { min-height: 132px; padding: 20px; position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; right: -25px; top: -35px; width: 100px; height: 100px; border: 1px solid rgba(72,215,160,.08); border-radius: 50%; }
.metric-label { color: var(--muted); font-size: 11px; display: block; }
.metric > strong { display: block; margin: 12px 0 10px; font-size: 28px; letter-spacing: -.03em; }
.delta { font-size: 10px; font-weight: 700; }
.delta em { color: var(--muted); font-style: normal; font-weight: 500; margin-left: 4px; }
.delta.up { color: var(--green); }
.delta.danger, .danger-text { color: var(--red); }
.metric-note { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot.amber { background: var(--amber); }.dot.green { background: var(--green); }.dot.blue { background: var(--blue); }.dot.red { background: var(--red); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .8fr); gap: 14px; margin-bottom: 14px; }
.panel { padding: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.panel h2 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
.panel-head p, .section-title p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.segmented { display: flex; background: #0c131b; border: 1px solid var(--line-soft); border-radius: 7px; padding: 2px; }
.segmented button { border: 0; background: transparent; color: var(--muted); padding: 5px 9px; border-radius: 5px; font-size: 9px; cursor: pointer; }
.segmented button.active { background: var(--surface-3); color: var(--text); }
.chart-wrap { display: grid; grid-template-columns: 28px 1fr; margin-top: 18px; }
.chart-scale { height: 220px; display: flex; flex-direction: column; justify-content: space-between; color: #536272; font-size: 9px; padding-bottom: 14px; }
.chart { width: 100%; height: 220px; overflow: visible; }
.grid-lines line { stroke: #1c2935; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-area { fill: rgba(72,215,160,.08); }
.chart-line { fill: none; stroke: var(--primary); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-point { fill: var(--primary); stroke: #0d151b; stroke-width: 4; vector-effect: non-scaling-stroke; }
.chart-labels { grid-column: 2; display: flex; justify-content: space-between; color: #536272; font-size: 9px; margin-top: -7px; }
.chart-summary { border-top: 1px solid var(--line-soft); margin-top: 15px; padding-top: 13px; display: flex; gap: 26px; color: var(--muted); font-size: 9px; }
.chart-summary span { display: flex; align-items: center; gap: 6px; }.chart-summary strong { color: #cfd8e0; }
.legend { display: inline-block; width: 14px; height: 2px; }.primary-legend { background: var(--primary); }.muted-legend { background: #596979; }
.donut-row { display: flex; align-items: center; gap: 22px; padding: 24px 0 19px; }
.donut { width: 104px; height: 104px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: conic-gradient(var(--primary) 0 45%, var(--blue) 45% 96%, var(--red) 96%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 9px; background: var(--surface); border-radius: 50%; }
.donut > div { text-align: center; z-index: 1; }.donut strong,.donut span { display: block; }.donut strong { font-size: 20px; }.donut span { color: var(--muted); font-size: 8px; margin-top: 2px; }
.donut-legend { flex: 1; display: grid; gap: 12px; }.donut-legend span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }.donut-legend strong { margin-left: auto; color: var(--text); }
.node-mini { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 9px; color: var(--muted); }
.node-name { color: #c3ced8; display: flex; align-items: center; gap: 7px; }.bar { height: 3px; background: #202d39; border-radius: 3px; grid-column: 1 / -1; overflow: hidden; }.bar i { display: block; height: 100%; background: var(--primary); border-radius: inherit; }

.table-panel { padding-bottom: 8px; }
.table-scroll { overflow-x: auto; margin: 15px -20px 0; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th { text-align: left; color: #5f7081; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); }
td { padding: 12px 20px; border-bottom: 1px solid var(--line-soft); font-size: 10px; color: #aab7c3; }
tbody tr { cursor: pointer; transition: background .15s; }tbody tr:hover { background: #151f29; }tbody tr:last-child td { border-bottom: 0; }
.file-cell { display: flex; align-items: center; gap: 10px; }.file-cell strong,.file-cell small { display: block; }.file-cell strong { color: #dce4eb; font-size: 10px; }.file-cell small { color: var(--muted-2); font-size: 8px; margin-top: 3px; }
.file-avatar { width: 32px; height: 32px; border: 1px solid #334151; border-radius: 7px; display: grid; place-items: center; font-size: 7px; font-weight: 900; color: #a9b8c7; background: #19232e; }
.danger-file { border-color: rgba(243,109,118,.32); color: #ffabb1; background: rgba(243,109,118,.08); }
.status-badge { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 12px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status-badge.connected { color: #9df0cf; background: rgba(72,215,160,.1); border: 1px solid rgba(72,215,160,.18); }
.status-badge.warning { color: #f6c875; background: rgba(244,181,84,.1); border: 1px solid rgba(244,181,84,.2); }
.status-badge.dangerous { color: #ffabb1; background: rgba(243,109,118,.1); border: 1px solid rgba(243,109,118,.2); }
.status-badge.clean { color: #9df0cf; background: rgba(72,215,160,.1); }.status-badge.unknown { color: #bec9d4; background: rgba(150,165,180,.1); }
.progress-status { display: inline-flex; gap: 6px; align-items: center; }.spinner { width: 11px; height: 11px; border: 2px solid #2e4253; border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }

.submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; align-items: start; }
.submit-main { display: grid; gap: 14px; }.submit-side { display: grid; gap: 14px; position: sticky; top: 94px; }
.upload-panel,.form-panel { position: relative; padding: 22px 22px 22px 76px; }.section-number { position: absolute; left: 22px; top: 23px; color: var(--primary); font: 700 10px ui-monospace, monospace; }.section-title { margin-bottom: 18px; }
.dropzone { min-height: 230px; border: 1px dashed #334659; background: #0d151d; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; cursor: pointer; transition: .2s; padding: 26px; }
.dropzone:hover,.dropzone.dragging { background: #101c23; border-color: var(--primary); }.dropzone input { display: none; }.dropzone strong { font-size: 13px; margin-top: 13px; }.dropzone > span:not(.upload-icon) { font-size: 10px; color: var(--muted); margin-top: 6px; }.dropzone small { color: #566779; margin-top: 17px; letter-spacing: .08em; font-size: 8px; }.upload-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: #17372f; color: var(--primary); font-size: 22px; }
.file-list { display: grid; gap: 8px; margin-top: 12px; }.upload-file { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-soft); background: var(--surface-2); border-radius: 8px; padding: 9px; }.upload-file div:nth-child(2) { flex: 1; }.upload-file strong,.upload-file small { display: block; }.upload-file strong { font-size: 10px; }.upload-file small { font-size: 8px; color: var(--muted); margin-top: 3px; }.remove-file { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.form-grid label > span { display: block; font-size: 9px; color: #a4b1bd; font-weight: 700; margin: 0 0 7px; }.form-grid select,.form-grid input { width: 100%; height: 40px; border: 1px solid var(--line); background: #0d151d; color: #cbd5de; border-radius: 8px; padding: 0 11px; outline: 0; font-size: 10px; }.form-grid select:focus,.form-grid input:focus { border-color: var(--primary); }
.archive-options { display: none; }.archive-options.visible { display: block; }.policy-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 12px; border: 1px solid var(--line-soft); background: #0d151d; border-radius: 8px; }.policy-row.compact { margin-top: 8px; }.policy-row strong,.policy-row small { display: block; }.policy-row strong { font-size: 10px; }.policy-row small { font-size: 8px; color: var(--muted); margin-top: 4px; }.policy-ok { color: var(--green); font-size: 9px; font-weight: 800; white-space: nowrap; }
.policy-card h2 { margin-bottom: 10px; }.switch-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line-soft); cursor: pointer; }.switch-row span { flex: 1; }.switch-row strong,.switch-row small { display: block; }.switch-row strong { font-size: 10px; }.switch-row small { font-size: 8px; color: var(--muted); margin-top: 3px; }.switch-row input { display: none; }.switch-row i { width: 31px; height: 17px; border-radius: 17px; background: #293744; position: relative; transition: .2s; }.switch-row i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: #8391a0; transition: .2s; }.switch-row input:checked + i { background: #226149; }.switch-row input:checked + i::after { left: 17px; background: var(--primary); }
.security-note { display: flex; gap: 12px; border: 1px solid rgba(82,168,255,.18); background: rgba(82,168,255,.06); border-radius: 12px; padding: 16px; }.security-note > span { color: var(--blue); font-size: 19px; }.security-note strong { font-size: 10px; }.security-note p { color: #8699aa; font-size: 9px; line-height: 1.55; margin: 5px 0 0; }.submit-btn { height: 46px; display: flex; align-items: center; justify-content: space-between; }

.filterbar { display: flex; gap: 14px; align-items: center; }.table-search { height: 34px; flex: 1; max-width: 360px; border: 1px solid var(--line); background: #0d151d; border-radius: 8px; display: flex; align-items: center; gap: 7px; padding: 0 10px; color: var(--muted); }.filter-chips { display: flex; gap: 4px; }.filter-chips button { border: 1px solid transparent; background: transparent; color: var(--muted); height: 30px; border-radius: 7px; padding: 0 10px; font-size: 9px; cursor: pointer; }.filter-chips button.active { background: var(--surface-3); color: var(--text); border-color: var(--line); }
.hash { color: #728393; font: 9px ui-monospace, monospace; }.row-action { border: 0; background: transparent; color: var(--muted); cursor: pointer; }.risk { display: flex; gap: 7px; align-items: center; }.risk-score { width: 27px; height: 5px; border-radius: 5px; background: #263543; overflow: hidden; }.risk-score i { height: 100%; display: block; }.risk-score .danger { background: var(--red); }.risk-score .safe { background: var(--green); }.risk-score .medium { background: var(--amber); }
.pagination { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 9px; }.pagination div { display: flex; gap: 4px; }.pagination button,.page-current { width: 28px; height: 27px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); display: grid; place-items: center; }.pagination button { cursor: pointer; }.page-current { background: var(--primary-dark); color: var(--primary); border-color: #225943; }

.intel-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid rgba(72,215,160,.18); background: rgba(72,215,160,.05); border-radius: 12px; padding: 16px 19px; margin-bottom: 16px; }.intel-summary > div { display: flex; gap: 12px; align-items: center; }.intel-summary strong,.intel-summary p { display: block; }.intel-summary strong { font-size: 11px; }.intel-summary p { color: #829b91; font-size: 9px; margin: 4px 0 0; }.shield-icon { color: var(--primary); font-size: 22px; }
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.provider-card { position: relative; min-height: 264px; border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }.provider-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; font-weight: 900; font-size: 11px; font-style: normal; }.provider-logo.vt { color: #85b7ff; background: #172d4d; }.provider-logo.mb { color: #f3bd6d; background: #3a2c19; }.provider-logo.tf { color: #e5a1ff; background: #33203c; }.provider-logo.misp { color: #8fe2e6; background: #17363a; }.provider-logo.circl { color: #a8f0ce; background: #17362d; }.provider-top { position: absolute; right: 16px; top: 17px; display: flex; gap: 5px; }.more-btn { background: transparent; border: 0; color: var(--muted); cursor: pointer; }.provider-card h2 { margin: 17px 0 7px; font-size: 14px; }.provider-card > p { color: var(--muted); line-height: 1.5; font-size: 9px; margin: 0; }.provider-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding: 15px 0; }.provider-stats span { border-left: 2px solid var(--line); padding-left: 8px; }.provider-stats small,.provider-stats strong { display: block; }.provider-stats small { color: var(--muted); font-size: 7px; }.provider-stats strong { font-size: 11px; margin-top: 3px; }.provider-foot { padding-top: 11px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }.provider-foot button { border: 0; background: transparent; color: var(--primary); font-size: 8px; cursor: pointer; }.add-provider { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: transparent; }.add-provider > span { font-size: 25px; color: var(--muted); }.add-provider h2 { margin: 10px 0 4px; }.add-provider p { margin-bottom: 15px; }

.node-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.node-card { border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--radius); padding: 20px; }.node-card-head { display: flex; justify-content: space-between; align-items: flex-start; }.node-card-head > div { display: grid; grid-template-columns: 10px 1fr; gap: 0 5px; align-items: center; }.node-card-head small { grid-column: 2; color: var(--muted); font-size: 8px; margin-top: 4px; }.node-card-head strong { font-size: 12px; }.resource-row { margin-top: 20px; }.resource-row > span { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }.resource-row strong { color: #c6d0d9; }.resource-row > div { height: 4px; background: #202d39; border-radius: 4px; margin-top: 7px; overflow: hidden; }.resource-row i { display: block; height: 100%; background: var(--primary); }.resource-row i.high { background: var(--amber); }.vm-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 20px 0; }.vm-cells span { height: 30px; border-radius: 6px; display: grid; place-items: center; border: 1px solid #2d3b49; background: #18222d; color: #617181; font-size: 7px; }.vm-cells span.busy { border-color: rgba(82,168,255,.28); background: rgba(82,168,255,.09); color: #79baff; }.vm-cells span.quarantine { border-color: rgba(243,109,118,.35); background: rgba(243,109,118,.1); color: var(--red); }.node-card footer { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 8px; }.node-card footer button { background: transparent; border: 0; color: var(--primary); font-size: 8px; cursor: pointer; }
.empty-state { text-align: center; padding: 65px 20px; }.empty-state > span { font-size: 34px; color: var(--muted); }.empty-state h2 { margin: 15px 0 8px; }.empty-state p { max-width: 500px; margin: 0 auto 18px; color: var(--muted); font-size: 10px; }
.audit-list > div { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }.audit-list > div:last-child { border: 0; }.audit-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: #1a2935; color: var(--blue); }.audit-list p { margin: 0; font-size: 10px; }.audit-list p small { display: block; color: var(--muted); font-size: 8px; margin-top: 5px; }.audit-list code { color: #75879a; font-size: 8px; }
.users-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 14px; align-items: start; }.user-editor { position: sticky; top: 94px; }.user-editor select[multiple] { min-height: 142px; padding: 8px; }.user-editor select option { padding: 6px; border-radius: 5px; }.user-editor label small { color: var(--muted-2); font-size: 8px; font-weight: 400; }.user-editor .checkbox-row { display: flex; align-items: center; gap: 9px; }.user-editor .checkbox-row input { width: 16px; min-height: 16px; accent-color: var(--primary); }.editor-actions,.row-actions { display: flex; gap: 8px; align-items: center; }.row-actions .danger-text { margin-left: 7px; }

.drawer-backdrop { display: none; position: fixed; inset: 0; z-index: 40; background: rgba(3,7,10,.62); backdrop-filter: blur(2px); }.drawer-backdrop.open { display: block; }.analysis-drawer { position: fixed; right: 0; top: 0; bottom: 0; z-index: 50; width: min(520px, 100vw); background: #0e151d; border-left: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(102%); transition: transform .25s ease; overflow-y: auto; }.analysis-drawer.open { transform: translateX(0); }.drawer-close { position: absolute; right: 17px; top: 15px; border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }.drawer-head { display: flex; gap: 13px; align-items: center; padding: 28px 24px 20px; }.drawer-head .file-avatar { width: 46px; height: 46px; }.drawer-head h2 { margin: 7px 0 5px; font-size: 17px; }.drawer-head code { color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }.drawer-tabs { display: flex; padding: 0 24px; border-bottom: 1px solid var(--line-soft); }.drawer-tabs button { height: 39px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; margin-right: 20px; }.drawer-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }.drawer-content { padding: 20px 24px 30px; }.verdict-box { display: flex; gap: 12px; border: 1px solid rgba(243,109,118,.2); background: rgba(243,109,118,.06); padding: 14px; border-radius: 10px; }.verdict-box > span { width: 28px; height: 28px; border-radius: 50%; background: rgba(243,109,118,.16); color: var(--red); display: grid; place-items: center; font-weight: 900; }.verdict-box strong { font-size: 10px; }.verdict-box p { color: #a9878a; font-size: 8px; line-height: 1.5; margin: 5px 0 0; }.drawer-content h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #8d9cac; margin: 24px 0 9px; }.findings { list-style: none; padding: 0; margin: 0; }.findings li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }.severity { height: fit-content; padding: 3px 5px; border-radius: 4px; font-size: 6px; font-weight: 900; }.severity.critical { color: #ffadb3; background: rgba(243,109,118,.13); }.severity.high { color: #f6ca7d; background: rgba(244,181,84,.11); }.findings strong { font-size: 10px; }.findings p { color: var(--muted); font-size: 8px; margin: 4px 0 0; }.reputation-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 9px; }.reputation-row > span:first-child { min-width: 0; flex-wrap: wrap; }.reputation-row .event-label { align-items: flex-start; flex-direction: column; gap: 3px; }.reputation-row code { max-width: 58%; overflow-wrap: anywhere; white-space: normal; text-align: right; color: #8fa0b2; }.reputation-row span { display: flex; align-items: center; gap: 8px; }.provider-logo.small { display: inline-grid; width: 24px; height: 24px; border-radius: 6px; font-size: 7px; }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: flex; gap: 10px; align-items: center; width: 330px; padding: 13px; border: 1px solid rgba(72,215,160,.22); background: #12241f; border-radius: 10px; box-shadow: var(--shadow); transform: translateY(130%); opacity: 0; transition: .25s; }.toast.show { transform: translateY(0); opacity: 1; }.toast > span { color: var(--primary); }.toast strong,.toast p { display: block; }.toast strong { font-size: 10px; }.toast p { margin: 3px 0 0; color: #7f9d92; font-size: 8px; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .provider-grid,.node-grid { grid-template-columns: repeat(2, 1fr); }
  .submit-layout { grid-template-columns: 1fr; }.submit-side { position: static; grid-template-columns: 1fr 1fr; }.submit-btn { grid-column: 1 / -1; }
  .users-layout { grid-template-columns: 1fr; }.user-editor { position: static; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: .25s; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }.main { margin-left: 0; }.menu-btn { display: grid; }.topbar { padding: 0 14px; gap: 10px; }.scope-select { display: none; }.global-search { width: auto; flex: 1; }.global-search kbd { display: none; }.view { padding: 24px 14px 42px; }.page-head { align-items: flex-start; flex-direction: column; }.head-actions { width: 100%; }.head-actions .btn { flex: 1; }.metric-grid,.metric-grid.three,.provider-grid,.node-grid { grid-template-columns: 1fr; }.submit-side { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.upload-panel,.form-panel { padding: 65px 16px 16px; }.section-title { margin-bottom: 15px; }.filterbar { flex-wrap: wrap; }.table-search { max-width: none; width: 100%; flex-basis: 100%; }.filter-chips { overflow-x: auto; }.chart-summary { flex-wrap: wrap; gap: 10px 18px; }.toast { left: 14px; right: 14px; width: auto; }.intel-summary { align-items: flex-start; }.intel-summary .text-btn { display: none; }
}
