/* Screen-only theme keeps exported and printed documents on white paper. */
@media screen {
html[data-theme=dark]{color-scheme:dark;--accent:#91c2ff!important;--accent-hover:#b8d9ff!important;--accent-soft:#223e60;--cyan:#66d9ef;--cyan-soft:#183e49;--navy:#0a1425;--navy-raised:#172b44;--nav-active:#244a75;--nav-text:#d3e3f7;--ink:#eef4fc;--muted:#b6c8df;--canvas:#0d1726;--white:#182638;--surface-subtle:#203249;--surface-selected:#29496c;--surface-soft:#203249;--line:#526c89;--line-strong:#94bfff;--divider:#405772;--success:#77dfbc;--success-soft:#173e34;--danger:#ff9caf;--activity-border:#526c89;--border:#526c89;--primary:#91c2ff}
html[data-theme=dark] .inbox-workspace{--accent-soft:#223e60;--surface-subtle:#203249;--surface-selected:#29496c;--muted:#b6c8df;--line:#526c89;--line-strong:#94bfff;--divider:#405772}
html[data-theme=dark] :is(button,input,select,textarea,dialog,.panel,.stat,.table-wrap,.lead-card,.calendar,.chat-list,.chat-thread,.chat-info,.modal-header,.history-tools,.wa-compact,.connection-details,.chat-header,.day-divider,.composer,.compose-row,.chat-menu-popover,.contact-actions,.inbox-statusbar,.profile-photo-viewer,.attend-contact,.daily-activity,.campaign-explainer>div){background-color:var(--white);color:var(--ink)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#aec0d6;opacity:1}
html[data-theme=dark] :is(button:hover,button.quiet:hover){background-color:var(--surface-selected)}
html[data-theme=dark] :is(button.quiet,.tabs button,.chat-contact){background-color:transparent}
html[data-theme=dark] :is(button.primary,.contact-dispatch-button,.inbox-unread,.agenda-shell .calendar-cell.today .day){background:#0f64d6;border-color:#5398ed;color:#fff}
html[data-theme=dark] :is(button.primary:hover,.contact-dispatch-button:hover){background:#084faf;color:#fff}
html[data-theme=dark] .sidebar button{background:transparent;color:var(--nav-text)}
html[data-theme=dark] .sidebar :is(button.active,button:hover){background:var(--nav-active);color:#fff}
html[data-theme=dark] .sidebar .brand strong{color:#fff}
html[data-theme=dark] .sidebar select{background:var(--navy-raised);color:#fff}
html[data-theme=dark] .inbox-workspace .timeline{background:#101d2c}
html[data-theme=dark] .inbox-workspace :is(.chat-contact.active,.chat-contact-row.active){background:var(--accent-soft)}
html[data-theme=dark] .inbox-workspace .inbox-forecast{background:#203a56;border-color:#6384a7}
html[data-theme=dark] .inbox-workspace .event.note,html[data-theme=dark] .inbox-workspace .event.call{background:#233d42;color:#eef4fc;border-color:#639caa}
html[data-theme=dark] .inbox-workspace .event.activity{background:#29344e;color:#eef4fc;border-color:#7892bd}
html[data-theme=dark] .inbox-workspace .event.activity .event-label{color:#c7dcff}
html[data-theme=dark] .message-quote{background:#14293f;border-color:#8bbfff;color:#e7f0fc}
html[data-theme=dark] .message-receipt{color:#b6c8df}
html[data-theme=dark] .message-receipt.read{color:#80c8ff}
html[data-theme=dark] :is(.message-indicators .message-indicator,.column-head .count){background:#203c5c;color:#d1e6ff;border-color:#6991be}
html[data-theme=dark] .message-indicators .message-indicator.campaign{background:#3d2c55;color:#e6ccff;border-color:#9a7dbb}
html[data-theme=dark] :is(.chip.amber,.callout.warning,.offline-bar,.demo-strip,.message-indicators .message-indicator.attention,.campaign-status.status-paused,.campaign-status.status-uncertain,.campaign-status.status-failed){background:#493b20;color:#ffe2a0;border-color:#a68b54}
html[data-theme=dark] :is(.chip.red,button.danger:hover){background:#482937;color:#ffb9c6}
html[data-theme=dark] :is(.scheduled-warning,.sync-summary.warning,.indicator-detail-state.attention){color:#ffe2a0}
html[data-theme=dark] :is(.message-indicators .message-indicator.paused,.campaign-status.status-cancelled){background:#303c4b;color:#d4dfef}
html[data-theme=dark] .indicator-count{background:#14283e;color:#fff}
html[data-theme=dark] :is(.campaign-status.status-active,.campaign-status.status-sent){background:#173e34;color:#a1efd0}
html[data-theme=dark] .inbox-marks .bi-star-fill{color:#ffce68}
html[data-theme=dark] :focus-visible{outline-color:#a4ceff}
html[data-theme=dark] *{scrollbar-color:#7088a2 #162437}
html[data-theme=dark] .document{color-scheme:light;--ink:#102f57;--muted:#456587;--white:#fff;--surface-subtle:#f5f9ff;--accent:#0f64d6;--line:#b5cde7;--divider:#c6d9ec;--canvas:#edf4fc;--accent-soft:#e3f0ff;color:#102f57;background:#fff}
html[data-theme=dark] .document :is(button,input,select,textarea,.table-wrap){background:#fff;color:#102f57}
html[data-theme=dark] .document button.primary{background:#0f64d6;color:#fff}
}
