/* =========================================================
   SERENOVA STAGE 1F.4.8.6.45 — GLOBAL DARK/LIGHT THEME
   Loaded after all module styles so legacy dark-only rules
   receive a consistent, accessible light-mode treatment.
   ========================================================= */

:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f7fb;
  --bg2:#edf3f9;
  --panel:rgba(255,255,255,.94);
  --panel2:rgba(248,251,255,.96);
  --line:#d6e0ec;
  --line2:#c2cfde;
  --text:#172235;
  --muted:#607086;
  --muted2:#7b8da3;
  --shadow:0 18px 44px rgba(39,55,80,.12);
}

/* Toggle */
.theme-toggle{overflow:hidden}
.theme-toggle .theme-icon{display:grid;place-items:center;grid-area:1/1;transition:opacity .16s ease,transform .2s ease}
.theme-toggle .theme-icon .ui-icon{width:18px;height:18px}
:root[data-theme="dark"] .theme-icon-sun{opacity:1;transform:scale(1) rotate(0)}
:root[data-theme="dark"] .theme-icon-moon{opacity:0;transform:scale(.65) rotate(-20deg)}
:root[data-theme="light"] .theme-icon-sun{opacity:0;transform:scale(.65) rotate(20deg)}
:root[data-theme="light"] .theme-icon-moon{opacity:1;transform:scale(1) rotate(0)}

