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

:root {
  --ui-scale: 1;
  --desk-content-w: 904px; /* 280 + 12 + 280 + 12 + 320 */
  --bg: #050607;
  --bg-elevated: #0a0c10;
  --surface: #0e1218;
  --panel: #12171f;
  --panel-2: #171d27;
  --panel-border: rgba(180, 200, 230, 0.1);
  --panel-border-strong: rgba(200, 220, 255, 0.16);
  --text: #f4f7fb;
  --text-muted: #9aa6b8;
  --text-dim: #667084;
  --accent: #4cc9f0;
  --accent-soft: rgba(76, 201, 240, 0.16);
  --lime: #c8ff4a;
  --lime-hover: #d9ff78;
  --lime-glow: rgba(200, 255, 74, 0.38);
  --red: #ff3355;
  --red-hover: #ff5570;
  --cyan: #2de2e6;
  --input-bg: rgba(4, 6, 9, 0.88);
  --input-border: rgba(180, 200, 230, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 12px 36px rgba(0, 0, 0, 0.45);
  --carbon-fine: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.028) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.28) 0 1px,
      transparent 1px 3px
    );
  --mono: ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(76, 201, 240, 0.55);
  /* Phase 13 — classic brass / champagne chrome (shared with chart bezel) */
  --brass: rgba(215, 196, 160, 0.42);
  --brass-strong: rgba(240, 226, 196, 0.22);
  --brass-inset: rgba(106, 87, 56, 0.35);
  --brass-text: #e8d7b0;
  --brass-face:
    linear-gradient(145deg, rgba(240, 226, 196, 0.12), transparent 38%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    var(--carbon-fine),
    var(--panel);
  --brass-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 3px var(--brass-inset),
    inset 0 0 28px rgba(0, 0, 0, 0.35),
    0 12px 36px rgba(0, 0, 0, 0.45);
  /* Phase 33 — shared brass button language (instrument-panel bezels) */
  --btn-brass-face:
    linear-gradient(180deg, rgba(255, 246, 224, 0.16) 0%, transparent 38%),
    linear-gradient(145deg, rgba(240, 226, 196, 0.14), transparent 42%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, transparent 48%),
    var(--carbon-fine),
    #141820;
  --btn-brass-face-strong:
    linear-gradient(180deg, rgba(255, 246, 224, 0.22) 0%, transparent 40%),
    linear-gradient(145deg, rgba(240, 226, 196, 0.18), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
    var(--carbon-fine),
    #171d27;
  --btn-brass-rim:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 2px var(--brass-inset),
    inset 0 1px 0 rgba(255, 246, 224, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.4);
  --btn-brass-rim-hover:
    inset 0 0 0 1px rgba(240, 226, 196, 0.38),
    inset 0 0 0 2px var(--brass-inset),
    inset 0 1px 0 rgba(255, 246, 224, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(215, 196, 160, 0.12);
}

html {
  zoom: var(--ui-scale);
}

html, body {
  height: 100%;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 50% -8%, rgba(76, 201, 240, 0.08), transparent 58%),
    radial-gradient(800px 480px at 92% 88%, rgba(200, 255, 74, 0.04), transparent 52%),
    var(--carbon-fine),
    linear-gradient(180deg, #0b0e13 0%, var(--bg) 42%, #030405 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1420px;
  margin: 0 auto;
  padding: 14px 18px 10px;
  gap: 14px;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: var(--brass-face);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--brass-shadow);
  backdrop-filter: blur(8px);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, #6b778c, #10151d 68%),
    var(--carbon-fine),
    #0c1016;
  border: 1.5px solid var(--brass-text);
  box-shadow:
    0 0 0 3px rgba(215, 196, 160, 0.14),
    0 0 18px rgba(200, 255, 74, 0.12),
    inset 0 0 0 1px var(--brass-strong),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #f8fafc;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(90deg, #f8fafc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  margin: 0;
}

.logo-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-text);
  opacity: 0.85;
}

.header-credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.header-credit-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-text);
  opacity: 0.75;
}

.header-credit-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.header-credit-name em {
  font-style: normal;
  color: var(--lime);
}


/* Header layout + scale controls */
.header-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}

.ui-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.ui-scale-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-text);
  white-space: nowrap;
  opacity: 0.9;
}

.ui-scale input[type="range"] {
  width: min(160px, 28vw);
  accent-color: var(--lime);
  cursor: pointer;
}

.ui-scale-val {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  min-width: 3.2em;
  text-align: right;
}

.units-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass-inset);
  flex-wrap: wrap;
}

.units-opt {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.units-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.units-opt span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.units-opt input:checked + span {
  color: #0b1220;
  background: var(--lime);
  border-color: rgba(255, 255, 255, 0.15);
}

.units-opt:hover span {
  color: #e8ecf1;
}

@media (max-width: 700px) {
  .header-controls {
    order: 3;
    width: 100%;
  }
  .ui-scale {
    flex: 1 1 auto;
    justify-content: stretch;
  }
  .ui-scale input[type="range"] {
    flex: 1;
    width: auto;
  }
}

/* ── Top grid ── */
.top-grid {
  display: grid;
  /* Vehicle | Atmosphere (DA+Weather) | Results — even cards, equal height */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.card {
  background: var(--brass-face);
  border: 1px solid var(--brass);
  border-radius: 12px;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--brass-shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 226, 196, 0.28), transparent);
  pointer-events: none;
}

