/* Client dashboard templates — independent of Hunterlodge app shell.
   Colours come from --dashboard-* variables set by the active client theme. */

.client-dashboard{--uol-navy:var(--dashboard-header,#1b163f);--uol-red:var(--dashboard-highlight,#cf1634);--uol-cyan:var(--dashboard-chart,#28aec8);--uol-green:#2ca85a;--uol-amber:#e69d17;--uol-danger:#d9342b;--uol-ink:var(--dashboard-ink,#0b2848);--uol-text:var(--dashboard-text,#2d3442);--uol-muted:#6b7789;--uol-border:var(--dashboard-border,#d8dee8);--uol-bg:var(--dashboard-page,#eef2f6);--uol-card:var(--dashboard-surface,#fff);--uol-dark:var(--dashboard-kpi,#303030);background:var(--uol-bg);color:var(--uol-text);font-family:Arial,Helvetica,sans-serif;border-radius:10px;overflow:visible;min-height:620px;isolation:isolate}
.client-dashboard .dash-chrome-header,.client-dashboard [data-dash-chrome],#dashChromeMount,#editorChromeMount{overflow:visible}
.client-dashboard.template-uol .dash-head{background:var(--uol-navy)!important;color:#fff!important;border-bottom:3px solid var(--uol-red)!important;min-height:96px;padding:18px 28px!important}
.dash-layout-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:minmax(35px,auto);gap:10px;align-content:start}
/* Grid items: fixed mode contains content; auto (tables) grows then reflows h.
   Resize handles sit outside the body so they stay clickable. */
.dash-layout-grid .dash-grid-item{min-width:0;position:relative;box-sizing:border-box}
.dash-layout-grid .dash-grid-item > .dash-item-body{min-width:0;max-width:100%}
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"]{overflow:hidden!important;display:flex;flex-direction:column}
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] > .editor-comp-chrome{flex:0 0 auto}
/* Fixed items contain their box. Only data-content-scroll types (tables, heatmaps) scroll inside. */
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] > .dash-item-body{flex:1 1 auto;min-height:0;max-width:100%;overflow:visible}
.dash-layout-grid .dash-grid-item[data-content-scroll="1"] > .dash-item-body{overflow:auto;max-height:100%}
/* Let .dash-item-body be the only scrollport (x+y). Avoid overflow-x:auto here —
   paired with overflow-y:visible it computes to nested vertical auto scrollbars. */
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .uol-table-wrap,
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .bl-table-wrap{overflow:visible!important;max-height:none!important}
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .uol-table thead th,
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .bl-table thead th{position:sticky;top:0;z-index:2}
/* Auto: height comes from gridItemStyle (measured row span). Do not force height:auto —
   that leaves the border-box at the grid track size while table rows paint outside the outline. */
.dash-layout-grid .dash-grid-item[data-height-mode="auto"]{overflow:visible!important;max-height:none!important;align-self:start}
.dash-layout-grid .dash-grid-item[data-height-mode="auto"] > .dash-item-body{overflow:visible!important;height:auto;max-height:none}
/* overflow-y must not be `visible` when overflow-x is `auto` (CSS computes both to auto).
   Use hidden so the wrap grows with rows and never shows a nested vertical scrollbar. */
.dash-layout-grid .dash-grid-item[data-height-mode="auto"] .uol-table-wrap,
.dash-layout-grid .dash-grid-item[data-height-mode="auto"] .bl-table-wrap{overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important}
/* KPI cards size to their label, value and note. No internal scrollport.
   height/max-height stay non-!important so resize handles can set a live pixel height. */
