html{color-scheme:light}.theme-switch{display:inline-flex;gap:3px;align-items:center;padding:4px;border:1px solid #ccd7e5;border-radius:11px;background:#eaf0f7;flex-shrink:0}.theme-switch button{background:transparent;color:#415670;min-height:34px;padding:6px 12px;font-size:12px;box-shadow:none;border-radius:7px;white-space:nowrap}.theme-switch button[aria-pressed="true"]{background:white;color:#153f7b;box-shadow:0 1px 5px #12305a18}.theme-switch button:hover{transform:none;box-shadow:none}.auth-panel-inner>.theme-switch{display:flex;width:max-content;margin:0 0 25px auto}.header-right{flex-wrap:wrap;justify-content:flex-end}
html[data-theme="dark"]{color-scheme:dark;--ink:#e3eaf5;--muted:#a4b3c8;--green:#90bbff;--line:#304059;--bg:#0d1625}
html[data-theme="dark"] body{background:#0d1625;color:#e3eaf5}
html[data-theme="dark"] a,html[data-theme="dark"] summary{color:#9dc5ff}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .card{background:#172438;border-color:#304059;box-shadow:none}
html[data-theme="dark"] .agency-brand,html[data-theme="dark"] .profile strong{color:#f1f5fc}
html[data-theme="dark"] .agency-brand img{background:white;border-radius:50%;padding:2px}
html[data-theme="dark"] .agency-brand small,html[data-theme="dark"] .sidebar>.eyebrow,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .muted,html[data-theme="dark"] .header-right,html[data-theme="dark"] footer{color:#a4b3c8}
html[data-theme="dark"] .sidebar nav a{color:#becde0}
html[data-theme="dark"] .sidebar nav a:hover,html[data-theme="dark"] .sidebar nav a.active{background:#243b5d;color:#c8deff}
html[data-theme="dark"] .sidebar nav b{background:#365178;color:#eef5ff}
html[data-theme="dark"] .balance{background:#1b3050;border-color:#355176}
html[data-theme="dark"] .balance h2{color:#acd0ff}
html[data-theme="dark"] progress,html[data-theme="dark"] progress::-webkit-progress-bar{background:#304768}
html[data-theme="dark"] progress::-webkit-progress-value{background:#83b4ff}
html[data-theme="dark"] th{background:#1d2f47;color:#b8c9e0}
html[data-theme="dark"] td{border-color:#304059}
html[data-theme="dark"] td small{color:#a4b3c8}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#101c2e;color:#eaf0fa;border-color:#4a5d79}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#9aabc2;opacity:1}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{outline-color:#8cbaff;box-shadow:0 0 0 4px #80aeff15}
html[data-theme="dark"] button,html[data-theme="dark"] .button{background:#2f68ba;color:white}
html[data-theme="dark"] .secondary{background:#23364f;color:#deebff;border-color:#4b6383}
html[data-theme="dark"] .link{background:transparent;color:#a8ccff}
html[data-theme="dark"] .danger{background:#a63240;color:white}
html[data-theme="dark"] .notice{background:#1e3552}
html[data-theme="dark"] .notification{border-color:#304059}
html[data-theme="dark"] .notification.new{background:#1c314b;border-left-color:#8cbaff}
html[data-theme="dark"] .badge{background:#344054;color:#e1e7ef}
html[data-theme="dark"] .approved,html[data-theme="dark"] .returned,html[data-theme="dark"] .success{background:#183e33;color:#a3e5c6}
html[data-theme="dark"] .pending,html[data-theme="dark"] .warning{background:#45381d;color:#f5d78e}
html[data-theme="dark"] .out{background:#233d63;color:#b9d6ff}
html[data-theme="dark"] .rejected,html[data-theme="dark"] .cancelled,html[data-theme="dark"] .error{background:#482b33;color:#ffc2c4}
html[data-theme="dark"] .auth-page{background:#101b2c}
html[data-theme="dark"] .auth-story{background:linear-gradient(145deg,#08152b,#102f5f 80%,#143e76)}
html[data-theme="dark"] .auth-panel .card{background:transparent;border:0}
html[data-theme="dark"] .auth-panel h2{color:#edf3ff}
html[data-theme="dark"] .auth-panel label{color:#d5e1f3}
html[data-theme="dark"] .auth-subtitle,html[data-theme="dark"] .auth-portal,html[data-theme="dark"] .auth-support,html[data-theme="dark"] .auth-bottom{color:#aabbd2}
html[data-theme="dark"] .auth-support{border-color:#33445f}
html[data-theme="dark"] .auth-panel input,html[data-theme="dark"] .auth-panel select{background:#17263c;border-color:#4a5d79}
html[data-theme="dark"] .auth-panel form>button{background:#2865bc;color:white}
html[data-theme="dark"] .theme-switch{background:#111d30;border-color:#405371}
html[data-theme="dark"] .theme-switch button{background:transparent;color:#b8c8df}
html[data-theme="dark"] .theme-switch button[aria-pressed="true"]{background:#314c73;color:#fff;box-shadow:none}
[data-qr]{background:#fff!important;color:#000!important}
@media(max-width:650px){.header-right{justify-content:flex-start}.auth-panel-inner>.theme-switch{margin-bottom:20px}}
@media print{html[data-theme]{color-scheme:light}html[data-theme] body,html[data-theme] .printable{background:#fff!important;color:#000!important}html[data-theme] .printable *{color:#000!important}.theme-switch{display:none!important}}
