/* ============================================================
   Elliott Wave Trading Dashboard – Design System v2
   Pitch-Black Background · Lexend · Bright Sky-Blue Accent
   ============================================================ */

/* ---- Lexend + IBM Plex Mono (Google Fonts) ---- */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ---- @property for animated gradient angle ---- */
@property --grad-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Background — pitch-black with hint of deep blue */
  --bg-base:       #04070f;
  --bg-inset:      #02040a;
  --bg-card:       #0a1020;
  --bg-card-hover: #121a30;
  --bg-elevated:   #0e162a;

  /* Borders — accent-tinted */
  --border-default: rgba(56, 189, 248, 0.07);
  --border-light:   rgba(56, 189, 248, 0.18);
  --border-strong:  rgba(56, 189, 248, 0.35);

  /* Text */
  --text-primary:   #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted:     #94a3b8;
  --text-faint:     #64748b;

  /* Primary accent — bright sky-blue */
  --sky:        #38bdf8;
  --sky-bright: #7dd3fc;
  --sky-deep:   #0ea5e9;
  --sky-bg:     rgba(56, 189, 248, 0.08);
  --sky-glow:   rgba(56, 189, 248, 0.40);

  /* Status colors — brightened */
  --green:    #4ade80;
  --green-bg: rgba(74, 222, 128, 0.10);
  --yellow:   #facc15;
  --yellow-bg:rgba(250, 204, 21, 0.10);
  --red:      #fb7185;
  --red-bg:   rgba(251, 113, 133, 0.10);
  --pink:     #f472b6;
  --pink-bg:  rgba(244, 114, 182, 0.10);

  /* Legacy aliases — indigo IS the sky now */
  --indigo:    var(--sky);
  --indigo-bg: var(--sky-bg);
  --white:     #f8fafc;

  /* Typography */
  --font-sans: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 0.9375rem;
  --font-size-lg:   1.0625rem;
  --font-size-xl:   1.375rem;
  --font-size-2xl:  2rem;
  --font-size-3xl:  2.75rem;
  --font-size-4xl:  3.5rem;

  /* Spacing — slightly relaxed from v2 */
  --space-1: 0.3125rem;
  --space-2: 0.5rem;
  --space-3: 0.875rem;
  --space-4: 1.25rem;
  --space-5: 1.625rem;
  --space-6: 2rem;
  --space-8: 2.75rem;
  --space-10: 4rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows + glows */
  --shadow-card:  0 1px 2px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.5), 0 16px 48px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 0 1px rgba(56, 189, 248, 0.10), 0 0 32px rgba(56, 189, 248, 0.18);
}

/* ============================================================ */
/* Reset & Base                                                 */
/* ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(244, 114, 182, 0.04), transparent 60%),
    var(--bg-base);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
}

/* Numbers use IBM Plex Mono — humanist mono, pairs well with Lexend */
.kpi__value,
.kpi__sub,
.data-table td,
.timeline-phase,
.calc-block__body,
.change--pos,
.change--neg,
progress + * {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0;
}

/* Symbol / name cells in tables: keep them in Lexend if they have .fw-600 (typically the name column) */
.data-table td.fw-600 {
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}

/* Badges in tables stay in Lexend */
.data-table td .badge {
  font-family: var(--font-sans);
}

/* Code/pre blocks */
code, pre {
  font-family: var(--font-mono);
}

/* ============================================================ */
/* Dashboard layout                                             */
/* ============================================================ */

.dashboard {
  max-width: 1480px;
  margin: 0 auto;
  padding: var(--space-6);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================ */
/* Header                                                       */
/* ============================================================ */

.header {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky-glow) 20%, var(--sky-glow) 80%, transparent);
}

/* Brand area — logo as the main mark */
.header__brand {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.15));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.header__brand:hover {
  filter: drop-shadow(0 0 32px rgba(56, 189, 248, 0.30));
  transform: translateY(-1px);
}

.header__logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}

.header__subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Legacy classes — kept harmless for backward compatibility */
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.header__icon {
  font-size: var(--font-size-3xl);
  line-height: 1;
  filter: drop-shadow(0 0 16px var(--sky-glow));
}

.header__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ============================================================ */
/* Tabs                                                         */
/* ============================================================ */

