/* WorkOps Comfort v128 — lighter working surfaces, same Night identity. Visual colours only. */
:root{--panel:#1b2037;--soft:#222840;--line:#3b435e;--muted:#aeb6ca}

/* keep the shell dark and distinctive */
.sidebar{background:linear-gradient(180deg,#080914,#0d0f1f)}
.topbar{background:#0d1020;border-color:#2d334b}
.hero{background:radial-gradient(circle at 84% 6%,rgba(174,103,255,.34),transparent 29%),linear-gradient(135deg,#101326,#1a1e3a 55%,#261c60);border-color:#403760}

/* lift the everyday working surfaces */
.panel,.workflow-main,.workflow-profile,.quote-card,.quote-step,.price-card,.cert-pref-card,.membership-status-card,.document-branding-card,
.stats article,.money-strip>div,.list-row,.workspace-item,.workspace-history-row,.search-result,.invoice-detail-addresses>div,.invoice-lines>div,
.accounting-provider-card,.accounting-history-row,.stripe-status-facts>div,.system-health-row,.setup-check,.agenda-job,
.quick-book-section,.quick-more,.quick-booked-jobs,.quick-day-job,.quick-route-check,.quick-day-empty,
.form-confidence,.inline-site-block,.oneoff-customer,.cert-section,.cert-appliance,.appliance-card-v2,.workspace-hero,.workspace-note,
.quote-line,.quote-line-v2,.catalog-row,.quote-more-v3,.saved-price-picker,.toggle-grid label,.iv-result>div,.assessment{
  background:#1b2037!important;border-color:#3b435e!important;color:#f5f7ff!important;
}

/* forms: deliberately lighter than cards for long sessions */
.sheet,.inline-sheet{background:#171c31;border-color:#414964;color:#f6f7fd}
.form-grid label,.modal label,.cert-gas-body label,.iv-row label,.quote-builder-v3 label{color:#c5cbda}
.form-grid input,.form-grid textarea,.form-grid select,.modal input,.modal textarea,.modal select,.cert-gas-body input,.cert-gas-body select,.iv-row input,.picker-search,
.appliance-reading-row input,.appliance-reading-row select{
  background:#252b43!important;border-color:#4a526d!important;color:#f8f9ff!important;
}
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.modal input:focus,.modal textarea:focus,.modal select:focus{
  background:#2b3150!important;border-color:#9c78ff!important;box-shadow:0 0 0 4px rgba(139,92,246,.16)!important;
}
input::placeholder,textarea::placeholder{color:#8992aa!important}

/* lighter secondary controls and sub-panels */
.secondary,.icon-btn,.calendar-toolbar button,.choice-chips button,.quick-chip,.quick-type,.quick-custom-date,.quick-custom-time,
.workspace-quick a,.workspace-quick button,.workspace-action,.timer-choice button,.meter-choice button,.cert-progress button{
  background:#242a43;border-color:#47506b;color:#e2e6f2;
}
.secondary:hover,.icon-btn:hover,.workspace-action:hover{background:#2c334f;border-color:#5b6584;color:#fff}
.calendar-toolbar,.diary-mode,.diary-date-strip button,.settings-nav,.gas-timer,.cert-photo-capture,.quick-day-gap,.agenda-free,.week-free,.empty{
  background:#171c31;border-color:#3b435e;
}
.settings-nav button{color:#abb3c8}.settings-nav button.active,.diary-mode button.active,.choice-chips button.active,.timer-choice button.active,.meter-choice button.active,.cert-progress button.active{background:#33275f;color:#eadfff;border-color:#7459c3}

/* keep purple feature surfaces rich */
.workflow-steps button:first-child,.workspace-action.primary,.quick-book-summary,.booking-confirm-hero,.invoice-detail-hero,.completion-hero,.customer-hero,.quote-flow-head,.invoice-fast-head,.gas-result,.cert-gas-clock,.appliance-outcome{
  background:linear-gradient(145deg,#211a40,#38276f)!important;border-color:#58458d!important;
}

/* readable supporting text */
.page-head p,.workflow-head p,.hint,.list-row small,.workspace-item small,.workspace-history-row small,.search-result small,.agenda-job small,.agenda-type,.quick-day-job span,.quick-day-job small,.quick-booked-row span,.quick-booked-row small{color:#aeb6ca!important}
.agenda-job time,.agenda-free time{color:#f4f6ff!important}

/* certificate entry: keep the working footer coherent with the comfort theme */
.cert-wizard-controls,.cert-form .sticky-actions{background:#171c31!important;border-color:#3b435e!important}
.cert-wizard-controls [data-w-preview]{background:#242a43!important;border-color:#52607d!important;color:#e8ecf8!important}
.cert-wizard-controls [data-w-preview]:hover{background:#2c334f!important;border-color:#6a7697!important;color:#fff!important}
.payment-rule{display:none!important}

/* retain status semantics */
.booking-feature-status.awaiting{color:#ff7b86!important}.booking-feature-status.confirmed{color:#55dd9b!important}