/* WECASH Dark Glass: presentation only. Print retains the existing paper theme. */
@media screen {
  /* Legacy panels shared by order history, settlements, profiles and reports. */
  html#wecash-dark-glass body :is(
    .v57-milestones,.v57-milestone,.v69-cod-card,.v69-cod-box,.v69-cod-formula,
    .pro-stat,.assign-panel,.assign-list,.pro-metrics,.pro-head,.pro-toolbar,
    .inventory-summary,.inventory-card,.inventory-total,.advanced-report,.report-kpi,.report-filter-card,.inventory-report-head,.inventory-group,
    .money-card,.cc-ledger,.cc-flow .cc-profit,.reports-hero,.report-profit-panel,.settings-reset-card,.account-box,.report-fin-card,
    .alert-card,.alert-light,.balance-panel,.balance-item,.closing-payment,.attention-panel,.attention-card,.attention-pending,
    .driver-kpi,.driver-panel,.driver-order-card,.driver-order-meta div,.account-period-wrap,.period-summary-card,
    .dm-kpi,.dm-order-card,.dm-order-info,.dm-empty,.dm-history-item,.dm-money-item,.dm-account-mini,.dm-more-card,.dm-profile-row div,
    .distribution-toolbar,.assign-preview-head,.assign-preview-card,.suggestion-box,.today-card,
    .v12-capital-panel,.v12-capital-grid>div,.v12-current-account,.v12-account-box,.v12-settlement-note,.note-box,
    .wecash-export-menu,.cancel-wh-hero,.cancel-wh-kpi,.cw-preview>div,.v14-exchange,.v14-exchange-box,.v14-list,.v14-list-head,.v14-lock-note,
    .v16-role-tabs,.v16-role-note,.action-menu-panel,.v16-rate-pair,.v16-rate-pair div,.v16-settle-list,.reset-v17-option,.reset-v17-code code,
    .v18-period-note,.v23-money>span,.v23-profit-panel,.v23-profit-kpi,.v28-driver-filter,
    .v30-hero,.v30-card,.v30-need,.v30-need-item,.v30-fin-card,.v30-expenses,.v30-exp-kpi,
    .v31-closebar,.v31-integrated-note,.v20-grid>div,.v22-separate-note,.v22-settle-summary>div,
    .v26-panel,.v26-stat,.v26-route-row,.v26-dropzone,.v27-profile-shell,.v27-profile-head,.v27-driver-tabs,.v27-overview-card,.v27-role-note,.v27-settle-card,
    .v29-driver-external,.v29-no-results,.v32-finance-center,.v32-direct-note,.v33-adjust-box,.v33-paid-note,.v35-assign-summary>div,
    .v36-customer,.v37-phone-notice,.v40-note,.v47-totals article,.v47-reset-note,.v47-details,.v49-options,.v49-source,
    .v52-dash-period,.v53-closing-files,.v53-closing-head,.v53-close-card,.v54-merchant-center,.v54-merchant-head,.v54-actions,.v54-sum,.v54-history-row,
    .v57-work-center,.v57-recent-files,.v57-head,.v57-work-card,.v60-fin-action,.v70-preview-note,.v73-file-note,.v73-alloc,.v75-combine-toolbar,
    .v77-order-row,.v77-order-tabs,.v83-exchange,.wc-cloud-dialog pre,.wc-cloud-dialog section,.wc-portal-order,#counts
  ) {background:var(--glass)!important;color:#dce9ef!important;border-color:#304750!important;}
  html#wecash-dark-glass body :is(.v57-milestone,.v69-cod-box,.assign-preview-card,.balance-item,.v23-money>span,.v16-rate-pair div,.v20-grid>div,.v22-settle-summary>div,.v35-assign-summary>div,.dm-order-meta div) {background:#14242c!important;}
  html#wecash-dark-glass body :is(.v57-milestone,.v69-cod-box,.v69-cod-formula,.pro-stat,.inventory-card,.report-kpi,.balance-item,.v23-profit-kpi,.v27-overview-card,.v30-card,.v53-close-card,.v54-sum) :is(span,small,p) {color:#b3c7cf!important;}
  html#wecash-dark-glass body .v57-milestone.done {border-inline-start-color:#18bd85!important;}
  html#wecash-dark-glass body .v57-milestone.pending {border-inline-start:3px solid #81949f!important;opacity:1!important;}
  html#wecash-dark-glass body :is(.v57-milestone,.v69-cod-box) span {font-size:13px!important;}
  html#wecash-dark-glass body .v57-milestone b {font-size:14px!important;}
  html#wecash-dark-glass body :is(.v57-milestone,.v69-cod-head) small {font-size:12px!important;}
  html#wecash-dark-glass body .v69-cod-formula {font-size:13px!important;line-height:1.6!important;}
  html#wecash-dark-glass body .v83-alert {background:#382d1a!important;color:#ffe1a5!important;border-color:#8c6c36!important;}
  html#wecash-dark-glass body :is(.note,.v69-cod-formula,.v12-settlement-note,.v16-role-note,.v18-period-note,.v31-integrated-note,.v32-direct-note,.v40-note,.v70-preview-note) {background:#18332f!important;color:#c4e7dd!important;border-color:#365e53!important;}
  html#wecash-dark-glass body :is(.cancel-wh-warning,.attention-card.warning,.attention-card.unresolved.payable,.v33-earn-card.warn,.v77-outcome-card.warn) {background:#3a2d1b!important;color:#ffe0a1!important;border-color:#8c6b32!important;}
  html#wecash-dark-glass body :is(.attention-card.critical,.attention-card.cancel-wh,.reset-v17-option.danger,.v57-work-card.danger,.v77-outcome-card.bad) {background:#352126!important;color:#ffd4d9!important;border-color:#88505c!important;}
  html#wecash-dark-glass body :is(.flash-success,.attention-card.success,.v33-earn-card.good) {background:#123b30!important;color:#bff5de!important;border-color:#2b8664!important;}
  html#wecash-dark-glass body #newVersion {background:#382d1a!important;color:#ffe1a5!important;border-color:#8c6c36!important;}
  html#wecash-dark-glass body :is(.v57-milestones,.v69-cod-card,.v69-cod-box,.assign-preview-head) :is(h3,h4,b,strong) {color:#f0f7fa!important;}
  html#wecash-dark-glass body :is(tfoot,tfoot td,tfoot th) {background:#1a3038!important;color:#e0edf2!important;border-color:#35525c!important;}
  html#wecash-dark-glass body :is(.closing-session,.assign-preview-head,.distribution-toolbar,.v31-closebar,.v27-profile-head) small {color:#b3c7cf!important;}
  html#wecash-dark-glass body :is(.v27-rate-chip,.v28-filter-chip,.v29-filter-chip,.v35-chip,.v35-area-pill,.area-pill,.dist-chip,.count-pill,.v12-source-badge,.v26-role-chip,.v18-period-badge,.period-summary-card.highlight) {background:#16382f!important;color:#bff1e1!important;border-color:#3c7160!important;}
}
@media screen {
  :root {
    --bg:#090e12; --card:#131c23; --ink:#edf4f6; --muted:#a2b4bf;
    --line:#2a3b44; --brand:#079b82; --danger:#ffb1ad; --warn:#ffd180; --navy:#0b151a;
    --wc-ink:#edf4f6; --wc-green:#18c7a4; --wc-line:#2a3b44; --wc-paper:#090e12;
    --glass:linear-gradient(145deg,#1b2930 0%,#111b21 48%,#10191f 100%);
  }
  html {color-scheme:dark; scrollbar-color:#3c565e #10191f;}
  html#wecash-dark-glass body {background:radial-gradient(ellipse at 85% 0%,#12352f66,transparent 48%),#090e12!important;color:#edf4f6!important;}
  html#wecash-dark-glass body :is(h1,h2,h3,h4,h5,label,legend) {color:#edf4f6!important;}
  html#wecash-dark-glass body :is(.sub,.muted,small,.v46-sub,.wc-intro p,.wc-route span,.wc-tag,.wc-portal-meta) {color:#a2b4bf!important;}
  html#wecash-dark-glass body a {color:#48dec0;}
  html#wecash-dark-glass body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) {
    color:#edf4f6!important;background:#0c171d!important;border:1px solid #344c55!important;
    border-radius:9px!important;box-shadow:inset 0 1px 3px #0004!important;
  }
  html#wecash-dark-glass body :is(input,textarea)::placeholder {color:#91a7b2!important;opacity:1;}
  html#wecash-dark-glass body :is(input[type=checkbox],input[type=radio],input[type=range]) {accent-color:#0ec7a2;}
  html#wecash-dark-glass body :is(input,select,textarea,button,a):focus-visible {outline:2px solid #4be6c6!important;outline-offset:3px!important;}
  html#wecash-dark-glass body :is(button,.btn) {color:#dce9ef!important;background:linear-gradient(#21323b,#17262e)!important;border:1px solid #344b56!important;border-radius:8px!important;box-shadow:inset 0 1px 0 #ffffff08!important;}
  html#wecash-dark-glass body :is(button,.btn):hover:not(:disabled) {border-color:#44a991!important;filter:brightness(1.12);}
  html#wecash-dark-glass body :is(button,.btn):disabled {opacity:.48!important;cursor:not-allowed;}
  html#wecash-dark-glass body :is(.greenbtn,.bluebtn,.btn.primary,#loginButton,#loginBtn,#openCompany,.v46-quick button) {
    background:linear-gradient(160deg,#0fb79a,#067c6c)!important;border-color:#26bd9f!important;color:#fff!important;
    box-shadow:inset 0 1px 0 #ffffff26,0 4px 14px #00a18316!important;
  }
  html#wecash-dark-glass body :is(.redbtn,.btn.danger) {background:linear-gradient(#56282b,#3a2025)!important;border-color:#965158!important;color:#ffd8d5!important;}
  html#wecash-dark-glass body .btn.warn {background:#3d301e!important;border-color:#8b6a30!important;color:#ffe1a1!important;}
  html#wecash-dark-glass body :is(.card,.login-box,.login,.modal-box,.detail,.section,.pro-shell,.v46-panel,.v46-merchant-side,.v40-card,.v27-role-card,.v16-role-card,.v32-fin-card,.mini-card,.v33-earn-card,.v46-kpis>div,.settings-v17-card,.v26-settings-card,.v40-sheet,.v52-dashboard-period,.v83-inventory-card) {
    color:#edf4f6!important;background:var(--glass)!important;border:1px solid #2c4149!important;
    border-radius:12px!important;box-shadow:inset 0 1px 0 #ffffff09,0 10px 24px #0002!important;
  }
  html#wecash-dark-glass body :is(.v40-card,.v27-role-card,.v16-role-card,.v32-fin-card,.mini-card,.v33-earn-card,.v46-kpis>div) :is(strong,b) {color:#f2f8fa!important;}
  html#wecash-dark-glass body :is(.v40-card,.v46-kpis>div,.v27-role-card,.v16-role-card) :is(span,small) {color:#aabec7!important;}
  html#wecash-dark-glass body .v40-card.hero {background:linear-gradient(145deg,#17483e,#0b2727)!important;border-color:#2a806c!important;}
  html#wecash-dark-glass body :is(.v40-card.good,.v46-kpis .green,.v46-kpis .teal) {border-top-color:#20b997!important;}
  html#wecash-dark-glass body :is(.v40-card.warn,.v46-kpis .orange) {border-top-color:#d7a049!important;}
  html#wecash-dark-glass body :is(.v46-alert,.v46-panel table,.v40-sheet table) {background:transparent!important;color:#dce9ef!important;}
  html#wecash-dark-glass body :is(.table-wrap,.table-scroll,.v23-table-wrap,.v40-table-wrap) {background:#111c22!important;border-color:#2a3e48!important;border-radius:10px!important;}
  html#wecash-dark-glass body table {background:#111c22!important;color:#edf4f6!important;border-color:#2a3e48!important;}
  html#wecash-dark-glass body :is(th,thead td) {background:#182830!important;color:#b5cbd4!important;border-color:#30454f!important;}
  html#wecash-dark-glass body tbody td {color:#e0edf2!important;background:transparent!important;border-color:#273b44!important;}
  html#wecash-dark-glass body tbody tr:nth-child(even) {background:#17252d66!important;}
  html#wecash-dark-glass body tbody tr:hover {background:#1b3b3b88!important;}
  html#wecash-dark-glass body :is(td,th) :is(input,select) {background:#0d1b23!important;}
  html#wecash-dark-glass body :is(.v46-tabs,.v27-driver-tabs,.account-period-bar,.v46-settingtabs) {border-color:#2a424b!important;}
  html#wecash-dark-glass body :is(.v46-tabs,.v27-driver-tabs,.account-period-bar,.v46-settingtabs) button {background:transparent!important;color:#aabec7!important;box-shadow:none!important;}
  html#wecash-dark-glass body :is(.v46-tabs,.v27-driver-tabs,.account-period-bar,.v46-settingtabs) button.active {background:#0f473e!important;color:#65f0d1!important;border-color:#2acdad!important;}
  html#wecash-dark-glass body :is(.note,.v12-settlement-note,.v22-separate-note,.v27-role-note,.v16-role-note,.v40-note,.v37-outstanding,.v33-adjust-box,.v31-integrated-note,.v32-finance-center,.setup,.v46-cash,.v29-driver-external) {
    background:#13272c!important;color:#bcd2da!important;border-color:#31515a!important;border-radius:9px!important;
  }
  html#wecash-dark-glass body :is(.action-menu-panel,.v27-user-dropdown,.dropdown-menu,.wc-install-help,.wc-guide,.wc-cloud-dialog) {
    background:#15242c!important;color:#edf4f6!important;border:1px solid #3a555f!important;box-shadow:0 18px 65px #0008!important;
  }
  html#wecash-dark-glass body :is(.modal,.shade) {background:#03090ddd!important;backdrop-filter:blur(5px);}
  html#wecash-dark-glass body :is(.modal-head,.modal-header,.modal-box h2,.pro-head,.v27-profile-head) {background:transparent!important;border-color:#30464f!important;}
  html#wecash-dark-glass body :is(.v33-paid-note,.v16-role-card.good,.v37-offset-note) {background:#10392f!important;border-color:#287962!important;color:#9ff1d1!important;}
  html#wecash-dark-glass body :is(.v46-avatar,.v27-avatar,.v16-avatar) {background:linear-gradient(145deg,#195247,#0e302d)!important;border:1px solid #358a75!important;color:#8af0d5!important;}
  html#wecash-dark-glass body :is(.wc-mast,.top,.wc-company #workspace header,.wc-admin .top) {
    background:linear-gradient(100deg,#0a141a,#11251f)!important;border-color:#2b423f!important;color:#eff8f5!important;
  }
  html#wecash-dark-glass body :is(.wc-logo,.brand) {color:#f2f7f8!important;} html#wecash-dark-glass body :is(.wc-logo b,.brand b,.wc-eyebrow) {color:#40dabc!important;}
  html#wecash-dark-glass body .wc-route {border-color:#324c46!important;} html#wecash-dark-glass body .wc-route i {background:#153a30!important;color:#6fe9c9!important;}
  html#wecash-dark-glass body :is(#cloudLanguage,#globalLang,.wc-install) {background:#12372f!important;border-color:#397962!important;color:#e1fff4!important;}
  html#wecash-dark-glass body :is(#status,#newVersion,.toast) {background:#143b33!important;color:#d1fbe9!important;border-color:#326c58!important;}
  html#wecash-dark-glass body :is(.wc-cloud-dialog h2,.wc-cloud-dialog h3,.wc-cloud-dialog summary,.wc-guide h3,.wc-guide summary) {color:#f3f8fa!important;}
  html#wecash-dark-glass body :is(.wc-guide details,.wc-cloud-dialog details,.wc-cloud-dialog fieldset) {background:#0d1b22!important;border-color:#30454f!important;}
  html#wecash-dark-glass body #rolePortal {background:transparent!important;color:#edf4f6!important;}
  html#wecash-dark-glass body #rolePortal :is(article,section,.card) {background:var(--glass)!important;border-color:#2b454c!important;}
  html#wecash-dark-glass body :is(#wcOperationAlerts,#wcOperationsSettings,#v46Batch,#v52DashboardPeriod,#v83VisibleInventory) {background:#14242c!important;color:#deedf2!important;border-color:#30454f!important;}
  html#wecash-dark-glass body #wcDeferHistory p {background:#392e1d!important;color:#ffdc9b!important;}
  html#wecash-dark-glass body :is(.v47-status,.wecash-custody-status) {filter:none!important;}
  html#wecash-dark-glass body :is(.negative,.neg,.error,.danger-text,.amount-negative) {color:#ffb0ab!important;}
  html#wecash-dark-glass body :is(.positive,.pos,.success,.amount-positive) {color:#6ee5b8!important;}
  html#wecash-dark-glass body .sidebar {background:linear-gradient(165deg,#10242a,#0b181f 65%,#10251e)!important;border-inline-end:1px solid #2a454a!important;box-shadow:7px 0 25px #0003!important;}
  html#wecash-dark-glass body .sidebar button {background:transparent!important;border-color:transparent!important;color:#afc8d0!important;box-shadow:none!important;}
  html#wecash-dark-glass body .sidebar button.active {background:linear-gradient(100deg,#085247,#123d38)!important;color:#dffff4!important;border-color:#268b73!important;}
  html#wecash-dark-glass body .sidebar :is(svg,i) {color:#7cdac3!important;} html#wecash-dark-glass body .sidebar .logo {color:#f4fbfa!important;}
  html#wecash-dark-glass body .main {background:transparent!important;}
  html#wecash-dark-glass body :is(.v46-panelhead h3,.v46-driveridentity h2,#v46Dashboard h3,#v40Finance h3,#v83VisibleInventory h2) {color:#eaf5f8!important;}
  html#wecash-dark-glass body #v46Dashboard :is(.v46-panel,.v40-card,.v46-kpis>div) {position:relative;}
  html#wecash-dark-glass body #v46Dashboard :is(.v46-panel,.v40-card,.v46-kpis>div)::before {content:"";position:absolute;inset:0 12px auto;height:1px;background:linear-gradient(90deg,transparent,#b8eee433,transparent);pointer-events:none;}
  html#wecash-dark-glass body ::-webkit-scrollbar {width:9px;height:9px;}
  html#wecash-dark-glass body ::-webkit-scrollbar-track {background:#0d1920;} html#wecash-dark-glass body ::-webkit-scrollbar-thumb {background:#3a535c;border:2px solid #0d1920;border-radius:10px;}
  html#wecash-dark-glass body .empty {color:#a5bdc7!important;}
  html#wecash-dark-glass body :is(b,strong) {color:#f0f7fa!important;}
  html#wecash-dark-glass body .v47-money>button,html#wecash-dark-glass body .v46-kpis>button,html#wecash-dark-glass body .v83-grid>div {
    background:var(--glass)!important;border:1px solid #304750!important;border-radius:12px!important;
    box-shadow:inset 0 1px 0 #ffffff12,0 10px 24px #0002!important;
  }
  html#wecash-dark-glass body .v47-money>button:first-child {background:linear-gradient(140deg,#16463d,#0e2528)!important;border-color:#2f876e!important;}
  html#wecash-dark-glass body :is(.v47-money,.v46-kpis,.v83-grid) :is(span,small) {color:#b6cad2!important;}
  html#wecash-dark-glass body :is(.v47-money,.v46-kpis,.v83-grid) :is(b,strong) {color:#f4fafb!important;}
  html#wecash-dark-glass body .v47-money>button b {font-weight:700!important;font-size:30px!important;}
  html#wecash-dark-glass body .v46-kpis>button {border-top:2px solid #427b95!important;}
  html#wecash-dark-glass body .v46-kpis>button.green {border-top-color:#20c599!important;}
  html#wecash-dark-glass body .v46-kpis>button.orange {border-top-color:#e3ac4e!important;}
  html#wecash-dark-glass body .v46-kpis>button.red {border-top-color:#ed707e!important;}
  html#wecash-dark-glass body :is(.v52-label,.v46-dashboard-more,.v46-advanced summary) {color:#afc6cf!important;}
  html#wecash-dark-glass body :is(summary,.v27-user-menu-panel) {background:#16272f!important;color:#d4e6ed!important;border-color:#344d57!important;}
  html#wecash-dark-glass body .toolbar {background:transparent!important;}
  html#wecash-dark-glass body :is(.v77-approval-admin,.v77-approval-head,.v77-approval-item,.v77-approval-note,.v77-outcome-card,.v77-outcome-card span,.v77-approval-item.partial,.v77-approval-item.unpaid) {background:#17252e!important;color:#c4d8e1!important;border-color:#3b475e!important;}
  html#wecash-dark-glass body .v77-approval-item.partial {border-inline-start:3px solid #e3ac4e!important;}
  html#wecash-dark-glass body .v77-approval-item.unpaid {border-inline-start:3px solid #ed707e!important;}
  html#wecash-dark-glass body #v52DashboardPeriod button.active {background:#0c5848!important;color:#beffe9!important;border-color:#279b7e!important;}
  html#wecash-dark-glass body #financialAttentionBadge.has-alerts {background:#3a2d1a!important;color:#ffdd99!important;border-color:#92733e!important;}
  html#wecash-dark-glass body :is(.v51-flags-wrap,.order-money-preview,.order-money-preview>div) {background:#14252d!important;color:#d5e7ef!important;border-color:#36515c!important;}
  html#wecash-dark-glass body .v71-warning {background:#3c301b!important;color:#ffe0a1!important;border-color:#9c753b!important;}
  html#wecash-dark-glass body :is(.v83-panel,.v60-fin-kpi,.v60-fin-section,.v60-fin-more,.brand-preview) {background:var(--glass)!important;color:#e3f0f5!important;border-color:#304b55!important;}
  html#wecash-dark-glass body :is(.v60-fin-kpi,.v60-fin-section) span {color:#b7cbd4!important;}
  html#wecash-dark-glass body .v60-fin-kpi.cash {background:linear-gradient(140deg,#17483d,#10252b)!important;border-color:#33866e!important;}
  html#wecash-dark-glass body .brand-preview :is(span,b,strong) {color:#96ebd3!important;}
  @media(max-width:760px) {
    html#wecash-dark-glass body :is(.modal-box,.wc-cloud-dialog,.wc-guide) {box-shadow:0 10px 28px #0008!important;}
    html#wecash-dark-glass body .sidebar {box-shadow:12px 0 35px #0006!important;}
    html#wecash-dark-glass body #v46Dashboard .v40-card {border-radius:10px!important;}
  }
  @media(prefers-reduced-motion:reduce) {html#wecash-dark-glass body * {transition:none!important;}}
}

