/* ===== tokens ===== */
:root {
  --h: 42;
  --s: 88%;
  --h-hero: 224;
  --s-hero: 78%;
  --r: 6px;
  --wrap: 1140px;
  --font-body: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"PingFang SC","Hiragino Sans","Noto Sans CJK SC","Microsoft YaHei","Yu Gothic",Meiryo;
  --font-head: "Barlow Condensed","Arial Narrow","Roboto Condensed","Avenir Next Condensed","Helvetica Neue",sans-serif,"PingFang SC","Hiragino Sans","Noto Sans CJK SC","Microsoft YaHei","Yu Gothic",Meiryo;
  --head-case: uppercase;
  --head-weight: 800;
  --head-tracking: 0.02em;
  color-scheme: dark;
  --bg: hsl(var(--h) 24% 8%);
  --surface: hsl(var(--h) 20% 12%);
  --surface-2: hsl(var(--h) 18% 17%);
  --line: hsl(var(--h) 16% 23%);
  --text: hsl(var(--h) 20% 93%);
  --muted: hsl(var(--h) 10% 68%);
  --accent: hsl(var(--h) var(--s) 58%);
  --accent-ink: hsl(var(--h) 52% 8%);
  --accent-hero: hsl(var(--h-hero) var(--s-hero) 62%);
  --link: hsl(var(--h-hero) var(--s-hero) 74%);
  --stripe: linear-gradient(118deg, hsl(var(--h) var(--s) 58%) 0 6%, transparent 6% 11%, hsl(var(--h-hero) var(--s-hero) 58%) 11% 17%, transparent 17% 100%);
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  text-transform: var(--head-case);
  line-height: 1.2;
  margin: 0;
}
p { margin: 0 0 1rem; }
.wk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wk-skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 0.6rem 1rem; background: var(--accent); color: var(--accent-ink); }
.wk-skip:focus { left: 0; }
.wk-muted { color: var(--muted); }
.wk-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.wk-narrow { max-width: 52rem; }
.wk-shell { min-height: 100vh; }
.wk-col { display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
.wk-main { flex: 1; }
.wk-eyebrow { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.wk-lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.wk-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 0.75rem; }
.wk-h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.wk-meta { font-size: 0.875rem; color: var(--muted); }
.wk-block { padding-top: 2.25rem; padding-bottom: 1rem; }
.wk-page { padding-top: 1.5rem; padding-bottom: 4rem; }
.wk-pagehead { margin: 1rem 0 1.75rem; }

/* ===== header ===== */
.wk-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wk-header-in { max-width: var(--wrap); margin: 0 auto; padding: 0.65rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.wk-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-case); font-size: 1.15rem; white-space: nowrap; }
.wk-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.wk-logo { border-radius: var(--r); }
.wk-nav { display: flex; gap: 0.2rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.wk-nav::-webkit-scrollbar { display: none; }
.wk-nav a { padding: 0.45rem 0.8rem; border-radius: var(--r); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.wk-nav a:hover { color: var(--text); background: var(--surface-2); }
.wk-nav a[aria-current] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.wk-search { position: relative; flex: 0 1 18rem; }
.wk-search[hidden] { display: none; }
.wk-search input { width: 100%; padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; font-size: 0.95rem; }
.wk-search input::placeholder { color: var(--muted); }
.wk-search input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.wk-results { position: absolute; right: 0; top: calc(100% + 0.4rem); width: min(26rem, 92vw); max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgb(0 0 0 / 0.28); padding: 0.4rem; z-index: 40; }
.wk-results[hidden] { display: none; }
.wk-results a { display: block; padding: 0.55rem 0.7rem; border-radius: calc(var(--r) - 2px); color: var(--text); text-decoration: none; }
.wk-results a:hover, .wk-results a[data-active] { background: var(--surface-2); }
.wk-results .wk-r-title { display: block; font-weight: 650; }
.wk-results .wk-r-meta { display: block; font-size: 0.8rem; color: var(--muted); }
.wk-results .wk-r-note { padding: 0.7rem; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 720px) {
  .wk-header-in { flex-wrap: wrap; gap: 0.5rem 0.75rem; }
  .wk-brand { order: 1; }
  .wk-search { order: 2; flex: 1 1 10rem; }
  .wk-nav { order: 3; flex: 1 0 100%; }
  .wk-results { left: 0; right: auto; }
}
@media (min-width: 1000px) {
  .wk-shell { display: grid; grid-template-columns: 17rem minmax(0, 1fr); }
  .wk-header { position: sticky; top: 0; height: 100vh; align-self: start; border-bottom: 0; border-right: 1px solid var(--line); background: var(--surface); }
  .wk-header-in { flex-direction: column; align-items: stretch; height: 100%; padding: 1.5rem 1rem; gap: 1.25rem; max-width: none; }
  .wk-brand { font-size: 1.3rem; }
  .wk-nav { order: 3; flex-direction: column; flex: 1; overflow: visible; gap: 0.15rem; }
  .wk-nav a { padding: 0.55rem 0.8rem; }
  .wk-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); }
  .wk-search { order: 2; flex: none; }
  .wk-results { left: 0; right: auto; width: 24rem; }
  .wk-hero-in, .wk-wrap { padding-left: 2rem; padding-right: 2rem; }
}