.dash-layout-grid .dash-grid-item[data-component-type="kpi"]{overflow:visible!important;max-height:none;height:auto;min-height:max(120px, min-content);align-self:start}
.dash-layout-grid .dash-grid-item[data-component-type="kpi"] > .dash-item-body{overflow:visible!important;height:auto;max-height:none;min-height:min-content;flex:0 0 auto}
.dash-layout-grid .dash-grid-item[data-component-type="kpi"] .uol-kpi,
.dash-layout-grid .dash-grid-item[data-component-type="kpi"] .bl-kpi-card{height:auto;min-height:105px;box-sizing:border-box}
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .uol-chart-wrap,
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .uol-chart-card{height:100%;min-height:0}
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .uol-chart-wrap canvas{max-height:100%}
.editor-shared-mount .grid-drop-preview{pointer-events:none;position:absolute;border:2px dashed #A931FF;background:rgba(169,49,255,.12);border-radius:6px;z-index:20;box-sizing:border-box}
.editor-shared-mount .grid-drop-preview.invalid{border-color:#d9342b;background:rgba(217,52,43,.12)}
/* Do not clip the grid to a fixed vh — that cuts selection outlines mid-table while
   the component box is correctly taller (nested scrollbar illusion). Scroll the page/mount instead. */
.dash-layout-grid{position:relative;max-height:none;overflow:visible;padding:4px 0}
.editor-shared-mount{position:relative;overflow:visible}
.editor-comp .editor-resize-handle{
  position:absolute;width:14px;height:14px;background:#A931FF;border:2px solid #fff;border-radius:3px;
  z-index:40;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-drag:none
}
.editor-comp .editor-resize-se{right:-5px;bottom:-5px;cursor:nwse-resize;width:16px;height:16px}
.hm{color:var(--dashboard-ink,var(--uol-ink,#0b2848));background:transparent}
.hm-controls{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0;font-size:12px}
.hm-controls select{min-height:28px}
.hm-scroll{overflow-x:auto;max-width:100%}
.hm-table{border-collapse:collapse;width:max-content;min-width:100%;background:var(--dashboard-surface,#fff);color:var(--dashboard-ink,var(--uol-ink))}
.hm-table th,.hm-table td{border:1px solid var(--dashboard-border,var(--uol-border,#d8dee8));padding:var(--hm-pad,8px);min-height:var(--hm-row,36px);font-size:12px}
.hm-label{position:sticky;left:0;z-index:1;background:var(--dashboard-surface,#fff);min-width:var(--hm-label,148px);text-align:left}
.hm-table thead th{position:sticky;top:0;background:var(--dashboard-header,#1b163f);color:#fff;z-index:2}
.hm-table thead .hm-label{z-index:3}
.hm-cell small{display:block;font-weight:400;opacity:.8}
.tone-red{background:#f6d5d5}
.tone-amber{background:#f8e7c0}
.tone-green{background:#d5f0df}
.tone-neutral{background:var(--dashboard-page,#eef2f6);color:#667085}
.hm-time-cell.state-value{background:color-mix(in srgb, var(--dashboard-chart, var(--uol-cyan,#28aec8)) calc(var(--hm-i,0) * 88%), var(--dashboard-surface,#fff))}
.hm-time-cell.state-missing{background:repeating-linear-gradient(45deg, var(--dashboard-page,#f4f6f8), var(--dashboard-page,#f4f6f8) 4px, var(--dashboard-border,#e7ebf0) 4px, var(--dashboard-border,#e7ebf0) 8px)}
.hm-time-cell.state-zero{background:var(--dashboard-surface,#fff)}
.hm-legend,.hm-note,.hm-empty{font-size:12px;margin:8px 0}
.hm-empty{padding:10px 12px;border:1px solid var(--dashboard-border,#e6d3a1);background:var(--dashboard-surface,#fff);border-radius:8px}
.hm-swatch{display:inline-block;width:72px;height:10px;border-radius:6px;vertical-align:middle;background:linear-gradient(90deg,var(--dashboard-surface,#fff),var(--dashboard-chart,var(--uol-cyan,#28aec8)))}
.hm-tooltip{position:fixed;z-index:90;max-width:280px;white-space:pre-wrap;background:var(--dashboard-header,#1b163f);color:#fff;padding:8px 10px;border-radius:6px;font:12px/1.4 Arial,sans-serif;pointer-events:none}
.dash-layout-grid .dash-grid-item[data-height-mode="fixed"] .hm-time-scroll{overflow-x:auto;overflow-y:visible}
.editor-comp .editor-resize-e{right:-6px;top:50%;margin-top:-7px;cursor:ew-resize}
.editor-comp .editor-resize-s{bottom:-6px;left:50%;margin-left:-7px;cursor:ns-resize}
.editor-resize-tip{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(25,30,36,.92);color:#fff;font-size:10px;padding:2px 6px;border-radius:3px;z-index:41;pointer-events:none;white-space:nowrap}
.editor-comp.selected{z-index:5}
.editor-comp canvas,.editor-comp img{pointer-events:none}
.editor-comp.selected canvas{pointer-events:auto}
.client-dashboard.template-uol .dash-head h1,.client-dashboard.template-uol .logo-placeholder{color:#fff!important}
.client-dashboard.template-uol .dash-head small{color:#d8d4eb!important}
.client-dashboard.template-uol .tabs{background:#fff!important;border-bottom:1px solid var(--uol-border);padding:0 24px!important}
.client-dashboard.template-uol .tabs button{background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;color:var(--uol-ink)!important;font-size:11px!important;font-weight:700;padding:13px 12px!important}
.client-dashboard.template-uol .tabs button.active{border-bottom-color:var(--uol-cyan)!important}
.client-dashboard.template-uol #widgets{display:block!important;padding:26px 28px 40px!important;background:var(--uol-bg)!important}

.uol-section{margin-bottom:28px}.uol-section-title{font-size:20px;color:var(--uol-ink);font-weight:800;margin:0 0 6px}.uol-section-sub{font-size:12px;color:var(--uol-muted);margin-bottom:16px}
.uol-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.uol-kpi{background:var(--uol-dark);color:#fff;border-radius:7px;padding:17px 18px;min-height:105px}
.uol-kpi .label{font-size:10px;font-weight:800;color:#cfd0d4;text-transform:uppercase}
.uol-kpi .value{font-size:24px;font-weight:800;margin:10px 0 4px;font-variant-numeric:tabular-nums}
.uol-kpi .note{font-size:10px;color:#dedee3}
.uol-rag-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.uol-rag-box{border:1px solid var(--uol-border);border-top:4px solid var(--uol-green);border-radius:8px;padding:16px;background:#fff}
.uol-rag-box.amber-b{border-top-color:var(--uol-amber);background:#fff9ee}
.uol-rag-box.red-b{border-top-color:var(--uol-danger);background:#fff5f4}
.uol-rag-box h4{margin:0 0 10px;color:var(--uol-ink)}.uol-rag-box p{font-size:11px;line-height:1.5;margin:7px 0}
.uol-divider{border-top:1px solid var(--uol-border);margin:10px 0}
.uol-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:7px;vertical-align:-1px}
.uol-dot.green{background:var(--uol-green)}.uol-dot.amber{background:var(--uol-amber)}.uol-dot.red{background:var(--uol-danger)}.uol-dot.neutral{background:#9aa5b1}
.uol-table-wrap{border:1px solid var(--uol-border);border-radius:8px;overflow-x:auto;overflow-y:hidden;background:#fff}
.uol-table{width:100%;border-collapse:collapse;min-width:880px}
.uol-table th{background:var(--uol-navy);color:#fff;text-align:left;padding:12px 11px;font-size:11px}
.uol-table td{padding:13px 11px;border-top:1px solid var(--uol-border);font-size:12px;vertical-align:top}
.uol-programme-name{font-weight:700;color:#1e2634}
.uol-status-main{font-weight:800;font-size:13px}.uol-status-sub{font-size:10px;color:var(--uol-muted);margin-top:3px}
.uol-status-pill{display:inline-block;padding:5px 9px;border-radius:14px;font-size:10px;font-weight:800}
.uol-status-pill.red{background:#fde8e7;color:#a6221b}.uol-status-pill.green{background:#e8f6ed;color:#1d7c3e}.uol-status-pill.amber{background:#fff2d9;color:#9a6400}.uol-status-pill.neutral{background:#edf0f4;color:#687586}
.uol-activity{font-weight:800}
.uol-pace-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.uol-pace{border:1px solid var(--uol-border);border-radius:8px;padding:15px;background:#fff}
.uol-pace h4{margin:0 0 12px;color:var(--uol-ink);font-size:13px}
.uol-pace-row{display:flex;justify-content:space-between;font-size:12px}
.uol-bar{height:9px;background:#e9ecef;border-radius:10px;margin:10px 0;overflow:hidden}.uol-bar>span{display:block;height:100%;border-radius:10px}
.uol-pace-status{font-size:11px;font-weight:800}
.uol-media-plan{display:grid;grid-template-columns:1fr 1.3fr;gap:16px}
.uol-plan-card{border:1px solid var(--uol-border);border-radius:8px;padding:16px;background:#fff}
.uol-plan-big{font-size:25px;font-weight:800;color:var(--uol-ink)}
.uol-performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.uol-chart-card{min-height:320px;padding:18px;border:1px solid var(--uol-border);border-radius:7px;background:#fff}
.uol-chart-card.wide{grid-column:1/-1}
.uol-chart-card h3{margin:0 0 12px;font-size:14px}
.uol-chart-wrap{height:260px;position:relative}
.uol-limitations{margin-top:12px;padding:12px 14px;border:1px solid var(--uol-border);border-radius:8px;background:#f7f9fb;font-size:12px;color:var(--uol-muted)}
.uol-limitations ul{margin:8px 0 0;padding-left:18px}

/* Blenheim */
.client-dashboard.template-blenheim{--bl-primary:var(--dashboard-header,#253E4A);--bl-blue:var(--dashboard-chart,#57B6C8);--bl-pink:var(--dashboard-highlight,#E8799A);--bl-ink:var(--dashboard-ink,#22323A);--bl-page:var(--dashboard-page,#F3F6F5);--bl-surface:var(--dashboard-surface,#fff);--bl-line:var(--dashboard-border,#dddddd);--bl-muted:#6b6b6b;background:var(--bl-page);color:var(--bl-ink);font-family:Inter,Arial,sans-serif}
.client-dashboard.template-blenheim .dash-head{background:var(--bl-surface)!important;color:var(--bl-ink)!important;border-bottom:5px solid var(--bl-blue)!important;box-shadow:0 2px 12px rgba(0,0,0,.08);min-height:105px}
.client-dashboard.template-blenheim .dash-head h1,.client-dashboard.template-blenheim .logo-placeholder{color:var(--bl-ink)!important}
.client-dashboard.template-blenheim .dash-head small{color:var(--bl-muted)!important}
.client-dashboard.template-blenheim .tabs{background:var(--bl-surface)!important;border-bottom:1px solid var(--bl-line)}
.client-dashboard.template-blenheim .tabs button{color:var(--bl-ink)!important;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;font-weight:600}
.client-dashboard.template-blenheim .tabs button.active{border-bottom-color:var(--bl-blue)!important;color:var(--bl-primary)!important}
.client-dashboard.template-blenheim .tabs button:disabled,.client-dashboard.template-blenheim .tabs button.disabled{opacity:.4;cursor:not-allowed}
.client-dashboard.template-blenheim #widgets{display:block!important;padding:24px!important;background:var(--bl-page)!important}
.bl-context{margin-bottom:18px}.bl-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:700;color:var(--bl-muted)}.bl-context h1{margin:6px 0 4px;font-size:26px;color:var(--bl-primary)}.bl-context p{margin:0;color:var(--bl-muted);font-size:13px}
.bl-section{background:var(--bl-surface);border:1px solid var(--bl-line);border-radius:8px;padding:18px;margin-bottom:18px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.bl-section-head h2{margin:0 0 4px;font-size:18px;color:var(--bl-primary)}.bl-section-head p{margin:0 0 14px;color:var(--bl-muted);font-size:12px}
.bl-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bl-kpi-card{background:#fff;border:1px solid var(--bl-line);border-top:4px solid var(--bl-blue);border-radius:8px;padding:16px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.bl-kpi-label{font-size:11px;font-weight:700;color:var(--bl-muted);text-transform:uppercase;letter-spacing:.06em}
.bl-kpi-value{font-size:26px;font-weight:800;margin:10px 0 6px;color:var(--bl-primary);font-variant-numeric:tabular-nums}
.bl-kpi-comparison{font-size:11px;color:var(--bl-muted)}
.bl-charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bl-chart-card{border:1px solid var(--bl-line);border-radius:8px;padding:14px;background:#fff;min-height:280px}
.bl-chart-card.wide{grid-column:1/-1}.bl-chart-card h3{margin:0 0 10px;font-size:14px;color:var(--bl-primary)}
.bl-chart-wrap{height:220px;position:relative}
.bl-table-wrap{overflow-x:auto;overflow-y:hidden;border:1px solid var(--bl-line);border-radius:8px}
.bl-table{width:100%;border-collapse:collapse;min-width:900px}
.bl-table th{background:var(--bl-primary);color:#fff;text-align:left;padding:11px;font-size:11px}
.bl-table td{padding:11px;border-top:1px solid var(--bl-line);font-size:12px;background:#fff}
.bl-limitations{margin-top:8px;padding:12px 14px;border:1px solid var(--bl-line);border-radius:8px;background:#fff;font-size:12px;color:var(--bl-muted)}
.bl-limitations ul{margin:8px 0 0;padding-left:18px}

@media(max-width:1100px){.uol-kpis,.bl-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uol-performance-grid,.bl-charts-grid,.uol-rag-grid,.uol-pace-cards,.uol-media-plan{grid-template-columns:1fr}}
@media(max-width:700px){.uol-kpis,.bl-kpi-grid{grid-template-columns:1fr}}

/* Mandatory dashboard chrome — fully isolated from Hunterlodge shell form styles */
.client-dashboard .dash-chrome-header,
.client-canvas .dash-chrome-header,
#dashChromeMount .dash-chrome-header,
#editorChromeMount .dash-chrome-header{box-sizing:border-box}
/* Header presets are independent of reporting template (uol/blenheim components). */
.client-dashboard .dash-chrome-header.header-preset-uol,
#dashChromeMount .dash-chrome-header.header-preset-uol,
#editorChromeMount .dash-chrome-header.header-preset-uol,
.client-dashboard .dash-chrome-header.template-uol,
#dashChromeMount .dash-chrome-header.template-uol,
#editorChromeMount .dash-chrome-header.template-uol{background:var(--uol-navy,#1b163f);color:#fff;padding:18px 28px 0;border-bottom:0}
.client-dashboard .dash-chrome-header.header-preset-blenheim,
#dashChromeMount .dash-chrome-header.header-preset-blenheim,
#editorChromeMount .dash-chrome-header.header-preset-blenheim,
.client-dashboard .dash-chrome-header.template-blenheim,
#dashChromeMount .dash-chrome-header.template-blenheim,
#editorChromeMount .dash-chrome-header.template-blenheim{background:var(--bl-surface,#fff);color:var(--bl-ink,#22323A);padding:18px 28px 0;border-bottom:0;box-shadow:0 2px 12px rgba(0,0,0,.08)}
/* Approved University of Hertfordshire header (locked Clearing dashboard reference). */
.client-dashboard .dash-chrome-header.header-preset-hertfordshire,
#dashChromeMount .dash-chrome-header.header-preset-hertfordshire,
#editorChromeMount .dash-chrome-header.header-preset-hertfordshire{background:#fff;color:#1a1a1a;padding:1.25rem 1.5rem 0;border-bottom:0}
.dash-chrome-divider{display:none;height:0}
.header-preset-uol .dash-chrome-divider,.template-uol .dash-chrome-divider{display:block;height:3px;background:var(--uol-red,#cf1634);margin:0 -28px}
.header-preset-blenheim .dash-chrome-divider,.template-blenheim .dash-chrome-divider{display:block;height:5px;background:var(--bl-blue,#57B6C8);margin:0 -28px}
.header-preset-hertfordshire .dash-chrome-divider{display:block;height:4px;background:#a6192e;margin:0 -1.5rem}
.dash-chrome-hero-top{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:88px;padding-bottom:14px}
.header-preset-hertfordshire .dash-chrome-hero-top{min-height:0;height:auto;padding-bottom:0.75rem;margin-bottom:0;align-items:center}
.dash-chrome-brand{display:flex;align-items:center;min-height:0;max-width:min(390px,55%);flex:0 1 auto;position:relative}
.dash-client-logo{display:block;max-height:92px;max-width:100%;width:auto;height:auto;object-fit:contain}
.header-preset-hertfordshire .dash-client-logo{height:44px;max-height:44px;width:auto}
.dash-logo-slot{min-width:120px;min-height:44px}
.dash-chrome-hero-sub{display:flex;justify-content:space-between;align-items:center;padding:14px 0 18px;font-size:13px;gap:16px;flex-wrap:wrap}
.header-preset-hertfordshire .dash-chrome-hero-sub{padding:0.65rem 0 1rem;background:#fff;align-items:center}
.dash-identity{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}
.dash-identity-line1{font-weight:500;font-size:0.8rem;line-height:1.35;color:#555}
.dash-identity-line2{font-size:0.8rem;line-height:1.35;color:#555;font-weight:400}
.header-preset-uol .dash-identity-line1,.header-preset-uol .dash-identity-line2{color:#fff;font-weight:600;font-size:13px}
.dash-chrome-hero-sub strong{font-weight:600;flex:1 1 auto;min-width:0}
.dash-chrome-agency{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;position:relative}
.dash-agency-logo{display:block;max-height:58px;max-width:230px;width:auto;height:auto;object-fit:contain;background:transparent!important;box-shadow:none!important}
.header-preset-hertfordshire .dash-agency-logo{height:38px;max-height:38px;width:auto;background:transparent!important}
.dash-chrome-agency,.dash-chrome-brand{background:transparent!important;box-shadow:none!important}
.dash-agency-slot{min-width:40px;min-height:24px;background:transparent}
/* Header logo resize handles (Edit mode) — outline only when selected, never a filled plate */
.dash-logo-resize-handle{display:none;position:absolute;right:-4px;bottom:-4px;width:12px;height:12px;background:#A931FF;border:2px solid #fff;border-radius:2px;cursor:nwse-resize;z-index:50;touch-action:none}
.editor-app:not(.preview-mode) .dash-chrome-brand.is-editable .dash-logo-resize-handle,
.editor-app:not(.preview-mode) .dash-chrome-agency.is-editable .dash-logo-resize-handle{display:block}
.dash-chrome-brand.is-editable.is-logo-selected,
.dash-chrome-agency.is-editable.is-logo-selected{outline:1px dashed rgba(169,49,255,.55);outline-offset:4px;border-radius:2px;background:transparent!important}
.dash-chrome-filters.header-preset-hertfordshire{background:#fff!important;border-bottom:1px solid #d8d8d8;padding:0 1.5rem 1.25rem}
.dash-date-wrap{position:relative;margin-left:auto;flex:0 0 auto;z-index:40}
.client-dashboard .dash-date-trigger,
#dashChromeMount .dash-date-trigger,
#editorChromeMount .dash-date-trigger{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:220px;max-width:320px;min-height:0;height:auto;background:#fff!important;color:var(--uol-navy,#1b163f)!important;border:1px solid #d7dde7!important;border-radius:6px!important;padding:12px 16px!important;font:inherit;font-weight:800;font-size:13px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.header-preset-blenheim .dash-date-trigger,.template-blenheim .dash-date-trigger{color:var(--bl-primary,#253E4A)!important}
.client-dashboard .header-preset-hertfordshire .dash-date-trigger,
#dashChromeMount .header-preset-hertfordshire .dash-date-trigger,
#editorChromeMount .header-preset-hertfordshire .dash-date-trigger{background:#3a3a3a!important;color:#fff!important;border:0!important;border-radius:4px!important;font-weight:500!important;font-size:13px!important;padding:7px 14px!important;min-width:0;max-width:none;box-shadow:none!important}
.dash-date-trigger.open .dash-date-caret{transform:rotate(180deg)}
.dash-date-caret{font-size:10px;line-height:1;transition:transform .15s}
.client-dashboard .dash-date-panel,
#dashChromeMount .dash-date-panel,
#editorChromeMount .dash-date-panel{position:absolute!important;right:0;top:calc(100% + 8px);width:min(420px,92vw)!important;max-width:420px;background:#fff;border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.24);z-index:80;border:1px solid var(--uol-border,#d8dee8);color:var(--uol-text,#2d3442);box-sizing:border-box}
.dash-date-panel[hidden]{display:none!important}
.dash-date-panel-body{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 16px}
.dash-date-panel-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 16px 14px}
.client-dashboard .dash-date-input,
#dashChromeMount .dash-date-input,
#editorChromeMount .dash-date-input{display:block;width:100%;min-height:0;margin-top:6px;padding:10px 12px;border:1px solid #cfd6e2;border-radius:7px;background:#fff;color:#2d3442;font:inherit;font-size:13px;box-sizing:border-box}
.client-dashboard .dash-date-cancel,
#dashChromeMount .dash-date-cancel,
#editorChromeMount .dash-date-cancel{border:0!important;background:transparent!important;color:#333!important;font-weight:700;font-size:13px;cursor:pointer;min-height:0;padding:8px 10px!important;border-radius:0!important}
.client-dashboard .dash-date-apply,
#dashChromeMount .dash-date-apply,
#editorChromeMount .dash-date-apply{border:0!important;background:var(--dashboard-highlight,var(--uol-red,#cf1634))!important;color:#fff!important;font-weight:800;font-size:13px;border-radius:18px!important;padding:10px 16px!important;cursor:pointer;min-height:0}
.client-dashboard .dash-chrome-filters,
#dashChromeMount .dash-chrome-filters,
#editorChromeMount .dash-chrome-filters{display:grid!important;grid-template-columns:repeat(calc(var(--dash-filter-cols,4) - 1),minmax(0,1fr)) auto!important;gap:12px;padding:16px 28px;background:#f7f9fb;border-bottom:1px solid var(--uol-border,#d8dee8);align-items:end;box-sizing:border-box}
.dash-chrome-filters.template-blenheim,.dash-chrome-filters.header-preset-blenheim{background:var(--bl-page,#F3F6F5);border-color:var(--bl-line,#dddddd)}
.dash-chrome-filters.header-preset-hertfordshire{background:#fff!important;border-bottom:1px solid #d8d8d8;padding:0 1.5rem 1.25rem}
.dash-filter-field{min-width:0}
.client-dashboard .dash-filter-label,
#dashChromeMount .dash-filter-label,
#editorChromeMount .dash-filter-label{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--uol-muted,#6b7789);margin:0 0 6px}
.template-blenheim .dash-filter-label,.header-preset-blenheim .dash-filter-label{color:var(--bl-muted,#6b6b6b)}
.header-preset-hertfordshire .dash-filter-label{color:#555;letter-spacing:.06em}
.client-dashboard .dash-filter-select,
#dashChromeMount .dash-filter-select,
#editorChromeMount .dash-filter-select{display:block;width:100%;min-height:0;padding:11px 12px;border:1px solid #cfd6e2;border-radius:7px;background:#fff;color:#2d3442;font:inherit;font-size:13px;box-sizing:border-box}
.header-preset-hertfordshire .dash-filter-select{border:1.5px solid #a6192e;border-radius:4px;padding:10px 12px}
.client-dashboard .dash-filter-reset,
#dashChromeMount .dash-filter-reset,
#editorChromeMount .dash-filter-reset{align-self:end;padding:12px 16px!important;border:0!important;border-radius:7px!important;background:var(--dashboard-highlight,var(--uol-red,#cf1634))!important;color:#fff!important;font-weight:800;font-size:13px;cursor:pointer;white-space:nowrap;min-height:0;height:auto}
.client-dashboard .header-preset-hertfordshire .dash-filter-reset,
#dashChromeMount .header-preset-hertfordshire .dash-filter-reset,
#editorChromeMount .header-preset-hertfordshire .dash-filter-reset{background:#fff!important;color:#a6192e!important;border:1.5px solid #a6192e!important;border-radius:4px!important;font-weight:600}
.client-dashboard .tabs button,
#dashboard .tabs button,
#editorDashNav.tabs button{background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;min-height:0;color:inherit!important;box-shadow:none}
@media(max-width:1000px){.client-dashboard .dash-chrome-filters,#dashChromeMount .dash-chrome-filters,#editorChromeMount .dash-chrome-filters{grid-template-columns:1fr 1fr}.dash-filter-reset{grid-column:1/-1;justify-self:start}}
@media(max-width:650px){.client-dashboard .dash-chrome-filters,#dashChromeMount .dash-chrome-filters,#editorChromeMount .dash-chrome-filters{grid-template-columns:1fr;padding:16px}.dash-chrome-header.template-uol,.dash-chrome-header.template-blenheim{padding-left:16px;padding-right:16px}.dash-date-panel{position:fixed;left:8px;right:8px;top:90px;width:auto}}
