/* Professional console polish layer.
   Loaded last so it can normalize spacing, rhythm, responsiveness, and motion safely. */

:root {
  --surface-0: #07101f;
  --surface-1: rgba(15, 23, 42, 0.86);
  --surface-2: rgba(30, 41, 59, 0.72);
  --surface-3: rgba(51, 65, 85, 0.54);
  --line-soft: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.26);
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --teal: #14b8a6;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 16px 40px rgba(2, 6, 23, 0.26);
  --shadow-lift: 0 26px 70px rgba(2, 6, 23, 0.36);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(900px 520px at -8% -10%, rgba(59, 130, 246, 0.12), transparent 62%),
    radial-gradient(780px 460px at 108% 4%, rgba(139, 92, 246, 0.10), transparent 64%),
    linear-gradient(180deg, #07101f 0%, #050b16 52%, #06111f 100%) !important;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 72%);
}

::selection {
  background: rgba(59, 130, 246, 0.34);
  color: #fff;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22) !important;
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.88)) !important;
  border-right: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.sidebar-header {
  padding: 22px 18px !important;
  background: linear-gradient(180deg, rgba(30, 41, 59, .78), rgba(15, 23, 42, .24)) !important;
}

.sidebar-brand {
  font-size: 15px !important;
  letter-spacing: -0.01em;
}

.sidebar-org {
  opacity: .82;
}

.sidebar-nav {
  padding: 14px 10px 24px !important;
}

.sidebar-section {
  margin-top: 12px !important;
  padding: 11px 12px 7px !important;
  letter-spacing: .11em !important;
  color: #64748b !important;
}

.sidebar-nav a,
.sidebar-nav .nav-item {
  min-height: 42px;
  border-radius: 13px !important;
  padding: 10px 12px !important;
  margin-bottom: 5px !important;
  transition: transform .18s var(--ease-out), background .18s ease, border-color .18s ease, color .18s ease !important;
}

.sidebar-nav a:hover,
.sidebar-nav .nav-item:hover {
  transform: translateX(3px) !important;
  background: rgba(148, 163, 184, 0.08) !important;
}

.sidebar-nav a.active,
.sidebar-nav .nav-item.active,
.sidebar-nav .nav-cta.active,
.sidebar-nav .nav-cta-secondary.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(20, 184, 166, 0.10)) !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.95), 0 10px 26px rgba(2, 6, 23, 0.20) !important;
}

header {
  background: rgba(7, 16, 31, 0.82) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  box-shadow: 0 12px 38px rgba(2, 6, 23, 0.24) !important;
}

.top {
  gap: 14px !important;
}

.brand {
  font-size: 15px;
  color: #e2e8f0;
}

.content {
  max-width: 1360px !important;
  padding: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 28px) 40px !important;
}

.page-shell,
.dashboard-shell,
.router-detail-shell,
.routers-shell {
  gap: 20px !important;
}

.page-hero,
.dashboard-hero,
.router-detail-hero {
  border-radius: var(--radius-xl) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(139, 92, 246, 0.10) 54%, rgba(20, 184, 166, 0.08)) !important;
  box-shadow: var(--shadow-soft) !important;
}

.page-hero::after,
.dashboard-hero::after,
.router-detail-hero::after {
  opacity: .55;
}

.page-title,
.dashboard-title,
.detail-copy h2,
h1, h2 {
  letter-spacing: -0.035em !important;
}

.page-lead,
.dashboard-subtitle,
.detail-copy p,
.card-description,
.muted {
  color: #aebbd0 !important;
}

.panel,
.card,
.kpi-card,
.quick-action-card,
.attention-item,
.metric,
.status-card,
.operator-card,
.advanced-panel,
.advanced-details,
.router-card,
.hero-side-card,
.activity-item,
.inventory-chip {
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58)) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.22) !important;
}

.panel,
.card,
.kpi-card,
.metric {
  border-radius: var(--radius-lg) !important;
}

.panel:hover,
.card:hover,
.kpi-card:hover,
.quick-action-card:hover,
.attention-item:hover,
.router-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.28) !important;
  box-shadow: var(--shadow-lift) !important;
}

.panel,
.card,
.kpi-card,
.quick-action-card,
.attention-item,
.router-card {
  transition: transform .22s var(--ease-out), border-color .22s ease, box-shadow .22s ease, background .22s ease !important;
}

.grid,
.grid-2,
.grid-3,
.grid-4,
.kpi-grid,
.section-grid {
  gap: 16px !important;
}

.metric {
  padding: 18px !important;
}

.metric h3,
.kpi-label,
.hero-side-label,
.inventory-chip-label {
  color: #8ea0b8 !important;
  letter-spacing: .09em !important;
}

.metric .v,
.kpi-value,
.detail-chip-value,
.page-chip-value {
  letter-spacing: -0.035em;
}