/* Wide account workspace: retain font size and scrolling inside tables. */
@media screen {
 html#wecash-dark-glass body .app .main {padding-inline:10px!important;max-width:none!important;min-width:0!important;}
 html#wecash-dark-glass body .app .main .top {margin-inline:-10px!important;padding-inline:10px!important;}
 html#wecash-dark-glass body :is(#merchantDetail,#driverDetail) {width:100%!important;max-width:none!important;min-width:0!important;grid-column:1 / -1!important;}
 html#wecash-dark-glass body :is(.pro-body,.v27-profile-body,.v54-table) {padding-inline:10px!important;min-width:0!important;}
 html#wecash-dark-glass body :is(.v27-table,.v27-history-table,.v40-sheet,.v60-fin-table,.table-wrap) {max-width:100%!important;min-width:0!important;overflow-x:auto!important;}
 html#wecash-dark-glass body :is(.v27-table,.v27-history-table) :is(th,td) {padding-inline:8px!important;}
 @media(max-width:760px) {html#wecash-dark-glass body .app .main {padding-inline:8px!important;}html#wecash-dark-glass body .app .main .top {margin-inline:-8px!important;padding-inline:8px!important;}}
}

@media screen {
 html#wecash-dark-glass body :is(#orders,#merchantDetail,#driverDetail) table .badge {font-size:10px!important;line-height:1.2!important;padding:3px 7px!important;min-height:0!important;min-width:0!important;border-radius:6px!important;}
 html#wecash-dark-glass body .wc-statement-action {margin:12px 0;}
 html#wecash-dark-glass body #v20StatementHost .wc-statement-panel {padding:12px!important;margin-block:10px!important;}
 html#wecash-dark-glass body #v20StatementHost table :is(td,th) {text-align:start!important;vertical-align:middle;}
}

@media screen {
 html#wecash-dark-glass body #v49AreaSuggestions button.selected,html#wecash-dark-glass body #v49AreaSuggestions button[aria-selected="true"] {background:#087f72!important;color:#fff!important;outline:2px solid #38e4c3;outline-offset:-2px;box-shadow:inset 4px 0 #38e4c3!important;}
 html#wecash-dark-glass body #v49AreaSuggestions button.selected small {color:#dcfff6!important;}
 html#wecash-dark-glass body .bulk-flags {min-width:170px;}
 html#wecash-dark-glass body .bulk-flags button {font-size:11px!important;padding:5px 7px!important;margin:2px;}
 html#wecash-dark-glass body .bulk-flags button.active {background:#087f72!important;color:#fff!important;border-color:#38e4c3!important;}
 html#wecash-dark-glass body .wc-invoice-open {margin:0 0 12px;}
 html#wecash-dark-glass body .wc-invoice-closing {padding:12px;border:1px solid #2d555c;border-radius:9px;margin-bottom:12px;}
 html#wecash-dark-glass body .wc-invoice-closing>div {display:flex;gap:8px;margin-top:8px;}
 html#wecash-dark-glass body .wc-invoice-closing input {flex:1;min-width:0;}
 html#wecash-dark-glass body .wc-invoice-closing p {color:#83ebcd;}
 html#wecash-dark-glass body .wc-invoice-closing p.error {color:#ffaaaa;}
}

/* Selected rows remain readable in dark mode (also covers the legacy modern theme). */
@media screen {
 html#wecash-dark-glass body tbody tr:has(input[type="checkbox"]:checked) {background:#163d38!important;color:#e8fff6!important;}
 html#wecash-dark-glass body tbody tr:has(input[type="checkbox"]:checked):hover {background:#1d5147!important;}
 html#wecash-dark-glass body tbody tr:has(input[type="checkbox"]:checked)>td {background:transparent!important;color:#e8fff6!important;border-color:#326153!important;}
 html#wecash-dark-glass body tbody tr:has(input[type="checkbox"]:checked)>td:first-child {box-shadow:inset 3px 0 #29c9aa;}
}

@media screen {
 html#wecash-dark-glass body #merchantDetail .pro-actions {display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
 html#wecash-dark-glass body #merchantDetail .pro-actions [hidden] {display:none!important;}
 html#wecash-dark-glass body #merchantDetail .pro-body>.table-wrap {display:none!important;}
 html#wecash-dark-glass body .wc-merchant-fold {border:1px solid #304b55;border-radius:9px;margin-block:12px;}
 html#wecash-dark-glass body :is(.wc-merchant-fold,.wc-merchant-more)>summary {cursor:pointer;padding:10px 12px;color:#b9e5da;font-weight:650;}
 html#wecash-dark-glass body .wc-merchant-more>div {display:flex;gap:8px;flex-wrap:wrap;padding:8px;}
 html#wecash-dark-glass body .wc-pay-choices {display:flex;gap:8px;flex-wrap:wrap;}
 html#wecash-dark-glass body .wc-pay-select {display:flex;justify-content:space-between;gap:12px;padding:12px 0;flex-wrap:wrap;}
 html#wecash-dark-glass body .wc-merchant-payment table {min-width:480px;}
}

@media screen {
 html#wecash-dark-glass body .wc-merchant-custody {display:block;width:100%;padding:12px 14px;border:1px solid #d7a63a;border-radius:8px;background:#3b2c18!important;color:#ffdf91!important;margin-bottom:12px;text-align:start;font-weight:650;cursor:pointer;}
 html#wecash-dark-glass body .wc-merchant-custody-count {display:block;width:fit-content;padding:3px 6px;border-radius:5px;background:#4a351a;color:#ffdf91;font-size:11px;margin-top:5px;}
}

/* Page organization: secondary tools stay accessible without crowding primary work. */
.wc-page-fold{border:1px solid #294149;border-radius:10px;margin-block:14px;background:#101b20;padding:0 14px}.wc-page-fold>summary{cursor:pointer;padding:14px 0;color:#dcf2ee;font-weight:650}.wc-page-fold[open]{padding-bottom:14px}.wc-page-fold>.v83-panel{margin:0!important}.wc-merchant-more>div{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}.wc-page-fold>.v83-finance{margin:0}.wc-page-fold:has(>.v83-finance:empty){display:none}#wcOperationsSettings[hidden]{display:none!important}#drivers>.section>.note,#merchantDetail .pro-body>.note,#cancelWarehouse .cancel-wh-hero>p{display:none!important}.section-head{gap:12px;flex-wrap:wrap}.wc-merchant-custody-count{display:block;width:fit-content;margin-top:5px;font-size:11px;padding:3px 7px;border-radius:6px;background:#5e3e16;color:#ffdc85} .wc-merchant-more summary,.wc-page-fold summary{min-height:24px}@media(max-width:600px){.wc-page-fold{padding-inline:10px}.pro-actions,.v40-actions{gap:6px!important}.pro-actions>.btn{flex:1 1 auto}.v46-settingtabs{display:flex;flex-wrap:wrap;gap:6px}}

#merchantDetail .v18-period-note,#driverDetail .v27-role-note,#reports .v60-fin-section-head small,#reports .v60-fin-hero p{display:none!important}#settings[data-tab]:not([data-tab=general]) .wc-sidebar-settings{display:none!important}.v60-fin-actions>button[onclick*=v39OpenCash]{display:none!important}
#settings[data-tab]:not([data-tab=general]) #wcSidebarSettings{display:none!important}

.wc-driver-action-choices{display:grid;gap:12px}.wc-driver-extra-tabs{position:relative}.wc-driver-extra-tabs>summary{cursor:pointer;padding:12px;font-weight:600}.wc-driver-extra-tabs[open]{display:flex;gap:6px;flex-wrap:wrap}#driverDetail .v29-date-range{display:none}#driverDetail .v29-search-wrap:has(.v29-filter-chip.active[onclick*=custom]) .v29-date-range{display:flex}#wcSoundStatus{font-size:13px;color:#81d6bc}#wcOperationsSettings button{margin:4px}

.wc-order-counts,.merchant-counts{display:flex!important;flex-wrap:wrap;gap:8px;padding:12px!important}.wc-order-counts>span,.merchant-counts>span{display:inline-flex;gap:7px;align-items:center;background:#17292e;border:1px solid #29484e;border-radius:7px;padding:6px 9px;font-size:12px}.wc-order-counts b,.merchant-counts b{color:#6fe0c4;font-size:14px}.wc-closing-count{padding:10px 14px;border-radius:8px;border:1px solid #287f71;background:#153b34;color:#c8fff2;font-weight:700;margin-bottom:12px}
#driverDetail .v27-toolbar .v35-profile-assign-btn,#driverDetail .v27-toolbar button[onclick*=v27SetDriverTab][onclick*=settlements]{display:none!important}

.wc-customer-suggestions{position:fixed!important;z-index:100100!important;box-sizing:border-box;margin:0!important;padding:4px!important;overflow:auto;background:#13252c!important;border:1px solid #36545e;border-radius:10px;box-shadow:0 12px 30px #0008}.wc-customer-suggestions button{display:grid;width:100%;grid-template-columns:1fr auto;gap:3px 12px;text-align:inherit;border:0;background:transparent;color:#e8f3f6;padding:10px;border-radius:6px;cursor:pointer;font-size:13px}.wc-customer-suggestions small{grid-column:1/-1;color:#9ebbc6}.wc-customer-suggestions button.is-selected,.wc-customer-suggestions button:hover{background:#087f74;color:white}
.wc-customer-suggestions{bottom:auto!important;right:auto!important;inset-inline-end:auto!important;transform:none!important}
/* Calm working surfaces: compact controls, one active account, secondary details on demand. */
@media screen {
 html#wecash-dark-glass body .wc-interface-fold{border:1px solid #294149;border-radius:9px;background:#101b20;margin-block:12px;padding:0 12px;min-width:0}
 html#wecash-dark-glass body .wc-interface-fold>summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:650;color:#c7e9df;min-height:44px}
 html#wecash-dark-glass body .wc-interface-fold[open]{padding-bottom:12px}
 html#wecash-dark-glass body .wc-interface-fold>:not(summary){margin-block:0!important}
 html#wecash-dark-glass body #pages:has(#merchantDetail:not(.hidden))>.section:first-child,
 html#wecash-dark-glass body #drivers:has(#driverDetail:not(.hidden))>.section:first-child{display:none!important}
 html#wecash-dark-glass body #pages .v46-merchant-side{display:none!important}
 html#wecash-dark-glass body #pages>.section.v46-merchants{display:block!important}
 html#wecash-dark-glass body .wc-profile-back{margin-bottom:12px}
 html#wecash-dark-glass body #v46Batch[hidden],html#wecash-dark-glass body .v60-fin-actions small[hidden]{display:none!important}
 html#wecash-dark-glass body #v46Batch{padding:10px 12px;border:1px solid #2b7569;border-radius:8px;background:#15332d!important;margin-block:10px}
 html#wecash-dark-glass body :is(.wc-finance-secondary,.wc-secondary-actions){display:flex;gap:8px;flex-wrap:wrap}
 html#wecash-dark-glass body .wc-finance-secondary>.v60-fin-action{flex:1 1 180px}
 html#wecash-dark-glass body .v60-fin-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 html#wecash-dark-glass body .v60-fin-action{min-height:44px;padding:12px!important}
 html#wecash-dark-glass body .v60-fin-action b{font-size:14px!important}
 html#wecash-dark-glass body :is(.v60-fin-head>div>p,.v57-head small,.v57-head p){display:none!important}
 html#wecash-dark-glass body #v46Dashboard .v46-quick{margin-top:10px}
 html#wecash-dark-glass body #wcOperationAlerts{display:block!important;padding:12px!important}
 html#wecash-dark-glass body .wc-alert-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px}
 html#wecash-dark-glass body .wc-alert-list .btn{text-align:start;white-space:normal!important;min-height:44px}
 html#wecash-dark-glass body .wc-alert-more{margin-top:10px}
 html#wecash-dark-glass body .wc-alert-more>summary{cursor:pointer;font-size:14px;padding-block:10px;color:#aadfd1}
 html#wecash-dark-glass body #wcOperationsSettings .wc-interface-fold{margin-top:16px}
 html#wecash-dark-glass body .v46-settingtabs{margin-bottom:12px!important}
 @media(max-width:760px){html#wecash-dark-glass body .v60-fin-actions{grid-template-columns:repeat(2,minmax(0,1fr))}html#wecash-dark-glass body :is(.pro-head,.v27-profile-head){gap:12px;flex-wrap:wrap}html#wecash-dark-glass body .wc-profile-back{width:100%}html#wecash-dark-glass body .wc-interface-fold{padding-inline:10px}html#wecash-dark-glass body .wc-alert-list{grid-template-columns:1fr}}
}
html#wecash-dark-glass body #wcOperationAlerts[hidden]{display:none!important}

html#wecash-dark-glass body .wc-driver-eye{display:inline-flex;align-items:center;justify-content:center;padding:7px!important;min-width:34px;min-height:34px}html#wecash-dark-glass body .wc-driver-status-filter{min-height:40px;padding:8px;max-width:100%}html#wecash-dark-glass body .v27-table table:has(.wc-driver-eye) :is(th,td):last-child{position:sticky;inset-inline-end:0;background:#152a30!important;z-index:1;min-width:52px;text-align:center}

/* Per-order multipliers and visible account filters. */
.wc-driver-order-filters{margin:0 0 12px;padding:10px;border:1px solid #2e4850;border-radius:10px;background:#13232a}.wc-driver-order-filters .v29-search-wrap{display:flex;flex-wrap:wrap;gap:8px}.wc-driver-order-filters .v29-filter-chips{flex-basis:100%;display:flex;flex-wrap:wrap;gap:6px}.wc-bulk-multiplier{display:inline-flex;align-items:center;gap:4px;font-size:10px;margin:4px 4px 0 0}.wc-bulk-multiplier select{width:55px!important;min-height:28px!important;padding:3px!important}
