/* =========================================================================
   ONSTAGE S26 SHORTLIST
   Visual system inspired by onstage.vc:
   - Near-black warm background (#0e0e0d), card surfaces slightly raised
   - Electric lime accent (#e2ff2f) used sparingly for emphasis & state
   - Serif display + grotesk body, generous whitespace
   ========================================================================= */

:root {
  --bg: #0e0e0d;
  --bg-elev: #161614;
  --bg-elev-2: #1c1c1a;
  --border: #2a2a27;
  --border-strong: #3a3a36;
  --text: #fafaf7;
  --text-muted: #9a9a93;
  --text-dim: #6a6a64;
  --accent: #e2ff2f;
  --accent-dim: #c4dd25;
  --accent-soft: rgba(226, 255, 47, 0.12);
  --danger: #ff6b6b;
  --maybe: #f5c542;
  --maybe-soft: rgba(245, 197, 66, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --font-display: "Instrument Serif", "GT Super", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --container: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

::selection { background: var(--accent); color: #000; }

/* =========================================================================
   LOGIN
   ========================================================================= */
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.login-screen::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(226, 255, 47, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.login-header,
.login-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.login-header .brand {
  color: var(--text);
  letter-spacing: 0.2em;
  font-weight: 500;
}

.login-body {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.login-inner {
  max-width: 520px;
  width: 100%;
  padding: 0 24px;
}

.login-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.login-eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.login-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.login-title em {
  font-style: italic;
  color: var(--accent);
}

.login-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 auto 44px;
  max-width: 420px;
}

.login-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  max-width: 460px;
  margin: 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.login-form input {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.login-form button {
  background: var(--accent);
  color: #000;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.05s;
}

.login-form button:hover { background: #ebff5a; }
.login-form button:active { transform: scale(0.98); }

.login-error {
  margin-top: 18px;
  color: var(--danger);
  font-size: 14px;
  min-height: 20px;
  transition: opacity 0.2s;
  opacity: 0;
}

.login-error.show { opacity: 1; }

.login-meta {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* =========================================================================
   APP SHELL
   ========================================================================= */
.app { display: none; }
.app.active { display: block; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 13, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.app-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark .logo {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-size: 19px;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1;
}

.brand-mark .divider {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}

.brand-mark .title { color: var(--text); }
.brand-mark .subtitle { color: var(--text-dim); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.header-actions .count-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--text-muted);
}

.header-actions .count-pill strong {
  color: var(--accent);
  font-weight: 600;
}

.logout-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}

.logout-btn:hover { color: var(--text); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 32px 56px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(226, 255, 47, 0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.022em;
  margin: 0 0 28px;
  max-width: 16ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 19px;
  max-width: 640px;
  line-height: 1.5;
  margin: 0;
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-value em {
  color: var(--accent);
  font-style: normal;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* =========================================================================
   FILTER BAR
   ========================================================================= */
.controls {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(14, 14, 13, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.controls-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.search-wrap {
  position: relative;
  max-width: 420px;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.15s;
}

.search-input::placeholder { color: var(--text-dim); }
.search-input:focus { border-color: var(--border-strong); }

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-select {
  position: relative;
  display: inline-block;
}

.filter-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 32px 9px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.filter-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.filter-select select:hover { border-color: var(--border-strong); }
.filter-select.active select {
  border-color: var(--accent);
  color: var(--accent);
}

.sort-btn,
.reset-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
  transition: color 0.15s, border-color 0.15s;
}

.reset-btn:hover { color: var(--text); border-color: var(--border-strong); }
.reset-btn { display: none; }
.reset-btn.show { display: inline-flex; }

/* ---- Multi-select filter (country) ---- */
.filter-multi { position: relative; display: inline-block; }

.filter-multi-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.filter-multi-btn:hover { border-color: var(--border-strong); }

.filter-multi-btn .caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}

.filter-multi.open .filter-multi-btn .caret {
  transform: translateY(2px) rotate(-135deg);
}

.filter-multi.active .filter-multi-btn {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-multi.active .filter-multi-btn .caret {
  border-color: var(--accent);
}

.filter-multi-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 280px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.filter-multi-panel[hidden] { display: none; }

.filter-multi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.filter-multi-clear {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}

.filter-multi-clear:hover { color: var(--accent); }
.filter-multi-clear:disabled { opacity: 0.35; cursor: default; }
.filter-multi-clear:disabled:hover { color: var(--text-muted); }

.filter-multi-options {
  overflow-y: auto;
  padding: 6px 0;
  flex: 1;
}

.filter-multi-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 16px;
  text-align: left;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: background 0.12s;
}

.filter-multi-opt:hover { background: rgba(255, 255, 255, 0.04); }

.filter-multi-opt .check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev-2);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.12s, border-color 0.12s;
}

.filter-multi-opt[aria-checked="true"] .check {
  background: var(--accent);
  border-color: var(--accent);
}

.filter-multi-opt .check svg {
  opacity: 0;
  transition: opacity 0.12s;
}
.filter-multi-opt[aria-checked="true"] .check svg { opacity: 1; }

.filter-multi-opt .opt-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
}

/* Result count line */
.result-count {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* View toggle */
.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.view-toggle-btn,
.view-toggle-saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: background 0.12s, color 0.12s;
}

.view-toggle-btn:hover,
.view-toggle-saved:hover { color: var(--text); }

.view-toggle-btn.active {
  background: var(--bg-elev-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.view-toggle-saved {
  border-left: 1px solid var(--border);
  margin-left: 4px;
  padding-left: 12px;
}
.view-toggle-saved.active {
  color: var(--accent);
}
.view-toggle-saved.active svg { fill: var(--accent); stroke: var(--accent); }

.view-toggle-maybe.active {
  color: var(--maybe);
}
.view-toggle-maybe.active svg { fill: var(--maybe); stroke: var(--maybe); }

.result-count strong { color: var(--accent); font-weight: 600; }

/* =========================================================================
   GRID
   ========================================================================= */
.grid-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px 96px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
  min-height: 280px;
  overflow: hidden;
}

.card-body {
  flex: 1;
  width: 100%;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card:hover .card-body { background: var(--bg-elev-2); }

.card.is-saved  { border-color: var(--accent); }
.card.is-passed { opacity: 0.55; }
.card.is-maybe  { border-color: var(--maybe); }

/* Inline Pass / Maybe / Save controls — used on grid cards + table rows */
.decision-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.decision-controls-grid {
  display: flex;
  justify-content: stretch;
  padding: 8px;
  gap: 6px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.decision-controls-grid .decision-btn { flex: 1; height: 34px; }

.decision-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.12s, border-color 0.12s, background 0.12s, transform 0.05s;
  flex-shrink: 0;
}
.decision-btn:hover { color: var(--text); border-color: var(--border-strong); }
.decision-btn:active { transform: scale(0.95); }
.decision-btn.pass:hover  { color: var(--danger); border-color: var(--danger); }
.decision-btn.maybe:hover { color: var(--maybe);  border-color: var(--maybe);  background: var(--maybe-soft); }
.decision-btn.save:hover  { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.decision-btn.active.pass  { background: var(--danger); color: #1a0606; border-color: var(--danger); }
.decision-btn.active.maybe { background: var(--maybe);  color: #1a1206; border-color: var(--maybe); }
.decision-btn.active.save  { background: var(--accent); color: #0c0c0a; border-color: var(--accent); }

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(226, 255, 47, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}

.card:hover::after { opacity: 1; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
}

.card-meta .focus-pill {
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--text-muted);
}

.card-name {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

.card-tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-founders {
  padding: 12px 0 0;
  margin: 0 0 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-founder {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.card-founder-extra {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-left: 40px;
}

.card-founder-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
}

.card-founder-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  background: var(--bg-elev);
}

.card-founder-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.card-founder-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-founder-summary {
  font-size: 11.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  white-space: nowrap;
}

.card-raise {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}

/* ====== Table view ====== */
.table-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px 96px;
}

.table-wrap[hidden] { display: none; }

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elev);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 880px;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-elev);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  white-space: nowrap;
}

.table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
  cursor: pointer;
}

.table tbody tr:last-child { border-bottom: none; }

.table tbody tr:hover {
  background: var(--bg-elev-2);
}
.table tbody tr.is-saved { background: rgba(226, 255, 47, 0.04); }
.table tbody tr.is-saved:hover { background: rgba(226, 255, 47, 0.08); }
.table tbody tr.is-maybe { background: rgba(245, 197, 66, 0.04); }
.table tbody tr.is-maybe:hover { background: rgba(245, 197, 66, 0.09); }
.table tbody tr.is-passed { opacity: 0.55; }
.table tbody tr.is-passed:hover { opacity: 0.85; }

.table .td-save { white-space: nowrap; }
.table .th-save {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.table td {
  padding: 14px 16px;
  vertical-align: middle;
  color: var(--text);
}

.table .th-company,
.table .td-company { min-width: 220px; }

.table .td-company .company-name {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
}

.table .td-company .company-tagline {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.table .td-founders {
  min-width: 180px;
}

.table .founders-stack {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table .founders-avatars {
  display: flex;
  align-items: center;
}

.table .founders-avatars .card-founder-avatar {
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border: 1.5px solid var(--bg-elev);
}
.table .founders-avatars .card-founder-avatar:first-child { margin-left: 0; }
.table .founders-avatars .card-founder-avatar-fallback { font-size: 11px; }

.table .founders-label {
  min-width: 0;
}
.table .founders-label .name {
  display: block;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.table .founders-label .more {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.table .td-sector,
.table .td-hq,
.table .td-year,
.table .td-stage {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.table .td-raise {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}

.table .td-save {
  text-align: center;
  width: 36px;
}
.table .td-save .saved-mark {
  color: var(--accent);
  display: inline-block;
  font-size: 14px;
}
.table .td-save .saved-mark[data-saved="false"] { color: var(--text-dim); opacity: 0.25; }

.table-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}
.table-empty h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--text);
}

@media (max-width: 720px) {
  .table-wrap { padding: 16px 16px 60px; }
}

/* ====== Drawer (right-slide detail) ====== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  transition: opacity 0.22s;
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop[hidden] { display: none; }
.drawer-backdrop.show { opacity: 1; }

.drawer {
  position: relative;
  width: min(560px, 100%);
  height: 100%;
  background: var(--bg-elev);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  outline: none;
}

#drawer-content {
  flex: 1;
  overflow-y: auto;
}

.drawer-actions {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}

.drawer-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-elev-2);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
}

.drawer-action-btn:hover { color: var(--text); }
.drawer-action-btn:active { transform: scale(0.98); }

.drawer-action-btn.pass:hover  { border-color: var(--danger); color: var(--danger); }
.drawer-action-btn.maybe:hover { border-color: var(--maybe); color: var(--maybe); background: var(--maybe-soft); }
.drawer-action-btn.save:hover  { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.drawer-action-btn.active.pass {
  background: var(--danger);
  color: #1a0606;
  border-color: var(--danger);
}
.drawer-action-btn.active.maybe {
  background: var(--maybe);
  color: #1a1206;
  border-color: var(--maybe);
}
.drawer-action-btn.active.save {
  background: var(--accent);
  color: #0c0c0a;
  border-color: var(--accent);
}

@media (max-width: 600px) {
  .drawer-actions { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
}

.drawer-backdrop.show .drawer { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  z-index: 2;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s;
}
.drawer-close:hover { color: var(--text); border-color: var(--accent); }

/* Reuse modal-head / modal-body styles inside drawer — slimmer padding */
.drawer .modal-head {
  padding: 36px 32px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer .modal-body { padding: 24px 32px 40px; }
.drawer h2 { font-size: clamp(32px, 3.5vw, 44px); }

@media (max-width: 600px) {
  .drawer { width: 100%; }
  .drawer .modal-head { padding: 28px 20px 20px; }
  .drawer .modal-body { padding: 20px 20px 36px; }
}

/* ====== Stack / Swiper view ====== */
.stack-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 32px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 580px;
}

.stack-wrap[hidden] { display: none; }

.stack-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 540px;
  perspective: 1000px;
}

.stack-card {
  position: absolute;
  inset: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s, box-shadow 0.25s;
  will-change: transform, opacity;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.stack-card.dragging {
  transition: none;
  cursor: grabbing;
}

/* Layered card behind the top card */
.stack-card[data-depth="1"] {
  transform: translateY(14px) scale(0.96);
  opacity: 0.7;
  pointer-events: none;
}
.stack-card[data-depth="2"] {
  transform: translateY(28px) scale(0.92);
  opacity: 0.4;
  pointer-events: none;
}
.stack-card[data-depth="3"] {
  transform: translateY(40px) scale(0.88);
  opacity: 0.2;
  pointer-events: none;
}

.stack-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.stack-card-meta .focus-pill {
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--text-muted);
}

.stack-card-name {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--text);
}

.stack-card-tagline {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stack-card-founder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 18px;
  min-width: 0;
}

.stack-card-founder .card-founder-avatar {
  width: 40px;
  height: 40px;
}
.stack-card-founder .card-founder-name { font-size: 15px; }
.stack-card-founder .card-founder-summary { font-size: 12.5px; }

.stack-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.stack-card-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.stack-card-stat-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stack-card-stat-value {
  font-size: 13.5px;
  color: var(--text);
}

.stack-card-stat-value.accent { color: var(--accent); font-family: var(--font-mono); font-size: 12.5px; }

.stack-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* swipe overlay labels */
.stack-card::before,
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: 22px;
  transition: opacity 0.15s;
}

.stack-card::before { background: linear-gradient(120deg, rgba(255, 107, 107, 0.25), transparent 60%); }
.stack-card::after { background: linear-gradient(-120deg, rgba(226, 255, 47, 0.22), transparent 60%); }

.stack-card.dragging-left::before { opacity: 1; }
.stack-card.dragging-right::after { opacity: 1; }

.stack-card-stamp {
  position: absolute;
  top: 24px;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
  text-transform: uppercase;
}
.stack-card-stamp.pass {
  right: 24px;
  color: #ff6b6b;
  border: 3px solid #ff6b6b;
  transform: rotate(14deg);
}
.stack-card-stamp.save {
  left: 24px;
  color: var(--accent);
  border: 3px solid var(--accent);
  transform: rotate(-14deg);
}
.stack-card-stamp.maybe {
  left: 50%;
  top: 32px;
  transform: translateX(-50%) rotate(-2deg);
  color: var(--maybe);
  border: 3px solid var(--maybe);
}
.stack-card.dragging-left .stack-card-stamp.pass { opacity: 1; }
.stack-card.dragging-right .stack-card-stamp.save { opacity: 1; }
.stack-card.dragging-up .stack-card-stamp.maybe { opacity: 1; }
.stack-card.dragging-up { box-shadow: 0 0 0 3px var(--maybe-soft), 0 24px 60px -20px rgba(245, 197, 66, 0.3); }

/* Controls */
.stack-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.stack-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: transform 0.12s, color 0.15s, border-color 0.15s, background 0.15s;
}

.stack-btn:hover { transform: translateY(-2px); }
.stack-btn:active { transform: translateY(0) scale(0.96); }

.stack-btn-pass:hover { color: #ff6b6b; border-color: #ff6b6b; }
.stack-btn-save:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.stack-btn-maybe:hover { color: var(--maybe); border-color: var(--maybe); background: var(--maybe-soft); }
.stack-btn-detail { width: 52px; height: 52px; }
.stack-btn-detail:hover { color: var(--text); border-color: var(--text-muted); }

.stack-hint {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-wrap: wrap;
  justify-content: center;
}

.stack-hint kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg-elev);
  color: var(--text-muted);
  margin-right: 4px;
}

.stack-progress {
  margin-left: auto;
  color: var(--accent);
}

.stack-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.stack-empty h3 {
  font-family: var(--font-display);
  font-size: 36px;
  margin: 0 0 12px;
  color: var(--text);
}

.stack-empty p { margin: 0 0 24px; }

@media (max-width: 720px) {
  .stack-wrap { padding: 20px 16px 60px; min-height: 520px; }
  .stack-stage { height: 480px; max-width: 100%; }
  .stack-card { padding: 22px; border-radius: 18px; }
  .stack-card-name { font-size: 34px; }
  .stack-card-stats { grid-template-columns: 1fr; }
  .stack-btn { width: 54px; height: 54px; }
  .stack-btn-detail { width: 46px; height: 46px; }
}

.empty {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  color: var(--text-muted);
}

.empty h3 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--text);
}

/* =========================================================================
   MODAL
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal-backdrop.show { display: flex; opacity: 1; align-items: flex-start; }

.modal {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  max-width: 800px;
  width: calc(100% - 32px);
  margin: 56px auto;
  position: relative;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  z-index: 2;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s;
}

.modal-close:hover { color: var(--text); border-color: var(--accent); }

.modal-head {
  padding: 44px 44px 28px;
  border-bottom: 1px solid var(--border);
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.modal-eyebrow .sep {
  color: var(--text-dim);
  opacity: 0.5;
}

.modal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.modal-tagline {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: #ebff5a; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: transparent;
}

.modal-body { padding: 28px 44px 44px; }

.modal-section { margin-bottom: 36px; }
.modal-section:last-child { margin-bottom: 0; }

.modal-section h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 600;
}

.modal-section p {
  margin: 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.65;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.kv {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.kv-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.kv-value {
  font-size: 15px;
  color: var(--text);
}

.kv-value em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}

.founders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Founder cards (rich, with Harmonic enrichment) ---- */
.founder-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.15s, transform 0.12s;
  align-items: flex-start;
}

.founder-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.founder-card.founder-card-rich:hover {
  border-color: var(--accent);
}

.founder-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
}
.founder-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
  background: var(--bg-elev);
}

