/*
  App-shell + layout CSS.  No raw hex (token-compliance enforced).  Provides
  the persistent top app bar, nav rail / drawer, page surface, and the
  command-palette + page-specific layout grids.
*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--page-fg);
  font: var(--md-sys-typescale-body);
  -webkit-font-smoothing: antialiased;
}

/* Soft depth: a two-tone blue aurora high on the page (light keeps it
   faint; night leans into it). Fixed + behind everything so it never
   competes with content. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--glass-page-glow);
  pointer-events: none;
}

/* Grid-paper texture (harness signature): 1px cool lines fading out toward
   the bottom of the viewport, behind all content. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--page-grid);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  pointer-events: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

a { color: var(--md-sys-color-primary); }

#app {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 64px 1fr;
  min-height: 100vh;
}
/* Grid placement — explicit so the fixed drawer-scrim (out of flow) can't
   steal a cell. Scrim is position:fixed and thus auto-excluded from the grid. */
.appbar { grid-area: 1 / 1 / 2 / -1; }
.navrail { grid-area: 2 / 1 / -1 / 2; }
main { grid-area: 2 / 2 / -1 / -1; }

/* =========================================================================
   Top app bar
   ========================================================================= */
.appbar {
  grid-column: 1 / -1;
  background: var(--glass-bg);
  color: var(--bar-fg);
  display: flex;
  align-items: center;
  gap: var(--p-space-4);
  padding: 0 var(--p-space-4) 0 var(--p-space-4);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}
.appbar__brand {
  display: flex;
  align-items: baseline;
  gap: var(--p-space-3);
  margin-right: var(--p-space-4);
}
.appbar__name {
  font: var(--md-sys-typescale-title);
  white-space: nowrap;
}
.appbar__sub {
  font: var(--md-sys-typescale-label);
  color: var(--page-subtle);
  white-space: nowrap;
}
.appbar__spacer { flex: 1; }
.appbar__actions {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
}

/* Unsaved pill / Save CTA */
.unsaved-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-1);
  padding: 0 var(--p-space-3);
  min-height: 32px;
  border-radius: var(--p-shape-full);
  font: var(--md-sys-typescale-label);
  background: var(--glass-bg-strong);
  color: var(--md-sys-color-on-surface-variant);
  border: 1px solid var(--glass-border);
  white-space: nowrap;
}
.unsaved-pill--dirty {
  background: var(--btn-filled-bg);
  color: var(--btn-filled-fg);
  cursor: pointer;
  border: none;
  transition: transform var(--p-dur-micro) var(--p-ease-emph);
}
.unsaved-pill--dirty:active { transform: scale(0.97); }
.unsaved-pill .icon { width: var(--p-icon-sm); height: var(--p-icon-sm); }

/* Active-runs badge */
.active-badge {
  background: var(--badge-active-bg);
  color: var(--badge-active-fg);
}

/* =========================================================================
   Nav rail  (>=1024px)
   ========================================================================= */
