.ag-dashboard,.ag-admin-settings{--ag-bg:#061319;--ag-panel:#10252e;--ag-panel-2:#0a1c24;--ag-border:#305b69;--ag-muted:#a1bbc5;--ag-text:#e5f7fc;--ag-accent:#9be5f5;--ag-glow:#39d8ff;--ag-highlight:#c6f6ff;--ag-button-text:#07171e;}
.ag-dashboard{--ag-line:var(--ag-border);box-sizing:border-box;max-width:none;width:100%;margin:20px auto;padding:clamp(16px,3vw,32px);background:var(--ag-panel);color:var(--ag-text);border:1px solid var(--ag-line);border-radius:22px;font:15px/1.5 system-ui,sans-serif}
.ag-dashboard *{box-sizing:border-box}.ag-dashboard h2,.ag-dashboard h3,.ag-dashboard p{color:inherit}.ag-dashboard h2{font-size:clamp(24px,4vw,38px);margin:5px 0 10px;line-height:1.2}.ag-heading{display:flex;justify-content:space-between;gap:20px}.ag-heading p,.ag-timezone,.ag-legend,.ag-chart-caption,.ag-dashboard footer{font-size:13px;color:var(--ag-muted)}.ag-eyebrow{color:var(--ag-muted);letter-spacing:.2em;font-size:11px}.ag-status{white-space:nowrap;font-size:12px;color:var(--ag-muted)}.ag-status.ag-error{color:var(--ag-text);white-space:normal}.ag-filters{display:grid;grid-template-columns:1fr 1.2fr 1.2fr auto;gap:12px;align-items:end;margin:25px 0 8px}.ag-dashboard label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--ag-muted)}.ag-dashboard input,.ag-dashboard select{width:100%;min-width:0;background:var(--ag-panel);color:var(--ag-text);border:1px solid var(--ag-glow);border-radius:8px;padding:11px;font:14px system-ui;color-scheme:dark;min-height:44px}.ag-dashboard button{min-height:44px;padding:10px 18px;border:1px solid var(--ag-muted);border-radius:8px;background:var(--ag-muted);color:var(--ag-panel);font:600 14px system-ui;cursor:pointer}.ag-dashboard button:disabled{opacity:.4;cursor:default}.ag-dashboard :focus-visible{outline:3px solid var(--ag-muted);outline-offset:3px}.ag-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 8px}.ag-metrics>div{padding:16px 20px;border:1px solid var(--ag-line);border-radius:12px;background:linear-gradient(120deg,var(--ag-panel),var(--ag-panel))}.ag-metrics strong{display:block;font-size:32px;font-weight:500;color:var(--ag-text)}.ag-metrics span{font-size:12px;color:var(--ag-muted)}.ag-globe{display:block;width:100%;height:720px;border:0;background:var(--ag-bg);border-radius:12px}.ag-legend{text-align:center}.ag-chart{display:flex;align-items:end;gap:2px;height:110px;margin:30px 0 8px;border-bottom:1px solid var(--ag-line)}.ag-chart>span{display:block;flex:1;background:linear-gradient(var(--ag-text),var(--ag-glow));min-width:1px;border-radius:3px 3px 0 0}.ag-table-wrap{overflow:auto;margin-top:20px}.ag-dashboard table{width:100%;border-collapse:collapse;text-align:left;color:var(--ag-text);font-size:13px}.ag-dashboard caption{text-align:left;color:var(--ag-text);font-size:18px;margin-bottom:12px;caption-side:top}.ag-dashboard th,.ag-dashboard td{padding:12px;border-bottom:1px solid var(--ag-line);white-space:nowrap}.ag-dashboard th{color:var(--ag-muted);font-size:12px}.ag-dashboard a{color:var(--ag-muted)}.ag-dashboard footer{margin-top:28px;border-top:1px solid var(--ag-line);padding-top:15px}.ag-pagination{display:flex;align-items:center;gap:18px;justify-content:center;margin:20px}.ag-export{margin:20px 0}.ag-admin-settings{max-width:none;width:100%;margin:24px auto;padding:24px;border:1px solid var(--ag-text);border-radius:12px;background:var(--ag-text);color:var(--ag-border)}.ag-admin-settings details{margin:16px 0;padding:12px;border:1px solid var(--ag-text);border-radius:8px}.ag-admin-settings summary{cursor:pointer;font-weight:600}.ag-admin-settings form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.ag-admin-settings label{display:flex;flex-direction:column;gap:8px}.ag-admin-settings input{padding:8px;max-width:100%}@media(max-width:800px){.ag-filters{grid-template-columns:1fr 1fr}.ag-heading{display:block}.ag-globe{height:640px}.ag-metrics>div{padding:12px}.ag-metrics strong{font-size:26px}}@media(max-width:480px){.ag-dashboard{padding:12px;border-radius:12px}.ag-filters{grid-template-columns:1fr}.ag-metrics{gap:6px}.ag-metrics>div{padding:10px 8px}.ag-metrics strong{font-size:24px}.ag-metrics span{font-size:11px}.ag-globe{height:600px}}

