/* ───────── theme tokens (dark studio — matches the Personal Website) ───────── */
:root {
  --bg: #07090f;
  --bg-alt: #0d111a;
  --surface: #11151f;
  --surface-2: #161c27;
  --border: #1f2533;
  --text: #e7eaf0;
  --text-muted: #8a93a5;
  --primary: #4d8cff;
  --primary-hover: #3a76f0;
  --primary-soft: rgba(77, 140, 255, 0.12);
  --accent-2: #00d4f5;
  --danger: #ff5f57;
  --danger-soft: rgba(255, 95, 87, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --radius-sm: 10px;

  /* status colors (tuned for the dark surface) */
  --st-Saved: #8a93a5;
  --st-Applied: #4d8cff;
  --st-PhoneScreen: #22d3ee;
  --st-Interview: #a855f7;
  --st-Offer: #34d399;
  --st-Rejected: #ff5f57;
  --st-Accepted: #10b981;
}

/* Optional light theme (toggle in the top bar). */
[data-theme="light"] {
  --bg: #f1f5f9;
  --bg-alt: #e9eef5;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --accent-2: #0891b2;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

.hidden { display: none !important; }
.muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.spacer { flex: 1; }
.mono { font-family: "JetBrains Mono", "Fira Code", Consolas, monospace; }

/* ───────── aurora background (fixed, drifting blobs) ───────── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  will-change: transform;
}
.aurora-1 {
  background: radial-gradient(circle at 30% 30%, var(--primary) 0%, transparent 60%);
  top: -15vw; left: -10vw;
  animation: drift1 28s ease-in-out infinite alternate;
}
.aurora-2 {
  background: radial-gradient(circle at 60% 60%, var(--accent-2) 0%, transparent 65%);
  bottom: -20vw; right: -10vw;
  opacity: 0.16;
  animation: drift2 34s ease-in-out infinite alternate;
}
.aurora-3 {
  background: radial-gradient(circle at 50% 50%, #c084fc 0%, transparent 65%);
  top: 40%; left: 35%;
  width: 35vw; height: 35vw;
  opacity: 0.12;
  animation: drift3 24s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(8vw,6vw,0); } }
@keyframes drift2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-10vw,-4vw,0); } }
@keyframes drift3 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-5vw,4vw,0); } }
@media (prefers-reduced-motion: reduce) { .aurora-blob { animation: none; } }

/* Everything above the aurora. */
.topbar, .container, .footer { position: relative; z-index: 1; }

/* ───────── top bar ───────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
[data-theme="light"] .topbar { background: rgba(255, 255, 255, 0.75); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { font-size: 1.5rem; }
.brand h1 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--text) 0%, var(--primary) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ───────── buttons ───────── */
button { font: inherit; cursor: pointer; }

.primary-btn {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--primary) 100%);
  color: #07090f;
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 6px 18px -8px var(--primary);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.primary-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 24px -10px var(--primary); }
.primary-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.ghost-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}
.ghost-btn:hover { background: var(--surface-2); border-color: var(--primary); }

.danger-btn {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.danger-btn:hover { border-color: var(--danger); }

.icon-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--primary); }

.link-btn { background: none; border: none; color: var(--primary); text-decoration: underline; padding: 0; font: inherit; }

/* ───────── layout ───────── */
.container { max-width: 1200px; margin: 0 auto; padding: 28px 22px 90px; }

/* ───────── stats ───────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent-2));
  opacity: 0.8;
}
.stat-card .num {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--text) 0%, var(--accent-2) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card .label { color: var(--text-muted); font-size: 0.82rem; margin-top: 7px; }

/* ───────── pipeline funnel (Teal-style chevrons) ───────── */
.funnel { display: flex; gap: 4px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 4px; }
.funnel-stage {
  flex: 1 0 auto;
  min-width: 116px;
  background: var(--surface);
  padding: 13px 18px 13px 26px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, filter 0.15s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}
