/* ============================================================================
   Malaysia PCB Calculator — Apple-Inspired Minimal Interactive Design
   Full Dark & Light Mode synced via /theme.js ([data-theme="light"])
   ============================================================================ */

:root {
  --bg: #0d0d10;
  --surface: #16161c;
  --surface-2: #1e1e26;
  --header-bg: rgba(13, 13, 16, 0.84);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.20);
  --heading: #ffffff;
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --accent-red: #ff4d42;
  --accent-orange: #f97316;
  --chip-bg: rgba(255, 255, 255, 0.06);
  --chip-hover: rgba(255, 255, 255, 0.13);
  --inv-bg: #ffffff;
  --inv-text: #09090c;
  --shadow: 0 14px 36px -20px rgba(0, 0, 0, 0.7);
  --radius: 16px;
}

:root[data-theme="light"] {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --header-bg: rgba(251, 251, 253, 0.78);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --heading: #1d1d1f;
  --text: #424245;
  --muted: #424245;
  --subtle: #6e6e73;
  --accent-red: #d92d20;
  --accent-orange: #ea580c;
  --chip-bg: #f5f5f7;
  --chip-hover: #e8e8ed;
  --inv-bg: #1d1d1f;
  --inv-text: #fbfbfd;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.045), 0 1px 2px rgba(0, 0, 0, 0.03);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
a, button, input, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
strong { color: var(--heading); font-weight: 600; }
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.accent { color: var(--heading); }

:focus-visible { outline: 2px solid var(--accent-orange); outline-offset: 2px; border-radius: 4px; }

/* TOPBAR (standardized full-bleed) */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 50px;
  padding: max(0.55rem, env(safe-area-inset-top, 0px)) max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-right, 0px)) 0.55rem max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-left, 0px));
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.back-link { font-size: 0.84rem; color: var(--muted); white-space: nowrap; transition: color 0.15s; }
.back-link:hover { color: var(--heading); }
.sep { color: var(--border-strong); user-select: none; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--heading); white-space: nowrap; }
.brand-gem {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem; font-weight: 700;
  background: var(--inv-bg); color: var(--inv-text);
  flex-shrink: 0;
}
.tag {
  font-size: 0.66rem; color: var(--muted); background: var(--chip-bg);
  padding: 0.14rem 0.48rem; border-radius: 4px; border: 1px solid var(--border);
}

.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border-radius: 999px;
  background: var(--chip-bg); border: 1px solid var(--border-strong);
  color: var(--heading); cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, transform 0.15s;
}
.theme-btn:hover { background: var(--chip-hover); border-color: var(--heading); }
.theme-btn:active { transform: scale(0.94); }
.theme-btn svg { width: 15px; height: 15px; display: block; }
.theme-btn .icon-sun { display: block; }
.theme-btn .icon-moon { display: none; }
:root[data-theme="light"] .theme-btn .icon-sun { display: none; }
:root[data-theme="light"] .theme-btn .icon-moon { display: block; }

/* PAGE LAYOUT */
.page-wrap {
  width: 100%; max-width: 780px; margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem) 3.5rem;
  flex: 1;
  display: flex; flex-direction: column; gap: 1.25rem;
}

/* HERO */
.hero-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.calc-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.035em; color: var(--heading); line-height: 1.15;
}
.hero-sub { font-size: 0.92rem; color: var(--muted); margin-top: 0.35rem; }

/* DROPDOWNS */
.year-select-wrap, .marital-wrap { position: relative; }
.year-btn {
  background: var(--surface); color: var(--heading);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 0.42rem 0.9rem; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}
.year-btn:hover { border-color: var(--heading); }
.caret { font-size: 0.72em; opacity: 0.65; }

.dropdown-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 50;
  min-width: 100%; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 0.35rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}
.year-menu { min-width: 120px; }
.marital-menu { min-width: 245px; left: 0; right: auto; }
.dropdown-item {
  width: 100%; text-align: left; background: transparent; border: 0;
  color: var(--text); padding: 0.55rem 0.75rem; border-radius: 8px;
  font-size: 0.85rem; font-family: inherit; cursor: pointer; transition: background 0.14s;
}
.dropdown-item:hover { background: var(--chip-bg); color: var(--heading); }
.dropdown-item.active { background: var(--inv-bg); color: var(--inv-text); font-weight: 600; }

