/* Shared typography: semantic reading surfaces, not graph geometry. */
html{font-size:17px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:17px;line-height:1.75}
button,input,select,textarea{font-size:inherit}
.top .tab,.nav .tab,.menu a,.menu button{font-size:15px;line-height:1.55}
.top-in .brand-ko{font-size:13px}.top-in .search input{font-size:16px}.top-in .seg button{font-size:14px}
.nav{min-height:48px}.nav .tab{padding-top:11px;padding-bottom:11px;min-height:44px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#main :is(.lead,.intro,.desc,.body-copy,.prose,.article,.bio,.wk-desc,.tm-copy,.pp-s,.insp-body){font-size:18px;line-height:1.8}
#main :is(.vh>p,.panel>p,.section-lead,.sx-lead,.sx-note,.sx-tile p,.sx-tile small){font-size:17px;line-height:1.75}
.insp-body :is(p,li,dd),dialog :is(p,li,dd),.pp-s :is(p,li),.bio :is(p,li){font-size:17px;line-height:1.85;overflow-wrap:anywhere;word-break:keep-all}
.insp-body :is(h3,h4),dialog h3{line-height:1.5}.insp-body :is(small,.muted,.meta){font-size:14px;line-height:1.65}
.insp-top button,.btn,.ibtn{min-height:42px}.btn{font-size:16px;line-height:1.5;white-space:normal}
.insp{max-width:100vw}.insp-body{overflow-x:hidden}.insp-body a,dialog a{overflow-wrap:anywhere}
.pdc-info p,.pdc-info small,.pdc-meta,.mx-profile p,.mx-bio p,.mx-bio li{font-size:16px;line-height:1.75}
.mx-bio h3,.mx-profile h3{font-size:22px}.mx-dialog-body p,.mx-dialog-body li{font-size:18px;line-height:1.85}
.sx :is(p,li){font-size:16px;line-height:1.75}.sx small,.sx-sub,.sx-caption,.sx-foot,.sx-note{font-size:14px;line-height:1.7}
.sx-era-n,.sx-field-n,.sx-region-n{font-size:16px}.sx :is(button,a){min-height:36px}
#main :is(p,li,dd){overflow-wrap:break-word}
.hx-intro p,.hx-intro .hx-sub{font-size:17px;line-height:1.7}.hx-cta button{font-size:17px;min-height:48px}.hx-cap small{font-size:15px;line-height:1.5}
.hx-key{perspective-origin:50% 50%!important}.hx-key .hk-sh{opacity:0!important}
[data-mtheme=light] .mx-muted{color:#4e626b}
@media(max-width:760px){html,body{font-size:17px}.top-in{flex-wrap:wrap}.top .brand-ko{font-size:12px}.top-in .tools{gap:5px}.nav .tab{font-size:15px}.dock span{font-size:13px}.dock{height:auto;min-height:64px;padding-bottom:env(safe-area-inset-bottom)}.dock a,.dock button{min-height:54px}.insp-body{padding-left:18px;padding-right:18px}.insp-body :is(p,li,dd){font-size:17px}.hx-intro p,.hx-intro .hx-sub{font-size:16px}.hx-cta{flex-wrap:wrap;gap:10px}.hx-cta button{font-size:16px}.sx :is(p,li){font-size:16px}.sx small{font-size:14px}.sx .sx-tile{min-width:0}.btn{min-height:44px}dialog{max-width:calc(100vw - 24px)}.menu :is(a,button){font-size:16px;min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
:root{--read-size:18px;--read-small:16px;--read-body:17px}
:root[data-reading=large]{--fs-base:19px;--fs-md:20px;--fs-sm:17px;--read-size:20px;--read-small:18px;--read-body:19px}
:root[data-reading=larger]{--fs-base:21px;--fs-md:22px;--fs-sm:18px;--read-size:22px;--read-small:20px;--read-body:21px}
html[data-reading] #main :is(.vh>p,.panel>p,.lead,.intro,.desc,.body-copy,.prose,.article,.bio,.wk-desc,.tm-copy,.pp-s){font-size:var(--read-size);line-height:1.8}
html[data-reading] :is(.insp-body,.mx-dialog-body,.mx-bio,.mx-profile) :is(p,li,dd){font-size:var(--read-size);line-height:1.85}
html[data-reading] .ct-reading section p,html[data-reading] .ct-source-copy p,html[data-reading] .ct-teacher-note p,html[data-reading] .ct-lesson-outline p{font-size:var(--read-size);line-height:1.85}
html[data-reading] .ax-content p{font-size:var(--read-size)!important}html[data-reading] .ax-content .ax-note,html[data-reading] .ax-content .ax-scope{font-size:var(--read-small)!important}
html[data-reading] .sx :is(p,li){font-size:var(--read-small);line-height:1.8}
.mx-reading-tools{position:relative}.mx-reading-tools #mx-reading-toggle{font-size:17px;min-width:44px}.mx-reading-tools #mx-reading-toggle span{font-size:13px;margin-left:3px}#mx-reading-options{position:absolute;z-index:200;right:0;top:calc(100% + 10px);width:280px;max-width:calc(100vw - 26px);padding:18px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}#mx-reading-options[hidden]{display:none}#mx-reading-options p{font-size:17px;margin:0 0 12px}#mx-reading-options>div{display:flex;gap:6px}#mx-reading-options button{flex:1;font-size:15px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:var(--surface-2);color:var(--ink);padding:7px}#mx-reading-options button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}#mx-reading-options small{display:block;font-size:13px;color:var(--ink-2);line-height:1.7;margin-top:12px}
/* Statistical labels retain their full names as reading sizes grow. */
.sx-rl>span{overflow:visible;text-overflow:clip;white-space:normal;line-height:1.6}.sx-row{min-height:48px;height:auto}.sx-card{min-width:0}.sx-hm{overflow-x:auto;grid-template-columns:minmax(130px,1.3fr) repeat(var(--nc),minmax(48px,1fr));padding-bottom:8px}.sx-hm-e .sx-ct{display:inline!important;overflow:visible;text-overflow:clip;white-space:normal}.sx-hm-c{min-height:44px;line-height:1.5}.sx-cl .sx-ct{overflow-wrap:anywhere}
@media(max-width:760px){.sx-hm{grid-template-columns:126px repeat(var(--nc),48px)}#sx-era .sx-col{min-height:48px;grid-template-columns:minmax(0,10em) minmax(0,1fr)}.top-in .search{min-width:0}}
/* Match the front-facing key's zero-offset perspective to its 3D pose. */
.hx-key .hk-stage{perspective-origin:0 0}