/* Phase 14 — tasteful brass corner ticks (instrument cluster) */
.card::after,
.gauge-wrap::after,
.chart-card::after,
.modal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(var(--brass-text), var(--brass-text)) top left / 11px 1px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) top left / 1px 11px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) top right / 11px 1px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) top right / 1px 11px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) bottom left / 11px 1px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) bottom left / 1px 11px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) bottom right / 11px 1px no-repeat,
    linear-gradient(var(--brass-text), var(--brass-text)) bottom right / 1px 11px no-repeat;
}

.card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brass-text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.12);
}

.card-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 196, 160, 0.35), transparent);
}

.atmosphere-card {
  gap: 0;
  /* fill equal-height column so run-controls sit in the empty band under Weather */
  justify-content: flex-start;
}

.atmosphere-card .card-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atmosphere-card .da-section {
  padding-bottom: 10px;
}

.atmosphere-card .weather-section {
  padding-top: 10px;
}

.card-divider {
  height: 1px;
  margin: 4px 0 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 226, 196, 0.18) 12%,
    rgba(215, 196, 160, 0.45) 50%,
    rgba(240, 226, 196, 0.18) 88%,
    transparent
  );
  box-shadow: 0 0 10px rgba(215, 196, 160, 0.10);
}


.field {
  display: grid;
  grid-template-columns: max-content minmax(96px, 1fr);
  align-items: center;
  gap: 8px 10px;
}

.field > span {
  color: var(--brass-text);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.92;
}

.field input,
.field select,
.garage-search input,
select,
input[type="number"],
input[type="text"],
input[type="email"] {
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.04), transparent 40%),
    var(--input-bg);
  border: 1px solid var(--brass);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 13px;
  font-family: var(--sans);
  width: 100%;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input:hover,
.field select:hover,
.garage-search input:hover {
  border-color: rgba(240, 226, 196, 0.55);
}

.field input:focus,
.field select:focus,
.garage-search input:focus,
.btn:focus-visible,
.link-reset:focus-visible {
  outline: none;
  border-color: var(--brass-text);
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(215, 196, 160, 0.35);
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 6px 0 2px;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brass-text);
  cursor: pointer;
  font-size: 12px;
  user-select: none;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--brass);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.check-row label:hover {
  background: rgba(240, 226, 196, 0.06);
  border-color: rgba(240, 226, 196, 0.5);
}

.check-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #c8a96a;
}

.field-hint {
  margin: 0 0 4px;
  padding: 0 2px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--text-muted);
}

/* ── Buttons ── */
/* Phase 33 — classy brass instrument-panel bezels (shared chrome language) */
.btn {
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: 0.01em;
  color: var(--brass-text);
  background: var(--btn-brass-face);
  box-shadow: var(--btn-brass-rim);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.05s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    filter 0.15s ease;
}

.btn:hover {
  border-color: rgba(240, 226, 196, 0.65);
  color: #fff6e0;
  background: var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

.btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 2px var(--brass-inset),
    inset 0 2px 6px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn:focus-visible {
  outline: none;
  border-color: var(--brass-text);
  box-shadow:
    var(--btn-brass-rim),
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(215, 196, 160, 0.4);
}

.btn:disabled,
.btn.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.25);
}

/* Garage: fixed 74×74 square beside vertical NA/FI/EV — never % height */
.check-garage-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-shrink: 0;
}

.check-garage-row .check-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.check-garage-row .check-row label {
  width: 100%;
  box-sizing: border-box;
  font-size: 11px;
  padding: 3px 6px;
}

#btnGarage.btn-garage,
.btn-garage {
  box-sizing: border-box;
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  min-height: 74px !important;
  max-height: 74px !important;
  flex: 0 0 74px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  /* Brass body + crimson gem accent (role), not flat neon slab */
  color: #ffe0e6;
  border: 1px solid rgba(255, 80, 100, 0.55);
  background:
    linear-gradient(90deg, rgba(255, 51, 85, 0.55) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 18%, rgba(255, 120, 140, 0.22), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow:
    var(--btn-brass-rim),
    0 0 16px rgba(239, 35, 60, 0.18);
}

.btn-garage:hover {
  color: #fff;
  border-color: rgba(255, 120, 140, 0.75);
  background:
    linear-gradient(90deg, rgba(255, 85, 110, 0.7) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 18%, rgba(255, 140, 160, 0.28), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover), 0 0 20px rgba(239, 35, 60, 0.28);
}

.vehicle-card {
  overflow: visible !important;
}

.btn-generate {
  width: 100%;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #d7ecff;
  border-color: rgba(76, 160, 255, 0.5);
  background:
    linear-gradient(90deg, rgba(59, 158, 255, 0.55) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 12%, rgba(90, 170, 255, 0.18), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim), 0 0 14px rgba(37, 99, 235, 0.14);
}

.btn-generate:hover {
  color: #eff7ff;
  border-color: rgba(120, 180, 255, 0.7);
  background:
    linear-gradient(90deg, rgba(86, 171, 255, 0.7) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 12%, rgba(110, 185, 255, 0.24), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover), 0 0 18px rgba(37, 99, 235, 0.22);
}

/*
 * Test + Drag Racing — identical outer size in 2-col grid under Diff.
 * Shared brass body; lime vs cyan accent edge + label tint (not full-face neon).
 */
.btn-test,
.btn-drag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  margin-top: 0;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 8px;
  background: var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim);
}

