/* Phase 2, owner review 28 October 2026. Scoped staging-only presentation.
   The frozen Phase 1 site.css remains byte-for-byte unchanged. */
.locale-switcher{position:relative;z-index:30;display:flex;justify-content:flex-end;max-width:1860px;margin:0 auto;padding:16px 22px 0;color:#fff;font:700 12px/1.3 var(--font-tech,ui-monospace,monospace)}
.locale-switcher details{position:relative;min-width:185px;max-width:min(100%,460px)}
.locale-switcher summary{list-style:none;cursor:pointer;padding:10px 34px 10px 13px;color:#fff7e7;border:1px solid rgba(255,247,231,.64);background:rgba(3,41,114,.40);font-size:11px;text-align:left;white-space:normal}
.locale-switcher summary::-webkit-details-marker{display:none}
.locale-switcher summary::after{content:'⌄';position:absolute;right:12px;top:9px;color:#ffcd27;font-size:17px}
.locale-switcher details[open] summary::after{content:'⌃'}
.locale-switcher summary:hover,.locale-switcher summary:focus-visible{outline:2px solid #ffcd27;outline-offset:2px;background:#0b3375}
.locale-switcher ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:5px 0 0;padding:7px;position:absolute;right:0;top:100%;width:min(460px,calc(100vw - 32px));max-height:min(460px,65vh);overflow:auto;background:#f4ead5;border:2px solid #181816;box-shadow:6px 6px 0 rgba(7,24,56,.48);color:#181816}
.locale-switcher li{margin:0;padding:0}
.locale-switcher li a{display:block;padding:9px 10px;color:#181816;text-decoration:none;font-family:var(--font-interface,system-ui,sans-serif);font-weight:650;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.locale-switcher li a:hover,.locale-switcher li a:focus-visible{background:#0d50ba;color:#fff7e7;text-decoration:underline;outline:2px solid #181816;outline-offset:-2px}
.locale-switcher li a[aria-current="page"]{background:#e4d6af;border-left:4px solid #0d50ba}
/* Branded English wordmark, identical word arrangement, independent of page language. */
html[data-interface-locale] .home-hero .locale-brand{display:flex;flex-direction:column;gap:.045em;max-width:520px;color:var(--color-surface);font-family:var(--font-display);font-size:clamp(66px,5.8vw,102px);font-weight:900;line-height:.94;letter-spacing:-.035em;text-transform:uppercase}
html[data-interface-locale] .home-hero .locale-brand>span{display:block;width:max-content;max-width:100%;overflow-wrap:normal}
html[data-interface-locale] .home-hero .locale-brand>span:nth-child(3){font-size:.84em;letter-spacing:-.025em}
html[data-interface-locale] .home-hero .locale-brand>span:nth-child(4){font-size:.96em}
html[data-interface-locale] .home-hero .locale-brand .brand-question{display:inline;color:var(--color-signal)}
/* The localized search intent remains a visible proper H1. */
html[data-interface-locale] .home-hero h1.locale-search-title{display:block;max-width:510px;margin:22px 0 0;color:#fff7e7;font-family:var(--font-interface,system-ui,sans-serif);font-size:clamp(18px,1.8vw,25px);font-weight:760;letter-spacing:-.025em;line-height:1.22;text-transform:none;overflow-wrap:anywhere;text-wrap:pretty}
html[data-interface-locale] .home-hero__instruction{margin-top:18px!important}
/* Section 02 is now a designed ivory reference-sheet card just like 03 and 04. */
html[data-interface-locale] .home-sections{width:min(100%,880px);max-width:880px}
html[data-interface-locale] .need-help.locale-how-to{width:100%;max-width:880px;margin:0 auto;padding:32px 38px 28px;color:var(--color-ink);background:var(--color-paper);border:1px solid rgba(255,255,255,.52);border-bottom:0}
html[data-interface-locale] .need-help.locale-how-to .section-kicker{color:var(--color-blue);opacity:1}
html[data-interface-locale] .need-help.locale-how-to h2{color:var(--color-ink);font-size:clamp(25px,1.9vw,32px)}
html[data-interface-locale] .need-help.locale-how-to ol{max-width:650px;margin:12px 0 0;padding:0 0 0 24px;color:var(--color-ink);font-family:var(--font-interface,system-ui,sans-serif);font-size:15px;line-height:1.7}
html[data-interface-locale] .need-help.locale-how-to li{padding:4px 0 4px 4px}
html[data-interface-locale] .search-context{margin-top:0;padding-top:28px;border-top:1px solid rgba(17,17,15,.22)}
/* The footer's guidance-language note appears once instead of seven (English) suffixes. */
.footer-language-note{grid-column:1/-1;margin:0 0 12px;font:600 11px/1.45 var(--font-interface,system-ui,sans-serif);color:rgba(255,255,255,.90)}
/* Secondary kana cap legends on the same shared Japanese key definitions. */
.key-legend--secondary{font-size:8.8px!important;font-weight:600;opacity:.82}
.keyboard-key[data-active="true"] .key-legend--secondary{fill:#181816}
@media(max-width:1160px){html[data-interface-locale] .home-hero .locale-brand{font-size:clamp(58px,9.2vw,94px)}html[data-interface-locale] .home-hero h1.locale-search-title{font-size:clamp(18px,2.1vw,24px)}}
@media(max-width:820px){.locale-switcher{padding:14px 14px 0}html[data-interface-locale] .home-hero .locale-brand{font-size:clamp(51px,14vw,80px)}html[data-interface-locale] .home-hero h1.locale-search-title{font-size:clamp(19px,4vw,24px)}html[data-interface-locale] .need-help.locale-how-to{padding:28px 22px 24px}html[data-interface-locale] .search-context{margin-top:0}}
@media(max-width:480px){.locale-switcher{padding:12px 8px 0}.locale-switcher ul{grid-template-columns:1fr;max-height:58vh}html[data-interface-locale] .home-hero .locale-brand{font-size:clamp(45px,13.5vw,65px)}html[data-interface-locale] .home-hero h1.locale-search-title{font-size:20px}}

/* Gate 3: consistent editorial section hierarchy across *all* languages.
   Override the older .need-help / .search-context / .home-faq cascade with
   one explicit scale. Preserve the approved shared site.css unchanged. */
html[data-interface-locale] .home-sections > .need-help.locale-how-to .section-kicker,
html[data-interface-locale] .home-sections > .search-context .section-kicker,
html[data-interface-locale] .home-sections > .home-faq .section-kicker {
  margin:0 0 9px;
  font:700 10px/1.4 var(--font-tech);
  letter-spacing:.05em;
  color:var(--color-blue);
  text-transform:uppercase;
  opacity:1;
}
html[data-interface-locale] .home-sections > .need-help.locale-how-to h2,
html[data-interface-locale] .home-sections > .search-context h2,
html[data-interface-locale] .home-sections > .home-faq h2 {
  margin:0 0 16px;
  font-family:var(--font-display);
  font-size:clamp(25px,1.9vw,32px);
  font-weight:800;
  line-height:1.13;
  letter-spacing:-.02em;
  text-transform:none;
  color:var(--color-ink);
  overflow-wrap:anywhere;
}
/* Search-facing utility: relevant supported layouts in the *same* registry,
   not a spammy repetition of all 16 country names on every page. */
html[data-interface-locale] .locale-layout-coverage {
  margin:19px 0 20px;
  padding:17px 18px 15px;
  border-left:3px solid var(--color-blue);
  background:rgba(13,80,186,.045);
}
html[data-interface-locale] .locale-layout-coverage h3 {
  margin:0 0 9px;
  font:800 clamp(17px,1.5vw,19px)/1.25 var(--font-interface);
  color:var(--color-ink);
  overflow-wrap:anywhere;
}
html[data-interface-locale] .locale-layout-coverage p {margin:0 0 9px}
html[data-interface-locale] .locale-layout-coverage ul {
  margin:0;
  padding-left:21px;
  columns:2;
  column-gap:24px;
  font:500 13px/1.6 var(--font-interface);
}
html[data-interface-locale] .locale-layout-coverage li {break-inside:avoid;padding:2px 0;overflow-wrap:anywhere}
/* Explicit owner request: the English homepage's 02/TROUBLESHOOT must use the
   same ivory reference-sheet treatment as sections 03 and 04, only in the
   Phase 2 staging build. No changes to source Phase 1 homepage HTML/CSS. */
html:not([data-interface-locale]) .home-sections {width:min(100%,880px);max-width:880px}
html:not([data-interface-locale]) .home-sections > .need-help {
  width:100%;max-width:880px;margin:0 auto;
  padding:32px 38px 28px;
  color:var(--color-ink);
  background:var(--color-paper);
  border:1px solid rgba(255,255,255,.52);
  border-bottom:0;
}
html:not([data-interface-locale]) .home-sections > .need-help .section-kicker {color:var(--color-blue);opacity:1}
html:not([data-interface-locale]) .home-sections > .need-help h2 {
  color:var(--color-ink);
  font-size:clamp(25px,1.9vw,32px);
  line-height:1.13;
  font-weight:800;
}
html:not([data-interface-locale]) .home-sections > .need-help .need-help__links {max-width:none;border-color:var(--color-ink)}
html:not([data-interface-locale]) .home-sections > .need-help .editorial-link {color:var(--color-ink);border-color:var(--color-ink)}
html:not([data-interface-locale]) .home-sections > .need-help .editorial-link__index {color:var(--color-blue)}
html:not([data-interface-locale]) .home-sections > .need-help .editorial-link:hover {background:rgba(13,80,186,.06)}
html:not([data-interface-locale]) .home-sections > .search-context {margin-top:0;border-top:1px solid rgba(17,17,15,.22)}
@media(max-width:820px){html:not([data-interface-locale]) .home-sections > .need-help {padding:28px 22px 24px}}
@media(max-width:600px){html[data-interface-locale] .locale-layout-coverage ul {columns:1}}
/* English staging's three reference-sheet sections share the same small
   section-label scale and title hierarchy, including the newly boxed 02. */
html:not([data-interface-locale]) .home-sections > .need-help .section-kicker,
html:not([data-interface-locale]) .home-sections > .search-context .section-kicker,
html:not([data-interface-locale]) .home-sections > .home-faq .section-kicker {
  margin:0 0 9px;
  font:700 10px/1.4 var(--font-tech);
  letter-spacing:.05em;
  color:var(--color-blue);
  text-transform:uppercase;
  opacity:1;
}
html:not([data-interface-locale]) .home-sections > .need-help h2,
html:not([data-interface-locale]) .home-sections > .search-context h2,
html:not([data-interface-locale]) .home-sections > .home-faq h2 {
  margin:0 0 16px;
  font-family:var(--font-display);
  font-size:clamp(25px,1.9vw,32px);
  font-weight:800;
  line-height:1.13;
  letter-spacing:-.02em;
  text-transform:none;
  color:var(--color-ink);
}