/* 1.2.1: keep intrinsic chart/table widths inside the Joomla content column. */
.ag-dashboard{width:100%;min-width:0;overflow-wrap:anywhere}
.ag-dashboard>*,.ag-dashboard .ag-heading>*,.ag-dashboard .ag-filters>*,.ag-dashboard .ag-metrics>div{min-width:0;max-width:100%}
.ag-dashboard .ag-filters{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.2fr) auto}
.ag-dashboard .ag-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.ag-dashboard .ag-chart{display:flex;position:relative;float:none;width:100%;max-width:100%;min-width:0;overflow:hidden;gap:0}
.ag-dashboard .ag-chart>span{flex:1 1 0;min-width:0;width:0;margin:0;padding:0;border:0}
.ag-dashboard .ag-table-wrap{width:100%;min-width:0;max-width:100%;overflow-x:auto}
.ag-dashboard .ag-status{white-space:normal;overflow-wrap:anywhere}
.ag-dashboard .ag-globe{max-width:100%;min-width:0}
.ag-dashboard .ag-pagination{flex-wrap:wrap;margin:16px 0;gap:10px}
@media(max-width:800px){.ag-dashboard .ag-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .ag-dashboard{margin:12px auto;padding:12px;border-radius:12px;font-size:14px}
 .ag-dashboard .ag-heading{display:block}.ag-dashboard h2{font-size:25px}
 .ag-dashboard .ag-filters{grid-template-columns:minmax(0,1fr);margin:18px 0 8px}
 .ag-dashboard .ag-filters input,.ag-dashboard .ag-filters select{width:100%;max-width:100%;font-size:16px}
 .ag-dashboard .ag-metrics{gap:6px;margin-top:18px}.ag-dashboard .ag-metrics>div{padding:10px 8px}
 .ag-dashboard .ag-metrics strong{font-size:24px}.ag-dashboard .ag-metrics span{font-size:11px;white-space:normal}
 .ag-dashboard .ag-table-wrap{overflow:visible}
 .ag-dashboard .ag-table-wrap table,.ag-dashboard .ag-table-wrap tbody{display:block;width:100%;min-width:0;max-width:100%}
 .ag-dashboard .ag-table-wrap caption{display:block;width:100%;font-size:18px;text-align:left}
 .ag-dashboard .ag-table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .ag-dashboard .ag-table-wrap tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:12px;margin:0 0 10px;border:1px solid var(--ag-line);border-radius:10px;background:var(--ag-panel)}
 .ag-dashboard .ag-table-wrap td{display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1.4fr);gap:10px;min-width:0;padding:5px 0;border:0;white-space:normal;overflow-wrap:anywhere;font-size:13px;text-align:left}
 .ag-dashboard .ag-table-wrap td::before{content:attr(data-label);color:var(--ag-muted);font-size:12px}
 .ag-dashboard .ag-table-wrap td[colspan]{display:block}.ag-dashboard .ag-table-wrap td[colspan]::before{display:none}
}

.ag-dashboard .ag-filters select{color-scheme:normal;background-color:var(--ag-panel);color:var(--ag-text)}.ag-dashboard .ag-filters select option,.ag-dashboard .ag-filters select optgroup{background-color:var(--ag-panel);color:var(--ag-text)}.ag-city-page{font-size:13px;text-align:center}@media(max-width:480px){.ag-dashboard .ag-city-pagination{gap:8px}.ag-dashboard .ag-city-pagination button{padding:9px 12px}.ag-city-page{flex-basis:100%;order:3}}

.ag-dashboard .ag-heading{display:flex;justify-content:flex-end;min-height:18px}
.ag-dashboard .ag-filters{margin:12px 0 8px;align-items:end}
.ag-dashboard .ag-filters label{margin:0!important;align-self:stretch;justify-content:flex-end;gap:6px}
.ag-dashboard .ag-filters input,.ag-dashboard .ag-filters select,.ag-dashboard .ag-filters button{height:46px;min-height:46px;margin:0!important;box-sizing:border-box;font:14px/1.2 system-ui}
.ag-dashboard button{background:var(--ag-accent);border-color:var(--ag-glow);color:var(--ag-button-text)}
.ag-dashboard .ag-metrics{display:none}.ag-dashboard .ag-chart>span{background:linear-gradient(var(--ag-accent),var(--ag-glow))}
.ag-dashboard .ag-filters select,.ag-dashboard .ag-filters select option,.ag-dashboard .ag-filters input{background:var(--ag-panel);color:var(--ag-text);border-color:var(--ag-border)}
.ag-dashboard .ag-status{color:var(--ag-accent)}.ag-admin-settings{background:var(--ag-bg);color:var(--ag-text);border-color:var(--ag-border)}.ag-admin-settings details{border-color:var(--ag-border)}.ag-admin-settings input{background:var(--ag-panel);color:var(--ag-text);border:1px solid var(--ag-border)}.ag-admin-settings button{background:var(--ag-accent);color:var(--ag-button-text);border:1px solid var(--ag-border);border-radius:8px;padding:9px 14px}.ag-admin-settings a{color:var(--ag-accent)}
@media(max-width:640px){.ag-dashboard .ag-filters input,.ag-dashboard .ag-filters select{font-size:16px}}

/* Compact filter header and a darker, subtly shaded outer panel. */
.ag-dashboard{border-radius:11px;background:linear-gradient(145deg,var(--ag-shell-top,#0c1012),var(--ag-shell-bottom,#050607))}
.ag-admin-settings{border-radius:6px;background:linear-gradient(145deg,var(--ag-shell-top,#0c1012),var(--ag-shell-bottom,#050607))}
.ag-dashboard .ag-filters{margin:0 0 6px}
.ag-dashboard .ag-filter-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:8px 18px;margin:6px 0 18px;min-width:0}
.ag-dashboard .ag-filter-meta .ag-timezone{margin:0;flex:1 1 auto;min-width:0}
.ag-dashboard .ag-filter-meta .ag-status{flex:0 1 auto;text-align:right;white-space:normal}
@media(max-width:640px){.ag-dashboard .ag-filter-meta{flex-direction:column;gap:8px}.ag-dashboard .ag-filter-meta .ag-status{order:-1;align-self:flex-end}.ag-dashboard .ag-filter-meta .ag-timezone{width:100%}}
@media(max-width:480px){.ag-dashboard{border-radius:6px}}

/* One unobtrusive control for mouse-only and touch interaction. */
.ag-globe-wrap{position:relative;width:100%;min-width:0}
.ag-dashboard .ag-touch-toolbar{display:block;position:sticky;top:8px;height:0;z-index:5}
.ag-dashboard .ag-touch-toggle{position:absolute;right:18px;top:112px;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:8px;border-radius:50%;opacity:.38;background:color-mix(in srgb,var(--ag-panel) 65%,transparent);color:var(--ag-highlight);border:1px solid var(--ag-border);transition:opacity .2s,transform .2s,box-shadow .2s;cursor:pointer;touch-action:manipulation}
.ag-touch-toggle svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.ag-dashboard .ag-touch-toggle:hover,.ag-dashboard .ag-touch-toggle:focus-visible,.ag-dashboard .ag-scroll-hint .ag-touch-toggle{opacity:.95;box-shadow:0 0 16px var(--ag-glow)}
.ag-dashboard .ag-interacting .ag-touch-toggle{opacity:1;transform:scale(1.18);background:var(--ag-panel);box-shadow:0 0 20px color-mix(in srgb,var(--ag-glow) 65%,transparent);border-color:var(--ag-glow)}

@media(prefers-reduced-motion:reduce){.ag-dashboard .ag-touch-toggle{transition:none}}

@media(max-width:640px){
 .ag-dashboard .ag-table-wrap:has(.ag-cities){overflow:visible}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) table{display:table;table-layout:fixed;width:100%}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) caption{display:table-caption}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) thead{display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
 .ag-dashboard .ag-table-wrap .ag-cities{display:table-row-group}
 .ag-dashboard .ag-table-wrap .ag-cities tr{display:table-row;padding:0;margin:0;border:0;border-radius:0;background:transparent}
 .ag-dashboard .ag-table-wrap .ag-cities td,.ag-dashboard .ag-table-wrap:has(.ag-cities) th{display:table-cell;min-width:0;padding:8px 4px;border-bottom:1px solid var(--ag-line);white-space:normal;overflow-wrap:anywhere;font-size:11px;vertical-align:top}
 .ag-dashboard .ag-table-wrap .ag-cities td::before{display:none}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) th:nth-child(1){width:35%}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) th:nth-child(2){width:18%}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) th:nth-child(3){width:18%}
 .ag-dashboard .ag-table-wrap:has(.ag-cities) th:nth-child(4){width:29%}
}

