/* SIF Gruppen field-service orchestration - shared light theme.
 * Mobile-first on customer screens (book.php), desktop on /admin.
 */

:root {
  /* Brandpalette fra SIF-logoet (5/8): dyb petrol + SIF-roed som accent.
   * Roed er reserveret til brandmaerket, saa den ikke kolliderer med danger. */
  --brand:      #1d4353;
  --brand-2:    #132f3c;
  --accent:     #e2231a;
  --bg:          #eef1f4;
  --surface:    #ffffff;
  --surface-2:  #f7f9fa;
  --border:     #e1e6ea;
  --border-2:   #c7cfd6;
  --text:       #12222e;
  --text-muted: #55636e;
  --text-dim:   #87949e;
  --primary:    #1c637f;
  --primary-2:  #144b62;
  --primary-bg: #e6f0f5;
  --success:    #1e8a4d;
  --success-bg: #e7f5ec;
  --danger:     #b3261e;
  --danger-bg:  #fdecea;
  --warn:       #a16207;
  --warn-bg:    #fef6e0;
  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(19, 47, 60, 0.05), 0 4px 16px rgba(19, 47, 60, 0.06);
  --shadow-lift: 0 2px 4px rgba(19, 47, 60, 0.08), 0 8px 24px rgba(19, 47, 60, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  /* Svag petrol-tone oeverst -> neutral: giver dybde uden at stjaele fokus */
  background: linear-gradient(180deg, #e7edf1 0%, var(--bg) 280px) fixed var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

::selection { background: var(--primary-bg); color: var(--primary-2); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--text); font-weight: 600; }
h1 { font-size: 1.5rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1rem 0 0.25rem; }

.muted { color: var(--text-muted); }
.dim   { color: var(--text-dim); }
.small { font-size: 0.875rem; }
.tiny  { font-size: 0.75rem; }

/* ── Customer-facing booking page ───────────────────────────────────────── */

.book-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.book-header {
  margin-bottom: 1.5rem;
  text-align: center;
}
.book-logo {
  height: 80px;
  width: auto;
  margin-bottom: 0.5rem;
}
.book-header .brand {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.case-summary dt { font-weight: 600; color: var(--text-muted); font-size: 0.875rem; margin-top: 0.5rem; }
.case-summary dd { margin: 0 0 0.25rem; }

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.slot-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  margin: 0;
}
.slot-form { margin: 0; padding: 0; }
.slot-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s ease;
}
.slot-button:hover { background: var(--primary-bg); }
.slot-button:focus { outline: 2px solid var(--primary); outline-offset: -2px; }
.slot-day { font-weight: 600; font-size: 1rem; }
.slot-time { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.125rem; }
.slot-tech { color: var(--text-dim); font-size: 0.8125rem; margin-top: 0.25rem; }

/* Primær tilbudt tid (kunde-webform): fremhævet + bekræft, alternativer foldet væk */
.primary-offer { border: 2px solid var(--primary); }
.primary-offer-label {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--primary); font-weight: 600;
}
.primary-offer-when { font-size: 1.4rem; font-weight: 700; margin: 0.25rem 0; }
.primary-offer-tech { color: var(--text-muted); margin-bottom: 1rem; }
.slot-confirm-btn { width: 100%; font-size: 1.05rem; padding: 0.85rem; }
.slot-alt-toggle { width: 100%; margin-top: 0.6rem; }

