/* ============================================================
   CONNECTED CAPITAL — OPERATIONS DASHBOARD
   Brand: forest green + teal accent + Montserrat (matches CC site)
   Surfaces: dark sidebar + cream/white workspace (admin pattern)
   ============================================================ */

:root {
  /* Brand palette (matches connectedcapital.biz) */
  --brand-deep:    #002b20;
  --brand-dark:    #003b2c;
  --brand-mid:     #005a42;
  --brand-light:   #007551;
  --brand-accent:  #69d0a9;
  --brand-glow:    rgba(105, 208, 169, 0.18);
  --gold:          #c9a86a;
  --gold-soft:     #d8be88;

  /* Surfaces */
  --bg:            #f5f3ec;
  --bg-card:       #ffffff;
  --bg-card-2:     #fafaf6;
  --bg-card-3:     #f0ede0;
  --sidebar-bg:    linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 70%, var(--brand-mid) 100%);

  /* Ink */
  --ink:           #0e1d18;
  --ink-2:         #38463f;
  --ink-3:         #74807a;
  --ink-soft:      #98a39e;
  --line:          #e3e0d4;
  --line-soft:     #efece1;

  /* Sidebar ink (on dark) */
  --side-ink:      #f3efe6;
  --side-ink-2:    rgba(243, 239, 230, 0.66);
  --side-ink-3:    rgba(243, 239, 230, 0.38);
  --side-line:     rgba(255, 255, 255, 0.08);

  /* Status colors */
  --danger:        #b8473a;
  --warn:          #ad7c1f;
  --ok:            #2e7d54;
  --info:          #2f6e8b;

  /* Layers */
  --shadow-sm:     0 1px 2px rgba(0, 30, 20, 0.05);
  --shadow:        0 1px 2px rgba(0, 30, 20, 0.05), 0 8px 24px rgba(0, 30, 20, 0.06);
  --shadow-lg:     0 4px 8px rgba(0, 30, 20, 0.06), 0 18px 48px rgba(0, 30, 20, 0.10);

  /* Layout */
  --radius:        10px;
  --radius-sm:     6px;
  --radius-pill:   999px;
  --sidebar-w:     260px;

  /* Type */
  --font-sans:     'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-display:  'Fraunces', 'Tiempos Headline', Georgia, serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Motion */
  --t-quick: 160ms;
  --t-base:  240ms;
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

a { color: var(--brand-light); text-decoration: none; }
a:hover { color: var(--brand-mid); }

button {
  font-family: inherit;
  font-size: inherit;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  transition: border-color var(--t-quick), box-shadow var(--t-quick);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

::selection { background: var(--brand-glow); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  background: var(--sidebar-bg);
  color: var(--side-ink);
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  padding: 6px 10px 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--side-line);
  color: var(--side-ink);
}
.brand:hover { color: var(--side-ink); }

.brand-mark {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: block;
}
.brand-name {
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-name em {
  font-style: normal;
  color: var(--brand-accent);
}
.brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--side-ink-3);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--side-ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: background var(--t-quick), color var(--t-quick);
  position: relative;
}
.side-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--side-ink);
}
.side-nav a.active {
  background: rgba(105, 208, 169, 0.08);
  color: var(--brand-accent);
}
.side-nav a.active::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--brand-accent);
}
.nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-icon svg { width: 100%; height: 100%; }
.nav-label { flex: 1; }
.nav-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 106, 0.10);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 168, 106, 0.22);
}

.side-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--side-line);
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.user-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 8px var(--brand-accent);
  flex-shrink: 0;
}
.user-meta { display: flex; flex-direction: column; min-width: 0; }
.user-email {
  font-size: 12px;
  color: var(--side-ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.user-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--side-ink-3);
}
.logout-link {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--side-ink-3);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--t-quick), background var(--t-quick);
}
.logout-link:hover {
  color: var(--side-ink);
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   APP (right pane)
   ============================================================ */
.app {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 236, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumb-brand { color: var(--ink-2); }
.crumb-sep { color: var(--brand-accent); }
.crumb-current { color: var(--brand-dark); font-weight: 600; }
.topbar-search input {
  width: 100%;
  max-width: 480px;
  padding: 9px 14px;
  background: var(--bg-card);
  font-size: 13px;
}
.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--brand-mid) 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 60, 40, 0.18);
  transition: filter var(--t-quick), transform var(--t-quick);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 12.5px;
  transition: background var(--t-quick), border-color var(--t-quick), color var(--t-quick);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--brand-mid);
  color: var(--brand-mid);
}

.btn-mini {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--brand-mid);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter var(--t-quick);
}
.btn-mini:hover { filter: brightness(1.1); }

/* ============================================================
   ROUTE / VIEWS
   ============================================================ */
.route {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1480px;
}
.route.hidden { display: none; }
.route-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.012em;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.route-head .route-sub {
  color: var(--ink-2);
  font-size: 13.5px;
  max-width: 78ch;
}