.ag-dashboard .ag-sort-button{display:inline-flex;align-items:center;flex-wrap:wrap;max-width:100%;gap:2px;min-height:30px;padding:0;border:0;border-radius:2px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:normal;cursor:pointer;box-shadow:none}
.ag-dashboard .ag-sort-button:hover{color:var(--ag-highlight)}.ag-dashboard .ag-sort-arrow{white-space:nowrap;font-size:.9em}

.ag-dashboard [hidden]{display:none!important}
.ag-dashboard .ag-demo-label{display:block;margin-top:5px;font-size:1em;font-weight:600;color:var(--ag-highlight)}
.ag-dashboard .ag-demo-intro{margin:0 0 10px;font-size:1rem;color:var(--ag-highlight)}

.ag-dashboard .ag-demo-hint{margin:8px 0 12px;padding:8px 12px;border-left:2px solid var(--ag-highlight);color:var(--ag-highlight);background:var(--ag-panel);font-size:.85rem;line-height:1.45}

.ag-dashboard .ag-preset-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid var(--ag-border)}
.ag-dashboard .ag-preset-bar label{display:flex;flex-direction:column;gap:6px;min-width:180px;flex:1 1 240px;color:var(--ag-muted);font-size:13px}
.ag-dashboard .ag-preset-bar select{width:100%}.ag-dashboard .ag-preset-manage{color:var(--ag-highlight);padding:10px 0}

/* Keep the appearance picker consistent even under a site template's select styles. */
.ag-dashboard .ag-preset-bar select.ag-appearance-select{appearance:auto;color-scheme:normal;background:var(--ag-panel)!important;color:var(--ag-text)!important;border:1px solid var(--ag-border)!important;border-radius:8px;height:46px;min-height:46px;padding:11px;margin:0;font:14px/1.2 system-ui;box-shadow:none}
.ag-dashboard .ag-preset-bar select.ag-appearance-select option,.ag-dashboard .ag-preset-bar select.ag-appearance-select optgroup{background:var(--ag-panel)!important;color:var(--ag-text)!important}
.ag-dashboard .ag-preset-bar .choices__inner,.ag-dashboard .ag-preset-bar .choices__list--dropdown,.ag-dashboard .ag-preset-bar .select2-selection--single{background:var(--ag-panel)!important;color:var(--ag-text)!important;border-color:var(--ag-border)!important}
.ag-dashboard .ag-preset-bar .choices__item,.ag-dashboard .ag-preset-bar .select2-selection__rendered{color:var(--ag-text)!important}
@media(max-width:640px){.ag-dashboard .ag-preset-bar select.ag-appearance-select{font-size:16px}}

/* Only the drawing surface intercepts coarse-pointer scrolling; iframe controls stay live. */
.ag-dashboard .ag-globe-stage-overlay{position:absolute;top:0;left:0;width:100%;height:var(--ag-stage-height,0px);overflow:clip;pointer-events:none;z-index:5}
.ag-dashboard .ag-touch-scroll-surface{position:absolute;inset:0;pointer-events:none;touch-action:pan-y}
.ag-dashboard .ag-globe-stage-overlay .ag-touch-toolbar{position:sticky;top:8px;height:154px;pointer-events:none;z-index:1}
.ag-dashboard .ag-globe-stage-overlay .ag-touch-toggle{pointer-events:auto}
@media(pointer:coarse){.ag-dashboard .ag-globe-wrap:not(.ag-interacting) .ag-touch-scroll-surface{pointer-events:auto}}

