/* ============ Satellites — Link Farm Control ============ */

:root {
  /* Palette */
  --bg:        #080d14;
  --surface:   #0d1825;
  --surface-2: #0f1d2e;
  --surface-3: #122438;
  --border:    #1a3a5c;
  --border-soft: #15293f;
  --text:      #e8f4ff;
  --text-dim:  #aac4dd;
  --muted:     #5a7a9a;

  /* Accents (hue-driven so Tweaks can rotate) */
  --accent:    #00c8ff;   /* neon cyan */
  --accent-2:  #0066cc;   /* mid blue  */

  /* Status */
  --st-pending:    #4a5568;
  --st-scheduled:  #3b82f6;
  --st-deployed:   #10b981;
  --st-indexed:    #06b6d4;
  --st-link_added: #8b5cf6;
  --st-done:       #6b7280;

  /* Anchor chips */
  --an-branded: #3b82f6;
  --an-naked:   #64748b;
  --an-lsi:     #8b5cf6;
  --an-generic: #475569;

  /* Glow control (0..1) */
  --glow: 0.35;

  /* Density */
  --row-py: 7px;
  --cell-px: 12px;
  --section-gap: 22px;

  /* Type */
  --font-head: 'Rajdhani', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

#root { height: 100%; }

::selection { background: color-mix(in oklab, var(--accent) 40%, transparent); }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #16314c; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #1f476c; }

/* ---------- Layout shell ---------- */
.app {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 100%;
  overflow: hidden;
}

.sidebar {
  background: linear-gradient(180deg, #0a121d, #080d14);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
  overflow-y: auto;
}

.main {
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: 26px 30px 80px;
}
.main-inner { max-width: 1280px; margin: 0 auto; }

/* ---------- Brand ---------- */
.brand { display: flex; gap: 11px; align-items: center; padding: 6px 8px 18px; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: radial-gradient(120% 120% at 30% 20%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%), var(--surface);
  color: var(--accent);
  box-shadow: 0 0 calc(var(--glow) * 22px) color-mix(in oklab, var(--accent) 55%, transparent);
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: .04em; line-height: 1; }
.brand-tag  { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }

/* ---------- Nav ---------- */
.nav-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; padding: 14px 8px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: 7px;
  color: var(--text-dim); cursor: pointer;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
  transition: background .12s, color .12s, border-color .12s;
  user-select: none;
}
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active {
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--text);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--border));
  box-shadow: inset 2px 0 0 var(--accent), 0 0 calc(var(--glow) * 16px) color-mix(in oklab, var(--accent) 30%, transparent);
}
.nav-item.active .icon { color: var(--accent); }
.nav-item .icon { color: var(--muted); flex: none; }
.nav-item.active .icon { color: var(--accent); }
.nav-spacer { flex: 1; }

.nav-logout {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: 7px;
  color: var(--muted); cursor: pointer; font-weight: 500;
  border: 1px solid var(--border-soft);
  margin-top: 8px;
}
.nav-logout:hover { color: #ff9a9a; border-color: #5c2233; background: #190d12; }

/* ---------- Headings ---------- */
.page-title { font-family: var(--font-head); font-weight: 600; font-size: 30px; letter-spacing: .01em; margin: 0; line-height: 1.05; }
.page-sub   { color: var(--muted); margin: 5px 0 0; font-size: 13px; }
.page-head  { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; gap: 16px; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: var(--section-gap) 0 12px; }
.section-title { font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin: 0; white-space: nowrap; }
.section-title .count { color: var(--muted); font-family: var(--font-mono); font-size: 12px; margin-left: 8px; font-weight: 400; letter-spacing: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.card.glow {
  box-shadow: 0 0 calc(var(--glow) * 20px) -4px color-mix(in oklab, var(--accent) 40%, transparent),
              inset 0 1px 0 color-mix(in oklab, var(--accent) 6%, transparent);
  border-color: color-mix(in oklab, var(--accent) 22%, var(--border-soft));
}

/* KPI row */
.kpi-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.kpi {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 0 calc(var(--glow) * 16px) -6px color-mix(in oklab, var(--accent) 45%, transparent);
  border-color: color-mix(in oklab, var(--accent) 18%, var(--border-soft));
}
.kpi::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--kpi-accent, var(--accent));
  box-shadow: 0 0 calc(var(--glow) * 14px) var(--kpi-accent, var(--accent));
}
.kpi-value { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: .01em; color: var(--text); }
.kpi-label { color: var(--muted); font-size: 11.5px; margin-top: 7px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px 2px 8px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  font-family: var(--font-mono); letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; box-shadow: 0 0 calc(var(--glow) * 8px) currentColor; }
.badge .dot { background: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 1px 8px; border-radius: 5px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent;
}

