.desktop-nav { gap:clamp(12px,2.2vw,30px); }
.desktop-nav a { white-space:nowrap; }
.desktop-nav a[aria-current=page] { color:var(--accent); }
.nav-actions { flex-shrink:0; }
.language-menu { position:relative; }
.language-menu summary {
  list-style:none; display:flex; cursor:pointer; align-items:center; justify-content:center;
  gap:7px; min-height:44px; min-width:50px; padding:0 11px; border:1px solid var(--line);
  border-radius:24px; font-size:.75rem; font-weight:650;
}
.language-menu summary::-webkit-details-marker { display:none; }
.language-menu summary:hover,.language-menu[open] summary { border-color:var(--accent); background:var(--surface); }
.language-menu summary svg { width:17px; height:17px; color:var(--accent); }
.language-panel {
  position:absolute; inset-inline-end:0; inset-block-start:calc(100% + 10px); z-index:2;
  display:flex; flex-direction:column; gap:8px;
  width:396px; max-width:calc(100vw - 28px); max-height:min(472px,calc(100dvh - 96px));
  overflow:hidden; padding:9px; border:1px solid var(--line); border-radius:18px; background:var(--surface);
  box-shadow:0 22px 50px -20px #000a;
}
.language-search {
  direction:ltr; flex-shrink:0; display:flex; align-items:center; gap:9px; min-height:42px; padding:0 10px;
  border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); color:var(--quiet);
}
.language-search:focus-within { border-color:var(--accent); }
.language-search svg { width:16px; height:16px; }
.language-search input {
  width:100%; min-width:0; padding:8px 0; border:0; outline:0;
  background:transparent; color:var(--ink); font-size:16px; text-align:left;
}
.language-search input::placeholder { color:var(--quiet); opacity:1; }
.language-options {
  direction:ltr; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 4px;
  min-height:0; margin:0; padding:0; overflow-y:auto; overscroll-behavior:contain;
  scrollbar-width:thin; scrollbar-color:var(--line) transparent;
}
.language-options a {
  display:grid; grid-template-columns:24px minmax(0,1fr); align-items:center; gap:8px;
  min-height:44px; padding:6px 8px; border-radius:10px;
  font-size:.875rem; font-weight:500; line-height:1.3; text-align:left;
}
.language-options a:focus-visible { outline-offset:-2px; border-radius:10px; }
.language-options a:hover { background:var(--surface-2); }
.language-options a[aria-current=page] {
  grid-template-columns:24px minmax(0,1fr) 14px;
  color:var(--accent); background:color-mix(in srgb,var(--accent) 10%,var(--surface-soft));
}
.language-badge {
  width:24px; height:18px; object-fit:cover; border-radius:4px;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--ink) 14%,transparent);
}
.language-name { min-width:0; overflow-wrap:anywhere; text-align:left; }
.language-selected svg { width:14px; height:14px; }
.language-empty { padding:7px 8px 10px; color:var(--muted); font-size:.875rem; text-align:left; }
.editorial-links { display:flex; flex-wrap:wrap; gap:16px 25px; color:var(--accent); }
.editorial-links a:hover,.answer-body a:hover { text-decoration:underline; text-underline-offset:4px; }
.answer-body { padding-block-end:24px; padding-inline-end:24px; color:var(--muted); }
.answer-body p { font-size:1rem; line-height:1.75; }
.answer-body a { display:inline-block; padding-block:9px 0; color:var(--accent); font-size:.94rem; }
.editorial-page .site-footer,.editorial-page .section-shell { width:min(1120px,calc(100% - 80px)); }
.editorial-hero {
  position:relative; overflow:hidden; isolation:isolate; border-bottom:1px solid var(--line);
  background:radial-gradient(ellipse at 85% 12%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 65%),var(--surface-soft);
}
.editorial-hero::after {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.19;
  background:url('/assets/vector/terrain-field.svg') right -118px center / min(68vw,920px) auto no-repeat;
  mask-image:linear-gradient(90deg,transparent 18%,#000 88%);
}
html[data-theme=light] .editorial-hero::after { opacity:.36; }
.editorial-hero-inner { padding-block:clamp(38px,5.4vw,78px) clamp(40px,6.2vw,88px); }
.editorial-hero h1 {
  max-width:17ch; font-size:clamp(2.8rem,6.5vw,5.75rem); line-height:1.02;
  overflow-wrap:anywhere;
}
.editorial-hero p {
  max-width:64ch; color:var(--muted); font-size:clamp(1.05rem,1.7vw,1.25rem);
  line-height:1.68; margin-top:20px;
}
.editorial-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; color:var(--quiet); font-size:.89rem; margin-bottom:20px; }
.editorial-breadcrumb a { color:var(--accent); }
.editorial-breadcrumb a:hover { text-decoration:underline; text-underline-offset:4px; }
.editorial-content { padding-block:30px 66px; }
.support-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px 26px; }
.editorial-topics { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:40px; }
.editorial-topics a {
  display:grid; align-items:center; min-height:40px; padding:7px 13px; border:1px solid var(--line); border-radius:20px;
  color:var(--muted); font-size:.9rem; transition:background .2s,color .2s,border-color .2s;
}
.editorial-topics a:hover { background:var(--surface); color:var(--accent); border-color:var(--accent); }
.guide-group { margin-top:40px; }
.guide-group h2,.faq-topic h2,.method-summary h2,.article-copy h2,.article-related h2 {
  font-size:clamp(1.85rem,3.3vw,2.75rem); letter-spacing:-.04em; line-height:1.13;
}
.guide-group h2 { margin-bottom:16px; }
.guide-grid,.article-related ul,.article-sources ul { padding:0; list-style:none; margin:0; }
.guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.guide-card {
  display:flex; flex-direction:column; height:100%; gap:11px; padding:20px;
  border:1px solid var(--line); border-radius:18px; background:var(--surface); overflow-wrap:anywhere;
  transition:border-color .2s, background .2s;
}
.guide-card:hover { border-color:var(--accent); background:var(--surface-soft); }
.guide-card h3 { font-size:clamp(1.4rem,2.5vw,1.85rem); line-height:1.15; letter-spacing:-.035em; }
.guide-card p { font-size:.98rem; color:var(--muted); line-height:1.62; }
.guide-group:nth-of-type(2) .guide-card h3 { color:var(--electric); }
.guide-group:nth-of-type(3) .guide-card h3 { color:var(--accent); }
.faq-topic { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:clamp(16px,5vw,60px); padding-block:23px; }
.faq-topic .faq-list summary { font-size:1rem; }
.method-summary { padding:clamp(18px,3.6vw,34px); margin-bottom:16px; border:1px solid var(--line); border-inline-start:2px solid var(--accent); border-radius:18px; background:var(--surface); }
.method-summary p { max-width:74ch; color:var(--muted); margin-block:12px; font-size:1.03rem; }
.method-summary a { color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
.article-layout {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(215px,300px); align-items:start;
  gap:clamp(28px,7vw,92px); padding-block:44px 66px;
}
.article-copy { min-width:0; max-width:72ch; }
.article-copy section + section { margin-top:34px; }
.article-copy h2 { margin-bottom:16px; }
.article-copy p { color:var(--muted); font-size:1.075rem; line-height:1.8; overflow-wrap:anywhere; }
.article-copy p + p { margin-top:17px; }
.article-question { padding:clamp(18px,3.4vw,30px); border:1px solid var(--line); border-radius:20px; background:var(--surface); }
.article-question h2 { font-size:clamp(1.45rem,2.8vw,2rem); }
.article-sources h2,.article-related h2 { font-size:1.58rem; margin-bottom:12px; }
.article-sources li { margin-top:8px; }
.article-sources a,.article-faq-link { color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
.article-related { border-top:1px solid var(--line); padding-top:16px; }
.article-related li { border-bottom:1px solid var(--line); }
.article-related li a { display:block; padding:12px 0; color:var(--muted); overflow-wrap:anywhere; }
.article-related li a:hover { color:var(--accent); }
.article-faq-link { display:inline-block; margin-top:16px; }
html:is(:lang(ja),:lang(zh),:lang(ko)) .editorial-hero h1 { letter-spacing:-.035em; line-height:1.17; max-width:22ch; }
@media (max-width:900px) {
  .guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns:minmax(0,1fr) minmax(165px,225px); }
}
@media (max-width:650px) {
  .nav-wrap { position:relative; }
  .language-menu { position:static; }
  .language-panel { inset-inline:0; inset-block-start:calc(100% + 5px); width:min(396px,100%); margin-inline:auto; }
  .editorial-page .site-footer,.editorial-page .section-shell { width:calc(100% - 32px); }
  .editorial-content,.article-layout { padding-block:26px 42px; }
  .editorial-hero::after { background-size:540px auto; background-position:right -190px bottom; }
  .editorial-topics { margin-bottom:25px; }
  .guide-group { margin-top:27px; }
  .faq-topic,.article-layout { grid-template-columns:1fr; }
  .faq-topic { gap:12px; padding-block:18px; }
  .guide-card { padding:17px; }
  .answer-body { padding-inline-end:0; }
}
@media (max-width:465px) {
  .guide-grid { grid-template-columns:1fr; gap:8px; }
  .guide-card { gap:6px; }
  .nav-actions { gap:6px; }
  .language-menu summary { min-width:44px; padding:0 8px; }
  .language-code { display:none; }
  .editorial-hero h1 { font-size:clamp(2.5rem,11vw,3.4rem); }
}
@media (max-width:375px) {
  .language-options { grid-template-columns:minmax(0,1fr); }
}
