@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f6f7fb;
  --bg-soft: #fafbff;
  --card: #ffffff;
  --surface: #f1f5f9;
  --surface-alt: #ecfdf5;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-soft: #dcfce7;
  --accent: #15803d;
  --yellow: #fde047;
  --yellow-soft: #fef9c3;
  --danger: #dc2626;
  --success: #16a34a;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, Segoe UI, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

.hidden { display: none !important; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.landing-topbar,
.jobi-nav {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--yellow), #fbbf24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #111827;
  font-size: 0.95rem;
}

.user-pill {
  background: var(--primary-soft);
  border: 1px solid #bbf7d0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-right: 0.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--text); }

.screen {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 { margin-top: 0; font-size: 2rem; }
.hero p { color: var(--muted); line-height: 1.6; }

.auth-tabs { display: flex; gap: 0.5rem; margin: 1rem 0; }
.auth-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}
.auth-divider span { color: var(--muted); font-size: 0.85rem; }
.google-btn { width: 100%; }
.ingestion-history { margin-top: 1rem; }
.ingestion-row {
  background: var(--surface);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.tab {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}
.tab.active { color: var(--primary-dark); border-color: var(--primary); background: var(--primary-soft); }

.stack { display: grid; gap: 0.75rem; }
input, select, textarea {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 0;
  border-color: transparent;
}
textarea { resize: vertical; }

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--primary); color: white; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25); }
.btn.primary:hover { background: var(--primary-dark); }
.btn.accent { background: var(--accent); color: white; }
.btn.ghost { background: white; color: var(--text); border: 1px solid var(--border); }
.btn.yellow { background: var(--yellow); color: #111827; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.text-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.text-link:hover { color: var(--text); }

.error { color: var(--danger); min-height: 1.2rem; }

.server-status {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  margin: 0.75rem 0;
}
.server-status.ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
}
.server-status.bad {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
}

