html[data-theme="dark"] {
  --surface: #122231;
  --surface-soft: rgba(18, 34, 49, 0.96);
  --surface-muted: #0d1b28;
  --background: #08131f;
  --card-border: #294358;
  --border: rgba(151, 188, 213, 0.18);
  --border-strong: rgba(151, 188, 213, 0.32);
  --text-main: #e8f1f7;
  --text-muted: #9eb3c4;
  --primary: #7cccf3;
  --primary-dark: #58b8e8;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.26);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] body {
  background-color: #08131f;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(28, 163, 217, 0.1), transparent 34%),
    radial-gradient(circle at 88% 86%, rgba(34, 95, 135, 0.12), transparent 38%);
  color: #e8f1f7;
}

html[data-theme="dark"] .report-block-room-modal > header {
  border-color: var(--card-border);
  background: linear-gradient(135deg, #102739, #122231);
}

html[data-theme="dark"] .report-block-room-modal > header > span {
  background: #17384c;
}

html[data-theme="dark"] .report-block-room-modal h2,
html[data-theme="dark"] .report-block-room-modal p {
  color: var(--text-main);
}

html[data-theme="dark"] .room-scroll-panel,
html[data-theme="dark"] .room-scroll-search,
html[data-theme="dark"] .room-scroll-counter,
html[data-theme="dark"] .room-view-switch button,
html[data-theme="dark"] .room-panel-scopes button,
html[data-theme="dark"] .room-explorer-row {
  border-color: var(--card-border);
  background: var(--surface-muted);
  color: var(--text-main);
}

html[data-theme="dark"] .room-scroll-search input {
  color: var(--text-main);
}

html[data-theme="dark"] .room-view-switch button.is-active,
html[data-theme="dark"] .room-panel-scopes button.is-active {
  border-color: var(--secondary);
  background: #16415a;
  color: #e8f7ff;
}

html[data-theme="dark"] .report-room-map-chip,
html[data-theme="dark"] .report-room-map-chip.is-closed,
html[data-theme="dark"] .report-room-map-chip.is-delivered,
html[data-theme="dark"] .report-room-map-chip.is-washed,
html[data-theme="dark"] .report-room-map-chip.is-laundry,
html[data-theme="dark"] .report-room-map-chip.has-incident {
  background: #132433;
  color: var(--text-main);
}

html[data-theme="dark"] .report-room-map-chip .room-map-chip-alert {
  color: #fed7aa;
  background: #7c2d12;
}

html[data-theme="dark"] .dashboard-main,
html[data-theme="dark"] .dashboard-content {
  background-color: transparent;
}

html[data-theme="dark"] .dashboard-content {
  background-image: linear-gradient(rgba(8, 19, 31, 0.88), rgba(8, 19, 31, 0.88)), var(--network-pattern);
}

html[data-theme="dark"] .dashboard-header {
  border-bottom-color: #294358;
  background: #101e2c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .header-title h2,
html[data-theme="dark"] .user-name,
html[data-theme="dark"] .header-screen,
html[data-theme="dark"] .header-user,
html[data-theme="dark"] .header-logout {
  color: #eaf4fa;
}

html[data-theme="dark"] .header-title p,
html[data-theme="dark"] .user-role {
  color: #9eb3c4;
}

html[data-theme="dark"] .header-screen-icon,
html[data-theme="dark"] .header-back-action,
html[data-theme="dark"] .header-icon-button,
html[data-theme="dark"] .header-logout,
html[data-theme="dark"] .user-pill {
  border-color: #29465b;
  background: #172b3c;
  color: #bfe6f8;
}

html[data-theme="dark"] .header-icon-button:hover,
html[data-theme="dark"] .header-icon-button[aria-pressed="true"] {
  border-color: #54b8e8;
  background: #1c4258;
  color: #fff3bc;
}

html[data-theme="dark"] .push-notification-toggle {
  border-color: #29465b;
  background: #172b3c;
  color: #bfe6f8;
}

html[data-theme="dark"] .push-notification-toggle.is-active {
  border-color: #285c45;
  background: #173829;
  color: #77dfa6;
}

html[data-theme="dark"] .header-operation-state {
  border-color: #285c45;
  background: #173829;
  color: #77dfa6;
}

html[data-theme="dark"] .avatar {
  background: #0b5f91;
  box-shadow: 0 0 0 4px #20384a;
}

html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .dashboard-hero-band,
html[data-theme="dark"] .dashboard-content > .flex-between.mb-4,
html[data-theme="dark"] .panel-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .table-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .ticket-panel-card,
html[data-theme="dark"] .ticket-mobile-card,
html[data-theme="dark"] .structured-form-section,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .activity-item,
html[data-theme="dark"] .attention-item,
html[data-theme="dark"] .ticket-category-block,
html[data-theme="dark"] .evidence-card,
html[data-theme="dark"] .quick-user,
html[data-theme="dark"] .filter-toolbar,
html[data-theme="dark"] .compact-filter-shell,
html[data-theme="dark"] .ticket-results-panel {
  border-color: #294358 !important;
  background: #122231 !important;
  color: #e8f1f7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .activity-list,
html[data-theme="dark"] .attention-list {
  background: rgba(13, 27, 40, 0.82);
}

html[data-theme="dark"] .activity-item:hover,
html[data-theme="dark"] .attention-item:hover {
  border-color: #4e8cac !important;
  background: #193044 !important;
}

html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .panel-header h2,
html[data-theme="dark"] .info-card-title,
html[data-theme="dark"] .metric-copy strong,
html[data-theme="dark"] .ticket-panel-main strong,
html[data-theme="dark"] .activity-main strong,
html[data-theme="dark"] .attention-item strong,
html[data-theme="dark"] .h1,
html[data-theme="dark"] .h2,
html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4,
html[data-theme="dark"] .form-label,
html[data-theme="dark"] .structured-form-section > h4 {
  color: #eaf4fa !important;
}

html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .panel-header p,
html[data-theme="dark"] .metric-copy small,
html[data-theme="dark"] .metric-copy em,
html[data-theme="dark"] .ticket-panel-main small,
html[data-theme="dark"] .ticket-panel-meta span,
html[data-theme="dark"] .ticket-panel-flags span,
html[data-theme="dark"] .activity-main small,
html[data-theme="dark"] .activity-meta small,
html[data-theme="dark"] .attention-item small,
html[data-theme="dark"] .text-muted {
  color: #9eb3c4 !important;
}

html[data-theme="dark"] .panel-header,
html[data-theme="dark"] .table-toolbar,
html[data-theme="dark"] .table-helper-text,
html[data-theme="dark"] .forms-manager-head,
html[data-theme="dark"] .ticket-actions-row,
html[data-theme="dark"] .dashboard-alert-summary {
  border-color: #294358;
  background: #101f2d;
}

html[data-theme="dark"] .workflow-page-step > div {
  background: transparent;
}

html[data-theme="dark"] .workflow-page-step > span {
  border-color: #466177;
  background: #122231;
  color: #a9bdcb;
}

html[data-theme="dark"] .workflow-page-step.current > span {
  border-color: #f57c00;
  background: #352616;
  color: #ffb45d;
}

html[data-theme="dark"] .workflow-page-step strong {
  color: #e8f1f7;
}

html[data-theme="dark"] .workflow-page-step small {
  color: #93aabd;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.current > span {
  border-color: #39b7eb;
  background: #1184b5;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(57, 183, 235, .2);
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.current > div {
  border-color: #55b9df;
  background: #12354a;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.current strong,
html[data-theme="dark"] .workflow-page-section .workflow-page-step.current strong {
  color: #d9f4ff;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.current small {
  color: #fff;
  background: #1184b5;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.pending > span {
  border-color: #52697a;
  border-style: dashed;
  background: #172938;
  color: #9aafbd;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.pending > div {
  border-color: #415769;
  background: #142431;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.pending strong {
  color: #afbfca;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step.pending small {
  color: #8297a6;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step[data-flow-status="en_lavado"].current > span {
  border-color: #aa8df3;
  background: #7656bd;
  color: #fff;
}

html[data-theme="dark"] .workflow-page-section .workflow-page-step[data-flow-status="en_lavado"].current > div {
  border-color: #6e59a8;
  background: #2a2342;
}

html[data-theme="dark"] .dashboard-alert-summary > div {
  border-color: #36556d;
  background: #142838;
}

html[data-theme="dark"] .dashboard-alert-summary small {
  color: #a5bac8;
}

html[data-theme="dark"] .export-toolbar,
html[data-theme="dark"] .report-key-points article,
html[data-theme="dark"] .report-mobile-cards article,
html[data-theme="dark"] .report-chart-card,
html[data-theme="dark"] .report-insight-panel {
  border-color: #294358;
  background: #122231;
  color: #e8f1f7;
}

html[data-theme="dark"] .report-key-points strong,
html[data-theme="dark"] .report-donut strong,
html[data-theme="dark"] .report-donut-legend strong,
html[data-theme="dark"] .report-trend-chart strong,
html[data-theme="dark"] .report-ranking-row strong,
html[data-theme="dark"] .report-ranking-row b {
  color: #eaf4fa;
}

html[data-theme="dark"] .report-key-points small,
html[data-theme="dark"] .report-key-points em,
html[data-theme="dark"] .report-donut small,
html[data-theme="dark"] .report-donut-legend span,
html[data-theme="dark"] .report-ranking-row small,
html[data-theme="dark"] .report-mobile-cards p,
html[data-theme="dark"] .report-mobile-cards small,
html[data-theme="dark"] .export-toolbar > span {
  color: #9eb3c4;
}

html[data-theme="dark"] .report-key-points article > i {
  background: #18384d;
  color: #7cccf3;
}

html[data-theme="dark"] .report-donut::before {
  border-color: #36556d;
  background: #122231;
}

html[data-theme="dark"] .report-ranking-row > span,
html[data-theme="dark"] .report-trend-chart > div > span {
  background: #203748;
}

html[data-theme="dark"] .executive-summary p {
  border-color: #294358;
  background: #101f2d;
  color: #b6c8d4;
}

html[data-theme="dark"] .executive-summary strong {
  color: #eaf4fa;
}

html[data-theme="dark"] .operational-report-tabs {
  border-color: #294358;
  background: #101f2d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .operational-report-tabs button {
  color: #9eb3c4;
}

html[data-theme="dark"] .operational-report-tabs button:hover {
  background: #193044;
  color: #eaf4fa;
}

html[data-theme="dark"] .operational-report-tabs button.is-active {
  background: #0b5f91;
  color: #fff;
}

html[data-theme="dark"] .operational-export-summary {
  border-color: #36556d;
  background: #101f2d;
  color: #9eb3c4;
}

html[data-theme="dark"] .operational-export-summary strong {
  color: #eaf4fa;
}

html[data-theme="dark"] .report-chart-filter > span {
  color: #9eb3c4;
}

html[data-theme="dark"] .report-chart-filter > small {
  color: #829aaa;
}

html[data-theme="dark"] .report-chart-filter {
  border-color: #36556d;
}

html[data-theme="dark"] .contextual-filter-heading {
  border-color: #294358;
  background: #101f2d;
}

html[data-theme="dark"] .contextual-filter-heading strong {
  color: #eaf4fa;
}

html[data-theme="dark"] .contextual-filter-heading small {
  color: #9eb3c4;
}

html[data-theme="dark"] .billing-history-quick-filters {
  border-color: #294358;
  background: #101f2d;
}

html[data-theme="dark"] .billing-history-quick-filters label > span {
  color: #9eb3c4;
}

html[data-theme="dark"] .closed-expedient-banner,
html[data-theme="dark"] .closed-report-card,
html[data-theme="dark"] .closed-observation-list > div {
  border-color: #29485e;
  background: #102a3b;
  color: #e8f3fa;
}

html[data-theme="dark"] .closed-expedient-banner > i,
html[data-theme="dark"] .closed-report-card dl > div {
  background: #17384d;
}

html[data-theme="dark"] .closed-expedient-banner span,
html[data-theme="dark"] .closed-observation-list small,
html[data-theme="dark"] .closed-report-card header small,
html[data-theme="dark"] .closed-report-card dt {
  color: #9fb7c9;
}

html[data-theme="dark"] .closed-observation-list p,
html[data-theme="dark"] .closed-report-card > p,
html[data-theme="dark"] .closed-report-card dd {
  color: #e8f3fa;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  border-color: #36556d;
  background-color: #0d1b28;
  color: #edf6fb;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #7790a4;
}

html[data-theme="dark"] .form-control:disabled,
html[data-theme="dark"] .form-control[readonly],
html[data-theme="dark"] .delivery-total-readonly {
  border-color: #314a5e;
  background: #172733 !important;
  color: #b8cbd8;
}

html[data-theme="dark"] .label-optional::after,
html[data-theme="dark"] .mode-chip,
html[data-theme="dark"] .result-total-pill {
  border-color: #36556d;
  background: #1a3142;
  color: #aed8ef;
}

html[data-theme="dark"] .card-table-wrapper,
html[data-theme="dark"] .report-table-wrap,
html[data-theme="dark"] .ticket-form-table-wrapper {
  border-color: #294358;
  background: #101f2d;
  box-shadow: none;
}

html[data-theme="dark"] .data-table,
html[data-theme="dark"] .document-table,
html[data-theme="dark"] .ticket-category-table {
  background: #122231;
  color: #e5eff5;
}

html[data-theme="dark"] .data-table thead th,
html[data-theme="dark"] .document-table th,
html[data-theme="dark"] .ticket-category-table thead th {
  border-bottom-color: #365267;
  background: #1a3041;
  color: #b5d6e8;
}

html[data-theme="dark"] .data-table tbody td,
html[data-theme="dark"] .document-table td,
html[data-theme="dark"] .ticket-category-table tbody td,
html[data-theme="dark"] .ticket-category-table tbody td:first-child {
  border-bottom-color: #294358;
  background: #122231;
  color: #dce9f1;
}

html[data-theme="dark"] .data-table tbody td:first-child,
html[data-theme="dark"] .document-table td:first-child,
html[data-theme="dark"] .data-table td strong,
html[data-theme="dark"] .document-table td strong {
  color: #dff3fc;
}

html[data-theme="dark"] .data-table tbody tr:hover td,
html[data-theme="dark"] .document-table tbody tr:hover td,
html[data-theme="dark"] .ticket-category-table tbody tr:hover td,
html[data-theme="dark"] .ticket-category-table tbody tr:hover td:first-child {
  background: #193044;
  color: #fff;
}

html[data-theme="dark"] .info-pairs {
  border-color: #294358;
  background: #294358;
}

html[data-theme="dark"] .info-pair,
html[data-theme="dark"] .pdf-data,
html[data-theme="dark"] .mini-list-item,
html[data-theme="dark"] .timeline-item,
html[data-theme="dark"] .mode-banner,
html[data-theme="dark"] .option-action-card,
html[data-theme="dark"] .file-input-option,
html[data-theme="dark"] .unified-evidence-input,
html[data-theme="dark"] .upload-preview {
  border-color: #294358;
  background: #101f2d;
  color: #e5eff5;
}

html[data-theme="dark"] .info-pair small,
html[data-theme="dark"] .pdf-data small,
html[data-theme="dark"] .timeline-item span {
  color: #91a9ba;
}

html[data-theme="dark"] .info-pair strong,
html[data-theme="dark"] .pdf-data strong,
html[data-theme="dark"] .timeline-item strong {
  color: #eaf4fa;
}

html[data-theme="dark"] .action-secondary,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .icon-action,
html[data-theme="dark"] .btn-inline-action,
html[data-theme="dark"] .compact-order-button,
html[data-theme="dark"] .evidence-picker-button,
html[data-theme="dark"] .delivery-time-now {
  border-color: #365a72;
  background: #183246;
  color: #c8ebfa;
}

html[data-theme="dark"] .app-modal {
  border-color: #36556d;
  background: #122231;
}

html[data-theme="dark"] .app-modal-body,
html[data-theme="dark"] .close-expedient-modal .app-modal-body,
html[data-theme="dark"] .evidence-source-sheet {
  background: #122231;
  color: #e8f1f7;
}

html[data-theme="dark"] .app-modal-close,
html[data-theme="dark"] .close-expedient-modal .app-modal-close,
html[data-theme="dark"] .evidence-source-close {
  border-color: #36556d;
  background: #1a3142;
  color: #ccecff;
}

html[data-theme="dark"] .app-modal > .app-modal-close:hover {
  border-color: #5daed3;
  background: #21445b;
  color: #ffffff;
}

html[data-theme="dark"] .evidence-viewer-header .ticket-evidence-close {
  border-color: #52748d;
  background: #1a3142;
  color: #e5f5ff;
}

html[data-theme="dark"] .evidence-viewer-header .ticket-evidence-close:hover {
  border-color: #74c9ee;
  background: #0b6f9b;
  color: #fff;
}

html[data-theme="dark"] .close-expedient-copy h2,
html[data-theme="dark"] .close-expedient-ticket strong {
  color: #eef8fc;
}

html[data-theme="dark"] .close-expedient-copy p {
  color: #9eb3c4;
}

html[data-theme="dark"] .close-expedient-ticket {
  border-color: #36556d;
}

html[data-theme="dark"] .close-expedient-ticket > div {
  background: #101f2d;
}

html[data-theme="dark"] .close-expedient-ticket > div + div {
  border-color: #36556d;
}

html[data-theme="dark"] .close-expedient-warning {
  border-color: #805b28;
  background: #342715;
  color: #ffd596;
}

html[data-theme="dark"] .close-expedient-warning span {
  color: #d7b984;
}

html[data-theme="dark"] .auth-layout {
  background-color: #08131f;
  background-image: linear-gradient(rgba(8, 19, 31, 0.84), rgba(8, 19, 31, 0.9)), var(--network-pattern);
}

html[data-theme="dark"] .login-card {
  border-color: #2e4b61;
  background: rgba(16, 31, 45, 0.97);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .login-card > .text-center h1,
html[data-theme="dark"] .quick-access-head strong,
html[data-theme="dark"] .quick-user strong {
  color: #eaf4fa;
}

html[data-theme="dark"] .login-card > .text-center p,
html[data-theme="dark"] .quick-access-head span,
html[data-theme="dark"] .quick-user small,
html[data-theme="dark"] .login-divider {
  color: #9eb3c4;
}

html[data-theme="dark"] .login-divider::before,
html[data-theme="dark"] .login-divider::after {
  background: #36556d;
}

html[data-theme="dark"] .quick-user:hover {
  border-color: #54b8e8 !important;
  background: #19394f !important;
}

html[data-theme="dark"] .quick-access-qa,
html[data-theme="dark"] .quick-search,
html[data-theme="dark"] .quick-client-select,
html[data-theme="dark"] .quick-role-filter {
  border-color: #36556d;
  background: #102231;
}

html[data-theme="dark"] .quick-search input,
html[data-theme="dark"] .quick-client-select select,
html[data-theme="dark"] .quick-role-filter,
html[data-theme="dark"] .quick-user-copy strong {
  color: #eaf4fa;
}

html[data-theme="dark"] .quick-role-filter b,
html[data-theme="dark"] .quick-role-badge {
  background: #183a52;
  color: #bfe7ff;
}

html[data-theme="dark"] .quick-role-filter.is-active {
  border-color: #54b8e8;
  background: #1479b6;
}

html[data-theme="dark"] .quick-users-empty {
  border-color: #36556d;
  color: #a9bfce;
}

html[data-theme="dark"] .person-profile-cell strong,
html[data-theme="dark"] .person-role-cell strong,
html[data-theme="dark"] .person-shift-cell strong,
html[data-theme="dark"] .personnel-profile-form > label > span {
  color: #e5f2f8;
}

html[data-theme="dark"] .person-no-shift {
  background: #183044;
  color: #adc4d3;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0a1722;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #3d5d72;
}

/* Los documentos conservan papel blanco y colores de impresión. */
html[data-theme="dark"] .document-preview,
html[data-theme="dark"] .pdf-preview-document .document-preview {
  color-scheme: light;
  background: #fff !important;
  color: #102033 !important;
}

html[data-theme="dark"] .document-preview .document-table,
html[data-theme="dark"] .document-preview .document-table td {
  background: #fff !important;
  color: #102033 !important;
}

html[data-theme="dark"] .document-preview .document-table th,
html[data-theme="dark"] .document-preview .pdf-section-title {
  background: #dcebf5 !important;
  color: #07385a !important;
}

html[data-theme="dark"] .document-preview .pdf-data {
  background: #fff !important;
  color: #102033 !important;
}

html[data-theme="dark"] .document-preview .pdf-data strong,
html[data-theme="dark"] .document-preview .pdf-data small {
  color: #102033 !important;
}

html[data-theme="dark"] .modern-ticket-preview .pdf-section-title {
  background: #10779e !important;
  color: #fff !important;
}

html[data-theme="dark"] .modern-ticket-preview .pdf-section-title span {
  background: #073d57 !important;
  color: #fff !important;
}

html[data-theme="dark"] .modern-ticket-preview .pdf-data {
  background: #f7fbfd !important;
}

html[data-theme="dark"] .modern-ticket-preview .pdf-data small {
  color: #08719a !important;
}

/* La preferencia de apariencia también debe poder cambiarse desde teléfono. */
@media (max-width: 640px) {
  #themeToggle.header-icon-button {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
}

html[data-theme="dark"] .analytics-filter-heading,
html[data-theme="dark"] .analytics-chart-panel,
html[data-theme="dark"] .analytics-map-panel,
html[data-theme="dark"] .analytics-linked-action,
html[data-theme="dark"] .analytics-empty-state { background:#142b3b; border-color:#31556d; color:#a9bdca; }

html[data-theme="dark"] .route-loading-heading,
html[data-theme="dark"] .ui-skeleton-grid article,
html[data-theme="dark"] .ui-skeleton-table,
html[data-theme="dark"] .ui-confirm-modal,
html[data-theme="dark"] .toast { background:#102535; border-color:#315064; }
html[data-theme="dark"] .ui-skeleton-table > span { border-color:#294659; }
html[data-theme="dark"] .ui-skeleton-table i,
html[data-theme="dark"] .ui-skeleton-grid i,
html[data-theme="dark"] .ui-skeleton-grid span,
html[data-theme="dark"] .route-loading-heading i,
html[data-theme="dark"] .route-loading-heading span {
  background:linear-gradient(90deg,#1b3547 25%,#29495d 45%,#1b3547 65%);
  background-size:300% 100%;
}
html[data-theme="dark"] .ui-empty-state { background:rgba(16,37,53,.72); border-color:#36576b; }
html[data-theme="dark"] .ui-progress-steps { background:#112a3b; border-color:#315468; }
html[data-theme="dark"] .ui-progress-steps header strong,
html[data-theme="dark"] .ui-confirm-modal h2,
html[data-theme="dark"] .toast strong { color:#e4f3fb; }
html[data-theme="dark"] .toast-close:hover { background:#223f52; color:#fff; }
html[data-theme="dark"] .analytics-filter-heading strong,
html[data-theme="dark"] .analytics-bar-row strong,
html[data-theme="dark"] .analytics-bar-row em,
html[data-theme="dark"] .analytics-donut strong { color:#e7f5ff; }
html[data-theme="dark"] .analytics-bar-row:hover { background:#18364a; }
html[data-theme="dark"] .client-profile-identity,
html[data-theme="dark"] .client-profile-metrics > div,
html[data-theme="dark"] .client-status-legend > div { background:#122b3c; border-color:#31556d; }
html[data-theme="dark"] .client-profile-identity > span { background:#173f53; color:#4fc5ef; }
html[data-theme="dark"] .client-status-profile { background:#0f2433; border-color:#31556d; }
html[data-theme="dark"] .client-status-bar { border-color:#122b3c; background:#263f50; }
html[data-theme="dark"] .analytics-bar-row>i { background:#27475c; }
html[data-theme="dark"] .analytics-donut:before { background:#102433; box-shadow:0 0 0 1px #31556d; }
html[data-theme="dark"] .garment-check-modal{color:#d8edf7}html[data-theme="dark"] .garment-check-modal h2{color:#f0f9fd}html[data-theme="dark"] .garment-check-summary>div,html[data-theme="dark"] .garment-check-row,html[data-theme="dark"] .garment-check-modal>footer{background:#102535;border-color:#315064}html[data-theme="dark"] .garment-check-row:hover{background:#153044;border-color:#477086}html[data-theme="dark"] .garment-check-row.is-checked{background:#113b37;border-color:#36a38e}html[data-theme="dark"] .garment-check-ticket-note{background:#3b3018}html[data-theme="dark"] .garment-check-feedback{background:#17384a;color:#c9e9f5}html[data-theme="dark"] .garment-check-quantity{background:#1c3a4d;color:#c2dbe7}html[data-theme="dark"] .garment-check-state{background:#1d3443;color:#adc1cc}html[data-theme="dark"] .garment-check-row.is-checked .garment-check-state{background:#17483e;color:#87dfca}html[data-theme="dark"] .garment-check-copy small,html[data-theme="dark"] .garment-check-modal p{color:#a9bdca}
html[data-theme="dark"] .assignment-onboarding-icon{border-color:#31566c;background:linear-gradient(145deg,#173447,#102735);color:#5ac4ee;box-shadow:none}html[data-theme="dark"] .assignment-onboarding-status{background:#153b2d;color:#79dca5}html[data-theme="dark"] .assignment-onboarding h1,html[data-theme="dark"] .assignment-onboarding-lead strong,html[data-theme="dark"] .assignment-onboarding-steps strong{color:#e6f3fa}html[data-theme="dark"] .assignment-onboarding-lead,html[data-theme="dark"] .assignment-onboarding-steps small{color:#a8bdc9}html[data-theme="dark"] .assignment-onboarding-steps>div{border-color:#315268;background:rgba(16,37,53,.86)}html[data-theme="dark"] .assignment-onboarding-steps span{background:#173d52;color:#72d0f3}html[data-theme="dark"] .assignment-onboarding-help{border-color:#31566c;background:#122d3e;color:#abc0cc}html[data-theme="dark"] .assignment-onboarding-help strong{color:#d9edf7}