.btn-test {
  color: #e2ff9a;
  border: 1px solid rgba(200, 255, 74, 0.48);
  background:
    linear-gradient(90deg, rgba(200, 255, 74, 0.65) 0 3px, transparent 3px),
    radial-gradient(ellipse at 18% 50%, rgba(200, 255, 74, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 246, 224, 0.14) 0%, transparent 40%),
    var(--btn-brass-face-strong);
  text-shadow: 0 0 10px rgba(200, 255, 74, 0.22);
}

.btn-test:hover {
  color: #f2ffc4;
  border-color: rgba(217, 255, 120, 0.72);
  background:
    linear-gradient(90deg, rgba(217, 255, 120, 0.8) 0 3px, transparent 3px),
    radial-gradient(ellipse at 18% 50%, rgba(200, 255, 74, 0.24), transparent 48%),
    var(--btn-brass-face-strong);
  box-shadow:
    var(--btn-brass-rim-hover),
    0 0 16px rgba(200, 255, 74, 0.18);
}

.btn-drag {
  color: #9ef4f7;
  border: 1px solid rgba(45, 226, 230, 0.48);
  background:
    linear-gradient(90deg, rgba(45, 226, 230, 0.65) 0 3px, transparent 3px),
    radial-gradient(ellipse at 18% 50%, rgba(45, 226, 230, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 246, 224, 0.14) 0%, transparent 40%),
    var(--btn-brass-face-strong);
  text-shadow: 0 0 10px rgba(45, 226, 230, 0.22);
}

.btn-drag:hover {
  color: #c5fbff;
  border-color: rgba(103, 232, 249, 0.72);
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.8) 0 3px, transparent 3px),
    radial-gradient(ellipse at 18% 50%, rgba(45, 226, 230, 0.24), transparent 48%),
    var(--btn-brass-face-strong);
  box-shadow:
    var(--btn-brass-rim-hover),
    0 0 16px rgba(45, 226, 230, 0.18);
}

.btn-ctrl {
  color: var(--brass-text);
  border: 1px solid var(--brass);
  width: 100%;
  background: var(--btn-brass-face);
  box-shadow: var(--btn-brass-rim);
}

.btn-ctrl:hover {
  color: #fff6e0;
  border-color: rgba(240, 226, 196, 0.65);
  background: var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

/* ── Air / HP correction strip (fills empty band under Weather) ── */
.air-hp-strip {
  margin: 10px 0 0;
  padding: 10px 10px 8px;
  flex: 1 1 auto;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--brass);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215, 196, 160, 0.08), transparent 55%),
    linear-gradient(145deg, rgba(240, 226, 196, 0.10), transparent 38%),
    var(--carbon-fine),
    #07090c;
  box-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 2px var(--brass-inset),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.air-hp-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.air-hp-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.air-mode-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  color: #0a0c0f;
  background: linear-gradient(180deg, #f0e2c4, #b89a62);
  border: 1px solid rgba(106, 87, 56, 0.55);
  text-shadow: none;
}

