/* OTTPROVIDERS Control V4.2 — Admin UX & Operations */
:root{--v42-bg:#f6f8fc;--v42-card:#fff;--v42-ink:#11213c;--v42-muted:#6f7d92;--v42-line:#e1e7f0;--v42-soft:#f1f5f9;--v42-blue:#1677ff;--v42-green:#20a86b;--v42-orange:#e59321;--v42-red:#df5362;--v42-shadow:0 10px 34px rgba(25,45,78,.055)}
html[data-admin-theme="dark"]{--v42-bg:#09111f;--v42-card:#101a2a;--v42-ink:#ecf3ff;--v42-muted:#91a0b7;--v42-line:#223149;--v42-soft:#152238;--v42-shadow:0 12px 32px rgba(0,0,0,.25)}
body.v42-admin-ready,.v42-admin-ready .app-main{background:var(--v42-bg)!important;color:var(--v42-ink)!important}.v42-admin-ready .card,.v42-admin-ready .modal-card{background:var(--v42-card)!important;border-color:var(--v42-line)!important;box-shadow:var(--v42-shadow)!important}.v42-admin-ready .page-heading h1,.v42-admin-ready .card h2,.v42-admin-ready .card h3,.v42-admin-ready table strong{color:var(--v42-ink)!important}.v42-admin-ready .page-heading p,.v42-admin-ready .card p,.v42-admin-ready .text-muted,.v42-admin-ready .subline,.v42-admin-ready table small{color:var(--v42-muted)!important}.v42-admin-ready input,.v42-admin-ready select,.v42-admin-ready textarea{background:var(--v42-card)!important;border-color:var(--v42-line)!important;color:var(--v42-ink)!important}.v42-admin-ready table thead th{background:var(--v42-soft)!important;color:var(--v42-muted)!important;border-color:var(--v42-line)!important}.v42-admin-ready table tbody td{border-color:color-mix(in srgb,var(--v42-line) 72%,transparent)!important}.v42-admin-ready table tbody tr:hover td{background:color-mix(in srgb,var(--v42-blue) 4%,var(--v42-card))!important}.v42-admin-ready .app-header{background:color-mix(in srgb,var(--v42-card) 94%,transparent)!important;border-color:var(--v42-line)!important}.v42-admin-ready .header-title strong,.v42-admin-ready .account-chip strong{color:var(--v42-ink)!important}.v42-admin-ready .app-footer{background:var(--v42-card)!important;border-color:var(--v42-line)!important;color:var(--v42-muted)!important}
.v42-admin-ready .page-heading{margin-bottom:18px}.v42-admin-ready .page-heading h1{font-size:30px;letter-spacing:-.035em}.v42-admin-ready .v2-table-card,.v42-admin-ready .v2-section-card{overflow:hidden}.v42-admin-ready .table-wrap{scrollbar-width:thin;scrollbar-color:#aeb9c8 transparent}.v42-admin-ready table{font-size:12px}.v42-admin-ready table th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.v42-admin-ready table td{padding-top:12px!important;padding-bottom:12px!important}
.v42-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.v42-head-actions{display:flex;gap:9px;flex-wrap:wrap}.v42-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.v42-kpis>a{position:relative;display:block;min-height:116px;padding:18px;background:var(--v42-card);border:1px solid var(--v42-line);border-radius:16px;box-shadow:var(--v42-shadow);color:inherit}.v42-kpis>a>i{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:color-mix(in srgb,var(--v42-blue) 10%,var(--v42-card));color:var(--v42-blue)}.v42-kpis span{display:block;margin-top:12px;font-size:10px;font-weight:800;color:var(--v42-muted)}.v42-kpis strong{display:block;margin-top:3px;font-size:25px;color:var(--v42-ink)}.v42-kpis small{display:block;margin-top:4px;font-size:9px;color:var(--v42-muted)}
.v42-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v42-queue{overflow:hidden}.v42-queue>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid var(--v42-line)}.v42-queue>header>div{display:flex;align-items:center;gap:11px}.v42-queue>header h2{margin:0 0 2px;font-size:14px}.v42-queue>header p{margin:0;font-size:10px}.v42-queue>header>a{font-size:10px;font-weight:800}.v42-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--v42-blue) 9%,var(--v42-card));color:var(--v42-blue)}.v42-queue-list{padding:5px 14px 10px}.v42-queue-list>a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 2px;border-bottom:1px solid color-mix(in srgb,var(--v42-line) 70%,transparent);color:inherit}.v42-queue-list>a:has(.v42-dot){grid-template-columns:10px minmax(0,1fr) auto}.v42-queue-list>a:last-child{border-bottom:0}.v42-queue-list strong{display:block;font-size:11px;color:var(--v42-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v42-queue-list small{display:block;margin-top:2px;font-size:9px;color:var(--v42-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v42-queue-list time,.v42-queue-list b{font-size:10px;white-space:nowrap;color:var(--v42-muted)}.v42-dot{width:7px;height:7px;border-radius:50%;background:var(--v42-blue)}.v42-dot.is-urgent{background:var(--v42-red)}.v42-dot.is-high{background:var(--v42-orange)}.v42-dot.is-low{background:#8b98aa}.v42-empty{padding:25px 8px;text-align:center;color:var(--v42-muted);font-size:10px}.v42-empty i{margin-right:6px;color:var(--v42-green)}.v42-activity{padding:5px 14px 10px}.v42-activity>div{display:grid;grid-template-columns:8px 1fr auto;gap:10px;align-items:center;padding:10px 2px;border-bottom:1px solid color-mix(in srgb,var(--v42-line) 70%,transparent)}.v42-activity>div>span{width:6px;height:6px;border-radius:50%;background:var(--v42-blue)}.v42-activity strong{display:block;font-size:10px}.v42-activity small,.v42-activity time{font-size:9px;color:var(--v42-muted)}
.v42-theme-toggle,.v42-command-button{position:relative}.v42-command-button kbd{position:absolute;right:5px;bottom:3px;font-size:6px;opacity:.65}
.v42-palette{position:fixed;inset:0;z-index:100050;display:none;align-items:flex-start;justify-content:center;padding-top:min(13vh,120px);background:rgba(4,10,20,.44);backdrop-filter:blur(8px)}.v42-palette.is-open{display:flex}.v42-palette-card{width:min(660px,calc(100vw - 28px));max-height:min(690px,76vh);overflow:hidden;background:var(--v42-card);border:1px solid var(--v42-line);border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.28)}.v42-palette-search{display:flex;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--v42-line)}.v42-palette-search>i{color:var(--v42-muted)}.v42-palette-search input{flex:1;border:0!important;background:transparent!important;box-shadow:none!important;padding:6px 0!important;font-size:15px!important}.v42-palette-search kbd{padding:3px 6px;border:1px solid var(--v42-line);border-radius:6px;color:var(--v42-muted);font-size:9px}.v42-palette-list{max-height:58vh;overflow:auto;padding:8px}.v42-command{display:grid;grid-template-columns:36px 1fr auto;gap:11px;align-items:center;width:100%;padding:10px;border:0;border-radius:11px;background:transparent;color:var(--v42-ink);text-align:left;cursor:pointer}.v42-command:hover,.v42-command.is-active{background:var(--v42-soft)}.v42-command>i{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--v42-blue) 9%,var(--v42-card));color:var(--v42-blue)}.v42-command strong{display:block;font-size:11px}.v42-command small{display:block;margin-top:2px;font-size:9px;color:var(--v42-muted)}.v42-command span{font-size:9px;color:var(--v42-muted)}
.v42-viewbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-4px 0 13px}.v42-viewbar-label{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--v42-muted)}.v42-view-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--v42-line);border-radius:999px;background:var(--v42-card);color:var(--v42-muted);font-size:9px;font-weight:700}.v42-view-pill:hover{border-color:color-mix(in srgb,var(--v42-blue) 38%,var(--v42-line));color:var(--v42-blue)}.v42-view-save{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:0;background:transparent;color:var(--v42-blue);font-size:9px;font-weight:800;cursor:pointer}
.v42-drawer{position:fixed;inset:0;z-index:100040;display:none;background:rgba(4,10,20,.28)}.v42-drawer.is-open{display:block}.v42-drawer-panel{position:absolute;top:0;right:0;width:min(430px,94vw);height:100%;padding:20px;background:var(--v42-card);border-left:1px solid var(--v42-line);box-shadow:-18px 0 55px rgba(0,0,0,.18);overflow:auto}.v42-drawer-close{position:absolute;right:16px;top:16px}.v42-drawer-head{padding:22px 40px 16px 0;border-bottom:1px solid var(--v42-line)}.v42-drawer-head small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--v42-blue);font-weight:800}.v42-drawer-head h2{margin:5px 0 3px;font-size:22px;color:var(--v42-ink)}.v42-drawer-head p{margin:0;color:var(--v42-muted);font-size:10px}.v42-drawer-data{display:grid;margin:12px 0}.v42-drawer-data>div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--v42-line)}.v42-drawer-data span{font-size:10px;color:var(--v42-muted)}.v42-drawer-data strong{font-size:10px;color:var(--v42-ink);text-align:right}.v42-drawer-actions{display:flex;gap:8px;margin-top:16px}.v42-quick-eye{margin-left:5px;width:28px;height:28px;display:inline-grid;place-items:center;border:1px solid var(--v42-line);border-radius:8px;background:var(--v42-card);color:var(--v42-muted);cursor:pointer}.v42-quick-eye:hover{color:var(--v42-blue);border-color:color-mix(in srgb,var(--v42-blue) 35%,var(--v42-line))}
html[data-admin-theme="dark"] .v29-kpi-grid article,html[data-admin-theme="dark"] .v29-mini-grid article,html[data-admin-theme="dark"] .v29-period-bar,html[data-admin-theme="dark"] .v29-search-hero,html[data-admin-theme="dark"] .v29-client-hero,html[data-admin-theme="dark"] .v29-report-kpis article{background:var(--v42-card)!important;border-color:var(--v42-line)!important}html[data-admin-theme="dark"] .v29-kpi-grid article>strong,html[data-admin-theme="dark"] .v29-mini-grid strong,html[data-admin-theme="dark"] .v29-client-main h1{color:var(--v42-ink)!important}html[data-admin-theme="dark"] .v29-tabs{background:var(--v42-soft)!important}html[data-admin-theme="dark"] .v29-tabs a.active{background:var(--v42-card)!important}
@media(max-width:1180px){.v42-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.v42-ops-grid{grid-template-columns:1fr}.v42-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.v42-heading{align-items:flex-start;flex-direction:column}.v42-kpis{grid-template-columns:1fr 1fr}.v42-kpis>a{min-height:104px;padding:14px}.v42-kpis strong{font-size:21px}.v42-command-button kbd{display:none}}@media(max-width:430px){.v42-kpis{grid-template-columns:1fr}}