.tabs {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  padding: var(--space-2) var(--space-1) var(--space-3);
}

.tab {
  padding: var(--space-3) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
}

.tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.tab:disabled,
.tab[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Active tab — luminous animated gradient border */
.tab--active {
  color: var(--sky-bright);
  font-weight: 600;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    conic-gradient(
      from var(--grad-angle),
      var(--sky-bright),
      var(--sky),
      var(--sky-deep),
      var(--sky),
      var(--sky-bright)
    ) border-box;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.10),
    0 0 24px rgba(56, 189, 248, 0.28),
    0 0 60px rgba(56, 189, 248, 0.10);
  animation: rotate-grad 6s linear infinite;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.tab--active:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.15),
    0 0 32px rgba(56, 189, 248, 0.40),
    0 0 80px rgba(56, 189, 248, 0.15);
}

@keyframes rotate-grad {
  to { --grad-angle: 360deg; }
}

/* ============================================================ */
/* Tab Panels                                                   */
/* ============================================================ */

.tab-panel-wrapper { flex: 1; }
.tab-panel { display: block; }

.tab-intro {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.75;
  max-width: 70ch;
}

/* ============================================================ */
/* KPI Grid                                                     */
/* ============================================================ */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.kpi {
  position: relative;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.04) 0%, transparent 100%),
    var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.kpi::before {
  content: '';
  position: absolute;
  top: 0; left: var(--space-5); right: var(--space-5);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky-glow), transparent);
  opacity: 0.5;
}

.kpi:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.kpi__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.kpi__label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--sky-glow);
}

.kpi__value {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.kpi__value--green  { color: var(--green);  text-shadow: 0 0 12px rgba(74, 222, 128, 0.18); }
.kpi__value--yellow { color: var(--yellow); text-shadow: 0 0 12px rgba(250, 204, 21, 0.18); }
.kpi__value--red    { color: var(--red);    text-shadow: 0 0 12px rgba(251, 113, 133, 0.18); }
.kpi__value--indigo { color: var(--sky);    text-shadow: 0 0 12px rgba(56, 189, 248, 0.20); }
.kpi__value--white  { color: var(--white); }

.kpi__sub {
  font-size: var(--font-size-xs);
  color: var(--text-faint);
  margin-top: var(--space-3);
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* ============================================================ */
/* Data Table                                                   */
/* ============================================================ */

.data-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.data-table-wrapper__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  letter-spacing: -0.01em;
}

.data-table-wrapper__title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--sky-bright), var(--sky-deep));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--sky-glow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.data-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
  white-space: nowrap;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
  color: var(--text-primary);
}

/* ============================================================ */
/* Badges                                                       */
/* ============================================================ */

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  border: 1px solid transparent;
}

.badge--green  { background: var(--green-bg);  color: var(--green);  border-color: rgba(74, 222, 128, 0.30); }
.badge--yellow { background: var(--yellow-bg); color: var(--yellow); border-color: rgba(250, 204, 21, 0.30); }
.badge--red    { background: var(--red-bg);    color: var(--red);    border-color: rgba(251, 113, 133, 0.30); }
.badge--indigo { background: var(--sky-bg);    color: var(--sky);    border-color: var(--border-strong); }

/* ---- Change indicators ---- */
.change--pos { color: var(--green); font-weight: 500; }
.change--neg { color: var(--red);   font-weight: 500; }

/* ============================================================ */
/* Hint Boxes                                                   */
/* ============================================================ */

.hint {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  position: relative;
  overflow: hidden;
}

.hint::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky-glow);
}