/* KPI row (overview) */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kpi {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1;
  margin: 8px 0 4px;
}
.kpi-note {
  font-size: 11.5px;
  color: var(--ink-3);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.card-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--brand-dark);
}
.card-link {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

/* Pipeline strip on overview */
.pipeline-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.stage {
  background: var(--bg-card-2);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.stage-name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stage-count {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1;
}

/* ============================================================
   FILES VIEW
   ============================================================ */
.files-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.deals-list-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-head h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.deals-list {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}
.deals-list-empty {
  padding: 24px 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-style: italic;
  text-align: center;
}
.deals-list .deal-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 13px;
  color: var(--ink);
  transition: background var(--t-quick), color var(--t-quick);
}
.deals-list .deal-pill:hover { background: var(--bg-card-2); }
.deals-list .deal-pill.active {
  background: var(--brand-glow);
  color: var(--brand-dark);
  font-weight: 600;
}
.pill-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.pill-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  background: var(--bg-card-3);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}
.deals-list .deal-pill.active .pill-count {
  background: var(--brand-mid);
  color: #fff;
}
.panel-foot {
  padding: 8px 6px 6px;
  border-top: 1px solid var(--line-soft);
}
.triage-pill {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 106, 0.07);
  color: var(--gold);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: background var(--t-quick);
}
.triage-pill:hover { background: rgba(201, 168, 106, 0.14); }
.triage-pill.active {
  background: rgba(201, 168, 106, 0.18);
}

/* Files panel */
.files-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  min-height: 380px;
}
.files-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.panel-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.files-panel-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.1;
}

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 36px 24px;
  margin-bottom: 18px;
  transition: border-color var(--t-base), background var(--t-base);
}
.drop-zone.is-over {
  border-color: var(--brand-mid);
  background: rgba(105, 208, 169, 0.08);
}
.drop-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
}
.drop-icon {
  width: 56px;
  height: 56px;
  color: var(--ink-soft);
}
.drop-icon svg { width: 100%; height: 100%; }
.drop-zone.is-over .drop-icon { color: var(--brand-mid); }
.drop-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-dark);
}
.drop-sub {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* File list */
.file-list {
  list-style: none;
}
.file-list.compact { font-size: 13px; }
.file-row {
  display: grid;
  grid-template-columns: 32px 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.file-row:last-child { border-bottom: none; }
.file-icon {
  width: 32px; height: 32px;
  background: var(--bg-card-3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
}
.file-name {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.file-action {
  color: var(--brand-mid);
  font-size: 12px;
  font-weight: 500;
}
.file-action:hover { color: var(--brand-dark); }
.empty {
  padding: 28px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
}

/* ============================================================
   PIPELINE VIEW (board)
   ============================================================ */
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: start;
}
.board-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-height: 200px;
}
.board-col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.board-card {
  background: var(--bg-card-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color var(--t-quick), transform var(--t-quick);
}
.board-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-1px);
}
.board-card-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.board-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ============================================================
   INBOX (phase 2 placeholder)
   ============================================================ */
.phase2-card {
  background: var(--bg-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  max-width: 640px;
  margin: 16px 0 0;
}
.phase2-icon {
  font-size: 28px;
  color: var(--brand-mid);
  margin-bottom: 8px;
}
.phase2-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-dark);
  margin-bottom: 8px;
}
.phase2-card p {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.phase2-checklist {
  list-style: none;
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-2);
  display: inline-block;
  margin: 0 auto;
}
.phase2-checklist li {
  padding: 4px 0;
  position: relative;
  padding-left: 22px;
}
.phase2-checklist li::before {
  content: '○';
  position: absolute;
  left: 4px;
  color: var(--brand-mid);
  font-weight: 700;
}

/* ============================================================
   ACTIVITY
   ============================================================ */
.activity-list {
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.activity-list li {
  padding: 12px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.activity-list li:last-child { border-bottom: none; }
.activity-list .empty { padding: 28px 12px; }
.activity-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ============================================================
   MODAL (new deal)
   ============================================================ */
.modal {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0;
  background: var(--bg-card);
  width: min(440px, calc(100vw - 32px));
}
.modal::backdrop {
  background: rgba(0, 30, 20, 0.45);
  backdrop-filter: blur(2px);
}
.modal form {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.modal label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.modal label > span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--brand-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: 100;
  max-width: 360px;
}
.toast[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}
.toast.toast-error { background: var(--danger); }
.toast.toast-success { background: var(--ok); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  body { grid-template-columns: 220px 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .pipeline-board { grid-template-columns: repeat(3, 1fr); }
  .files-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    padding: 14px 16px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--side-line);
  }
  .side-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; margin-top: 10px; }
  .side-nav a { padding: 8px 12px; }
  .side-nav a.active::before { display: none; }
  .side-footer { flex: 1 1 100%; margin-top: 10px; padding-top: 12px; }
  .route { padding: 22px 18px; }
  .topbar { grid-template-columns: 1fr; gap: 10px; padding: 12px 16px; }
  .topbar-search { order: 3; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .pipeline-board { grid-template-columns: 1fr; }
  .pipeline-strip { grid-template-columns: 1fr 1fr; }
}
