
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lora-latin-400-italic.woff2") format("woff2"); }
:root {
  color-scheme: light;
  --bg: #F3F6F9; --bg-2: #EAF0F5; --panel: #FFFFFF; --panel-2: #F7F9FB; --panel-3: #EDF2F7;
  --rule: #D8E0E8; --rule-2: #BCC8D6; --text: #0B1220; --text-2: #22304A; --muted: #4E5B72;
  --gold: #7A5C20; --gold-2: #6E5320; --gold-ink: #FFFFFF; --link: #6E4F14; --focus: #6E4F14;
  --brand-blue: #053792; --brand-green: #048424; 
  --logo-blue: #053792; --logo-green: #048424; --logo-motto: #04841C; 
  --kicker: #047A21; 
  --plate-shadow: 0 0 0 1px #DCE3EB, 0 1px 2px rgba(17, 32, 61, .06), 0 6px 18px rgba(17, 32, 61, .07);
  --plate-shadow-up: 0 0 0 1px #CFD9E4, 0 2px 4px rgba(17, 32, 61, .07), 0 12px 28px rgba(17, 32, 61, .1);
  --danger: #B42318; --danger-bg: #FDECEA; --danger-rule: #F2B8B5;
  --warn: #8A5A00; --warn-bg: #FFF4DB; --ok: #1A7A4B; --ok-bg: #E8F6EE; --info: #1B4FA8; --info-bg: #EAF1FC;
  --t-system: #1F5FCC; --t-process: #6A4BD6; --t-state: #946300; --t-signal: #B8317A; --t-condition: #C0362C;
  --t-nutrient: #1A7A4B; --t-molecule: #0A7790; --t-supplement: #B4500F; --t-lifestyle: #0E7C70; --t-test: #4D586D;
  --g-established: #1A7A4B; --g-supported: #1F5FCC; --g-emerging: #8A5A00; --g-contested: #B42318;
  --c-gut: #2FA36A; --c-immune: #E0574F; --c-energy: #D39A16; --c-hormones: #7E62E0;
  --c-heart: #D8436B; --c-body: #3C7BE0; --c-rhythm: #1795B0; --c-brain: #C9478E;
  --edge: rgba(30, 55, 100, .17); --star: #8E9BB2;
  --glass: rgba(255, 255, 255, .82);
  --bv-shell: #2A6FD6; --bv-dim: #6E86B0; 
  --shadow: 0 18px 50px rgba(17, 32, 61, .14); --shadow-soft: 0 6px 20px rgba(17, 32, 61, .08);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .7);
  --body-weight: 400;
  --r-xl: 26px; --r-lg: 20px; --r: 14px; --r-sm: 10px;
  --wrap: 1320px; --read: 68ch;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Lora", Georgia, serif;
  --fs: 1.0625rem;
  --header-h: 66px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070B14; --bg-2: #0A1120; --panel: #0E1526; --panel-2: #121B30; --panel-3: #17223A;
  --rule: #1D2942; --rule-2: #2A3A5C;
  --text: #E8ECF5; --text-2: #C5CEE0; --muted: #8D9AB4;
  --gold: #C6A15B; --gold-2: #E8D9B0; --gold-ink: #0B0F18; --link: #E8D9B0; --focus: #F2E3B8;
  --brand-blue: #2C6FE3; --brand-green: #0DAE3A; 
  --kicker: #0DAE3A;
  --plate-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .45), 0 10px 28px rgba(0, 0, 0, .4);
  --plate-shadow-up: 0 0 0 1px rgba(255, 255, 255, .1), 0 2px 4px rgba(0, 0, 0, .45), 0 16px 36px rgba(0, 0, 0, .46);
  --danger: #FF8A8A; --danger-bg: #2A1015; --danger-rule: #6B2530;
  --warn: #F5C46B; --warn-bg: #241B0A; --ok: #6BDCA4; --ok-bg: #0C2219; --info: #7FB0FF; --info-bg: #0E1A33;
  --t-system: #6EA8FF; --t-process: #B39DFF; --t-state: #F5C451; --t-signal: #F98CC5; --t-condition: #FF8E8E;
  --t-nutrient: #6BDCA4; --t-molecule: #4FD6EE; --t-supplement: #FDA766; --t-lifestyle: #45D6C3; --t-test: #C4CEE0;
  --g-established: #6BDCA4; --g-supported: #7FB0FF; --g-emerging: #F5C451; --g-contested: #FF8E8E;
  --c-gut: #7BD9A0; --c-immune: #FF8E8E; --c-energy: #F5C451; --c-hormones: #B39DFF;
  --c-heart: #FF7A9A; --c-body: #6EA8FF; --c-rhythm: #4FD6EE; --c-brain: #F98CC5;
  --edge: rgba(150, 175, 225, .17); --star: #B9C8EA;
  --glass: rgba(14, 21, 38, .78);
  --bv-shell: #7FD3FF; --bv-dim: #6683B4;
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, .35);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .04);
  --body-weight: 300;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --bg: #070B14; --bg-2: #0A1120; --panel: #0E1526; --panel-2: #121B30; --panel-3: #17223A;
    --rule: #1D2942; --rule-2: #2A3A5C;
    --text: #E8ECF5; --text-2: #C5CEE0; --muted: #8D9AB4;
    --gold: #C6A15B; --gold-2: #E8D9B0; --gold-ink: #0B0F18; --link: #E8D9B0; --focus: #F2E3B8;
    --brand-blue: #2C6FE3; --brand-green: #0DAE3A; 
    --kicker: #0DAE3A;
    --plate-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .45), 0 10px 28px rgba(0, 0, 0, .4);
    --plate-shadow-up: 0 0 0 1px rgba(255, 255, 255, .1), 0 2px 4px rgba(0, 0, 0, .45), 0 16px 36px rgba(0, 0, 0, .46);
    --danger: #FF8A8A; --danger-bg: #2A1015; --danger-rule: #6B2530;
    --warn: #F5C46B; --warn-bg: #241B0A; --ok: #6BDCA4; --ok-bg: #0C2219; --info: #7FB0FF; --info-bg: #0E1A33;
    --t-system: #6EA8FF; --t-process: #B39DFF; --t-state: #F5C451; --t-signal: #F98CC5; --t-condition: #FF8E8E;
    --t-nutrient: #6BDCA4; --t-molecule: #4FD6EE; --t-supplement: #FDA766; --t-lifestyle: #45D6C3; --t-test: #C4CEE0;
    --g-established: #6BDCA4; --g-supported: #7FB0FF; --g-emerging: #F5C451; --g-contested: #FF8E8E;
    --c-gut: #7BD9A0; --c-immune: #FF8E8E; --c-energy: #F5C451; --c-hormones: #B39DFF;
    --c-heart: #FF7A9A; --c-body: #6EA8FF; --c-rhythm: #4FD6EE; --c-brain: #F98CC5;
    --edge: rgba(150, 175, 225, .17); --star: #B9C8EA;
    --glass: rgba(14, 21, 38, .78);
    --bv-shell: #7FD3FF; --bv-dim: #6683B4;
    --shadow: 0 18px 50px rgba(0, 0, 0, .5);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, .35);
    --lift: inset 0 1px 0 rgba(255, 255, 255, .04);
    --body-weight: 300;
  }
}
:root[data-text="large"] { --fs: 1.1875rem; }
:root[data-text="xlarge"] { --fs: 1.3125rem; }
:root[data-contrast="more"] { --muted: var(--text-2); --rule: var(--rule-2); --edge: rgba(150, 175, 225, .32); }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; min-height: 100vh; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs); font-weight: var(--body-weight); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.has-field { background-image: radial-gradient(1100px 520px at 88% -8%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 62%), radial-gradient(900px 520px at -8% 18%, color-mix(in srgb, var(--t-system) 7%, transparent), transparent 62%); background-repeat: no-repeat; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--text); text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -.02em; }
h3 { font-size: 1.3125rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .3em 0; }
small, .small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
blockquote, .pull { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.25em; line-height: 1.5; color: var(--text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.read { max-width: var(--read); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon .fillme { fill: currentColor; stroke: none; }
.is-hidden { display: none !important; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 80%, transparent); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 17px 6px 9px; border-radius: 15px; text-decoration: none; color: var(--logo-blue);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 55%, #F4F7FB 100%); box-shadow: var(--plate-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.brand:hover { transform: translateY(-1px); box-shadow: var(--plate-shadow-up); }
.brand:focus-visible { border-radius: 15px; }
.brand__mark { width: auto; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1.05; min-width: 0; }
.brand__name { font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; white-space: nowrap; }
.brand__name .b1, .brand__name .b3 { color: var(--logo-blue); } .brand__name .b2 { color: var(--logo-green); }
.brand__tm { font-size: .46em; font-weight: 600; color: var(--logo-blue); vertical-align: super; line-height: 0; margin-left: .06em; letter-spacing: 0; }
.brand__tag { font-size: .7rem; font-weight: 600; letter-spacing: .03em; color: var(--logo-motto); white-space: nowrap; margin-top: 3px; }
@media (prefers-reduced-motion: reduce) { .brand, .brand:hover { transition: none; transform: none; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 6px 0 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__list a, .nav__more { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: .95rem; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav__list a:hover, .nav__more:hover { background: var(--panel-2); color: var(--text); }
.nav__list a[aria-current="page"], .nav__more[data-current] { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--gold); }
.nav__menu a[aria-current="page"] { color: var(--text); background: var(--panel-2); box-shadow: none; }
.nav__more .icon { width: .9em; height: .9em; transition: transform .2s ease; }
.nav__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { position: relative; }
.nav__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow), var(--lift); padding: 8px; list-style: none; margin: 0; display: none; }
.nav__menu.is-open { display: block; animation: pop .16s ease-out; }
.nav__menu a { display: flex; padding: 10px 12px; width: 100%; }
.nav__menu .sep { border-top: 1px solid var(--rule); margin: 6px 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel); color: var(--text); cursor: pointer; font: inherit; font-size: .92rem; font-weight: 500; text-decoration: none; box-shadow: var(--lift); }
.icon-btn:hover { border-color: var(--rule-2); background: var(--panel-2); }
.icon-btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn[aria-pressed="true"], .icon-btn.has-filters { border-color: var(--gold); color: var(--gold-2); }
.search-btn kbd { font-family: inherit; font-size: .72rem; padding: 2px 7px; border: 1px solid var(--rule-2); border-radius: 6px; color: var(--muted); }
.search-btn .lbl { color: var(--muted); }
.menu-btn { display: none; }
@media (max-width: 1180px) { .nav__list { display: none; } .menu-btn { display: inline-flex; } }
.site-header .menu-btn { background: var(--logo-green); border-color: var(--logo-green); color: #FFFFFF; box-shadow: none; }
.site-header .menu-btn:hover { background: #036A1D; border-color: #036A1D; }
.theme-sw { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 2px; border: 0; background: none; cursor: pointer; border-radius: 999px; flex: none; }
.theme-sw__track { position: relative; display: inline-flex; align-items: center; justify-content: space-between; width: 60px; height: 32px; padding: 0 7px; border-radius: 999px; background: var(--logo-blue); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.theme-sw__track .icon { position: relative; z-index: 1; width: 16px; height: 16px; color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.theme-sw__thumb { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .22s cubic-bezier(.3, .7, .3, 1); }
.theme-sw__track .icon:first-of-type { color: #B7791F; }
:root[data-theme="dark"] .theme-sw__thumb { transform: translateX(28px); }
:root[data-theme="dark"] .theme-sw__track .icon:first-of-type { color: rgba(255, 255, 255, .72); }
:root[data-theme="dark"] .theme-sw__track .icon:last-of-type { color: var(--logo-blue); }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .theme-sw__thumb { transform: translateX(28px); }
  :root[data-theme="system"] .theme-sw__track .icon:first-of-type { color: rgba(255, 255, 255, .72); }
  :root[data-theme="system"] .theme-sw__track .icon:last-of-type { color: var(--logo-blue); }
}
.theme-sw:hover .theme-sw__track { background: #0645B8; }
.theme-sw:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
:root[data-motion="reduce"] .theme-sw__thumb, :root[data-motion="reduce"] .theme-sw__track .icon { transition: none; }
@media (prefers-reduced-motion: reduce) { .theme-sw__thumb, .theme-sw__track .icon { transition: none; } }
@media (max-width: 1400px) and (min-width: 1181px) { .search-btn kbd, .search-btn .lbl { display: none; } .nav__list a, .nav__more { padding: 9px 11px; } }
@media (max-width: 640px) { .search-btn kbd, .search-btn .lbl { display: none; } }
@media (max-width: 400px) { .brand { padding: 5px 13px 5px 7px; gap: 8px; border-radius: 13px; } .brand:focus-visible { border-radius: 13px; } .brand__mark { height: 34px; } .brand__name { font-size: 1.08rem; } .brand__tag { font-size: .62rem; margin-top: 2px; } }
@media (max-width: 360px) {
  .site-header__bar { gap: 8px; }
  .site-header__bar .brand { padding: 4px 10px 4px 6px; gap: 6px; border-radius: 12px; } .site-header__bar .brand:focus-visible { border-radius: 12px; } .site-header__bar .brand__mark { height: 31px; } .site-header__bar .brand__name { font-size: 1rem; } .site-header__bar .brand__tag { display: none; }
  .site-header .icon-btn { min-width: 40px; height: 40px; padding: 0 9px; border-radius: 11px; }
}
a[href^="tel:"]:not(.helpline) { white-space: nowrap; }
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(3, 6, 12, .62); animation: fade .2s ease-out; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(90vw, 390px); background: var(--panel); border-left: 1px solid var(--rule); padding: 14px 16px 24px; overflow-y: auto; box-shadow: var(--shadow); animation: slidein .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.drawer__nav { list-style: none; padding: 0; margin: 0; }
.drawer__nav li { margin: 0; }
.drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; }
.drawer__nav a .icon { color: var(--muted); }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: var(--panel-2); }
.drawer__group { margin: 16px 0 4px; font-size: .82rem; font-weight: 600; color: var(--gold-2); padding: 0 10px; }
.drawer__help { margin-top: 18px; padding: 14px; border-radius: var(--r); background: var(--danger-bg); border: 1px solid var(--danger-rule); font-size: .92rem; }
.drawer__help a { color: var(--danger); font-weight: 600; }
main { display: block; }
.section { padding: clamp(44px, 6vw, 88px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section--plate { background: var(--bg-2); border-block: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 58ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--text-2); max-width: 62ch; line-height: 1.6; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 500; font-size: .95rem; margin-bottom: 10px; }
.crumbs { font-size: .86rem; color: var(--muted); margin: 20px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--rule-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) and (min-width: 701px) { .grid--3.grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3:not(.grid--even) { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 13px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: linear-gradient(180deg, #8F6E2E, #6F531B); color: #fff; box-shadow: 0 10px 26px color-mix(in srgb, var(--gold) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold:hover { box-shadow: 0 14px 34px color-mix(in srgb, var(--gold) 42%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
:root[data-theme="dark"] .btn--gold { background: linear-gradient(180deg, #DDBD7E, var(--gold)); color: #0B0F18; }
@media (prefers-color-scheme: dark) { :root[data-theme="system"] .btn--gold { background: linear-gradient(180deg, #DDBD7E, var(--gold)); color: #0B0F18; } }
.btn--ghost { background: color-mix(in srgb, var(--panel) 40%, transparent); color: var(--text); border-color: var(--rule-2); }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--gold); }
.btn--soft { background: var(--panel-2); color: var(--text); border-color: var(--rule); box-shadow: var(--lift); }
.btn--soft:hover { border-color: var(--rule-2); }
.btn--soft[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 11px; gap: 8px; }
.btn--danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-rule); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.is-stacked, .tidy-row.is-stacked { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
.btn-row.is-stacked > :not(.visually-hidden), .tidy-row.is-stacked > :not(.visually-hidden) { width: 100%; max-width: none; margin-inline: 0; justify-content: center; }
.tidy-row.is-stacked > .chip { justify-content: flex-start; text-align: left; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { margin: 0; }
@media (max-width: 600px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 48px 4px 2px; margin-inline: -2px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll > * { flex: none; scroll-snap-align: start; }
  .chips--scroll { width: 100%; min-width: 0; contain: inline-size; }
}
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--panel); color: var(--text-2); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--panel-3); color: var(--text); border-color: color-mix(in srgb, currentColor 55%, var(--rule-2)); }
.chip[aria-pressed="false"] { opacity: .55; }
.chip[aria-pressed="false"] .swatch { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.chip .swatch { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.chip.t-system, .chip.t-process, .chip.t-state, .chip.t-signal, .chip.t-condition, .chip.t-nutrient, .chip.t-molecule, .chip.t-supplement, .chip.t-lifestyle, .chip.t-test { color: var(--text-2); }
.chip.t-system .swatch { background: var(--t-system); } .chip.t-process .swatch { background: var(--t-process); } .chip.t-state .swatch { background: var(--t-state); }
.chip.t-signal .swatch { background: var(--t-signal); } .chip.t-condition .swatch { background: var(--t-condition); } .chip.t-nutrient .swatch { background: var(--t-nutrient); }
.chip.t-molecule .swatch { background: var(--t-molecule); } .chip.t-supplement .swatch { background: var(--t-supplement); } .chip.t-lifestyle .swatch { background: var(--t-lifestyle); }
.chip.t-test .swatch { background: var(--t-test); }
.chip[aria-pressed="false"].t-system .swatch, .chip[aria-pressed="false"].t-process .swatch, .chip[aria-pressed="false"].t-state .swatch, .chip[aria-pressed="false"].t-signal .swatch, .chip[aria-pressed="false"].t-condition .swatch, .chip[aria-pressed="false"].t-nutrient .swatch, .chip[aria-pressed="false"].t-molecule .swatch, .chip[aria-pressed="false"].t-supplement .swatch, .chip[aria-pressed="false"].t-lifestyle .swatch, .chip[aria-pressed="false"].t-test .swatch { background: transparent; }
.t-system { color: var(--t-system); } .t-process { color: var(--t-process); } .t-state { color: var(--t-state); } .t-signal { color: var(--t-signal); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; }
.t-condition { color: var(--t-condition); } .t-nutrient { color: var(--t-nutrient); } .t-molecule { color: var(--t-molecule); } .t-supplement { color: var(--t-supplement); }
.t-lifestyle { color: var(--t-lifestyle); } .t-test { color: var(--t-test); } .t-gold { color: var(--gold-2); }
.type-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.type-badge .icon { width: 1.25em; height: 1.25em; }
.kt { margin: 0; text-wrap: pretty; }
.kt > .kt__title { display: inline; margin: 0; font-size: 1em; line-height: inherit; }
.kt__tag { display: inline-flex; align-items: center; gap: .36em; vertical-align: middle; margin: 0 .62rem .14em 0; padding: .16em .66em .16em .5em; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 34%, transparent); background: color-mix(in srgb, currentColor 9%, transparent); font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
.kt__tag .icon { width: 1.2em; height: 1.2em; flex: none; }
.kt__tag > span { color: var(--text-2); }
.nw { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); white-space: nowrap; line-height: 1.6; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--established { color: var(--g-established); } .badge--supported { color: var(--g-supported); }
.badge--emerging { color: var(--g-emerging); } .badge--contested { color: var(--g-contested); }
.chip.badge--established, .chip.badge--supported, .chip.badge--emerging, .chip.badge--contested { background: var(--panel); font-size: .9rem; padding: 6px 14px; line-height: inherit; }
.chip.c-gut .swatch { background: var(--c-gut); } .chip.c-immune .swatch { background: var(--c-immune); } .chip.c-energy .swatch { background: var(--c-energy); }
.chip.c-hormones .swatch { background: var(--c-hormones); } .chip.c-heart .swatch { background: var(--c-heart); } .chip.c-body .swatch { background: var(--c-body); }
.chip.c-rhythm .swatch { background: var(--c-rhythm); } .chip.c-brain .swatch { background: var(--c-brain); }
.chip[aria-pressed="false"][class*=" c-"] .swatch { background: transparent; }
.callout { border: 1px solid var(--rule-2); border-left: 3px solid var(--gold); background: var(--panel); border-radius: var(--r-sm); padding: 16px 18px; margin: 1.25rem 0; box-shadow: var(--lift); }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3, .callout h4 { margin-top: 0; font-size: 1.06rem; }
.callout__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.callout--urgent { border-color: var(--danger-rule); border-left-color: var(--danger); background: var(--danger-bg); }
.callout--urgent .callout__label, .callout--urgent h2, .callout--urgent h3 { color: var(--danger); }
.callout--urgent a { color: var(--danger); font-weight: 600; }
.callout--warn { border-left-color: var(--warn); background: var(--warn-bg); }
.callout--ok { border-left-color: var(--ok); background: var(--ok-bg); }
.callout--info { border-left-color: var(--info); background: var(--info-bg); }
.callout--myth { border-left-color: var(--g-contested); }
.callout--myth .callout__label { color: var(--g-contested); }
.hero { position: relative; min-height: min(90vh, 920px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--rule); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; touch-action: pan-y; opacity: 0; transition: opacity .9s ease; }
.hero__canvas.is-ready { opacity: 1; }
.hero__canvas.is-over-node { cursor: pointer; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 32%, color-mix(in srgb, var(--bg) 25%, transparent) 56%, transparent 72%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; background: linear-gradient(0deg, var(--bg), transparent); }
.hero__content { width: min(100% - 32px, var(--wrap)); margin-inline: auto; padding: clamp(40px, 7vw, 96px) 0; }
.hero__inner { max-width: 600px; }
.hero__kicker { max-width: 30ch; margin: 0 0 .55em; color: var(--kicker); font-size: clamp(1.12rem, 1rem + .6vw, 1.4rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.6em; }
.hero__foot { margin-top: 26px; color: var(--muted); font-size: .92rem; max-width: 52ch; }
.hero__tip { position: absolute; right: 24px; bottom: 22px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--rule-2); font-size: .85rem; color: var(--text-2); opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__tip.is-on { opacity: 1; transform: none; }
.hero__noscript { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 60% at 70% 45%, color-mix(in srgb, var(--t-system) 16%, transparent), transparent 70%); }
@media (max-width: 979px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero__canvas { position: relative; inset: auto; height: 58vh; min-height: 340px; max-height: 560px; z-index: 0; }
  .hero::before { background: linear-gradient(180deg, transparent 0, transparent 44vh, var(--bg) 58vh); }
  .hero::after { display: none; }
  .hero__content { margin-top: -14vh; position: relative; z-index: 1; padding-top: 0; }
  .hero__inner { max-width: 100%; }
}
.safety { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel-2); }
.safety > .icon { width: 26px; height: 26px; color: var(--link); }
.safety p { margin: 0; }
.safety strong { color: var(--text); }
@media (max-width: 760px) { .safety { grid-template-columns: auto minmax(0, 1fr); } .safety .btn-row { grid-column: 1 / -1; } }
.grammar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 960px) { .grammar { grid-template-columns: 1fr; } }
.plate { position: relative; border-radius: var(--r-xl); border: 1px solid var(--rule); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--t-molecule) 7%, transparent), transparent 60%), var(--panel); padding: clamp(20px, 3vw, 32px); box-shadow: var(--lift); }
.plate h3 { margin-bottom: .3em; }
.plate > p { color: var(--muted); }
.typekey { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.typekey li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; margin: 0; }
.typekey .node-dot { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid currentColor; background: color-mix(in srgb, currentColor 13%, var(--panel)); box-shadow: 0 0 18px color-mix(in srgb, currentColor 40%, transparent); }
.typekey .node-dot .icon { width: 20px; height: 20px; }
.typekey strong { display: block; color: var(--text); font-size: .98rem; }
.typekey span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 520px) { .typekey { grid-template-columns: 1fr; } }
.linekey { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.linekey li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin: 0; }
.linekey svg { width: 96px; height: 16px; overflow: visible; }
.linekey line { stroke-width: 2.4; stroke-linecap: round; }
.linekey strong { display: block; }
.linekey span { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }
.ln-established line { stroke: var(--g-established); } .ln-supported line { stroke: var(--g-supported); }
.ln-emerging line { stroke: var(--g-emerging); stroke-dasharray: 8 6; } .ln-contested line { stroke: var(--g-contested); stroke-dasharray: 1 6; }
.ln-gold line { stroke: var(--gold); stroke-width: 4; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) and (min-width: 701px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr; } }
.way { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); color: var(--text); text-decoration: none; overflow: hidden; box-shadow: var(--lift); transition: border-color .18s ease, transform .18s ease; }
.way:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); transform: translateY(-2px); }
.way h3 { margin: 0; font-size: 1.25rem; }
.way p { margin: 0; color: var(--text-2); font-size: .97rem; }
.way__go { margin-top: auto; padding-top: 8px; color: var(--gold-2); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.way__visual { height: 112px; margin: -4px 0 6px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--rule); padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; font-size: .86rem; }
.mini-q { align-self: flex-end; background: var(--panel-3); border: 1px solid var(--rule-2); padding: 5px 10px; border-radius: 12px 12px 4px 12px; color: var(--text-2); }
.mini-a { align-self: flex-start; background: var(--panel); border: 1px solid var(--rule); padding: 5px 10px; border-radius: 12px 12px 12px 4px; color: var(--text-2); }
.mini-a b { color: var(--t-nutrient); font-weight: 600; }
.mini-steps { display: flex; align-items: center; gap: 0; }
.mini-steps i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); background: var(--panel); flex: none; }
.mini-steps i.on { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.mini-steps em { flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), var(--rule-2)); }
.mini-range { position: relative; height: 10px; border-radius: 999px; display: flex; overflow: hidden; }
.mini-range span { flex: 1; }
.mini-range .r1 { background: color-mix(in srgb, var(--info) 55%, transparent); } .mini-range .r2 { background: color-mix(in srgb, var(--ok) 60%, transparent); flex: 1.6; } .mini-range .r3 { background: color-mix(in srgb, var(--warn) 55%, transparent); }
.mini-mark { position: relative; height: 16px; margin-top: -2px; }
.mini-mark i { position: absolute; left: 47%; top: 0; width: 3px; height: 16px; border-radius: 2px; background: var(--text); }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mini-list li { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.mini-list .icon { width: 1em; height: 1em; }
.grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .grades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grades { grid-template-columns: 1fr; } }
.grade-card { padding: 18px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel); box-shadow: var(--lift); }
.grade-card p { margin: 8px 0 0; font-size: .92rem; color: var(--text-2); }
.grade-card .count { display: block; margin-top: 10px; font-size: .86rem; color: var(--muted); }
.sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 22px 0 0; }
@media (max-width: 900px) { .sources { grid-template-columns: 1fr; } }
.sources li { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.sources span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.tour-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; margin-bottom: 18px; }
@media (max-width: 900px) { .tour-feature { grid-template-columns: 1fr; } }
.tourcard { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); text-decoration: none; color: var(--text); box-shadow: var(--lift); transition: border-color .18s ease, transform .18s ease; }
.tourcard:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); transform: translateY(-2px); }
.tourcard h3, .tourcard h2 { margin: 0; font-size: 1.15rem; }
.tourcard h2 a, .tourcard h3 a { color: var(--text); text-decoration: none; }
.tourcard h2 a:hover, .tourcard h3 a:hover { color: var(--gold-2); text-decoration: underline; }
.tourcard p { margin: 0; color: var(--text-2); font-size: .95rem; }
.tourcard .meta { margin-top: auto; padding-top: 8px; color: var(--muted); font-size: .86rem; display: flex; gap: 14px; flex-wrap: wrap; }
.tourcard--big { padding: clamp(22px, 3vw, 34px); background: radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 60%), var(--panel); }
.tourcard--big h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.tourcard .steps-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.tourcard .steps-line li { margin: 0; font-size: .82rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--text-2); }
.appnote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 22px; align-items: center; padding: clamp(18px, 3vw, 26px); border-radius: var(--r-xl); border: 1px solid var(--rule); background: var(--panel-2); box-shadow: var(--lift); }
.appnote__icon { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--t-system); background: color-mix(in srgb, var(--t-system) 10%, transparent); border: 1px solid color-mix(in srgb, var(--t-system) 28%, transparent); }
.appnote__icon .icon { width: 28px; height: 28px; }
.appnote h2 { font-size: 1.25rem; margin: 0 0 .3em; }
.appnote p { margin: 0; color: var(--text-2); max-width: 70ch; }
.appnote__platforms { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.appnote__platforms li { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--panel); font-size: .9rem; color: var(--muted); }
.appnote__platforms li strong { color: var(--text); font-weight: 600; margin-right: 4px; }
.appnote__platforms .icon { width: 18px; height: 18px; color: var(--text-2); }
.appnote__how { grid-column: 2; justify-self: start; }
@media (max-width: 760px) { .appnote { grid-template-columns: 1fr; } .appnote__platforms, .appnote__how { grid-column: 1; } }
.venture { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-xl); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); background: linear-gradient(115deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent 55%), var(--panel); }
.venture__seal { width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold-2); }
.venture__seal .icon { width: 30px; height: 30px; }
.venture h2 { font-size: 1.35rem; margin: 0 0 .3em; }
.venture p { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .venture { grid-template-columns: 1fr; } }
.page-head { padding: 10px 0 8px; }
.page-head h1 { margin: 14px 0 10px; }
.page-head .lead { margin-bottom: 0; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--muted); font-size: .92rem; margin-top: 14px; }
.topic-head { position: relative; padding: 8px 0 26px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.topic-head::before { content: ""; position: absolute; inset: -40px calc(50% - 50vw) 0 calc(50% - 50vw); z-index: -1; background: radial-gradient(700px 260px at 18% 0%, color-mix(in srgb, var(--accent, var(--gold)) 13%, transparent), transparent 70%); pointer-events: none; }
.topic-head .kt { margin: 12px 0 8px; font-size: clamp(1.75rem, 1.05rem + 2.9vw, 3.6rem); line-height: 1.12; }
.topic-head .kt__tag { font-size: clamp(.78rem, .7rem + .3vw, 1rem); }
.aka { color: var(--muted); font-size: .98rem; margin: 0 0 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.toolbar__more { display: contents; }
@media (max-width: 600px) {
  .toolbar { display: grid; gap: 8px; }
  .toolbar__main { justify-content: center; }
  .toolbar__more { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  .toolbar__more .btn { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 6px 4px; font-size: .76rem; line-height: 1.15; text-align: center; white-space: normal; }
  .toolbar__more .btn .icon { width: 17px; height: 17px; }
  .tb-long { display: none; }
}
.acc-system { --accent: var(--t-system); } .acc-process { --accent: var(--t-process); } .acc-state { --accent: var(--t-state); } .acc-signal { --accent: var(--t-signal); }
.acc-condition { --accent: var(--t-condition); } .acc-nutrient { --accent: var(--t-nutrient); } .acc-molecule { --accent: var(--t-molecule); } .acc-supplement { --accent: var(--t-supplement); }
.acc-lifestyle { --accent: var(--t-lifestyle); } .acc-test { --accent: var(--t-test); }
.layout-article { display: grid; grid-template-columns: 210px minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding-bottom: 72px; }
@media (max-width: 1240px) { .layout-article { grid-template-columns: minmax(0, 1fr) 320px; } .toc { display: none; } }
@media (max-width: 980px) { .layout-article { grid-template-columns: 1fr; gap: 28px; } }
.toc { position: sticky; top: calc(var(--header-h) + 22px); font-size: .9rem; }
.toc p { font-weight: 600; color: var(--text); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--gold); }
.article { min-width: 0; max-width: var(--read); }
.article > section { scroll-margin-top: calc(var(--header-h) + 20px); }
.article h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.article h2:first-child { margin-top: 0; }
.article .summary { font-size: 1.2em; line-height: 1.55; color: var(--text); font-weight: 400; }
.side { position: sticky; top: calc(var(--header-h) + 22px); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) { .side { position: static; } }
.card { position: relative; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; box-shadow: var(--lift); }
.card h2, .card h3 { font-size: 1.05rem; margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.keypoints { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 1.4rem; }
.keypoints li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 0; padding: 13px 16px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--rule); }
.keypoints li .icon { color: var(--accent, var(--gold)); margin-top: 3px; }
details.deeper { border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--panel); margin: 1rem 0; }
details.deeper > summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
details.deeper > summary::-webkit-details-marker { display: none; }
details.deeper > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--gold); line-height: 1; }
details.deeper[open] > summary::after { content: "\2212"; }
details.deeper > div { padding: 0 16px 16px; }
.conn-group { margin: 0 0 20px; }
.conn-group h3 { font-size: 1rem; color: var(--text-2); font-weight: 600; margin-bottom: 8px; }
.conn-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.conn-list li { margin: 0; }
.conn { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--panel); }
.conn__icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 12%, var(--panel)); }
.conn__body { min-width: 0; }
.conn__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.conn__rel { color: var(--muted); font-size: .88rem; }
.conn__title a, .conn__name { color: var(--text); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.conn__title a:hover, .conn__name:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.conn__why { color: var(--text-2); font-size: .93rem; margin: 3px 0 0; }
.ego { margin-inline: 0; border-radius: var(--r); border: 1px solid var(--rule); background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--accent, var(--t-system)) 10%, transparent), transparent 72%), var(--bg-2); padding: 6px; }
.ego svg { width: 100%; height: auto; display: block; }
.ego text { font-family: var(--font); font-size: 12.5px; fill: var(--text-2); }
.ego .ego-centre text { fill: var(--text); font-weight: 600; font-size: 14px; }
.ego .ego-edge { stroke: currentColor; stroke-width: 1.5; opacity: .55; fill: none; }
.ego .ego-edge.g-emerging { stroke-dasharray: 6 5; } .ego .ego-edge.g-contested { stroke-dasharray: 1.5 5; stroke-linecap: round; }
.ego .ego-n circle { fill: var(--panel); stroke: currentColor; stroke-width: 2; }
.ego .ego-n .glow { fill: currentColor; stroke: none; opacity: .14; }
.ego .ego-n use { stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ego a:hover circle, .ego a:focus-visible circle { stroke-width: 3; }
.ego .ego-n .hit { fill: transparent; stroke: none; pointer-events: all; }
.ego a:hover text, .ego a:focus-visible text { fill: var(--text); }
.ego a:focus-visible { outline: none; }
.refs { list-style: none; padding: 0; counter-reset: ref; display: grid; gap: 12px; margin: 0; }
.refs li { counter-increment: ref; position: relative; padding-left: 36px; margin: 0; font-size: .94rem; }
.refs li::before { content: counter(ref); position: absolute; left: 0; top: 1px; width: 25px; height: 25px; border-radius: 50%; background: var(--panel-3); border: 1px solid var(--rule-2); color: var(--gold-2); font-size: .76rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.refs__meta { display: block; color: var(--muted); font-size: .84rem; }
.src-line { display: flex; gap: 7px; align-items: flex-start; margin: 6px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.src-line .icon { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--gold); }
.src-line a { color: var(--text-2); text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-underline-offset: 2px; }
.src-line a:hover { color: var(--text); text-decoration-color: var(--gold); }
.lib-item .src-line { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rule); }
.ref-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ref-item { margin: 0; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--panel); scroll-margin-top: calc(var(--header-h) + 18px); overflow-wrap: anywhere; }
.ref-item:target { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 35%, transparent); }
.ref-item__title { font-weight: 600; }
.ref-item__meta { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.ref-item__used { margin: 6px 0 0; font-size: .88rem; color: var(--text-2); }
.ref-item__links { margin-top: 6px; font-size: .88rem; }
.ref-item__links summary { cursor: pointer; color: var(--text-2); min-height: 32px; display: flex; align-items: center; }
.ref-item__links ul { margin: 6px 0 0; padding-left: 1.1em; }
.lib-group h2 .count { font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.note-line { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 28px; }
.grade-line { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-grid .callout { margin: 0; }
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.qlist li { margin: 0; display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--panel); }
.qlist .btn { flex: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--panel); margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--text); background: var(--panel-2); }
tr:last-child td { border-bottom: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 22px; }
.filter-bar input[type="search"] { max-width: 380px; }
.filter-bar .count { color: var(--muted); font-size: .9rem; }
.index-group { margin: 0 0 34px; }
.index-group > h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.index-group > h2 .count { font-size: .9rem; color: var(--muted); font-weight: 400; }
.index-cols { columns: 3 280px; column-gap: 22px; list-style: none; padding: 0; margin: 0; }
.index-cols li { break-inside: avoid; margin: 0 0 8px; }
.index-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--panel); text-decoration: none; color: var(--text); transition: border-color .15s ease, background-color .15s ease; }
.index-item:hover { border-color: var(--gold); background: var(--panel-2); }
.index-item .ii-icon { width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 12%, var(--panel)); }
.index-item .ii-text { min-width: 0; }
.index-item .ii-name { display: block; font-weight: 600; color: var(--text); }
.index-item .ii-sub { display: block; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1000px) and (min-width: 641px) { .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .signal-grid { grid-template-columns: 1fr; } }
.signal-grid li { margin: 0; }
.signal-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.signal-card:hover { border-color: var(--t-signal); transform: translateY(-2px); }
.signal-card h3 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.signal-card p { margin: 0; font-size: .93rem; color: var(--text-2); }
.lib-cols { columns: 2 440px; column-gap: 18px; }
.lib-item { break-inside: avoid; margin: 0 0 18px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel); box-shadow: var(--lift); scroll-margin-top: calc(var(--header-h) + 18px); }
.lib-item h3 { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 1.12rem; margin-bottom: .3em; }
.lib-item .latin { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .95rem; margin: 0 0 6px; }
.lib-item dl { display: grid; grid-template-columns: 128px 1fr; gap: 7px 14px; margin: 10px 0 0; font-size: .94rem; }
.lib-item dt { color: var(--muted); font-weight: 500; }
.lib-item dd { margin: 0; color: var(--text-2); }
@media (max-width: 600px) { .lib-item dl { grid-template-columns: 1fr; } .lib-item dt { margin-top: 6px; } }
.lib-group { margin: 0 0 30px; }
.lib-group > h2 { font-size: 1.3rem; }
.gloss { columns: 2 420px; column-gap: 34px; margin: 0; }
.gloss div { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 18px); }
.gloss dt { font-weight: 600; color: var(--text); }
.gloss dd { margin: 4px 0 0; color: var(--text-2); font-size: .96rem; }
.gloss div:target { background: color-mix(in srgb, var(--gold) 10%, transparent); border-radius: 8px; padding-inline: 10px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; list-style: none; padding: 0; }
.az li { margin: 0; }
.az a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid var(--rule); text-decoration: none; color: var(--text-2); font-weight: 600; font-size: .88rem; background: var(--panel); }
.az a:hover { border-color: var(--gold); color: var(--text); }
.food-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 0; list-style: none; }
.food-tags li { margin: 0; }
.food-tags a { font-size: .82rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule-2); text-decoration: none; color: var(--text-2); }
.food-tags a:hover { border-color: var(--gold); color: var(--text); }
.field { display: grid; gap: 6px; margin-bottom: 16px; position: relative; }
.field label, .field legend { font-weight: 500; font-size: .96rem; color: var(--text); }
.field .hint { font-size: .86rem; color: var(--muted); }
input[type="text"], input[type="number"], input[type="search"], input[type="date"], input[type="time"], input[type="email"], input[type="password"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--bg-2); color: var(--text); font: inherit; font-weight: 400; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--gold); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; accent-color: var(--gold); margin: 0; flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check span { line-height: 1.5; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--rule); background: var(--bg-2); }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 10px; font-weight: 500; font-size: .93rem; color: var(--text-2); }
.seg input:checked + span { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--gold), var(--shadow-soft); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.inline-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .inline-fields { grid-template-columns: 1fr; } }
.error-text { color: var(--danger); font-size: .92rem; min-height: 1.3em; margin: 0; }
.unit-input { position: relative; }
.unit-input input { padding-right: 70px; }
.unit-input span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
@media (max-width: 920px) { .tool { grid-template-columns: 1fr; } }
.tool__form { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); box-shadow: var(--lift); }
.result { position: sticky; top: calc(var(--header-h) + 20px); min-height: 280px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--rule); background: radial-gradient(90% 90% at 100% 0%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 60%), var(--panel); display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 920px) { .result { position: static; } }
.result__empty { margin: auto; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.result__empty .icon { width: 34px; height: 34px; color: var(--rule-2); }
.result__head { animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.result__big { font-size: clamp(2.3rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin: 0; color: var(--text); }
.result__unit { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.result__label { font-size: 1.12rem; font-weight: 600; margin: 6px 0 0; }
.tone-ok .result__label { color: var(--ok); } .tone-warn .result__label { color: var(--warn); } .tone-danger .result__label { color: var(--danger); } .tone-info .result__label { color: var(--info); }
.result__notes { margin: 0; padding-left: 1.1em; color: var(--text-2); font-size: .95rem; }
.result__extra { padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--rule); }
.result__extra p { margin: 0; }
.scale-wrap { margin-top: 4px; }
.scale { height: 14px; border-radius: 999px; overflow: hidden; display: flex; border: 1px solid var(--rule-2); }
.scale__seg { height: 100%; flex-basis: 0; }
.scale__seg.tone-ok { background: color-mix(in srgb, var(--ok) 70%, transparent); } .scale__seg.tone-warn { background: color-mix(in srgb, var(--warn) 70%, transparent); }
.scale__seg.tone-danger { background: color-mix(in srgb, var(--danger) 70%, transparent); } .scale__seg.tone-info { background: color-mix(in srgb, var(--info) 60%, transparent); }
.scale-marker { position: relative; height: 22px; margin-top: -18px; }
.scale__mark { position: absolute; top: 0; width: 6px; height: 22px; border-radius: 3px; background: var(--text); box-shadow: 0 0 0 3px var(--panel); transform: translateX(-3px); transition: left .35s cubic-bezier(.2, .8, .2, 1); }
.scale-legend { display: flex; justify-content: space-between; gap: 6px; font-size: .78rem; color: var(--muted); margin-top: 8px; }
.working { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; background: var(--bg-2); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 12px 14px; white-space: pre-wrap; overflow-x: auto; color: var(--text-2); margin: 0 0 10px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal div { min-height: 52px; border-radius: 9px; border: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .78rem; line-height: 1.2; }
.cal__d { font-weight: 600; color: var(--text); }
.cal__date { color: var(--muted); font-size: .7rem; }
.p-men { background: color-mix(in srgb, var(--t-condition) 30%, transparent); }
.p-fol { background: color-mix(in srgb, var(--t-system) 18%, transparent); }
.p-ov { background: color-mix(in srgb, var(--gold) 45%, transparent); border-color: var(--gold) !important; }
.p-lut { background: color-mix(in srgb, var(--t-process) 18%, transparent); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: .85rem; color: var(--text-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--rule-2); }
.sleep-rows { display: grid; gap: 8px; }
.sleep-row { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--rule); }
.sleep-row strong { font-size: 1.2rem; min-width: 92px; }
.sleep-row span { color: var(--text-2); }
.tool-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) and (min-width: 641px) { .tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tool-cards { grid-template-columns: 1fr; } }
.tool-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; box-shadow: var(--lift); }
.tool-card:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); transform: translateY(-2px); }
.tool-card .ti { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel-3); color: var(--gold-2); border: 1px solid var(--rule-2); }
.tool-card .ti .icon { width: 24px; height: 24px; }
.tool-card h3 { margin: 4px 0 0; font-size: 1.1rem; }
.tool-card p { margin: 0; color: var(--text-2); font-size: .93rem; }
.app-body { overflow: hidden; }
.app-body .site-header__bar { width: calc(100% - 28px); max-width: none; }
.app-body .site-footer { display: none; }
.mapapp { position: relative; overflow: hidden; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--bg); }
.mapstage { position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.mapstage:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); }
.mapcanvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.mapcanvas.is-panning { cursor: grabbing; }
.mapcanvas.is-over-node { cursor: pointer; }
.mapcanvas.is-stretching { cursor: move; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 1rem; z-index: 5; text-align: center; padding: 24px; }
.map-loading.is-error { color: var(--warn); }
.glass { background: var(--glass); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border: 1px solid color-mix(in srgb, var(--rule-2) 75%, transparent); box-shadow: var(--shadow-soft); }
.mapapp__top { position: absolute; z-index: 20; top: 14px; left: 14px; right: 14px; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; pointer-events: none; }
.mapapp__top > * { pointer-events: auto; }
.mapsearch { position: relative; flex: 1 1 280px; max-width: 440px; }
.mapapp__top .mapsearch input { padding-left: 44px; height: 48px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); }
.mapsearch > .icon { position: absolute; left: 15px; top: 15px; color: var(--muted); z-index: 2; pointer-events: none; }
.mapsearch__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--panel); border: 1px solid var(--rule-2); border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; max-height: 52vh; overflow-y: auto; display: none; }
.field .mapsearch__list { top: 100%; }
.mapsearch__list.is-open { display: block; animation: pop .14s ease-out; }
.mapsearch__list li { margin: 0; }
.mapsearch__list button { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 500; cursor: pointer; }
.mapsearch__list button[aria-selected="true"], .mapsearch__list button:hover { background: var(--panel-3); }
.mapsearch__list small { color: var(--muted); display: block; font-weight: 400; font-size: .8rem; }
.mapsearch__empty { padding: 10px; color: var(--muted); font-size: .9rem; }
.opt-icon { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 12%, var(--panel)); }
.opt-icon .icon { width: 16px; height: 16px; }
.toolbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbtns .icon-btn { height: 48px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); }
@media (max-width: 760px) {
  .tb-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mapapp__top { top: 10px; gap: 6px; flex-wrap: nowrap; align-items: center; }
  .mapsearch { flex: 1 1 auto; min-width: 0; max-width: none; }
  .mapapp__top .mapsearch input { height: 42px; min-height: 42px; padding-left: 38px; border-radius: 12px; }
  .mapsearch > .icon { left: 12px; top: 12px; }
  .mapapp__top .mapsearch__list { right: auto; width: calc(100vw - 28px); }
  .toolbtns { flex: none; flex-wrap: nowrap; gap: 6px; }
  .toolbtns .icon-btn { width: 42px; min-width: 42px; height: 42px; padding: 0; border-radius: 12px; }
}
.zoomctl { position: absolute; z-index: 20; right: 14px; bottom: 18px; display: grid; gap: 6px; }
.zoomctl .icon-btn { width: 48px; height: 48px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); }
.minimap { position: absolute; z-index: 15; right: 76px; bottom: 18px; width: 196px; height: 124px; border-radius: 14px; cursor: crosshair; touch-action: none; transition: right .38s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.zoomctl { transition: right .38s cubic-bezier(.2, .8, .2, 1), bottom .3s ease; }
.mapapp { --pw-open: clamp(360px, 30vw, 540px); --pw: 0px; }
@media (min-width: 761px) and (max-width: 1023px) { .mapapp { --pw-open: min(360px, 47vw); } }
@media (min-width: 1680px) { .mapapp { --pw-open: clamp(760px, 42vw, 920px); } }
.mapapp.has-panel { --pw: var(--pw-open); }
.mapapp__top { transition: right .38s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 761px) {
  .mapapp.has-panel .mapapp__top { right: calc(var(--pw) + 14px); }
  .mapapp.has-panel .zoomctl { right: calc(var(--pw) + 14px); }
  .mapapp.has-panel .minimap { right: calc(var(--pw) + 76px); }
  .mapapp.has-panel .map-hint { opacity: 0; }
  .mapapp.has-panel .storybar { left: calc((100% - var(--pw)) / 2); width: min(720px, calc(100% - var(--pw) - 120px)); }
}
@media (min-width: 761px) and (max-width: 1100px) { .mapapp.has-panel .minimap { display: none; } }
@media (max-width: 760px) { .mapapp.has-panel .zoomctl { bottom: calc(46vh + 18px); } .mapapp.has-panel .zoomctl #zoom-fit { display: none; } }
@media (max-width: 1000px) { .minimap { display: none; } }
.legend { position: absolute; z-index: 15; left: 14px; bottom: 18px; border-radius: 16px; padding: 12px 14px; font-size: .8rem; color: var(--text-2); max-width: min(330px, calc(100vw - 100px)); }
.legend__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legend__head h2 { font-size: .86rem; margin: 0; }
.legend__toggle { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; display: inline-flex; }
.legend__toggle .icon { transition: transform .2s ease; }
.legend__toggle[aria-expanded="false"] .icon { transform: rotate(180deg); }
.legend__body { display: grid; gap: 8px; margin-top: 8px; }
.legend.is-collapsed .legend__body { display: none; }
.legend__row { display: flex; flex-wrap: wrap; gap: 5px 12px; }
.legend__item { display: inline-flex; align-items: center; gap: 6px; }
.legend__item .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.legend__item .lbl { color: var(--text-2); }
.legend__line { width: 26px; height: 0; border-top: 2px solid var(--muted); }
.legend__line.l-emerging { border-top-style: dashed; } .legend__line.l-contested { border-top-style: dotted; }
.legend__line.l-gold { border-top: 3px solid var(--gold); }
@media (max-width: 760px) { .legend { display: none; } }
.legend__hint { margin-left: auto; font-size: .74rem; color: var(--muted); }
.legend__toggle-type { background: none; border: 0; padding: 3px 4px; margin: -3px -4px; border-radius: 8px; font: inherit; cursor: pointer; }
.legend__toggle-type:hover { background: color-mix(in srgb, var(--panel-3) 80%, transparent); }
.legend__toggle-type[aria-pressed="false"] .dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.legend__toggle-type[aria-pressed="false"] .lbl { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.viewpill { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; max-width: 560px; min-height: 48px; padding: 6px 8px 6px 14px; border-radius: 999px; font-size: .86rem; color: var(--text); }
.viewpill .icon { color: var(--gold); }
.viewpill__text { font-weight: 500; }
.viewpill__btn { border: 1px solid var(--rule-2); background: var(--panel); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; min-height: 34px; }
.viewpill__btn:hover { border-color: var(--gold); }
.viewpill__btn--main { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.viewpill .vp-sm { display: none; }
@media (max-width: 760px) {
  .viewpill { position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-width: none; min-height: 0; border-radius: 16px; padding: 6px 6px 6px 12px; font-size: .8rem; }
  .viewpill { flex-wrap: nowrap; }
  .viewpill__text { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
  .viewpill .icon { display: none; }
  .viewpill__btn { min-height: 36px; padding: 6px 10px; white-space: nowrap; flex: none; }
  .viewpill .vp-lg { display: none; } .viewpill .vp-sm { display: inline; }
}
.lenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
.lens { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; min-height: 44px; }
.lens:hover { border-color: var(--gold); }
.lens[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--panel-3); }
.lens__label { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.lens__note { font-size: .76rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 420px) { .lens__note { display: none; } .lens { padding: 9px 10px; } }
.f-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.f-head__acts { display: inline-flex; gap: 12px; font-size: .86rem; }
.map-hint { position: absolute; z-index: 16; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; padding: 9px 16px; border-radius: 999px; font-size: .9rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; pointer-events: none; transition: opacity .6s ease, transform .6s ease; animation: rise .6s ease-out 1.2s both; }
.map-hint .icon { color: var(--gold); }
.map-hint.is-gone { animation: none; opacity: 0; transform: translate(-50%, 8px); }
.hint-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .hint-touch { display: inline; } .hint-mouse { display: none; } }
@media (max-width: 760px) { .map-hint { left: 12px; bottom: 18px; transform: none; max-width: calc(100% - 88px); white-space: normal; animation-name: fade; } .map-hint.is-gone { animation: none; transform: translateY(8px); } }
.edgetip { position: absolute; z-index: 22; left: 0; top: 0; width: 290px; padding: 12px 14px; border-radius: 14px; font-size: .86rem; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.edgetip.is-on { opacity: 1; }
.edgetip p { margin: 0 0 6px; }
.edgetip__rel { color: var(--text-2); }
.edgetip__rel strong { color: var(--text); }
.edgetip__why { color: var(--text-2); }
.edgetip__grade { margin: 0 !important; }
.edgetip__src { margin: 6px 0 0 !important; color: var(--muted); font-size: .8rem; }
.storybar p.src-line { margin: -6px 0 10px; }
.panel { position: absolute; z-index: 30; top: 0; right: 0; bottom: 0; width: var(--pw-open); border-radius: 0; border-width: 0 0 0 1px; display: flex; flex-direction: column; transform: translateX(calc(100% + 24px)); transition: transform .38s cubic-bezier(.2, .8, .2, 1); overflow: hidden; background: color-mix(in srgb, var(--panel) 90%, transparent); box-shadow: -22px 0 48px -30px rgba(0, 0, 0, .5); }
.panel.is-open { transform: none; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent, var(--gold)), color-mix(in srgb, var(--accent, var(--gold)) 15%, transparent)); opacity: .9; z-index: 2; }
.panel[data-type="system"] { --accent: var(--t-system); } .panel[data-type="process"] { --accent: var(--t-process); } .panel[data-type="state"] { --accent: var(--t-state); }
.panel[data-type="signal"] { --accent: var(--t-signal); } .panel[data-type="condition"] { --accent: var(--t-condition); } .panel[data-type="nutrient"] { --accent: var(--t-nutrient); }
.panel[data-type="molecule"] { --accent: var(--t-molecule); } .panel[data-type="supplement"] { --accent: var(--t-supplement); } .panel[data-type="lifestyle"] { --accent: var(--t-lifestyle); }
.panel[data-type="test"] { --accent: var(--t-test); } .panel[data-type="path"] { --accent: var(--gold); }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 16px 10px 20px; }
.panel__title { min-width: 0; flex: 1 1 0; font-size: 1.36rem; line-height: 1.25; }
.panel__head .aka { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.4; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel .panel__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 6px; }
.panel__head .panel__actions { flex: 1 0 100%; margin: 8px 0 0; }
.panel .panel__actions .btn { min-height: 50px; padding: 6px 4px; flex-direction: column; justify-content: center; gap: 3px; font-size: .76rem; line-height: 1.15; text-align: center; white-space: normal; }
.panel .panel__actions .btn .icon { width: 17px; height: 17px; }
.panel .panel__actions .btn .lockbadge .icon { width: 11px; height: 11px; }
.panel__btns { margin-left: auto; flex: none; display: inline-flex; gap: 6px; }
.panel__btns .icon-btn { width: 40px; min-width: 40px; height: 40px; padding: 0; border-radius: 12px; }
.panel__grow { display: none; }
.panel__grow .icon { transform: rotate(180deg); transition: transform .2s ease; }
.panel__grow[aria-expanded="true"] .icon { transform: none; }
.panel__tabs { display: flex; gap: 2px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--rule); overflow-x: auto; flex: none; }
.panel__tabs button { background: none; border: 0; padding: 12px 10px; font: inherit; font-size: .94rem; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.panel__tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent, var(--gold)); }
.panel__body { padding: 14px 18px 26px 20px; overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; }
.panel.is-wide .panel__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); padding: 0; overflow: hidden; border-top: 1px solid var(--rule); }
.panel.is-wide .panel__col { overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 28px 20px; min-height: 0; }
.panel.is-wide .panel__col + .panel__col { border-left: 1px solid var(--rule); padding-left: 18px; background: color-mix(in srgb, var(--panel-2) 45%, transparent); }
.panel__colhead { font-size: 1rem; margin: 2px 0 12px; }
.panel__srcs { margin-top: 18px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.panel__srcs > summary { cursor: pointer; padding: 10px 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.panel__srcs > :not(summary) { margin-left: 12px; margin-right: 12px; }
.panel__srcs[open] > summary { border-bottom: 1px solid var(--rule); }
.conn-list li.is-hot .conn, .conn-list li:hover .conn { border-color: color-mix(in srgb, var(--accent, var(--gold)) 70%, var(--rule)); box-shadow: inset 3px 0 0 var(--accent, var(--gold)); }
.panel__body .summary { font-weight: 400; font-size: 1.04rem; color: var(--text); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.panel__sub { font-size: 1rem; margin: 18px 0 10px; }
.panel .conn { padding: 10px 12px; background: color-mix(in srgb, var(--panel) 70%, transparent); }
.panel .keypoints li { padding: 10px 12px; background: color-mix(in srgb, var(--panel) 70%, transparent); }
@media (max-width: 760px) {
  .panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: 40vh; border-radius: 22px; border-width: 1px; transform: translateY(calc(100% + 30px)); transition: transform .38s cubic-bezier(.2, .8, .2, 1), height .3s ease; }
  .panel::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; background: var(--accent, var(--gold)); }
  .panel__head { padding: 10px 14px 8px 16px; }
  .panel.is-full { height: calc(100% - 16px); }
  .drawer-left { top: 8px; bottom: 8px; left: 8px; width: calc(100% - 16px); }
  .panel__grow { display: inline-flex; }
  .panel .aka { display: none; }
}
.storybar { position: absolute; z-index: 25; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(720px, calc(100% - 300px)); border-radius: 20px; padding: 16px 18px 18px; display: none; overflow: hidden; }
.storybar.is-open { display: block; animation: rise .3s ease-out; }
.storybar__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.storybar__head h2 { font-size: 1.02rem; margin: 0; flex: 1; min-width: 0; }
.storybar__step { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.storybar p { margin: 0 0 12px; color: var(--text-2); }
.storybar p strong { color: var(--text); }
.storybar .btn-row { justify-content: flex-end; }
.storybar .progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; border: 0; border-radius: 0; background: transparent; }
@media (max-width: 1000px) { .storybar { width: calc(100% - 90px); left: 12px; transform: none; } }
@media (max-width: 760px) { .storybar { width: auto; left: 8px; right: 8px; bottom: 8px; } }
.pathlist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 4px; }
.pathlist li { margin: 0; }
.pathnode { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.step-rel { display: grid; gap: 4px; margin: 2px 0 2px 9px; padding: 6px 0 8px 18px; border-left: 2px solid var(--gold); font-size: .9rem; color: var(--text-2); }
.step-rel strong { color: var(--gold-2); font-weight: 600; }
.step-rel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.step-why { color: var(--muted); font-size: .86rem; }
.listview { position: absolute; inset: 0; z-index: 26; overflow-y: auto; background: var(--bg); padding: 84px 16px 48px; display: none; }
:root { --bvs-line: #7FD3FF; --bvs-glow: #B4ECFF; --bvs-fill: #5DB6F2; --bvs-organ: #8DB2F0; --bvs-bone: #B7CAF0; --bvs-label: #EEF6FF;
  --bvs-label-bg: rgba(4, 17, 36, .88); --bvs-gold: #F2D98B;
  --bvs-t-system: #6EA8FF; --bvs-t-process: #B39DFF; --bvs-t-state: #F5C451; --bvs-t-signal: #F98CC5; --bvs-t-condition: #FF8E8E;
  --bvs-t-nutrient: #6BDCA4; --bvs-t-molecule: #4FD6EE; --bvs-t-supplement: #FDA766; --bvs-t-lifestyle: #45D6C3; --bvs-t-test: #C4CEE0;
  --bvs-stage: radial-gradient(85% 62% at 50% 40%, #15406F 0%, #0B2849 48%, #06172C 100%); }
.bodyview { position: absolute; z-index: 18; left: 14px; top: 74px; width: 124px; height: 216px; border-radius: 20px;
  transition: width .32s cubic-bezier(.2, .8, .2, 1), height .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
.bodyview__frame { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; touch-action: none; background: var(--bvs-stage);
  border: 1px solid rgba(127, 211, 255, .3); box-shadow: 0 12px 30px rgba(2, 10, 24, .32), inset 0 1px 0 rgba(255, 255, 255, .06); }
.bodyview__canvas { display: block; }
.bodyview__gl, .bodyview__over { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.bodyview__credit[hidden] { display: none !important; }
.bodyview__credit a { color: inherit; }
.bodyview__toggle { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; margin: 0; background: transparent; border-radius: inherit; cursor: zoom-in; }
.bodyview__toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.bodyview__cap { position: absolute; left: 8px; right: 8px; bottom: 7px; display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: .68rem; font-weight: 600; line-height: 1; letter-spacing: .01em; color: #DCEEFF; opacity: .86; pointer-events: none; }
.bodyview__cap .icon { width: 12px; height: 12px; }
@media (hover: hover) { .bodyview__toggle:hover .bodyview__cap { opacity: 1; } }
.bodyview__head, .bodyview__turn, .bodyview__info, .bodyview__organs, .bodyview__note { display: none; }
.bodyview.is-open { z-index: 33; display: flex; flex-direction: column; width: 404px; height: min(760px, calc(100% - 92px)); padding: 0 12px 12px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: var(--glass);
  border: 1px solid color-mix(in srgb, var(--rule-2) 75%, transparent); box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }
.bodyview.is-open > * { flex: none; }
.bodyview.is-open .bodyview__toggle { display: none; }
.bodyview.is-open .bodyview__head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 -12px; padding: 10px 12px 8px; background: var(--panel); }
.bodyview__title { font-size: 1rem; margin: 0; }
.bodyview__close { width: 36px; min-width: 36px; height: 36px; padding: 0; border-radius: 10px; }
.bodyview.is-open .bodyview__frame { position: relative; inset: auto; flex: 1 0 420px; border-radius: 16px; cursor: grab; }
.bodyview.is-open .bodyview__frame.is-pointing { cursor: pointer; }
.bodyview.is-open .bodyview__frame:active { cursor: grabbing; }
.bodyview__canvas:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 16px; }
.bodyview.is-open .bodyview__turn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 10px; }
.bodyview__turn .btn { justify-content: center; min-height: 36px; }
.bodyview.is-open .bodyview__sex { margin-top: -4px; }
.bodyview__turn .btn[aria-pressed="true"] { background: color-mix(in srgb, var(--gold) 16%, transparent); border-color: var(--gold); font-weight: 600; }
.bodyview__sexnote { display: none; }
.bodyview.is-open .bodyview__sexnote:not(:empty) { display: block; margin: -4px 0 10px; font-size: .76rem; color: var(--muted); }
.bodyview.is-open .bodyview__info { display: block; font-size: .86rem; color: var(--text-2); }
.bodyview__lead { margin: 0 0 4px; }
.bodyview__lead strong { color: var(--text); }
.bodyview__sub { font-size: .86rem; margin: 10px 0 6px; color: var(--gold-2); }
.bodyview__places { list-style: none; padding: 0; margin: 0 -6px; display: grid; gap: 2px; }
.bodyview__places > li { margin: 0; }
.bodyview__place { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 8px; row-gap: 1px; align-items: center; width: 100%; min-height: 44px; margin: 0;
  padding: 5px 6px; border: 0; border-radius: 10px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.bodyview__place:focus-visible { background: color-mix(in srgb, var(--bv-shell) 9%, transparent); }
@media (hover: hover) { .bodyview__place:hover { background: color-mix(in srgb, var(--bv-shell) 9%, transparent); } }
.bodyview__place:focus-visible { outline: 3px solid var(--focus); outline-offset: -1px; }
.bodyview__dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.bodyview__topic { font-weight: 600; line-height: 1.35; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.bodyview__where { grid-column: 2; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.bodyview.is-open .bodyview__organs { display: block; margin: 12px 0 0; }
.bodyview .bodyview__organs > summary { padding: 10px 12px; font-size: .88rem; }
.bodyview__organs > .bodyview__organ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 10px 10px; }
.bodyview__organ-grid .btn { justify-content: flex-start; text-align: left; min-height: 36px; padding: 6px 10px; font-size: .82rem; line-height: 1.25; }
.bodyview.is-open .bodyview__note { display: block; margin: 10px 0 0; font-size: .74rem; color: var(--muted); }
.bodyview.is-open .bodyview__credit { margin-top: 4px; }
.drawer-left.is-open ~ .bodyview, .listview.is-open ~ .bodyview { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 760px) {
  .bodyview { top: 62px; left: calc(10px + env(safe-area-inset-left)); width: 76px; height: 132px; border-radius: 16px; }
  .bodyview__cap-text { display: none; }
  .bodyview__cap { bottom: 5px; }
  .bodyview.is-open { left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); width: auto; top: 60px; height: calc(100% - 68px - env(safe-area-inset-bottom)); z-index: 34; }
  .bodyview.is-open .bodyview__frame { flex-basis: min(58vh, 480px); }
}
.bodyview--inline, .bodyview--inline.is-open { position: relative; left: auto; right: auto; top: auto; z-index: auto; width: auto; height: auto; padding: 0; overflow: visible;
  background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
.bodyview--inline.is-open .bodyview__head { position: static; margin: 0; padding: 0 0 8px; background: none; }
.bodyview--inline .bodyview__title { font-size: 1.05rem; }
.bodyview--inline.is-open .bodyview__frame { flex: none; height: 480px; border-radius: 18px; touch-action: pan-y; }
@media (max-width: 760px) { .bodyview--inline.is-open .bodyview__frame { height: 420px; } }
.mymap__head h2 { display: flex; align-items: center; gap: 10px; }
.mymap__intro { margin: 0 0 4px; color: var(--text-2); max-width: 72ch; }
.mymap__count { margin: 0 0 10px; }
.mymap__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.mymap__map { border: 1px solid var(--rule); border-radius: 16px; background: var(--panel-2); overflow: hidden; min-height: 120px; }
.mymap__single { padding: 18px; color: var(--text-2); }
.mymap__focus:empty { display: none; }
.mymap__card { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); }
.mymap__sub { font-size: 1.02rem; margin: 18px 0 8px; }
.mymap__lines { margin: 0 0 8px; padding-left: 1.1rem; }
.mymap__lines li { margin: 4px 0; }
.mymap__lines .badge { vertical-align: middle; }
.mymap__acts { margin-top: 14px; }
@media (max-width: 900px) { .mymap__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bodyview { transition: none; } }
:root[data-motion="reduce"] .bodyview { transition: none; }
@media print { .bodyview { display: none; } }
.listview.is-open { display: block; }
.listview__inner { max-width: 1080px; margin: 0 auto; }
.listview__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.listview__head h2 { margin: 0; }
.listview__group h3 { margin: 26px 0 10px; font-size: 1.1rem; color: var(--gold-2); }
.listview details { border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); margin-bottom: 8px; }
.listview summary { cursor: pointer; padding: 10px 14px; display: flex; align-items: center; gap: 12px; font-weight: 600; flex-wrap: wrap; }
.listview summary .small { font-weight: 400; }
.listview details > div { padding: 0 14px 14px; }
.drawer-left { position: absolute; z-index: 28; top: 76px; left: 12px; bottom: 12px; width: min(380px, calc(100% - 24px)); border-radius: 22px; display: flex; flex-direction: column; transform: translateX(calc(-100% - 30px)); transition: transform .34s cubic-bezier(.2, .8, .2, 1); }
.drawer-left.is-open { transform: none; }
.drawer-left:not(.is-open) { visibility: hidden; transition: transform .34s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .34s; }
.drawer-left__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.drawer-left__head h2 { font-size: 1.2rem; margin: 0; }
.drawer-left__body { padding: 6px 18px 24px; overflow-y: auto; overscroll-behavior: contain; }
.drawer-left h3 { font-size: .95rem; color: var(--gold-2); margin: 20px 0 8px; }
.drawer-left .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.drawer-left .chips .chip { justify-content: flex-start; min-width: 0; text-align: left; line-height: 1.25; border-radius: 14px; }
.tourpick { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.tourpick h3 { font-size: 1.02rem; margin: 0 0 4px; }
.tourpick p { margin: 0 0 4px; }
.tours-list { list-style: none; padding: 0; margin: 0; }
.ask-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
@media (max-width: 980px) { .ask-layout { grid-template-columns: 1fr; } }
.ask__log { display: grid; gap: 16px; margin-bottom: 18px; }
.msg { max-width: 94%; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--rule); background: var(--panel); animation: rise .3s ease-out; scroll-margin-top: calc(var(--header-h) + 20px); }
.msg--user { margin-left: auto; background: var(--panel-3); border-color: var(--rule-2); border-bottom-right-radius: 6px; }
.msg--bot { border-bottom-left-radius: 6px; box-shadow: var(--lift); }
.msg--bot h3 { font-size: 1.12rem; margin-bottom: .4em; display: flex; align-items: center; gap: 8px; }
.msg--bot h3:focus { outline: none; }
.msg--bot h3 .icon { color: var(--gold); }
.msg--bot h4 { margin: 14px 0 6px; font-size: 1rem; }
.msg--bot ul, .msg--bot ol { margin-bottom: .6em; }
.msg--bot li { margin: .4em 0; }
.msg__foot { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.ask__form { display: flex; gap: 10px; align-items: flex-end; position: sticky; bottom: 0; background: linear-gradient(0deg, var(--bg) 70%, transparent); padding: 14px 0; z-index: 5; }
.ask__form textarea { min-height: 54px; max-height: 160px; border-radius: 16px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.consult-head .lead { max-width: 70ch; }
.consult-privacy { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 0; padding: 8px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--text); font-size: .92rem; border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.consult-privacy .icon { color: var(--ok); }
.consult { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
@media (max-width: 1020px) { .consult { grid-template-columns: 1fr; } }
.consult__build { position: sticky; top: calc(var(--header-h) + 16px); background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--lift); }
@media (max-width: 1020px) { .consult__build { position: static; } }
.consult__build h2 { font-size: 1.15rem; margin-bottom: 12px; }
.consult__build h3 { font-size: .95rem; color: var(--gold-2); margin: 18px 0 8px; }
.cv-search label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.cv-chips { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.cv-chip { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 6px 6px 10px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel-2); }
.cv-chip__icon { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 10%, var(--panel)); flex: none; }
.cv-chip__icon .icon { width: 15px; height: 15px; }
.cv-chip__name { flex: 1; color: var(--text); font-weight: 500; font-size: .94rem; line-height: 1.3; }
.cv-chip__rm { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cv-chip__rm:hover { background: var(--panel-3); color: var(--text); }
.cv-empty { margin: 10px 0 0; }
.cv-suggest .chips { gap: 6px; }
.cv-suggest .chip { min-height: 34px; padding: 4px 11px; font-size: .84rem; }
.cv-suggest .chip .icon { width: .9em; height: .9em; }
.cv-actions { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.cv-actions #cv-present { grid-column: 1 / -1; }
.cv-actions > .btn:not(#cv-present) { grid-column: span 2; }
.cv-actions > #cv-share, .cv-actions > #cv-clear { grid-column: span 3; }
.cv-actions .btn:not(#cv-present) { flex-direction: column; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 6px; font-size: .82rem; line-height: 1.2; text-align: center; white-space: normal; }
.cv-actions .btn:not(#cv-present) .icon { width: 18px; height: 18px; }
.cv-examples { margin-top: 18px; }
.cv-examples summary { cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--gold-2); min-height: 40px; display: flex; align-items: center; gap: 8px; list-style: none; }
.cv-examples summary::-webkit-details-marker { display: none; }
.cv-examples summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s ease; margin-right: 2px; }
.cv-examples[open] summary::before { transform: rotate(45deg); }
.cv-cases { list-style: none; padding: 0; margin: 6px 0 8px; display: grid; gap: 6px; }
.cv-cases li { margin: 0; }
.cv-case { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel); color: var(--text); font: inherit; font-weight: 500; font-size: .93rem; cursor: pointer; text-align: left; }
.cv-case span { font-size: .8rem; color: var(--muted); font-weight: 400; white-space: nowrap; }
.cv-case:hover { border-color: var(--gold); }
.consult__board { min-width: 0; scroll-margin-top: calc(var(--header-h) + 12px); }
.cv-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.cv-stats:empty { display: none; }
.cv-stat { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.cv-stat strong { font-size: 1.5rem; line-height: 1.1; color: var(--text); font-weight: 600; letter-spacing: -.02em; }
.cv-stat span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 700px) { .cv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cv-stat:nth-child(n+4) { grid-column: span 1; } }
@media (max-width: 420px) { .cv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cv-stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.cv-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--rule); margin-bottom: 14px; scrollbar-width: thin; }
.cv-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 0; background: none; font: inherit; font-size: .94rem; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; min-height: 44px; }
.cv-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.cv-tabs [role="tab"]:hover { color: var(--text); }
.cv-mapbox { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift); }
.cv-placeholder { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 30px; text-align: center; color: var(--muted); }
.cv-placeholder .icon { width: 40px; height: 40px; color: var(--gold); }
.cv-map { display: block; width: 100%; height: auto; }
.cv-edge { fill: none; stroke: color-mix(in srgb, var(--text-2) 34%, transparent); stroke-width: 2; }
.cv-edge.is-direct { stroke: color-mix(in srgb, var(--text-2) 55%, transparent); stroke-width: 2.6; }
.cv-edge.g-emerging { stroke-dasharray: 7 6; }
.cv-edge.g-contested { stroke-dasharray: 2 5; stroke-linecap: round; }
.cv-edge.is-lit { stroke: var(--gold); stroke-width: 3.4; }
.cv-edge.is-dim { opacity: .28; }
.cv-node { cursor: pointer; }
.cv-node:focus { outline: none; }
.cv-node:focus-visible .cv-node__disc { stroke-width: 4; stroke: var(--focus); }
.cv-node__disc { fill: var(--panel); stroke: currentColor; stroke-width: 2.4; }
.cv-node.role-picked .cv-node__disc { stroke-width: 3; fill: color-mix(in srgb, currentColor 12%, var(--panel)); }
.cv-node__halo { fill: none; stroke: var(--gold); stroke-width: 2; opacity: .55; }
.cv-node.role-near .cv-node__disc { stroke-dasharray: 3 3; }
.cv-node__icon { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cv-node__label { fill: var(--text); font-size: 13px; font-weight: 500; paint-order: stroke; stroke: var(--panel); stroke-width: 4px; stroke-linejoin: round; }
.cv-node.role-picked .cv-node__label { font-size: 14.5px; font-weight: 600; }
.cv-node.role-near .cv-node__label { fill: var(--text-2); font-size: 12px; }
.cv-node.is-lit .cv-node__disc { stroke: var(--gold); stroke-width: 3.6; }
.cv-node.is-dim { opacity: .32; }
.cv-map--narrow .cv-node__label { font-size: 16px; }
.cv-map--narrow .cv-node.role-picked .cv-node__label { font-size: 17.5px; }
.cv-map--narrow .cv-node.role-near .cv-node__label { font-size: 15px; }
.cv-map--big .cv-node__label { font-size: 17px; }
.cv-map--big .cv-node.role-picked .cv-node__label { font-size: 19px; }
.cv-mapfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 10px 2px 0; font-size: .86rem; color: var(--text-2); }
.cv-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 40px; }
.cv-toggle input { width: 20px; height: 20px; accent-color: var(--gold); }
.cv-key { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: 0; }
.cv-key li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.cv-key .k-picked, .cv-key .k-bridge { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--text-2); }
.cv-key .k-picked { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px color-mix(in srgb, var(--gold) 60%, transparent); }
.cv-key .k-bridge { width: 11px; height: 11px; border-width: 2px; }
.cv-key .k-line { width: 24px; border-top: 2.5px solid var(--text-2); }
.cv-key .k-dash { border-top-style: dashed; } .cv-key .k-dot { border-top-style: dotted; }
.cv-focus { margin-top: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--rule-2); background: var(--panel); box-shadow: var(--lift); }
.cv-focus__head { font-size: 1.15rem; line-height: 1.3; }
.cv-focus p { margin: 8px 0; color: var(--text-2); }
.cv-mini-links { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 4px; font-size: .9rem; color: var(--text-2); }
.cv-mini-links li { margin: 0; }
.cv-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
@media (max-width: 1180px) { .cv-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cv-areas { grid-template-columns: 1fr; } }
.cv-area { border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; background: var(--panel); position: relative; overflow: hidden; }
.cv-area::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--area); opacity: .25; }
.cv-area.is-in-case::before { opacity: 1; }
.cv-area.is-linked::before { opacity: .6; }
.cv-area.is-none { background: var(--panel-2); }
.cv-area.c-gut { --area: var(--c-gut); } .cv-area.c-immune { --area: var(--c-immune); } .cv-area.c-energy { --area: var(--c-energy); } .cv-area.c-hormones { --area: var(--c-hormones); }
.cv-area.c-heart { --area: var(--c-heart); } .cv-area.c-body { --area: var(--c-body); } .cv-area.c-rhythm { --area: var(--c-rhythm); } .cv-area.c-brain { --area: var(--c-brain); }
.cv-area__head { display: flex; align-items: center; gap: 8px; }
.cv-area__swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--area); flex: none; }
.cv-area h4 { margin: 0; font-size: .95rem; }
.cv-area__state { margin: 4px 0 6px; font-size: .8rem; color: var(--muted); }
.cv-area.is-in-case .cv-area__state { color: var(--text-2); font-weight: 600; }
.cv-area__list { list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--text-2); display: grid; gap: 2px; }
.cv-area__list li { margin: 0; display: flex; align-items: center; gap: 6px; }
.cv-area__list li.role-picked { color: var(--text); font-weight: 600; }
.cv-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; display: inline-block; }
.table-wrap { overflow-x: auto; }
.cv-systems { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cv-systems th, .cv-systems td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cv-systems thead th { font-size: .82rem; color: var(--muted); font-weight: 600; }
.cv-systems tbody th { font-weight: 500; white-space: nowrap; }
.cv-systems tbody th .cv-dot { margin-right: 8px; color: var(--t-system); }
.cv-systems tr.sys-none th, .cv-systems tr.sys-none td { color: var(--muted); }
.cv-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--rule-2); color: var(--muted); }
.cv-status--case { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.cv-status--direct { color: var(--text); border-color: var(--text-2); }
.cv-status--two { color: var(--text-2); border-style: dashed; }
.cv-stack { display: flex; gap: 2px; height: 26px; border-radius: 8px; overflow: hidden; margin: 6px 0 10px; }
.cv-stack__seg { min-width: 6px; }
.g-established.cv-stack__seg, .cv-legend__sw.g-established { background: var(--g-established); }
.g-supported.cv-stack__seg, .cv-legend__sw.g-supported { background: var(--g-supported); }
.g-emerging.cv-stack__seg, .cv-legend__sw.g-emerging { background: var(--g-emerging); }
.g-contested.cv-stack__seg, .cv-legend__sw.g-contested { background: var(--g-contested); }
.cv-legend { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 4px; font-size: .9rem; }
.cv-legend li { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cv-legend__sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; transform: translateY(1px); }
.cv-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .cv-charts { grid-template-columns: 1fr; } }
.cv-bars { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cv-bars caption { text-align: left; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--text); }
.cv-bars th { text-align: left; font-weight: 500; color: var(--text-2); padding: 4px 10px 4px 0; width: 42%; line-height: 1.3; }
.cv-bars__bar { width: 46%; padding: 4px 0; }
.cv-bars__v { text-align: right; padding: 4px 0 4px 10px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-bar { display: block; height: 12px; border-radius: 0 4px 4px 0; background: currentColor; }
.cv-bar.c-gut { color: var(--c-gut); } .cv-bar.c-immune { color: var(--c-immune); } .cv-bar.c-energy { color: var(--c-energy); } .cv-bar.c-hormones { color: var(--c-hormones); }
.cv-bar.c-heart { color: var(--c-heart); } .cv-bar.c-body { color: var(--c-body); } .cv-bar.c-rhythm { color: var(--c-rhythm); } .cv-bar.c-brain { color: var(--c-brain); }
.cv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .cv-cards { grid-template-columns: 1fr; } }
.cv-card { border: 1px solid var(--rule); border-top: 3px solid currentColor; border-radius: 16px; padding: 16px 18px; background: var(--panel); color: var(--text); }
.cv-card.t-system { border-top-color: var(--t-system); } .cv-card.t-process { border-top-color: var(--t-process); } .cv-card.t-state { border-top-color: var(--t-state); }
.cv-card.t-signal { border-top-color: var(--t-signal); } .cv-card.t-condition { border-top-color: var(--t-condition); } .cv-card.t-nutrient { border-top-color: var(--t-nutrient); }
.cv-card.t-molecule { border-top-color: var(--t-molecule); } .cv-card.t-supplement { border-top-color: var(--t-supplement); } .cv-card.t-lifestyle { border-top-color: var(--t-lifestyle); } .cv-card.t-test { border-top-color: var(--t-test); }
.cv-card__head { display: flex; gap: 10px; align-items: center; margin: 2px 0 8px; }
.cv-card__head .kt { flex: 1 1 auto; min-width: 0; font-size: 1.2rem; line-height: 1.3; }
.cv-card__head > .badge { flex: none; }
.cv-card p { color: var(--text-2); }
.cv-linklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.cv-link { margin: 0; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.cv-link p { margin: 0 0 4px; }
.cv-link__s strong { font-weight: 600; }
.cv-link__why { color: var(--text-2); font-size: .92rem; }
.consult .note-line { margin-top: 18px; }
.present { position: fixed; inset: 0; z-index: 300; background: var(--bg); color: var(--text); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.present[hidden] { display: none; }
body.is-presenting { overflow: hidden; }
.present__bar { height: 4px; background: var(--rule); }
.present__bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }
.present__top { display: flex; align-items: center; gap: 14px; padding: 12px clamp(16px, 3vw, 40px); }
.present__brand { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--logo-blue); }
:root[data-theme="dark"] .present__brand { color: var(--text); }
.present__count { margin: 0 0 0 auto; color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
.present__stage { overflow: auto; padding: 0 clamp(16px, 4vw, 64px); }
.present__nav { display: flex; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 3vw, 40px) calc(16px + env(safe-area-inset-bottom)); }
.pr-slide { min-height: 100%; display: grid; align-content: center; gap: 14px; padding: 8px 0 20px; animation: fade .3s ease-out; }
.pr-slide h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.08; margin: 0; }
.pr-kicker { margin: 0; color: var(--kicker); font-weight: 600; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); }
.pr-kt { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.1; }
.pr-kt .kt__tag { font-size: clamp(.95rem, .85rem + .4vw, 1.25rem); }
.pr-summary { font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem); line-height: 1.45; color: var(--text); max-width: 46ch; margin: 0; }
.pr-points { margin: 0; padding-left: 1.2em; font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem); color: var(--text-2); max-width: 52ch; }
.pr-points li { margin: .35em 0; }
.pr-links, .pr-why { font-size: clamp(1rem, .95rem + .4vw, 1.3rem); color: var(--text-2); margin: 0; max-width: 56ch; }
.pr-sentence { max-width: 22ch; }
.pr-grade { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; color: var(--text-2); }
.pr-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-chips li { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 600; font-size: clamp(.95rem, .9rem + .3vw, 1.15rem); background: color-mix(in srgb, currentColor 8%, var(--panel)); }
.pr-chips li .icon { width: 1.2em; height: 1.2em; }
.pr-map { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.pr-slide--topic, .pr-slide--link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); }
.pr-text { display: grid; gap: 14px; align-content: center; }
@media (max-width: 900px) { .pr-slide--topic, .pr-slide--link { grid-template-columns: 1fr; } .pr-map--side { max-width: 560px; } }
.pr-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .pr-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-area { border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px; background: var(--panel-2); color: var(--muted); border-left: 6px solid var(--area); }
.pr-area.is-on { background: var(--panel); color: var(--text); }
.pr-area h3 { margin: 0 0 6px; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: inherit; }
.pr-area p { margin: 0; font-size: .95rem; }
.pr-area.c-gut { --area: var(--c-gut); } .pr-area.c-immune { --area: var(--c-immune); } .pr-area.c-energy { --area: var(--c-energy); } .pr-area.c-hormones { --area: var(--c-hormones); }
.pr-area.c-heart { --area: var(--c-heart); } .pr-area.c-body { --area: var(--c-body); } .pr-area.c-rhythm { --area: var(--c-rhythm); } .pr-area.c-brain { --area: var(--c-brain); }
.pr-slide--end { grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: 40px; }
@media (max-width: 900px) { .pr-slide--end { grid-template-columns: 1fr; } }
.pr-qr { background: #fff; padding: 14px; border-radius: 18px; justify-self: center; box-shadow: var(--shadow-soft); }
.pr-qr .cv-qr { width: min(300px, 70vw); height: auto; display: block; }
.pr-help { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); margin: 0; }
.pr-note { color: var(--muted); margin: 0; max-width: 60ch; }
.cv-qr-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 560px) { .cv-qr-wrap { grid-template-columns: 1fr; justify-items: center; } }
.cv-qr-box { background: #fff; padding: 10px; border-radius: 14px; border: 1px solid var(--rule); }
.cv-qr-box .cv-qr { display: block; width: 220px; height: 220px; }
.cv-copy-row { display: flex; gap: 8px; margin-top: 6px; }
.cv-copy-row input { flex: 1; min-width: 0; }
.plans-head .lead { max-width: 64ch; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 8px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: var(--r-xl); border: 1px solid var(--rule); background: var(--panel); box-shadow: var(--plate-shadow); overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--plan-accent); }
.plan--org { --plan-accent: linear-gradient(90deg, var(--logo-blue), var(--logo-green)); }
.plan--me { --plan-accent: var(--gold); }
.plan--free { --plan-accent: var(--c-rhythm); }
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .plans--3 { grid-template-columns: 1fr; max-width: 720px; } }
.plan .btn-row { margin-top: auto; }
.compare { width: 100%; }
.compare th, .compare td { padding: 10px 12px; text-align: center; }
.compare thead th { background: var(--panel-2); }
.compare tbody th, .compare thead th:first-child { text-align: left; font-weight: 500; }
.compare td .icon { color: var(--ok); }
.compare__price td, .compare__price th { font-weight: 600; background: var(--panel-2); }
.plan__for { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--kicker); font-weight: 600; font-size: .95rem; }
.plan h2 { margin: 0; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); }
.plan__price { margin: 4px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.plan__price strong { font-size: clamp(2.4rem, 1.9rem + 1.6vw, 3.2rem); line-height: 1; letter-spacing: -.03em; color: var(--text); font-weight: 700; }
.plan__price span { color: var(--text-2); font-weight: 500; }
.plan__basis { margin: 0; color: var(--text-2); font-size: .95rem; }
.plan__list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 8px; }
.plan__list li { margin: 0; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text); }
.plan__list .icon { color: var(--gold-2); margin-top: 3px; }
.plan__terms { margin: 4px 0 6px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--rule); font-size: .94rem; color: var(--text-2); }
.plan .btn-row { margin-top: auto; }
.terms-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.terms-table th, .terms-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: 0; }
.terms-table th { width: 26%; font-weight: 600; color: var(--text); white-space: nowrap; }
.terms-table td { color: var(--text-2); }
@media (max-width: 640px) { .terms-table th { white-space: normal; width: 34%; } .terms-table th, .terms-table td { padding: 10px 12px; } }
.plans-example { margin: 14px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--panel); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-2); }
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.benefit { padding: 18px 18px 16px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel); }
.benefit > .icon { width: 28px; height: 28px; color: var(--logo-green); margin-bottom: 8px; }
:root[data-theme="dark"] .benefit > .icon { color: var(--kicker); }
.benefit h3 { font-size: 1.04rem; margin: 0 0 6px; }
.benefit p { margin: 0; color: var(--text-2); font-size: .95rem; }
.steps.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps.steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 640px) { .steps.steps--4 { grid-template-columns: 1fr; } }
.keypoints--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .keypoints--2 { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--panel); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--gold); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--text-2); }
.pro-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 960px) { .pro-band { grid-template-columns: 1fr; } }
.pro-band__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--kicker); font-weight: 600; }
.pro-band__list { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; }
.pro-band__list li { margin: 0; display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); }
.pro-band__list .icon { color: var(--gold-2); margin-top: 3px; }
.pro-band__visual { margin: 0; }
.pro-frame { border-radius: var(--r-lg); border: 1px solid var(--rule-2); background: var(--panel); box-shadow: var(--shadow-soft); overflow: hidden; }
.pro-frame__bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--rule); background: var(--panel-2); }
.pro-frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-2); }
.ego--pro { border: 0; border-radius: 0; margin: 0; --accent: var(--t-signal); }
.pro-band__visual figcaption { margin-top: 8px; }
.plan-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .plan-mini { grid-template-columns: 1fr; } }
.plan-mini__card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); text-decoration: none; color: var(--text); box-shadow: var(--lift); transition: border-color .15s ease, transform .15s ease; }
.plan-mini__card:hover { border-color: var(--gold); transform: translateY(-1px); }
.plan-mini__for { display: inline-flex; align-items: center; gap: 8px; color: var(--kicker); font-weight: 600; font-size: .92rem; }
.plan-mini__price { color: var(--text-2); font-weight: 500; }
.plan-mini__price strong { font-size: 2rem; letter-spacing: -.02em; color: var(--text); margin-right: 6px; font-weight: 700; }
.plan-mini__note { color: var(--text-2); font-size: .94rem; }
.plan-mini--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .plan-mini--3 { grid-template-columns: 1fr; } }
.plan-mini__card--pro { border-color: color-mix(in srgb, var(--gold) 45%, var(--rule)); background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 60%), var(--panel); }
.offers { margin-top: 8px; }
.offer-pick { align-items: center; margin-bottom: 12px; }
.offer-pick[hidden], .offer-pick__label[hidden] { display: none; }
.offer-pick__label { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--text-2); }
.offer-pick .chip { min-height: 40px; }
.offer-pick .chip .icon { width: 18px; height: 18px; color: var(--gold); }
.offer-pick .chip[aria-pressed="false"] { opacity: 1; }
.offer-pick .chip[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--panel)); color: var(--text); font-weight: 600; }
.offer-note { margin: 0 0 12px; }
.offer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }
.offer li[hidden] { display: none; }
.offer a { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel); color: var(--text); font-weight: 500; line-height: 1.4; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.offer a:hover { border-color: var(--gold); background: var(--panel-2); }
.offer a .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--ok); }
.daily-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--rule); background: radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--c-rhythm) 10%, transparent), transparent 60%), radial-gradient(80% 110% at 100% 0%, color-mix(in srgb, var(--t-supplement) 9%, transparent), transparent 60%), var(--panel); box-shadow: var(--lift); }
@media (max-width: 900px) { .daily-band { grid-template-columns: 1fr; } }
.daily-band h2 { margin-top: 6px; }
.daily-band__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.daily-band__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel-2); }
.daily-band__list .icon { width: 22px; height: 22px; color: var(--gold); justify-self: center; }
.daily-band__list strong { display: block; }
.daily-band__list span { color: var(--text-2); font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .plan-mini__card:hover { transform: none; } }
.acct-pagehead { margin-bottom: 8px; }
.acct-root { margin-top: 18px; min-height: 240px; }
.acct-loading { display: inline-flex; align-items: center; gap: 8px; }
.acct-card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--lift); }
.acct-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; }
.acct-card h2 .icon { color: var(--logo-green); }
:root[data-theme="dark"] .acct-card h2 .icon { color: var(--kicker); }
.acct-card h3 { font-size: 1.08rem; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-card--quiet { background: var(--panel-2); }
.acct-card--gold { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); box-shadow: inset 0 3px 0 var(--gold); }
.acct-narrow { max-width: 540px; }
.acct-signin { display: grid; gap: 14px; }
.acct-intro { margin: 0; color: var(--text-2); }
.prov-list { display: grid; gap: 10px; }
.prov { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent; }
.prov__logo { width: 20px; height: 20px; flex: none; }
.prov--apple { background: #000000; color: #FFFFFF; border-color: #000000; }
.prov--apple .prov__logo--alt { display: none; }
:root[data-theme="dark"] .prov--apple { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
:root[data-theme="dark"] .prov--apple .prov__logo { display: none; }
:root[data-theme="dark"] .prov--apple .prov__logo--alt { display: block; }
.prov--google, .prov--azure { background: #FFFFFF; color: #1F1F1F; border-color: #747775; }
.prov:hover { filter: brightness(.96); }
.acct-or { display: flex; align-items: center; gap: 12px; margin: 2px 0; color: var(--muted); font-size: .9rem; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.acct-form { display: grid; gap: 12px; }
.acct-field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--text); }
.acct-field > span { font-weight: 600; }
.acct-field input, .acct-field select, .acct-field textarea, .acct-inline > input, .acct-tools input, .acct-tools select { width: 100%; }
.acct-inline { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.acct-inline > .acct-field { flex: 1 1 220px; }
.acct-inline > input { flex: 1 1 220px; width: auto; }
.acct-msg { margin: 0; font-size: .92rem; min-height: 1.2em; }
.acct-msg:empty { min-height: 0; }
.acct-msg.is-error { color: var(--danger); font-weight: 500; }
.acct-msg.is-ok { color: var(--ok); font-weight: 500; }
.acct-fine { margin: 0; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.acct-hello { margin: 0; color: var(--text-2); }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
.acct-dl { margin: 0 0 12px; display: grid; gap: 8px; }
.acct-dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.acct-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.acct-dl dt { color: var(--muted); font-size: .9rem; }
.acct-dl dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 480px) { .acct-dl > div { grid-template-columns: 1fr; gap: 2px; } }
.acct-orgname { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.1rem; margin: 0 0 12px; }
.acct-pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid var(--rule-2); color: var(--text-2); background: var(--panel-2); white-space: nowrap; line-height: 1.6; }
.acct-pill--ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: var(--ok-bg); }
.acct-pill--info { color: var(--info); border-color: color-mix(in srgb, var(--info) 45%, transparent); background: var(--info-bg); }
.acct-pill--warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: var(--warn-bg); }
.acct-pill--muted { color: var(--muted); }
.acct-pill--gold { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.acct-orghead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.acct-orghead__meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.acct-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.acct-tiles--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .acct-tiles, .acct-tiles--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--rule); background: var(--panel); text-align: left; font: inherit; color: var(--text); }
.acct-tile strong { font-size: 1.6rem; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.acct-tile span { font-size: .82rem; color: var(--muted); }
.acct-tile--btn { cursor: pointer; }
.acct-tile--btn:hover { border-color: var(--gold); }
.acct-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; margin-bottom: 16px; align-items: start; }
@media (max-width: 900px) { .acct-cols { grid-template-columns: 1fr; } }
.acct-root > .acct-card + .acct-card, .acct-root > .acct-cols + .acct-card, .acct-panel .acct-card + .acct-card { margin-top: 16px; }
.acct-sent { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.acct-sent li { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.acct-sent a { display: inline-flex; align-items: center; gap: 6px; }
.acct-fieldset { border: 0; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.acct-radio { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; }
.acct-radio input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.acct-radio > span { display: grid; gap: 2px; }
.acct-radio:has(input:checked) { border-color: var(--gold); background: var(--panel-2); }
.acct-check { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; min-height: 44px; }
.acct-check input { width: 20px; height: 20px; accent-color: var(--gold); }
.acct-cardhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.acct-cardhead h2 { margin: 0; }
.acct-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.acct-tools > input[type="search"] { flex: 1 1 240px; width: auto; }
.acct-tools > select { flex: 0 1 240px; width: auto; }
.acct-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.acct-filter .chip { min-height: 36px; padding: 4px 12px; }
.acct-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.acct-table th, .acct-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.acct-table thead th { font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.acct-table tr.is-removed td { color: var(--muted); }
.acct-sub { display: block; }
.acct-withdraw-note .btn-row { margin-top: 8px; }
.acct-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.acct-acts-cell { width: 1%; white-space: nowrap; }
@media (max-width: 760px) {
  .acct-table thead { display: none; }
  .acct-table, .acct-table tbody, .acct-table tr, .acct-table td { display: block; width: 100%; }
  .acct-table tr { border: 1px solid var(--rule); border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; background: var(--panel); }
  .acct-table td { border: 0; padding: 4px 0; }
  .acct-table td[data-label]::before { content: attr(data-label); display: block; font-size: .76rem; color: var(--muted); }
  .acct-acts-cell { width: auto; white-space: normal; }
  .acct-acts { justify-content: flex-start; padding-top: 6px; }
}
.acct-history { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; max-height: 480px; overflow-y: auto; }
.acct-history li { margin: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
@media (max-width: 560px) { .acct-history li { grid-template-columns: 1fr; gap: 0; } }
.acct-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.acct-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; min-height: 44px; border: 0; background: none; font: inherit; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.acct-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.acct-panel:focus { outline: none; }
.acct-h2 { font-size: 1.1rem; margin: 18px 0 10px; }
.acct-req .acct-note { padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--rule); color: var(--text-2); }
.acct-orglist { display: grid; gap: 14px; }
.acct-orgcard.is-closed { opacity: .7; }
.acct-domains { list-style: none; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.acct-domains li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.acct-warn-text { color: var(--warn); }
.acct-formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 12px 0; }
@media (max-width: 640px) { .acct-formgrid { grid-template-columns: 1fr; } }
.acct-calc { margin: 6px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--rule); }
.acct-calc__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.acct-calc__table caption { text-align: left; color: var(--muted); margin-bottom: 6px; }
.acct-calc__table th, .acct-calc__table td { text-align: left; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.acct-calc__table th { font-weight: 500; color: var(--text-2); width: 46%; }
.acct-supers { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.acct-supers li { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.acct-confirm h2 { font-size: 1.25rem; }
.acct-plancard { grid-column: 1 / -1; }
.acct-subline { margin: 0 0 12px; color: var(--text-2); }
.acct-planpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 12px; }
.acct-consent { margin: 2px 0 10px; }
.acct-teamside .acct-consent { margin: 0; font-size: .92rem; }
@media (max-width: 760px) { .acct-planpick { grid-template-columns: 1fr; } }
.acct-plantile { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel-2); scroll-margin-top: 96px; }
.acct-plantile > .btn-row { margin-top: auto; padding-top: 4px; }
.acct-plantile.is-wanted { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.acct-plantile h3 { font-size: 1.12rem; }
.acct-plantile__price { margin: 0; color: var(--text-2); }
.acct-plantile__price strong { font-size: 1.6rem; color: var(--text); letter-spacing: -.02em; }
.acct-plantile p { margin: 0; }
.acct-plantile__list { list-style: none; padding: 0; margin: 2px 0 4px; display: grid; gap: 6px; font-size: .94rem; }
.acct-plantile__list li { margin: 0; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.acct-plantile__list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }
.acct-check--wrap { align-items: flex-start; min-height: 0; padding: 4px 0; }
.acct-check--wrap input { margin-top: 2px; flex: none; }
.acct-notice { margin: 12px 0; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel-2); font-size: .92rem; }
.acct-notice summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.acct-notice ul { margin: 8px 0 2px; padding-left: 1.1em; }
.acct-notice li + li { margin-top: 6px; }
.two-step__steps { margin: 0 0 10px; padding-left: 1.3em; }
.two-step__qr { display: block; width: 176px; height: 176px; padding: 8px; background: #fff; border-radius: 10px; border: 1px solid var(--rule); margin: 6px 0 10px; }
.two-step__key code { font-size: 1rem; letter-spacing: .06em; word-break: break-all; user-select: all; }
.acct-sep { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.acct-field--narrow { flex: 0 1 160px !important; }
.acct-teamform { display: grid; gap: 16px; margin-top: 16px; align-items: start; }
@media (min-width: 1000px) { .acct-teamform { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); } .acct-teamside { position: sticky; top: calc(var(--header-h) + 16px); } }
.acct-teammain, .acct-teamside { display: grid; gap: 16px; }
.acct-field .small, .acct-field .muted { font-weight: 400; }
.acct-check--wrap > span { font-weight: 400; }
.acct-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.acct-quick .chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.acct-quick .chip .icon { width: 16px; height: 16px; color: var(--gold); }
.msg--locked { background: none; border: 0; box-shadow: none; padding: 0; }
@media (min-width: 761px) { .acct-table td.acct-acts-cell { width: 40%; white-space: normal; } }
.acct-teamform .acct-check--wrap { font-size: .95rem; }
.acct-legend { font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; padding: 0; }
.acct-giftrows { display: grid; gap: 12px; }
.acct-giftrow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; margin: 0; padding: 12px 14px 10px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel-2); }
.acct-giftrow.is-ok { border-color: color-mix(in srgb, var(--ok, #1e7f4f) 55%, var(--rule)); }
.acct-giftrow.is-bad { border-color: color-mix(in srgb, var(--danger, #b3261e) 55%, var(--rule)); }
.acct-giftrow__legend { padding: 0 6px; margin-left: -6px; font-weight: 600; font-size: .92rem; color: var(--text-2); }
.acct-giftrow__note { grid-column: 1 / -1; margin: 0; min-height: 1.4em; color: var(--text-2); }
.acct-giftrow.is-bad .acct-giftrow__note { color: var(--danger, #b3261e); }
.acct-giftrow__rm { position: absolute; top: -14px; right: 10px; width: 34px; height: 34px; min-width: 34px; padding: 0; border-radius: 10px; background: var(--panel); }
.acct-giftrow__rm[hidden] { display: none; }
@media (max-width: 600px) { .acct-giftrow { grid-template-columns: minmax(0, 1fr); } }
.acct-giftlist { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 8px; }
.acct-giftlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.acct-giftlist__who { font-weight: 600; overflow-wrap: anywhere; }
.acct-giftgot { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.acct-giftgot li { display: flex; gap: 8px; align-items: flex-start; }
.acct-giftgot .icon { flex: none; margin-top: 3px; color: var(--gold); }
.acct-teamform .stepper input[type="number"] { width: 7ch; text-align: center; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.acct-teamsum { display: grid; gap: 4px; margin: 0; }
.acct-teamsum p { margin: 0; }
.acct-teamsum__big { color: var(--text-2); }
.acct-teamsum__big strong { font-size: 1.5rem; color: var(--text); letter-spacing: -.02em; }
.acct-steps { margin: 4px 0 8px; }
.acct-steps h3 { font-size: 1rem; }
.acct-steps p { font-size: .92rem; color: var(--text-2); margin: 4px 0 0; }
.pt-moving { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.pt-moving p { margin: 0 0 8px; }
@media (max-width: 640px) {
  .steps.acct-steps { row-gap: 10px; gap: 10px; }
  .steps.acct-steps li { padding: 12px 14px 12px 58px; }
  .steps.acct-steps li::before { top: 12px; left: 14px; }
}
.acct-confirm .acct-field { margin-top: 8px; }
.today-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.today-date { margin: 0 0 4px; color: var(--kicker); font-weight: 600; font-size: .95rem; }
.streak { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--panel); color: var(--muted); box-shadow: var(--lift); }
.streak .icon { color: var(--muted); width: 22px; height: 22px; }
.streak.streak--none { padding: 4px 0; border: 0; background: none; box-shadow: none; }
.streak strong { font-size: 1.35rem; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.streak.is-on { border-color: color-mix(in srgb, var(--t-supplement) 55%, var(--rule)); color: var(--text-2); }
.streak.is-on .icon { color: var(--t-supplement); }
.today, .challenge { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; margin-top: 24px; align-items: start; }
@media (max-width: 1020px) { .today, .challenge { grid-template-columns: 1fr; } }
.today__main, .today__side, .ch-side { display: grid; gap: 18px; min-width: 0; }
.today-card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(16px, 2.2vw, 22px); box-shadow: var(--lift); min-width: 0; }
.today-card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.today-card h2 .icon { color: var(--gold); }
.today-card > p:last-child { margin-bottom: 0; }
.today-card--gold { background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 60%), var(--panel); border-color: color-mix(in srgb, var(--gold) 40%, var(--rule)); }
.today-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.today-card__head h2 { margin-bottom: 6px; }
.ci-day { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ci-day .icon-btn { width: 40px; min-width: 40px; height: 40px; padding: 0; }
.ci-day .icon-btn:disabled { opacity: .4; cursor: default; }
.ci-form { display: grid; }
.ci-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule); }
.ci-row:first-child { border-top: 0; }
.ci-ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, currentColor 12%, var(--panel)); color: var(--muted); }
.ci-ic--sleep, .ci-ic--rested { color: var(--c-rhythm); } .ci-ic--water { color: var(--t-molecule); } .ci-ic--fv { color: var(--t-nutrient); } .ci-ic--move { color: var(--t-lifestyle); }
.ci-ic--daylight { color: var(--t-state); } .ci-ic--screen { color: var(--t-system); } .ci-ic--mood { color: var(--t-process); } .ci-ic--stress { color: var(--t-signal); }
.ci-label { display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.ci-label small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper__b { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--panel-2); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.stepper__b:hover { border-color: var(--gold); }
.stepper__v { min-width: 2.6ch; text-align: center; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper__u { color: var(--muted); font-size: .84rem; min-width: 3.4em; }
.ci-row--scale, .ci-row--sleep { grid-template-columns: 40px minmax(0, 1fr); }
.ci-row--sleep .ci-sleep { grid-column: 2; }
.ci-scale { border: 0; padding: 0; margin: 0; min-width: 0; }
.ci-scale legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.seg--5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; }
.seg--5 span { width: 100%; justify-content: center; text-align: center; padding: 8px 4px; font-size: .84rem; line-height: 1.2; }
.ci-sleep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ci-sleep label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--muted); }
.ci-note { display: flex; flex-direction: column; gap: 6px; padding-top: 11px; border-top: 1px solid var(--rule); font-weight: 600; }
.ci-status { margin: 10px 0 0; }
@media (max-width: 520px) {
  .ci-row { grid-template-columns: 36px minmax(0, 1fr); }
  .ci-row .stepper { grid-column: 1 / -1; justify-content: flex-end; }
  .ci-ic { width: 36px; height: 36px; }
  .seg--5 span { font-size: .76rem; padding: 8px 2px; }
  .ci-row--sleep .ci-sleep { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, .9fr); }
  .ci-sleep input { padding-left: 10px; padding-right: 6px; }
}
.week-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
@media (max-width: 640px) { .week-grid { grid-template-columns: 1fr; } }
.chartbox { margin: 0; min-width: 0; }
.chartbox__cap { font-size: .9rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--font); }
.chart--sleep { --chart: var(--c-rhythm); } .chart--water { --chart: var(--t-molecule); } .chart--move { --chart: var(--t-lifestyle); } .chart--mood { --chart: var(--t-process); }
.chart__bar { fill: var(--chart, var(--t-system)); opacity: .72; }
.chart__bar.is-latest { opacity: 1; }
.chart__base { stroke: var(--rule-2); stroke-width: 1; }
.chart__grid { stroke: var(--rule); stroke-width: 1; }
.chart__band { fill: var(--chart); opacity: .12; }
.chart__goal { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart__note, .chart__tick, .chart__day { fill: var(--muted); font-size: 11px; }
.chart__day.is-latest { fill: var(--text); font-weight: 600; }
.chart__val { fill: var(--text); font-size: 12px; font-weight: 600; }
.chart__zero { fill: var(--rule-2); }
.chart__line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.chart__line--sys, .chart__dot--sys { stroke: var(--t-condition); } .chart__line--dia, .chart__dot--dia { stroke: var(--t-system); }
.chart__dot { stroke-width: 2; fill: var(--panel); }
.chart__legend { display: flex; gap: 16px; font-size: .82rem; color: var(--text-2); margin: 0 0 4px; }
.chart__key i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.chart__key--sys i { background: var(--t-condition); } .chart__key--dia i { background: var(--t-system); }
.chart__table summary { font-size: .8rem; color: var(--muted); cursor: pointer; margin-top: 4px; }
.chart__table table { font-size: .82rem; margin-top: 6px; }
.insights { display: grid; gap: 12px; margin-bottom: 12px; }
.insight { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel-2); }
.insight__ic { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 10%, var(--panel)); }
.insight__lead { font-weight: 600; margin: 0 0 4px; }
.insight__fact { margin: 0 0 6px; color: var(--text-2); }
.insight__more { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; }
.insight__more a, .cotd__line a { text-underline-offset: 3px; }
.insight__more a { display: inline-flex; align-items: center; gap: 6px; }
.insight--care { border-color: color-mix(in srgb, var(--t-process) 45%, var(--rule)); background: color-mix(in srgb, var(--t-process) 7%, var(--panel)); }
.insight__care { font-weight: 500; margin: 6px 0 0; }
.insight .src-line { margin: 0; }
.cotd__line { font-size: 1.06rem; font-weight: 500; margin: 0 0 6px; }
.cotd__why { color: var(--text-2); margin: 0 0 8px; }
.rem-form { display: grid; }
.rem-row { border: 0; border-top: 1px solid var(--rule); padding: 12px 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.rem-row .acct-check span { display: flex; flex-direction: column; }
.rem-ctrls { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; padding-left: 30px; }
.rem-ctrls select, .rem-ctrls input[type="text"] { width: auto; min-width: 140px; }
.rem-time { display: flex; flex-direction: column; font-size: .78rem; color: var(--muted); gap: 2px; }
.rem-time input { width: auto; }
.rem-out h3 { margin: 18px 0 6px; font-size: 1rem; }
.rem-links { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.rem-links li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: .9rem; flex-wrap: wrap; }
.rem-links a { display: inline-flex; align-items: center; gap: 6px; }
.bp-form { display: grid; gap: 10px; }
.bp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bp-f { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); }
.bp-grid select { align-self: end; }
.bp-rows { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: .92rem; }
#bk-state.is-due { color: var(--warn); font-weight: 500; }
.ch-ends { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.ch-end { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel-2); min-width: 0; }
.ch-end small { flex: none; width: 2.9em; color: var(--muted); font-weight: 600; font-size: .78rem; }
.ch-end > span { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 10px; }
.ch-end--goal { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); background: color-mix(in srgb, var(--gold) 7%, var(--panel)); }
.ch-end strong { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 420px) {
  .ch-ends { grid-template-columns: 1fr; gap: 6px; }
  .ch-ends .ch-arrow { justify-self: center; transform: rotate(90deg); }
}
.ch-arrow { color: var(--gold); display: inline-flex; }
.ch-best { grid-column: 1 / -1; margin: 0; }
.ch-chain { list-style: none; padding: 0; margin: 16px 0 6px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.ch-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--rule); font-weight: 500; font-size: .9rem; }
.ch-link:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 50%; width: 18px; height: 2px; background: var(--gold); }
.ch-link.is-now { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.ch-link .opt-icon { width: 28px; height: 28px; }
.ch-now p { font-size: 1.04rem; margin: 10px 0 0; }
.ch-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.ch-tools .btn:disabled { opacity: .5; }
@media (max-width: 600px) {
  .ch-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ch-tools .btn { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 6px 4px; font-size: .78rem; line-height: 1.15; text-align: center; white-space: normal; }
  .ch-tools .btn .icon { width: 17px; height: 17px; }
}
.ch-options { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.ch-options li { margin: 0; }
.ch-opt { width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; text-align: left; min-height: 58px; }
.ch-opt:hover { border-color: var(--gold); }
.ch-opt__t { display: block; min-width: 0; flex: 1; line-height: 1.4; text-wrap: pretty; }
.ch-opt__rel { font-size: .8rem; color: var(--muted); }
.ch-opt__t .badge { vertical-align: middle; font-size: .72rem; padding: 1px 8px; }
.ch-opt .badge { flex: none; }
.ch-opt.is-goal { border-color: color-mix(in srgb, var(--gold) 70%, var(--rule)); background: color-mix(in srgb, var(--gold) 9%, var(--panel)); }
.ch-opt.is-hint { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 60%, transparent); }
.ch-done { margin-top: 12px; padding: 18px; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--rule)); background: color-mix(in srgb, var(--gold) 6%, var(--panel)); outline: none; }
.ch-done h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0 0 8px; }
.ch-done h2 .icon { color: var(--gold); }
.ch-stars { display: flex; gap: 6px; margin: 0 0 12px; }
.ch-stars span { color: var(--rule-2); display: inline-flex; }
.ch-stars span.is-on { color: var(--gold); }
.ch-stars .icon { width: 30px; height: 30px; }
.ch-stars span.is-on .icon { fill: currentColor; }
.ch-proof { padding-left: 1.2em; display: grid; gap: 10px; margin: 0 0 14px; }
.review-line { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--t-system) 35%, var(--rule)); background: color-mix(in srgb, var(--t-system) 6%, var(--panel)); }
.review-line .icon { flex: none; margin-top: 3px; color: var(--t-system); }
.ch-friend { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); background: color-mix(in srgb, var(--gold) 7%, var(--panel)); display: grid; gap: 4px; }
.ch-friend p:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ch-friend .icon { flex: none; color: var(--gold-2); }
.ch-vs { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 600; }
.ch-vs .icon { flex: none; color: var(--gold-2); }
.ch-proof p { margin: 0 0 4px; }
.ch-how { padding-left: 1.2em; margin: 0 0 10px; display: grid; gap: 6px; }
.ch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-root { margin-top: 22px; }
.pt-setup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .pt-setup { grid-template-columns: 1fr; } }
.pt-before { padding-left: 1.1em; display: grid; gap: 8px; margin: 0; }
.pt-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pt-count { margin: 0; color: var(--muted); }
.pt-count strong { color: var(--text); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.pt-app { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .pt-app { grid-template-columns: 1fr; } }
.pt-list, .pt-file { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--lift); min-width: 0; scroll-margin-top: calc(var(--header-h) + 12px); }
.pt-list { position: sticky; top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); display: flex; flex-direction: column; }
@media (max-width: 900px) { .pt-list { position: static; max-height: 60vh; } }
.pt-list__head { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.pt-list__tools { display: grid; gap: 8px; margin: 10px 0; }
.pt-sort { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.pt-sort select { flex: 1; }
.pt-items { list-style: none; padding: 0; margin: 0; overflow-y: auto; display: grid; gap: 4px; align-content: start; min-height: 0; }
.pt-items li { margin: 0; }
.pt-item { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pt-item:hover { background: var(--panel-2); }
.pt-item.is-on { background: var(--panel-3); border-color: color-mix(in srgb, var(--gold) 55%, var(--rule)); }
.pt-item__name { font-weight: 600; }
.pt-item__name small { color: var(--muted); font-weight: 400; }
.pt-item__meta { font-size: .8rem; color: var(--muted); }
.pt-item--pick { flex-direction: row; align-items: center; gap: 10px; }
.pt-picking { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.pt-file__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pt-file__head h2 { margin: 0; font-size: 1.35rem; overflow-wrap: anywhere; }
.pt-file__head p { margin: 2px 0 0; }
.pt-tabs { margin: 12px 0 4px; }
@media (max-width: 600px) {
  .pt-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow: visible; }
  .pt-tabs [role="tab"] { flex-direction: column; justify-content: center; gap: 3px; padding: 8px 2px; font-size: .74rem; white-space: normal; text-align: center; line-height: 1.15; }
}
.pt-empty { display: grid; place-items: center; gap: 8px; min-height: 260px; color: var(--muted); text-align: center; }
.pt-empty .icon { width: 40px; height: 40px; }
.pt-details { margin-top: 10px; }
.pt-sec { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--rule); }
.pt-sec h3 { font-size: 1rem; margin: 0 0 10px; }
.pt-dated { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.pt-dated li { margin: 0; }
.pt-dated__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 36px; gap: 10px; align-items: center; padding: 6px 6px 6px 10px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel-2); }
.pt-dated__row input[type="date"] { width: auto; min-height: 36px; padding: 4px 8px; font-size: .85rem; }
.pt-dated__t { min-width: 0; overflow-wrap: anywhere; }
.pt-dated__t small { display: block; }
@media (max-width: 560px) { .pt-dated__row { grid-template-columns: 28px minmax(0, 1fr) 36px; } .pt-dated__row input[type="date"] { grid-column: 2; grid-row: 2; justify-self: start; } }
.pt-combo { position: relative; max-width: 520px; }
.pt-note-add { display: grid; gap: 8px; max-width: 640px; justify-items: start; }
.pt-add { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
@media (max-width: 560px) { .pt-add { grid-template-columns: 1fr; } }
.pt-check { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.pt-check li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto 36px; gap: 10px; align-items: center; margin: 0; padding: 8px 6px 8px 10px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel-2); }
.pt-check li.is-done .pt-check__t { text-decoration: line-through; color: var(--muted); }
@media (max-width: 560px) { .pt-check li { grid-template-columns: auto minmax(0, 1fr) 36px; } .pt-check li .acct-pill, .pt-check li small { grid-column: 2; } }
.pt-ref { background: color-mix(in srgb, var(--panel-2) 70%, transparent); border-radius: var(--r); padding: 14px; border: 1px dashed var(--rule-2); }
.pt-tests { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pt-tests li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel); margin: 0; }
.pt-tests p { margin: 4px 0 0; }
@media (max-width: 560px) { .pt-tests li { flex-direction: column; } }
.pt-mapbox { border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel-2); padding: 8px; }
.pt-links { list-style: none; padding: 0; display: grid; gap: 12px; }
.pt-links li { margin: 0; }
.pt-links p { margin: 4px 0; }
.pt-files { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.pt-files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 12px; margin: 0; }
.pt-files__n { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pt-result-add { margin-top: 12px; }
.pt-forgot { margin-top: 14px; }
.pt-forgot summary { cursor: pointer; color: var(--muted); }
.learn-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 4px; }
.learn-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.is-locked { position: relative; min-height: 380px; }
.is-locked > :not(.lockveil) { filter: blur(7px); opacity: .5; pointer-events: none; user-select: none; }
.lockveil { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: center; padding: clamp(24px, 6vw, 70px) 12px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 60%, transparent) 30%); }
.lockcard { position: sticky; top: calc(var(--header-h) + 24px); width: 100%; max-width: 470px; text-align: center; background: var(--panel); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: var(--r-xl); padding: 26px 22px; box-shadow: var(--shadow); }
.lockcard__icon { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--gold) 14%, var(--panel)); color: var(--gold); margin-bottom: 6px; }
.lockcard__title { font-size: 1.25rem; margin: 6px 0; }
.lockcard__text { color: var(--text-2); }
.lockcard__price { font-weight: 600; color: var(--gold-2); }
.lockcard .btn-row { justify-content: center; }
.meter-note { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--panel); margin: 0 0 14px; }
.meter-note .icon { color: var(--gold); }
.meter-note--panel { margin: 8px 0 0; font-size: .82rem; padding: 4px 10px; }
.panel__locked { position: relative; min-height: 340px; }
.panel__locked .lockcard { position: static; padding: 20px 16px; box-shadow: none; }
.panel__locked .lockveil { padding: 16px 4px; }
.has-lock { position: relative; }
.lockbadge { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--panel); pointer-events: none; }
.lockbadge .icon { width: 11px; height: 11px; }
.btn .lockbadge { top: -6px; right: -6px; }
.lockdialog { width: min(520px, calc(100vw - 24px)); }
.lockdialog .dialog__inner { padding: 6px; }
.lockdialog .lockcard { position: static; border: 0; box-shadow: none; max-width: none; }
.lockdialog__close { justify-content: center; margin: 0 0 14px; }
.msg--locked .lockcard { position: static; margin: 0 auto; }
.quiz { padding: clamp(18px, 2.5vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); }
.quiz-q { margin-bottom: 22px; }
.quiz-q h3 { font-size: 1.08rem; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opts button { justify-content: flex-start; text-align: left; font-weight: 500; }
.quiz-opts button.is-right { border-color: var(--ok); background: var(--ok-bg); color: var(--text); }
.quiz-opts button.is-wrong { border-color: var(--danger-rule); background: var(--danger-bg); color: var(--text); }
.quiz-why { margin: 10px 0 0; color: var(--text-2); }
.quiz-result { font-weight: 600; color: var(--gold-2); }
.my-grid { columns: 2 440px; column-gap: 18px; }
.my-grid > .card { padding: 22px; break-inside: avoid; margin: 0 0 18px; }
.my-grid > .card h2 { display: flex; align-items: center; gap: 8px; }
.empty { padding: 22px; text-align: center; color: var(--muted); border: 1px dashed var(--rule-2); border-radius: var(--r); margin: 0; }
.saved-list, .note-list, .tour-progress, .q-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.saved-list li, .note-list li, .tour-progress li, .q-list li { margin: 0; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel-2); }
.saved-list__link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; min-width: 0; }
.saved-list__link:hover { color: var(--gold-2); }
.saved-list__acts { display: inline-flex; gap: 6px; }
.saved-list__acts .icon-btn, .note-list .icon-btn, .q-list .icon-btn { min-width: 40px; height: 40px; }
.note-text { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; white-space: pre-wrap; }
.tour-progress li { flex-wrap: wrap; }
.tour-progress li a:first-child { font-weight: 500; flex: 1 1 200px; }
.tour-progress li.is-done a:first-child { color: var(--ok); }
.q-list li.is-done span { text-decoration: line-through; color: var(--muted); }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 520px) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.badge-medal { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .82rem; color: var(--muted); margin: 0; }
.badge-medal strong { color: var(--text-2); font-size: .86rem; }
.badge-medal .medal { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--rule-2); background: var(--panel-2); color: var(--muted); margin-bottom: 4px; }
.badge-medal .medal .icon { width: 26px; height: 26px; }
.badge-medal.is-earned .medal { border-color: var(--gold); color: var(--gold-2); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--gold-2) 35%, transparent), transparent 60%), var(--panel-3); box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 35%, transparent); }
.badge-medal.is-earned strong { color: var(--text); }
.progress { height: 8px; border-radius: 999px; background: var(--panel-3); overflow: hidden; border: 1px solid var(--rule); margin-bottom: 12px; }
.progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-blue), var(--brand-green), var(--gold)); transition: width .4s ease; }
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding: 26px 22px 22px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--panel); margin: 0; }
.steps li::before { content: counter(step); position: absolute; top: -15px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #0B0F18; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .92rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-2); }
.dialog { border: 1px solid var(--rule-2); border-radius: var(--r-xl); background: var(--panel); color: var(--text); padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: var(--shadow); }
.dialog--wide { width: min(860px, calc(100vw - 24px)); }
.dialog::backdrop, .palette::backdrop { background: rgba(3, 6, 12, .66); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dialog[open] { animation: pop .2s ease-out; }
.dialog__inner { padding: clamp(20px, 3vw, 30px); overflow-y: auto; max-height: calc(100vh - 26px); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog__head h2 { margin: 0; font-size: 1.4rem; }
.gate-mark { width: auto; height: 56px; margin-bottom: 12px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .22)); }
.gate-mark--lg { height: 96px; }
.about-logo { margin: 1.6em 0; }
.about-logo__card { width: min(300px, 70vw); border-radius: 28px; background: #fff; padding: 14px 14px 16px; border: 1px solid var(--rule); box-shadow: var(--shadow-soft); text-align: center; }
.about-logo img { display: block; width: 100%; height: auto; }
.about-logo__motto { margin: 2px 0 0; font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; color: #048424; line-height: 1.1; }
.about-logo figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.toast-region { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; background: var(--panel-3); border: 1px solid var(--rule-2); color: var(--text); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .95rem; animation: rise .25s ease-out; }
.palette { border: 1px solid var(--rule-2); border-radius: var(--r-xl); background: var(--panel); color: var(--text); padding: 0; width: min(740px, calc(100vw - 20px)); margin-top: 9vh; box-shadow: var(--shadow); }
.palette[open] { animation: pop .18s ease-out; }
.palette__search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.palette__search { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--rule); }
.palette__search > .icon { color: var(--gold); width: 22px; height: 22px; }
.palette__search input { border: 0; background: transparent; min-height: 48px; font-size: 1.12rem; padding: 0; }
.palette__search input:focus-visible { outline: none; }
.palette__results { max-height: min(60vh, 540px); overflow-y: auto; padding: 8px; list-style: none; margin: 0; }
.palette__group { font-size: .8rem; font-weight: 600; color: var(--gold-2); padding: 12px 12px 4px; margin: 0; }
.palette__item { margin: 0; }
.palette__item a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; }
.palette__item a .pi-sub { display: block; font-size: .82rem; color: var(--muted); }
.palette__item[aria-selected="true"] a, .palette__item a:hover { background: var(--panel-3); box-shadow: inset 3px 0 0 var(--gold); }
.palette__foot { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 18px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--muted); }
.palette__foot kbd { font-family: inherit; padding: 1px 6px; border: 1px solid var(--rule-2); border-radius: 5px; }
.palette__empty { padding: 20px 16px; color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding: 22px 0 18px; margin-top: 48px; font-size: .86rem; line-height: 1.5; color: var(--text-2); }
.foot-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.brand--foot { padding: 4px 11px 4px 6px; gap: 7px; border-radius: 12px; }
.brand--foot .brand__mark { height: 30px; }
.brand--foot .brand__name { font-size: .98rem; }
.brand--foot .brand__tag { font-size: .58rem; margin-top: 1px; }
.foot-venture { color: var(--text-2); font-weight: 500; text-decoration: none; display: inline-block; min-height: 24px; line-height: 24px; }
.foot-venture:hover { text-decoration: underline; }
.foot-links { flex: 1 1 520px; }
.foot-links ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 16px; list-style: none; padding: 0; margin: 0; }
.foot-links li { margin: 0; }
.foot-links a, .foot-legal a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover, .foot-legal a:hover { color: var(--text); text-decoration: underline; }
.foot-links a, .foot-legal li > a { display: inline-block; min-height: 24px; line-height: 24px; }
.foot-links ul { row-gap: 4px; }
.foot-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 40px; padding-top: 14px; align-items: start; }
.foot-stack { font-style: normal; color: var(--text-2); font-size: .82rem; line-height: 1.55; }
.foot-stack .entity { font-weight: 600; color: var(--text); letter-spacing: .02em; }
.foot-stack a { color: var(--text-2); display: inline-block; min-height: 24px; line-height: 20px; padding: 2px 0; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 2px 16px; list-style: none; padding: 0; margin: 0 0 6px; }
.foot-legal li { margin: 0; }
.foot-legal p { margin: 0 0 6px; color: var(--muted); font-size: .8rem; max-width: 92ch; }
.foot-ver { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.version-tag { color: var(--gold); font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) {
  .foot-links { flex-basis: 100%; }
  .foot-links ul { justify-content: flex-start; }
  .foot-main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 16px; }
  .foot-links ul { gap: 0 14px; }
  .foot-links a { display: inline-block; padding: 3px 0; }
  .foot-legal ul { gap: 0 14px; margin-bottom: 4px; }
  .foot-legal a { display: inline-block; padding: 2px 0; }
  .foot-top { padding-bottom: 10px; gap: 8px 14px; }
  .foot-main { padding-top: 10px; gap: 10px; }
  .foot-stack { font-size: .78rem; line-height: 1.5; }
  .foot-legal p { font-size: .76rem; line-height: 1.45; }
  .site-footer { font-size: .82rem; }
}
.stack-lines { font-style: normal; line-height: 1.65; color: var(--text-2); margin: 0; }
.stack-lines .entity { font-weight: 600; color: var(--text); letter-spacing: .02em; }
.stack-lines a { color: var(--text-2); }
.acct-btn.is-signed-in { border-color: var(--logo-green); color: var(--logo-green); }
.drawer__acct { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; padding: 12px 12px; border-radius: 12px; border: 1px solid var(--rule); background: var(--panel-2); color: var(--text); font-weight: 600; text-decoration: none; }
.drawer__acct .icon { color: var(--logo-green); }
.drawer__acct.is-hidden { display: none; }
.drawer__out { display: flex; align-items: center; gap: 12px; margin: 2px 0 2px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-weight: 600; text-decoration: none; }
.drawer__out:hover { color: var(--text); background: var(--panel-2); }
.drawer__out.is-hidden { display: none; }
.helplines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .helplines { grid-template-columns: 1fr; } }
.helpline { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--panel); text-decoration: none; color: var(--text); transition: border-color .15s ease; }
.helpline:hover { border-color: var(--gold); }
.helpline strong { font-size: 1.2rem; color: var(--gold-2); font-weight: 700; letter-spacing: .02em; }
.helpline .helpline__name { font-weight: 600; color: var(--text); font-size: .95rem; }
.helpline span { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.helpline--emergency { border-color: var(--danger-rule); background: var(--danger-bg); }
.helpline--emergency strong { color: var(--danger); }
.glance { margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.glance div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--rule); }
.glance div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; text-align: right; color: var(--text); font-weight: 500; }
.tour-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: ts; }
.tour-steps > li { counter-increment: ts; position: relative; margin: 0; padding: 0 0 22px 52px; border-left: 2px solid var(--rule-2); margin-left: 16px; }
.tour-steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.tour-steps > li::before { content: counter(ts); position: absolute; left: -17px; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--panel); border: 2px solid var(--gold); color: var(--gold-2); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.tour-steps h3 { font-size: 1.08rem; margin: 2px 0 6px; }
.tour-steps p { margin: 0 0 6px; color: var(--text-2); }
.h3 { font-size: 1.3125rem; }
.btn-row--center { justify-content: center; }
.center .lead { margin-inline: auto; }
.ego .ego-more { font-size: 12px; fill: var(--muted); }
.ego svg.ego-narrow { display: none; }
@media (max-width: 600px) {
  .ego svg.ego-wide { display: none; }
  .ego svg.ego-narrow { display: block; max-width: 420px; margin: 0 auto; }
  .ego .ego-narrow text { font-size: 16px; }
  .ego .ego-narrow .ego-more { font-size: 13px; }
}
.doc h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.mini-list a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; }
.mini-list a:hover { color: var(--gold-2); text-decoration: underline; }
.card .mini-list li { margin: 0 0 4px; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 1rem; }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nowrap { white-space: nowrap; }
.kbd { font-family: inherit; font-size: .84em; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--rule-2); background: var(--panel-2); }
.center { text-align: center; }
.print-only { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
.panel__grab { display: none; }
.site-header__bar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.toast-region { bottom: calc(24px + env(safe-area-inset-bottom)); }
.drawer__panel { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.site-footer { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.listview { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
.zoomctl { right: calc(14px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); }
.mapapp__top { left: calc(14px + env(safe-area-inset-left)); right: calc(14px + env(safe-area-inset-right)); }
.hero { min-height: min(90vh, 920px); min-height: min(90svh, 920px); }
.dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.dialog__inner { max-height: calc(100vh - 26px); max-height: calc(100dvh - 26px); }
.panel.is-dragging { transition: none !important; }
@media (max-width: 760px) {
  .panel { left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom)); height: 44vh; height: 44svh; border-radius: 20px 20px 18px 18px; }
  .panel.is-full { height: calc(100% - 16px - env(safe-area-inset-bottom)); }
  .panel__grab { position: absolute; z-index: 3; top: 0; left: 50%; width: 120px; height: 16px; margin-left: -60px; display: flex; justify-content: center; align-items: center; cursor: grab; touch-action: none; }
  .panel__grab span { width: 36px; height: 4px; border-radius: 999px; background: color-mix(in srgb, var(--text-2) 40%, transparent); }
  .panel__head { touch-action: none; align-items: center; gap: 8px; padding: 14px 8px 4px 14px; }
  .panel__title { font-size: 1.08rem; line-height: 1.3; }
  .panel__title .kt__tag { font-size: .72rem; gap: .32em; margin-right: .4rem; padding: .14em .56em .14em .44em; }
  .panel__btns { gap: 4px; }
  .panel__btns .icon-btn { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 11px; }
  .panel__tabs { padding: 0 6px; }
  .panel__body { padding: 12px 14px 22px; }
  .mapapp.has-panel .zoomctl { bottom: calc(44vh + 18px + env(safe-area-inset-bottom)); bottom: calc(44svh + 18px + env(safe-area-inset-bottom)); }
  .storybar { left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom)); }
  .drawer-left { bottom: calc(8px + env(safe-area-inset-bottom)); }
  .map-hint { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .panel__tabs button { padding: 8px 10px; font-size: .86rem; line-height: 1.3; }
}
@media (pointer: coarse) {
  .btn--sm { min-height: 44px; }
  .chip { min-height: 44px; }
  .conn__name { padding: 6px 0; }
  .linkish { padding: 10px 0; }
  .food-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; }
  .ref-item__links summary { min-height: 44px; }
  .legend__toggle { padding: 10px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .stack-lines a { display: inline-block; padding: 7px 0; }
  .foot-stack a { display: inline-block; min-height: 24px; line-height: 20px; padding: 2px 0; }
}
@media print {
  :root, :root[data-theme] { color-scheme: light; background: #fff; --bg: #fff; --bg-2: #fff; --panel: #fff; --panel-2: #fff; --panel-3: #fff; --text: #000; --text-2: #111; --muted: #444; --rule: #ccc; --rule-2: #bbb; --gold: #6E5320; --gold-2: #6E5320; --link: #000; }
  .site-header, .site-footer .foot-top, .toolbar, .side, .toc, .skip, .no-print, .drawer, .toast-region, .palette, .btn, .icon-btn, .hero__canvas { display: none !important; }
  body { background: #fff !important; font-size: 11pt; }
  .layout-article { display: block; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .card, .callout, .conn, .lib-item { box-shadow: none; break-inside: avoid; }
  .print-only { display: block !important; }
}
.callout--gold { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--panel)); }
.callout--gold p { display: block; }
.callout--gold .icon { color: var(--gold); vertical-align: -3px; margin-right: 6px; }
.acct-card--founding { border-color: color-mix(in srgb, var(--gold) 55%, var(--rule)); box-shadow: inset 0 3px 0 var(--gold), var(--lift); }
.acct-card--founding h2 .icon { color: var(--gold); }
.acct-fnd__no { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.acct-fnd__no > span:first-child { color: var(--muted); font-weight: 600; }
.acct-fnd__no strong { font-size: 2rem; line-height: 1; font-weight: 600; letter-spacing: -.01em; color: var(--gold-2); }
.acct-fnd__days { margin: 0 0 8px; }
.acct-fnd__bar { height: 8px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--rule); overflow: hidden; margin-top: 8px; }
.acct-fnd__bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 60%, var(--logo-green))); }
.acct-fnd__pro { margin: 14px 0 6px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--rule); }
.acct-fnd__pro .acct-check { margin: 8px 0 0; }
.acct-fnd__friends { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.acct-fnd__friends h3 { font-size: 1rem; margin: 0 0 6px; }
.acct-fnd__link { display: grid; gap: 8px; }
.acct-fnd__link input { width: 100%; min-height: 40px; font: inherit; font-size: .9rem; padding: 6px 10px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--panel); color: var(--text); }
.lockcard__paused { color: var(--warn-ink, var(--text)); font-weight: 600; }
.founding { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin: 22px 0 6px; padding: 22px 24px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--gold) 7%, var(--panel)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); box-shadow: var(--lift); }
.founding__count { display: grid; justify-items: center; text-align: center; min-width: 150px; padding: 14px 16px; border-radius: var(--r-md, 14px); background: var(--panel); border: 1px solid var(--rule); }
.founding__count strong { font-size: 2.2rem; line-height: 1.05; font-weight: 600; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.founding__count span { font-size: .84rem; color: var(--muted); }
.founding h2 { margin: 0 0 6px; font-size: 1.3rem; }
.founding p { margin: 0 0 8px; }
.founding .btn-row { margin-top: 10px; }
@media (max-width: 640px) { .founding { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; } .founding__count { justify-self: start; } }
.founding-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin: 0 auto; padding: 12px 18px;
  border-radius: 14px; background: color-mix(in srgb, var(--gold) 8%, var(--panel)); border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--rule)); }
