/* Common GLPC shell — handbook palette, typography and controls */
.glpc-workspace {background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line);font-family:Arial,Helvetica,sans-serif;line-height:1.4}
.glpc-workspace-inner,.section-header .section-header-inner{box-sizing:border-box;max-width:1320px;width:calc(100% - clamp(40px,9vw,152px));margin-inline:auto;padding-inline:0}
.glpc-workspace-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-block:10px}
.glpc-home{display:flex;align-items:center;flex-shrink:0;gap:11px;color:var(--ink);text-decoration:none;font-weight:650;font-size:15px;letter-spacing:-.015em}
.glpc-home:hover{text-decoration:none}.glpc-home img{height:54px;width:54px;object-fit:cover;border-radius:50%}.glpc-home span{border-left:1px solid var(--line);padding:5px 0 5px 12px}
.glpc-workspace-links{display:flex;align-items:center;justify-content:center;gap:8px;margin-left:auto}
.glpc-workspace-links a,.glpc-workspace .theme-toggle{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--muted);font-family:inherit;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .18s,border-color .18s,color .18s}
.glpc-workspace-links a:hover,.glpc-workspace .theme-toggle:hover{background:var(--hover);border-color:var(--line-strong);color:var(--ink);text-decoration:none}
.glpc-workspace-links a[aria-current="page"]{color:var(--accent);border-color:var(--line-strong);background:var(--panel-tint)}
.glpc-workspace .theme-toggle{color:var(--ink);background:var(--panel-tint);flex-shrink:0;cursor:pointer}
.glpc-workspace-links svg,.glpc-workspace .theme-toggle svg{width:17px;height:17px;flex:none}.glpc-workspace .theme-toggle svg{color:var(--accent)}
.glpc-workspace .moon,[data-theme="light"] .glpc-workspace .sun{display:none}[data-theme="light"] .glpc-workspace .moon{display:block}
.glpc-workspace a:focus-visible,.glpc-workspace button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.section-header{background:var(--surface);border-bottom:1px solid var(--line)}
.section-header .section-header-inner{min-height:55px;gap:14px;display:flex;align-items:center;padding-block:6px}
.handbook-header nav{margin-left:0;margin-right:auto;gap:clamp(12px,1.35vw,25px)}.handbook-header .header-links{display:flex;gap:8px;flex-shrink:0}
@media(max-width:1100px){.handbook-header .section-header-inner{flex-wrap:wrap}.handbook-header nav{flex:1 1 100%;overflow-x:auto;justify-content:flex-start;gap:18px;scrollbar-width:thin;min-width:0}.handbook-header .header-links{margin-left:auto}}
@media(max-width:700px){.glpc-workspace-inner,.section-header .section-header-inner{width:calc(100% - 32px)}.glpc-workspace-inner{min-height:0;gap:10px;flex-wrap:wrap;padding-block:10px}.glpc-home img{width:43px;height:43px}.glpc-home span{font-size:13px}.glpc-workspace-links{order:3;flex:1 1 100%;margin:0;gap:7px}.glpc-workspace-links a{flex:1;min-width:0;font-size:13px;padding:9px 7px}.glpc-workspace .theme-toggle{margin-left:auto;font-size:12px;padding-inline:8px}.section-header .section-header-inner{min-height:0}.handbook-header .header-links{margin-left:0}.handbook-header nav{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){.glpc-workspace a,.glpc-workspace button{transition:none}}
@media print{.glpc-workspace,.section-header{display:none!important}}

/* V26: Shared hero scale and unmistakable selected navigation. */
:root {
  --workspace-hero-height:365px;
  --workspace-hero-font:clamp(45px,5.25vw,76px);
  --workspace-active-bg:linear-gradient(135deg,#245e8b,#173e65);
  --workspace-active-border:#79c9ef;
  --workspace-active-ink:#f0faff;
  --workspace-active-edge:#8de5ff;
}
@media screen {
  .hero-inner {min-height:var(--workspace-hero-height);}
  .handbook-header nav {gap:clamp(5px,.9vw,15px);}
  .handbook-header nav a {
    display:inline-flex; align-items:center; min-height:36px;
    padding:7px 9px; border:1px solid transparent; border-radius:7px;
    box-shadow:none; transition:background .18s,border-color .18s,color .18s,box-shadow .18s;
  }
  .handbook-header nav a:hover {background:var(--hover);color:var(--ink);text-decoration:none;}
  .glpc-workspace-links a[aria-current="page"],
  .glpc-workspace-links a[aria-current="page"]:hover,
  .handbook-header nav a.active,
  .handbook-header nav a[aria-current="page"],
  .handbook-header nav a.active:hover,
  .price-header .main-nav .nav-button.active,
  .price-header .main-nav .nav-button.active:hover {
    background:var(--workspace-active-bg);
    border-color:var(--workspace-active-border);
    color:var(--workspace-active-ink);
    font-weight:700;
    box-shadow:inset 0 -3px var(--workspace-active-edge),0 0 12px #58b8e32b;
  }
  .glpc-workspace-links a[aria-current="page"] svg,
  .price-header .main-nav .nav-button.active [data-icon] {color:var(--workspace-active-edge);}
  .glpc-workspace-links a:focus-visible,
  .handbook-header nav a:focus-visible,
  .price-header .main-nav .nav-button:focus-visible {outline:2px solid var(--focus);outline-offset:3px;}
}
@media screen and (min-width:1101px) {
  .handbook-header nav {flex:1 1 0;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:clamp(4px,.6vw,10px);}
  .handbook-header nav a {flex-shrink:0;padding-inline:6px;}
}
@media screen and (max-width:900px) {
  :root {--workspace-hero-height:310px;--workspace-hero-font:clamp(40px,5.25vw,59px);}
}
@media screen and (max-width:650px) {
  :root {--workspace-hero-height:275px;--workspace-hero-font:clamp(30px,7.4vw,47px);}
  .handbook-header nav a {padding:7px 9px;}
}
@media (prefers-reduced-motion:reduce) {
  .handbook-header nav a,.price-header .main-nav .nav-button {transition:none;}
}