/* Settings stay out of the drawing area and preserve their form values when folded. */
.ag-dashboard .ag-settings-togglebar{display:flex;justify-content:flex-end;margin:0 0 6px}
.ag-dashboard .ag-settings-toggle{display:inline-grid;place-items:center;width:32px;min-height:30px;padding:5px;border-radius:5px;background:var(--ag-panel);color:var(--ag-text);border:1px solid var(--ag-border);cursor:pointer}
.ag-dashboard.ag-settings-collapsed .ag-timezone{display:none}
.ag-dashboard.ag-settings-collapsed .ag-filter-meta{justify-content:flex-end;margin:0 0 10px}
@media(min-width:1001px){
 .ag-dashboard .ag-settings-row{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1.15fr) auto;gap:10px 12px;align-items:end}
 .ag-dashboard .ag-settings-row:has(.ag-preset-bar){grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1.15fr) auto}
 .ag-dashboard .ag-settings-row .ag-preset-bar,.ag-dashboard .ag-settings-row .ag-filters{display:contents}
 .ag-dashboard .ag-settings-row label{min-width:0!important;max-width:100%;margin:0!important}
 .ag-dashboard .ag-settings-row input,.ag-dashboard .ag-settings-row select{min-width:0;width:100%;box-sizing:border-box}
 .ag-dashboard .ag-settings-row .ag-preset-bar>label{grid-column:1;grid-row:1}
 .ag-dashboard .ag-settings-row .ag-filters>label:nth-of-type(1){grid-column:1;grid-row:1}
 .ag-dashboard .ag-settings-row .ag-filters>label:nth-of-type(2){grid-column:2;grid-row:1}
 .ag-dashboard .ag-settings-row .ag-filters>label:nth-of-type(3){grid-column:3;grid-row:1}
 .ag-dashboard .ag-settings-row .ag-filters>button{grid-column:4;grid-row:1}
 .ag-dashboard .ag-settings-row:has(.ag-preset-bar) .ag-filters>label:nth-of-type(1){grid-column:2}
 .ag-dashboard .ag-settings-row:has(.ag-preset-bar) .ag-filters>label:nth-of-type(2){grid-column:3}
 .ag-dashboard .ag-settings-row:has(.ag-preset-bar) .ag-filters>label:nth-of-type(3){grid-column:4}
 .ag-dashboard .ag-settings-row:has(.ag-preset-bar) .ag-filters>button{grid-column:5}
 .ag-dashboard .ag-settings-row .ag-preset-bar>button{grid-column:1 / span 2;grid-row:2;justify-self:start}
 .ag-dashboard .ag-settings-row .ag-preset-manage{grid-column:3 / -1;grid-row:2;justify-self:start}
}
/* This parent-page grip stays usable above the touch scrolling shield. */
.ag-dashboard .ag-height-resize{position:absolute;right:3px;bottom:3px;z-index:3;pointer-events:auto;touch-action:none;user-select:none;width:34px;height:34px;min-height:34px;padding:5px;border:0;border-radius:4px;background:color-mix(in srgb,var(--ag-panel) 60%,transparent);color:var(--ag-highlight);opacity:.58;cursor:ns-resize}
.ag-dashboard .ag-height-resize:hover,.ag-dashboard .ag-height-resize:focus-visible,.ag-dashboard .ag-height-resize.ag-resizing{opacity:1}
.ag-dashboard .ag-height-resize:disabled{opacity:.2;cursor:default}

/* A scoped light surface: the host website's own theme is not modified. */
.ag-dashboard[data-theme-mode="light"],.ag-admin-settings[data-theme-mode="light"]{--ag-shell-top:#fff;--ag-shell-bottom:#f2f7f9;--ag-bg:#f7fafb;--ag-panel:#fff;--ag-panel-2:#eef4f6;--ag-border:#b8cbd1;--ag-muted:#4b626b;--ag-text:#172b34;--ag-accent:#12546b;--ag-glow:#16738d;--ag-highlight:#12475a;--ag-button-text:#fff;color-scheme:light}
.ag-dashboard[data-theme-mode="light"] input,.ag-dashboard[data-theme-mode="light"] select{color-scheme:light!important}
.ag-dashboard[data-theme-mode="light"] .ag-globe{box-shadow:0 0 0 1px var(--ag-border)}

/* Outer surface options belong to each preset, including embedded dashboards. */
.ag-dashboard:not([data-outer-border="1"]){border:0;box-shadow:none}
.ag-dashboard[data-outer-border="1"]{border:1px solid var(--ag-border)}
.ag-dashboard:not([data-surface-background="preset"]){background:transparent}
.ag-dashboard .ag-globe,.ag-dashboard[data-theme-mode="light"] .ag-globe{background:transparent;box-shadow:none;color-scheme:normal}

/* Status shares the stage heading position and small counter-label typography. */
.ag-dashboard .ag-globe-stage-overlay>.ag-status{position:absolute;top:36px;right:20px;z-index:3;max-width:calc(100% - 40px);font:400 11px/1.4 system-ui,sans-serif;letter-spacing:normal;color:var(--ag-muted);text-align:right;pointer-events:none}
@media(max-width:480px){.ag-dashboard .ag-globe-stage-overlay>.ag-status{top:32px;right:14px;max-width:calc(100% - 28px)}}

.ag-dashboard{--ag-inset:0;padding:var(--ag-inset)}
.ag-dashboard[data-outer-border="1"]{--ag-inset:clamp(12px,2vw,24px);padding:var(--ag-inset)}
.ag-dashboard:not([data-outer-border="1"]){padding:0}
.ag-dashboard [hidden]{display:none!important}
.ag-dashboard .ag-globe-stage-overlay>.ag-status{right:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.ag-dashboard .ag-height-resize{bottom:calc(var(--ag-stage-controls-height,40px) + 14px)}
.ag-dashboard .ag-touch-scroll-surface{bottom:calc(var(--ag-stage-controls-height,40px) + 10px)}

.ag-dashboard .ag-globe-stage-overlay>.ag-status{right:var(--ag-stage-inset,0px);max-width:calc(100% - 2 * var(--ag-stage-inset,0px))}
.ag-dashboard .ag-touch-toggle{right:var(--ag-stage-inset,0px)}
.ag-dashboard .ag-height-resize{right:3px;bottom:3px}
.ag-dashboard .ag-touch-scroll-surface{bottom:calc(var(--ag-stage-controls-height,40px) + var(--ag-stage-inset,0px) + 10px)}

/* Leave room for the scroll-hint glow even on a transparent drawing surface. */
.ag-dashboard .ag-touch-toggle{right:max(24px,var(--ag-stage-inset,0px))}

/* Logarithmic timeline; dates stay outside the subdued bars. */
.ag-dashboard .ag-timeline-title{font-size:18px;font-weight:400;line-height:1.4;margin:24px 0 12px;color:var(--ag-text)}
.ag-dashboard .ag-chart{margin:0;height:110px}.ag-dashboard .ag-chart>span{opacity:.42}
.ag-dashboard .ag-chart-range{display:flex;justify-content:space-between;gap:16px;color:var(--ag-muted);font-size:11px;line-height:1.5;margin-top:6px}
.ag-dashboard .ag-chart-range time{max-width:50%;overflow-wrap:anywhere}.ag-dashboard .ag-chart-to{text-align:right}
.ag-dashboard .ag-city-row{cursor:pointer}.ag-dashboard .ag-city-row:hover,.ag-dashboard .ag-city-row:focus-within{background:color-mix(in srgb,var(--ag-glow) 10%,transparent)}
.ag-dashboard .ag-city-focus{display:block;text-align:left;min-height:24px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;white-space:inherit;overflow-wrap:inherit}
@media(max-width:640px){.ag-dashboard .ag-table-wrap:has(.ag-cities) table[data-split-bots="true"] th:nth-child(1){width:30%}.ag-dashboard .ag-table-wrap:has(.ag-cities) table[data-split-bots="true"] th:nth-child(2){width:12%}.ag-dashboard .ag-table-wrap:has(.ag-cities) table[data-split-bots="true"] th:nth-child(3),.ag-dashboard .ag-table-wrap:has(.ag-cities) table[data-split-bots="true"] th:nth-child(4){width:15%}.ag-dashboard .ag-table-wrap:has(.ag-cities) table[data-split-bots="true"] th:nth-child(5){width:28%}}

/* Always-visible preset picker beside the labelled period toggle. */
.ag-dashboard .ag-settings-shell{position:relative;z-index:6;margin-bottom:5px;padding-bottom:0}
.ag-dashboard .ag-settings-togglebar{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin:0;flex-wrap:wrap}
.ag-dashboard .ag-settings-togglebar .ag-preset-bar{display:flex;flex:0 1 260px;align-items:center;gap:8px;margin:0;padding:0;border:0;min-width:0;max-width:100%}
.ag-dashboard .ag-settings-togglebar .ag-preset-bar label{flex:1 1 auto;min-width:0;margin:0;gap:0}
.ag-dashboard .ag-preset-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ag-dashboard .ag-settings-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;width:auto;min-height:38px;height:38px;padding:7px 10px;font:13px/1.2 system-ui;white-space:nowrap}
.ag-dashboard .ag-settings-toggle svg{width:16px;height:16px;flex:none}
.ag-dashboard .ag-settings-togglebar .ag-preset-bar select.ag-appearance-select{height:38px;min-height:38px;padding:7px 10px;font-size:14px}
.ag-dashboard .ag-settings-content .ag-filters{margin:0;gap:8px 12px}
.ag-dashboard .ag-settings-content .ag-filters input,.ag-dashboard .ag-settings-content .ag-filters select,.ag-dashboard .ag-settings-content .ag-filters button{height:38px;min-height:38px;padding:7px 10px}
.ag-dashboard .ag-settings-content .ag-filters label{gap:4px}
@media(min-width:1000px){.ag-dashboard .ag-settings-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1.15fr) auto}}
@media(max-width:640px){
 .ag-dashboard .ag-settings-togglebar{gap:8px;flex-wrap:nowrap}
 .ag-dashboard .ag-settings-togglebar .ag-preset-bar{flex:1 1 0;min-width:0}
 .ag-dashboard .ag-settings-togglebar .ag-preset-bar select.ag-appearance-select{font-size:16px;padding:7px 6px}
 .ag-dashboard .ag-settings-toggle{padding:7px 8px;font-size:12px;gap:4px}
 .ag-dashboard .ag-settings-content .ag-filters input,.ag-dashboard .ag-settings-content .ag-filters select{font-size:16px;min-width:0;max-width:100%}
}
/* Admin-only preset actions can wrap without narrowing the public toolbar. */
.ag-dashboard[data-admin="1"] .ag-settings-togglebar .ag-preset-bar{flex-wrap:wrap;flex-basis:auto}

