:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  --page: #f7f9fc;
  --quiet: #fbfcfe;
  --paper: #ffffff;
  --table-head: #edf3fb;
  --border: #d9e1ec;
  --border-soft: #e5eaf1;
  --text-strong: #10233f;
  --text-primary: #253047;
  --text-secondary: #44546d;
  --text-muted: #637089;
  --text-label: #42526b;
  --primary: #ff6d54;
  --primary-dark: #f05f47;
  --primary-soft: #fff1ee;
  --green: #1fa971;
  --green-soft: #eaf8f2;
  --amber: #d9861c;
  --amber-soft: #fff7e8;
  --red: #c93f4a;
  --red-soft: #fff0f1;
  --radius-control: 4px;
  --radius-surface: 8px;
  --control-height: 34px;
  --app-bar-height: 84px;
  --content-width: 1024px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; background: var(--page); color: var(--text-primary); font-size: 14px; }
body { text-rendering: optimizeLegibility; }
::selection { background: rgb(255 111 82 / 20%); color: var(--text-strong); }
a { color: inherit; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--app-bar-height);
  padding: 0 32px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--text-strong); text-decoration: none; }
.brand-logo { display: block; width: 94px; height: 20px; object-fit: contain; }

main { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto; padding: 24px 0 48px; }
.hero { padding: 0 0 24px; }
.hero-copy { max-width: 820px; }
.eyebrow, .section-kicker { margin: 0; color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 5px 0 0; color: var(--text-strong); font-size: 32px; font-weight: 780; letter-spacing: 0; line-height: 1.12; }
.hero-copy > p:last-child { max-width: 760px; margin: 10px 0 0; color: var(--text-secondary); font-size: 13px; font-weight: 500; line-height: 1.55; }