.founder-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-row1 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2px 7px;
  border: 1px solid rgba(226, 255, 47, 0.3);
  border-radius: 4px;
  background: var(--accent-soft);
}

.founder-name {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

.founder-loc {
  font-size: 12px;
  color: var(--text-dim);
}

.founder-row2 {
  font-size: 14px;
  color: var(--text-muted);
}

.founder-current em {
  font-style: normal;
  color: var(--text-dim);
  font-size: 12.5px;
}

.founder-no-enrich {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.founder-past {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

.founder-past .kv-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-right: 6px;
}

.founder-past-item em {
  font-style: normal;
  color: var(--text-dim);
}

.founder-past-year {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  margin-left: 2px;
}

.founder-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.founder-hl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}

.tag-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text-muted);
}

.tag-pill.accent {
  background: var(--accent-soft);
  border-color: rgba(226, 255, 47, 0.3);
  color: var(--accent);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.app-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.app-footer a:hover { color: var(--text); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .controls-inner { grid-template-columns: 1fr; }
  .filter-group { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .app-header-inner { padding: 14px 20px; }
  .brand-mark .subtitle { display: none; }
  .hero { padding: 48px 20px 36px; }
  .controls { top: 60px; }
  .controls-inner { padding: 14px 20px; }
  .grid-wrap { padding: 20px 20px 60px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 18px 20px; }
  .stat-value { font-size: 36px; }
  .modal { margin: 0; width: 100%; min-height: 100vh; max-height: 100vh; border-radius: 0; border: none; }
  .modal-head { padding: 60px 24px 24px; }
  .modal-body { padding: 24px; }
  .kv-grid { grid-template-columns: 1fr; }
  .header-actions .count-pill { display: none; }
  .login-screen { padding: 20px; }
  .result-count { padding: 14px 20px 0; }
}
