:root {
  color-scheme: dark;
  --ink-0: #071512;
  --ink-1: #0b1f1a;
  --ink-2: #112b23;
  --ink-3: #18392f;
  --paper: #f1ead9;
  --muted: #adb9af;
  --faint: #788980;
  --line: rgba(211, 184, 118, 0.2);
  --line-strong: rgba(211, 184, 118, 0.45);
  --gold: #d3b876;
  --gold-soft: #a98b4c;
  --good: #82b28b;
  --warn: #d79a60;
  --bad: #c87568;
  --unknown: #879aa2;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink-0);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 8% 0%, rgba(62, 105, 85, 0.22), transparent 38rem),
    radial-gradient(circle at 94% 6%, rgba(169, 139, 76, 0.13), transparent 32rem),
    linear-gradient(145deg, #06130f 0%, #0a1c17 54%, #06130f 100%);
}

body.drawer-open {
  overflow: hidden;
}

button,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-0);
  background: var(--gold);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  width: min(1940px, 100%);
  margin: 0 auto;
  padding: 20px;
}

.boot-card,
.cockpit-card {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 44, 36, 0.97), rgba(8, 25, 20, 0.99)),
    var(--ink-1);
  box-shadow: var(--shadow);
}

.boot-card {
  padding: 48px;
}

.cockpit-card {
  position: relative;
  overflow: hidden;
}

.cockpit-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(211, 184, 118, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 184, 118, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 35%);
}

.cockpit-card > * {
  position: relative;
}

.governance-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 28px;
  border-bottom: 1px solid rgba(215, 154, 96, 0.46);
  color: #ffe1c0;
  background: rgba(104, 57, 30, 0.62);
}

.governance-banner span {
  color: #e7c8aa;
}

.cockpit-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

.brand-block h1 {
  max-width: 920px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 3.05rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.audience {
  margin: 10px 0 0;
  color: var(--muted);
}

.header-controls {
  display: grid;
  min-width: min(620px, 42vw);
  gap: 14px;
  justify-items: end;
}

.entity-switcher {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr);
  gap: 7px 10px;
  align-items: center;
}

.entity-switcher label {
  color: var(--faint);
  font-size: 0.72rem;
}

.entity-switcher select {
  min-height: 42px;
  padding: 8px 36px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--paper);
  background: var(--ink-2);
}

.switch-note {
  grid-column: 1 / -1;
  color: var(--faint);
  font-size: 0.69rem;
  text-align: right;
}

.lock-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.tone-good,
.text-good {
  color: #abdbb4;
}

.tone-good {
  border-color: rgba(130, 178, 139, 0.5);
  background: rgba(130, 178, 139, 0.11);
}

.tone-warn,
.text-warn {
  color: #f0be8d;
}

.tone-warn {
  border-color: rgba(215, 154, 96, 0.5);
  background: rgba(215, 154, 96, 0.11);
}

.tone-bad,
.text-bad {
  color: #f2a69e;
}

.tone-bad {
  border-color: rgba(200, 117, 104, 0.52);
  background: rgba(200, 117, 104, 0.12);
}

.tone-unknown,
.text-unknown {
  color: #b0c1c7;
}

.tone-unknown {
  border-style: dashed;
  border-color: rgba(135, 154, 162, 0.58);
  background: rgba(135, 154, 162, 0.08);
}

.tone-gold,
.text-gold {
  color: #f2d99b;
}

.tone-gold {
  border-color: rgba(211, 184, 118, 0.58);
  background: rgba(211, 184, 118, 0.12);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(350px, 0.9fr);
  gap: 34px;
  padding: 34px 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(211, 184, 118, 0.065), transparent 62%);
}

.hero-title {
  max-width: 1000px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(1.72rem, 3.1vw, 3.75rem);
  font-weight: 520;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.hero-why {
  max-width: 900px;
  margin: 18px 0 0;
  color: #c9d3ca;
  font-size: 1rem;
  line-height: 1.72;
}

.entity-context {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(211, 184, 118, 0.06);
  font-size: 0.76rem;
}

.hero-facts {
  display: grid;
  gap: 8px;
}

.hero-fact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--line-strong);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.025);
}

.hero-fact span {
  color: var(--faint);
  font-size: 0.7rem;
}

.hero-fact strong {
  font-size: 0.82rem;
  line-height: 1.5;
}

.fact-uncertainty {
  border-left-color: var(--warn);
}

.fact-short {
  border-left-color: var(--bad);
}

