@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --canvas: #f4f7f4;
  --surface: #ffffff;
  --surface-soft: #f9fbf9;
  --surface-raised: #ffffff;
  --ink: #192723;
  --ink-strong: #11241f;
  --muted: #778681;
  --muted-2: #9aa6a0;
  --line: #e6ece7;
  --line-strong: #dbe4de;
  --sidebar: #142b27;
  --sidebar-2: #193630;
  --sidebar-ink: #f2f8f2;
  --sidebar-muted: #91aaa2;
  --mint: #9ee5c4;
  --mint-strong: #32bd8b;
  --mint-dark: #197c5f;
  --mint-pale: #e8f7ee;
  --mint-wash: #f0faf4;
  --amber: #d79d55;
  --lavender: #9a8bd5;
  --coral: #d47f71;
  --critical: #d47367;
  --financial: #d79d55;
  --personal: #b46c8d;
  --identity: #758ac2;
  --shadow: 0 16px 42px rgba(31, 57, 45, .055), 0 2px 8px rgba(31, 57, 45, .035);
  --shadow-hover: 0 22px 48px rgba(31, 57, 45, .10), 0 5px 12px rgba(31, 57, 45, .04);
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Segoe UI', sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #101715;
  --surface: #18211e;
  --surface-soft: #1c2723;
  --surface-raised: #202b27;
  --ink: #dce8e0;
  --ink-strong: #f0f7f1;
  --muted: #9baea4;
  --muted-2: #788d83;
  --line: #293730;
  --line-strong: #35453d;
  --sidebar: #0d1916;
  --sidebar-2: #14231f;
  --sidebar-ink: #f2f8f2;
  --sidebar-muted: #819a90;
  --mint: #9ee5c4;
  --mint-strong: #59d6a5;
  --mint-dark: #9be5c0;
  --mint-pale: #213e32;
  --mint-wash: #1b2b24;
  --amber: #e0b16e;
  --lavender: #b4a9e8;
  --coral: #e39082;
  --critical: #ed8d80;
  --financial: #e2b36f;
  --personal: #db8db1;
  --identity: #91a4de;
  --shadow: 0 18px 50px rgba(0, 0, 0, .16), 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); font-family: var(--font-body); font-size: 14px; -webkit-font-smoothing: antialiased; transition: background .25s ease, color .25s ease; }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .dropzone:focus-visible { outline: 3px solid rgba(54, 189, 139, .45); outline-offset: 3px; }
