/* Shared surfaces for every list, editor, preview and empty state. */
.toolbar,.table-tools{gap:10px}.toolbar{background:white;border-color:var(--line)}.table-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;margin:14px 0}.table-tools input{max-width:280px}.table-tools select{max-width:200px}.panel>p{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:18px;max-width:850px}.panel>button{margin:0 8px 16px 0}.panel>.table-wrap{margin-top:16px;margin-bottom:16px}.form-grid input,.form-grid select{min-height:42px}.form-grid label{line-height:1.5}.dialog-head{border-bottom:1px solid var(--line)}.category-picker,.category-options,.category-option,.ad-preview{border-color:var(--line)}.preview-placeholder,.category-summary{color:var(--muted)}.bar-track{background:#e6edf5}.bar-track progress{accent-color:#376fae}.record-facts dd{font-size:14px}#retail-error:empty{display:none}.table-wrap img{background:#f0f3f7}.header-actions{align-items:center}#theme-toggle{white-space:nowrap}.badge.inactive,.badge.archived{background:#edf0f4;color:#58677a;border-color:#d6dee8}main[aria-busy=true]{cursor:progress}.table-tools button,.toolbar button{white-space:nowrap}
html[data-theme=dark]{color-scheme:dark;color:#e2e8f0;background:#141b25;--muted:#a3b0c2;--line:#344154;--green:#739ed2}html[data-theme=dark] body{background:#141b25}html[data-theme=dark] aside{background:#142a45}html[data-theme=dark] header,html[data-theme=dark] .panel,html[data-theme=dark] .metric,html[data-theme=dark] .table-wrap,html[data-theme=dark] .record-hero,html[data-theme=dark] .record-filters,html[data-theme=dark] .toolbar,html[data-theme=dark] dialog,html[data-theme=dark] .dialog-head,html[data-theme=dark] .category-picker,html[data-theme=dark] .detail-grid,html[data-theme=dark] .message,html[data-theme=dark] .ad-preview{background:#1d2836;border-color:#344154;color:#e2e8f0}html[data-theme=dark] th{background:#253243;color:#b5c3d5}html[data-theme=dark] td,html[data-theme=dark] td:first-child{color:#e2e8f0;border-color:#344154}html[data-theme=dark] tbody tr:hover{background:#26364a}html[data-theme=dark] .panel h2,html[data-theme=dark] .metric strong,html[data-theme=dark] .record-attention strong,html[data-theme=dark] .login form h2{color:#e6edf7}html[data-theme=dark] .metric span,html[data-theme=dark] .record-facts dt,html[data-theme=dark] .record-hero p,html[data-theme=dark] .record-heading p,html[data-theme=dark] .eyebrow,html[data-theme=dark] .pager,html[data-theme=dark] .empty{color:#a3b0c2}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] .global-record-search input{background:#172230;color:#e2e8f0;border-color:#46576d}html[data-theme=dark] button{background:#29394d;color:#e2e8f0;border-color:#46576d}html[data-theme=dark] button:hover{background:#354b66}html[data-theme=dark] button.primary{background:#86b0e3;color:#10253f;border-color:#86b0e3}html[data-theme=dark] a.record-link,html[data-theme=dark] .record-back{color:#9dc6f7}html[data-theme=dark] .record-avatar{background:#304d70;color:#d8e9ff}html[data-theme=dark] .record-tabs{border-color:#46576d}html[data-theme=dark] .record-tabs a{color:#aebed2}html[data-theme=dark] .record-tabs a.active{color:#b6d6ff;border-bottom-color:#86b0e3!important}html[data-theme=dark] .record-tabs a:hover{background:#29394d}html[data-theme=dark] .record-notice{background:#233b55;color:#c4d8ef}html[data-theme=dark] .record-attention>a,html[data-theme=dark] .record-attention>p{background:#26364a!important;color:#d4dfed}html[data-theme=dark] .badge{background:#354154;color:#d4dfed;border-color:#4c5a70}html[data-theme=dark] .badge.active,html[data-theme=dark] .badge.completed,html[data-theme=dark] .badge.paid,html[data-theme=dark] .badge.sent,html[data-theme=dark] .badge.collected,html[data-theme=dark] .badge.delivered{background:#203f36;color:#9ee3bc;border-color:#3f6957}html[data-theme=dark] .badge.pending,html[data-theme=dark] .badge.open,html[data-theme=dark] .badge.scheduled{background:#423a28;color:#efd28e;border-color:#6d5d37}html[data-theme=dark] .badge.failed,html[data-theme=dark] .badge.rejected,html[data-theme=dark] .badge.suspended,html[data-theme=dark] .badge.cancelled,html[data-theme=dark] .badge.blocked,html[data-theme=dark] .error{background:#452c36;color:#f2b1bd;border-color:#754252}html[data-theme=dark] .badge.confirmed,html[data-theme=dark] .badge.preparing,html[data-theme=dark] .badge.reviewing{background:#283e5b;color:#adcdf7;border-color:#46668e}html[data-theme=dark] .category-option:hover,html[data-theme=dark] .category-option:has(input:checked){background:#2c405b}html[data-theme=dark] .category-options,html[data-theme=dark] .category-option,html[data-theme=dark] .form-actions,html[data-theme=dark] footer{border-color:#344154}html[data-theme=dark] .record-advanced{color:#b5c3d5}html[data-theme=dark] .bar-track{background:#344154}html[data-theme=dark] #nav a.active{background:#d8e8fa;color:#142a45}@media(max-width:900px){.header-actions{flex-wrap:wrap}.global-record-search{max-width:260px}header{height:auto;min-height:86px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
