/* Shared mobile repair, 30 October: one dock, compact header, consistent navigation. */
.author-profile{border-radius:28px;background:oklch(.94 .023 165);padding:clamp(24px,4vw,52px);margin-bottom:clamp(36px,5vw,64px)}
.author-profile__identity{display:flex;align-items:center;gap:24px}
.author-profile__identity>img{width:88px;height:88px;flex:none;padding:16px;border-radius:24px;background:var(--paper)}
.author-profile__identity h1{font:750 clamp(2rem,3.6vw,3.4rem)/1.12 var(--font-head);letter-spacing:-.04em;margin:10px 0 14px}
.author-profile__identity p:not(.eyebrow),.author-profile__bio{font:400 clamp(.9375rem,1.15vw,1.125rem)/1.75 var(--font-body);max-width:72ch;color:var(--muted)}
.author-profile__bio{margin:24px 0}
.author-profile__details{display:flex;align-items:center;gap:16px 28px;flex-wrap:wrap;font-size:.875rem;color:var(--teal-dark)}
.author-profile__details>span,.author-profile__details>a{display:flex;align-items:center;gap:9px;min-height:44px}
.author-profile__details>a{margin-left:auto;text-decoration:underline;text-underline-offset:4px}
.author-profile__details .icon{width:21px;height:21px;flex:none}
.author-contributions h2{font:750 clamp(1.6rem,2.7vw,2.4rem)/1.2 var(--font-head);margin:10px 0 24px}
.author-contributions__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.author-contribution{display:grid;grid-template-columns:100px minmax(0,1fr) 22px;align-items:center;gap:20px;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--paper);transition:background .18s}
.author-contribution:hover{background:var(--reading)}
.author-contribution>img{width:100px;height:84px;object-fit:contain;border-radius:14px;background:oklch(.95 .015 165)}
.author-contribution small{display:block;font:400 .75rem/1.5 var(--font-body);color:var(--teal-dark);margin-bottom:7px}
.author-contribution strong{display:block;font:650 clamp(.9375rem,1.1vw,1.125rem)/1.45 var(--font-head);overflow-wrap:break-word}
.author-contribution>.icon{width:22px;height:22px;color:var(--teal-dark)}
@media(max-width:850px){.author-contributions__grid{grid-template-columns:1fr}}
@media(max-width:540px){.author-profile__identity{align-items:start;gap:16px}.author-profile__identity>img{width:60px;height:60px;padding:10px;border-radius:18px}.author-profile__identity h1{font-size:1.8rem}.author-profile__identity .eyebrow{font-size:.625rem;letter-spacing:.1em}.author-profile__details{gap:8px 18px}.author-profile__details>a{margin-left:0}.author-contribution{grid-template-columns:68px minmax(0,1fr) 18px;gap:13px;padding:16px}.author-contribution>img{width:68px;height:74px}.author-contribution>.icon{width:18px;height:18px}}
.article-meta--byline{display:flex;align-items:center;justify-content:space-between;gap:20px 36px;flex-wrap:wrap;padding-block:20px}
.article-meta--byline .article-byline{display:flex;align-items:center;gap:20px 36px;flex-wrap:wrap;min-width:0;color:var(--muted);font-size:clamp(.75rem,.72rem + .12vw,.875rem);font-weight:400;line-height:1.6}
.article-byline__author{display:flex;align-items:center;gap:10px;color:var(--teal-dark)}
.article-byline__author strong{display:block;font-weight:650}
.article-byline__author .icon{width:28px;height:28px}
.article-byline__dates{display:flex;gap:14px 28px;flex-wrap:wrap}
.article-byline__dates time{display:block;color:var(--ink);font-weight:550}
.article-meta__sharing{display:flex;align-items:center;gap:18px}
.article-meta--byline .share-label{font-size:.75rem;gap:8px}
.article-illustration{margin:0;align-self:center;min-width:0;padding:clamp(16px,2.4vw,32px);border-radius:28px;background:oklch(.94 .023 165)}
.article-illustration img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;transform:none;filter:none}
.article-illustration figcaption{text-align:center;font:500 .6875rem/1.5 var(--font-body);color:var(--muted);margin-top:8px}
@media(max-width:1100px){.article-meta--byline .share-label{display:none}}
@media(max-width:700px){.article-meta--byline{gap:16px;padding-block:18px}.article-meta--byline .article-byline{width:100%;justify-content:space-between;gap:12px}.article-byline__dates{gap:14px}.article-meta__sharing{width:100%;justify-content:center}.article-meta--byline .share-actions{width:100%;justify-content:space-between;gap:6px}.article-illustration{width:100%;max-width:30rem;justify-self:center;padding:16px}.article-meta--byline .article-byline__author .icon{width:24px;height:24px}}
@media(max-width:359px){.article-meta--byline .article-byline{align-items:start}.article-byline__dates{gap:10px;font-size:.6875rem}}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;justify-self:end}
.header-test{display:none}
:root{--muya-toolbar-height:0px}
@media(min-width:1101px){html .site-shell{padding-bottom:0}.site-shell>.atlas-footer{padding-bottom:24px}}
@media(min-width:1101px){.atlas-footer .atlas-footer__glossary{border-top:0;padding-top:0;margin-top:24px}.atlas-footer__glossary .footer-group-links{position:relative;margin-top:24px}}
.header-collections{display:block;position:relative}
.header-collections>summary{display:grid;place-items:center;width:46px;height:46px;cursor:pointer;list-style:none;border-radius:50%;background:var(--teal-dark);color:var(--paper);border:1px solid transparent}
.header-collections>summary::-webkit-details-marker{display:none}
.header-collections[open]>summary{box-shadow:0 0 0 3px oklch(.88 .04 165)}
.header-collections__panel{position:absolute;right:0;top:calc(100% + 13px);z-index:85;width:min(330px,calc(100vw - 32px));padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 40px oklch(.25 .025 170 / .16)}
.header-collections__panel .eyebrow{margin:0 0 12px;font-size:.6875rem}
.header-collections__panel>a{display:flex;align-items:center;gap:12px;min-height:50px;padding:12px 8px;border-radius:12px;color:var(--teal-dark);font:650 .875rem/1.5 var(--font-head)}
.header-collections__panel>a:hover{background:var(--reading)}
.header-collections__all{border-top:1px solid var(--line);margin-top:6px}
.drawer__handle--dismiss{display:block;width:64px;min-height:28px;height:28px;margin:0 auto 12px;padding:0;border:0;background:transparent;cursor:pointer;touch-action:none}
.drawer__handle--dismiss:before{content:'';display:block;width:42px;height:5px;margin:auto;border-radius:99px;background:color-mix(in oklch,var(--teal-dark) 25%,transparent)}
.drawer-search{position:relative;display:flex;align-items:center;gap:8px;margin:14px 0 20px;background:var(--paper);border:1px solid var(--line);border-radius:15px;min-height:50px}
.drawer-search input{width:100%;min-width:0;min-height:50px;padding:10px 12px 10px 48px;border:0;border-radius:15px;background:transparent;color:var(--ink);font-size:1rem}
.drawer-search button{position:absolute;left:3px;top:3px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--teal-dark)}
#menu-drawer .drawer__links{display:block;border:0;margin:0}
#menu-drawer .drawer__links>a,#menu-drawer .drawer-menu-group>summary{display:flex;align-items:center;gap:13px;min-height:58px;padding:15px 8px;border:0;border-bottom:1px solid var(--line);font:650 1rem/1.4 var(--font-head);color:var(--ink);list-style:none}
#menu-drawer .drawer-menu-group{border:0}
#menu-drawer .drawer-menu-group>summary::-webkit-details-marker{display:none}
#menu-drawer .drawer__links>a>.icon,#menu-drawer .drawer__links>a>img,#menu-drawer summary>.icon{flex:none;width:23px;height:23px;color:var(--teal-dark)}
#menu-drawer .drawer-menu-caret{flex:none;margin-left:auto;transition:transform .18s}
#menu-drawer .drawer-menu-group[open] .drawer-menu-caret{transform:rotate(180deg)}
#menu-drawer .drawer-menu-group.is-active>summary{color:var(--teal-dark)}
#menu-drawer [aria-current=page]{background:oklch(.91 .045 165);color:var(--teal-dark);border-radius:13px;box-shadow:inset 0 0 0 1px oklch(.82 .06 165)}
#menu-drawer .drawer-branch{margin:8px 0 12px 19px;padding:0 0 0 19px;border-left:1px solid color-mix(in oklch,var(--teal-dark) 25%,transparent)}
#menu-drawer .drawer-branch>a{position:relative;display:flex;align-items:center;gap:11px;min-height:48px;padding:12px 9px;font:450 .9375rem/1.5 var(--font-body);color:var(--muted);border:0}
#menu-drawer .drawer-branch>a:before{content:'';position:absolute;left:-20px;top:0;width:14px;height:50%;border-left:1px solid color-mix(in oklch,var(--teal-dark) 25%,transparent);border-bottom:1px solid color-mix(in oklch,var(--teal-dark) 25%,transparent);border-radius:0 0 0 9px}
#menu-drawer .drawer-branch .icon{flex:none;width:21px;height:21px;color:var(--teal-dark)}
.atlas-footer .footer-group-links{margin-left:10px;border-left:0;padding-left:20px}
.atlas-footer .footer-group-links>a{position:relative;padding:9px 6px;min-height:40px}
.atlas-footer .footer-group-links>a:before{content:'';position:absolute;left:-21px;top:0;width:14px;height:50%;border-left:1px solid color-mix(in oklch,var(--teal-dark) 24%,transparent);border-bottom:1px solid color-mix(in oklch,var(--teal-dark) 24%,transparent);border-radius:0 0 0 8px}
.atlas-footer .footer-group-links>a:after{content:'';position:absolute;left:-21px;top:0;bottom:0;border-left:1px solid color-mix(in oklch,var(--teal-dark) 24%,transparent)}
.atlas-footer .footer-group-links>a:last-child:after{display:none}
@media(min-width:1101px){.atlas-footer__glossary .footer-group-links>a:nth-last-child(-n+4):after{display:none}}
.atlas-footer .footer-group-links>a[aria-current=page]{color:var(--teal-dark);background:oklch(.93 .035 165);border-radius:8px}
.pain-region-next{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;margin:18px auto 12px;padding:12px 24px}
.pain-region-next:disabled{opacity:.45;cursor:not-allowed}
.symptom-question-position{margin:0 0 16px;color:var(--teal-dark);font:650 .8125rem/1.5 var(--font-head)}
.anatomy-load-status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px 0 0;font-size:.8125rem;color:var(--muted)}
.anatomy-load-status[hidden]{display:none}
.anatomy-load-status button{border:0;background:transparent;color:var(--teal-dark);text-decoration:underline;min-height:44px;padding:6px}
.foot-explorer__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.3;pointer-events:none}
.foot-explorer__stage[data-ready=true]>.foot-explorer__poster{display:none}
.foot-explorer__load{z-index:2}
.foot-explorer__load[hidden]{display:none!important}
.foot-explorer__progress{width:min(200px,70%);height:4px;border:0;border-radius:99px;accent-color:var(--teal-dark);margin:12px auto}
@media(max-width:1100px){
 :root{--muya-toolbar-height:0px;--mobile-dock-height:66px}
 .site-header{height:64px;min-height:64px;position:relative}
 .site-header .site-header__inner{display:flex;align-items:center;justify-content:space-between;min-height:64px;height:64px;gap:12px}
 .site-header .brand-logo{width:166px;max-width:100%}
 .site-header .header-actions{gap:8px;flex:none}
 .site-header .header-store--desktop{display:none}
 .header-test{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:oklch(.91 .045 165);color:var(--teal-dark);border:1px solid color-mix(in oklch,var(--teal-dark) 25%,transparent)}
 .header-test .icon{width:25px;height:25px}
 .header-test[aria-current=page]{background:var(--teal-dark);color:var(--paper)}
 .header-collections{display:block;position:relative}
 .header-collections>summary{display:grid;place-items:center;width:42px;height:42px;cursor:pointer;list-style:none;border-radius:50%;background:var(--teal-dark);color:var(--paper);border:1px solid transparent}
 .header-collections>summary::-webkit-details-marker{display:none}
 .header-collections[open]>summary{box-shadow:0 0 0 3px oklch(.88 .04 165)}
 .header-collections__panel{position:absolute;right:0;top:calc(100% + 13px);z-index:85;width:min(330px,calc(100vw - 32px));padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 40px oklch(.25 .025 170 / .16)}
 .header-collections__panel .eyebrow{margin:0 0 12px;font-size:.6875rem}
 .header-collections__panel>a{display:flex;align-items:center;gap:12px;min-height:50px;padding:12px 8px;border-radius:12px;color:var(--teal-dark);font:650 .875rem/1.5 var(--font-head)}
 .header-collections__panel>a:hover{background:var(--reading)}
 .header-collections__all{border-top:1px solid var(--line);margin-top:6px}
 .muya-toolbar{display:none!important}
 html.js .site-shell{padding-bottom:calc(var(--mobile-dock-height) + 18px + env(safe-area-inset-bottom))}
 .mobile-dock{grid-template-columns:repeat(5,minmax(0,1fr));padding-inline:8px}
 .mobile-dock a,.mobile-dock button{min-width:0;font-size:.625rem;font-weight:650}
 .mobile-toc-trigger{bottom:calc(var(--mobile-dock-height) + 12px + env(safe-area-inset-bottom));right:16px;padding:9px 14px;font-size:.75rem;gap:8px}
 .mobile-toc-trigger .toc-trigger-percent{display:none}
 #menu-drawer{padding-top:8px;max-height:88vh;max-height:88dvh}
 #menu-drawer .drawer-guide{margin-top:0;padding:16px;min-height:80px}
 #menu-drawer .drawer-guide strong{font-size:1.0625rem;line-height:1.4}
 #menu-drawer .drawer-guide small{font-size:.8125rem;margin-top:4px}
 #menu-drawer .drawer-guide>.icon{width:30px;height:30px}
}
@media(max-width:700px){
 .symptom-page{padding-top:20px}
 .symptom-guide--page{padding:22px 16px;border-radius:22px}
 .symptom-guide .eyebrow{font-size:.6875rem;letter-spacing:.08em;line-height:1.5;margin:0 0 10px}
 .symptom-guide h1{font-size:clamp(1.65rem,5.8vw,2rem);line-height:1.2;letter-spacing:-.035em;margin:0 0 14px}
 .symptom-guide #symptom-intro{font-size:.9375rem;line-height:1.6;margin:0}
 .symptom-path{margin:22px 0 16px;padding-block:7px 10px}
 .symptom-path li{flex-basis:88px;min-width:88px;max-width:88px}
 .symptom-path small{font-size:.625rem}
 .symptom-path button>span{width:42px;height:42px;margin-bottom:8px;border-radius:14px}
 .symptom-path .icon{width:25px;height:25px}
 .symptom-path li:not(:last-child):before,.symptom-path li:not(:last-child):after{top:20px;left:calc(50% + 23px);right:calc(-50% + 23px)}
 .symptom-step-number{left:calc(50% + 10px);min-width:20px;height:20px;font-size:.5625rem}
 .symptom-question-position{font-size:.75rem;margin:0 0 14px!important}
 .symptom-guide fieldset{margin:0 0 20px}
 .symptom-guide legend{font-size:1.25rem;line-height:1.4;gap:10px;margin-bottom:20px}
 .symptom-guide legend>span{max-width:92%}
 .symptom-guide legend:before,.symptom-guide legend:after{min-width:8px}
 .symptom-guide .symptom-question-description{font-size:.875rem;line-height:1.6;margin:0 0 16px}
 .symptom-choices{grid-template-columns:1fr;gap:10px}
 .symptom-choice{min-height:58px;padding:12px 14px;border-radius:14px;gap:12px}
 .symptom-choice-icon{width:32px;height:32px;border-radius:10px}
 .symptom-choice-icon>.icon{width:24px;height:24px}
 .symptom-choice-text{font-size:.9375rem;line-height:1.5;font-weight:500}
 .symptom-choice-mark{width:19px;height:19px;margin-left:auto;flex:none}
 .symptom-guide .symptom-safety-note{font-size:.75rem;line-height:1.6;margin:20px 0 0;padding:12px;border-radius:13px;gap:10px}
 .symptom-safety-note .icon{width:20px;height:20px}
 .pain-region-picker{padding:16px 10px;border-radius:18px}
 .pain-region-views{grid-template-columns:1fr 1fr;gap:6px}
 .pain-region-view svg{height:225px}
 .pain-region-view h3{font-size:.75rem;line-height:1.4;margin:0 0 10px}
 .pain-region-caption{font-size:.8125rem;margin:10px 0;min-height:36px}
 .pain-region-chip{padding:6px 9px;font-size:.75rem}
 .pain-region-unsure{font-size:.8125rem;gap:8px;padding:9px 12px;min-height:44px}
 .pain-region-next{width:100%;font-size:.9375rem;margin:16px 0 8px}
 .symptom-guide .pain-map-note{font-size:.6875rem;line-height:1.5}
 .symptom-result{padding:20px 16px;border-radius:19px}
 .symptom-result h2{font-size:1.4rem;line-height:1.35}
 .symptom-guide .symptom-result>p{font-size:.9375rem;line-height:1.6}
 .symptom-answer-summary__head>span{display:none}
 .anatomy-stage .anatomy-caption{font-size:.75rem;max-width:100%;text-align:center}
}
@media(max-width:380px){.site-header .brand-logo{width:144px}.header-actions{gap:6px}.pain-region-view svg{height:200px}.symptom-guide--page{padding:20px 13px}.drawer{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.drawer-menu-caret{transition:none}}
/* Consultation acceptance: compact six-node rail, visible current group, one clear next action. */
.drawer__handle--dismiss{width:96px;min-height:36px;height:36px;margin-bottom:8px}
.symptom-question-position{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.symptom-question-position[hidden]{display:none!important}
.symptom-question-position small{font:500 .75rem/1.4 var(--font-body);color:var(--muted)}
.header-collections[open]{isolation:isolate;z-index:90}
.header-collections[open]:before{content:'';position:absolute;inset:-10px -10px -16px;background:var(--paper);border:1px solid var(--line);border-bottom:0;border-radius:30px 30px 0 0;z-index:86;pointer-events:none}
.header-collections[open]>summary{position:relative;z-index:87;box-shadow:none}
.header-collections .header-collections__panel{right:-10px;top:calc(100% + 14px);width:min(304px,calc(100vw - 32px));padding:18px 14px 12px;border-radius:22px 0 22px 22px;box-shadow:0 12px 30px oklch(.25 .025 170 / .12)}
.header-collections .header-collections__panel .eyebrow{padding:2px 10px 10px;margin:0;font-size:.625rem;letter-spacing:.12em}
.header-collections .header-collections__panel>a{min-height:48px;padding:11px 10px;gap:12px;font-size:.8125rem;line-height:1.4}
.header-collections__panel>a>.icon{width:22px;height:22px;flex:none}
.header-collections .header-collections__all{margin-top:8px;padding-top:15px;border-radius:0 0 12px 12px}
.pain-region-next[aria-disabled=true]{opacity:.5;cursor:default}
.region-next-hint{font-size:.8125rem!important;line-height:1.5!important;margin:8px 0;color:var(--teal-dark)}
.symptom-guide [data-answer=none-all]{border-style:dashed;margin-top:6px}
@media(max-width:1100px){.site-shell>.atlas-footer{padding-bottom:18px}}
@media(max-width:700px){
 .symptom-path{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;gap:0;margin:22px 0 16px;padding-block:7px 4px}
 .symptom-path li{min-width:0;max-width:none}
 .symptom-path small{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
 .symptom-path button>span{width:40px;height:40px;margin-bottom:0}
 .symptom-path .icon{width:24px;height:24px}
 .symptom-path li:not(:last-child):before,.symptom-path li:not(:last-child):after{top:19px;left:calc(50% + 21px);right:calc(-50% + 21px)}
 .symptom-path li:last-child .symptom-step-number{display:none}
 .symptom-guide legend{font-size:1.375rem;line-height:1.35;margin-bottom:16px}
 .symptom-guide legend:before,.symptom-guide legend:after{display:none}
 .symptom-guide legend>span{max-width:100%;text-align:left}
 .symptom-question-position{font-size:.75rem}
}