.air-mode-badge[data-mode="EV"] {
  background: linear-gradient(180deg, #d4ff6a, var(--lime));
  border-color: rgba(184, 255, 60, 0.45);
}

.air-mode-badge[data-mode="FI"] {
  background: linear-gradient(180deg, #7ee8ff, #2de2e6);
}

.air-mode-badge[data-mode="NA"] {
  background: linear-gradient(180deg, #f0e2c4, #b89a62);
}

.air-mode-badge[data-mode="ICE"] {
  background: linear-gradient(180deg, #c9d2e0, #8b93a1);
}

.air-hp-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.air-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(184, 255, 60, 0.18);
  box-shadow: inset 0 0 12px rgba(184, 255, 60, 0.04);
  min-width: 0;
}

.air-tile-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-text);
  opacity: 0.85;
}

.air-tile-value {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.15;
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.air-tile-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: #c9d2e0;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.air-hp-note {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-dim);
}

/* Run controls — compact strip under Weather Presets (atmosphere column) */
.run-controls {
  margin-top: 0;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.run-controls-divider {
  margin-top: 10px;
}

.run-controls-playback {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.run-controls-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.run-controls .btn-ctrl {
  width: 100%;
  padding: 7px 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.run-controls .run-timer {
  font-size: 16px;
  padding: 7px 6px;
  margin: 0;
}

.run-controls .btn-test,
.run-controls .btn-drag {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 8px;
  font-size: 12px;
  letter-spacing: 0.07em;
  border-radius: 8px;
}

.da-result {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  min-height: 38px;
  box-shadow:
    inset 0 0 0 1px var(--brass-inset),
    0 0 14px rgba(34, 211, 238, 0.06) inset;
}

/* Results / time-slip — fixed footprint; scroll inside; no grow */
.results-card {
  align-self: stretch;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  /* brass chrome inherited from .card; slip fills remaining height */
}

.results-card .card-title {
  color: var(--brass-text);
  letter-spacing: 0.14em;
}

.results-out,
.results-out.run-board {
  flex: 1 1 0 !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  height: 0; /* flex child fills card; content never expands card */
  max-height: 100%;
  /* Dark digital board — matches Performance Telemetry page palette */
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
  color: var(--text);
  white-space: normal;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(76, 201, 240, 0.07), transparent 42%),
    radial-gradient(90% 70% at 100% 100%, rgba(200, 255, 74, 0.04), transparent 48%),
    linear-gradient(180deg, #10151c 0%, #07090d 100%);
  border: 1px solid rgba(215, 196, 160, 0.38);
  border-radius: 8px;
  padding: 8px 9px 10px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.run-board-idle {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 14px 4px;
  line-height: 1.45;
}

.rd-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.rd-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brass-text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rd-tag {
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(76, 201, 240, 0.35);
  border-radius: 999px;
  padding: 2px 7px;
}
.rd-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 8px;
  margin-bottom: 7px;
  padding: 5px 7px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(76, 201, 240, 0.12);
  border-radius: 6px;
}
.rd-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.rd-meta-row .rd-k { flex: 0 0 auto; }
.rd-meta-row .rd-v {
  color: var(--text);
  font-weight: 600;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.rd-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.rd-panel {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(76, 201, 240, 0.14);
  border-radius: 6px;
  padding: 5px 7px 7px;
  min-width: 0;
}
.rd-panel h3 {
  margin: 0 0 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.rd-table { width: 100%; border-collapse: collapse; }
.rd-table th {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
  padding: 0 3px 4px;
}
.rd-table th:first-child { text-align: left; }
.rd-table td,
.rd-table tbody th {
  padding: 2px 3px;
  font-weight: 500;
  font-size: 11px;
}
.rd-table tbody th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.rd-table td { text-align: right; }
.rd-table tbody tr:nth-child(odd) td,
.rd-table tbody tr:nth-child(odd) th {
  background: rgba(255, 255, 255, 0.025);
}
.rd-time {
  color: var(--lime);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rd-mph {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rd-range {
  color: #ffb347;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rd-time.is-miss,
.rd-mph.is-miss,
.rd-range.is-miss {
  color: var(--text-dim);
  font-weight: 500;
}
.rd-k {
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.rd-ranges,
.rd-zeros {
  display: grid;
  gap: 3px;
}
.rd-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rd-zeros { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-chip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(255, 179, 71, 0.06);
  min-width: 0;
}
.rd-chip--zero {
  flex-direction: column;
  gap: 1px;
  padding: 3px 4px;
  background: rgba(200, 255, 74, 0.05);
}
.rd-chip--zero .rd-k { font-size: 8px; }
.rd-chip--zero .rd-time { font-size: 11px; }
.rd-foot-note {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* ── Dashboard ── */
.dashboard {
  display: grid;
  /* gauge | chart — chart stretches into former controls strip */
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  flex: 1;
  min-height: 300px;
}

.gauge-wrap,
.chart-card {
  background: var(--brass-face);
  border: 1px solid var(--brass);
  border-radius: 12px;
  box-shadow: var(--brass-shadow);
  position: relative;
}

.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 14px 18px;
  gap: 6px;
}

.active-vehicle-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--lime);
  text-transform: uppercase;
  max-width: 100%;
  padding: 4px 10px 2px;
  line-height: 1.3;
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#speedGauge {
  width: 260px;
  height: 260px;
  max-width: 100%;
  margin-top: 2px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #1a1f28 0%, #07090d 72%);
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 0 18px rgba(212, 184, 137, 0.18)) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}

.run-timer {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--lime);
  padding: 10px 6px;
  margin: 4px 0;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.06), transparent 55%),
    rgba(184, 255, 60, 0.06);
  border: 1px solid var(--brass);
  box-shadow:
    inset 0 0 0 1px var(--brass-inset),
    0 0 16px rgba(184, 255, 60, 0.12),
    inset 0 0 12px rgba(184, 255, 60, 0.04);
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(184, 255, 60, 0.35);
}

.chart-card {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  /* Classic gauge sibling: brass/champagne bezel + carbon face (Phase 12/13) */
}

.progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-labels {
  position: relative;
  height: 14px;
  font-size: 10px;
  color: #e8d7b0;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(184, 255, 60, 0.15);
}

.progress-mark {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.progress-mark[data-ft="0"] {
  transform: none;
  left: 0 !important;
}

.progress-mark-end {
  transform: translateX(-100%);
}

.progress-bar {
  position: relative;
  height: 9px;
  background:
    linear-gradient(180deg, #10141a, #07090c);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--brass);
  box-shadow:
    inset 0 0 0 1px var(--brass-inset),
    inset 0 1px 3px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.progress-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.progress-ticks i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.progress-fill {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #16a34a, var(--lime));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(184, 255, 60, 0.45);
  transition: width 0.05s linear;
}

.chart-wrap {
  flex: 1;
  height: 240px;
  min-height: 240px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(215, 196, 160, 0.28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215, 196, 160, 0.08), transparent 55%),
    #07090c;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ── Footer ── */
.app-footer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 14px 14px;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  background: var(--brass-face);
  box-shadow: var(--brass-shadow);
}

.footer-credit {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.footer-credit span {
  color: var(--lime);
}

.footer-disclaimer {
  max-width: 720px;
  color: var(--text-dim);
  font-size: 11px;
}

/* ── Garage modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  position: relative;
  background:
    linear-gradient(145deg, rgba(240, 226, 196, 0.10), transparent 38%),
    var(--carbon-fine),
    #0e1218;
  border: 1px solid var(--brass);
  border-radius: 14px;
  width: min(640px, 100%);
  max-height: min(780px, 92vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 3px var(--brass-inset),
    inset 0 0 28px rgba(0, 0, 0, 0.35),
    0 24px 64px rgba(0, 0, 0, 0.65);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--brass);
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.08), transparent 70%);
}

.modal-header h2 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-text);
  font-family: var(--mono);
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.15);
}

.modal-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1;
}

.garage-search label {
  display: block;
  color: var(--brass-text);
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garage-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.garage-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.garage-filter span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-text);
  opacity: 0.9;
}

.garage-filter select {
  width: 100%;
  background: #080a0d;
  border: 1px solid var(--brass);
  border-radius: 8px;
  color: #e8ecf1;
  padding: 8px 10px;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.garage-filter select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.car-list-section {
  pointer-events: none;
  cursor: default !important;
  margin-top: 6px;
  margin-bottom: 4px;
  padding: 8px 12px 4px !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--brass);
  border-radius: 0 !important;
}

.car-list-section:hover {
  background: transparent !important;
  color: var(--brass-text) !important;
}

.car-list {
  list-style: none;
  overflow: auto;
  flex: 1;
  min-height: 280px;
  max-height: 420px;
  border: 1px solid var(--brass);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.04), transparent 30%),
    #080a0d;
  padding: 4px;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.car-list li {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 2px;
  cursor: pointer;
  font-size: 13px;
  color: #d1d5db;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.car-list li:hover {
  background: rgba(215, 196, 160, 0.10);
  color: #fff;
}

.car-list li.selected {
  background: linear-gradient(90deg, rgba(215, 196, 160, 0.22), rgba(215, 196, 160, 0.06));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--brass-text);
  font-weight: 600;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px 12px;
  border-top: 1px solid var(--brass);
  background:
    linear-gradient(0deg, rgba(240, 226, 196, 0.05), transparent 70%);
}

.modal-actions .btn {
  flex: 1;
  min-width: 100px;
}

.btn-load {
  color: #c6f5d4;
  border: 1px solid rgba(74, 222, 128, 0.48);
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.6) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 12%, rgba(74, 222, 128, 0.16), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim);
}

.btn-load:hover {
  color: #e6ffe0;
  border-color: rgba(74, 222, 128, 0.72);
  background:
    linear-gradient(90deg, rgba(74, 222, 128, 0.75) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 12%, rgba(74, 222, 128, 0.22), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

.btn-close-modal {
  color: var(--brass-text);
  border: 1px solid var(--brass);
  background: var(--btn-brass-face);
  box-shadow: var(--btn-brass-rim);
}

.btn-close-modal:hover {
  color: #fff6e0;
  border-color: rgba(240, 226, 196, 0.65);
  background: var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

.btn-disabled {
  background: #161a20;
  color: #555;
  cursor: not-allowed;
  box-shadow: none;
  border-color: rgba(120, 130, 145, 0.25);
}

.btn-add {
  color: #d7ecff;
  border: 1px solid rgba(76, 160, 255, 0.5);
  background:
    linear-gradient(90deg, rgba(59, 158, 255, 0.55) 0 3px, transparent 3px),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim);
}
.btn-add:hover {
  color: #eff7ff;
  border-color: rgba(120, 180, 255, 0.7);
  background:
    linear-gradient(90deg, rgba(86, 171, 255, 0.7) 0 3px, transparent 3px),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

.btn-edit {
  color: var(--brass-text);
  border: 1px solid var(--brass);
  background: var(--btn-brass-face);
  box-shadow: var(--btn-brass-rim);
}
.btn-edit:hover {
  color: #fff6e0;
  border-color: rgba(240, 226, 196, 0.65);
  background: var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

.btn-delete {
  color: #ffd0d6;
  border: 1px solid rgba(255, 80, 100, 0.5);
  background:
    linear-gradient(90deg, rgba(185, 28, 28, 0.65) 0 3px, transparent 3px),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim);
}
.btn-delete:hover {
  color: #fff;
  border-color: rgba(255, 120, 140, 0.7);
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.75) 0 3px, transparent 3px),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

.car-editor {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 30;
  padding: 18px 18px 20px;
  background: var(--brass-face); /* opaque panel base — no list bleed-through */
  gap: 10px;
  flex-direction: column;
  overflow: auto;
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 3px var(--brass-inset);
}

.car-editor.open {
  display: flex;
}

.editor-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--brass-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--mono);
}

.editor-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.editor-grid .field {
  grid-template-columns: 140px 1fr;
}

.editor-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.editor-actions .btn {
  flex: 1;
}

.garage-reset-row {
  padding: 0 18px 16px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
}

.link-reset {
  background: none;
  border: none;
  color: #7dd3fc;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--sans);
  padding: 4px 8px;
  border-radius: 4px;
}

.link-reset:hover {
  color: #bae6fd;
}

.footer-hub {
  margin: 6px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.footer-support-link {
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.08), transparent 60%),
    rgba(8, 14, 20, 0.75);
  border: 1px solid var(--brass);
  color: var(--brass-text);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.footer-support-link:hover {
  color: #fff;
  border-color: rgba(240, 226, 196, 0.65);
  background: rgba(240, 226, 196, 0.10);
}

.footer-support-link:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 2px;
}

.hub-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  color: #e8fbff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.10), transparent 45%),
    linear-gradient(180deg, rgba(45, 226, 230, 0.14), rgba(45, 226, 230, 0.05)),
    rgba(8, 14, 20, 0.85);
  border: 1px solid var(--brass);
  box-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 2px var(--brass-inset),
    0 0 18px rgba(45, 226, 230, 0.18),
    0 0 28px rgba(200, 255, 74, 0.08);
  animation: hub-pulse 2.8s ease-in-out infinite;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.hub-link-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 6px;
  border-radius: 999px;
  color: #061018;
  background: linear-gradient(180deg, #7af5ff, var(--cyan));
  box-shadow: 0 0 10px rgba(45, 226, 230, 0.45);
}

.hub-link-text {
  color: #dffcff;
}

.hub-link-arrow {
  color: var(--lime);
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(200, 255, 74, 0.45);
}

.hub-link:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(240, 226, 196, 0.7);
  box-shadow:
    inset 0 0 0 1px var(--brass-strong),
    inset 0 0 0 2px var(--brass-inset),
    0 0 24px rgba(45, 226, 230, 0.30),
    0 0 32px rgba(200, 255, 74, 0.16);
  transform: translateY(-1px);
}

@keyframes hub-pulse {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px var(--brass-strong),
      inset 0 0 0 2px var(--brass-inset),
      0 0 14px rgba(45, 226, 230, 0.16),
      0 0 22px rgba(200, 255, 74, 0.06);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px var(--brass-strong),
      inset 0 0 0 2px var(--brass-inset),
      0 0 22px rgba(45, 226, 230, 0.28),
      0 0 34px rgba(200, 255, 74, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-link {
    animation: none;
  }
}



/* FWD | RWD | AWD segmented control */
.drive-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.drive-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-text);
  opacity: 0.92;
}

.drive-seg {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background: #0a0c0f;
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.drive-seg.drive-seg-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.drive-seg.drive-seg-4 .drive-opt span {
  padding: 8px 4px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.drive-opt {
  position: relative;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.drive-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.drive-opt span {
  display: block;
  text-align: center;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brass-text);
  opacity: 0.8;
  background: transparent;
  border-right: 1px solid rgba(215, 196, 160, 0.22);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.drive-opt:last-child span {
  border-right: none;
}

.drive-opt:hover span {
  color: var(--text);
  opacity: 1;
  background: rgba(240, 226, 196, 0.06);
}

.drive-opt input:checked + span {
  color: #0a0c0f;
  opacity: 1;
  background: linear-gradient(180deg, #d4ff6a, var(--lime));
  box-shadow: 0 0 14px rgba(184, 255, 60, 0.35);
}

/* Disabled radios (light-curb Diff lock: all four, LSD internal / not a user choice) */
.drive-opt input:disabled + span {
  opacity: 0.45;
  cursor: not-allowed;
}
.drive-opt input:disabled:checked + span {
  color: var(--brass-text);
  background: transparent;
  box-shadow: none;
  opacity: 0.5;
}
.drive-opt:has(input:disabled):hover span {
  color: var(--brass-text);
  background: transparent;
  opacity: 0.45;
}
.drive-opt:has(input:disabled:checked):hover span {
  opacity: 0.5;
}

.diff-seg-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.diff-seg-row .drive-seg {
  flex: 1 1 auto;
  min-width: 0;
}
.diff-wheelie-note {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--brass-text);
  opacity: 0.7;
  white-space: nowrap;
  user-select: none;
}
.diff-wheelie-note[hidden] {
  display: none !important;
}



/* ── Desktop fixed sizes (baked Comfortable) + centered column ── */
@media (min-width: 1101px) {
  .app {
    width: var(--desk-content-w);
    max-width: var(--desk-content-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .header,
  .top-grid,
  .dashboard,
  .app-footer {
    width: 100%;
    box-sizing: border-box;
  }

  .top-grid {
    grid-template-columns: 280px 280px 320px;
    gap: 12px;
    justify-content: start;
  }

  .top-grid {
    align-items: stretch;
  }

  .top-grid > .card,
  .top-grid > .atmosphere-card,
  .top-grid > .results-card {
    height: auto !important;
    min-height: 481px;
    max-height: none !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .vehicle-card {
    height: auto !important;
    overflow: visible !important;
  }

  .dashboard {
    /* 280 + 12 + 611 = 903 ≈ desk content width; chart takes former 140px strip */
    grid-template-columns: 280px 611px;
    gap: 12px;
    justify-content: start;
    height: 375px;
    min-height: 375px;
    max-height: 375px;
    flex: 0 0 375px;
  }

  .gauge-wrap,
  .chart-card {
    height: 375px;
    max-height: 375px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .gauge-wrap {
    padding: 8px 10px 12px;
  }
}

/* Mobile / narrow: Time Slip may grow with content (desktop stays fixed+scroll) */
@media (max-width: 800px) {
  .results-card {
    overflow: visible;
    max-height: none;
    align-self: stretch;
  }
  .results-out,
  .results-out.run-board {
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
    scrollbar-gutter: auto;
  }
  .field {
    grid-template-columns: max-content minmax(88px, 1fr);
  }
}

@media (max-width: 1100px) {
  .top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .results-card {
    grid-column: 1 / -1;
  }
  .dashboard {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }
  .header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .header-credit {
    align-items: center;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .top-grid,
  .dashboard {
    grid-template-columns: 1fr;
  }
  .field {
    grid-template-columns: max-content minmax(80px, 1fr);
  }
  .brand {
    flex-direction: column;
  }
}


/* ── Carbon theme polish ── */
.field input:focus,
.field select:focus,
.garage-search input:focus {
  border-color: var(--brass-text);
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(215, 196, 160, 0.35);
}

/* HP source / transmission / locked loss */
.hp-source-row .drive-opt span,
.tx-row .drive-opt span {
  font-size: 10px;
  padding: 6px 4px;
  letter-spacing: 0.02em;
}

.tx-row .drive-seg {
  grid-template-columns: 1fr 1fr 1fr;
}
.tx-row .drive-seg.drive-seg-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#loss.is-locked,
#loss:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(20, 24, 32, 0.85);
}

#lossHint {
  margin-top: -0.15rem;
  margin-bottom: 0.35rem;
}

.tx-row {
  margin-top: 0.15rem;
}

/* Phase 1 — hide powertrain loss from vehicle parameters */
.loss-field-hidden,
label.field.loss-field-hidden {
  display: none !important;
}

/* ── Support intake (Phase 9) ── */
.header-support-btn {
  background: var(--btn-brass-face);
  border: 1px solid var(--brass);
  color: var(--brass-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--btn-brass-rim);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.header-support-btn:hover {
  background: var(--btn-brass-face-strong);
  border-color: rgba(240, 226, 196, 0.65);
  color: #fff6e0;
  box-shadow: var(--btn-brass-rim-hover);
}

.header-support-btn:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 2px;
}

.header-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
}

.support-modal {
  width: min(560px, 100%);
  max-height: min(780px, 92vh);
  /* inherit .modal brass bezel; opaque carbon face */
}

.support-body {
  gap: 12px;
  overflow: auto;
}

.support-disclaimer,
.support-live-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
}

.support-live-note {
  color: var(--brass-text);
  opacity: 0.9;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--brass);
  background: #080a0d;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.support-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.support-tab {
  background: #12161d;
  border: 1px solid var(--brass);
  color: var(--brass-text);
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--sans);
  cursor: pointer;
  line-height: 1.25;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.support-tab:hover {
  color: #fff;
  border-color: rgba(240, 226, 196, 0.55);
}

.support-tab.active,
.support-tab[aria-selected="true"] {
  color: #0a0c0f;
  background: linear-gradient(180deg, #f0e2c4, #b89a62);
  border-color: rgba(106, 87, 56, 0.55);
}

.support-shared,
.support-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--brass);
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.05), transparent 40%),
    #080a0d;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
}

.support-section[hidden] {
  display: none !important;
}

.support-shared .field,
.support-section .field {
  grid-template-columns: 140px 1fr;
}

.field .opt,
.field .req {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
  color: var(--text-dim);
}

.field .req {
  color: #fca5a5;
}

.field-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.field-stack > span {
  white-space: normal;
}

.support-shared textarea,
.support-section textarea,
.field-stack textarea {
  background:
    linear-gradient(180deg, rgba(240, 226, 196, 0.04), transparent 40%),
    var(--input-bg);
  border: 1px solid var(--brass);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  font-family: var(--sans);
  width: 100%;
  resize: vertical;
  min-height: 64px;
  box-shadow: inset 0 0 0 1px var(--brass-inset);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.support-shared textarea:hover,
.support-section textarea:hover,
.field-stack textarea:hover {
  border-color: rgba(240, 226, 196, 0.55);
}

.support-shared textarea:focus,
.support-section textarea:focus,
.field-stack textarea:focus {
  outline: none;
  border-color: var(--brass-text);
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(215, 196, 160, 0.35);
}

.support-error {
  margin: 0;
  color: #fecaca;
  background: rgba(185, 28, 28, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}

.support-actions .btn {
  flex: 1;
  min-width: 120px;
}

.garage-empty {
  list-style: none;
  padding: 18px 14px;
  text-align: center;
  color: #9ca3af;
  cursor: default;
}

.garage-empty-title {
  font-size: 13px;
  font-weight: 650;
  color: #d1d5db;
  margin-bottom: 6px;
}

.garage-empty-hint {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.4;
}

.btn-request-vehicle {
  color: #d7ecff;
  border: 1px solid rgba(76, 160, 255, 0.5);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--sans);
  cursor: pointer;
  background:
    linear-gradient(90deg, rgba(59, 158, 255, 0.55) 0 3px, transparent 3px),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim);
}

.btn-request-vehicle:hover {
  color: #eff7ff;
  border-color: rgba(120, 180, 255, 0.7);
  background:
    linear-gradient(90deg, rgba(86, 171, 255, 0.7) 0 3px, transparent 3px),
    var(--btn-brass-face-strong);
  box-shadow: var(--btn-brass-rim-hover);
}

@media (max-width: 560px) {
  .support-tabs {
    grid-template-columns: 1fr;
  }
  .support-shared .field,
  .support-section .field {
    grid-template-columns: 1fr;
  }
}


/* ── Phase 14 — full-site brass chrome residuals / mobile ── */
.field-hint {
  color: var(--brass-text);
  opacity: 0.7;
}

.progress-labels {
  color: var(--brass-text);
}

.chart-wrap {
  border: 1px solid var(--brass);
  box-shadow:
    inset 0 0 0 1px var(--brass-inset),
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
}

/* Keep 3-col TX / layout radios readable; prevent page overflow */
.app {
  overflow-x: clip;
  max-width: 100%;
}

.drive-seg,
.drive-seg.drive-seg-4,
.tx-row .drive-seg {
  min-width: 0;
  width: 100%;
}

@media (max-width: 700px) {
  .app {
    padding-left: 10px;
    padding-right: 10px;
  }
  .header,
  .app-footer,
  .card,
  .gauge-wrap,
  .chart-card,
  .modal {
    max-width: 100%;
  }
  .drive-opt span,
  .drive-seg.drive-seg-4 .drive-opt span,
  .hp-source-row .drive-opt span,
  .tx-row .drive-opt span {
    font-size: 10px;
    padding: 7px 2px;
    letter-spacing: 0.02em;
  }
  .card::after,
  .gauge-wrap::after,
  .chart-card::after,
  .modal::after {
    inset: 4px;
    opacity: 0.32;
  }
}


/* Phase 32 — Test / Drag + run timer in former ATC location (under Differential) */
.vehicle-run-actions {
  margin-top: 10px;
  padding: 9px 9px 8px;
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  background: rgba(10, 12, 15, 0.72);
  box-shadow: inset 0 0 0 1px var(--brass-inset);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vehicle-run-actions .run-controls-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.vehicle-run-actions .btn-test,
.vehicle-run-actions .btn-drag {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 8px;
  font-size: 12px;
  letter-spacing: 0.07em;
}

.vehicle-run-actions .run-timer {
  font-size: 16px;
  padding: 7px 6px;
  margin: 0;
  text-align: center;
}


/* ── Phase 35 — mobile: contain layout after garage load (long Name/Source) ── */
@media (max-width: 800px) {
  .top-grid,
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
  }

  .card,
  .vehicle-card,
  .atmosphere-card,
  .results-card,
  .gauge-wrap,
  .chart-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    /* Override global/desktop .vehicle-card { overflow: visible !important } */
    overflow-x: clip !important;
  }

  .field {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  }

  .field > span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drive-row,
  .drive-seg,
  .drive-seg.drive-seg-4,
  .tx-row .drive-seg,
  .hp-source-row,
  .diff-seg-row,
  .check-garage-row,
  .garage-step-row,
  .drag-pack-row,
  .vehicle-run-actions {
    min-width: 0;
    max-width: 100%;
  }

  .results-out,
  .results-out.run-board {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .active-vehicle-label {
    max-width: 100%;
    min-width: 0;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }
}

@media (max-width: 700px) {
  .top-grid,
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .field {
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  }
}


/* Phase 36 — Garage above Vehicle Parameters (step 1) */
.garage-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 10px 10px 10px 8px;
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  background: rgba(10, 12, 15, 0.72);
  box-shadow: inset 0 0 0 1px var(--brass-inset);
  min-width: 0;
  max-width: 100%;
}
.garage-step-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.garage-step-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.garage-step-hint {
  font-size: 12px;
  color: rgba(232, 215, 176, 0.78);
  line-height: 1.25;
}
#btnGarage.btn-garage-step,
.btn-garage-step {
  /* keep 74×74 brass Garage chrome; sit in step row */
}

