/* MH Wilds Switch 2 — a light technical version dossier, copied only into this site's build. */
html[data-skin="grimdark"] {
  color-scheme: light;
  --skin-bg: #e9e5da;
  --skin-surface: #f4f0e5;
  --skin-surface-2: #dce3dc;
  --skin-ink: #163137;
  --skin-muted: #5f6d6c;
  --skin-line: #b9b8a9;
  --skin-brand: #176e70;
  --skin-brand-ink: #f5f2e7;
  --skin-accent: #c85b3f;
  --skin-good: #26756b;
  --skin-font-display: "Avenir Next Condensed", "DIN Condensed", "Franklin Gothic Medium", sans-serif;
  --skin-font-body: "Gill Sans", "Avenir Next", "Trebuchet MS", sans-serif;
}
[data-skin="grimdark"] body {
  color: #163137;
  background:
    linear-gradient(rgba(23,110,112,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,110,112,.045) 1px, transparent 1px),
    #e9e5da;
  background-size: 28px 28px;
}
[data-skin="grimdark"] header { background: rgba(16,42,50,.97); border-bottom-color: #4e7778; }
[data-skin="grimdark"] header a { color: #eee8d8; }
[data-skin="grimdark"] header a.text-brand, [data-skin="grimdark"] header a span { color: #7cd0c2; }
[data-skin="grimdark"] header a.bg-brand { color: #102a32; }
[data-skin="grimdark"] header a.text-muted { color: #b5c5bf; }
[data-skin="grimdark"] footer { background: #d8d7ca; }
.mh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mh-eyebrow { margin: 0 0 .4rem; color: #176e70; font-family: ui-monospace, "Courier New", monospace; font-size: .66rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.mh-evidence-chip { display: inline-flex; align-items: center; width: fit-content; padding: .32rem .5rem; border: 1px solid #8fa9a2; color: #235e5b; background: #e1e9df; font-family: ui-monospace, "Courier New", monospace; font-size: .6rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.mh-copy-button { padding: .45rem .65rem; border: 1px solid #8fa9a2; color: #176e70; background: transparent; font-family: ui-monospace, "Courier New", monospace; font-size: .64rem; font-weight: 800; cursor: pointer; }

/* Top fact ruler and asymmetrical dossier */
.mh-command-deck { width: min(1180px, calc(100vw - 2rem)); margin-left: 50%; transform: translateX(-50%); border: 1px solid #72908c; background: #f4f0e5; box-shadow: 10px 10px 0 rgba(23,110,112,.12); }
.mh-fact-ruler { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #72908c; color: #e9e5da; background: #102a32; }
.mh-fact-ruler > div { padding: .8rem 1rem; border-right: 1px solid #4e7778; }
.mh-fact-ruler > div:last-child { border-right: 0; }
.mh-fact-ruler span, .mh-fact-ruler strong { display: block; }
.mh-fact-ruler span { color: #8fc9bc; font-family: ui-monospace, "Courier New", monospace; font-size: .57rem; font-weight: 900; letter-spacing: .13em; }
.mh-fact-ruler strong { margin-top: .22rem; font-family: var(--skin-font-display); font-size: 1.15rem; letter-spacing: .025em; }
.mh-dossier-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(240px, .58fr); }
.mh-dossier-main { padding: 2rem 2.2rem; animation: mh-enter .45s ease-out both; }
.mh-dossier-main h1 { max-width: 700px; margin: 0; color: #102a32; font-family: var(--skin-font-display); font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.mh-dossier-main h1 span { display: block; color: #c85b3f; }
.mh-deck-intro { max-width: 660px; margin: 1rem 0 0; color: #536664; font-size: .9rem; line-height: 1.65; }
.mh-search { display: flex; align-items: center; margin-top: 1.2rem; border: 1px solid #8fa9a2; background: #fffdf5; }
.mh-search:focus-within { outline: 3px solid rgba(23,110,112,.2); border-color: #176e70; }
.mh-search input { width: 100%; min-width: 0; padding: .78rem .9rem; border: 0; outline: 0; color: #163137; background: transparent; font-family: var(--skin-font-body); font-size: .88rem; }
.mh-search > span { padding: 0 .85rem; color: #176e70; font-size: 1.3rem; }
.mh-start-table { margin-top: 1.3rem; border-top: 1px solid #b9b8a9; }
.mh-start-table > div { display: grid; grid-template-columns: 32px minmax(180px, .8fr) 1fr; gap: .7rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid #c9c7b9; }
.mh-start-table span { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .65rem; font-weight: 900; }
.mh-start-table strong { color: #163137; font-size: .83rem; }
.mh-start-table p { margin: 0; color: #647471; font-size: .73rem; line-height: 1.45; }
.mh-art-rail { display: flex; flex-direction: column; border-left: 1px solid #72908c; background: #dce3dc; }
.mh-art-rail img { width: 100%; height: 100%; min-height: 270px; max-height: 360px; object-fit: cover; object-position: 55% center; filter: saturate(.85) contrast(1.03); }
.mh-art-caption { padding: .85rem 1rem .65rem; }
.mh-art-caption span { color: #176e70; font-family: ui-monospace, "Courier New", monospace; font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.mh-art-caption p { margin: .2rem 0 0; color: #647471; font-size: .65rem; }
.mh-art-rail > a { display: flex; justify-content: space-between; margin: 0 1rem; padding: .65rem 0; border-top: 1px solid #b2bcb3; color: #176e70; font-size: .72rem; font-weight: 900; text-decoration: none; }
.mh-art-rail > a:last-child { margin-bottom: .8rem; }

/* Shared tool frame */
.mh-tool { width: min(100%, 960px); margin-top: 1.35rem; padding: 1.25rem; border: 1px solid #a6afa4; background: #f4f0e5; box-shadow: 6px 6px 0 rgba(23,110,112,.09); }
.mh-tool-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.mh-tool-heading h2 { margin: 0; color: #163137; font-family: var(--skin-font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.mh-tool button { font: inherit; }
.mh-tool button:focus-visible, .mh-command-deck a:focus-visible, .mh-profile-links a:focus-visible, .mh-tool a:focus-visible { outline: 3px solid #c85b3f; outline-offset: 3px; }

/* Save triage */
.mh-save-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); border: 1px solid #a6afa4; }
.mh-save-options { display: grid; align-content: start; }
.mh-save-options button { display: grid; grid-template-columns: 28px 1fr; gap: .15rem .65rem; padding: .85rem; border: 0; border-bottom: 1px solid #c5c7b9; color: #163137; background: #ece9de; text-align: left; cursor: pointer; }
.mh-save-options button:last-child { border-bottom: 0; }
.mh-save-options button.selected { color: #f4f0e5; background: #176e70; }
.mh-save-options button > span { grid-row: 1 / 3; color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .63rem; font-weight: 900; }
.mh-save-options button.selected > span { color: #f2b09b; }
.mh-save-options strong { font-size: .78rem; }
.mh-save-options small { color: #647471; font-size: .65rem; line-height: 1.4; }
.mh-save-options button.selected small { color: #d2e4dd; }
.mh-save-result { padding: 1.2rem; border-left: 1px solid #a6afa4; background: #fffdf5; }
.mh-save-result > span { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mh-save-result h3 { margin: .45rem 0; color: #163137; font-family: var(--skin-font-display); font-size: 1.35rem; line-height: 1.15; }
.mh-save-result p { color: #566966; font-size: .78rem; line-height: 1.55; }
.mh-save-result a { color: #176e70; font-size: .73rem; font-weight: 900; }
.mh-save-rails { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: .75rem; }
.mh-save-rails > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .45rem; padding: .75rem; border: 1px solid #a6afa4; font-size: .67rem; }
.mh-save-rails b { color: #176e70; font-size: 1.1rem; }
.mh-save-rails strong { grid-column: 1 / -1; color: #176e70; font-size: .64rem; }
.mh-save-rails .blocked { border-style: dashed; }
.mh-save-rails .blocked b, .mh-save-rails .blocked strong { color: #b65039; }

/* Performance lab */
.mh-mode-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .7rem; }
.mh-mode-tabs button { padding: .45rem .6rem; border: 1px solid #9eaaa0; color: #4f6461; background: #e5e5d9; font-family: ui-monospace, "Courier New", monospace; font-size: .62rem; font-weight: 800; cursor: pointer; }
.mh-mode-tabs button.selected { color: #f4f0e5; border-color: #176e70; background: #176e70; }
.mh-performance-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #9eaaa0; }
.mh-performance-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .71rem; }
.mh-performance-table th, .mh-performance-table td { padding: .75rem; border-bottom: 1px solid #c2c4b7; text-align: left; vertical-align: top; }
.mh-performance-table thead { color: #dce8df; background: #102a32; font-family: ui-monospace, "Courier New", monospace; font-size: .6rem; letter-spacing: .04em; }
.mh-performance-table tbody th { width: 135px; color: #163137; background: #e1e4d9; }
.mh-performance-table tbody th small { display: block; margin-top: .2rem; color: #647471; font-weight: 400; }
.mh-performance-table td strong, .mh-performance-table td span { display: block; }
.mh-performance-table td strong { color: #176e70; font-size: .75rem; }
.mh-performance-table td span { margin-top: .25rem; color: #566966; }
.mh-performance-table td:last-child { color: #647471; font-size: .67rem; line-height: 1.45; }
.mh-performance-table tr.highlight td, .mh-performance-table tr.highlight th { background: #d8e7dc; }
.mh-performance-table tr:last-child > * { border-bottom: 0; }
.mh-mode-advice { margin-top: .75rem; padding: .7rem .8rem; border-left: 3px solid #c85b3f; background: #e4e6d9; }
.mh-mode-advice span { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.mh-mode-advice p { margin: .25rem 0 0; color: #536663; font-size: .74rem; line-height: 1.5; }

/* Multiplayer scenes */
.mh-scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #a6afa4; }
.mh-scene-grid button { padding: .8rem; border: 0; border-right: 1px solid #a6afa4; color: #163137; background: #ece9de; text-align: left; cursor: pointer; }
.mh-scene-grid button:last-child { border-right: 0; }
.mh-scene-grid button.selected { color: #f4f0e5; background: #176e70; }
.mh-scene-grid button > span { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 .3rem; border: 1px solid #8fa9a2; color: #176e70; font-family: ui-monospace, "Courier New", monospace; font-size: .58rem; font-weight: 900; }
.mh-scene-grid button.selected > span { color: #d9eee5; border-color: #7fb3aa; }
.mh-scene-grid strong, .mh-scene-grid small { display: block; }
.mh-scene-grid strong { margin-top: .55rem; font-size: .76rem; }
.mh-scene-grid small { margin-top: .15rem; color: #647471; font-size: .62rem; }
.mh-scene-grid button.selected small, .mh-scene-grid button.selected p { color: #d2e4dd; }
.mh-scene-grid p { margin: .4rem 0 0; color: #647471; font-size: .65rem; line-height: 1.45; }
.mh-scene-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; margin-top: .75rem; padding: .9rem; border: 1px solid #a6afa4; background: #fffdf5; }
.mh-scene-detail > div > span { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.mh-scene-detail h3 { margin: .3rem 0; color: #163137; font-family: var(--skin-font-display); }
.mh-scene-detail p { margin: 0; color: #566966; font-size: .72rem; line-height: 1.5; }
.mh-scene-detail dl { display: grid; gap: .35rem; margin: 0; }
.mh-scene-detail dl > div { display: grid; grid-template-columns: 95px 1fr; gap: .4rem; font-size: .66rem; }
.mh-scene-detail dt { color: #647471; }
.mh-scene-detail dd { margin: 0; color: #163137; font-weight: 800; }

/* Release ledger */
.mh-release-ledger { display: grid; grid-template-columns: .7fr 1.3fr; border: 1px solid #a6afa4; }
.mh-release-date { padding: 1rem; color: #e9e5da; background: #102a32; text-align: center; }
.mh-release-date > span, .mh-price-window > span { font-family: ui-monospace, "Courier New", monospace; font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.mh-release-date > strong { display: block; margin: -.1rem 0; font-family: var(--skin-font-display); font-size: 4.5rem; line-height: 1; }
.mh-release-date > small { display: block; color: #a8cbc1; }
.mh-release-date > b { display: block; margin-top: .65rem; color: #f2b09b; font-size: .68rem; }
.mh-price-window { padding: 1rem 1.2rem; background: #fffdf5; }
.mh-price-window > span { color: #176e70; }
.mh-price-window > strong { display: block; color: #176e70; font-family: var(--skin-font-display); font-size: 2.7rem; }
.mh-price-window p { margin: .25rem 0; color: #536663; font-size: .75rem; }
.mh-price-window small { display: block; color: #6c7874; font-size: .64rem; }
.mh-price-window a { display: inline-block; margin-top: .6rem; color: #176e70; font-size: .7rem; font-weight: 900; }
.mh-release-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: .8rem 0 0; padding: 0; list-style: none; }
.mh-release-timeline li { padding: .75rem; border-top: 2px solid #176e70; border-right: 1px solid #c2c4b7; background: #e4e6d9; }
.mh-release-timeline li:last-child { border-right: 0; }
.mh-release-timeline time { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .61rem; font-weight: 900; }
.mh-release-timeline strong { display: block; margin-top: .25rem; color: #163137; font-size: .74rem; }
.mh-release-timeline p { margin: .25rem 0 0; color: #647471; font-size: .66rem; line-height: 1.45; }
.mh-price-receipt { margin-top: .8rem; border: 1px solid #a6afa4; }
.mh-receipt-head, .mh-receipt-row { display: grid; grid-template-columns: 1fr 1.6fr .55fr; gap: .7rem; padding: .65rem .75rem; }
.mh-receipt-head { color: #dce8df; background: #102a32; font-family: ui-monospace, "Courier New", monospace; font-size: .57rem; font-weight: 900; }
.mh-receipt-row { border-bottom: 1px solid #c2c4b7; color: #536663; font-size: .68rem; }
.mh-receipt-row:last-child { border-bottom: 0; }
.mh-receipt-row strong { color: #163137; }
.mh-receipt-row b { color: #176e70; text-align: right; }
.mh-receipt-foot { margin: .6rem 0 0; color: #647471; font-size: .65rem; line-height: 1.45; }

/* Conditional verdict */
.mh-worth-profiles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #a6afa4; }
.mh-worth-profiles button { padding: .85rem; border: 0; border-right: 1px solid #a6afa4; color: #163137; background: #ece9de; text-align: left; cursor: pointer; }
.mh-worth-profiles button:last-child { border-right: 0; }
.mh-worth-profiles button.selected { color: #f4f0e5; background: #176e70; }
.mh-worth-profiles span { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .56rem; font-weight: 900; text-transform: uppercase; }
.mh-worth-profiles button.selected span { color: #f2b09b; }
.mh-worth-profiles strong { display: block; margin-top: .35rem; font-size: .78rem; }
.mh-worth-profiles p { margin: .35rem 0 0; color: #647471; font-size: .65rem; line-height: 1.45; }
.mh-worth-profiles button.selected p { color: #d2e4dd; }
.mh-verdict { margin-top: .8rem; padding: 1rem; border-left: 4px solid #176e70; background: #fffdf5; }
.mh-verdict > span { color: #176e70; font-family: ui-monospace, "Courier New", monospace; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mh-verdict.wait { border-left-color: #c85b3f; }
.mh-verdict.wait > span { color: #c85b3f; }
.mh-verdict h3 { margin: .35rem 0 .6rem; color: #163137; font-family: var(--skin-font-display); font-size: 1.25rem; }
.mh-verdict ol { display: grid; gap: .45rem; margin: 0; padding-left: 1.25rem; }
.mh-verdict li { color: #536663; font-size: .72rem; }
.mh-verdict a { color: #176e70; text-decoration: none; }
.mh-verdict small { display: block; margin-top: .15rem; color: #647471; font-size: .62rem; }

/* Bottom-line evidence links, not task cards */
.mh-bottom-line { width: min(1120px, calc(100vw - 2rem)); margin: 1.8rem 0 0 50%; transform: translateX(-50%); border-top: 2px solid #176e70; border-bottom: 1px solid #a6afa4; }
.mh-bottom-line > div:first-child { padding: 1rem 0; }
.mh-bottom-line h2 { max-width: 760px; margin: 0; color: #163137; font-family: var(--skin-font-display); font-size: 1.45rem; line-height: 1.2; }
.mh-profile-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #a6afa4; }
.mh-profile-links a { padding: .8rem; border-right: 1px solid #a6afa4; color: #163137; text-decoration: none; }
.mh-profile-links a:last-child { border-right: 0; }
.mh-profile-links a:hover { background: #dce3dc; }
.mh-profile-links span, .mh-profile-links strong { display: block; }
.mh-profile-links span { color: #c85b3f; font-family: ui-monospace, "Courier New", monospace; font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.mh-profile-links strong { margin-top: .25rem; font-size: .75rem; }

@keyframes mh-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) and (min-width: 768px) {
  [data-skin="grimdark"] header > div > a { font-size: .95rem; white-space: nowrap; }
  [data-skin="grimdark"] header nav[aria-label="Main"] a { padding-left: .55rem; padding-right: .55rem; font-size: .76rem; white-space: nowrap; }
}
@media (max-width: 900px) and (min-width: 768px) {
  [data-skin="grimdark"] header > div > a span { display: none; }
}
@media (max-width: 1000px) {
  .mh-dossier-grid { grid-template-columns: minmax(0, 1.25fr) 230px; }
  .mh-dossier-main { padding: 1.6rem; }
  .mh-scene-grid { grid-template-columns: repeat(2, 1fr); }
  .mh-scene-grid button:nth-child(2) { border-right: 0; }
  .mh-scene-grid button:nth-child(-n+2) { border-bottom: 1px solid #a6afa4; }
}
@media (max-width: 760px) {
  .mh-fact-ruler { grid-template-columns: repeat(2, 1fr); }
  .mh-fact-ruler > div:nth-child(2) { border-right: 0; }
  .mh-fact-ruler > div:nth-child(-n+2) { border-bottom: 1px solid #4e7778; }
  .mh-dossier-grid { grid-template-columns: 1fr; }
  .mh-art-rail { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid #72908c; border-left: 0; }
  .mh-art-rail img { grid-row: 1 / 4; min-height: 180px; }
  .mh-art-rail > a { margin: 0 .8rem; }
  .mh-save-layout, .mh-scene-detail, .mh-release-ledger { grid-template-columns: 1fr; }
  .mh-save-result { border-top: 1px solid #a6afa4; border-left: 0; }
  .mh-release-timeline { grid-template-columns: 1fr; }
  .mh-release-timeline li { border-right: 0; }
  .mh-worth-profiles, .mh-profile-links { grid-template-columns: 1fr; }
  .mh-worth-profiles button, .mh-profile-links a { border-right: 0; border-bottom: 1px solid #a6afa4; }
}
@media (max-width: 480px) {
  .mh-command-deck, .mh-bottom-line { width: calc(100vw - 1.5rem); }
  .mh-dossier-main { padding: 1.2rem .9rem; }
  .mh-dossier-main h1 { font-size: 2.75rem; }
  .mh-deck-intro { font-size: .82rem; }
  .mh-search input { font-size: 16px; }
  .mh-start-table > div { grid-template-columns: 26px 1fr; }
  .mh-start-table p { grid-column: 2; }
  .mh-art-rail { grid-template-columns: 105px 1fr; }
  .mh-art-rail img { min-height: 200px; }
  .mh-tool { padding: .85rem; }
  .mh-tool-heading { flex-direction: column; }
  .mh-save-rails { grid-template-columns: 1fr; }
  .mh-scene-grid { grid-template-columns: 1fr; }
  .mh-scene-grid button { border-right: 0; border-bottom: 1px solid #a6afa4; }
  .mh-receipt-head, .mh-receipt-row { grid-template-columns: 1fr .7fr; }
  .mh-receipt-head span:nth-child(2), .mh-receipt-row > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-dossier-main { animation: none; }
}