.ag-dashboard .ag-settings-content:not([hidden]){margin-top:8px}

/* Match the neighbouring picker and keep scroll protection around, not over, the controls. */
.ag-dashboard .ag-settings-toggle{border-radius:8px;font-size:14px}
.ag-dashboard .ag-touch-scroll-surface{bottom:auto;height:var(--ag-stage-controls-top,calc(100% - var(--ag-stage-controls-height,40px) - var(--ag-stage-inset,0px) - 10px))}
.ag-dashboard .ag-touch-scroll-bottom{position:absolute;left:0;right:0;top:var(--ag-stage-controls-bottom,100%);bottom:0;pointer-events:none;touch-action:pan-y}
@media(pointer:coarse){.ag-dashboard .ag-globe-wrap:not(.ag-interacting) .ag-touch-scroll-bottom{pointer-events:auto}}
.ag-dashboard .ag-touch-range{position:absolute;top:var(--ag-stage-controls-counter-top,52px);bottom:calc(100% - var(--ag-stage-controls-top,calc(100% - 80px)) + 12px);left:0;right:0;pointer-events:none}
.ag-dashboard .ag-globe-stage-overlay .ag-touch-toolbar{position:sticky;top:8px;height:42px;pointer-events:none}
.ag-dashboard .ag-globe-stage-overlay .ag-touch-toggle{top:0}
@media(max-width:640px){.ag-dashboard .ag-settings-toggle{font-size:16px}}
/* Opt-in component structure. Module dashboards have none of these attributes or wrappers. */
.ag-dashboard[data-component-layout] .ag-component-workspace{display:block;min-width:0}
.ag-dashboard[data-component-layout] .ag-component-sidebar{min-width:0}
.ag-dashboard[data-component-layout] .ag-component-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ag-dashboard[data-component-layout] .ag-component-actions>a,.ag-dashboard[data-component-layout] .ag-component-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;border:1px solid var(--ag-border);border-radius:8px;background:var(--ag-panel);color:var(--ag-text);font:14px/1.2 system-ui;text-decoration:none;cursor:pointer}
.ag-dashboard[data-component-layout] .ag-settings-togglebar{flex-wrap:wrap}
.ag-dashboard[data-component-landscape="1"] .ag-component-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;align-items:start}
.ag-dashboard[data-component-landscape="1"] .ag-component-workspace:has(>.ag-component-sidebar[hidden]){grid-template-columns:minmax(0,1fr)}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar{max-height:var(--ag-component-height);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-table-wrap{margin-top:0;overflow-x:auto}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar table{table-layout:fixed}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar th,.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar td{padding:8px 5px;white-space:normal;overflow-wrap:anywhere;font-size:12px}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar th:first-child{width:30%}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar th:last-child{width:27%}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-pagination{margin:12px 0;gap:8px;flex-wrap:wrap}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-city-page{font-size:11px}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-pagination button{min-height:32px;padding:6px 10px;font-size:12px}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-timeline-title{margin-top:0}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-timeline-section{margin-bottom:18px}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-chart{height:72px}
.ag-dashboard[data-component-layout]:fullscreen,.ag-dashboard[data-component-layout].ag-component-expanded{width:100%;height:100%;max-width:none;box-sizing:border-box;overflow:auto;background:var(--ag-bg);padding:12px;border:0;border-radius:0;margin:0}
.ag-dashboard[data-component-layout].ag-component-expanded{position:fixed;inset:0;width:100vw;height:100dvh;z-index:2147483647}
body.ag-standalone{margin:0;padding:12px;box-sizing:border-box;min-height:100dvh;background:#071016;font-family:system-ui}
body.ag-standalone>.ag-dashboard{width:100%;max-width:none;margin:0}
@media(max-width:640px){.ag-dashboard[data-component-layout] .ag-component-actions>a,.ag-dashboard[data-component-layout] .ag-component-actions>button{font-size:13px}}

/* Stable button geometry even when a host template changes link hover typography. */
.ag-dashboard[data-component-layout] .ag-component-actions{--ag-action-font-size:14px}
.ag-dashboard[data-component-layout] .ag-component-actions>:is(a,button),
.ag-dashboard[data-component-layout] .ag-component-actions>:is(a,button):is(:link,:visited,:hover,:focus,:focus-visible,:active){font-family:system-ui!important;font-size:var(--ag-action-font-size)!important;font-weight:400!important;line-height:1.2!important;letter-spacing:normal!important;text-decoration:none!important;text-transform:none!important;transform:none!important;border-radius:8px!important;padding:7px 10px!important;transition:background-color .15s ease,border-color .15s ease;color:var(--ag-text)!important}
.ag-dashboard[data-component-layout] .ag-component-actions>:is(a,button):hover{background:color-mix(in srgb,var(--ag-panel) 85%,var(--ag-glow) 15%)!important;border-color:color-mix(in srgb,var(--ag-border) 65%,var(--ag-glow) 35%)!important}
@media(max-width:640px){.ag-dashboard[data-component-layout] .ag-component-actions{--ag-action-font-size:13px}}
/* Inset shading separates buckets without changing widths, spacing or count heights. */
.ag-dashboard .ag-chart>span{box-shadow:inset -1px 0 0 rgba(0,0,0,.55)}


/* Keep the same panel and iframe in the browser's top layer across Dashboard switches. */
.ag-dashboard[data-component-layout].ag-component-expanded:popover-open {
 position:fixed;
 inset:0;
 margin:0;
}

/* The city list's header and pager stay in sight while the table scrolls. */
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar {
 display:flex;
 flex-direction:column;
 gap:12px;
 max-height:none;
 height:var(--ag-component-height);
 overflow:hidden;
}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar > .ag-city-section {
 display:flex;
 flex-direction:column;
 flex:1 1 auto;
 min-height:0;
}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-table-wrap {
 flex:1 1 auto;
 min-height:0;
 overflow:auto;
 overscroll-behavior:contain;
 scrollbar-width:thin;
}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar thead th {
 position:sticky;
 top:0;
 z-index:1;
}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-pagination {
 flex:none;
 margin-bottom:0;
}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-timeline-section {
 flex:none;
 margin-bottom:0;
}

.ag-dashboard .ag-chart[role="slider"] { cursor:crosshair; touch-action:pan-y; }
.ag-dashboard .ag-timeline-details {
 position:absolute;
 z-index:1;
 inset:5px auto auto 50%;
 transform:translateX(-50%);
 max-width:calc(100% - 10px);
 width:max-content;
 padding:4px 8px;
 border:1px solid var(--ag-border);
 border-radius:5px;
 background:var(--ag-panel);
 color:var(--ag-text);
 font:12px/1.35 system-ui,sans-serif;
 text-align:center;
 pointer-events:none;
}
.ag-dashboard .ag-chart:has(.ag-timeline-details:not([hidden]))::after {
 content:'';
 position:absolute;
 top:0;
 bottom:0;
 left:var(--ag-timeline-cursor);
 width:1px;
 background:var(--ag-glow);
 pointer-events:none;
}

.ag-dashboard[data-surface-background="preset"]{
 background:linear-gradient(135deg,var(--ag-shell-top),var(--ag-shell-bottom))!important
}
.ag-dashboard .ag-city-section table{
 --bs-table-color:var(--ag-text);--bs-table-bg:transparent;
 --bs-table-striped-bg:var(--ag-panel-2);--bs-table-hover-bg:var(--ag-panel);
 --bs-table-border-color:var(--ag-border);
 table-layout:auto;color:var(--ag-text)!important;background:transparent!important
}
.ag-dashboard .ag-city-section{
 --ag-city-font:system-ui,sans-serif;
 --ag-city-ink:color-mix(in srgb,var(--ag-text) 80%,var(--ag-accent));
 --ag-city-size:14px;
}
.ag-dashboard[data-component-landscape="1"] .ag-city-section{--ag-city-size:12px}
@media(max-width:640px){.ag-dashboard .ag-city-section{--ag-city-size:clamp(11px,2.8vw,12px)}}
.ag-dashboard .ag-city-section>h3.ag-city-title{
 margin:20px 0 8px;
 padding:0;
 flex:none;
 background:transparent!important;
 box-shadow:none!important;
 color:var(--ag-text)!important;
 font:400 18px/1.4 var(--ag-city-font)!important;
}
.ag-dashboard[data-component-landscape="1"] .ag-component-sidebar .ag-city-title{margin:0 0 6px}
.ag-dashboard .ag-city-section>.ag-table-wrap{margin-top:0}
.ag-dashboard .ag-city-section .ag-city-title .ag-demo-label{
 color:var(--ag-highlight)!important;
 font:600 14px/1.4 var(--ag-city-font)!important;
}
.ag-dashboard .ag-city-section .ag-table-wrap table :is(th,td){
 font:400 var(--ag-city-size)/1.45 var(--ag-city-font)!important;
 font-variant-numeric:lining-nums tabular-nums!important;
}
.ag-dashboard .ag-city-section .ag-table-wrap table thead th{font-weight:600!important}
.ag-dashboard .ag-city-section .ag-table-wrap table :is(.ag-city-focus,.ag-sort-button,.ag-sort-arrow){
 font:inherit!important;
 color:inherit!important;
}
.ag-dashboard .ag-city-section :is(.ag-city-title,th,td,.ag-city-focus,.ag-sort-button,.ag-sort-arrow){
 letter-spacing:normal!important;
 text-transform:none!important;
 text-shadow:none!important;
}
.ag-dashboard .ag-city-section .ag-table-wrap table thead th{
 background:var(--ag-panel)!important;color:var(--ag-accent)!important;border-color:var(--ag-border)!important
}
.ag-dashboard .ag-city-section .ag-table-wrap table td{
 background:transparent!important;color:var(--ag-text)!important;color:var(--ag-city-ink)!important;border-color:var(--ag-border)!important;box-shadow:none!important
}
.ag-dashboard .ag-city-section .ag-table-wrap table tbody tr{background:transparent}
.ag-dashboard .ag-city-section .ag-table-wrap table tbody tr:is(:hover,:focus-within){background:color-mix(in srgb,var(--ag-accent) 12%,transparent)}
.ag-dashboard .ag-city-section .ag-table-wrap table .ag-city-focus{color:var(--ag-accent)!important;background:transparent!important}
.ag-dashboard .ag-city-section .ag-table-wrap table .ag-sort-button{
 color:inherit!important;background:transparent!important;white-space:nowrap;flex-wrap:nowrap;word-break:normal;overflow-wrap:normal
}
.ag-dashboard .ag-city-section .ag-table-wrap table th{white-space:nowrap;word-break:normal;overflow-wrap:normal}
@media(max-width:640px){
 .ag-dashboard .ag-city-section .ag-table-wrap:has(.ag-cities){overflow-x:auto;max-width:100%}
 .ag-dashboard .ag-city-section .ag-table-wrap:has(.ag-cities) table{table-layout:auto;width:100%}
 .ag-dashboard .ag-city-section .ag-table-wrap table[data-split-bots] thead th:nth-child(n){
  width:auto;padding:6px 3px;font-size:clamp(10px,2.8vw,12px)
 }
 .ag-dashboard .ag-city-section .ag-table-wrap .ag-cities td{word-break:normal;overflow-wrap:normal;padding:6px 3px}
}

/* Keep the attribution at the end of the component in embedded and immersive views. */
.ag-dashboard[data-component-layout],
.ag-dashboard[data-component-layout]:is(:fullscreen,.ag-component-expanded){
  padding-bottom:max(10px,env(safe-area-inset-bottom));
}
body.ag-standalone{padding-bottom:0}
body.ag-standalone>.ag-dashboard,
.ag-dashboard[data-component-layout]:is(:fullscreen,.ag-component-expanded){
  display:flex;
  flex-direction:column;
}
body.ag-standalone>.ag-dashboard{min-height:calc(100dvh - 12px)}
body.ag-standalone>.ag-dashboard>*,
.ag-dashboard[data-component-layout]:is(:fullscreen,.ag-component-expanded)>*{flex-shrink:0}
small.ag-developer{
  display:block;
  margin:0;
  padding:5px 0 0;
  text-align:left;
  font:400 11px/1.35 system-ui,sans-serif;
  text-transform:lowercase;
  color:var(--ag-muted,currentColor);
  color:color-mix(in srgb,var(--ag-accent,currentColor) 55%,var(--ag-muted,currentColor));
}
/* Surplus viewport height belongs above the bottom chart, keeping its dates and credit together. */
.ag-dashboard[data-component-landscape="1"]>.ag-timeline-section{
  display:flow-root;
  margin:0;
}
.ag-dashboard[data-component-landscape="1"]>.ag-timeline-section:not([hidden]){
  margin-top:auto;
}
small.ag-developer>a:any-link{
  color:inherit!important;
  font:inherit!important;
  text-transform:inherit!important;
  text-decoration:none!important;
}
small.ag-developer>a:is(:hover,:focus-visible){text-decoration:underline!important;text-underline-offset:2px}

.ag-dashboard .ag-legend,.ag-dashboard .ag-chart-caption,.ag-dashboard .ag-filter-meta p,
.ag-dashboard .ag-real-footer,.ag-dashboard .ag-demo-footer,.ag-dashboard .ag-result-note{
 grid-column:1/-1;align-self:start;text-align:start;font:normal 0.75rem/1.45 system-ui,sans-serif;
 color:var(--ag-muted);margin:4px 0;padding:0;border:0;background:transparent;
}
.ag-dashboard .ag-real-footer,.ag-dashboard .ag-demo-footer{padding-inline-start:8px;border-inline-start:2px solid var(--ag-border)}
.ag-dashboard .ag-save-default:disabled{opacity:.48;cursor:default}

.ag-dashboard[data-component-layout] .ag-settings-togglebar{position:relative}
.ag-dashboard[data-component-layout] .ag-component-actions{margin-inline-start:auto;flex-wrap:nowrap}
.ag-dashboard[data-component-layout] .ag-component-fullscreen{width:38px;height:38px;box-sizing:border-box}
.ag-component-fullscreen[aria-pressed="true"] .ag-enter-full,.ag-component-fullscreen[aria-pressed="false"] .ag-exit-full{display:none}

/* Keep presentation actions on the same row as the picker, even in narrow embeds. */
.ag-dashboard .ag-preset-admin-actions{display:contents}
.ag-dashboard .ag-settings-toggle .ag-period-icon,
.ag-component-dashboard:not(.ag-show-return) .ag-leave-dashboard,
.ag-component-dashboard.ag-show-return .ag-enter-dashboard{display:none}
.ag-dashboard .ag-settings-toggle[aria-expanded="true"] .ag-period-chevron{transform:rotate(180deg)}
.ag-dashboard[data-component-layout] .ag-component-dashboard{width:38px;height:38px;box-sizing:border-box}
.ag-dashboard[data-compact-toolbar] .ag-settings-togglebar{
 display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding-inline-end:0;
}
.ag-dashboard[data-compact-toolbar] .ag-settings-togglebar .ag-preset-bar{display:contents}
.ag-dashboard[data-compact-toolbar] .ag-preset-bar label{grid-area:1/1;max-width:260px}
.ag-dashboard[data-compact-toolbar] .ag-preset-admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;grid-column:1/-1;grid-row:2}
.ag-dashboard[data-compact-toolbar] .ag-settings-toggle{grid-area:1/2;width:44px;height:44px;padding:0}
.ag-dashboard[data-compact-toolbar] .ag-settings-togglebar:not(:has(.ag-preset-bar)) .ag-settings-toggle{grid-column:1;justify-self:start}
.ag-dashboard[data-compact-toolbar] .ag-settings-toggle :is(span,.ag-period-chevron){display:none}
.ag-dashboard[data-compact-toolbar] .ag-settings-toggle .ag-period-icon{display:block;width:20px;height:20px}
.ag-dashboard[data-compact-toolbar] .ag-component-actions{grid-area:1/3;flex-wrap:nowrap;gap:6px}
.ag-dashboard[data-compact-toolbar] .ag-component-actions :is(.ag-component-dashboard,.ag-component-fullscreen){position:static;width:44px;height:44px;box-sizing:border-box}
.ag-dashboard[data-compact-toolbar] .ag-settings-togglebar .ag-preset-bar select.ag-appearance-select{height:44px;min-width:0;max-width:100%}

/* Visible before the scene iframe loads, scoped to each globe instance. */
.ag-dashboard .ag-loading{position:absolute;inset:0;z-index:6;display:grid;place-items:center;padding:24px;pointer-events:none;color:var(--ag-accent)}
.ag-dashboard .ag-loading[hidden]{display:none!important}
.ag-dashboard .ag-loading-content{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;max-width:100%}
.ag-dashboard .ag-loading-globe{display:block;flex:none;width:64px;height:64px;overflow:visible;filter:drop-shadow(0 0 10px color-mix(in srgb,var(--ag-glow) 24%,transparent))}
.ag-dashboard .ag-loading-label{font:400 13px/1.5 system-ui,sans-serif;color:var(--ag-muted);letter-spacing:.015em}
.ag-dashboard .ag-loading-grid{opacity:.2}
.ag-dashboard .ag-loading-land{opacity:.56;animation:ag-loading-map 3.8s linear infinite}
.ag-dashboard .ag-loading-meridian{opacity:.45;transform-origin:32px 32px;animation:ag-loading-meridian 3.8s linear infinite}
.ag-dashboard .ag-loading-halo{opacity:.55;transform-origin:32px 32px;animation:ag-loading-orbit 2.8s linear infinite}
.ag-dashboard .ag-loading[data-state="error"] .ag-loading-globe{display:none}
.ag-dashboard .ag-loading[data-state="error"] .ag-loading-label{color:var(--ag-text)}
@keyframes ag-loading-map{to{transform:translateX(-50px)}}
@keyframes ag-loading-meridian{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.08)}}
@keyframes ag-loading-orbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ag-dashboard .ag-loading-land,.ag-dashboard .ag-loading-meridian,.ag-dashboard .ag-loading-halo{animation:none}}