.navrail {
  background: var(--glass-bg);
  color: var(--nav-fg);
  display: flex;
  flex-direction: column;
  padding: var(--p-space-3) var(--p-space-2);
  gap: var(--p-space-1);
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  border-right: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}
/* Nav links fill the available height; the operator card pins to the bottom. */
.navrail__nav {
  display: flex;
  flex-direction: column;
  gap: var(--p-space-1);
  flex: 1 1 auto;
  min-height: 0;
}
/* Operator card — Figma sidebar bottom persona, adapted (no auth here). */
.opcard {
  display: flex;
  align-items: center;
  gap: var(--p-space-3);
  padding: var(--p-space-2) var(--p-space-3);
  margin-top: var(--p-space-2);
  border-radius: var(--p-shape-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
.opcard__avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--p-shape-full);
  background: var(--glass-bg-strong);
  color: var(--md-sys-color-on-surface-variant);
}
.opcard__avatar .icon { width: var(--p-icon-md); height: var(--p-icon-md); }
.opcard__body { flex: 1 1 auto; min-width: 0; }
.opcard__name {
  font: var(--md-sys-typescale-label);
  color: var(--card-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opcard__sub {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  margin-top: 2px;
  font-size: 12px;
}
/* Admin role tag — the Figma mid-orange pill. */
.opcard__tag {
  display: inline-flex;
  align-items: center;
  padding: 1px var(--p-space-2);
  border-radius: var(--p-shape-full);
  font: 500 11px/1.4 var(--p-font-ui);
  background: var(--md-sys-color-tertiary-container);
  color: var(--md-sys-color-on-tertiary-container);
  white-space: nowrap;
}
.opcard__theme { flex: 0 0 auto; }
.navrail a,
.navrail__link,
.drawer__link {
  display: flex;
  align-items: center;
  gap: var(--p-space-3);
  padding: 0 var(--p-space-3);
  min-height: 48px;
  border-radius: var(--p-shape-full);
  color: var(--nav-fg);
  text-decoration: none;
  font: var(--md-sys-typescale-label);
  transition: background var(--p-dur-micro) var(--p-ease-emph), color var(--p-dur-micro) var(--p-ease-emph);
  min-width: 0;
}
.navrail__icon,
.drawer__icon {
  display: inline-flex;
  flex: 0 0 auto;
}
.navrail__icon .icon,
.drawer__icon .icon { width: var(--p-icon-md); height: var(--p-icon-md); }
.navrail__icon .icon { width: var(--p-icon-md); height: var(--p-icon-md); }
.navrail__text,
.drawer__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navrail__link .icon,
.drawer__link .icon {
  width: var(--p-icon-md);
  height: var(--p-icon-md);
  flex: 0 0 auto;
}
.navrail a:hover,
.navrail__link:hover,
.drawer__link:hover { background: var(--md-sys-color-state-hover); }
.navrail a[aria-current="page"],
.navrail__link--active,
.drawer__link--active {
  background: var(--nav-active-bg);
  color: var(--nav-active-fg);
  font-weight: 600;
}
.navrail a[aria-current="page"] .icon,
.navrail__link--active .icon,
.drawer__link--active .icon {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* main / page surface */
main,
.page {
  padding: var(--p-space-5);
  overflow-x: hidden;
  min-width: 0;
}
main:focus { outline: none; }

/* =========================================================================
   Drawer (<1024px): nav rail becomes an off-canvas drawer
   ========================================================================= */
.menu-btn { display: none; }
.drawer-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 90;
}
@media (max-width: 1023px) {
  #app { grid-template-columns: 1fr; }
  .navrail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform var(--p-dur-std) var(--p-ease-emph);
    padding-top: var(--p-space-6);
  }
  #app[data-drawer="open"] .navrail { transform: translateX(0); }
  #app[data-drawer="open"] .drawer-scrim { display: block; cursor: pointer; }
  .menu-btn { display: inline-flex; }
}

/* =========================================================================
   Page layouts
   ========================================================================= */
.page-head {
  margin-bottom: var(--p-space-5);
}
.page-head h1 {
  font: var(--md-sys-typescale-headline);
  margin: 0 0 var(--p-space-1);
}
.page-head p {
  margin: 0;
  color: var(--page-subtle);
  max-width: 70ch;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  flex-wrap: wrap;
  margin-bottom: var(--p-space-4);
}
.toolbar__spacer { margin-left: auto; }
.grid {
  display: grid;
  gap: var(--p-space-4);
}
.grid--stats {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--p-space-4); }
.row { display: flex; gap: var(--p-space-3); align-items: center; flex-wrap: wrap; }
.row--end { justify-content: flex-end; }
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-space-1, 4px);
  max-width: 28rem;
}

.routing-preset {
  display: block;
  width: 100%;
  margin-bottom: var(--p-space-3);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.routing-preset:not(:disabled):hover {
  box-shadow: var(--p-elev-2);
  border-color: var(--glass-border-strong);
}
.routing-preset:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

/* Search input (command palette + page search) */
.search {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
  background: var(--md-sys-color-surface-container);
  border-radius: var(--p-shape-full);
  padding: 0 var(--p-space-3);
  min-height: 40px;
  border: 1px solid transparent;
  flex: 1 1 200px;
}
.search:focus-within {
  border-color: var(--field-border-focus);
}
.search .icon { width: var(--p-icon-md); height: var(--p-icon-md); color: var(--page-subtle); }
.search input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--field-fg);
  font: var(--md-sys-typescale-body);
  width: 100%;
  min-width: 0;
}
.kbd {
  font: 600 12px/1 var(--p-font-mono);
  background: var(--md-sys-color-surface-container-highest);
  border: 1px solid var(--table-border);
  border-radius: var(--p-shape-xs);
  padding: 2px 6px;
  color: var(--page-subtle);
  white-space: nowrap;
}

/* Command palette */
.palette {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--scrim);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12vh;
  opacity: 0;
  animation: scrim-in var(--p-dur-std) var(--p-ease-emph) forwards;
}
.palette__box {
  width: min(640px, 92vw);
  background: var(--dialog-bg);
  color: var(--dialog-fg);
  border-radius: var(--p-shape-xl);
  box-shadow: var(--p-elev-4);
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0;
  animation: dialog-in var(--p-dur-std) var(--p-ease-emph) forwards;
}
.palette__search { padding: var(--p-space-4); }
.palette__list {
  max-height: 50vh;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0 var(--p-space-2) var(--p-space-2);
}
.palette__item {
  display: flex;
  align-items: center;
  gap: var(--p-space-3);
  padding: var(--p-space-3) var(--p-space-3);
  border-radius: var(--p-shape-sm);
  cursor: pointer;
  font: var(--md-sys-typescale-body);
  color: var(--dialog-fg);
}
.palette__item[aria-selected="true"] {
  background: var(--md-sys-color-state-focus);
}
.palette__item .icon { width: var(--p-icon-md); height: var(--p-icon-md); color: var(--page-subtle); flex: 0 0 auto; }
.palette__item .group {
  margin-left: auto;
  font: var(--md-sys-typescale-label);
  color: var(--page-subtle);
}
.palette__empty {
  padding: var(--p-space-5);
  text-align: center;
  color: var(--page-subtle);
}