/* Platform badge */
.pbadge { display: inline-flex; align-items: center; gap: 7px; }
.pbadge .sq {
  width: 18px; height: 18px; border-radius: 4px; flex: none;
  display: grid; place-items: center; font-size: 11px;
  border: 1px solid color-mix(in oklab, var(--p-color, var(--accent)) 40%, var(--border-soft));
  background: color-mix(in oklab, var(--p-color, var(--accent)) 16%, var(--surface-2));
}
.pbadge .suffix { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

/* Archetype tag */
.arch { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-dim); white-space: nowrap; }
.arch .em { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 6px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  border: 1px solid var(--border); background: transparent; color: var(--text-dim);
  transition: all .12s; line-height: 1.3;
}
.btn:hover { border-color: var(--muted); color: var(--text); }
.btn .em { font-size: 12px; }

.btn-cyan { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 50%, var(--border)); }
.btn-cyan:hover { background: color-mix(in oklab, var(--accent) 14%, transparent); border-color: var(--accent); color: #d6f6ff; box-shadow: 0 0 calc(var(--glow) * 16px) -2px color-mix(in oklab, var(--accent) 60%, transparent); }

.btn-purple { color: var(--an-lsi); border-color: color-mix(in oklab, var(--an-lsi) 50%, var(--border)); }
.btn-purple:hover { background: color-mix(in oklab, var(--an-lsi) 14%, transparent); border-color: var(--an-lsi); color: #e6dbff; box-shadow: 0 0 calc(var(--glow) * 16px) -2px color-mix(in oklab, var(--an-lsi) 55%, transparent); }

.btn-green { color: var(--st-deployed); border-color: color-mix(in oklab, var(--st-deployed) 50%, var(--border)); }
.btn-green:hover { background: color-mix(in oklab, var(--st-deployed) 14%, transparent); border-color: var(--st-deployed); color: #c8f5e3; }

.btn-red { color: #f87171; border-color: #5c2233; }
.btn-red:hover { background: #2a0f16; border-color: #f87171; color: #ffd9d9; }

.btn-solid { background: var(--accent); color: #04121a; border-color: var(--accent); box-shadow: 0 0 calc(var(--glow) * 22px) -2px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-solid:hover { background: #45d9ff; color: #04121a; }

.btn-lg { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: transparent; }

/* icon button */
.iconbtn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 1px solid transparent; color: var(--muted); cursor: pointer; background: transparent; }
.iconbtn:hover { color: var(--accent); background: var(--surface-2); }

/* ---------- Tables ---------- */
.tbl-wrap { border: 1px solid var(--border-soft); border-radius: var(--radius); overflow-x: auto; overflow-y: hidden; background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 820px; table-layout: fixed; }
.tbl thead th {
  text-align: left; font-family: var(--font-mono); font-weight: 600;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 9px var(--cell-px); border-bottom: 1px solid var(--border-soft);
  background: var(--surface-2); white-space: nowrap; overflow: hidden;
}
.tbl tbody td { padding: var(--row-py) var(--cell-px); border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl thead th:last-child, .tbl tbody td:last-child { padding-right: 20px; }
.tbl tbody tr.row { transition: background .1s; }
.tbl tbody tr.row:hover { background: var(--surface-2); }
.tbl tbody tr.row.selected { background: color-mix(in oklab, var(--accent) 9%, var(--surface)); }
.tbl tbody tr.expandable { cursor: pointer; }
.cell-mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-topic { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-topic .chev { color: var(--muted); display: inline-flex; vertical-align: middle; margin-right: 7px; transition: transform .12s; }
.cell-anchor { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.url-link { color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; }
.url-link:hover { text-decoration: underline; }
.url-empty { color: var(--muted); }

/* checkbox */
.cbx { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border); background: var(--surface-2); cursor: pointer; display: inline-grid; place-items: center; flex: none; transition: all .1s; }
.cbx:hover { border-color: var(--accent); }
.cbx.on { background: var(--accent); border-color: var(--accent); color: #04121a; box-shadow: 0 0 calc(var(--glow) * 10px) color-mix(in oklab, var(--accent) 60%, transparent); }
.cbx svg { width: 11px; height: 11px; }
td.col-check, th.col-check { width: 0; padding: 0 !important; overflow: hidden; }
.row .cbx-hide { opacity: 0.15; transition: opacity .1s; }
.row:hover .cbx-hide, .row .cbx-hide.on, .row.selected .cbx-hide { opacity: 1; }

/* expanded detail */
tr.detail td { padding: 0; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.detail-inner { padding: 16px 18px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 26px; }
.detail-actions { grid-column: 1 / -1; display: flex; gap: 10px; padding-top: 4px; border-top: 1px dashed var(--border); margin-top: 2px; }
.dl-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dl-val { font-size: 13px; color: var(--text); }
.dl-val.mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); }
.swatch-row { display: flex; gap: 5px; align-items: center; }
.swatch { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.12); }

/* ---------- Filter bar ---------- */
.filterbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.select, .input {
  background: var(--surface-2); border: 1px solid var(--border-soft); color: var(--text);
  border-radius: 6px; padding: 6px 10px; font-family: var(--font-body); font-size: 12.5px;
  outline: none; transition: border-color .12s, box-shadow .12s;
}
.select:focus, .input:focus { border-color: var(--accent); box-shadow: 0 0 calc(var(--glow) * 14px) -3px color-mix(in oklab, var(--accent) 60%, transparent); }
.select { cursor: pointer; appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a7a9a' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
.input.mono { font-family: var(--font-mono); font-size: 12px; }

/* segmented filter (schedule chip) */
.seg { display: inline-flex; border: 1px solid var(--border-soft); border-radius: 7px; overflow: hidden; background: var(--surface-2); }
.seg button { background: transparent; border: none; color: var(--muted); padding: 6px 11px; font-size: 11.5px; font-weight: 600; cursor: pointer; font-family: var(--font-body); border-right: 1px solid var(--border-soft); }
.seg button:last-child { border-right: none; }
.seg button.on { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); }

/* multiselect popover */
.ms { position: relative; }
.ms-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px; min-width: 180px; box-shadow: 0 14px 40px -10px #000; }
.ms-opt { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 12.5px; }
.ms-opt:hover { background: var(--surface-2); }

/* ---------- Campaign cards ---------- */
.camp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.camp-card { padding: 16px; cursor: pointer; transition: transform .12s, border-color .12s, box-shadow .12s; }
.camp-card:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--accent) 40%, var(--border-soft)); box-shadow: 0 0 calc(var(--glow) * 26px) -8px color-mix(in oklab, var(--accent) 55%, transparent); }
.camp-domain { font-family: var(--font-mono); font-size: 14px; color: var(--text); font-weight: 600; }
.camp-niche { color: var(--muted); font-size: 12px; margin-top: 2px; }
.progress { height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 4px; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 calc(var(--glow) * 12px) var(--accent); border-radius: 4px; }
.progress-lbl { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin-bottom: 5px; margin-top: 14px; }
.breakdown { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Bulk action bar ---------- */
.bulkbar {
  position: sticky; bottom: 16px; z-index: 30;
  margin: 16px auto 0; max-width: 880px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 16px;
  background: color-mix(in oklab, var(--surface) 92%, #000);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--border));
  border-radius: 12px;
  box-shadow: 0 18px 50px -12px #000, 0 0 calc(var(--glow) * 30px) -6px color-mix(in oklab, var(--accent) 50%, transparent);
  backdrop-filter: blur(8px);
  animation: bulkin .18s ease;
}
@keyframes bulkin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bulk-count { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--accent); letter-spacing: .03em; white-space: nowrap; }
.bulk-actions { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.bulk-x { margin-left: auto; }

/* ---------- Schedule panel ---------- */
.sched { border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.sched-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); }
.sched-head .ttl { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.sched-body { padding: 4px 16px 18px; border-top: 1px solid var(--border-soft); background: var(--surface-2); display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.sched-body.full { grid-template-columns: 1fr; }
.sched-disabled { padding: 14px 16px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; background: var(--surface); }
.num-inline { display: inline-flex; align-items: center; gap: 8px; }
.num-inline .input { width: 64px; text-align: center; }
.stepper { display: inline-flex; border: 1px solid var(--border-soft); border-radius: 6px; overflow: hidden; }
.stepper input { width: 46px; text-align: center; background: var(--surface-3); border: none; color: var(--text); font-family: var(--font-mono); padding: 6px 0; outline: none; }
.stepper button { background: var(--surface-2); border: none; color: var(--muted); width: 26px; cursor: pointer; font-size: 14px; }
.stepper button:hover { color: var(--accent); }
.tagq { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.qchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; border-radius: 6px; background: color-mix(in oklab, var(--accent-2) 18%, var(--surface-3)); border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--border-soft)); font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.qchip button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; }
.qchip button:hover { color: #f87171; }

/* ---------- Toggle switch ---------- */
.switch { width: 38px; height: 21px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border); position: relative; cursor: pointer; transition: all .15s; flex: none; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: all .15s; }
.switch.on { background: color-mix(in oklab, var(--accent) 35%, var(--surface-3)); border-color: var(--accent); box-shadow: 0 0 calc(var(--glow) * 14px) -2px color-mix(in oklab, var(--accent) 60%, transparent); }
.switch.on::after { left: 19px; background: var(--accent); box-shadow: 0 0 calc(var(--glow) * 10px) var(--accent); }

/* ---------- Misc ---------- */
.legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 16px; }
.legend .arch { font-size: 12px; }
.dr-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 4px; border: 1px solid; }
.row-flash { animation: flash .5s ease; }
@keyframes flash { from { background: color-mix(in oklab, var(--accent) 22%, transparent); } }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.fade-row { animation: fadein .24s ease; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadein { from { transform: translateY(5px); } }
}

.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.acct { padding: 15px 16px; display: flex; flex-direction: column; gap: 12px; }
.acct-top { display: flex; align-items: center; gap: 11px; }
.acct-icon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 17px; border: 1px solid; flex: none; }
.acct-name { font-weight: 600; font-size: 14px; color: var(--text); }
.acct-prov { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.acct-meta { display: flex; gap: 18px; padding: 10px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.acct-meta .m-lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acct-meta .m-val { font-size: 13px; color: var(--text); margin-top: 3px; font-weight: 600; }
.acct-foot { display: flex; align-items: center; justify-content: space-between; }
.acct-foot .left { display: flex; align-items: center; gap: 10px; }

.form-card { padding: 18px 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.form-card .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }

/* keyboard hint pill */
.kbd { font-family: var(--font-mono); font-size: 10px; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--border); color: var(--muted); background: var(--surface-2); }

/* responsive */
@media (max-width: 1100px) {
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .camp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 64px 1fr; }
  .brand-name, .brand-tag, .nav-item span, .nav-label, .nav-logout span { display: none; }
}
