/* In-page Compass (ported from the Corlera site, FI-12 D). Glass pill, bottom-center, safe-area aware. AIO Camp colors: navy glass, ember accent. */
.compass{--cp-bg:rgba(23,35,64,.96);--cp-fg:#fff;--cp-line:rgba(255,255,255,.18);--cp-accent:#feb433;--cp-sheet-bg:rgba(18,27,51,.96);position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:55;display:flex;align-items:center;gap:4px;padding:5px;border-radius:999px;background:var(--cp-bg);border:1px solid var(--cp-line);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 18px 40px -18px rgba(0,0,0,.55);color:var(--cp-fg);transform:translate(-50%,140%);opacity:0;pointer-events:none;transition:opacity .35s ease;max-width:calc(100vw - 20px)}
.compass.on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.compass button{font:600 13px/1 Inter,system-ui,sans-serif;color:#fff;color:inherit;background:none;border:0;cursor:pointer;min-height:44px;border-radius:999px}
.cp-chip{padding:0 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:38vw}
.cp-chip:hover,.cp-menu:hover,.cp-chip:focus-visible,.cp-menu:focus-visible{background:rgba(255,255,255,.1);outline:none}
.cp-menu{width:44px;display:flex;align-items:center;justify-content:center;gap:3px}
.cp-menu i{width:4px;height:4px;border-radius:50%;background:currentColor;display:block}
.cp-sheet{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);min-width:240px;max-height:60vh;overflow:auto;padding:8px;border-radius:18px;background:var(--cp-sheet-bg);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);box-shadow:0 28px 70px -20px rgba(0,0,0,.75),0 0 0 1px rgba(0,0,0,.35)}
/* Dims the page behind the open sheet (a body-level sibling: .compass is transformed, so a fixed child would not cover the viewport). */
.cp-dim{position:fixed;inset:0;z-index:54;background:rgba(0,0,0,.38);opacity:0;pointer-events:none;transition:opacity .25s ease}
.cp-dim.on{opacity:1;pointer-events:auto}
.cp-sheet ul{list-style:none;margin:0;padding:0}
.cp-sheet button{display:block;width:100%;text-align:left;padding:0 14px;font-weight:500;font-size:15px}
.cp-sheet button:hover,.cp-sheet button:focus-visible{background:rgba(255,255,255,.1);outline:none}
.cp-sheet button[aria-current]{color:var(--cp-accent);font-weight:600}
.cp-sheet button[aria-current]::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--cp-accent);margin-right:10px;vertical-align:middle}
@media(max-width:420px){.cp-chip{max-width:34vw;padding:0 10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.compass,.cp-dim{transition:none}}
/* AIO Camp v7 (note 2): the pill stays locked to the bottom at every width; the footer keeps room under its last line for it */
html.cp-room body .v4-foot{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
@media(max-width:720px){.compass{bottom:calc(10px + env(safe-area-inset-bottom))}.cp-chip{max-width:36vw}}
/* never rest on a heading, button or field: compass.js moves the pill to the bottom-right corner (menu only on phones) */
.compass.on.cp-side{left:auto;right:calc(12px + env(safe-area-inset-right));transform:none}
.compass.on.cp-left{left:calc(12px + env(safe-area-inset-left));transform:none}
.compass.cp-side .cp-sheet{left:auto;right:0;transform:none}
.compass.cp-left .cp-sheet{left:0;transform:none}
@media(max-width:720px){.compass.cp-side .cp-chip,.compass.cp-left .cp-chip{display:none}}