.founding-strip p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.founding-strip .icon { color: var(--gold); flex: none; margin-top: 3px; }
.founding-strip strong[data-founding-left] { font-variant-numeric: tabular-nums; }
.bodyview__tours { display: none; }
.bodyview.is-open .bodyview__tours { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px; margin: 0 0 4px; align-items: center; }
.bodyview__tours-label { flex: none; font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.bodyview__tours .chip { flex: none; white-space: nowrap; }
.bodyview__tours .chip[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--panel)); }
.bodyview__story { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; max-height: 60%; overflow: auto; padding: 9px 11px; border-radius: 14px;
  background: var(--bvs-label-bg); color: var(--bvs-label); border: 1px solid color-mix(in srgb, var(--bvs-line) 40%, transparent); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); cursor: auto; }
.bodyview__story[hidden] { display: none; }
.bodyview__tour-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 2px; font-size: .8rem; }
.bodyview__tour-head span { opacity: .75; font-variant-numeric: tabular-nums; }
.bodyview__story .bodyview__sub { margin: 2px 0 4px; color: var(--bvs-gold); font-size: .95rem; }
.bodyview__tour-lead { display: none; }
.bodyview__tour-text { margin: 0 0 4px; font-size: .84rem; line-height: 1.42; }
.bodyview__tour-src { margin: 0 0 6px; font-size: .74rem; opacity: .75; }
.bodyview__tour-nav { display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; margin: 2px 0 0; }
.bodyview__tour-nav .btn { min-height: 34px; padding: 4px 12px; }
.bodyview__story .btn--soft { background: rgba(255, 255, 255, .08); color: var(--bvs-label); border-color: rgba(255, 255, 255, .22); }
.bodyview__story .linkish { color: var(--bvs-label); }
.bodyview__tour-more { display: inline-flex; gap: 12px; flex-wrap: wrap; margin-left: auto; font-size: .8rem; }
.bodyview__steps .bodyview__place[aria-current="step"] .bodyview__topic { color: var(--text); text-decoration: none; }
.start__head { max-width: 760px; }
.start__steps { list-style: none; counter-reset: start; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; max-width: 760px; }
.start__step { counter-increment: start; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--panel); border: 1px solid var(--rule); box-shadow: var(--lift); }
.start__icon { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--logo-green) 10%, var(--panel-2)); color: var(--logo-green); }
.start__icon .icon { width: 24px; height: 24px; }
.start__icon::after { content: counter(start); position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--gold-ink); font-size: .74rem; font-weight: 600; }
.start__step h2 { font-size: 1.08rem; margin: 2px 0 4px; }
.start__step p { margin: 0 0 8px; color: var(--text-2); }
.start__pro { max-width: 760px; }
.start__pro h2 { display: flex; align-items: center; gap: 8px; }
.start-note { position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(520px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule));
  box-shadow: 0 18px 44px rgba(10, 20, 40, .22); }