/* Event timeline */
.timeline { display: flex; flex-direction: column; gap: var(--p-space-1); }
.timeline__row {
  background: var(--md-sys-color-surface-container);
  border-radius: var(--p-shape-sm);
  padding: var(--p-space-2) var(--p-space-3);
  animation: slide-in 120ms var(--p-ease-emph);
  border-left: 3px solid var(--field-border);
}
.timeline__row[data-kind="status_changed"] { border-left-color: var(--md-sys-color-primary); }
.timeline__row[data-kind="cell_created"],
.timeline__row[data-kind="cell_started"],
.timeline__row[data-kind="cell_completed"] { border-left-color: var(--md-sys-color-tertiary); }
.timeline__row[data-kind="evidence_recorded"],
.timeline__row[data-kind="verification_check"] { border-left-color: var(--md-sys-color-success); }
.timeline__row[data-kind="outcome_emitted"],
.timeline__row[data-kind="cell_failed"],
.timeline__row[data-kind="recovery_transition"] { border-left-color: var(--md-sys-color-error); }
.timeline__head {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  font: var(--md-sys-typescale-label);
  cursor: pointer;
  color: var(--page-fg);
}
.timeline__seq {
  font: var(--md-sys-typescale-mono);
  color: var(--page-subtle);
  min-width: 3ch;
}
.timeline__body {
  font: var(--md-sys-typescale-mono);
  color: var(--page-subtle);
  margin-top: var(--p-space-1);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow: auto;
}
@keyframes slide-in { from { opacity: 0; transform: translateY(6px); } }

/* Routing role card */
.role-card { display: flex; flex-direction: column; gap: var(--p-space-3); }
.role-card__chain { display: flex; align-items: center; gap: var(--p-space-1); flex-wrap: wrap; }
.role-card__arrow { color: var(--page-subtle); }
.role-card__chip-drag {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-1);
  background: var(--chip-bg);
  color: var(--chip-fg);
  padding: var(--p-space-1) var(--p-space-2);
  border-radius: var(--p-shape-sm);
  font-size: 13px;
}
.role-card__reorder {
  background: transparent;
  border: none;
  color: var(--page-subtle);
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
}
.role-card__reorder:hover { color: var(--page-fg); }
.role-card__reorder:disabled { opacity: 0.3; cursor: not-allowed; }

/* Files split: tree + reader */
.files-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--p-space-4);
  align-items: start;
}
@media (max-width: 1023px) {
  .files-split { grid-template-columns: 1fr; }
}
.file-tree { background: var(--md-sys-color-surface-container); border-radius: var(--p-shape-md); padding: var(--p-space-2); max-height: 70vh; overflow: auto; }
.file-tree__entry {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  padding: var(--p-space-1) var(--p-space-2);
  border-radius: var(--p-shape-xs);
  cursor: pointer;
  font: var(--md-sys-typescale-mono);
  font-size: 13px;
  color: var(--page-fg);
  min-height: 32px;
}
.file-tree__entry:hover { background: var(--md-sys-color-state-hover); }
.file-tree__entry[aria-current="true"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.file-tree__entry .icon { width: var(--p-icon-sm); height: var(--p-icon-sm); flex: 0 0 auto; }
.file-tree__indent { width: 1ch; }

/* Files viewer: tree (collapsible directory rows) + line-numbered code.
   Layout-only; every color is a token. Kept here (not components.css) because
   these are page-scoped viewer surfaces, not generic MD3 components. */
.tree {
  font: var(--md-sys-typescale-mono);
}
.tree__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--p-space-1);
  min-height: 28px;
  padding: 0 var(--p-space-1);
  border-radius: var(--p-shape-xs);
}
.tree__twist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.tree__icon {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.tree__icon .icon { width: var(--p-icon-sm); height: var(--p-icon-sm); }
.tree__name {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-1);
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--page-fg);
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.tree__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree__name:hover { color: var(--md-sys-color-primary); }
.tree__name--active {
  color: var(--md-sys-color-primary);
  font-weight: 600;
}
.tree__children {
  display: flex;
  flex-direction: column;
  flex: 1 0 100%;
  width: 100%;
}

