/* Shared public website chrome. Workspace keeps its own application layout. */
:root { --site-night:#101511; --site-paper:#f7f5ef; --site-ink:#20271f; --site-muted:#656a60; --site-line:#dedfd5; --site-gold:#f3bd56; }
html { scroll-padding-top:100px; }
[hidden] { display:none !important; }
body { -webkit-font-smoothing:antialiased; overflow-wrap:anywhere; }
:is(a,button,summary,select,input):focus-visible { outline:3px solid #bc841d; outline-offset:4px; }
button,summary { cursor:pointer; }
.icon { display:inline-block; width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.public-footer { display:block; min-height:0; padding:56px max(24px,calc((100% - 1200px)/2)) 24px; color:#e8ebe3; background:var(--site-night); font:400 15px/1.6 "Segoe UI",system-ui,sans-serif; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:40px; }
.footer-grid>* { min-width:0; overflow-wrap:anywhere; }
.public-footer .brand { display:inline-flex; align-items:center; gap:12px; color:#fff; text-decoration:none; }
.public-footer .brand img { width:38px; height:38px; }
.public-footer .brand b { letter-spacing:.3em; font-size:17px; }
.footer-about p { max-width:225px; margin:16px 0; color:#b6beb0; }
.footer-status { display:inline-block; color:#b6beb0; font-size:12px; }
.public-footer nav { display:flex; align-items:flex-start; flex-direction:column; gap:4px; }
.public-footer nav h2 { margin:0 0 10px; color:#fff; font-size:13px; letter-spacing:.04em; }
.public-footer nav a { min-height:44px; display:flex; align-items:center; color:#b6beb0; font-size:14px; text-decoration:none; }
.public-footer a:hover { color:var(--site-gold); }
.footer-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; margin-top:38px; padding-top:20px; border-top:1px solid #ffffff1a; color:#b6beb0; font-size:12px; }
.footer-bottom a { display:inline-flex; align-items:center; gap:6px; min-height:36px; color:inherit; text-decoration:none; }
.footer-bottom [data-back-top] { margin-inline-start:auto; }
.footer-bottom .icon { width:16px; height:16px; transform:rotate(90deg); }

/* Reading pages share the landing page's warm paper, gold and ink. */
body.workspace-page:has(.document-shell) { min-width:0; color:var(--site-ink); background:var(--site-paper); font-family:"Segoe UI",system-ui,sans-serif; --ws-text:var(--site-ink); --ws-muted:var(--site-muted); --ws-border:var(--site-line); --ws-panel:#ffffff80; --ws-gold-soft:#8a5c13; }
.document-header { position:sticky; top:0; display:flex; flex-direction:row; align-items:center; gap:24px; min-height:76px; padding:12px max(24px,calc((100vw - 1200px)/2)); color:var(--site-ink); border-bottom:1px solid var(--site-line); background:#f7f5eff5; backdrop-filter:blur(14px); }
.document-header .workspace-brand { color:var(--site-ink); text-decoration:none; }
.document-header .workspace-brand-mark { width:38px; height:38px; border:0; background:transparent; box-shadow:none; }
.document-header .workspace-brand strong { letter-spacing:.25em; }
.document-header .workspace-brand small { color:var(--site-muted); font-size:10px; }
.document-header .public-nav { margin-left:auto; display:flex; flex-wrap:nowrap; gap:4px; }
.document-header .public-nav a { padding:10px 12px; color:var(--site-muted); white-space:nowrap; }
.document-header .public-nav a:hover,.document-header .public-nav a[aria-current] { color:var(--site-ink); background:#e9e7dd; }
.public-header-actions { display:flex; align-items:center; gap:10px; }
.document-language-field { min-height:44px; display:flex; align-items:center; gap:8px; padding:0 12px; border:1px solid var(--site-line); border-radius:999px; background:#fff9; }
.document-language-field .workspace-svg-icon { color:var(--site-muted); width:18px; height:18px; }
.document-language-field select { min-height:42px; max-width:105px; color:var(--site-ink); background:transparent; border:0; font:inherit; font-size:14px; }
.public-menu { display:none; width:44px; height:44px; border:1px solid var(--site-line); border-radius:50%; background:transparent; padding:12px; }
.public-menu>span:not(.sr-only) { display:block; height:2px; margin:4px 0; background:var(--site-ink); }
.document-shell { width:min(1000px,calc(100% - 48px)); min-height:55vh; padding:42px 0 80px; }
.document-back { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-bottom:30px; color:#666a5e; font-size:14px; }
.document-back .icon { width:17px; height:17px; }
.document-hero { max-width:780px; margin-bottom:36px; }
.workspace-kicker { color:#86621f; font-size:12px; letter-spacing:.12em; text-transform:uppercase; }
.document-hero h1 { color:var(--site-ink); font-size:clamp(2.2rem,4.5vw,3.7rem); line-height:1.12; font-weight:650; letter-spacing:-.04em; text-wrap:balance; }
.document-hero>p:last-of-type { max-width:640px; font-size:17px; line-height:1.7; }
.document-chip { padding:7px 12px; color:#656a60; border:1px solid var(--site-line); background:#fff8; }
.document-chip.warning { color:#765216; background:#f3e5c6; border-color:#e7d6b0; }
.document-grid-main { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.document-card { min-width:0; padding:28px; border:1px solid var(--site-line); border-radius:20px; background:#fff9; }
.document-card h2 { font-size:21px; font-weight:650; letter-spacing:-.02em; }
.document-card p,.document-card li { font-size:16px; line-height:1.75; }
.document-card p:last-child { margin-bottom:0; }
.document-card a,.document-notice a { color:#795717; text-underline-offset:4px; }
.document-card code { font-size:13px; color:#6e552a; overflow-wrap:anywhere; }
.document-notice { color:var(--site-muted); border-color:#e5d8b9; background:#f4ecd9; font-size:14px; }
.document-notice strong { color:var(--site-ink); }
.document-notice a,.legal-content a { overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:4px; }
.legal-document-shell { width:min(900px,calc(100% - 48px)); }
.legal-page-heading { margin:0 0 24px; font-size:clamp(2rem,4.5vw,3.4rem); line-height:1.15; letter-spacing:-.04em; font-weight:650; text-wrap:balance; }
.legal-website-note { margin:0 0 18px; color:var(--site-muted); font-size:14px; }
.legal-website-note summary { padding:12px 0; font-weight:600; }
.legal-website-note p { padding:0 0 8px; max-width:680px; line-height:1.8; }
.legal-markdown { padding:40px; border-color:var(--site-line); background:#fff9; color:var(--site-ink); box-shadow:none; }
.legal-markdown h1 { color:var(--site-ink); font-size:clamp(1.9rem,4vw,3rem); line-height:1.15; letter-spacing:-.035em; font-weight:650; }
.legal-markdown :is(h2,h3,strong) { color:var(--site-ink); }
.legal-markdown h2 { margin-top:36px; font-size:23px; }
.legal-markdown :is(p,li) { color:#555f51; line-height:1.8; font-size:16px; }
.legal-markdown :is(a,code) { color:#7f5b1b; }
.legal-markdown :is(th,td) { color:var(--site-ink); border-color:var(--site-line); }
.legal-markdown th { background:#eeece3; }
.legal-source-bar { color:var(--site-muted); }
.legal-source-bar a { color:#795717; }
.legal-source-notice { margin-bottom:24px; }
.legal-source-notice .workspace-svg-icon { color:#86621f; }
.legal-toc { margin:16px 0 24px; border:1px solid var(--site-line); border-radius:14px; background:#fff7; }
.legal-toc summary { padding:16px 20px; font-weight:600; }
.legal-toc nav { display:grid; gap:10px; padding:0 20px 20px; }
.legal-toc a { display:flex; align-items:center; min-height:44px; color:#666a5e; line-height:1.5; font-size:14px; text-underline-offset:3px; }
.document-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.document-actions a { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:10px 20px; border:1px solid var(--site-line); border-radius:999px; font-size:14px; text-decoration:none; }
.document-actions a:first-child { color:#20271f; background:var(--site-gold); border-color:transparent; }
@media(max-width:960px) {
  .document-header { gap:16px; }
  .document-header .workspace-brand small { display:none; }
  .document-header .public-nav a { padding:10px 7px; font-size:13px; }
}
@media(max-width:760px) {
  .footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 18px; }
  .footer-about { grid-column:1/-1; }
  .footer-about p { max-width:none; }
  .document-header,.legal-document-page .document-header { flex-direction:row; padding:12px 18px; }
  .public-header-actions { margin-left:auto; }
  .public-menu { display:block; }
  .document-header .public-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:14px 18px; background:var(--site-paper); border-bottom:1px solid var(--site-line); }
  .document-header .public-nav.open { display:flex; flex-direction:column; }
  .document-header .public-nav a { min-height:44px; font-size:15px; }
  .document-shell,.legal-document-shell { width:calc(100% - 36px); padding:28px 0 56px; }
  .document-grid-main { grid-template-columns:1fr; gap:14px; }
  .document-card { padding:24px; }
  .document-hero h1 { font-size:clamp(2.1rem,8vw,3rem); }
  .document-hero>p:last-of-type { font-size:16px; }
  .legal-markdown { padding:24px 20px; border-radius:16px; }
  .legal-source-notice { padding:16px; }
}
@media(max-width:430px) {
  .public-footer { padding:40px 20px 20px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid nav:last-child { grid-column:1/-1; }
  .footer-bottom { gap:8px 16px; }
  .footer-bottom [data-back-top] { margin-inline-start:0; }
  .document-header .workspace-brand { gap:8px; }
  .document-language-field { padding:0 8px; }
  .document-language-field .workspace-svg-icon { display:none; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none !important; transition:none !important; } }

/* Progressive enhancement: the native select remains usable if JS is unavailable. */
.language-picker.site-language,.language-picker.document-language-field { position:relative; padding:0; border:0; background:none; }
.language-trigger { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:46px; min-width:146px; padding:10px 14px; border:1px solid #d4d6ca; border-radius:14px; background:#fff; color:#273025; font:600 14px/1.4 "Segoe UI",system-ui,sans-serif; cursor:pointer; }
.language-trigger>.icon { width:18px; height:18px; color:inherit; }
.language-trigger>.language-chevron { width:14px; height:14px; margin-left:4px; transition:transform .15s; }
.language-trigger[aria-expanded="true"]>.language-chevron { transform:rotate(180deg); }
.topbar .language-trigger { color:#f6f4e9; background:#131b14e8; border-color:#ffffff40; }
.language-trigger:hover,.language-trigger[aria-expanded="true"] { border-color:#b38a3b; }
.language-options { position:absolute; z-index:80; top:calc(100% + 10px); inset-inline-end:0; width:280px; padding:7px; border:1px solid #d6d8cc; border-radius:18px; background:#faf9f4; color:#283025; box-shadow:0 16px 48px #08100930; }
.language-option { display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:11px 12px; border:0; border-radius:11px; color:inherit; background:transparent; font:500 15px/1.4 "Segoe UI",system-ui,sans-serif; text-align:left; }
.language-option:hover,.language-option:focus-visible { background:#eaece2; }
.language-option[aria-selected="true"] { background:#f3e5c6; font-weight:650; }
.language-code { margin-inline-start:auto; flex:none; font-size:11px; letter-spacing:.06em; color:#6f7568; }
.language-check { width:17px; height:17px; flex:none; color:#7c5514; visibility:hidden; }
.language-option[aria-selected="true"] .language-check { visibility:visible; }
.topbar :is(.language-trigger,.language-option):focus-visible { outline:2px solid #efbf61; outline-offset:3px; }
.release-facts { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:20px 0 0; list-style:none; }
.release-facts li { padding:6px 11px; border:1px solid #ffffff2b; border-radius:8px; color:#d6ddce; font-size:12px; background:#10151155; }
.publisher-line { display:grid; gap:8px; margin-top:28px; padding-top:20px; border-top:1px solid #ffffff1a; color:#b6beb0; font-size:13px; overflow-wrap:anywhere; }
.publisher-line a { color:#e9d7ac; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:430px) { .language-trigger { min-width:122px; padding:10px; gap:6px; font-size:13px; } }
/* Shared, genuinely modal consent. Equal accept/reject hierarchy and mobile scroll. */
.consent-dialog { box-sizing:border-box; position:fixed; inset:0; margin:auto; width:min(680px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:34px; overflow:auto; overscroll-behavior:contain; border:1px solid #b28b46; border-radius:24px; background:#181713; color:#f5f0e5; font:400 16px/1.6 system-ui,sans-serif; box-shadow:0 24px 100px #0009; text-align:left; }
.consent-dialog:not([open]) { display:none; }
.consent-dialog::backdrop { background:rgb(7 9 8 / 76%); backdrop-filter:blur(5px); }
.consent-dialog * { box-sizing:border-box; }
.consent-dialog .consent-mark { width:48px; height:48px; padding:9px; border-radius:14px; color:#edc477; background:#edc47716; }
.consent-mark svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.consent-dialog .consent-kicker { margin:16px 0 4px; font-size:11px; font-weight:700; letter-spacing:.16em; color:#edc477; }
.consent-dialog h2 { margin:0 0 16px; font-size:clamp(24px,4vw,32px); line-height:1.2; letter-spacing:-.025em; color:#fff9ee; }
.consent-dialog h2:focus { outline:none; }
.consent-dialog p { margin:0 0 14px; }
.consent-dialog #consent-body { color:#d7d2c7; font-size:15px; }
.consent-dialog .consent-note { padding:12px 14px; background:#ffffff06; border:1px solid #ffffff15; border-radius:10px; font-size:13px; color:#e9e4da; }
.consent-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:22px 0 10px; }
.consent-dialog .consent-actions button, .consent-dialog .consent-save { min-height:52px; padding:12px 16px; border:1px solid #edc477; border-radius:12px; color:#20190d; background:#edc477; font:700 15px/1.35 system-ui,sans-serif; cursor:pointer; }
.consent-dialog .consent-actions button:hover,.consent-dialog .consent-save:hover { background:#ffe0a4; }
.consent-dialog button:focus-visible,.consent-dialog a:focus-visible,.consent-dialog input:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.consent-dialog .consent-settings { display:block; margin:0 auto 12px; min-height:44px; padding:8px 14px; background:none; border:0; color:#e5c78f; text-decoration:underline; text-underline-offset:4px; font:600 14px system-ui,sans-serif; cursor:pointer; }
.consent-dialog [hidden] { display:none!important; }
.consent-option { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 0; border-top:1px solid #ffffff1a; }
.consent-option strong { display:block; font-size:15px; }
.consent-option small { display:block; color:#bbb5a9; font-size:13px; line-height:1.5; }
.consent-option input { width:22px; height:22px; flex-shrink:0; accent-color:#edc477; }
.consent-dialog .consent-save { width:100%; margin:4px 0 18px; }
.consent-links { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 24px; }
.consent-links a { color:#e5c78f; font-size:13px; text-decoration:underline; text-underline-offset:4px; min-height:32px; }
.consent-dialog .consent-foot { font-size:11px; line-height:1.6; color:#a9a395; text-align:center; margin:8px 0 0; }
html:has(.consent-dialog[open]) { overflow:hidden; }
@media(max-width:480px) { .consent-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 24px); padding:22px; border-radius:20px; } .consent-actions { grid-template-columns:1fr; gap:10px; } .consent-dialog #consent-body { font-size:14px; } }
/* Visible language alternatives are ordinary crawlable links, even without JS. */
.seo-language-links { max-width:1240px; margin:0 auto; text-align:center; padding:32px 16px; font:500 13px/1.6 system-ui,sans-serif; color:#656a60; background:#f7f5ef; border-top:1px solid var(--site-line); }
.seo-language-links p { margin:0 0 12px; font-size:14px; font-weight:650; }
.seo-language-links .seo-language-list { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:2px 6px; }
.seo-language-links a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; padding:8px 11px; border-radius:10px; color:#554013; text-underline-offset:4px; overflow-wrap:anywhere; }
.seo-language-links a:hover,.seo-language-links a[aria-current] { color:var(--theme-accent); background:var(--theme-tint); }

/* Long language lists and right-to-left scripts. */
.language-options { max-height:min(65dvh,480px,calc(100dvh - 100px)); overflow-y:auto; overscroll-behavior:contain; max-width:calc(100vw - 32px); }
.language-option { text-align:start; }
.language-option span:first-child { unicode-bidi:plaintext; min-width:0; overflow-wrap:anywhere; }
html[dir="rtl"] .consent-dialog { text-align:right; }
/* Keep the first visit readable without weakening either privacy choice. */
.consent-dialog{inset:auto 20px 20px auto;margin:0;width:min(480px,calc(100% - 40px));padding:24px;border-radius:20px;font-size:14px;max-height:calc(100dvh - 40px)}
.consent-dialog::backdrop{background:#07100935;backdrop-filter:none}.consent-dialog .consent-mark,.consent-dialog .consent-kicker{display:none}.consent-dialog h2{font-size:23px;margin-bottom:12px}.consent-dialog #consent-body{font-size:13px;line-height:1.7}.consent-dialog .consent-note{font-size:12px;padding:10px 12px}.consent-actions{margin-top:16px;gap:10px}.consent-dialog .consent-actions button{font-size:13px;min-height:46px;padding:10px 12px}.consent-dialog .consent-settings{margin-bottom:4px}.consent-dialog .consent-foot{margin-bottom:0}.consent-links a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:480px){.consent-dialog{inset:auto 12px 12px;margin:0;width:calc(100% - 24px);padding:20px;max-height:calc(100dvh - 24px)}.consent-actions{grid-template-columns:1fr 1fr}.consent-dialog .consent-actions button{overflow-wrap:anywhere}}
@media(max-width:600px){.public-footer nav a,.footer-bottom a,.seo-language-links a{min-height:44px}.seo-language-links a{padding-block:11px}}
html[dir="rtl"] .language-chevron { margin-left:0; margin-right:4px; }
html[dir="rtl"] .document-back .icon { transform:rotate(180deg); }
html[dir="rtl"] .consent-dialog input,html[dir="rtl"] .document-card { text-align:start; }
html[dir="rtl"] [href^="mailto:"],html[dir="rtl"] code { unicode-bidi:isolate; direction:ltr; }
/* Social profiles: ordinary links, without third-party embeds or tracking. */
.footer-social { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.footer-social a { display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:10px 13px; border:1px solid #ffffff2b; border-radius:12px; color:#e3e9da; font-size:13px; line-height:1.5; }
.footer-social .icon { width:18px; height:18px; flex:none; }
.footer-social a:hover { color:var(--site-gold); border-color:#c7a15c; background:#ffffff06; }
.footer-social a:focus-visible { outline:2px solid var(--site-gold); outline-offset:4px; }
/* One navigation frame for the whole public website. */
.public-header.topbar { position:sticky; inset:0 0 auto; top:0; z-index:60; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:24px; min-height:80px; padding:12px max(24px,calc((100% - 1240px)/2)); color:#f4f4eb; background:#101511f7; border-bottom:1px solid #ffffff20; font:400 14px/1.5 "Segoe UI",system-ui,sans-serif; backdrop-filter:blur(14px); }
.public-header .brand { display:inline-flex; align-items:center; gap:12px; color:#f4f4eb; text-decoration:none; }
.public-header .brand img { display:block; width:40px; height:40px; }
.public-header .brand b { display:block; font-size:18px; letter-spacing:.28em; }
.public-header .public-nav { display:flex; align-items:center; justify-content:center; gap:2px; margin:0; min-width:0; }
.public-header .public-nav a { display:flex; align-items:center; justify-content:center; min-width:0; min-height:44px; padding:9px 10px; border-radius:10px; color:#d0d7c9; font-size:13px; line-height:1.3; text-align:center; overflow-wrap:anywhere; text-decoration:none; }
.public-header .public-nav a:hover { color:#fff; background:#ffffff0b; }
.public-header .public-nav a[aria-current] { color:#f8d58e; background:#f3bd5615; box-shadow:inset 0 -2px #f3bd56; }
.public-header .header-actions { display:flex; align-items:center; gap:10px; margin:0; }
.public-header .site-language { display:flex; align-items:center; min-height:44px; padding:0; border:0; background:none; }
.public-header .site-language select { min-height:44px; max-width:150px; color:#f4f4eb; background:#19221a; border:1px solid #ffffff35; border-radius:14px; padding:8px; }
.public-header .site-language option { color:#20271f; background:#fff; }
.public-header .language-trigger { min-height:44px; color:#f4f4eb; border-color:#ffffff35; background:#19221a; }
.public-header :is(.public-menu,.menu-fallback) { display:none; flex:none; width:44px; height:44px; padding:11px; color:#fff; background:transparent; border:1px solid #ffffff35; border-radius:50%; }
.public-header :is(.public-menu,.menu-fallback) span { display:block; height:2px; margin:4px 0; background:currentColor; }
.public-header .public-nav .menu-close-fallback { display:none; }
.public-header .language-fallback { display:none; align-items:center; min-height:44px; padding:10px 12px; border:1px solid var(--site-line); border-radius:14px; font-size:13px; text-decoration:none; overflow-wrap:anywhere; }
.public-header:not([data-menu-ready]) .language-fallback { display:flex; }
.public-header:not([data-menu-ready]) .site-language { display:none; }
.public-header + main .hero-grid { padding-top:64px; }
.page-trail { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 22px; color:#737a6b; font:400 13px/1.6 "Segoe UI",system-ui,sans-serif; }
.page-trail a { color:#626c59; text-decoration:none; padding-block:8px; }
.page-trail a:hover { color:#795717; text-decoration:underline; }
.page-trail [aria-current] { color:#313d2b; font-weight:600; }
.section-nav { display:flex; align-items:stretch; flex-wrap:wrap; gap:8px; margin:0 0 34px; padding:0 0 22px; border-bottom:1px solid var(--site-line); }
.section-nav a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; padding:10px 16px; color:#626c59; border:1px solid transparent; border-radius:12px; font:500 14px/1.5 "Segoe UI",system-ui,sans-serif; text-decoration:none; overflow-wrap:anywhere; }
.section-nav a:hover { color:#242e1f; background:#e9e8df; }
.section-nav a[aria-current] { color:#60420f; border-color:#dfcc9f; background:#f0e5cc; }
@media(max-width:1200px) {
 .public-header.topbar { grid-template-columns:1fr auto; gap:16px; }
 .public-header .public-nav { display:none; position:absolute; top:100%; inset-inline:0; align-items:stretch; gap:4px; margin:0; padding:14px 24px; max-height:calc(100dvh - 80px); overflow-y:auto; background:#101511; border-bottom:1px solid #ffffff2b; box-shadow:0 15px 24px #0003; }
 .public-header .public-nav.open { display:flex; flex-direction:column; }
 .public-header .public-nav a { justify-content:flex-start; text-align:start; white-space:normal; min-height:46px; padding:12px 14px; font-size:15px; }
 .public-header .public-menu { display:block; }
 /* The native fragment-driven menu works before JS starts and if it fails.
    Unlike an initially expanded fallback it does not shift the landing page. */
 .public-header:not([data-menu-ready]) .public-nav:target { display:flex; flex-direction:column; }
 .public-header:not([data-menu-ready]) .public-nav .menu-close-fallback { display:flex; }
 .public-header:not([data-menu-ready]) .menu-fallback { display:block; }
 .public-header:not([data-menu-ready]) .public-menu { display:none; }
}
@media(max-width:600px) {
 .public-header.topbar { min-height:76px; gap:12px; padding:12px 14px; }
 .public-header .brand { gap:9px; }
 .public-header .brand img { width:34px; height:34px; }
 .public-header .brand b { font-size:16px; letter-spacing:.22em; }
 .public-header .header-actions { gap:8px; }
 .public-header .language-trigger { width:clamp(100px,32vw,140px); min-width:0; gap:6px; padding:9px; }
 .public-header [data-language-name] { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
 .public-header .language-trigger>.icon { width:16px; height:16px; }
 .public-header .language-trigger>.language-chevron { width:12px; height:12px; margin:0; }
 .public-header .language-picker.site-language { position:static; }
 .public-header .language-options { inset-inline:14px; width:auto; max-width:none; }
 .public-header .language-fallback { max-width:175px; }
 .public-header .public-nav { padding:12px 14px; }
 .public-header + main .hero-grid { padding-top:40px; }
 .page-trail { font-size:12px; gap:6px; }
 .section-nav { gap:6px; margin-bottom:28px; }
 .section-nav a { padding:10px 12px; font-size:13px; }
}
@media(max-width:360px) {
 .public-header.topbar { padding-inline:10px; }
 .public-header .brand img { width:30px; height:30px; }
 .public-header .language-trigger { width:90px; }
 .public-header .language-options { inset-inline:10px; }
}

/* Public information pages remain readable at high zoom and in long scripts. */
.document-shell { width:min(1120px,calc(100% - 48px)); min-width:0; }
.legal-document-shell { width:min(900px,calc(100% - 48px)); }
.document-shell :is(h1,h2,h3,p,li,a,td,th,code),.section-nav a,.page-trail,.footer-grid,.seo-language-links { overflow-wrap:anywhere; }
.document-shell :is(h1,h2,h3) { font-family:inherit; }
.document-card,.legal-markdown { box-shadow:0 10px 28px var(--theme-shadow); }
.document-card { border-radius:20px; }
.document-card :is(ul,ol),.legal-markdown :is(ul,ol) { padding-inline-start:1.35rem; padding-inline-end:0; }
.document-table :is(td,th),.legal-markdown :is(td,th) { text-align:start; }
.legal-markdown blockquote { border-inline-start:3px solid var(--theme-accent); border-inline-end:0; border-radius:10px; }
.legal-markdown h2 { scroll-margin-block-start:12px; }
.legal-website-note summary { display:flex; align-items:center; min-height:44px; }
.legal-website-note summary::before { content:'+'; color:var(--theme-accent); margin-inline-end:10px; font-size:1.2em; }
.legal-website-note[open] summary::before { content:'−'; }
.document-actions a { max-width:100%; white-space:normal; text-align:start; }
.document-actions .icon,html[dir="rtl"] .public-header .page-trail .icon { flex:none; }
html[dir="rtl"] :is(.document-actions,.page-trail) .icon { transform:rotate(180deg); }
@media(max-width:760px) {
 .document-shell,.legal-document-shell { width:calc(100% - 36px); }
 .document-grid-main { grid-template-columns:minmax(0,1fr); }
 .document-card p,.document-card li,.legal-markdown :is(p,li) { font-size:15px; }
 .document-actions a { min-height:48px; }
}