/* ===== hero ===== */
.wk-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.wk-hero-in { display: grid; gap: 2rem; align-items: center; }
.wk-hero-title { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin-bottom: 1rem; }
.wk-hero .wk-lead { font-size: 1.2rem; margin-bottom: 1.5rem; }
.wk-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.wk-btn { display: inline-flex; align-items: center; padding: 0.7rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.wk-btn:hover { border-color: var(--accent); }
.wk-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wk-btn--primary:hover { filter: brightness(1.08); }
.wk-hero-media img { display: block; width: 100%; border-radius: calc(var(--r) * 1.5); border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.wk-hero-art { aspect-ratio: 16 / 9; border-radius: calc(var(--r) * 1.5); border: 1px solid var(--line); background:
  radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%),
  radial-gradient(90% 80% at 10% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 65%),
  var(--surface); }
.wk-hero--banner { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(68vh, 30rem); padding: 4rem 0 3rem; overflow: hidden; border-bottom: 1px solid var(--line); }
.wk-hero--banner .wk-hero-media { position: absolute; inset: 0; z-index: -1; }
.wk-hero--banner .wk-hero-media img, .wk-hero--banner .wk-hero-art { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; object-fit: cover; }
.wk-hero--banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, var(--bg) 96%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 82%, transparent), transparent 70%); }
.wk-hero--banner .wk-hero-copy { max-width: 40rem; }

/* ===== cards and grids ===== */
.wk-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); }
.wk-card, .wk-quick-item, .wk-feed-item { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.05rem 1.1rem; color: var(--text); text-decoration: none; border-radius: var(--r); transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.wk-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r) - 2px); margin-bottom: 0.35rem; }
.wk-card-title { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-case); font-size: 1.08rem; line-height: 1.3; }
.wk-card-text { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.wk-card-meta { color: var(--muted); font-size: 0.78rem; margin-top: auto; padding-top: 0.4rem; }
.wk-card:hover .wk-card-title, .wk-quick-item:hover .wk-card-title, .wk-feed-item:hover .wk-card-title { color: var(--accent); }
[data-wk-item][hidden], [data-wk-group][hidden] { display: none; }
.wk-card, .wk-quick-item, .wk-feed-item { border: 1px solid transparent; background: var(--surface); }
.wk-card:hover, .wk-quick-item:hover, .wk-feed-item:hover { background: var(--surface-2); }

.wk-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: q; }
.wk-quick li { counter-increment: q; }
.wk-quick-item { height: 100%; position: relative; padding-top: 2.6rem; }
.wk-quick-item::before { content: counter(q, decimal-leading-zero); position: absolute; top: 0.8rem; left: 1.1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--accent); }