.onboarding .progress { margin-bottom: 1rem; }
.bar {
  height: 8px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.bar > div {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: width 0.2s ease;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
label { display: grid; gap: 0.4rem; font-size: 0.9rem; color: var(--muted); }

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}
.muted { color: var(--muted); }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.paywall-banner {
  margin-bottom: 1rem;
  border-color: rgba(22, 163, 74, 0.25);
  background: linear-gradient(180deg, var(--primary-soft), var(--card));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.resume-hint {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid #bbf7d0;
  font-size: 0.9rem;
}
.resume-hint a {
  color: var(--primary-dark);
  cursor: pointer;
  text-decoration: underline;
}

.job-toolkit {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.job-toolkit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.job-actions .btn.accent {
  font-weight: 600;
}

.settings-panel {
  max-width: 720px;
}

.jobs-list { display: grid; gap: 1rem; }

.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.job-card:hover { border-color: #86efac; box-shadow: var(--shadow); }
.job-card.selected { border-color: var(--primary); transform: translateY(-2px); }

.job-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.match-badge {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.job-card.locked .blurred,
.jobi-card.locked .blurred {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.blurred-company {
  filter: blur(6px);
  user-select: none;
}
.job-card.locked-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.job-card.locked-clickable:hover {
  border-color: var(--accent);
}
.preview-hint {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}
.lock-overlay {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--yellow-soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.side-panel { position: sticky; top: 1rem; height: fit-content; }
.upload-box {
  display: block;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  margin: 1rem 0;
}
.resume-preview, .tailored-output {
  background: var(--surface);
  border-radius: 12px;
  padding: 0.8rem;
  font-size: 0.85rem;
  white-space: pre-wrap;
  max-height: 260px;
  overflow: auto;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  color: var(--text);
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.industry-pills span {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dash-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}
.dash-tab.active {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.job-actions .btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}
.status-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

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

.landing { max-width: 1000px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.landing-hero { text-align: center; margin-bottom: 2rem; }
.landing-hero h1 { font-size: 2.4rem; margin: 0.5rem 0 1rem; line-height: 1.2; }
.landing-hero h1 em { color: var(--primary-dark); font-style: normal; }
.eyebrow { color: var(--primary); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.6; max-width: 640px; margin: 0 auto 1.5rem; }
.landing-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.step-num {
  display: inline-block;
  background: var(--yellow-soft);
  color: #854d0e;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.landing-proof { text-align: center; margin-bottom: 2rem; }
.landing-proof .feature-list { text-align: left; max-width: 520px; margin: 1rem auto 1.5rem; }
.landing-footer {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.landing-footer a { color: var(--muted); }

.landing-preview { text-align: center; margin-bottom: 2rem; }
.landing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: left;
}
.landing-preview-card { pointer-events: none; }
.landing-preview-card .btn-sm { font-size: 0.85rem; padding: 0.4rem 0.75rem; }

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, 0.75);
  backdrop-filter: blur(4px);
}
.checkout-overlay-card { max-width: 360px; text-align: center; }
.checkout-success-banner {
  margin-bottom: 1rem;
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
}

.browse-bridge {
  max-width: 960px;
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.browse-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.browse-intent-hint {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.filter-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.filter-presets .btn-sm {
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
}
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 0.75rem;
}
.saved-search-apply { flex: 1; min-width: 180px; }
.saved-search-apply select { width: 100%; margin-top: 0.35rem; }
.watchlist-suggestions { margin-bottom: 1rem; }
.watchlist-suggestions h4 { margin: 0 0 0.35rem; }

.tracker-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.tracker-view-toggle { display: flex; gap: 0.35rem; }
.tracker-view-toggle .btn.active {
  border-color: var(--primary);
  color: var(--primary-dark);
}
.tracker-toolbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.timeline-board { display: flex; flex-direction: column; gap: 0.75rem; }
.timeline-item.due { border-color: rgba(251, 191, 36, 0.45); }
.timeline-item-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}
.timeline-status {
  font-size: 0.8rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.bulk-select-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.btn-sm { font-size: 0.82rem; padding: 0.35rem 0.65rem; }

.digest-preview-panel {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.digest-preview-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal-page article h3 { margin-top: 1.5rem; }
.legal-page article p { color: var(--muted); line-height: 1.7; }

.fit-reasons {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--primary-dark);
  font-size: 0.85rem;
  line-height: 1.5;
}
.fit-reasons li { margin-bottom: 0.2rem; }

.eligibility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.35rem 0 0.5rem;
}
.elig-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.elig-badge.elig-ok {
  background: #e8f6ee;
  color: #17633b;
  border-color: #b7e0c6;
}
.elig-badge.elig-unknown {
  background: #f4f1e8;
  color: #6a5a2e;
  border-color: #e0d6b4;
}
.career-path-card,
.career-align-card {
  border-top: 1px solid var(--border, #e5e7eb);
  padding: 0.85rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.career-path-card h4 {
  margin: 0 0 0.35rem;
  line-height: 1.35;
  font-size: 1.05rem;
}
.career-path-card .btn,
.career-roadmap-panel .btn,
.career-path-actions .btn {
  margin-top: 0.5rem;
  max-width: 100%;
}
.career-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.career-paths-panel,
.career-roadmap-panel {
  margin-top: 1rem;
  max-width: 100%;
  overflow-x: hidden;
}
.careers-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
}
.careers-journey-label {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}
.careers-card {
  width: 100%;
  box-sizing: border-box;
}
.career-split-panel h4,
.career-paths-panel h4 {
  margin-bottom: 0.35rem;
}
.explore-note {
  font-size: 0.9rem;
}
.hiring-region {
  margin: 0.15rem 0;
}
.elig-badge.elig-no {
  background: #fceeed;
  color: #8a2f2f;
  border-color: #f0c4c4;
}
.source-attr {
  font-size: 0.75rem;
  color: #666;
}

.onboarding label textarea,
.onboarding label input,
.onboarding label select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
}
.onboard-intro { margin-bottom: 1rem; }
.onboarding .onboard-step label { margin-bottom: 0.9rem; }

.browse-page { max-width: 900px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.browse-search { display: flex; gap: 0.5rem; margin-top: 1rem; }
.browse-search input { flex: 1; }
.browse-filters { margin-top: 1rem; }
.browse-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.verify-banner {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--yellow-soft);
  border: 1px solid #fde047;
}
.tracker-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.stat-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 0.85rem;
}
.stat-card strong { display: block; font-size: 1.4rem; }
.source-bars { margin-top: 1rem; }
.source-bar {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.source-bar .bar {
  height: 8px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
}
.source-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}
.category-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.referral-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 0.8rem;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
.referral-invite-form,
.saved-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.saved-searches-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.saved-search-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.9rem;
}
.saved-search-item .actions { display: flex; gap: 0.35rem; flex-shrink: 0; }
.plan-picker {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.plan-option {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}
.kanban-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  min-height: 200px;
}
.kanban-column h3 { margin: 0 0 0.75rem; font-size: 0.95rem; }
.kanban-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.kanban-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid var(--border);
}
.kanban-card.due { border-color: #f59e0b; }
.kanban-card h4 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.kanban-card textarea,
.kanban-card select,
.kanban-card input[type="date"] {
  width: 100%;
  margin: 0.35rem 0;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem;
}
.follow-up-banner { margin-bottom: 1rem; border-color: #f59e0b; }
.new-matches-banner { margin-bottom: 1rem; border-color: #3b82f6; }
.pipeline-stats { margin-bottom: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; }
.pipeline-stats strong { display: block; font-size: 1.25rem; }
.hidden-jobs-list { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
.hidden-job-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; }
.job-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.job-modal.hidden { display: none; }
.job-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.job-modal-panel { position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto; z-index: 1; }
.job-modal-close { float: right; }
.similar-jobs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.similar-jobs-list { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.similar-job-link { display: block; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.similar-job-link:hover { border-color: var(--accent); }
.profile-completeness { margin-bottom: 1rem; }
.profile-completeness .bar { height: 8px; background: var(--surface); border-radius: 999px; overflow: hidden; margin: 0.5rem 0; }
.profile-completeness .bar > div { height: 100%; background: var(--success); border-radius: 999px; }
.match-breakdown { margin: 1rem 0; }
.breakdown-row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem; font-size: 0.85rem; }
.breakdown-row .bar { height: 6px; background: var(--surface); border-radius: 999px; overflow: hidden; }
.breakdown-row .bar > span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.watch-btn { border: none; background: transparent; cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0; }
.watch-btn.active { color: #fbbf24; }
.template-row { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
.template-row select { flex: 1; }
.prep-list { margin: 0.5rem 0; padding-left: 1.2rem; font-size: 0.9rem; }
.prep-list li { margin-bottom: 0.6rem; }

.admin-page { max-width: 900px; }
.ops-panel { margin-top: 1rem; padding: 1rem; background: var(--surface); border-radius: 12px; }
.ops-checklist { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.ops-checklist li { padding: 0.35rem 0; font-size: 0.9rem; }
.ops-checklist li.ok { color: #86efac; }
.ops-checklist li.bad { color: #fca5a5; }
.subscribe-card { max-width: 520px; margin: 2rem auto; text-align: center; }
.subscribe-card .lead { color: var(--muted); }
.subscribe-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.match-filters { margin-bottom: 1rem; }
.match-filters .grid-2 { margin-bottom: 0.75rem; }
.profile-editor label { display: block; margin-bottom: 0.75rem; font-size: 0.9rem; }
.profile-editor textarea,
.profile-editor select,
.profile-editor input { width: 100%; margin-top: 0.35rem; }

.pricing-page { max-width: 900px; }
.pricing-single { max-width: 560px; margin: 0 auto; }

@media (max-width: 900px) {
  .landing-steps { grid-template-columns: 1fr; }
  .landing-preview-grid { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 1.8rem; }
}
.pricing-hero { text-align: center; margin-bottom: 1.5rem; }
.price-tag {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.5rem 0;
  font-size: 2rem;
  font-weight: 700;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pricing-featured {
  border-color: var(--primary);
}
.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}
.app-notes {
  margin-top: 0.75rem;
}
.app-notes textarea {
  min-height: 72px;
  font-size: 0.85rem;
}
.app-notes .btn {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .dashboard-grid, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

/* ── Jobi-style layout ── */
.jobi-site { background: var(--bg-soft); }

.jobi-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #fafbff 55%, #ffffff 100%);
  padding: 2.5rem 2rem 3rem;
}

.jobi-hero-compact {
  padding: 2rem 2rem 2.5rem;
}

.jobi-hero-compact h1 {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
}

.jobi-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.jobi-hero:not(.jobi-hero-compact) .jobi-hero-inner {
  grid-template-areas:
    "copy visual"
    "tools visual";
  gap: 1.25rem 2rem;
}

.jobi-hero:not(.jobi-hero-compact) .jobi-hero-copy { grid-area: copy; }
.jobi-hero:not(.jobi-hero-compact) .jobi-hero-visual { grid-area: visual; }
.jobi-hero:not(.jobi-hero-compact) .jobi-hero-tools { grid-area: tools; }

.jobi-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.jobi-hero-copy .highlight {
  color: var(--primary);
}

.jobi-hero-copy .lead {
  max-width: 560px;
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.jobi-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.45rem 0.45rem 0.75rem;
  box-shadow: var(--shadow);
  max-width: 640px;
}

.jobi-search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.jobi-search-field input {
  border: none;
  background: transparent;
  padding: 0.65rem 0.25rem;
  box-shadow: none;
}

.jobi-search-field input:focus {
  outline: none;
}

.jobi-search-field input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.jobi-search-icon {
  font-size: 1rem;
  opacity: 0.55;
}

.jobi-search-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.jobi-search-btn {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.popular-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.tag-chip:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.jobi-hero-visual {
  position: relative;
  min-height: 0;
}

.hero-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: #e7e5e4;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

#how-it-works {
  scroll-margin-top: 5.5rem;
}

.employer-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.25rem 2rem 1.75rem;
}

.employer-strip-inner h2 {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
}

.employer-strip-note {
  margin: 0.4rem auto 0.9rem;
  text-align: center;
  font-size: 0.88rem;
}

.employer-logos {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0;
  padding: 0.35rem 0;
}

.employer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 64px;
  padding: 0.4rem 0.7rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
}

.employer-logos img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 112px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .employer-logos {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

.jobi-trust {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  text-align: center;
}

.trust-stat {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.trust-pills span {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
}

.jobi-categories,
.jobi-jobs-section,
.jobi-preview-section,
.jobi-stats-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 2rem 2.5rem;
}

.jobi-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.jobi-section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.jobi-section-head h2 {
  margin: 0 0 0.35rem;
}

.jobi-link {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.jobi-link:hover { text-decoration: underline; }

.category-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.category-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-icon-card:hover {
  border-color: #86efac;
  box-shadow: var(--shadow-sm);
}

.category-icon {
  font-size: 1.75rem;
}

.jobi-jobs-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}

.jobi-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.browse-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.jobi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jobi-card:not(.locked):hover {
  border-color: #86efac;
  box-shadow: var(--shadow);
}

.jobi-card.locked {
  pointer-events: auto;
  cursor: default;
}

.jobi-card.locked .blurred-company {
  filter: blur(6px);
  user-select: none;
}

.jobi-card.locked .lock-overlay {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.jobi-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.company-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.jobi-bookmark {
  color: var(--muted);
  font-size: 1.1rem;
}

.jobi-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.jobi-card-meta {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.jobi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.jobi-tags span {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  text-transform: capitalize;
}

.jobi-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.jobi-salary {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0.35rem 0 0.15rem;
}

.job-schedule {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

.jobi-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.jobi-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jobi-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.jobi-widget h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.jobi-widget-accent {
  background: linear-gradient(180deg, var(--primary-soft), #fff);
  border-color: #bbf7d0;
}

.widget-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sidebar-cat-list a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.sidebar-cat-list a:hover { text-decoration: underline; }

.keyword-suggest-wrap {
  position: relative;
  width: 100%;
}

.keyword-suggest-multi {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.keyword-suggest-multi:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.keyword-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 0;
}

.keyword-chip-row:empty {
  display: none;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 0.82rem;
  cursor: pointer;
}

.keyword-chip:hover {
  background: #dcfce7;
}

.keyword-chip-remove {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.75;
}

.keyword-suggest-typing {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  padding: 0.15rem 0.1rem;
}

.jobi-search-field .keyword-suggest-multi {
  min-height: 3rem;
}

.jobi-search-field .keyword-suggest-typing {
  font-size: 1rem;
}

.match-filters .keyword-suggest-multi,
.saved-search-form .keyword-suggest-multi {
  margin-top: 0.35rem;
}

.keyword-suggest-list {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 280px;
  overflow-y: auto;
}

.keyword-suggest-list.hidden {
  display: none;
}

.keyword-suggest-item {
  padding: 0.55rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
}

.keyword-suggest-item:hover,
.keyword-suggest-item.active {
  background: #ecfdf3;
  color: #166534;
}

.jobi-preview-section {
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.center-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.jobi-stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.jobi-stats-copy h2 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.jobi-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-feature-card.yellow-card {
  background: var(--yellow-soft);
  border-color: #fde047;
}

.stat-feature-card.green-card {
  background: var(--primary-soft);
  border-color: #bbf7d0;
}

.stat-big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.jobi-testimonial {
  max-width: 1240px;
  margin: 0 auto 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.jobi-testimonial blockquote {
  margin: 0;
}

.jobi-testimonial blockquote p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.jobi-testimonial footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-photo {
  min-height: 240px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-soft), var(--yellow-soft));
}

.jobi-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3rem 2rem 1.5rem;
}

.jobi-footer-mini {
  padding: 1.5rem 2rem;
}

.jobi-footer-cta {
  max-width: 1240px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.jobi-footer-cta h2 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.jobi-footer-cta .muted {
  color: #94a3b8;
}

.footer-signup {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn.ghost.light {
  background: transparent;
  border-color: #475569;
  color: #e2e8f0;
}

.jobi-footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.jobi-footer-grid h4 {
  margin: 0 0 0.75rem;
  color: #fff;
}

.jobi-footer-grid a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.jobi-footer-grid a:hover { color: #fff; }

.light-brand {
  color: #fff !important;
}

.footer-tagline {
  margin-top: 0.5rem;
  color: #94a3b8;
}

.jobi-footer-bottom {
  max-width: 1240px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.9rem;
}

.jobi-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.browse-page {
  max-width: 1240px;
  padding-top: 0.5rem;
}

.browse-layout {
  margin-top: 0.5rem;
}

.browse-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.browse-filters-card h3 {
  margin: 0 0 0.75rem;
}

.browse-bridge {
  max-width: 1240px;
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing { max-width: 1240px; }

@media (max-width: 900px) {
  .careers-view {
    max-width: 100%;
    padding: 0;
  }
  .career-path-card {
    padding: 1rem 0;
  }
  .career-path-card p,
  .career-roadmap-panel p,
  .career-roadmap-panel li {
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .dashboard-tabs {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .dashboard-tabs .dash-tab {
    flex: 1 1 auto;
    min-width: calc(50% - 0.35rem);
    font-size: 0.85rem;
    padding: 0.55rem 0.65rem;
    white-space: normal;
    line-height: 1.25;
  }
  .browse-page {
    padding: 1rem 0.85rem 2.5rem;
  }
  .browse-filters .card,
  .browse-filters {
    overflow-x: hidden;
  }

  .jobi-hero-inner,
  .jobi-jobs-layout,
  .jobi-stats-section,
  .jobi-testimonial,
  .jobi-footer-grid {
    grid-template-columns: 1fr;
  }

  .jobi-jobs-grid,
  .browse-grid {
    grid-template-columns: 1fr;
  }

  .jobi-hero-visual {
    min-height: 0;
  }

  .jobi-hero:not(.jobi-hero-compact) .jobi-hero-inner {
    grid-template-areas:
      "copy"
      "visual"
      "tools";
  }

  .employer-logos {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
  }

  .employer-logos li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .hero-photo {
    aspect-ratio: 4 / 5;
    max-height: 460px;
  }

  .jobi-search {
    flex-wrap: wrap;
    border-radius: var(--radius);
    padding: 0.75rem;
  }

  .jobi-search-divider {
    display: none;
  }

  .jobi-search-btn {
    width: 100%;
  }

  .topbar {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    gap: 0.5rem 0.75rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    gap: 0.75rem 1rem;
    margin-right: 0;
  }
}