.hint__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.hint__body {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

.hint--green  { background: var(--green-bg);  border-color: rgba(74, 222, 128, 0.30); }
.hint--green::before { background: var(--green); box-shadow: 0 0 12px rgba(74, 222, 128, 0.5); }
.hint--green .hint__title { color: var(--green); }

.hint--yellow { background: var(--yellow-bg); border-color: rgba(250, 204, 21, 0.30); }
.hint--yellow::before { background: var(--yellow); box-shadow: 0 0 12px rgba(250, 204, 21, 0.5); }
.hint--yellow .hint__title { color: var(--yellow); }

.hint--red    { background: var(--red-bg);    border-color: rgba(251, 113, 133, 0.30); }
.hint--red::before { background: var(--red); box-shadow: 0 0 12px rgba(251, 113, 133, 0.5); }
.hint--red .hint__title { color: var(--red); }

.hint--indigo { background: var(--sky-bg);    border-color: var(--border-strong); }
.hint--indigo::before { background: var(--sky); }
.hint--indigo .hint__title { color: var(--sky); }

/* ============================================================ */
/* Scenario / Toggle Group                                      */
/* ============================================================ */

.scenario-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.scenario-group .tab { flex: 0 0 auto; }

.toggle-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.toggle-group__label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================================ */
/* Timeline                                                     */
/* ============================================================ */

.timeline {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  padding: var(--space-2) 0;
}

.timeline-phase {
  flex: 1;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-phase:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.timeline-phase::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid var(--border-light);
}

.timeline-phase:last-child::after { display: none; }

.timeline-phase--1 { border-top: 3px solid var(--green);  box-shadow: 0 -2px 16px rgba(74, 222, 128, 0.25); }
.timeline-phase--2 { border-top: 3px solid var(--sky);    box-shadow: 0 -2px 16px var(--sky-glow); }
.timeline-phase--3 { border-top: 3px solid var(--yellow); box-shadow: 0 -2px 16px rgba(250, 204, 21, 0.25); }
.timeline-phase--4 { border-top: 3px solid var(--pink);   box-shadow: 0 -2px 16px rgba(244, 114, 182, 0.25); }

/* ============================================================ */
/* Spec Grid / Cards                                            */
/* ============================================================ */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.spec-card {
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.03) 0%, transparent 100%),
    var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.spec-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

/* ============================================================ */
/* Calc Block                                                   */
/* ============================================================ */

.calc-block {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-card);
}

.calc-block__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.calc-block__title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--sky);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--sky-glow);
}

.calc-block__body {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ============================================================ */
/* Text Utilities                                               */
/* ============================================================ */

.text-green   { color: var(--green); }
.text-yellow  { color: var(--yellow); }
.text-red     { color: var(--red); }
.text-indigo  { color: var(--sky); }
.text-primary { color: var(--text-primary); }
.text-muted   { color: var(--text-muted); }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ============================================================ */
/* Footer                                                       */
/* ============================================================ */

.footer {
  margin-top: auto;
  padding: var(--space-8) 0 var(--space-5);
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-faint);
  border-top: 1px solid var(--border-default);
  letter-spacing: 0.06em;
}

/* ============================================================ */
/* Progress bar                                                 */
/* ============================================================ */

progress {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-inset);
  border: 1px solid var(--border-default);
  accent-color: var(--sky);
}

progress::-webkit-progress-bar { background: var(--bg-inset); border-radius: var(--radius-sm); }
progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--sky-deep), var(--sky), var(--sky-bright));
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px var(--sky-glow);
}
progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--sky-deep), var(--sky), var(--sky-bright));
  border-radius: var(--radius-sm);
}

/* ============================================================ */
/* Form elements (for later config editor)                      */
/* ============================================================ */

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
  background: var(--bg-inset);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.20);
}

/* ============================================================ */
/* Chart Container                                              */
/* ============================================================ */

#chart-container {
  width: 100%;
  height: 540px;
  background: var(--bg-inset);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ============================================================ */
/* Scrollbars                                                   */
/* ============================================================ */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-inset); }
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 5px;
  border: 2px solid var(--bg-inset);
}
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ============================================================ */
/* Responsive                                                   */
/* ============================================================ */

@media (max-width: 768px) {
  .dashboard { padding: var(--space-3); }
  .header { padding: var(--space-5); }
  .header__title { font-size: var(--font-size-xl); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .kpi { padding: var(--space-4); }
  .kpi__value { font-size: var(--font-size-2xl); }
  .spec-grid { grid-template-columns: 1fr; }
  .tabs { gap: var(--space-2); padding: var(--space-1) 0 var(--space-2); }
  .tab { padding: var(--space-2) var(--space-3); font-size: var(--font-size-xs); }
  #chart-container { height: 400px; }
  .timeline { flex-direction: column; }
  .timeline-phase::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tab--active { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