.wk-sects { display: grid; gap: 1.25rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.wk-sect { padding: 0.25rem 0 0.5rem; }
.wk-sect-title { font-size: 1.2rem; margin-bottom: 0.4rem; }
.wk-sect-title a { color: var(--text); text-decoration: none; }
.wk-sect-title a:hover { color: var(--accent); }
.wk-count { display: inline-block; margin-left: 0.3rem; padding: 0 0.5rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.wk-sect-text { color: var(--muted); font-size: 0.95rem; }
.wk-sect-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.wk-sect-list li { border-bottom: 1px solid var(--line); }
.wk-sect-list a { display: block; padding: 0.5rem 0; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.wk-sect-list a:hover { color: var(--accent); }

.wk-filter { margin: 0 0 1.5rem; }
.wk-filter input { width: 100%; max-width: 24rem; padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; }
.wk-filter input[hidden] { display: none; }
.wk-group { margin-bottom: 2.25rem; }
.wk-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

/* ===== breadcrumbs ===== */
.wk-crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.85rem; color: var(--muted); }
.wk-crumbs a { color: var(--muted); }
.wk-crumbs a:hover { color: var(--text); }

/* ===== article ===== */
.wk-article { display: grid; gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 4rem; }
@media (min-width: 1080px) { .wk-article { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3.5rem; } }
.wk-article-main { min-width: 0; }
.wk-articlehead { margin: 1.25rem 0 1.5rem; }
.wk-figure { margin: 0 0 1.5rem; }
.wk-figure img { display: block; width: 100%; border-radius: calc(var(--r) * 1.25); border: 1px solid var(--line); }
.wk-answer { margin: 0 0 1.75rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); }
.wk-answer p:last-child { margin-bottom: 0; }
.wk-answer-label { margin-bottom: 0.3rem !important; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.wk-side { min-width: 0; }
.wk-side > * { margin-bottom: 1.25rem; }
@media (min-width: 1080px) { .wk-side { position: sticky; top: 5rem; align-self: start; max-height: calc(100vh - 6rem); overflow: auto; } }
.wk-side-title { margin-bottom: 0.6rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wk-info { padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.wk-info dl { margin: 0; }
.wk-info dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.wk-info dl > div:last-child { border-bottom: 0; }
.wk-info dt { color: var(--muted); }
.wk-info dd { margin: 0; text-align: right; font-weight: 600; }
.wk-toc[hidden] { display: none; }
.wk-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.wk-toc a { display: block; padding: 0.3rem 0 0.3rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.4; }
.wk-toc a:hover { color: var(--text); }
.wk-toc a[data-active] { color: var(--text); border-left-color: var(--accent); }
.wk-toc .wk-toc-sub a { padding-left: 1.8rem; font-size: 0.85rem; }
.wk-faq { margin-top: 2.5rem; }
.wk-faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.wk-faq summary { cursor: pointer; font-weight: 650; }
.wk-faq details p { margin: 0.6rem 0 0; color: var(--muted); }
.wk-related { margin-top: 3rem; }

/* ===== prose (Markdown body) ===== */
.wk-prose { overflow-wrap: anywhere; }
.wk-prose > :first-child { margin-top: 0; }
.wk-prose h2 { font-size: 1.55rem; margin: 2.4rem 0 0.8rem; padding-top: 0.4rem; scroll-margin-top: 5rem; }
.wk-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; scroll-margin-top: 5rem; }
.wk-prose h4 { font-size: 1.02rem; margin: 1.4rem 0 0.5rem; }
.wk-prose ul, .wk-prose ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.wk-prose li { margin-bottom: 0.3rem; }
.wk-prose li::marker { color: var(--accent); }
.wk-prose blockquote { margin: 1.25rem 0; padding: 0.4rem 1.1rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); }
.wk-prose code { padding: 0.12em 0.4em; border-radius: 4px; background: var(--surface-2); font-size: 0.9em; }
.wk-prose pre { overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.wk-prose pre code { padding: 0; background: none; }
.wk-prose img { display: block; margin: 1.25rem 0; border-radius: var(--r); }
.wk-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.wk-prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.wk-prose th, .wk-prose td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wk-prose th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface); white-space: nowrap; }
.wk-prose tbody tr:hover { background: var(--surface); }
.wk-scroll { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--r); }
.wk-scroll table { margin: 0; min-width: 32rem; }
.wk-intro { margin-bottom: 2rem; }
.wk-home-prose { padding-bottom: 3rem; }
.wk-home-prose .wk-prose { max-width: 46rem; }
.wk-legal { font-size: 0.97rem; }

