/* Shared compact selector: no layout shift, no external font requests. */
.mak-language { position:relative; z-index:30; flex:none; margin-inline-start:auto; color:#1a237e; font-family:"Nunito Sans",system-ui,sans-serif; font-size:12px; text-align:left; }
.mak-language summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:7px; min-width:76px; min-height:44px; padding:0 9px; font-weight:650; letter-spacing:.06em; box-sizing:border-box; border:1px solid transparent; border-radius:2px; background:rgba(255,255,255,.92); }
.mak-language summary::-webkit-details-marker { display:none; }
.mak-language summary::marker { content:""; }
.mak-language summary:hover,.mak-language[open] summary { border-color:rgba(26,35,126,.28); }
.mak-language :is(summary,a):focus-visible { outline:2px solid #1a237e; outline-offset:2px; }
.mak-language__chevron { transition:transform .18s ease; }
.mak-language[open] .mak-language__chevron { transform:rotate(180deg); }
.mak-language__panel { position:absolute; inset-inline-end:0; top:calc(100% + 5px); width:min(218px,calc(100vw - 48px)); max-height:min(65vh,420px); overflow:auto; padding:5px; box-sizing:border-box; background:#fff; border:1px solid rgba(26,35,126,.19); border-radius:3px; box-shadow:0 10px 30px rgba(22,28,54,.12); }
.mak-language ul { list-style:none; margin:0; padding:0; }
.mak-language li { margin:0; padding:0; }
.mak-language li a { min-height:44px; padding:5px 9px; display:grid; grid-template-columns:25px minmax(0,1fr) 14px; gap:8px; align-items:center; box-sizing:border-box; color:#25284b; text-decoration:none; font-size:13px; line-height:1.25; letter-spacing:normal; text-transform:none; }
.mak-language li a:hover,.mak-language li a[aria-current] { background:#f1f2f7; color:#1a237e; text-decoration:none; }
.mak-language__code { font-size:10px; color:#61677c; font-weight:700; letter-spacing:.05em; }
.mak-language__name { unicode-bidi:isolate; text-align:start; overflow-wrap:anywhere; }
.mak-language__check { text-align:center; font-weight:700; }
.mak-language__note { padding:8px 9px; margin:0; font-size:11px; line-height:1.4; color:#61677c; border-bottom:1px solid #e5e6ed; }
.mak-language-home { position:absolute; z-index:40; top:clamp(12px, 2vw, 28px); right:clamp(16px, 3vw, 48px); }
.mak-home-stage { position:relative; }
.mak-artist-profile__nav .mak-language { margin-inline-start:auto; }
html[dir=rtl] .mak-artwork-page .mak-layout { direction:ltr; }
html[dir=rtl] .mak-notice,html[dir=rtl] .mak-contact-dialog { direction:rtl; font-family:"Noto Sans Arabic","Geeza Pro",Tahoma,Arial,sans-serif; }
html[dir=rtl] .mak-navigation { direction:ltr; }
html[dir=rtl] .mak-notice .mak-artist,html[dir=rtl] .mak-notice .mak-work-year { direction:ltr; }
html[dir=rtl] .mak-notice .mak-artist { font-family:"Nunito Sans",system-ui,sans-serif; }
html[dir=rtl] .mak-notice :is(.mak-work-title,.mak-work-technique,.mak-public-excerpt,.mak-documentation,.mak-contact-initial),html[dir=rtl] .mak-contact-dialog { letter-spacing:normal; line-height:1.65; text-transform:none; overflow-wrap:anywhere; }
html[dir=rtl] .mak-notice .mak-documentation { text-align:start; }
html[dir=rtl] .mak-contact-dialog input[type=email],html[dir=rtl] .mak-footer,html[dir=rtl] .mak-desktop-visual { direction:ltr; }
html[dir=rtl] .mak-contact-dock { direction:rtl; }
@media(max-width:480px) { .mak-language summary { gap:5px; min-width:68px; } .mak-language-home { right:16px; top:12px; } }
@media(prefers-reduced-motion:reduce) { .mak-language__chevron { transition:none; } }

/* Editorial RTL: keep the facade, artwork wall and ticker in their established
   geometry; only text reading direction changes. */
.mak-editorial-language-note { margin:20px auto; padding:0 24px; text-align:center; font-size:12px; color:#62677a; }
html[dir=rtl] .mak-home-stage,html[dir=rtl] .mak-home-selection,html[dir=rtl] .mak-home-artist-ticker,html[dir=rtl] .mak-artist-profile,html[dir=rtl] .mak-footer { direction:ltr; }
html[dir=rtl] :is(.intro-home,.intro-home-2,.mak-home-exhibition__intro-title,.mak-home-selection__header,.mak-home-utrillo__copy,.mak-home-auguste__copy,.mak-artist-profile__lead,.mak-artist-profile__essay p,.mak-artist-profile__essay h2,.mak-artist-profile__essay figcaption,.mak-home-cta__label,.mak-editorial-language-note) { direction:rtl; font-family:"Noto Sans Arabic","Geeza Pro",Tahoma,Arial,sans-serif; letter-spacing:normal; text-transform:none; line-height:1.55; overflow-wrap:anywhere; }
html[lang=zh] :is(.intro-home,.intro-home-2,.mak-home-exhibition__intro-title,.mak-home-selection__header,.mak-artist-profile__lead,.mak-home-cta__label) { font-family:"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif; letter-spacing:normal; line-height:1.35; }
html[lang]:not([lang=fr]) .mak-home-intro__copy :is(.intro-home,.intro-home-2) { overflow-wrap:anywhere; }