/* HERO KPI STRIP */
.kpi-grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0.85rem;
}
.kpi-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; text-align: left; font-family: inherit; cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.16s, transform 0.16s;
}
.kpi-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.kpi-primary { border-color: var(--border-strong); }
.kpi-label { font-size: 0.76rem; font-weight: 500; color: var(--muted); }
.kpi-value { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 700; letter-spacing: -0.025em; color: var(--heading); }
.kpi-pcb { color: var(--accent-orange); }
.kpi-meta { font-size: 0.74rem; color: var(--subtle); }

/* CARDS */
.calc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.15rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

/* SALARY HEADER & PRESETS */
.salary-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.65rem; margin-bottom: 0.75rem;
}
.field-label { font-size: 0.84rem; font-weight: 600; color: var(--heading); }
.preset-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.preset-chip {
  background: var(--chip-bg); border: 1px solid transparent; border-radius: 999px;
  color: var(--muted); font-size: 0.74rem; font-weight: 500;
  padding: 0.26rem 0.68rem; cursor: pointer; transition: all 0.15s;
}
.preset-chip:hover { color: var(--heading); background: var(--chip-hover); }
.preset-chip.is-active { background: var(--inv-bg); color: var(--inv-text); font-weight: 600; }

/* PRIMARY INPUT BAR */
.main-input-bar {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0.75rem;
}
.salary-input-wrap {
  display: flex; align-items: center; gap: 0.45rem;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 0.75rem 1rem;
  transition: border-color 0.16s;
}
.salary-input-wrap:focus-within { border-color: var(--heading); }
.rm-prefix { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.salary-input {
  width: 100%; background: transparent; border: 0; outline: 0;
  color: var(--heading); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em;
}
.salary-input::-webkit-inner-spin-button,
.salary-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cents-addon { font-size: 0.9rem; color: var(--subtle); }

.marital-btn {
  width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 0.1rem; position: relative;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 0.6rem 2rem 0.6rem 0.95rem;
  color: var(--heading); font-family: inherit; cursor: pointer; text-align: left;
  transition: border-color 0.16s;
}
.marital-btn:hover { border-color: var(--heading); }
.marital-btn .caret { position: absolute; right: 0.85rem; top: 50%; transform: translateY(-50%); }
.field-micro { font-size: 0.7rem; color: var(--subtle); }
.marital-value { font-size: 0.86rem; font-weight: 600; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* INTERACTIVE SLIDER */
.slider-wrap { margin-top: 1rem; }
.salary-slider,
.children-box input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px;
  accent-color: var(--accent-orange); cursor: pointer;
}
.slider-scale {
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: var(--subtle); margin-top: 0.3rem;
}

.children-box {
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border);
}
.children-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.86rem; margin-bottom: 0.5rem;
}
.relief-hint { font-style: normal; font-size: 0.78rem; color: var(--subtle); }

/* TOGGLES BAR */
.toggles-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.pill-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--chip-bg); border: 1px solid var(--border); border-radius: 999px;
  color: var(--heading); padding: 0.42rem 0.9rem; font-size: 0.82rem; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: all 0.15s;
}
.pill-toggle:hover, .pill-toggle.active { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }
.plus-icon { font-weight: 700; }
.text-toggle {
  background: none; border: 0; color: var(--muted); font-size: 0.82rem; font-weight: 500;
  font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem;
}
.text-toggle:hover { color: var(--heading); }

/* SUB PANELS */
.sub-panel {
  margin-top: 1rem; padding: 1rem; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.dual-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.sub-input-group label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.4rem; }
