/* Shared market refinements. Illustration coordinates remain physical, never mirrored. */
.market-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}
.market-links a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px;unicode-bidi:isolate}
.market-links a[aria-current=page]{color:var(--navy);font-weight:800;text-decoration-thickness:2px}
.market-links a:focus-visible{outline:3px solid var(--purple);outline-offset:4px;border-radius:4px}
html:not([data-market=au]) .topbar [data-regular-only]{white-space:normal}
html:not([data-market=au]) .offer .price-total{font-size:clamp(1.9rem,3.6vw,3rem);white-space:normal;line-height:1.3}
html:not([data-market=au]) .plan-heading{flex-wrap:wrap;gap:12px}
html:not([data-market=au]) .plan-heading h3{max-width:100%}
html:not([data-market=au]) .save-label{position:static;white-space:normal}
html:not([data-market=au]) .mobile-cta .button{white-space:normal}
html:not([data-market=au]) .eyebrow{flex-wrap:wrap;border-radius:12px}
html:not([data-market=au]) .hero h1{letter-spacing:-.025em}
html:not([data-market=au]) .setup-title{flex-wrap:wrap;gap:10px}
html:not([data-market=au]) .setup-title span{white-space:normal}
html:not([data-market=au]) .stat b{font-size:clamp(1.25rem,2.1vw,1.6rem)}
html[dir=rtl] body,html[dir=rtl] body *{font-family:"Heebo",Arial,sans-serif;letter-spacing:normal}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{line-height:1.2}
html[dir=rtl] .section-head,html[dir=rtl] .question-chip,html[dir=rtl] .ai-detail span{ text-align:start }
html[dir=rtl] .section-head{margin-inline:auto}
html[dir=rtl] .section-head p{margin-inline:0}
html[dir=rtl] .check-list li{padding-left:0;padding-right:28px}
html[dir=rtl] .check-list li::before{left:auto;right:0}
html[dir=rtl] .field select{padding:13px 13px 13px 42px;background-position:13px 50%}
html[dir=rtl] .online{margin-left:0;margin-right:40px}
html[dir=rtl] .message.parent{border-bottom-right-radius:15px;border-bottom-left-radius:4px}
html[dir=rtl] .message.assistant{border-bottom-left-radius:15px;border-bottom-right-radius:4px}
html[dir=rtl] .hero .cta-row .button svg{transform:scaleX(-1)}
html[dir=rtl] .price-total span{margin-left:0;margin-right:8px}
html[dir=rtl] .price-total .price-value{margin-right:0}
html[dir=rtl] .stat{border-left:0;border-right:1px solid var(--line)}
html[dir=rtl] .offer-clock{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .experience-visual,html[dir=rtl] .adventure-visual{direction:ltr}
html[dir=rtl] .mapping-primary b{direction:ltr;flex-shrink:0}
@media(min-width:621px){html[dir=rtl] .section-head{text-align:center}html[dir=rtl] .section-head p{margin-inline:auto}}
@media(max-width:620px){
 html[dir=rtl] .evidence-links,html[dir=rtl] .evidence-note{text-align:start}
 html[dir=rtl] .stat{border-right:0}
 html:not([data-market=au]) .hero h1{font-size:clamp(1.9rem,7.8vw,2.5rem)}
 html:not([data-market=au]) .mobile-cta>span{min-width:0;flex:1}
 html:not([data-market=au]) .mobile-cta .button{max-width:54%;flex-shrink:0}
 html:not([data-market=au]) .chat-top{flex-wrap:wrap}
 html:not([data-market=au]) .ai-name{min-width:0;line-height:1.35}
 html:not([data-market=au]) .ai-orb{flex-shrink:0}
 .market-links>span{width:100%}
}
/* Long Hungarian curriculum terms must wrap even with enlarged text. */
html:not([data-market=au]) .mapping-item{min-width:0;overflow-wrap:anywhere;hyphens:auto}

/* Keep each local currency amount intact and its digits correctly ordered. */
html:not([data-market=au]) .offer .price-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
html:not([data-market=au]) .offer .price-total .price-value{white-space:nowrap;unicode-bidi:isolate}
html[dir=rtl] .offer .price-total .price-value{direction:rtl}
html[data-market=hu] .chat-shell::before{content:"MI"}
@media(max-width:620px){
 html[data-enlarged-text]:not([data-market=au]) header{position:static}
 html[data-enlarged-text]:not([data-market=au]) .mobile-cta,
 html[data-enlarged-text]:not([data-market=au]) .mobile-cta[data-hero-visible]{position:static;display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:24px 20px;box-shadow:none}
 html[data-enlarged-text]:not([data-market=au]) .mobile-cta>span{flex:auto}
 html[data-enlarged-text]:not([data-market=au]) .mobile-cta .button{width:100%;max-width:100%}
 html[data-enlarged-text]:not([data-market=au]) footer{padding-bottom:24px}
 html[data-enlarged-text]:not([data-market=au]) .offer .price-total .price-value{white-space:normal;overflow-wrap:normal}
}