.fact-next {
  border-left-color: var(--good);
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.pulse-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.pulse-card:last-child {
  border-right: 0;
}

.pulse-label,
.pulse-note {
  color: var(--faint);
  font-size: 0.68rem;
  line-height: 1.4;
}

.pulse-value {
  font-size: clamp(1rem, 1.35vw, 1.32rem);
  font-weight: 700;
}

.matrix-section,
.aux-section {
  padding: 32px 36px;
}

.matrix-section {
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 560;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.matrix-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(4, 16, 13, 0.52);
  scrollbar-color: var(--gold-soft) var(--ink-1);
}

.matrix-grid {
  display: grid;
  min-width: 1700px;
  grid-template-columns: 86px repeat(8, minmax(190px, 1fr));
}

.matrix-corner,
.domain-head,
.layer-head,
.cell-frame {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-corner,
.domain-head,
.layer-head {
  background: rgba(211, 184, 118, 0.045);
}

.matrix-corner {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.domain-head {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 12px 14px;
}

.domain-head strong {
  font-size: 0.86rem;
}

.domain-head span {
  color: var(--faint);
  font-size: 0.65rem;
  line-height: 1.4;
}

.layer-head {
  display: flex;
  min-height: 358px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
}

.layer-head b {
  color: var(--gold);
  font-size: 1rem;
}

.layer-head span {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.cell-frame {
  min-width: 0;
  padding: 8px;
}

.cell-card {
  display: flex;
  width: 100%;
  min-height: 340px;
  flex-direction: column;
  gap: 9px;
  align-items: stretch;
  padding: 13px;
  border: 1px solid rgba(211, 184, 118, 0.16);
  border-radius: 12px;
  color: var(--paper);
  background:
    linear-gradient(160deg, rgba(27, 58, 47, 0.84), rgba(10, 29, 23, 0.96));
  text-align: left;
  cursor: pointer;
}

.cell-card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(160deg, rgba(32, 69, 55, 0.91), rgba(11, 32, 25, 0.98));
}

.cell-card.state-unassessed,
.cell-card.state-missing {
  border-style: dashed;
}

.cell-topline {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.cell-objective {
  min-height: 68px;
  font-size: 0.83rem;
  line-height: 1.48;
}

.axis-stack {
  display: grid;
  gap: 5px;
}

.axis-line {
  display: grid;
  grid-template-columns: 18px auto 1fr;
  gap: 5px;
  align-items: center;
  font-size: 0.62rem;
}

.axis-line b {
  color: var(--gold);
}

.axis-line > span:not(.badge) {
  color: var(--faint);
}

.axis-declared {
  grid-column: 2 / -1;
}

.ipo-pulse {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.ipo-node {
  display: flex;
  min-height: 34px;
  gap: 3px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.61rem;
}

.ipo-node b {
  font-size: 0.68rem;
}

.ipo-node em {
  overflow: hidden;
  max-width: 54px;
  font-style: normal;
  text-overflow: ellipsis;
}

.entity-signal {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 8px;
  border-left: 3px solid var(--unknown);
  border-radius: 0 8px 8px 0;
  background: rgba(135, 154, 162, 0.06);
}

.entity-signal.signal-measured_with_limits {
  border-left-color: var(--good);
}

.entity-signal.signal-blocked {
  border-left-color: var(--warn);
}

.entity-signal strong {
  font-size: 0.69rem;
  line-height: 1.35;
}

.entity-signal > span:not(.badge) {
  color: var(--faint);
  font-size: 0.62rem;
  line-height: 1.4;
}

.cell-evidence,
.cell-next {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.45;
}

.cell-evidence {
  color: var(--faint);
}

.cell-next {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: #d2dacd;
}

.aux-tabs,
.drawer-tabs {
  display: flex;
  max-width: 100%;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.aux-tab,
.tab-button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  white-space: nowrap;
}

.aux-tab[aria-selected="true"],
.tab-button[aria-selected="true"] {
  border-color: var(--gold);
  color: var(--ink-0);
  background: var(--gold);
}

.aux-panel {
  min-height: 300px;
  padding-top: 12px;
}

.aux-grid,
.source-grid,
.governance-grid,
.kpi-grid {
  display: grid;
  gap: 12px;
}

.aux-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.governance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0 26px;
}

.list-card,
.source-card,
.governance-card,
.kpi-card,
.drawer-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.list-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 10px;
  padding: 14px;
}

.list-card h3 {
  align-self: center;
  font-size: 0.82rem;
  line-height: 1.45;
}

.list-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.source-card,
.governance-card,
.drawer-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.source-card h3,
.governance-card h3,
.drawer-card h3 {
  font-size: 0.92rem;
  line-height: 1.45;
}

.source-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.meta-item {
  display: grid;
  grid-template-columns: minmax(90px, 0.42fr) minmax(0, 1fr);
  gap: 6px 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(211, 184, 118, 0.1);
  font-size: 0.7rem;
}

.meta-item > span {
  color: var(--faint);
}

.meta-item strong {
  font-weight: 650;
}

.meta-item small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.45;
}

.detail-block {
  padding-top: 8px;
}

.detail-block h4 {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.7rem;
}

.detail-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.48;
}

.empty-line {
  color: var(--faint);
}

.entity-view {
  display: grid;
  gap: 14px;
}

.entity-view .section-heading {
  margin-bottom: 0;
}

.kpi-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  padding: 14px;
}

