/* The console's shared frame (ui-frame.js; rules in apps/dev-console/UI_RULES.md): one action bar per form (Clear, the
   reset menu, the primary action), the phone view switcher, the Undo toast and the small confirm dialog. Desktop: the
   bar is sticky at the bottom of the form panel. Phones (<= 620 px): the bar and the view switcher are one dock fixed to
   the bottom of the screen, above the home indicator and Safari's toolbar (safe-area inset + the visual viewport). */
:root{--uf-area-h:46px;--uf-gap:8px;--uf-radius:8px;--uf-touch:44px;--uf-dock-h:0px;--uf-vv-bottom:0px;--uf-ink:var(--ink,#222924);--uf-muted:var(--muted,#737b75);--uf-line:var(--line,#e3e6df);--uf-surface:var(--surface,#fff);--uf-accent:var(--accent,#3156d7);--uf-accent-soft:var(--accent-soft,#edf1ff);--uf-panel:#fcfcf9;--uf-shadow:0 -6px 18px #1b2c2314}
:root[data-theme="dark"]{--uf-panel:#1b1f1c;--uf-shadow:0 -6px 18px #0008}

/* ---- the dock: the action bar (and, on phones, the view switcher) ---- */
.uf-dock{position:sticky;bottom:0;z-index:30;margin:0 -21px;padding:10px 21px 12px;background:var(--uf-panel);border-top:1px solid var(--uf-line);box-shadow:var(--uf-shadow)}
.request-panel>.uf-dock{margin-top:auto}
.uf-actions{display:flex;align-items:center;gap:var(--uf-gap);min-height:40px}
.uf-secondary{display:flex;align-items:center;gap:4px;flex-shrink:0}
.uf-slot{flex:1 1 auto;display:flex;min-width:0}
/* the human check (console-session.js, ui-frame.js actionBar): a quiet line above the run button while it runs, and
   Cloudflare's widget there when it asks for a click; the request spinner waits until it is done (no Cancel pill
   before anything is sent) */
.uf-check{display:none;margin:0 0 8px;font:500 12px/1.4 var(--sans,system-ui);color:var(--uf-muted,#737b75)}
html[data-human-check] .uf-check{display:block}
.uf-check::before{content:"";display:inline-block;width:9px;height:9px;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-1px;animation:uf-check-spin .9s linear infinite}
@keyframes uf-check-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.uf-check::before{animation:none}}
.uf-dock>#turnstile-box{position:static;display:flex;justify-content:center;margin:0 0 8px;inset:auto}
.uf-dock>#turnstile-box:empty,.uf-dock>#turnstile-box[hidden]{display:none}
html[data-human-check] #request-activity[data-pending="true"]{display:none!important}
.uf-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:40px;padding:0 12px;border:1px solid var(--uf-line);border-radius:var(--uf-radius);background:var(--uf-surface);color:var(--uf-ink);font:550 12.5px var(--sans,system-ui);cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.uf-btn:hover{border-color:#cdd2c8;background:#f4f5f1}
.uf-btn:focus-visible{outline:2px solid var(--uf-accent);outline-offset:2px}
.uf-btn svg{width:15px;height:15px}
.uf-btn.uf-icon{padding:0;width:40px}
.uf-btn[aria-expanded="true"]{border-color:var(--uf-accent);color:var(--uf-accent)}
/* the primary action: every mode's own run button, moved here (its id, test id and handlers kept), one look */
.uf-slot>.uf-primary{position:static!important;display:flex!important;align-items:center;justify-content:center;gap:8px;flex:1 1 auto;width:auto!important;min-width:0;height:40px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:var(--uf-radius)!important;background:var(--uf-accent)!important;color:#fff!important;font:650 13px var(--sans,system-ui)!important;letter-spacing:.01em;text-decoration:none!important;box-shadow:0 1px 2px #1b2c2324;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:filter .15s,transform .1s}
.uf-slot>.uf-primary:hover{filter:brightness(1.08)}
.uf-slot>.uf-primary:active{transform:translateY(1px)}
.uf-slot>.uf-primary:focus-visible{outline:2px solid var(--uf-accent)!important;outline-offset:2px}
.uf-slot>.uf-primary:disabled{opacity:.55;cursor:not-allowed}
.uf-slot>.uf-primary[aria-busy="true"],.uf-slot>.uf-primary.running{cursor:progress}
.uf-slot>.uf-primary .sr-only.uf-show{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:nowrap}
/* one style for every primary button (2026-11-24 polish): the label alone, no arrow (some carried →, some ↗, most none) */
.uf-slot>.uf-primary>svg,.uf-slot>.uf-primary>span[aria-hidden="true"]:not(.run-shortcut):not(.uf-kbd){display:none!important}
.uf-slot>.uf-primary .run-shortcut,.uf-slot>.uf-primary .uf-kbd{order:3;margin-left:2px;padding:1px 5px;border-radius:4px;background:#ffffff26;font:500 10.5px var(--mono,ui-monospace,monospace);opacity:.9}
.uf-slot>.uf-off,.uf-slot>[hidden]{display:none!important}
.uf-primary-label:empty{display:none}

/* the reset menu */
.uf-menu-wrap{position:relative}
.uf-menu{position:absolute;bottom:calc(100% + 6px);left:0;z-index:40;min-width:220px;padding:6px;border:1px solid var(--uf-line);border-radius:10px;background:var(--uf-surface);box-shadow:0 10px 30px #1b2c2329}
.uf-menu[hidden]{display:none}
.uf-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;min-height:var(--uf-touch);padding:7px 10px;border:0;border-radius:6px;background:none;color:var(--uf-ink);font:550 12.5px var(--sans,system-ui);text-align:left;cursor:pointer}
.uf-menu button small{color:var(--uf-muted);font-weight:450;font-size:11.5px}
.uf-menu button:hover,.uf-menu button:focus-visible{background:var(--uf-accent-soft);outline:none}

/* the view switcher: phones only (desktop shows the views side by side) */
.uf-views{display:none}
.uf-view{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;flex:1 1 0;min-width:0;min-height:var(--uf-touch);padding:2px 4px;border:0;border-radius:8px;background:none;color:var(--uf-muted);font:600 11px var(--sans,system-ui);cursor:pointer}
.uf-view svg{width:18px;height:18px}
.uf-view[aria-selected="true"]{color:var(--uf-accent);background:var(--uf-accent-soft)}
.uf-view:focus-visible{outline:2px solid var(--uf-accent);outline-offset:-2px}
.uf-count{position:absolute;top:2px;right:calc(50% - 22px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--uf-accent);color:#fff;font:700 9.5px/16px var(--sans,system-ui);text-align:center}
.uf-count:empty{display:none}

/* the results heading takes focus after a run (no outline flash for a pointer user) */
.uf-landing:focus{outline:none}
.uf-landing:focus-visible{outline:2px solid var(--uf-accent);outline-offset:4px;border-radius:4px}

/* ---- phones: one dock at the bottom ---- */
@media(max-width:620px){
  .uf-dock{position:fixed;left:0;right:0;bottom:var(--uf-vv-bottom);z-index:1250;margin:0;padding:6px max(10px,env(safe-area-inset-right)) calc(2px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:var(--uf-panel)}   /* opaque: no form text through the bars (owner 2026-11-25) */
  .uf-actions{min-height:var(--uf-touch)}
  .uf-btn,.uf-slot>.uf-primary{height:var(--uf-touch)!important}
  .uf-btn.uf-icon{width:var(--uf-touch)}
  .uf-views{display:flex;gap:2px;margin-top:4px}
  body.uf-has-dock{padding-bottom:calc(var(--uf-dock-h) + 8px)}
  /* a focused or scrolled-to control never ends under the dock or the sticky bar */
  html:has(body.uf-has-dock){scroll-padding-bottom:var(--uf-dock-h);scroll-padding-top:calc(var(--uf-sticky,56px) + 8px)}
  /* a box scrolled to brings its label with it; a heading clears the bar (2026-11-25: "WHERE" was cut by the mode bar) */
  .request-panel :is(input,select,textarea),.tool-controls :is(input,select,textarea){scroll-margin-top:30px}
  .uf-section,.uf-subhead,.request-panel label,.request-panel legend{scroll-margin-top:8px}
  /* the on-screen keyboard up (ui-frame.js trackKeyboard): the dock (action bar and view tabs) steps aside, the form
     gets the screen; Enter / Go in the box runs */
  html[data-uf-keyboard] .uf-dock{display:none!important}
  html[data-uf-keyboard] body{padding-bottom:calc(var(--uf-vv-bottom) + 8px)!important}
  .uf-menu{min-width:240px}
  /* the page's toasts sit above the dock */
  body.uf-has-dock .toast{bottom:calc(var(--uf-dock-h) + 10px)}
}

/* ---- the Undo toast ---- */
.uf-toast{position:fixed;left:50%;bottom:calc(var(--uf-dock-h) + 20px);z-index:var(--z-toast,2100);display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);padding:8px 8px 8px 16px;border-radius:10px;background:#1f2a22f2;color:#fff;font:500 12.5px var(--sans,system-ui);box-shadow:0 8px 24px #0003;transform:translate(-50%,8px);opacity:0;transition:opacity .16s,transform .16s}
.uf-toast.uf-in{opacity:1;transform:translate(-50%,0)}
.uf-toast[hidden]{display:none}
.uf-toast button{min-height:36px;padding:0 12px;border:0;border-radius:7px;background:#ffffff1f;color:#fff;font:650 12.5px var(--sans,system-ui);cursor:pointer}
.uf-toast button:hover{background:#ffffff33}
.uf-toast button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:620px){.uf-toast{bottom:calc(var(--uf-dock-h) + var(--uf-vv-bottom) + 10px)}}

/* ---- the confirm dialog ---- */
.uf-confirm{max-width:min(420px,calc(100vw - 32px));padding:20px;border:1px solid var(--uf-line);border-radius:12px;background:var(--uf-surface);color:var(--uf-ink);box-shadow:0 20px 50px #0003}
.uf-confirm::backdrop{background:#1b2c2340}
.uf-confirm h2{margin:0 0 6px;font-size:15px}
.uf-confirm p{margin:0 0 16px;color:var(--uf-muted);font-size:13px}
.uf-confirm-actions{display:flex;justify-content:flex-end;gap:8px}
.uf-confirm .uf-danger{border-color:transparent;background:#c2412d;color:#fff}

/* ---- the address console (console-frame.js) ---- */
/* the search boxes' arrows moved to the dock: each box keeps only its own clear button at the right */
.search-input-row #q,.search-input-row #poi-q{padding-right:40px!important}
.search-input-row .clear-search-button{right:5px!important}
/* the location switches, one group beside the box they fill */
.uf-location{grid-column:1/-1;display:grid;gap:0;margin:8px 0 6px;padding:2px 12px;border:1px solid var(--uf-line);border-radius:var(--uf-radius);background:var(--uf-surface)}
.uf-location>.cloudflare-location-control{margin:0!important;padding-top:8px!important;padding-bottom:8px!important;border:0!important}
.uf-location>.cloudflare-location-control+.cloudflare-location-control{border-top:1px solid var(--uf-line)!important}
.filter-grid>.uf-location,.filter-grid>#follow-fields{grid-column:1/-1}
.uf-location .cloudflare-location-toggle{min-height:40px}
.uf-location .cloudflare-location-copy{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;max-width:calc(100% - 64px)}
.uf-location .cloudflare-location-summary{max-width:100%;font-size:11.5px;white-space:normal;overflow:visible;overflow-wrap:normal}   /* (wraps to a second line, never cut: owner 2026-11-24) */
#reverse-fields>#follow-fields,#poi-fields #follow-fields{margin:6px 0 2px}
/* one primary action: the folded phone bar's own Run is the dock's */
.mode-menu>.dc-run{display:none!important}
.uf-slot>.uf-primary .run-shortcut{display:none!important}


/* a distance answer's Directions sits under its row, not over the row's own button (the overflow audit) */
.result-quick{margin-top:0!important;padding-top:2px}

/* the narrowest phones (320 px): the dock's words shrink before anything spills; Clear keeps its name for readers */
.uf-view-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uf-actions,.uf-views{min-width:0}
@media(max-width:360px){
  .uf-clear>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .uf-clear{width:var(--uf-touch);padding:0}
  .uf-slot>.uf-primary{padding:0 10px!important;font-size:12.5px!important}
  .uf-view{font-size:10.5px}
  .app-header #sheet-link{display:none}
}

/* the header's menu button: phones showing one view at a time only */
.uf-hmenu{display:none}

/* ---- phones: one view at a time (html.uf-app, ui-frame.js switching) ----
   The header is one slim row (the brand, Samples, a menu with everything else); the dock is at the bottom; between
   them one view: the form, the map (filling the screen), the results or the code. */
@media(max-width:620px){
  html.uf-app .uf-view-off{display:none!important}
  html.uf-app .uf-fill.uf-fill.uf-fill{height:calc(100dvh - var(--uf-top,44px) - var(--uf-dock-h) - var(--uf-vv-bottom))!important;min-height:240px!important;max-height:none!important;margin:0!important;border-radius:0!important}
  /* a tool page's credits link (ui-frame.js creditsFooter): in the header's menu on a phone, never squeezed into its row */
  .app-header:not(.uf-menu-open) .header-actions>[data-testid=credits-link]{display:none}
  /* the areas line under the map in the Map view (areas.js, owner 2026-11-25): the map ends above it, it above the dock */
  html.uf-app .area-panel.area-line:not([hidden]){box-sizing:border-box;height:var(--uf-area-h);padding:6px 10px!important;overflow:hidden}
  html.uf-app .uf-fill.uf-fill.uf-fill:has(~ .area-panel.area-line:not([hidden])){height:calc(100dvh - var(--uf-top,44px) - var(--uf-dock-h) - var(--uf-vv-bottom) - var(--uf-area-h))!important}
  html.uf-app .uf-fill>.maplibregl-map,html.uf-app .uf-fill #map,html.uf-app .uf-fill .tool-map,html.uf-app .uf-fill #opt-map{height:100%!important;min-height:0!important}
  html.uf-app body.uf-has-dock{padding-bottom:calc(var(--uf-dock-h) + var(--uf-vv-bottom))}
  html.uf-app[data-uf-view=map] body{overflow:hidden}
  /* the header: one row */
  html.uf-app .app-header{position:relative;height:var(--uf-top,44px);min-height:0;padding:0 max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));gap:8px;flex-wrap:nowrap}
  html.uf-app .app-header .header-divider,html.uf-app .app-header .workspace-name,html.uf-app .app-header .preview-tag{display:none!important}
  html.uf-app .app-header>#samples-button{margin-left:auto}
  html.uf-app .app-header .header-actions{display:none!important}
  html.uf-app .app-header.uf-menu-open .header-actions{display:flex!important;flex-direction:column;align-items:stretch;gap:2px;position:absolute;top:calc(100% + 4px);right:8px;left:auto;z-index:1400;min-width:220px;max-width:calc(100vw - 16px);padding:6px;border:1px solid var(--uf-line);border-radius:10px;background:var(--uf-surface);box-shadow:0 12px 30px #1b2c2333}
  html.uf-app .app-header.uf-menu-open .header-actions>*{display:flex!important;align-items:center;min-height:var(--uf-touch);padding:0 10px;margin:0;border-radius:6px;justify-content:flex-start;width:auto;height:auto}
  html.uf-app .app-header.uf-menu-open .header-actions .label-long{display:inline!important}
  html.uf-app .app-header.uf-menu-open .header-actions .label-short{display:none!important}
  html.uf-app .uf-hmenu{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--uf-touch);height:var(--uf-touch);border:0;border-radius:8px;background:none;color:var(--uf-ink)}
  html.uf-app .uf-hmenu[aria-expanded=true]{background:var(--uf-accent-soft);color:var(--uf-accent)}
  html.uf-app .uf-hmenu svg{width:20px;height:20px}
  /* the console: the views are the request panel's form, the map, the results, the code */
  html.uf-app .console-layout .workspace-toolbar,html.uf-app .request-panel>.request-bottom,html.uf-app .app-footer{display:none!important}
  html.uf-app[data-uf-view=map] .console-layout .request-panel,html.uf-app[data-uf-view=code] .console-layout .request-panel{display:none!important}
  html.uf-app[data-uf-view=form] .console-layout .workspace,html.uf-app[data-uf-view=results] .console-layout .workspace,html.uf-app[data-uf-view=chart] .console-layout .workspace{display:none!important}
  /* (height too: following GPS fixes the list's height (app.css); here the list is the page, so it is as tall as its cards) */
  html.uf-app[data-uf-view=results] .results-list{max-height:none!important;height:auto!important;flex:none!important;overflow:visible!important}
  html.uf-app .console-layout .inspector{border-top:0}
  html.uf-app .console-layout{min-height:0!important;height:auto!important}   /* a short form is short: no band down to the dock */
  /* a chart once: the Results view holds the facts, the Chart view the chart */
  html.uf-app[data-uf-view=results] .results-panel figure{display:none!important}
  html.uf-app[data-uf-view=chart] .results-panel :is(.results-header,.results-footnote,.results-credits){display:none!important}
  html.uf-app[data-uf-view=chart] .results-list>:not(:has(figure)),html.uf-app[data-uf-view=chart] .results-list>*>:not(figure):not(:has(figure)){display:none!important}

}

/* ==== The map control column: ONE component (ui-frame.js mapColumns; UI_RULES.md 10) ===========================
   owner 2026-11-22: "none of this is consistent". Every control on every map is the same button: a square of --uf-ctl
   (40 px on a desktop, 44 px on a phone), one border, radius, shadow and icon size (18 px), one right edge
   (--uf-ctl-edge from the map's edge); a group (zoom; the 3D tools) is a segmented stack of those squares with one
   divider; between groups one gap (--uf-ctl-gap). The order, top to bottom: zoom, the 3D switch, Pick, Expand map, (the
   3D tools: orbit, compass, rotate, tilt, until the 3D panel takes them), More (⋯), then the page's Fit and Layers;
   the ⓘ alone in the bottom-right corner. A column that would reach the ⓘ folds its lowest-priority groups into More
   (ui-frame.js FOLD_ORDER). Icons only: the name is the title and aria-label; a toggle is filled while on
   (aria-pressed); the focus ring for the keyboard only; a dark basemap ([data-dark], map-gl.mjs) the dark variant. */
.maplibregl-map,.map-wrap,.opt-map-wrap{--uf-ctl:40px;--uf-ctl-gap:8px;--uf-ctl-edge:10px;--uf-ctl-radius:8px;--uf-ctl-icon:18px;--uf-ctl-bg:#fff;--uf-ctl-ink:#36433b;--uf-ctl-line:#d3d9cf;--uf-ctl-sep:#e6e9e3;--uf-ctl-hover:#f2f4ef;--uf-ctl-shadow:0 1px 4px #16240f26;--uf-ctl-on:var(--accent,#3156d7);--uf-ctl-on-hover:#2547bd;--uf-ctl-focus:var(--accent,#3156d7)}
.maplibregl-map[data-dark],.map-wrap:has(>.maplibregl-map[data-dark]),.opt-map-wrap:has(>.maplibregl-map[data-dark]){--uf-ctl-bg:#242b27;--uf-ctl-ink:#e4eae5;--uf-ctl-line:#414b44;--uf-ctl-sep:#38413b;--uf-ctl-hover:#2e3631;--uf-ctl-shadow:0 1px 6px #0009;--uf-ctl-on:#5b7fea;--uf-ctl-on-hover:#4a6fdc;--uf-ctl-focus:#8fa8ff}
@media(max-width:620px){.maplibregl-map,.map-wrap,.opt-map-wrap{--uf-ctl:44px}}
/* the column */
.maplibregl-map .maplibregl-ctrl-top-right{display:flex;flex-direction:column;align-items:flex-end;gap:var(--uf-ctl-gap);padding:var(--uf-ctl-edge) var(--uf-ctl-edge) 0 0;max-height:100%;box-sizing:border-box}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl.maplibregl-ctrl{position:relative;inset:auto;margin:0;float:none}
/* the box: every group of the column, the page's map buttons and the ⓘ */
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group.maplibregl-ctrl-group,.map-wrap>[data-map-panel]>.map-panel-toggle.map-panel-toggle{box-sizing:border-box;width:var(--uf-ctl);border:1px solid var(--uf-ctl-line);border-radius:var(--uf-ctl-radius);background:var(--uf-ctl-bg);background-image:none;color:var(--uf-ctl-ink);box-shadow:var(--uf-ctl-shadow);outline:none}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group.maplibregl-ctrl-group{display:flex;flex-direction:column;overflow:hidden}
.map-wrap>[data-map-panel]>.map-panel-toggle.map-panel-toggle,.maplibregl-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button.maplibregl-ctrl-attrib-button{display:grid;place-items:center;height:var(--uf-ctl);padding:0;cursor:pointer}
/* the squares inside a group: one divider between them */
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button.maplibregl-ctrl-icon,.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button{display:grid;place-items:center;flex:none;width:100%;height:calc(var(--uf-ctl) - 2px);min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background-color:transparent;color:var(--uf-ctl-ink);font:700 12px/1 var(--sans,system-ui,sans-serif);letter-spacing:.02em;box-shadow:none;outline:none;cursor:pointer}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button+button{height:calc(var(--uf-ctl) - 1px);border-top:1px solid var(--uf-ctl-sep)}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button svg,.map-wrap>[data-map-panel]>.map-panel-toggle svg{width:var(--uf-ctl-icon);height:var(--uf-ctl-icon);flex:none}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button .maplibregl-ctrl-icon{width:100%;height:100%}
.maplibregl-map[data-dark] .maplibregl-ctrl-top-right .maplibregl-ctrl-icon{filter:invert(1) brightness(1.7)}   /* MapLibre's zoom and compass icons are dark images */
/* states */
/* (2026-11-24, owner: a control "disappears" when clicked: the hover grey used to win over a pressed or open control's
   fill, leaving its white "3D" on light grey under the pointer, and on a touch screen the hover stays after the tap. Hover
   is for a mouse only and never paints over a control that is on; an "on" control under the pointer is a darker fill.) */
@media(hover:hover){.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button:not(:disabled):not([aria-pressed="true"]):not([aria-expanded="true"]):hover,.map-wrap>[data-map-panel]>.map-panel-toggle:hover{background-color:var(--uf-ctl-hover)}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button[aria-pressed="true"]:hover,.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button[aria-expanded="true"]:hover{background-color:var(--uf-ctl-on-hover)}}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button:not(:disabled):active{background-color:var(--uf-ctl-hover)}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button[aria-pressed="true"]:active,.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button[aria-expanded="true"]:active{background-color:var(--uf-ctl-on-hover)}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button[aria-pressed="true"],.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button[aria-expanded="true"]{background-color:var(--uf-ctl-on);color:#fff}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button:focus{box-shadow:none}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button:focus-visible{outline:2px solid var(--uf-ctl-focus);outline-offset:-3px;border-radius:calc(var(--uf-ctl-radius) - 2px)}
.map-wrap>[data-map-panel]>.map-panel-toggle:focus-visible,.maplibregl-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button:focus-visible{outline:2px solid var(--uf-ctl-focus);outline-offset:2px}
/* a control that opens a flyout (owner 2026-11-24): one small chevron mark in its lower-right corner, the same on every
   such control (3D's options, Layers, Fit), pointing toward the map's interior where the flyout opens */
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button.uf-has-flyout,.map-wrap>[data-map-panel]>.map-panel-toggle{position:relative}
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group>button.uf-has-flyout::after,.map-wrap>[data-map-panel]:not(.map-click-hint)>.map-panel-toggle::after{content:"";position:absolute;left:4px;bottom:4px;width:0;height:0;border-style:solid;border-width:5px 0 0 5px;border-color:transparent transparent transparent currentColor;opacity:.7;pointer-events:none}
/* an open panel's button in its place in the column (ui-frame.js openerFor): the same square, pressed, its chevron */
.map-wrap>.uf-opener{position:absolute;z-index:var(--z-overlay,3);display:grid;place-items:center;box-sizing:border-box;width:var(--uf-ctl);height:var(--uf-ctl);padding:0;border:1px solid var(--uf-ctl-on,#3156d7);border-radius:var(--uf-ctl-radius);background:var(--uf-ctl-on,#3156d7);color:#fff;box-shadow:var(--uf-ctl-shadow);cursor:pointer}
.map-wrap>.uf-opener[hidden]{display:none!important}
.map-wrap>.uf-opener svg{width:var(--uf-ctl-icon);height:var(--uf-ctl-icon)}
.map-wrap>.uf-opener::after{content:"";position:absolute;left:4px;bottom:4px;border-style:solid;border-width:5px 0 0 5px;border-color:transparent transparent transparent currentColor;opacity:.8;pointer-events:none}
.map-wrap>.uf-opener:focus-visible{outline:2px solid var(--uf-ctl-focus);outline-offset:2px}
/* the order */
.maplibregl-map .maplibregl-ctrl-top-right>.maplibregl-ctrl-group:has(.maplibregl-ctrl-zoom-in){order:1}
.maplibregl-map .maplibregl-ctrl-top-right>.tg-buildings-ctrl{order:2}
.maplibregl-map .maplibregl-ctrl-top-right>.tg-pick-ctrl{order:3}
.maplibregl-map .maplibregl-ctrl-top-right>.tg-expand-ctrl{order:4}
.maplibregl-map .maplibregl-ctrl-top-right>.tg-orbit-ctrl{order:5}
.maplibregl-map .maplibregl-ctrl-top-right>.tg-rotate-ctrl{order:6}
.maplibregl-map .maplibregl-ctrl-top-right>.uf-more-ctrl{order:9}
@media(max-width:620px){.maplibregl-map .maplibregl-ctrl-top-right>.tg-expand-ctrl{display:none!important}}   /* a phone's Map view is already the whole screen */
/* More (⋯): the folded groups, shown beside it in a row of the same squares while it is open (ui-frame.js) */
.maplibregl-map .maplibregl-ctrl-top-right>.uf-more-ctrl[hidden],.maplibregl-map .maplibregl-ctrl-top-right:not(.uf-more-open)>.uf-folded{display:none!important}
.maplibregl-map .maplibregl-ctrl-top-right.uf-more-open>.uf-folded.uf-folded{position:absolute;z-index:2}
/* the page's map buttons (Fit, Layers): the column's squares under it (placed by ui-frame.js); a tap opens the panel
   beside the column; the click hint is never a panel: its words show once in the notice slot */
.map-wrap>[data-map-panel]:not(.open)>:not(.map-panel-toggle){display:none!important}
.map-wrap>[data-map-panel]:not(.open){border:0!important;background:none!important;box-shadow:none!important;padding:0!important;height:auto!important;min-width:0!important;gap:0!important}
.map-wrap>[data-map-panel].open>.map-panel-toggle{display:none!important}
.map-wrap>.map-click-hint{display:none!important}
/* the ⓘ: alone in the bottom-right corner (its right edge the column's, its bottom margin the column's top margin), from
   the map's first frame: MapLibre hides its control (maplibregl-attrib-empty) until the style's sources report their
   credits and shows the button only once it is "compact"; here it always shows. A glyph with no border or box (owner,
   2026-11-24), its hit area the column's square (40 / 44 px); the credits' pill opens beside it (map-credits.mjs) */
.maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-inner{display:none!important}
.maplibregl-map .maplibregl-ctrl-bottom-right{right:0;bottom:0}
.maplibregl-map .maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-ctrl-attrib{display:block;position:relative;float:none;width:var(--uf-ctl);height:var(--uf-ctl);min-height:0;margin:0 var(--uf-ctl-edge) var(--uf-ctl-edge) 0;padding:0;box-sizing:border-box;border-radius:var(--uf-ctl-radius);background:none}
.maplibregl-map .maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib::after{display:none}
.maplibregl-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button.maplibregl-ctrl-attrib-button{position:absolute;inset:0;box-sizing:border-box;width:var(--uf-ctl);border:0;border-radius:50%;background:none;box-shadow:none;color:var(--uf-ctl-ink);filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px #fff)}
.maplibregl-map[data-dark] .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button.maplibregl-ctrl-attrib-button{filter:drop-shadow(0 0 1px #000) drop-shadow(0 0 2px #000)}
@media(hover:hover){.maplibregl-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button:hover{opacity:.75}}
.maplibregl-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button::before{content:"";width:var(--uf-ctl-icon);height:var(--uf-ctl-icon);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='7.6' r='.6' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='7.6' r='.6' fill='black'/%3E%3C/svg%3E") center/contain no-repeat}
.maplibregl-map.uf-info-beside .maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-ctrl-attrib{margin-right:calc(var(--uf-ctl-edge) + var(--uf-ctl) + var(--uf-ctl-gap))}   /* a map too short even with More (ui-frame.js) */
/* a building's card (a sheet along the foot of the map, clear of the column) takes the foot of the map: the ⓘ steps aside with the legends while it is open */
.map-wrap>.tg-building-sheet{right:calc(var(--uf-ctl) + 2 * var(--uf-ctl-edge))}
.map-wrap.tg-building-card-open>.maplibregl-map .maplibregl-ctrl-bottom-right{visibility:hidden}
/* ==== end of the map control column ==== */
.uf-map-hint{position:absolute;z-index:var(--z-overlay,3);padding:6px 12px;border-radius:999px;background:rgba(20,24,28,.78);color:#f2f4f5;font:12.5px/1.4 var(--sans,system-ui);pointer-events:none;width:max-content;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:opacity .2s}
.uf-map-hint[hidden]{display:none}
/* the legends: one stack at the bottom left (legend.css) */
@media(prefers-reduced-motion:reduce){.uf-map-hint{transition:none}}

/* one notice slot: the top of the map, clear of the controls' column */
.map-wrap>.map-note,.opt-map-wrap>.map-note,.tool-map>.map-note{position:absolute;top:10px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:max-content;max-width:min(330px,calc(100% - 128px))!important;box-sizing:border-box;z-index:6}
@media(max-width:620px){.map-wrap .map-fit.open{right:calc(var(--uf-ctl) + 2 * var(--uf-ctl-edge))!important}}   /* the opened Fit bar beside the column */

/* ==== Expand map: FALLBACK ONLY (map-gl.mjs ExpandControl; owner 2026-11-22) ====================================
   The control toggles html[data-map-expanded] and sends `tg:map-expand` {on}. The console's layout (three columns,
   panels folding to rails) owns what html[data-map-expanded] does to the page; until that lands, the expanded map's
   frame (marked [data-uf-expanded-frame]: the console's .map-wrap, Route planning's .opt-map-wrap or a tool page's
   map) simply fills the screen under the header. Remove this block when the layout's own rules cover it. */
html[data-map-expanded] [data-uf-expanded-frame]{position:fixed!important;top:var(--uf-expand-top,0px)!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;min-height:0!important;margin:0!important;border-radius:0!important;z-index:1300!important}
html[data-map-expanded] [data-uf-expanded-frame]>.maplibregl-map{height:100%!important;min-height:0!important;max-height:none!important;border-radius:0!important}
html[data-map-expanded] body{overflow:hidden}
/* ==== end Expand map fallback ==== */


/* ---- the header and footer stay one line (owner 2026-11-21, 1024 px: items wrapped onto two lines) ---- */
.app-header{flex-wrap:nowrap;min-width:0}
.app-header .header-actions{flex-wrap:nowrap;min-width:0}
.app-header .header-actions>*,.app-header .header-actions a,.app-header .header-actions button,.app-header .workspace-name{white-space:nowrap}
@media(min-width:621px) and (max-width:1400px){
  .app-header .preview-tag,.app-header #map-gallery-link,.app-header #site-link{display:none!important}
  .app-header .header-actions .label-long{display:none!important}
  .app-header .header-actions .label-short{display:inline!important}
  .app-header .header-actions{gap:12px!important}
  .app-header #service-state{font-size:0}   /* the dot alone says connected (its title has the words) */
}
@media(min-width:621px) and (max-width:1100px){.app-header .workspace-name{display:none!important}}
@media(min-width:621px) and (max-width:1599px){.app-header .preview-tag{display:none!important}}   /* (room for the theme switch, theme.js) */
.app-footer{flex-wrap:nowrap!important;min-width:0}
.app-footer>div{display:flex;align-items:center;min-width:0;overflow:hidden;white-space:nowrap}
.app-footer>div>*{flex-shrink:0;white-space:nowrap}
.app-footer>div>.footer-separator,.app-footer>div>.footer-dot{flex-shrink:0}

@media(prefers-reduced-motion:reduce){.uf-toast,.uf-btn,.uf-slot>.uf-primary{transition:none}}
@media print{.uf-dock,.uf-toast{display:none!important}}

/* Keep the request control in reach across the output views and clear of the phone dock. */
.request-activity{
  position:fixed;z-index:1350;bottom:16px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:4px;width:max-content;max-width:calc(100vw - 24px);
  box-sizing:border-box;min-height:38px;padding:0 4px 0 12px;
  border:1px solid var(--uf-line);border-radius:10px;
  background:var(--uf-surface);color:var(--uf-ink);box-shadow:0 4px 16px #0002;
  font:600 13px/1.4 var(--sans,system-ui)
}
.request-activity[hidden],.request-activity button[hidden]{display:none}
.request-activity button{
  min-height:36px;padding:0 10px;border:0;border-radius:7px;
  background:transparent;color:inherit;font:inherit;cursor:pointer
}
.request-activity button:hover{background:color-mix(in srgb,var(--uf-ink) 8%,transparent)}
.request-activity button:focus-visible{outline:2px solid var(--uf-accent);outline-offset:-2px}
.request-activity[data-pending=false]{padding:10px 14px;gap:8px;pointer-events:none}
.request-activity[data-pending=true]>.activity-error{display:none}
.request-activity[data-pending=true]:has(button[hidden]){padding:0 12px}
.request-activity[data-kind=error]{background:#7a2318;border-color:#9b3a2c;color:white}
.activity-mark{width:8px;height:8px;flex:none;border-radius:50%;background:currentColor}
[data-pending=true]>.activity-mark{
  box-sizing:border-box;width:16px;height:16px;background:none;
  border:2px solid color-mix(in srgb,var(--uf-accent) 25%,transparent);border-top-color:var(--uf-accent);
  animation:activity-spin .8s linear infinite
}
@keyframes activity-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){[data-pending=true]>.activity-mark{animation:none}}
@media(max-width:620px){
  .request-activity{bottom:calc(var(--uf-dock-h,100px) + var(--uf-vv-bottom,0px) + 12px)}
  .request-activity[data-pending=true]{left:auto;right:max(10px,env(safe-area-inset-right));transform:none}
  .request-activity button{min-height:var(--uf-touch)}
}
@media(pointer:coarse){.request-activity button{min-height:var(--uf-touch)}}
/* phones: in the box being looked up (request-activity.js place): the spinner and an × (Cancel; Esc too) take the box's
   end slot, the box's own end buttons step aside while it runs; with no box on screen, in the Form view's dock */
.request-activity.ra-field{position:absolute;left:auto;bottom:auto;z-index:4;transform:none;gap:2px;width:auto;max-width:none;min-height:0;padding:0 0 0 8px;border:0;border-radius:0 var(--f-r,6px) var(--f-r,6px) 0;background:transparent;box-shadow:none}
.request-activity.ra-field>.activity-mark{width:18px;height:18px}
.request-activity.ra-field>#activity-cancel{display:grid;place-items:center;width:44px;min-height:0;height:100%;padding:0;border-radius:0 var(--f-r,6px) var(--f-r,6px) 0;font-size:0;color:var(--uf-ink)}
.request-activity.ra-field>#activity-cancel::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8M12 4l-8 8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8M12 4l-8 8'/%3E%3C/svg%3E") center/contain no-repeat}
.request-activity.ra-field>#activity-cancel[hidden]{display:none}
.ra-busy-field>:is(.place-remove,.place-clear,.route-kind,.place-sub.key-only,.place-exact,.clear-input-button){visibility:hidden!important}
html body .ra-busy-field.ra-busy-field.ra-busy-field>input{padding-right:72px!important}
.request-activity.ra-dock{position:static;transform:none;width:max-content;margin:0 0 6px auto;box-shadow:none}
html[data-request-pending] .feedback-spinner{display:none}
/* running (request-activity.js centre): the results grayed out under the spinner and Cancel, in their middle; after a
   short wait, so a quick answer does not flash (owner 2026-11-26) */
[data-pending-output].ra-dimmed>*{opacity:.38;filter:grayscale(1);pointer-events:none;transition:opacity .15s .15s,filter .15s .15s}
.request-activity.ra-center{position:fixed;right:auto;bottom:auto;transform:translate(-50%,-50%);z-index:1350;animation:ra-in .15s .15s both}
@keyframes ra-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.request-activity.ra-center{animation:none}[data-pending-output].ra-dimmed>*{transition:none}}
[data-pending-output] .uf-map-hint{visibility:hidden!important}

/* Options changed (ui-frame.js stale): the primary action says so (an amber ring and a dot, "Run to update" as its title and in the note under it), the answer on screen is dimmed under a note. Drawn on the slot, never inside the button: content added to a
   button between mousedown and mouseup (the box that loses focus marks the form changed) makes the browser drop the click. */
.uf-slot{position:relative}

.uf-stale-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:7px 8px 7px 12px;border:1px solid #b9c8f5;border-radius:6px;background:#eaf0ff;color:#1f3a9e;font:600 12.5px/1.4 var(--sans,system-ui);overflow-wrap:anywhere}   /* a blue callout bar with a Run again button (owner 2026-11-26: "should be a blue bar though, more callouty") */
.uf-stale-note[hidden]{display:none}
/* (in the results header: its own row above the title, the header's padding at every width; app.css lays the header out
    as a grid and shows its first div's children in it, so the line names its own display and row) */
.results-header:has(>.uf-stale-note:not([hidden])){grid-template-areas:"note note note" "title time fold" "sub sub sub" "split split split"!important}
.results-header>.uf-stale-note:not([hidden]){display:flex;grid-area:note;margin:0 0 6px}
/* (owner 2026-11-24: no dot or ring on the run button, the answer not dimmed; one short line with a link that runs again) */
.uf-stale-note .uf-rerun{flex:none;min-height:28px;padding:0 12px;border:0;border-radius:5px;background:#3156d7;color:#fff;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.uf-stale-note .uf-rerun:hover{background:#2747b9}
/* (dark, by hand: the generated tint is grey and the text too dark to read; a blue bar in dark too) */
html:root[data-theme="dark"] .uf-stale-note{border-color:#34488f;background:#1a2547;color:#c9d6ff}
html:root[data-theme="dark"] .uf-stale-note .uf-rerun{background:#4c6bd5;color:#fff}html:root[data-theme="dark"] .uf-stale-note .uf-rerun:hover{background:#5d7be0}
@media(prefers-reduced-motion:reduce){[data-stale-results][data-stale]>:not(.uf-stale-note){transition:none}}

/* Form sections (form-sections.js): plain headings, nothing folded away (owner 2026-11-22) */
.uf-section{grid-column:1/-1;margin:16px 0 8px;padding:0;font:650 11px/1.2 var(--sans,system-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--uf-muted)}
.uf-section[hidden]{display:none}
.uf-section::after{content:"";display:block;height:1px;margin-top:5px;background:var(--uf-line)}
.uf-subhead{margin:10px 0 6px;font:600 12.5px/1.3 var(--sans,system-ui);color:var(--uf-ink)}
.uf-subhead .optional{margin-left:6px;font-weight:450;color:var(--uf-muted)}
.form-section{margin:10px 0}
.more-count{display:none}

/* Compact option grids: related controls side by side, one column where a label would wrap badly */
.terrain-knobs,.terrain-more{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;align-items:start}
.terrain-knobs>*,.terrain-more>*{margin-top:0!important;min-width:0}
.terrain-knobs>.uf-section,.terrain-knobs>.terrain-more,.terrain-more>.drive-row:has(input[type=range],[role=group],.surface-tabs),.terrain-knobs>.drive-row:has(input[type=range],[role=group],.surface-tabs,.terrain-slider),.terrain-knobs>.check-row,.terrain-more>.check-row,.terrain-knobs>.view3d-slider{grid-column:1/-1}
.answer-checks,.opt-group .opt-checks,#opt-include,.opt-group:not(#opt-include){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;align-items:center}
.answer-checks>legend,.answer-checks>:not(label),#opt-include>:not(label),.opt-group>legend{grid-column:1/-1}
@media(max-width:340px){.terrain-knobs,.terrain-more,.answer-checks,#opt-include,.opt-group:not(#opt-include){grid-template-columns:minmax(0,1fr)}}
.terrain-knobs>.drive-row:has(select),.terrain-more>.drive-row:has(select){grid-column:1/-1}
.flow-checks,.view3d-layers,.opt-checks{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:4px 10px;min-width:0}

.info-mark{color:var(--uf-muted);font-size:12px;cursor:help}
/* Historical areas (area_vintage) and Area data (area_data): checkbox lists, not list boxes (owner 2026-11-24); the
   vintages a compact grid of years, the boxes past the limit of 8 dimmed */
.opt-checks.vintage-checks{grid-template-columns:repeat(auto-fill,minmax(58px,1fr))!important}
.vintage-checks::before,#opt-data .opt-checks::before{grid-column:1/-1}
.vintage-check.at-limit{opacity:.45;cursor:not-allowed}
#opt-vintage.opt-group,#opt-data.opt-group{grid-template-columns:minmax(0,1fr)}

/* the theme switch (theme.js; owner 2026-11-24): Light | Dark | Auto, a small segmented control in the header's actions
   (on a phone: in the header menu, its names shown) */
.uf-theme{display:inline-flex;align-items:center;flex:none;gap:1px;padding:2px;border:1px solid var(--uf-line);border-radius:8px;background:var(--uf-surface)}
.uf-theme>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:28px;height:24px;margin:0;padding:0;border:0;border-radius:6px;background:none;color:var(--uf-muted);font:500 12.5px/1 var(--sans,system-ui);cursor:pointer}
.uf-theme>button svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.uf-theme>button:hover{color:var(--uf-ink)}
.uf-theme>button[aria-checked="true"]{background:var(--uf-accent-soft);color:var(--uf-accent)}
.uf-theme>button:focus-visible{outline:2px solid var(--uf-accent);outline-offset:1px}
.uf-theme-name{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:620px){
  .app-header .header-actions>.uf-theme{display:none}   /* (a phone: only in the open header menu; never widening the header's row) */
  html.uf-app .app-header.uf-menu-open .header-actions>.uf-theme{display:flex!important;min-height:0;margin:4px 0;padding:3px;gap:2px}
  html.uf-app .app-header.uf-menu-open .header-actions>.uf-theme>button{flex:1 1 0;width:auto;height:38px}
  html.uf-app .app-header.uf-menu-open .header-actions>.uf-theme .uf-theme-name{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
}

.request-activity[data-partial]::before{content:attr(data-partial);order:1;font-weight:500}
.request-activity[data-partial] button{order:2}
.request-activity.ra-inline{position:static;transform:none;width:fit-content;margin:4px 12px 8px;box-shadow:none}

.pending-routes{margin:0 12px 8px;font-size:.85rem}
.pending-route{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid var(--line)}
#json-part{max-width:min(15rem,100%)}
#response-inspector .json-controls{flex-wrap:wrap}
#response-code.json-lines{padding-left:16px}
#response-code .jl{position:relative}
#response-code .json-branch{position:absolute;left:calc(var(--d)*2ch - 17px);top:0;width:16px;height:1.6em;margin:0;padding:0;border:0;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center;text-indent:0}
#response-code .json-branch::before{content:'';width:5px;height:5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
#response-code .json-branch[aria-expanded="false"]::before{transform:rotate(-45deg)}
#response-code .json-branch:hover,#response-code .json-branch:focus-visible{color:var(--accent);background:var(--accent-soft);border-radius:3px}
.results-header .rtt-display[data-server] .rtt-caption{display:inline;font:600 11px var(--sans);letter-spacing:0;text-transform:none;color:inherit}
.results-header .rtt-display[data-server] .rtt-track{display:none}
.part-timing{width:100%;border-collapse:collapse;margin:6px 0;font-variant-numeric:tabular-nums}
.part-timing th,.part-timing td{text-align:right;padding:2px 0 2px 6px}
.part-timing th:first-child,.part-timing td:first-child{text-align:left;padding-left:0}
.part-timing td:nth-child(2){font-weight:600;color:var(--ink)}

.response-delivery{margin-block:8px}
.response-delivery[hidden]{display:none}

.payload-size{font:11px/1.4 var(--mono);color:var(--muted);white-space:nowrap}
#request-inspector .json-controls{flex-wrap:wrap}

/* ==== dark theme: generated by apps/dev-console/dark-theme.mjs from the rules above: do not edit by hand ==== */
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="dark"]{--uf-ink:var(--ink,#dcdedd);--uf-muted:var(--muted,#939593);--uf-line:var(--line,#333432);--uf-surface:var(--surface,#1a1a1a);--uf-accent:var(--accent,#4c6bd5);--uf-accent-soft:var(--accent-soft,#202123);--uf-panel:#1f1f1c}
:root[data-theme="dark"] .uf-check{color:var(--uf-muted,#939593)}
:root[data-theme="dark"] .uf-btn:hover{border-color:#474944;background:#252524}
:root[data-theme="dark"] .uf-toast button:focus-visible{outline:2px solid #1a1a1a}
:root[data-theme="dark"] .uf-stale-note{background:#222224;color:#3051ca}
/* ==== end of the generated dark theme ==== */
