/* =====================================================================
   Hispion Audit Center v2 — Glass UI
   ===================================================================== */

:root {
    --bg: #060a18;
    --bg-2: #0b1229;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-2: rgba(255, 255, 255, 0.085);
    --glass-strong: rgba(17, 24, 48, 0.78);
    --border: rgba(255, 255, 255, 0.11);
    --border-2: rgba(255, 255, 255, 0.18);
    --text: #e8eefb;
    --text-2: #c3cde0;
    --muted: #8b97b0;
    --primary: #22d3ee;
    --primary-2: #0ea5e9;
    --accent: #8b5cf6;
    --accent-2: #a78bfa;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #fb7185;
    --critical: #f43f5e;
    --high: #fb923c;
    --medium: #facc15;
    --low: #60a5fa;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    --blur: blur(18px) saturate(150%);
    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: #67e8f9; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: rgba(34, 211, 238, .35); color: #fff; }

/* ---------- animated background ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
    radial-gradient(1200px 700px at 10% -10%, #13224d 0%, transparent 60%),
    radial-gradient(1000px 600px at 110% 10%, #1e1b4b 0%, transparent 55%),
    linear-gradient(180deg, #070b1c 0%, #060a18 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 22s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; background: #0891b2; top: -120px; left: -80px; }
.orb-2 { width: 460px; height: 460px; background: #7c3aed; bottom: -140px; right: -60px; animation-delay: -8s; opacity: .45; }
.orb-3 { width: 340px; height: 340px; background: #2563eb; top: 40%; left: 55%; animation-delay: -15s; opacity: .3; }
.grid-overlay { position: absolute; inset: 0; background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.08); }
    66% { transform: translate(-40px, 30px) scale(.95); }
}

/* ---------- glass primitives ---------- */
.glass {
    background: var(--glass);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.glass-strong {
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--border-2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.card { border-radius: var(--radius); padding: 1.5rem; position: relative; }
.card.glass::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 40%);
}
.card-title { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.card-title i { color: var(--primary); }
.card-sub { color: var(--muted); font-size: .9rem; margin-top: -.6rem; margin-bottom: 1.2rem; }

/* ---------- navbar ---------- */
.navbar { position: sticky; top: 12px; z-index: 100; margin: 12px auto 0; width: calc(100% - 24px); max-width: 1320px; border-radius: 18px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--text); }
.brand img { width: 40px; height: 40px; max-width: none; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(34,211,238,.35)); }
.brand-divider { width: 1px; height: 22px; background: var(--border-2); }
.brand-title { font-weight: 700; letter-spacing: .2px; background: linear-gradient(90deg, #a5f3fc, #c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap; }
.brand-title em { font-style: normal; font-size: .7rem; padding: .1rem .45rem; margin-left: .3rem; border-radius: 6px; background: rgba(139,92,246,.25); -webkit-text-fill-color: #ddd6fe; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links > a { color: var(--text-2); padding: .5rem .85rem; border-radius: 10px; font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; transition: all .2s; }
.nav-links > a:hover { background: var(--glass-2); color: #fff; }
.nav-links > a.active { background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.18)); color: #fff; box-shadow: inset 0 0 0 1px rgba(34,211,238,.25); }
.nav-links > a i { font-size: .85rem; opacity: .85; }
.nav-bell { position: relative; }
.nav-bell-label { display: none; }
.bell-count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--critical); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.nav-toggle { display: none; background: var(--glass-2); border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }

.dropdown { position: relative; }
.avatar-btn { display: flex; align-items: center; gap: .5rem; background: var(--glass); border: 1px solid var(--border); border-radius: 999px; padding: .25rem .7rem .25rem .25rem; color: var(--text); cursor: pointer; transition: .2s; }
.avatar-btn:hover { background: var(--glass-2); }
.avatar-btn .fa-chevron-down { font-size: .65rem; color: var(--muted); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #04121f; background: linear-gradient(135deg, var(--primary), var(--accent-2)); flex-shrink: 0; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.8rem; }
.avatar.team { background: linear-gradient(135deg, var(--accent), #6366f1); color: #fff; }
.avatar-name { font-size: .9rem; font-weight: 600; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; border-radius: 14px; padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; z-index: 200; }
.dropdown.open .dropdown-menu, .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu.portal { z-index: 900; min-width: 220px; }
.dropdown-head { padding: .7rem .8rem; border-bottom: 1px solid var(--border); margin-bottom: .3rem; display: flex; flex-direction: column; }
.dropdown-head small { color: var(--muted); font-size: .8rem; word-break: break-all; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; align-items: center; gap: .65rem; padding: .6rem .8rem; border-radius: 9px; color: var(--text-2); font-size: .9rem; background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--glass-2); color: #fff; }
.dropdown-menu i { width: 16px; text-align: center; color: var(--muted); }
.dropdown-menu .danger:hover { background: rgba(244,63,94,.15); color: #fecdd3; }
.dropdown-sep { height: 1px; background: var(--border); margin: .3rem 0; }

/* ---------- page ---------- */
.page { flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.page-title .grad { background: linear-gradient(90deg, #67e8f9, #a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-sub { color: var(--muted); margin-top: .35rem; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--primary); margin-bottom: .4rem; display: block; }

.grid { display: grid; gap: 1.25rem; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-hero { grid-template-columns: 1.15fr 1fr 1fr; }
.span-2 { grid-column: span 2; }
.mb { margin-bottom: 1.25rem; }
.mt { margin-top: 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: var(--mono); }
.text-right { text-align: right; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; word-break: break-word; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 12px; font-weight: 600; font-size: .9rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; color: var(--text); white-space: nowrap; line-height: 1.2; text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #03121f; box-shadow: 0 6px 20px rgba(14,165,233,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { color: #03121f; box-shadow: 0 10px 28px rgba(14,165,233,.5), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, var(--accent), #6366f1); color: #fff; box-shadow: 0 6px 20px rgba(139,92,246,.35); }
.btn-accent:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(139,92,246,.5); }
.btn-ghost { background: var(--glass); border-color: var(--border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-2); border-color: var(--border-2); color: #fff; }
.btn-success { background: linear-gradient(135deg, #34d399, #10b981); color: #032016; box-shadow: 0 6px 20px rgba(16,185,129,.3); }
.btn-success:hover { color: #032016; transform: translateY(-1px); }
.btn-danger { background: rgba(244,63,94,.14); border-color: rgba(244,63,94,.35); color: #fecdd3; }
.btn-danger:hover { background: rgba(244,63,94,.25); color: #fff; }
.btn-sm { padding: .45rem .8rem; font-size: .82rem; border-radius: 10px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; white-space: nowrap; }
.badge i { font-size: .7rem; }
.sev-critical { background: rgba(244,63,94,.15); color: #fda4af; border-color: rgba(244,63,94,.35); }
.sev-high { background: rgba(251,146,60,.15); color: #fdba74; border-color: rgba(251,146,60,.35); }
.sev-medium { background: rgba(250,204,21,.13); color: #fde68a; border-color: rgba(250,204,21,.3); }
.sev-low { background: rgba(96,165,250,.15); color: #bfdbfe; border-color: rgba(96,165,250,.35); }
.st-open, .st-requested, .st-warning, .st-needs-attention { background: rgba(251,191,36,.13); color: #fde68a; border-color: rgba(251,191,36,.3); }
.st-in-progress, .st-approved { background: rgba(96,165,250,.15); color: #bfdbfe; border-color: rgba(96,165,250,.35); }
.st-fixed, .st-completed, .st-secure, .st-compliant, .st-verified { background: rgba(52,211,153,.14); color: #a7f3d0; border-color: rgba(52,211,153,.35); }
.st-dismissed { background: rgba(148,163,184,.15); color: #cbd5e1; border-color: rgba(148,163,184,.3); }
.st-declined, .st-critical, .st-non-compliant, .st-unverified { background: rgba(244,63,94,.14); color: #fda4af; border-color: rgba(244,63,94,.35); }
.st-admin { background: rgba(139,92,246,.18); color: #ddd6fe; border-color: rgba(139,92,246,.4); }
.st-client { background: rgba(34,211,238,.12); color: #a5f3fc; border-color: rgba(34,211,238,.3); }
.badge-new { background: linear-gradient(135deg, #f43f5e, #e11d48); color: #fff; font-size: .65rem; padding: .15rem .5rem; }
.pill-count { background: rgba(255,255,255,.14); border-radius: 999px; padding: 0 .5rem; font-size: .72rem; font-weight: 700; min-width: 22px; text-align: center; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label, .label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-2); margin-bottom: .45rem; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.req { color: var(--danger); }
.input, select.input, textarea.input {
    width: 100%; padding: .75rem .95rem; border-radius: 12px; font: inherit; font-size: .93rem; color: var(--text);
    background: rgba(5, 10, 28, .45); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.input::placeholder { color: #5f6b84; }
.input:focus { outline: none; border-color: rgba(34,211,238,.6); box-shadow: 0 0 0 4px rgba(34,211,238,.12); background: rgba(5, 10, 28, .6); }
.input:disabled { opacity: .6; cursor: not-allowed; }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b97b0' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .9rem center; }
select.input option { background: #0f1630; color: var(--text); }
.input-group { position: relative; }
.input-group .input { padding-left: 2.6rem; }
.input-group > i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.input-group .pw-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: .4rem; border-radius: 8px; }
.input-group .pw-toggle:hover { color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 .8rem; }
.checkbox { display: flex; align-items: center; gap: .55rem; cursor: pointer; font-size: .9rem; color: var(--text-2); }
.checkbox input { width: 17px; height: 17px; accent-color: var(--primary); }
input[type=range] { width: 100%; accent-color: var(--primary); }
.strength { margin-top: .5rem; }
.strength-bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.strength-bar span { display: block; height: 100%; width: 0; transition: width .3s, background .3s; border-radius: inherit; }
.strength-text { font-size: .75rem; margin-top: .3rem; color: var(--muted); }

/* ---------- alerts ---------- */
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; font-size: .9rem; margin-bottom: 1.1rem; border: 1px solid; }
.alert i { margin-top: .2rem; }
.alert-error { background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.3); color: #fecdd3; }
.alert-success { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); color: #bbf7d0; }
.alert-info { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.25); color: #cffafe; }
.alert-warning { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.3); color: #fef3c7; }

/* ---------- stat cards ---------- */
.stat { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); transition: transform .25s, border-color .25s; }
.stat:hover { transform: translateY(-3px); border-color: var(--border-2); }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; color: #fff; }
.ic-cyan { background: linear-gradient(135deg, #22d3ee, #0284c7); box-shadow: 0 8px 22px rgba(14,165,233,.35); }
.ic-violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 8px 22px rgba(139,92,246,.35); }
.ic-rose { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 8px 22px rgba(244,63,94,.35); }
.ic-green { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 8px 22px rgba(16,185,129,.35); }
.ic-amber { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 8px 22px rgba(245,158,11,.35); }
.stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.stat-meta { font-size: .8rem; color: var(--muted); }

/* ---------- score ring ---------- */
.score-card { display: flex; align-items: center; gap: 1.5rem; }
.score-ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { stroke: rgba(255,255,255,.08); }
.score-ring .bar { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 6px currentColor); }
.score-ring .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring .num { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.score-ring .of { font-size: .72rem; color: var(--muted); display: block; margin-top: .25rem; line-height: 1.3; }
.score-ring .word { display: block; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.score-info h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.score-info .meta { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .85rem; margin-top: .6rem; }
.score-info .meta i { width: 16px; color: var(--primary); }

/* ---------- severity bars ---------- */
.sev-bars { display: flex; flex-direction: column; gap: .85rem; }
.sev-row { display: grid; grid-template-columns: 70px 1fr 34px; align-items: center; gap: .75rem; font-size: .85rem; }
.sev-row .track { height: 9px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.sev-row .fill { height: 100%; border-radius: inherit; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.fill-critical { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.fill-high { background: linear-gradient(90deg, #f97316, #fdba74); }
.fill-medium { background: linear-gradient(90deg, #eab308, #fde047); }
.fill-low { background: linear-gradient(90deg, #3b82f6, #93c5fd); }
.fill-secure { background: linear-gradient(90deg, #10b981, #6ee7b7); }
.fill-warning { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.sev-row strong { text-align: right; }

.compliance { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.compliance-icon { font-size: 2rem; }
.progress-mini { display: flex; gap: .35rem; height: 8px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.06); width: 100%; }
.progress-mini span { height: 100%; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.legend i { font-size: .55rem; margin-right: .3rem; }

/* ---------- tabs ---------- */
.tabs-shell { border-radius: var(--radius); overflow: hidden; }
.tabs { display: flex; gap: .35rem; padding: .5rem; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; background: rgba(0,0,0,.12); }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap; transition: .2s; }
.tab:hover { color: var(--text); background: var(--glass); }
.tab.active { color: #fff; background: linear-gradient(135deg, rgba(34,211,238,.2), rgba(139,92,246,.2)); border-color: rgba(34,211,238,.28); box-shadow: 0 4px 16px rgba(14,165,233,.15); }
.tab-panel { display: none; padding: 1.5rem; animation: fadeUp .35s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.panel-head h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.panel-head h3 i { color: var(--primary); }

/* ---------- filters / chips ---------- */
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.1rem; }
.toolbar .input { width: auto; min-width: 160px; padding-top: .55rem; padding-bottom: .55rem; }
.toolbar .search { flex: 1; min-width: 200px; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { padding: .38rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); color: var(--text-2); font-size: .8rem; font-weight: 600; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--border-2); color: #fff; }
.chip.active { background: rgba(34,211,238,.16); border-color: rgba(34,211,238,.4); color: #cffafe; }

/* ---------- list items ---------- */
.list { display: flex; flex-direction: column; gap: .85rem; }
.item { border-radius: 14px; padding: 1.15rem 1.25rem; background: rgba(255,255,255,.035); border: 1px solid var(--border); transition: .2s; position: relative; overflow: hidden; }
.item:hover { background: rgba(255,255,255,.055); border-color: var(--border-2); }
.item.sev-edge::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.item.edge-critical::before { background: var(--critical); }
.item.edge-high::before { background: var(--high); }
.item.edge-medium::before { background: var(--medium); }
.item.edge-low::before { background: var(--low); }
.item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.item-title { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.item-sub { color: var(--muted); font-size: .82rem; margin-top: .25rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.item-sub i { margin-right: .3rem; }
.item-body { color: var(--text-2); font-size: .9rem; margin-top: .65rem; }
.item-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; align-items: center; }
.note { margin-top: .75rem; padding: .75rem .9rem; border-radius: 10px; font-size: .87rem; background: rgba(0,0,0,.2); border-left: 3px solid var(--primary); color: var(--text-2); }
.note.team { border-left-color: var(--accent); }
.note strong { color: var(--text); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }

/* ---------- timeline (fix request steps) ---------- */
.steps { display: flex; align-items: center; margin-top: 1rem; }
.step { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .72rem; color: var(--muted); flex: 0 0 auto; text-align: center; min-width: 70px; }
.step .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--muted); }
.step.done .dot { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #03121f; border-color: transparent; }
.step.current .dot { box-shadow: 0 0 0 5px rgba(34,211,238,.18); }
.step.done { color: var(--text-2); }
.step.declined .dot { background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; border-color: transparent; }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 .2rem 1.3rem; min-width: 18px; }
.step-line.done { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: .85rem 1rem; background: rgba(0,0,0,.2); white-space: nowrap; }
.table td { padding: .85rem 1rem; border-top: 1px solid var(--border); vertical-align: middle; }
.table tr:hover td { background: rgba(255,255,255,.025); }
.table .row-actions { display: flex; gap: .35rem; justify-content: flex-end; }
.cell-user { display: flex; align-items: center; gap: .7rem; }
.cell-user small { display: block; color: var(--muted); font-size: .78rem; }
.score-chip { font-weight: 800; font-family: var(--mono); padding: .15rem .55rem; border-radius: 8px; background: rgba(255,255,255,.06); }
.score-chip.good { color: #6ee7b7; } .score-chip.mid { color: #fcd34d; } .score-chip.bad { color: #fda4af; }

/* ---------- messages ---------- */
.compose { border-radius: 16px; padding: 1.25rem; background: linear-gradient(135deg, rgba(139,92,246,.1), rgba(34,211,238,.06)); border: 1px solid rgba(139,92,246,.25); margin-bottom: 1.5rem; }
.thread { display: flex; flex-direction: column; gap: 1rem; }
.bubble-row { display: flex; gap: .75rem; align-items: flex-end; max-width: 86%; }
.bubble-row.mine { margin-left: auto; flex-direction: row-reverse; }
.bubble { border-radius: 16px 16px 16px 4px; padding: .9rem 1.1rem; background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.bubble-row.mine .bubble { border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(14,165,233,.1)); border-color: rgba(34,211,238,.25); }
.bubble.unread { border-color: rgba(244,63,94,.45); box-shadow: 0 0 0 3px rgba(244,63,94,.08); }
.bubble-head { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.bubble-head strong { color: var(--text); font-size: .85rem; }
.bubble-subject { font-weight: 700; margin-bottom: .35rem; font-size: .93rem; }
.bubble-text { color: var(--text-2); font-size: .9rem; white-space: pre-wrap; word-break: break-word; }
.inbox-item { display: flex; gap: 1rem; align-items: flex-start; cursor: default; }
.inbox-item.unread { border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.05); }
.inbox-main { flex: 1; min-width: 0; }
.inbox-snippet { color: var(--muted); font-size: .87rem; margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }

/* ---------- empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1.5rem; }
.empty-icon { width: 76px; height: 76px; margin: 0 auto 1.1rem; border-radius: 22px; display: grid; place-items: center; font-size: 1.9rem; color: var(--primary); background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(139,92,246,.15)); border: 1px solid var(--border); }
.empty-state h4 { font-size: 1.1rem; margin-bottom: .4rem; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto; font-size: .92rem; }
.empty-state .btn { margin-top: 1.25rem; }

/* ---------- hero empty (no audit) ---------- */
.hero-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 2rem; border-radius: var(--radius); }
.hero-empty .shield { width: 90px; height: 90px; border-radius: 26px; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--accent)); box-shadow: 0 12px 40px rgba(99,102,241,.45); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hero-empty h3 { font-size: 1.35rem; margin-bottom: .35rem; }

/* ---------- checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.check-item { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--border); font-size: .87rem; }
.check-item .tick { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: .7rem; border: 2px solid var(--border-2); color: transparent; }
.check-item.done .tick { background: linear-gradient(135deg, #34d399, #059669); border-color: transparent; color: #fff; }
.check-item.done strong { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.3); color: var(--muted); }
.check-item small { display: block; color: var(--muted); margin-top: .15rem; }
.progress { height: 8px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; transition: width 1s; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 5vh 1rem; overflow-y: auto; background: rgba(3, 6, 18, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card { width: 100%; max-width: 640px; border-radius: 20px; animation: pop .25s cubic-bezier(.2,.9,.3,1.2); margin: auto 0; }
.modal-card.wide { max-width: 820px; }
.modal-card.narrow { max-width: 440px; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.modal-head h3 i { color: var(--primary); }
.modal-x { background: var(--glass); border: 1px solid var(--border); color: var(--muted); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 1rem; transition: .2s; }
.modal-x:hover { color: #fff; background: rgba(244,63,94,.2); border-color: rgba(244,63,94,.35); }
.modal-body { padding: 1.5rem; }
.modal-foot { display: flex; justify-content: flex-end; gap: .6rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.detail { display: flex; flex-direction: column; gap: .3rem; }
.detail-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.detail-block { margin-bottom: 1.1rem; }
.detail-block .box { padding: .9rem 1rem; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--border); color: var(--text-2); font-size: .9rem; white-space: pre-wrap; word-break: break-word; }

/* ---------- toasts ---------- */
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 3000; display: flex; flex-direction: column; gap: .6rem; max-width: min(420px, calc(100vw - 2rem)); }
.toast { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; font-size: .9rem; animation: toastIn .35s cubic-bezier(.2,.9,.3,1.2); }
.toast i.ti { margin-top: .15rem; }
.toast.success i.ti { color: var(--success); } .toast.error i.ti { color: var(--danger); } .toast.info i.ti { color: var(--primary); } .toast.warning i.ti { color: var(--warning); }
.toast.leaving { animation: toastOut .3s forwards; }
.toast .tx { background: none; border: 0; color: var(--muted); cursor: pointer; margin-left: auto; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 1.25rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 .7rem; display: grid; place-items: center; border-radius: 10px; background: var(--glass); border: 1px solid var(--border); color: var(--text-2); font-size: .85rem; font-weight: 600; }
.pagination a:hover { border-color: var(--border-2); color: #fff; }
.pagination a.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #03121f; border-color: transparent; }
.pagination span { background: none; border: 0; }

/* ---------- auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; max-width: 1100px; margin: 1rem auto; min-height: calc(100vh - 300px); }
.auth-pitch h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1rem; }
.auth-pitch p.lead { color: var(--text-2); font-size: 1.05rem; max-width: 470px; }
.feature-list { margin-top: 2rem; display: grid; gap: .9rem; }
.feature { display: flex; gap: .9rem; align-items: center; padding: .85rem 1rem; border-radius: 14px; max-width: 470px; }
.feature .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.feature strong { display: block; font-size: .93rem; }
.feature span { color: var(--muted); font-size: .83rem; }
.auth-card { border-radius: 24px; padding: 2rem; max-width: 470px; width: 100%; justify-self: end; }
.auth-card.center { justify-self: center; margin: 2rem auto; }
.auth-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.auth-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .3rem; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--border); margin-bottom: 1.5rem; }
.seg button { padding: .6rem; border-radius: 10px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: .86rem; cursor: pointer; transition: .2s; }
.seg button.active { background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(139,92,246,.22)); color: #fff; box-shadow: inset 0 0 0 1px rgba(34,211,238,.3); }
.auth-pane { display: none; }
.auth-pane.active { display: block; animation: fadeUp .3s ease; }
.auth-foot { text-align: center; margin-top: 1.25rem; color: var(--muted); font-size: .87rem; }
.auth-foot a { font-weight: 600; cursor: pointer; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 1.25rem; }
.status-icon.ok { background: rgba(52,211,153,.15); color: var(--success); box-shadow: 0 0 0 10px rgba(52,211,153,.06); }
.status-icon.bad { background: rgba(244,63,94,.15); color: var(--danger); box-shadow: 0 0 0 10px rgba(244,63,94,.06); }

/* ---------- profile ---------- */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; align-items: start; }
.profile-side { text-align: center; }
.profile-side .avatar { margin: .5rem auto 1rem; }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--border); font-size: .88rem; text-align: left; }
.kv span:first-child { color: var(--muted); }

/* ---------- admin report editor ---------- */
.vuln-row { border-radius: 16px; padding: 1.15rem; margin-bottom: 1rem; background: rgba(255,255,255,.03); border: 1px solid var(--border); position: relative; }
.vuln-row.removed { opacity: .45; }
.vuln-row.removed .vuln-fields { pointer-events: none; }
.vuln-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; gap: 1rem; }
.vuln-row-head strong { font-size: .9rem; color: var(--text-2); }
.dropzone { border: 2px dashed rgba(34,211,238,.35); border-radius: 16px; padding: 1.75rem; text-align: center; cursor: pointer; transition: .2s; background: rgba(34,211,238,.03); }
.dropzone:hover, .dropzone.drag { border-color: var(--primary); background: rgba(34,211,238,.08); }
.dropzone i { font-size: 2rem; color: var(--primary); margin-bottom: .5rem; }
.dropzone input { display: none; }
.file-pill { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 12px; background: rgba(0,0,0,.2); border: 1px solid var(--border); margin-top: .7rem; font-size: .88rem; }
.file-pill i { color: var(--danger); }
.sticky-bar { position: sticky; bottom: 12px; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-radius: 16px; margin-top: 1.25rem; flex-wrap: wrap; }

/* ---------- activity ---------- */
.activity { display: flex; align-items: center; gap: .85rem; padding: .75rem 0; border-top: 1px solid var(--border); font-size: .87rem; }
.activity:first-child { border-top: 0; }
.activity .a-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: rgba(34,211,238,.12); color: var(--primary); font-size: .8rem; }
.activity .a-main { flex: 1; min-width: 0; }
.activity .a-time { color: var(--muted); font-size: .78rem; white-space: nowrap; }

/* ---------- onboarding tour ---------- */
.tour-overlay { position: fixed; inset: 0; z-index: 4000; pointer-events: auto; }
.tour-spot { position: fixed; z-index: 4001; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(3, 6, 18, .72), 0 0 0 2px rgba(34,211,238,.9), 0 0 30px rgba(34,211,238,.45); transition: all .4s cubic-bezier(.2,.8,.2,1); }
.tour-spot.no-target { width: 0 !important; height: 0 !important; left: 50% !important; top: 50% !important; box-shadow: 0 0 0 9999px rgba(3, 6, 18, .78); }
.tour-pop { position: fixed; z-index: 4002; width: min(380px, calc(100vw - 24px)); border-radius: 20px; padding: 1.4rem; transition: top .4s cubic-bezier(.2,.8,.2,1), left .4s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.tour-pop.centered { width: min(480px, calc(100vw - 24px)); text-align: center; padding: 2rem 1.75rem; }
.tour-pop .tour-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--accent)); margin-bottom: .9rem; box-shadow: 0 8px 24px rgba(99,102,241,.4); }
.tour-pop.centered .tour-ic { width: 72px; height: 72px; font-size: 1.9rem; border-radius: 22px; margin: 0 auto 1.1rem; }
.tour-pop h4 { font-size: 1.12rem; margin-bottom: .45rem; }
.tour-pop.centered h4 { font-size: 1.45rem; }
.tour-pop p { color: var(--text-2); font-size: .92rem; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.tour-pop.centered .tour-foot { justify-content: center; flex-wrap: wrap; }
.tour-dots { display: flex; gap: .3rem; }
.tour-dots span { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.18); transition: .3s; }
.tour-dots span.on { width: 20px; background: linear-gradient(90deg, var(--primary), var(--accent-2)); }
.tour-btns { display: flex; gap: .4rem; }
.tour-skip { background: none; border: 0; color: var(--muted); font-size: .82rem; cursor: pointer; padding: .3rem; }
.tour-skip:hover { color: var(--text); }
.tour-step-count { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: .2rem; }
.tour-pop.centered .tour-dots { justify-content: center; margin-top: 1.1rem; }

/* ---------- footer ---------- */
.site-footer { padding: 0 1.25rem 1.5rem; width: 100%; max-width: 1320px; margin: 0 auto; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 1.75rem 2rem; border-radius: var(--radius); }
.footer-brand img { width: 56px; height: 56px; max-width: none; object-fit: contain; margin-bottom: .6rem; }
.footer-brand p { color: var(--muted); font-size: .88rem; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-cols h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .6rem; }
.footer-cols a { display: block; color: var(--text-2); font-size: .88rem; padding: .15rem 0; }
.footer-cols a:hover { color: #fff; }
.copyright { text-align: center; color: #5f6b84; font-size: .8rem; margin-top: 1rem; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070b1c; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #0e7490, #4c1d95); border-radius: 8px; border: 2px solid #070b1c; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-hero { grid-template-columns: 1fr 1fr; }
    .grid-hero > :first-child { grid-column: span 2; }
    .checklist { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: .6rem; border-radius: 16px; background: var(--glass-strong); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--border-2); display: none; }
    .nav-links.open { display: flex; animation: fadeUp .2s; }
    .nav-links > a { padding: .75rem 1rem; }
    .nav-bell-label { display: inline; }
    .bell-count { position: static; margin-left: auto; box-shadow: none; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; margin-top: .4rem; box-shadow: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu.portal { display: block; margin: 0; }
    .avatar-btn { width: 100%; border-radius: 12px; }
    .avatar-btn .fa-chevron-down { margin-left: auto; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-pitch { display: none; }
    .auth-card { justify-self: center; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero-empty { grid-template-columns: 1fr; text-align: center; }
    .hero-empty .shield { margin: 0 auto; }
}
@media (max-width: 640px) {
    body { font-size: 14px; }
    .page { padding: 1.25rem .85rem 2rem; }
    .grid-4, .grid-2, .grid-hero { grid-template-columns: 1fr; }
    .grid-hero > :first-child, .span-2 { grid-column: auto; }
    .form-row, .form-row-4 { grid-template-columns: 1fr; }
    .checklist { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr 1fr; }
    .score-card { flex-direction: column; text-align: center; }
    .score-info .meta { align-items: center; }
    .tab-panel { padding: 1.1rem .9rem; }
    .tab span.lbl { display: none; }
    .bubble-row { max-width: 100%; }
    .card { padding: 1.15rem; }
    .auth-card { padding: 1.5rem 1.2rem; }
    .brand-title { font-size: .9rem; }
    .brand-divider { height: 24px; }
    .brand img { width: 32px; height: 32px; }
    .modal { padding: 0; align-items: flex-end; }
    .modal-card { border-radius: 20px 20px 0 0; max-height: 92vh; overflow-y: auto; margin: 0; }
    .steps .step { min-width: 52px; font-size: .65rem; }
    .toolbar .input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: rgba(17, 24, 48, .92); }
    .glass-strong { background: rgba(17, 24, 48, .97); }
}