.start-note p { margin: 0; flex: 1 1 220px; }
.start-note .btn-row { margin: 0; }
@media print { .start-note { display: none; } }
.count-note { position: fixed; z-index: 41; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(560px, calc(100% - 24px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 16px; background: var(--panel);
  border: 1px solid var(--rule); box-shadow: 0 18px 44px rgba(10, 20, 40, .22); }
.count-note p { margin: 0; flex: 1 1 260px; }
.count-note .btn-row { margin: 0; }
.count-note .btn { min-width: 6.5em; justify-content: center; }
@media print { .count-note { display: none; } }
.scr-setup { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .scr-setup { grid-template-columns: 1fr; } }
.scr-setup[hidden] { display: none; }
.scr-form { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--lift); }
.scr-sets { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.scr-sets legend { font-weight: 600; margin-bottom: 8px; }
.scr-set { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; }
.scr-set:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 6%, var(--panel)); }
.scr-set input { margin-top: 4px; }
.scr-set span { display: grid; gap: 2px; }
.scr-set small { color: var(--muted); }
.scr-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 600px) { .scr-row { grid-template-columns: 1fr; } }
.scr { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: minmax(0, 1fr) auto;
  gap: 0 3vw; padding: 3vh 3vw 2vh; background: var(--bvs-stage); color: var(--bvs-label); outline: none; }