/* Edit Vehicle takes former Garage slot beside NA/FI/EV */
#btnEditParams.btn-edit-params,
.btn-edit-params {
  box-sizing: border-box;
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  min-height: 74px !important;
  max-height: 74px !important;
  flex: 0 0 74px !important;
  margin: 0 !important;
  padding: 4px 2px !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.15;
  text-align: center;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #e8f5ff;
  border: 1px solid rgba(120, 190, 255, 0.55);
  background:
    linear-gradient(90deg, rgba(80, 160, 255, 0.55) 0 3px, transparent 3px),
    radial-gradient(ellipse at 50% 18%, rgba(120, 190, 255, 0.22), transparent 55%),
    var(--btn-brass-face-strong);
  box-shadow:
    var(--btn-brass-rim),
    0 0 16px rgba(80, 160, 255, 0.16);
}
.btn-edit-params:hover {
  color: #fff;
  border-color: rgba(160, 210, 255, 0.75);
  box-shadow: var(--btn-brass-rim-hover), 0 0 20px rgba(80, 160, 255, 0.28);
}

/* Drag Setup + Track Prep under Differential */
.drag-pack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  background: rgba(10, 12, 15, 0.55);
  box-shadow: inset 0 0 0 1px var(--brass-inset);
  min-width: 0;
}
.drag-pack-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brass-text);
  cursor: pointer;
  min-width: 0;
}
.drag-pack-toggle input {
  accent-color: #c9a227;
}
.drag-pack-toggle input:disabled + span {
  opacity: 0.45;
}
.drag-pack-hint {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 215, 176, 0.7);
  white-space: nowrap;
}

/* Phase 36 — Test/Drag+timer live in atmosphere above Play */
.atmosphere-card .vehicle-run-actions {
  margin-top: 12px;
}


/* Hub front-door — shared chrome above .app */
body > .vb-chrome {
  max-width: 1440px;
  margin: 0.65rem auto 0;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
body.race-page > .vb-chrome,
body > .vb-chrome {
  box-sizing: border-box;
}

/* 2026 Tesla Roadster estimates disclaimer (shown only when a Roadster trim is loaded) */
.roadster-est {
  margin: 6px 0 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 184, 77, 0.55);
  border-left: 3px solid #ffb84d;
  border-radius: 6px;
  background: rgba(255, 184, 77, 0.08);
  color: #f0dfc2;
  font-size: 12px;
  line-height: 1.45;
}
