/* Display controls are labelled and reachable without opening Settings. */
.theme-toggle { min-height: 44px; padding: 10px 13px; gap: 7px; white-space: nowrap; font-size: 14px; }
.settings-page .theme-choice { min-height: 84px; font-size: 16px; font-weight: 650; }
.settings-page .theme-choice.active { border-color: var(--accent-foreground); }
[data-theme="light"] .settings-page .theme-choice.active { color: var(--text); }
@media (max-width: 760px) {
 .topbar { gap: 8px; }
 .topbar-right .online-indicator { display: none; }
 .topbar-right .avatar { display: none; }
 .topbar-right { gap: 0; }
 .theme-toggle { padding: 9px 11px; min-width: 110px; }
 .mobile-brand { flex: 1; min-width: 0; }
 .mobile-brand .brand { min-width: 0; }
 .mobile-brand .brand-lockup { max-width: 100%; }
}
@media (max-width: 360px) {
 .topbar { padding-inline: 10px; }
 .mobile-brand .brand-lockup { width: 106px; }
 .theme-toggle { min-width: 102px; padding-inline: 8px; font-size: 13px; }
}

/* v2.1.1 — black and white surfaces, with precise brand-colour accents. */
.stat-card,.project-card,.panel,.finding-card,.report-card,
.action-focus-item,.action-row,.action-insight,.report-step {
 box-shadow: var(--card-shadow);
}
.avatar { box-shadow: inset 0 0 0 1px #3d3d3d; }
.sidebar .workspace-switch,.sidebar-note { box-shadow: inset 0 1px 0 #ffffff08; }
.sidebar-note>svg { color: var(--lime); }
.sidebar-note .btn:hover { background: #171717; color: #ffffff; border-color: var(--lime); }
.sidebar .nav-item.active { box-shadow: inset 0 0 0 1px var(--lime); }
.sidebar .nav-item.active .nav-count { color: var(--lime-ink); }
.project-card:hover,.project-new:hover { border-color: var(--lime); }
.action-focus-item.active,.layout-option.active,.layout-option:has(input:checked),
.settings-page .theme-choice.active {
 background: var(--surface);
 box-shadow: inset 0 0 0 1px var(--lime);
}
.report-options .check-row:has(input:checked) {
 background: var(--surface);
 box-shadow: inset 3px 0 0 var(--lime);
}
.badge-success { box-shadow: inset 0 0 0 1px var(--lime); }
.empty-icon { box-shadow: inset 0 0 0 1px var(--lime); }
.notice:not(.amber) { border-left: 3px solid var(--lime); }
button:focus-visible,a:focus-visible { outline-color: var(--focus-ring); }
:root[data-theme=light] .stat-card.lime .stat-value,
:root[data-theme=light] .layout-option.active,
:root[data-theme=light] .layout-option:has(input:checked) { color: var(--text); }
:root[data-theme=light] .avatar { background: #000000; color: #ffffff; }
:root[data-theme=light] .capture-choice .btn-primary { color: var(--text); }
:root[data-theme=light] .online-indicator:not(.offline) .pill-dot {
 background: var(--lime); box-shadow: 0 0 0 1px #111111;
}
