﻿.display-settings{color:#fff;font-size:13px}.display-settings summary{cursor:pointer;padding:6px 0}.display-settings form{padding:8px;background:#203952;border-radius:6px}.display-settings label{display:block;margin-bottom:10px}.display-settings select,.display-settings input[type=range]{display:block;width:100%;margin-top:4px}.display-settings select{border-radius:4px;padding:5px}
.user-list-table>tbody>tr>td{height:var(--user-row-height,48px)!important;padding:6px var(--user-cell-padding,10px)!important;vertical-align:middle!important;overflow-wrap:anywhere}
.user-list-table>thead>tr>th{padding-left:var(--user-cell-padding,10px)!important;padding-right:var(--user-cell-padding,10px)!important}
/* Keep list headings and values aligned in both embedded and detached views. */
:is(.table,.user-list-table,.shipment-balanced-table)>:is(thead,tbody,tfoot)>tr>:is(th,td){text-align:center!important;vertical-align:middle}
.user-list-table.user-list-table col{min-width:0}.user-list-table td{min-width:0!important;max-width:none!important;overflow:hidden}
.user-resizable-heading{position:relative}.user-column-handle{position:absolute;top:0;right:-2px;width:9px;height:100%;cursor:col-resize;touch-action:none;z-index:9;border-right:2px solid #95a8c2}.user-column-handle:hover,.user-column-handle:focus{background:#77a5ee66;outline:2px solid #2563eb}
.user-list-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 0;font-size:13px}.user-list-controls select{width:100px}.user-list-controls small{flex-basis:100%;color:#64748b}
@media screen{.user-page-hidden{display:none!important}}
html[data-ui-theme=dark]{color-scheme:dark;--bs-body-color:#e2e8f0;--bs-body-bg:#121c2b;--bs-secondary-color:#b6c5d9;--bs-border-color:#475569}
html[data-ui-theme=dark] body{background:#111827!important;color:#e2e8f0!important}
html[data-ui-theme=dark] :is(.workspace-header,.card,dialog,.overview-dialog-header,.overview-dialog-body,.status-page-query,.overview-filter-panel,.profile-avatar,.content-zoom-controls,.user-list-controls){background:#1c293b!important;color:#e2e8f0!important;border-color:#425570!important}
html[data-ui-theme=dark] :is(h1,h2,h3,h4,h5,h6,.model-name,.overview-section-label,.production-header-title,.workspace-breadcrumb strong){color:#edf4ff!important}
html[data-ui-theme=dark] :is(.form-control,.form-select,textarea,input[type=date],input[type=time],.display-settings select){background-color:#152135!important;color:#edf4ff!important;border-color:#607189!important}
html[data-ui-theme=dark] input::placeholder,html[data-ui-theme=dark] textarea::placeholder{color:#a4b3c6!important}
html[data-ui-theme=dark] .table{--bs-table-color:#e2e8f0;--bs-table-bg:#1c293b;--bs-table-border-color:#475569;color:#e2e8f0}
html[data-ui-theme=dark] .table>:not(caption)>*>*{background-color:#1c293b;color:#e2e8f0;border-color:#475569}
html[data-ui-theme=dark] :is(.status-table-scroll thead,.table thead th,.table thead td){background:#2b3e57!important;color:#edf4ff!important}
html[data-ui-theme=dark] .takt-transferred>td{background:#27394a!important;color:#c2d0de!important}
html[data-ui-theme=dark] :is(.text-muted,.overview-muted,.overview-subtitle,.workspace-breadcrumb,small){color:#aebdd0}
html[data-ui-theme=dark] .text-muted{color:#aebdd0!important}
html[data-ui-theme=dark] a:not(.btn):not(.app-brand):not(.app-menu a),html[data-ui-theme=dark] .text-primary{color:#80b9ff!important}
html[data-ui-theme=dark] .text-danger{color:#ff929e!important}html[data-ui-theme=dark] .text-success{color:#66d6ac!important}
html[data-ui-theme=dark] [data-standard-takt]{color:#b0bed1!important}html[data-ui-theme=dark] [data-measured-takt]{color:#b0d5ff!important}
html[data-ui-theme=dark] .btn-outline-primary{color:#97c4ff;border-color:#729ee5}html[data-ui-theme=dark] .btn-outline-secondary{color:#d1dbe8;border-color:#8b9cb0}
html[data-ui-theme=dark] :is(.bg-white,.bg-light){background:#1c293b!important;color:#e2e8f0!important}
html[data-ui-theme=dark] .alert{background:#263a50;color:#edf4ff;border-color:#547797}
@media print{.display-settings,.user-list-controls,.user-column-handle{display:none!important}.user-list-table{width:100%!important;table-layout:auto!important}.user-list-table col,.user-list-table th{width:auto!important}.user-list-table tr[hidden]{display:none!important}html[data-ui-theme=dark]{color-scheme:light}html[data-ui-theme=dark] body,html[data-ui-theme=dark] .table>:not(caption)>*>*,html[data-ui-theme=dark] .table thead th{background:#fff!important;color:#000!important}.user-list-table>tbody>tr>td{height:auto!important}}
@media screen{
html[data-ui-theme=dark] :is(.production-kpis,.production-detail-toolbar,.overview-attention,.shipment-quantity-summary,.shipment-donut-center,.shipment-production-heading,.shipment-model-count,.metric-card,.overview-empty){background:#1c293b!important;color:#e2e8f0!important;border-color:#475569!important}
html[data-ui-theme=dark] :is(.production-kpis strong,.production-kpis span,.production-header-search summary,.overview-attention p,.overview-attention strong,.overview-empty,.lot-dashboard .overview-panel-note){color:#d5e4f7!important}
html[data-ui-theme=dark] table thead th{background:#2b3e57!important;color:#edf4ff!important}
html[data-ui-theme=dark] .user-list-table>tbody>tr>td,html[data-ui-theme=dark] .lot-dashboard .overview-left-column table tbody td{background:#1c293b!important;color:#e2e8f0;border-color:#475569!important}
html[data-ui-theme=dark] .lot-dashboard .overview-left-column .table td.production-quantity{background:#1c293b!important;color:#e2e8f0!important}
html[data-ui-theme=dark] .lot-dashboard .overview-left-column .table td.quantity-making,html[data-ui-theme=dark] .lot-dashboard .overview-left-column .table td.quantity-not-started{background:#243853!important;color:#97c4ff!important}
html[data-ui-theme=dark] .overview-popup-trigger{background:#274b79!important;color:#f3f7ff!important}
html[data-ui-theme=dark] .overview-popup-trigger small{background:#1e3551!important;color:#d6e7ff!important}
html[data-ui-theme=dark] .kpi-icon{background:#2c4360!important;color:#a8cdff!important}
html[data-ui-theme=dark] .takt-transferred>td{background:#27394a!important}
}
@media screen{
html[data-ui-theme=dark] :is(.status-page-header,.shipment-donut-card,.shipment-donut-card.is-selected){background:#1c293b!important;color:#e2e8f0!important;border-color:#475569!important}
html[data-ui-theme=dark] .shipments-compact :is(.shipment-model-count>span,.shipment-production-row>span:first-child,.shipment-action-toolbar label,.status-query-form label,.shipment-search-field>label){color:#d5e2f2!important}
html[data-ui-theme=dark] .shipments-compact :is(.shipment-model-count strong,.shipment-model-total:first-child strong,.shipment-quantity-value strong,.shipment-sales-summary td){color:#a8ceff!important}
html[data-ui-theme=dark] .shipments-compact .shipment-model-count:hover,html[data-ui-theme=dark] .shipments-compact .shipment-model-count.is-selected{background:#2a4262!important}
html[data-ui-theme=dark] .shipment-donut-legend :is(.donut-key,.donut-key a){color:#e2e8f0!important}
html[data-ui-theme=dark] .shipment-donut-legend small{color:#bdcce0!important}
html[data-ui-theme=dark] .shipment-donut-legend li{border-color:#465a73!important}
html[data-ui-theme=dark] .shipment-donut-center{color:#edf4ff!important}
html[data-ui-theme=dark] .shipment-production-state.is-waiting{background:#34465c!important;color:#e2e8f0!important}
html[data-ui-theme=dark] .shipment-production-state.is-making{background:#254675!important;color:#b8d9ff!important}
html[data-ui-theme=dark] .context-help-button{background:#293e5c!important;color:#e2e8f0!important;border-color:#6c8db9!important}
html[data-ui-theme=dark] label{color:#c6d5e8}
html[data-ui-theme=dark] :is(.overview-count-pill,.test-table-search){background:#293e57!important;color:#d5e2f2!important;border-color:#607189!important}
html[data-ui-theme=dark] .lot-dashboard .overview-left-column table tbody th{background:#1c293b!important;color:#e2e8f0!important;border-color:#475569!important}
html[data-ui-theme=dark] .staff-calendar{background:#1c293b;color:#e2e8f0}
html[data-ui-theme=dark] .staff-calendar td{border-color:#52647c}
html[data-ui-theme=dark] .staff-calendar .staff-weekend{background:#352d40}
html[data-ui-theme=dark] .staff-calendar .staff-holiday{background:#542e3b}
html[data-ui-theme=dark] .staff-calendar .staff-outside{background:#192334}
html[data-ui-theme=dark] .staff-calendar :is(.staff-count,.staff-names){color:#d5e2f2}
html[data-ui-theme=dark] .staff-calendar :is(.staff-planned,.staff-empty){color:#b9c8db}
html[data-ui-theme=dark] .staff-calendar :is(.staff-holiday-name,.staff-weekend .staff-day,.staff-holiday .staff-day){color:#ffabb4}
html[data-ui-theme=dark] .state-complete{background:#193e34;color:#8ce2bb!important;border-color:#49856b}
html[data-ui-theme=dark] .lot-dashboard .lot-board-table tbody th{background:#1c293b!important;color:#edf4ff!important}
html[data-ui-theme=dark] .lot-dashboard .lot-board-table tbody th strong{color:#edf4ff!important}
html[data-ui-theme=dark] .lot-dashboard :is(.lot-board-note,.lot-board-table small,.lot-balance-note,.lot-board-empty){color:#bdcce0!important}
html[data-ui-theme=dark] .lot-dashboard :is(.lot-baseline-date,.lot-card-heading>strong,.overview-stage-counts>div,.overview-stage-counts span){color:#edf4ff!important}
html[data-ui-theme=dark] .lot-dashboard :is(.lot-plan-quantity,.lot-remaining){color:#a8ceff!important}
html[data-ui-theme=dark] .lot-dashboard .lot-remaining.is-zero{color:#bdcce0!important}
}

/* Shared readable surfaces; keep status colors and user-selected swatches meaningful. */
@media screen {
html[data-ui-theme] a[data-stock-colored],html[data-ui-theme] span[data-stock-colored]{color:var(--stock-ink)!important}
html[data-ui-theme] .badge.text-dark{color:#182536!important}
html[data-ui-theme=light]{--bs-link-color:#1457ad;--bs-link-color-rgb:20,87,173}
html[data-ui-theme=light] :is(label,.workspace-breadcrumb,.workspace-breadcrumb span,.workspace-profile small,.overview-muted,.overview-eyebrow,.overview-method,.user-list-controls small,.calendar-empty,.kpi-calendar-empty,.kpi-weekday,.staff-empty,.schedule-planned,.simulation-rest,.sales-summary-even){color:#536277!important}
html[data-ui-theme=light] :is(.table thead th,.timeline-table thead th,.overview-calendar thead th,.lot-board-table small,.lot-remaining.is-zero){color:#506077!important}
html[data-ui-theme=light] :is(.text-warning,.text-warning-emphasis){color:#805600!important}
html[data-ui-theme=light] .text-success{color:#12653f!important}
html[data-ui-theme=light] .text-danger{color:#b52c3c!important}
html[data-ui-theme=light] .text-primary{color:#1457ad!important}
html[data-ui-theme] .btn-outline-primary{--bs-btn-color:#1457ad;--bs-btn-hover-color:#fff;--bs-btn-active-color:#fff}
html[data-ui-theme] .btn-outline-secondary{--bs-btn-color:#526174}
html[data-ui-theme] .btn-outline-danger{--bs-btn-color:#b52c3c}
html[data-ui-theme] .btn-outline-success{--bs-btn-color:#12653f}
html[data-ui-theme=dark] .btn-outline-primary{--bs-btn-color:#a8ceff;--bs-btn-disabled-color:#a8ceff;color:#a8ceff}
html[data-ui-theme=dark] .btn-outline-secondary{--bs-btn-color:#d1dbe8;--bs-btn-disabled-color:#d1dbe8;color:#d1dbe8}
html[data-ui-theme=dark] .btn-outline-danger{--bs-btn-color:#ffadb5;--bs-btn-disabled-color:#ffadb5;color:#ffadb5}
html[data-ui-theme=dark] .btn-outline-success{--bs-btn-color:#8ce2bb;color:#8ce2bb}
html[data-ui-theme=dark] .btn-link{color:#a8ceff!important}
html[data-ui-theme=dark] :is(.shipment-quantity-summary h2,.shipment-quantity-summary tfoot th,.shipment-quantity-summary tfoot td){background:#293e57!important;color:#edf4ff!important}
html[data-ui-theme=dark] .shipment-quantity-summary tbody td:last-child{color:#a8ceff!important}
html[data-ui-theme=dark] :is(.allocation-actions,.allocation-help,.allocation-panel,.allocation-day,.allocation-load-chart,.allocation-budget,.schedule-scroll,.schedule-worker,.schedule-total,.schedule-day-comparison,.schedule-day-comparison>summary,.schedule-popup-nav,.simulation-lot,.simulation-transfer,.simulation-hour,.forecast-months,.planning-day,.planning-day-lot,.kpi-calendar-day,.kpi-calendar-person,.kpi-dialog-header,.report-paste-zone,.sales-destination,.work-comparison-stats,.lot-period-name,.lot-period-kind,.lot-label,.lot-kind){background:#1c293b!important;color:#e2e8f0!important;border-color:#52647c!important}
html[data-ui-theme=dark] :is(.allocation-day[aria-pressed=true],.allocation-budget,.planning-day.today,.kpi-calendar-day.today){background:#293e57!important}
html[data-ui-theme=dark] :is(.planning-day.rest,.schedule-table .calendar-holiday,.schedule-table .schedule-sunday,.simulation-holiday,.staff-leave,.allocation-day.over,.allocation-budget.over){background:#542e3b!important;color:#ffb5bf!important}
html[data-ui-theme=dark] :is(.schedule-table .schedule-saturday,.simulation-weekend){background:#3e3043!important;color:#ffc5cc!important}
html[data-ui-theme=dark] :is(.schedule-table .calendar-holiday,.simulation-holiday,.simulation-weekend) :is(a,small,span,.btn-link){color:#ffc5cc!important}
html[data-ui-theme=dark] :is(.planning-day.outside,.staff-outside){background:#192334!important}
html[data-ui-theme=dark] :is(.allocation-heading span,.allocation-load-heading small,.production-filter-field label,.dashboard-summary span,.simulation-caption,.simulation-rest,.overview-chart-readout,.overview-eyebrow,.overview-method,.work-stack-legend,.work-stack-legend small,.planning-weekday,.kpi-weekday,.eyebrow,.sales-model-row,.sales-supply-detail summary,.shipment-model-count>span,.shipment-model-count strong,.text-secondary,.schedule-day-comparison>summary span){color:#bdcce0!important}
html[data-ui-theme=dark] :is(.sales-summary-surplus,.work-comparison-legend .actual){color:#8ce2bb!important}
html[data-ui-theme=dark] :is(.sales-unspecified,.sales-summary-short,.attention-item>b,.behind){color:#ffadb5!important}
html[data-ui-theme=dark] :is(.text-warning-emphasis,.text-warning){color:#ffd37a!important}
html[data-ui-theme=dark] :is(.sales-summary-even,.sales-model-short){color:#bdcce0!important}
/* Inline panel backgrounds from older forms also participate in the theme. */
html[data-ui-theme=dark] :is(.card,.overview-popup-content,.border.rounded)[style*="background"]{background-color:#26364b!important;color:#e2e8f0!important}
html[data-ui-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){background-color:#152135;color:#edf4ff;border-color:#607189}
/* Progress bars retain light fills, with dark text on top for either theme. */
html[data-ui-theme=dark] .calendar-progress :is(b,small,.work-daily-gain,.work-daily-hours){color:#162b43!important}
html[data-ui-theme=dark] .overview-calendar .calendar-empty{color:#60404c!important}
html[data-ui-theme=dark] .overview-calendar td:not(.is-holiday):not(.is-saturday) .calendar-empty{color:#526174!important}
}
@media screen {
.app-menu a{font-size:14px;line-height:1.45;gap:8px;padding:10px 8px;min-height:42px}
.app-menu a>span:not(.menu-notice-badge){min-width:0;word-break:keep-all;overflow-wrap:normal}
.app-menu .menu-icon{width:18px;height:18px;flex-basis:18px}
html[data-ui-theme=dark] :is(.kpi-value,.kpi-worker-button){color:#a8ceff!important}
html[data-ui-theme=dark] :is(.kpi-note,.kpi-axis,.kpi-calendar-empty){color:#bdcce0!important}
}
@media screen {
/* Explicit swatch ink wins over general link and label styling. */
html[data-ui-theme] body a[data-stock-colored]:not(.btn):not(.app-brand):not(.app-menu a){color:var(--stock-ink)!important}
html[data-ui-theme] body a.badge.text-dark:not(.btn):not(.app-brand):not(.app-menu a){color:#182536!important}
html[data-ui-theme=dark] :is(#production-forecast,.simulation-calendar td,.simulation-bar,.simulation-stage-balance,.simulation-assumptions,.simulation-transfer-guide,.work-comparison-stats>div,.forecast-day,.forecast-stage-balances){background:#26364b!important;color:#e2e8f0!important}
html[data-ui-theme=dark] .forecast-day.overlap{background:#1c4537!important;color:#b6f0ce!important}
html[data-ui-theme=dark] .forecast-day.holiday{background:#542e3b!important;color:#ffc5cc!important}
html[data-ui-theme=dark] .simulation-calendar td.simulation-holiday{background:#542e3b!important}
html[data-ui-theme=dark] .simulation-calendar td.simulation-weekend{background:#3e3043!important}
html[data-ui-theme=dark] :is(.planning-remaining .plc,.forecast-stage-balances .plc){color:#ffd37a!important}
html[data-ui-theme=dark] :is(.planning-remaining .inspection,.forecast-stage-balances .inspection){color:#8ce2bb!important}
html[data-ui-theme=dark] :is(.allocation-load-heading span,.overview-metrics span,.simulation-caption span,.sales-model-row strong,.sales-model-row b,.report-paste-zone strong,.work-lot-select){color:#bdcce0!important}
html[data-ui-theme=dark] :is(.overview-metrics .plan,.work-comparison-legend span:first-child){color:#a8ceff!important}
html[data-ui-theme=dark] :is(.overview-metrics .actual,.work-comparison-legend span:last-child){color:#8ce2bb!important}
html[data-ui-theme=dark] .overview-calendar td:not(.is-holiday):not(.is-saturday):not(.is-today) .calendar-empty{color:#bdcce0!important}
html[data-ui-theme=dark] :is(.work-comparison svg text,.chart-label){fill:#bdcce0!important}
html[data-ui-theme=dark] .work-comparison svg text.work-comparison-holiday{fill:#ffadb5!important}
html[data-ui-theme=light] :is(.overview-lot-panel h2 small,.overview-line-heading p,.overview-metrics span,.work-stack-legend small,.allocation-load-heading span,.work-comparison-stats .text-secondary){color:#526174!important}
html[data-ui-theme=light] :is(.overview-metrics .plan,.overview-legend .plan){color:#245ea1!important}
html[data-ui-theme=light] :is(.overview-metrics .actual,.overview-legend .actual,.lot-kind.actual){color:#94501b!important}
html[data-ui-theme=light] .work-comparison-legend span:last-child{color:#08734f!important}
html[data-ui-theme=light] .overview-calendar :is(th.is-holiday,th.is-saturday,th.is-holiday small,th.is-saturday small,td.is-holiday .calendar-empty){color:#741426!important}
html[data-ui-theme=light] .profile-avatar{color:#30549c!important}
html[data-ui-theme=light] .btn-outline-secondary{--bs-btn-disabled-color:#526174}
html[data-ui-theme=light] .table thead th[style*="background"]{color:#fff!important}
}
.user-column-chooser{position:relative;display:inline-block;margin:6px 0}.user-column-chooser>summary{list-style:none}.user-column-options{position:absolute;z-index:30;top:100%;left:0;min-width:240px;max-height:360px;overflow:auto;padding:14px;background:#fff;color:#26364b;border:1px solid #8b9cb0;border-radius:8px;box-shadow:0 6px 20px #0003;display:grid;gap:9px}.user-column-options label{display:flex;gap:8px;align-items:center;margin:0}.user-column-hidden{display:none!important}
@media screen{html[data-ui-theme=dark] .user-column-options{background:#26364b;color:#e2e8f0}html[data-ui-theme=dark] .planning-remaining b:first-child{color:#ffd37a!important}html[data-ui-theme=dark] .planning-remaining b:last-child{color:#8ce2bb!important}html[data-ui-theme=dark] .sales-save-bar{background:#26364b;color:#e2e8f0}}
@media print{.user-column-chooser{display:none!important}}
@media screen{
html[data-ui-theme=dark] :is(.allocation-load-heading>*,.report-paste-zone span,.simulation-detail){color:#bdcce0!important}
html[data-ui-theme=dark] #sales-demands .sales-model-row>*{color:#e2e8f0!important}
html[data-ui-theme=dark] :is(.simulation-stage-balance b,.forecast-overlap-hint){color:#8ce2bb!important}
html[data-ui-theme=dark] .critical-plc-text{color:#ffd37a!important}
html[data-ui-theme=dark] :is(.critical-test-text,.forecast-stage-balances .test){color:#a8ceff!important}
html[data-ui-theme=dark] .user-column-chooser{background:#1c293b;color:#e2e8f0}
html[data-ui-theme=light] .allocation-load-heading>*{color:#526174!important}
html[data-ui-theme=light] #sales-demands .sales-detail-table thead th{color:#fff!important}
html[data-ui-theme=light] #sales-demands .sales-supply-detail summary span{color:#526174!important}
}
@media screen{html[data-ui-theme=dark] #sales-demands .sales-save-bar{background:#26364b!important;color:#e2e8f0!important}}
@media screen{
html[data-ui-theme] .app-sidebar .display-settings label,html[data-ui-theme] .app-sidebar .display-settings output{color:#e2e8f0!important}
html[data-ui-theme=dark] .planning-remaining b:nth-child(2){color:#a8ceff!important}
html[data-ui-theme=dark] .lot-period-table .period-rest:not(.period-planned):not(.period-actual){background:#542e3b!important;color:#ffb5bf!important}
html[data-ui-theme=dark] .lot-period-table th.period-rest{background:#542e3b!important;color:#ffb5bf!important}
}
@media screen{
html[data-ui-theme=dark] :is(.value-date,.simulation-stage-balance b){color:#a8ceff!important}
html[data-ui-theme=dark] #sales-demands .sales-model-row>*{background:#26364b!important}
html[data-ui-theme=dark] .test-batch-actions{background:#26364b!important;color:#e2e8f0!important}
html[data-ui-theme=light] .shipment-quantity-summary h2 small{color:#526174!important}
html[data-ui-theme=dark] .content-zoom-controls button{background:#26364b;color:#e2e8f0;border-color:#607189}
}
@media screen{
html[data-ui-theme=dark] #sales-demands .sales-model-row small{color:#bdcce0!important}
html[data-ui-theme=dark] :is(.simulation-stage-balance strong,.process-card){color:#e2e8f0!important}
html[data-ui-theme=dark] :is(.process-card,.report-metadata dt,.report-subtitle){background:#26364b!important}
html[data-ui-theme=dark] :is(.report-section-heading,.change-report .report-comparison h2){background:#294a76!important;color:#fff!important}
html[data-ui-theme=dark] .worker-month-calendar .calendar-holiday{background:#542e3b!important;color:#e2e8f0!important}
html[data-ui-theme=dark] .worker-month-calendar .calendar-weekend:not(.calendar-holiday){background:#3e3043!important}
html[data-ui-theme=dark] .worker-month-calendar .calendar-outside{background:#192334!important}
html[data-ui-theme=dark] :is(.status-page-query,.status-query-panel)::before{color:#bdcce0!important}
.planning-popup-menu>.overview-popup-trigger>span{word-break:keep-all;overflow-wrap:normal}
}
@media screen{
html[data-ui-theme=dark] .overview-calendar thead th.is-holiday{background:#542e3b!important;color:#ffc5cc!important}
html[data-ui-theme=dark] .overview-calendar thead th.is-saturday{background:#3e3043!important;color:#ffc5cc!important}
html[data-ui-theme=dark] .overview-calendar thead :is(th.is-holiday,th.is-saturday) small{color:#ffc5cc!important}
}
@media screen{html[data-ui-theme=dark] .holiday-name{color:#ffc5cc!important}}
@media screen{html[data-ui-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c6d5e8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e")}}
/* Destination suggestions must escape clipped table cells and scroll containers. */
.equipment-destination-popup{z-index:10000;border:1px solid #889db8;border-radius:6px;overflow:auto;background:#fff;color:#172b45;padding:3px}
.equipment-destination-popup .list-group-item{min-width:0;white-space:normal;text-align:left}.equipment-destination-popup .btn{flex-shrink:0}
html[data-ui-theme=dark] .equipment-destination-popup,html[data-ui-theme=dark] .equipment-destination-popup .bg-white,html[data-ui-theme=dark] .equipment-destination-popup .list-group-item{background:#24364c!important;color:#edf4ff!important}
/* The shipment dialog uses one scroll surface so headers remain visible after the search area scrolls away. */
@media screen{
#shipment-equipment-panel .table-responsive:has(> .shipment-balanced-table){overflow:visible!important;max-height:none!important}
#shipment-equipment-panel .shipment-balanced-table>thead{position:sticky;top:0;z-index:12;background:#e8eff8}
html[data-ui-theme=dark] #shipment-equipment-panel .shipment-balanced-table>thead{background:#293d56}
}