/* V4.2.1 — Dark mode consistency hotfix. Dark mode is opt-in; system theme no longer forces it. */
html[data-admin-theme="dark"]{
  --v42-bg:#0d131c;
  --v42-card:#151d28;
  --v42-card-2:#1a2431;
  --v42-ink:#f2f6fb;
  --v42-muted:#9aa8ba;
  --v42-line:#2a3544;
  --v42-soft:#1b2634;
  --v42-blue:#62a8ff;
  --v42-green:#4fd59a;
  --v42-orange:#f6b85f;
  --v42-red:#ff7b86;
  --v42-shadow:0 12px 34px rgba(0,0,0,.26);
  --canvas:var(--v42-bg);
  --surface:var(--v42-card);
  --ink:var(--v42-ink);
  --muted:var(--v42-muted);
  --line:var(--v42-line);
  --soft-line:#222e3c;
  --shadow:0 18px 50px rgba(0,0,0,.28);
  --shadow-sm:0 7px 24px rgba(0,0,0,.22);
  color-scheme:dark;
}
html[data-admin-theme="dark"] body.v42-admin-ready,
html[data-admin-theme="dark"] body.v42-admin-ready .app-body,
html[data-admin-theme="dark"] body.v42-admin-ready .app-main,
html[data-admin-theme="dark"] body.v42-admin-ready .app-content{background:var(--v42-bg)!important;color:var(--v42-ink)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .app-header{background:rgba(21,29,40,.96)!important;border-color:var(--v42-line)!important;color:var(--v42-ink)!important;box-shadow:0 1px 0 rgba(255,255,255,.02)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .app-footer{background:var(--v42-card)!important;border-color:var(--v42-line)!important;color:var(--v42-muted)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .header-title,
html[data-admin-theme="dark"] body.v42-admin-ready .header-title strong,
html[data-admin-theme="dark"] body.v42-admin-ready .account-chip strong{color:var(--v42-ink)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .header-title small,
html[data-admin-theme="dark"] body.v42-admin-ready .account-chip small{color:var(--v42-muted)!important}

/* Core surfaces/buttons/forms */
html[data-admin-theme="dark"] body.v42-admin-ready .card,
html[data-admin-theme="dark"] body.v42-admin-ready .modal-card,
html[data-admin-theme="dark"] body.v42-admin-ready .stat-card,
html[data-admin-theme="dark"] body.v42-admin-ready .account-chip,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-client-hero,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-metric,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-tabs,
html[data-admin-theme="dark"] body.v42-admin-ready .v29-panel,
html[data-admin-theme="dark"] body.v42-admin-ready .v31-card,
html[data-admin-theme="dark"] body.v42-admin-ready .v33-card,
html[data-admin-theme="dark"] body.v42-admin-ready .v34-card,
html[data-admin-theme="dark"] body.v42-admin-ready .v35-card,
html[data-admin-theme="dark"] body.v42-admin-ready .v37-panel,
html[data-admin-theme="dark"] body.v42-admin-ready .v302-widget,
html[data-admin-theme="dark"] body.v42-admin-ready .v31-health-card{background:var(--v42-card)!important;border-color:var(--v42-line)!important;color:var(--v42-ink)!important;box-shadow:var(--v42-shadow)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .card-head,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-card-footer{border-color:var(--v42-line)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-card-footer{background:var(--v42-card-2)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .icon-btn,
html[data-admin-theme="dark"] body.v42-admin-ready .btn-secondary,
html[data-admin-theme="dark"] body.v42-admin-ready .btn-light,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-filter-pill,
html[data-admin-theme="dark"] body.v42-admin-ready .v42-quick-eye{background:var(--v42-card-2)!important;border-color:var(--v42-line)!important;color:#c8d3e0!important;box-shadow:none!important}
html[data-admin-theme="dark"] body.v42-admin-ready .icon-btn:hover,
html[data-admin-theme="dark"] body.v42-admin-ready .btn-secondary:hover,
html[data-admin-theme="dark"] body.v42-admin-ready .btn-light:hover,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-filter-pill:hover{background:#202d3c!important;border-color:#40516a!important;color:var(--v42-blue)!important}
html[data-admin-theme="dark"] body.v42-admin-ready input,
html[data-admin-theme="dark"] body.v42-admin-ready select,
html[data-admin-theme="dark"] body.v42-admin-ready textarea,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-form-pad input,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-form-pad select,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-form-pad textarea{background:#111923!important;border-color:#334154!important;color:var(--v42-ink)!important;box-shadow:none!important}
html[data-admin-theme="dark"] body.v42-admin-ready input::placeholder,
html[data-admin-theme="dark"] body.v42-admin-ready textarea::placeholder{color:#728299!important;opacity:1}
html[data-admin-theme="dark"] body.v42-admin-ready select option{background:#111923;color:var(--v42-ink)}
html[data-admin-theme="dark"] body.v42-admin-ready input:focus,
html[data-admin-theme="dark"] body.v42-admin-ready select:focus,
html[data-admin-theme="dark"] body.v42-admin-ready textarea:focus{border-color:#4d8fdc!important;box-shadow:0 0 0 3px rgba(98,168,255,.12)!important}

/* Typography and links */
html[data-admin-theme="dark"] body.v42-admin-ready h1,
html[data-admin-theme="dark"] body.v42-admin-ready h2,
html[data-admin-theme="dark"] body.v42-admin-ready h3,
html[data-admin-theme="dark"] body.v42-admin-ready h4,
html[data-admin-theme="dark"] body.v42-admin-ready strong,
html[data-admin-theme="dark"] body.v42-admin-ready label{color:var(--v42-ink)}
html[data-admin-theme="dark"] body.v42-admin-ready p,
html[data-admin-theme="dark"] body.v42-admin-ready small,
html[data-admin-theme="dark"] body.v42-admin-ready .text-muted,
html[data-admin-theme="dark"] body.v42-admin-ready .subline{color:var(--v42-muted)}
html[data-admin-theme="dark"] body.v42-admin-ready a:not(.btn):not(.app-nav a){color:#78b6ff}
html[data-admin-theme="dark"] body.v42-admin-ready a:not(.btn):not(.app-nav a):hover{color:#a7d0ff}

/* Tables */
html[data-admin-theme="dark"] body.v42-admin-ready table{background:transparent!important;color:var(--v42-ink)!important}
html[data-admin-theme="dark"] body.v42-admin-ready table thead th{background:#1b2532!important;color:#9eacbd!important;border-color:var(--v42-line)!important}
html[data-admin-theme="dark"] body.v42-admin-ready table tbody td{background:transparent!important;color:var(--v42-ink)!important;border-color:#273443!important}
html[data-admin-theme="dark"] body.v42-admin-ready table tbody tr:hover td{background:#182433!important}
html[data-admin-theme="dark"] body.v42-admin-ready table small{color:var(--v42-muted)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .table-wrap{background:var(--v42-card)!important;scrollbar-color:#47576b transparent}

/* Reusable V2 components that had hard-coded light backgrounds */
html[data-admin-theme="dark"] body.v42-admin-ready .v2-tabs a:hover,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-ticket-list>a:hover,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-template-list>a:hover{background:var(--v42-soft)!important;color:var(--v42-ink)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-tabs a.active{background:#202e3e!important;color:var(--v42-blue)!important;box-shadow:inset 0 0 0 1px #31455e!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-note,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-color-control,
html[data-admin-theme="dark"] body.v42-admin-ready .v2-toggle,
html[data-admin-theme="dark"] body.v42-admin-ready .service-meta>span,
html[data-admin-theme="dark"] body.v42-admin-ready .license-meta>span{background:var(--v42-card-2)!important;border-color:var(--v42-line)!important;color:var(--v42-ink)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-note.pinned{background:#2b2517!important;border-color:#5c4d27!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-security-chip{background:#143226!important;color:#7fe0b0!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-apple-chip{background:#252b34!important;color:#d5dde8!important}
html[data-admin-theme="dark"] body.v42-admin-ready .v2-ticket-icon,
html[data-admin-theme="dark"] body.v42-admin-ready .identity-cell>span,
html[data-admin-theme="dark"] body.v42-admin-ready .service-avatar,
html[data-admin-theme="dark"] body.v42-admin-ready .product-icon{background:#1c3150!important;color:#8fc2ff!important}

/* Status badges: keep semantic meaning and contrast */
html[data-admin-theme="dark"] body.v42-admin-ready .badge-active,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-paid,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-answered,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-success,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-sent{background:#123429!important;border-color:#245742!important;color:#74d6a7!important}
html[data-admin-theme="dark"] body.v42-admin-ready .badge-pending,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-unpaid,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-customer_reply,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-lead,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-queued,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-skipped{background:#382a17!important;border-color:#624821!important;color:#f3c172!important}
html[data-admin-theme="dark"] body.v42-admin-ready .badge-overdue,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-expired,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-cancelled,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-closed,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-suspended,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-danger,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-failed{background:#3b1d24!important;border-color:#6a2f3a!important;color:#ff9aa4!important}
html[data-admin-theme="dark"] body.v42-admin-ready .badge-open,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-hidden,
html[data-admin-theme="dark"] body.v42-admin-ready .badge-draft{background:#172d4a!important;border-color:#2c4f79!important;color:#8ec3ff!important}

/* Alerts */
html[data-admin-theme="dark"] body.v42-admin-ready .alert-success{background:#123329!important;border-color:#28543f!important;color:#83deb3!important}
html[data-admin-theme="dark"] body.v42-admin-ready .alert-danger{background:#3a1c23!important;border-color:#66323c!important;color:#ff9eaa!important}
html[data-admin-theme="dark"] body.v42-admin-ready .alert-warning{background:#382a17!important;border-color:#624821!important;color:#f4c575!important}
html[data-admin-theme="dark"] body.v42-admin-ready .alert-info{background:#172d4a!important;border-color:#2d5079!important;color:#98c9ff!important}

/* Support/conversation and modals */
html[data-admin-theme="dark"] body.v42-admin-ready .conversation-messages{background:#0f1721!important}
html[data-admin-theme="dark"] body.v42-admin-ready .message{background:#192431!important;border-color:#2b3a4b!important;color:var(--v42-ink)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .message.from-admin{background:#172d4a!important;border-color:#2f527d!important}
html[data-admin-theme="dark"] body.v42-admin-ready .modal{background:rgba(0,0,0,.58)!important}
html[data-admin-theme="dark"] body.v42-admin-ready .modal-card{box-shadow:0 30px 90px rgba(0,0,0,.5)!important}

/* Palette / drawer */
html[data-admin-theme="dark"] .v42-palette{background:rgba(0,0,0,.58)}
html[data-admin-theme="dark"] .v42-palette-card,
html[data-admin-theme="dark"] .v42-drawer-panel{background:var(--v42-card)!important;border-color:var(--v42-line)!important;color:var(--v42-ink)!important}
html[data-admin-theme="dark"] .v42-command:hover,
html[data-admin-theme="dark"] .v42-command.is-active{background:#1e2b39!important}

/* Stop browser/system dark mode from activating admin automatically. */
@media (prefers-color-scheme: dark){
  html:not([data-admin-theme="dark"]) body.v42-admin-ready{color-scheme:light}
}
