/* Public presentation boundary only. Palette mirrored from app/geopockets-design-tokens.css. */
@media screen {
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) {
  --gp-workbench-canvas: #171819;
  --gp-workbench-panel: #1c1f20;
  --gp-workbench-raised: #2b2c2d;
  --gp-workbench-hover: #192a30;
  --gp-workbench-active: #173a45;
  --gp-workbench-border: #3b3f43;
  --gp-workbench-border-strong: #62686e;
  --gp-workbench-subtle: #616665;
  --gp-workbench-text: #d1d5db;
  --gp-workbench-text-strong: #ffffff;
  --gp-workbench-text-muted: #b6bec8;
  --gp-workbench-blue: #3794ff;
  --gp-workbench-green: #89d185;
  --gp-workbench-amber: #f0a74b;
  --gp-workbench-light-canvas: #f4f8ff;
  --gp-workbench-light-panel: #ffffff;
  --gp-workbench-light-raised: #e8f0fc;
  --gp-workbench-light-hover: #eaf2ff;
  --gp-workbench-light-active: #dbeafe;
  --gp-workbench-light-border: #c9d8ee;
  --gp-workbench-light-border-strong: #94a9c6;
  --gp-workbench-light-subtle: #64748b;
  --gp-workbench-light-text: #1e293b;
  --gp-workbench-light-text-strong: #020617;
  --gp-workbench-light-text-muted: #3f4f63;
  --gp-workbench-light-blue: #2563eb;
  --gp-workbench-light-green: #047857;
  --gp-workbench-light-amber: #b45309;
 --preview-canvas:var(--gp-workbench-canvas); --preview-panel:var(--gp-workbench-panel);
 --preview-raised:var(--gp-workbench-raised); --preview-rule:var(--gp-workbench-border);
 --preview-ink:var(--gp-workbench-text-strong); --preview-muted:var(--gp-workbench-text-muted);
 --preview-blue:var(--gp-workbench-blue); --preview-orange:var(--gp-workbench-amber);
 --preview-control:#245d8f; --preview-selected:var(--gp-workbench-active);
 color-scheme:dark;
}
.gp-preview-workbench-dark[data-gp-preview-theme="light"] :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) {
 --preview-canvas:var(--gp-workbench-light-canvas); --preview-panel:var(--gp-workbench-light-panel);
 --preview-raised:var(--gp-workbench-light-raised); --preview-rule:var(--gp-workbench-light-border-strong);
 --preview-ink:var(--gp-workbench-light-text-strong); --preview-muted:var(--gp-workbench-light-text-muted);
 --preview-blue:var(--gp-workbench-light-blue); --preview-orange:var(--gp-workbench-light-amber); --preview-control:#245d8f;
 --preview-selected:var(--gp-workbench-light-active); color-scheme:light;
}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) {
 --ground:var(--preview-canvas); --ground-2:var(--preview-panel); --panel:var(--preview-panel);
 --panel-solid:var(--preview-panel); --panel-2:var(--preview-raised);
 --line:var(--preview-rule); --line-2:var(--preview-rule);
 --ink:var(--preview-ink); --muted:var(--preview-muted); --faint:var(--preview-muted);
 --accent:var(--preview-orange); --data:var(--preview-blue);
 --pp-shell:var(--preview-canvas); --pp-sheet:var(--preview-panel); --pp-ink:var(--preview-ink);
 --pp-muted:var(--preview-muted); --pp-rule:var(--preview-rule); --pp-blue:var(--preview-blue);
 --pp-orange:var(--preview-orange); --pp-selected:var(--preview-selected); --pp-control:var(--preview-control);
 --paper:var(--preview-canvas); --sheet:var(--preview-panel); --rule:var(--preview-rule);
 --blue:var(--preview-blue); --orange:var(--preview-orange); --control:var(--preview-control);
 --study-canvas:var(--preview-canvas); --study-panel:var(--preview-panel); --study-raised:var(--preview-raised);
 --study-border:var(--preview-rule); --study-text:var(--preview-ink); --study-strong:var(--preview-ink);
 --study-muted:var(--preview-muted); --study-blue:var(--preview-blue); --study-orange:var(--preview-orange);
 --pp-display:system-ui,sans-serif; --pp-body:system-ui,sans-serif;
 --f-display:system-ui,sans-serif; --f-body:system-ui,sans-serif;
 background:var(--preview-canvas); color:var(--preview-ink);
}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.nav,.mnav,.studio-bar,.study-header,.study-topbar,.pocket-carousel-header,header,.sub,dialog,.layers,.settings,.next,.comparison-response,#selected-detail,.study-detail,.library-panel,.content-panel,.detail,.source,.timeline>div) {
 background:var(--preview-panel); color:var(--preview-ink); border-color:var(--preview-rule);
}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(#visual-study,#wildfire-study,.study-main,.study-workbench,.map-caption,.study-footer,.workspace,.map-panel,.library-panel,.card,.sheet) {
 background-color:var(--preview-panel); color:var(--preview-ink); border-color:var(--preview-rule);
}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(h1,h2,h3,.brand,.wordmark,.study-card,.study-card h2,.study-detail p,.study-detail h2,.pocket-carousel-title) {color:var(--preview-ink);font-family:system-ui,sans-serif}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.ni>a,.mi>a,.fine,.eyebrow,.qualification,.note,.map-caption,.study-footer,.card .study-card p) {color:var(--preview-muted)}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.brand span,.wordmark span,.open-study,.decision-anchor,.study-footer a,.library-panel a) {color:var(--preview-blue)}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.question,.pocket-carousel-question,.study-title .question,.intro>.lead) {color:var(--preview-orange);font-weight:750;line-height:1.4}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(button,summary,input,select,textarea,.chip,.area-buttons button,.comparison-options button,.comparison-camera button,.view-controls button,.area-list button) {
 background-color:var(--preview-raised);color:var(--preview-ink);border-color:var(--preview-rule);
}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(button[aria-pressed="true"],button[aria-selected="true"]) {background:var(--preview-selected);border-color:var(--preview-blue);color:var(--preview-ink)}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.button,.btn.primary) {background:var(--preview-control);color:#fff}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.studio-bar a,.studio-bar button,.study-card .open-study) {color:var(--preview-ink)}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.map-toolbar>span) {background:var(--preview-panel);color:var(--preview-muted)}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(a,button,summary,input,select,textarea,[tabindex]):focus-visible {outline:3px solid var(--preview-orange);outline-offset:3px}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) .gp-preview-theme-toggle {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:44px;min-height:44px;padding:6px 10px;font:600 14px/1.2 system-ui,sans-serif;border:1px solid var(--preview-rule);border-radius:6px;cursor:pointer}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(header,.studio-bar,.nav-row) {flex-wrap:wrap;height:auto;min-height:64px;gap:8px}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(main,section,article,aside,.study-main,.study-title,.study-workbench) {min-width:0}
.gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(h1,h2,h3,p,a) {overflow-wrap:break-word}
@media(max-width:520px) {
 .gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) .nav-row {padding-block:8px}
 .gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) .gp-preview-theme-toggle {font-size:12px}
 .gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) .studio-bar {height:auto;flex-wrap:wrap}
 .gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) :is(.question,.pocket-carousel-question) {font-size:16px}
}
@media(prefers-reduced-motion:reduce) {
 .gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]), .gp-preview-workbench-dark :is([data-gp-public-presentation], [data-pocket-study-layout="visual-study"]) * {scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
}