a { color: inherit; }
svg { display: block; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); }
.sidebar { min-height: 100vh; height: 100vh; position: sticky; top: 0; display: flex; flex-direction: column; padding: 28px 18px 18px; background: var(--sidebar); color: var(--sidebar-ink); overflow: hidden; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 35px; text-decoration: none; color: var(--sidebar-ink); }
.brand-mark { width: 43px; height: 43px; flex: 0 0 43px; color: var(--mint); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-copy strong { font: 800 19px/1 var(--font-display); letter-spacing: -.9px; }
.brand-copy small { font-size: 8px; letter-spacing: 1.38px; color: var(--sidebar-muted); font-weight: 700; white-space: nowrap; }
.workspace-label, .nav-label { margin: 0 9px 9px; color: #76968a; font-size: 9px; letter-spacing: 1.45px; font-weight: 700; }
.workspace-card { min-height: 58px; padding: 9px 10px; border: 1px solid rgba(212, 239, 224, .11); background: rgba(255,255,255,.045); border-radius: 11px; display: flex; align-items: center; gap: 10px; margin-bottom: 31px; }
.workspace-avatar { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border-radius: 10px; color: #153a30; background: var(--mint); font: 800 14px var(--font-display); }
.workspace-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.workspace-copy strong { font-size: 12px; font-weight: 600; }
.workspace-copy small { font-size: 10px; color: var(--sidebar-muted); }
.workspace-chevron { color: #91a89e; font-size: 18px; line-height: 1; transform: translateY(-3px); }
.nav-label { margin-bottom: 14px; }
.stepper { display: flex; flex-direction: column; }
.stepper-item { display: flex; align-items: center; gap: 11px; padding: 8px 8px; color: #728d83; position: relative; transition: color .2s ease; }
.stepper-item.active { color: var(--sidebar-ink); }
.stepper-item.done { color: #a6c4b4; }
.step-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border: 1px solid rgba(205, 230, 213, .15); border-radius: 10px; font: 700 10px var(--font-display); color: #86a095; transition: .2s ease; }
.step-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.active .step-icon { background: var(--mint); border-color: var(--mint); color: #173d32; box-shadow: 0 0 0 4px rgba(158, 229, 196, .09); }
.done .step-icon { background: #294a3e; border-color: #396450; color: #b2e7ca; }
.step-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.step-copy strong { font-size: 11px; font-weight: 600; }
.step-copy small { font-size: 9px; color: var(--sidebar-muted); opacity: .78; }
.step-line { height: 17px; border-left: 1px solid rgba(190, 216, 200, .15); margin-left: 23px; }
.sidebar-spacer { flex: 1; min-height: 24px; }
.sidebar-note { border: 1px solid rgba(190, 226, 204, .12); border-radius: 14px; padding: 15px 13px 13px; background: linear-gradient(145deg, rgba(158,229,196,.075), rgba(255,255,255,.018)); }
.note-orb { width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; background: rgba(158, 229, 196, .12); color: var(--mint); margin-bottom: 11px; }
.note-orb svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-note strong { font: 700 12px var(--font-display); }
.sidebar-note p { margin: 5px 0 10px; color: #9db0a8; font-size: 10px; line-height: 1.55; }
.sidebar-note a { display: inline-flex; gap: 7px; text-decoration: none; color: var(--mint); font-size: 9px; font-weight: 600; }
.sidebar-note a:hover { color: #d3ffe4; }
.sidebar-footer { padding: 16px 4px 0; color: #8ca298; font-size: 9px; display: flex; align-items: center; gap: 7px; letter-spacing: .1px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #77d7a5; box-shadow: 0 0 0 3px rgba(119,215,165,.1); display: inline-block; }
.version { margin-left: auto; color: #6b897d; font-size: 9px; }

.main-shell { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 72px; padding: 0 43px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 77%, transparent); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(16px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1.15px; color: var(--muted-2); font-weight: 700; }
.breadcrumb i { font-style: normal; color: #b6c1ba; }
.breadcrumb strong { color: var(--ink); font-size: 9px; letter-spacing: 1.05px; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.secure-session { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; letter-spacing: .7px; font-weight: 700; }
.secure-session .status-dot { width: 6px; height: 6px; }
.icon-button { border: 1px solid var(--line); border-radius: 10px; width: 36px; height: 36px; background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: .2s ease; }
.icon-button:hover { color: var(--mint-dark); border-color: var(--mint-strong); transform: translateY(-1px); }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon { display: none; }
[data-theme='dark'] .sun-icon { display: none; }
[data-theme='dark'] .moon-icon { display: block; }
.profile-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 3px 10px 3px 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; color: var(--ink); font-size: 10px; font-weight: 600; cursor: default; }
.profile-avatar { width: 27px; height: 27px; border-radius: 8px; background: #e8f4ec; color: #277451; display: grid; place-items: center; font: 800 9px var(--font-display); }
[data-theme='dark'] .profile-avatar { background: #263f33; color: #a4e7c5; }
.chevron { font-size: 15px; color: var(--muted-2); transform: translateY(-2px); }
.content-wrap { width: min(100%, 1500px); margin: 0 auto; padding: 33px 43px 30px; flex: 1; }
.main-footer { padding: 0 43px 18px; color: var(--muted-2); display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: .2px; }
.main-footer > span:first-child { font-weight: 700; font-size: 8px; letter-spacing: 1.1px; }
.main-footer i { padding: 0 5px; font-style: normal; color: var(--mint-strong); }
.main-footer b { color: var(--muted); font-weight: 600; }

.screen { display: none; }
.screen.active { display: block; animation: screen-in .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--mint-dark); font-size: 9px; letter-spacing: 1.5px; font-weight: 700; }
.eyebrow-line { display: block; width: 20px; height: 1px; background: var(--mint-strong); }
.heading-dot { color: #c5d0c8; font-size: 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; color: var(--ink-strong); font: 700 clamp(32px, 3.1vw, 43px)/1.16 var(--font-display); letter-spacing: -1.9px; }
h1 > span { color: var(--mint-dark); }

/* Setup */
.setup-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 445px); gap: clamp(35px, 5vw, 76px); align-items: start; }
.setup-intro { min-width: 0; padding: 18px 0 0 5px; }
.setup-intro h1 { margin-top: 17px; font-size: clamp(40px, 4vw, 56px); line-height: 1.08; letter-spacing: -2.8px; }
.intro-lede { max-width: 490px; margin: 18px 0 27px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.visual-card { height: 278px; max-width: 525px; overflow: hidden; position: relative; border-radius: 19px; background: #173630; color: #eaf5e9; box-shadow: 0 12px 30px rgba(18,51,43,.1); }
.visual-card::before { content: ''; position: absolute; width: 310px; height: 310px; right: -130px; top: -155px; border-radius: 50%; border: 1px solid rgba(190,245,211,.08); box-shadow: 0 0 0 27px rgba(190,245,211,.023), 0 0 0 56px rgba(190,245,211,.02); }
.visual-card::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(222,245,227,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(222,245,227,.025) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(transparent 0%, #000 35%, #000 85%, transparent 100%); pointer-events: none; }
.visual-card-top { position: absolute; z-index: 2; left: 19px; right: 19px; top: 18px; display: flex; align-items: center; justify-content: space-between; }
.live-tag { display: inline-flex; align-items: center; gap: 7px; color: #c4e5d0; font-size: 8px; letter-spacing: 1px; font-weight: 700; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #8ee5b5; box-shadow: 0 0 0 4px rgba(142,229,181,.12); }
.visual-count { font: 600 9px var(--font-display); letter-spacing: .8px; color: #789f8f; }
.visual-count b { color: #507567; font-weight: 400; padding: 0 3px; }
.orbital-graphic { position: absolute; inset: 25px 0 34px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(159,229,194,.14); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 190px; height: 94px; }
.orbit-two { width: 255px; height: 124px; transform: rotate(32deg); border-color: rgba(159,229,194,.08); }
.vault-core { width: 83px; height: 83px; display: grid; place-items: center; border-radius: 25px; background: linear-gradient(145deg, #295a4c, #23463d); color: #a8edc2; box-shadow: 0 14px 30px rgba(2,20,16,.27), inset 0 1px 0 rgba(230,255,236,.13); position: relative; z-index: 1; transform: rotate(-3deg); }
.vault-core svg { width: 48px; height: 48px; }
.orbit-node { position: absolute; width: 8px; height: 8px; border: 2px solid #97ddb3; border-radius: 50%; background: #1b3d34; z-index: 2; box-shadow: 0 0 10px rgba(148,233,181,.28); }
.node-a { top: 46px; left: calc(50% - 64px); }.node-b { top: 50%; right: calc(50% - 129px); }.node-c { bottom: 43px; left: calc(50% + 50px); }
.orbit-label { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 4px; font: 700 8px var(--font-display); letter-spacing: .5px; color: #b9ddc6; }
.orbit-label span { font: 500 7px var(--font-body); color: #6f9988; letter-spacing: 1px; }
.label-a { left: calc(50% - 160px); top: 79px; }.label-b { right: calc(50% - 161px); bottom: 65px; text-align: right; }
.visual-caption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 10px; color: #a3c2b1; font-size: 9px; }
.caption-wave { height: 16px; display: flex; align-items: center; gap: 2px; }
.caption-wave i { width: 2px; height: 5px; border-radius: 2px; background: #8fdcac; opacity: .85; }
.caption-wave i:nth-child(3n) { height: 12px; }.caption-wave i:nth-child(4n) { height: 8px; }.caption-wave i:nth-child(5n) { height: 14px; }
.caption-lock { margin-left: auto; color: #77aa91; font-size: 15px; }
.proof-row { max-width: 525px; display: flex; align-items: center; gap: 10px; padding: 20px 3px 0; }
.proof-icon { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-pale); color: var(--mint-dark); flex: 0 0 29px; }
.proof-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.proof-wave { font-size: 20px; font-weight: 500; }
.proof-row > span:not(.proof-icon):not(.proof-divider) { display: flex; flex-direction: column; gap: 3px; }
.proof-row strong { color: var(--ink); font-size: 10px; font-weight: 600; }.proof-row small { color: var(--muted); font-size: 9px; }
.proof-divider { height: 25px; width: 1px; background: var(--line-strong); margin: 0 7px; }
.card-surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.setup-card { padding: 24px 25px 17px; position: relative; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.card-kicker { display: block; color: var(--mint-dark); font-size: 8px; line-height: 1.3; letter-spacing: 1.25px; font-weight: 700; }
.card-heading h2, .section-head h2, .panel-heading h2 { margin: 7px 0 5px; font: 700 19px/1.3 var(--font-display); color: var(--ink-strong); letter-spacing: -.5px; }
.card-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.setup-step-badge { margin-top: 2px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--mint-dark); font: 700 8px var(--font-display); letter-spacing: .5px; white-space: nowrap; }
.setup-step-badge i { color: var(--muted-2); font-style: normal; padding: 0 2px; }
.form-divider { display: flex; align-items: center; gap: 9px; margin: 17px 0 12px; color: var(--muted-2); font-size: 8px; letter-spacing: 1px; font-weight: 700; }
.divider-line { height: 1px; flex: 1; background: var(--line); }
.required-note { color: var(--mint-dark); font-size: 7px; letter-spacing: .8px; white-space: nowrap; }
.pass-divider { margin-top: 20px; }
.field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 7px; color: var(--ink); font-size: 10px; font-weight: 600; }
.field-label > span { color: var(--muted-2); font-size: 8px; font-weight: 400; }
.input-wrap { min-height: 42px; display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 11px; background: var(--surface-soft); transition: border .2s, box-shadow .2s, background .2s; }
.input-wrap:focus-within { border-color: var(--mint-strong); box-shadow: 0 0 0 3px rgba(50,189,139,.09); background: var(--surface); }
.field-icon { width: 20px; margin-right: 8px; color: var(--muted-2); flex: 0 0 20px; display: grid; place-items: center; font-size: 14px; }
.field-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.input-wrap input { min-width: 0; width: 100%; height: 40px; padding: 0; border: 0; outline: none; box-shadow: none; color: var(--ink); background: transparent; font-size: 10px; }
.input-wrap input::placeholder { color: #a7b2ab; }
.input-wrap input:focus-visible { outline: none; }
.field-action { border: 0; padding: 4px; background: transparent; color: var(--muted-2); cursor: pointer; font-size: 14px; line-height: 1; transition: color .15s; }
.field-action:hover { color: var(--mint-dark); }
.field-hint { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--muted-2); font-size: 8px; }
.field-hint a { margin-left: auto; text-decoration: none; color: var(--mint-dark); font-weight: 600; white-space: nowrap; }
.field-hint a:hover { text-decoration: underline; }
.hint-lock { color: var(--mint-dark); font-size: 13px; }
.strength-row { height: 13px; margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; }
.strength-track { height: 3px; flex: 1; border-radius: 5px; background: var(--line); overflow: hidden; }
.strength-track span { display: block; width: 0; height: 100%; border-radius: inherit; transition: width .25s, background .25s; }
#strength-label { min-width: 57px; font-size: 8px; text-align: right; }
.confirm-label { margin-top: 1px; }
.algorithm-settings { margin: 13px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.algorithm-settings summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 48px; cursor: pointer; user-select: none; }
.algorithm-settings summary::-webkit-details-marker { display: none; }
.settings-glyph { width: 26px; height: 26px; border-radius: 8px; background: var(--mint-wash); color: var(--mint-dark); display: grid; place-items: center; font-size: 14px; }
.algorithm-settings summary strong, .algorithm-settings summary small { display: block; }.algorithm-settings summary strong { font-size: 9px; font-weight: 600; }.algorithm-settings summary small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.summary-chevron { margin-left: auto; color: var(--muted); font-size: 17px; transform: translateY(-2px); transition: transform .2s; }.algorithm-settings[open] .summary-chevron { transform: rotate(180deg); }
.algorithm-content { padding: 0 0 12px; }
.algorithm-note { margin: 0 0 10px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.preset-row { display: flex; gap: 6px; margin-bottom: 10px; }
.preset-button { padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 8px; cursor: pointer; }
.preset-button:hover, .preset-button.selected { border-color: var(--mint-strong); color: var(--mint-dark); background: var(--mint-wash); }
.algo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.algo-grid label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 8px; }
.algo-grid select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); color: var(--ink); padding: 6px 7px; font-size: 8px; }
.btn-primary, .btn-secondary, .btn-quiet { min-height: 41px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; font-size: 10px; font-weight: 600; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s, background .18s, color .18s; }
.btn-primary { border: 1px solid #173d32; color: #f4fff7; background: #1b493b; box-shadow: 0 5px 14px rgba(20,71,54,.15); }
.btn-primary:hover:not(:disabled) { background: #205c47; box-shadow: 0 9px 20px rgba(20,71,54,.2); transform: translateY(-1px); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: .48; box-shadow: none; cursor: not-allowed; }
.btn-arrow { font-size: 17px; line-height: 0; font-weight: 400; }
.btn-full { width: 100%; }
.setup-card > .btn-primary { margin-top: 8px; }
.session-footnote { margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted-2); font-size: 8px; }
.tiny-shield { color: var(--mint-dark); font-size: 13px; }
.alert { border-radius: 9px; padding: 9px 11px; font-size: 9px; line-height: 1.5; }
.error-message { color: #b95347; border: 1px solid rgba(212,115,103,.25); background: rgba(212,115,103,.09); }
[data-theme='dark'] .error-message { color: #f5a59a; }
.warning-message { color: #94642a; background: rgba(215,157,85,.12); border: 1px solid rgba(215,157,85,.25); margin-top: 11px; }
[data-theme='dark'] .warning-message { color: #ebc58f; }
.pipeline-strip { min-height: 83px; margin-top: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; align-items: center; gap: clamp(10px, 1.6vw, 23px); padding: 13px 18px; box-shadow: 0 7px 22px rgba(31,57,45,.025); }
.pipeline-heading { color: var(--muted-2); font-size: 8px; letter-spacing: 1px; font-weight: 700; white-space: nowrap; padding-right: 8px; }
.pipeline-item { display: flex; align-items: center; gap: 8px; min-width: max-content; }
.pipeline-item > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.pipeline-item strong { font-size: 9px; font-weight: 600; color: var(--ink); }.pipeline-item small { color: var(--muted); font-size: 8px; }
.pipeline-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; }
.pipeline-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-mint { color: #368264; background: #e7f6ec; }.icon-sand { color: #a67539; background: #fbf2e5; }.icon-lilac { color: #7467ac; background: #f0edfa; }
[data-theme='dark'] .icon-mint { color: #92d3ad; background: #213e31; }[data-theme='dark'] .icon-sand { color: #e1b675; background: #443726; }[data-theme='dark'] .icon-lilac { color: #c0b2f1; background: #342e4a; }
.pipeline-arrow { color: #b1c0b6; font-size: 15px; }
.pipeline-note { margin-left: auto; color: var(--muted-2); font-size: 8px; white-space: nowrap; }

/* Upload */
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin: 6px 0 29px; }
.page-heading h1 { margin: 14px 0 10px; }
.page-heading p { margin: 0; max-width: 570px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.heading-side-note { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; margin-bottom: 5px; }
.mini-shield { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: var(--mint-dark); background: var(--mint-pale); font-size: 18px; }
.heading-side-note span:last-child { display: flex; flex-direction: column; gap: 3px; }
.heading-side-note strong { font-size: 9px; }.heading-side-note small { color: var(--muted); font-size: 8px; }
.input-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(255px, .75fr); align-items: stretch; gap: 20px; }
.input-main-column { min-width: 0; }
.upload-card { padding: 23px 23px 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.section-head h2, .panel-heading h2 { font-size: 18px; }
.format-badge { border-radius: 7px; background: var(--surface-soft); padding: 7px 9px; color: var(--muted); font-size: 8px; letter-spacing: .35px; white-space: nowrap; }
.dropzone { min-height: 227px; border: 1px dashed #b9ccc0; border-radius: 15px; background: linear-gradient(135deg, var(--surface-soft), var(--mint-wash)); display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; cursor: pointer; transition: background .2s, border .2s, transform .2s; overflow: hidden; }
.dropzone::before, .dropzone::after { content: ''; width: 130px; height: 130px; position: absolute; border: 1px solid rgba(54,189,139,.1); border-radius: 50%; pointer-events: none; }
.dropzone::before { top: -78px; right: -47px; }.dropzone::after { bottom: -91px; left: -42px; width: 180px; height: 180px; }
.dropzone:hover, .dropzone.dz-over { border-color: var(--mint-strong); background: var(--mint-pale); transform: translateY(-1px); }
.upload-art { width: 64px; height: 64px; position: relative; display: grid; place-items: center; margin-bottom: 12px; }
.upload-ring { position: absolute; border: 1px solid #b7e8cf; border-radius: 50%; }.ring-back { width: 64px; height: 64px; opacity: .62; }.ring-front { width: 48px; height: 48px; border-color: #c5ead5; border-style: dashed; animation: orbit-spin 15s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.upload-icon { width: 37px; height: 37px; position: relative; z-index: 1; display: grid; place-items: center; border-radius: 12px; color: #287351; background: #d9f2e2; box-shadow: 0 4px 10px rgba(42,122,81,.12); }
.upload-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.upload-spark { position: absolute; z-index: 2; color: #59ad82; }.spark-a { right: -7px; top: 6px; font-size: 13px; }.spark-b { left: -5px; bottom: 5px; font-size: 13px; }
.dropzone h3 { margin: 0 0 5px; color: var(--ink); font: 700 14px var(--font-display); }.dropzone p { margin: 0 0 9px; color: var(--muted); font-size: 10px; }.dropzone p span { color: var(--mint-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }.dropzone small { color: var(--muted-2); font-size: 8px; }
.file-info-card { min-height: 65px; align-items: center; gap: 11px; margin-top: 11px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.file-type-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: var(--mint-pale); color: var(--mint-dark); }
.file-type-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.file-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }.file-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.file-copy small { color: var(--muted); font-size: 8px; }.file-dot { padding: 0 5px; color: var(--muted-2); }
.file-ready { display: flex; align-items: center; gap: 5px; color: var(--mint-dark); font-size: 7px; letter-spacing: .5px; font-weight: 700; white-space: nowrap; }.file-ready i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint-strong); }
.remove-file { width: 25px; height: 25px; display: grid; place-items: center; border: 0; border-radius: 7px; color: var(--muted-2); background: transparent; font-size: 18px; cursor: pointer; }.remove-file:hover { color: #c6554d; background: rgba(214,107,97,.1); }
.media-preview-wrap { margin-top: 11px; padding: 8px; border-radius: 10px; background: var(--surface-soft); }.media-preview-wrap audio, .media-preview-wrap video { display: block; width: 100%; max-height: 270px; border-radius: 7px; }
.upload-actions { margin-top: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.or-divider { width: 100%; display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 7px; letter-spacing: 1px; font-weight: 700; }.or-divider i { height: 1px; background: var(--line); flex: 1; }
.btn-secondary { padding: 0 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }.btn-secondary:hover { border-color: var(--mint-strong); color: var(--mint-dark); background: var(--mint-wash); transform: translateY(-1px); }
.record-button { min-height: 37px; padding: 0 15px; color: var(--mint-dark); border-color: #c9e4d2; }.record-button svg { width: 15px; height: 15px; fill: currentColor; }.record-button.recording { border-color: rgba(212,115,103,.45); color: #bb6055; background: rgba(212,115,103,.08); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: rec-blink 1s ease-in-out infinite; }.recording .rec-dot { color: #cf675a; }
@keyframes rec-blink { 50% { opacity: .35; } }
.live-rec-bar { min-height: 45px; align-items: center; gap: 9px; margin-top: 12px; padding: 7px 11px; border-radius: 9px; background: rgba(212,115,103,.09); color: #bc6559; }.rec-pulse { width: 8px; height: 8px; border-radius: 50%; background: #cf675a; box-shadow: 0 0 0 4px rgba(207,103,90,.11); }.rec-label { font-size: 9px; font-weight: 700; }.rec-clock { font: 600 9px var(--font-display); font-variant-numeric: tabular-nums; }.live-rec-bar canvas { margin-left: auto; width: 145px; height: 28px; }
.upload-bottom-row { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }.small-info { display: flex; align-items: center; gap: 7px; color: var(--muted-2); max-width: 300px; font-size: 8px; line-height: 1.45; }.info-glyph { width: 14px; height: 14px; flex: 0 0 14px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 700 9px Georgia; }.analyze-button { min-height: 40px; padding: 0 15px; white-space: nowrap; }
.privacy-card { min-height: 100%; padding: 22px 20px 16px; position: relative; overflow: hidden; }.privacy-card::before { content: ''; width: 230px; height: 230px; position: absolute; right: -114px; top: -93px; border-radius: 50%; background: radial-gradient(circle, rgba(83,197,141,.10), transparent 70%); pointer-events: none; }.privacy-orbit { width: 51px; height: 51px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; color: var(--mint-dark); background: var(--mint-pale); }.privacy-orbit svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.privacy-tag { display: block; color: var(--mint-dark); font-size: 8px; letter-spacing: 1.15px; font-weight: 700; }.privacy-card h3 { margin: 8px 0 9px; color: var(--ink-strong); font: 700 22px/1.25 var(--font-display); letter-spacing: -.7px; }.privacy-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.privacy-list { display: flex; flex-direction: column; gap: 16px; margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }.privacy-list > div { display: flex; align-items: flex-start; gap: 9px; }.check-mark { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 6px; color: var(--mint-dark); background: var(--mint-pale); font-size: 10px; font-weight: 700; }.privacy-list > div > span:last-child { display: flex; flex-direction: column; gap: 3px; }.privacy-list strong { color: var(--ink); font-size: 9px; font-weight: 600; }.privacy-list small { color: var(--muted); font-size: 8px; line-height: 1.45; }
.privacy-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 7px; letter-spacing: 1px; font-weight: 700; }.privacy-foot span { color: var(--mint-dark); font-size: 14px; }

/* Processing */
.processing-shell { width: min(100%, 700px); min-height: 570px; padding: 35px 58px 33px; margin: 4px auto 0; text-align: center; position: relative; overflow: hidden; }.processing-shell::before { content: ''; position: absolute; width: 400px; height: 400px; top: -235px; left: calc(50% - 200px); border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 28px color-mix(in srgb, var(--mint-pale) 48%, transparent), 0 0 0 58px color-mix(in srgb, var(--mint-pale) 25%, transparent); pointer-events: none; }
.processing-mark { width: 104px; height: 104px; margin: 0 auto 19px; display: grid; place-items: center; position: relative; }.processing-ring { position: absolute; inset: 0; border: 1px dashed #a3d6b7; border-radius: 50%; animation: orbit-spin 20s linear infinite; }.processing-lock { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid #d4e9da; border-radius: 24px; color: var(--mint-dark); background: var(--mint-wash); box-shadow: 0 10px 27px rgba(44,129,82,.1); }.processing-lock svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }.processing-spark { position: absolute; z-index: 2; color: var(--mint-strong); }.spark-one { right: 4px; top: 11px; font-size: 17px; }.spark-two { left: 5px; bottom: 11px; font-size: 12px; }
.centered { justify-content: center; }.processing-shell h1 { margin-top: 14px; font-size: 37px; }.processing-lede { margin: 10px 0 25px; color: var(--muted); font-size: 10px; }
.process-steps { text-align: left; max-width: 455px; margin: 0 auto; border-top: 1px solid var(--line); }.proc-step { min-height: 67px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); transition: background .2s; }.proc-step.active { background: linear-gradient(90deg, var(--mint-wash), transparent); }.proc-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--muted-2); font: 700 9px var(--font-display); }.proc-step.active .proc-number { border-color: var(--mint-strong); color: var(--mint-dark); background: var(--mint-pale); }.proc-step.done .proc-number { border-color: var(--mint-strong); color: #fff; background: var(--mint-strong); font-size: 0; }.proc-step.done .proc-number::after { content: '✓'; font-size: 12px; }.proc-step-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; }.proc-step-copy strong { font-size: 10px; font-weight: 600; color: var(--ink); }.proc-step-copy small { color: var(--muted); font-size: 8px; }.proc-state { width: 7px; height: 7px; border: 1px solid var(--line-strong); border-radius: 50%; }.proc-step.active .proc-state { width: 9px; height: 9px; border: 2px solid var(--mint-strong); background: var(--surface); box-shadow: 0 0 0 3px var(--mint-pale); animation: pulse 1.2s ease-in-out infinite; }.proc-step.done .proc-state { background: var(--mint-strong); border-color: var(--mint-strong); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--mint-pale) 45%, transparent); } }
.processing-privacy { margin: 20px 0 16px; color: var(--muted-2); font-size: 8px; }.processing-privacy .tiny-shield { padding-right: 4px; }

/* Results */
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 4px 0 24px; }.results-heading h1 { margin: 13px 0 8px; font-size: clamp(34px,3.4vw,46px); }.results-heading p { margin: 0; color: var(--muted); font-size: 10px; }.success-dot { color: var(--mint-strong); font-size: 8px; }
.results-actions { display: flex; gap: 8px; align-items: center; }.results-actions .btn-secondary { min-height: 37px; padding: 0 10px; font-size: 8px; }.export-icon { font-size: 13px; color: var(--mint-dark); }.new-analysis { min-height: 37px; padding: 0 11px; font-size: 9px; }
.results-overview { min-height: 88px; display: grid; grid-template-columns: 1.1fr 1.6fr auto; align-items: center; gap: 20px; padding: 15px 19px; margin-bottom: 16px; }.overview-title { display: flex; align-items: center; gap: 10px; }.overview-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--mint-pale); color: var(--mint-dark); }.overview-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }.overview-title > span:last-child { display: flex; flex-direction: column; gap: 4px; }.overview-title strong { font-size: 10px; }.overview-title small { color: var(--muted); font-size: 8px; }.overview-chart { min-width: 0; display: flex; flex-direction: column; gap: 9px; }.chart-legend { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 7px; }.chart-legend span, .transcript-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }.legend-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: currentColor; }.critical-dot { color: var(--critical); }.financial-dot { color: var(--financial); }.personal-dot { color: var(--personal); }.identity-dot { color: var(--identity); }.tier-bar-chart { height: 7px; width: 100%; overflow: hidden; border-radius: 10px; gap: 2px; background: var(--line); }.tier-bar-seg { height: 100%; min-width: 4px; }.tier-bar-critical { background: var(--critical); }.tier-bar-financial { background: var(--financial); }.tier-bar-personal { background: var(--personal); }.tier-bar-identity { background: var(--identity); }
.overview-actions { display: flex; gap: 5px; }.btn-quiet { min-height: 32px; padding: 0 9px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 8px; white-space: nowrap; }.btn-quiet:hover { border-color: var(--mint-strong); color: var(--mint-dark); background: var(--mint-wash); }
.results-player-bar { align-items: center; gap: 12px; padding: 9px 13px; margin-bottom: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }.results-player-bar audio { width: 100%; height: 34px; }.results-player-bar video { max-width: 100%; max-height: 250px; margin: auto; border-radius: 7px; }
.results-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr); gap: 16px; align-items: start; }.transcript-panel, .entities-panel { min-width: 0; padding: 18px 18px 20px; }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.panel-heading h2 { margin: 6px 0 0; }.panel-lock { display: flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 7px; letter-spacing: .6px; font-weight: 700; white-space: nowrap; }.panel-lock svg { width: 15px; height: 15px; fill: none; stroke: var(--mint-dark); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.transcript-legend { display: flex; flex-wrap: wrap; gap: 11px; padding: 12px 0 10px; margin-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 7px; }.transcript-body { min-height: 210px; max-height: 390px; overflow-y: auto; padding: 16px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--ink); font-size: 11px; line-height: 2.05; white-space: normal; }.transcript-body::-webkit-scrollbar, .entity-list::-webkit-scrollbar { width: 6px; }.transcript-body::-webkit-scrollbar-thumb, .entity-list::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--line-strong); }.hl { display: inline; padding: 2px 4px; border-radius: 4px; cursor: pointer; font-weight: 600; transition: box-shadow .15s, background .15s; }.hl-critical { color: #9e5048; background: rgba(212,115,103,.16); }.hl-financial { color: #936326; background: rgba(215,157,85,.19); }.hl-personal { color: #914b6b; background: rgba(180,108,141,.17); }.hl-identity { color: #52689f; background: rgba(117,138,194,.17); }.hl:hover, .hl-active { box-shadow: 0 0 0 2px currentColor; }.hl-masked { letter-spacing: 1px; }.no-speech { color: var(--muted); font-style: italic; }
[data-theme='dark'] .hl-critical { color: #ffb2a7; background: rgba(237,141,128,.20); }[data-theme='dark'] .hl-financial { color: #f2ca8d; background: rgba(226,179,111,.2); }[data-theme='dark'] .hl-personal { color: #f1a8c7; background: rgba(219,141,177,.18); }[data-theme='dark'] .hl-identity { color: #bdcafa; background: rgba(145,164,222,.2); }
.tier-filters { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }.filter-pill { min-height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); font-size: 8px; cursor: pointer; transition: .18s; }.filter-pill:hover, .filter-pill.active { background: var(--mint-wash); border-color: #b9dfc8; color: var(--mint-dark); }
.entity-list { max-height: 510px; overflow-y: auto; padding-right: 4px; }.entity-group + .entity-group { margin-top: 15px; }.group-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; padding: 0 2px; color: var(--muted); }.group-title { font-size: 8px; letter-spacing: .6px; text-transform: uppercase; font-weight: 700; }.group-badge { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-soft); font-size: 8px; }
.tier-critical .group-title { color: var(--critical); }.tier-financial .group-title { color: var(--financial); }.tier-personal .group-title { color: var(--personal); }.tier-identity .group-title { color: var(--identity); }
.entity-card { padding: 12px; margin: 0 0 8px; border: 1px solid var(--line); border-left: 3px solid var(--mint-strong); border-radius: 10px; background: var(--surface); transition: box-shadow .2s, transform .2s, border-color .2s; }.entity-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }.card-critical { border-left-color: var(--critical); }.card-financial { border-left-color: var(--financial); }.card-personal { border-left-color: var(--personal); }.card-identity { border-left-color: var(--identity); }.card-pulse { animation: card-pulse 1.1s ease; }
@keyframes card-pulse { 40% { box-shadow: 0 0 0 4px rgba(50,189,139,.18), var(--shadow-hover); } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.card-type { color: var(--ink); font-size: 9px; font-weight: 700; }.card-tier { padding: 4px 7px; border-radius: 6px; font-size: 7px; font-weight: 700; }.tier-chip-critical { color: #a24f45; background: rgba(212,115,103,.13); }.tier-chip-financial { color: #916125; background: rgba(215,157,85,.16); }.tier-chip-personal { color: #8d4b69; background: rgba(180,108,141,.13); }.tier-chip-identity { color: #50639b; background: rgba(117,138,194,.14); }
[data-theme='dark'] .tier-chip-critical { color: #ffb2a7; background: rgba(237,141,128,.17); }[data-theme='dark'] .tier-chip-financial { color: #f2ca8d; background: rgba(226,179,111,.16); }[data-theme='dark'] .tier-chip-personal { color: #f1a8c7; background: rgba(219,141,177,.16); }[data-theme='dark'] .tier-chip-identity { color: #bdcafa; background: rgba(145,164,222,.16); }
.card-enc { margin: 10px 0; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }.enc-algo { display: block; overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.algo-cat { color: var(--mint-dark); }.algo-cat-legacy { color: var(--amber); }.algo-cat-classical { color: var(--lavender); }.enc-preview { display: block; overflow: hidden; margin-top: 6px; color: var(--ink); font: 500 8px/1.5 'Cascadia Code', 'SFMono-Regular', Consolas, monospace; letter-spacing: .15px; text-overflow: ellipsis; white-space: nowrap; }.classical-preview { margin-top: 6px; color: var(--muted); font-size: 7px; }.classical-preview code { color: var(--ink); font-size: 8px; }.card-reason { margin: 0 0 8px; color: var(--muted); font-size: 8px; line-height: 1.45; }.unlocked-inline { margin: 8px 0; padding: 8px; border-radius: 7px; color: var(--mint-dark); background: var(--mint-wash); font-size: 10px; font-weight: 600; word-break: break-word; }
.card-algo-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }.card-algo-label { color: var(--muted); font-size: 8px; }.card-algo-select { flex: 1; min-width: 0; padding: 6px 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 8px; }.card-actions { display: flex; gap: 6px; }.btn-sm { min-height: 29px; padding: 0 8px; font-size: 7px; }.empty-state { padding: 25px 14px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 10px; }.empty-icon { font-size: 22px; }.empty-state h3 { margin: 7px 0 4px; font: 700 12px var(--font-display); }.empty-state p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }

/* Modal, alerts and small motion */
.decrypt-modal { position: fixed; inset: 0; z-index: 30; display: none; place-items: center; padding: 20px; background: rgba(8, 21, 17, .57); backdrop-filter: blur(7px); }.decrypt-modal.open { display: grid; animation: fade .18s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card { width: min(100%, 405px); position: relative; padding: 27px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: 0 25px 80px rgba(0,0,0,.25); animation: modal-in .24s cubic-bezier(.2,.7,.2,1) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { width: 28px; height: 28px; position: absolute; top: 13px; right: 13px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: 18px; }.modal-close:hover { color: var(--ink); border-color: var(--line-strong); }.modal-emblem { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--mint-dark); background: var(--mint-pale); margin-bottom: 17px; }.modal-emblem svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.modal-card h2 { margin: 7px 0 6px; color: var(--ink-strong); font: 700 21px var(--font-display); letter-spacing: -.6px; }.modal-card > p { margin: 0 0 19px; color: var(--muted); font-size: 10px; line-height: 1.6; }.modal-card > .field-label { margin-top: 17px; }.modal-submit { margin-top: 15px; }.modal-note { display: flex; justify-content: center; gap: 5px; margin-top: 12px; color: var(--muted-2); font-size: 8px; }.modal-note span { color: var(--mint-dark); font-size: 13px; }
.result-message { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--mint-dark); border: 1px solid rgba(50,189,139,.24); background: var(--mint-wash); }.result-lock { color: var(--mint-dark); }.result-message code { flex: 1; min-width: 0; color: var(--ink); font: 600 10px/1.5 'Cascadia Code', Consolas, monospace; overflow-wrap: anywhere; }.copy-plain { border: 0; color: var(--mint-dark); background: transparent; font-size: 8px; font-weight: 700; cursor: pointer; }
.spinner { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: orbit-spin .7s linear infinite; }
.toast-tray { position: fixed; z-index: 40; right: 22px; bottom: 21px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }.toast { max-width: min(380px, calc(100vw - 40px)); padding: 11px 15px; border-radius: 10px; background: var(--sidebar); color: #f0f8f1; box-shadow: 0 9px 27px rgba(0,0,0,.18); font-size: 10px; opacity: 0; transform: translateY(9px); transition: opacity .24s, transform .24s; }.toast.show { opacity: 1; transform: translateY(0); }.toast-success { border-left: 3px solid #70d29b; }.toast-error { border-left: 3px solid #df8174; }.toast-info { border-left: 3px solid #9ab7e2; }

@media (min-width: 1550px) { .content-wrap { padding-left: 60px; padding-right: 60px; }.topbar { padding-left: 60px; padding-right: 60px; }.main-footer { padding-left: 60px; padding-right: 60px; }.setup-layout { grid-template-columns: minmax(0, 1fr) minmax(420px, 465px); } }
@media (max-width: 1200px) { .app-shell { grid-template-columns: 228px minmax(0,1fr); }.sidebar { padding-left: 14px; padding-right: 14px; }.content-wrap { padding-left: 28px; padding-right: 28px; }.topbar { padding-left: 28px; padding-right: 28px; }.main-footer { padding-left: 28px; padding-right: 28px; }.setup-layout { grid-template-columns: minmax(0,1fr) minmax(360px, 420px); gap: 30px; }.pipeline-strip { gap: 12px; padding-left: 13px; padding-right: 13px; }.pipeline-heading { display: none; }.pipeline-note { display: none; }.results-overview { grid-template-columns: 1fr 1.3fr; }.overview-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: -4px; }.results-grid { grid-template-columns: minmax(0,1fr) minmax(300px,.95fr); } }
@media (max-width: 980px) { .setup-layout { grid-template-columns: minmax(0,1fr) minmax(330px, .9fr); gap: 22px; }.setup-intro h1 { font-size: 43px; }.visual-card { height: 245px; }.pipeline-strip { justify-content: space-between; flex-wrap: wrap; }.pipeline-note { display: block; width: 100%; text-align: right; }.input-layout { grid-template-columns: minmax(0,1.35fr) minmax(230px,.8fr); gap: 13px; }.upload-card { padding: 18px; }.privacy-card { padding: 18px 15px; }.results-actions { flex-wrap: wrap; justify-content: end; }.results-grid { grid-template-columns: 1fr; }.transcript-body { max-height: 300px; }.entity-list { max-height: none; } }
@media (max-width: 760px) { .app-shell { grid-template-columns: 68px minmax(0,1fr); }.sidebar { padding: 18px 9px 14px; align-items: center; }.brand { padding: 0 0 25px; }.brand-mark { width: 42px; height: 42px; }.brand-copy, .workspace-label, .workspace-card, .nav-label, .step-copy, .step-line, .sidebar-note, .sidebar-footer, .version { display: none; }.stepper { width: 100%; align-items: center; gap: 13px; }.stepper-item { padding: 0; }.step-icon { width: 37px; height: 37px; border-radius: 12px; }.topbar { height: 62px; padding: 0 18px; }.content-wrap { padding: 24px 18px; }.main-footer { padding: 0 18px 14px; }.secure-session { font-size: 0; gap: 0; }.secure-session .status-dot { width: 8px; height: 8px; }.top-actions { gap: 8px; }.profile-chip { padding-right: 6px; }.profile-chip > span:not(.profile-avatar):not(.chevron) { display: none; }.setup-layout { grid-template-columns: 1fr; gap: 22px; }.setup-intro { padding: 0; }.setup-intro h1 { font-size: clamp(39px, 8vw, 50px); }.intro-lede { margin: 12px 0 18px; font-size: 12px; }.visual-card { height: 220px; max-width: none; }.proof-row { display: none; }.setup-card { max-width: 550px; width: 100%; margin: auto; }.pipeline-strip { gap: 11px; }.pipeline-item { flex: 1; min-width: 135px; }.pipeline-arrow { display: none; }.pipeline-note { text-align: left; }.page-heading { align-items: flex-start; flex-direction: column; margin-top: 0; }.heading-side-note { align-self: flex-start; }.input-layout { grid-template-columns: 1fr; }.privacy-card { min-height: 0; }.privacy-list { display: grid; grid-template-columns: 1fr 1fr; }.privacy-foot { padding-top: 18px; }.results-heading { align-items: flex-start; flex-direction: column; }.results-actions { justify-content: flex-start; }.results-overview { grid-template-columns: 1fr; gap: 13px; }.overview-actions { grid-column: auto; justify-content: flex-start; margin-top: 0; }.chart-legend { flex-wrap: wrap; }.results-grid { grid-template-columns: 1fr; }.processing-shell { padding: 28px 22px; min-height: 0; }.processing-shell h1 { font-size: 33px; } }
@media (max-width: 480px) { .app-shell { grid-template-columns: 54px minmax(0,1fr); }.sidebar { padding-left: 6px; padding-right: 6px; }.brand-mark { width: 37px; height: 37px; }.step-icon { width: 33px; height: 33px; }.content-wrap { padding: 20px 13px; }.topbar { padding: 0 12px; }.breadcrumb { gap: 6px; font-size: 8px; letter-spacing: .7px; }.breadcrumb strong { font-size: 8px; letter-spacing: .65px; }.icon-button { width: 33px; height: 33px; }.profile-chip { border: 0; background: transparent; padding: 0; }.profile-avatar { width: 31px; height: 31px; }.main-footer { flex-direction: column; align-items: flex-start; gap: 7px; padding: 0 13px 13px; }.setup-intro h1 { font-size: 37px; letter-spacing: -2px; }.visual-card { height: 190px; }.orbit-one { width: 158px; height: 78px; }.orbit-two { width: 213px; height: 103px; }.vault-core { width: 70px; height: 70px; border-radius: 21px; }.vault-core svg { width: 40px; height: 40px; }.label-a { left: calc(50% - 137px); top: 66px; }.label-b { right: calc(50% - 138px); bottom: 50px; }.node-a { left: calc(50% - 55px); top: 39px; }.node-b { right: calc(50% - 108px); }.node-c { bottom: 36px; left: calc(50% + 41px); }.setup-card { padding: 19px 16px 15px; }.card-heading h2 { font-size: 17px; }.setup-step-badge { font-size: 7px; }.pipeline-strip { padding: 13px; }.pipeline-item { min-width: calc(50% - 6px); }.pipeline-note { font-size: 7px; }.page-heading h1, .results-heading h1 { font-size: 35px; }.upload-card { padding: 16px 13px; }.format-badge { font-size: 7px; padding: 6px; }.dropzone { min-height: 198px; }.upload-bottom-row { align-items: stretch; flex-direction: column; }.small-info { max-width: none; }.analyze-button { width: 100%; }.privacy-list { grid-template-columns: 1fr; gap: 13px; }.results-actions { width: 100%; gap: 6px; }.results-actions .btn-secondary { flex: 1; padding: 0 6px; font-size: 7px; }.new-analysis { flex: 1; }.overview-actions { flex-wrap: wrap; }.overview-actions .btn-quiet { flex: 1; }.transcript-panel, .entities-panel { padding: 15px 12px; }.panel-lock { display: none; }.transcript-legend { gap: 7px; }.transcript-body { min-height: 180px; padding: 12px; font-size: 10px; }.processing-shell { padding-left: 15px; padding-right: 15px; }.modal-card { padding: 23px 19px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