.btn,
.button,
.big-cta-button,
button[type="submit"] {
  border-radius: 14px !important;
  font-weight: 750 !important;
  letter-spacing: -0.01em;
  transition: transform .18s var(--ease-out), box-shadow .18s ease, border-color .18s ease, background .18s ease, filter .18s ease !important;
}

.btn:hover,
.button:hover,
.big-cta-button:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn.primary,
.button.primary,
.big-cta-button {
  background: linear-gradient(135deg, #2563eb, #7c3aed 72%, #14b8a6 122%) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.10) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28) !important;
}

.btn.small,
.button.small {
  border-radius: 12px !important;
}

input,
select,
textarea,
.field input,
.field select,
.field textarea,
.search-form input[type="text"],
.search-form input[type="search"] {
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: rgba(7, 16, 31, 0.78) !important;
  color: #e2e8f0 !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

input::placeholder,
textarea::placeholder {
  color: #64748b !important;
}

input:focus,
select:focus,
textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: rgba(15, 23, 42, 0.96) !important;
  border-color: rgba(96, 165, 250, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16) !important;
}

.field label {
  color: #cbd5e1 !important;
}

.field small,
.field-help {
  color: #8ea0b8 !important;
}

.table-wrap {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: auto;
  background: rgba(2, 6, 23, 0.22);
}

.table-wrap table {
  min-width: 720px;
}

th {
  background: rgba(7, 16, 31, 0.94) !important;
  color: #8ea0b8 !important;
}

td,
th {
  border-color: rgba(148, 163, 184, 0.10) !important;
}

tbody tr:hover {
  background: rgba(59, 130, 246, 0.08) !important;
}

.pill,
.chip,
.badge,
.status-indicator,
.inventory-pill,
.router-site-pill,
.endpoint-pill,
.overlay-pill {
  border-radius: 999px !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.pill.success,
.chip.ok,
.badge.green,
.inventory-pill.tone-healthy {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #86efac !important;
  border-color: rgba(34, 197, 94, 0.28) !important;
}

.pill.warn,
.chip.warn,
.inventory-pill.tone-low {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fcd34d !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

.pill.critical,
.chip.bad,
.inventory-pill.tone-critical {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.28) !important;
}

.msg {
  border-radius: 16px !important;
  padding: 13px 15px !important;
  border-width: 1px !important;
}

.readiness-row,
.readiness-blocker {
  border-radius: 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: rgba(15, 23, 42, 0.58) !important;
}

.readiness-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.readiness-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  font-weight: 900;
}

.readiness-row.ok .readiness-check {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.readiness-row.needs-action .readiness-check {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
}

.readiness-copy {
  display: grid;
  gap: 4px;
}

.readiness-copy strong {
  color: #f8fafc;
}

.readiness-copy span,
.readiness-copy em {
  color: #aebbd0;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.readiness-copy em {
  color: #fcd34d;
}

.readiness-blocker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.readiness-blocker strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.setup-submit {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-inner,
.marketing-footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.12) !important;
}

/* Auth screens: login, signup, password reset, and organization setup */
.console-login-shell,
.console-signup-shell {
  min-height: calc(100vh - 160px);
  align-content: center;
}

.auth-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 2px;
}

.auth-brand,
.auth-link-pill {
  text-decoration: none;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
}

.auth-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #7c3aed 74%, #14b8a6 132%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.auth-brand-copy {
  display: grid;
  gap: 1px;
}

.auth-brand-copy strong {
  letter-spacing: -0.035em;
  font-size: 16px;
}

.auth-brand-copy span {
  color: #8ea0b8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.auth-topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.62);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s var(--ease-out), border-color .18s ease, background .18s ease;
}

.auth-link-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(30, 41, 59, 0.74);
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
  gap: 18px;
  align-items: stretch;
}

.auth-story,
.auth-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 26px 74px rgba(2, 6, 23, 0.34);
}

.auth-story {
  min-height: 560px;
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(560px 320px at 18% 0%, rgba(59, 130, 246, 0.30), transparent 70%),
    radial-gradient(520px 320px at 92% 12%, rgba(139, 92, 246, 0.24), transparent 66%),
    linear-gradient(145deg, rgba(15, 23, 42, .92), rgba(2, 6, 23, .78));
}

.auth-story::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.auth-story::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 184, 166, .22), transparent 70%);
  pointer-events: none;
}

.auth-badge,
.auth-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.13);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #dbeafe;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 900;
}

.auth-story h1,
.auth-title {
  letter-spacing: -0.06em !important;
}

.auth-story h1 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  max-width: 10ch;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: .98;
}

.auth-story-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 52ch;
  color: #b9c6d8;
  font-size: 1.05rem;
}

.story-pills,
.story-list,
.story-checklist,
.story-grid,
.plan-grid {
  position: relative;
  z-index: 1;
}