/* ===== footer ===== */
.wk-footer { border-top: 1px solid var(--line); background: var(--surface); }
.wk-footer-in { max-width: var(--wrap); margin: 0 auto; padding: 2.25rem 1.25rem; display: grid; gap: 1.75rem; }
@media (min-width: 800px) { .wk-footer-in { grid-template-columns: 1.4fr 1fr 1fr; } .wk-footer-copy { grid-column: 1 / -1; } }
.wk-footer-name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.2rem; margin-bottom: 0.4rem; }
.wk-footer-brand .wk-muted { font-size: 0.88rem; max-width: 30rem; }
.wk-footer-links { display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-start; }
.wk-footer-links a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.wk-footer-links a:hover { color: var(--text); text-decoration: underline; }
.wk-footer-copy { font-size: 0.82rem; margin: 0; }
.wk-404 { padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== MHUR battle board (site-specific) ===== */
.mhur-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--stripe);
  opacity: 0.14;
}
.mhur-hero-art {
  background:
    radial-gradient(100% 90% at 80% 0%, hsl(var(--h-hero) var(--s-hero) 40% / 0.55), transparent 58%),
    radial-gradient(80% 70% at 10% 95%, hsl(var(--h) var(--s) 50% / 0.45), transparent 62%),
    repeating-linear-gradient(-12deg, color-mix(in srgb, var(--surface-2) 88%, transparent) 0 2px, transparent 2px 14px),
    var(--surface);
}
.mhur-telemetry { margin-top: -0.5rem; padding-bottom: 0.5rem; }
.mhur-telemetry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}
.mhur-telemetry-grid li {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: color-mix(in srgb, var(--surface) 92%, hsl(var(--h-hero) var(--s-hero) 20%));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mhur-telemetry-k {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mhur-telemetry-v {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.mhur-disambig {
  border: 1px solid var(--line);
  border-radius: calc(var(--r) * 1.5);
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface-2) 70%, transparent));
  box-shadow: inset 3px 0 0 var(--accent-hero);
}
.mhur-disambig-text { margin: 0; color: var(--muted); max-width: 52rem; line-height: 1.65; }
.mhur-quick-item { border-left: 3px solid var(--accent-hero); }
.mhur-quick-tag {
  position: absolute;
  top: 0.55rem;
  right: 0.9rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hero);
}
.mhur-quick-item::before { color: var(--accent-hero); }
.mhur-sect { padding: 1rem 1.05rem; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); }
.mhur-card { position: relative; overflow: hidden; }
.mhur-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hero));
}
.mhur-card-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--r) - 2px);
  margin-bottom: 0.35rem;
  background: linear-gradient(145deg, hsl(var(--h-hero) 30% 22%), hsl(var(--h) 28% 18%));
  border: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .wk-header { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 86%, var(--bg))); border-right: 4px solid transparent; border-image: linear-gradient(180deg, var(--accent), var(--accent-hero)) 1; }
}
.wk-answer { border-left-color: var(--accent-hero); background: color-mix(in srgb, var(--surface) 88%, hsl(var(--h-hero) 40% 12%)); }