/* One image spans the panel, including both columns and the timeline. */
.ag-dashboard[data-component-photo] {
 background-image:var(--ag-component-photo),var(--ag-component-underlay,none)!important;
 background-repeat:no-repeat!important;
 background-size:var(--ag-component-photo-size),cover!important;
 background-position:var(--ag-component-photo-position),center!important;
}
.ag-dashboard[data-component-photo][data-surface-background="preset"] {
 --ag-component-underlay:linear-gradient(135deg,var(--ag-shell-top),var(--ag-shell-bottom));
}
body.ag-standalone:has(>.ag-dashboard[data-component-photo]) {padding:0}
body.ag-standalone>.ag-dashboard[data-component-photo] {min-height:100dvh}

/* The timestamps share the chart footprint, including while bars are refreshed. */
.ag-dashboard .ag-chart-plot{position:relative;min-width:0}
.ag-dashboard .ag-chart-plot>.ag-chart-range{
 position:absolute;inset:auto 4px 3px;margin:0;align-items:flex-end;
 gap:4px;pointer-events:none;color:var(--ag-text);line-height:1.2;
}
.ag-dashboard .ag-chart-range time{
 padding:2px 4px;border-radius:3px;background:var(--ag-panel);
 background:color-mix(in srgb,var(--ag-panel) 84%,transparent);
 font-variant-numeric:tabular-nums;
}