.overall-card { min-height: 106px; padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--paper); }
.overall-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--table-head); }
.overall-icon::after { content: "?"; color: var(--text-muted); font-size: 15px; font-weight: 850; }
.operational .overall-icon { background: var(--green-soft); }
.operational .overall-icon::after { content: "✓"; color: var(--green); }
.degraded .overall-icon { background: var(--amber-soft); }
.degraded .overall-icon::after { content: "!"; color: var(--amber); }
.major-outage .overall-icon { background: var(--red-soft); }
.major-outage .overall-icon::after { content: "!"; color: var(--red); }
.overall-label { margin: 0 0 3px; color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.overall-card h2 { margin: 0; color: var(--text-strong); font-size: 15px; font-weight: 800; line-height: 22px; }
.overall-card #overall-detail { margin: 2px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.45; }
.updated { min-width: 184px; padding-left: 20px; border-left: 1px solid var(--border-soft); text-align: right; }
.updated span { display: block; margin-bottom: 5px; color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.updated time { color: var(--text-secondary); font-size: 12px; }

.services-section { margin-top: 28px; }
.section-heading { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-kicker { margin-bottom: 4px; }
.section-heading h2 { margin: 0; color: var(--text-strong); font-size: 20px; font-weight: 600; line-height: 25px; }
.range-picker { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--paper); }
.range-picker button { min-width: 42px; min-height: 28px; padding: 0 9px; border: 1px solid transparent; border-radius: 3px; color: var(--text-muted); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.range-picker button:hover, .range-picker button:focus-visible { border-color: var(--border-soft); background: var(--quiet); color: var(--text-strong); outline: none; }
.range-picker button[aria-pressed="true"] { border-color: rgb(255 111 82 / 34%); background: var(--primary-soft); color: var(--primary-dark); }

.service-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.service-card { min-width: 0; min-height: 270px; padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 74px; align-content: start; gap: 14px 8px; border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--paper); box-shadow: none; color: inherit; text-decoration: none; transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease; }
.service-card:not(.skeleton) { cursor: pointer; }
.service-card:not(.skeleton):hover, .service-card:not(.skeleton):focus-visible { border-color: rgb(255 109 84 / 58%); box-shadow: 0 8px 24px rgb(16 35 63 / 8%); outline: none; transform: translateY(-1px); }
.service-name { grid-column: 1 / -1; min-width: 0; }
.service-name::before { content: "↗"; width: 30px; height: 30px; margin-bottom: 9px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--primary-soft); color: var(--primary-dark); font-size: 15px; }
.service-name h3 { margin: 0; color: var(--text-strong); font-size: 13.25px; font-weight: 850; line-height: 1.2; }
.service-name p { min-height: 34px; margin: 6px 0 0; color: var(--text-muted); font-size: 11.85px; line-height: 1.45; }
.service-state { margin-top: 9px; display: inline-flex; align-items: center; gap: 7px; color: var(--text-label); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.service-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); box-shadow: 0 0 0 3px var(--quiet); }
.operational .service-state i { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.degraded .service-state i { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.outage .service-state i { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.service-state.operational i { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.service-state.degraded i { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.service-state.outage i { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.metric { min-width: 0; padding-top: 10px; border-top: 1px solid var(--border-soft); }
.metric span { display: block; margin-bottom: 5px; color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.metric strong { color: var(--text-strong); font-size: 18px; letter-spacing: -.02em; }
.metric small { margin-left: 2px; color: var(--text-muted); font-size: 10px; }
.chart { grid-column: 1 / -1; height: 74px; position: relative; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid { stroke: var(--border-soft); stroke-width: 1; }
.chart-area { fill: rgb(255 109 84 / 10%); }
.chart-line { fill: none; stroke: var(--primary); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.chart-empty { height: 100%; display: grid; place-items: center; border-bottom: 1px dashed var(--border); color: var(--text-muted); font-size: 11px; }

.transparency-note { margin-top: 24px; padding: 14px 16px; display: flex; gap: 12px; border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--quiet); }
.note-mark { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--primary-soft); color: var(--primary-dark); font-size: 15px; font-weight: 850; }
.transparency-note h2 { margin: 0; color: var(--text-strong); font-size: 13.25px; font-weight: 850; line-height: 1.2; }
.transparency-note p { margin: 6px 0 0; color: var(--text-muted); font-size: 11.85px; line-height: 1.45; }

.service-dialog { width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); color: var(--text-primary); box-shadow: 0 28px 80px rgb(16 35 63 / 24%); }
.service-dialog::backdrop { background: rgb(16 35 63 / 42%); backdrop-filter: blur(2px); }
.detail-shell { padding: 24px; }
.detail-toolbar { margin: 0 0 22px; }
.detail-back { min-height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--paper); color: var(--text-label); font-size: 12px; font-weight: 700; cursor: pointer; }
.detail-back:hover, .detail-back:focus-visible { border-color: rgb(255 109 84 / 48%); color: var(--primary-dark); outline: none; }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.detail-heading h2 { margin: 5px 0 0; color: var(--text-strong); font-size: 30px; line-height: 1.15; }
.detail-heading > div > p:last-child { margin: 8px 0 0; color: var(--text-muted); font-size: 13px; }
.detail-heading > .service-state { flex: 0 0 auto; margin-top: 8px; }
.detail-metrics { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--quiet); }
.detail-metric { min-width: 0; padding: 16px; }
.detail-metric + .detail-metric { border-left: 1px solid var(--border); }
.detail-metric span { display: block; margin-bottom: 7px; color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-metric strong { color: var(--text-strong); font-size: 22px; line-height: 1.2; }
#detail-updated { font-size: 13px; font-weight: 650; line-height: 1.5; }
.detail-history-heading { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-history-heading h3 { margin: 0; color: var(--text-strong); font-size: 16px; }
.detail-chart { height: 220px; margin-top: 14px; padding: 18px 14px 6px; border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--paper); }
.detail-chart .chart { height: 100%; }
.detail-privacy { margin: 16px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.5; }

.skeleton { min-height: 270px; }
.skeleton div { grid-column: 1 / -1; width: 100%; height: 100%; border-radius: var(--radius-control); background: linear-gradient(90deg, #f0f3f7 20%, #fafbfd 40%, #f0f3f7 60%); background-size: 300% 100%; animation: loading 1.4s ease infinite; }
@keyframes loading { from { background-position: 100% 0; } to { background-position: 0 0; } }

footer { min-height: 72px; padding: 0 max(24px, calc((100vw - var(--content-width)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); background: var(--paper); color: var(--text-muted); font-size: 11.85px; }

@media (max-width: 980px) {
  .site-header { padding: 0 24px; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header { min-height: 64px; padding: 0 16px; }
  main { width: min(var(--content-width), calc(100% - 32px)); padding-top: 20px; }
  .hero { padding-bottom: 20px; }
  .hero h1 { font-size: 28px; }
  .overall-card { grid-template-columns: auto 1fr; }
  .updated { grid-column: 2; min-width: 0; padding: 10px 0 0; border: 0; text-align: left; }
  .section-heading { display: block; }
  .range-picker { width: 100%; margin-top: 12px; }
  .range-picker button { flex: 1; min-width: 0; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 248px; }
  .detail-shell { padding: 18px; }
  .detail-heading { display: block; }
  .detail-heading > .service-state { margin-top: 16px; }
  .detail-metrics { grid-template-columns: 1fr; }
  .detail-metric + .detail-metric { border-top: 1px solid var(--border); border-left: 0; }
  .detail-history-heading { display: block; }
  .detail-history-heading .range-picker { margin-top: 12px; }
  .detail-chart { height: 180px; }
  footer { padding: 20px 16px; display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Documentation-aligned shell */
:root { --page: #fbfbfb; --quiet: #f9fafb; --border: #e5e7eb; --border-soft: #eceef1; --text-strong: #262626; --text-primary: #333; --text-secondary: #4b5563; --text-muted: #6b7280; --primary: #ef806c; --primary-dark: #df6f5b; --primary-soft: #fdf1ef; --header-height: 84px; --sidebar-width: 200px; }
html { scroll-behavior: smooth; }
button, input, select { font: inherit; }
.visually-hidden { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.app-shell { min-height: 100vh; padding-left: var(--sidebar-width); }
.side-rail { width: var(--sidebar-width); height: 100vh; padding: 26px 16px 36px; position: fixed; inset: 0 auto 0 0; z-index: 30; overflow-y: auto; border-right: 1px solid var(--border); background: var(--paper); }
.brand { height: 20px; margin-bottom: 26px; }
.brand-logo { width: 92px; height: 20px; }
.mobile-brand { display: none; align-items: center; text-decoration: none; }
.mobile-drawer-header, .mobile-global-nav, .sidebar-mobile-tools, .navigation-scrim, .mobile-header-actions { display: none; }
.sidebar-search { width: 100%; height: 36px; padding: 0 8px 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #d1d5db; border-radius: 4px; background: var(--paper); color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 2px rgb(0 0 0 / 3%); }
.sidebar-search:hover, .sidebar-search:focus-visible { border-color: #aeb4bd; color: var(--text-strong); outline: none; }
.search-icon { width: 13px; height: 13px; flex: 0 0 auto; position: relative; border: 1.6px solid currentColor; border-radius: 50%; opacity: .8; }
.search-icon::after { content: ""; width: 5px; height: 1.6px; position: absolute; right: -4px; bottom: -2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.sidebar-search kbd { margin-left: auto; padding: 2px 5px; border: 1px solid var(--border); border-radius: 3px; background: var(--quiet); color: var(--text-muted); font-family: inherit; font-size: 10px; font-weight: 500; }
.sidebar-nav { margin-top: 18px; font-size: 14px; }
.sidebar-heading { margin: 20px 8px 8px; color: var(--text-secondary); font-weight: 600; }
.sidebar-link { min-height: 32px; padding: 7px 8px; display: flex; align-items: center; border-radius: 4px; color: var(--text-secondary); line-height: 1.35; text-decoration: none; }
.sidebar-link:hover, .sidebar-link:focus-visible { background: #f6f6f6; color: var(--text-strong); outline: none; }
.sidebar-link.active { background: var(--primary-soft); color: var(--primary-dark); }
.sidebar-link.external::after { content: "↗"; margin-left: auto; color: var(--text-muted); font-size: 11px; }
.site-content { min-width: 0; }
.site-header { height: var(--header-height); min-height: 0; padding: 0 24px 0 10px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--border); background: var(--paper); }
.header-copy { min-width: 0; display: grid; gap: 2px; }
.header-copy strong { color: #333; font-size: 20px; font-weight: 700; line-height: 24px; }
.header-copy span { color: #6b778c; font-size: 14px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-nav a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid #d6d6d6; border-radius: 4px; background: var(--paper); color: #333; font-size: 14px; font-weight: 700; line-height: 20px; text-decoration: none; white-space: nowrap; }
.language-control select { min-width: 96px; height: 34px; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 4px; background: var(--paper); color: #333; font-size: 14px; font-weight: 500; cursor: pointer; }
.header-nav a:hover, .header-nav a:focus-visible, .language-control select:hover, .language-control select:focus-visible { background: #fafafa; border-color: #c7c7c7; outline: none; }
.header-nav a.active { border-color: #ffd6cc; background: #fff1ee; color: #b63b22; }
.menu-toggle, .mobile-return { display: none; }
footer { padding-left: max(24px, calc((100vw - var(--sidebar-width) - var(--content-width)) / 2)); padding-right: max(24px, calc((100vw - var(--sidebar-width) - var(--content-width)) / 2)); }
.status-guide { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.status-guide > h2 { margin: 5px 0 0; color: var(--text-strong); font-size: 22px; line-height: 1.25; }
.status-guide > p:not(.section-kicker) { max-width: 780px; margin: 10px 0 0; color: var(--text-secondary); font-size: 13px; line-height: 1.65; }
.status-faq { margin-top: 20px; border-top: 1px solid var(--border); }
.status-faq details { border-bottom: 1px solid var(--border); }
.status-faq summary { padding: 16px 30px 16px 0; position: relative; color: var(--text-strong); font-weight: 700; cursor: pointer; list-style: none; }
.status-faq summary::-webkit-details-marker { display: none; }
.status-faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--text-muted); font-size: 18px; font-weight: 400; }
.status-faq details[open] summary::after { content: "−"; }
.status-faq details p { max-width: 820px; margin: -4px 0 16px; color: var(--text-muted); font-size: 12.5px; line-height: 1.65; }
.nav-search-dialog { width: min(560px, calc(100% - 32px)); margin-top: min(18vh, 150px); padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); box-shadow: 0 24px 70px rgb(38 38 38 / 22%); }
.nav-search-dialog::backdrop { background: rgb(17 24 39 / 42%); backdrop-filter: blur(2px); }
.search-shell { padding: 0; }
.search-field { height: 54px; padding: 0 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text-strong); }
.search-close { padding: 3px 7px; border: 1px solid var(--border); border-radius: 4px; background: var(--quiet); color: var(--text-muted); font-size: 10px; cursor: pointer; }
.search-results { max-height: 360px; padding: 8px; overflow-y: auto; }
.search-results a { min-height: 40px; padding: 8px 10px; display: flex; align-items: center; border-radius: 4px; color: var(--text-secondary); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--primary-soft); color: var(--primary-dark); outline: none; }
.search-empty { margin: 0; padding: 24px; color: var(--text-muted); text-align: center; }
@media (max-width: 1180px) and (min-width: 1024px) {
  .header-copy span { display: none; }
  .header-nav { gap: 8px; }
  .header-nav a { padding-right: 10px; padding-left: 10px; font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .site-header { height: 64px; min-height: 64px; padding: 0 24px; }
  .header-copy, .language-control { display: none; }
  .header-nav { margin-left: auto; gap: 10px; }
}
@media (max-width: 767px) {
  .app-shell { padding-left: 0; }
  body.navigation-open { overflow: hidden; }
  .side-rail { width: min(280px, calc(100vw - 48px)); padding: 0 8px 24px; display: flex; flex-direction: column; transform: translateX(-102%); transition: transform 180ms ease; box-shadow: 12px 0 30px rgb(16 35 63 / 20%); }
  body.navigation-open .side-rail { transform: translateX(0); }
  .navigation-scrim { inset: 0; position: fixed; z-index: 25; width: 100%; height: 100%; padding: 0; border: 0; background: rgb(17 24 39 / 32%); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
  body.navigation-open .navigation-scrim { display: block; opacity: 1; pointer-events: auto; }
  .mobile-drawer-header { height: 64px; margin: 0 -8px 10px; padding: 0 14px; position: sticky; top: 0; z-index: 4; display: flex; flex: 0 0 64px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--paper); }
  .mobile-drawer-logo { width: 92px; height: 32px; padding: 0; display: inline-flex; align-items: center; }
  .mobile-drawer-logo img { width: 92px; height: 20px; display: block; }
  .mobile-drawer-close { width: 32px; height: 32px; min-height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d8dee8; border-radius: 4px; background: var(--paper); cursor: pointer; }
  .mobile-drawer-close:hover, .mobile-drawer-close:focus-visible { background: var(--quiet); border-color: #bfc4cb; outline: none; }
  .mobile-drawer-close img { width: 18px; height: 18px; display: block; }
  .side-rail > .brand { display: none; }
  .side-rail > .sidebar-search { height: 38px; flex: 0 0 38px; margin-bottom: 10px; background: #f8fafc; }
  .sidebar-nav { margin-top: 0; display: flex; flex: 1 0 auto; flex-direction: column; }
  .mobile-global-nav { margin: 0 0 10px; padding: 0 0 10px; display: grid; gap: 4px; grid-template-columns: 1.1fr 1.2fr .7fr; border-bottom: 1px solid var(--border); }
  .mobile-global-nav a { min-height: 34px; padding: 6px 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid transparent; border-radius: 4px; color: var(--text-primary); font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-global-nav a:hover, .mobile-global-nav a:focus-visible { background: var(--quiet); color: var(--text-strong); outline: none; }
  .mobile-global-nav a.active, .mobile-global-nav a[aria-current="page"] { border-color: #ffd6cc; background: #fff1ee; color: #b63b22; }
  .site-header { height: 55px; min-height: 55px; padding: 0 10px; gap: 10px; }
  .mobile-brand { display: inline-flex; }
  .mobile-brand .brand-logo { width: 92px; height: 20px; }
  .header-copy { display: none; }
  .header-nav { display: none; }
  .sidebar-mobile-tools { margin: auto -8px -24px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); position: sticky; bottom: -24px; z-index: 4; display: block; flex: 0 0 auto; border-top: 1px solid var(--border); background: var(--paper); }
  .mobile-language-control { position: relative; }
  .mobile-language-control summary { min-height: 38px; padding: 0 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; border: 1px solid #d8dee8; border-radius: 4px; color: #334155; font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; }
  .mobile-language-control summary::-webkit-details-marker { display: none; }
  .mobile-language-current { margin-right: 10px; color: var(--primary-dark); font-weight: 600; }
  .mobile-language-chevron { color: var(--text-secondary); line-height: 1; transition: transform 160ms ease; }
  .mobile-language-control:not([open]) .mobile-language-chevron { transform: rotate(180deg); }
  .mobile-language-menu { padding: 5px; position: absolute; right: 0; bottom: calc(100% + 6px); left: 0; z-index: 6; display: grid; gap: 2px; border: 1px solid #d8dee8; border-radius: 4px; background: var(--paper); box-shadow: 0 10px 24px rgb(16 35 63 / 14%); }
  .mobile-language-menu button { min-height: 36px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text-secondary); font-size: 13px; cursor: pointer; }
  .mobile-language-menu button:hover, .mobile-language-menu button:focus-visible { background: var(--quiet); color: var(--text-strong); outline: none; }
  .mobile-language-menu button.is-active { border-color: #ffd6cc; background: #fff1ee; color: #b63b22; }
  .menu-toggle { width: 36px; height: 36px; padding: 0; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid rgb(255 111 82 / 48%); border-radius: 4px; background: #ff6f52; box-shadow: rgb(255 111 82 / 26%) 0 8px 18px; color: #fff; cursor: pointer; }
  .menu-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-header-actions { width: 40px; height: 40px; margin-left: auto; display: flex; align-items: center; overflow: hidden; border: 1px solid #d8dee8; border-radius: 4px; background: var(--paper); }
  .mobile-return { width: 38px; height: 38px; min-width: 38px; padding: 0; display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; border: 0; border-radius: 0; background: var(--paper); color: var(--text-strong); text-decoration: none; }
  .mobile-return:hover, .mobile-return:focus-visible { background: var(--quiet); color: var(--primary-dark); outline: none; }
  .mobile-return img { width: 20px; height: 20px; display: block; }
  footer { padding: 20px 16px; }
}
