.topbar{flex-direction:row;align-items:center;gap:12px;min-height:68px}.brand{flex:1;font-size:14px;line-height:1.8}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:42px;min-height:42px;padding:8px 12px;border:1px solid #ffffff35;background:#ffffff15;border-radius:12px;color:inherit;font:inherit;cursor:pointer}.icon-button:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #b5bcff;outline-offset:3px}.nav{position:fixed;inset:0 0 0 auto;width:min(330px,88vw);height:100dvh;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:8px;padding:22px 16px;overflow-y:auto;background:#fff;color:#34495e;box-shadow:-18px 0 70px #0003;transform:translateX(110%);transition:transform .22s ease;z-index:40}.nav a,.nav .link-button{display:block;width:100%;text-align:right;padding:13px 16px;color:inherit;background:#f0f3fa;border-radius:12px;font:inherit}.nav a:hover,.nav .link-button:hover{background:#e2e7fa;color:#4f46b3}.nav>span{padding:16px;color:var(--muted);font-size:12px}.nav form{margin:0}.menu-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.menu-heading .icon-button{background:#edf0f8}.menu-backdrop{position:fixed;inset:0;border:0;background:#0b122480;backdrop-filter:blur(3px);z-index:9}.menu-backdrop[hidden]{display:none}.menu-open{overflow:hidden}.menu-open .nav{transform:translateX(0)}.topbar{z-index:30}.menu-open .topbar{position:sticky}.page{min-height:70vh}
[data-theme=dark]{color-scheme:dark;--p:#a2adff;--pd:#6657b0;--navy:#e5eaf6;--text:#d8e0ee;--muted:#9eaec4;--border:#334156;--soft:#202d40;--ok:#55d3a0;--bad:#ed827e;--warn:#f5c46c}
[data-theme=dark] body{background:#101827;color:var(--text)}[data-theme=dark] .topbar{background:linear-gradient(120deg,#243254,#342849);box-shadow:0 4px 24px #0004}
[data-theme=dark] .card,[data-theme=dark] .stat,[data-theme=dark] .chart-box,[data-theme=dark] .login-card,[data-theme=dark] .request-card,[data-theme=dark] table,[data-theme=dark] .nav{background:#192538;color:var(--text);border-color:var(--border)}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#111d2e;color:#e4eaf4;border-color:var(--border)}
[data-theme=dark] th,[data-theme=dark] .btn-light,[data-theme=dark] .badge,[data-theme=dark] .kanban-column,[data-theme=dark] .nav a,[data-theme=dark] .nav .link-button,[data-theme=dark] .menu-heading .icon-button{background:#27364d;color:#e0e7f6}
[data-theme=dark] .nav a:hover,[data-theme=dark] .nav .link-button:hover{background:#354869}
[data-theme=dark] .notice{background:#352e22;border-color:#6b5632;color:#f0d9ac}
[data-theme=dark] .btn-primary{background:#697ad6;color:#fff}[data-theme=dark] .btn-success{background:#237659;color:#fff}[data-theme=dark] .btn-danger{background:#a34246;color:#fff}
[data-theme=dark] .flash.success,[data-theme=dark] .badge.closed{background:#193d34;color:#9ae4c3;border-color:#285e4d}
[data-theme=dark] .flash.error,[data-theme=dark] .badge.urgent,[data-theme=dark] .badge.critical{background:#44282f;color:#ffb9b5;border-color:#70404b}
[data-theme=dark] .step-dot{border-color:#192538}[data-theme=dark] .step-line:not(.done){background:#3c4a60}
@media(max-width:520px){.topbar{padding:10px}.brand{font-size:12px}.icon-button span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.nav{transition:none}}
@media print{.menu-backdrop,.nav{display:none!important}[data-theme=dark] body,[data-theme=dark] .card,[data-theme=dark] table,[data-theme=dark] th{background:white!important;color:black!important}}
