.login-page{align-items:center;display:flex;height:100vh;justify-content:center;padding:var(--space-5)}.login-card{max-width:560px;width:100%}.login-error,.site-alarm-summary{color:var(--danger)}.collect-line{align-items:center;display:flex;gap:var(--space-3)}.page-header{align-items:flex-start;display:flex;gap:var(--space-6);justify-content:space-between}.page-header h1,.onboarding-header h1{overflow-wrap:anywhere}.page-header h1{margin-top:var(--space-1)}.page-summary{color:var(--text-muted);margin:var(--space-2) 0 0;max-width:var(--measure);overflow-wrap:anywhere}.breadcrumbs{color:var(--text-muted);font-size:var(--text-meta);margin-bottom:var(--space-2);overflow-wrap:anywhere}.section-header{align-items:flex-start;display:flex;gap:var(--space-5);justify-content:space-between;margin-bottom:var(--space-4)}.section-header p{margin:var(--space-1) 0 0}.eyebrow{color:var(--text-muted);font-size:var(--text-meta);font-weight:600;letter-spacing:.08em;text-transform:uppercase}.portfolio-summary{display:grid;gap:var(--space-4);grid-template-columns:repeat(4,minmax(0,1fr))}.portfolio-stat{background:var(--panel-bg);border:0;border-radius:var(--radius-m);color:var(--text);cursor:pointer;min-height:132px;padding:var(--space-5);text-align:left}.portfolio-stat:hover{background:var(--card-bg)}.portfolio-stat.selected{background:var(--card-hover)}.portfolio-stat-value{display:block;font-size:var(--text-stat);font-weight:600;line-height:1}.portfolio-stat-value.danger{color:var(--danger)}.portfolio-stat-value.warning{color:var(--warning)}.portfolio-stat-value.good{color:var(--good)}.portfolio-stat-label{display:block;font-weight:600;margin:var(--space-2) 0 var(--space-1)}.portfolio-panel{padding:var(--space-6)}.portfolio-toolbar{display:grid;gap:var(--space-4);grid-template-columns:minmax(320px,1.6fr) repeat(3,minmax(220px,1fr));margin-bottom:var(--space-5)}.portfolio-table{display:grid;gap:2px}.portfolio-head,.portfolio-row{align-items:center;display:grid;gap:var(--space-4);grid-template-columns:minmax(200px,1.7fr) minmax(150px,1fr) minmax(150px,.8fr) minmax(150px,.9fr) minmax(200px,1.5fr) 96px 24px}.portfolio-head{color:var(--text-muted);font-size:var(--text-meta);font-weight:600;padding:var(--space-2) var(--space-4)}.portfolio-row{background:var(--card-bg);border-radius:var(--radius-s);color:var(--text);min-height:76px;padding:var(--space-3) var(--space-4)}.portfolio-row:hover{background:var(--card-hover);text-decoration:none}.portfolio-site{display:flex;flex-direction:column;min-width:0}.portfolio-cell{min-width:0}.portfolio-status{border-radius:var(--radius-s);display:inline-flex;font-size:var(--text-meta);font-weight:600;padding:var(--space-1) var(--space-3)}.danger-status{background:var(--danger-tint);color:var(--danger)}.warning-status{background:var(--warning-tint);color:var(--warning)}.good-status{background:var(--good-tint);color:var(--good)}.muted-status{background:var(--muted-bg);color:var(--text-muted)}.source-marks{display:flex;flex-wrap:wrap;gap:var(--space-2)}.source-mark{align-items:center;border-radius:var(--radius-s);display:inline-flex;font-size:var(--text-meta);font-weight:600;justify-content:center;min-height:34px;min-width:42px;padding:0 var(--space-2)}.source-mark.good{background:var(--good-tint);color:var(--good)}.source-mark.warning{background:var(--warning-tint);color:var(--warning)}.source-mark.danger{background:var(--danger-tint);color:var(--danger)}.source-mark.muted{background:var(--muted-bg);color:var(--text-muted)}.collection-result{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.portfolio-issues{font-size:var(--text-section);font-weight:600}.portfolio-issues.has-issues{color:var(--danger)}.portfolio-arrow,.site-action-arrow{color:var(--accent);font-size:var(--text-section);font-weight:600}.site-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);justify-content:flex-end}.site-workspace,.metric-workspace{align-items:start;display:grid;gap:var(--space-5);grid-template-columns:minmax(0,1fr) 480px}.site-side-column,.metric-side{display:flex;flex-direction:column;gap:var(--space-5);position:sticky;top:40px}.event-toolbar{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(220px,320px));margin-bottom:var(--space-5)}.site-action-list{display:flex;flex-direction:column;gap:var(--space-2)}.site-action-row{align-items:center;background:var(--card-bg);border-radius:var(--radius-s);color:var(--text);display:grid;gap:var(--space-3);grid-template-columns:minmax(0,1fr) auto 20px;min-height:64px;padding:var(--space-3) var(--space-4)}.site-action-row:hover{background:var(--card-hover);text-decoration:none}.site-action-main{display:flex;flex-direction:column;min-width:0}.site-action-value{font-size:var(--text-emphasis);font-weight:600}.event-detail-texts{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(520px,1fr));margin-top:var(--space-4)}.event-detail-columns{align-items:start;display:grid;gap:var(--space-5);grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.check-list{display:flex;flex-direction:column;gap:2px}.check-row{align-items:center;background:var(--card-bg);border-radius:var(--radius-s);display:grid;gap:var(--space-4);grid-template-columns:minmax(0,1fr) auto;min-height:56px;padding:var(--space-2) var(--space-4)}.check-name{overflow-wrap:anywhere}.check-value{font-size:var(--text-emphasis);font-weight:600}.event-detail-summary{background:var(--panel-bg);border-radius:var(--radius-m);padding:var(--space-5)}.event-detail-threshold{font-size:var(--text-emphasis);margin:0}.event-detail-page .chart{margin-bottom:var(--space-4)}.history{max-height:480px;overflow-y:auto}.metric-table tbody tr{height:56px}.metric-table tbody tr:hover{background:var(--card-hover)}.metric-spark{width:240px}.tiles{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),420px));justify-content:start}.tile{background:var(--card-bg);border-radius:var(--radius-m);padding:var(--space-5)}.tile-label{color:var(--text-muted);font-size:var(--text-meta)}.evidence-source{min-width:349px;white-space:nowrap}.settings-notes{margin:0;overflow:auto;white-space:pre-wrap}.site-form-grid,.site-review-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:1500px){.event-detail-columns{grid-template-columns:minmax(0,1fr)}.portfolio-summary,.portfolio-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-head{display:none}.portfolio-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:var(--space-4)}.portfolio-site{grid-column:1 / -1}.portfolio-cell,.portfolio-issues{display:grid;gap:var(--space-2);grid-template-columns:150px minmax(0,1fr)}.portfolio-cell:before,.portfolio-issues:before{color:var(--text-muted);content:attr(data-label);font-size:var(--text-meta);font-weight:600}.portfolio-arrow{grid-column:2;justify-self:end}.site-workspace,.metric-workspace{grid-template-columns:minmax(0,1fr)}.site-side-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:static}.metric-side{position:static}}@media(max-width:1200px){.evidence-source{min-width:0;overflow-wrap:anywhere;white-space:normal}}@media(max-width:900px){.page-header{flex-direction:column}.site-actions{justify-content:flex-start}.site-side-column{display:flex}}@media(max-width:720px){.page-header>.button,.site-actions,.site-actions .button,.site-actions .collect-line,.site-actions .collect-line .button{width:100%}.portfolio-summary,.portfolio-toolbar,.event-toolbar,.site-form-grid,.site-review-grid{grid-template-columns:1fr}.portfolio-panel{padding:var(--space-4)}.portfolio-row{grid-template-columns:1fr}.portfolio-cell,.portfolio-issues{grid-template-columns:1fr;gap:var(--space-1)}.portfolio-arrow{grid-column:1;justify-self:start}.site-events-head{flex-direction:column}.metric-spark{width:160px}.page-form{align-items:stretch;flex-direction:column}}.stat-row{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.stat-tile{background:var(--panel-bg);border:0;border-radius:var(--radius-m);color:var(--text);min-height:132px;padding:var(--space-5)}.stat-tile:hover{background:var(--card-bg);text-decoration:none}.stat-tile-alarm{background:var(--danger-tint)}.stat-tile-quiet{background:var(--good-tint)}.stat-tile-stale{background:var(--warning-tint)}.stat-state-word{font-size:var(--text-section);font-weight:600}.stat-state-word.alarm{color:var(--danger)}.stat-state-word.quiet{color:var(--good)}.stat-state-word.stale{color:var(--warning)}.stat-value{font-size:var(--text-stat);font-weight:600;line-height:1.15}.stat-value.alarm{color:var(--danger)}.stat-value.quiet{color:var(--good)}.stat-delta{font-size:var(--text-body)}.stat-delta.good{color:var(--good)}.stat-delta.alarm{color:var(--danger)}.stat-label{color:var(--text-muted);font-size:var(--text-meta)}.event-list{display:flex;flex-direction:column;gap:var(--space-2)}.event-row{align-items:center;background:var(--card-bg);border:0;border-left:5px solid var(--info);border-radius:var(--radius-s);color:var(--text);cursor:pointer;display:grid;font:inherit;gap:var(--space-4);grid-template-columns:240px minmax(280px,1fr) auto 180px 20px;min-height:88px;padding:var(--space-4) var(--space-5);text-align:left;width:100%}.event-row:hover{background:var(--card-hover);text-decoration:none}.event-row-alarm{background:var(--danger-tint);border-left-color:var(--danger)}.event-row-thin{border-left-color:var(--warning)}.event-row-quiet{border-left-color:var(--good)}.event-context{display:flex;flex-direction:column;min-width:0}.event-project{color:var(--text);font-family:var(--font-mono);font-size:var(--text-meta);font-weight:600;overflow-wrap:anywhere}.event-source{color:var(--text-muted);font-size:var(--text-meta);overflow-wrap:anywhere}.event-what{font-size:var(--text-emphasis);font-weight:600}.event-when{color:var(--text-muted);font-size:var(--text-meta);text-align:right}.event-arrow{color:var(--accent);font-size:var(--text-section)}.quiet-block{color:var(--text-muted);font-size:var(--text-emphasis);padding:var(--space-4) 0}.quiet-link{background:var(--muted-bg);border-radius:var(--radius-s);color:var(--text);display:block;padding:var(--space-4)}.quiet-link:hover{background:var(--card-hover);text-decoration:none}@media(max-width:1500px){.event-row{grid-template-columns:1fr auto}.event-context,.event-what{grid-column:1 / -1}.event-when{grid-column:1;text-align:left}.event-arrow{grid-column:2;grid-row:3}}@media(max-width:560px){.stat-row{grid-template-columns:1fr}.event-row{padding:var(--space-4)}.event-row .badge{justify-self:start}}.onboarding-workspace{align-items:start;display:grid;gap:var(--space-5);grid-template-columns:minmax(0,1fr) 480px}.onboarding-side{display:flex;flex-direction:column;gap:var(--space-5);position:sticky;top:40px}.onboarding-page .site-form-grid{grid-template-columns:repeat(auto-fit,minmax(280px,420px))}.onboarding-header{align-items:flex-start}.onboarding-fields{margin-top:var(--space-5)}.onboarding-note,.onboarding-status{background:var(--muted-bg);color:var(--text-muted);font-size:var(--text-body);line-height:1.45;margin-top:var(--space-4);padding:var(--space-3) var(--space-4)}.onboarding-actions{display:flex;gap:var(--space-3);justify-content:flex-end;margin-top:var(--space-5)}.onboarding-actions-split{justify-content:space-between}.onboarding-back{display:flex;justify-content:flex-start}.field-error{color:var(--danger);font-size:var(--text-meta);margin-top:var(--space-2)}.onboarding-success{color:var(--good);font-size:var(--text-body)}.status-muted{color:var(--text-muted)}.wizard-steps{display:flex;flex-wrap:wrap;gap:var(--space-3)}.wizard-step{align-items:center;flex:0 0 auto;background:var(--card-bg);border:0;border-radius:var(--radius-m);color:var(--text);cursor:pointer;display:flex;font:inherit;font-size:var(--text-body);gap:var(--space-3);min-height:72px;padding:var(--space-4) var(--space-5);text-align:left}.wizard-step:hover:not(:disabled){background:var(--card-hover)}.wizard-step.active{background:var(--accent);color:var(--on-signal);font-weight:600}.wizard-step:disabled{color:var(--text-muted);cursor:default}.wizard-step-num{align-items:center;background:var(--muted-bg);border-radius:50%;display:inline-flex;flex:none;font-weight:600;height:32px;justify-content:center;width:32px}.wizard-step.active .wizard-step-num{background:var(--on-signal);color:var(--accent)}.source-status-list,.settings-form-stack{display:flex;flex-direction:column;gap:var(--space-4)}.source-status-row{align-items:center;display:grid;gap:var(--space-4);grid-template-columns:minmax(220px,1fr) auto minmax(260px,1.5fr);padding-top:var(--space-4)}.source-status-row:first-child{padding-top:0}.source-status-detail{min-width:0}.settings-source-form{padding-top:var(--space-5)}.settings-source-form h2{font-size:var(--text-emphasis)}.settings-source-form .site-form-grid{margin-top:var(--space-5)}.catalog{margin-top:var(--space-4)}.catalog-hint{margin-top:var(--space-2)}.catalog-group{margin-top:var(--space-4)}.catalog-table{display:grid;gap:2px}.catalog-head,.catalog-row{align-items:center;display:grid;gap:var(--space-4);grid-template-columns:1.6fr 1.1fr 1.1fr 1.5fr 1.2fr}.catalog-head{color:var(--text-muted);font-size:var(--text-meta);font-weight:600;padding:var(--space-2) var(--space-4)}.catalog-row{background:var(--card-bg);border-radius:var(--radius-s);min-height:76px;padding:var(--space-3) var(--space-4)}.catalog-row:hover{background:var(--card-hover)}.catalog-cell{display:flex;flex-direction:column;min-width:0}.catalog-domain{font-size:var(--text-emphasis);overflow-wrap:anywhere}.catalog-value{font-weight:600}.catalog-note{overflow-wrap:anywhere}.catalog-empty .catalog-value,.catalog-empty .catalog-note{color:var(--text-muted);font-weight:400}.catalog-action{align-items:stretch}@media(max-width:1200px){.catalog-head{display:none}.catalog-row{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-cell:first-child,.catalog-action{grid-column:1 / -1}.catalog-cell[data-label]:before{color:var(--text-muted);content:attr(data-label);font-size:var(--text-meta)}}@media(max-width:720px){.catalog-row{grid-template-columns:1fr}}.catalog-list{max-height:320px;overflow-y:auto}button.site-action-row{border:0;cursor:pointer;font:inherit;text-align:left;width:100%}.danger-button{background:var(--danger);border-color:var(--danger);color:var(--on-signal);font-weight:600}.danger-button:hover:not(:disabled){background:#ff8a7f}.onboarding-side .source-status-row{grid-template-columns:minmax(0,1fr) auto}.onboarding-side .source-status-detail{grid-column:1 / -1}@media(max-width:1500px){.onboarding-workspace{grid-template-columns:minmax(0,1fr)}.onboarding-side{position:static}}@media(max-width:1200px){.source-status-row{grid-template-columns:minmax(180px,1fr) auto}.source-status-detail{grid-column:1 / -1}}@media(max-width:720px){.onboarding-header{align-items:stretch;flex-direction:column}.wizard-step{flex:1 1 100%}.onboarding-header>.button,.onboarding-header>a{align-self:flex-start}.source-status-row{align-items:flex-start;grid-template-columns:1fr auto}.source-status-detail{grid-column:1 / -1}.settings-source-form .row-between{align-items:flex-start;flex-direction:column}.onboarding-actions-split{align-items:stretch;flex-direction:column-reverse}.onboarding-actions-split .button{width:100%}}.chart{display:block;width:100%}.chart-line{fill:none;stroke:var(--accent);stroke-width:2}.chart-line-gap{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:4 4}.chart-marker{fill:var(--accent)}.chart-grid{stroke:var(--border);stroke-width:1}.chart-axis-text{fill:var(--text-muted);font-size:var(--text-body)}.chart-guide{stroke:var(--text-muted);stroke-width:1;stroke-dasharray:3 3}.chart-readout{color:var(--text);min-height:24px}.chart-last-label{fill:var(--text);font-size:var(--text-body);font-weight:600}.verdict-card{display:flex;flex-direction:column;gap:var(--space-2)}.verdict-head{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.verdict-rule{color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-meta)}.verdict-what{font-size:var(--text-emphasis);font-weight:600;line-height:1.25}.verdict-threshold{color:var(--text)}.evidence{display:flex;flex-direction:column;gap:var(--space-3)}.evidence-checks{color:var(--text-muted);font-size:var(--text-meta);padding:var(--space-2) 0}.evidence-unknown{padding:var(--space-2) 0}.evidence-unknown-title{color:var(--text-muted);margin-bottom:var(--space-1)}.clean-row{display:flex;gap:var(--space-3);align-items:baseline;padding:var(--space-2) 0;width:100%;background:none;border:none;color:inherit;font:inherit;cursor:pointer;text-align:left}.clean-row:hover{background:var(--card-hover)}.clean-list+.clean-list{margin-top:var(--space-2)}.evidence-extra{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-1)}.evidence-extra a{overflow-wrap:anywhere}:root{--page-bg: #0a0c10;--panel-bg: #171c25;--card-bg: #232b38;--card-hover: #2f3a4b;--muted-bg: #2b3342;--border: #6b7689;--text: #eef2f7;--text-muted: #a9b4c6;--on-signal: #0a0c10;--accent: #79b0ff;--danger: #ff6b5e;--good: #46d68c;--warning: #ffb224;--info: #97a7bf;--danger-tint: #38130f;--good-tint: #0e2b1c;--warning-tint: #33230a;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--space-7: 48px;--space-8: 64px;--radius-s: 8px;--radius-m: 12px;--font-ui: system-ui, "Segoe UI", Roboto, Arial, sans-serif;--font-mono: Consolas, "Cascadia Mono", monospace;--text-meta: 16px;--text-body: 18px;--text-emphasis: 22px;--text-section: 24px;--text-title: 30px;--text-number: 44px;--text-stat: 56px;--sidebar: 260px;--measure: 900px}*,*:before,*:after{box-sizing:border-box}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}html,body,#root{height:100%}body{margin:0;background:var(--page-bg);color:var(--text);font-family:var(--font-ui);font-size:var(--text-body);line-height:1.45}h1,h2,h3{margin:0;font-weight:600;line-height:1.25}h1{font-size:var(--text-title)}h2{font-size:var(--text-section)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.num{font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono)}.muted{color:var(--text-muted)}.meta{font-size:var(--text-meta);color:var(--text-muted)}.emphasis{font-size:var(--text-emphasis);font-weight:600;line-height:1.25}.section-title{font-size:var(--text-section);font-weight:600}.number{font-size:var(--text-number);font-weight:600;line-height:1.25}.measure{max-width:var(--measure)}.row{display:flex;align-items:center;gap:var(--space-4)}.row-between{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4)}.stack{display:flex;flex-direction:column;gap:var(--space-5)}.stack-tight{display:flex;flex-direction:column;gap:var(--space-2)}.wrap{flex-wrap:wrap}.grow{flex:1 1 auto;min-width:0}.ellipsis{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:var(--space-3) var(--space-4)}th{color:var(--text-muted);font-size:var(--text-meta);font-weight:500}tbody tr{background:var(--card-bg)}tbody tr+tr{box-shadow:inset 0 2px var(--panel-bg)}.interactive-row{cursor:pointer}.interactive-row:hover{background:var(--card-hover)}input,select{background:var(--card-bg);border:0;border-radius:var(--radius-s);color:var(--text);font:inherit;height:52px;padding:var(--space-2) var(--space-4);width:100%}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px var(--page-bg) inset;caret-color:var(--text)}label{color:var(--text-muted);display:block;font-size:var(--text-meta);margin-bottom:var(--space-1)}@media(max-width:720px){.responsive-table,.responsive-table tbody,.responsive-table tr,.responsive-table td{display:block;width:100%}.responsive-table thead{display:none}.responsive-table tr{border-radius:var(--radius-s);margin-bottom:var(--space-2);padding:var(--space-3)}.responsive-table td{display:grid;gap:var(--space-2);grid-template-columns:minmax(112px,36%) minmax(0,1fr);overflow-wrap:anywhere;padding:var(--space-2)}.responsive-table td:before{color:var(--text-muted);content:attr(data-label);font-size:var(--text-meta);font-weight:600}}.button{align-items:center;border:1px solid transparent;border-radius:var(--radius-s);cursor:pointer;display:inline-flex;font:inherit;font-size:var(--text-body);height:48px;justify-content:center;padding:0 var(--space-5);text-decoration:none}.button-primary{background:var(--accent);border-color:var(--accent);color:var(--on-signal);font-weight:600}.button-primary:hover:not(:disabled){background:#9cc4ff}.button-primary:disabled{background:var(--muted-bg);border-color:var(--border);color:var(--text-muted);cursor:default}.button-secondary{background:var(--card-bg);border-color:transparent;color:var(--text)}.button-secondary:hover:not(:disabled){background:var(--card-hover)}.button-secondary.selected{background:var(--accent);border-color:transparent;color:var(--on-signal);font-weight:600}.button-tertiary{background:transparent;color:var(--text-muted);padding:0 var(--space-3)}.button-tertiary:hover{color:var(--text)}.back-button{align-items:center;background:none;border:0;color:var(--accent);cursor:pointer;display:inline-flex;font:inherit;font-size:var(--text-body);gap:var(--space-2);margin-bottom:var(--space-1);min-height:44px;padding:0}.back-button:hover{text-decoration:underline}.panel{background:var(--panel-bg);border:0;border-radius:var(--radius-m);padding:var(--space-5)}.panel-danger{background:var(--danger-tint)}.panel-head{margin-bottom:var(--space-4)}.card{background:var(--card-bg);border:0;border-radius:var(--radius-m);padding:var(--space-5)}.badge{border-radius:var(--radius-s);display:inline-block;font-size:var(--text-meta);font-weight:600;padding:var(--space-1) var(--space-3);white-space:nowrap}.badge-danger{background:var(--danger);color:var(--on-signal)}.badge-good{background:var(--good);color:var(--on-signal)}.badge-warning{background:var(--warning);color:var(--on-signal)}.badge-info{background:var(--info);color:var(--on-signal)}.badge-muted{background:var(--muted-bg);color:var(--text)}.dot{border-radius:50%;display:inline-block;height:10px;width:10px;flex:none}.dot-good{background:var(--good)}.dot-danger{background:var(--danger)}.dot-warning{background:var(--warning)}.dot-muted{background:var(--info)}.collapse-head{background:none;border:none;color:var(--accent);cursor:pointer;display:flex;align-items:center;gap:var(--space-3);font:inherit;font-size:var(--text-body);padding:var(--space-2) 0}.collapse-head:hover{text-decoration:underline}.collapse-arrow{transition:transform .12s linear}.collapse-arrow.open{transform:rotate(90deg)}.collapse-body{padding-top:var(--space-3)}.empty{color:var(--text-muted);padding:var(--space-4) 0}.shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100%}.mobile-header,.sidebar-backdrop,.sidebar-close{display:none}.sidebar{background:var(--panel-bg);border-right:0;display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-5) 0;position:sticky;top:0;height:100vh;min-width:0}.sidebar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding:0 var(--space-5) var(--space-4)}.sidebar-brand{color:var(--text);font-size:var(--text-emphasis);font-weight:600;min-width:0}.sidebar-link{align-items:center;border-left:4px solid transparent;color:var(--text);display:flex;gap:var(--space-3);height:48px;padding:0 var(--space-5)}.sidebar-link:hover{background:var(--card-bg);text-decoration:none}.sidebar-link.active{background:var(--card-bg);border-left-color:var(--accent);font-weight:600}.sidebar-count{background:var(--muted-bg);border:0;border-radius:var(--radius-s);margin-left:auto;min-width:36px;padding:var(--space-1) var(--space-2);text-align:center}.sidebar-group{color:var(--text-muted);font-size:var(--text-meta);padding:var(--space-4) var(--space-5) var(--space-1)}.sidebar-projects{min-height:0;overflow-y:auto}.sidebar-foot{margin-top:auto;padding:var(--space-4) var(--space-5) 0}.field{padding:40px var(--space-7) var(--space-8)}@media(max-width:900px){.shell{display:block}.mobile-header{align-items:center;background:var(--panel-bg);border-bottom:0;display:flex;height:64px;justify-content:space-between;padding:var(--space-2) var(--space-4);position:sticky;top:0;z-index:20}.mobile-brand{color:var(--text);font-size:var(--text-emphasis);font-weight:600}.mobile-brand:hover{text-decoration:none}.mobile-menu-button,.mobile-add,.sidebar-close{align-items:center;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-s);color:var(--text);cursor:pointer;display:inline-flex;height:48px;justify-content:center;padding:0;width:48px}.mobile-add{font-size:var(--text-section);font-weight:600}.mobile-add:hover{background:var(--card-hover);text-decoration:none}.mobile-menu-button{flex-direction:column;gap:5px}.mobile-menu-button span{background:var(--text);display:block;height:2px;width:22px}.sidebar-backdrop{background:var(--page-bg);border:0;cursor:pointer;display:block;inset:0;padding:0;position:fixed;z-index:30}.sidebar{display:none;height:100vh;inset:0 auto 0 0;max-height:none;position:fixed;width:min(380px,calc(100vw - 32px));z-index:40}.sidebar.mobile-open{display:flex}.sidebar-close{flex:none}.sidebar-foot{padding-bottom:var(--space-4)}.field{padding:var(--space-4) var(--space-4) var(--space-6)}}
