/* Shared Alerts, Reports and Zones design; operational layout and actions retained. */
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport{--ux-bg:#f7f9fc;--ux-panel:#fff;--ux-text:#26354b;--ux-muted:#748299;--ux-line:#e7edf4;--ux-accent:#3068ed;--ux-selected:#edf3ff}
html[data-theme="dark"][data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport{--ux-bg:#141c27;--ux-panel:#1c2735;--ux-text:#e4ebf5;--ux-muted:#a6b4c7;--ux-line:#2e3c4f;--ux-accent:#94b6ff;--ux-selected:#243853}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones{--ux-bg:#f7f9fc;--ux-panel:#fff;--ux-text:#26354b;--ux-muted:#748299;--ux-line:#e7edf4;--ux-accent:#3068ed;--ux-selected:#edf3ff}
html[data-theme="dark"][data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones{--ux-bg:#141c27;--ux-panel:#1c2735;--ux-text:#e4ebf5;--ux-muted:#a6b4c7;--ux-line:#2e3c4f;--ux-accent:#94b6ff;--ux-selected:#243853}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts{--ux-bg:#f7f9fc;--ux-panel:#fff;--ux-text:#26354b;--ux-muted:#748299;--ux-line:#e7edf4;--ux-accent:#3068ed;--ux-selected:#edf3ff}
html[data-theme="dark"][data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts{--ux-bg:#141c27;--ux-panel:#1c2735;--ux-text:#e4ebf5;--ux-muted:#a6b4c7;--ux-line:#2e3c4f;--ux-accent:#94b6ff;--ux-selected:#243853}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport{--report-bg:var(--ux-bg)!important;--report-surface:var(--ux-panel)!important;--report-soft:var(--ux-bg)!important;--report-line:var(--ux-line)!important;--report-text:var(--ux-text)!important;--report-muted:var(--ux-muted)!important;--report-accent:var(--ux-accent)!important;--report-selected:var(--ux-selected)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport>.page-head{min-height:100px!important;padding:24px 48px!important;gap:12px!important;background:var(--ux-panel)!important;border-bottom:1px solid var(--ux-line)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport .page-head h1{font-size:25px!important;font-weight:650!important;letter-spacing:-.6px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport .ag-workspace-mark{display:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport .page-head :is(button,#rpPeriod){min-height:38px!important;border:1px solid var(--ux-line)!important;background:var(--ux-panel)!important;color:var(--ux-text)!important;border-radius:9px!important;font-size:12px!important;box-shadow:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport .page-head .ag-workspace-close{border:0!important;background:transparent!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport>.page-body>div:last-child{padding:28px 48px!important;background:var(--ux-bg)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport #rpSidebar{padding:24px 18px!important;background:var(--ux-panel)!important;border-inline-end:1px solid var(--ux-line)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport #rpBody :is(.rp-kpi,.rp-table-card,.rp-chart-card,.rp-metric-card,.rp-focus-bar,.rp-smart-summary,.rw-panel,.rw-commandbar,.rw-compare-card,.rw-insight){border:0!important;border-radius:12px!important;box-shadow:none!important;background:var(--ux-panel)!important;color:var(--ux-text)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport #rpBody .rp-kpi{padding:18px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport #rpBody .rp-kpi-value{font-size:26px!important;font-weight:650!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport :is(.rp-search-wrap,.rp-overview-search){border:1px solid var(--ux-line)!important;border-radius:10px!important;background:var(--ux-panel)!important;box-shadow:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport .rp-overview-search{max-width:320px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport #rpBody table th{font-size:11px!important;font-weight:500!important;text-transform:none!important;background:var(--ux-bg)!important;color:var(--ux-muted)!important;border-color:var(--ux-line)!important;padding-block:12px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport #rpBody table td{font-size:12px!important;font-weight:400!important;color:var(--ux-text)!important;border-color:var(--ux-line)!important;padding-block:16px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts .aw-drawer{background:var(--ux-panel)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts .aw-drawer>header{padding:24px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts .aw-rule-body{padding:24px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList>div:first-child h3{display:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList>div:first-child{color:var(--ux-muted)!important;margin-bottom:18px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid>button{flex-direction:row!important;justify-content:flex-start!important;gap:8px!important;min-height:44px!important;padding:10px!important;border:1px solid var(--ux-line)!important;border-radius:9px!important;background:var(--ux-panel)!important;box-shadow:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid>button>div{width:26px!important;height:26px!important;flex:0 0 26px!important;background:transparent!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid>button :is(svg,span){color:var(--ux-muted)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid>button>span:first-of-type{text-align:start!important;font-size:11px!important;font-weight:500!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid>button[aria-pressed="true"]{background:var(--ux-selected)!important;border-color:color-mix(in srgb,var(--ux-accent) 55%,transparent)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-type-grid>button[aria-pressed="true"] :is(svg,span){color:var(--ux-accent)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-form{padding:18px!important;border:0!important;border-radius:12px!important;box-shadow:none!important;background:var(--ux-bg)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-form>div:first-child{border-color:var(--ux-line)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList .ar-form>div:first-child>div:last-of-type{color:var(--ux-text)!important;font-size:14px!important;font-weight:600!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList label{font-size:12px!important;font-weight:500!important;color:var(--ux-muted)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList :is(input:not([type=range]):not([type=checkbox]),select){box-sizing:border-box;min-height:40px!important;padding:9px 11px!important;border:1px solid var(--ux-line)!important;border-radius:10px!important;background:var(--ux-panel)!important;color:var(--ux-text)!important;font-size:12px!important;box-shadow:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList button[data-v]{background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;color:var(--ux-muted)!important;font-size:12px!important;font-weight:500!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList button[data-v][aria-pressed=true]{background:var(--ux-selected)!important;color:var(--ux-accent)!important;border-color:var(--ux-accent)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts #alertsList #rf_save{background:#3068ed!important;color:#fff!important;box-shadow:none!important;border-radius:9px!important;min-height:40px!important;padding:10px 14px!important;font-size:12px!important;font-weight:600!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones>.zone-panel-head{padding:14px 18px!important;background:var(--ux-panel)!important;border-color:var(--ux-line)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-panel-head .close{border:0!important;background:transparent!important;box-shadow:none!important;color:var(--ux-muted)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-panel-body{padding:18px!important;background:var(--ux-panel)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-list-card{padding:14px 4px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--ux-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--ux-text)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-list-card.selected{background:var(--ux-selected)!important;border-radius:8px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-list-card:hover{background:var(--ux-bg)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder-intro{gap:10px!important;padding-bottom:16px!important;margin-bottom:18px!important;border-color:var(--ux-line)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder-title{font-size:15px!important;font-weight:600!important;color:var(--ux-text)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder-hint{font-size:11px!important;font-weight:400!important;line-height:1.6!important;color:var(--ux-muted)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder-field{font-size:12px!important;font-weight:500!important;color:var(--ux-text)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones :is(.zone-builder-control,.zone-builder-field textarea,.zone-builder-field select){box-sizing:border-box;min-height:40px!important;border:1px solid var(--ux-line)!important;border-radius:10px!important;background:var(--ux-panel)!important;color:var(--ux-text)!important;font-size:12px!important;box-shadow:none!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder-selected{padding:14px!important;border:0!important;background:var(--ux-selected)!important;border-radius:10px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones .zone-builder-actions{gap:10px!important;flex-wrap:wrap!important;padding-top:18px!important;border-color:var(--ux-line)!important;background:var(--ux-panel)!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones :is(.zone-builder-secondary,.zone-builder-back){background:var(--ux-panel)!important;color:var(--ux-muted)!important;border:1px solid var(--ux-line)!important;box-shadow:none!important;border-radius:9px!important;font-size:11px!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones :is(.zone-builder-primary,.zone-add-button){background:#3068ed!important;color:#fff!important;border:0!important;border-radius:9px!important;box-shadow:none!important;font-size:11px!important;font-weight:600!important}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts :is(input,select,textarea,button):focus-visible{outline:2px solid var(--ux-accent)!important;outline-offset:2px}
html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageZones :is(input,select,textarea,button):focus-visible{outline:2px solid var(--ux-accent)!important;outline-offset:2px}
@media(max-width:900px){html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport>.page-head,html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport>.page-body>div:last-child{padding-inline:28px!important}}
@media(max-width:700px){html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport>.page-head,html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageReport>.page-body>div:last-child{padding:18px!important}html[data-horizon="v1"] body.ag-navixy.ag-full-workspace .stage>#pageAlerts .aw-rule-body{padding:18px!important}}
