/* Celestial Aim Sanctuary — final shared visual authority.
   Legacy component layouts remain in place for the existing application. */
:root[data-theme] {
  --bg:#100d19; --panel:#1c1728; --panel-2:#241d32; --panel-3:#30263e;
  --text:#fff2e3; --muted:#c4b7d0; --muted-2:#ad9ebe; --line:#3d314c;
  --purple:#c7aff4; --purple-2:#b68cff; --peach:#f4d18a; --gold:#f4d18a;
  --pink:#f5bcd9; --rose:#f5bcd9; --mint:#bde8dc; --cyan:#a7cce9;
  --yellow:#f4d18a; --red:#f5a9b9; --coral:#efa693;
  --font:'DM Sans',system-ui,sans-serif; --font-display:'DM Serif Display',Georgia,serif;
  --journey-serif:var(--font-display); --journey-ink:var(--text); --journey-muted:var(--muted);
  --surface-page:var(--bg); --surface-raised:var(--panel); --surface-selected:var(--panel-2);
  --surface-control:var(--panel-3); --border-subtle:var(--line); --text-primary:var(--text);
  --text-secondary:var(--muted); --text-tertiary:var(--muted-2); --accent-primary:var(--rose);
  --button-primary-bg:var(--rose); --button-primary-fg:#2e182b; --focus-ring:var(--gold);
  --radius:14px; --control-radius:9px; --shadow:0 20px 54px #05030b40;
  --ease:cubic-bezier(.16,1,.3,1); color-scheme:dark;
}
:root[data-theme=light] {
  --bg:#f6f0ea; --panel:#fffbf7; --panel-2:#f0e7ee; --panel-3:#e8dce8;
  --text:#302139; --muted:#65536e; --muted-2:#74617c; --line:#d9cbdc;
  --purple:#6e479c; --purple-2:#7750ab; --peach:#835d21; --gold:#835d21;
  --pink:#8a3c68; --rose:#8a3c68; --mint:#276951; --cyan:#38617d;
  --yellow:#835d21; --red:#a33c55; --button-primary-bg:#8a3c68; --button-primary-fg:#fff8f3;
  --shadow:0 20px 54px #49304e12; color-scheme:light;
}
html {scroll-behavior:smooth;scrollbar-color:var(--line) var(--bg);scrollbar-width:thin;}
html[data-theme] body {background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.6;}
html[data-theme] body::before {content:none;}
::selection {background:#74547e;color:#fff2e3;}
input,textarea {caret-color:var(--rose);}
html[data-theme] ::placeholder {color:var(--muted-2);opacity:1;}
html[data-theme] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline:2px solid var(--gold)!important;outline-offset:5px!important;box-shadow:none;}
[hidden] {display:none!important;}
.skip-link {position:fixed;top:-100px;left:20px;z-index:1000;padding:12px 20px;background:var(--text);color:var(--bg);border-radius:6px;}
.skip-link:focus {top:12px;}
html[data-theme] .app-shell {display:block;}
html[data-theme] .sidebar {width:218px;padding:32px 20px 20px;background:var(--bg);border-right:1px solid var(--line);box-shadow:none;}
html[data-theme] .brand {padding:0 8px 26px;gap:12px;}
html[data-theme] .brand strong {font-family:var(--font-display);font-weight:400;letter-spacing:.08em;font-size:28px;color:var(--text);}
.san-brand-mark {width:38px;height:42px;display:grid;place-items:center;color:var(--gold);}
.san-brand-mark svg {width:34px;height:34px;}
html[data-theme] .brand-slogan {font-size:9px;letter-spacing:.14em;color:var(--muted-2);}
html[data-theme] .profile-connect {padding:13px 10px;gap:9px;border:1px solid var(--line);border-radius:10px;background:var(--panel);margin-bottom:27px;}
html[data-theme] .account-label strong {font-size:11px;color:var(--text);}
html[data-theme] .account-label small {font-size:10px;color:var(--muted);line-height:1.5;}
html[data-theme] .steam-mark {width:27px;height:27px;background:var(--panel-3);color:var(--purple);}
html[data-theme] .nav-label {font-size:9px;color:var(--muted-2);letter-spacing:.17em;padding:14px 12px 7px;margin:0;}
html[data-theme] .main-nav {gap:5px;}
html[data-theme] .nav-link {padding:11px 12px;min-height:48px;gap:12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:12px;font-weight:500;box-shadow:none;transition:background .2s,color .2s;}
html[data-theme] .nav-link:hover {background:var(--panel);color:var(--text);transform:none;}
html[data-theme] .nav-link.active {background:var(--panel-2);color:var(--gold);box-shadow:none;}
html[data-theme] .nav-link.active::before,html[data-theme] .nav-link.active::after {content:none;}
html[data-theme] .nav-icon {color:inherit;background:none;border:0;width:21px;height:24px;}
html[data-theme] .nav-icon svg {width:19px;height:19px;stroke-width:1.35;}
.san-nav-copy {display:grid;line-height:1.35;gap:3px;}
.san-nav-copy small {font-size:9px;font-weight:400;color:var(--muted-2);}
html[data-theme] .sidebar-bottom {gap:10px;margin-top:auto;}
html[data-theme] .paw-card {padding:15px 8px;background:none;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;}
html[data-theme] .paw-card p {font-size:10px;line-height:1.7;}
html[data-theme] .paw-card strong {font-weight:500;color:var(--gold);}
html[data-theme] .theme-toggle {background:none;border:0;padding:9px 10px;color:var(--muted);font-size:11px;}
#san-motion-toggle {background:none;border:0;padding:9px 10px;color:var(--muted);font:inherit;font-size:10px;text-align:left;cursor:pointer;}
html[data-theme] .main-area {margin-left:218px;min-width:0;background:none;}
html[data-theme] .topbar {position:relative;height:76px;padding:0 42px;background:none;border-bottom:1px solid var(--line);backdrop-filter:none;box-shadow:none;}
html[data-theme] .crumb {font-size:11px;color:var(--muted);}
html[data-theme] .crumb strong {font-weight:500;color:var(--gold);}
html[data-theme] .finder-open-button {border:0;background:transparent;box-shadow:none;color:var(--muted-2);font-size:11px;}
html[data-theme] .finder-open-button kbd {border-color:var(--line);background:var(--panel);color:var(--muted);}
html[data-theme] .sync-status {font-size:10px;color:var(--muted);}
html[data-theme] .sync-status i {background:var(--muted-2);box-shadow:none;}
html[data-theme] .page-content {max-width:1480px;width:100%;padding:40px 42px 56px;margin:0 auto;}
html[data-theme] .footer {border-top:1px solid var(--line);color:var(--muted-2);margin:0 42px;padding:22px 0;font-size:10px;letter-spacing:.04em;}
html[data-theme] .button {min-height:42px;border-radius:8px;padding:11px 18px;font-family:var(--font);font-size:12px;font-weight:600;line-height:1.4;gap:12px;box-shadow:none;transition:transform .18s var(--ease),background .18s,color .18s;}
html[data-theme] .button.primary {background:var(--button-primary-bg);color:var(--button-primary-fg);border:1px solid transparent;}
html[data-theme] .button.secondary {background:transparent;color:var(--text);border:1px solid var(--line);}
html[data-theme] .button:hover {transform:translateY(-2px);box-shadow:none;}
html[data-theme] .button:active {transform:translateY(0) scale(.98);}
html[data-theme] .text-button {color:var(--purple);background:none;border:0;font-size:12px;}
.button svg {width:17px;height:17px;flex-shrink:0;}
html[data-theme] :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--text);font:inherit;font-size:13px;min-height:42px;padding:10px 12px;box-shadow:none;}
html[data-theme] .pill {color:var(--muted);background:var(--panel-2);border-color:var(--line);border-radius:5px;font-size:10px;}
html[data-theme] :is(.content-header,.san-page-heading) {position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:8px 0 30px;margin:0 0 30px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none;overflow:visible;}
html[data-theme] .content-header::before,html[data-theme] .content-header::after {content:none;}
html[data-theme] :is(.page-title,.san-page-heading h1) {margin:0 0 12px;font-family:var(--font-display);font-size:clamp(34px,3.8vw,54px);font-weight:400;line-height:1.1;letter-spacing:-.025em;color:var(--text);max-width:23ch;text-wrap:balance;}
html[data-theme] :is(.content-header .subtitle,.san-page-heading p) {max-width:68ch;color:var(--muted);font-size:13px;line-height:1.8;margin:0;}
html[data-theme] .content-header .eyebrow {display:none;}
html[data-theme] :is(.section-card,.benchmark-library-panel,.daily-community-plan,.practice-cue-card,.playlist-intro,.playlist-research,.practice-intro-card,.practice-split-panel,.login-side) {border:1px solid var(--line);background:var(--panel);box-shadow:none;border-radius:14px;color:var(--text);}
html[data-theme] :is(.section-card h3,.section-head h3,.community-library-head h2,.daily-community-head h2) {font-size:23px;font-family:var(--font-display);font-weight:400;color:var(--text);}
html[data-theme] :is(.section-card p,.section-head p,.community-library-head p,.daily-community-head p,.playlist-intro p) {color:var(--muted);font-size:12px;line-height:1.8;}
/* Home: an open, layered instrument rather than a dashboard hero card. */
.san-welcome {display:grid;grid-template-columns:.85fr 1.25fr;align-items:center;min-height:530px;position:relative;margin:-25px -18px 0 0;}
.san-welcome-copy {position:relative;z-index:2;padding:35px 0;}
.san-welcome h1 {font-family:var(--font-display);font-size:clamp(44px,4.6vw,70px);line-height:1.06;letter-spacing:-.03em;font-weight:400;margin:0 0 25px;}
.san-welcome h1 em {color:var(--rose);font-style:italic;}
.san-welcome-copy>p {color:var(--muted);font-size:13px;line-height:1.95;max-width:39ch;}
.san-actions {display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:30px;}
.san-actions>.text-button {padding-left:0;}
.san-welcome-note {display:flex;align-items:center;gap:9px;margin-top:24px;color:var(--muted-2);font-size:10px;}
.san-welcome-note svg {width:15px;height:15px;color:var(--gold);}
.san-home-sky {min-width:0;}
.san-map {position:relative;isolation:isolate;min-width:0;min-height:590px;background:radial-gradient(ellipse at 48% 48%,#b68cff0e,transparent 56%),radial-gradient(ellipse at 60% 72%,#f5bcd90a,transparent 48%);}
.san-map::before,.san-map::after {content:'';position:absolute;inset:7%;pointer-events:none;background-image:radial-gradient(circle at 8% 12%,#f4d18a 1px,transparent 1.5px),radial-gradient(circle at 22% 65%,#d9c5f5 1px,transparent 1.6px),radial-gradient(circle at 71% 32%,#f5bcd9 1px,transparent 1.7px),radial-gradient(circle at 88% 72%,#d9c5f5 1px,transparent 1.6px),radial-gradient(circle at 45% 87%,#f4d18a 1px,transparent 1.5px);opacity:.55;animation:san-drift 18s ease-in-out infinite alternate;}
.san-map::after {transform:rotate(130deg);opacity:.28;inset:15%;animation-delay:-9s;}
.san-map-plane {position:absolute;inset:0;}
.san-wires {position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;}
.san-wires g[data-san-wire] {stroke:var(--domain);opacity:.3;transition:opacity .25s;}
.san-wires path {stroke-width:1;vector-effect:non-scaling-stroke;}
.san-wires circle {fill:var(--domain);stroke:none;}
.san-instrument {width:49%;max-width:330px;aspect-ratio:1;position:absolute;left:50%;top:50%;transform:translate(calc(-50% + var(--parallax-x,0px)),calc(-50% + var(--parallax-y,0px)));color:var(--gold);transition:transform .5s var(--ease);pointer-events:none;}
.san-instrument>svg {width:100%;height:100%;stroke:currentColor;stroke-width:.7;fill:none;overflow:visible;}
.san-orbit {transform-origin:200px 200px;animation:san-orbit 100s linear infinite;}
.san-core-cat {position:absolute;inset:43%;display:grid;place-items:center;color:var(--gold);}
.san-core-cat svg {width:100%;height:100%;}
.san-moon-cat {display:none;}
.san-map-home .san-core-cat {display:none;}
.san-map-home .san-moon-cat {display:block;position:absolute;left:18%;top:17%;width:64%;height:64%;object-fit:contain;filter:drop-shadow(0 15px 20px #0a051a60);}
.san-node {position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:10px;min-width:110px;padding:10px 8px;color:var(--text);background:none;border:0;font-family:var(--font);text-align:center;cursor:pointer;text-decoration:none;z-index:2;}
.san-node-orb {display:grid;place-items:center;width:46px;height:46px;position:relative;border:1px solid color-mix(in srgb,var(--domain) 65%,transparent);border-radius:50%;background:var(--bg);color:var(--domain);transition:transform .3s var(--ease),box-shadow .3s,background .3s;}
.san-node-orb::after {content:'';position:absolute;inset:-5px;border:1px solid color-mix(in srgb,var(--domain) 18%,transparent);border-radius:50%;}
.san-node-orb svg {width:21px;height:21px;}
.san-node strong {font-size:11px;font-weight:500;white-space:nowrap;}
.san-node small {font-size:10px;color:var(--muted-2);margin-top:-8px;}
.san-node:hover .san-node-orb,.san-node:focus-visible .san-node-orb,.san-node[aria-pressed=true] .san-node-orb {transform:scale(1.13);background:color-mix(in srgb,var(--domain) 12%,var(--bg));box-shadow:0 0 25px color-mix(in srgb,var(--domain) 22%,transparent);}
.san-node[aria-pressed=true] strong {color:var(--gold);}
.san-map-caption {position:absolute;bottom:12px;left:0;right:0;text-align:center;color:var(--muted-2);font-size:10px;letter-spacing:.04em;}
.san-map-home {min-height:510px;}
.san-map-home .san-node {min-width:90px;gap:10px;}
.san-map-home .san-node-orb {width:35px;height:35px;}
.san-map-home .san-node-orb svg {width:16px;height:16px;}
.san-map-home .san-node strong {font-size:10px;}
.san-map-home .san-map-caption {bottom:25px;}
.san-session-strip {position:relative;display:flex;align-items:center;gap:21px;padding:26px 30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(100deg,#f4d18a08,transparent);margin:20px 0 42px;}
.san-session-symbol {width:48px;height:48px;display:grid;place-items:center;color:var(--gold);flex-shrink:0;}
.san-session-symbol svg {width:36px;height:36px;}
.san-session-strip h2 {font:400 26px/1.2 var(--font-display);margin:0 0 8px;}
.san-session-strip p {font-size:12px;color:var(--muted);margin:0;}
.san-session-strip>.button {margin-left:auto;flex-shrink:0;}
.san-session-progress {position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--line);}
.san-session-progress i {display:block;height:100%;background:var(--mint);}
.san-destinations {display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 48px;}
.san-destination {padding:10px 30px;text-decoration:none;color:var(--text);display:grid;gap:18px;position:relative;transition:background .2s;}
.san-destination:first-child {padding-left:0;}
.san-destination+.san-destination {border-left:1px solid var(--line);}
.san-destination>svg {width:27px;height:27px;color:var(--purple);}
.san-destination:nth-child(2)>svg {color:var(--gold);}
.san-destination:nth-child(3)>svg {color:var(--rose);}
.san-destination h2 {font:400 26px/1.2 var(--font-display);margin:0 0 12px;}
.san-destination p {font-size:12px;line-height:1.8;color:var(--muted);margin:0;}
.san-destination>span {display:flex;align-items:center;gap:10px;color:var(--purple);font-size:11px;}
.san-destination>span svg {width:16px;height:16px;transition:transform .2s;}
.san-destination:hover>span svg {transform:translateX(5px);}
.san-account-note {display:flex;align-items:center;gap:20px;padding:25px 0;border-top:1px solid var(--line);}
.san-account-note>svg {width:40px;height:40px;color:var(--rose);flex-shrink:0;}
.san-account-note strong {font-weight:500;font-size:14px;}
.san-account-note p {font-size:12px;max-width:65ch;margin:5px 0;color:var(--muted);}
.san-account-note .button {margin-left:auto;flex-shrink:0;}
/* Constellation inspector and intentional mobile navigation. */
.san-explorer {display:grid;grid-template-columns:minmax(0,1fr);align-items:center;}
.san-domain-detail {padding:27px 0 27px 28px;border-left:1px solid var(--line);}
.san-detail-title {display:flex;align-items:center;gap:12px;}
.san-detail-title h2 {font:400 30px/1.1 var(--font-display);margin:0;}
.san-detail-sigil {color:var(--domain);width:30px;height:30px;flex-shrink:0;}
.san-detail-sigil svg {width:100%;height:100%;}
.san-domain-detail>p {font-size:13px;color:var(--muted);line-height:1.9;margin:20px 0;}
.san-evidence-note {font-size:11px;color:var(--muted-2);line-height:1.75;padding-bottom:24px;}
.san-domain-detail h3 {font-size:11px;font-weight:500;color:var(--gold);margin:0 0 10px;}
.san-lesson-links>a {display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;padding:15px 0;border-top:1px solid var(--line);color:var(--text);}
.san-lesson-links strong {font-size:12px;font-weight:500;display:block;}
.san-lesson-links small {font-size:10px;color:var(--muted-2);}
.san-lesson-links svg {width:16px;height:16px;color:var(--purple);flex-shrink:0;}
.san-detail-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:23px;}
.san-detail-actions .button {font-size:11px;}
.san-map-foot {display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:20px;margin-top:30px;}
.san-map-foot p {font-size:11px;color:var(--muted);max-width:70ch;}
/* Archive: a readable editorial index, not a uniform card wall. */
.san-archive-intro {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding:28px 0 35px;}
.san-archive-intro>div {display:flex;align-items:center;gap:25px;}
.san-archive-intro svg {width:60px;height:60px;color:var(--gold);flex-shrink:0;}
.san-archive-intro h2 {font:400 32px/1.2 var(--font-display);margin:0;}
.san-archive-intro>p {font-size:14px;line-height:1.9;color:var(--muted);max-width:50ch;}
.san-archive-tracks {display:flex;gap:10px;flex-wrap:wrap;padding:10px 0 30px;}
.san-archive-search {display:grid;gap:9px;font-size:11px;color:var(--muted);max-width:440px;margin:15px 0 30px;}
.san-archive-index {display:grid;grid-template-columns:1fr 1fr;column-gap:42px;}
.san-archive-entry {display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:25px 0;text-decoration:none;color:var(--text);}
.san-index-symbol {color:var(--gold);width:28px;height:28px;flex-shrink:0;}
.san-index-symbol svg {width:100%;height:100%;}
.san-archive-entry small {font-size:10px;color:var(--muted-2);}
.san-archive-entry h2 {font:400 24px/1.3 var(--font-display);margin:5px 0 8px;}
.san-archive-entry p {font-size:12px;line-height:1.75;margin:0;color:var(--muted);max-width:52ch;}
.san-archive-entry>svg {width:17px;height:17px;margin-left:auto;flex-shrink:0;color:var(--purple);}
.san-archive-entry:hover h2 {color:var(--rose);}
/* Observatory: numeric hierarchy, fine chart rules and compact data controls. */
html[data-theme] .benchmark-library-panel {padding:26px;background:transparent;border:0;}
html[data-theme] .community-library-head {padding:0 0 20px;}
html[data-theme] .benchmark-grid {gap:18px;grid-template-columns:repeat(2,minmax(0,1fr));}
html[data-theme] :is(.benchmark-card,.community-benchmark-card) {background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:none;padding:25px;}
html[data-theme] .community-card-art {opacity:.35;background:none;}
html[data-theme] .community-benchmark-card h3 {font:400 28px/1.15 var(--font-display);color:var(--text);}
html[data-theme] .community-card-categories {color:var(--muted);font-size:12px;}
html[data-theme] :is(.benchmark-explorer-tools,.community-explorer-tools,.playlist-library-tools) {border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:none;border-radius:0;padding:20px 0;margin-bottom:26px;}
html[data-theme] :is(.benchmark-explorer-tools,.playlist-library-tools) label>span {font-size:10px;color:var(--muted);}
html[data-theme] :is(.community-difficulty-preview button,.community-card-action) {background:var(--panel-2);color:var(--text);border-color:var(--line);}
html[data-theme] .community-card-action {background:none;color:var(--purple);border-radius:0;border-top:1px solid var(--line);font-size:12px;}
html[data-theme] .benchmark-sticky-wrap {background:var(--bg);box-shadow:none;}
html[data-theme] :is(.benchmark-group,.benchmark-summary,.community-progress-panel,.community-rank-summary) {background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:12px;}
html[data-theme] :is(.score-table,.benchmark-task-table,.community-rank-table) {font-variant-numeric:tabular-nums;font-size:12px;}
html[data-theme] :is(.score-table th,.score-table td) {padding:12px 14px;border-color:var(--line);}
html[data-theme] .benchmark-group h2 {font:400 26px/1.3 var(--font-display);}
html[data-theme] :is(.lookup-empty,.community-library-status,.blank-state,.empty-state,.banner-note,.api-note) {background:var(--panel-2);border-color:var(--line);color:var(--muted);border-radius:10px;font-size:12px;line-height:1.8;}
/* Training chamber: session selection is a sequence around a featured practice. */
html[data-theme] .daily-community-plan {padding:30px;background:transparent;border:0;}
html[data-theme] .daily-community-head {border:0;padding:0 0 20px;}
html[data-theme] .daily-community-head .eyebrow {display:none;}
html[data-theme] .daily-routine-progress {background:none;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;padding:20px 0;margin:10px 0 24px;}
html[data-theme] .daily-routine-progress strong {color:var(--mint);font-size:13px;}
html[data-theme] .daily-routine-progress span {font-size:11px;color:var(--muted);}
html[data-theme] .daily-routine-days {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
html[data-theme] .daily-routine-day {display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:154px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:none;transition:transform .25s var(--ease),background .2s;}
html[data-theme] .daily-routine-day:hover {transform:translateY(-4px);background:var(--panel-2);}
html[data-theme] .daily-routine-day[aria-pressed=true] {background:var(--panel-2);border-color:var(--gold);box-shadow:none;}
html[data-theme] .daily-routine-day-number {font:400 25px/1.2 var(--font-display);color:var(--gold);background:none;border:0;width:auto;height:auto;}
html[data-theme] .daily-routine-day strong {font-size:12px;color:var(--text);margin-top:12px;}
html[data-theme] .daily-routine-day small {font-size:11px;color:var(--muted);line-height:1.7;}
html[data-theme] .daily-routine-day.is-complete .daily-routine-day-number {color:var(--mint);}
html[data-theme] .daily-routine-selected {position:relative;margin-top:27px;padding:30px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(120deg,var(--panel-2),var(--panel));box-shadow:none;}
html[data-theme] .daily-routine-selected-copy>strong {font:400 36px/1.2 var(--font-display);color:var(--text);}
html[data-theme] .daily-routine-selected-copy small {font-size:12px;color:var(--muted);}
html[data-theme] .daily-routine-code {background:none;color:var(--muted-2);font-size:11px;border:0;padding:0;overflow-wrap:anywhere;}
html[data-theme] .daily-routine-footnote {font-size:12px;line-height:1.9;color:var(--muted);max-width:80ch;}
html[data-theme] :is(.daily-routine-level,.playlist-filter) {background:var(--panel);border-color:var(--line);color:var(--muted);}
html[data-theme] :is(.daily-routine-level button[aria-pressed=true],.playlist-filter.selected) {background:var(--rose);color:var(--button-primary-fg);}
html[data-theme] :is(.practice-fundamental-row,.practice-scenario-card,.fundamental-explanation,.lesson-block) {background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:12px;}
html[data-theme] :is(.practice-fundamental-row h3,.practice-scenario-card strong) {font-size:14px;}
html[data-theme] :is(.fundamental-explanation p,.fundamental-lesson-layout .lesson-block p,.fundamental-lesson-layout .lesson-block li) {font-size:14px;line-height:1.9;max-width:72ch;color:var(--muted);}
html[data-theme] .fundamental-explanation h2 {font:400 28px/1.3 var(--font-display);}
/* Codex: horizontally organized, tactile entries with useful metadata. */
html[data-theme] .playlist-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;}
html[data-theme] .playlist-library-card {display:flex;flex-direction:column;min-height:0;padding:28px 0;background:none;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;transition:background .2s,transform .2s;}
html[data-theme] .playlist-library-card:hover {transform:translateY(-2px);background:color-mix(in srgb,var(--panel) 50%,transparent);box-shadow:none;}
html[data-theme] .playlist-library-card h2 {font:400 29px/1.2 var(--font-display);color:var(--text);margin:17px 0 10px;}
html[data-theme] :is(.playlist-level,.playlist-card-description) {font-size:12px;color:var(--muted);line-height:1.8;}
html[data-theme] .playlist-card-description {display:block;-webkit-line-clamp:unset;}
html[data-theme] :is(.playlist-badge,.playlist-focus-tag) {background:var(--panel-2);color:var(--muted);border-color:var(--line);border-radius:4px;}
html[data-theme] .playlist-card-footer {background:none;border-color:var(--line);color:var(--muted-2);font-size:11px;}
html[data-theme] .playlist-card-footer b {color:var(--rose);}
html[data-theme] .playlist-library-progress {background:none;padding-inline:0;border:0;}
html[data-theme] .playlist-intro {padding:20px 25px;margin-bottom:25px;}
html[data-theme] .playlist-research {margin-top:36px;padding:28px;}
/* Account, reading, old movement maps and lookup share the sanctuary palette. */
html[data-theme] .login-wrap {grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:40px;align-items:center;}
html[data-theme] .login-card {padding:40px;background:var(--panel);}
html[data-theme] .login-card h2 {font:400 36px/1.2 var(--font-display);}
html[data-theme] .login-copy {font-size:14px;line-height:1.9;color:var(--muted);}
html[data-theme] .login-side {background:none;border:0;border-left:1px solid var(--line);border-radius:0;padding:35px;}
html[data-theme] .login-side h3 {font:400 30px/1.2 var(--font-display);}
html[data-theme] .login-side :is(p,li) {font-size:13px;line-height:1.9;color:var(--muted);}
html[data-theme] .login-mascot {width:90px;height:90px;object-fit:contain;}
html[data-theme] #page-content[data-san-route=profile] .dashboard-grid {grid-template-columns:1fr;max-width:960px;margin:auto;gap:0;}
html[data-theme] #page-content[data-san-route=profile] .section-card {border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:28px 0;}
html[data-theme] #page-content[data-san-route=profile] .section-head {margin-bottom:16px;}
html[data-theme] .ferxl-finder {background:var(--panel);border-color:var(--line);color:var(--text);border-radius:14px;box-shadow:var(--shadow);}
html[data-theme] .ferxl-finder::backdrop {background:#080510b3;backdrop-filter:blur(5px);}
html[data-theme] .astral-page {background:none;padding:0;}
html[data-theme] .astral-map {background:radial-gradient(ellipse at center,#b68cff12,transparent 65%),var(--bg);border:1px solid var(--line);box-shadow:none;border-radius:14px;}
html[data-theme] .astral-progress {background:var(--panel);border-color:var(--line);border-radius:10px;}
html[data-theme] .astral-path-node {background:var(--panel);border-color:var(--line);color:var(--text);box-shadow:none;}
html[data-theme] .astral-node-copy :is(strong,small,em) {color:var(--text);}
html[data-theme] .astral-node-copy em {color:var(--muted);}
html[data-theme] .astral-center :is(strong,small,em) {color:var(--text);}
html[data-theme] .astral-map-hint {color:var(--muted);}
html[data-theme] .learn-research-note {background:var(--panel);border-color:var(--line);color:var(--muted);}
html[data-theme] .eyebrow {color:var(--gold);}
html[data-theme] .san-detail-sigil {color:var(--gold);}
:root[data-theme=light] .san-node-orb {color:var(--purple);border-color:var(--purple);}
/* Selected and hovered connections stay visible without relying on animation. */
.san-map:is([data-hover=static],[data-selected=static]) [data-san-wire=static],
.san-map:is([data-hover=dynamic],[data-selected=dynamic]) [data-san-wire=dynamic],
.san-map:is([data-hover=smooth],[data-selected=smooth]) [data-san-wire=smooth],
.san-map:is([data-hover=reactive],[data-selected=reactive]) [data-san-wire=reactive],
.san-map:is([data-hover=switching],[data-selected=switching]) [data-san-wire=switching],
.san-map:is([data-hover=precision],[data-selected=precision]) [data-san-wire=precision] {opacity:1;}
@keyframes san-orbit {to {transform:rotate(360deg);}}
@keyframes san-drift {to {translate:0 -9px;opacity:.25;}}
@media(min-width:1600px){.san-welcome{min-height:610px}.san-map-home{min-height:570px}}
@media(max-width:1180px){
  html[data-theme] .sidebar {width:190px;padding-inline:14px;}
  html[data-theme] .main-area {margin-left:190px;}
  html[data-theme] .page-content {padding:30px 28px 45px;}
  html[data-theme] .topbar {padding-inline:28px;}
  .san-welcome {grid-template-columns:1fr 1.1fr;min-height:460px;}
  .san-welcome h1 {font-size:48px;}
  .san-map-home {min-height:440px;}
  .san-map-home .san-node strong {font-size:9px;}
  .san-explorer {grid-template-columns:1fr;gap:0;}
  .san-explorer .san-map {min-height:560px;}
  .san-domain-detail {border-left:0;border-top:1px solid var(--line);padding:28px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px 32px;}
  .san-detail-title,.san-domain-detail>p,.san-evidence-note {grid-column:1;}
  .san-domain-detail>h3,.san-lesson-links {grid-column:2;}
  .san-domain-detail>h3 {grid-row:1;align-self:center;}
  .san-lesson-links {grid-row:2/5;}
  .san-detail-actions {grid-column:1/-1;}
  html[data-theme] .daily-routine-days {grid-template-columns:repeat(2,minmax(0,1fr));}
  .san-destination {padding-inline:22px;}
  .san-destination h2 {font-size:23px;}
}
@media(max-width:800px){
  html[data-theme] .sidebar {width:240px;padding:25px 18px;z-index:60;}
  html[data-theme] .main-area {margin-left:0;}
  html[data-theme] .topbar {height:64px;padding-inline:20px;}
  html[data-theme] .page-content {padding:28px 22px 40px;}
  html[data-theme] .footer {margin-inline:22px;}
  html[data-theme] :is(.content-header,.san-page-heading) {align-items:flex-start;flex-direction:column;gap:18px;}
  html[data-theme] .san-page-heading h1 {font-size:40px;}
  .san-welcome {margin:0;min-height:0;}
  .san-welcome h1 {font-size:47px;}
  .san-map-home {min-height:400px;}
  .san-map-home .san-node strong {font-size:9px;}
  .san-session-strip {padding:25px 0;}
  .san-session-strip h2 {font-size:24px;}
  .san-session-symbol {display:none;}
  .san-account-note {flex-wrap:wrap;}
  .san-account-note>div {flex:1;min-width:220px;}
  .san-account-note .button {margin-left:60px;}
  .san-archive-intro {grid-template-columns:1fr;gap:20px;}
  .san-archive-index {column-gap:25px;}
  .san-archive-entry {gap:13px;}
  .san-index-symbol {display:none;}
  html[data-theme] .login-wrap {grid-template-columns:1fr;}
  html[data-theme] .login-side {border-left:0;border-top:1px solid var(--line);padding:25px 0;}
  html[data-theme] .daily-community-plan,html[data-theme] .benchmark-library-panel {padding:0;}
}
@media(max-width:600px){
  html[data-theme] .page-content {padding:25px 20px 35px;}
  html[data-theme] .finder-open-button {min-width:0;}
  html[data-theme] .finder-open-button>span:nth-child(2) {display:none;}
  html[data-theme] .content-header .page-title {font-size:36px;}
  .san-welcome {display:flex;flex-direction:column;}
  .san-welcome-copy {padding:12px 0 0;width:100%;}
  .san-welcome h1 {font-size:52px;max-width:14ch;}
  .san-welcome-copy>p {font-size:13px;max-width:37ch;}
  .san-actions {margin-top:23px;gap:7px;}
  .san-welcome-note {display:none;}
  .san-home-sky {width:100%;margin:15px 0 0;}
  .san-map-home {min-height:350px;}
  .san-map-home .san-node {min-width:80px;padding:8px 4px;}
  .san-map-home .san-map-caption {bottom:0;}
  .san-session-strip {margin:30px 0;flex-direction:column;align-items:flex-start;gap:20px;}
  .san-session-strip>.button {margin-left:0;}
  .san-destinations {grid-template-columns:1fr;margin-bottom:25px;}
  .san-destination,.san-destination:first-child {padding:25px 0;grid-template-columns:32px 1fr;gap:14px;}
  .san-destination+.san-destination {border-left:0;border-top:1px solid var(--line);}
  .san-destination>span {grid-column:2;}
  .san-destination h2 {font-size:29px;}
  .san-destination p br {display:none;}
  .san-account-note .button {margin-left:0;}
  .san-explorer .san-map {min-height:0;background:none;}
  .san-explorer .san-map::before,.san-explorer .san-map::after,.san-explorer .san-wires,.san-explorer .san-instrument,.san-explorer .san-map-caption {display:none;}
  .san-explorer .san-map-plane {position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:25px;}
  .san-explorer .san-node {position:static;transform:none;min-width:0;display:flex;align-items:flex-start;text-align:left;gap:13px;padding:17px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);}
  .san-explorer .san-node[aria-pressed=true] {border-color:var(--gold);background:var(--panel-2);}
  .san-explorer .san-node-orb {width:31px;height:31px;}
  .san-explorer .san-node-orb svg {width:16px;height:16px;}
  .san-explorer .san-node strong {font-size:12px;white-space:normal;}
  .san-explorer .san-node small {font-size:10px;}
  .san-domain-detail {display:block;padding-top:25px;}
  .san-detail-title h2 {font-size:34px;}
  .san-detail-actions {margin-top:22px;}
  .san-map-foot {flex-direction:column;align-items:flex-start;margin-top:0;}
  .san-archive-intro h2 {font-size:28px;}
  .san-archive-intro svg {width:44px;height:44px;}
  .san-archive-index {grid-template-columns:1fr;}
  .san-archive-entry h2 {font-size:25px;}
  .san-index-symbol {display:block;}
  html[data-theme] :is(.benchmark-grid,.playlist-grid) {grid-template-columns:1fr;}
  html[data-theme] :is(.community-explorer-tools,.playlist-library-tools) {grid-template-columns:1fr;}
  html[data-theme] .daily-routine-days {gap:9px;}
  html[data-theme] .daily-routine-day {padding:16px 13px;min-height:155px;}
  html[data-theme] .daily-routine-selected {padding:22px;grid-template-columns:1fr;}
  html[data-theme] .daily-routine-selected-copy>strong {font-size:31px;}
  html[data-theme] .daily-routine-controls {width:100%;}
  html[data-theme] .login-card {padding:25px;}
  html[data-theme] .button {min-height:44px;}
}
html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
html[data-motion=off] {scroll-behavior:auto;}
html[data-visibility=hidden] *,html[data-visibility=hidden] *::before,html[data-visibility=hidden] *::after {animation-play-state:paused!important;}


/* Sidebar spacing and single-line navigation labels. */
html[data-theme] .sidebar{width:252px;padding:27px 16px 20px;box-sizing:border-box;overflow-x:hidden;}
html[data-theme] .main-area{margin-left:252px;}
html[data-theme] .nav-link{padding:10px 9px;min-width:0;gap:10px;line-height:1.35;}
html[data-theme] .san-nav-copy{display:block;white-space:nowrap;font-size:12px;}
html[data-theme] .san-nav-copy small{display:none;}
html[data-theme] .sidebar .theme-toggle{display:grid;grid-template-columns:20px 1fr 34px;width:100%;text-align:left;gap:9px;}
@media(max-width:1180px){html[data-theme] .sidebar{width:252px;}html[data-theme] .main-area{margin-left:252px;}}
@media(max-width:800px){html[data-theme] .sidebar{width:240px;}html[data-theme] .main-area{margin-left:0;}}

html[data-theme] .theme-toggle .toggle-track { display:block; position:relative; width:34px; height:20px; padding:3px; border-radius:12px; background:var(--panel-3); }
html[data-theme] .theme-toggle .toggle-track i { display:block; width:14px; height:14px; border-radius:50%; background:var(--purple); transform:translateX(0); transition:transform .2s ease; }
html[data-theme=light] .theme-toggle .toggle-track i { transform:translateX(14px); }

/* Daily practice: keep the completion count and day markers consistent. */
html[data-theme] .daily-routine-progress{display:flex;align-items:center;gap:18px;padding:20px 0;margin:10px 0 24px;background:transparent;box-shadow:none;}
html[data-theme] .daily-routine-ring{flex:0 0 72px;width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--mint) var(--progress),var(--line) 0);}
html[data-theme] .daily-routine-ring>span{display:grid;place-content:center;width:60px;height:60px;border-radius:50%;background:var(--bg);color:var(--text);font-size:16px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums;}
html[data-theme] .daily-routine-ring>span small{font-size:10px;font-weight:500;color:var(--muted);}
html[data-theme] .daily-routine-progress-copy{display:grid;gap:5px;min-width:0;}
html[data-theme] .daily-routine-progress-copy strong{color:var(--text);font-size:13px;}
html[data-theme] .daily-routine-progress-copy span{color:var(--muted);font-size:11px;line-height:1.6;}
html[data-theme] .daily-routine-day .daily-routine-day-number{position:static;display:grid;place-items:center;width:38px;height:38px;min-width:38px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--panel-2);color:var(--gold);font:600 14px/1 var(--font);font-variant-numeric:tabular-nums;text-shadow:none;-webkit-text-stroke:0;box-shadow:none;animation:none;}
html[data-theme] .daily-routine-day.is-complete .daily-routine-day-number{background:var(--mint);border-color:var(--mint);color:var(--bg);font-size:18px;}
html[data-theme] .daily-routine-day strong{overflow:visible;white-space:normal;line-height:1.45;}
/* Other numeric badges keep their text readable and their containers circular. */
html[data-theme] :is(.astral-node-ring,.rune-socket,.learn-tree-root-sigil,.learn-tree-branch-socket){aspect-ratio:1;border-radius:50%;text-shadow:none;-webkit-text-stroke:0;}
html[data-theme] :is(.benchmark-rank-step b,.benchmark-rank-step small,.playlist-library-progress strong){text-shadow:none;-webkit-text-stroke:0;}

/* Keep rerendered content in place when navigating or selecting controls. */
@keyframes ferxlSurfaceArrival{from{opacity:.85}to{opacity:1}}
@keyframes ferxl-card-arrive{from{opacity:.85}to{opacity:1}}

/* Compact Observatory catalog: scan the set, choose a difficulty, or pin it. */
html[data-theme] #community-benchmark-library {padding:0;}
html[data-theme] #community-benchmark-library .community-library-head {padding:0 0 8px;}
html[data-theme] #community-benchmark-library .community-library-head h2 {font-size:23px;margin:0 0 4px;}
html[data-theme] #community-benchmark-library .community-library-head p {margin:0;}
html[data-theme] #community-benchmark-library .community-explorer-tools {display:grid;grid-template-columns:minmax(200px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;align-items:end;gap:12px;margin:12px 0 20px;padding:16px 0;}
html[data-theme] #community-benchmark-library .platform-filter-chip {display:none;}
html[data-theme] #community-benchmark-library .community-favorites-filter {min-height:42px;white-space:nowrap;}
html[data-theme] #community-benchmark-count {grid-column:1/-1;font-size:11px;color:var(--muted);}
html[data-theme] #community-benchmark-grid {display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch;}
html[data-theme] #community-benchmark-grid .community-benchmark-card {display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(240px,1.6fr) auto;grid-template-rows:auto auto auto;gap:7px 20px;align-items:center;min-height:0;padding:16px 18px;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:none;animation:none;}
html[data-theme] #community-benchmark-grid .community-benchmark-card:hover {border-color:var(--purple);transform:none;box-shadow:none;}
html[data-theme] #community-benchmark-grid .community-card-art {display:none;}
html[data-theme] #community-benchmark-grid .benchmark-card-kicker {grid-column:1;grid-row:1;justify-content:flex-start;gap:8px;font-size:9px;}
html[data-theme] #community-benchmark-grid .benchmark-card-kicker .pill {display:none;}
html[data-theme] #community-benchmark-grid .community-card-tools {position:absolute;right:16px;top:12px;}
html[data-theme] #community-benchmark-grid .community-benchmark-card h3 {grid-column:1;grid-row:2;font:400 20px/1.2 var(--font-display);margin:0;overflow-wrap:anywhere;}
html[data-theme] #community-benchmark-grid .community-card-categories {grid-column:1;grid-row:3;margin:0;font-size:11px;line-height:1.4;color:var(--muted);}
html[data-theme] #community-benchmark-grid .scenario-tags {display:none;}
html[data-theme] #community-benchmark-grid .community-difficulty-preview {grid-column:2;grid-row:1/4;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;}
html[data-theme] #community-benchmark-grid .community-difficulty-preview button {min-height:34px;padding:7px 11px;font-size:11px;font-weight:600;border-radius:7px;background:var(--panel-2);color:var(--text);}
html[data-theme] #community-benchmark-grid .community-difficulty-preview button:hover {border-color:var(--purple);background:var(--panel-3);}
html[data-theme] #community-benchmark-grid .community-card-metrics {grid-column:3;grid-row:2;display:flex;gap:12px;padding:0;border:0;margin:0 48px 0 0;white-space:nowrap;}
html[data-theme] #community-benchmark-grid .community-card-metrics>div:not(.community-rank-spectrum) {display:flex;align-items:baseline;gap:4px;}
html[data-theme] #community-benchmark-grid .community-card-metrics strong {font:600 12px/1 var(--font);}
html[data-theme] #community-benchmark-grid .community-card-metrics span {font-size:10px;}
html[data-theme] #community-benchmark-grid .community-rank-spectrum {display:none;}
html[data-theme] #community-benchmark-grid .source-line {grid-column:3;grid-row:3;margin:0 48px 0 0;padding:0;border:0;font-size:10px;white-space:nowrap;}
html[data-theme] #community-benchmark-grid .community-card-action {grid-column:3;grid-row:1;min-height:30px;width:auto;margin:0 48px 0 0;padding:0;background:none;border:0;color:var(--purple);font-size:11px;box-shadow:none;white-space:nowrap;}
html[data-theme] #community-benchmark-grid .community-card-action span {margin-left:8px;}
@media(max-width:1000px){html[data-theme] #community-benchmark-library .community-explorer-tools {grid-template-columns:repeat(2,minmax(0,1fr));}html[data-theme] #community-benchmark-grid .community-benchmark-card{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px 18px;}html[data-theme] #community-benchmark-grid .community-card-metrics{grid-column:1;grid-row:4;margin:0;}html[data-theme] #community-benchmark-grid .source-line{grid-column:2;grid-row:4;margin:0;}html[data-theme] #community-benchmark-grid .community-card-action{grid-column:2;grid-row:5;justify-self:start;margin:0;}}
@media(max-width:600px){html[data-theme] #community-benchmark-library .community-explorer-tools{grid-template-columns:1fr 1fr;}html[data-theme] #community-benchmark-library .community-explorer-tools>label:first-child{grid-column:1/-1;}html[data-theme] #community-benchmark-grid .community-benchmark-card{grid-template-columns:1fr;padding:16px;}html[data-theme] #community-benchmark-grid .benchmark-card-kicker,html[data-theme] #community-benchmark-grid .community-benchmark-card h3,html[data-theme] #community-benchmark-grid .community-card-categories,html[data-theme] #community-benchmark-grid .community-difficulty-preview,html[data-theme] #community-benchmark-grid .community-card-metrics,html[data-theme] #community-benchmark-grid .source-line,html[data-theme] #community-benchmark-grid .community-card-action{grid-column:1;grid-row:auto;}html[data-theme] #community-benchmark-grid .community-benchmark-card h3{padding-right:42px;}html[data-theme] #community-benchmark-grid .community-difficulty-preview{margin:7px 0;}html[data-theme] #community-benchmark-grid .community-card-action{justify-self:start;}}

/* Align every benchmark on the same columns, regardless of its content. */
@media(min-width:1001px){
html[data-theme] #community-benchmark-grid .community-benchmark-card{position:relative;grid-template-columns:minmax(0,35fr) minmax(0,40fr) minmax(0,25fr);column-gap:20px;padding-right:58px;}
html[data-theme] #community-benchmark-grid .benchmark-card-kicker{position:static;}
html[data-theme] #community-benchmark-grid .community-card-tools{position:absolute;right:16px;top:16px;}
html[data-theme] #community-benchmark-grid .community-difficulty-preview{justify-content:flex-start;}
html[data-theme] #community-benchmark-grid .community-card-metrics,html[data-theme] #community-benchmark-grid .source-line,html[data-theme] #community-benchmark-grid .community-card-action{margin-right:0;min-width:0;white-space:normal;}
html[data-theme] #community-benchmark-grid .community-card-action{justify-content:flex-start;justify-self:start;}
}
@media(max-width:1000px){html[data-theme] #community-benchmark-grid .community-benchmark-card{position:relative;}html[data-theme] #community-benchmark-grid .benchmark-card-kicker{position:static;padding-right:42px;}html[data-theme] #community-benchmark-grid .community-card-tools{right:16px;top:16px;}html[data-theme] #community-benchmark-grid .community-difficulty-preview{padding-right:36px;}}

/* Promote the illustration to its own composited layer for pointer motion. */
.san-instrument{transform:translate3d(calc(-50% + var(--parallax-x,0px)),calc(-50% + var(--parallax-y,0px)),0);transition:transform .16s ease-out;backface-visibility:hidden;}
.san-map-home .san-moon-cat{filter:none;}

/* The top bar scrolls away, so benchmark controls must stick to the viewport edge. */
@media (min-width:801px){html[data-theme] .benchmark-sticky-wrap{position:sticky;top:0;z-index:30;isolation:isolate;background:var(--bg);backdrop-filter:none;}html[data-theme] .ferxl-benchmark-table-section{position:relative;z-index:0;isolation:isolate;}}

/* Community score table hierarchy: focus areas, then their scenario groups. */
html[data-theme] .community-benchmark-table .community-table-domain th,html[data-theme] .community-benchmark-table .community-table-domain td{height:auto;padding:17px 14px;background:var(--panel-3);border-top:8px solid var(--bg);border-bottom:1px solid var(--line);vertical-align:middle;}
html[data-theme] .community-benchmark-table .community-table-domain:first-child th,html[data-theme] .community-benchmark-table .community-table-domain:first-child td{border-top-width:0;}
html[data-theme] .community-benchmark-table .community-table-domain th{white-space:normal;}
html[data-theme] .community-benchmark-table .community-focus-label{display:block;color:var(--purple);font:700 10px/1.3 var(--font);text-transform:uppercase;letter-spacing:.08em;}
html[data-theme] .community-benchmark-table .community-focus-name{display:inline-block;margin-top:5px;color:var(--text);font:400 22px/1.2 var(--font-display);}
html[data-theme] .community-benchmark-table .community-table-domain th>small{display:inline-block;margin-left:10px;color:var(--muted);font-size:11px;}
html[data-theme] .community-benchmark-table .community-table-domain .ferxl-category-rank{gap:6px;}
html[data-theme] .community-benchmark-table .community-table-domain .ferxl-category-rank strong{font-size:12px;}
html[data-theme] .community-benchmark-table .community-table-domain .ferxl-category-rank small{color:var(--muted);font-size:10px;}
html[data-theme] .community-benchmark-table .community-table-subhead th,html[data-theme] .community-benchmark-table .community-table-subhead td{height:auto;padding:10px 14px;background:var(--panel-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
html[data-theme] .community-benchmark-table .community-table-subhead th>span{color:var(--text);font:600 12px/1.4 var(--font);}
html[data-theme] .community-benchmark-table .community-table-subhead th>small{margin-left:8px;color:var(--muted);font-size:10px;}
html[data-theme] .community-benchmark-table .community-subcategory-status{font-size:10px;}

/* Focus areas and groups sit beside their scenario rows. */
html[data-theme] .community-benchmark-table .community-col-domain{width:140px;}
html[data-theme] .community-benchmark-table .community-col-subgroup{width:140px;}
html[data-theme] .community-benchmark-table :is(.community-domain-heading,.community-subgroup-heading){text-align:left;padding:8px 12px;white-space:normal;}
html[data-theme] .community-benchmark-table :is(.community-domain-cell,.community-subgroup-cell){padding:14px 12px;text-align:left;vertical-align:middle;white-space:normal;border-right:1px solid var(--line);border-bottom:1px solid var(--line);}
html[data-theme] .community-benchmark-table .community-domain-cell{background:var(--panel-3);}
html[data-theme] .community-benchmark-table .community-subgroup-cell{background:var(--panel-2);}
html[data-theme] .community-benchmark-table :is(.community-domain-cell,.community-subgroup-cell)>strong{display:block;color:var(--text);font:600 13px/1.4 var(--font);overflow-wrap:anywhere;}
html[data-theme] .community-benchmark-table .community-domain-cell>strong{font:400 19px/1.3 var(--font-display);}
html[data-theme] .community-benchmark-table :is(.community-domain-cell,.community-subgroup-cell)>small{display:block;margin-top:5px;color:var(--muted);font-size:10px;}
html[data-theme] .community-benchmark-table :is(.community-domain-cell,.community-subgroup-cell)>span{display:block;margin-top:8px;color:var(--community-tier-color,var(--purple));font-size:10px;font-weight:700;}
html[data-theme] .community-benchmark-table .ferxl-scenario-cell,html[data-theme] .community-benchmark-table thead .ferxl-scenario-heading{position:static;box-shadow:none;}
:root[data-theme=light] .community-benchmark-table :is(.community-domain-cell,.community-subgroup-cell)>span{color:color-mix(in srgb,var(--community-tier-color) 68%,var(--text));}

/* Profile & settings: aligned descriptions and controls. */
.settings-page{max-width:1080px;margin:0 auto;}
.settings-heading{padding:8px 0 28px;border-bottom:1px solid var(--line);}
.settings-heading h1{font:400 clamp(36px,4vw,54px)/1.1 var(--font-display);letter-spacing:-.025em;margin:0 0 12px;color:var(--text);}
.settings-heading p{color:var(--muted);font-size:13px;line-height:1.7;margin:0;}
.settings-section{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.4fr);gap:36px;padding:32px 0;border-bottom:1px solid var(--line);}
.settings-section-intro{display:flex;align-items:flex-start;gap:15px;}
.settings-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--gold);}
.settings-icon svg{width:20px;height:20px;}
.settings-section-intro h2{font:400 23px/1.25 var(--font-display);margin:0 0 6px;color:var(--text);}
.settings-section-intro p,.settings-section-content>p{color:var(--muted);font-size:12px;line-height:1.75;margin:0;max-width:55ch;}
.settings-section-content{min-width:0;padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:var(--panel);}
.settings-status{display:flex;align-items:flex-start;gap:11px;margin-bottom:18px;}
.settings-status-dot{width:9px;height:9px;margin-top:6px;border-radius:50%;background:var(--muted-2);flex:none;}
.settings-status-dot.is-connected{background:var(--mint);}
.settings-status strong,.settings-preference strong{display:block;color:var(--text);font-size:13px;font-weight:600;}
.settings-status small,.settings-preference small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.5;}
.settings-preferences{padding:0 22px;}
.settings-preference{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;}
.settings-preference+.settings-preference{border-top:1px solid var(--line);}
.settings-preference .button{flex-shrink:0;}
html[data-theme] .settings-preference #san-motion-toggle{background:transparent;border:1px solid var(--line);padding:11px 18px;color:var(--text);font-size:12px;text-align:center;}
.settings-section-content>.text-button{display:inline-block;margin-top:14px;}
@media(max-width:760px){.settings-section{grid-template-columns:1fr;gap:18px;padding:25px 0;}.settings-section-content{margin-left:55px;}.settings-preference{align-items:flex-start;flex-direction:column;gap:12px;}}
@media(max-width:480px){.settings-section-content{margin-left:0;}.settings-heading h1{font-size:36px;}.settings-preference .button{width:100%;justify-content:center;}}

/* Consistent selected and focus states across the primary workflows. */
html[data-theme] :is(.daily-routine-day,.daily-routine-level button,.community-difficulty-preview button,.playlist-filters button){min-height:44px;}
html[data-theme] .daily-routine-day[aria-pressed=true]{border:2px solid var(--gold);padding:19px;}
html[data-theme] .daily-routine-selected{scroll-margin-top:18px;}
html[data-theme] .daily-routine-selected-copy>strong{overflow-wrap:anywhere;}
html[data-theme] .daily-routine-actions{gap:10px;}
html[data-theme] .daily-routine-actions .button{white-space:normal;text-align:center;}
html[data-theme] .community-benchmark-table-wrap{overscroll-behavior-x:contain;}
html[data-theme] .community-benchmark-table :is(.community-domain-cell,.community-subgroup-cell)>span{overflow-wrap:anywhere;}
html[data-theme] .san-node:focus-visible{outline-offset:6px;}
html[data-theme] .san-lesson-links>a:focus-visible{border-radius:5px;}
@media(max-width:600px){html[data-theme] .daily-routine-day[aria-pressed=true]{padding:15px 12px;}html[data-theme] .daily-routine-actions{display:grid;grid-template-columns:1fr;}html[data-theme] .daily-routine-actions .button{width:100%;justify-content:center;}html[data-theme] .ferxl-benchmark-table-wrap::after{content:none;}}

/* Keep catalog filters inside their grid columns at every viewport. */
html[data-theme] #community-benchmark-library .community-explorer-tools>label{min-width:0;}
html[data-theme] #community-benchmark-library .community-explorer-tools :is(input,select){display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;}

/* Keep the non-sticky mobile benchmark heading aligned with the page. */
@media(max-width:800px){html[data-theme] .benchmark-sticky-wrap{margin:0 0 20px;padding:0 0 12px;}}

/* Keep short benchmark rank names intact in the mobile ladder. */
html[data-theme] .ferxl-benchmark-summary .benchmark-rank-step b{overflow-wrap:normal;word-break:normal;white-space:nowrap;}

/* FERXL benchmark focus areas match the community table's side columns. */
html[data-theme] .ferxl-native-side-table{min-width:900px;}
html[data-theme] .ferxl-native-side-table .community-col-domain{width:150px;}
html[data-theme] .ferxl-native-side-table .community-domain-heading{text-align:left;padding:8px 12px;white-space:normal;}
html[data-theme] .ferxl-native-side-table .ferxl-domain-cell{padding:14px 12px;text-align:left;vertical-align:middle;white-space:normal;border-right:1px solid var(--line);background:var(--panel-3);}
html[data-theme] .ferxl-native-side-table .ferxl-domain-cell>strong{display:block;color:var(--text);font:400 19px/1.3 var(--font-display);overflow-wrap:anywhere;}
html[data-theme] .ferxl-native-side-table .ferxl-domain-cell>small{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4;}
html[data-theme] .ferxl-native-side-table .ferxl-domain-rank{display:block;margin-top:8px;}
html[data-theme] .ferxl-native-side-table .ferxl-domain-rank strong{display:block;color:var(--purple);font:700 10px/1.4 var(--font);}
html[data-theme] .ferxl-native-side-table .ferxl-domain-rank small{display:block;margin-top:4px;color:var(--muted);font:400 10px/1.4 var(--font);}
html[data-theme] .ferxl-native-side-table .ferxl-scenario-cell,html[data-theme] .ferxl-native-side-table thead .ferxl-scenario-heading{position:static;box-shadow:none;}

/* Keep rank fills and labels inside every score-band tile. */
html[data-theme] .benchmark-rank-step{overflow:hidden;min-width:0;}
html[data-theme] .benchmark-rank-step i{max-width:100%;}
html[data-theme] .benchmark-rank-step b{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;}

/* Keep progress inside its inset track and center scenario launch controls. */
html[data-theme] .ferxl-native-side-table .ferxl-gate-fill{left:3px;right:3px;top:3px;bottom:3px;width:auto;clip-path:inset(0 calc(100% - var(--tier-fill,0%)) 0 0);}
html[data-theme] .ferxl-native-side-table .ferxl-scenario-cell{position:relative;padding-right:42px;}
html[data-theme] .ferxl-native-side-table .community-row-launch{position:absolute;right:10px;top:50%;transform:translateY(-50%);}
html[data-theme] .ferxl-native-side-table .community-row-launch:hover{transform:translateY(-50%) scale(1.06);}

/* Keep daily progress contained in the same card treatment as the day tiles. */
html[data-theme] .daily-routine-progress {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:baseline;
  gap:8px 16px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel);
}
html[data-theme] .daily-routine-progress-track {grid-column:1 / -1;min-width:0;width:100%;}
@media(max-width:600px) {
  html[data-theme] .daily-routine-progress {grid-template-columns:minmax(0,1fr);padding:16px;}
  html[data-theme] .daily-routine-progress-track {grid-column:1;}
}

.daily-tracking-status{margin:14px 2px;color:var(--muted);font-size:.84rem;line-height:1.5}.daily-task-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.daily-task-count{font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.daily-task-status,.daily-task-hint{display:block;margin-top:7px;color:var(--muted);font-size:.78rem;line-height:1.4}.daily-task.is-complete{border-color:var(--mint)}.daily-task.is-complete .daily-task-count,.daily-task.is-complete .daily-task-status{color:var(--mint)}@media(max-width:560px){.daily-task-actions{width:100%}.daily-task-actions .button{width:auto;flex:1}}

.daily-settings,.daily-application,.daily-conditioning,.daily-rest{margin:18px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}
.daily-settings summary,.daily-conditioning summary{cursor:pointer;font-weight:750;line-height:1.4}.daily-settings summary span{float:right;color:var(--muted);font-size:.8rem;font-weight:500}.daily-settings-body>p,.daily-application p,.daily-rest p,.daily-conditioning p{color:var(--muted);line-height:1.55}.daily-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.daily-settings-grid label{display:grid;gap:7px;font-size:.82rem;font-weight:700}.daily-settings-grid select{width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--panel-2);color:var(--text);font:inherit}.daily-settings-note,.daily-task-why,.daily-application small{display:block;color:var(--muted);font-size:.79rem;line-height:1.5}.daily-check{display:flex;align-items:flex-start;gap:9px;margin:12px 0;font-size:.86rem;line-height:1.5}.daily-check input{width:18px;height:18px;flex:0 0 auto;accent-color:var(--mint)}.daily-settings-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.daily-benchmark-hint:empty{display:none}.daily-application h3,.daily-rest h3{margin:8px 0}.daily-application p,.daily-rest p{margin:8px 0}.daily-task-why{margin-top:7px}.daily-task-actions .button{white-space:normal}.daily-conditioning summary:focus-visible,.daily-settings summary:focus-visible{outline:2px solid var(--mint);outline-offset:4px}
@media(max-width:900px){.daily-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.daily-settings,.daily-application,.daily-conditioning,.daily-rest{padding:16px}.daily-settings-grid{grid-template-columns:1fr}.daily-settings summary span{float:none;display:block;margin-top:4px}.daily-settings-actions .button{width:100%;justify-content:center}}
/* FERXL coach surfaces share the sanctuary palette and typography. */
.coach-page,.coach-home{max-width:1150px;margin:0 auto;padding:clamp(24px,4vw,60px) 0 80px}
.coach-topline{display:flex;justify-content:space-between;gap:1rem;color:var(--text-muted,#bfb1ce);letter-spacing:.12em;font-size:.75rem}
.coach-assignment{display:grid;grid-template-columns:minmax(160px, .75fr) minmax(0,1.5fr);gap:clamp(28px,6vw,90px);align-items:center;padding:clamp(28px,5vw,72px) 0}
.coach-orbit{aspect-ratio:1;border:1px solid #a98bb755;border-radius:50%;display:grid;place-items:center;position:relative;color:#f4d18a;font-size:4rem}
.coach-orbit:before,.coach-orbit:after{content:'';position:absolute;inset:11%;border:1px solid #a98bb744;border-radius:50%}.coach-orbit:after{inset:25%;border-style:dashed}
.coach-assignment h1,.coach-home h1{font-family:'DM Serif Display',serif;font-size:clamp(2.8rem,6vw,5.8rem);line-height:1.03;margin:.25em 0}.coach-kicker{letter-spacing:.16em;font-size:.72rem;color:#d6a9ca}.coach-cue{font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.45;max-width:35ch}.coach-duration,.coach-unavailable,.coach-foot{opacity:.75;line-height:1.6}.coach-start{margin:1rem 0}.coach-completion{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.5rem}.coach-completion details{font-size:.9rem}.coach-notice{min-height:1.4em}.coach-details{border-top:1px solid #a98bb755;padding:1.25rem 0}.coach-details summary{cursor:pointer;font-weight:700;display:flex;justify-content:space-between;gap:1rem}.coach-details ol{padding:0;list-style:none}.coach-details li{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid #a98bb733}.coach-details li span{display:grid;gap:.25rem}.coach-details small,.coach-details b{opacity:.7}.coach-home-hero{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:3rem;min-height:440px}.coach-home-hero p{max-width:46ch;font-size:1.1rem;line-height:1.6}.coach-home-hero img{width:100%;max-width:360px;justify-self:center}.coach-home-next{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:2rem;border:1px solid #a98bb755;border-radius:18px}.coach-home-next h2{margin:.5rem 0}.coach-home-links{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem}.coach-home-links a{display:grid;gap:.5rem;padding:1.5rem;border:1px solid #a98bb755;border-radius:14px;text-decoration:none;color:inherit}.coach-home-links span{opacity:.75}.coach-assignment button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.coach-assignment{grid-template-columns:1fr}.coach-orbit{width:110px;font-size:2rem}.coach-home-hero{grid-template-columns:1fr;gap:0;min-height:0}.coach-home-hero img{max-width:170px;justify-self:end}.coach-home-next{align-items:flex-start;flex-direction:column}.coach-home-links{grid-template-columns:1fr}}

/* Constellation field guides: a quiet reading surface with a clear sequence. */
.san-guide-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;margin:4px 0 25px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);text-decoration:none;transition:border-color .18s,transform .18s}
.san-guide-entry:hover{border-color:var(--purple);transform:translateY(-2px)}
.san-guide-entry span{display:grid;gap:5px}.san-guide-entry small,.san-guide-kicker,.san-guide-aside-label{font-size:10px;letter-spacing:.14em;font-weight:750;color:var(--purple)}
.san-guide-entry strong{font:400 19px/1.2 var(--font-display)}.san-guide-entry em{font-style:normal;font-size:11px;line-height:1.5;color:var(--muted)}.san-guide-entry svg{width:20px;flex:none;color:var(--purple)}
.san-guide{max-width:1100px;margin:0 auto;padding:clamp(24px,4vw,56px) 0 80px}.san-guide-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:40px;align-items:end;padding-bottom:42px;border-bottom:1px solid var(--line)}
.san-guide-back{display:block;color:var(--muted);text-decoration:none;font-size:12px;margin-bottom:44px}.san-guide-back:hover{color:var(--text)}.san-guide-kicker{display:block;color:var(--guide-accent);margin-bottom:12px}.san-guide h1{font:400 clamp(48px,7vw,82px)/1.02 var(--font-display);letter-spacing:-.035em;margin:0 0 18px}.san-guide-deck{font-size:17px;line-height:1.65;color:var(--muted);max-width:55ch;margin:0}
.san-guide-emblem{aspect-ratio:1;border:1px solid var(--line);border-radius:50%;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--guide-accent);position:relative}.san-guide-emblem:before{content:'';position:absolute;inset:11px;border:1px dashed var(--line);border-radius:50%}.san-guide-emblem svg{width:46px;height:46px}.san-guide-emblem span{font-size:10px;letter-spacing:.16em}
.san-guide-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:clamp(36px,6vw,80px);padding-top:48px}.san-guide-aside{align-self:start;position:sticky;top:30px;border-left:2px solid var(--guide-accent);padding-left:20px}.san-guide-aside p{font:400 24px/1.3 var(--font-display);margin:14px 0}.san-guide-aside small{display:block;line-height:1.7;color:var(--muted);font-size:12px}.san-guide-aside a{display:inline-block;color:var(--text);margin-top:20px;font-size:12px}.san-guide-content{min-width:0;max-width:750px}.san-guide-intro{margin-bottom:55px}.san-guide-content h2{font:400 30px/1.2 var(--font-display);margin:10px 0 16px}.san-guide-intro p,.san-guide-part-body>p,.san-guide-sources p{font-size:15px;line-height:1.85;color:var(--muted);max-width:70ch}
.san-guide-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.san-guide-section-head>span{font-size:10px;color:var(--muted);letter-spacing:.12em;padding-bottom:18px}.san-guide-part{border-top:1px solid var(--line)}.san-guide-part:last-child{border-bottom:1px solid var(--line)}.san-guide-part summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:14px;padding:22px 0}.san-guide-part summary::-webkit-details-marker{display:none}.san-guide-part summary:focus-visible{outline:2px solid var(--purple);outline-offset:4px}.san-guide-number{color:var(--guide-accent);font-size:12px;font-variant-numeric:tabular-nums}.san-guide-part-title{display:grid;gap:5px}.san-guide-part-title strong{font:400 22px/1.2 var(--font-display);color:var(--text)}.san-guide-part-title small{color:var(--muted);font-size:11px}.san-guide-chevron{font-size:21px;color:var(--muted)}.san-guide-part[open] .san-guide-chevron{transform:rotate(45deg)}
.san-guide-part-body{padding:0 0 28px 56px}.san-guide-part-body>p{margin:0 0 20px}.san-guide-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.san-guide-insights>div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px}.san-guide-insights span{font-size:10px;letter-spacing:.1em;color:var(--guide-accent);font-weight:750}.san-guide-insights p{font-size:13px;line-height:1.75;color:var(--muted);margin:9px 0 0}.san-guide-sources{border-top:1px solid var(--line);margin-top:55px;padding-top:30px}.san-guide-sources ul{padding-left:18px;display:grid;gap:10px}.san-guide-sources a{color:var(--text);font-size:13px;line-height:1.5}.san-guide-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:55px;padding-top:24px}.san-guide-footer a{font-size:12px;color:var(--text)}
@media(max-width:760px){.san-guide-hero{grid-template-columns:minmax(0,1fr) 76px;gap:12px}.san-guide-emblem svg{width:25px;height:25px}.san-guide-emblem span{font-size:8px}.san-guide-back{margin-bottom:28px}.san-guide-layout{grid-template-columns:1fr;gap:32px;padding-top:32px}.san-guide-aside{position:static}.san-guide-aside p{font-size:21px}.san-guide-part-body{padding-left:0}.san-guide-insights{grid-template-columns:1fr}.san-guide-footer{flex-direction:column}}

:root[data-theme=light] .san-guide-kicker,:root[data-theme=light] .san-guide-number,:root[data-theme=light] .san-guide-insights span,:root[data-theme=light] .san-guide-emblem{color:var(--purple)}

/* Restore the older constellation's drawn paths and softly glowing stars. */
html:not([data-motion=off]) .san-wires path{stroke-dasharray:1200;stroke-dashoffset:1200;animation:astral-draw 1.2s cubic-bezier(.2,.7,.2,1) forwards}
html:not([data-motion=off]) .san-wires circle{animation:astral-star-in .7s ease-out both;animation-delay:.55s;filter:drop-shadow(0 0 5px var(--domain))}


/* Constellation stage: old atlas composition with the current skill stars. */
.san-explorer .san-map{min-height:680px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:radial-gradient(ellipse at center,#b68cff12,transparent 65%),var(--bg)}
.san-explorer .san-map-plane{transform-origin:50% 50%;transition:transform .25s ease}
.san-map-tools{position:absolute;right:14px;top:14px;z-index:6}
.san-explorer .san-node:hover .san-node-orb,.san-explorer .san-node:focus-visible .san-node-orb{box-shadow:0 0 32px color-mix(in srgb,var(--domain) 80%,transparent),0 0 8px var(--domain);border-color:var(--domain);background:color-mix(in srgb,var(--domain) 22%,var(--bg))}
.san-node:focus-visible{outline:2px solid var(--domain);outline-offset:4px;border-radius:12px}
@media(max-width:760px){.san-map-tools{position:relative;top:auto;right:auto;width:max-content;margin:10px 10px 0 auto}.san-explorer .san-map-plane{transform-origin:top center}.san-explorer .san-hub{display:none}.san-explorer .san-map{min-height:0}.san-explorer .san-node{min-height:88px}}

.san-explorer .san-wires g[data-san-wire]{opacity:.6}

.coach-orbit-star{position:absolute;left:50%;top:50%;font-style:normal;font-size:clamp(14px,2vw,23px);color:#f4d18a;text-shadow:0 0 12px #f4d18a88;transform:translate(-50%,-50%) rotate(var(--star-angle)) translateY(calc(-1 * min(15vw, 145px))) rotate(calc(-1 * var(--star-angle)));pointer-events:none}
:root[data-theme=light] .coach-orbit-star{color:var(--yellow);text-shadow:none}

.san-explorer .san-map{cursor:grab;touch-action:none}.san-explorer .san-map.is-dragging{cursor:grabbing;user-select:none}.san-explorer .san-map.is-dragging .san-map-plane{transition:none}

/* An isolated, opaque hub keeps all connecting wires outside the center circle. */
.san-explorer .san-hub{position:absolute;z-index:3;left:50%;top:50%;width:176px;height:176px;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text);pointer-events:none;user-select:none;-webkit-user-select:none}
.san-explorer .san-hub-disc{position:absolute;inset:0;z-index:-1;border:1px solid color-mix(in srgb,var(--peach) 56%,transparent);border-radius:50%;background:var(--bg);box-shadow:0 0 30px color-mix(in srgb,var(--peach) 14%,transparent),inset 0 0 25px color-mix(in srgb,var(--peach) 12%,transparent)}
.san-explorer .san-hub-core{display:grid;place-items:center;width:48px;height:48px;margin-bottom:8px;border:1px solid color-mix(in srgb,var(--peach) 70%,var(--line));border-radius:50%;background:var(--panel);color:var(--peach);box-shadow:0 0 22px color-mix(in srgb,var(--peach) 35%,transparent)}
.san-explorer .san-hub-core svg{width:24px;height:24px;fill:currentColor;stroke:none}
.san-explorer .san-hub>small{color:var(--peach);font-size:8px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.san-explorer .san-hub>strong{margin-top:3px;font-size:17px}.san-explorer .san-hub>em{margin-top:2px;color:var(--muted);font-size:9px;font-style:normal}
.san-explorer .san-map-plane,.san-explorer .san-wires,.san-explorer .san-map-caption{user-select:none;-webkit-user-select:none}
.san-explorer .san-wires,.san-explorer .san-map-caption{pointer-events:none}
@media(max-width:760px){.san-explorer .san-hub{display:none}}

