/* BANTEX CAR Supervisor comparison: independent of unrelated global page styles */
.spv-granularity-field .segmented {min-height: 40px;display:flex;align-items:center}
.spv-line-matrix-panel .panel-head {gap:16px;align-items:flex-start;flex-wrap:wrap}
.spv-line-matrix-panel .toolbar-actions {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.spv-line-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.spv-line-summary>div {background:var(--surface-soft,#f5f8fc);border:1px solid #e3eaf3;border-radius:14px;padding:14px 16px;display:grid;gap:5px}
.spv-line-summary span {font-size:12px;color:#66758b}
.spv-line-summary strong {font-size:22px;letter-spacing:-.6px;color:#183858}
.spv-period-scroller {overflow-x:auto;max-width:100%}
.spv-period-table {width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap;min-width:720px}
.spv-period-table thead th {position:sticky;top:0;z-index:2;background:#eaf2fd;color:#2d4b70;padding:13px 14px;font-size:12px;border-bottom:1px solid #dce6f2;text-align:left}
.spv-period-table td,.spv-period-table tbody th {padding:13px 14px;border-bottom:1px solid #e9edf3;vertical-align:middle}
.spv-period-table tbody tr:hover {background:#f4f9ff}
.spv-period-table .num {text-align:right;font-variant-numeric:tabular-nums}
.spv-period-table .spv-total-column {background:#f0f6ff;font-weight:700}
.spv-period-table tbody th {text-align:left;font-weight:600}
.spv-period-table .spv-line-name {font-weight:700}
.spv-period-table .cell-sub {display:block;font-size:11px;font-weight:400;color:#71849b;margin-top:2px}
.spv-line-period-cell {min-width:104px}
.spv-cell-number {display:block;font-weight:600;color:#234e7a;margin-bottom:5px}
.spv-mini-track {display:block;height:5px;overflow:hidden;border-radius:99px;background:#e5edf6}
.spv-mini-track i {display:block;height:100%;background:linear-gradient(90deg,#2e70dc,#56b7eb);border-radius:99px}
.spv-line-note {font-size:12px;color:#60718a;line-height:1.6;margin:14px 0 2px}
.spv-line-trend-panel .panel-body {overflow:hidden}
.spv-trend-legend {display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.spv-trend-legend span {font-size:12px;display:flex;align-items:center;gap:7px;color:#48617d}
.spv-trend-legend i {width:11px;height:11px;display:inline-block;border-radius:50%}
.spv-period-svg {display:block;width:100%;height:auto;max-height:350px}
@media(max-width:900px){.spv-line-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.spv-line-summary strong{font-size:19px}}
@media(max-width:490px){.spv-line-summary{gap:7px}.spv-line-summary>div{padding:10px}}

/* 2026-11-03: Supervisor filters remain clickable across breakpoints. */
.page-toolbar.spv-filter-toolbar {position:relative;z-index:15;overflow:visible;isolation:isolate;align-items:flex-end;gap:10px;}
.spv-filter-toolbar .field {position:relative;z-index:1;}
.spv-filter-toolbar .period-field {z-index:3;}
.spv-filter-toolbar .period-picker[open] {z-index:30;}
.spv-filter-toolbar .period-picker[open] .period-popover {z-index:60;max-height:min(76vh,650px);overflow-y:auto;}
.spv-filter-toolbar button,.spv-filter-toolbar select,.spv-filter-toolbar summary {pointer-events:auto;cursor:pointer;touch-action:manipulation;}
.spv-filter-toolbar .spv-granularity-field .segmented {display:inline-grid;grid-template-columns:repeat(2,minmax(58px,1fr));min-height:40px;}
.spv-filter-toolbar .spv-granularity-field .segmented button {min-height:34px;font-size:12px;}
.spv-filter-toolbar .spv-granularity-field .segmented button:focus-visible,.spv-filter-toolbar .spv-native-period select:focus-visible {outline:2px solid #205ea3;outline-offset:2px;}
.spv-filter-toolbar .spv-native-period {min-width:170px;flex:0 1 220px;}
.spv-filter-toolbar .spv-native-period select {width:100%;min-height:40px;}
@media(max-width:750px){.spv-filter-toolbar .spv-native-period {flex:1 1 180px;}.spv-filter-toolbar .period-popover {left:0;max-width:calc(100vw - 44px);}}

/* Supervisor 3 / 6-month quick filters: immediate, visible interaction */
.spv-filter-toolbar .spv-preset-button {position:relative;z-index:4;pointer-events:auto;cursor:pointer;min-height:40px;touch-action:manipulation;white-space:nowrap;}
.spv-filter-toolbar .spv-preset-button.active,
.spv-filter-toolbar .spv-preset-button[aria-pressed="true"] {background:#1c579a;color:#fff;border-color:#1c579a;box-shadow:0 1px 5px #163a6922;}
.spv-filter-toolbar .spv-preset-button:focus-visible {outline:3px solid #61aaf5;outline-offset:3px;}
.spv-filter-toolbar .spv-preset-button.spv-preset-loading {opacity:.82;}
.spv-filter-toolbar .spv-range-notice {flex:1 1 100%;min-height:19px;font-size:12px;color:#335d88;line-height:1.5;}

/* Supervisor: a single period selector, no overlapping calendar/quick buttons */
.spv-filter-toolbar .spv-range-field{flex:1 1 260px;min-width:210px}
.spv-filter-toolbar .spv-range-field select{width:100%;min-height:42px;font-weight:600}
.spv-filter-toolbar .spv-granularity-field{flex:0 0 150px}
.spv-filter-toolbar .spv-export-button{margin-left:auto}
.spv-filter-toolbar .spv-range-notice{flex:1 1 100%;font-size:12px;font-weight:500;color:#335d88}
@media(max-width:720px){.spv-filter-toolbar .spv-range-field{flex:1 1 100%}.spv-filter-toolbar .spv-export-button{margin-left:0}}

/* Admin calendar WW overrides */
.car-ww-chip {display:inline-block;font-size:10px;letter-spacing:.01em;color:#52657c;background:#eef3fa;padding:3px 6px;border-radius:6px;font-weight:700;margin:3px 0;}
.car-ww-chip.custom {color:#075985;background:#dff4ff;border:1px solid #7dd3fc;}