.mhur-brand-stack { display: flex; flex-direction: column; gap: 0.1rem; line-height: 1.15; }
.mhur-brand-sub { font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: none; color: var(--muted); text-transform: uppercase; }
.mhur-mark { clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); border-radius: 2px; }
.mhur-footer-tag { font-size: 0.82rem; max-width: 28rem; margin: 0.5rem 0 0; color: var(--muted); }
.mhur-footer-label { margin: 0 0 0.35rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

.mhur-doc-head { padding: 1.25rem 0 0.75rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), transparent); }
.mhur-doc-head-grid { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; }
.mhur-doc-badge { margin: 0; padding: 0.35rem 0.75rem; border: 1px solid var(--accent); border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.mhur-stat-band { padding: 0.85rem 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.mhur-stat-strip { display: grid; gap: 0.55rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin: 0; }
.mhur-stat-cell { padding: 0.55rem 0.65rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.mhur-stat-cell dt { margin: 0; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mhur-stat-cell dd { margin: 0.15rem 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1rem; text-transform: uppercase; color: var(--text); }
.mhur-doc-body { display: grid; gap: 2rem; padding: 2rem 0 4rem; }
@media (min-width: 1080px) { .mhur-doc-body { grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; } }
.mhur-doc-rail { min-width: 0; }
@media (min-width: 1080px) { .mhur-doc-rail { position: sticky; top: 1rem; align-self: start; } }
.mhur-toc-mobile { margin: 0 0 1.25rem; padding: 0.75rem 1rem; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); }
.mhur-toc-mobile summary { cursor: pointer; font-weight: 700; }
@media (min-width: 1080px) { .mhur-toc-mobile { display: none; } }
.mhur-toc-desktop[hidden] { display: none; }
.mhur-faq-stack { display: grid; gap: 0; }
.mhur-related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.mhur-related-list a { display: block; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); background: var(--surface); }
.mhur-related-list a:hover { border-color: var(--accent-hero); }
.mhur-related-title { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.mhur-related-sum { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }

.mhur-section { padding: 1.25rem 0 4rem; }
.mhur-section-head { margin: 0.75rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid color-mix(in srgb, var(--accent) 45%, var(--line)); }
.mhur-section-intro { margin-bottom: 1.5rem; max-width: 44rem; }
.mhur-section-toolbar { margin-bottom: 1.25rem; }
.mhur-dossier-heading { font-size: 1.15rem; margin: 0 0 0.65rem; color: var(--accent-hero); }
.mhur-dossier-list { list-style: none; margin: 0 0 2rem; padding: 0; border: 1px solid var(--line); border-radius: calc(var(--r) * 1.25); overflow: hidden; }
.mhur-dossier-row { display: grid; gap: 0.25rem; padding: 0.95rem 1.1rem; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); background: var(--surface); transition: background 0.15s; }
.mhur-dossier-list li:last-child .mhur-dossier-row { border-bottom: 0; }
.mhur-dossier-row:hover { background: var(--surface-2); }
.mhur-dossier-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.mhur-dossier-sum { font-size: 0.9rem; color: var(--muted); }
.mhur-dossier-date { font-size: 0.75rem; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mhur-page-hero { margin: 1rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mhur-legal-head { margin: 1rem 0 1.25rem; }
.mhur-legal-body { padding-bottom: 3rem; }
.mhur-404 { padding-top: 4rem; }
.mhur-404-plate { padding: 2rem 1.5rem; border: 1px solid var(--line); border-radius: calc(var(--r) * 2); background: var(--surface); max-width: 36rem; }

/* ===== MHUR top-bar shell (replaces template rail grid) ===== */
.mhur-app { min-height: 100vh; display: flex; flex-direction: column; }
.mhur-stage { flex: 1; min-width: 0; }
.mhur-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mhur-topbar-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 1.25rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.mhur-topbrand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  min-width: 12rem;
}
.mhur-topmark {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--accent), var(--accent-hero));
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}
.mhur-topbrand-text { display: flex; flex-direction: column; line-height: 1.15; }
.mhur-topbrand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mhur-topbrand-tag { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.mhur-topnav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}
.mhur-topnav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
}
.mhur-topnav a:hover { color: var(--text); border-color: var(--line); background: var(--surface); }
.mhur-topnav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.mhur-topsearch { position: relative; flex: 1 1 12rem; max-width: 20rem; margin-left: auto; }
.mhur-topsearch input {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
}
.mhur-topsearch .wk-results { right: 0; left: auto; width: min(26rem, 92vw); }
@media (max-width: 720px) {
  .mhur-topnav { order: 3; flex: 1 0 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .mhur-topsearch { order: 2; margin-left: 0; max-width: none; }
}

.mhur-home-hero { padding: 2.5rem 0 1.25rem; border-bottom: 1px solid var(--line); background: radial-gradient(120% 80% at 0% 0%, hsl(var(--h-hero) 35% 18% / 0.35), transparent 55%), var(--bg); }
.mhur-home-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .mhur-home-hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.mhur-kicker { margin: 0 0 0.5rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-hero); }
.mhur-home-title { font-family: var(--font-head); font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 800; text-transform: uppercase; margin: 0 0 0.85rem; line-height: 1.05; }
.mhur-home-lead { margin: 0 0 1.25rem; font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.mhur-home-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.mhur-pill { display: inline-flex; padding: 0.65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--text); background: var(--surface); }
.mhur-pill--hot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mhur-home-visual img, .mhur-home-visual { width: 100%; min-height: 12rem; border-radius: calc(var(--r) * 2); border: 1px solid var(--line); object-fit: cover; background: var(--surface-2); }
.mhur-home-panel { padding: 2rem 0 0.5rem; }
.mhur-panel-title { font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; margin: 0 0 1rem; color: var(--accent); }
.mhur-panel-body { margin: 0; color: var(--muted); max-width: 52rem; line-height: 1.65; }
.mhur-launch-grid { display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.mhur-launch-card { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.15rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); }
.mhur-launch-card:hover { border-color: var(--accent-hero); }
.mhur-launch-tag { align-self: flex-start; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; color: var(--accent-hero); text-transform: uppercase; }
.mhur-launch-title { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; text-transform: uppercase; }
.mhur-launch-text { font-size: 0.9rem; color: var(--muted); }
.mhur-division { margin-bottom: 0.85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 0.35rem 0.85rem 0.75rem; }
.mhur-division summary { cursor: pointer; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.mhur-division-count { font-size: 0.75rem; color: var(--muted); }
.mhur-division-desc { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.92rem; }
.mhur-division-links { margin: 0; padding-left: 1.1rem; }
.mhur-latest-feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mhur-latest-feed li { border-bottom: 1px solid var(--line); }
.mhur-latest-feed a { display: grid; gap: 0.2rem; padding: 0.85rem 0; text-decoration: none; color: var(--text); }
.mhur-latest-feed a:hover span { color: var(--accent-hero); }
.mhur-latest-feed small { color: var(--muted); font-size: 0.88rem; }
.mhur-home-prose { padding-bottom: 3rem; }