.scr[hidden] { display: none; }
.scr__stage { min-height: 0; display: grid; }
.scr__stage .bodyview, .scr__stage .bodyview.is-open { position: relative; width: 100%; height: 100%; padding: 0; background: none; box-shadow: none; border: 0; }
.scr__stage .bodyview__frame { height: 100% !important; background: none; border: 0 !important; border-radius: 0; box-shadow: none !important; }
.bodyview--bare .bodyview__head, .bodyview--bare .bodyview__turn, .bodyview--bare .bodyview__tours, .bodyview--bare .bodyview__info, .bodyview--bare .bodyview__organs,
.bodyview--bare .bodyview__note, .bodyview--bare .bodyview__credit, .bodyview--bare .bodyview__sexnote { display: none !important; }
.scr__side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 2vh; min-height: 0; align-content: center; }
.scr__text { align-self: center; }
.scr__kind { display: flex; align-items: center; gap: .6em; font-size: clamp(14px, 1.5vw, 26px); margin: 0 0 .4em; opacity: .85; }
.scr__dot { width: .8em; height: .8em; border-radius: 50%; background: currentColor; }
.scr__title { font-size: clamp(30px, 4.4vw, 78px); line-height: 1.05; margin: 0 0 .35em; color: #FFFFFF; letter-spacing: -.01em; }
.scr__summary { font-size: clamp(16px, 1.75vw, 32px); line-height: 1.4; margin: 0 0 .6em; max-width: 34em; }
.scr__points { margin: 0 0 .8em; padding-left: 1.1em; font-size: clamp(14px, 1.45vw, 26px); line-height: 1.4; }
.scr__points li { margin-bottom: .35em; }
.scr__src { font-size: clamp(12px, 1vw, 18px); opacity: .7; margin: 0; }
.scr__qr { display: flex; align-items: center; gap: 14px; }
.scr__qr p { margin: 0; font-size: clamp(14px, 1.3vw, 24px); }
.scr__qrcode { width: clamp(96px, 9vw, 170px); height: auto; border-radius: 8px; }
.scr__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 2vw; flex-wrap: wrap; font-size: clamp(11px, .95vw, 17px); opacity: .85; }
.scr__foot p { margin: 0; }
.scr__credit { opacity: .7; }
.scr__dots { display: flex; gap: 6px; }
.scr__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.scr__dots span.is-on { background: var(--bvs-gold); }
.scr__controls { position: absolute; top: 2vh; right: 2vw; display: flex; gap: 8px; opacity: 0; transition: opacity .3s ease; }
.scr:hover .scr__controls, .scr:focus-within .scr__controls { opacity: 1; }
.scr__btn { background: rgba(255, 255, 255, .1); color: var(--bvs-label); border: 1px solid rgba(255, 255, 255, .25); }
@media (max-aspect-ratio: 1/1) { .scr { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto auto; } .scr__stage { min-height: 40vh; } }
@media (prefers-reduced-motion: reduce) { .scr__controls { transition: none; } }
.cv-practice { margin: 10px 0 0; }
.cv-practice > summary { padding: 8px 12px; font-size: .88rem; }
.cv-practice .acct-field, .cv-practice p { padding: 0 12px; }
.mymap__name { margin-top: 10px; max-width: 360px; }
.mymap__name input { width: 100%; }
.myprogress h2 { display: flex; align-items: center; gap: 10px; }
.progress__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .progress__grid { grid-template-columns: 1fr; } }
.progress__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 4px 0 14px; }
.progress__tile { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--rule); }
.progress__tile strong { font-size: 1.7rem; line-height: 1.05; font-weight: 600; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.progress__tile span { font-size: .84rem; color: var(--muted); }
.progress__next h3 { font-size: 1rem; margin: 0 0 8px; }
.progress__list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.progress__body .bodyview--inline.is-open .bodyview__frame { height: 360px; }
.progress__body .bodyview__title { font-size: .95rem; }
.bodyview__card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bodyview__card-head .bodyview__sub { margin: 4px 0 6px; }
.bodyview__card-back { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.bodyview__card-back .icon { width: 14px; height: 14px; }
.bodyview__card-acts { margin: 4px 0 10px; }
.bodyview__card-kind { font-size: .8rem; font-weight: 600; margin: 12px 0 6px; color: var(--text-2); }
.bodyview__card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bodyview__card-list li { margin: 0; }
.bodyview__card-list .chip { cursor: pointer; }
.bodyview__layout { display: none; }
.bodyview__layout .btn { justify-content: center; min-height: 34px; }
.bodyview__layout .btn[aria-pressed="true"] { background: color-mix(in srgb, var(--gold) 16%, transparent); border-color: var(--gold); font-weight: 600; }
@media (min-width: 1100px) {
  .bodyview.is-open .bodyview__layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 8px; }
  .mapapp { --bw: 0px; }
  .mapapp.has-body { --bw: clamp(340px, 28vw, 480px); }
  .mapapp.has-body.body-large { --bw: clamp(560px, calc((100% - var(--pw)) * .62), 1400px); }
  .mapapp.has-body.body-only { --bw: calc(100% - var(--pw)); }
  .mapapp.has-body .mapstage { left: var(--bw); }
  .mapapp.has-body .mapapp__top { left: calc(var(--bw) + 14px); }
  .mapapp.has-body .legend { left: calc(var(--bw) + 14px); }
  .mapapp.has-body .drawer-left { left: calc(var(--bw) + 12px); }
  .mapapp.has-body :is(.drawer-left, .listview).is-open ~ .bodyview.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mapapp.has-body .edgetip { left: var(--bw); }
  .mapapp.has-body .listview { left: var(--bw); }
  .mapapp.has-body .map-hint { left: calc(var(--bw) + (100% - var(--bw) - var(--pw)) / 2); }
  .mapapp.has-body .storybar { left: calc(var(--bw) + (100% - var(--bw) - var(--pw)) / 2); width: min(720px, calc(100% - var(--bw) - var(--pw) - 60px)); }
  .mapapp.has-body .bodyview.is-open { left: 0; top: 0; bottom: 0; width: var(--bw); height: auto; max-height: none; border-radius: 0; border-width: 0 1px 0 0;
    box-shadow: none; z-index: 19; padding: 0 14px 14px; }
  .mapapp.has-body.body-only .mapstage { left: 0; visibility: hidden; }
  .mapapp.has-body.body-only :is(.mapapp__top, .zoomctl, .minimap, .legend, .map-hint, .edgetip, .storybar, .drawer-left) { visibility: hidden; }
  .mapapp.has-body:is(.body-large, .body-only) .bodyview.is-open { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); column-gap: 22px;
    grid-auto-rows: min-content; align-content: start; }
  .mapapp.has-body:is(.body-large, .body-only) .bodyview.is-open > * { grid-column: 2; }
  .mapapp.has-body:is(.body-large, .body-only) .bodyview.is-open > :is(.bodyview__head, .bodyview__layout) { grid-column: 1 / -1; }
  .mapapp.has-body:is(.body-large, .body-only) .bodyview.is-open > .bodyview__frame { grid-column: 1; grid-row: 3 / span 40; position: sticky; top: 58px;
    height: calc(100dvh - var(--header-h) - 92px); min-height: 420px; }
}
.topicfig { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px 24px; align-items: start; }
.topicfig__where { font-weight: 600; margin-top: 0; }
.topicfig .bodyview--inline .bodyview__head { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.topicfig .bodyview--inline.is-open .bodyview__frame { height: 380px; }
.topicfig .bodyview__info, .topicfig .bodyview__note { display: none !important; }
@media (max-width: 640px) { .topicfig { grid-template-columns: minmax(0, 1fr); } .topicfig .bodyview--inline.is-open .bodyview__frame { height: 340px; } }
@media print { .topicfig__fig { display: none; } .topicfig { grid-template-columns: 1fr; } }
.help-now { margin: 0 0 16px; padding: 0 0 0 14px; border-left: 3px solid var(--danger-rule); }
.help-now__label { font-weight: 600; margin: 0 0 4px; }
.help-now ul { margin: 0 0 6px; }
.abm-wall[hidden], [data-wall-hide][hidden] { display: none !important; }
.signin { display: grid; gap: 14px; }
.signin .acct-form { display: grid; gap: 10px; }
.acct-passkey { display: grid; gap: 6px; justify-items: start; padding-top: 4px; }
.signin-dialog { width: min(480px, calc(100vw - 24px)); }
.signin-dialog::backdrop { background: rgba(3, 6, 12, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.signin-dialog__title { margin: 0 0 4px; font-size: 1.35rem; }
.signin-dialog__lead { margin: 0 0 16px; color: var(--text-2); }
.signin-dialog__foot { margin-top: 14px; justify-content: center; }
.wall-card { margin: 18px 0 8px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--rule-2); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-soft); }
.wall-card__title { margin: 0 0 6px; font-size: 1.2rem; }
.wall-card p { max-width: 62ch; }
.passkeys { margin-top: 14px; }
.passkeys .acct-list li { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.signin-dialog__help { margin: 10px 0 0; text-align: center; }
.price-pair { display: grid; grid-template-columns: max-content 1fr; column-gap: 10px; row-gap: 2px; align-items: baseline; margin: 6px 0 4px; }
.price-pair > * { display: contents; }
.price-pair strong { justify-self: start; font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.price-pair strong + span { color: var(--text-2); font-size: .95rem; font-weight: 500; }
.price-pair--sm strong { font-size: 1.25rem; }
.price-pair--sm strong + span { font-size: .9rem; }
.rt-card .btn-row { margin-top: 10px; }
.rt-sum { margin: 2px 0 8px; font-size: .95rem; }
.rt-sum strong { font-weight: 600; }
.rt-track { position: relative; height: 34px; margin: 4px 2px 6px; }
.rt-track__line { position: absolute; left: 0; right: 0; top: 9px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--c-energy) 30%, var(--bg-2)), color-mix(in srgb, var(--c-body) 22%, var(--bg-2)) 60%, color-mix(in srgb, var(--c-hormones) 34%, var(--bg-2))); }
.rt-dot { position: absolute; top: 6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--panel); background: var(--muted); }
.rt-dot--water { background: var(--t-molecule); } .rt-dot--food { background: var(--t-nutrient); } .rt-dot--sleep { background: var(--c-hormones); }
.rt-dot--move { background: var(--t-lifestyle); } .rt-dot--more { background: var(--gold); }
.rt-track__end { position: absolute; top: 20px; font-size: .72rem; color: var(--muted); }
.rt-track__end--a { left: 0; } .rt-track__end--b { right: 0; }
.rt-next { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.rt-next .icon { width: 16px; height: 16px; flex: none; }
.rt-group { border: 0; border-top: 1px solid var(--rule); padding: 12px 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.rt-group__head { display: grid; grid-template-columns: auto 36px minmax(0, 1fr); gap: 10px; align-items: center; cursor: pointer; }
.rt-group__head > span:last-child { display: flex; flex-direction: column; }
.rt-group__body { display: grid; gap: 10px; padding-left: 30px; }
.rt-group__body[hidden] { display: none; }
.rt-ic { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, currentColor 12%, var(--panel)); }
.rt-ic--sleep { color: var(--c-hormones); } .rt-ic--food { color: var(--t-nutrient); } .rt-ic--water { color: var(--t-molecule); }
.rt-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rt-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rt-list select { width: auto; min-width: 160px; }
.rt-list input[type="time"] { width: auto; }
.rt-list--times { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rt-list--times li { gap: 4px; padding: 4px 4px 4px 8px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg-2); }
.rt-list--times input[type="time"] { border: 0; background: transparent; padding: 4px; min-height: 36px; }
.icon-btn--sm { width: 36px; height: 36px; }
.rt-water { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rt-check { margin: 0; }
.rt-more { border-top: 1px solid var(--rule); padding: 10px 0 2px; }
.rt-more > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; min-height: 40px; }
.rt-more > summary .icon { width: 18px; height: 18px; color: var(--gold); }
.rt-more__row { display: grid; gap: 6px; padding: 10px 0; border-top: 1px dashed var(--rule); }
.rt-more__row .rem-ctrls { padding-left: 30px; }
.rt-preview { margin: 12px 0 4px; padding: 12px 14px 6px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--rule); }
.rt-google { margin-top: 12px; }
.rt-google > summary { cursor: pointer; font-weight: 500; min-height: 36px; display: flex; align-items: center; }
.today-data { display: flex; gap: 8px; align-items: flex-start; margin: 4px 4px 0; }
.today-data .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold); }
.ci-more { border-top: 1px solid var(--rule); }
.ci-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; min-height: 48px; font-weight: 500; color: var(--text-2); }
.ci-more > summary .ci-more__n { font-size: .8rem; color: var(--ok); font-weight: 600; white-space: nowrap; }
.ci-more[open] > summary { color: var(--text); }
@media (max-width: 560px) {
  .rt-group__body, .rt-more__row .rem-ctrls { padding-left: 0; }
  .rt-list--times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.appnote--lean { grid-template-columns: auto minmax(0, 1fr) auto; }
.appnote--lean .appnote__how { grid-column: auto; justify-self: end; }
@media (max-width: 640px) { .appnote--lean { grid-template-columns: auto minmax(0, 1fr); } .appnote--lean .appnote__how { grid-column: 2; justify-self: start; } }
.doc-host { display: none; }
.doc-offscreen { position: absolute; left: -10000px; top: 0; width: 900px; pointer-events: none; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@page { size: A4; margin: 15mm 14mm 17mm;
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font-family: Poppins, Arial, sans-serif; font-size: 7.5pt; color: #4E5B72; }
  @bottom-left { content: "AskBioMap is general health education. It does not diagnose or treat, and it is not a medical record."; font-family: Poppins, Arial, sans-serif; font-size: 7pt; color: #4E5B72; }
  @top-left { font-family: Poppins, Arial, sans-serif; font-size: 7.5pt; color: #053792; }
  @top-right { font-family: Poppins, Arial, sans-serif; font-size: 7.5pt; color: #4E5B72; } }
@media print {
  body.print-doc > :not(#abm-doc) { display: none !important; }
  body.print-doc #abm-doc { display: block !important; }
  body.print-doc { background: #fff !important; }
  .doc { font-family: Poppins, Arial, sans-serif; color: #22304A; font-size: 9.5pt; line-height: 1.38; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc a { color: inherit; text-decoration: none; }
  .doc a::after { content: none !important; }
  .doc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12pt; padding-bottom: 6pt; border-bottom: 1.4pt solid #053792; position: relative; margin-bottom: 14pt; }
  .doc-head::after { content: ""; position: absolute; left: 0; bottom: -1.4pt; width: 96pt; border-bottom: 1.4pt solid #048424; }
  .doc-brand { display: flex; align-items: center; gap: 7pt; }
  .doc-brand img { width: 15pt; height: auto; }
  .doc-brand strong { display: block; color: #053792; font-size: 11pt; line-height: 1.1; }
  .doc-brand span span { display: block; font-size: 7.5pt; color: #4E5B72; }
  .doc-meta { margin: 0; font-size: 7.5pt; }
  .doc-meta div { display: flex; gap: 6pt; justify-content: flex-end; }
  .doc-meta dt { color: #4E5B72; }
  .doc-meta dd { margin: 0; color: #0B1220; font-weight: 500; }
  .doc-title h1 { font-size: 20pt; margin: 0 0 2pt; color: #0B1220; line-height: 1.12; }
  .doc-title p { color: #4E5B72; font-size: 10pt; margin: 0 0 10pt; }
  .doc-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: .6pt solid #D8E0E8; border-right: 0; margin: 4pt 0 10pt; }
  .doc-who div { padding: 5pt 8pt; border-right: .6pt solid #D8E0E8; }
  .doc-who dt { font-size: 7.5pt; color: #4E5B72; }
  .doc-who dd { margin: 0; font-weight: 600; color: #0B1220; font-size: 10pt; }
  .doc-hand { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16pt; margin: 4pt 0 12pt; }
  .doc-hand span { font-size: 7.5pt; color: #4E5B72; }
  .doc-hand i { display: block; border-bottom: .7pt solid #4E5B72; height: 16pt; }
  .doc-summary { display: grid; gap: 4pt; margin: 2pt 0 12pt; grid-template-columns: repeat(4, minmax(0, 1fr)); break-inside: avoid; }
  .doc-summary--1 { grid-template-columns: 1fr; } .doc-summary--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doc-summary--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc-tile { background: #F3F6F9; padding: 7pt 8pt; }
  .doc-tile strong { display: block; font-size: 15pt; color: #053792; line-height: 1.15; }
  .doc-tile span { display: block; font-size: 8pt; color: #22304A; margin-top: 1pt; }
  .doc-tile small { display: block; font-size: 7.5pt; color: #4E5B72; }
  .doc-box { border-left: 3pt solid #053792; background: #F3F6F9; padding: 6pt 9pt; margin: 2pt 0 10pt; break-inside: avoid; }
  .doc-box--note, .doc-box--gold { border-left-color: #7A5C20; }
  .doc-box--green { border-left-color: #048424; }
  .doc-box__title { font-weight: 600; color: #0B1220; margin: 0 0 2pt; }
  .doc-box__text { margin: 0; white-space: pre-wrap; }
  .doc-sec h2 { font-size: 12pt; color: #053792; margin: 12pt 0 5pt; padding-bottom: 3pt; border-bottom: .6pt solid #D8E0E8; break-after: avoid; display: flex; gap: 8pt; }
  .doc-sec__n { color: #048424; }
  .doc-p { margin: 0 0 5pt; white-space: pre-wrap; }
  .doc-p--small { font-size: 8pt; }
  .doc-p--muted { color: #4E5B72; }
  .doc-list { margin: 0 0 6pt; padding-left: 14pt; }
  .doc-list li { margin: 0 0 3pt; break-inside: avoid; }
  .doc-list li::marker { color: #053792; }
  .doc-list--check { list-style: none; padding-left: 0; }
  .doc-list--check li::before { content: ""; display: inline-block; width: 8pt; height: 8pt; border: .8pt solid #4E5B72; border-radius: 1.5pt; margin-right: 7pt; vertical-align: -1pt; }
  .doc-table { width: 100%; border-collapse: collapse; font-size: 8.5pt; margin: 2pt 0 8pt; }
  .doc-table thead { display: table-header-group; }
  .doc-table th { background: #EAF0F5; text-align: left; font-weight: 600; color: #0B1220; padding: 4pt 6pt; border-bottom: 1pt solid #053792; }
  .doc-table td { padding: 4pt 6pt; border-bottom: .5pt solid #D8E0E8; vertical-align: top; }
  .doc-table tbody tr:nth-child(even) td { background: #F3F6F9; }
  .doc-table tr { break-inside: avoid; }
  .doc-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
  .doc-kv { margin: 0 0 8pt; }
  .doc-kv div { display: grid; grid-template-columns: 130pt 1fr; gap: 8pt; padding: 4pt 0; border-bottom: .5pt solid #D8E0E8; }
  .doc-kv dt { font-size: 7.5pt; color: #4E5B72; } .doc-kv dd { margin: 0; }
  .doc-figure { margin: 2pt 0 10pt; text-align: center; break-inside: avoid; }
  .doc-figure img, .doc-svg { width: 100%; height: auto; max-height: 115mm; object-fit: contain; }
  .doc-figure figcaption { font-size: 8pt; color: #4E5B72; margin-top: 3pt; }
  .doc-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12pt; align-items: start; break-inside: avoid; }
  .doc-lines { margin: 0 0 10pt; break-inside: avoid; }
  .doc-lines__label { font-size: 7.5pt; color: #4E5B72; margin: 0; }
  .doc-lines span { display: block; border-bottom: .6pt solid #D8E0E8; height: 22pt; }
  .doc-topics { margin: 0; }
  .doc-topics div { margin: 0 0 7pt; break-inside: avoid; }
  .doc-topics dt strong { color: #0B1220; }
  .doc-topics dt span { color: #4E5B72; font-size: 8pt; }
  .doc-topics dd { margin: 1pt 0 0; }
  .doc-src { display: block; font-size: 8pt; color: #4E5B72; }
  .doc-qrbox { display: grid; grid-template-columns: 86pt 1fr; gap: 10pt; align-items: center; border: .6pt solid #D8E0E8; padding: 6pt; margin: 6pt 0 10pt; break-inside: avoid; }
  .doc-qr { width: 80pt; height: 80pt; }
  .doc-qrbox p { margin: 0 0 2pt; }
  .doc-sources { font-size: 8pt; padding-left: 14pt; margin: 0; }
  .doc-sources li { margin: 0 0 2pt; break-inside: avoid; }
  .doc-foot { margin-top: 14pt; font-size: 8pt; color: #4E5B72; break-inside: avoid; border-top: .6pt solid #D8E0E8; padding-top: 6pt; }
  .doc-foot p { margin: 0 0 2pt; }
  .doc-foot__co { font-size: 7pt; }
}
.pt-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.pt-copy > div:first-child { flex: 1 1 280px; }
@media print {
  .doc-sign { display: grid; grid-template-columns: 2fr 1fr; gap: 30pt; margin: 4pt 0 10pt; break-inside: avoid; }
  .doc-sign i { display: block; border-bottom: .8pt solid #0B1220; height: 30pt; }
  .doc-sign span { display: block; font-size: 7.5pt; color: #4E5B72; margin-top: 3pt; }
}
@media print { .doc-table caption { text-align: left; font-weight: 600; color: #0B1220; font-size: 9pt; padding: 0 0 3pt; caption-side: top; } }
.fb-form { display: grid; gap: 12px; }
.fb-form[hidden] { display: none; }
.fb-kinds { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.fb-kinds legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.fb-kind { position: relative; margin: 0; }
.fb-kind input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fb-kind > span { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--panel); height: 100%; }
.fb-kind > span .icon { grid-row: span 2; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.fb-kind strong { font-weight: 600; color: var(--text); }
.fb-kind small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.fb-kind input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: color-mix(in srgb, var(--gold) 7%, var(--panel)); }
.fb-kind input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.fb-form textarea { min-height: 150px; }
.fb-count { margin: -6px 0 0; }
.fb-health { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.fb-health .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ok); }
.fb-page { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--bg-2); }
.fb-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb-done { padding: 18px; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--rule)); background: var(--ok-bg); }
.fb-done__title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.fb-done__title .icon { color: var(--ok); }
@media (max-width: 560px) { .fb-kinds { grid-template-columns: 1fr; } }
.adm-fb { display: grid; gap: 10px; }
.adm-fb__msg { white-space: pre-wrap; margin: 6px 0; }
.adm-fb__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.adm-fb__tools textarea { min-height: 60px; flex: 1 1 260px; }
@media print {
  body.print-doc .doc-head { display: none; }
  .doc-control { display: grid; grid-template-columns: 1.35fr 1.45fr 2.3fr .9fr; gap: 0 10pt; margin: 0 0 10pt; padding: 3pt 0; border-top: .6pt solid #D8E0E8; border-bottom: .6pt solid #D8E0E8; }
  .doc-control dt { font-size: 7pt; color: #4E5B72; }
  .doc-control dd { margin: 0; font-size: 7.5pt; color: #0B1220; font-weight: 500; white-space: nowrap; }
}
.doc-control { display: none; }
@media print { body.print-doc .doc-control { display: grid; } }
.em-dialog .dialog__inner { max-width: 560px; }
.em-addr { margin: 10px 0 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--rule); font-size: clamp(1.05rem, 4.2vw, 1.35rem); font-weight: 600; letter-spacing: .04em; word-break: break-all; font-variant-ligatures: none; }
.em-addr__at { color: var(--gold); padding: 0 2px; }
.em-addr__domain { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.em-typo, .em-warn, .em-done { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-sm); }
.em-typo { background: var(--warn-bg); }
.em-warn { background: var(--bg-2); font-size: .9rem; align-items: flex-start; flex-wrap: nowrap; }
.em-done { background: var(--ok-bg); align-items: flex-start; flex-wrap: nowrap; }
.em-typo .icon, .em-warn .icon, .em-done .icon { width: 18px; height: 18px; flex: none; }
.em-preview { border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 12px 14px; margin: 0 0 14px; max-height: 42vh; overflow: auto; background: var(--panel); }
.em-preview dl { margin: 0 0 8px; display: grid; gap: 4px; }
.em-preview dl div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; font-size: .9rem; }
.em-preview dt { color: var(--muted); }
.em-preview dd { margin: 0; overflow-wrap: anywhere; display: flex; gap: 6px; align-items: center; }
.em-preview dd .icon { width: 16px; height: 16px; flex: none; }
.em-preview__body { white-space: pre-wrap; font-size: .9rem; margin: 0; padding-top: 8px; border-top: 1px dashed var(--rule); }
@media print {
  .doc p, .doc li, .doc dd, .doc td, .doc-tile span, .doc-tile small, .doc-box__text { text-wrap: pretty; orphans: 3; widows: 3; }
  .doc h1, .doc h2, .doc caption { text-wrap: balance; }
  .doc { font-size: 10.5pt; }
  .doc--report-clinician { font-size: 9.5pt; }
}
.acct-accept__gift { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 1rem; color: var(--text); }
.acct-accept__gift svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--gold); }
.acct-parts { margin: 4px 0 14px; }
.acct-parts ul { list-style: none; margin: 0; padding: 0; }
.acct-parts li { flex: none; }
.acct-devices { margin-top: 20px; }
.acct-devlist { list-style: none; padding: 0; margin: 6px 0 10px; }
.acct-dev { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.acct-dev:first-child { border-top: 0; }
.acct-dev > .icon { width: 22px; height: 22px; color: var(--text-2); }
.acct-dev__what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-dev__what .small { overflow-wrap: anywhere; }
.acct-dev--here > .icon { color: var(--logo-green); }
.acct-more { margin-top: 8px; border: 1px solid var(--rule); border-radius: 12px; padding: 0 14px; }
.acct-more > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; list-style: none; }
.acct-more > summary::-webkit-details-marker { display: none; }
.acct-more > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.acct-more[open] > summary::after { transform: rotate(-135deg); }
.acct-more[open] { padding-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .acct-more > summary::after { transition: none; } }