.kpi-label {
  color: var(--faint);
  font-size: 0.69rem;
}

.kpi-card strong {
  font-size: clamp(1rem, 1.55vw, 1.42rem);
}

.kpi-card small {
  color: var(--muted);
  font-size: 0.64rem;
}

.decision-list,
.queue-list,
.evidence-list,
.history-list {
  display: grid;
  gap: 10px;
}

.subhead {
  margin-top: 8px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 1.25rem;
}

.cockpit-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 36px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.66rem;
}

.drawer-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  padding: 12px;
  background: rgba(3, 10, 8, 0.78);
  backdrop-filter: blur(8px);
}

.detail-drawer {
  display: flex;
  width: min(980px, 94vw);
  height: calc(100vh - 24px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(20, 51, 41, 0.99), rgba(7, 23, 18, 1));
  box-shadow: var(--shadow);
}

.drawer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 24px 26px 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  max-width: 760px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  font-weight: 540;
  line-height: 1.25;
}

.drawer-head .entity-signal {
  max-width: 560px;
  margin-top: 14px;
}

.drawer-close {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.drawer-tabs {
  padding: 12px 26px;
  border-bottom: 1px solid var(--line);
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 20px 26px 30px;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drawer-grid .drawer-card:first-child:last-child {
  grid-column: 1 / -1;
}

.nested-item {
  display: grid;
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.nested-item strong {
  font-size: 0.78rem;
  line-height: 1.45;
}

.nested-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.nested-item small {
  color: var(--faint);
  line-height: 1.45;
}

.noscript {
  margin: 20px;
  padding: 16px;
  border: 1px solid var(--warn);
  color: #ffd6aa;
}

@media (max-width: 1320px) {
  .cockpit-header {
    flex-direction: column;
  }

  .header-controls {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }

  .lock-line {
    align-self: center;
  }

  .pulse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pulse-card:nth-child(3) {
    border-right: 0;
  }

  .pulse-card:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .aux-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-grid,
  .governance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .app-shell {
    padding: 10px;
  }

  .cockpit-card {
    border-radius: 18px;
  }

  .cockpit-header,
  .hero-panel,
  .matrix-section,
  .aux-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .header-controls {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .lock-line {
    justify-content: flex-start;
  }

  .switch-note {
    text-align: left;
  }

  .hero-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-fact {
    grid-template-columns: 1fr;
  }

  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulse-card,
  .pulse-card:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .pulse-card:nth-child(even) {
    border-right: 0;
  }

  .source-grid,
  .governance-grid,
  .kpi-grid,
  .drawer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .app-shell {
    padding: 0;
  }

  .cockpit-card {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cockpit-header,
  .hero-panel,
  .matrix-section,
  .aux-section {
    padding: 22px 14px;
  }

  .entity-switcher {
    grid-template-columns: 1fr;
  }

  .entity-switcher label {
    display: block;
  }

  .hero-facts,
  .pulse-grid,
  .aux-grid {
    grid-template-columns: 1fr;
  }

  .pulse-card,
  .pulse-card:nth-child(3),
  .pulse-card:nth-child(even) {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .matrix-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .matrix-grid {
    display: block;
    min-width: 0;
  }

  .matrix-corner,
  .domain-head,
  .layer-head {
    display: none;
  }

  .cell-frame {
    position: relative;
    margin-bottom: 12px;
    padding: 28px 0 0;
    border: 0;
  }

  .cell-frame::before {
    position: absolute;
    top: 5px;
    left: 2px;
    content: attr(data-domain) " · " attr(data-layer);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .cell-card {
    min-height: 0;
  }

  .cell-objective {
    min-height: 0;
  }

  .detail-drawer {
    width: 100%;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .drawer-overlay {
    padding: 0;
  }

  .drawer-head {
    grid-template-columns: 1fr;
    padding: 18px 14px 12px;
  }

  .drawer-close {
    order: -1;
    justify-self: end;
  }

  .drawer-tabs {
    padding: 10px 14px;
  }

  .drawer-body {
    padding: 16px 14px 24px;
  }

  .cockpit-footer {
    display: grid;
    padding: 18px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