.story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.story-pill,
.story-check,
.story-list-item,
.story-metric,
.plan-card,
.support-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.20);
}

.story-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
}

.story-list,
.story-checklist,
.story-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.story-list-item,
.story-check,
.story-metric {
  border-radius: 18px;
  padding: 14px 15px;
  color: #dbe5f3;
}

.story-check a,
.auth-footer a {
  color: #93c5fd;
  font-weight: 850;
}

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

.story-metric span,
.plan-card span,
.support-card span {
  display: block;
  margin-bottom: 7px;
  color: #8ea0b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}

.story-metric strong,
.plan-card strong,
.support-card strong {
  display: block;
  color: #f8fafc;
  letter-spacing: -0.025em;
}

.story-metric p,
.plan-card p,
.support-card p {
  margin: 7px 0 0;
  color: #aebbd0;
  font-size: 13px;
  line-height: 1.55;
}

.auth-card {
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.68)) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.20), transparent);
  pointer-events: none;
}

.auth-header {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.auth-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.04;
}

.auth-subtitle {
  margin: 0;
  color: #aebbd0;
}

.auth-alert {
  border: 1px solid rgba(248, 113, 113, 0.30);
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
  padding: 13px 14px;
  border-radius: 16px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form .field {
  margin-bottom: 0;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  min-height: 48px !important;
  border-radius: 16px !important;
  background: rgba(2, 6, 23, 0.40) !important;
}

.auth-form .btn.primary {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
}

.auth-field-forgot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -2px;
}

.auth-forgot-link {
  color: #93c5fd;
  font-weight: 850;
  text-decoration: none;
}

.auth-forgot-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-help-forgot-note {
  margin-left: auto;
}

.auth-support,
.plan-grid--after-form {
  margin-top: 18px;
}

.auth-support--single,
.plan-grid--single {
  display: grid;
}

.support-card,
.plan-card {
  border-radius: 18px;
  padding: 15px;
}

.auth-footer {
  margin-top: 18px;
  text-align: center;
  color: #aebbd0;
  font-size: 14px;
}

.errorlist {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
}

.errorlist li {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(127, 29, 29, 0.20);
  border: 1px solid rgba(248, 113, 113, 0.20);
}

/* Operator micro interactions */
button.is-submitting,
.btn.is-submitting,
.big-cta-button.is-submitting {
  pointer-events: none;
  opacity: .82;
}

button.is-submitting::after,
.btn.is-submitting::after,
.big-cta-button.is-submitting::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 9px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  animation: hc-spin .75s linear infinite;
}

@keyframes hc-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .grid-4,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 360px;
  }

  .auth-story h1 {
    max-width: 14ch;
  }
}

@media (max-width: 860px) {
  .page-hero-row,
  .detail-hero-grid,
  .hero-content-row,
  .toolbar-row,
  .console-toolbar {
    align-items: stretch !important;
  }

  .page-hero-actions,
  .detail-actions,
  .actions,
  .console-toolbar-actions,
  .dashboard-toolbar {
    width: 100%;
  }

  .page-hero-actions .btn,
  .detail-actions .btn,
  .actions .btn,
  .console-toolbar-actions .btn,
  .dashboard-toolbar .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: min(86vw, 320px) !important;
  }

  .top form[action="/console/search/"] {
    order: 3;
    flex: 1 1 100% !important;
    max-width: none !important;
    width: 100%;
  }

  .top form[action="/console/search/"] input {
    min-width: 0 !important;
  }

  .org {
    gap: 8px !important;
    flex-wrap: wrap;
  }

  .content {
    padding: 16px 12px 28px !important;
  }

  .page-hero,
  .dashboard-hero,
  .router-detail-hero {
    border-radius: 22px !important;
    padding: 18px !important;
  }

  .panel,
  .card,
  .kpi-card,
  .metric {
    border-radius: 18px !important;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .kpi-grid {
    grid-template-columns: 1fr !important;
  }

  .btn,
  .button,
  .big-cta-button {
    min-height: 44px;
    justify-content: center;
  }

  .table-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-title,
  .dashboard-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
  }

  .auth-topbar,
  .auth-topbar-actions {
    align-items: stretch;
  }

  .auth-topbar-actions,
  .auth-link-pill {
    width: 100%;
  }

  .auth-link-pill {
    justify-content: center;
  }

  .auth-story,
  .auth-card {
    border-radius: 22px;
  }

  .auth-story {
    min-height: auto;
    padding: 24px;
  }

  .auth-story h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-hero-actions .btn,
  .actions .btn,
  .setup-submit .big-cta-button,
  .setup-submit .btn {
    width: 100%;
  }

  .metric,
  .kpi-card {
    padding: 16px !important;
  }

  .readiness-row {
    padding: 12px;
  }

  .auth-card,
  .auth-story {
    padding: 20px;
  }

  .story-pills {
    display: grid;
  }

  .story-pill {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