/* Line-numbered code viewer (Files reader) */
.code__line {
  display: flex;
  gap: var(--p-space-3);
  min-height: 1.5em;
}
.code__ln {
  flex: 0 0 3ch;
  text-align: right;
  color: var(--page-subtle);
  user-select: none;
  font: var(--md-sys-typescale-mono);
}
.code__txt {
  flex: 1 1 auto;
  white-space: pre-wrap;
  word-break: break-word;
  font: var(--md-sys-typescale-mono);
  color: var(--code-fg);
}

/* Settings slider */
.range { width: 100%; accent-color: var(--md-sys-color-primary); }

/* Section header with optional "All X →" link (Figma dashboard pattern). */
.section-head {
  display: flex;
  align-items: baseline;
  gap: var(--p-space-3);
  margin: 0 0 var(--p-space-3);
}
.section-head .section-title { margin: 0; }
.section-head__link {
  margin-left: auto;
  font: var(--md-sys-typescale-label);
  color: var(--md-sys-color-primary);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.section-head__link:hover { color: var(--md-sys-color-primary); text-decoration: underline; }
/* Quiet descriptor strip — a glass pill, mono-quiet like the dsh eyebrow. */
.sectionbar {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  padding: var(--p-space-2) var(--p-space-3);
  margin-bottom: var(--p-space-4);
  border-radius: var(--p-shape-md);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  font: var(--md-sys-typescale-label);
  color: var(--page-subtle);
}
.sectionbar .icon { width: var(--p-icon-sm); height: var(--p-icon-sm); color: var(--md-sys-color-primary); }

/* Stat group: a labelled cluster of stat tiles (Figma widget groups). */
.stat-group { display: flex; flex-direction: column; gap: var(--p-space-3); }

/* Phase tiles inside the pipeline card — glass, one accent hairline each.
   The funnel spans the card: tiles share equal columns, separators take
   only what they need. Below 1024px it folds to two columns. */
.funnel-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: var(--p-space-2);
}
@media (max-width: 1023px) {
  .funnel-row { grid-template-columns: 1fr 1fr; }
  .funnel-row .stepper__sep { display: none; }
}
.stat--phase {
  min-height: 88px !important;
  padding: var(--p-space-4) !important;
  border: none;
  box-shadow: none;
}
.stat--phase .stat__value--mono {
  font: 500 28px/34px var(--p-font-ui) !important;
  letter-spacing: -0.02em;
}

/* Figma "Top states" soft orange rank bars */
.rank-bars {
  display: flex;
  flex-direction: column;
  gap: var(--p-space-3);
  padding: var(--p-space-1) 0;
}
.rank-bars__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: var(--p-space-3);
}
.rank-bars__label {
  font: var(--md-sys-typescale-label);
  color: var(--page-fg);
  text-transform: lowercase;
}
.rank-bars__track {
  height: 18px;
  border-radius: var(--p-shape-full);
  background: var(--md-sys-color-surface-container-highest);
  overflow: hidden;
}
.rank-bars__fill {
  height: 100%;
  border-radius: var(--p-shape-full);
  background: linear-gradient(90deg, var(--chart-bar-from), var(--chart-bar-to) 75%, var(--md-sys-color-primary));
  opacity: 0.9;
}

/* Growth empty SVG inherits chart tokens */
.growth-empty {
  padding: var(--p-space-2) 0 var(--p-space-1);
}
.growth-empty svg { display: block; border-radius: var(--p-shape-md); }

/* Utility */
.hidden { display: none !important; }
.truncate {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.muted { color: var(--page-subtle); }
.nowrap { white-space: nowrap; }
.codeblock { white-space: pre-wrap; }

/* =========================================================================
   SCROLLBARS  (thin, token-driven; Firefox + WebKit)
   ========================================================================= */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--scrollbar);
  border-radius: var(--p-shape-full);
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-hover); background-clip: content-box; }

/* =========================================================================
   CONIC SHEEN  (the harness signature: an animated light-blue border ring)

   A 1px ring composited from --sheen-conic (tokens.css) via a mask. The
   harness rule: the conic is jewellery, not a border style — opacity-0
   until hover so nothing loops in the user's field of attention. Applied
   to the primary CTA (the FAB). Needs @property for the angle to animate;
   browsers without it render a static ring — still correct, just still.
   ========================================================================= */
@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.sheen::after {
  content: "";
  position: absolute; /* anchors to the sheen target; the target must itself
                         be positioned (.fab is fixed — never set relative
                         here, it would override it in the cascade) */
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--sheen-conic);
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--p-dur-std) var(--p-ease-emph);
  animation: border-spin 6s linear infinite;
  pointer-events: none;
}
.sheen:hover::after { opacity: 1; }
@keyframes border-spin { to { --border-angle: 360deg; } }

/* Reduced motion: flatten everything */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .stepper__step--current .stepper__dot { animation: none; }
}