/* The guide sits inside the presentation, including native fullscreen. */
.ag-dashboard[data-component-layout]:not(.ag-component-expanded):not(:fullscreen){position:relative}
.ag-dashboard .ag-tour-layer{position:absolute;inset:0 0 auto;height:0;z-index:12;pointer-events:none}
.ag-dashboard .ag-tour-card{position:absolute;pointer-events:auto;box-sizing:border-box;padding:14px 16px;background:var(--ag-panel);border:1px solid var(--ag-border);border-radius:12px;color:var(--ag-text);box-shadow:0 5px 20px #0003;font:14px/1.45 system-ui,sans-serif}
.ag-dashboard .ag-tour-card::before{content:"";position:absolute;left:var(--ag-tip-x);top:-6px;width:10px;height:10px;background:var(--ag-panel);border:solid var(--ag-border);border-width:1px 0 0 1px;transform:translateX(-50%) rotate(45deg)}
.ag-dashboard .ag-tour-card[data-above]::before{top:auto;bottom:-6px;transform:translateX(-50%) rotate(225deg)}
.ag-dashboard .ag-tour-card strong{color:var(--ag-text);font:600 15px/1.3 system-ui,sans-serif}
.ag-dashboard .ag-tour-card p{margin:5px 0 12px;font:inherit;color:var(--ag-text)}
.ag-dashboard .ag-tour-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ag-dashboard .ag-tour-actions button{padding:6px 9px;font:inherit;min-height:34px;border-radius:6px;cursor:pointer}
.ag-dashboard .ag-tour-actions .ag-tour-skip{background:transparent;color:var(--ag-muted);border:1px solid transparent}
.ag-dashboard .ag-tour-actions .ag-tour-next{background:var(--ag-accent);color:var(--ag-button-text);border:1px solid var(--ag-accent)}
.ag-dashboard .ag-tour-target{outline:2px solid var(--ag-accent);outline-offset:2px;opacity:1}