.banner {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.banner-warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn); }
.banner-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success); }
.banner-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(19, 47, 60, 0.20);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(19, 47, 60, 0.20); }
.btn:focus-visible { outline: 3px solid var(--primary-bg); outline-offset: 1px; }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
  box-shadow: 0 1px 2px rgba(19, 47, 60, 0.06);
}
.btn-secondary:hover { filter: none; background: var(--surface-2); }
.btn-link {
  background: none;
  border: 0;
  color: var(--primary);
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.btn-link:hover { text-decoration: underline; }

/* ── Admin (desktop-first) ──────────────────────────────────────────────── */

.admin-shell { display: grid; grid-template-rows: auto 1fr; min-height: 100vh; }
.admin-topbar {
  background: linear-gradient(90deg, var(--brand-2) 0%, var(--brand) 60%, #24586d 100%);
  color: #eef4f7;
  padding: 0.625rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  /* Over Leaflets paneler/kontroller (op til 1000), under why-drawer (1100)
     og modaler (2000) — ellers ligger kortet ovenpaa baren og aeder klik. */
  z-index: 1050;
  box-shadow: 0 2px 12px rgba(19, 47, 60, 0.25);
}
.admin-topbar .brand {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9375rem;
  color: #fff;
  white-space: nowrap;
}
.admin-topbar .brand .brand-sif {
  color: #ff5147;             /* SIF-roed, lysnet en anelse for kontrast paa moerk bund */
  font-weight: 800;
  letter-spacing: 0.06em;
}
.admin-topbar .brand .brand-tag {
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  color: #a9c2ce;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.125rem 0.5rem;
  margin-left: 0.625rem;
  vertical-align: 2px;
}
.admin-topbar nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.admin-topbar nav a {
  margin-left: 0;
  color: #c3d4dc;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-topbar nav a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; text-decoration: none; }
.admin-topbar nav a.active { background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 600; }
.admin-main { padding: 1.75rem 1.5rem; max-width: 1280px; margin: 0 auto; width: 100%; }

.login-wrap {
  max-width: 420px;
  margin: 10vh auto 4rem;
  padding: 1.5rem 1rem;
}
.login-wrap h1 {
  text-align: center;
  letter-spacing: 0.02em;
}
.login-wrap .card {
  padding: 1.75rem;
  box-shadow: var(--shadow-lift);
  border-top: 4px solid var(--brand);
}
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=password],
.form-row input[type=number],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--surface);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
  border-color: var(--primary);
}

/* ── Admin dashboard ─────────────────────────────────────────────────────── */
.admin-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.admin-header h1 { margin: 0; }
.window-picker { display: flex; align-items: center; gap: 0.5rem; }
.window-picker select {
  padding: 0.375rem 0.5rem; border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); background: var(--surface);
}

.kpi-grid {
  display: grid; gap: 0.75rem; margin-bottom: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.kpi-grid-tight { margin-bottom: 0.75rem; }
.kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.875rem 1rem 0.875rem 1.125rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--brand));
  border-radius: 4px 0 0 4px;
}
.kpi-label { color: var(--text-muted); font-size: 0.8125rem; }
.kpi-value { font-size: 1.625rem; font-weight: 700; margin-top: 0.25rem; color: var(--brand); font-variant-numeric: tabular-nums; }

.dash-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
@media (max-width: 760px) { .dash-row { grid-template-columns: 1fr; } }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left; padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-size: 0.6875rem; color: var(--text-muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--surface-2);
  /* (13/8) sticky headers droppet: hæftede skævt ift. topbaren, og rækker
     skinnede igennem i mellemrummet. */
}
.table tbody tr { transition: background 0.1s ease; }
.table tbody tr:hover { background: var(--primary-bg); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.125rem 0.625rem 0.125rem 0.5rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.02em;
}
.status-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
}
.status-new       { background: var(--primary-bg); color: var(--primary-2); }
.status-offered   { background: var(--warn-bg);    color: var(--warn); }
.status-booked    { background: var(--success-bg); color: var(--success); }
.status-done      { background: #eef0f3;           color: var(--text-muted); }
.status-cancelled { background: var(--danger-bg);  color: var(--danger); }

/* ── Planner page ────────────────────────────────────────────────────────── */
.planner-main { max-width: 1480px; }
.planner-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: minmax(320px, 380px) 1fr;
}
@media (max-width: 980px) { .planner-grid { grid-template-columns: 1fr; } }

