:root{color-scheme:light;--ink:#30483a;--muted:#657167;--paper:#faf8f2;--cream:#fffefa;--line:#d8ddd3;--sage:#8e9b76}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.45 system-ui,sans-serif}
.pathway-page{width:min(100%,900px);margin:auto;padding:12px 14px 110px}.back-link{display:inline-block;margin:0 0 7px;color:#365a49;text-underline-offset:4px}.eyebrow{margin:0 0 3px;color:#687b65;font-size:12px;font-weight:750;letter-spacing:.12em}body .pathway-page h1{margin:2px 0 6px;font:400 clamp(28px,5vw,42px)/1.08 Georgia,serif}.intro{max-width:68ch;margin:0 0 11px;color:var(--muted);font-size:15px;line-height:1.4}
.path-card{padding:12px;border:1px solid var(--line);border-left:5px solid #8a9a86;border-radius:15px;background:var(--cream);box-shadow:0 7px 24px #263d3010}.visual-row{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:6px}.arrow{display:grid;width:40px;height:44px;min-height:44px;place-items:center;padding:0;border:1px solid #c9d2c5;border-radius:12px;background:#edf1e9;color:#405845;font-size:29px;line-height:1;cursor:pointer}.visual{margin:0;position:relative;overflow:hidden;border:1px solid #e2e2d7;border-radius:12px;background:#f8f5ed}.visual img{display:block;width:100%;height:auto;max-height:min(66svh,740px);object-fit:contain}.visual:after{position:absolute;z-index:1;top:var(--focus-y,0);left:var(--focus-x,0);width:var(--focus-size,0);aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid var(--focus-color,#8e9b76);border-radius:50%;background:rgba(142,155,118,.12);box-shadow:0 0 0 8px rgba(142,155,118,.13);opacity:0;pointer-events:none;content:"";transition:opacity .2s ease,transform .35s ease;animation:ring-pulse 1.8s ease-in-out infinite}.visual[data-focus="v1"]:after{--focus-x:54%;--focus-y:18%;--focus-size:12%;--focus-color:#d3a44c;opacity:1;background:rgba(211,164,76,.12);box-shadow:0 0 0 8px rgba(211,164,76,.13)}.visual[data-focus="v2"]:after{--focus-x:48%;--focus-y:36%;--focus-size:13%;--focus-color:#879d64;opacity:1;background:rgba(135,157,100,.12);box-shadow:0 0 0 8px rgba(135,157,100,.13)}.visual[data-focus="v3"]:after{--focus-x:43%;--focus-y:51%;--focus-size:12%;--focus-color:#8d6ab0;opacity:1;background:rgba(141,106,176,.12);box-shadow:0 0 0 8px rgba(141,106,176,.13)}.facial-branches{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.facial-branches[hidden]{display:none}.facial-branches .nerve-lines path{stroke-dasharray:1200;stroke-dashoffset:1200;animation:nerve-draw 1.4s ease-out both}.facial-branches .nerve-labels text{font-size:22px}.visual figcaption{position:absolute;z-index:2;bottom:8px;left:50%;transform:translateX(-50%);max-width:94%;padding:5px 10px;border:1px solid #e2e4d9;border-radius:20px;background:#fffdf0ef;color:#45594a;font-size:12px;font-weight:700;text-align:center;white-space:nowrap}@keyframes nerve-draw{from{stroke-dashoffset:1200}to{stroke-dashoffset:0}}@keyframes ring-pulse{50%{box-shadow:0 0 0 12px rgba(142,155,118,.06)}}
.section-label{margin:0 0 3px;text-align:center;color:#63745f;font-size:11px;font-weight:800;letter-spacing:.09em}.copy{padding:7px 2px 0;text-align:center}.step-count{margin:0;color:#6c7869;font-size:12px;font-weight:700;letter-spacing:.04em}body .pathway-page .copy h2{margin:2px 0 4px;font:400 clamp(21px,3.4vw,28px)/1.18 Georgia,serif}.copy p:not(.step-count){max-width:65ch;margin:0 auto;color:#566157;font-size:15px;line-height:1.4}.tag{display:inline-block;margin-top:7px;padding:4px 9px;border:1px solid #dce3d6;border-radius:99px;background:#f1f4ed;color:#526451;font-size:12px;font-weight:700}.dots{display:flex;flex-wrap:wrap;justify-content:center;gap:1px;margin:4px auto 0;max-width:420px}.dots button{position:relative;display:grid;width:32px;height:32px;min-height:32px;place-items:center;padding:0;border:0;border-radius:50%;background:transparent}.dots button:before{width:8px;height:8px;border-radius:50%;background:#c8d0c1;content:""}.dots button[aria-current="step"]:before{width:10px;height:10px;background:#526c55;box-shadow:0 0 0 3px #e8eddf}.arrow:focus-visible,.dots button:focus-visible{outline:3px solid #91a482;outline-offset:2px}
.quick-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.quick-map article{padding:9px 10px;border:1px solid #dce2d6;border-radius:10px;background:#f1f4ed;font-size:13px;line-height:1.35}.quick-map strong,.quick-map span{display:block}.quick-map strong{margin-bottom:3px;color:#435b47}.quick-map span{color:#5a665c}.reference-card{margin-top:8px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--cream)}.reference-card summary{padding:11px 0;font-weight:700;cursor:pointer}.table-wrap{overflow-x:auto;padding-bottom:8px}.reference-card table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.35}.reference-card th,.reference-card td{padding:7px 8px;border-bottom:1px solid #e5e8df;text-align:left;vertical-align:top}.reference-card thead th{background:#edf1e9;color:#435b47;font-size:11px;letter-spacing:.04em}.reference-card tbody th[colspan]{background:#f4f2e9;color:#455845;font-size:11px;letter-spacing:.025em}.reference-card tbody tr:last-child td{border-bottom:0}.table-note{margin:0 0 10px;color:#687368;font-size:12px;line-height:1.4}.clinical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 0 8px}.clinical-grid article{padding:10px;border:1px solid #e4e7de;border-radius:9px;background:#fbfaf6}.clinical-grid h2{margin:0 0 4px;font:700 15px/1.25 system-ui,sans-serif}.clinical-grid p{margin:4px 0;font-size:13px;line-height:1.42;color:#59645b}.clinical-grid a{font-size:12px;color:#365a49;text-underline-offset:3px}.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 0 10px}.reference-grid article{padding:10px;border:1px solid #e4e7de;border-radius:9px;background:#fbfaf6}.reference-grid h2{margin:0 0 4px;font:700 15px/1.25 system-ui,sans-serif}.reference-grid p{margin:4px 0;font-size:13px;line-height:1.42;color:#59645b}.note{margin:8px 3px 0;color:#6e776d;font-size:12px;line-height:1.4}
@media(max-width:600px){.pathway-page{padding:10px 8px 96px}.intro{font-size:14px;margin-bottom:8px}.path-card{padding:8px;border-radius:13px}.visual-row{grid-template-columns:36px minmax(0,1fr) 36px;gap:4px}.arrow{width:34px;height:44px}.visual img{max-height:min(59svh,600px)}.visual figcaption{bottom:5px;padding:4px 8px;font-size:11px}.copy{padding:6px 1px 0}.copy p:not(.step-count){font-size:14px;line-height:1.35}.quick-map{grid-template-columns:1fr;gap:5px}.clinical-grid{grid-template-columns:1fr}.reference-card table{min-width:620px}.section-label{font-size:10px}.quick-map article{padding:8px 9px}.reference-grid{grid-template-columns:1fr;gap:5px}.reference-grid article{padding:8px}.note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.visual:after{animation:none;transition:none}}

.tongue-closeup-link{margin:-6px 0 14px;font-size:14px;font-weight:700}.tongue-closeup-link a,.tongue-closeup-step-link{color:#365a49;text-underline-offset:3px}.tongue-closeup-step-link{display:inline-block;margin:0 0 8px;font-size:14px;font-weight:700}.tongue-closeup-step-link[hidden]{display:none}
