/* SAV3 neutral placeholder styles. Replaced by the EurekaGO brand playbook implementation
   (https://brand.eurekago.it, Color System doc 02): define colours as tokens here, never inline hex in views. */
:root {
    --sav3-bg: #f6f7f9;
    --sav3-surface: #ffffff;
    --sav3-ink: #1d2330;
    --sav3-muted: #6b7280;
    --sav3-line: #e2e5ea;
    --sav3-accent: #00aeef;
    --sav3-danger-bg: #fdecec;
    --sav3-danger-ink: #8a1c1c;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--sav3-bg); color: var(--sav3-ink); }
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: var(--sav3-surface); border-right: 1px solid var(--sav3-line); padding: 16px; }
.sidebar .brand { margin-bottom: 16px; }
.sidebar nav a { display: block; padding: 6px 8px; border-radius: 6px; color: var(--sav3-ink); text-decoration: none; }
.sidebar nav a.active { background: var(--sav3-bg); border-left: 3px solid var(--sav3-accent); }
.sidebar .placeholder { display: block; margin-top: 12px; color: var(--sav3-muted); font-size: 13px; }
.main { flex: 1; min-width: 0; }
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 10px 16px; background: var(--sav3-surface); border-bottom: 1px solid var(--sav3-line); }
.topbar form { margin: 0; }
.content { padding: 16px; }
.card { background: var(--sav3-surface); border: 1px solid var(--sav3-line); border-radius: 8px; padding: 16px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--sav3-line); }
.alert { background: var(--sav3-danger-bg); color: var(--sav3-danger-ink); padding: 8px 12px; border-radius: 6px; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; }
.login-box { width: 100%; max-width: 360px; background: var(--sav3-surface); border: 1px solid var(--sav3-line); border-radius: 8px; padding: 24px; }
.login-box label { display: block; margin-top: 12px; }
.login-box input { width: 100%; padding: 8px; border: 1px solid var(--sav3-line); border-radius: 6px; font: inherit; }
button { margin-top: 16px; padding: 8px 14px; border: 0; border-radius: 6px; background: var(--sav3-ink); color: #fff; font: inherit; cursor: pointer; }
.topbar button { margin-top: 0; }
@media (max-width: 700px) { .shell { flex-direction: column; } .sidebar { width: auto; border-right: 0; border-bottom: 1px solid var(--sav3-line); } }