/* Persistent public mobile navigation on Home and the Study Library. */
.gp-preview-dock{display:none}
@media screen and (max-width:850px){
 body.gp-preview-library-page{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
 .gp-preview-dock{position:fixed;inset:auto 0 0;z-index:50;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;min-height:72px;padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:var(--preview-panel,#1c1f20);border-top:1px solid var(--preview-rule,#3b3f43);box-shadow:0 -6px 24px #0006;font-family:system-ui,sans-serif}
 .gp-preview-dock>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:60px;padding:3px 0;border-radius:9px;color:var(--preview-muted,#b6bec8);text-decoration:none;font-size:11px;font-weight:700;line-height:1.2;text-align:center}
 .gp-preview-dock>a[aria-current="page"]{color:var(--preview-blue,#3794ff);background:var(--preview-selected,#173a45)}
 .gp-preview-dock>a:focus-visible{outline:3px solid var(--preview-orange,#f0a74b);outline-offset:-3px}
 .gp-preview-dock .gp-preview-library-symbol{display:grid;place-items:center;width:48px;height:32px;border-radius:50%;background:#62686e;color:#fff;box-sizing:border-box}
 .gp-preview-dock .gp-preview-library-symbol svg{width:26px;height:26px}
 .gp-preview-dock .gp-preview-library[aria-current="page"] .gp-preview-library-symbol{background:var(--preview-blue,#3794ff);color:var(--preview-panel,#1c1f20);box-shadow:0 0 0 2px currentColor}
}
@media print{.gp-preview-dock{display:none!important}}
