:root{--rail-950:#0b0e0d;--rail-900:#121715;--rail-850:#171d1a;--rail-800:#1e2622;--rail-700:#2a3430;--green-700:#155440;--green-600:#1b6a50;--green-500:#23825f;--mint-400:#5fcf98;--mint-300:#86d9b1;--mint-200:#c3ead6;--neutral-900:#1b1d1c;--neutral-700:#383c3a;--neutral-600:#4f5451;--neutral-500:#6a706c;--neutral-400:#8f948f;--neutral-300:#cfd1cc;--neutral-200:#e4e5e1;--neutral-100:#efefec;--neutral-50:#f7f7f5;--amber-700:#7d4f12;--amber-600:#b57b1e;--amber-100:#fbf3e2;--orange-700:#95441a;--orange-600:#c0601e;--orange-100:#fcf1e8;--red-700:#8f2c22;--red-600:#b5392d;--red-100:#fcedeb;--blue-600:#2e5ea6;--blue-100:#eef3fa;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-13:48px;--radius-xs:4px;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--radius-xl:14px;--radius-full:999px;--text-2xs:11px;--text-xs:12px;--text-sm:13px;--text-md:14px;--text-lg:16px;--text-xl:20px;--text-2xl:24px;--text-3xl:28px;--w-regular:400;--w-medium:500;--w-semibold:600;--w-bold:650;--w-heavy:700;--font-mono:ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;--shadow-card:0 1px 2px #1418160a;--shadow-pop:0 4px 16px #14181614, 0 1px 3px #1418160f;--shadow-modal:0 24px 64px #0a0e0c3d, 0 2px 8px #0a0e0c14;--focus-ring:0 0 0 3px #1b6a502e}:root,[data-theme=light]{--surface:var(--neutral-50);--surface-raised:#fff;--surface-sunken:var(--neutral-100);--surface-hover:#f3f3f0;--text:var(--neutral-900);--text-muted:var(--neutral-500);--text-faint:var(--neutral-400);--border:var(--neutral-200);--border-strong:var(--neutral-300);--accent:var(--green-600);--accent-hover:var(--green-700);--accent-contrast:#fff;--accent-soft:#e9f2ee;--danger:var(--red-600);--danger-soft:var(--red-100);--warn:var(--orange-600);--warn-deep:var(--orange-700);--warn-soft:var(--orange-100);--info:var(--blue-600);--info-soft:var(--blue-100);--positive:var(--green-600);--positive-soft:#ebf4ef;--tone-positive-text:#1d6b4c;--tone-positive-bg:#ebf4ef;--tone-warning-text:#a0501a;--tone-warning-bg:#fcf1e8;--tone-danger-text:#a8352a;--tone-danger-bg:#fcedeb;--tone-neutral-text:#585e5a;--tone-neutral-bg:#f0f0ed;--tone-info-text:#2e5ea6;--tone-info-bg:#eef3fa}[data-theme=dark]{--surface:var(--rail-950);--surface-raised:var(--rail-900);--surface-sunken:var(--rail-850);--surface-hover:var(--rail-800);--text:#eef1ef;--text-muted:#a2aaa5;--text-faint:#7d857f;--border:var(--rail-700);--border-strong:#3a4540;--accent:var(--mint-300);--accent-hover:var(--mint-200);--accent-contrast:var(--rail-950);--accent-soft:var(--rail-800);--danger:#ef8273;--danger-soft:#2e1c18;--warn:#efa865;--warn-deep:#f2c990;--warn-soft:#2b2419;--info:#94b8e8;--info-soft:#18212c;--positive:var(--mint-400);--positive-soft:#15302a;--tone-positive-text:#a9e8c9;--tone-positive-bg:#163026;--tone-warning-text:#f2c990;--tone-warning-bg:#2b2419;--tone-danger-text:#f4b8ab;--tone-danger-bg:#2e1c18;--tone-neutral-text:#c4cbc7;--tone-neutral-bg:#1e2622;--tone-info-text:#b6cff1;--tone-info-bg:#18212c}@font-face{font-family:Inter;src:url(/fonts/InterVariable.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Noto Sans Devanagari;src:url(/fonts/NotoSansDevanagari.woff2)format("woff2");font-weight:400 700;font-style:normal;font-display:swap}*{box-sizing:border-box}html{background:var(--surface);-webkit-text-size-adjust:100%}body{color:var(--text);background:var(--surface);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans Devanagari,sans-serif;font-size:var(--text-md);font-feature-settings:"cv11", "ss01";-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;line-height:1.5}a{color:inherit;text-decoration:none}p a,.inline-link{color:var(--accent);text-underline-offset:2px;text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, currentColor 40%, transparent);text-decoration-color:color-mix(in srgb, currentColor 40%, transparent)}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none}input:not([type=checkbox]):not([type=radio]),textarea,select{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-raised);width:100%;min-height:38px;color:var(--text);font-size:var(--text-md);outline:none;padding:8px 11px;transition:border-color .12s,box-shadow .12s}input::placeholder,textarea::placeholder{color:var(--text-faint)}input:not([type=checkbox]):not([type=radio]):hover,textarea:hover,select:hover{border-color:#b9bcb6}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}input[type=checkbox],input[type=radio]{width:16px;height:16px;accent-color:var(--accent);flex:none;margin:0}textarea{resize:vertical;line-height:1.5}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236a706c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:32px}label{color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-medium);align-content:start;gap:6px;display:grid}label small{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--w-regular)}h1,h2,h3,h4,p{margin-top:0}h1{font-size:var(--text-3xl);font-weight:var(--w-semibold);letter-spacing:-.02em;margin-bottom:4px;line-height:1.2}h2{font-size:var(--text-lg);font-weight:var(--w-semibold);letter-spacing:-.01em;line-height:1.3}h3{font-size:var(--text-md);font-weight:var(--w-semibold)}p{color:var(--text-muted);line-height:1.6}code{font-family:var(--font-mono);font-size:.92em}::selection{background:color-mix(in srgb, var(--accent) 20%, transparent)}@media (width<=760px){h1{font-size:var(--text-2xl)}input:not([type=checkbox]):not([type=radio]),textarea,select{min-height:42px;font-size:16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.eyebrow{color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--w-medium);letter-spacing:0;text-transform:none;margin-bottom:6px}.primary-button,.light-button,.ghost-button,.danger-button{border-radius:var(--radius-md);min-height:36px;font-size:var(--text-md);font-weight:var(--w-semibold);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:0 14px;line-height:1;text-decoration:none;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.primary-button{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.primary-button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.primary-button.small,.ghost-button.small{min-height:32px;font-size:var(--text-sm);padding:0 12px}.primary-button.wide{width:100%;min-height:42px}.ghost-button,.light-button{color:var(--text);background:var(--surface-raised);border-color:var(--border-strong)}.ghost-button:hover:not(:disabled),.light-button:hover:not(:disabled){background:var(--surface-hover)}.ghost-button.dark{color:#dfe5e1;background:0 0;border-color:#3a4540}.ghost-button.dark:hover:not(:disabled){background:#ffffff0f}.danger-button{color:#fff;background:var(--red-600);border-color:var(--red-600)}.danger-button:hover:not(:disabled){background:var(--red-700)}.text-button{color:var(--accent);font-size:var(--text-sm);font-weight:var(--w-semibold);background:0 0;border:0;align-items:center;gap:4px;padding:4px 0;text-decoration:none;display:inline-flex}.text-button:hover{color:var(--accent-hover);text-underline-offset:3px;text-decoration:underline}.icon-button{border-radius:var(--radius-md);width:32px;height:32px;color:var(--text-muted);background:0 0;border:1px solid #0000;place-items:center;display:inline-grid}.icon-button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.icon-button.bordered{border-color:var(--border-strong);background:var(--surface-raised)}.danger-icon:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.heading-actions,.row-actions,.card-actions{align-items:center;gap:var(--space-2);display:flex}.count-pill{border-radius:var(--radius-full);color:var(--tone-neutral-text);background:var(--tone-neutral-bg);font-size:var(--text-sm);font-weight:var(--w-medium);white-space:nowrap;align-items:center;gap:6px;padding:4px 10px;display:inline-flex}.count-pill.warning{color:var(--tone-warning-text);background:var(--tone-warning-bg)}.status-badge{border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--w-medium);letter-spacing:0;text-transform:none;white-space:nowrap;align-items:center;gap:6px;padding:2px 8px 2px 7px;line-height:18px;display:inline-flex}.status-badge:before{content:"";background:currentColor;border-radius:50%;flex:none;width:6px;height:6px}.status-badge.tone-positive{color:var(--tone-positive-text);background:var(--tone-positive-bg)}.status-badge.tone-warning{color:var(--tone-warning-text);background:var(--tone-warning-bg)}.status-badge.tone-danger{color:var(--tone-danger-text);background:var(--tone-danger-bg)}.status-badge.tone-neutral{color:var(--tone-neutral-text);background:var(--tone-neutral-bg)}.status-badge.tone-info{color:var(--tone-info-text);background:var(--tone-info-bg)}.status-badge.badge-md{font-size:var(--text-sm);padding:4px 10px 4px 9px}.alert{border-radius:var(--radius-md);font-size:var(--text-sm);padding:10px 12px;line-height:1.5}.alert.error{color:var(--red-700);background:var(--red-100);border:1px solid #f1cdc8}.global-alert{justify-content:space-between;align-items:center;gap:12px;margin:16px clamp(20px,4vw,48px) 0;display:flex}.global-alert button{color:inherit;font-weight:var(--w-semibold);background:0 0;border:0;text-decoration:underline}.loading-state,.empty-state{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);color:var(--text-muted);text-align:center;font-size:var(--text-md);background:0 0;place-items:center;gap:6px;padding:56px 24px;display:grid}.empty-inline{border-radius:var(--radius-md);color:var(--text-muted);background:var(--surface-sunken);font-size:var(--text-sm);padding:16px}.empty-inline.success{color:var(--tone-positive-text);background:var(--tone-positive-bg)}.content-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);padding:20px}.content-card.flush{padding:0;overflow:hidden}.section-heading{justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:16px;display:flex}.section-heading h2{font-size:var(--text-lg);margin:0}.section-heading .eyebrow{margin-bottom:2px}.section-heading p{font-size:var(--text-sm);margin:2px 0 0}.flush>.section-heading{border-bottom:1px solid var(--border);margin:0;padding:16px 20px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:var(--text-md)}th{color:var(--text-muted);border-bottom:1px solid var(--border);background:var(--surface);font-size:var(--text-xs);font-weight:var(--w-medium);letter-spacing:0;text-align:left;text-transform:none;white-space:nowrap;padding:10px 14px}td{border-bottom:1px solid var(--neutral-100);color:var(--neutral-700);vertical-align:middle;padding:12px 14px}tbody tr:last-child td{border-bottom:0}.session-row{cursor:pointer}.session-row:hover td{background:var(--surface-hover)}td strong,td small{display:block}td strong{color:var(--text);font-weight:var(--w-semibold)}td small{color:var(--text-muted);font-size:var(--text-xs);margin-top:2px}.exception-count{background:var(--tone-neutral-bg);width:24px;height:24px;font-size:var(--text-xs);border-radius:50%;place-items:center;display:grid}.exception-count.active{color:var(--tone-danger-text);background:var(--tone-danger-bg);font-weight:var(--w-semibold)}.tag-row{flex-wrap:wrap;gap:4px;display:flex}.tag-row span{border:1px solid var(--border);border-radius:var(--radius-xs);color:var(--text-muted);background:var(--surface-raised);font-size:var(--text-2xs);font-weight:var(--w-medium);padding:1px 7px;line-height:18px}.tag-row.compact{margin-top:4px}.modal-backdrop{z-index:50;padding:var(--space-5);background:#0e12106b;place-items:center;animation:.12s fade-in;display:grid;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translateY(6px)}}.start-dialog,.confirm-dialog{width:min(480px,100%);max-height:calc(100vh - 2 * var(--space-5));max-height:calc(100dvh - 2 * var(--space-5));overscroll-behavior:contain;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface-raised);box-shadow:var(--shadow-modal);gap:16px;padding:24px;animation:.16s rise-in;display:grid;position:relative;overflow-y:auto}.start-dialog h2,.confirm-dialog h2{font-size:var(--text-xl);margin:0;padding-right:32px;line-height:1.3}.dialog-head{gap:4px;display:grid}.dialog-head p{font-size:var(--text-sm);margin:0}.dialog-close{border-radius:var(--radius-md);width:32px;height:32px;color:var(--text-muted);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:14px;right:14px}.dialog-close:hover{color:var(--text);background:var(--surface-hover)}.dialog-note{border-radius:var(--radius-md);color:var(--text-muted);background:var(--surface-sunken);font-size:var(--text-sm);gap:8px;padding:10px 12px;line-height:1.5;display:flex}.dialog-note svg{flex:none;margin-top:2px}.confirm-dialog p{font-size:var(--text-md);margin:0;line-height:1.6}.confirm-dialog .dialog-actions,.dialog-actions{justify-content:flex-end;gap:var(--space-2);display:flex}.confirm-dialog .danger-confirm{border-radius:var(--radius-md);color:#fff;background:var(--red-600);min-height:36px;font-weight:var(--w-semibold);border:0;padding:0 14px}.consent-row{border:1px solid var(--border);border-radius:var(--radius-md);color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-regular);cursor:pointer;align-items:flex-start;gap:10px;padding:12px;line-height:1.5;flex-direction:row!important;display:flex!important}.consent-row input{margin-top:2px}.option-group{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.option-group>legend{color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-medium);margin-bottom:8px;padding:0}.option-card{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-raised);font-weight:var(--w-regular);cursor:pointer;align-items:center;gap:12px;padding:11px 12px;transition:border-color .12s,background .12s;flex-direction:row!important;display:flex!important}.option-card:hover{background:var(--surface-hover)}.option-card:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.option-card .option-icon{border-radius:var(--radius-md);width:32px;height:32px;color:var(--text-muted);background:var(--surface-sunken);flex:none;place-items:center;display:grid}.option-card:has(input:checked) .option-icon{color:var(--accent);background:var(--surface-raised)}.option-card .option-text{flex:1;gap:1px;min-width:0;display:grid}.option-card .option-text strong{color:var(--text);font-size:var(--text-md);font-weight:var(--w-semibold)}.option-card .option-text small{color:var(--text-muted);font-size:var(--text-xs);line-height:1.4}.option-card input{order:3}.dialog-checklist-picker{gap:8px;max-height:360px;display:grid;overflow-y:auto}.dialog-checklist-picker button{border:1px solid var(--border-strong);border-radius:var(--radius-md);color:var(--text);background:var(--surface-raised);text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:12px 14px;transition:border-color .12s,background .12s;display:grid}.dialog-checklist-picker button:hover{border-color:var(--accent);background:var(--accent-soft)}.dialog-checklist-picker strong{font-size:var(--text-md);font-weight:var(--w-semibold);grid-column:1}.dialog-checklist-picker small{color:var(--text-muted);font-size:var(--text-xs);grid-column:1}.dialog-checklist-picker .status-badge{grid-area:1/2/span 2}.metric-grid{margin-bottom:var(--space-6);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);grid-template-columns:repeat(4,1fr);display:grid;overflow:hidden}.metric-grid>*{border-left:1px solid var(--border);color:inherit;align-content:start;gap:2px;padding:16px 20px;display:grid}.metric-grid>:first-child{border-left:0}.metric-grid span{color:var(--text-muted);font-size:var(--text-sm)}.metric-grid strong{font-size:var(--text-2xl);font-weight:var(--w-semibold);letter-spacing:-.02em;font-variant-numeric:tabular-nums}.metric-grid small{color:var(--text-faint);font-size:var(--text-xs)}.metric-grid a:hover{background:var(--surface-hover)}.metric-grid .metric-warning strong{color:var(--tone-warning-text)}.sim-chip{border-radius:var(--radius-xs);color:var(--amber-700);background:var(--amber-100);font-size:var(--text-2xs);font-weight:var(--w-semibold);vertical-align:middle;margin-left:6px;padding:0 6px;line-height:18px;display:inline-flex}@media (width<=1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.metric-grid>:nth-child(3){border-left:0}.metric-grid>:nth-child(n+3){border-top:1px solid var(--border)}}@media (width<=760px){.global-alert{margin:12px 16px 0}.heading-actions{flex-wrap:wrap}.icon-button{width:40px;height:40px}.metric-grid>*{padding:12px 14px}.metric-grid strong{font-size:var(--text-xl)}.content-card{padding:16px}.table-wrap th,.table-wrap td{padding:10px}.session-table-tight th:nth-child(2),.session-table-tight td:nth-child(2),.session-table-tight th:nth-child(3),.session-table-tight td:nth-child(3){display:none}.modal-backdrop{place-items:end stretch;padding:0}.start-dialog,.confirm-dialog{width:100%;max-height:calc(100dvh - 24px);padding:24px 18px calc(20px + env(safe-area-inset-bottom));border-radius:var(--radius-xl) var(--radius-xl) 0 0}.dialog-close{width:40px;height:40px;top:10px;right:10px}}.field-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;display:grid}.app-shell{grid-template-columns:240px minmax(0,1fr);min-height:100dvh;display:grid}.app-nav{border-right:1px solid var(--border);background:#fbfbfa;flex-direction:column;height:100dvh;padding:18px 12px 12px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{flex:none;display:block}.brand strong{color:var(--text);font-size:15px;font-weight:var(--w-semibold);letter-spacing:-.01em;line-height:1.2;display:block}.brand span{color:var(--text-muted);font-size:var(--text-xs);line-height:1.3;display:block}.app-nav>.brand{padding:0 8px}.app-nav nav{gap:2px;margin-top:24px;display:grid}.app-nav nav a{border-radius:var(--radius-md);min-height:34px;color:var(--neutral-600);font-size:var(--text-md);font-weight:var(--w-medium);align-items:center;gap:10px;padding:0 10px;text-decoration:none;transition:background .1s,color .1s;display:flex;position:relative}.app-nav nav a .nav-icon{color:var(--text-faint);place-items:center;display:grid}.app-nav nav a:hover{color:var(--text);background:var(--surface-hover)}.app-nav nav a.active{color:var(--text);background:var(--neutral-100);font-weight:var(--w-semibold)}.app-nav nav a.active .nav-icon{color:var(--accent)}.nav-dev-section{margin-top:20px!important}.nav-section-label{color:var(--text-faint);font-size:var(--text-xs);font-weight:var(--w-medium);padding:0 10px 6px}.nav-dev-section .dev-chip{border-radius:var(--radius-xs);color:var(--amber-700);background:var(--amber-100);font-size:var(--text-2xs);font-weight:var(--w-semibold);margin-left:auto;padding:0 6px;line-height:18px}.nav-footer{border-top:1px solid var(--border);gap:4px;margin-top:auto;padding-top:12px;display:grid}.system-card{border-radius:var(--radius-md);align-items:center;gap:10px;padding:8px 10px;display:flex}.system-text{min-width:0;display:grid}.system-card strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--w-medium)}.system-card small{color:var(--text-muted);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.status-light{background:var(--orange-600);width:8px;height:8px;box-shadow:0 0 0 3px color-mix(in srgb, var(--orange-600) 18%, transparent);border-radius:50%;flex:none}.status-light.on{background:var(--green-500);box-shadow:0 0 0 3px color-mix(in srgb, var(--green-500) 18%, transparent)}.system-card.offline .status-light{background:var(--red-600)}.app-content{min-width:0}.mobile-header,.mobile-tabbar{display:none}.workspace{width:min(1240px,100%);min-height:100dvh;margin:0 auto;padding:32px clamp(20px,4vw,48px) 64px}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.page-heading p{font-size:var(--text-md);margin:0}.page-heading .eyebrow{margin-bottom:4px}.breadcrumb{color:var(--text-muted);font-size:var(--text-sm);align-items:center;gap:6px;margin-bottom:10px;display:flex}.breadcrumb a,.breadcrumb button{color:var(--text-muted);font-weight:var(--w-medium);background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.breadcrumb a:hover,.breadcrumb button:hover{color:var(--text)}.breadcrumb .sep{color:var(--text-faint)}.dashboard-subtitle{color:var(--text-muted)}.continue-card{margin-bottom:var(--space-6);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);overflow:hidden}.continue-card>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.continue-card h2{font-size:var(--text-lg);margin:0}.continue-card>header span{color:var(--text-muted);font-size:var(--text-sm)}.resume-row{border-top:1px solid var(--neutral-100);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 20px;display:grid}.continue-card>header+.resume-row{border-top:0}.resume-row .live-pulse{background:var(--blue-600);width:8px;height:8px;box-shadow:0 0 0 3px color-mix(in srgb, var(--blue-600) 16%, transparent);border-radius:50%}.resume-row strong{color:var(--text);font-size:var(--text-md);font-weight:var(--w-semibold)}.resume-row small{color:var(--text-muted);font-size:var(--text-sm);margin-top:1px;display:block}.resume-progress{color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;align-items:center;gap:10px;display:flex}.resume-progress .track{border-radius:var(--radius-full);background:var(--neutral-100);width:80px;height:4px;overflow:hidden}.resume-progress .track span{background:var(--accent);height:100%;display:block}.resume-actions{align-items:center;gap:16px;display:flex}@media (width<=1050px){.app-shell{grid-template-columns:216px minmax(0,1fr)}}@media (width<=760px){.app-shell{display:block}.app-nav{display:none}.mobile-header{z-index:20;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface-raised) 92%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(12px);backdrop-filter:saturate(1.4)blur(12px);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.mobile-tabbar{z-index:30;padding:4px 8px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface-raised) 94%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(12px);backdrop-filter:saturate(1.4)blur(12px);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-tabbar a{color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--w-medium);justify-items:center;gap:2px;padding:6px 2px;text-decoration:none;display:grid}.mobile-tabbar a .nav-icon{place-items:center;display:grid}.mobile-tabbar a.active{color:var(--accent)}.workspace{min-height:0;padding:20px 16px calc(88px + env(safe-area-inset-bottom))}.page-heading{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:20px}.page-heading>.primary-button{width:100%;min-height:42px}.resume-row{grid-template-columns:auto minmax(0,1fr);padding:12px 16px}.resume-row .resume-actions{grid-column:2;justify-content:space-between}}.checklist-list{gap:10px;display:grid}.checklist-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);align-items:center;gap:24px;padding:14px 20px;transition:border-color .12s;display:flex}.checklist-card:hover{border-color:var(--border-strong)}.checklist-main{flex:1;gap:4px;min-width:0;display:grid}.checklist-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.checklist-card h2{font-size:var(--text-lg);margin:0}.checklist-description{color:var(--text-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;max-width:72ch;margin:0;line-height:1.5;overflow:hidden}.checklist-card-meta{color:var(--text-muted);font-size:var(--text-xs);flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:2px;display:flex}.checklist-card-meta>span{align-items:center;gap:5px;display:inline-flex}.checklist-card .card-actions{flex:none}.start-hint{color:var(--text-faint);font-size:var(--text-xs)}.editor-page{max-width:1040px;padding-bottom:0}.form-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);padding:20px}.form-card-head h2{font-size:var(--text-lg);margin:0}.editor-basics{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px;display:grid}.full-field{grid-column:1/-1}.field-error{color:var(--danger);font-size:var(--text-xs);font-weight:var(--w-medium)}.has-error input,.has-error textarea,.has-error select{border-color:var(--danger)!important}.error-badge{border-radius:var(--radius-full);color:#fff;background:var(--red-600);min-width:18px;height:18px;font-size:var(--text-2xs);font-weight:var(--w-semibold);place-items:center;padding:0 5px;display:inline-grid}.zone-stack{gap:12px;display:grid}.zone-editor{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);overflow:hidden}.zone-editor[open]{border-color:var(--border-strong)}.zone-editor>summary{cursor:pointer;list-style:none}.zone-editor>summary::-webkit-details-marker{display:none}.zone-editor-header{grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px 16px;display:grid}.zone-editor>summary:hover .zone-editor-header{background:var(--surface-hover)}.zone-editor[open] .zone-editor-header{border-bottom:1px solid var(--border);background:var(--surface)}.zone-number{border-radius:var(--radius-md);width:28px;height:28px;color:var(--text-muted);background:var(--surface-sunken);font-size:var(--text-sm);font-weight:var(--w-semibold);font-variant-numeric:tabular-nums;place-items:center;display:grid}.zone-editor[open] .zone-number{color:#fff;background:var(--accent)}.zone-summary-line{align-items:baseline;gap:10px;min-width:0;display:flex}.zone-summary-line strong{color:var(--text);font-size:var(--text-md);font-weight:var(--w-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.zone-summary-line span{color:var(--text-muted);font-size:var(--text-sm)}.zone-title-fields{grid-template-columns:.6fr 1.4fr;gap:14px;display:grid}.recognition-field{padding:16px 16px 0}.editor-check-list{gap:8px;padding:16px;display:grid}.check-editor{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);overflow:hidden}.check-editor[open]{border-color:var(--border-strong);box-shadow:var(--shadow-pop)}.check-editor>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:6px 8px 6px 14px;list-style:none;display:flex}.check-editor>summary:hover{background:var(--surface-hover)}.check-editor>summary::-webkit-details-marker{display:none}.check-editor[open]>summary{border-bottom:1px solid var(--border);background:var(--surface)}.check-summary-title{align-items:center;gap:10px;min-width:0;display:flex}.check-summary-title b{font-size:var(--text-md);font-weight:var(--w-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.check-summary-title .active-check-code{border:1px solid var(--border);border-radius:var(--radius-xs);color:var(--text-muted);background:var(--surface-raised);font-family:var(--font-mono);font-size:var(--text-xs);flex:none;padding:1px 7px}.check-grid{grid-template-columns:.55fr 1.45fr;gap:16px;padding:16px;display:grid}.field-group{border-top:1px solid var(--neutral-100);grid-column:1/-1;gap:12px;padding-top:12px;display:grid}.field-group:first-child{border-top:0;padding-top:0}.field-group>legend,.field-group-label{color:var(--text);font-size:var(--text-sm);font-weight:var(--w-semibold);letter-spacing:0;text-transform:none}.field-group-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.inline-checkbox{color:var(--neutral-700);font-weight:var(--w-regular);cursor:pointer;align-items:flex-start;gap:10px;line-height:1.5;flex-direction:row!important;display:flex!important}.inline-checkbox input{margin-top:3px}.evidence-options{border:1px solid var(--border);border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0;padding:12px 14px;display:flex}.evidence-options legend{color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-medium);padding:0 4px}.evidence-options label{font-weight:var(--w-regular);text-transform:capitalize;cursor:pointer;flex-direction:row;align-items:center;gap:8px;display:flex}.add-button,.add-zone-button{border:1px dashed var(--border-strong);border-radius:var(--radius-md);min-height:40px;color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--w-medium);background:0 0;justify-content:center;align-items:center;gap:6px;padding:0 14px;transition:border-color .12s,color .12s,background .12s;display:inline-flex}.add-button:hover,.add-zone-button:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.add-zone-button{width:100%;min-height:48px;margin-top:12px}.ai-check-editor{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);gap:10px;padding:14px;display:grid}.ai-check-editor>header,.ai-check-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-check-editor>header div{gap:2px;display:grid}.ai-check-editor>header strong{font-size:var(--text-sm)}.ai-check-editor>header small{color:var(--text-muted);font-size:var(--text-xs);line-height:1.45}.ai-check-editor>header>span{border-radius:var(--radius-full);min-width:22px;color:var(--text-muted);background:var(--surface-raised);border:1px solid var(--border);font-size:var(--text-xs);text-align:center;padding:0 7px;line-height:20px}.ai-check-editor>article{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);grid-template-columns:.7fr 1.3fr 1fr;gap:10px;padding:12px;display:grid}.ai-check-heading{grid-column:1/-1}.ai-check-heading strong{font-size:var(--text-sm)}.editor-save-bar{z-index:15;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border:1px solid var(--border);border-radius:var(--radius-lg) var(--radius-lg) 0 0;background:color-mix(in srgb, var(--surface-raised) 94%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(12px);backdrop-filter:saturate(1.4)blur(12px);border-bottom:0;justify-content:space-between;align-items:center;gap:14px;margin-top:24px;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 16px #1418160d}.editor-save-bar .save-meta{color:var(--text-muted);font-size:var(--text-sm);align-items:center;gap:12px;display:flex}.editor-save-bar .dirty-dot{background:var(--warn);border-radius:50%;width:8px;height:8px}.editor-save-bar .error-jump{color:var(--danger);font-size:var(--text-sm);font-weight:var(--w-medium);text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}@media (width<=760px){.checklist-card{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.checklist-card .card-actions{justify-content:flex-start}.editor-basics{grid-template-columns:1fr}.zone-editor-header{grid-template-columns:auto 1fr;padding:12px}.zone-editor-header>.row-actions{grid-column:1/-1;justify-content:flex-end}.zone-title-fields,.check-grid,.field-group-grid{grid-template-columns:1fr}.recognition-field{padding:12px 12px 0}.editor-check-list{padding:12px}.full-field{grid-column:auto}.evidence-options{flex-direction:column;align-items:flex-start;gap:10px}.ai-check-editor>article{grid-template-columns:1fr}.editor-save-bar{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}}.inspection-shell{--r-bg:#0b0d0c;--r-panel:#131615;--r-card:#191d1b;--r-line:#262b29;--r-line-strong:#333937;--r-text:#eef1ef;--r-muted:#a0a8a3;--r-faint:#79817c;min-height:100dvh;color:var(--r-text);background:var(--r-bg)}.inspection-topbar{border-bottom:1px solid var(--r-line);background:var(--r-panel);align-items:center;gap:20px;min-height:56px;padding:8px 16px;display:flex}.inspection-topbar .topbar-id{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.inspection-topbar .topbar-id>div{min-width:0;display:grid}.inspection-topbar strong{color:#fff;font-size:var(--text-md);font-weight:var(--w-semibold)}.inspection-topbar .topbar-id span:not(.live-dot){color:var(--r-muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.live-dot{background:#e5534b;border-radius:50%;flex:none;width:8px;height:8px;animation:2s ease-in-out infinite live-blink;box-shadow:0 0 0 4px #e5534b2e}@keyframes live-blink{50%{opacity:.45}}.topbar-progress{color:var(--r-muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:10px;display:flex}.topbar-track{border-radius:var(--radius-full);background:var(--r-line-strong);width:140px;height:4px;overflow:hidden}.topbar-track>span{border-radius:inherit;background:var(--mint-400);height:100%;transition:width .3s;display:block}.status-cluster{align-items:center;gap:14px;display:flex}.status-cluster .status-item{color:var(--r-muted);font-size:var(--text-xs);white-space:nowrap;align-items:center;gap:6px;display:flex}.status-cluster .status-dot{background:#6e7671;border-radius:50%;flex:none;width:7px;height:7px}.status-cluster .status-dot.ok{background:var(--mint-400)}.status-cluster .status-dot.warn{background:#efa865}.status-cluster .status-dot.bad{background:#e5534b}.status-banner{color:#2a1d08;font-size:var(--text-sm);font-weight:var(--w-semibold);background:#efa865;align-items:center;gap:10px;padding:10px 16px;display:flex}.status-banner.bad{color:#fff;background:#b8382d}.inspection-layout{grid-template-columns:minmax(0,1fr) 400px;min-height:calc(100dvh - 56px);display:grid}.camera-stage{background:#000;height:calc(100dvh - 56px);position:sticky;top:0;overflow:hidden}.camera-stage video{object-fit:cover;width:100%;height:100%}.camera-stage.simulation video{object-fit:contain}.camera-stage img.helmet-feed{object-fit:cover;background:#000;width:100%;height:100%;display:block}.camera-waiting,.camera-error{z-index:5;text-align:center;place-content:center;gap:6px;padding:32px;display:grid;position:absolute;inset:0}.camera-waiting{color:var(--r-text);background:#000000e0}.camera-waiting span{max-width:34ch;color:var(--r-muted);font-size:var(--text-sm)}.camera-error{color:#f6d0c9;background:#24120f}.camera-error span{color:#cfa59d;font-size:var(--text-sm)}.camera-stage:after{content:"";pointer-events:none;background:linear-gradient(#00000073,#0000);height:120px;position:absolute;inset:0 0 auto}.camera-hud{z-index:2;align-items:center;gap:12px;display:flex;position:absolute;top:16px;left:16px}.camera-hud .zone-label{border-radius:var(--radius-full);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:var(--text-sm);font-weight:var(--w-medium);background:#0000008c;padding:5px 10px}.inspection-sidebar{border-left:1px solid var(--r-line);background:var(--r-panel);flex-direction:column;gap:12px;height:calc(100dvh - 56px);padding:16px;display:flex;overflow-y:auto}.zone-strip{width:100%;color:var(--r-muted);align-items:center;gap:10px;display:flex}.zone-strip .zone-strip-label{font-size:var(--text-xs);flex:none}.zone-strip .zone-strip-count{color:var(--r-text);font-size:var(--text-xs);font-variant-numeric:tabular-nums;flex:none}.zone-segments{flex:1;gap:3px;display:flex}.zone-segment{border-radius:var(--radius-full);background:var(--r-line-strong);flex:1;height:4px;position:relative;overflow:hidden}.zone-segment>span{border-radius:inherit;background:var(--mint-400);position:absolute;inset:0 auto 0 0}.zone-segment.current{background:#4a524e;box-shadow:0 0 0 1px #efa865}.zone-segment.conflict>span{background:#e5534b}.active-check-card{border:1px solid var(--r-line);border-radius:var(--radius-lg);background:var(--r-card);flex-direction:column;padding:18px;display:flex;position:relative}.check-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.check-heading-meta{align-items:center;gap:8px;min-width:0;display:flex}.active-check-code{border:1px solid var(--r-line-strong);border-radius:var(--radius-xs);color:var(--r-muted);font-family:var(--font-mono);font-size:var(--text-xs);flex:none;padding:0 7px;line-height:20px}.check-zone{color:var(--r-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.phase-chip{border-radius:var(--radius-full);color:#f2c990;font-size:var(--text-xs);font-weight:var(--w-medium);background:#efa86524;flex:none;align-items:center;gap:6px;padding:2px 9px 2px 8px;line-height:18px;display:inline-flex}.phase-chip:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.phase-chip.tone-positive{color:var(--mint-300);background:#5fcf9824}.phase-chip.tone-warning{color:#ffb38a;background:#e578462e}.phase-chip.tone-done{color:var(--mint-300);background:#5fcf9824}.phase-chip.tone-neutral{color:#b6cff1;background:#94b8e824}.active-check-card h1{color:#fff;font-size:var(--text-xl);font-weight:var(--w-semibold);letter-spacing:-.01em;margin:12px 0 6px;line-height:1.3}.camera-target{color:var(--r-muted);font-size:var(--text-sm);gap:8px;margin:0 0 14px;line-height:1.5;display:flex}.camera-target svg{color:var(--r-faint);flex:none;margin-top:2px}.camera-target span{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.state-hint{color:var(--r-muted);font-size:var(--text-sm);margin:0 0 12px;line-height:1.5}.verdict-hint{color:#f2c990;font-size:var(--text-sm);text-align:center;margin:10px 0 0;line-height:1.5}.value-field{color:var(--r-muted);margin-bottom:12px}.value-field input,.side-panel-body input{color:#fff;border-color:var(--r-line-strong)!important;background:#0f1211!important}.pass-criteria{border:1px solid var(--r-line);border-radius:var(--radius-md);background:#0f1211;padding:12px}.pass-criteria span{color:var(--r-faint);font-size:var(--text-xs)}.pass-criteria p{color:#d6ddd9;font-size:var(--text-sm);margin:4px 0 0;line-height:1.55}.state-explainer{border-radius:var(--radius-md);color:#d6ddd9;font-size:var(--text-sm);background:#0f1211;margin-top:14px;padding:12px;line-height:1.5}.state-explainer.waiting:before,.state-explainer.reviewing:before{content:"";background:#efa865;border-radius:50%;width:7px;height:7px;margin-right:8px;animation:1.2s infinite pulse;display:inline-block}.state-explainer.complete{color:var(--mint-300);background:#5fcf981a}@keyframes pulse{50%{opacity:.35}}.confirmation-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.confirmation-actions button{border-radius:var(--radius-lg);min-height:60px;font-size:var(--text-lg);font-weight:var(--w-semibold);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px;transition:filter .12s,transform 80ms;display:inline-flex}.confirmation-actions button:active:not(:disabled){transform:scale(.98)}.confirmation-actions button:hover:not(:disabled){filter:brightness(1.06)}.confirm-clear{color:#06231a;background:var(--mint-400)}.confirm-issue{color:#fff;background:#c43e32}.side-panel{border:1px solid var(--r-line);border-radius:var(--radius-lg);background:var(--r-card);overflow:hidden}.side-panel>summary{color:#d6ddd9;min-height:46px;font-size:var(--text-sm);font-weight:var(--w-medium);cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:0 14px;list-style:none;display:flex}.side-panel>summary>span{align-items:center;gap:8px;display:inline-flex}.side-panel>summary svg{color:var(--r-faint)}.side-panel>summary::-webkit-details-marker{display:none}.side-panel>summary:hover{background:#ffffff08}.side-panel[open]>summary{border-bottom:1px solid var(--r-line)}.summary-chevron{transition:transform .14s}.side-panel[open] .summary-chevron{transform:rotate(180deg)}.summary-count{color:var(--r-muted);font-variant-numeric:tabular-nums}.side-panel-body{gap:12px;padding:14px;display:grid}.side-panel-body label{color:var(--r-muted)}.inspection-sidebar>.ghost-button{color:#d6ddd9;border-color:var(--r-line-strong);background:0 0}.route-list{gap:8px}.route-zone{border:1px solid var(--r-line);border-radius:var(--radius-md);background:#0f1211;padding:10px 12px}.route-zone>div:first-child{color:var(--r-muted);font-size:var(--text-xs);justify-content:space-between;display:flex}.route-zone strong{color:#d6ddd9;font-weight:var(--w-medium)}.route-checks{gap:6px;margin-top:8px;display:grid}.route-check{color:var(--r-muted);font-size:var(--text-sm);align-items:center;gap:8px;display:flex}.route-check span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.route-check.current{color:#fff}.route-dot{background:#3a413d;border-radius:50%;flex:none;width:8px;height:8px}.route-dot.completed{background:var(--mint-400)}.route-dot.navigating,.route-dot.guiding,.route-dot.inspecting,.route-dot.recheck{background:#efa865;box-shadow:0 0 0 3px #efa86529}.route-dot.conflict{background:#e5534b}.convo-feed{scroll-behavior:smooth;flex-direction:column;gap:8px;min-height:96px;max-height:38vh;margin-bottom:14px;padding:2px;display:flex;overflow-y:auto}.convo-empty{color:var(--r-faint);font-size:var(--text-sm);margin:auto}.convo-msg{max-width:90%;font-size:var(--text-lg);overflow-wrap:anywhere;border-radius:14px;margin:0;padding:9px 12px;line-height:1.55}.convo-msg.ai{color:var(--r-text);background:#232826;border-bottom-left-radius:4px;align-self:flex-start}.convo-msg.you{color:#06231a;background:#b8e9cf;border-bottom-right-radius:4px;align-self:flex-end}.convo-msg.speaking{align-items:center;gap:4px;min-height:36px;display:flex}.convo-msg.speaking span{background:var(--mint-400);border-radius:50%;width:6px;height:6px;animation:1.2s infinite convo-pulse}.convo-msg.speaking span:nth-child(2){animation-delay:.2s}.convo-msg.speaking span:nth-child(3){animation-delay:.4s}@keyframes convo-pulse{50%{opacity:.25;transform:translateY(-2px)}}.recheck-hint{border-radius:var(--radius-md);color:#f2c990;background:#efa86514;border:1px solid #efa86559;padding:10px 12px}.debug-panel{border:1px solid var(--r-line);border-radius:var(--radius-lg);background:#0d0f0e;overflow:hidden}.debug-panel summary{color:#d6ddd9;min-height:42px;font-size:var(--text-sm);font-weight:var(--w-medium);cursor:pointer;justify-content:space-between;align-items:center;padding:0 14px;list-style:none;display:flex}.debug-panel summary::-webkit-details-marker{display:none}.debug-panel[open] summary{border-bottom:1px solid var(--r-line)}.debug-status{color:var(--r-muted);font-size:var(--text-xs);align-items:center;gap:6px;display:flex}.debug-status:before{content:"";background:#efa865;border-radius:50%;width:6px;height:6px}.debug-status.live:before{background:var(--mint-400)}.debug-toolbar{justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.debug-toolbar small{color:var(--r-faint);font-size:var(--text-2xs);line-height:1.35}.debug-toolbar button{border:1px solid var(--r-line-strong);border-radius:var(--radius-sm);color:#d6ddd9;font-size:var(--text-xs);font-weight:var(--w-medium);background:0 0;flex:none;padding:6px 10px}.debug-log{height:250px;font-family:var(--font-mono);padding:0 12px 12px;overflow:auto}.debug-empty{color:var(--r-faint);font-size:var(--text-2xs)}.debug-entry{border-top:1px solid #1c201e;padding:8px 0}.debug-entry-meta{color:#6f7772;font-size:var(--text-2xs);grid-template-columns:auto auto 1fr;gap:7px;display:grid}.debug-entry-meta b{color:var(--mint-400)}.debug-entry.warning .debug-entry-meta b{color:#efa865}.debug-entry.error .debug-entry-meta b{color:#ef8273}.debug-entry-meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.debug-entry p{color:#c8d0cb;font-size:var(--text-2xs);overflow-wrap:anywhere;margin:4px 0 0;line-height:1.45}.debug-entry pre{color:#868e89;font:inherit;font-size:var(--text-2xs);white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;line-height:1.4}.simulator-runner{z-index:100;background:#0b0d0c;position:fixed;inset:0;overflow:auto}@media (width<=1050px){.inspection-layout{grid-template-columns:minmax(0,1fr) 360px}.topbar-progress{display:none}}@media (width<=760px){.inspection-shell{overscroll-behavior:none;flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.inspection-topbar{min-height:0;padding:8px 12px;padding-top:calc(8px + env(safe-area-inset-top));gap:12px}.inspection-topbar .topbar-id span:not(.live-dot){display:none}.status-cluster{gap:8px}.status-cluster .status-item .status-text{display:none}.inspection-layout{flex-direction:column;flex:1;min-height:0;display:flex}.camera-stage{flex:none;height:52svh;min-height:260px;position:relative}.inspection-sidebar{z-index:3;height:auto;min-height:0;padding:4px 12px calc(16px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-left:0;border-radius:16px 16px 0 0;flex:1;margin-top:-16px;position:relative;box-shadow:0 -8px 24px #00000080}.inspection-sidebar:before{content:"";border-radius:var(--radius-full);background:#3a413d;flex:none;width:36px;height:4px;margin:6px auto 2px;display:block}.convo-feed{max-height:26svh}.camera-hud{top:10px;left:10px}.active-check-card{padding:14px}.active-check-card h1{font-size:var(--text-lg);margin:8px 0 4px}.convo-msg{font-size:var(--text-md)}.camera-target span{-webkit-line-clamp:2}.confirmation-actions button{min-height:58px;font-size:var(--text-lg)}}.report-page{max-width:1240px}.seg-clear{background:var(--green-600)}.seg-resolved{background:var(--blue-600)}.seg-needs_review{background:var(--orange-600)}.seg-issue{background:var(--red-600)}.seg-not_verified{background:#a6afaa}.seg-in_progress{background:var(--neutral-300)}.report-header{margin-bottom:20px}.report-title-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.report-title-row h1{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:0;display:flex}.report-title-row .sim-chip{margin-left:0;font-size:10px}.report-actions{align-items:center;gap:10px;display:flex}.with-icon{align-items:center;gap:7px;display:inline-flex}.report-meta{grid-template-columns:repeat(5,minmax(0,auto));justify-content:start;gap:8px 40px;margin:16px 0 0;padding:0;display:grid}.report-meta div{min-width:0}.report-meta dt{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--w-regular)}.report-meta dd{color:var(--text);font-size:var(--text-md);font-weight:var(--w-medium);overflow-wrap:anywhere;margin:2px 0 0}.muted{color:var(--text-muted);font-weight:var(--w-regular)}.muted.small{font-size:var(--text-xs)}.danger-text{color:var(--tone-danger-text)}.report-banner{border:1px solid var(--border);border-radius:var(--radius-lg);font-size:var(--text-sm);align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}.report-banner>div{flex:1;gap:2px;display:grid}.report-banner span{line-height:1.5}.report-banner.info{color:#234b6b;background:var(--info-soft);border-color:#bcd3ea}.report-banner.warning{color:var(--orange-700);background:var(--warn-soft);border-color:#efb099}.report-banner.danger{color:var(--red-700);background:var(--red-100);border-color:#f0c4be}.analysis-spinner{border:2px solid #bcd3ea;border-top-color:#3f7fbf;border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite report-spin}@keyframes report-spin{to{transform:rotate(360deg)}}.report-alert{margin-bottom:16px}.summary-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);gap:16px;margin-bottom:16px;padding:20px;display:grid}.summary-verdict{align-items:center;gap:16px;display:flex}.verdict-icon{border-radius:var(--radius-md);width:40px;height:40px;color:var(--text-muted);background:var(--surface-sunken);flex:none;place-items:center;display:grid}.tone-positive .verdict-icon{color:var(--tone-positive-text);background:var(--tone-positive-bg)}.tone-warning .verdict-icon{color:var(--tone-warning-text);background:var(--tone-warning-bg)}.tone-danger .verdict-icon{color:var(--tone-danger-text);background:var(--tone-danger-bg)}.summary-verdict h2{font-size:var(--text-xl);margin:0;line-height:1.3}.summary-verdict p{font-size:var(--text-sm);margin:4px 0 0}.outcome-bar{border-radius:var(--radius-full);background:var(--surface-sunken);gap:2px;height:6px;display:flex;overflow:hidden}.outcome-bar .seg{min-width:6px}.outcome-stats{flex-wrap:wrap;gap:8px;display:flex}.outcome-stat{border:1px solid var(--border);border-radius:var(--radius-md);min-height:34px;color:var(--text-muted);background:var(--surface-raised);font-size:var(--text-sm);align-items:center;gap:8px;padding:0 12px;transition:border-color .12s,background .12s;display:inline-flex}.outcome-stat:hover{border-color:var(--border-strong);background:var(--surface)}.outcome-stat.active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.outcome-stat strong{color:var(--text);font-size:var(--text-md);font-weight:var(--w-semibold);font-variant-numeric:tabular-nums}.outcome-stat .dot{border-radius:50%;width:8px;height:8px}.review-callout{border-top:1px solid var(--border);color:var(--tone-warning-text);align-items:center;gap:12px;padding-top:16px;display:flex}.review-callout>div{flex:1;gap:3px;display:grid}.review-callout strong{color:var(--text);font-size:var(--text-md);font-weight:var(--w-semibold)}.review-callout span{color:var(--text-muted);font-size:var(--text-sm);line-height:1.5}.report-section{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);margin-bottom:16px;padding:20px}.findings-summary{color:var(--neutral-700);font-size:var(--text-md);max-width:90ch;margin:0 0 16px;line-height:1.65}.findings-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.findings-grid>div{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:14px 16px}.findings-grid h3{font-size:var(--text-sm);margin:0 0 8px}.findings-grid ul{color:var(--neutral-700);font-size:var(--text-sm);margin:0;padding-left:18px;line-height:1.65}.findings-grid p{font-size:var(--text-sm);margin:0}.results-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;display:flex}.results-head h2{font-size:var(--text-lg);margin:0}.results-head .eyebrow{margin-bottom:2px}.results-tools{align-items:center;gap:10px;display:flex}.results .filter-chips{margin-bottom:18px}.results-columns,.check-row-summary{grid-template-columns:24px 26px minmax(0,1fr) 128px 128px 128px 20px;align-items:center;gap:12px;display:grid}.results-columns{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--w-medium);letter-spacing:0;text-transform:none;padding:0 16px 8px}.results-columns span:nth-child(2){grid-column:2/4}.results-columns span:nth-child(n+3){grid-column:auto}.results-columns span:first-child{display:none}.zone-group{margin-top:20px}.zone-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:8px;padding:0 2px;display:flex}.zone-head h3{font-size:var(--text-md);font-weight:var(--w-semibold);margin:0}.zone-progress{color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:10px;display:inline-flex}.zone-track{border-radius:var(--radius-full);background:var(--neutral-100);width:64px;height:4px;overflow:hidden}.zone-track span{background:var(--green-600);height:100%;display:block}.check-list{border:1px solid var(--border);border-radius:var(--radius-lg);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.check-row:first-child{border-top:0}.check-row{border-top:1px solid var(--border);background:var(--surface-raised);scroll-margin-top:20px}.check-row.expanded{background:var(--surface)}.check-row-summary{width:100%;min-height:56px;color:inherit;text-align:left;background:0 0;border:0;border-radius:0;padding:10px 16px}.check-row-summary:hover{background:var(--surface-hover)}.check-row-summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.check-box{width:22px;height:22px;color:var(--text-faint);place-items:center;display:grid}.check-box.clear{color:var(--green-600)}.check-box.issue{color:var(--red-600)}.check-box.conflict{color:var(--orange-600)}.check-box.deferred{color:var(--neutral-400)}.check-box.resolved{color:var(--blue-600)}.check-index{color:var(--text-faint);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.check-title{min-width:0}.check-title strong{font-size:var(--text-md);font-weight:var(--w-semibold);flex-wrap:wrap;align-items:center;gap:4px 8px;line-height:1.35;display:flex}.check-title small{color:var(--text-muted);font-size:var(--text-sm);margin-top:2px;line-height:1.4;display:block}.check-row.outcome-needs_review .check-title small{color:var(--tone-warning-text)}.check-code{border:1px solid var(--border);border-radius:var(--radius-xs);color:var(--text-muted);background:var(--surface-raised);font-family:var(--font-mono);font-size:var(--text-xs);font-weight:var(--w-medium);padding:0 6px;line-height:18px}.variant-chip{color:#234b6b;background:var(--info-soft);font-family:var(--font-mono);font-size:var(--text-xs);font-weight:var(--w-semibold);border:1px solid #bcd3ea;border-radius:6px;padding:1px 7px}.col-verdict{min-width:0}.col-verdict .status-badge{text-overflow:ellipsis;max-width:100%;overflow:hidden}.verdict-none{color:var(--text-faint)}.col-outcome{display:none}.row-chevron{color:var(--text-faint);transition:transform .16s}.check-row.expanded .row-chevron{transform:rotate(180deg)}.check-detail{gap:20px;padding:4px 20px 24px 76px;display:grid}.check-detail>:first-child{margin-top:14px}.detail-block{gap:12px;display:grid}.detail-block-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.detail-block-head h4{color:var(--text);font-size:var(--text-sm);font-weight:var(--w-semibold);letter-spacing:0;text-transform:none;margin:0}.detail-block-head .muted{font-size:var(--text-xs)}.agreement-strip{border-radius:var(--radius-full);color:var(--tone-neutral-text);background:var(--tone-neutral-bg);font-size:var(--text-xs);font-weight:var(--w-bold);align-items:center;gap:6px;padding:4px 10px;display:inline-flex}.agreement-strip.agree-agreed{color:var(--tone-positive-text);background:var(--tone-positive-bg)}.agreement-strip.agree-conflict{color:var(--tone-danger-text);background:var(--tone-danger-bg)}.verdict-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.verdict-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);padding:14px}.verdict-card header{color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--w-medium);letter-spacing:0;text-transform:none;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.verdict-card p{color:var(--neutral-700);font-size:var(--text-sm);margin:6px 0 0;line-height:1.5}.verdict-card p.muted{color:var(--text-muted)}.verdict-card blockquote{border-left:3px solid var(--border-strong);color:var(--text);font-size:var(--text-sm);margin:8px 0 0;padding-left:10px;line-height:1.5}.verdict-card .verdict-line{color:var(--text);font-weight:var(--w-semibold)}.verdict-card .verdict-line.issue,.verdict-card .out-of-range{color:var(--tone-danger-text);font-weight:var(--w-bold)}.verdict-card .value-line{color:var(--text);font-weight:var(--w-semibold)}.verdict-card .ai-note{color:var(--neutral-600);font-style:italic}.point-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.point-list li{color:var(--neutral-700);font-size:var(--text-sm);grid-template-columns:16px 1fr;gap:6px;line-height:1.4;display:grid}.point-list li>span:first-child{font-weight:var(--w-heavy)}.point-list li.ok>span:first-child{color:var(--green-600)}.point-list li.warn>span:first-child{color:var(--amber-600)}.point-list em{color:var(--text-faint);font-size:var(--text-xs);font-style:normal;display:block}.review-panel{border-radius:var(--radius-md);background:#fffaf6;border:1px solid #f1d5c2;gap:10px;padding:16px;display:grid}.review-panel>header{color:var(--tone-warning-text);align-items:center;gap:8px;display:flex}.review-flavor{color:var(--text);font-size:var(--text-md);margin:0;line-height:1.5}.review-reasons{color:var(--neutral-600);font-size:var(--text-sm);margin:0;padding-left:20px;line-height:1.6}.review-actions{gap:10px;display:grid}.review-note{color:var(--neutral-700);font-size:var(--text-sm);gap:6px}.review-note textarea{background:#fff}.review-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.review-buttons small{color:var(--text-muted);font-size:var(--text-xs)}.review-waiting{color:var(--text-muted);font-size:var(--text-sm);margin:0}.resolution-note{border-radius:var(--radius-sm);color:#2c4a73;background:var(--blue-100);font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:5px;margin:0;padding:10px 14px;display:flex}.recheck-summary{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);gap:4px;padding:12px 14px;display:grid}.recheck-summary strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--w-semibold);letter-spacing:0;text-transform:none;align-items:center;gap:6px;display:inline-flex}.recheck-summary p{color:var(--text-muted);font-size:var(--text-sm);margin:0;line-height:1.5}.evidence-media{gap:6px;max-width:640px;display:grid}.evidence-media video,.evidence-media img{border-radius:var(--radius-md);object-fit:contain;background:#101714;width:100%;max-height:360px}.evidence-media small{color:var(--text-faint);font-size:var(--text-xs)}.frame-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.frame-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);flex-direction:column;margin:0;display:flex;overflow:hidden}.frame-card.tone-danger{border-color:#f0c4be}.frame-card.tone-warning{border-color:#f1d2b8}.frame-media{background:#101714}.frame-canvas{position:relative}.frame-canvas>img{width:100%;height:auto;display:block}.frame-missing{color:#9eb4ab;min-height:140px;font-size:var(--text-sm);place-items:center;display:grid}.frame-box-overlay{pointer-events:none;position:absolute;inset:0}.annotation-box{border:2px solid #8ff0bc;position:absolute;box-shadow:0 0 0 1px #04130cb3}.annotation-box span{color:#07140e;max-width:160px;font-size:10px;font-weight:var(--w-bold);text-overflow:ellipsis;white-space:nowrap;background:#8ff0bc;padding:2px 5px;line-height:1.2;position:absolute;bottom:calc(100% + 2px);left:-2px;overflow:hidden}.annotation-box:nth-child(3n+2){border-color:#ffd166}.annotation-box:nth-child(3n+2) span{background:#ffd166}.annotation-box:nth-child(3n+3){border-color:#72c9ff}.annotation-box:nth-child(3n+3) span{background:#72c9ff}.frame-card figcaption{gap:6px;padding:12px 14px 14px;display:grid}.frame-card figcaption header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.frame-card figcaption header strong{font-size:var(--text-sm);line-height:1.35}.frame-card figcaption p{color:var(--neutral-700);font-size:var(--text-sm);margin:0;line-height:1.5}.frame-card .frame-meta{color:var(--text-muted);font-size:var(--text-xs);flex-wrap:wrap;align-items:center;gap:5px;display:flex}.frame-card .frame-meta code{border:1px solid var(--border);font-family:var(--font-mono);font-size:var(--text-xs);border-radius:5px;padding:1px 6px}.frame-card .frame-clarity{color:var(--text-muted);font-size:var(--text-xs)}.frame-annotations{gap:6px;margin:4px 0 0;padding:0;list-style:none;display:grid}.frame-annotations li{color:var(--neutral-600);background:var(--surface);font-size:var(--text-xs);border-radius:7px;gap:2px;padding:8px 10px;line-height:1.45;display:grid}.frame-annotations strong{color:var(--text)}.frame-annotations strong span{color:var(--text-muted);font-weight:var(--w-medium)}.disclosures{gap:8px;display:grid}.disclosure{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);overflow:hidden}.disclosure>summary{cursor:pointer;color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-semibold);align-items:center;gap:8px;padding:12px 14px;list-style:none;display:flex}.disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary:before{content:"";border-right:2px solid var(--text-faint);border-bottom:2px solid var(--text-faint);width:7px;height:7px;transition:transform .14s;transform:rotate(-45deg)}.disclosure[open]>summary:before{transform:rotate(45deg)}.disclosure[open]>summary{border-bottom:1px solid var(--border)}.disclosure .count{border-radius:var(--radius-full);color:var(--text-muted);background:var(--surface-sunken);font-size:var(--text-xs);padding:1px 7px}.observation-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding:12px 14px;display:grid}.observation-grid figure{gap:6px;margin:0;display:grid}.observation-grid img{background:#101714;border-radius:8px;width:100%}.observation-grid figcaption{color:var(--text-muted);font-size:var(--text-xs);line-height:1.45}.observation-grid figcaption b{color:var(--text)}.fact-list{margin:0;padding:4px 14px 8px}.fact-list div{border-bottom:1px solid var(--neutral-100);font-size:var(--text-sm);grid-template-columns:150px minmax(0,1fr);gap:12px;padding:9px 0;display:grid}.fact-list div:last-child{border-bottom:0}.fact-list dt{color:var(--text-muted)}.fact-list dd{color:var(--text);overflow-wrap:anywhere;margin:0}.fact-list code{font-family:var(--font-mono);font-size:var(--text-xs)}.trail-group{padding:12px 14px}.trail-group+.trail-group{border-top:1px solid var(--neutral-100)}.trail-group>b{color:var(--text);font-size:var(--text-sm);font-weight:var(--w-semibold);letter-spacing:0;text-transform:none;margin-bottom:8px;display:block}.trail{gap:6px;margin:0;padding:0;list-style:none;display:grid}.trail li{border-top:1px solid var(--neutral-100);font-size:var(--text-sm);grid-template-columns:84px 120px 1fr;gap:10px;padding-top:6px;line-height:1.5;display:grid}.trail li:first-child{border-top:0;padding-top:0}.trail time{color:var(--text-faint);font-variant-numeric:tabular-nums}.trail b{color:var(--text-muted);font-weight:var(--w-semibold)}.trail li.actor-inspector b{color:var(--green-700)}.trail li.actor-live_ai b{color:var(--blue-600)}.record-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.record-video{gap:8px;display:grid}.record-video video{border-radius:var(--radius-md);background:#101714;width:100%;max-height:340px}.record-video small{color:var(--text-faint);font-size:var(--text-xs)}.record-placeholder{border:1px dashed var(--border-strong);border-radius:var(--radius-md);min-height:180px;color:var(--text-muted);font-size:var(--text-sm);text-align:center;place-items:center;gap:8px;padding:20px;display:grid}.record-side{gap:14px;display:grid}.record-side .fact-list{padding:0}.record-side .fact-list div{grid-template-columns:120px minmax(0,1fr)}.rerun-control{justify-items:start;gap:8px;display:grid}.rerun-control .ghost-button:disabled{cursor:wait}.rerun-status{border-radius:var(--radius-sm);color:#2f634e;font-size:var(--text-xs);background:#edf7f2;margin:0;padding:8px 11px}.rerun-status.error{color:#983b2c;background:#fff0ec}@media (width<=1050px){.results-columns,.check-row-summary{grid-template-columns:24px 26px minmax(0,1fr) 112px 112px 112px 20px;gap:10px}.report-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.results-columns{display:none}.check-row-summary{grid-template-columns:22px minmax(0,1fr) 20px;grid-template-areas:"box title chev"".outcome.";row-gap:8px}.check-row-summary .check-box{grid-area:box}.check-row-summary .check-index,.check-row-summary .col-verdict{display:none}.check-row-summary .check-title{grid-area:title}.check-row-summary .col-outcome{grid-area:outcome;display:block}.check-row-summary .row-chevron{grid-area:chev}.check-detail{padding:4px 16px 16px}.verdict-grid,.record-grid{grid-template-columns:1fr}}@media (width<=760px){.report-meta{grid-template-columns:1fr 1fr;padding:0}.report-meta div:nth-child(2){grid-column:1/-1}.report-section,.summary-card{padding:18px 14px}.summary-verdict h2{font-size:19px}.verdict-icon{width:38px;height:38px}.review-callout{flex-wrap:wrap}.review-callout .primary-button{width:100%}.report-banner{flex-wrap:wrap}.results-tools{width:100%}.results-tools .search-input{flex:1}.findings-grid{grid-template-columns:1fr}.fact-list div,.record-side .fact-list div{grid-template-columns:1fr;gap:3px}.trail li{grid-template-columns:70px 1fr}.trail li span{grid-column:1/-1}.zone-track{width:48px}}@media print{.app-nav,.mobile-header,.mobile-tabbar,.breadcrumb,.report-actions .ghost-button,.results-tools,.filter-chips,.outcome-stats,.review-callout .primary-button,.review-actions,.rerun-control,video{display:none!important}.app-shell{display:block}.workspace{padding:0}.report-section,.summary-card,.check-row{box-shadow:none;break-inside:avoid-page}.check-row-summary{break-after:avoid}.disclosure:not([open]){display:none}body{background:#fff}}.field{align-content:start;gap:6px;display:grid}.field>label{color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-medium)}.field-hint{color:var(--text-muted);font-size:var(--text-xs);line-height:1.45}.password-input{position:relative}.password-input input{padding-right:44px}.password-toggle{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.password-toggle:hover{color:var(--text);background:var(--surface-hover)}.inline-input{gap:8px;display:flex}.inline-input input{min-width:0;font-family:var(--font-mono);flex:1}.stack-form{gap:16px;display:grid}.alert.success{color:var(--tone-positive-text);background:var(--tone-positive-bg);border:1px solid #cfe5d8}.search-input{align-items:center;min-width:220px;display:flex;position:relative}.search-input svg{color:var(--text-faint);pointer-events:none;position:absolute;left:10px}.search-input input{min-height:34px!important;font-size:var(--text-sm)!important;padding-left:32px!important}.filter-chips{border-radius:var(--radius-md);background:var(--neutral-100);flex-wrap:wrap;gap:2px;padding:2px;display:inline-flex}.chip{border-radius:var(--radius-sm);min-height:28px;color:var(--neutral-600);font-size:var(--text-sm);font-weight:var(--w-medium);white-space:nowrap;background:0 0;border:0;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.chip span{color:var(--text-faint);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.chip:hover{color:var(--text)}.chip.active{color:var(--text);background:var(--surface-raised);box-shadow:0 1px 2px #14181614,0 0 0 1px #1418160a}.chip.active span{color:var(--text-muted)}.list-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.list-toolbar .search-input{flex:0 300px}.toggle-row{color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--w-regular);cursor:pointer;flex-direction:row;align-items:center;gap:8px;margin-left:auto;display:inline-flex!important}.result-cell{gap:5px;min-width:120px;display:grid}.mini-bar{border-radius:var(--radius-full);background:var(--neutral-100);gap:2px;width:112px;height:4px;display:flex;overflow:hidden}.mini-bar .seg{min-width:3px}.result-cell small{color:var(--text-muted);font-size:var(--text-xs);margin:0}.result-cell small.attention{color:var(--tone-danger-text);font-weight:var(--w-medium)}.open-cell{width:40px;color:var(--text-faint)}.row-open{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--text-faint);background:0 0;border:0;place-items:center;display:grid}.session-row:hover .row-open{color:var(--text)}.avatar{width:30px;height:30px;color:var(--green-700);font-size:var(--text-2xs);font-weight:var(--w-semibold);letter-spacing:.02em;background:#dcebe3;border-radius:50%;flex:none;place-items:center;text-decoration:none;display:inline-grid}.avatar.small{width:30px;height:30px}.avatar.large{width:56px;height:56px;font-size:var(--text-lg)}.role-chip{border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--w-medium);padding:1px 8px;line-height:20px;display:inline-flex}.role-admin{color:#5c3d8c;background:#f3eefa}.role-supervisor{color:var(--tone-info-text);background:var(--tone-info-bg)}.role-inspector{color:var(--tone-neutral-text);background:var(--tone-neutral-bg)}.account-card{border-radius:var(--radius-md);align-items:center;gap:4px;padding:4px;display:flex}.account-card:hover,.account-card.active{background:var(--surface-hover)}.account-link{min-width:0;color:inherit;flex:1;align-items:center;gap:10px;padding:2px 4px;text-decoration:none;display:flex}.account-text{min-width:0;display:grid}.account-text strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--w-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-text small{color:var(--text-muted);font-size:var(--text-xs)}.signout-button{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--text-faint);background:0 0;border:0;flex:none;place-items:center;display:grid}.signout-button:hover{color:var(--text);background:var(--neutral-100)}.mobile-header-end{align-items:center;gap:12px;display:flex}.auth-page{background:var(--surface);grid-template-rows:auto 1fr auto;min-height:100dvh;padding:24px;display:grid}.auth-top{justify-content:center;padding-top:6vh;display:flex}.auth-top .brand strong{font-size:var(--text-lg)}.auth-panel{place-items:start center;padding:32px 0;display:grid}.auth-card{border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface-raised);width:min(400px,100%);box-shadow:var(--shadow-pop);padding:28px}.auth-card form{gap:16px;display:grid}.auth-card-head{gap:4px;margin-bottom:4px;display:grid}.auth-card-head .eyebrow{margin:0}.auth-card-head h2{font-size:var(--text-xl);margin:0}.auth-card-head p{font-size:var(--text-sm);margin:0}.auth-footnote{color:var(--text-muted);font-size:var(--text-xs);text-align:center;margin:0}.auth-status{color:var(--text-muted);font-size:var(--text-sm);justify-content:center;align-items:center;gap:10px;padding:32px 0;display:flex}.auth-offline{text-align:center;gap:10px;display:grid}.auth-offline h2{margin:0}.auth-foot{color:var(--text-faint);font-size:var(--text-xs);text-align:center}.auth-splash{min-height:100dvh;color:var(--text-muted);font-size:var(--text-sm);justify-content:center;align-items:center;gap:10px;display:flex}.account-page{max-width:960px}.account-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:16px;display:grid}.profile-card{justify-items:start;gap:16px;display:grid}.profile-card h2{font-size:var(--text-xl);margin:0}.profile-username{color:var(--text-muted);font-size:var(--text-sm);margin:0}.profile-facts{width:100%;margin:0}.profile-facts div{border-top:1px solid var(--neutral-100);font-size:var(--text-sm);grid-template-columns:64px 1fr;gap:10px;padding:10px 0;display:grid}.profile-facts dt{color:var(--text-muted)}.profile-facts dd{color:var(--neutral-700);margin:0}.profile-note{border-radius:var(--radius-md);background:var(--surface-sunken);font-size:var(--text-xs);margin:0;padding:10px 12px;line-height:1.55}.profile-actions{flex-wrap:wrap;gap:8px;display:flex}.danger-outline{color:var(--red-600)!important}.person-cell{align-items:center;gap:12px;display:flex}.person-cell strong{align-items:center;gap:8px;display:flex}.you-chip{border-radius:var(--radius-xs);color:var(--text-muted);background:var(--surface-sunken);font-size:var(--text-2xs);font-weight:var(--w-medium);padding:0 6px;line-height:18px}.inactive-row td{opacity:.55}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px 16px}.text-button.danger-text{color:var(--red-600)}.credential-banner{border-radius:var(--radius-lg);background:var(--tone-positive-bg);border:1px solid #cfe5d8;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:14px 16px;display:flex}.credential-banner>div{gap:3px;display:grid}.credential-banner strong{color:var(--tone-positive-text);font-weight:var(--w-semibold)}.credential-banner span{color:var(--neutral-700);font-size:var(--text-sm)}.credential-banner small{color:var(--text-muted);font-size:var(--text-xs)}.credential-banner code{border-radius:var(--radius-xs);font-size:var(--text-sm);-webkit-user-select:all;user-select:all;background:#fff;border:1px solid #cfe5d8;padding:1px 6px}.user-dialog{width:min(520px,100%)}.role-picker{border:0;gap:8px;margin:0;padding:0;display:grid}.role-picker legend{color:var(--neutral-700);font-size:var(--text-sm);font-weight:var(--w-medium);margin-bottom:8px;padding:0}.role-picker label{border:1px solid var(--border-strong);border-radius:var(--radius-md);font-weight:var(--w-regular);cursor:pointer;flex-direction:row;align-items:flex-start;gap:10px;padding:11px 12px;display:flex!important}.role-picker label.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.role-picker input{margin-top:2px}.role-picker span{gap:1px;display:grid}.role-picker strong{color:var(--text);font-size:var(--text-md);font-weight:var(--w-semibold)}.role-picker small{color:var(--text-muted);font-size:var(--text-xs)}.role-picker:disabled label{cursor:not-allowed;opacity:.6}@media (width<=900px){.account-grid{grid-template-columns:1fr}}@media (width<=760px){.auth-page{padding:16px}.auth-top{padding-top:3vh}.auth-card{box-shadow:none;padding:22px 18px}.search-input{min-width:0}.list-toolbar .search-input{flex-basis:100%}.filter-chips{flex-wrap:nowrap;max-width:100%;overflow-x:auto}.toggle-row{margin-left:0}.credential-banner{flex-direction:column;align-items:stretch}.users-table th:nth-child(4),.users-table td:nth-child(4){display:none}.row-actions{justify-content:flex-start}}.developer-page{border-top:3px solid #d3e97a}.developer-bar{color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:.06em;align-items:center;gap:8px;margin-bottom:14px;display:flex}.developer-bar b{color:var(--rail-950);background:#d3e97a;border-radius:4px;padding:2px 6px}.workbench-tabs{gap:6px;margin-bottom:16px;display:flex}.workbench-tabs button{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface-raised);font-family:var(--font-mono);font-size:var(--text-2xs);font-weight:var(--w-heavy);flex:none;padding:8px 14px}.workbench-tabs button.active{color:#fff;background:var(--rail-900);border-color:var(--rail-900)}.workbench-grid{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:16px;display:grid}.workbench-controls{gap:10px;display:grid}.lab-section-label,.lab-result-bar{border-radius:var(--radius-xs);color:#fff;background:var(--rail-800);font-family:var(--font-mono);font-size:9px;font-weight:var(--w-heavy);letter-spacing:.08em;justify-content:space-between;align-items:center;padding:7px 10px;display:flex}.workbench-controls label,.simulator-setup label{font-size:var(--text-xs)}.developer-page textarea{min-height:116px;font-family:var(--font-mono);font-size:12px}.field-warning{border-radius:var(--radius-xs);color:#7a4000;font-size:var(--text-2xs);font-family:var(--font-mono);background:#ffdc80;padding:7px 9px}.save-status{border-radius:var(--radius-xs);color:#0d562f;font-size:var(--text-2xs);font-family:var(--font-mono);background:#c9f4d9;margin:0;padding:7px 9px}.llm-exchange-log{border-radius:var(--radius-xs);color:#c8ffc8;background:#111;max-height:440px;overflow:auto}.llm-exchange-log article{border-bottom:1px solid #555}.llm-exchange-log b{color:#111;font-family:var(--font-mono);background:#d3e97a;padding:4px 6px;font-size:8px;display:block}.llm-exchange-log pre{color:inherit;font:8px/1.35 var(--font-mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:6px;overflow:auto}.er-result{min-width:0}.lab-result-bar span{color:#d3e97a}.lab-image-wrap{border-radius:var(--radius-xs);background:#101714;width:100%;margin:0;position:relative;overflow:hidden}.lab-image-wrap>img{width:100%;height:auto;display:block}.lab-annotation{pointer-events:none;border:2px solid #8ff0bc;position:absolute;box-shadow:0 0 0 1px #04130cb3}.lab-annotation span{color:#07140e;max-width:180px;font-size:9px;font-weight:var(--w-heavy);text-overflow:ellipsis;white-space:nowrap;background:#8ff0bc;padding:4px 6px;line-height:1;position:absolute;bottom:calc(100% + 3px);left:-2px;overflow:hidden}.lab-annotation:nth-of-type(3n+2){border-color:#ffd166}.lab-annotation:nth-of-type(3n+2) span{background:#ffd166}.lab-annotation:nth-of-type(3n+3){border-color:#72c9ff}.lab-annotation:nth-of-type(3n+3) span{background:#72c9ff}.developer-page .empty-state{min-height:360px;font-family:var(--font-mono);font-size:var(--text-2xs);place-items:center;padding:0;display:grid}.er-summary{color:var(--neutral-700);font-size:var(--text-xs);margin:0;padding:8px 2px 0;line-height:1.5}.report-provenance{color:var(--text-muted);font-family:var(--font-mono);overflow-wrap:anywhere;margin-top:10px;font-size:9px}.annotation-results{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.annotation-results li{border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--surface-sunken);font-size:var(--text-2xs);grid-template-columns:1fr auto;gap:2px 8px;padding:8px 10px;display:grid}.annotation-results li span{color:var(--green-600);font-weight:var(--w-heavy)}.annotation-results li p{color:var(--neutral-700);font-size:var(--text-2xs);grid-column:1/-1;margin:0;line-height:1.3}.simulator-setup{gap:10px;max-width:540px;display:grid}.simulator-mode{border-radius:var(--radius-xs);color:var(--text-muted);background:var(--surface-sunken);font-family:var(--font-mono);font-size:var(--text-2xs);padding:7px 9px}.dev-sim-list{margin-top:18px}.debug-toggle-row{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;display:flex}.debug-toggle-row p{font-size:var(--text-xs);margin:0}@media (width<=760px){.workbench-grid{grid-template-columns:1fr}.developer-page{padding-bottom:calc(90px + env(safe-area-inset-bottom))}}.device-home{color:#eef1ef;background:#0b0d0c;place-items:center;min-height:100dvh;padding:24px;display:grid}.device-card{text-align:center;justify-items:center;gap:20px;width:min(640px,100%);display:grid}.device-card .brand strong{color:#eef1ef}.device-card .brand span{color:#a0a8a3}.device-eyebrow{color:#a0a8a3;font-size:var(--text-md);font-weight:var(--w-medium);margin:0}.device-card h1{color:#fff;font-size:clamp(1.6rem,5vw,2.4rem);font-weight:var(--w-semibold);margin:0}.device-id{letter-spacing:.02em;font-variant-numeric:tabular-nums;font-size:clamp(2.8rem,10vw,4.4rem)!important;font-weight:var(--w-semibold)!important}.device-status{border-radius:var(--radius-xl);text-align:left;background:#131615;border:1px solid #262b29;justify-content:center;align-items:center;gap:16px;width:auto;min-width:min(480px,100%);padding:18px 22px;display:flex}.device-status>div{gap:4px;display:grid}.device-status strong{color:#fff;font-size:clamp(1.25rem,4vw,1.65rem);font-weight:var(--w-semibold)}.device-status small{color:#f2c990;font-size:var(--text-md)}.device-status-en{color:#a0a8a3;font-size:var(--text-lg)}.device-pulse{background:var(--mint-400);border-radius:50%;flex:none;width:14px;height:14px;animation:1.6s ease-in-out infinite device-pulse}.device-status-offline .device-pulse{background:#efa865}.device-status-opening .device-pulse{background:var(--mint-300);animation-duration:.6s}.device-footnote{color:#79817c;font-size:var(--text-md);margin:0}.device-card .light-button{color:#eef1ef;background:0 0;border-color:#3a413d}@keyframes device-pulse{0%,to{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.device-pulse{animation:none}}