.funnel-stage:first-child {
  padding-left: 18px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.funnel-stage:hover { filter: brightness(1.12); }
.funnel-stage .fs-num { font-size: 1.45rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.funnel-stage .fs-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-top: 5px; white-space: nowrap; }
.funnel-stage.active {
  background: linear-gradient(135deg, rgba(0,212,245,0.18), rgba(77,140,255,0.18));
}
.funnel-stage.active .fs-num {
  background: linear-gradient(120deg, var(--accent-2), var(--primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.funnel-stage.active .fs-label { color: var(--primary); }

/* ───────── star ratings ───────── */
.star-input { display: inline-flex; gap: 5px; font-size: 1.55rem; }
.star-input .star { cursor: pointer; color: var(--border); transition: color 0.1s, transform 0.1s; line-height: 1; user-select: none; }
.star-input .star.on { color: #ffbc2e; }
.star-input .star:hover { transform: scale(1.15); }
.stars { color: #ffbc2e; letter-spacing: 1px; white-space: nowrap; font-size: 0.9rem; }
.stars .off { color: var(--border); }

/* ───────── companies view ───────── */
.companies { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.company-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.company-card .cc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.company-card .cc-name { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.company-card .cc-sub { color: var(--text-muted); font-size: 0.82rem; margin-top: 3px; }
.company-card .cc-roles { margin-top: 13px; display: flex; flex-direction: column; gap: 7px; }
.cc-role { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; background: var(--surface-2); border-radius: var(--radius-sm); cursor: pointer; border-left: 3px solid var(--accent, var(--border)); transition: background 0.12s; }
.cc-role:hover { background: var(--primary-soft); }
.cc-role-title { font-size: 0.9rem; font-weight: 500; }
.cc-role .pill { font-size: 0.7rem; padding: 1px 8px; }

/* ───────── controls ───────── */
.controls { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; align-items: center; }
.controls input[type="search"] { flex: 1; min-width: 220px; }

input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

.view-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { background: var(--surface); border: none; padding: 9px 16px; color: var(--text-muted); font-weight: 500; }
.view-toggle button.active { background: linear-gradient(135deg, var(--accent-2), var(--primary)); color: #07090f; }

/* ───────── banner ───────── */
.banner { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid var(--border); background: var(--surface); }
.banner.error { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }

/* ───────── board ───────── */
.board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  align-items: start;
}
.column { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px; min-height: 90px; }
.column.drag-over { outline: 2px dashed var(--primary); outline-offset: -4px; background: var(--primary-soft); }
.column-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 600; font-size: 0.9rem; }
.column-head .count { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 1px 9px; font-size: 0.78rem; color: var(--text-muted); }
.bar-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent, var(--border));
  border-radius: var(--radius-sm);
  padding: 13px;
  margin-bottom: 11px;
  box-shadow: var(--shadow);
  cursor: grab;
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: rgba(77, 140, 255, 0.45); }
.card:active { cursor: grabbing; }
.card.dragging { opacity: 0.5; }
.card .company { font-weight: 700; letter-spacing: -0.01em; }
.card .role { color: var(--text-muted); font-size: 0.9rem; margin-top: 2px; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; font-size: 0.8rem; color: var(--text-muted); }
.card .meta a { color: var(--primary); text-decoration: none; }
.card .meta a:hover { text-decoration: underline; }

/* ───────── status pill ───────── */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; color: #07090f; white-space: nowrap; }

/* ───────── table ───────── */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.table tbody tr { transition: background 0.1s; cursor: pointer; }
.table tbody tr:hover { background: var(--surface-2); }
.table td a { color: var(--primary); text-decoration: none; }
.table .row-edit { color: var(--text-muted); }

/* ───────── empty state ───────── */
.empty-state { text-align: center; padding: 70px 20px; background: rgba(255, 255, 255, 0.02); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state .empty-emoji { font-size: 3rem; }
.empty-state h2 { margin: 14px 0 6px; letter-spacing: -0.01em; }
.empty-state p { color: var(--text-muted); max-width: 440px; margin: 6px auto; }
.empty-state .primary-btn { margin-top: 18px; }

/* ───────── modal ───────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.66);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  z-index: 50;
  overflow-y: auto;
}
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 660px; box-shadow: var(--shadow-lg); animation: pop 0.15s ease-out; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.field em { color: var(--danger); font-style: normal; }
.form-actions { display: flex; align-items: center; gap: 8px; }

/* ───────── autofill row ───────── */
.autofill {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(77, 140, 255, 0.08), rgba(0, 212, 245, 0.05));
  border: 1px solid rgba(77, 140, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.autofill .autofill-label { font-size: 0.82rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.autofill .autofill-input { display: flex; gap: 8px; }
.autofill .autofill-input input { flex: 1; min-width: 0; }
.autofill .autofill-msg { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--text-muted); min-height: 1em; }
.autofill .autofill-msg.error { color: var(--danger); }
.autofill .autofill-msg.ok { color: var(--accent-2); }

/* ───────── dashboard ───────── */
.dashboard { display: flex; flex-direction: column; gap: 26px; }
.dash-section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.dash-section-head h2 { font-size: 1.05rem; margin: 0; letter-spacing: -0.01em; }
.dash-section-head .sub { color: var(--text-muted); font-size: 0.85rem; }
.dash-section-head .count-chip { margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 1px 10px; font-size: 0.78rem; color: var(--text-muted); }
.dash-empty { color: var(--text-muted); font-size: 0.9rem; padding: 14px; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent, var(--border));
  border-radius: var(--radius-sm);
  padding: 13px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.mini-card:hover { transform: translateY(-2px); border-color: rgba(77,140,255,0.45); box-shadow: var(--shadow-lg); }
.mini-card .mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-card .mc-co { font-weight: 700; letter-spacing: -0.01em; }
.mini-card .mc-role { color: var(--text-muted); font-size: 0.88rem; margin-top: 2px; }
.mini-card .mc-meta { margin-top: 9px; font-size: 0.8rem; color: var(--text-muted); }
.mc-quiet { color: #ffbc2e; font-weight: 600; }

/* ───────── inbox sync strip ───────── */
.inbox-sync {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(77,140,255,0.07), rgba(0,212,245,0.04));
}
.inbox-sync .is-icon { font-size: 1.3rem; }
.inbox-sync .is-text { flex: 1; min-width: 200px; }
.inbox-sync .is-title { font-weight: 600; }
.inbox-sync .is-sub { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }
.inbox-sync .is-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ───────── suggestion cards ───────── */
.sug-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.sug-card {
  background: var(--surface);
  border: 1px solid rgba(255,188,46,0.35);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sug-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sug-type { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 9px; border-radius: 99px; color: #07090f; }
.sug-type.sug-rejected { background: var(--st-Rejected); }
.sug-type.sug-interview { background: var(--st-Interview); color: #fff; }
.sug-type.sug-offer { background: var(--st-Offer); }
.sug-type.sug-applied { background: var(--st-Applied); }
.sug-date { color: var(--text-muted); font-size: 0.78rem; }
.sug-subject { font-weight: 600; line-height: 1.35; }
.sug-from { color: var(--text-muted); font-size: 0.8rem; }
.sug-snippet { color: var(--text-muted); font-size: 0.83rem; line-height: 1.45; max-height: 4.4em; overflow: hidden; }
.sug-action { font-size: 0.85rem; padding: 8px 0; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sug-buttons { display: flex; gap: 8px; }
.sug-buttons .primary-btn, .sug-buttons .ghost-btn { padding: 7px 14px; font-size: 0.88rem; }
.sug-buttons .primary-btn { flex: 1; }

#suggest-badge { font-weight: 600; }

/* ───────── duplicate dialog ───────── */
.dup-body { padding: 20px; }
.dup-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 188, 46, 0.12), rgba(255, 95, 87, 0.08));
  border: 1px solid rgba(255, 188, 46, 0.35);
  color: var(--text);
  line-height: 1.5;
}
.dup-message strong { color: var(--accent-2); }
.dup-subhead { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.dup-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; max-height: 320px; overflow-y: auto; }
.dup-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent, var(--border));
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.dup-card .dup-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dup-card .dup-card-co { font-weight: 700; }
.dup-card .dup-card-role { color: var(--text-muted); font-size: 0.9rem; margin-top: 2px; }
.dup-card .dup-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 0.8rem; color: var(--text-muted); }
.dup-card .dup-card-meta a { color: var(--primary); text-decoration: none; }
.dup-card .dup-card-meta a:hover { text-decoration: underline; }
.dup-open { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); border-radius: 99px; padding: 3px 12px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.dup-open:hover { border-color: var(--primary); color: var(--primary); }

/* ───────── footer ───────── */
.footer { text-align: center; color: var(--text-muted); font-size: 0.82rem; padding: 26px 20px 44px; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .brand h1 { font-size: 1.05rem; }
}