/* App shell */
:root[data-theme="light"] body,
:root[data-theme="light"] .app-body{background:#f4f7fb;color:#172235}
:root[data-theme="light"] .app-body:before{filter:saturate(.72) contrast(.9) brightness(1.22);opacity:.20}
:root[data-theme="light"] .app-body:after{background:linear-gradient(180deg,rgba(247,250,254,.86),rgba(241,246,252,.94)),radial-gradient(circle at 53% 17%,rgba(124,60,255,.07),transparent 34%)}
:root[data-theme="light"] .app-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,250,254,.97));border-color:#d7e1ec;box-shadow:14px 0 40px rgba(42,60,85,.07)}
:root[data-theme="light"] .brand-block{border-color:#e0e7f0}
:root[data-theme="light"] .brand-block small,
:root[data-theme="light"] .wellness-word{color:#687a91}
:root[data-theme="light"] .nav-link{color:#52647a}
:root[data-theme="light"] .nav-icon{color:#637991}
:root[data-theme="light"] .nav-link:hover{background:#eef3fa;color:#172235;border-color:#d6e0ec}
:root[data-theme="light"] .nav-link.active{background:linear-gradient(90deg,rgba(124,60,255,.13),rgba(124,60,255,.045));border-color:rgba(124,60,255,.25);color:#40219a;box-shadow:inset 3px 0 #7c3cff,0 8px 22px rgba(70,48,139,.06)}
:root[data-theme="light"] .nav-link.active .nav-icon{color:#6e39da}
:root[data-theme="light"] .nav-section-label{color:#8796aa}
:root[data-theme="light"] .sidebar-motto{background:radial-gradient(circle at 20% 90%,rgba(124,60,255,.07),transparent 60%)}
:root[data-theme="light"] .sidebar-motto h3{color:#29384b}
:root[data-theme="light"] .sidebar-motto p{color:#74849a}
:root[data-theme="light"] .app-topbar{background:rgba(255,255,255,.88);border-color:#d8e1eb;box-shadow:0 10px 30px rgba(52,69,94,.05)}
:root[data-theme="light"] .top-search{background:#f8fafc;border-color:#d3deea;color:#718198}
:root[data-theme="light"] .top-search input{color:#243348}
:root[data-theme="light"] .top-search input::placeholder{color:#8998aa}
:root[data-theme="light"] .top-search kbd{background:#edf2f7;border-color:#d2dce7;color:#65758a}
:root[data-theme="light"] .top-icon{background:#fff;border-color:#d2dce8;color:#3b4b61;box-shadow:0 5px 14px rgba(42,60,86,.05)}
:root[data-theme="light"] .top-icon:hover{border-color:#b8c7d8;background:#f7f9fc;color:#30205f}
:root[data-theme="light"] .top-icon i{border-color:#fff}
:root[data-theme="light"] .profile-avatar{border-color:#c8d5e4;background:linear-gradient(145deg,#edf3f9,#dde8f3);color:#32455d}
:root[data-theme="light"] .profile-chip small{color:#71839a}
:root[data-theme="light"] .page-heading p{color:#6e48bf}
:root[data-theme="light"] .page-heading span{color:#687b92}
:root[data-theme="light"] .app-footer{background:rgba(255,255,255,.68);border-color:#dbe3ed;color:#73849a}

/* Global surfaces / typography */
:root[data-theme="light"] .muted,
:root[data-theme="light"] [class*="-muted"],
:root[data-theme="light"] .detail-block p,
:root[data-theme="light"] .info-panel p{color:#66778d}
:root[data-theme="light"] .coming,
:root[data-theme="light"] .info-panel{background:rgba(255,255,255,.93);border-color:#d5e0eb;box-shadow:var(--shadow)}
:root[data-theme="light"] .coming h1,
:root[data-theme="light"] .info-panel h2{color:#172235}
:root[data-theme="light"] .coming a,
:root[data-theme="light"] .info-panel code{background:#f4f7fb;border-color:#d3deea;color:#56409c}
:root[data-theme="light"] hr{border-color:#dbe4ee}

/* Inputs, selects, textareas, native options */
:root[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
:root[data-theme="light"] select,
:root[data-theme="light"] textarea,
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea,
:root[data-theme="light"] .wizard-field input,
:root[data-theme="light"] .wizard-field select,
:root[data-theme="light"] .wizard-field textarea,
:root[data-theme="light"] .identity-field input,
:root[data-theme="light"] .identity-field select,
:root[data-theme="light"] .identity-field textarea,
:root[data-theme="light"] .settings-field input,
:root[data-theme="light"] .settings-field textarea,
:root[data-theme="light"] .sms-grid select,
:root[data-theme="light"] .transport-fallback-field select,
:root[data-theme="light"] .booking-filter-select select,
:root[data-theme="light"] .booking-filter-date,
:root[data-theme="light"] .booking-search select,
:root[data-theme="light"] .booking-search input[type="date"],
:root[data-theme="light"] .reports-date-filter input{
  background:#fff!important;border-color:#ccd8e5!important;color:#223248!important;color-scheme:light!important;
}
:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder{color:#8a99aa!important}
:root[data-theme="light"] select option{background:#fff!important;color:#223248!important}
:root[data-theme="light"] input:disabled,
:root[data-theme="light"] select:disabled,
:root[data-theme="light"] textarea:disabled{background:#eef2f6!important;color:#7a899b!important;opacity:1}
:root[data-theme="light"] .check-field{color:#34465d}

/* Cards, panels, table shells — all major modules */
:root[data-theme="light"] :is(
  .booking-stat,.wizard-steps,.wizard-card,.booking-preview,.choice-card,.detail-panel,.detail-item,.wizard-footer,
  .booking-premium-row,.booking-action-button,.premium-booking-section,.premium-booking-route-section,.premium-detail-grid .detail-item,
  .studio-section,.studio-client-results,.studio-person-card,.studio-service-people-map,.studio-team-summary,.studio-therapist-card,.studio-driver-card,
  .registry-stat,.form-card,.detail-card,.detail-block,.client-booking-history-item,.therapist-activity-strip,.driver-activity-strip,.client-booking-strip,.service-usage-metrics,.service-booking-strip,
  .premium-driver-info-grid>article,.premium-client-info-grid>article,.premium-therapist-info-grid>article,.premium-driver-notes,.premium-client-notes,.premium-therapist-notes,
  .settings-check,.brand-asset-editor,.smtp-intro-strip,.transport-source-card,.transport-rule-table-wrap,.transport-provider-card,
  .identity-linked-profile,.identity-profile-note,.identity-link-selector,.identity-toggle-card,.identity-save-bar,.identity-permission-group,.role-active-control,
  .notification-kpi-card,.operational-alert,.notification-toolbar,.notification-history-item,
  .status-card,.dashboard-queue-item,.pickup-note,.premium-roster-header,.map-message,.map-legend,
  .reports-kpi-card,.report-panel,.report-table-wrap,
  .premium-check-card,.premium-worker-row,.premium-cron-monitor,
  .conversation-list,.chat-head,.message-compose,.message-directory,.message-contact,.message-readonly,.group-member-option,.group-readonly-members>div,
  .staff-house-summary-grid article,.staff-house-map-card,.staff-house-assignees,.staff-house-card
){background:#fff!important;border-color:#d5e0eb!important;color:#1c2b3e!important;box-shadow:0 10px 26px rgba(43,61,86,.06)}

/* Tables */
:root[data-theme="light"] :is(.booking-table,.booking-premium-table,.registry-table,.report-table){color:#243348}
:root[data-theme="light"] :is(.booking-table th,.booking-premium-table thead th,.registry-table th,.report-table th){background:#edf3f8!important;color:#576980!important;border-color:#d6e0eb!important}
:root[data-theme="light"] :is(.booking-table td,.booking-premium-table td,.registry-table td,.report-table td){border-color:#e1e8f0!important}
:root[data-theme="light"] :is(.booking-table tbody tr:hover,.booking-premium-row:hover,.registry-table tbody tr:hover){background:#f4f7fb!important}

/* Buttons and segmented controls */
:root[data-theme="light"] :is(.secondary-action,.identity-secondary-action,.identity-secondary-link,.map-control-btn,.booking-action-button,.notification-header-action,.notification-filter-button,.notification-row-action,.reports-export-btn.secondary,.reports-preset-row a,.registry-filter,.registry-filter a,.driver-filter a,.client-filter a,.service-filter a,.booking-quick-filters a,.queue-tabs button,.map-tabs,.map-tabs button,.roster-filter-bar button,.group-cancel,.message-mode-tabs button,.premium-live-refresh){background:#fff!important;border-color:#ccd8e5!important;color:#40536b!important}
:root[data-theme="light"] :is(.secondary-action,.identity-secondary-action,.identity-secondary-link,.map-control-btn,.booking-action-button,.notification-header-action,.notification-filter-button,.notification-row-action,.reports-export-btn.secondary,.reports-preset-row a,.registry-filter a,.driver-filter a,.client-filter a,.service-filter a,.booking-quick-filters a,.queue-tabs button,.map-tabs button,.roster-filter-bar button,.group-cancel,.message-mode-tabs button,.premium-live-refresh):hover{background:#edf3f8!important;color:#252f40!important;border-color:#b8c7d7!important}

/* Search/filter shells */
:root[data-theme="light"] :is(.registry-search,.driver-search,.client-search,.service-search,.therapist-premium-search,.booking-search .search-box,.booking-filter-search,.identity-search,.identity-select,.notification-search-box,.notification-priority-select select,.studio-search-shell,.message-directory-search){background:#fff!important;border-color:#ccd8e5!important;color:#223248!important}

/* Pills / status / badges: preserve semantic color but provide light contrast */
:root[data-theme="light"] :is(.status-pill,.tiny-pill,.booking-live-pill,.booking-time-state,.booking-driver-chip,.booking-unassigned-state,.premium-live-badge,.premium-section-code,.premium-route-state,.booking-detail-map-badge,.settings-state-pill,.smtp-status-pill,.staff-house-live-dot,.report-panel-badge,.report-booking-status,.notification-category-chip,.notification-priority-chip,.client-person-state,.client-map-state,.premium-driver-code,.premium-location-state,.premium-client-code,.premium-client-location-state,.premium-therapist-code,.premium-therapist-location-state){background:#eef3f8!important;border-color:#cbd7e4!important;color:#40536b!important}
:root[data-theme="light"] :is(.status-pill.available,.status-pill.active,.booking-live-pill,.premium-live-badge,.settings-state-pill,.smtp-status-pill,.staff-house-live-dot,.transport-rule-status>span,.client-person-state.active){background:#e7f8f2!important;border-color:#a7dfcd!important;color:#12644e!important}
:root[data-theme="light"] :is(.status-pill.assigned,.status-pill.en_route,.status-pill.in_service,.status-pill.pickup_pending,.booking-time-state.live){background:#eef0ff!important;border-color:#c7c9f6!important;color:#433c9a!important}
:root[data-theme="light"] :is(.status-pill.off_duty,.status-pill.archived,.status-pill.cancelled,.booking-unassigned-state){background:#f1f3f6!important;border-color:#d2d9e2!important;color:#657386!important}
:root[data-theme="light"] :is(.status-pill.delayed,.status-pill.warning,.notification-priority-chip.high){background:#fff7df!important;border-color:#eed593!important;color:#79570c!important}
:root[data-theme="light"] :is(.status-pill.no_show,.status-pill.error,.notification-priority-chip.urgent){background:#fff0f3!important;border-color:#efb8c4!important;color:#9a2947!important}

/* Booking studio */
:root[data-theme="light"] .booking-studio-close,
:root[data-theme="light"] .studio-profile-btn,
:root[data-theme="light"] .studio-person-close,
:root[data-theme="light"] .booking-cancel-modal-close,
:root[data-theme="light"] .booking-sms-modal-close{background:#fff!important;border-color:#ccd8e5!important;color:#475a72!important}
:root[data-theme="light"] .booking-studio-steps .wizard-step>span,
:root[data-theme="light"] .studio-service-person-chip,
:root[data-theme="light"] .studio-person-check,
:root[data-theme="light"] .studio-service-check,
:root[data-theme="light"] .recipient-therapist-check{background:#eef3f8!important;border-color:#cbd7e4!important;color:#52647a!important}
:root[data-theme="light"] .studio-service-person-chip:has(input:checked),
:root[data-theme="light"] .studio-person-card:has(input:checked) .studio-person-check{background:#ede7ff!important;border-color:#c5b4f4!important;color:#5a32b5!important}
:root[data-theme="light"] .recipient-team-mode-pill,
:root[data-theme="light"] .recipient-therapist-rule,
:root[data-theme="light"] .recipient-therapist-empty,
:root[data-theme="light"] .recipient-shared-assignment,
:root[data-theme="light"] .booking-next-summary{background:#f4f7fb!important;border-color:#d3deea!important;color:#364960!important}

/* Settings / upload */
:root[data-theme="light"] .settings-file-control,
:root[data-theme="light"] .premium-file-control{background:#fff!important;border-color:#cad7e4!important;color:#34485f!important}
:root[data-theme="light"] .settings-file-control>span{background:#eef3f8!important;border-color:#d3deea!important;color:#455970!important}
:root[data-theme="light"] .settings-reset-btn,
:root[data-theme="light"] .smtp-test-btn{background:#fff!important;border-color:#ccd8e5!important;color:#40536b!important}
:root[data-theme="light"] .transport-number-field,
:root[data-theme="light"] .transport-manual-pills span{background:#f6f8fb!important;border-color:#d1dce8!important;color:#43566e!important}
:root[data-theme="light"] .transport-toggle-switch{background:#dfe7f0!important;border-color:#c2cfdd!important}

/* Notifications, popovers, global search, profile */
:root[data-theme="light"] .notification-popover,
:root[data-theme="light"] .profile-popover,
:root[data-theme="light"] .global-search-panel{background:rgba(255,255,255,.98)!important;border-color:#ccd8e5!important;color:#1b2b3e!important;box-shadow:0 22px 55px rgba(43,61,86,.18)!important}
:root[data-theme="light"] .notification-head,
:root[data-theme="light"] .notification-foot,
:root[data-theme="light"] .profile-popover-foot,
:root[data-theme="light"] .global-search-foot{background:#f6f8fb!important;border-color:#dce4ed!important}
:root[data-theme="light"] .notification-item{background:#fff!important;border-color:#e1e8f0!important;color:#243348!important}
:root[data-theme="light"] .notification-item:hover,
:root[data-theme="light"] .profile-popover-links>a:hover,
:root[data-theme="light"] .profile-popover-links>a:focus-visible,
:root[data-theme="light"] .global-search-item:hover,
:root[data-theme="light"] .global-search-item.active{background:#eef3f8!important}
:root[data-theme="light"] .profile-popover:before{background:#fff!important;border-color:#ccd8e5!important}
:root[data-theme="light"] .profile-popover-links>a>span:first-child,
:root[data-theme="light"] .global-search-glyph{background:#eef3f8!important;border-color:#d6e0eb!important;color:#5a3eb3!important}
:root[data-theme="light"] .global-search-group>header,
:root[data-theme="light"] .global-search-status,
:root[data-theme="light"] .global-search-foot,
:root[data-theme="light"] .notification-item-copy span,
:root[data-theme="light"] .notification-item-copy small{color:#687a90!important}
:root[data-theme="light"] .global-search-foot kbd{background:#fff!important;border-color:#d0dbe7!important;color:#607188!important}

/* Messages */
:root[data-theme="light"] .messages-secure{background:#e8f7f2!important;border-color:#b4dece!important;color:#17634f!important}
:root[data-theme="light"] .message-bubble{background:#eef3f8!important;border-color:#d7e1ec!important;color:#26364a!important}
:root[data-theme="light"] .message-bubble.mine{background:#ede7ff!important;border-color:#cfbff6!important;color:#33245d!important}
:root[data-theme="light"] .message-bubble.theirs{background:#fff!important}
:root[data-theme="light"] .message-compose textarea{background:#fff!important}
:root[data-theme="light"] .message-actions-menu{background:#fff!important;border-color:#cbd7e4!important;box-shadow:0 16px 38px rgba(37,54,79,.18)!important}
:root[data-theme="light"] .message-actions-menu button:hover{background:#eef3f8!important}
:root[data-theme="light"] .message-bubble.deleted{background:#f3f5f8!important;color:#77879a!important}
:root[data-theme="light"] .message-attachment-preview,
:root[data-theme="light"] .message-image{background:#f5f8fb!important;border-color:#d4deea!important}
:root[data-theme="light"] .message-directory-backdrop,
:root[data-theme="light"] .message-image-viewer,
:root[data-theme="light"] .message-delete-backdrop,
:root[data-theme="light"] .booking-cancel-modal-backdrop,
:root[data-theme="light"] .booking-sms-modal-backdrop,
:root[data-theme="light"] .rebook-modal-backdrop,
:root[data-theme="light"] .session-guard-backdrop{background:rgba(25,36,51,.42)!important}

/* Reports/charts */
:root[data-theme="light"] .report-donut>div,
:root[data-theme="light"] .report-service-bar,
:root[data-theme="light"] .report-status-progress,
:root[data-theme="light"] .live-progress,
:root[data-theme="light"] .therapist-upload-progress,
:root[data-theme="light"] .settings-upload-progress{background:#e4ebf3!important}

/* System status */
:root[data-theme="light"] .premium-status-group-head>b,
:root[data-theme="light"] .premium-check-icon,
:root[data-theme="light"] .premium-status-metric-icon,
:root[data-theme="light"] .premium-cron-monitor-icon{background:#eef3f8!important;border-color:#d4deea!important;color:#5d42aa!important}
:root[data-theme="light"] .premium-check-card>strong{background:#f5f8fb!important;border-color:#dbe3ed!important;color:#3d5068!important}
:root[data-theme="light"] .premium-copy-row code,
:root[data-theme="light"] .premium-cron-monitor code{background:#f1f5f9!important;border-color:#d6e0eb!important;color:#3d5068!important}

/* Maps and location UI */
:root[data-theme="light"] :is(.location-map,.staff-house-map,.booking-map-preview,.booking-detail-map){background:#e7edf4!important;border-color:#cbd7e4!important}
:root[data-theme="light"] .location-place-host,
:root[data-theme="light"] .booking-place-search>[data-booking-place-host]{background:#fff!important;border-color:#ccd8e5!important}
:root[data-theme="light"] .location-editor-foot,
:root[data-theme="light"] .map-action-row{background:#f7f9fc!important;border-color:#d5e0eb!important}
:root[data-theme="light"] .location-status{background:#eef3f8!important;border-color:#d0dbe7!important;color:#52647a!important}
:root[data-theme="light"] .location-status[data-state="verified"]{background:#e7f8f2!important;border-color:#a7dfcd!important;color:#12644e!important}
:root[data-theme="light"] .map-callout,
:root[data-theme="light"] .map-entity-chip{background:#fff!important;border-color:#cbd7e4!important;color:#203247!important;box-shadow:0 12px 28px rgba(37,54,79,.16)!important}
:root[data-theme="light"] .map-callout::after{border-top-color:#fff!important}

/* Modals */
:root[data-theme="light"] :is(.booking-cancel-modal,.booking-sms-modal,.rebook-modal,.session-guard-dialog,.message-delete-dialog){background:#fff!important;border-color:#cbd7e4!important;color:#1d2d40!important;box-shadow:0 24px 70px rgba(35,51,75,.2)!important}
:root[data-theme="light"] .rebook-copy-options,
:root[data-theme="light"] .rebook-modal-foot,
:root[data-theme="light"] .booking-confirmation-actions{background:#f5f8fb!important;border-color:#d8e2ec!important}

/* Toasts */
:root[data-theme="light"] .serenova-toast{background:rgba(255,255,255,.98)!important;border-color:#cbd7e4!important;color:#1d2d40!important;box-shadow:0 20px 50px rgba(42,60,86,.18)!important}
:root[data-theme="light"] .serenova-toast .toast-copy span{color:#63758b!important}

/* Keep primary accent actions readable in both modes */
:root[data-theme="light"] :is(.primary-action,.new-booking,.booking-primary-action){color:#fff!important}

/* Force old dark-only form controls into light palette */
:root[data-theme="light"] :is(.booking-search select,.booking-filter-select select,.registry-search select,.identity-select,.sms-grid select,.transport-fallback-field select,.reports-date-filter input){color-scheme:light!important}

@media (max-width:760px){
  :root[data-theme="light"] .app-topbar{background:rgba(255,255,255,.96)}
}

/* Public authentication / recovery surfaces */
.auth-theme-toggle{position:fixed;top:18px;right:18px;z-index:30;width:42px;height:42px;border-radius:12px;border:1px solid #314968;background:rgba(8,22,39,.84);color:#dce5f0;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(0,0,0,.16)}
.auth-theme-toggle .theme-icon{display:grid;place-items:center;grid-area:1/1}
:root[data-theme="light"] .auth-body{background:#eef3f8;color:#172235}
:root[data-theme="light"] .auth-scene{background:linear-gradient(90deg,rgba(244,248,252,.78),rgba(244,248,252,.66)),url('../images/login-wallpaper.png') center/cover no-repeat}
:root[data-theme="light"] .auth-scene:after{background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.05) 0 20%,rgba(241,246,251,.22) 62%,rgba(238,244,250,.42))}
:root[data-theme="light"] .auth-brand-copy h2{color:#243247}
:root[data-theme="light"] .auth-brand-copy p,
:root[data-theme="light"] .auth-tag{color:#64758b}
:root[data-theme="light"] .login-card,
:root[data-theme="light"] .reset-auth-card{background:rgba(255,255,255,.94);border-color:#d2dce7;box-shadow:0 35px 90px rgba(42,58,81,.14)}
:root[data-theme="light"] .login-brand small,
:root[data-theme="light"] .login-sub,
:root[data-theme="light"] .login-form label>span,
:root[data-theme="light"] .remember,
:root[data-theme="light"] .route-pill small,
:root[data-theme="light"] .reset-auth-brand span,
:root[data-theme="light"] .reset-auth-card>p,
:root[data-theme="light"] .reset-field-help{color:#66788f}
:root[data-theme="light"] .login-card h1,
:root[data-theme="light"] .reset-auth-card h1,
:root[data-theme="light"] .reset-auth-brand strong{color:#1c2b3e}
:root[data-theme="light"] .input-shell{background:#fff;border-color:#cbd7e4}
:root[data-theme="light"] .input-shell input{color:#223248!important}
:root[data-theme="light"] .field-icon,
:root[data-theme="light"] .password-field-icon{color:#65778e}
:root[data-theme="light"] .peek{color:#66798f}
:root[data-theme="light"] .secure-strip{border-color:#d9e2ec;color:#64768c}
:root[data-theme="light"] .secure-strip span+span{border-color:#d9e2ec}
:root[data-theme="light"] .route-pill{background:rgba(255,255,255,.92);border-color:#cad6e3;color:#26364a;box-shadow:0 16px 40px rgba(43,61,86,.12)}
:root[data-theme="light"] .reset-auth-shell{background:radial-gradient(circle at 15% 10%,rgba(125,60,255,.08),transparent 34%),radial-gradient(circle at 85% 85%,rgba(39,180,160,.06),transparent 32%),linear-gradient(145deg,#f7f9fc,#edf3f8 60%,#f5f8fb)}
:root[data-theme="light"] .reset-auth-brand{border-color:#d8e2ec}
:root[data-theme="light"] .reset-security-note{background:#f4f7fb;border-color:#d2dce7;color:#60738a}
:root[data-theme="light"] .auth-theme-toggle{background:#fff;border-color:#cbd7e4;color:#3f5066;box-shadow:0 10px 28px rgba(42,58,81,.12)}
:root[data-theme="light"] .input-shell input:-webkit-autofill,
:root[data-theme="light"] .input-shell input:-webkit-autofill:hover,
:root[data-theme="light"] .input-shell input:-webkit-autofill:focus,
:root[data-theme="light"] .input-shell input:-webkit-autofill:active{-webkit-text-fill-color:#223248!important;caret-color:#223248;-webkit-box-shadow:0 0 0 1000px #fff inset!important;box-shadow:0 0 0 1000px #fff inset!important}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.46 — LIGHT MODE TYPOGRAPHY + PILL
   VISIBILITY HARDENING
   Final readability pass after the global theme foundation.
   ========================================================= */

:root[data-theme="light"]{
  --light-ink:#172235;
  --light-ink-2:#2f4158;
  --light-muted:#60738a;
  --light-muted-2:#73869c;
  --light-line:#d3deea;
  --light-soft:#f5f8fb;
  --light-soft-2:#edf3f8;
}

/* Premium KPI cards become true light-mode surfaces instead of dark islands. */
:root[data-theme="light"] :is(
  .kpi,
  .booking-stat,
  .booking-premium-stat,
  .registry-stat,
  .therapist-stat-card,
  .driver-premium-stat,
  .client-premium-stat,
  .service-premium-stat,
  .reports-kpi-card,
  .notification-kpi-card,
  .premium-status-metric,
  .staff-house-summary-grid article
){
  background:
    radial-gradient(circle at 100% 0,rgba(124,60,255,.055),transparent 46%),
    linear-gradient(145deg,#ffffff,#f7f9fc)!important;
  border-color:#d3deea!important;
  color:var(--light-ink)!important;
  box-shadow:0 10px 28px rgba(42,60,86,.07)!important;
}
:root[data-theme="light"] :is(
  .kpi strong,.kpi b,
  .booking-stat b,
  .booking-premium-stat strong,.booking-premium-stat b,
  .registry-stat b,
  .therapist-stat-card strong,.therapist-stat-card b,
  .driver-premium-stat strong,.driver-premium-stat b,
  .client-premium-stat strong,.client-premium-stat b,
  .service-premium-stat strong,.service-premium-stat b,
  .reports-kpi-card strong,.reports-kpi-card b,
  .notification-kpi-card strong,.notification-kpi-card b,
  .premium-status-metric strong,
  .staff-house-summary-grid b
){color:#1c2b3f!important}
:root[data-theme="light"] :is(
  .kpi small,
  .booking-stat span,
  .booking-premium-stat small,
  .registry-stat span,
  .therapist-stat-card small,
  .driver-premium-stat small,
  .client-premium-stat small,
  .service-premium-stat small,
  .reports-kpi-card small,
  .notification-kpi-card small,
  .premium-status-metric small,
  .premium-status-metric>span:not(.premium-status-metric-icon),
  .staff-house-summary-grid small
){color:#64778e!important}

/* KPI icon tiles keep the semantic accent but gain stronger light contrast. */
:root[data-theme="light"] :is(.kpi-icon,.booking-stat-icon,.therapist-stat-icon,.driver-stat-icon,.client-stat-icon,.service-stat-icon,.reports-kpi-icon,.notification-kpi-icon){
  box-shadow:none!important;
}

/* Dark operational workspaces intentionally remain dark in light mode. */
:root[data-theme="light"] :is(
  .map-shell,.queue-shell,.timeline-shell,.availability-shell,
  .booking-card,.booking-premium-card,
  .registry-card,
  .therapist-roster-card,
  .driver-directory-card,
  .client-directory-card,
  .service-directory-card
){color:#eaf1f8}
:root[data-theme="light"] :is(
  .map-shell,.queue-shell,.timeline-shell,.availability-shell,
  .booking-card,.booking-premium-card,
  .registry-card,
  .therapist-roster-card,
  .driver-directory-card,
  .client-directory-card,
  .service-directory-card
) :is(h2,h3,strong,b){color:#edf3f9}
:root[data-theme="light"] :is(.panel-title>span,.driver-directory-head p,.client-directory-head p,.service-directory-head p){color:#91a5bb!important}

/* Light surfaces that previously inherited dark-theme near-white text. */
:root[data-theme="light"] :is(
  .detail-block b,.detail-item b,.detail-item strong,
  .therapist-activity-strip b,.driver-activity-strip b,
  .client-booking-strip b,.service-booking-strip b,
  .booking-action-button b,.booking-action-button strong,
  .premium-driver-info-grid>article b,.premium-client-info-grid>article b,.premium-therapist-info-grid>article b,
  .premium-driver-notes b,.premium-client-notes b,.premium-therapist-notes b,
  .settings-check b,.brand-asset-editor b,.smtp-intro-strip b,.transport-source-card b,.transport-provider-card b,
  .identity-linked-profile b,.identity-profile-note b,.identity-link-selector b,.identity-toggle-card b,.identity-save-bar b,.identity-permission-group b,.role-active-control b,
  .operational-alert b,.notification-toolbar b,.notification-history-item b,
  .pickup-note b,.map-message b,.map-legend b,
  .report-panel b,.premium-check-card b,.premium-worker-row b,.premium-cron-monitor b,
  .conversation-list b,.chat-head b,.message-compose b,.message-directory b,.message-contact b,.message-readonly b,
  .staff-house-card b,.staff-house-assignees b,.staff-house-map-card b
){color:#26384e!important}
:root[data-theme="light"] :is(
  .therapist-activity-strip small,.therapist-activity-strip span:not(.therapist-activity-icon),
  .driver-activity-strip small,.driver-activity-strip span:not(.driver-activity-icon),
  .client-booking-strip small,.client-booking-strip>div>span,
  .service-booking-strip small,.service-booking-strip>div>span,
  .detail-block small,.detail-item small,
  .premium-driver-info-grid>article small,.premium-client-info-grid>article small,.premium-therapist-info-grid>article small,
  .settings-check small,.brand-asset-editor small,.smtp-intro-strip small,.transport-source-card small,.transport-provider-card small,
  .identity-linked-profile small,.identity-profile-note small,.identity-link-selector small,.identity-toggle-card small,.identity-permission-group small,
  .operational-alert small,.notification-history-item small,
  .pickup-note small,.map-message small,.map-legend,
  .report-panel small,.premium-check-card small,.premium-worker-row small,.premium-cron-monitor small,
  .message-contact small,.message-readonly small,
  .staff-house-card small,.staff-house-assignees small,.staff-house-map-card small
){color:#64778e!important}

/* Therapist / Driver / Client / Service profile cards stay premium-dark; their white inset activity tiles use dark copy. */
:root[data-theme="light"] :is(.therapist-profile-card,.driver-profile-card,.client-profile-card,.service-profile-card){color:#e7eef7}
:root[data-theme="light"] :is(.therapist-card-name-line h3,.driver-card-name-line h3,.client-card-name-line h3,.service-card-name-line h3){color:#f2f6fa!important}
:root[data-theme="light"] :is(.therapist-card-identity>p,.driver-card-identity>p,.client-card-identity>p,.service-card-identity>p){color:#899db4!important}
:root[data-theme="light"] :is(.therapist-card-contact,.driver-card-contact,.client-card-contact){color:#a5b4c4!important}
:root[data-theme="light"] :is(.therapist-card-section>small,.driver-card-section>small,.client-card-section>small,.service-card-section>small){color:#8ea1b6!important}
:root[data-theme="light"] .therapist-card-section .skill-tag{
  background:#edf2f8!important;border-color:#cad6e3!important;color:#40536b!important
}

/* Stage 1F.4.8.6.75 — compact transportation suggestion badge in Light mode. */
:root[data-theme="light"] .booking-studio-body .transport-suggested-badge{
  background:#e7f8f2!important;border-color:#9fdcc8!important;color:#0e624b!important
}

/* Booking registry assignment chips: no dark chip with washed-out copy on white rows. */
:root[data-theme="light"] :is(.booking-therapist-person,.booking-driver-chip,.booking-unassigned-state,.booking-therapist-list .therapist-inline-person){
  background:#f1f5f9!important;border-color:#cbd7e4!important;color:#40536b!important
}
:root[data-theme="light"] :is(.booking-therapist-person strong,.booking-driver-chip strong,.booking-unassigned-state strong){color:#2d4057!important}
:root[data-theme="light"] :is(.booking-therapist-person small,.booking-driver-chip small,.booking-unassigned-state small){color:#6d8198!important}
:root[data-theme="light"] .booking-therapist-person:hover{background:#ece7fb!important;border-color:#bba9eb!important}

/* Status pills — complete semantic palette, including statuses missing from Stage .45. */
:root[data-theme="light"] :is(.status-pill,.tiny-pill,.priority-pill,.booking-time-state,.timeline-state-chip,.report-booking-status,.notification-category-chip,.notification-priority-chip,.booking-vip-pill,.client-vip-pill,.service-team-pill,.studio-count-pill,.transport-suggested-badge){
  font-weight:500!important;
  text-shadow:none!important;
}
:root[data-theme="light"] :is(.status-pill.available,.status-pill.active,.status-pill.collected,.status-pill.completed,.status-pill.dropped_off,.status-pill.driver_arrived,.status-pill.driver_collected,.status-pill.service_done,.status-pill.arrived_service,.report-booking-status.status-completed,.report-booking-status.status-collected,.client-person-state.active,.client-map-state.ready){
  background:#e7f8f2!important;border-color:#9fdcc8!important;color:#0e624b!important
}
:root[data-theme="light"] :is(.status-pill.assigned,.status-pill.in_session,.status-pill.in_service,.status-pill.on_site,.status-pill.therapist_assigned,.status-pill.transport_assigned,.status-pill.scheduled,.report-booking-status.status-in_session){
  background:#eee9ff!important;border-color:#c9baf4!important;color:#5436a5!important
}
:root[data-theme="light"] :is(.status-pill.en_route,.status-pill.driver_en_route,.booking-time-state.live,.report-booking-status.status-driver_en_route,.report-booking-status.status-driver_arrived){
  background:#e8f4ff!important;border-color:#a9d2f4!important;color:#195c8f!important
}
:root[data-theme="light"] :is(.status-pill.pickup_soon,.status-pill.pickup_pending,.status-pill.alerted,.status-pill.acknowledged,.priority-pill.urgent,.notification-priority-chip.urgent){
  background:#fff0f4!important;border-color:#efb2c2!important;color:#982947!important
}
:root[data-theme="light"] :is(.status-pill.unassigned,.status-pill.arrived,.priority-pill.high,.notification-priority-chip.high,.report-booking-status.status-unassigned){
  background:#fff7df!important;border-color:#e8cf88!important;color:#73530a!important
}
:root[data-theme="light"] :is(.status-pill.cancelled,.status-pill.expired,.status-pill.off_duty,.status-pill.inactive,.status-pill.archived,.report-booking-status.status-cancelled){
  background:#f0f3f6!important;border-color:#cbd5df!important;color:#56687b!important
}
:root[data-theme="light"] :is(.status-pill.delayed,.status-pill.warning,.status-pill.no_show,.status-pill.error){
  background:#fff0f3!important;border-color:#ebb1bf!important;color:#922942!important
}
:root[data-theme="light"] :is(.booking-vip-pill,.client-vip-pill){background:#fff8df!important;border-color:#e8cd7a!important;color:#72500a!important}
:root[data-theme="light"] .service-team-pill{background:#eee9ff!important;border-color:#c8b8f0!important;color:#5437a2!important}
:root[data-theme="light"] .studio-count-pill{background:#efeaff!important;border-color:#c6b7ef!important;color:#553aa1!important}

/* Filter / segmented controls: active state must remain obvious in Light mode. */
.segmented-filter{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.segmented-filter a{
  min-height:34px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #304967;border-radius:9px;background:rgba(7,20,36,.70);color:#92a7bd;
  font-size:12px;text-decoration:none;transition:.16s ease
}
.segmented-filter a:hover{border-color:#6d58a8;color:#fff}
.segmented-filter a.active{border-color:#8b5be8;background:rgba(124,60,255,.14);color:#d4c5ff}
:root[data-theme="light"] :is(.segmented-filter a,.registry-filter a,.driver-filter a,.client-filter a,.service-filter a,.booking-quick-filters a,.roster-filter-bar button,.queue-tabs button,.map-tabs button,.message-mode-tabs button,.notification-state-tabs a,.notification-category-tabs a){
  background:#fff!important;border-color:#cbd7e4!important;color:#40536b!important
}
:root[data-theme="light"] :is(.segmented-filter a,.registry-filter a,.driver-filter a,.client-filter a,.service-filter a,.booking-quick-filters a,.roster-filter-bar button,.queue-tabs button,.map-tabs button,.message-mode-tabs button,.notification-state-tabs a,.notification-category-tabs a):hover{
  background:#eef3f8!important;border-color:#b8c7d8!important;color:#283a50!important
}
:root[data-theme="light"] :is(.segmented-filter a.active,.registry-filter a.active,.driver-filter a.active,.client-filter a.active,.service-filter a.active,.booking-quick-filters a.active,.roster-filter-bar button.active,.queue-tabs button.active,.map-tabs button.active,.message-mode-tabs button.active,.notification-state-tabs a.active,.notification-category-tabs a.active){
  background:#eee8ff!important;border-color:#bda9ee!important;color:#5432a9!important;box-shadow:0 4px 12px rgba(99,60,177,.08)!important
}
:root[data-theme="light"] :is(.registry-filter a,.driver-filter a,.client-filter a,.service-filter a) span{
  background:#edf2f7!important;color:#62758c!important
}
:root[data-theme="light"] :is(.registry-filter a.active,.driver-filter a.active,.client-filter a.active,.service-filter a.active) span{
  background:#ddd1ff!important;color:#5634aa!important
}

/* Staff Houses — repair light text plus the previously unstyled segmented filter. */
:root[data-theme="light"] .staff-house-section-head h2{color:#26384e!important}
:root[data-theme="light"] .staff-house-section-head small{color:#7047c7!important}
:root[data-theme="light"] .staff-house-card-head h3{color:#26384e!important}
:root[data-theme="light"] .staff-house-card-head span{color:#65788f!important}
:root[data-theme="light"] .staff-house-address{color:#52667e!important}
:root[data-theme="light"] .staff-house-counts{border-color:#dbe4ee!important}
:root[data-theme="light"] .staff-house-counts div+div{border-color:#dbe4ee!important}
:root[data-theme="light"] .staff-house-counts b{color:#26384e!important}
:root[data-theme="light"] .staff-house-counts small{color:#6b7e95!important}
:root[data-theme="light"] .staff-house-coordinate-row{color:#5f738a!important;border-color:#dbe4ee!important}
:root[data-theme="light"] .staff-house-coordinate-row code{color:#40536b!important}
:root[data-theme="light"] .staff-house-staff-block h3{color:#26384e!important}
:root[data-theme="light"] .staff-house-staff-block>a{border-color:#e0e7ef!important}
:root[data-theme="light"] .staff-house-staff-block>a b{color:#26384e!important}
:root[data-theme="light"] .staff-house-staff-block>a small{color:#6b7e95!important}
:root[data-theme="light"] .empty-state{border-color:#c7d4e1!important;color:#687c93!important}
:root[data-theme="light"] .empty-state h3{color:#26384e!important}
:root[data-theme="light"] .registry-toolbar{border-color:#d8e2ec!important}

/* Tables: strengthen actual content, not just headings. */
:root[data-theme="light"] :is(.booking-table td,.booking-premium-table td,.registry-table td,.report-table td){color:#33475f!important}
:root[data-theme="light"] :is(.booking-table td b,.booking-premium-table td b,.registry-table td b,.report-table td b,.entity-cell b){color:#26384e!important}
:root[data-theme="light"] :is(.booking-table td small,.booking-premium-table td small,.registry-table td small,.report-table td small,.entity-cell small,.table-muted){color:#657a91!important}

/* Standard form / editor typography. */
:root[data-theme="light"] :is(.field label,.wizard-field label,.form-field label,.identity-field label,.settings-field label){color:#40546c!important}
:root[data-theme="light"] :is(.field small,.wizard-field small,.form-field small,.identity-field small,.settings-field small){color:#6d8197!important}
:root[data-theme="light"] :is(.form-card-head h2,.detail-card-head h2,.settings-card h2,.identity-card h2){color:#26384e!important}
:root[data-theme="light"] :is(.form-card-head p,.detail-card-head p,.settings-card p,.identity-card p){color:#65798f!important}

/* Empty states and secondary metadata across modules. */
:root[data-theme="light"] :is(.empty-registry h3,.premium-empty-state h3,.driver-premium-empty h3,.client-premium-empty h3,.service-premium-empty h3,.report-empty-state h3,.live-empty-state h3,.transport-empty-state b){color:#26384e!important}
:root[data-theme="light"] :is(.empty-registry p,.premium-empty-state p,.driver-premium-empty p,.client-premium-empty p,.service-premium-empty p,.report-empty-state p,.live-empty-state p,.transport-empty-state span){color:#687c93!important}

/* Clickable icon actions must not disappear on white cards. */
:root[data-theme="light"] :is(.icon-action,.therapist-card-actions .icon-action,.driver-card-actions .icon-action,.client-card-actions .icon-action,.service-card-actions .icon-action){
  background:#fff!important;border-color:#c7d4e1!important;color:#435970!important
}
:root[data-theme="light"] :is(.icon-action,.therapist-card-actions .icon-action,.driver-card-actions .icon-action,.client-card-actions .icon-action,.service-card-actions .icon-action):hover{
  background:#eef3f8!important;border-color:#aa98dc!important;color:#5835aa!important
}

/* Preserve readable dark-card CTA buttons inside premium roster cards. */
:root[data-theme="light"] :is(.therapist-card-view,.driver-card-view,.client-card-view,.service-card-view){
  background:#102943!important;border-color:#3b5271!important;color:#e0e8f1!important
}
:root[data-theme="light"] :is(.therapist-card-view,.driver-card-view,.client-card-view,.service-card-view):hover{border-color:#8061cf!important;color:#fff!important}

/* Dark dashboard queue/map headers and microcopy. */
:root[data-theme="light"] .panel-title h2{color:#edf3f9!important}
:root[data-theme="light"] .queue-tabs button.active{background:#fff0f4!important;border-color:#efb2c2!important;color:#982947!important}
:root[data-theme="light"] .map-tabs button.active{background:#eee8ff!important;border-color:#bda9ee!important;color:#5432a9!important}
:root[data-theme="light"] .empty-queue h3{color:#eef3f9!important}
:root[data-theme="light"] .empty-queue p{color:#91a5bb!important}

/* Ensure light-mode hierarchy remains readable without making the UI heavy. */
:root[data-theme="light"] :is(.page-heading h1,.registry-hero h1,.booking-hero h1){color:#172235!important}
:root[data-theme="light"] :is(.page-heading span,.registry-hero .page-heading span,.booking-hero .page-heading span){color:#64778e!important}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.47 — DASHBOARD LIGHT MODE POLISH
   Dashboard-only approval pass. Dark mode remains unchanged.
   ========================================================= */
:root[data-theme="light"] .dashboard-page .global-search-clear{
  background:#fff!important;border-color:#c8d5e3!important;color:#52657d!important;
  box-shadow:0 2px 7px rgba(38,55,80,.05)!important
}
:root[data-theme="light"] .dashboard-page .global-search-clear:hover{
  background:#eef3f8!important;border-color:#b6c6d8!important;color:#5936aa!important
}
:root[data-theme="light"] .dashboard-page .global-search:hover,
:root[data-theme="light"] .dashboard-page .global-search.open,
:root[data-theme="light"] .dashboard-page .global-search:focus-within{
  background:#fff!important;border-color:#bdcddd!important;box-shadow:0 0 0 3px rgba(98,67,185,.06)!important
}
:root[data-theme="light"] .dashboard-page .global-search-welcome b{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .global-search-welcome small{color:#687c93!important}
:root[data-theme="light"] .dashboard-page .global-search-welcome>span{
  background:#f1ecff!important;border-color:#cbbcf2!important;color:#5b39ac!important
}
:root[data-theme="light"] .dashboard-page .global-search-group+ .global-search-group{border-color:#dce4ed!important}
:root[data-theme="light"] .dashboard-page .global-search-group>header{background:#f7f9fc!important;border-color:#dce4ed!important}
:root[data-theme="light"] .dashboard-page .global-search-group>header span{color:#6341b4!important}
:root[data-theme="light"] .dashboard-page .global-search-group>header small{background:#fff!important;border-color:#d1dce7!important;color:#66798f!important}
:root[data-theme="light"] .dashboard-page .global-search-copy b{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .global-search-copy small,
:root[data-theme="light"] .dashboard-page .global-search-copy em{color:#687c93!important}

/* Map chrome: keep the real Google map light, remove the remaining midnight frame. */
:root[data-theme="light"] .dashboard-page .map-shell{
  background:#fff!important;border-color:#d3deea!important;box-shadow:0 12px 30px rgba(43,61,86,.08)!important
}
:root[data-theme="light"] .dashboard-page .map-head{
  background:#fff!important;border-color:#d8e2ec!important
}
:root[data-theme="light"] .dashboard-page .map-tabs{background:#f4f7fb!important;border-color:#ccd8e5!important}
:root[data-theme="light"] .dashboard-page .expand{
  background:#fff!important;border-color:#c9d6e4!important;color:#465b73!important
}
:root[data-theme="light"] .dashboard-page .expand:hover{background:#eef3f8!important;color:#5937aa!important}
:root[data-theme="light"] .dashboard-page .faux-map{background:#eaf0f6!important}
:root[data-theme="light"] .dashboard-page .dashboard-map-stage::after{
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(238,244,250,.05))!important
}
:root[data-theme="light"] .dashboard-page .map-message,
:root[data-theme="light"] .dashboard-page .map-legend{
  background:rgba(255,255,255,.94)!important;border-color:#cad6e2!important;color:#40536b!important;
  box-shadow:0 10px 24px rgba(41,58,82,.13)!important
}
:root[data-theme="light"] .dashboard-page .map-message b{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .map-message small{color:#62768d!important}

/* Dispatch Queue becomes a true Light-mode command panel. */
:root[data-theme="light"] .dashboard-page .queue-shell{
  background:#fff!important;border-color:#d3deea!important;box-shadow:0 12px 30px rgba(43,61,86,.08)!important
}
:root[data-theme="light"] .dashboard-page .queue-shell .panel-title{background:#f8fafc!important;border-color:#d9e3ed!important}
:root[data-theme="light"] .dashboard-page .queue-shell .panel-title h2{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .queue-shell .panel-title>span{color:#60758c!important}
:root[data-theme="light"] .dashboard-page .dashboard-queue-live{background:#f5f8fb!important}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item{
  background:#fff!important;border-color:#d6e0ea!important;color:#33475f!important;box-shadow:0 6px 18px rgba(43,61,86,.05)!important
}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-client{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-code,
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-service{color:#667b92!important}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-time{color:#6b4bc2!important}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-meta>span:not(.q-status){background:#eef3f8!important;border-color:#d1dce8!important;color:#4d6279!important}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-open{border-color:#dbe4ed!important;color:#6a43c2!important}
:root[data-theme="light"] .dashboard-page .pickup-note{background:#f8fafc!important;border-color:#d5e0eb!important;color:#33475f!important}
:root[data-theme="light"] .dashboard-page .pickup-note b{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .pickup-note small{color:#697d94!important}

/* Live Timeline + Therapist Availability: premium Light command surfaces. */
:root[data-theme="light"] .dashboard-page :is(.timeline-shell,.availability-shell,.premium-timeline-shell,.premium-roster-shell){
  background:#fff!important;border-color:#d3deea!important;box-shadow:0 12px 30px rgba(43,61,86,.08)!important
}
:root[data-theme="light"] .dashboard-page .premium-live-title{background:#f8fafc!important;border-color:#d9e3ed!important}
:root[data-theme="light"] .dashboard-page .premium-live-title h2{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .panel-subtitle,
:root[data-theme="light"] .dashboard-page .live-panel-title .live-panel-meta>em{color:#687c93!important}
:root[data-theme="light"] .dashboard-page .view-all-link{color:#6744ba!important}
:root[data-theme="light"] .dashboard-page .timeline-board,
:root[data-theme="light"] .dashboard-page .premium-roster-table{background:#fff!important}
:root[data-theme="light"] .dashboard-page .timeline-axis{background:#f3f6fa!important;border-color:#d7e1eb!important}
:root[data-theme="light"] .dashboard-page .timeline-axis-label,
:root[data-theme="light"] .dashboard-page .timeline-person{border-color:#d7e1eb!important}
:root[data-theme="light"] .dashboard-page .timeline-hour{color:#64788f!important}
:root[data-theme="light"] .dashboard-page .timeline-board-row{border-color:#dce4ed!important}
:root[data-theme="light"] .dashboard-page .timeline-board-row:hover{background:#f5f2ff!important}
:root[data-theme="light"] .dashboard-page .timeline-person b{color:#26384e!important}
:root[data-theme="light"] .dashboard-page .timeline-person small{color:#687c93!important}
:root[data-theme="light"] .dashboard-page .timeline-gridline{background:#dbe4ed!important}
:root[data-theme="light"] .dashboard-page .premium-roster-header{
  background:#eef3f8!important;border-color:#d6e0eb!important;color:#576b82!important;box-shadow:none!important
}
:root[data-theme="light"] .dashboard-page .premium-roster-row{border-color:#dce4ed!important;color:#33475f!important}
:root[data-theme="light"] .dashboard-page .premium-roster-row:hover{background:#f5f2ff!important}
:root[data-theme="light"] .dashboard-page :is(.premium-roster-person b,.premium-roster-location b,.premium-roster-next b){color:#26384e!important}
:root[data-theme="light"] .dashboard-page :is(.premium-roster-person small,.premium-roster-location small,.premium-roster-next small,.premium-roster-status small){color:#687c93!important}
:root[data-theme="light"] .dashboard-page .roster-filter-bar{background:#fafbfd!important;border-color:#d9e3ed!important}
:root[data-theme="light"] .dashboard-page .roster-action-btn{
  background:#fff!important;border-color:#c8d5e2!important;color:#40566e!important
}
:root[data-theme="light"] .dashboard-page .roster-action-btn.secondary{background:#f1ecff!important;border-color:#cbbcf2!important;color:#5837a8!important}
:root[data-theme="light"] .dashboard-page .roster-action-btn.message{background:#eaf8f4!important;border-color:#acdece!important;color:#17634f!important}
:root[data-theme="light"] .dashboard-page .premium-live-loading{color:#687c93!important}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.48 — DASHBOARD LIGHT MODE FINISH
   Profile hover + Dispatch Queue people-chip polish
   ========================================================= */
:root[data-theme="light"] .profile-menu-toggle:hover,
:root[data-theme="light"] .profile-menu.open .profile-menu-toggle{
  background:#f7f9fc!important;
  border-color:#cbd7e4!important;
  color:#243348!important;
  box-shadow:0 8px 22px rgba(43,61,86,.08)!important;
}
:root[data-theme="light"] .profile-menu-toggle:hover .profile-chip-copy b,
:root[data-theme="light"] .profile-menu.open .profile-menu-toggle .profile-chip-copy b{
  color:#243348!important;
}
:root[data-theme="light"] .profile-menu-toggle:hover .profile-chip-copy small,
:root[data-theme="light"] .profile-menu.open .profile-menu-toggle .profile-chip-copy small{
  color:#71839a!important;
}
:root[data-theme="light"] .profile-menu-toggle:hover .profile-menu-chevron,
:root[data-theme="light"] .profile-menu.open .profile-menu-toggle .profile-menu-chevron{
  background:#fff!important;
  border-color:#c4d1df!important;
  color:#5f46a7!important;
}

/* Do not wrap the therapist group in a second grey capsule in Light mode. */
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-meta>.q-therapist-list{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-therapist-person{
  min-height:26px!important;
  padding:2px 8px 2px 2px!important;
  border-color:#cbd7e4!important;
  background:#eef3f8!important;
  color:#40566e!important;
  box-shadow:0 2px 7px rgba(43,61,86,.035)!important;
}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-therapist-person:hover{
  background:#e7edf5!important;
  border-color:#b9c8d8!important;
  color:#293d54!important;
}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-therapist-avatar{
  border-color:#b9c9da!important;
  background:linear-gradient(145deg,#eee9ff,#dde8f4)!important;
  color:#4d3b86!important;
}
:root[data-theme="light"] .dashboard-page .dashboard-queue-item .q-therapist-avatar.has-photo{
  background:#fff!important;
  border-color:#b9c9da!important;
}


/* =========================================================
   SERENOVA STAGE 1F.4.8.6.49 — DASHBOARD MAP CALLOUT FINISH
   Final Dashboard-only map marker readability + pointer polish.
   ========================================================= */
:root[data-theme="light"] .dashboard-page .map-callout{
  --map-callout-tail-bg:#fff;
  --map-callout-tail-border:#b8c7d7;
  background:#fff!important;
  border-color:#c6d3e1!important;
  color:#334a63!important;
  box-shadow:0 12px 28px rgba(37,54,79,.17)!important;
}
:root[data-theme="light"] .dashboard-page .map-callout::after{
  background:var(--map-callout-tail-bg,#fff)!important;
  border-right-color:var(--map-callout-tail-border,#b8c7d7)!important;
  border-bottom-color:var(--map-callout-tail-border,#b8c7d7)!important;
  opacity:1!important;
}
:root[data-theme="light"] .dashboard-page .map-callout .map-callout-copy b{
  color:#22364d!important;
  font-weight:650!important;
  text-shadow:none!important;
}
:root[data-theme="light"] .dashboard-page .map-callout .map-callout-copy small{
  color:#687c93!important;
}
:root[data-theme="light"] .dashboard-page .map-callout .map-callout-icon{
  background:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),0 4px 12px rgba(38,56,80,.08)!important;
}
:root[data-theme="light"] .dashboard-page .map-callout .map-callout-copy b i{
  opacity:1!important;
}
:root[data-theme="light"] .dashboard-page .map-callout.therapist.teal{
  color:#14745f!important;border-color:#8fd6c4!important;
  --map-callout-tail-border:#8fd6c4;
}
:root[data-theme="light"] .dashboard-page .map-callout.therapist.gold{
  color:#8b6818!important;border-color:#dec57d!important;
  --map-callout-tail-border:#dec57d;
}
:root[data-theme="light"] .dashboard-page .map-callout.therapist.rose{
  color:#c43e63!important;border-color:#eca4b7!important;
  --map-callout-tail-border:#eca4b7;
}
:root[data-theme="light"] .dashboard-page .map-callout.driver{
  color:#246ea8!important;border-color:#9cc8ea!important;
  --map-callout-tail-border:#9cc8ea;
}
:root[data-theme="light"] .dashboard-page .map-callout.client{
  color:#6845b5!important;border-color:#c4b2ea!important;
  --map-callout-tail-border:#c4b2ea;
}
:root[data-theme="light"] .dashboard-page .map-callout.pickup-alert{
  color:#bd365c!important;border-color:#eda1b6!important;
  --map-callout-tail-border:#eda1b6;
}
:root[data-theme="light"] .dashboard-page .map-callout :is(.map-callout-copy strong,.map-callout-icon){
  color:currentColor!important;
}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.50 — BOOKINGS LIGHT MODE POLISH
   Page-scoped Booking Registry Light-mode hardening.
   ========================================================= */
:root[data-theme="light"] .bookings-premium-page .booking-command-card{
  border-color:#cbd7e4!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfe 100%)!important;
  box-shadow:0 16px 38px rgba(34,52,78,.09)!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-command-summary{
  border-bottom-color:#d8e2ec!important;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f8fc 100%)!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-command-eyebrow{
  color:#7047c7!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-command-summary h2{
  color:#213249!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-command-summary p{
  color:#687c93!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary{
  border-color:#cdd9e5!important;
  background:#f7f9fc!important;
  color:#32465e!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary:hover{
  border-color:#b8a5ea!important;
  background:#f2edff!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary.is-empty{
  opacity:1!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-icon{
  background:#eee8ff!important;
  color:#7047c7!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary small{
  color:#6e8197!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary b{
  color:#2b3e55!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary em{
  color:#71859b!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-next-summary>.ui-icon{
  color:#7047c7!important;
}

:root[data-theme="light"] .bookings-premium-page .booking-premium-toolbar{
  border-bottom-color:#d8e2ec!important;
  background:#fbfcfe!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-filter-search,.booking-filter-select,.booking-filter-date,.booking-filter-size){
  border-color:#cbd7e4!important;
  background:#ffffff!important;
  color:#53687f!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-filter-search,.booking-filter-select,.booking-filter-date,.booking-filter-size):focus-within{
  border-color:#a88be8!important;
  box-shadow:0 0 0 3px rgba(112,71,199,.08)!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-filter-search input{
  color:#26394f!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-filter-search input::placeholder{
  color:#7b8ea4!important;
  opacity:1!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-filter-select select,.booking-filter-date input,.booking-filter-size select){
  color:#33485f!important;
  color-scheme:light!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-filter-select select option,.booking-filter-size select option){
  background:#ffffff!important;
  color:#33485f!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-filter-size>span{
  color:#6f8298!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-clear-filter{
  color:#62768d!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-clear-filter:hover{
  color:#5635aa!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-quick-filters a{
  background:#ffffff!important;
  border-color:#cbd7e4!important;
  color:#455a72!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-quick-filters a:hover{
  background:#f2f5f9!important;
  border-color:#b8c7d8!important;
  color:#2e4259!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-quick-filters a.active{
  background:#eee8ff!important;
  border-color:#bda9ee!important;
  color:#5634aa!important;
}

:root[data-theme="light"] .bookings-premium-page .booking-premium-table-wrap{
  background:#ffffff!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-table thead th{
  border-bottom-color:#d6e0eb!important;
  background:#edf3f8!important;
  color:#576b83!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-table tbody td{
  border-bottom-color:#e0e7ef!important;
  color:#34485f!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-row{
  background:#ffffff!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-row:hover{
  background:#f5f8fb!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-row.time-state-live{
  background:linear-gradient(90deg,rgba(43,190,155,.055),transparent 21%),#ffffff!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-row.time-state-soon{
  background:linear-gradient(90deg,rgba(218,177,69,.055),transparent 21%),#ffffff!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-row.time-state-overdue{
  background:linear-gradient(90deg,rgba(231,77,121,.055),transparent 23%),#ffffff!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-stack strong{
  color:#26384e!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-stack span{
  color:#63778e!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-stack small{
  color:#70849a!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-client-name-line strong{
  color:#26384e!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-record-code{
  color:#6c48bd!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-client-premium small{
  color:#5f748b!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-client-premium small .ui-icon{
  color:#7047c7!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-service-premium strong{
  color:#2c4057!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-service-premium small{
  color:#687d94!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-service-icon{
  border-color:#cdbcf2!important;
  background:#f0eaff!important;
  color:#7047c7!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-state{
  color:#687d94!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-state.overdue{
  color:#a82f50!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-state.soon{
  color:#7a5a10!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-state.live{
  color:#116650!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-time-state.completed{
  color:#64778d!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-therapist-person,.booking-driver-chip,.booking-unassigned-state){
  border-color:#cbd7e4!important;
  background:#f3f6fa!important;
  color:#40536b!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-therapist-person:hover{
  border-color:#bba9eb!important;
  background:#eee8ff!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-therapist-person strong,.booking-driver-chip strong,.booking-unassigned-state strong){
  color:#2c4057!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-therapist-person small,.booking-driver-chip small,.booking-unassigned-state small){
  color:#687d94!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-action-button{
  border-color:#cbd7e4!important;
  background:#ffffff!important;
  color:#40536b!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-action-button:hover{
  border-color:#b8a5ea!important;
  background:#f1ecff!important;
  color:#5333a8!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-action-edit{
  border-color:#c8b7ef!important;
  background:#f5f1ff!important;
  color:#6241b4!important;
}

:root[data-theme="light"] .bookings-premium-page .booking-premium-empty h3{
  color:#26384e!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-premium-empty p{
  color:#667a91!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-empty-eyebrow{
  color:#7047c7!important;
}

:root[data-theme="light"] .bookings-premium-page .booking-registry-pagination{
  border-top-color:#d8e2ec!important;
  background:#f8fafc!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-pagination-meta strong{
  color:#2c4057!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-pagination-meta span{
  color:#6b7f96!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-page-nav,.booking-page-number){
  border-color:#cbd7e4!important;
  background:#ffffff!important;
  color:#465b73!important;
}
:root[data-theme="light"] .bookings-premium-page :is(.booking-page-nav,.booking-page-number):hover{
  border-color:#b9a6e9!important;
  background:#f1ecff!important;
  color:#5635aa!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-page-number.is-current{
  border-color:#a98ce7!important;
  background:#eee8ff!important;
  color:#5433a6!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-page-nav.is-disabled{
  background:#f4f6f9!important;
  color:#8a9caf!important;
}
:root[data-theme="light"] .bookings-premium-page .booking-page-ellipsis{
  color:#71859b!important;
}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.51 — BOOKING CREATE LIGHT MODE POLISH
   Full 7-step booking studio pass + global light search-clear fix.
   Dark mode remains unchanged.
   ========================================================= */

/* Global: the top-search clear X must never keep the dark chip in Light mode. */
:root[data-theme="light"] .global-search-clear{
  background:#ffffff!important;
  border-color:#c8d5e3!important;
  color:#52657d!important;
  box-shadow:0 2px 7px rgba(38,55,80,.05)!important;
}
:root[data-theme="light"] .global-search-clear:hover{
  background:#eef3f8!important;
  border-color:#b6c6d8!important;
  color:#5936aa!important;
}

/* Studio frame / backdrop / header */
:root[data-theme="light"] .booking-studio-body .booking-modal-backdrop{
  background:radial-gradient(circle at 58% 11%,rgba(111,76,196,.08),transparent 31%),linear-gradient(180deg,rgba(233,238,246,.82),rgba(222,230,241,.94))!important;
  backdrop-filter:blur(1px)!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-modal{
  background:#ffffff!important;
  border-color:#cad6e4!important;
  box-shadow:0 28px 72px rgba(45,61,84,.19),0 0 0 1px rgba(117,87,193,.04) inset!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-header{
  background:linear-gradient(180deg,#fbfcfe,#f5f8fc)!important;
  border-bottom-color:#d7e1ec!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-title h1{color:#1f3045!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-title p{color:#687c93!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-icon{
  border-color:#c6b4ef!important;
  background:linear-gradient(145deg,#f2edff,#ebe5ff)!important;
  color:#6944be!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-close{
  background:#ffffff!important;
  border-color:#c7d4e2!important;
  color:#465a72!important;
  box-shadow:0 3px 10px rgba(43,61,86,.05)!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-close:hover{
  background:#f0ebff!important;
  border-color:#b59fe8!important;
  color:#5634aa!important;
}

/* Left 1-7 step rail */
:root[data-theme="light"] .booking-studio-body .booking-studio-steps{
  background:linear-gradient(180deg,#fafbfe,#f5f8fc)!important;
  border-right-color:#d7e1eb!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps:before{
  background:linear-gradient(180deg,#cfd9e5,#e3e9f0)!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step{
  color:#64788f!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step>span{
  background:#ffffff!important;
  border-color:#cbd7e4!important;
  color:#61758d!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step b{color:#42566e!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step small{color:#7b8ea3!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.active{
  background:linear-gradient(135deg,#f1ebff,#f8f5ff)!important;
  border-color:#bda6ef!important;
  box-shadow:inset 3px 0 #8a55ef!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.active>span{
  background:linear-gradient(145deg,#7140df,#914cf7)!important;
  border-color:#9567e8!important;
  color:#ffffff!important;
  box-shadow:0 6px 16px rgba(112,64,223,.18)!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.active b{color:#2b1c53!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.active small{color:#695a8e!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.is-locked,
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step:disabled{opacity:.55!important;filter:none!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.is-locked>span,
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step:disabled>span{
  background:#f3f6f9!important;border-color:#d7e0ea!important;color:#8b9bad!important
}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.is-locked b,
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step:disabled b{color:#71839a!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.is-locked small,
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step:disabled small{color:#96a4b4!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-steps .wizard-step.is-complete:not(.active)>span{
  background:#e8f8f3!important;border-color:#a7dfcd!important;color:#14725a!important
}
:root[data-theme="light"] .booking-studio-body .booking-studio-side-copy{color:#7555c1!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-side-copy small{color:#73869d!important}

/* Center wizard shell / headers / footer */
:root[data-theme="light"] .booking-studio-body .booking-studio-card{
  background:#ffffff!important;
  border-right-color:#d7e1eb!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-card .wizard-head{
  background:#ffffff!important;
  border-bottom-color:#dbe4ed!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-card .wizard-head .eyebrow{color:#7650c8!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-card .wizard-head h2{color:#22344a!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-card .wizard-head p{color:#6e8299!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-scroll{
  background:#ffffff!important;
  scrollbar-color:#b9c7d6 transparent!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-scroll::-webkit-scrollbar-thumb{background:#b9c7d6!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-footer{
  background:#f8fafc!important;
  border-top-color:#d8e2ec!important;
}
:root[data-theme="light"] .booking-studio-body .wizard-inline-message{
  background:#fff1f4!important;border-color:#efbdc9!important;color:#992c49!important
}
:root[data-theme="light"] .booking-studio-body .wizard-note{
  background:#fff9e9!important;border-color:#ead69e!important;color:#705a25!important
}

/* Step 1 — Client & Services */
:root[data-theme="light"] .booking-studio-body .studio-section{
  background:#ffffff!important;
  border-color:#d4dfe9!important;
  box-shadow:0 7px 18px rgba(47,64,87,.035)!important;
}
:root[data-theme="light"] .booking-studio-body .studio-section-title>.ui-icon{color:#7450c4!important}
:root[data-theme="light"] .booking-studio-body .studio-section-title h3{color:#293c53!important}
:root[data-theme="light"] .booking-studio-body .studio-section-copy{color:#71869d!important}
:root[data-theme="light"] .booking-studio-body .studio-inline-link{color:#7047c7!important}
:root[data-theme="light"] .booking-studio-body .studio-inline-action{
  background:#eaf8f4!important;border-color:#a9dfcf!important;color:#146850!important
}
:root[data-theme="light"] .booking-studio-body .studio-search-shell{
  background:#ffffff!important;border-color:#cbd7e4!important;color:#26384e!important
}
:root[data-theme="light"] .booking-studio-body .studio-search-shell .ui-icon{color:#687d94!important}
:root[data-theme="light"] .booking-studio-body .studio-search-shell input{color:#26384e!important}
:root[data-theme="light"] .booking-studio-body .studio-client-results{
  background:#ffffff!important;border-color:#c9d6e3!important;box-shadow:0 18px 42px rgba(43,61,86,.16)!important
}
:root[data-theme="light"] .booking-studio-body .studio-client-result{
  color:#2b3f56!important;border-bottom-color:#e0e7ef!important
}
:root[data-theme="light"] .booking-studio-body .studio-client-result:hover{background:#f2edff!important}
:root[data-theme="light"] .booking-studio-body .studio-client-result small,
:root[data-theme="light"] .booking-studio-body .studio-client-result-empty{color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body .studio-selected-client{
  background:linear-gradient(135deg,#fafbfe,#f4f7fb)!important;border-color:#d1dce8!important
}
:root[data-theme="light"] .booking-studio-body .studio-selected-client-copy h4{color:#25384e!important}
:root[data-theme="light"] .booking-studio-body .studio-selected-client-copy p,
:root[data-theme="light"] .booking-studio-body .studio-selected-empty{color:#6d8197!important}
:root[data-theme="light"] .booking-studio-body .studio-avatar{
  background:linear-gradient(145deg,#efeaff,#e5eef8)!important;border-color:#c1afe9!important;color:#5939a8!important
}
:root[data-theme="light"] .booking-studio-body .studio-people-empty,
:root[data-theme="light"] .booking-studio-body .studio-service-people-empty{
  background:#f8fafc!important;border-color:#cfdbe7!important;color:#6f8399!important
}
:root[data-theme="light"] .booking-studio-body .studio-person-card,
:root[data-theme="light"] .booking-studio-body .studio-service-card,
:root[data-theme="light"] .booking-studio-body .studio-service-people-map{
  background:#ffffff!important;border-color:#d2dde8!important;box-shadow:none!important
}
:root[data-theme="light"] .booking-studio-body .studio-person-card:hover,
:root[data-theme="light"] .booking-studio-body .studio-service-card:hover{background:#f8f6ff!important;border-color:#baa6e8!important}
:root[data-theme="light"] .booking-studio-body .studio-person-card:has(input:checked),
:root[data-theme="light"] .booking-studio-body .studio-service-card:has(input:checked){
  background:linear-gradient(145deg,#f0ebff,#f7f5ff)!important;border-color:#aa8ee7!important;box-shadow:0 0 0 2px rgba(112,71,199,.05)!important
}
:root[data-theme="light"] .booking-studio-body .studio-person-avatar{
  background:#f0ebff!important;border-color:#c9b8ef!important;color:#5c3ba8!important
}
:root[data-theme="light"] .booking-studio-body .studio-person-card:has(input:checked) .studio-person-avatar{
  background:#e7f8f2!important;border-color:#a6ddcc!important;color:#13634e!important
}
:root[data-theme="light"] .booking-studio-body .studio-person-copy b,
:root[data-theme="light"] .booking-studio-body .studio-service-card b,
:root[data-theme="light"] .booking-studio-body .studio-service-person-title b{color:#2a3d54!important}
:root[data-theme="light"] .booking-studio-body .studio-person-copy small,
:root[data-theme="light"] .booking-studio-body .studio-person-copy em,
:root[data-theme="light"] .booking-studio-body .studio-service-card small,
:root[data-theme="light"] .booking-studio-body .studio-service-person-title span{color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body .studio-add-person-form{
  background:#fbfaff!important;border-color:#c9b8ef!important
}
:root[data-theme="light"] .booking-studio-body .studio-add-person-head b{color:#293c53!important}
:root[data-theme="light"] .booking-studio-body .studio-add-person-head span,
:root[data-theme="light"] .booking-studio-body .studio-person-fields label>span{color:#6e8299!important}
:root[data-theme="light"] .booking-studio-body .studio-person-fields label>span em{color:#8b9bad!important}
:root[data-theme="light"] .booking-studio-body .studio-person-fields input,
:root[data-theme="light"] .booking-studio-body .studio-person-fields select{
  background:#ffffff!important;border-color:#ccd8e5!important;color:#26384e!important;color-scheme:light!important
}
:root[data-theme="light"] .booking-studio-body .studio-service-person-chip{
  background:#f5f7fa!important;border-color:#ced9e4!important;color:#53677f!important
}
:root[data-theme="light"] .booking-studio-body .studio-service-person-chip:has(input:checked){
  background:#e8f8f3!important;border-color:#9ed9c6!important;color:#135f4b!important
}
:root[data-theme="light"] .booking-studio-body .studio-special-request-box{
  background:linear-gradient(135deg,#fffdf7,#fffaf0)!important;border-color:#e6d4a8!important
}
:root[data-theme="light"] .booking-studio-body .studio-special-request-head b{color:#4a3d20!important}
:root[data-theme="light"] .booking-studio-body .studio-special-request-head span,
:root[data-theme="light"] .booking-studio-body .studio-special-request-copy>small{color:#7d6f50!important}
:root[data-theme="light"] .booking-studio-body .studio-special-request-copy textarea{
  background:#ffffff!important;border-color:#d7c79e!important;color:#2d3e52!important
}

/* Step 2 — Schedule & Timing */
:root[data-theme="light"] .booking-studio-body .wizard-field label{color:#40546c!important}
:root[data-theme="light"] .booking-studio-body .field-help{color:#6d8197!important}
:root[data-theme="light"] .booking-studio-body .studio-information-card{
  background:#fff8e7!important;border-color:#ead39a!important
}
:root[data-theme="light"] .booking-studio-body .studio-information-card b{color:#6e5420!important}
:root[data-theme="light"] .booking-studio-body .studio-information-card p{color:#7d6b48!important}

/* Step 3 — Therapist assignment */
:root[data-theme="light"] .booking-studio-body .studio-team-summary,
:root[data-theme="light"] .booking-studio-body .recipient-therapist-rule,
:root[data-theme="light"] .booking-studio-body .recipient-shared-assignment{
  background:#f7f9fc!important;border-color:#d1dce7!important;color:#53687f!important
}
:root[data-theme="light"] .booking-studio-body .studio-team-summary span,
:root[data-theme="light"] .booking-studio-body .recipient-team-mode small{color:#6c8198!important}
:root[data-theme="light"] .booking-studio-body .studio-team-summary strong{color:#293c53!important}
:root[data-theme="light"] .booking-studio-body .recipient-team-mode-pill{
  background:#e8f8f3!important;border-color:#a6ddcc!important;color:#12634e!important
}
:root[data-theme="light"] .booking-studio-body .recipient-team-mode-pill.individual{
  background:#f0ebff!important;border-color:#c4b0ee!important;color:#5a39a7!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-empty{
  background:#f8fafc!important;border-color:#cfdbe7!important;color:#70849a!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-section{
  background:#ffffff!important;border-color:#d1dce7!important;box-shadow:0 8px 20px rgba(43,61,86,.04)!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-section.is-shared-locked{
  background:#f4f6f9!important;border-color:#d8e0e9!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-head{border-bottom-color:#dde5ed!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-person-avatar,
:root[data-theme="light"] .booking-studio-body .recipient-therapist-avatar{
  background:#eee8ff!important;border-color:#c4b0ee!important;color:#5b3ba9!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-person b{color:#293c53!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-person small{color:#71869d!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-person-badge{
  background:#f5f7fa!important;border-color:#d0dbe6!important;color:#657a91!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-card,
:root[data-theme="light"] .booking-studio-body .studio-therapist-card{
  background:#ffffff!important;border-color:#d0dbe6!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-card:hover,
:root[data-theme="light"] .booking-studio-body .studio-therapist-card:hover{
  background:#f8f6ff!important;border-color:#baa6e8!important
}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-card:has(input:checked),
:root[data-theme="light"] .booking-studio-body .studio-therapist-card:has(input:checked){
  background:#f0ebff!important;border-color:#a98be8!important;box-shadow:0 0 0 2px rgba(112,71,199,.05)!important
}
:root[data-theme="light"] .booking-studio-body :is(.recipient-therapist-card b,.studio-therapist-card b){color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body :is(.recipient-therapist-card small,.studio-therapist-card small){color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body :is(.recipient-therapist-card em,.studio-therapist-card em,.therapist-staff-house){color:#14715a!important}
:root[data-theme="light"] .booking-studio-body .recipient-shared-assignment b{color:#40546c!important}
:root[data-theme="light"] .booking-studio-body .recipient-shared-assignment small{color:#71859b!important}

/* Step 4 — Location & Pickup / Google Places + map */
:root[data-theme="light"] .booking-studio-body .booking-place-search{
  background:#f8fafc!important;border-color:#d1dce7!important
}
:root[data-theme="light"] .booking-studio-body .booking-place-search>[data-booking-place-host]{
  background:#ffffff!important;border-color:#cbd7e4!important
}
:root[data-theme="light"] .booking-studio-body .booking-place-search gmp-place-autocomplete,
:root[data-theme="light"] .booking-studio-body .booking-place-search .serenova-place-autocomplete{
  background:#ffffff!important;color:#26384e!important;color-scheme:light!important
}
:root[data-theme="light"] .booking-studio-body .map-action-row{
  background:#f8fafc!important;border-color:#d2dce7!important
}
:root[data-theme="light"] .booking-studio-body .map-route-summary{
  background:#f2f5f9!important;border-color:#cfdbe7!important;color:#52677f!important
}
:root[data-theme="light"] .booking-studio-body .booking-map-preview{
  border-color:#cbd7e4!important;background:#e8eef5!important
}
:root[data-theme="light"] .booking-studio-body .map-stage-message{
  background:rgba(255,255,255,.94)!important;border-color:#cbd7e4!important;color:#40536b!important
}
:root[data-theme="light"] .booking-studio-body .map-stage-message b{color:#26384e!important}
:root[data-theme="light"] .booking-studio-body .map-stage-message span{color:#667b92!important}

/* Step 5 — Driver & Drop-off / transport pricing */
:root[data-theme="light"] .booking-studio-body .driver-house-routing-head>span{
  background:#e9f8f4!important;border-color:#a8ddcf!important;color:#146850!important
}
:root[data-theme="light"] .booking-studio-body .studio-driver-card{
  background:#ffffff!important;border-color:#d0dbe6!important
}
:root[data-theme="light"] .booking-studio-body .studio-driver-card:hover{
  background:#f8f6ff!important;border-color:#baa6e8!important
}
:root[data-theme="light"] .booking-studio-body .studio-driver-card:has(input:checked){
  background:#f0ebff!important;border-color:#a98be8!important;box-shadow:0 0 0 2px rgba(112,71,199,.05)!important
}
:root[data-theme="light"] .booking-studio-body .studio-driver-card b{color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body .studio-driver-card small{color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body .driver-staff-house{color:#14715a!important}
:root[data-theme="light"] .booking-studio-body .transport-pricing-intelligence{
  background:#f7fafc!important;border-color:#cdd9e5!important
}
:root[data-theme="light"] .booking-studio-body .transport-pricing-intelligence small{color:#7047c7!important}
:root[data-theme="light"] .booking-studio-body .transport-pricing-intelligence b{color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body .transport-pricing-intelligence div>span{color:#687d94!important}
:root[data-theme="light"] .booking-studio-body .transport-pricing-intelligence>strong{
  background:#e8f8f3!important;border-color:#a5dccb!important;color:#12644f!important
}
:root[data-theme="light"] .booking-studio-body .transport-pricing-intelligence[data-state="warning"]{
  background:#fff8e7!important;border-color:#ead39a!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-card{
  background:#ffffff!important;border-color:#d1dce7!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-head small{color:#7047c7!important}
:root[data-theme="light"] .booking-studio-body .transport-fee-head b{color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body .transport-fee-head>span{color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body .transport-fee-option span{
  background:#f8fafc!important;border-color:#cbd7e4!important;color:#40536b!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-option input:checked+span{
  background:#efe9ff!important;border-color:#a98be8!important;color:#5835aa!important;box-shadow:0 0 0 2px rgba(112,71,199,.05)!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-option.is-waived input:checked+span{
  background:#e8f8f3!important;border-color:#9dd8c5!important;color:#12634e!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-option.is-custom input:checked+span{
  background:#fff7e3!important;border-color:#e3cb8c!important;color:#725317!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-custom{
  background:#fffaf0!important;border-color:#e7d3a5!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-custom>label{color:#493d25!important}
:root[data-theme="light"] .booking-studio-body .transport-fee-custom-input{
  background:#ffffff!important;border-color:#cdbf9e!important
}
:root[data-theme="light"] .booking-studio-body .transport-fee-custom-input>span{color:#6f6250!important}
:root[data-theme="light"] .booking-studio-body .transport-fee-custom-input>input{color:#2d3e52!important}
:root[data-theme="light"] .booking-studio-body .transport-fee-custom>small{color:#7b6d54!important}

/* Step 6 — Review & Save */
:root[data-theme="light"] .booking-studio-body .studio-review-grid .detail-item{
  background:#f8fafc!important;border-color:#d2dde8!important
}
:root[data-theme="light"] .booking-studio-body .studio-review-grid .detail-item small{color:#71859b!important}
:root[data-theme="light"] .booking-studio-body .studio-review-grid .detail-item b{color:#293c53!important}

/* Step 7 — Booking confirmation */
:root[data-theme="light"] .booking-studio-body .booking-confirmation-success{
  background:#eaf8f4!important;border-color:#a6ddcc!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-success h3{color:#21463d!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-success p{color:#607d75!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-card{
  background:#ffffff!important;border-color:#cfdbe7!important;box-shadow:0 12px 30px rgba(43,61,86,.07)!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-card-head{
  background:#f8fafc!important;border-bottom-color:#d9e2ec!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-card-head span:first-child{color:#7047c7!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-card-head b{color:#293c53!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-message{
  background:#ffffff!important;color:#31465e!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-breakdown{
  background:#f8fafc!important;border-color:#d1dce7!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-breakdown-head{
  background:#f1ecff!important;border-bottom-color:#d8cdef!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-breakdown-head span,
:root[data-theme="light"] .booking-studio-body .booking-confirmation-service-line b{color:#293c53!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-breakdown-head small{color:#7047c7!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-service-line span{color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-service-line strong{color:#5c3ba9!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-service-line+.booking-confirmation-service-line{border-top-color:#e0e7ef!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-total{
  background:#eaf8f4!important;border-color:#a5ddcb!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-total span{color:#527268!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-total strong{color:#126a52!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-total-stack>div.grand{border-top-color:#c9e2da!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-actions{
  background:#f8fafc!important;border-top-color:#d8e2ec!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-status-stack>span{color:#687d94!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-future,
:root[data-theme="light"] .booking-studio-body .booking-confirmation-locked{
  background:#f4f0ff!important;border-color:#cdbdf0!important;color:#6749b1!important
}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-future b,
:root[data-theme="light"] .booking-studio-body .booking-confirmation-locked b{color:#3a3154!important}
:root[data-theme="light"] .booking-studio-body .booking-confirmation-future span,
:root[data-theme="light"] .booking-studio-body .booking-confirmation-locked span{color:#6f6684!important}

/* Right Booking Preview — banner stays branded, data card becomes clean Light UI. */
:root[data-theme="light"] .booking-studio-body .booking-studio-preview{
  background:#f7f9fc!important;
}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-body{
  background:#ffffff!important;border-color:#d1dce7!important
}
:root[data-theme="light"] .booking-studio-body .studio-preview-heading h3{color:#2a3d54!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-row{
  border-bottom-color:#dce4ed!important
}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-row small{color:#71859b!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-row b{color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-alert{
  background:#f1ecff!important;border-color:#c8b6ef!important;color:#5940a2!important
}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-alert b{color:#3c2b6e!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-preview .preview-alert span{color:#6f618d!important}

/* Rebook banner / SMS modal are part of the booking-create workflow too. */
:root[data-theme="light"] .booking-studio-body .booking-rebook-studio-banner{
  background:#f1ecff!important;border-color:#c8b7ef!important;color:#4e3694!important
}
:root[data-theme="light"] .booking-studio-body .booking-rebook-studio-banner b{color:#352654!important}
:root[data-theme="light"] .booking-studio-body .booking-rebook-studio-banner div>span{color:#6f618d!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-modal{
  background:#ffffff!important;border-color:#cbd7e4!important;box-shadow:0 30px 80px rgba(43,61,86,.24)!important
}
:root[data-theme="light"] .booking-studio-body .booking-sms-modal>header{
  background:#f8fafc!important;border-bottom-color:#d8e2ec!important
}
:root[data-theme="light"] .booking-studio-body .booking-sms-modal header h2{color:#26384e!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-modal header p{color:#6c8198!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-recipient,
:root[data-theme="light"] .booking-studio-body .booking-sms-modal-status{
  background:#f7f9fc!important;border-color:#d1dce7!important;color:#687d94!important
}
:root[data-theme="light"] .booking-studio-body .booking-sms-recipient b{color:#2a3d54!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-recipient small{color:#71859b!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-message-field>span{color:#40546c!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-message-field textarea{
  background:#ffffff!important;border-color:#cbd7e4!important;color:#2a3d54!important
}
:root[data-theme="light"] .booking-studio-body .booking-sms-message-field small{color:#71859b!important}
:root[data-theme="light"] .booking-studio-body .booking-sms-modal>footer{
  background:#f8fafc!important;border-top-color:#d8e2ec!important
}

/* Stage 1F.4.8.6.52 / v1.11.56 — Booking Create Step 1 participant/service Light-mode finish */
:root[data-theme="light"] .booking-studio-body .booking-participant-card{
  background:#ffffff!important;
  border-color:#d3dde8!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-head{
  background:linear-gradient(90deg,#f7f3ff,#f8fbfe)!important;
  border-bottom-color:#dfe6ee!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-avatar{
  background:linear-gradient(145deg,#eee8ff,#e8f0fb)!important;
  border-color:#c6b5ec!important;
  color:#5e3ca9!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-identity small{
  color:#7354bd!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-identity b{
  color:#26394f!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-identity span{
  color:#6d8198!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service-title b{
  color:#2a3d54!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service-title span{
  color:#71859b!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service{
  background:linear-gradient(145deg,#ffffff,#f8fafc)!important;
  border-color:#d0dce7!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service:hover{
  background:#f8f5ff!important;
  border-color:#b9a5e8!important;
  box-shadow:0 8px 20px rgba(59,42,104,.06)!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service:has(input:checked){
  background:radial-gradient(circle at 20% 10%,rgba(123,67,238,.10),transparent 40%),linear-gradient(145deg,#f1edff,#fbfaff)!important;
  border-color:#8f67e8!important;
  box-shadow:0 0 0 2px rgba(124,60,255,.06)!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service b{
  color:#293b52!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service small{
  color:#657b92!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service em{
  color:#6c55a5!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service .studio-service-icon{
  background:linear-gradient(145deg,#e8f8f3,#f0ebff)!important;
  border-color:#b8ded2!important;
  color:#267c68!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service .studio-service-check{
  background:#ffffff!important;
  border-color:#c7d4e1!important;
  color:#667c92!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-service:has(input:checked) .studio-service-check{
  background:#7a43ed!important;
  border-color:#8f62ef!important;
  color:#ffffff!important;
}
:root[data-theme="light"] .booking-studio-body .booking-participant-remove{
  background:#fff5f7!important;
  border-color:#f2b9c7!important;
  color:#a83d5d!important;
}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.53 / v1.11.57
   THERAPIST MODULE LIGHT MODE POLISH
   Roster + View + Edit. Dark mode remains unchanged.
   ========================================================= */

/* Therapist roster — convert the directory workspace and profile cards into true Light surfaces. */
:root[data-theme="light"] .therapist-roster-page .therapist-roster-card{
  background:linear-gradient(180deg,#ffffff,#f8fbfe)!important;
  border-color:#d1dce8!important;
  box-shadow:0 14px 34px rgba(35,54,79,.08)!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-roster-toolbar{
  background:linear-gradient(180deg,#fbfcfe,#f4f8fc)!important;
  border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-roster-eyebrow{color:#7048c5!important}
:root[data-theme="light"] .therapist-roster-page .therapist-roster-toolbar h2{color:#25384e!important}
:root[data-theme="light"] .therapist-roster-page .therapist-profile-card{
  background:linear-gradient(150deg,#ffffff,#f8fbfe)!important;
  border-color:#d2dce7!important;
  box-shadow:0 8px 20px rgba(39,57,82,.055)!important;
  color:#2a3c52!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-profile-card:hover{
  border-color:#b8c7d7!important;
  box-shadow:0 13px 28px rgba(38,55,80,.09)!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-card-photo{
  background:linear-gradient(145deg,#eee9ff,#e9f1fb)!important;
  border-color:#c3b5e7!important;
  color:#5a3d9d!important;
  box-shadow:0 7px 18px rgba(56,44,94,.08)!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-photo-state{border-color:#ffffff!important}
:root[data-theme="light"] .therapist-roster-page .therapist-card-name-line h3{color:#26384e!important}
:root[data-theme="light"] .therapist-roster-page .therapist-card-identity>p{color:#6b7f96!important}
:root[data-theme="light"] .therapist-roster-page .therapist-card-contact{color:#5f748c!important}
:root[data-theme="light"] .therapist-roster-page .therapist-card-section{border-top-color:#dde5ee!important}
:root[data-theme="light"] .therapist-roster-page .therapist-card-section>small{color:#6b7f96!important}
:root[data-theme="light"] .therapist-roster-page .therapist-card-section .skill-tag{
  background:#f2f5f9!important;
  border-color:#d0dbe6!important;
  color:#40546c!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-location-line p{color:#51667d!important}
:root[data-theme="light"] .therapist-roster-page .therapist-revenue-strip{
  background:#f8fafc!important;
  border-color:#d5dfe9!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-revenue-strip>div+div{border-color:#dbe4ed!important}
:root[data-theme="light"] .therapist-roster-page .therapist-revenue-strip small{color:#6d8197!important}
:root[data-theme="light"] .therapist-roster-page .therapist-revenue-strip b{color:#293c52!important}
:root[data-theme="light"] .therapist-roster-page .therapist-activity-strip{
  background:#f8fafc!important;
  border-color:#d4dee8!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-activity-strip.has-activity{
  background:linear-gradient(135deg,#f4efff,#fbfcfe)!important;
  border-color:#c7b5ef!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-activity-strip small{color:#6b8096!important}
:root[data-theme="light"] .therapist-roster-page .therapist-activity-strip b{color:#2b3e55!important}
:root[data-theme="light"] .therapist-roster-page .therapist-activity-strip span:not(.therapist-activity-icon){color:#6d8197!important}
:root[data-theme="light"] .therapist-roster-page .therapist-activity-strip>a{
  background:#f0ebff!important;
  color:#6d48bd!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-card-view{
  background:#ffffff!important;
  border-color:#c6d3df!important;
  color:#40556d!important;
}
:root[data-theme="light"] .therapist-roster-page .therapist-card-view:hover{
  background:#f0ebff!important;
  border-color:#b7a2e7!important;
  color:#5634a8!important;
}

/* Therapist profile view — hero, KPI strip, detail cards and live activity all follow Light mode. */
:root[data-theme="light"] .premium-therapist-view .premium-therapist-hero{
  background:radial-gradient(circle at 91% 6%,rgba(124,60,255,.09),transparent 31%),linear-gradient(145deg,#ffffff,#f4f8fc)!important;
  border-color:#d1dce8!important;
  box-shadow:0 12px 28px rgba(38,55,80,.06)!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-hero:after{border-color:rgba(124,60,255,.12)!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-avatar{
  background:linear-gradient(145deg,#eee8ff,#e7f0fb)!important;
  border-color:#c2b2e8!important;
  color:#5b3da3!important;
  box-shadow:0 10px 26px rgba(61,46,100,.10)!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-eyebrow>span:first-child{color:#7048c5!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-identity h1{color:#1f3045!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-contact span{color:#60758c!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-contact .ui-icon{color:#6d8198!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-metrics>article{
  background:linear-gradient(145deg,#ffffff,#f8fafc)!important;
  border-color:#d2dce7!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-metrics small{color:#6d8197!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-metrics b{color:#283b52!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-metrics span:not(.premium-therapist-metric-icon){color:#6c8096!important}
:root[data-theme="light"] .premium-therapist-view :is(.premium-therapist-card,.premium-therapist-protection-card,.premium-therapist-activity-card){
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  border-color:#d2dce7!important;
  color:#2b3d53!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-card-head{border-bottom-color:#dbe4ed!important}
:root[data-theme="light"] .premium-therapist-view :is(.premium-therapist-card-head>div>span,.premium-therapist-activity-head>div>span){color:#7048c5!important}
:root[data-theme="light"] .premium-therapist-view :is(.premium-therapist-card-head h2,.premium-therapist-activity-head h2){color:#283b52!important}
:root[data-theme="light"] .premium-therapist-view :is(.premium-therapist-card-head p,.premium-therapist-activity-head p){color:#687d94!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-info-grid>article{
  background:#f8fafc!important;
  border-color:#d6e0ea!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-info-grid>article>span{
  background:#f2edff!important;
  border-color:#c7b6ed!important;
  color:#6845b4!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-info-grid small{color:#6b7f95!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-info-grid b{color:#2b3e55!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-skills span{
  background:#f4f6f9!important;
  border-color:#d2dce7!important;
  color:#40556d!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-location-feature{
  background:linear-gradient(145deg,#f5f1ff,#fbfcfe)!important;
  border-color:#c8b7ef!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-location-feature small{color:#6c8096!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-location-feature b{color:#2b3e55!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-location-feature>div>span{color:#6c8197!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-notes{
  background:#f8fafc!important;
  border-color:#d6e0ea!important;
  color:#40556d!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-head{border-bottom-color:#dbe4ed!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .activity-hero{
  background:#f8fafc!important;
  border-color:#d6e0ea!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .activity-hero h3{color:#283b52!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .activity-hero p{color:#657a91!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .activity-timing{
  background:#eaf9f5!important;
  border-color:#b9e3d7!important;
  color:#245e50!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .detail-block{
  background:#ffffff!important;
  border-color:#d6e0ea!important;
}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .detail-block small{color:#6b7f95!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-activity-body .detail-block :is(b,p,span){color:#40556d!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-protection-card small{color:#6b8096!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-protection-card b{color:#2b3e55!important}
:root[data-theme="light"] .premium-therapist-view .premium-therapist-protection-card p{color:#657a91!important}

/* Therapist editor — photo editor, Mobile Preparation and the location command bar become Light-aware. */
:root[data-theme="light"] .therapist-editor-page .therapist-photo-editor{
  background:linear-gradient(145deg,#f8f5ff,#f8fbfe)!important;
  border-color:#d0dbe6!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .therapist-editor-page .therapist-photo-preview{
  background:linear-gradient(145deg,#eee8ff,#e9f1fb)!important;
  border-color:#c1b1e7!important;
  color:#5d3fa5!important;
}
:root[data-theme="light"] .therapist-editor-page .therapist-photo-camera{
  background:#ffffff!important;
  border-color:#c4b4e8!important;
  color:#6546b2!important;
  box-shadow:0 6px 16px rgba(55,43,91,.10)!important;
}
:root[data-theme="light"] .therapist-editor-page .therapist-photo-eyebrow{color:#7048c5!important}
:root[data-theme="light"] .therapist-editor-page .therapist-photo-copy h3{color:#283b52!important}
:root[data-theme="light"] .therapist-editor-page .therapist-photo-copy>p{color:#657a91!important}
:root[data-theme="light"] .therapist-editor-page .premium-file-control{background:#ffffff!important;border-color:#cbd7e4!important}
:root[data-theme="light"] .therapist-editor-page .premium-file-button{
  background:#f1f4f8!important;
  border-right-color:#d4dee8!important;
  color:#40556d!important;
}
:root[data-theme="light"] .therapist-editor-page .premium-file-name{color:#6a7f96!important}
:root[data-theme="light"] .therapist-editor-page .therapist-photo-meta span{
  background:#f4f7fa!important;
  border-color:#d6e0ea!important;
  color:#667b92!important;
}
:root[data-theme="light"] .therapist-editor-page .therapist-prep-portrait{
  background:linear-gradient(135deg,#f2edff,#f8fbfe)!important;
  border-color:#cbbbec!important;
}
:root[data-theme="light"] .therapist-editor-page .therapist-prep-mini-photo{
  background:linear-gradient(145deg,#eee8ff,#e9f1fb)!important;
  border-color:#c4b4e8!important;
  color:#5d3fa5!important;
}
:root[data-theme="light"] .therapist-editor-page .therapist-prep-portrait small{color:#6b7f95!important}
:root[data-theme="light"] .therapist-editor-page .therapist-prep-portrait b{color:#293c52!important}
:root[data-theme="light"] .therapist-editor-page .location-editor{
  background:#ffffff!important;
  border-color:#cbd7e4!important;
}
:root[data-theme="light"] .therapist-editor-page .location-editor-top{
  background:linear-gradient(180deg,#f8fafc,#f3f7fb)!important;
  border-bottom-color:#d5dfe9!important;
}
:root[data-theme="light"] .therapist-editor-page .location-place-host{
  background:#ffffff!important;
  border-color:#c8d5e2!important;
  box-shadow:inset 0 1px rgba(255,255,255,.9)!important;
}
:root[data-theme="light"] .therapist-editor-page .location-place-host:focus-within{
  border-color:#9b79dc!important;
  box-shadow:0 0 0 3px rgba(124,86,217,.08)!important;
}
:root[data-theme="light"] .therapist-editor-page :is(.serenova-place-autocomplete,gmp-place-autocomplete.serenova-place-autocomplete){
  background:#ffffff!important;
  color:#2a3d54!important;
  color-scheme:light!important;
  --gmpx-color-surface:#ffffff;
  --gmpx-color-on-surface:#2a3d54;
}
:root[data-theme="light"] .therapist-editor-page .location-editor-top .map-control-btn{
  background:#ffffff!important;
  border-color:#c8d5e2!important;
  color:#40556d!important;
  box-shadow:0 3px 10px rgba(40,58,84,.05)!important;
}
:root[data-theme="light"] .therapist-editor-page .location-editor-top .map-control-btn:hover{
  background:#f0ebff!important;
  border-color:#b7a2e7!important;
  color:#5634a8!important;
}
:root[data-theme="light"] .therapist-editor-page .location-editor-foot{
  background:#f7f9fc!important;
  border-top-color:#d5dfe9!important;
}
:root[data-theme="light"] .therapist-editor-page .location-editor-foot code{color:#5f748c!important}


/* =========================================================
   SERENOVA STAGE 1F.4.8.6.54 / v1.11.58
   DRIVER MODULE LIGHT MODE POLISH
   Roster + View + Edit. Dark mode remains unchanged.
   ========================================================= */

/* Driver roster — fleet directory, profile cards, vehicle/base/activity and actions. */
:root[data-theme="light"] .drivers-premium-page .driver-directory-card{
  background:linear-gradient(180deg,#ffffff,#f8fbfe)!important;
  border-color:#d1dce8!important;
  box-shadow:0 14px 34px rgba(35,54,79,.08)!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-directory-head{
  background:linear-gradient(180deg,#fbfcfe,#f4f8fc)!important;
  border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-directory-head>div:first-child>span{color:#5c78c9!important}
:root[data-theme="light"] .drivers-premium-page .driver-directory-head h2{color:#25384e!important}
:root[data-theme="light"] .drivers-premium-page .driver-directory-head p{color:#6b7f96!important}
:root[data-theme="light"] .drivers-premium-page .driver-directory-state{
  background:#e8faf5!important;border-color:#a8dfd0!important;color:#12644e!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-toolbar{border-bottom-color:#d9e3ed!important}
:root[data-theme="light"] .drivers-premium-page .driver-profile-card{
  background:linear-gradient(150deg,#ffffff,#f8fbfe)!important;
  border-color:#d2dce7!important;
  box-shadow:0 8px 20px rgba(39,57,82,.055)!important;
  color:#2a3c52!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-profile-card:hover{
  border-color:#b8c7d7!important;
  box-shadow:0 13px 28px rgba(38,55,80,.09)!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-card-avatar{
  background:linear-gradient(145deg,#eaf4ff,#edf1ff)!important;
  border-color:#abc9e3!important;
  color:#245b89!important;
  box-shadow:0 7px 18px rgba(42,83,119,.08)!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-status-state{border-color:#ffffff!important}
:root[data-theme="light"] .drivers-premium-page .driver-card-name-line h3{color:#26384e!important}
:root[data-theme="light"] .drivers-premium-page .driver-card-identity>p{color:#6b7f96!important}
:root[data-theme="light"] .drivers-premium-page .driver-card-contact{color:#5f748c!important}
:root[data-theme="light"] .drivers-premium-page .driver-card-contact .ui-icon{color:#4c9ad0!important}
:root[data-theme="light"] .drivers-premium-page .driver-card-section{border-top-color:#dde5ee!important}
:root[data-theme="light"] .drivers-premium-page .driver-card-section>small{color:#6b7f96!important}
:root[data-theme="light"] .drivers-premium-page .driver-vehicle-panel{
  background:#f8fafc!important;
  border-color:#d5dfe9!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-vehicle-icon{
  background:#eaf5ff!important;border-color:#b9d7ed!important;color:#2d7eb6!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-vehicle-panel b{color:#2b3e55!important}
:root[data-theme="light"] .drivers-premium-page .driver-vehicle-panel span{color:#6d8197!important}
:root[data-theme="light"] .drivers-premium-page .driver-vehicle-panel em{
  background:#ffffff!important;border-color:#ccd8e4!important;color:#5f748b!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-vehicle-panel em.has-plate{
  background:#eef7ff!important;border-color:#b7d5ea!important;color:#286b98!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-location-section p{color:#52667e!important}
:root[data-theme="light"] .drivers-premium-page .driver-activity-strip{
  background:#f8fafc!important;
  border-color:#d4dee8!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-activity-strip.has-pickup{
  background:linear-gradient(135deg,#eef6ff,#fbfcfe)!important;
  border-color:#b9d5ec!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-activity-strip small{color:#6b8096!important}
:root[data-theme="light"] .drivers-premium-page .driver-activity-strip b{color:#2b3e55!important}
:root[data-theme="light"] .drivers-premium-page .driver-activity-strip span:not(.driver-activity-icon){color:#6d8197!important}
:root[data-theme="light"] .drivers-premium-page .driver-pickup-time b{color:#315f87!important}
:root[data-theme="light"] .drivers-premium-page .driver-activity-strip>a{
  background:#eaf4ff!important;color:#2c6f9d!important;border-color:#bdd6e9!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-card-view{
  background:#ffffff!important;border-color:#c6d3df!important;color:#40556d!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-card-view:hover{
  background:#edf6ff!important;border-color:#9ec5e0!important;color:#235f8c!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-icon-action{
  background:#ffffff!important;border-color:#c7d4e1!important;color:#435970!important;
}
:root[data-theme="light"] .drivers-premium-page .driver-icon-action:hover{
  background:#edf6ff!important;border-color:#a7c7de!important;color:#2b6d9a!important;
}

/* Driver profile view — hero, KPIs, fleet identity, GPS/base and pickup control. */
:root[data-theme="light"] .premium-driver-page .premium-driver-hero{
  background:radial-gradient(circle at 91% 6%,rgba(70,145,210,.10),transparent 31%),linear-gradient(145deg,#ffffff,#f4f8fc)!important;
  border-color:#d1dce8!important;
  box-shadow:0 12px 28px rgba(38,55,80,.06)!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-hero:after{border-color:rgba(84,126,173,.14)!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-avatar{
  background:linear-gradient(145deg,#e9f4ff,#edf0ff)!important;
  border-color:#afc9e0!important;
  color:#2e6795!important;
  box-shadow:0 10px 26px rgba(42,76,108,.10)!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-identity p{color:#5e77c2!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-identity h1{color:#1f3045!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-subline>span:not(.status-pill){color:#60758c!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-subline .ui-icon{color:#6d8198!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-metrics>article{
  background:linear-gradient(145deg,#ffffff,#f8fafc)!important;
  border-color:#d2dce7!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-metrics small{color:#6d8197!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-metrics b{color:#283b52!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-metrics span:not(.premium-driver-metric-icon){color:#6c8096!important}
:root[data-theme="light"] .premium-driver-page :is(.premium-driver-card,.premium-pickup-card,.premium-driver-security-card){
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  border-color:#d2dce7!important;
  color:#2b3d53!important;
}
:root[data-theme="light"] .premium-driver-page :is(.premium-driver-card-head,.premium-pickup-card>header){border-bottom-color:#dbe4ed!important}
:root[data-theme="light"] .premium-driver-page :is(.premium-driver-card-head>div>span,.premium-pickup-card>header>div>span){color:#5f78c4!important}
:root[data-theme="light"] .premium-driver-page :is(.premium-driver-card-head h2,.premium-pickup-card h2){color:#283b52!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-card-head p{color:#687d94!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-code{
  background:#eef4fa!important;border-color:#c8d7e5!important;color:#49627d!important;
}
:root[data-theme="light"] .premium-driver-page .premium-location-state{
  background:#eef4fa!important;border-color:#c8d7e5!important;color:#49627d!important;
}
:root[data-theme="light"] .premium-driver-page .premium-location-state.verified{
  background:#e7f8f2!important;border-color:#a7dfcd!important;color:#12644e!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-info-grid>article{
  background:#f8fafc!important;border-color:#d6e0ea!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-info-grid>article>span{
  background:#edf5fc!important;border-color:#bed4e6!important;color:#397ca9!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-info-grid small{color:#6b7f95!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-info-grid b{color:#2b3e55!important}
:root[data-theme="light"] .premium-driver-page .premium-location-feature{
  background:linear-gradient(145deg,#edf6ff,#fbfcfe)!important;
  border-color:#bad4e7!important;
}
:root[data-theme="light"] .premium-driver-page .premium-location-icon{
  background:#eaf4ff!important;border-color:#b8d4e8!important;color:#3379aa!important;
}
:root[data-theme="light"] .premium-driver-page .premium-location-feature small{color:#6c8096!important}
:root[data-theme="light"] .premium-driver-page .premium-location-feature b{color:#2b3e55!important}
:root[data-theme="light"] .premium-driver-page .premium-location-feature>div>span{color:#6c8197!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-notes{
  background:#f8fafc!important;border-color:#d6e0ea!important;color:#40556d!important;
}
:root[data-theme="light"] .premium-driver-page .premium-pickup-empty>span{
  background:#edf5fc!important;border-color:#bed4e6!important;color:#397ca9!important;
}
:root[data-theme="light"] .premium-driver-page .premium-pickup-empty h3{color:#283b52!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-empty p{color:#657a91!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-client{
  background:linear-gradient(135deg,#f2efff,#f8fbfe)!important;
  border-color:#cbbbec!important;
}
:root[data-theme="light"] .premium-driver-page .premium-pickup-avatar{
  background:#ede7ff!important;border-color:#c2b1e8!important;color:#5d3fa5!important;
}
:root[data-theme="light"] .premium-driver-page .premium-pickup-client small{color:#6b7f95!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-client b{color:#293c52!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-client>div>span{color:#6d8197!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-detail{border-bottom-color:#dbe4ed!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-detail>span{
  background:#f4f7fa!important;border-color:#ccd8e4!important;color:#526a82!important;
}
:root[data-theme="light"] .premium-driver-page .premium-pickup-detail small{color:#6b7f95!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-detail b{color:#2b3e55!important}
:root[data-theme="light"] .premium-driver-page .premium-pickup-open{
  background:linear-gradient(135deg,#eee8ff,#f7f4ff)!important;
  border-color:#bda9ee!important;color:#5634aa!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-security-card small{color:#6b8096!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-security-card b{color:#2b3e55!important}
:root[data-theme="light"] .premium-driver-page .premium-driver-security-card p{color:#657a91!important}

/* Driver editor — registry form, mobile preparation and base/depot map command surface. */
:root[data-theme="light"] .driver-editor-page .form-card,
:root[data-theme="light"] .driver-editor-page .detail-card{
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  border-color:#d2dce7!important;
  box-shadow:0 10px 26px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .driver-editor-page .form-card-head,
:root[data-theme="light"] .driver-editor-page .detail-card-head{border-color:#dbe4ed!important}
:root[data-theme="light"] .driver-editor-page .detail-block{
  background:#f8fafc!important;border-color:#d6e0ea!important;color:#40556d!important;
}
:root[data-theme="light"] .driver-editor-page .detail-block small{color:#6b7f95!important}
:root[data-theme="light"] .driver-editor-page .detail-block b{color:#2b3e55!important}
:root[data-theme="light"] .driver-editor-page .detail-block p{color:#657a91!important}
:root[data-theme="light"] .driver-editor-page .staff-house-assignment-note{color:#6d8197!important}
:root[data-theme="light"] .driver-editor-page .location-editor{
  background:#ffffff!important;border-color:#cbd7e4!important;
}
:root[data-theme="light"] .driver-editor-page .location-editor-top{
  background:linear-gradient(180deg,#f8fafc,#f3f7fb)!important;
  border-bottom-color:#d5dfe9!important;
}
:root[data-theme="light"] .driver-editor-page .location-place-host{
  background:#ffffff!important;border-color:#c8d5e2!important;
  box-shadow:inset 0 1px rgba(255,255,255,.9)!important;
}
:root[data-theme="light"] .driver-editor-page .location-place-host:focus-within{
  border-color:#78a9cf!important;box-shadow:0 0 0 3px rgba(68,136,187,.08)!important;
}
:root[data-theme="light"] .driver-editor-page :is(.serenova-place-autocomplete,gmp-place-autocomplete.serenova-place-autocomplete){
  background:#ffffff!important;color:#2a3d54!important;color-scheme:light!important;
  --gmpx-color-surface:#ffffff;
  --gmpx-color-on-surface:#2a3d54;
}
:root[data-theme="light"] .driver-editor-page .location-editor-top .map-control-btn{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#40556d!important;
  box-shadow:0 3px 10px rgba(40,58,84,.05)!important;
}
:root[data-theme="light"] .driver-editor-page .location-editor-top .map-control-btn:hover{
  background:#edf6ff!important;border-color:#a7c9e0!important;color:#245f8c!important;
}
:root[data-theme="light"] .driver-editor-page .location-editor-foot{
  background:#f7f9fc!important;border-top-color:#d5dfe9!important;
}
:root[data-theme="light"] .driver-editor-page .location-editor-foot code{color:#5f748c!important}
:root[data-theme="light"] .driver-editor-page .location-status{
  background:#eef4fa!important;border-color:#c8d7e5!important;color:#4d637b!important;
}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.55 / v1.11.59
   OPERATIONS MODULES LIGHT MODE POLISH
   Driver KPI icon finish + Staff Houses + Clients + Services +
   Notifications + Messages. Dark mode remains unchanged.
   ========================================================= */

/* Driver View — finish the two default dark KPI icon tiles called out in Light mode. */
:root[data-theme="light"] .premium-driver-page .premium-driver-metric-icon.status{
  background:#e9f8f4!important;
  border-color:#afe2d4!important;
  color:#16866c!important;
}
:root[data-theme="light"] .premium-driver-page .premium-driver-metric-icon.vehicle{
  background:#f1edff!important;
  border-color:#cbbcf0!important;
  color:#6543b1!important;
}

/* ---------------------------------------------------------
   Staff Houses — registry + editor
   --------------------------------------------------------- */
:root[data-theme="light"] .staff-houses-page .staff-house-map-card,
:root[data-theme="light"] .staff-houses-page .staff-house-card{
  background:linear-gradient(180deg,#ffffff,#f8fbfe)!important;
  border-color:#d1dce7!important;
  box-shadow:0 12px 30px rgba(37,55,79,.06)!important;
}
:root[data-theme="light"] .staff-houses-page .staff-house-section-head{
  background:linear-gradient(180deg,#fbfcfe,#f5f8fb)!important;
  border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .staff-houses-page .staff-house-map-placeholder{
  background:#f5f8fb!important;color:#657a91!important;
}
:root[data-theme="light"] .staff-houses-page .staff-house-card-icon{
  background:#f1edff!important;border-color:#cbbcf0!important;color:#6745b4!important;
}
:root[data-theme="light"] .staff-houses-page .staff-house-card-head small{color:#6c8096!important}
:root[data-theme="light"] .staff-houses-page .staff-house-card-head h3{color:#283b52!important}
:root[data-theme="light"] .staff-houses-page .staff-house-card-head span{color:#687d94!important}
:root[data-theme="light"] .staff-houses-page .staff-house-address{color:#51667e!important}
:root[data-theme="light"] .staff-houses-page .staff-house-counts{
  border-top-color:#dbe4ed!important;border-bottom-color:#dbe4ed!important;
}
:root[data-theme="light"] .staff-houses-page .staff-house-counts div+div{border-left-color:#dbe4ed!important}
:root[data-theme="light"] .staff-houses-page .staff-house-counts b{color:#283b52!important}
:root[data-theme="light"] .staff-houses-page .staff-house-counts small{color:#6b7f95!important}
:root[data-theme="light"] .staff-houses-page .staff-house-card.is-inactive{opacity:.76}
:root[data-theme="light"] .staff-houses-page .empty-state{
  background:#fbfcfe!important;border-color:#cbd7e4!important;color:#687c93!important;
}

:root[data-theme="light"] .staff-house-editor-page .form-card,
:root[data-theme="light"] .staff-house-editor-page .detail-card{
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  border-color:#d2dce7!important;
  box-shadow:0 10px 26px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .staff-house-editor-page :is(.form-card-head,.detail-card-head){border-color:#dbe4ed!important}
:root[data-theme="light"] .staff-house-editor-page .detail-block{
  background:#f8fafc!important;border-color:#d6e0ea!important;color:#40556d!important;
}
:root[data-theme="light"] .staff-house-editor-page .detail-block small{color:#6b7f95!important}
:root[data-theme="light"] .staff-house-editor-page .detail-block :is(b,p){color:#40556d!important}
:root[data-theme="light"] .staff-house-editor-page .staff-house-scope .check-field{color:#40546c!important}
:root[data-theme="light"] .staff-house-editor-page .location-editor{
  background:#ffffff!important;border-color:#cbd7e4!important;
}
:root[data-theme="light"] .staff-house-editor-page .location-editor-top{
  background:linear-gradient(180deg,#f8fafc,#f3f7fb)!important;border-bottom-color:#d5dfe9!important;
}
:root[data-theme="light"] .staff-house-editor-page .location-place-host{
  background:#ffffff!important;border-color:#c8d5e2!important;
}
:root[data-theme="light"] .staff-house-editor-page .location-place-host:focus-within{
  border-color:#9b79dc!important;box-shadow:0 0 0 3px rgba(124,86,217,.08)!important;
}
:root[data-theme="light"] .staff-house-editor-page :is(.serenova-place-autocomplete,gmp-place-autocomplete.serenova-place-autocomplete){
  background:#ffffff!important;color:#2a3d54!important;color-scheme:light!important;
  --gmpx-color-surface:#ffffff;--gmpx-color-on-surface:#2a3d54;
}
:root[data-theme="light"] .staff-house-editor-page .location-editor-top .map-control-btn{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#40556d!important;
}
:root[data-theme="light"] .staff-house-editor-page .location-editor-top .map-control-btn:hover{
  background:#f0ebff!important;border-color:#b7a2e7!important;color:#5634a8!important;
}
:root[data-theme="light"] .staff-house-editor-page .location-editor-foot{
  background:#f7f9fc!important;border-top-color:#d5dfe9!important;
}
:root[data-theme="light"] .staff-house-editor-page .location-editor-foot code{color:#5f748c!important}
:root[data-theme="light"] .staff-house-editor-page .location-status{
  background:#eef4fa!important;border-color:#c8d7e5!important;color:#4d637b!important;
}

/* ---------------------------------------------------------
   Clients — registry + editor
   --------------------------------------------------------- */
:root[data-theme="light"] .clients-premium-page .client-directory-card{
  background:linear-gradient(180deg,#ffffff,#f8fbfe)!important;
  border-color:#d1dce7!important;
  box-shadow:0 14px 34px rgba(35,54,79,.07)!important;
}
:root[data-theme="light"] .clients-premium-page .client-directory-head{
  background:linear-gradient(180deg,#fbfcfe,#f4f8fc)!important;border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .clients-premium-page .client-directory-head>div:first-child>span{color:#7048c5!important}
:root[data-theme="light"] .clients-premium-page .client-directory-head h2{color:#25384e!important}
:root[data-theme="light"] .clients-premium-page .client-directory-head p{color:#6b7f96!important}
:root[data-theme="light"] .clients-premium-page .client-toolbar{border-bottom-color:#d9e3ed!important}
:root[data-theme="light"] .clients-premium-page .client-profile-card{
  background:linear-gradient(150deg,#ffffff,#f8fbfe)!important;
  border-color:#d2dce7!important;
  box-shadow:0 8px 20px rgba(39,57,82,.055)!important;
  color:#2a3c52!important;
}
:root[data-theme="light"] .clients-premium-page .client-profile-card:hover{
  border-color:#b8c7d7!important;box-shadow:0 13px 28px rgba(38,55,80,.09)!important;
}
:root[data-theme="light"] .clients-premium-page .client-profile-card.is-vip{
  background:linear-gradient(150deg,#fffdf7,#f8fbfe)!important;border-color:#e3cf98!important;
}
:root[data-theme="light"] .clients-premium-page .client-card-avatar{
  background:linear-gradient(145deg,#eee9ff,#e9f1fb)!important;border-color:#c3b5e7!important;color:#5a3d9d!important;
  box-shadow:0 7px 18px rgba(56,44,94,.08)!important;
}
:root[data-theme="light"] .clients-premium-page .client-vip-crown{border-color:#ffffff!important;background:#fff7df!important;color:#9a6a12!important}
:root[data-theme="light"] .clients-premium-page .client-card-name-line h3{color:#26384e!important}
:root[data-theme="light"] .clients-premium-page .client-card-identity>p{color:#6b7f96!important}
:root[data-theme="light"] .clients-premium-page .client-card-contact{color:#5f748c!important}
:root[data-theme="light"] .clients-premium-page .client-card-section{border-top-color:#dde5ee!important}
:root[data-theme="light"] .clients-premium-page .client-section-title>small{color:#6b7f96!important}
:root[data-theme="light"] .clients-premium-page .client-location-section p{color:#51667d!important}
:root[data-theme="light"] .clients-premium-page .client-card-metrics{
  border-top-color:#dde5ee!important;border-bottom-color:#dde5ee!important;
}
:root[data-theme="light"] .clients-premium-page .client-card-metrics>div+div{border-left-color:#dde5ee!important}
:root[data-theme="light"] .clients-premium-page .client-card-metrics span{background:#f1edff!important;color:#6845b4!important}
:root[data-theme="light"] .clients-premium-page .client-card-metrics strong{color:#293c52!important}
:root[data-theme="light"] .clients-premium-page .client-card-metrics small{color:#6d8197!important}
:root[data-theme="light"] .clients-premium-page .client-booking-strip{
  background:#f8fafc!important;border-color:#d4dee8!important;color:#40556d!important;
}
:root[data-theme="light"] .clients-premium-page .client-booking-strip.state-live{
  background:linear-gradient(135deg,#eaf9f5,#fbfcfe)!important;border-color:#b8e2d6!important;
}
:root[data-theme="light"] .clients-premium-page .client-booking-strip.state-upcoming{
  background:linear-gradient(135deg,#f3efff,#fbfcfe)!important;border-color:#c8b7ed!important;
}
:root[data-theme="light"] .clients-premium-page .client-booking-strip.state-attention{
  background:linear-gradient(135deg,#fff1f5,#fbfcfe)!important;border-color:#f0bdca!important;
}
:root[data-theme="light"] .clients-premium-page .client-booking-strip small{color:#6b8096!important}
:root[data-theme="light"] .clients-premium-page .client-booking-strip b{color:#2b3e55!important}
:root[data-theme="light"] .clients-premium-page .client-booking-strip>div>span{color:#6d8197!important}
:root[data-theme="light"] .clients-premium-page .client-booking-open{background:#f0ebff!important;color:#6d48bd!important}
:root[data-theme="light"] .clients-premium-page .client-card-view{
  background:#ffffff!important;border-color:#c6d3df!important;color:#40556d!important;
}
:root[data-theme="light"] .clients-premium-page .client-card-view:hover{
  background:#f0ebff!important;border-color:#b7a2e7!important;color:#5634a8!important;
}

:root[data-theme="light"] .client-editor-page .form-card,
:root[data-theme="light"] .client-editor-page .detail-card{
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;border-color:#d2dce7!important;
  box-shadow:0 10px 26px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .client-editor-page :is(.form-card-head,.detail-card-head){border-color:#dbe4ed!important}
:root[data-theme="light"] .client-editor-page .detail-block{
  background:#f8fafc!important;border-color:#d6e0ea!important;color:#40556d!important;
}
:root[data-theme="light"] .client-editor-page .detail-block small{color:#6b7f95!important}
:root[data-theme="light"] .client-editor-page .detail-block :is(b,p){color:#40556d!important}
:root[data-theme="light"] .client-editor-page .location-editor{background:#ffffff!important;border-color:#cbd7e4!important}
:root[data-theme="light"] .client-editor-page .location-editor-top{
  background:linear-gradient(180deg,#f8fafc,#f3f7fb)!important;border-bottom-color:#d5dfe9!important;
}
:root[data-theme="light"] .client-editor-page .location-place-host{background:#ffffff!important;border-color:#c8d5e2!important}
:root[data-theme="light"] .client-editor-page .location-place-host:focus-within{
  border-color:#9b79dc!important;box-shadow:0 0 0 3px rgba(124,86,217,.08)!important;
}
:root[data-theme="light"] .client-editor-page :is(.serenova-place-autocomplete,gmp-place-autocomplete.serenova-place-autocomplete){
  background:#ffffff!important;color:#2a3d54!important;color-scheme:light!important;
  --gmpx-color-surface:#ffffff;--gmpx-color-on-surface:#2a3d54;
}
:root[data-theme="light"] .client-editor-page .location-editor-top .map-control-btn{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#40556d!important;
}
:root[data-theme="light"] .client-editor-page .location-editor-top .map-control-btn:hover{
  background:#f0ebff!important;border-color:#b7a2e7!important;color:#5634a8!important;
}
:root[data-theme="light"] .client-editor-page .location-editor-foot{background:#f7f9fc!important;border-top-color:#d5dfe9!important}
:root[data-theme="light"] .client-editor-page .location-editor-foot code{color:#5f748c!important}

:root[data-theme="light"] .client-editor-page .client-location-actions{
  background:#f7f9fc!important;border-bottom-color:#d5dfe9!important;
}
:root[data-theme="light"] .client-editor-page .client-location-actions .map-control-btn{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#40556d!important;
}
:root[data-theme="light"] .client-editor-page .client-location-actions .map-control-btn:hover{
  background:#f0ebff!important;border-color:#b7a2e7!important;color:#5634a8!important;
}
:root[data-theme="light"] .client-editor-page .client-location-help,
:root[data-theme="light"] .client-editor-page .location-editor-foot>span:first-child{color:#657b92!important}
:root[data-theme="light"] .client-editor-page .location-status{
  background:#eef4fa!important;border-color:#c8d7e5!important;color:#4d637b!important;
}

/* ---------------------------------------------------------
   Services — catalog / cards / timing / usage / actions
   --------------------------------------------------------- */
:root[data-theme="light"] .services-premium-page .service-directory-card{
  background:linear-gradient(180deg,#ffffff,#f8fbfe)!important;border-color:#d1dce7!important;
  box-shadow:0 14px 34px rgba(35,54,79,.07)!important;
}
:root[data-theme="light"] .services-premium-page .service-directory-head{
  background:linear-gradient(180deg,#fbfcfe,#f4f8fc)!important;border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .services-premium-page .service-directory-head>div:first-child>span{color:#7048c5!important}
:root[data-theme="light"] .services-premium-page .service-directory-head h2{color:#25384e!important}
:root[data-theme="light"] .services-premium-page .service-directory-head p{color:#6b7f96!important}
:root[data-theme="light"] .services-premium-page .service-toolbar{border-bottom-color:#d9e3ed!important}
:root[data-theme="light"] .services-premium-page .service-profile-card{
  background:linear-gradient(150deg,#ffffff,#f8fbfe)!important;border-color:#d2dce7!important;
  box-shadow:0 8px 20px rgba(39,57,82,.055)!important;color:#2a3c52!important;
}
:root[data-theme="light"] .services-premium-page .service-profile-card:hover{
  border-color:#b8c7d7!important;box-shadow:0 13px 28px rgba(38,55,80,.09)!important;
}
:root[data-theme="light"] .services-premium-page .service-card-icon{
  background:linear-gradient(145deg,#eee9ff,#e9f1fb)!important;border-color:#c3b5e7!important;color:#6845b4!important;
  box-shadow:0 7px 18px rgba(56,44,94,.08)!important;
}
:root[data-theme="light"] .services-premium-page .service-card-name-line h3{color:#26384e!important}
:root[data-theme="light"] .services-premium-page .service-card-identity>p{color:#6b7f96!important}
:root[data-theme="light"] .services-premium-page .service-card-description{color:#657a91!important}
:root[data-theme="light"] .services-premium-page .service-core-metrics{
  border-top-color:#dde5ee!important;border-bottom-color:#dde5ee!important;
}
:root[data-theme="light"] .services-premium-page .service-core-metrics>div+div{border-left-color:#dde5ee!important}
:root[data-theme="light"] .services-premium-page .service-metric-icon{background:#f1edff!important;color:#6845b4!important}
:root[data-theme="light"] .services-premium-page .service-core-metrics strong{color:#293c52!important}
:root[data-theme="light"] .services-premium-page .service-core-metrics small{color:#6d8197!important}
:root[data-theme="light"] .services-premium-page .service-section-title>small{color:#6b7f96!important}
:root[data-theme="light"] .services-premium-page .service-timing-node{
  background:#f8fafc!important;border-color:#d4dee8!important;color:#40556d!important;
}
:root[data-theme="light"] .services-premium-page .service-timing-node :is(b,strong){color:#293c52!important}
:root[data-theme="light"] .services-premium-page .service-timing-node :is(span,small){color:#6d8197!important}
:root[data-theme="light"] .services-premium-page .service-timing-flow>i{background:linear-gradient(90deg,#cbd7e4,#9e83df)!important}
:root[data-theme="light"] .services-premium-page .service-usage-metrics{
  background:#f8fafc!important;border-color:#d4dee8!important;
}
:root[data-theme="light"] .services-premium-page .service-usage-metrics :is(b,strong){color:#293c52!important}
:root[data-theme="light"] .services-premium-page .service-usage-metrics :is(span,small){color:#6d8197!important}
:root[data-theme="light"] .services-premium-page .service-booking-strip{
  background:#f8fafc!important;border-color:#d4dee8!important;color:#40556d!important;
}
:root[data-theme="light"] .services-premium-page .service-booking-strip.state-live{
  background:linear-gradient(135deg,#eaf9f5,#fbfcfe)!important;border-color:#b8e2d6!important;
}
:root[data-theme="light"] .services-premium-page .service-booking-strip.state-upcoming{
  background:linear-gradient(135deg,#f3efff,#fbfcfe)!important;border-color:#c8b7ed!important;
}
:root[data-theme="light"] .services-premium-page .service-booking-strip.state-attention{
  background:linear-gradient(135deg,#fff1f5,#fbfcfe)!important;border-color:#f0bdca!important;
}
:root[data-theme="light"] .services-premium-page .service-booking-strip small{color:#6b8096!important}
:root[data-theme="light"] .services-premium-page .service-booking-strip b{color:#2b3e55!important}
:root[data-theme="light"] .services-premium-page .service-booking-strip>div>span{color:#6d8197!important}
:root[data-theme="light"] .services-premium-page .service-booking-open{background:#f0ebff!important;color:#6d48bd!important}
:root[data-theme="light"] .services-premium-page :is(.service-card-view,.service-edit-action){
  background:#ffffff!important;border-color:#c6d3df!important;color:#40556d!important;
}
:root[data-theme="light"] .services-premium-page :is(.service-card-view,.service-edit-action):hover{
  background:#f0ebff!important;border-color:#b7a2e7!important;color:#5634a8!important;
}

/* ---------------------------------------------------------
   Notifications — alerts, history, filter toolbar and rows
   --------------------------------------------------------- */
:root[data-theme="light"] .notification-center-page :is(.operational-alert-panel,.notification-history-card){
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;border-color:#d1dce7!important;
  box-shadow:0 12px 30px rgba(37,55,79,.06)!important;
}
:root[data-theme="light"] .notification-center-page .operational-alert-panel>header,
:root[data-theme="light"] .notification-center-page .notification-history-head{
  background:linear-gradient(180deg,#fbfcfe,#f5f8fb)!important;border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .notification-center-page :is(.operational-alert-panel>header h2,.notification-history-head h2){color:#283b52!important}
:root[data-theme="light"] .notification-center-page :is(.operational-alert-panel>header p,.operational-alert-panel>header div>span,.notification-history-head div>span,.notification-history-head>small){color:#687d94!important}
:root[data-theme="light"] .notification-center-page .operational-alert{
  background:#ffffff!important;border-color:#d4dee8!important;
}
:root[data-theme="light"] .notification-center-page .operational-alert:hover{
  background:#f7f9fc!important;border-color:#b9c7d7!important;
}
:root[data-theme="light"] .notification-center-page .operational-alert.urgent{background:#fff7f9!important;border-color:#efbdca!important}
:root[data-theme="light"] .notification-center-page .operational-alert.high{background:#fffaf0!important;border-color:#ead29b!important}
:root[data-theme="light"] .notification-center-page .operational-alert-copy small{color:#6d8197!important}
:root[data-theme="light"] .notification-center-page .operational-alert-copy b{color:#293c52!important}
:root[data-theme="light"] .notification-center-page .operational-alert-copy>span{color:#5f748c!important}
:root[data-theme="light"] .notification-center-page .operational-alert-copy em{color:#6d48bd!important}
:root[data-theme="light"] .notification-center-page .operational-clear{
  background:#ecf9f5!important;border-color:#b6e2d4!important;color:#1f6955!important;
}
:root[data-theme="light"] .notification-center-page .notification-toolbar{
  background:#f8fafc!important;border-bottom-color:#d9e3ed!important;
}
:root[data-theme="light"] .notification-center-page .notification-filter-label{color:#6b7f95!important}
:root[data-theme="light"] .notification-center-page .notification-history-item{
  background:#ffffff!important;border-color:#dce5ee!important;
}
:root[data-theme="light"] .notification-center-page .notification-history-item:hover{background:#f8fafc!important}
:root[data-theme="light"] .notification-center-page .notification-history-item.unread{
  background:linear-gradient(90deg,#f6f1ff,#ffffff)!important;
}
:root[data-theme="light"] .notification-center-page .notification-history-item.archived{background:#f7f9fc!important}
:root[data-theme="light"] .notification-center-page .notification-history-copy h3{color:#293c52!important}
:root[data-theme="light"] .notification-center-page .notification-history-copy p{color:#5f748c!important}
:root[data-theme="light"] .notification-center-page .notification-history-copy small,
:root[data-theme="light"] .notification-center-page .notification-history-meta{color:#6d8197!important}
:root[data-theme="light"] .notification-center-page .notification-history-icon{
  background:#f1edff!important;border-color:#cbbcf0!important;color:#6745b4!important;
}
:root[data-theme="light"] .notification-center-page .notification-history-empty{color:#687d94!important}
:root[data-theme="light"] .notification-center-page .notification-history-empty h3{color:#293c52!important}
:root[data-theme="light"] .notification-center-page .notification-pagination{
  background:#f8fafc!important;border-top-color:#d9e3ed!important;
}

/* ---------------------------------------------------------
   Messages — full Light chat workspace and readable bubbles
   --------------------------------------------------------- */
:root[data-theme="light"] .messages-page .messages-heading h1{color:#1f3045!important}
:root[data-theme="light"] .messages-page .messages-heading>div>span{color:#657a91!important}
:root[data-theme="light"] .messages-page .messages-new{
  background:#e8f8f3!important;border-color:#a8dfcf!important;color:#17634f!important;
}
:root[data-theme="light"] .messages-page .messages-shell{
  background:#ffffff!important;border-color:#ccd8e5!important;
  box-shadow:0 16px 38px rgba(37,54,79,.09)!important;
}
:root[data-theme="light"] .messages-page .conversation-list{
  background:#fbfcfe!important;border-right-color:#d7e1ec!important;
}
:root[data-theme="light"] .messages-page .conversation-list>header{border-bottom-color:#d7e1ec!important}
:root[data-theme="light"] .messages-page .conversation-list>header b{color:#2a3d54!important}
:root[data-theme="light"] .messages-page .conversation-list>header small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .conversation-item{
  border-bottom-color:#e0e7ef!important;background:#ffffff!important;
}
:root[data-theme="light"] .messages-page .conversation-item:hover{background:#f4f7fb!important}
:root[data-theme="light"] .messages-page .conversation-item.active{
  background:linear-gradient(90deg,#f1ebff,#fbfcfe)!important;box-shadow:inset 3px 0 #7a43ed!important;
}
:root[data-theme="light"] .messages-page .conversation-copy b{color:#293c52!important}
:root[data-theme="light"] .messages-page .conversation-copy small{color:#6b8096!important}
:root[data-theme="light"] .messages-page .conversation-copy em{color:#63788f!important}
:root[data-theme="light"] .messages-page .presence-dot{border-color:#ffffff!important}
:root[data-theme="light"] .messages-page .chat-panel{background:#ffffff!important}
:root[data-theme="light"] .messages-page .chat-head{
  background:#ffffff!important;border-bottom-color:#d7e1ec!important;
}
:root[data-theme="light"] .messages-page .chat-person b{color:#293c52!important}
:root[data-theme="light"] .messages-page .chat-person small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .chat-messages{
  background:radial-gradient(circle at 80% 15%,rgba(124,60,255,.05),transparent 24%),#f5f8fb!important;
}
:root[data-theme="light"] .messages-page .chat-first>span{
  background:#f1edff!important;border-color:#cbbcf0!important;color:#6745b4!important;
}
:root[data-theme="light"] .messages-page .chat-first b{color:#293c52!important}
:root[data-theme="light"] .messages-page .chat-first small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .message-bubble{
  background:#ffffff!important;border-color:#ccd8e5!important;color:#293c52!important;
  box-shadow:0 4px 14px rgba(38,55,80,.055)!important;
}
:root[data-theme="light"] .messages-page .message-bubble.theirs{background:#ffffff!important}
:root[data-theme="light"] .messages-page .message-bubble.mine{
  background:linear-gradient(135deg,#eee8ff,#f4f0ff)!important;border-color:#c8b7ef!important;color:#38265f!important;
}
:root[data-theme="light"] .messages-page .message-bubble b{color:#52677e!important}
:root[data-theme="light"] .messages-page .message-bubble time{color:#71869c!important}
:root[data-theme="light"] .messages-page .message-bubble p{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-bubble.mine b{color:#6545ad!important}
:root[data-theme="light"] .messages-page .message-bubble.mine p{color:#38265f!important}
:root[data-theme="light"] .messages-page .message-bubble .message-edited{color:#7a8ca0!important}
:root[data-theme="light"] .messages-page .message-bubble .message-receipt{color:#8da0b3!important}
:root[data-theme="light"] .messages-page .message-bubble .message-receipt.read{color:#159477!important}
:root[data-theme="light"] .messages-page .message-actions-toggle{color:#71859a!important}
:root[data-theme="light"] .messages-page .message-actions-toggle:hover,
:root[data-theme="light"] .messages-page .message-actions-toggle[aria-expanded="true"]{
  background:#eef3f8!important;color:#40556d!important;
}
:root[data-theme="light"] .messages-page .message-compose{
  background:#ffffff!important;border-top-color:#d7e1ec!important;
}
:root[data-theme="light"] .messages-page .message-compose textarea{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#293c52!important;
}
:root[data-theme="light"] .messages-page .message-compose textarea::placeholder{color:#8a9caf!important}
:root[data-theme="light"] .messages-page .message-compose :is(.message-emoji-toggle,.message-attachment-toggle){
  background:#ffffff!important;border-color:#c8d5e2!important;color:#6545ad!important;
}
:root[data-theme="light"] .messages-page .message-compose :is(.message-emoji-toggle,.message-attachment-toggle):hover{
  background:#f1edff!important;border-color:#b7a2e7!important;color:#5634a8!important;
}
:root[data-theme="light"] .messages-page .message-emoji-panel{
  background:#ffffff!important;border-color:#ccd8e5!important;box-shadow:0 18px 42px rgba(37,54,79,.18)!important;
}
:root[data-theme="light"] .messages-page .message-emoji-panel-head b{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-emoji-panel-head small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .message-compose .message-emoji-grid button{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-compose .message-emoji-grid button:hover{
  background:#eef3f8!important;border-color:#d2dce7!important;
}
:root[data-theme="light"] .messages-page .message-attachment-preview{
  background:#f7f9fc!important;border-color:#d2dce7!important;
}
:root[data-theme="light"] .messages-page .message-attachment-preview b{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-attachment-preview small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .message-compose .message-attachment-remove{
  background:#ffffff!important;border-color:#cbd7e4!important;color:#6b8096!important;
}
:root[data-theme="light"] .messages-page .message-edit-state{
  background:#f3efff!important;border-color:#c7b5ef!important;
}
:root[data-theme="light"] .messages-page .message-edit-state b{color:#4d337f!important}
:root[data-theme="light"] .messages-page .message-edit-state small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .message-edit-state button{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#40556d!important;
}
:root[data-theme="light"] .messages-page .message-readonly{
  background:#f8fafc!important;border-top-color:#d7e1ec!important;color:#657a91!important;
}
:root[data-theme="light"] .messages-page .message-directory{
  background:linear-gradient(180deg,#ffffff,#f8fbfe)!important;border-color:#ccd8e5!important;
  box-shadow:0 24px 70px rgba(37,54,79,.22)!important;
}
:root[data-theme="light"] .messages-page .message-directory>header{
  background:radial-gradient(circle at 100% 0,rgba(124,60,255,.07),transparent 45%),#fbfcfe!important;
  border-bottom-color:#d7e1ec!important;
}
:root[data-theme="light"] .messages-page .message-directory>header h2{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-directory>header p{color:#6d8197!important}
:root[data-theme="light"] .messages-page .message-directory>header button{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#40556d!important;
}
:root[data-theme="light"] .messages-page .message-contact,
:root[data-theme="light"] .messages-page .group-member-option{
  background:#ffffff!important;border-color:#d2dce7!important;color:#293c52!important;
}
:root[data-theme="light"] .messages-page .message-contact:hover,
:root[data-theme="light"] .messages-page .group-member-option:hover{
  background:#f4f7fb!important;border-color:#b9c7d7!important;
}
:root[data-theme="light"] .messages-page :is(.message-contact,.group-member-option) b{color:#293c52!important}
:root[data-theme="light"] .messages-page :is(.message-contact,.group-member-option) small{color:#6d8197!important}
:root[data-theme="light"] .messages-page .group-name-field input{
  background:#ffffff!important;border-color:#c8d5e2!important;color:#293c52!important;
}
:root[data-theme="light"] .messages-page .group-member-heading b{color:#293c52!important}
:root[data-theme="light"] .messages-page .group-member-heading small{color:#6d8197!important}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.56 / v1.11.60
   Client / Service / Message Light Mode Finish
   ========================================================= */

/* Clients registry — final action-button polish. */
:root[data-theme="light"] .clients-premium-page .client-icon-action{
  background:#fff!important;
  border-color:#c8d6e4!important;
  color:#496078!important;
  box-shadow:0 2px 8px rgba(39,57,82,.05)!important;
}
:root[data-theme="light"] .clients-premium-page .client-icon-action:hover{
  background:#f3f6fa!important;
  border-color:#b7c7d8!important;
  color:#5f3db1!important;
}
:root[data-theme="light"] .clients-premium-page .client-icon-action.archive-action:hover{
  background:#fff0f4!important;
  border-color:#f3b4c5!important;
  color:#c94d72!important;
}
:root[data-theme="light"] .clients-premium-page .client-icon-action.restore-action:hover{
  background:#eaf8f4!important;
  border-color:#acdccc!important;
  color:#17745d!important;
}

/* Client View — convert the remaining premium-midnight profile surfaces to Light. */
:root[data-theme="light"] .premium-client-view .premium-client-view-hero{
  background:
    radial-gradient(circle at 93% 10%,rgba(124,60,255,.09),transparent 31%),
    radial-gradient(circle at 2% 100%,rgba(43,215,181,.055),transparent 36%),
    #fff!important;
  border-color:#cfdbe7!important;
  box-shadow:0 12px 30px rgba(43,61,86,.07)!important;
}
:root[data-theme="light"] .premium-client-view .premium-client-view-hero:after{border-color:rgba(155,117,221,.16)!important}
:root[data-theme="light"] .premium-client-view .premium-client-view-avatar{
  background:linear-gradient(145deg,#eee9ff,#e3edf7)!important;
  border-color:#b9cbe0!important;
  color:#4b3d82!important;
  box-shadow:0 8px 20px rgba(48,65,89,.08)!important;
}
:root[data-theme="light"] .premium-client-view .premium-client-view-eyebrow>span:first-child{color:#6d49bb!important}
:root[data-theme="light"] .premium-client-view .premium-client-view-identity h1{color:#203147!important}
:root[data-theme="light"] .premium-client-view .premium-client-view-contact span{color:#667b92!important}
:root[data-theme="light"] .premium-client-view .premium-client-view-contact .ui-icon{color:#6f8197!important}
:root[data-theme="light"] .premium-client-view .premium-client-vip{
  background:#fff7df!important;border-color:#ecd18b!important;color:#8a6810!important
}

:root[data-theme="light"] .premium-client-view .premium-client-view-metrics>article{
  background:#fff!important;
  border-color:#d1dce8!important;
  box-shadow:0 7px 18px rgba(43,61,86,.045)!important;
}
:root[data-theme="light"] .premium-client-view .premium-client-metric-icon{
  background:#f2edff!important;border-color:#cdbef1!important;color:#6c49b8!important
}
:root[data-theme="light"] .premium-client-view .premium-client-metric-icon.live{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#168a70!important
}
:root[data-theme="light"] .premium-client-view .premium-client-metric-icon.upcoming{
  background:#f2edff!important;border-color:#cdbef1!important;color:#6b48b7!important
}
:root[data-theme="light"] .premium-client-view .premium-client-metric-icon.completed{
  background:#edf7ff!important;border-color:#bddcf2!important;color:#277dad!important
}
:root[data-theme="light"] .premium-client-view .premium-client-metric-icon.location{
  background:#fff7df!important;border-color:#ecd18b!important;color:#9a7214!important
}
:root[data-theme="light"] .premium-client-view .premium-client-view-metrics small{color:#71849a!important}
:root[data-theme="light"] .premium-client-view .premium-client-view-metrics b{color:#26384e!important}
:root[data-theme="light"] .premium-client-view .premium-client-view-metrics span:not(.premium-client-metric-icon){color:#687d94!important}

:root[data-theme="light"] .premium-client-view :is(.premium-client-view-card,.premium-client-protection-card,.premium-client-history-card){
  background:#fff!important;
  border-color:#d1dce8!important;
  box-shadow:0 8px 22px rgba(43,61,86,.045)!important;
}
:root[data-theme="light"] .premium-client-view .premium-client-view-card-head{
  background:#f9fbfd!important;border-bottom-color:#d9e3ed!important
}
:root[data-theme="light"] .premium-client-view :is(.premium-client-view-card-head,.premium-client-history-head)>div>span{color:#6d49bb!important}
:root[data-theme="light"] .premium-client-view :is(.premium-client-view-card-head,.premium-client-history-head) h2{color:#26384e!important}
:root[data-theme="light"] .premium-client-view :is(.premium-client-view-card-head,.premium-client-history-head) p{color:#6b7f96!important}
:root[data-theme="light"] .premium-client-view :is(.premium-client-code,.premium-client-location-state){
  background:#f1f5f9!important;border-color:#cad7e4!important;color:#536980!important
}
:root[data-theme="light"] .premium-client-view .premium-client-location-state.verified{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#17745d!important
}
:root[data-theme="light"] .premium-client-view .premium-client-info-grid>article{
  background:#fff!important;border-color:#d3dee9!important
}
:root[data-theme="light"] .premium-client-view .premium-client-info-grid>article>span{
  background:#f4f0ff!important;border-color:#d0c2f0!important;color:#6b49b8!important
}
:root[data-theme="light"] .premium-client-view :is(.premium-client-info-grid,.premium-client-location-feature,.premium-client-access-panel) small{color:#70849a!important}
:root[data-theme="light"] .premium-client-view :is(.premium-client-info-grid,.premium-client-location-feature) b{color:#2b3e55!important}

:root[data-theme="light"] .premium-client-view .client-household-view-summary{
  background:#f7f9fc!important;border-color:#d2deea!important
}
:root[data-theme="light"] .premium-client-view .client-household-view-summary small{color:#71849a!important}
:root[data-theme="light"] .premium-client-view .client-household-view-summary b{color:#293c52!important}
:root[data-theme="light"] .premium-client-view .client-household-view-summary em{color:#687d94!important}
:root[data-theme="light"] .premium-client-view .client-household-view-person{
  background:#fff!important;border-color:#d2deea!important;box-shadow:none!important
}
:root[data-theme="light"] .premium-client-view .client-household-view-person.primary{
  background:#f0faf7!important;border-color:#b8e3d7!important
}
:root[data-theme="light"] .premium-client-view .client-person-avatar{
  background:linear-gradient(145deg,#eee9ff,#e3edf7)!important;border-color:#c4b5ed!important;color:#4e3d87!important
}
:root[data-theme="light"] .premium-client-view .client-household-view-person-main small{color:#6f8298!important}
:root[data-theme="light"] .premium-client-view .client-household-view-person-main b{color:#293c52!important}
:root[data-theme="light"] .premium-client-view .client-household-view-person-main>span,
:root[data-theme="light"] .premium-client-view .client-household-view-person-main p{color:#667b92!important}
:root[data-theme="light"] .premium-client-view .client-person-state.primary{
  background:#f1ecff!important;border-color:#c9b8ef!important;color:#5c3da8!important
}
:root[data-theme="light"] .premium-client-view .client-person-state.active{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#17745d!important
}

:root[data-theme="light"] .premium-client-view .premium-client-location-feature{
  background:linear-gradient(135deg,#faf8ff,#fff)!important;border-color:#d7cbed!important
}
:root[data-theme="light"] .premium-client-view .premium-client-location-icon{
  background:#f1ecff!important;border-color:#cdbdf1!important;color:#6844b6!important
}
:root[data-theme="light"] .premium-client-view .premium-client-location-feature>div>span{color:#6a7e94!important}
:root[data-theme="light"] .premium-client-view .premium-client-access-panel{
  background:#f8fbfa!important;border-color:#d2e4df!important
}
:root[data-theme="light"] .premium-client-view .premium-client-access-panel>span{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#17745d!important
}
:root[data-theme="light"] .premium-client-view .premium-client-access-panel p{color:#62778e!important}
:root[data-theme="light"] .premium-client-view .premium-client-notes{
  background:#fff!important;border-color:#d3dee9!important;color:#52677e!important
}

/* Visits & Activity — fix summary chips and washed-out booking content. */
:root[data-theme="light"] .premium-client-view .premium-client-history-head{
  background:#f9fbfd!important;border-bottom-color:#d9e3ed!important
}
:root[data-theme="light"] .premium-client-view .client-booking-summary span{
  background:#f2f5f9!important;border-color:#d1dce8!important;color:#667b92!important
}
:root[data-theme="light"] .premium-client-view .client-booking-summary b{color:#293c52!important}
:root[data-theme="light"] .premium-client-view .client-booking-history-item{
  background:#fff!important;border-color:#d3dee9!important
}
:root[data-theme="light"] .premium-client-view .client-booking-history-item:hover{
  background:#faf8ff!important;border-color:#c7b5ed!important
}
:root[data-theme="light"] .premium-client-view .client-booking-history-item.current{
  background:linear-gradient(135deg,#effbf7,#fff 46%)!important;border-color:#b5e4d7!important
}
:root[data-theme="light"] .premium-client-view .client-booking-history-item.upcoming{border-color:#cfbfef!important}
:root[data-theme="light"] .premium-client-view .client-booking-code{color:#6d8197!important}
:root[data-theme="light"] .premium-client-view .client-booking-history-top h3{color:#293c52!important}
:root[data-theme="light"] .premium-client-view .client-booking-history-time{color:#5f748b!important}
:root[data-theme="light"] .premium-client-view .client-booking-history-details>span{color:#667b92!important}
:root[data-theme="light"] .premium-client-view .client-booking-history-details .ui-icon{color:#7189a2!important}
:root[data-theme="light"] .premium-client-view .client-booking-history-foot{border-top-color:#dbe4ed!important}
:root[data-theme="light"] .premium-client-view .client-booking-state{color:#687d94!important}
:root[data-theme="light"] .premium-client-view .client-booking-state.current{color:#168a70!important}
:root[data-theme="light"] .premium-client-view .client-booking-state.upcoming{color:#6847b5!important}
:root[data-theme="light"] .premium-client-view .client-booking-rebook{
  background:#f5f1ff!important;border-color:#cbbbef!important;color:#6543b2!important
}
:root[data-theme="light"] .premium-client-view .client-booking-open{color:#6543b2!important}

:root[data-theme="light"] .premium-client-view .premium-client-protection-icon{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#17745d!important
}
:root[data-theme="light"] .premium-client-view .premium-client-protection-card small{color:#71849a!important}
:root[data-theme="light"] .premium-client-view .premium-client-protection-card b{color:#293c52!important}
:root[data-theme="light"] .premium-client-view .premium-client-protection-card p{color:#667b92!important}

/* Services registry — final cleanup pill and archive icon polish. */
:root[data-theme="light"] .services-premium-page .service-buffer-summary>span{
  background:#f3f6fa!important;border-color:#ccd8e4!important;color:#586e85!important
}
:root[data-theme="light"] .services-premium-page .service-buffer-summary .ui-icon{color:#6644b2!important}
:root[data-theme="light"] .services-premium-page .service-icon-action{
  background:#fff!important;border-color:#c8d6e4!important;color:#496078!important;
  box-shadow:0 2px 8px rgba(39,57,82,.05)!important
}
:root[data-theme="light"] .services-premium-page .service-icon-action:hover{
  background:#f3f6fa!important;border-color:#b7c7d8!important;color:#5f3db1!important
}
:root[data-theme="light"] .services-premium-page .service-icon-action.archive-action:hover{
  background:#fff0f4!important;border-color:#f3b4c5!important;color:#c94d72!important
}
:root[data-theme="light"] .services-premium-page .service-icon-action.restore-action:hover{
  background:#eaf8f4!important;border-color:#acdccc!important;color:#17745d!important
}

/* Messages → Start a Conversation — Direct Message + Group Chat finish. */
:root[data-theme="light"] .messages-page .message-directory-backdrop{
  background:rgba(31,45,64,.34)!important;
  backdrop-filter:blur(7px)!important
}
:root[data-theme="light"] .messages-page .message-directory{
  background:#fff!important;border-color:#cbd8e5!important;box-shadow:0 28px 80px rgba(34,50,72,.24)!important
}
:root[data-theme="light"] .messages-page .message-directory>header{
  background:radial-gradient(circle at 100% 0,rgba(124,60,255,.08),transparent 48%),#fff!important;
  border-bottom-color:#d8e2ec!important
}
:root[data-theme="light"] .messages-page .message-directory>header span{color:#7351c2!important}
:root[data-theme="light"] .messages-page .message-directory>header h2{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-directory>header p{color:#687d94!important}
:root[data-theme="light"] .messages-page .message-directory>header button{
  background:#fff!important;border-color:#c7d5e3!important;color:#4d6279!important
}
:root[data-theme="light"] .messages-page .message-directory>header button:hover{background:#f3f6fa!important;color:#6240af!important}

:root[data-theme="light"] .messages-page .message-mode-tabs button{
  background:#fff!important;border-color:#cad7e4!important;color:#536980!important
}
:root[data-theme="light"] .messages-page .message-mode-tabs button:hover{background:#f5f2ff!important;border-color:#c9b8ef!important;color:#6543b2!important}
:root[data-theme="light"] .messages-page .message-mode-tabs button.active{
  background:#f1ecff!important;border-color:#bda8ee!important;color:#5d3aa9!important;
  box-shadow:0 2px 9px rgba(91,58,169,.08)!important
}
:root[data-theme="light"] .messages-page .message-directory-search{
  background:#fff!important;border-color:#cad7e4!important;color:#60758c!important
}
:root[data-theme="light"] .messages-page .message-directory-search:focus-within{
  border-color:#b49de8!important;box-shadow:0 0 0 3px rgba(105,70,184,.07)!important
}
:root[data-theme="light"] .messages-page .message-directory-search input{color:#293c52!important}
:root[data-theme="light"] .messages-page .message-directory-search input::placeholder{color:#8b9caf!important}

:root[data-theme="light"] .messages-page .message-contact,
:root[data-theme="light"] .messages-page .group-member-option{
  background:#fff!important;border-color:#d2dde8!important;box-shadow:0 3px 10px rgba(43,61,86,.035)!important
}
:root[data-theme="light"] .messages-page .message-contact:hover,
:root[data-theme="light"] .messages-page .group-member-option:hover{
  background:#f8f6ff!important;border-color:#c7b5ed!important;transform:translateY(-1px)
}
:root[data-theme="light"] .messages-page .message-contact.unreachable{
  opacity:.72!important
}
:root[data-theme="light"] .messages-page :is(.message-contact,.group-member-option) b{color:#293c52!important}
:root[data-theme="light"] .messages-page :is(.message-contact,.group-member-option) small{color:#667b92!important}
:root[data-theme="light"] .messages-page .message-contact em{color:#168a70!important}
:root[data-theme="light"] .messages-page .message-contact.unreachable em{color:#7d90a4!important}
:root[data-theme="light"] .messages-page .message-contact>i{
  background:#fff!important;border-color:#c7d5e3!important;color:#6543b2!important
}
:root[data-theme="light"] .messages-page .message-contact.unreachable>i{
  background:#f5f7fa!important;color:#8192a5!important
}
:root[data-theme="light"] .messages-page .message-contact-avatar{
  border-color:#b9c9da!important;box-shadow:none!important
}
:root[data-theme="light"] .messages-page .message-contact-avatar .presence-dot{border-color:#fff!important}

:root[data-theme="light"] .messages-page .group-name-field span{color:#667b92!important}
:root[data-theme="light"] .messages-page .group-name-field input{
  background:#fff!important;border-color:#cad7e4!important;color:#293c52!important
}
:root[data-theme="light"] .messages-page .group-name-field input::placeholder{color:#8b9caf!important}
:root[data-theme="light"] .messages-page .group-member-heading b{color:#293c52!important}
:root[data-theme="light"] .messages-page .group-member-heading small{color:#667b92!important}
:root[data-theme="light"] .messages-page .group-member-heading>span{color:#6543b2!important}
:root[data-theme="light"] .messages-page .group-check{
  background:#fff!important;border-color:#bdcad8!important;color:transparent!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)!important
}
:root[data-theme="light"] .messages-page .group-member-option:hover .group-check{
  background:#f3f6fa!important;border-color:#aebfd0!important
}
:root[data-theme="light"] .messages-page .group-member-option input:checked~.group-check{
  background:#e9f8f4!important;border-color:#79cdb8!important;color:#15836b!important
}
:root[data-theme="light"] .messages-page .group-member-option:has(input:checked){
  background:#effaf7!important;border-color:#9bd9c9!important
}
:root[data-theme="light"] .messages-page .group-create-panel footer,
:root[data-theme="light"] .messages-page .group-manage-dialog form>footer{border-top-color:#d9e3ed!important}
:root[data-theme="light"] .messages-page .group-cancel{
  background:#fff!important;border-color:#c7d5e3!important;color:#4f657d!important
}
:root[data-theme="light"] .messages-page .group-cancel:hover{background:#f3f6fa!important}
:root[data-theme="light"] .messages-page .group-readonly-members>div{
  background:#fff!important;border-color:#d2dde8!important
}
:root[data-theme="light"] .messages-page .group-readonly-members b{color:#293c52!important}
:root[data-theme="light"] .messages-page .group-readonly-members small{color:#667b92!important}
:root[data-theme="light"] .messages-page .group-readonly-members em{color:#168a70!important}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.57 — REPORTS LIGHT MODE POLISH
   Page-scoped Light-mode hardening for reports.php only.
   Dark mode remains owned by reports.css.
   ========================================================= */
:root[data-theme="light"] .reports-premium-page .reports-heading>span,
:root[data-theme="light"] .reports-premium-page .report-panel-head>div>span{
  color:#7451c1!important
}
:root[data-theme="light"] .reports-premium-page .reports-heading h1{color:#26384e!important}
:root[data-theme="light"] .reports-premium-page .reports-heading p{color:#667b92!important}
:root[data-theme="light"] .reports-premium-page .reports-live-pill{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#17745d!important;
  box-shadow:0 3px 12px rgba(23,116,93,.05)!important
}

/* Reporting range command surface */
:root[data-theme="light"] .reports-premium-page .reports-filter-shell{
  background:radial-gradient(circle at 0 0,rgba(124,60,255,.055),transparent 34%),#fff!important;
  border-color:#ccd9e6!important;box-shadow:0 9px 24px rgba(36,57,83,.055)!important
}
:root[data-theme="light"] .reports-premium-page .reports-preset-row>span{color:#72869c!important}
:root[data-theme="light"] .reports-premium-page .reports-preset-row a{
  background:#fff!important;border-color:#cad7e4!important;color:#536980!important
}
:root[data-theme="light"] .reports-premium-page .reports-preset-row a:hover{
  background:#f4f0ff!important;border-color:#c5b2ef!important;color:#6543b2!important
}
:root[data-theme="light"] .reports-premium-page .reports-date-filter label>span{color:#667b92!important}
:root[data-theme="light"] .reports-premium-page .reports-date-filter input{
  background:#fff!important;border-color:#c8d6e4!important;color:#293c52!important;color-scheme:light!important
}
:root[data-theme="light"] .reports-premium-page .reports-date-filter input:focus{
  border-color:#aa91e4!important;box-shadow:0 0 0 3px rgba(105,70,184,.07)!important
}
:root[data-theme="light"] .reports-premium-page .reports-date-filter button{
  background:#f2edff!important;border-color:#c6b3ef!important;color:#6240af!important
}
:root[data-theme="light"] .reports-premium-page .reports-date-filter button:hover{
  background:#e9e0ff!important;border-color:#b69de8!important;color:#53339c!important
}
:root[data-theme="light"] .reports-premium-page .reports-range-summary>.ui-icon{color:#7451c1!important}
:root[data-theme="light"] .reports-premium-page .reports-range-summary span{color:#71859b!important}
:root[data-theme="light"] .reports-premium-page .reports-range-summary b{color:#33485f!important}

/* KPI cards */
:root[data-theme="light"] .reports-premium-page .reports-kpi{
  background:radial-gradient(circle at 100% 0,rgba(124,60,255,.045),transparent 44%),#fff!important;
  border-color:#cedae6!important;box-shadow:0 8px 24px rgba(37,56,81,.05)!important
}
:root[data-theme="light"] .reports-premium-page .reports-kpi strong{color:#26384e!important}
:root[data-theme="light"] .reports-premium-page .reports-kpi strong em{color:#71859b!important}
:root[data-theme="light"] .reports-premium-page .reports-kpi b{color:#344a61!important}
:root[data-theme="light"] .reports-premium-page .reports-kpi small{color:#687d94!important}
:root[data-theme="light"] .reports-premium-page .reports-kpi-icon{
  background:#f2edff!important;border-color:#cfbdf3!important;color:#6744b4!important
}
:root[data-theme="light"] .reports-premium-page .kpi-green .reports-kpi-icon{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#178069!important
}
:root[data-theme="light"] .reports-premium-page .kpi-blue .reports-kpi-icon{
  background:#edf7ff!important;border-color:#b9daf2!important;color:#2875aa!important
}
:root[data-theme="light"] .reports-premium-page .kpi-gold .reports-kpi-icon,
:root[data-theme="light"] .reports-premium-page .kpi-revenue .reports-kpi-icon{
  background:#fff8e8!important;border-color:#ead49c!important;color:#96711f!important
}
:root[data-theme="light"] .reports-premium-page .kpi-rose .reports-kpi-icon{
  background:#fff0f4!important;border-color:#f2b9c9!important;color:#c3486d!important
}

/* Report panels */
:root[data-theme="light"] .reports-premium-page .report-panel{
  background:#fff!important;border-color:#cfdbe7!important;box-shadow:0 10px 28px rgba(38,57,82,.055)!important
}
:root[data-theme="light"] .reports-premium-page .report-panel-head{
  background:linear-gradient(180deg,#fbfcfe,#f7f9fc)!important;border-bottom-color:#d8e2ec!important
}
:root[data-theme="light"] .reports-premium-page .report-panel-head h2{color:#293c52!important}
:root[data-theme="light"] .reports-premium-page .report-panel-head p{color:#687d94!important}
:root[data-theme="light"] .reports-premium-page .report-panel-badge{
  background:#f4f1ff!important;border-color:#cbbbef!important;color:#6443af!important
}
:root[data-theme="light"] .reports-premium-page .report-panel-badge .ui-icon{color:#6947b7!important}
:root[data-theme="light"] .reports-premium-page .report-panel-link{color:#6543b2!important}
:root[data-theme="light"] .reports-premium-page .report-panel-link:hover{color:#4d2e95!important}

/* Booking volume chart */
:root[data-theme="light"] .reports-premium-page .report-chart-grid span{border-top-color:#dbe4ed!important}
:root[data-theme="light"] .reports-premium-page .report-volume-value{color:#5e748b!important}
:root[data-theme="light"] .reports-premium-page .report-volume-column small{color:#677c93!important}
:root[data-theme="light"] .reports-premium-page .report-volume-bar{
  border-color:#bda8ea!important;background:linear-gradient(180deg,#8d69e5,#6847b7)!important;
  box-shadow:0 4px 14px rgba(105,70,184,.10)!important
}
:root[data-theme="light"] .reports-premium-page .report-chart-legend{
  border-top-color:#d9e3ed!important;color:#61768d!important
}

/* Completion health */
:root[data-theme="light"] .reports-premium-page .report-donut{
  box-shadow:inset 0 0 22px rgba(34,53,77,.05)!important
}
:root[data-theme="light"] .reports-premium-page .report-donut>div{
  background:#fff!important;border-color:#cfdae6!important
}
:root[data-theme="light"] .reports-premium-page .report-donut strong{color:#293c52!important}
:root[data-theme="light"] .reports-premium-page .report-donut span{color:#6d8197!important}
:root[data-theme="light"] .reports-premium-page .report-health-item p{color:#344a61!important}
:root[data-theme="light"] .reports-premium-page .report-health-item>small{color:#687d94!important}
:root[data-theme="light"] .reports-premium-page .report-health-detail{border-top-color:#d9e3ed!important}
:root[data-theme="light"] .reports-premium-page .report-health-detail>div+div{border-top-color:#e0e7ef!important}
:root[data-theme="light"] .reports-premium-page .report-health-detail span{color:#63788f!important}
:root[data-theme="light"] .reports-premium-page .report-health-detail b{color:#2f445b!important}

/* Status distribution */
:root[data-theme="light"] .reports-premium-page .report-status-row+.report-status-row{border-top-color:#e0e7ef!important}
:root[data-theme="light"] .reports-premium-page .report-status-label b{color:#3a4f66!important}
:root[data-theme="light"] .reports-premium-page .report-status-progress{background:#edf2f7!important}
:root[data-theme="light"] .reports-premium-page .report-status-value strong{color:#2d4259!important}
:root[data-theme="light"] .reports-premium-page .report-status-value small{color:#6d8197!important}

/* Service demand */
:root[data-theme="light"] .reports-premium-page .report-service-row+.report-service-row{border-top-color:#e0e7ef!important}
:root[data-theme="light"] .reports-premium-page .report-service-rank{
  background:#f4f0ff!important;border-color:#cbb8f0!important;color:#6744b4!important
}
:root[data-theme="light"] .reports-premium-page .report-service-main b{color:#30455c!important}
:root[data-theme="light"] .reports-premium-page .report-service-main small{color:#6b8096!important}
:root[data-theme="light"] .reports-premium-page .report-service-bar{background:#edf2f7!important}
:root[data-theme="light"] .reports-premium-page .report-service-count strong{color:#2d4259!important}
:root[data-theme="light"] .reports-premium-page .report-service-count small{color:#6d8197!important}

/* Therapist / driver / booking report tables */
:root[data-theme="light"] .reports-premium-page .report-table-wrap{background:#fff!important}
:root[data-theme="light"] .reports-premium-page .report-table th{
  background:#edf3f8!important;color:#586d84!important;border-bottom-color:#d5e0ea!important
}
:root[data-theme="light"] .reports-premium-page .report-table td{
  color:#3d5269!important;border-bottom-color:#e0e7ef!important;background:#fff!important
}
:root[data-theme="light"] .reports-premium-page .report-table tbody tr:hover td{background:#faf8ff!important}
:root[data-theme="light"] .reports-premium-page .report-person b{color:#2e435a!important}
:root[data-theme="light"] .reports-premium-page .report-person small{color:#6c8197!important}
:root[data-theme="light"] .reports-premium-page .report-person-avatar,
:root[data-theme="light"] .reports-premium-page .report-driver-avatar{
  border-color:#c5d2df!important;box-shadow:0 2px 7px rgba(42,61,87,.06)!important
}
:root[data-theme="light"] .reports-premium-page .report-live-count{
  background:#f3f6fa!important;border-color:#c9d6e3!important;color:#61768d!important
}
:root[data-theme="light"] .reports-premium-page .report-live-count.active{
  background:#eaf8f4!important;border-color:#afe0d2!important;color:#17745d!important
}
:root[data-theme="light"] .reports-premium-page .report-cell-note{color:#6b8096!important}
:root[data-theme="light"] .reports-premium-page .report-cell-note.late{color:#c6486d!important}
:root[data-theme="light"] .reports-premium-page .report-revenue-cell{color:#8e6c1d!important}
:root[data-theme="light"] .reports-premium-page .report-booking-code{color:#6543b2!important}
:root[data-theme="light"] .reports-premium-page .report-open-cell a{
  background:#fff!important;border-color:#c7d5e3!important;color:#6543b2!important
}
:root[data-theme="light"] .reports-premium-page .report-open-cell a:hover{
  background:#f3efff!important;border-color:#bda9ea!important;color:#4e2f97!important
}

/* Empty states */
:root[data-theme="light"] .reports-premium-page .report-empty-state>.ui-icon{color:#6846b6!important}
:root[data-theme="light"] .reports-premium-page .report-empty-state h3{color:#2c4158!important}
:root[data-theme="light"] .reports-premium-page .report-empty-state p{color:#687d94!important}


/* =========================================================
   SERENOVA STAGE 1F.4.8.6.58 — USERS LIGHT MODE POLISH
   Page-scoped Light-mode completion for users.php only.
   Dark mode remains owned by identity.css and is unchanged.
   ========================================================= */
:root[data-theme="light"] .users-light-page .identity-heading>span{color:#6d49bd!important}
:root[data-theme="light"] .users-light-page .identity-heading h1{color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-heading p{color:#687b91!important}
:root[data-theme="light"] .users-light-page .identity-live-pill{background:#e9f8f3!important;border-color:#a8dfcf!important;color:#12644e!important}
:root[data-theme="light"] .users-light-page .identity-live-pill i{box-shadow:0 0 0 4px rgba(43,224,186,.10)!important}

:root[data-theme="light"] .users-light-page .identity-kpi{
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  border-color:#d3deea!important;
  box-shadow:0 10px 26px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .users-light-page .identity-kpi strong{color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-kpi b{color:#40536b!important}
:root[data-theme="light"] .users-light-page .identity-kpi small{color:#73859a!important}
:root[data-theme="light"] .users-light-page .identity-kpi>span{background:#f2ecff!important;border-color:#d3c2f7!important;color:#7042cc!important}
:root[data-theme="light"] .users-light-page .identity-kpi.green>span{background:#e9f8f3!important;border-color:#b4e4d6!important;color:#168267!important}
:root[data-theme="light"] .users-light-page .identity-kpi.blue>span{background:#eaf5ff!important;border-color:#badcf5!important;color:#2c78b5!important}
:root[data-theme="light"] .users-light-page .identity-kpi.gold>span{background:#fff7df!important;border-color:#efd895!important;color:#8a650d!important}
:root[data-theme="light"] .users-light-page .identity-kpi.rose>span{background:#fff0f3!important;border-color:#efbac6!important;color:#a22c4c!important}

:root[data-theme="light"] .users-light-page .identity-directory-card{
  background:#fff!important;
  border-color:#d3deea!important;
  box-shadow:0 14px 34px rgba(43,61,86,.07)!important;
}
:root[data-theme="light"] .users-light-page .identity-directory-head{
  background:linear-gradient(180deg,#fbfdff,#f5f8fc)!important;
  border-bottom-color:#d8e2ec!important;
}
:root[data-theme="light"] .users-light-page .identity-directory-head>div>span{color:#7650c7!important}
:root[data-theme="light"] .users-light-page .identity-directory-head h2{color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-directory-head p{color:#708298!important}
:root[data-theme="light"] .users-light-page .identity-toolbar{border-bottom-color:#dce5ee!important;background:#fbfdff!important}
:root[data-theme="light"] .users-light-page .identity-search .ui-icon,
:root[data-theme="light"] .users-light-page .identity-select .ui-icon{color:#6f8197!important}
:root[data-theme="light"] .users-light-page .identity-search input,
:root[data-theme="light"] .users-light-page .identity-select select{color:#2b3e55!important}
:root[data-theme="light"] .users-light-page .identity-filter-btn{background:#f0eaff!important;border-color:#cbb9f0!important;color:#5b35ad!important}
:root[data-theme="light"] .users-light-page .identity-filter-btn:hover{background:#e7dcff!important;border-color:#b59ce9!important;color:#432387!important}

:root[data-theme="light"] .users-light-page .identity-user-card{
  background:linear-gradient(150deg,#fff,#f8fbff)!important;
  border-color:#d3deea!important;
  box-shadow:0 10px 25px rgba(43,61,86,.055)!important;
  color:#26384e!important;
}
:root[data-theme="light"] .users-light-page .identity-user-card:hover{border-color:#b7c7d8!important;box-shadow:0 14px 30px rgba(43,61,86,.09)!important}
:root[data-theme="light"] .users-light-page .identity-user-card.is-disabled{opacity:.72}
:root[data-theme="light"] .users-light-page .identity-user-avatar{background:linear-gradient(145deg,#f0eaff,#e7f2fb)!important;border-color:#c7d4e3!important;color:#51359f!important}
:root[data-theme="light"] .users-light-page .identity-user-name-line h3{color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-user-copy>p{color:#6748ae!important}
:root[data-theme="light"] .users-light-page .identity-user-copy>small{color:#6f8197!important}
:root[data-theme="light"] .users-light-page .identity-role-pill{background:#f2ecff!important;border-color:#d4c5f2!important;color:#6242ad!important}
:root[data-theme="light"] .users-light-page .identity-role-pill.role-admin{background:#fff7df!important;border-color:#ecd38b!important;color:#7c5b0d!important}
:root[data-theme="light"] .users-light-page .identity-role-pill.role-therapist{background:#e9f8f3!important;border-color:#a9dfcf!important;color:#12644e!important}
:root[data-theme="light"] .users-light-page .identity-role-pill.role-driver{background:#eaf5ff!important;border-color:#b9d9f2!important;color:#2c6e9f!important}

:root[data-theme="light"] .users-light-page .identity-access-row{border-color:#dce5ee!important;background:#f9fbfd!important}
:root[data-theme="light"] .users-light-page .identity-access-row>span{color:#73859a!important}
:root[data-theme="light"] .users-light-page .identity-access-row>span+span{border-left-color:#dce5ee!important}
:root[data-theme="light"] .users-light-page .identity-access-row b{color:#5f7289!important}
:root[data-theme="light"] .users-light-page .identity-access-row .on,
:root[data-theme="light"] .users-light-page .identity-access-row .on b{color:#14745c!important}
:root[data-theme="light"] .users-light-page .identity-access-row .off,
:root[data-theme="light"] .users-light-page .identity-access-row .off b{color:#8797aa!important}

:root[data-theme="light"] .users-light-page .identity-linked-profile{
  background:#f7f9fc!important;
  border-color:#d4deea!important;
  color:#33485f!important;
}
:root[data-theme="light"] .users-light-page a.identity-linked-profile:hover{background:#f0ebff!important;border-color:#c8b6ef!important}
:root[data-theme="light"] .users-light-page .identity-linked-profile>span:first-child{background:#efe9ff!important;color:#6946bb!important}
:root[data-theme="light"] .users-light-page .identity-linked-profile small{color:#75879c!important}
:root[data-theme="light"] .users-light-page .identity-linked-profile b{color:#30455c!important}
:root[data-theme="light"] .users-light-page .identity-linked-profile em{color:#7358ad!important}
:root[data-theme="light"] .users-light-page .identity-linked-profile>.ui-icon{color:#7358ad!important}

:root[data-theme="light"] .users-light-page .identity-user-meta{border-top-color:#dce5ee!important;background:#fbfdff!important}
:root[data-theme="light"] .users-light-page .identity-user-meta>div+div{border-left-color:#dce5ee!important}
:root[data-theme="light"] .users-light-page .identity-user-meta span{color:#7a8b9f!important}
:root[data-theme="light"] .users-light-page .identity-user-meta b{color:#4d6178!important}
:root[data-theme="light"] .users-light-page .identity-user-footer{border-top:1px solid #e0e7ef!important;background:#fff!important}
:root[data-theme="light"] .users-light-page .identity-card-action{background:#fff!important;border-color:#ccd8e5!important;color:#40536b!important}
:root[data-theme="light"] .users-light-page .identity-card-action:hover{background:#edf3f8!important;border-color:#b8c7d7!important;color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-card-action.message{background:#eaf8f4!important;border-color:#acdccc!important;color:#12644e!important}
:root[data-theme="light"] .users-light-page .identity-card-action.message:hover{background:#def3ec!important;border-color:#91d2be!important;color:#0d5945!important}
:root[data-theme="light"] .users-light-page .identity-card-action.danger{background:#fff2f4!important;border-color:#efbdc8!important;color:#9d2e4b!important}
:root[data-theme="light"] .users-light-page .identity-card-action.danger:hover{background:#ffe8ed!important;border-color:#e7a6b6!important;color:#812039!important}
:root[data-theme="light"] .users-light-page .identity-card-action.restore{background:#eaf8f4!important;border-color:#acdccc!important;color:#12644e!important}
:root[data-theme="light"] .users-light-page .identity-card-action.restore:hover{background:#def3ec!important;border-color:#91d2be!important;color:#0d5945!important}
:root[data-theme="light"] .users-light-page .identity-readonly-state{color:#687b91!important}

:root[data-theme="light"] .users-light-page .identity-empty{background:#fff!important;color:#33485f!important}
:root[data-theme="light"] .users-light-page .identity-empty>.ui-icon{color:#7650c7!important}
:root[data-theme="light"] .users-light-page .identity-empty>span{color:#7650c7!important}
:root[data-theme="light"] .users-light-page .identity-empty h3{color:#2c4158!important}
:root[data-theme="light"] .users-light-page .identity-empty p{color:#71839a!important}

/* =========================================================
   STAGE 1F.4.8.6.59 — USER EDIT LIGHT MODE POLISH
   Page-scoped Light-mode treatment for user-edit.php only.
   Dark mode remains owned by identity.css.
   ========================================================= */
:root[data-theme="light"] .user-edit-light-page .identity-edit-hero .identity-back{
  color:#60738a!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-edit-hero .identity-back:hover{
  color:#5537a4!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-edit-hero>div>span{
  color:#7350c0!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-edit-hero h1{
  color:#24364c!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-edit-hero p{
  color:#687b91!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-account-id{
  background:#f3f6f9!important;
  border-color:#cfd9e4!important;
  color:#52667e!important;
}

:root[data-theme="light"] .user-edit-light-page .identity-form-card,
:root[data-theme="light"] .user-edit-light-page .identity-summary-card{
  background:#fff!important;
  border-color:#d4dfea!important;
  color:#24364c!important;
  box-shadow:0 12px 28px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-form-head{
  background:linear-gradient(180deg,#fbfdff,#f6f9fc)!important;
  border-bottom-color:#dce5ee!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-form-head>span,
:root[data-theme="light"] .user-edit-light-page .identity-summary-icon{
  background:#f1ebff!important;
  border-color:#d0c1f1!important;
  color:#7048c5!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-summary-icon.mobile{
  background:#e9f8f3!important;
  border-color:#a9dfcf!important;
  color:#168267!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-form-head small,
:root[data-theme="light"] .user-edit-light-page .identity-summary-card>span{
  color:#7958c1!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-form-head h2,
:root[data-theme="light"] .user-edit-light-page .identity-summary-card h2{
  color:#26384e!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-form-head p,
:root[data-theme="light"] .user-edit-light-page .identity-summary-card>p{
  color:#6c7f95!important;
}

:root[data-theme="light"] .user-edit-light-page .identity-field>span{
  color:#40536b!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-field small{
  color:#71839a!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-field input,
:root[data-theme="light"] .user-edit-light-page .identity-field select,
:root[data-theme="light"] .user-edit-light-page .identity-link-selector select{
  background:#fff!important;
  border-color:#cbd7e4!important;
  color:#26384e!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-field input:focus,
:root[data-theme="light"] .user-edit-light-page .identity-field select:focus,
:root[data-theme="light"] .user-edit-light-page .identity-link-selector select:focus{
  border-color:#9d7ae8!important;
  box-shadow:0 0 0 3px rgba(124,91,223,.10)!important;
}

:root[data-theme="light"] .user-edit-light-page .identity-toggle-card,
:root[data-theme="light"] .user-edit-light-page .identity-profile-note,
:root[data-theme="light"] .user-edit-light-page .identity-link-selector{
  background:#f8fbfd!important;
  border-color:#d4dfea!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-card:hover,
:root[data-theme="light"] .user-edit-light-page .identity-link-selector:hover{
  background:#f3f7fb!important;
  border-color:#c3d0de!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-switch{
  background:#d7e0e9!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-switch:after{
  background:#fff!important;
  box-shadow:0 1px 4px rgba(43,61,86,.18)!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-card>input:checked+.identity-toggle-switch{
  background:#8bd9c6!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-card>input:checked+.identity-toggle-switch:after{
  background:#12644e!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-card b,
:root[data-theme="light"] .user-edit-light-page .identity-profile-note b,
:root[data-theme="light"] .user-edit-light-page .identity-link-title b{
  color:#2f435a!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-toggle-card small,
:root[data-theme="light"] .user-edit-light-page .identity-profile-note p,
:root[data-theme="light"] .user-edit-light-page .identity-link-title small{
  color:#6f8298!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-profile-note>.ui-icon,
:root[data-theme="light"] .user-edit-light-page .identity-link-title>.ui-icon{
  color:#7048c5!important;
}

:root[data-theme="light"] .user-edit-light-page .identity-summary-flow>div>.ui-icon{
  color:#7652c6!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-summary-flow b{
  color:#40536b!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-summary-flow small{
  color:#7a8b9f!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-summary-flow>i{
  background:#d7e0ea!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-mobile-checks span{
  color:#5f7289!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-mobile-checks .ui-icon{
  color:#168267!important;
}
:root[data-theme="light"] .user-edit-light-page .mobile-session-admin{
  border-top-color:#dce5ee!important;
}
:root[data-theme="light"] .user-edit-light-page .mobile-session-admin small,
:root[data-theme="light"] .user-edit-light-page .account-history-card small{
  color:#71839a!important;
}
:root[data-theme="light"] .user-edit-light-page .mobile-session-admin b,
:root[data-theme="light"] .user-edit-light-page .account-history-card b{
  color:#33485f!important;
}
:root[data-theme="light"] .user-edit-light-page .account-history-card>div+div{
  border-top-color:#dce5ee!important;
}
:root[data-theme="light"] .user-edit-light-page .mobile-session-admin button{
  background:#fff1f4!important;
  border-color:#efbac6!important;
  color:#9d2e4b!important;
}
:root[data-theme="light"] .user-edit-light-page .mobile-session-admin button:hover{
  background:#ffe6ec!important;
  border-color:#e5a4b4!important;
  color:#812039!important;
}

:root[data-theme="light"] .user-edit-light-page .identity-save-bar{
  background:#fff!important;
  border-color:#d4dfea!important;
  box-shadow:0 12px 28px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-save-bar>div:first-child>.ui-icon{
  color:#168267!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-save-bar p b{
  color:#31465d!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-save-bar p small{
  color:#71839a!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-cancel-btn{
  background:#fff!important;
  border-color:#cbd7e4!important;
  color:#40536b!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-cancel-btn:hover{
  background:#edf3f8!important;
  border-color:#b7c6d6!important;
  color:#26384e!important;
}
:root[data-theme="light"] .user-edit-light-page .identity-save-btn{
  color:#fff!important;
  box-shadow:0 8px 20px rgba(124,60,255,.18)!important;
}

:root[data-theme="light"] .user-edit-light-page .flash.error{
  background:#fff1f4!important;
  border-color:#efbac6!important;
  color:#8f2843!important;
}


/* =========================================================
   STAGE 1F.4.8.6.60 — ROLES MODULE LIGHT MODE POLISH
   Page-scoped Light-mode treatment for roles.php and
   role-edit.php. Dark mode remains owned by identity.css.
   ========================================================= */
:root[data-theme="light"] .roles-light-page .identity-heading>span,
:root[data-theme="light"] .role-edit-light-page .identity-edit-hero>div>span{color:#7450c0!important}
:root[data-theme="light"] .roles-light-page .identity-heading h1,
:root[data-theme="light"] .role-edit-light-page .identity-edit-hero h1{color:#24364c!important}
:root[data-theme="light"] .roles-light-page .identity-heading p,
:root[data-theme="light"] .role-edit-light-page .identity-edit-hero p{color:#687b91!important}
:root[data-theme="light"] .role-edit-light-page .identity-back{color:#60738a!important}
:root[data-theme="light"] .role-edit-light-page .identity-back:hover{color:#5537a4!important}
:root[data-theme="light"] .role-edit-light-page .identity-account-id{background:#f3f6f9!important;border-color:#cfd9e4!important;color:#52667e!important}

:root[data-theme="light"] .roles-light-page .identity-kpi{background:#fff!important;border-color:#d4dfea!important;box-shadow:0 10px 25px rgba(43,61,86,.055)!important}
:root[data-theme="light"] .roles-light-page .identity-kpi>span{background:#f1ebff!important;border-color:#d0c1f1!important;color:#7048c5!important}
:root[data-theme="light"] .roles-light-page .identity-kpi.green>span{background:#e9f8f3!important;border-color:#a9dfcf!important;color:#168267!important}
:root[data-theme="light"] .roles-light-page .identity-kpi.blue>span{background:#eaf5ff!important;border-color:#b9d9f2!important;color:#2c6e9f!important}
:root[data-theme="light"] .roles-light-page .identity-kpi.gold>span{background:#fff7df!important;border-color:#ecd38b!important;color:#8b6710!important}
:root[data-theme="light"] .roles-light-page .identity-kpi strong{color:#25384e!important}
:root[data-theme="light"] .roles-light-page .identity-kpi b{color:#40536b!important}
:root[data-theme="light"] .roles-light-page .identity-kpi small{color:#78899d!important}

:root[data-theme="light"] .roles-light-page .identity-directory-card{background:#fff!important;border-color:#d4dfea!important;box-shadow:0 12px 28px rgba(43,61,86,.06)!important}
:root[data-theme="light"] .roles-light-page .identity-directory-head{background:linear-gradient(180deg,#fbfdff,#f7fafc)!important;border-bottom-color:#dce5ee!important}
:root[data-theme="light"] .roles-light-page .identity-directory-head>div>span{color:#7450c0!important}
:root[data-theme="light"] .roles-light-page .identity-directory-head h2{color:#26384e!important}
:root[data-theme="light"] .roles-light-page .identity-directory-head p{color:#6f8197!important}
:root[data-theme="light"] .roles-light-page .identity-policy-pill{background:#f1ebff!important;border-color:#d0c1f1!important;color:#6845b8!important}

:root[data-theme="light"] .roles-light-page .identity-role-card{background:linear-gradient(150deg,#fff,#f8fbff)!important;border-color:#d3deea!important;color:#26384e!important;box-shadow:0 10px 25px rgba(43,61,86,.055)!important}
:root[data-theme="light"] .roles-light-page .identity-role-card:hover{border-color:#b7c7d8!important;box-shadow:0 14px 30px rgba(43,61,86,.09)!important}
:root[data-theme="light"] .roles-light-page .identity-role-card.is-disabled{opacity:.72}
:root[data-theme="light"] .roles-light-page .identity-role-icon{background:#f1ebff!important;border-color:#d0c1f1!important;color:#7048c5!important}
:root[data-theme="light"] .roles-light-page .identity-role-title-line h3{color:#26384e!important}
:root[data-theme="light"] .roles-light-page .identity-system-role{background:#f2ecff!important;border-color:#d4c5f2!important;color:#6242ad!important}
:root[data-theme="light"] .roles-light-page .identity-custom-role{background:#e9f8f3!important;border-color:#a9dfcf!important;color:#12644e!important}
:root[data-theme="light"] .roles-light-page .identity-role-card-top p{color:#708298!important}
:root[data-theme="light"] .roles-light-page .identity-role-stats{border-color:#dce5ee!important;background:#fbfdff!important}
:root[data-theme="light"] .roles-light-page .identity-role-stats>div+div{border-left-color:#dce5ee!important}
:root[data-theme="light"] .roles-light-page .identity-role-stats strong{color:#33485f!important}
:root[data-theme="light"] .roles-light-page .identity-role-stats span{color:#7a8b9f!important}
:root[data-theme="light"] .roles-light-page .identity-role-access{background:#fff!important}
:root[data-theme="light"] .roles-light-page .identity-role-access span{color:#5f7289!important}
:root[data-theme="light"] .roles-light-page .identity-role-access span.on{color:#14745c!important}
:root[data-theme="light"] .roles-light-page .identity-role-access span.off{color:#8797aa!important;opacity:1}
:root[data-theme="light"] .roles-light-page .identity-role-footer{border-top-color:#dce5ee!important;background:#fbfdff!important}
:root[data-theme="light"] .roles-light-page .identity-role-footer a{color:#6748ae!important}
:root[data-theme="light"] .roles-light-page .identity-role-footer a:hover{color:#4d2c96!important}
:root[data-theme="light"] .roles-light-page .identity-role-footer>span{color:#71839a!important}

:root[data-theme="light"] .role-edit-light-page .identity-form-card{background:#fff!important;border-color:#d4dfea!important;color:#24364c!important;box-shadow:0 12px 28px rgba(43,61,86,.06)!important}
:root[data-theme="light"] .role-edit-light-page .identity-form-head{background:linear-gradient(180deg,#fbfdff,#f6f9fc)!important;border-bottom-color:#dce5ee!important}
:root[data-theme="light"] .role-edit-light-page .identity-form-head>span{background:#f1ebff!important;border-color:#d0c1f1!important;color:#7048c5!important}
:root[data-theme="light"] .role-edit-light-page .identity-form-head small{color:#7958c1!important}
:root[data-theme="light"] .role-edit-light-page .identity-form-head h2{color:#26384e!important}
:root[data-theme="light"] .role-edit-light-page .identity-form-head p{color:#6c7f95!important}
:root[data-theme="light"] .role-edit-light-page .identity-field>span{color:#40536b!important}
:root[data-theme="light"] .role-edit-light-page .identity-field small{color:#71839a!important}
:root[data-theme="light"] .role-edit-light-page .identity-field input,
:root[data-theme="light"] .role-edit-light-page .identity-field textarea{background:#fff!important;border-color:#cbd7e4!important;color:#26384e!important}
:root[data-theme="light"] .role-edit-light-page .identity-field input:focus,
:root[data-theme="light"] .role-edit-light-page .identity-field textarea:focus{border-color:#9d7ae8!important;box-shadow:0 0 0 3px rgba(124,91,223,.10)!important}
:root[data-theme="light"] .role-edit-light-page .identity-field input[readonly]{background:#f1f4f8!important;color:#66788e!important}

:root[data-theme="light"] .role-edit-light-page .role-active-control{background:#f8fbfd!important;border-color:#d4dfea!important;box-shadow:none!important}
:root[data-theme="light"] .role-edit-light-page .role-active-control:hover{background:#f3f7fb!important;border-color:#c3d0de!important}
:root[data-theme="light"] .role-edit-light-page .role-active-control b{color:#2f435a!important}
:root[data-theme="light"] .role-edit-light-page .identity-toggle-switch{background:#d7e0e9!important}
:root[data-theme="light"] .role-edit-light-page .identity-toggle-switch:after{background:#fff!important;box-shadow:0 1px 4px rgba(43,61,86,.18)!important}
:root[data-theme="light"] .role-edit-light-page .role-active-control>input:checked+.identity-toggle-switch{background:#8bd9c6!important}
:root[data-theme="light"] .role-edit-light-page .role-active-control>input:checked+.identity-toggle-switch:after{background:#12644e!important}

:root[data-theme="light"] .role-edit-light-page .permission-select-all{background:#f1ebff!important;border-color:#cdbcf0!important;color:#5f38ad!important}
:root[data-theme="light"] .role-edit-light-page .permission-select-all:hover{background:#e8deff!important;border-color:#b9a3ea!important;color:#47238e!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group{background:#fbfdff!important;border-color:#d4dfea!important;box-shadow:none!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group>header{background:#f7fafc!important;border-bottom-color:#dce5ee!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group>header>div>span{background:#f1ebff!important;color:#7048c5!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group header b{color:#33485f!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group header small{color:#7a8b9f!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group header button{color:#6748ae!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-group header button:hover{color:#4d2c96!important;text-decoration:underline}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item{background:#fff!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item+.identity-permission-item{border-top-color:#e0e7ef!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item:hover{background:#f8fbfd!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-check{background:#fff!important;border-color:#c8d4e1!important;color:transparent!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item>input:checked+.identity-permission-check{background:#e9f8f3!important;border-color:#9fd7c6!important;color:#14745c!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item b{color:#33485f!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item small{color:#71839a!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item em{color:#7358ad!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item:has(input:disabled){background:#f7f9fc!important}
:root[data-theme="light"] .role-edit-light-page .identity-permission-item:has(input:disabled) .identity-permission-check{opacity:.75}

:root[data-theme="light"] .role-edit-light-page .identity-save-bar{background:#fff!important;border-color:#d4dfea!important;box-shadow:0 12px 28px rgba(43,61,86,.06)!important}
:root[data-theme="light"] .role-edit-light-page .identity-save-bar>div:first-child>.ui-icon{color:#7048c5!important}
:root[data-theme="light"] .role-edit-light-page .identity-save-bar p b{color:#31465d!important}
:root[data-theme="light"] .role-edit-light-page .identity-save-bar p small{color:#71839a!important}
:root[data-theme="light"] .role-edit-light-page .identity-cancel-btn{background:#fff!important;border-color:#cbd7e4!important;color:#40536b!important}
:root[data-theme="light"] .role-edit-light-page .identity-cancel-btn:hover{background:#edf3f8!important;border-color:#b7c6d6!important;color:#26384e!important}
:root[data-theme="light"] .role-edit-light-page .identity-save-btn{color:#fff!important;box-shadow:0 8px 20px rgba(124,60,255,.18)!important}
:root[data-theme="light"] .role-edit-light-page .flash.error{background:#fff1f4!important;border-color:#efbac6!important;color:#8f2843!important}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.63 — GLOBAL SEARCH + PROFILE LIGHT MODE FINISH
   Global Light-mode readability pass requested after Settings review.
   Dark mode remains unchanged.
   ========================================================= */

/* Global search: true magnifier treatment + larger readable Light typography. */
:root[data-theme="light"] .global-search{
  color:#536981!important;
}
:root[data-theme="light"] .global-search input{
  color:#31455d!important;
  font-size:14px!important;
}
:root[data-theme="light"] .global-search input::placeholder{
  color:#7d90a6!important;
  opacity:1!important;
}
:root[data-theme="light"] .global-search-welcome{
  min-height:132px!important;
  padding:24px!important;
  gap:14px!important;
}
:root[data-theme="light"] .global-search-welcome>span{
  width:48px!important;
  height:48px!important;
  flex-basis:48px!important;
  border-color:#cdbdf5!important;
  background:#f2edff!important;
  color:#6743bd!important;
  box-shadow:0 5px 14px rgba(93,61,169,.08)!important;
}
:root[data-theme="light"] .global-search-welcome>span .ui-icon{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
}
:root[data-theme="light"] .global-search-welcome b{
  color:#26384e!important;
  font-size:15px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .global-search-welcome small{
  margin-top:5px!important;
  color:#657a92!important;
  font-size:13px!important;
  line-height:1.55!important;
}
:root[data-theme="light"] .global-search-group+ .global-search-group{
  border-color:#dce4ed!important;
}
:root[data-theme="light"] .global-search-group>header{
  background:#f7f9fc!important;
  border-color:#dce4ed!important;
}
:root[data-theme="light"] .global-search-group>header span{
  color:#5d3eae!important;
  font-size:12px!important;
  font-weight:700!important;
}
:root[data-theme="light"] .global-search-group>header small{
  background:#fff!important;
  border-color:#d1dce7!important;
  color:#62768d!important;
  font-size:11px!important;
}
:root[data-theme="light"] .global-search-copy b{
  color:#26384e!important;
  font-size:13px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .global-search-copy small{
  color:#657a92!important;
  font-size:12px!important;
}
:root[data-theme="light"] .global-search-copy em{
  color:#7a8da3!important;
  font-size:11px!important;
}
:root[data-theme="light"] .global-search-status{
  color:#657a92!important;
  font-size:11px!important;
}
:root[data-theme="light"] .global-search-foot{
  color:#657a92!important;
  font-size:12px!important;
}
:root[data-theme="light"] .global-search-foot span{
  font-size:12px!important;
}
:root[data-theme="light"] .global-search-foot kbd{
  min-width:20px!important;
  padding:3px 5px!important;
  color:#53677f!important;
  font-size:11px!important;
  font-weight:600!important;
}

/* Global profile menu: Light surfaces, stronger hierarchy and larger account copy. */
:root[data-theme="light"] .profile-menu-toggle .profile-chip-copy b{
  color:#26384e!important;
  font-size:14px!important;
}
:root[data-theme="light"] .profile-menu-toggle .profile-chip-copy small{
  color:#6b7f96!important;
  font-size:13px!important;
}
:root[data-theme="light"] .profile-menu-toggle .profile-avatar{
  background:#edf3f9!important;
  border-color:#c9d6e4!important;
  color:#314d69!important;
}
:root[data-theme="light"] .profile-popover-head{
  background:linear-gradient(135deg,#f7f9fc,#f1f4fa)!important;
  border-bottom-color:#d5dfe9!important;
}
:root[data-theme="light"] .profile-popover-avatar{
  background:linear-gradient(145deg,#eef2ff,#e7edf8)!important;
  border-color:#c4d2e2!important;
  color:#294967!important;
  font-size:14px!important;
}
:root[data-theme="light"] .profile-popover-identity>span{
  color:#7856c6!important;
  font-size:11px!important;
  font-weight:700!important;
}
:root[data-theme="light"] .profile-popover-identity>b{
  color:#26384e!important;
  font-size:14px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .profile-popover-identity>small{
  color:#687c93!important;
  font-size:12px!important;
}
:root[data-theme="light"] .profile-popover-meta{
  background:#fff!important;
  border-color:#dbe4ed!important;
}
:root[data-theme="light"] .profile-popover-meta>div{
  border-color:#dbe4ed!important;
}
:root[data-theme="light"] .profile-popover-meta span{
  color:#70849b!important;
  font-size:11px!important;
  font-weight:700!important;
}
:root[data-theme="light"] .profile-popover-meta b{
  color:#34495f!important;
  font-size:12px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .profile-popover-meta .profile-access-on{color:#169d80!important}
:root[data-theme="light"] .profile-popover-meta .profile-access-off{color:#75899f!important}
:root[data-theme="light"] .profile-popover-links{
  background:#fff!important;
}
:root[data-theme="light"] .profile-popover-links>a{
  min-height:62px!important;
  color:#31455d!important;
}
:root[data-theme="light"] .profile-popover-links>a:hover,
:root[data-theme="light"] .profile-popover-links>a:focus-visible{
  border-color:#d0dae5!important;
  background:#f5f7fb!important;
}
:root[data-theme="light"] .profile-popover-links>a>span:first-child{
  background:#f1edff!important;
  border-color:#d2c5f2!important;
  color:#6240b5!important;
}
:root[data-theme="light"] .profile-popover-links>a b{
  color:#31455d!important;
  font-size:13px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .profile-popover-links>a small{
  color:#6c8097!important;
  font-size:12px!important;
}
:root[data-theme="light"] .profile-link-arrow{
  color:#6e8197!important;
}
:root[data-theme="light"] .profile-popover-foot{
  background:#f7f9fc!important;
  border-top-color:#dbe4ed!important;
}
:root[data-theme="light"] .profile-popover-foot>div>span{
  background:#eaf8f4!important;
  border-color:#b9e2d6!important;
  color:#169d80!important;
}
:root[data-theme="light"] .profile-popover-foot p b{
  color:#40556d!important;
  font-size:12px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .profile-popover-foot p small{
  color:#73879d!important;
  font-size:11px!important;
}
:root[data-theme="light"] .profile-logout{
  background:#fff5f7!important;
  border-color:#efc3cf!important;
  color:#c54f70!important;
  font-size:12px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .profile-logout:hover,
:root[data-theme="light"] .profile-logout:focus-visible{
  background:#ffedf2!important;
  border-color:#e7a7b9!important;
  color:#b94264!important;
}


/* =========================================================
   SERENOVA STAGE 1F.4.8.6.64 — GLOBAL LIGHT WALLPAPER
   One Light-mode background asset across the authenticated
   CRM, login, password recovery and embedded booking preview.
   Dark mode wallpaper behavior remains unchanged.
   ========================================================= */

:root[data-theme="light"] .app-body:before{
  background-image:url('../images/light-wallpaper.png')!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  filter:saturate(.96) contrast(.98) brightness(1.03)!important;
  opacity:.76!important;
}
:root[data-theme="light"] .app-body:after{
  background:
    linear-gradient(180deg,rgba(250,252,255,.74),rgba(245,249,253,.84)),
    radial-gradient(circle at 53% 17%,rgba(124,60,255,.045),transparent 35%)!important;
}

:root[data-theme="light"] .auth-scene{
  background:
    linear-gradient(90deg,rgba(255,255,255,.16),rgba(247,251,255,.22)),
    url('../images/light-wallpaper.png') center center/cover no-repeat!important;
}
:root[data-theme="light"] .auth-scene:after{
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.02) 0 22%,rgba(245,249,253,.10) 64%,rgba(240,246,251,.22))!important;
}

:root[data-theme="light"] .reset-auth-shell{
  background:
    linear-gradient(145deg,rgba(251,253,255,.28),rgba(242,248,253,.38)),
    url('../images/light-wallpaper.png') center center/cover no-repeat!important;
}

:root[data-theme="light"] .booking-studio-preview .preview-banner{
  background:
    linear-gradient(90deg,rgba(255,255,255,.76),rgba(239,246,255,.64)),
    url('../images/light-wallpaper.png') center 58%/cover no-repeat!important;
}

@media(max-width:820px){
  :root[data-theme="light"] .auth-scene{
    background-position:center center!important;
  }
}


/* =========================================================
   SERENOVA STAGE 1F.4.8.6.65 — GLOBAL TYPOGRAPHY +
   NOTIFICATION DROPDOWN LIGHT-MODE FINISH
   Standardized CRM-wide minimum type scale and stronger
   Light-mode notification contrast. Dark-mode colors remain
   unchanged; typography sizing is intentionally global.
   ========================================================= */

:root{
  --serenova-type-micro:11px;
  --serenova-type-meta:12px;
  --serenova-type-control:13px;
  --serenova-type-body:14px;
}

/* Shared baseline: pages inherit one readable CRM rhythm. */
.app-body,
.auth-body,
.reset-auth-shell{
  font-size:var(--serenova-type-body);
  line-height:1.45;
}

/* Shared interactive/readable text roles. */
.app-body :is(input,select,textarea,button),
.auth-body :is(input,select,textarea,button),
.reset-auth-shell :is(input,select,textarea,button){
  line-height:1.35;
}

.app-body table th,
.app-body table td{
  line-height:1.42;
}

/* Notification dropdown — Light mode must retain operational
   urgency while keeping every line readable on white surfaces. */
:root[data-theme="light"] .notification-head b{
  color:#21354d!important;
  font-size:14px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .notification-head small{
  color:#657a92!important;
  font-size:12px!important;
}
:root[data-theme="light"] .notification-head button{
  background:#fff!important;
  border-color:#c8d5e3!important;
  color:#41566f!important;
  font-size:12px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .notification-head button:hover:not(:disabled){
  background:#f1edff!important;
  border-color:#c6b5f2!important;
  color:#5d39b1!important;
}
:root[data-theme="light"] .notification-head button:disabled{
  background:#edf1f5!important;
  border-color:#d7e0e9!important;
  color:#8798ab!important;
  opacity:1!important;
}
:root[data-theme="light"] .notification-item-copy b{
  color:#24384f!important;
  font-size:13px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .notification-item-copy span{
  color:#536b84!important;
  font-size:12px!important;
  line-height:1.48!important;
}
:root[data-theme="light"] .notification-item-copy small{
  color:#70849a!important;
  font-size:11px!important;
}
:root[data-theme="light"] .notification-item-copy small em{
  color:#7654c7!important;
  font-weight:600!important;
}
:root[data-theme="light"] .notification-item.unread{
  background:linear-gradient(90deg,rgba(124,60,255,.055),rgba(255,255,255,.98) 48%)!important;
}
:root[data-theme="light"] .notification-item.urgent{
  background:linear-gradient(90deg,rgba(240,90,131,.06),rgba(255,255,255,.98) 52%)!important;
}
:root[data-theme="light"] .notification-item.high{
  background:linear-gradient(90deg,rgba(224,184,92,.06),rgba(255,255,255,.98) 52%)!important;
}
:root[data-theme="light"] .notification-foot{
  color:#667b92!important;
  font-size:11px!important;
}
:root[data-theme="light"] .notification-foot a{
  color:#704cc4!important;
  font-size:11.5px!important;
  font-weight:600!important;
}
:root[data-theme="light"] .notification-empty b{
  color:#263a50!important;
}
:root[data-theme="light"] .notification-empty small{
  color:#657a91!important;
}


/* =========================================================
   SERENOVA STAGE 1F.4.8.6.66 — BOOKING VIEW LIGHT MODE POLISH
   Final page-level Light-mode treatment for booking-view.php.
   Dark mode is intentionally untouched.
   ========================================================= */

/* Hero / primary booking identity */
:root[data-theme="light"] .premium-booking-view .premium-booking-hero{
  background:
    radial-gradient(circle at 91% 4%,rgba(124,60,255,.10),transparent 33%),
    radial-gradient(circle at 2% 100%,rgba(42,210,178,.07),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,253,.96))!important;
  border-color:#cbd8e6!important;
  box-shadow:0 15px 36px rgba(43,61,86,.08)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-hero:after{
  border-color:rgba(112,76,196,.12)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-eyebrow>span:first-child{
  color:#7049be!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-hero h1{
  color:#203248!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-hero p{
  color:#5f748c!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-hero p span{
  color:#8294a8!important;
}
:root[data-theme="light"] .premium-booking-view .priority-pill{
  background:#f6f8fb!important;
  border-color:#cbd7e4!important;
  color:#52667d!important;
}
:root[data-theme="light"] .premium-booking-view .priority-pill.high{
  background:#fff7df!important;
  border-color:#ead08b!important;
  color:#79570c!important;
}
:root[data-theme="light"] .premium-booking-view .priority-pill.urgent{
  background:#fff0f3!important;
  border-color:#efb8c4!important;
  color:#9a2947!important;
}

/* Rebooking lineage / cancellation state */
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage{
  background:linear-gradient(135deg,#f6f2ff,#ffffff)!important;
  border-color:#d8cbf3!important;
  box-shadow:0 8px 22px rgba(74,49,128,.05)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-icon{
  background:#efe9ff!important;
  border-color:#cbb9ef!important;
  color:#6943b8!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-copy small{
  color:#7250b4!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-copy b{
  color:#293c52!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-copy b a{
  color:#6540b3!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-copy>span{
  color:#687e95!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-links a{
  background:#ffffff!important;
  border-color:#cbbce9!important;
  color:#6040a4!important;
}
:root[data-theme="light"] .premium-booking-view .premium-rebook-lineage-links a:hover{
  background:#f0ebff!important;
  border-color:#b59ae4!important;
  color:#4f2e98!important;
}
:root[data-theme="light"] .premium-booking-view .booking-cancelled-banner{
  background:linear-gradient(135deg,#fff3f6,#ffffff)!important;
  border-color:#efc1cc!important;
  box-shadow:0 10px 28px rgba(120,41,66,.06)!important;
}
:root[data-theme="light"] .premium-booking-view .booking-cancelled-banner-icon{
  background:#fff0f3!important;
  border-color:#efb8c4!important;
  color:#a53858!important;
}
:root[data-theme="light"] .premium-booking-view .booking-cancelled-banner small{
  color:#a83b5a!important;
}
:root[data-theme="light"] .premium-booking-view .booking-cancelled-banner b{
  color:#402633!important;
}
:root[data-theme="light"] .premium-booking-view .booking-cancelled-banner p{
  color:#765c68!important;
}
:root[data-theme="light"] .premium-booking-view .booking-cancelled-lock,
:root[data-theme="light"] .premium-booking-view .booking-status-locked{
  background:#fff0f3!important;
  border-color:#efb8c4!important;
  color:#94334f!important;
}

/* Five operational KPI cards */
:root[data-theme="light"] .premium-booking-view .premium-booking-overview>article{
  background:linear-gradient(145deg,#ffffff,#f8fafc)!important;
  border-color:#cedae7!important;
  box-shadow:0 8px 22px rgba(43,61,86,.055)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-overview-icon{
  background:#f0ebff!important;
  border-color:#c8b7ef!important;
  color:#6842ba!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-overview-icon.pickup{
  background:#fff7e3!important;
  border-color:#ead294!important;
  color:#8a6310!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-overview-icon.gps{
  background:#e9f8f4!important;
  border-color:#a8ddcf!important;
  color:#176a54!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-overview small{
  color:#647991!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-overview b{
  color:#273a51!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-overview span:not(.premium-booking-overview-icon){
  color:#71869c!important;
}

/* Main operations panel / section shells */
:root[data-theme="light"] .premium-booking-view .premium-booking-panel,
:root[data-theme="light"] .premium-booking-view .premium-timeline-panel{
  background:rgba(255,255,255,.97)!important;
  border-color:#cedae7!important;
  box-shadow:0 12px 30px rgba(43,61,86,.06)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-detail-panel-head,
:root[data-theme="light"] .premium-booking-view .premium-timeline-head{
  background:#f7f9fc!important;
  border-color:#d8e2ec!important;
}
:root[data-theme="light"] .premium-booking-view .premium-detail-panel-head>div>span,
:root[data-theme="light"] .premium-booking-view .premium-timeline-head>div>span{
  color:#704bc0!important;
}
:root[data-theme="light"] .premium-booking-view .premium-detail-panel-head h2,
:root[data-theme="light"] .premium-booking-view .premium-timeline-head h2{
  color:#26394f!important;
}
:root[data-theme="light"] .premium-booking-view .premium-detail-panel-head p{
  color:#667b92!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-panel-body{
  background:rgba(250,252,254,.72)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-section,
:root[data-theme="light"] .premium-booking-view .premium-booking-route-section{
  background:#ffffff!important;
  border-color:#d2dde8!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-section>header,
:root[data-theme="light"] .premium-booking-view .premium-booking-route-section>header{
  background:#f7f9fc!important;
  border-color:#dce5ee!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-section>header>div>span,
:root[data-theme="light"] .premium-booking-view .premium-booking-route-section>header>div>span{
  color:#704bc0!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-section h3,
:root[data-theme="light"] .premium-booking-view .premium-booking-route-section h3{
  color:#2d4056!important;
}
:root[data-theme="light"] .premium-booking-view .premium-section-code{
  background:#f1edff!important;
  border-color:#d0c1ef!important;
  color:#5e3aa9!important;
}
:root[data-theme="light"] .premium-booking-view .premium-route-state{
  background:#e9f8f4!important;
  border-color:#a8ddcf!important;
  color:#176a54!important;
}

/* Booking detail data cells */
:root[data-theme="light"] .premium-booking-view .premium-detail-grid .detail-item{
  background:#f8fafc!important;
  border-color:#d5e0eb!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .premium-booking-view .premium-detail-grid .detail-item small{
  color:#667c93!important;
}
:root[data-theme="light"] .premium-booking-view .premium-detail-grid .detail-item b{
  color:#293c52!important;
}
:root[data-theme="light"] .premium-booking-view .booking-value-amount{
  color:#263a50!important;
}
:root[data-theme="light"] .premium-booking-view .booking-value-breakdown,
:root[data-theme="light"] .premium-booking-view .booking-detail-therapist-people{
  color:#6b8097!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-therapists .booking-therapist-workflow-person{
  background:#ffffff!important;
  border-color:#cfdbe7!important;
  color:#2c4057!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-therapists .booking-therapist-workflow-person:hover{
  background:#f7f4ff!important;
  border-color:#baa5e7!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-therapists .therapist-workflow-mini{
  background:#f1f4f8!important;
  border-color:#ccd8e4!important;
  color:#5d7188!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-therapists .therapist-workflow-mini.arrived{
  background:#edf7ff!important;
  border-color:#b8d9ef!important;
  color:#27678f!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-therapists .therapist-workflow-mini.in_service{
  background:#f1edff!important;
  border-color:#cdbdf0!important;
  color:#6842ae!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-therapists .therapist-workflow-mini.service_done{
  background:#e9f8f4!important;
  border-color:#a8ddcf!important;
  color:#176a54!important;
}

/* Status update controls */
:root[data-theme="light"] .premium-booking-view .premium-status-form select{
  background:#ffffff!important;
  border-color:#c7d4e2!important;
  color:#30445b!important;
  color-scheme:light!important;
}
:root[data-theme="light"] .premium-booking-view .premium-status-form button{
  background:#f0eaff!important;
  border-color:#bda6ec!important;
  color:#5c36ad!important;
}
:root[data-theme="light"] .premium-booking-view .premium-status-form button:hover{
  background:#e7deff!important;
  border-color:#a88be3!important;
  color:#4f2b9d!important;
}

/* Driver pickup workflow */
:root[data-theme="light"] .premium-booking-view .premium-driver-workflow{
  background:#ffffff!important;
  border-color:#cfdbe7!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-head,
:root[data-theme="light"] .premium-booking-view .driver-workflow-driver,
:root[data-theme="light"] .premium-booking-view .driver-progress{
  border-color:#d9e3ec!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-head{
  background:#f8f6ff!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-head p{
  color:#704bc0!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-head h3{
  color:#283c52!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-head>div>span{
  color:#6b8096!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-avatar{
  background:#edf6ff!important;
  border-color:#b9d5ed!important;
  color:#2c6794!important;
}
:root[data-theme="light"] .premium-booking-view :is(.driver-workflow-driver small,.driver-workflow-target small){
  color:#687d94!important;
}
:root[data-theme="light"] .premium-booking-view :is(.driver-workflow-driver b,.driver-workflow-target b){
  color:#293d53!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-driver>div>span{
  color:#647b92!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step{
  background:#f8fafc!important;
  border-color:#d3dee9!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step::after{
  background:#ccd8e4!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-dot{
  background:#eef3f8!important;
  border-color:#c4d2e0!important;
  color:#647a91!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step b{
  color:#53687f!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step small{
  color:#75899e!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.complete{
  background:#edf9f5!important;
  border-color:#aedfD1!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.complete .driver-progress-dot{
  background:#e5f7f1!important;
  border-color:#9bd7c5!important;
  color:#176b54!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.complete b{
  color:#17624f!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.complete::after{
  background:linear-gradient(90deg,#42b99f,#8360d4)!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.current{
  background:#f1edff!important;
  border-color:#baa4e8!important;
  box-shadow:0 0 0 2px rgba(112,71,199,.045)!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.current .driver-progress-dot{
  background:#e8e0ff!important;
  border-color:#ac91e3!important;
  color:#5b37a9!important;
}
:root[data-theme="light"] .premium-booking-view .driver-progress-step.current b{
  color:#56359b!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-actions{
  background:#fbfcfe!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-actions p,
:root[data-theme="light"] .premium-booking-view .driver-workflow-closed,
:root[data-theme="light"] .premium-booking-view .driver-workflow-closed span{
  color:#667b91!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-empty{
  background:#f8fafc!important;
  color:#667b91!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-empty b{
  color:#293d53!important;
}
:root[data-theme="light"] .premium-booking-view .driver-workflow-empty span{
  color:#6c8197!important;
}

/* Live map information chrome. The map itself already switches to
   Google Light style through booking-view-map.js. */
:root[data-theme="light"] .premium-booking-view .booking-detail-map{
  background:#e8eef5!important;
  border-color:#cbd7e4!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-panel{
  background:rgba(255,255,255,.95)!important;
  border-color:#c7d5e3!important;
  box-shadow:0 12px 30px rgba(43,61,86,.16)!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item{
  background:#f7f9fc!important;
  border-color:#d3dee9!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item small{
  color:#6b8096!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item b{
  color:#2a3e54!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item.proximity b{
  color:#536980!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item.near-client{
  background:#fff7e3!important;
  border-color:#ead294!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item.near-client b{
  color:#7e5b12!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item.arrival-zone{
  background:#e9f8f4!important;
  border-color:#a8ddcf!important;
}
:root[data-theme="light"] .premium-booking-view .booking-route-live-item.arrival-zone b{
  color:#176a54!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-map-badge{
  background:rgba(255,255,255,.96)!important;
  border-color:#c8d5e3!important;
  color:#293d53!important;
  box-shadow:0 10px 28px rgba(43,61,86,.15)!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-map-badge b{
  color:#293d53!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-map-badge span{
  color:#647b92!important;
}
:root[data-theme="light"] .premium-booking-view .booking-detail-map-fallback{
  background:#e8eef5!important;
}
:root[data-theme="light"] .premium-booking-view .map-stage-message{
  background:rgba(255,255,255,.95)!important;
  border-color:#c8d5e3!important;
  color:#293d53!important;
  box-shadow:0 12px 28px rgba(43,61,86,.12)!important;
}
:root[data-theme="light"] .premium-booking-view .map-stage-message b{
  color:#293d53!important;
}
:root[data-theme="light"] .premium-booking-view .map-stage-message span{
  color:#647b92!important;
}

/* Operational timeline */
:root[data-theme="light"] .premium-booking-view .premium-timeline-summary article{
  background:#f7f9fc!important;
  border-color:#d5e0eb!important;
}
:root[data-theme="light"] .premium-booking-view .premium-timeline-summary small{
  color:#677c93!important;
}
:root[data-theme="light"] .premium-booking-view .premium-timeline-summary b{
  color:#2b3f55!important;
}
:root[data-theme="light"] .premium-booking-view .premium-event-list .event-row{
  border-color:#e0e7ef!important;
}
:root[data-theme="light"] .premium-booking-view .premium-event-list .event-dot{
  background:#7954c8!important;
  box-shadow:0 0 0 4px rgba(121,84,200,.09)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-event-list .event-row b{
  color:#34485f!important;
}
:root[data-theme="light"] .premium-booking-view .premium-event-list .event-row small,
:root[data-theme="light"] .premium-booking-view .premium-event-list .event-row time{
  color:#71869c!important;
}

/* Protected booking record card */
:root[data-theme="light"] .premium-booking-view .premium-booking-side-card{
  background:linear-gradient(145deg,#ffffff,#f5faf8)!important;
  border-color:#cfe0db!important;
  box-shadow:0 8px 22px rgba(43,61,86,.05)!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-side-icon{
  background:#e9f8f4!important;
  border-color:#a8ddcf!important;
  color:#176a54!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-side-card small{
  color:#627a72!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-side-card b{
  color:#2a4039!important;
}
:root[data-theme="light"] .premium-booking-view .premium-booking-side-card p{
  color:#6b817a!important;
}

/* Booking cancellation dialog */
:root[data-theme="light"] .booking-cancel-modal{
  background:
    radial-gradient(circle at 95% 0,rgba(240,90,131,.06),transparent 34%),
    #ffffff!important;
  border-color:#d7cbd1!important;
  color:#293b50!important;
  box-shadow:0 30px 85px rgba(43,40,49,.22)!important;
}
:root[data-theme="light"] .booking-cancel-modal>header{
  background:#fff8fa!important;
  border-color:#ead9df!important;
}
:root[data-theme="light"] .booking-cancel-modal-icon{
  background:#fff0f3!important;
  border-color:#efb8c4!important;
  color:#a53858!important;
}
:root[data-theme="light"] .booking-cancel-modal header small{
  color:#a73c5a!important;
}
:root[data-theme="light"] .booking-cancel-modal header h2{
  color:#3a2932!important;
}
:root[data-theme="light"] .booking-cancel-modal header p{
  color:#765f6a!important;
}
:root[data-theme="light"] .booking-cancel-modal-close{
  background:#ffffff!important;
  border-color:#d7c9cf!important;
  color:#67545d!important;
}
:root[data-theme="light"] .booking-cancel-warning{
  background:#fff6f8!important;
  border-color:#efc7d0!important;
}
:root[data-theme="light"] .booking-cancel-warning p{
  color:#765d69!important;
}
:root[data-theme="light"] .booking-cancel-warning b{
  color:#4d303d!important;
}
:root[data-theme="light"] .booking-cancel-form>label>span{
  color:#40536a!important;
}
:root[data-theme="light"] .booking-cancel-form label small{
  color:#74879c!important;
}
:root[data-theme="light"] .booking-cancel-form select,
:root[data-theme="light"] .booking-cancel-form textarea{
  background:#ffffff!important;
  border-color:#cbd7e4!important;
  color:#293d53!important;
  color-scheme:light!important;
}
:root[data-theme="light"] .booking-cancel-form select:focus,
:root[data-theme="light"] .booking-cancel-form textarea:focus{
  border-color:#c36a86!important;
  box-shadow:0 0 0 3px rgba(195,106,134,.09)!important;
}

/* =========================================================
   SERENOVA STAGE 1F.4.8.6.67 — BOOKING CREATE LIGHT FINISH
   Final Light-mode cleanup for the Booking Studio preview
   banner and service selection check controls. Dark mode is
   intentionally unchanged.
   ========================================================= */

/* Light-mode booking preview: preserve the approved wallpaper,
   but give the overlaid wellness copy enough contrast to read. */
:root[data-theme="light"] .booking-studio-preview .preview-banner{
  background:
    linear-gradient(90deg,rgba(255,255,255,.90),rgba(242,248,255,.78)),
    url('../images/light-wallpaper.png') center 58%/cover no-repeat!important;
  border-color:#c8d5e3!important;
  box-shadow:0 10px 26px rgba(48,67,92,.10)!important;
}
:root[data-theme="light"] .booking-studio-preview .preview-banner:after{
  background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(227,240,252,.14))!important;
}
:root[data-theme="light"] .booking-studio-preview .preview-banner h3{
  color:#26384f!important;
  text-shadow:0 1px 0 rgba(255,255,255,.92)!important;
}
:root[data-theme="light"] .booking-studio-preview .preview-banner p{
  color:#526b83!important;
  text-shadow:0 1px 0 rgba(255,255,255,.90)!important;
}
:root[data-theme="light"] .booking-studio-preview .preview-banner-mark{
  color:#b98a22!important;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.85));
}

/* Unselected services must never look pre-selected. The check glyph
   is hidden until the underlying input is actually checked. */
:root[data-theme="light"] .booking-studio-body .studio-service-check{
  background:#ffffff!important;
  border-color:#c7d4e1!important;
  color:transparent!important;
}
:root[data-theme="light"] .booking-studio-body .studio-service-check .ui-icon{
  color:inherit!important;
}
:root[data-theme="light"] .booking-studio-body .studio-service-card:has(input:checked) .studio-service-check,
:root[data-theme="light"] .booking-studio-body .booking-participant-service:has(input:checked) .studio-service-check,
:root[data-theme="light"] .booking-studio-body .studio-therapist-card:has(input:checked) .studio-service-check,
:root[data-theme="light"] .booking-studio-body .studio-driver-card:has(input:checked) .studio-service-check{
  background:#7a43ed!important;
  border-color:#8f62ef!important;
  color:#ffffff!important;
}

/* Stage 1F.4.8.6.71 — Users confirmation + filter Light mode */
:root[data-theme="light"] .users-light-page .identity-kpi-link{color:inherit}
:root[data-theme="light"] .users-light-page .identity-kpi-link:hover{border-color:#b6c5d5!important;box-shadow:0 14px 30px rgba(43,61,86,.09)!important}
:root[data-theme="light"] .users-light-page .identity-kpi-link.is-selected{border-color:#b8a0e7!important;box-shadow:0 0 0 1px rgba(117,80,199,.09),0 12px 28px rgba(43,61,86,.07)!important}
:root[data-theme="light"] .users-light-page .identity-card-action.delete{background:#fff2f4!important;border-color:#efbdc8!important;color:#9d2e4b!important}
:root[data-theme="light"] .users-light-page .identity-card-action.delete:hover{background:#ffe8ed!important;border-color:#e7a6b6!important;color:#812039!important}
:root[data-theme="light"] .users-light-page .identity-confirm-backdrop{background:rgba(35,47,64,.32)!important}
:root[data-theme="light"] .users-light-page .identity-confirm-dialog{background:#fff!important;border-color:#ccd8e5!important;box-shadow:0 28px 80px rgba(43,61,86,.20)!important}
:root[data-theme="light"] .users-light-page .identity-confirm-icon{background:#fff1f4!important;border-color:#efbdc8!important;color:#a53655!important}
:root[data-theme="light"] .users-light-page .identity-confirm-dialog h2{color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-confirm-dialog p{color:#697c92!important}
:root[data-theme="light"] .users-light-page .identity-confirm-actions button{background:#fff!important;border-color:#ccd8e5!important;color:#40536b!important}
:root[data-theme="light"] .users-light-page .identity-confirm-actions button:hover{background:#edf3f8!important;border-color:#b8c7d7!important;color:#26384e!important}
:root[data-theme="light"] .users-light-page .identity-confirm-actions button.danger{background:#fff2f4!important;border-color:#efbdc8!important;color:#9d2e4b!important}


/* Stage 1F.4.8.6.76 — Stage 3 Assign later card in Light mode. */
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-card{border-color:#cbd9e7!important;background:#f7fbff!important;box-shadow:none!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-card:hover{border-color:#9fb7cf!important;background:#f1f7fd!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-card:has(input:checked),
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-card.is-selected{border-color:#8664d4!important;background:linear-gradient(145deg,#f5f0ff,#eef7ff)!important;box-shadow:0 0 0 2px rgba(124,60,255,.06)!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-copy b{color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-copy small{color:#6d8198!important}
:root[data-theme="light"] .booking-studio-body .recipient-therapist-defer-icon{background:#eee8ff!important;color:#7250c7!important}

/* Stage 1F.4.8.6.77 — Booking Edit cancel / discard workflow in Light mode. */
:root[data-theme="light"] .booking-studio-body .booking-studio-cancel-edit{border-color:#e7b8c4!important;background:#fff5f7!important;color:#a54f66!important}
:root[data-theme="light"] .booking-studio-body .booking-studio-cancel-edit:hover{border-color:#d88ea1!important;background:#fff0f3!important;color:#8e3f55!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal-backdrop{background:rgba(28,40,56,.38)!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal{border-color:#d5e0ea!important;background:linear-gradient(155deg,#ffffff,#f4f8fc)!important;box-shadow:0 30px 80px rgba(34,50,68,.22)!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal-icon{border-color:#f0c4cf!important;background:#fff0f4!important;color:#b6526b!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal>small{color:#7250c7!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal h2{color:#26384e!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal p{color:#667b92!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-modal p b{color:#2b3e55!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-discard{border-color:#e7a9b8!important;background:#fff0f4!important;color:#a4445d!important}
:root[data-theme="light"] .booking-studio-body .booking-exit-discard:hover{border-color:#d47f95!important;background:#ffe7ed!important;color:#8d344d!important}

