/* Narita Express page — one decision journey, not a stack of article cards. */
.nex-page {
  --nex-ink: #102a43;
  --nex-navy: #173f68;
  --nex-teal: #0b9c91;
  --nex-mint: #dff8f3;
  --nex-line: #d7e4ea;
  --nex-muted: #687d90;
  --nex-warm: #fff8f1;
  background: #f7fbfb;
  color: var(--nex-ink);
}

.nex-page main { overflow: hidden; }
.nex-page .content-column { max-width: 1060px; }

/* Hero: photography carries atmosphere; copy carries the answer. */
.nex-page .nex-hero { padding-bottom: 42px; background: linear-gradient(180deg,#f6fbfb 0%,#eef9f7 100%); }
.nex-page .nex-hero-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px,5vw,56px);
  border: 0;
  border-radius: 0 0 28px 28px;
  background-image:
    linear-gradient(90deg,rgba(8,30,54,.64) 0%,rgba(8,30,54,.32) 43%,rgba(8,30,54,.03) 74%),
    url('/assets/images/generated/gen-narita-express-hero-v2.png');
  background-position: center;
  background-size: cover;
  box-shadow: none;
}
.nex-page .nex-hero-card h1 { max-width: 720px; margin: 10px 0 0; color:#fff; font-size:clamp(38px,6vw,64px); line-height:1.01; letter-spacing:-.045em; text-shadow:none; }
.nex-page .nex-hero-question { color:#38cfc2; font-size:clamp(28px,4.5vw,48px); font-weight:850; line-height:1.05; letter-spacing:-.035em; text-shadow:none; }
.nex-page .nex-kicker { color:#8cece2; letter-spacing:.09em; }
.nex-page .nex-hero-copy { max-width:600px; margin:18px 0 0; color:rgba(255,255,255,.92); font-size:18px; line-height:1.5; text-shadow:none; }

/* One unified answer console. */
.nex-page .nex-decision-console {
  position: relative;
  z-index: 2;
  margin: -42px auto 0;
  padding: 28px clamp(20px,4vw,42px) 32px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(22px) saturate(145%);
  box-shadow: 0 24px 60px rgba(27,61,82,.10);
}
.nex-page .nex-console-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--nex-line); }
.nex-page .nex-console-heading span { color:var(--nex-teal); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.nex-page .nex-console-heading strong { color:var(--nex-ink); font-size:clamp(20px,3vw,28px); letter-spacing:-.025em; }
.nex-page .nex-snapshot { margin:0!important; padding:28px 0 42px!important; }
.nex-page .nex-snapshot::after { left:8%!important; right:8%!important; }
.nex-page .nex-snapshot strong { font-size:clamp(22px,3.6vw,34px)!important; }
.nex-page .nex-snapshot>div:nth-child(3) strong { max-width:none!important; font-size:clamp(20px,3vw,28px)!important; }
.nex-page .nex-answer { margin:8px 0 0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
.nex-page .nex-answer>.visually-hidden { display:none!important; }
.nex-page .nex-answer::before,.nex-page .nex-answer::after { content:none!important; display:none!important; }
.nex-page .nex-answer>p { margin:0 0 12px!important; color:var(--nex-muted)!important; font-size:11px!important; font-weight:800!important; letter-spacing:.1em!important; text-transform:uppercase; }
.nex-page .nex-decision-grid { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border:1px solid #cfe0e5; border-radius:16px; background:#f8fbfc; }
.nex-page .nex-decision-grid>div { min-height:104px; padding:22px 24px!important; border:0!important; background:transparent!important; }
.nex-page .nex-decision-grid>div+div { border-left:1px solid #cfe0e5!important; background:linear-gradient(135deg,#f7fafc,#fffaf5)!important; }
.nex-page .nex-decision-grid span { color:var(--nex-muted)!important; font-size:12px!important; }
.nex-page .nex-decision-grid strong { margin-top:8px!important; color:var(--nex-teal)!important; font-size:24px!important; letter-spacing:-.02em; }
.nex-page .nex-decision-grid>div+div strong { color:var(--nex-navy)!important; }
.nex-page .nex-answer-details { margin-top:12px; border-top:0!important; }
.nex-page .nex-answer-details summary { min-height:44px; display:flex; align-items:center; width:max-content; color:var(--nex-teal); font-weight:750; cursor:pointer; }

/* The route-fit strip is a compact proof, not another article. */
.nex-page .nex-tight-section { padding:46px 0!important; background:#fff!important; }
.nex-page .nex-fit-board { padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
.nex-page .geo-answer-label { margin-bottom:20px!important; color:var(--nex-teal)!important; font-size:11px!important; letter-spacing:.1em!important; }
.nex-page .nex-route-fit { display:grid!important; grid-template-columns:1.45fr .8fr 1.2fr; gap:0!important; overflow:hidden; border:1px solid var(--nex-line); border-radius:18px; background:#fff; }
.nex-page .nex-route-fit>div { position:relative; min-height:118px; padding:24px!important; border:0!important; }
.nex-page .nex-route-fit>div+div { border-left:1px solid var(--nex-line)!important; }
.nex-page .nex-route-fit>div:first-child { background:linear-gradient(145deg,#ecfbf8,#fff); }
.nex-page .nex-route-fit span { color:var(--nex-muted)!important; font-size:10px!important; letter-spacing:.08em!important; }
.nex-page .nex-route-fit strong { margin-top:10px!important; color:var(--nex-ink)!important; font-size:16px!important; line-height:1.45!important; }

/* Editorial hierarchy: one heading pattern across all decision modules. */
.nex-page .nex-section-heading { margin:38px 0 22px; padding-left:18px; border-left:3px solid var(--nex-teal); }
.nex-page .nex-section-heading p { margin:0 0 7px; color:var(--nex-teal); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.nex-page .nex-section-heading h2 { margin:0!important; color:var(--nex-ink)!important; font-size:clamp(26px,4vw,38px)!important; line-height:1.12!important; letter-spacing:-.035em!important; }
.nex-page .nex-section-heading .nex-decision-title,
.nex-page .nex-section-heading .nex-section-title { padding:0!important; border:0!important; }
.nex-page .nex-section-heading .nex-decision-title::after,
.nex-page .nex-section-heading .nex-section-title::after { content:none!important; display:none!important; }
.nex-page .nex-section-heading span { display:block; margin-top:10px; color:var(--nex-muted); font-size:15px; }

/* Reusable product module: deep-blue answer header + lightly rendered body. */
.nex-page .nex-module {
  overflow:hidden;
  margin:34px 0;
  border:1px solid var(--nex-line);
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 8%,rgba(20,184,166,.12),transparent 27%),
    linear-gradient(145deg,#f8fbfc,#eef8f7);
  box-shadow:0 18px 44px rgba(21,53,84,.07);
}
.nex-page .nex-module .nex-section-heading {
  margin:0;
  padding:24px 28px 23px;
  border:0;
  background:
    radial-gradient(circle at 88% 0,rgba(190,250,242,.28),transparent 38%),
    linear-gradient(115deg,#49bbb6,#2aa3a1);
}
.nex-page .nex-module .nex-section-heading p { color:#084f59; }
.nex-page .nex-module .nex-section-heading h2 { color:#123b61!important; }
.nex-page .nex-module .nex-section-heading span { color:#245b69; }
.nex-page .nex-module>.nex-scenarios,
.nex-page .nex-module>.price-table,
.nex-page .nex-module>.compare-table { margin:18px!important; width:calc(100% - 36px)!important; }
.nex-page .nex-module>.table-caption { margin:0 22px 22px!important; }

/* Scenario board: a continuous decision matrix, with one emphasized recommended path. */
.nex-page .nex-scenarios { grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:0!important; border-radius:20px!important; box-shadow:none!important; }
.nex-page .nex-scenarios .scenario-card { min-height:250px!important; padding:26px 22px!important; }
.nex-page .nex-scenarios .scenario-card:nth-child(n) { border:0!important; border-right:1px solid var(--nex-line)!important; border-bottom:0!important; background:#fff!important; }
.nex-page .nex-scenarios .scenario-card:last-child { border-right:0!important; }
.nex-page .nex-scenarios .scenario-card:first-child { background:linear-gradient(160deg,#dff8f3,#f8fffd)!important; }
.nex-page .nex-scenarios .scenario-note { margin-top:32px!important; font-size:13px!important; line-height:1.55!important; }

/* Tables become calm comparison boards with a clear reading lane. */
.nex-page .price-table,.nex-page .compare-table { overflow:hidden; border:1px solid var(--nex-line)!important; border-radius:18px!important; border-collapse:separate!important; border-spacing:0!important; background:#fff!important; box-shadow:none!important; }
.nex-page .price-table th,.nex-page .compare-table th { padding:16px 18px!important; background:#153f67!important; color:#dff8f3!important; font-size:11px!important; letter-spacing:.07em!important; text-transform:uppercase; }
.nex-page .price-table td,.nex-page .compare-table td { padding:20px 18px!important; border-color:#e3ebef!important; vertical-align:top; }
.nex-page .price-table tbody tr:hover,.nex-page .compare-table tbody tr:hover { background:#f3fbfa!important; }
.nex-page .price-cell { color:var(--nex-teal)!important; font-size:18px!important; font-weight:850!important; white-space:nowrap; }
.nex-page .table-caption { color:#7b8d9c!important; font-size:12px!important; }

/* CTA is an invitation, never a heavy billboard. */
.nex-page .nex-action { margin-top:38px!important; padding:28px!important; border:1px solid var(--nex-line)!important; border-left:4px solid var(--nex-teal)!important; border-radius:18px!important; background:linear-gradient(135deg,#fff,#f2fbfa)!important; box-shadow:none!important; }
.nex-page .nex-action>div { margin-top:22px; }

.nex-page .nex-faq-section { background:linear-gradient(180deg,#f2faf9,#fff)!important; }
.nex-page .nex-faq-section .faq-section {
  overflow:hidden;
  padding-top:0;
  border:1px solid var(--nex-line);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  box-shadow:0 18px 44px rgba(21,53,84,.06);
}
.nex-page .faq-section>h2 {
  margin:0 0 22px!important;
  padding:22px 24px!important;
  border:0!important;
  background:
    radial-gradient(circle at 88% 0,rgba(190,250,242,.28),transparent 38%),
    linear-gradient(115deg,#49bbb6,#2aa3a1);
  color:#123b61!important;
  letter-spacing:-.025em;
}
.nex-page .nex-faq-section [data-accordion] { padding:0 22px 22px; }

.nex-page .nex-fit-board>.geo-answer-label {
  margin:0!important;
  padding:17px 20px;
  border-radius:16px 16px 0 0;
  background:
    radial-gradient(circle at 88% 0,rgba(190,250,242,.28),transparent 38%),
    linear-gradient(115deg,#49bbb6,#2aa3a1);
  color:#123b61!important;
  font-weight:850!important;
}
.nex-page .nex-fit-board>.nex-route-fit { border-radius:0 0 18px 18px; }

/* Transition from route facts to the travel-situation decision. */
.nex-page .nex-situation-banner {
  position:relative;
  overflow:hidden;
  height:250px;
  margin:0 0 28px;
  border-radius:22px;
  background:#e7eef0;
  box-shadow:0 18px 44px rgba(21,53,84,.10);
}
.nex-page .nex-situation-banner img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 56%;
  filter:saturate(.86) contrast(.97);
}
.nex-page .nex-situation-banner::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(9,37,61,.44),rgba(9,37,61,.08) 55%,transparent);
}
.nex-page .nex-situation-banner figcaption {
  position:absolute;
  z-index:2;
  left:28px;
  bottom:24px;
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#fff;
}
.nex-page .nex-situation-banner figcaption span { color:#71e2d7; font-size:11px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.nex-page .nex-situation-banner figcaption strong { max-width:18ch; font-size:clamp(22px,4vw,34px); line-height:1.08; letter-spacing:-.035em; }

/* N'EX-specific photographic pause between comparison content and FAQ. */
.nex-page .nex-transit-divider {
  padding:24px 0 46px;
  background:linear-gradient(180deg,#fff,#edf8f6);
}
.nex-page .nex-transit-divider figure {
  position:relative;
  overflow:hidden;
  height:260px;
  margin:0;
  border-radius:22px;
  background:#dce8eb;
  box-shadow:0 20px 50px rgba(15,42,67,.12);
}
.nex-page .nex-transit-divider img { width:100%; height:100%; object-fit:cover; object-position:center 52%; filter:saturate(.88) contrast(.97); }
.nex-page .nex-transit-divider figure::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,30,53,.42),rgba(7,30,53,.06) 58%,transparent);
}
.nex-page .nex-transit-divider figcaption {
  position:absolute;
  z-index:2;
  left:28px;
  bottom:25px;
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#fff;
}
.nex-page .nex-transit-divider figcaption span { color:#71e2d7; font-size:11px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.nex-page .nex-transit-divider figcaption strong { font-size:clamp(22px,4vw,34px); letter-spacing:-.035em; }

@media (max-width: 720px) {
  .nex-page .nex-hero { padding-bottom:24px; }
  .nex-page .nex-hero>.content-column { padding:0!important; }
  .nex-page .nex-hero-card { min-height:430px; padding:26px 20px 34px; border-radius:0; background-position:61% center; background-image:linear-gradient(90deg,rgba(8,30,54,.58),rgba(8,30,54,.22) 64%,rgba(8,30,54,.04)),url('/assets/images/generated/gen-narita-express-hero-v2.png'); }
  .nex-page .nex-hero-card h1 { max-width:11ch; font-size:34px; }
  .nex-page .nex-hero-question { font-size:28px; }
  .nex-page .nex-hero-copy { max-width:28ch; font-size:15px; }
  .nex-page .nex-decision-console { margin:-22px 14px 0; padding:22px 16px 24px; border-radius:20px; }
  .nex-page .nex-console-heading { display:block; }
  .nex-page .nex-console-heading strong { display:block; margin-top:5px; font-size:22px; }
  .nex-page .nex-snapshot { padding:26px 0 40px!important; }
  .nex-page .nex-snapshot { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
  .nex-page .nex-snapshot::after { display:none!important; }
  .nex-page .nex-snapshot>div { min-height:80px; justify-content:center; padding:14px 8px!important; border:1px solid #dce8ec!important; border-radius:14px!important; background:rgba(248,251,252,.84)!important; }
  .nex-page .nex-snapshot>div::after { bottom:auto!important; top:10px!important; left:auto!important; right:10px!important; width:7px!important; height:7px!important; transform:none!important; border:0!important; box-shadow:none!important; }
  .nex-page .nex-snapshot>div:nth-child(3) { grid-column:1/-1; min-height:68px; flex-direction:row!important; justify-content:space-between!important; padding:14px 16px!important; background:linear-gradient(135deg,#f5fafb,#fffaf5)!important; }
  .nex-page .nex-snapshot strong { font-size:20px!important; }
  .nex-page .nex-snapshot>div:nth-child(3) strong { max-width:none!important; font-size:18px!important; }
  .nex-page .nex-snapshot span { font-size:9px!important; }
  .nex-page .nex-decision-grid { grid-template-columns:1fr; }
  .nex-page .nex-decision-grid>div { min-height:84px; padding:18px!important; }
  .nex-page .nex-decision-grid>div+div { border-top:1px solid #cfe0e5!important; border-left:0!important; }
  .nex-page .nex-route-fit { grid-template-columns:1fr; }
  .nex-page .nex-route-fit>div { min-height:auto; padding:20px!important; }
  .nex-page .nex-route-fit>div+div { border-top:1px solid var(--nex-line)!important; border-left:0!important; }
  .nex-page .nex-section-heading { margin-top:26px; }
  .nex-page .nex-section-heading h2 { font-size:28px!important; }
  .nex-page .nex-module { margin:24px 0; border-radius:18px; }
  .nex-page .nex-module .nex-section-heading { margin:0; padding:20px 18px; }
  .nex-page .nex-module .nex-section-heading h2 { font-size:26px!important; }
  .nex-page .nex-module>.nex-scenarios,
  .nex-page .nex-module>.price-table,
  .nex-page .nex-module>.compare-table { margin:12px!important; width:calc(100% - 24px)!important; }
  .nex-page .nex-module>.table-caption { margin:0 16px 18px!important; }
  .nex-page .nex-scenarios { grid-template-columns:1fr!important; }
  .nex-page .nex-scenarios .scenario-card { min-height:auto!important; padding:22px 20px!important; border-right:0!important; border-bottom:1px solid var(--nex-line)!important; }
  .nex-page .nex-scenarios .scenario-card:last-child { border-bottom:0!important; }
  .nex-page .nex-scenarios .scenario-note { margin-top:18px!important; }
  .nex-page .price-table,.nex-page .compare-table { border-radius:16px!important; }
  .nex-page .price-table,.nex-page .compare-table,
  .nex-page .price-table tbody,.nex-page .compare-table tbody,
  .nex-page .price-table tbody tr,.nex-page .compare-table tbody tr {
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .nex-page .price-table tbody,.nex-page .compare-table tbody {
    padding:10px 14px 12px 42px!important;
  }
  .nex-page .price-table tbody::before,.nex-page .compare-table tbody::before {
    left:18px!important;
    top:30px!important;
    bottom:30px!important;
  }
  .nex-page .price-table tbody tr {
    grid-template-columns:minmax(0,1fr) max-content!important;
    align-items:center!important;
    column-gap:18px!important;
    row-gap:10px!important;
    padding:20px 14px 20px 16px!important;
  }
  .nex-page .price-table tbody tr::before,.nex-page .compare-table tbody tr::before {
    left:-31px!important;
    top:24px!important;
  }
  .nex-page .price-table tbody td:first-child {
    min-width:0!important;
    padding-right:0!important;
  }
  .nex-page .price-table tbody td:nth-child(2) {
    align-self:center!important;
    white-space:nowrap!important;
    font-size:15px!important;
    line-height:1.3!important;
  }
  .nex-page .price-table tbody td:nth-child(3) {
    padding-right:0!important;
    margin-top:2px!important;
  }
  .nex-page .nex-transit-divider { padding:12px 0 34px; }
  .nex-page .nex-transit-divider>.content-column { padding-left:0!important; padding-right:0!important; }
  .nex-page .nex-transit-divider figure { height:180px; border-radius:0; box-shadow:none; }
  .nex-page .nex-transit-divider figcaption { left:18px; bottom:17px; }
  .nex-page .nex-transit-divider figcaption strong { font-size:24px; }
  .nex-page .nex-faq-section { padding-left:14px!important; padding-right:14px!important; }
  .nex-page .nex-faq-section .faq-section { border-radius:18px; }
  .nex-page .nex-faq-section [data-accordion] { padding:0 16px 18px; }
  .nex-page .nex-situation-banner { height:175px; margin:0 -14px 22px; border-radius:0; box-shadow:none; }
  .nex-page .nex-situation-banner figcaption { left:18px; bottom:16px; }
  .nex-page .nex-situation-banner figcaption strong { font-size:23px; }
}

/* Quick Answer console: deep product surface with restrained glass layers. */
.nex-page .nex-decision-console {
  overflow:hidden;
  padding-top:0;
  border-color:#c3d9df;
  background:
    radial-gradient(circle at 92% 15%,rgba(42,183,171,.18),transparent 31%),
    radial-gradient(circle at 5% 88%,rgba(62,122,160,.13),transparent 36%),
    linear-gradient(145deg,#dcebef 0%,#e7f1f2 48%,#edf5f2 100%);
  box-shadow:0 24px 58px rgba(20,57,76,.14);
  color:var(--nex-ink);
}
.nex-page .nex-console-heading {
  margin:0 calc(clamp(20px,4vw,42px) * -1) 0;
  padding:24px clamp(20px,4vw,42px) 23px;
  border-bottom:1px solid rgba(20,135,134,.45);
  background:
    radial-gradient(circle at 88% 0,rgba(190,250,242,.28),transparent 38%),
    linear-gradient(115deg,#49bbb6,#2aa3a1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(11,93,99,.12);
}
.nex-page .nex-console-heading span { color:#084f59; }
.nex-page .nex-console-heading strong { color:#123b61; }
.nex-page .nex-snapshot>div,
.nex-page .nex-snapshot>div:nth-child(3) {
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.92)!important;
  background:
    radial-gradient(circle at 12% 0,rgba(255,255,255,.94),transparent 40%),
    linear-gradient(145deg,rgba(255,255,255,.78),rgba(225,241,244,.52))!important;
  backdrop-filter:blur(26px) saturate(175%) brightness(1.08);
  -webkit-backdrop-filter:blur(26px) saturate(175%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(28,78,97,.16),
    inset 12px 0 28px rgba(255,255,255,.035),
    0 12px 28px rgba(23,60,79,.12)!important;
}
.nex-page .nex-snapshot>div::before {
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  top:-40%!important;
  left:-8%!important;
  width:72%!important;
  height:105%!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,rgba(255,255,255,.30),rgba(255,255,255,0) 68%)!important;
  filter:blur(9px)!important;
  transform:rotate(-10deg)!important;
  pointer-events:none!important;
}
.nex-page .nex-snapshot>div>* { position:relative; z-index:2; }
.nex-page .nex-snapshot strong,
.nex-page .nex-snapshot>div:nth-child(3) strong { color:#173f68!important; }
.nex-page .nex-snapshot>div:nth-child(2) strong { color:#078d83!important; }
.nex-page .nex-snapshot span { color:#607b8d!important; }
.nex-page .nex-snapshot>div:nth-child(2) {
  background:
    radial-gradient(circle at 15% 0,rgba(255,255,255,.96),transparent 40%),
    linear-gradient(145deg,rgba(210,250,245,.82),rgba(238,249,250,.60))!important;
}
.nex-page .nex-snapshot>div::after { border-color:rgba(213,237,239,.88)!important; }
.nex-page .nex-answer>p { color:#5b7487!important; }
.nex-page .nex-decision-grid {
  border-color:#d8e6ea;
  background:rgba(255,255,255,.58);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.nex-page .nex-decision-grid>div { background:rgba(255,255,255,.58)!important; }
.nex-page .nex-decision-grid>div+div {
  border-color:#d8e6ea!important;
  background:linear-gradient(135deg,rgba(255,255,255,.74),rgba(255,248,240,.66))!important;
}
.nex-page .nex-decision-grid span { color:#617d8d!important; }
.nex-page .nex-decision-grid strong { color:#078d83!important; }
.nex-page .nex-decision-grid>div+div strong { color:#173f68!important; }
.nex-page .nex-answer-details {
  border:1px solid #d8e6ea!important;
  background:rgba(255,255,255,.68)!important;
  color:#31576d!important;
}
.nex-page .nex-answer-details summary { color:#078d83; }
.nex-page .nex-answer-details p,
.nex-page .nex-answer-details small { color:#4e7182!important; }

/* Scenario choices: semantic distinction inside one continuous decision board. */
.nex-page .nex-scenarios .scenario-card:nth-child(1) {
  background:linear-gradient(135deg,#e5f8f2,#f7fdfb)!important;
  box-shadow:inset 4px 0 0 #0d9b82!important;
}
.nex-page .nex-scenarios .scenario-card:nth-child(2) {
  background:linear-gradient(135deg,#edf8fb,#f9fcfd)!important;
  box-shadow:inset 4px 0 0 #3a93ad!important;
}
.nex-page .nex-scenarios .scenario-card:nth-child(3) {
  background:linear-gradient(135deg,#f5f8f8,#ffffff)!important;
  box-shadow:inset 4px 0 0 #a88462!important;
}
.nex-page .nex-scenarios .scenario-card:nth-child(4) {
  background:linear-gradient(135deg,#f0f4f8,#fafcfd)!important;
  box-shadow:inset 4px 0 0 #5f7f9d!important;
}
.nex-page .nex-scenarios .scenario-verdict {
  display:inline-flex!important;
  align-items:center;
  min-height:30px;
  margin-top:2px;
  padding:5px 11px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.62)!important;
}
.nex-page .nex-scenarios .scenario-card:nth-child(1) .scenario-verdict { border-color:#9fdac9!important; color:#087b66!important; }
.nex-page .nex-scenarios .scenario-card:nth-child(2) .scenario-verdict { border-color:#abd7e1!important; color:#24788f!important; }
.nex-page .nex-scenarios .scenario-card:nth-child(3) .scenario-verdict { border-color:#d7c1ac!important; color:#7f5d3f!important; background:rgba(250,246,241,.72)!important; }
.nex-page .nex-scenarios .scenario-card:nth-child(4) .scenario-verdict { border-color:#c7d4df!important; color:#3f607e!important; }

@media (max-width:720px) {
  .nex-page .nex-console-heading {
    margin-left:-16px;
    margin-right:-16px;
    padding:21px 18px 20px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nex-page .nex-decision-console { background:#f4f8f8; backdrop-filter:none; }
  .nex-page .nex-snapshot>div,
  .nex-page .nex-decision-grid,
  .nex-page .nex-answer-details { backdrop-filter:none; }
}

@media (prefers-reduced-motion: reduce) {
  .nex-page * { scroll-behavior:auto!important; transition-duration:.01ms!important; }
}