.sub-field-wrap {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 0.5rem 0.75rem;
}
.sub-field-wrap input {
  width: 100%; background: transparent; border: 0; outline: 0;
  color: var(--heading); font-size: 0.95rem; font-weight: 600;
}
.sub-field-wrap span { font-size: 0.8rem; color: var(--subtle); }
.tip { color: var(--subtle); cursor: help; font-style: normal; margin-left: 0.2rem; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem; }
.switch-item {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.84rem; color: var(--text); cursor: pointer;
}
.switch-item input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-ui {
  position: relative; width: 42px; height: 24px; border-radius: 999px;
  background: var(--chip-hover); border: 1px solid var(--border); flex-shrink: 0;
  transition: background-color 0.2s;
}
.switch-ui::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.switch-item input:checked + .switch-ui { background: var(--accent-orange); border-color: var(--accent-orange); }
.switch-item input:checked + .switch-ui::after { transform: translateX(18px); }
.select-item select {
  background: var(--surface); color: var(--heading); border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 0.3rem 0.55rem; font-size: 0.8rem;
}

/* CHART PANEL (Interactive Donut + Stacked Bar + Legend) */
.chart-panel {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  align-items: center;
  gap: 1.75rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.donut-wrap { position: relative; width: 156px; height: 156px; margin: 0 auto; flex-shrink: 0; }
.donut-svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut-slice { cursor: pointer; transition: opacity 0.18s ease, stroke-width 0.18s ease; }
.donut-slice.is-dim { opacity: 0.28; }
.donut-slice.is-active { stroke-width: 0.36; }
.donut-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; pointer-events: none;
  padding: 0 0.5rem;
}
.donut-center span { font-size: 0.58rem; color: var(--subtle); letter-spacing: 0.06em; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-center strong { font-size: 1.32rem; font-weight: 700; color: var(--heading); }
.chart-legend { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.alloc-bar {
  display: flex; width: 100%; height: 7px; border-radius: 999px;
  overflow: hidden; background: var(--chip-bg); margin-bottom: 0.45rem; gap: 1px;
}
.alloc-bar span { height: 100%; transition: width 0.25s ease; }
.legend-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: transparent; border: 1px solid transparent; border-radius: 8px;
  padding: 0.36rem 0.55rem; font-family: inherit; font-size: 0.82rem; color: var(--text);
  cursor: pointer; text-align: left; transition: background-color 0.15s, border-color 0.15s;
}
.legend-row:hover, .legend-row.is-active { background: var(--chip-bg); border-color: var(--border); }
.legend-left { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 500; min-width: 0; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.legend-right { display: flex; align-items: baseline; gap: 0.55rem; white-space: nowrap; }
.legend-right strong { font-size: 0.82rem; color: var(--heading); }
.legend-pct { font-size: 0.74rem; color: var(--subtle); min-width: 38px; text-align: right; }

/* SUMMARY TABLE */
.summary-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.summary-head h2 { font-size: 0.96rem; font-weight: 600; color: var(--heading); }
.copy-hint { font-size: 0.76rem; color: var(--subtle); }

.summary-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.summary-table td { padding: 0.62rem 0.2rem; }
.val-col { text-align: right; white-space: nowrap; }
.group-row { cursor: pointer; border-bottom: 1px solid var(--border); }
.group-row:hover td { color: var(--heading); }
.arrow { display: inline-block; width: 16px; font-size: 0.7rem; color: var(--subtle); }
.muted-tag { font-style: normal; font-size: 0.78rem; color: var(--subtle); }
.muted-link { font-size: 0.78rem; color: var(--subtle); }
.detail-row td { font-size: 0.84rem; color: var(--muted); padding-block: 0.45rem; }
.indent { padding-left: 1.45rem !important; }
.sub-indent { padding-left: 2.3rem !important; font-size: 0.8rem; color: var(--subtle); }
.muted-val { color: var(--subtle); }
.border-after td { border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.spacer td { height: 6px; padding: 0; }

.highlight-row td { padding-block: 0.78rem; border-top: 1px solid var(--border); }
.pcb-row .val-col strong { color: var(--accent-orange); }
.net-row td { border-top: 1px solid var(--border-strong); padding-top: 0.95rem; font-size: 0.96rem; }
.net-amount strong { font-size: 1.15rem; color: var(--heading); }
.revised-badge {
  display: inline-block; margin-left: 0.4rem; font-size: 0.68rem;
  background: var(--chip-bg); color: var(--accent-orange); padding: 0.1rem 0.45rem; border-radius: 999px;
}
.copyable { cursor: pointer; transition: opacity 0.15s; }
.copyable:hover { opacity: 0.75; }

/* COMPACT DISCLOSURE NOTES */
.notes-disclosure {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.95rem 1.2rem;
  box-shadow: var(--shadow);
}
.notes-disclosure summary {
  font-size: 0.86rem; font-weight: 600; color: var(--heading); cursor: pointer;
}
.notes-body {
  margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--border);
  font-size: 0.84rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.65rem;
}
.notes-body ul { padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.disclaimer { font-size: 0.78rem; color: var(--subtle); }
.disclaimer a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }

/* TOAST & FOOTER */
.toast {
  position: fixed; bottom: max(24px, env(safe-area-inset-bottom, 0px) + 12px); left: 50%;
  transform: translateX(-50%); z-index: 60;
  background: var(--inv-bg); color: var(--inv-text);
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.footer {
  text-align: center; padding: 1.4rem 1rem max(1.8rem, env(safe-area-inset-bottom, 0px) + 1rem);
  font-size: 0.76rem; color: var(--subtle); border-top: 1px solid var(--border);
}
.footer a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }

/* RESPONSIVE */
@media (max-width: 680px) {
  /* 1-screen mobile fit: Hero + Live KPI Bento + Full Salary Input & Slider above the fold */
  .topbar {
    min-height: 44px;
    padding: max(0.35rem, env(safe-area-inset-top, 0px)) 0.9rem 0.35rem;
  }
  .sep, .brand { display: none; }
  .back-link { font-size: 0.76rem; }
  .theme-btn { width: 28px; height: 28px; }

  .page-wrap {
    padding: 0.75rem 0.85rem 2.25rem;
    gap: 0.7rem;
  }

  .calc-hero h1 { font-size: 1.25rem; }
  .hero-sub { display: none; }
  .year-btn { padding: 0.28rem 0.7rem; font-size: 0.76rem; }

  /* Compact 2-row KPI bento: Net Take-Home full-width top, PCB + Statutory side-by-side */
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .kpi-primary {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.75rem 0.95rem;
  }
  .kpi-primary .kpi-value { font-size: 1.35rem; }
  .kpi-card {
    padding: 0.65rem 0.85rem;
    border-radius: 13px;
    gap: 0.12rem;
  }
  .kpi-label { font-size: 0.68rem; }
  .kpi-value { font-size: 1.02rem; }
  .kpi-meta { font-size: 0.66rem; }

  .calc-card {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
  }

  .salary-header { margin-bottom: 0.55rem; gap: 0.45rem; }
  .field-label { font-size: 0.78rem; }
  .preset-row { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.3rem; }
  .preset-chip { padding: 0.28rem 0.2rem; text-align: center; font-size: 0.72rem; }

  .main-input-bar { grid-template-columns: 1fr; gap: 0.5rem; }
  .salary-input-wrap { padding: 0.5rem 0.8rem; border-radius: 10px; }
  /* 16px+ prevents iOS Safari auto-zoom on input focus */
  .salary-input { font-size: 1.2rem; }
  .marital-btn { padding: 0.45rem 1.8rem 0.45rem 0.8rem; border-radius: 10px; }
  .field-micro { font-size: 0.64rem; }
  .marital-value { font-size: 0.82rem; }

  .slider-wrap { margin-top: 0.65rem; }
  .toggles-bar { margin-top: 0.7rem; padding-top: 0.65rem; gap: 0.5rem; }
  .pill-toggle { padding: 0.34rem 0.72rem; font-size: 0.76rem; }
  .text-toggle { font-size: 0.76rem; }

  .dual-inputs, .settings-grid { grid-template-columns: 1fr; }
  .sub-field-wrap input { font-size: 1rem; }
  .chart-panel { grid-template-columns: 1fr; gap: 0.85rem; padding-bottom: 0.9rem; margin-bottom: 0.9rem; }
  .donut-wrap { width: 132px; height: 132px; }
  .legend-row { padding: 0.32rem 0.45rem; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
