.language-toolbar{background:#fff;border-bottom:1px solid var(--line);padding:8px 16px;display:flex;justify-content:flex-end}.language-toolbar button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:7px 13px;background:#fff5ed;border-color:#f5c6a9;font-size:14px;flex-wrap:wrap}.language-current{font-weight:500;max-width:150px;overflow-wrap:anywhere}#language-dialog{width:min(580px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:22px;color:var(--ink);background:var(--canvas)}#language-dialog::backdrop{background:#1c292b70}.language-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.language-dialog-top h2{max-width:70%;margin-top:8px}.language-dialog-top button{min-width:64px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.language-options button{min-width:0;overflow-wrap:anywhere;padding:12px 8px}.language-options button[aria-pressed=true]{border:2px solid #b44215;background:#fff0e7}.language-options button[aria-pressed=true]::before{content:'✓ ';color:#8d3515}.entry-text{unicode-bidi:plaintext}textarea{unicode-bidi:plaintext}input[type=tel],input[type=date],audio,.rec-state time{direction:ltr}body{overflow-wrap:break-word}.brand{min-width:0}.bottom-nav a{min-width:0;overflow-wrap:anywhere}.heading-badge{max-width:85%;overflow-wrap:anywhere}.tile strong,.tile span{overflow-wrap:anywhere}.journey-foot{gap:8px}.journey-next>span{min-width:0}.mot-feature>div{min-width:0}.mot-button{direction:ltr}.rec-state strong{overflow-wrap:anywhere}html[dir=rtl] body{font-family:Tahoma,'Segoe UI',Arial,sans-serif}html[dir=rtl] .eyebrow,html[dir=rtl] .journey-kicker,html[dir=rtl] .floating-badge small,html[dir=rtl] .heading-badge{letter-spacing:0}html[dir=rtl] .tile{padding-left:35px;padding-right:88px}html[dir=rtl] .tile>.tile-symbol{left:auto;right:18px}html[dir=rtl] .tile b{right:auto;left:16px}html[dir=rtl] .heading-badge{right:auto;left:14px}html[dir=rtl] .notice{border-left:0;border-right:4px solid var(--orange)}html[dir=rtl] blockquote{border-left:0;border-right:3px solid var(--orange)}html[dir=rtl] .journey-next .next-arrow{transform:scaleX(-1)}html[dir=rtl] .feature-heading{padding-right:26px;padding-left:26px}@media(min-width:600px){html[dir=rtl] .feature-heading{padding-right:108px}html[dir=rtl] .heading-art{left:auto;right:26px}}@media(max-width:380px){.history-nav button{min-width:76px;font-size:13px}.bottom-nav{gap:2px}.bottom-nav a{font-size:11px;padding:8px 3px}.mot-feature{flex-wrap:wrap}.mot-feature .mot-button{margin:10px auto}.brand{font-size:18px}.journey-foot>span{max-width:85px}.floating-badge small{font-size:8px}.floating-badge strong{font-size:11px}html[dir=rtl] .tile{padding-right:76px}html[dir=rtl] .tile>.tile-symbol{right:15px}}
.language-dialog-top h2{flex:1;min-width:0;max-width:none}.language-dialog-top button{flex:0 0 auto;min-width:80px;max-width:45%;overflow-wrap:normal;word-break:normal}

/* The persistent M.O.T entry point uses the same circular identity as Home. */
.bottom-nav{align-items:center}
.bottom-nav a[href="mot.html"]{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;min-width:58px;max-width:58px;min-height:58px;max-height:58px;aspect-ratio:1;border-radius:50%;padding:0;margin:0 4px;background:var(--orange);color:var(--ink);font-size:14px;font-weight:850;line-height:1;direction:ltr;white-space:nowrap}
.bottom-nav a[href="mot.html"][aria-current]{background:var(--orange);color:var(--ink);box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 4px var(--orange)}

/* Recording actions: fixed orange circles with translated labels outside. */
.recording-actions{display:flex;align-items:flex-start;justify-content:center;gap:24px;flex-wrap:wrap}
.record-action{display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 1 110px;min-width:0;text-align:center}
.record-action>span{font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
#mot-form .round-record-button{display:grid;place-items:center;flex:none;width:76px;height:76px;min-width:76px;max-width:76px;min-height:76px;max-height:76px;aspect-ratio:1;border-radius:50%;padding:0;margin:0;background:var(--orange);border:0;color:var(--ink);box-shadow:0 5px 14px #f46e3520}
#mot-form .round-record-button svg{display:block;width:34px;height:34px}
#mot-form .round-record-button:disabled{opacity:1;background:var(--orange);color:#253b3566;box-shadow:none;cursor:default}
#mot-form .round-record-button:disabled svg{opacity:.6}

.mot-circle-action{display:inline-flex;vertical-align:top;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:120px;max-width:100%;margin:12px 8px 16px 0;text-align:center;min-width:0;flex:0 1 120px}
.mot-circle-action[hidden]{display:none!important}.mot-action-label{font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.mot-circle-action>small{font-size:12px;line-height:1.4;color:var(--muted);margin:0}
main .mot-circle-action>.mot-action-button{display:grid;place-items:center;flex:none;box-sizing:border-box;width:76px;height:76px;min-width:76px;min-height:76px;max-width:76px;max-height:76px;aspect-ratio:1;border-radius:50%;background:var(--orange);border:0;color:var(--ink);padding:0;margin:0;text-decoration:none;box-shadow:0 5px 14px #f46e3520}
main .mot-circle-action>.mot-action-button[hidden]{display:none!important}main .mot-circle-action>.mot-action-button:disabled{background:var(--orange);opacity:1;color:#253b3566;box-shadow:none}main .mot-action-button svg{width:32px;height:32px}main .mot-action-button:disabled svg{opacity:.6}.recording-actions .mot-circle-action{margin:0;width:110px;flex-basis:110px}.button-row:has(>.mot-circle-action){align-items:flex-start;gap:10px}.button-row>.mot-circle-action{margin-inline:0}.tiles>.mot-circle-action{justify-self:center;width:100%;margin:8px 0}.mot-circle-action>.mot-action-button:focus-visible{outline:3px solid #96350f;outline-offset:4px}