.param-pane {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.125rem;
  align-self: start; box-shadow: var(--shadow);
  /* top-offset matcher den sticky topbar */
  position: sticky; top: 4rem; max-height: calc(100vh - 5rem); overflow-y: auto;
}
.param-pane h2 { margin: 0 0 0.75rem; font-size: 1.125rem; }
.param-section {
  border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.75rem;
}
.param-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.param-section h3 { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.slider-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.prio-row { margin-bottom: 0.625rem; }
.prio-row .tiny { display: flex; justify-content: space-between; }
.slider-row output { font-weight: 600; color: var(--primary); }
.two-col { display: grid; gap: 0.5rem; grid-template-columns: 1fr 1fr; }
.two-col label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8125rem; color: var(--text-muted); }
input[type="range"] {
  width: 100%; accent-color: var(--primary);
}
.wt-table, .tech-table { width: 100%; border-collapse: collapse; }
.wt-table td, .tech-table td, .tech-table th {
  padding: 0.25rem; vertical-align: middle;
}
.tech-table th { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-align: left; }
.wt-table input, .tech-table input {
  width: 100%; padding: 0.375rem 0.5rem; border: 1px solid var(--border-2);
  border-radius: 6px; font: inherit; background: var(--surface);
}
.param-actions {
  display: flex; gap: 0.5rem; margin-top: 1rem;
  border-top: 1px solid var(--border); padding-top: 1rem;
  /* Altid synlige (16/7): med avancerede indstillinger foldet ud scrollede
     knapperne ud af skaermen — nu klaeber de til bunden af viewporten. */
  position: sticky; bottom: 0;
  background: var(--surface, #fff);
  padding-bottom: 0.75rem; margin-bottom: -0.25rem;
  box-shadow: 0 -6px 12px -8px rgba(0,0,0,0.15);
  z-index: 10;
}
.param-actions .btn { flex: 1; }

.plan-pane { min-width: 0; }
.timeline-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.timeline-card h2 { margin-top: 0; }

.timeline {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.tl-header, .tl-row {
  display: grid;
  grid-template-columns: 120px repeat(var(--days), minmax(80px, 1fr));
  background: var(--surface);
}
.tl-header { background: var(--surface-2); }
.tl-tech-head, .tl-day-head, .tl-tech-cell, .tl-day-cell {
  padding: 0.5rem 0.625rem;
  background: var(--surface);
}
.tl-day-head, .tl-tech-cell {
  font-size: 0.8125rem; color: var(--text-muted); font-weight: 600;
}
.tl-day-head { text-align: center; background: var(--surface-2); }
.tl-tech-cell { background: var(--surface-2); }
.tl-day-cell {
  min-height: 72px; display: flex; flex-direction: column; gap: 0.25rem;
  transition: background 0.15s;
}
.tl-day-cell.drag-over {
  background: var(--primary-bg) !important;
  outline: 2px dashed var(--primary-2);
  outline-offset: -2px;
}
.tl-block[draggable] { cursor: grab; }
.tl-block[draggable]:active { cursor: grabbing; }
.tl-block {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; padding: 0.25rem 0.5rem;
  border-radius: 6px; border: 1px solid var(--primary-2);
  background: var(--primary-bg); color: var(--text);
  cursor: pointer; font: inherit;
}
.tl-block:hover { background: #d9e6f8; }
/* Primær vs. alternativ (13/8): primær = solid, kraftig venstrekant og fuld
   farve; alternativ = stiplet, dæmpet og nedtonet — så et byt aldrig ligner
   to primære. */
.tl-block-p {
  background: var(--primary-bg);
  border-left-width: 4px;
  border-left-color: var(--primary-2);
  box-shadow: 0 1px 2px rgba(19, 47, 60, 0.10);
}
.tl-block-a {
  background: var(--surface);
  border-style: dashed;
  border-color: var(--border-2);
  color: var(--text-muted);
  opacity: 0.85;
}
.tl-block-a:hover { opacity: 1; border-color: var(--primary); }
.tl-block-a .tl-time::after {
  content: " alt."; font-size: 0.625rem; font-weight: 600;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em;
}
/* O22 (28/8): eksisterende blokke (booket/ExpandIT) = graa, fravaer = skraveret; begge
   ikke-interaktive. Roed kant = fysisk umulig (koersel fra forrige stop naar ikke frem). */
.tl-block-x {
  background: #eef0f3; border-color: var(--border-2); color: var(--text-muted);
  cursor: default;
}
.tl-block-x:hover { background: #eef0f3; }
.tl-block-f {
  background: repeating-linear-gradient(135deg, #f3f4f6 0 6px, #e5e7eb 6px 12px);
  border-color: var(--border-2); color: var(--text-dim); cursor: default;
}
.tl-block-f:hover { background: repeating-linear-gradient(135deg, #f3f4f6 0 6px, #e5e7eb 6px 12px); }
.tl-block-warn { border-color: var(--danger) !important; box-shadow: 0 0 0 1px var(--danger) inset; }
.tl-travel { font-size: 0.6875rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tl-warn { font-size: 0.6875rem; color: var(--danger); font-weight: 700; }
.tl-time { font-weight: 600; font-size: 0.8125rem; }
.tl-name { font-size: 0.75rem; color: var(--text-muted); }
.tl-block-a .tl-name { color: var(--text-dim); }

.unplaced-list { list-style: none; padding: 0; margin: 0; }
.unplaced-list li { padding: 0.375rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }

/* ── Route map (self-hosted Leaflet, no tile provider) ───────────────────── */
.map-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.map-card h2 { margin-top: 0; }
#planner-map {
  height: 440px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #e9eef3;
}
.leaflet-container { background: #e9eef3; font: inherit; }
.legend {
  background: rgba(255, 255, 255, 0.92); padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-size: 0.75rem; line-height: 1.5; color: var(--text-muted);
}
.marker-pin {
  width: 22px; height: 22px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(14, 26, 43, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 11px;
}
.marker-pin span { transform: rotate(45deg); }
.marker-home {
  width: 26px; height: 26px; border-radius: 4px; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(14, 26, 43, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px;
}

/* ── Why? drawer ─────────────────────────────────────────────────────────── */
.why-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--surface); border-left: 1px solid var(--border);
  box-shadow: -8px 0 24px rgba(14, 26, 43, 0.08);
  transform: translateX(100%); transition: transform 0.18s ease-out;
  z-index: 1100; overflow-y: auto;
}
.why-drawer[aria-hidden="false"] { transform: translateX(0); }
.why-drawer-inner { padding: 1.25rem 1.25rem 2rem; }
.why-close {
  position: absolute; top: 0.5rem; right: 0.75rem;
  background: transparent; border: 0; font-size: 1.5rem; line-height: 1;
  cursor: pointer; color: var(--text-muted);
}
.why-section { margin-top: 1.25rem; }
.why-section h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.5rem; }
.why-section ul { margin: 0; padding-left: 1.125rem; }
.why-section li { margin-bottom: 0.25rem; }

/* "Hvorfor?"-facelift (13/8) */
#why-title { font-size: 1.0625rem; line-height: 1.4; padding-right: 1.5rem; }
.why-ref {
  display: inline-block; background: var(--brand); color: #fff;
  border-radius: 6px; padding: 0.1rem 0.5rem; font-size: 0.8125rem;
  font-weight: 700; letter-spacing: 0.02em; margin-right: 0.375rem;
}
.why-place { display: block; font-size: 0.8125rem; color: var(--text-muted); font-weight: 400; }
.why-hero {
  background: linear-gradient(135deg, var(--primary-bg), #f2f8f4);
  border: 1px solid var(--border); border-left: 4px solid var(--success);
  border-radius: var(--radius-sm); padding: 0.875rem 1rem; margin-top: 1rem;
}
.why-hero-label {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--success); font-weight: 700;
}
.why-hero-time { font-size: 1.75rem; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.why-hero-meta { font-size: 0.875rem; color: var(--text); font-weight: 600; }
.why-hero-why { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.5rem; }
.why-alt {
  display: flex; align-items: baseline; gap: 0.625rem;
  border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem; margin-bottom: 0.375rem; background: var(--surface);
}
.why-alt-time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--primary-2); }
.why-alt-meta { font-size: 0.8125rem; color: var(--text-muted); }
.why-techs { list-style: none; padding: 0 !important; margin: 0; }
.why-techs li {
  display: grid; grid-template-columns: 1.5rem auto 1fr; gap: 0.125rem 0.5rem;
  align-items: baseline; padding: 0.45rem 0.5rem; border-radius: var(--radius-sm);
  margin-bottom: 0.25rem;
}
.why-techs li.why-tech-first { background: var(--primary-bg); }
.why-rank {
  width: 1.375rem; height: 1.375rem; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 700; color: var(--text-muted);
}
.why-tech-first .why-rank { background: var(--brand); border-color: var(--brand); color: #fff; }
.why-tech-name { font-weight: 600; }
.why-travel { justify-self: end; font-size: 0.75rem; font-weight: 700; color: var(--primary-2); font-variant-numeric: tabular-nums; }
.why-techs .why-reason { grid-column: 2 / 4; font-size: 0.75rem; color: var(--text-muted); }
