/* Shared reading scale and stable action layout. Keep decoration separate from labels. */
html{font-size:17px}html:has(body.large-text){font-size:20px}
body{font-size:1rem;line-height:1.6;padding-bottom:9rem}
main{padding-bottom:5rem}p,li,label,input,select,textarea,button{font-size:1rem}
.intro,.home-heading .intro,.feature-heading .intro,.hero-note,.notice p,.share-guidance,.everyday-story p,.origin-story p,.mot-feature p:not(.journey-kicker),.journey-progress p{font-size:1rem;line-height:1.6}
h1,.feature-heading h1{font-size:1.9rem;line-height:1.2}.home-heading h1{font-size:clamp(1.9rem,6vw,2.8rem)}
h2,.everyday-story h2,.mot-feature h2{font-size:1.35rem;line-height:1.3}
h3,.journey-progress h3,.heading-message{font-size:1.12rem;line-height:1.4}
small,.muted,.source,form small,.event-when .muted,.mot-feature small,.journey-progress-copy>small,.progress-explainer,.mot-circle-action>small{font-size:.88rem;line-height:1.5}
.eyebrow,.feature-heading .eyebrow,.journey-kicker,.heading-badge,.journey-next small,.floating-badge small{font-size:.76rem;line-height:1.5;letter-spacing:.07em}
.journey-next strong,.tile strong,.mot-action-label,.record-action>span{font-size:1rem;line-height:1.5}
.tile span:not(.tile-symbol){font-size:1rem;line-height:1.6}
.tile,html[dir=rtl] .tile{display:grid;grid-template-columns:2.6rem minmax(0,1fr) 1.65rem;grid-template-rows:auto auto;column-gap:.75rem;row-gap:.3rem;padding:1.1rem;align-items:start;min-height:6rem}
.tile>.tile-symbol,html[dir=rtl] .tile>.tile-symbol{position:static;grid-column:1;grid-row:1 / span 2;width:2.6rem;height:2.6rem;margin:0;align-self:start;font-size:1.5rem}
.tile>strong{grid-column:2;grid-row:1;min-width:0}
.tile>span:not(.tile-symbol){grid-column:2;grid-row:2;margin:0;min-width:0}
.tile>b,html[dir=rtl] .tile b{position:static;grid-column:3;grid-row:1 / span 2;align-self:center;display:grid;place-items:center;color:var(--ink);margin:0}
.action-arrow{display:block;width:1.65rem;height:1.65rem;flex:none;color:currentColor}
html[dir=rtl] .action-arrow{transform:scaleX(-1)}
.text-action,.card>a.text-action,.help-now{display:flex;align-items:center;justify-content:space-between;gap:.9rem;min-height:48px;padding-block:.65rem;text-decoration:none;font-size:1rem;line-height:1.5;font-weight:750}
.text-action>.action-label,.help-now>.action-label{min-width:0;flex:1}.text-action>.action-label{text-decoration:underline;text-underline-offset:.2em}
.help-now{padding:1rem 1.15rem}.journey-next{gap:.7rem}.journey-next .next-arrow{display:grid;place-items:center;flex:0 0 1.65rem;color:var(--ink)}
html[dir=rtl] .journey-next .next-arrow{transform:none}
.history-nav button{font-size:.94rem;min-height:48px;min-width:0;display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem}
.history-nav a{font-size:.94rem;min-height:48px;display:grid;place-items:center}.history-nav .action-arrow{width:1.25rem;height:1.25rem}
.history-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch}.history-nav button>span{min-width:0;overflow-wrap:anywhere}.history-nav button{gap:.25rem}.history-nav .action-arrow{width:24px;height:24px}
.setting-row{flex-wrap:wrap}.setting-row>*{min-width:0;max-width:100%}.mot-circle-action>small{overflow-wrap:anywhere}main button{max-width:100%;overflow-wrap:anywhere}
.language-toolbar button{font-size:.94rem;min-height:48px}.language-current{max-width:none}
.bottom-nav a:not([href="mot.html"]),.large-text .bottom-nav a:not([href="mot.html"]){font-size:.76rem;line-height:1.35;min-height:64px;padding:.45rem .15rem}
.bottom-nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px minmax(0,1fr) minmax(0,1fr)}
.floating-badge strong{font-size:.94rem;line-height:1.5}.journey-foot,.journey-foot b{font-size:.76rem;line-height:1.5}.journey-foot b{white-space:normal}.journey-foot>span{max-width:none}
.mot-feature{flex-wrap:wrap}.mot-feature>div{flex:1 1 12rem}.mot-feature .mot-button{margin-inline:auto}
.mot-modes .mot-action-label{font-size:1rem}.mot-modes .mot-circle-action{flex:1 1 6rem;min-width:6rem}
.brand small{font-size:.65rem}.version,footer{font-size:.76rem}.version{white-space:normal;text-align:end}
@media(max-width:600px){
 .tiles{grid-template-columns:1fr}.journey-stage{display:flex;flex-direction:column;padding:1rem .25rem;margin-top:1.5rem;overflow:clip;overflow-clip-margin:6px}
 .progress-badge{position:relative;inset:auto;order:-1;align-self:flex-end;margin:0 .25rem -.5rem;max-width:95%}
 .voice-badge{position:relative;inset:auto;align-self:flex-start;margin:-.5rem .25rem 0;max-width:95%}
 .journey-panel{padding:2rem 1rem}.journey-panel h2{font-size:1.5rem;line-height:1.3}
 .journey-progress{flex-wrap:wrap;gap:1rem}.journey-progress-copy{flex:1 1 10rem}.journey-ring{flex-basis:5rem}
 .journey-next .graphic-icon{width:2.4rem;height:2.4rem;flex-basis:2.4rem}.journey-foot{flex-wrap:wrap}
 .feature-heading .eyebrow{margin-top:1.25rem}.heading-badge{max-width:90%}
}
@media(max-width:360px){.tile,html[dir=rtl] .tile{grid-template-columns:2.2rem minmax(0,1fr) 1.65rem;gap:.55rem;padding:.9rem}.tile>.tile-symbol,html[dir=rtl] .tile>.tile-symbol{width:2.2rem;height:2.2rem}.history-nav{padding-inline:.5rem;gap:.25rem}}

/* Cards without a leading illustration use all available width for their label. */
.tile:not(:has(>.tile-symbol)),html[dir=rtl] .tile:not(:has(>.tile-symbol)){grid-template-columns:minmax(0,1fr) 1.65rem}.tile:not(:has(>.tile-symbol))>strong,.tile:not(:has(>.tile-symbol))>span{grid-column:1}.tile:not(:has(>.tile-symbol))>b,html[dir=rtl] .tile:not(:has(>.tile-symbol))>b{grid-column:2}.source a.text-action{font-size:1rem}.external-action .action-label{min-width:0;overflow-wrap:anywhere}
