:root {
  --bg:        #FFFFFF;
  --bg-alt:    #FFFFFF;
  --surface:   #F4F4F6;
  --ink:       #111113;
  --ink-muted: #62636C;
  --ink-faint: #B0B1B8;
  --accent:    #E91E8C;
  --accent-lt: #FDF0F7;
  --line:      rgba(17,17,19,.07);
  --radius:    8px;
  --font-serif: 'Space Grotesk', system-ui, sans-serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --max:        1100px;
  --pad:        clamp(20px, 5vw, 60px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  background:
    linear-gradient(
      325deg,
      #3a18de 0%,
      #7a28e8 2.5%,
      #b03aec 5%,
      #d350f0 7.5%,
      #e468f2 10%,
      #eb84f4 13%,
      #f09ef6 17%,
      #f4b6f9 21%,
      #f7cdfb 26%,
      #f9e1fc 31%,
      #fbeefe 37%,
      #fdf7fe 43%,
      #fefcff 50%,
      #ffffff 50%
    );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
a { text-decoration: none; color: inherit; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 16px var(--pad);
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(17,17,19,.06);
  border-radius: 100px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 1px 2px rgba(17,17,19,.04), 0 8px 32px rgba(17,17,19,.06);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.nav-pill:hover {
  box-shadow: 0 1px 2px rgba(17,17,19,.04), 0 12px 40px rgba(17,17,19,.09);
  border-color: rgba(17,17,19,.1);
}
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-muted);
  padding: 6px 14px;
  border-radius: 100px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(17,17,19,.05); }
.nav-divider {
  width: 1px; height: 18px;
  background: rgba(17,17,19,.08);
  margin: 0 10px;
}
.nav-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.btn-ghost {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--ink-muted);
  transition: color .18s, border-color .18s, background .18s;
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(17,17,19,.2); background: var(--surface); }
.btn-solid {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 100px;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-solid:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(17,17,19,.16); }
.btn-solid:active { transform: translateY(0); box-shadow: none; }

/* ─── HERO ─── */
.hero {
  padding: 160px 60px 100px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero-text { flex: 1; max-width: 560px; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 600px;
  height: 600px;
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(233,30,140,0.06) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-muted);
  font-weight: 400;
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.cta-primary:active { transform: translateY(0); box-shadow: none; }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform .2s ease, color .18s, border-color .18s, background .18s;
}
.cta-secondary:hover { color: var(--ink); border-color: rgba(0,0,0,0.2); background: var(--surface); transform: translateY(-1px); }
.cta-secondary:active { transform: translateY(0); }

/* ─── DIVIDER ─── */
.divider {
  border: none;
  height: 0;
  margin: 0;
}

/* ─── JOBS ─── */
.jobs-section {
  padding: 80px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.jobs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: transparent;
  z-index: -1;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}
.section-eyebrow {
  font-size: 11.5px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  transition: color .18s;
  white-space: nowrap;
}
.view-all:hover { color: var(--ink); }

/* ─── JOB CARDS ─── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.job-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: default;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233,30,140,0.15);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.job-card:hover .job-arrow { opacity: 1; transform: translate(0,0); }
.job-card-btns {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.btn-apply {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 100px;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn-apply:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(17,17,19,.16); }
.btn-apply:active { transform: translateY(0); }
.btn-details {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  text-align: center;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
  white-space: nowrap;
}
.btn-details:hover { color: var(--ink); border-color: rgba(17,17,19,.2); background: var(--surface); }
.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.job-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600;
  color: var(--ink-muted);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.job-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--ink-muted);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.job-badge.new {
  background: var(--accent-lt);
  color: var(--accent);
  border-color: rgba(233,30,140,.15);
}
.job-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.job-org {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.job-tag.tag-location {
  color: #2563EB;
  background: #EFF6FF;
  border-color: rgba(37,99,235,.12);
}
.job-tag.tag-salary {
  color: #16a34a;
  background: #F0FDF4;
  border-color: rgba(22,163,74,.12);
}
.job-tag.tag-format {
  color: #9333EA;
  background: #FAF5FF;
  border-color: rgba(147,51,234,.12);
}
.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.job-date {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 400;
}
.job-arrow {
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .2s, transform .2s;
  color: var(--ink-muted);
}

/* ─── JOB DETAIL MODAL ─── */
.jd-overlay {
  position: fixed; inset: 0;
  background: rgba(15,14,12,.45);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.jd-overlay.open { opacity: 1; pointer-events: all; }
.jd-modal {
  background: var(--bg);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(15,14,12,.14);
  transform: translateY(16px);
  transition: transform .25s;
}
.jd-overlay.open .jd-modal { transform: translateY(0); }
.jd-modal-inner { padding: 32px; }
.jd-close {
  position: sticky;
  top: 16px;
  float: right;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-muted);
  transition: background .15s;
  margin-bottom: -30px;
  z-index: 10;
}
.jd-close:hover { background: var(--line); }
.jd-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.jd-logo {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 22px; color: var(--ink-muted);
  overflow: hidden;
}
.jd-logo img { width: 100%; height: 100%; object-fit: cover; }
.jd-logo-info { flex: 1; }
.jd-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600; line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: 4px;
}
.jd-company { font-size: 14px; color: var(--ink-muted); }
.jd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.jd-tag {
  font-size: 12px; font-weight: 500; color: var(--ink-muted);
  background: var(--surface); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 100px;
}
.jd-tag.tag-location {
  color: #2563EB; background: #EFF6FF; border-color: rgba(37,99,235,.12);
}
.jd-tag.tag-salary {
  color: #16a34a; background: #F0FDF4; border-color: rgba(22,163,74,.12);
}
.jd-tag.tag-format {
  color: #9333EA; background: #FAF5FF; border-color: rgba(147,51,234,.12);
}
.jd-section { margin-top: 20px; }
.jd-section-label {
  font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 8px;
}
.jd-section-text { font-size: 14px; color: var(--ink-muted); line-height: 1.7; }
.jd-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.jd-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--accent);
  border: 1px solid rgba(233,30,140,.2);
  padding: 5px 14px; border-radius: 100px;
  transition: background .15s;
}
.jd-link:hover { background: var(--accent-lt); }
.jd-footer {
  display: flex; gap: 10px; margin-top: 28px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.jd-save-btn {
  font-family: var(--font-sans); font-size: 13px;
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent; color: var(--ink-muted);
  cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 6px;
}
.jd-save-btn:hover { border-color: var(--accent); color: var(--accent); }
.jd-save-btn.saved { border-color: var(--accent); color: var(--accent); background: var(--accent-lt); }
.jd-share-btn {
  font-family: var(--font-sans); font-size: 13px;
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent; color: var(--ink-muted);
  cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 6px;
}
.jd-share-btn:hover { border-color: var(--ink-muted); color: var(--ink); }
.jd-apply-btn {
  flex: 1;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  padding: 10px 20px; border-radius: 100px;
  border: none; background: var(--ink); color: #fff;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; text-align: center;
}
.jd-apply-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(17,17,19,.16); }
.jd-apply-btn:active { transform: translateY(0); box-shadow: none; }

/* ─── JD REPORT LINK ─── */
.jd-report-link {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .18s;
  margin-left: auto;
  align-self: center;
}
.jd-report-link:hover { color: var(--accent); }

/* ─── REPORT MODAL ─── */
.report-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,19,.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.report-modal {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(17,17,19,.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.report-modal-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.report-select {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  appearance: auto;
  cursor: pointer;
}
.report-select:focus { outline: none; border-color: var(--accent); }
.report-textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
  height: 80px;
  line-height: 1.5;
}
.report-textarea:focus { outline: none; border-color: var(--accent); }
.report-textarea::placeholder { color: var(--ink-faint); }
.report-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ─── PROFILE PAGE ─── */
.profile-wrap { max-width: 680px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.profile-header { margin-bottom: 36px; }
.mode-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; border: 1px solid var(--line);
  border-radius: 20px; background: var(--bg);
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(17,17,19,.03);
  transition: border-color .2s ease;
}
.mode-card:hover { border-color: rgba(17,17,19,.12); }
.mode-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 4px; }
.mode-value { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.mode-sub { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }
.mode-toggle-btn {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  padding: 9px 20px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-muted);
  transition: all .2s ease; white-space: nowrap;
}
.mode-toggle-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.mode-toggle-btn.business { border-color: var(--accent); color: var(--accent); background: var(--accent-lt); }
.profile-status-card {
  padding: 16px 22px; border-radius: 14px; margin-bottom: 24px;
  font-size: 13.5px; font-weight: 500;
}
.profile-status-card.incomplete { background: #FFF7ED; border: 1px solid rgba(194,65,12,.15); color: #C2410C; }
.profile-status-card.complete { background: #F0FDF4; border: 1px solid rgba(22,163,74,.15); color: #16a34a; }
.profile-section { margin-bottom: 44px; }
.profile-section-title {
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.profile-form { display: flex; flex-direction: column; gap: 16px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-full { grid-column: 1 / -1; }
.pf-field { display: flex; flex-direction: column; gap: 6px; }
.pf-label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.req { color: var(--accent); }
.pf-input {
  font-family: var(--font-sans); font-size: 14px;
  padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .18s, box-shadow .18s; width: 100%; box-sizing: border-box;
}
.pf-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,30,140,.08); }
.pf-input[type="file"] { padding: 9px 12px; cursor: pointer; }
.pf-actions { margin-top: 10px; }
.photo-upload-area {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.photo-preview {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden; flex-shrink: 0; cursor: pointer; position: relative;
  transition: border-color .2s ease;
}
.photo-preview:hover { border-color: var(--accent); }
.photo-preview.square { border-radius: 16px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .18s; border-radius: inherit;
  color: #fff; font-family: var(--font-sans); font-size: 11px; font-weight: 500;
}
.photo-preview:hover .photo-preview-overlay { opacity: 1; }
.photo-upload-info { flex: 1; }
.photo-upload-title { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.photo-upload-sub { font-size: 12px; color: var(--ink-faint); margin-bottom: 10px; }
.photo-upload-btn {
  font-family: var(--font-sans); font-size: 12.5px;
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink-muted); cursor: pointer; transition: all .2s ease;
}
.photo-upload-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.photo-remove-btn {
  font-family: var(--font-sans); font-size: 12px; color: var(--ink-faint);
  background: none; border: none; cursor: pointer; margin-left: 8px;
  transition: color .15s;
}
.photo-remove-btn:hover { color: var(--accent); }
/* [mobile: pf-row — moved to responsive block] */

/* ─── DASHBOARD EXTRAS ─── */
.dash-mode-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.dash-mode-switcher-btn {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  padding: 6px 16px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-muted); transition: all .18s; display: flex; align-items: center; gap: 6px;
}
.dash-mode-switcher-btn:hover { border-color: var(--accent); color: var(--accent); }
.dash-mode-switcher-btn .mode-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.dash-mode-switcher-btn .mode-dot.personal { background: #4a90e2; }
.dash-mode-switcher-btn .mode-dot.business { background: var(--accent); }
.saved-row-detail-btn {
  font-family: var(--font-sans); font-size: 11.5px;
  padding: 5px 12px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-muted); transition: all .15s; white-space: nowrap;
}
.saved-row-detail-btn:hover { border-color: var(--ink); color: var(--ink); }
.saved-row-apply-btn {
  font-family: var(--font-sans); font-size: 11.5px;
  padding: 5px 12px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--accent); background: transparent;
  color: var(--accent); transition: all .15s; white-space: nowrap;
}
.saved-row-apply-btn:hover { background: var(--accent); color: #fff; }
.dash-post-btn {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  padding: 7px 16px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent-lt);
  color: var(--accent); transition: all .2s ease; margin-left: auto;
}
.dash-post-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(233,30,140,.2); }
.job-post-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-post-row:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.job-post-info { flex: 1; min-width: 0; }
.job-post-title { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--ink); }
.job-post-meta  { font-size: 12px; color: var(--ink-muted); margin-top: 3px; }
.job-post-actions { display: flex; gap: 6px; flex-shrink: 0; }
.job-action-btn {
  font-family: var(--font-sans); font-size: 11.5px;
  padding: 5px 12px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-muted); transition: all .15s; white-space: nowrap;
}
.job-action-btn:hover { border-color: var(--ink); color: var(--ink); }
.job-action-btn.danger:hover  { border-color: var(--accent); color: var(--accent); }
.job-action-btn.success:hover { border-color: #1a7a45; color: #1a7a45; }
.job-status-badge {
  font-size: 10.5px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px; flex-shrink: 0;
}
.job-status-badge.open     { background: #F0FDF4; color: #16a34a; border: 1px solid rgba(22,163,74,.15); }
.job-status-badge.closed   { background: var(--surface); color: var(--ink-faint); border: 1px solid var(--line); }
.job-status-badge.archived { background: var(--surface); color: var(--ink-faint); border: 1px solid var(--line); }
.app-count-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-sans); font-size: 11px;
  padding: 2px 8px; border-radius: 100px;
  background: #fff3d6; color: #9a6200; border: 1px solid #f0d080;
}
.app-count-chip.zero { background: var(--surface); color: var(--ink-faint); border-color: var(--line); }

/* ─── EDIT JOB FORM ─── */
.edit-job-wrap { max-width: 640px; }
.edit-job-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--ink-muted); cursor: pointer;
  margin-bottom: 28px; background: none; border: none;
  font-family: var(--font-sans); padding: 0; transition: color .15s;
}
.edit-job-back:hover { color: var(--ink); }
.edit-job-section { margin-bottom: 28px; }
.edit-job-title-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 12px;
}

/* ─── APPLY MODAL ─── */
.apply-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(17,17,19,.35); backdrop-filter: blur(12px) saturate(180%);
  z-index: 600; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .22s;
}
.apply-modal-overlay.open { opacity: 1; pointer-events: all; }
.apply-modal {
  background: var(--bg); border-radius: 24px;
  width: 100%; max-width: 460px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(17,17,19,.08), 0 30px 80px rgba(17,17,19,.12);
  padding: 36px;
  transform: translateY(20px) scale(.98); transition: transform .3s cubic-bezier(.175,.885,.32,1.275);
  position: relative;
}
.apply-modal-overlay.open .apply-modal { transform: translateY(0) scale(1); }
.apply-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-muted); transition: all .18s;
}
.apply-modal-close:hover { background: var(--line); color: var(--ink); }
.apply-modal-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.apply-modal-title {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 4px; line-height: 1.3;
}
.apply-modal-company { font-size: 13px; color: var(--ink-muted); margin-bottom: 20px; }
.apply-profile-preview {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 20px;
}
.apply-profile-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden; flex-shrink: 0;
}
.apply-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.apply-profile-info { flex: 1; min-width: 0; }
.apply-profile-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.apply-profile-meta { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.apply-cv-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-faint);
  padding: 10px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 20px;
}
.apply-btns { display: flex; flex-direction: column; gap: 8px; }
.apply-btn-send {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 13px 20px; border-radius: 100px; border: none;
  background: var(--ink); color: #fff; cursor: pointer;
  transition: all .2s ease; text-align: center;
}
.apply-btn-send:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(17,17,19,.15); }
.apply-btn-send:active { transform: translateY(0); }
.apply-btn-customize {
  font-family: var(--font-sans); font-size: 13px;
  padding: 11px 20px; border-radius: 100px;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-muted); cursor: pointer; transition: all .18s; text-align: center;
}
.apply-btn-customize:hover { border-color: var(--ink); color: var(--ink); }
.apply-success {
  text-align: center; padding: 12px 0 4px;
}
.apply-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #F0FDF4; border: 1px solid rgba(22,163,74,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.apply-success-title {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.apply-success-sub { font-size: 14px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 20px; }

/* ─── APPLY PAGE ─── */
.apply-page-wrap { max-width: 600px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.apply-job-header {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 20px; margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(17,17,19,.03);
}
.apply-job-logo {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden; flex-shrink: 0;
}
.apply-job-logo img { width: 100%; height: 100%; object-fit: cover; }
.apply-job-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.apply-job-company { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }
.apply-form-section { margin-bottom: 32px; }
.apply-form-title {
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.apply-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.apply-label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.apply-input {
  font-family: var(--font-sans); font-size: 14px;
  padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .18s, box-shadow .18s; width: 100%; box-sizing: border-box;
}
.apply-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,30,140,.08); }
.apply-input:disabled { opacity: .55; cursor: not-allowed; }
.apply-textarea {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.6;
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .18s, box-shadow .18s;
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 120px;
}
.apply-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,30,140,.08); }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apply-note { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
.apply-submit-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.apply-back-btn {
  font-family: var(--font-sans); font-size: 13px;
  padding: 11px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-muted); cursor: pointer; transition: all .18s;
}
.apply-back-btn:hover { border-color: var(--ink); color: var(--ink); }
/* [mobile: apply-row — moved to responsive block] */

/* ─── DASHBOARDS ─── */
.dash-wrap { max-width: 760px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.dash-section { margin-bottom: 48px; }
.dash-section-title {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: none;
  display: flex; align-items: center; gap: 10px;
}
.dash-count {
  font-family: var(--font-sans); font-size: 12px; color: var(--bg);
  font-weight: 600; margin-left: 4px;
  background: var(--ink-faint); padding: 2px 8px; border-radius: 100px;
}
.saved-list { display: flex; flex-direction: column; gap: 10px; }
.saved-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.saved-row:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.saved-row-logo {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden;
}
.saved-row-logo img { width: 100%; height: 100%; object-fit: cover; }
.saved-row-info { flex: 1; min-width: 0; }
.saved-row-title { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--ink); }
.saved-row-sub { font-size: 12px; color: var(--ink-muted); margin-top: 3px; }
.saved-row-remove {
  font-size: 12px; color: var(--ink-faint); background: none; border: none;
  cursor: pointer; font-family: var(--font-sans); padding: 4px 8px;
  border-radius: 6px; transition: color .15s;
}
.saved-row-remove:hover { color: var(--accent); }
.dash-empty { font-size: 14px; color: var(--ink-faint); padding: 24px 0; }

/* App status badge */
.app-status {
  font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; flex-shrink: 0;
}
.app-status.new { background: #FFF7ED; color: #C2410C; border: 1px solid rgba(194,65,12,.15); }
.app-status.opened { background: var(--surface); color: var(--ink-faint); border: 1px solid var(--line); }

/* Dashboard chat button */
.dash-chat-btn {
  background: transparent; border: none; outline: none;
  cursor: pointer; padding: 2px 4px; flex-shrink: 0;
  color: #E91E8C; transition: opacity .15s ease; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.dash-chat-btn:hover { opacity: .7; }

/* Candidate app row — clickable employer view */
.app-row-clickable {
  cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-row-clickable:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.app-row-clickable.new-app { border-left: 3px solid #f0b429; }

/* ─── APPLICATION DETAIL ─── */
.app-detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--ink-muted); cursor: pointer;
  margin-bottom: 28px; transition: color .15s;
  background: none; border: none; font-family: var(--font-sans); padding: 0;
}
.app-detail-back:hover { color: var(--ink); }
.app-detail-header {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 20px; margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(17,17,19,.03);
}
.app-detail-job-logo {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink-muted); overflow: hidden;
}
.app-detail-job-logo img { width: 100%; height: 100%; object-fit: cover; }
.app-detail-job-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.app-detail-job-company { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }
.app-detail-meta { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
.app-detail-section { margin-bottom: 28px; }
.app-detail-section-title {
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.app-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.app-detail-field { display: flex; flex-direction: column; gap: 4px; }
.app-detail-label { font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }
.app-detail-value { font-size: 14px; color: var(--ink); }
.app-detail-cover {
  font-size: 14px; line-height: 1.75; color: var(--ink-muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px;
}
.app-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.app-detail-btn {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  padding: 10px 20px; border-radius: 100px; cursor: pointer; transition: all .2s ease;
}
.app-detail-btn.primary { border: none; background: var(--ink); color: #fff; }
.app-detail-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(17,17,19,.15); }
.app-detail-btn.primary:active { transform: translateY(0); }
.app-detail-btn.secondary { border: 1px solid var(--line); background: transparent; color: var(--ink-muted); }
.app-detail-btn.secondary:hover { border-color: var(--ink); color: var(--ink); }
.app-detail-candidate-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.app-detail-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden; flex-shrink: 0;
}
.app-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* [mobile: app-detail-grid — moved to responsive block] */

/* ─── HOW IT WORKS ─── */
.how-section {
  padding: 80px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: transparent;
  z-index: -1;
}
.how-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.how-col {
  padding: 36px 32px;
  background: var(--bg-alt);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.how-col:hover {
  transform: translateY(-2px);
  border-color: rgba(17,17,19,.12);
  box-shadow: 0 10px 36px rgba(17,17,19,.07), 0 2px 8px rgba(17,17,19,.03);
}
.how-col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.how-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.how-col-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.how-steps { display: flex; flex-direction: column; gap: 18px; }
.how-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-lt);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
  margin-top: 0;
}
.step-text {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.step-text strong { color: var(--ink); font-weight: 500; }


/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 36px;
  margin-top: 40px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-logo { display: flex; align-items: center; }
.footer-tagline {
  font-size: 13px;
  margin-top: 12px;
  max-width: 240px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col-title {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col-links a {
  font-size: 13.5px;
  color: var(--ink-muted);
  transition: color .18s;
}
.footer-col-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--ink-faint); }
.sport-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1;
}
.sport-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}
.footer-sports { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,19,.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg);
  border-radius: 24px;
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  transform: translateY(20px) scale(.98);
  transition: transform .3s cubic-bezier(.34,1.2,.64,1);
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(17,17,19,.08), 0 30px 80px rgba(17,17,19,.12);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-muted);
  transition: background .18s, border-color .18s;
}
.modal-close:hover { background: var(--bg); border-color: rgba(17,17,19,.15); }
.modal-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.modal-sub { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 28px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-field label { font-size: 12px; font-weight: 500; color: var(--ink-muted); letter-spacing: .03em; }
.form-field input {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,30,140,.08); }
.pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pass-wrap input {
  width: 100%;
  padding-right: 42px;
}
.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s;
  z-index: 10;
  width: 32px;
  height: 32px;
}
@media (max-width: 768px) {
  .pass-toggle {
    width: 44px;
    height: 44px;
    right: 4px;
  }
}
.pass-toggle svg { pointer-events: none; }
.pass-toggle:hover { color: var(--ink-muted); }
.btn-submit {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  border-radius: 100px;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,17,19,.18); }
.btn-submit:active { transform: translateY(0); box-shadow: none; }
.modal-switch { text-align: center; margin-top: 20px; font-size: 13px; color: var(--ink-muted); }
.modal-switch a { color: var(--accent); cursor: pointer; font-weight: 500; }
.cf-turnstile, #authTurnstile { display: flex; justify-content: center; margin: 16px 0; }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  z-index: 2000;
  transition: transform .35s cubic-bezier(.175,.885,.32,1.275), opacity .35s ease;
  white-space: nowrap;
  opacity: 0;
  box-shadow: 0 8px 30px rgba(17,17,19,.18), 0 2px 6px rgba(17,17,19,.08);
  letter-spacing: .01em;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up-1 { animation-delay: .08s; }
.fade-up-2 { animation-delay: .16s; }
.fade-up-3 { animation-delay: .24s; }

/* Scroll-triggered reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal-d1 { transition-delay: .08s; }
.scroll-reveal-d2 { transition-delay: .16s; }
.scroll-reveal-d3 { transition-delay: .24s; }

/* ─── RESPONSIVE ─── */
/* Responsive — see comprehensive block at end of CSS */


/* ─── JOBS PAGE CSS ─── */
.page-header {
  padding: 120px var(--pad) 48px;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.03em;
}
.page-sub { font-size: 15px; color: var(--ink-muted); font-weight: 300; margin-top: 12px; }
.jobs-count { font-size: 13px; color: var(--ink-faint); margin-top: 8px; }
.filters-bar {
  padding: 20px var(--pad);
  max-width: var(--max);
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.outside-us-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  margin-left: 0;
}
.outside-us-label input[type="checkbox"] {
  width: 10px; height: 10px;
  accent-color: var(--accent);
  cursor: pointer;
}
.filter-select:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.filter-select {
  font-family: var(--font-sans); font-size: 13px;
  padding: 9px 34px 9px 16px; border: 1px solid var(--line);
  border-radius: 100px; background: var(--bg); color: var(--ink-muted);
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B0B1B8' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .18s, color .18s, box-shadow .18s;
}
.filter-select:hover { border-color: rgba(17,17,19,.2); color: var(--ink); }
.filter-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,30,140,.06); }
.filter-clear {
  font-size: 12.5px; color: var(--ink-faint); cursor: pointer;
  padding: 4px 8px; border-radius: 6px; transition: color .18s;
  border: none; background: none; font-family: var(--font-sans);
}
.filter-clear:hover { color: var(--ink-muted); }
.jobs-main {
  max-width: var(--max); margin: 0 auto;
  padding: 32px var(--pad) 80px;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.no-results { text-align: center; padding: 80px 20px; color: var(--ink-faint); }
.no-results-title { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--ink-muted); margin-bottom: 8px; }
.job-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 20px; padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px;
  background: rgba(255, 255, 255, 0.85); cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color .22s ease;
}
.job-row:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); border-color: rgba(17,17,19,.12); }
.job-row:hover .job-row-arrow { opacity: 1; transform: translate(0,0); }
.job-row-logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ink-muted); flex-shrink: 0;
}
.job-row-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.job-row-title { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-row-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.job-row-company { font-size: 13px; color: var(--ink-muted); }
.job-row-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.job-tag-pill { font-size: 11px; font-weight: 500; color: var(--ink-muted); background: var(--surface); border: 1px solid var(--line); padding: 3px 10px; border-radius: 100px; }
.job-tag-pill.new { background: var(--accent-lt); color: var(--accent); border-color: rgba(233,30,140,.15); }
.job-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.job-row-salary { font-size: 13.5px; color: var(--ink-muted); font-weight: 500; white-space: nowrap; }
.job-row-location { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-faint); }
.job-row-arrow { color: var(--ink-faint); opacity: 0; transform: translate(-6px, 0); transition: opacity .2s, transform .2s; margin-top: 4px; }
.job-row-date { font-size: 11.5px; color: var(--ink-faint); }

/* ─── PAGES ─── */
.page { display: none; overflow-x: hidden; }
.page.active { display: block; }

/* Job row responsive — see comprehensive block at end of CSS */

/* ════════════════════════════════════════════════════════════
   STEP 10 — JOBS PAGE DESIGN UPGRADE
   ════════════════════════════════════════════════════════════ */

/* Page header — bigger presence */
.page-header {
  padding: 80px var(--pad) 60px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.035em;
  margin-bottom: 16px;
}
.page-sub {
  font-size: 16px;
  color: var(--ink-muted);
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.7;
}
.jobs-count {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 10px;
  font-weight: 400;
}

/* Filters bar */
.filters-bar {
  padding: 14px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  border-radius: 0;
  position: sticky;
  top: 68px;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: transparent;
  box-shadow: none;
}
.filter-select {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 32px 8px 14px;
  border: 1px solid rgba(17,17,19,.08);
  border-radius: 100px;
  background: rgba(244,244,246,.5);
  color: var(--ink-muted);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B0B1B8' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .18s, color .18s, background .18s;
}
.filter-select:hover {
  border-color: rgba(17,17,19,.15);
  color: var(--ink);
  background: rgba(244,244,246,.8);
}
.filter-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,30,140,.06);
  color: var(--ink);
}
.filter-select:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.outside-us-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(244,244,246,.5);
  border: 1px solid rgba(17,17,19,.08);
  transition: border-color .18s, color .18s;
}
.outside-us-label:hover {
  border-color: rgba(17,17,19,.15);
  color: var(--ink);
}

/* Job row cards — refined with subtle left accent on hover */
.job-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all .25s cubic-bezier(.25,.8,.25,1);
  position: relative;
}
.job-row::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px; height: 60%;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  transition: transform .25s cubic-bezier(.25,.8,.25,1);
}
.job-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(17,17,19,.1);
}
.job-row:hover::before {
  transform: translateY(-50%) scaleY(1);
}
.job-row-logo {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(17,17,19,.06);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600; color: var(--ink-muted);
  flex-shrink: 0;
  transition: border-color .2s;
}
.job-row:hover .job-row-logo {
  border-color: rgba(233,30,140,.2);
}
.job-row-title {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-tag-pill {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid rgba(17,17,19,.06);
  padding: 3px 10px;
  border-radius: 8px;
  transition: all .15s;
}
.job-tag-pill.new {
  background: var(--accent-lt);
  color: var(--accent);
  border-color: rgba(233,30,140,.12);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   STEP 11 — DASHBOARD DESIGN UPGRADE
   ════════════════════════════════════════════════════════════ */

/* Dashboard wrapper — add some breathing room */
.dash-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px var(--pad) 80px;
}

/* Dashboard header upgrade */
#page-dashboard .page-eyebrow {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: 11.5px;
  margin-bottom: 10px;
}

/* Section titles — modern with count pill */
.dash-section {
  margin-bottom: 44px;
}
.dash-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-count {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #fff;
  font-weight: 600;
  margin-left: 4px;
  background: var(--ink);
  padding: 2px 9px;
  border-radius: 100px;
  letter-spacing: .02em;
}

/* Collapsible dashboard sections (Personal only) */
.dash-collapsible {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 10px;
  transition: background .18s ease;
}
.dash-collapsible:hover { background: rgba(17,17,19,.03); }
.dash-toggle-arrow {
  font-size: 12px;
  color: var(--ink-faint);
  transition: transform .3s ease;
  display: inline-block;
  width: 16px;
  flex-shrink: 0;
  text-align: center;
}
.dash-toggle-arrow.collapsed { transform: rotate(-90deg); }
.dash-section-body {
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease;
  max-height: 5000px;
  opacity: 1;
}
.dash-section-body.collapsed {
  max-height: 0;
  opacity: 0;
}

/* Business Dashboard — scrollable list containers */
#employerAppsList {
  max-height: 720px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.18) transparent;
}
#myJobsList {
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.18) transparent;
}
#archivedJobsList {
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.18) transparent;
}
#employerAppsList::-webkit-scrollbar,
#myJobsList::-webkit-scrollbar,
#archivedJobsList::-webkit-scrollbar { width: 4px; }
#employerAppsList::-webkit-scrollbar-track,
#myJobsList::-webkit-scrollbar-track,
#archivedJobsList::-webkit-scrollbar-track { background: transparent; }
#employerAppsList::-webkit-scrollbar-thumb,
#myJobsList::-webkit-scrollbar-thumb,
#archivedJobsList::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }
#employerAppsList::-webkit-scrollbar-thumb:hover,
#myJobsList::-webkit-scrollbar-thumb:hover,
#archivedJobsList::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.3); }

/* Business Dashboard — pink NEW applications badge */
.biz-new-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #EA0BBD;
  padding: 2px 10px;
  border-radius: 100px;
  margin-left: 4px;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* Saved/Application rows — card style */
.saved-row, .app-row-clickable {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.saved-row:hover, .app-row-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.saved-row-logo {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(17,17,19,.06);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden;
  transition: border-color .2s;
}
.saved-row:hover .saved-row-logo {
  border-color: rgba(233,30,140,.2);
}
.saved-row-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Application status badges — modern pills */
.app-status {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}
.app-status.new {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid rgba(194,65,12,.15);
}
.app-status.opened {
  background: var(--surface);
  color: var(--ink-faint);
  border: 1px solid var(--line);
}
.app-row-clickable.new-app {
  border-left: 3px solid #f0b429;
}

/* Job status badges */
.job-status-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}
.job-status-badge.open {
  background: #F0FDF4;
  color: #16a34a;
  border: 1px solid rgba(22,163,74,.15);
}
.job-status-badge.closed {
  background: var(--surface);
  color: var(--ink-faint);
  border: 1px solid var(--line);
}
.job-status-badge.archived {
  background: var(--surface);
  color: var(--ink-faint);
  border: 1px solid var(--line);
}

/* Job post rows in dashboard */
.job-post-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-post-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.job-post-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Application count chip */
.app-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 8px;
  background: #fff3d6;
  color: #9a6200;
  border: 1px solid #f0d080;
}
.app-count-chip.zero {
  background: var(--surface);
  color: var(--ink-faint);
  border-color: var(--line);
}

/* Post job button */
.dash-post-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: var(--accent-lt);
  color: var(--accent);
  transition: all .2s ease;
  margin-left: auto;
}
.dash-post-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233,30,140,.2);
}

/* Job action buttons in dashboard */
.job-action-btn {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(17,17,19,.09);
  background: var(--surface);
  color: var(--ink-muted);
  transition: all .18s;
  white-space: nowrap;
}
.job-action-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(17,17,19,.06);
}
.job-action-btn.danger:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}
.job-action-btn.success:hover {
  border-color: #16a34a;
  color: #16a34a;
  background: #F0FDF4;
}

/* Saved row buttons */
.saved-row-detail-btn {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(17,17,19,.09);
  background: var(--surface);
  color: var(--ink-muted);
  transition: all .18s;
  white-space: nowrap;
}
.saved-row-detail-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.saved-row-apply-btn {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: var(--accent-lt);
  color: var(--accent);
  transition: all .18s;
  white-space: nowrap;
}
.saved-row-apply-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233,30,140,.2);
}

/* Empty state */
.dash-empty {
  font-size: 14px;
  color: var(--ink-faint);
  padding: 32px 0;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════
   STEP 12 — PROFILE PAGE DESIGN UPGRADE
   ════════════════════════════════════════════════════════════ */

/* Profile wrapper */
.profile-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 120px var(--pad) 80px;
}

/* Mode toggle card */
.mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(17,17,19,.03);
  transition: all .25s ease;
}
.mode-card:hover {
  border-color: rgba(17,17,19,.12);
}
.mode-value {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.mode-sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.mode-toggle-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-muted);
  transition: all .2s ease;
  white-space: nowrap;
}
.mode-toggle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.mode-toggle-btn.business {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}

/* Profile status card */
.profile-status-card {
  padding: 16px 22px;
  border-radius: 14px;
  margin-bottom: 28px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-status-card.incomplete {
  background: #FFF7ED;
  border: 1px solid rgba(194,65,12,.15);
  color: #C2410C;
}
.profile-status-card.complete {
  background: #F0FDF4;
  border: 1px solid rgba(22,163,74,.15);
  color: #16a34a;
}

/* Profile sections */
.profile-section {
  margin-bottom: 44px;
}
.profile-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
  letter-spacing: -.02em;
}

/* Form fields — modern, elevated */
.pf-input, .pf-input[type="file"] {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(17,17,19,.09);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: all .2s ease;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(17,17,19,.03);
}
select.pf-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B0B1B8' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
textarea.pf-input {
  resize: vertical;
}
.pf-input:hover {
  border-color: rgba(17,17,19,.15);
}
.pf-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,30,140,.08), 0 1px 3px rgba(17,17,19,.04);
  background: var(--bg);
}

/* CV attached display */
.cv-attached {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
  color: var(--ink);
}
.cv-attached-icon {
  flex-shrink: 0;
  color: var(--ink-faint);
}
.cv-attached-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.cv-remove-btn {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #999;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
  padding: 0;
}
.cv-remove-btn:hover {
  background: #666;
  transform: scale(1.1);
}

.pf-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Photo upload area — elevated */
.photo-upload-area {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px dashed rgba(17,17,19,.1);
  border-radius: 18px;
  background: var(--surface);
  margin-bottom: 12px;
  transition: all .2s ease;
}
.photo-upload-area:hover {
  border-color: rgba(233,30,140,.2);
}
.photo-preview {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(17,17,19,.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 600; color: var(--ink-muted);
  overflow: hidden; flex-shrink: 0; cursor: pointer; position: relative;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(17,17,19,.06);
}
.photo-preview:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(233,30,140,.12);
}
.photo-upload-btn {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(17,17,19,.09);
  background: var(--bg);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 1px 3px rgba(17,17,19,.04);
}
.photo-upload-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233,30,140,.12);
}

/* Save profile button */
#candidateSection .btn-apply,
#employerSection .btn-apply {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s ease;
}
#candidateSection .btn-apply:hover,
#employerSection .btn-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(17,17,19,.16);
}

/* Mode label refinement */
.mode-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 4px;
}

/* ─── MESSAGES ─────────────────────────────────── */
#page-messages {
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
}
#page-messages.active {
  display: flex !important;
  min-height: calc(100vh - 80px);
  padding-top: 80px;
  flex-grow: 1;
  background: #ffffff;
}
.msg-wrap {
  display: flex;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

/* Sidebar */
.msg-sidebar {
  width: 340px;
  min-width: 300px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.msg-conv-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.msg-conv-list::-webkit-scrollbar { width: 4px; }
.msg-conv-list::-webkit-scrollbar-track { background: transparent; }
.msg-conv-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }
.msg-conv-list::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.3); }
.msg-sidebar-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.msg-sidebar-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.msg-mode-pill {
  display: flex;
  align-items: center;
  border-radius: 100px;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}
.msg-mode-pill button {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 14px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--ink-faint);
  transition: all .18s;
  white-space: nowrap;
}
.msg-mode-pill button.active {
  background: var(--ink);
  color: #fff;
}
.msg-mode-pill button:first-child { border-radius: 100px 0 0 100px; }
.msg-mode-pill button:last-child { border-radius: 0 100px 100px 0; }
.msg-conv-row {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}
.msg-conv-row:hover { background: var(--surface); }
.msg-conv-row.active { background: var(--surface); border-left: 3px solid var(--accent); }
.msg-conv-row.unread { background: rgba(0,0,0,0.04); }
.msg-conv-row.unread .msg-conv-name { font-weight: 600; }
.msg-conv-row.unread .msg-conv-preview { color: var(--ink); font-weight: 600; }
.msg-conv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.msg-conv-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  flex-shrink: 0;
  overflow: hidden;
}
.msg-conv-avatar.square { border-radius: 10px; }
.msg-conv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-conv-info { flex: 1; min-width: 0; }
.msg-conv-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-conv-time {
  font-size: 11px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.msg-conv-job {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-conv-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 48px;
}
.msg-conv-preview {
  flex: 1;
  font-size: 13px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-new-badge {
  font-size: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  background: #E91E8C;
  color: #fff;
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.msg-unread-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}
.msg-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E91E8C;
  flex-shrink: 0;
}
.msg-unread-count {
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  background: #E91E8C;
  color: #fff;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-mobile-msgs {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #E91E8C;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .18s, background .18s;
}
.nav-mobile-msgs:hover { opacity: .75; background: rgba(233,30,140,.06); }
.nav-mobile-dash {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #E91E8C;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .18s, background .18s;
}
.nav-mobile-dash:hover { opacity: .75; background: rgba(233,30,140,.06); }
.nav-msg-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #E91E8C;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.msg-pending-tag {
  font-size: 10px;
  font-weight: 500;
  color: #C2410C;
  background: #FFF7ED;
  border: 1px solid rgba(194,65,12,.15);
  padding: 1px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}
.msg-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.7;
}

/* Thread */
.msg-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}
.msg-thread-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.msg-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  gap: 12px;
}
.msg-thread-hdr-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.msg-thread-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  flex-shrink: 0;
  overflow: hidden;
}
.msg-thread-avatar.square { border-radius: 10px; }
.msg-thread-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-thread-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.msg-thread-job {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 1px;
}
.msg-thread-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.msg-approve-btn {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all .2s ease;
}
.msg-approve-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(17,17,19,.15); }
.msg-hdr-btn {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--ink-muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.msg-hdr-btn:hover { border-color: var(--ink-muted); color: var(--ink); }
.msg-back-btn { display: none; }
.msg-hdr-btn.danger:hover { border-color: #d44; color: #d44; }

/* Pending notice */
.msg-pending-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #FFF7ED;
  border-bottom: 1px solid rgba(194,65,12,.12);
  font-size: 13px;
  color: #C2410C;
  line-height: 1.5;
  flex-shrink: 0;
}

/* Messages list */
.msg-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* System messages */
.msg-system {
  text-align: center;
  font-size: 11px;
  color: var(--ink-faint);
  padding: 4px 14px;
  background: var(--surface);
  border-radius: 100px;
  align-self: center;
  max-width: 340px;
  letter-spacing: .02em;
  margin: 8px 0;
}

/* Bubbles */
.msg-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 70%;
}
.msg-bubble-wrap.mine { align-self: flex-end; align-items: flex-end; }
.msg-bubble-wrap.theirs { align-self: flex-start; align-items: flex-start; }
.msg-bubble {
  padding: 10px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.msg-bubble.mine {
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bubble.theirs {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.msg-bubble-time {
  font-size: 10px;
  color: var(--ink-faint);
  margin-top: 3px;
  padding: 0 4px;
}

/* Input */
.msg-input-area {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.msg-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  resize: none;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  line-height: 1.5;
  min-height: 42px;
}
.msg-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,30,140,.08); }
.msg-input::placeholder { color: var(--ink-faint); }
.msg-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease;
}
.msg-send-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(17,17,19,.15); }
.msg-send-btn:disabled { opacity: .3; cursor: default; transform: none; box-shadow: none; }
.msg-input-disabled {
  flex: 1;
  font-size: 13px;
  color: var(--ink-faint);
  padding: 12px 0;
  font-style: italic;
  text-align: center;
}
.msg-blocked-notice {
  font-size: 13px;
  color: #d44;
  padding: 14px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.msg-unblock-btn {
  background: #4CAF50 !important;
  color: #fff !important;
  border-color: #4CAF50 !important;
}
.msg-unblock-btn:hover {
  background: #43A047 !important;
  border-color: #43A047 !important;
  color: #fff !important;
}
.msg-conv-blocked-icon {
  margin-left: 5px;
  font-size: 12px;
  vertical-align: middle;
}

/* Report modal */
.msg-report-overlay {
  position: fixed; inset: 0;
  background: rgba(17,17,19,.35);
  backdrop-filter: blur(12px) saturate(180%);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.msg-report-modal {
  background: var(--bg);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(17,17,19,.08), 0 30px 80px rgba(17,17,19,.12);
}
.msg-report-modal h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}
.msg-report-modal select,
.msg-report-modal textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  outline: none;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.msg-report-modal select:focus,
.msg-report-modal textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,30,140,.08);
}
.msg-report-modal textarea { min-height: 80px; resize: vertical; }
.msg-report-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 6px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — COMPLETE MOBILE & TABLET ADAPTATION
   Breakpoints: 860 → 680 → 500 → 380
   ════════════════════════════════════════════════════════════ */

/* Hamburger button — hidden by default, shown on tablet+ */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 6px;
  border-radius: 8px;
  transition: color .18s, background .18s;
  margin-left: 4px;
}
.nav-burger:hover { color: var(--ink); background: rgba(17,17,19,.05); }

/* ═══════════════════════════════════════════
   LARGE TABLET — max 1024px
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(44px, 7vw, 56px); }
  .footer-top { flex-direction: column; gap: 28px; }
  .profile-wrap { padding-left: 24px; padding-right: 24px; }
  .dash-wrap { padding-left: 24px; padding-right: 24px; }
  .msg-sidebar { width: 280px; min-width: 250px; }
}

/* ═══════════════════════════════════════════
   TABLET — max 860px
   ═══════════════════════════════════════════ */
@media (max-width: 860px) {
  /* Nav: hide links, show burger */
  .nav-links { display: none; }
  .nav-links + .nav-divider { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-msgs { display: flex; }
  .nav-mobile-dash { display: flex; }
  .nav-msgs-desktop { display: none !important; }
  .nav-dash-desktop { display: none !important; }

  /* Nav auth buttons — compact */
  .nav-auth .btn-solid { font-size: 11px; padding: 6px 14px; }
  .nav-auth .btn-ghost { font-size: 11px; padding: 6px 12px; }

  /* Mobile dropdown menu */
  .nav-pill.menu-open {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 6px 6px 12px 18px;
  }
  .nav-pill.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 10;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    gap: 2px;
  }
  .nav-pill.menu-open .nav-links + .nav-divider { display: none; }
  .nav-pill.menu-open .nav-links a {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  /* Footer */
  .footer-links { gap: 32px; }

  /* Dashboard job post rows */
  .job-post-row {
    flex-wrap: wrap; gap: 10px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); margin-bottom: 10px;
  }
  .job-post-row:hover { transform: none; }
  .job-post-actions { width: 100%; justify-content: flex-start; }
}

/* ═══════════════════════════════════════════
   MEDIUM TABLET — max 768px
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  body {
    background:
      linear-gradient(
        325deg,
        #3a18de 0%,
        #7a28e8 3%,
        #b03aec 6%,
        #d350f0 9%,
        #eb84f4 14%,
        #f4b6f9 21%,
        #f9e1fc 30%,
        #fdf7fe 40%,
        #ffffff 55%
      );
    background-attachment: fixed;
  }
  .jobs-grid { grid-template-columns: 1fr; }
  .how-cols { grid-template-columns: 1fr; }
  .hero { flex-direction: column; padding: 120px 24px 40px; text-align: center; gap: 30px; }
  .hero-text { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .ball-wrap { margin-top: 28px; margin-bottom: -24px; }
  .ball-img { width: 124px; height: 124px; }
  .ball-shadow { width: 68px; height: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-header { padding-top: 100px; padding-bottom: 40px; }

  /* ── Job cards & rows — mobile visibility ── */
  .job-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
  }
  .job-card:hover {
    transform: none;
  }
  .job-row {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
  }
  .job-row:hover {
    transform: none;
  }

  /* ── Dashboard rows — mobile visibility ── */
  .saved-row, .app-row-clickable, .job-post-row {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .saved-row:hover, .app-row-clickable:hover, .job-post-row:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   SMALL TABLET / LARGE PHONE — max 680px
   ═══════════════════════════════════════════ */
@media (max-width: 680px) {
  :root { --pad: 20px; }

  /* ── Job rows — hide right column ── */
  .job-row { grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; }
  .job-row-right { display: none; }

  /* ── Hero ── */
  .hero { padding: 110px var(--pad) 40px; }
  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-sub { font-size: 15px; }
  .ball-img { width: 160px; height: 160px; }
  .ball-shadow { width: 90px; height: 18px; }

  /* ── Page header ── */
  .page-header { padding-top: 110px; padding-bottom: 36px; }

  /* ── Dashboard ── */
  .dash-wrap { padding-top: 100px; }
  .dash-section-title { font-size: 18px; flex-wrap: wrap; }

  /* ── Profile ── */
  .profile-wrap { padding-top: 100px; }
  .pf-row { grid-template-columns: 1fr; }
  .mode-card { padding: 18px 20px; flex-direction: column; align-items: flex-start; }
  .mode-toggle-btn { width: 100%; text-align: center; }

  /* ── Saved/app rows ── */
  .saved-row, .app-row-clickable {
    flex-wrap: wrap; padding: 14px 16px; gap: 10px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); margin-bottom: 10px;
  }
  .saved-row:hover, .app-row-clickable:hover { transform: none; }
  .saved-row-detail-btn, .saved-row-apply-btn { font-size: 11px; padding: 5px 12px; }

  /* ── Job detail modal ── */
  .jd-modal { max-width: 100%; border-radius: 16px; max-height: 92vh; }
  .jd-modal-inner { padding: 24px 20px; }
  .jd-header { padding-right: 30px; }
  .jd-title { font-size: 19px; }

  /* ── Apply modal ── */
  .apply-modal { padding: 28px 24px; border-radius: 20px; }
  .apply-row { grid-template-columns: 1fr; }

  /* ── App detail ── */
  .app-detail-grid { grid-template-columns: 1fr; }
  .app-detail-header { padding: 18px 16px; gap: 12px; }
  .app-detail-actions { flex-direction: column; }
  .app-detail-btn { width: 100%; text-align: center; }

  /* ── Footer ── */
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── How it works ── */
  .how-col { padding: 28px 24px; }

  /* ── Messages — sidebar/thread toggle ── */
  .msg-sidebar {
    width: 100%;
    min-width: 0;
  }
  .msg-thread {
    display: none;
  }
  .msg-wrap.thread-open .msg-sidebar {
    display: none;
  }
  .msg-wrap.thread-open .msg-thread {
    display: flex;
  }
  .msg-bubble-wrap { max-width: 88%; }
  .msg-back-btn { display: inline-flex; }
  .msg-thread-actions .msg-hdr-btn span { display: none; }
  .msg-thread-header { padding: 12px 16px; }
  .msg-input-area { padding: 12px 16px; }
  .msg-report-modal { padding: 24px 20px; border-radius: 18px; }
}

/* ═══════════════════════════════════════════
   PHONE — max 500px
   ═══════════════════════════════════════════ */
@media (max-width: 500px) {

  /* ── Nav — Logo + Avatar + Burger ── */
  nav { padding: 10px 12px; }
  .nav-pill {
    padding: 6px 8px 6px 16px;
    gap: 0;
    width: calc(100% - 24px);
    max-width: 400px;
  }
  .nav-logo svg { height: 18px; }
  .nav-logo { margin-right: auto; }
  .nav-divider { display: none; }

  /* Hide auth buttons except avatar and mobile msgs icon */
  .nav-auth { gap: 4px; margin-left: 0; }
  .nav-auth .btn-ghost,
  .nav-auth .btn-solid,
  .nav-auth #nav-mode-badge { display: none !important; }
  .nav-auth > div:first-child { display: flex !important; }
  .nav-auth .nav-mobile-msgs { display: flex !important; }
  .nav-auth .nav-mobile-dash { display: flex !important; }

  /* ── Burger dropdown open state ── */
  .nav-pill.menu-open {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 6px 8px 14px 16px;
  }
  .nav-pill.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 10;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    gap: 0;
  }
  .nav-pill.menu-open .nav-links a {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
  }
  .nav-pill.menu-open .nav-auth {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    order: 11;
    gap: 0;
    justify-content: center;
  }
  .nav-pill.menu-open .nav-auth .nav-mobile-msgs {
    display: flex !important;
    width: 32px;
    order: 10;
  }
  .nav-pill.menu-open .nav-auth .nav-mobile-dash {
    display: flex !important;
    width: 32px;
    order: 10;
  }
  .nav-pill.menu-open .nav-auth .btn-ghost {
    display: flex !important;
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    padding: 11px 14px;
    margin: 0;
    border: none;
    background: none;
    color: var(--ink);
    font-weight: 500;
    order: 1;
  }
  .nav-pill.menu-open .nav-auth .btn-ghost.nav-msgs-desktop { display: none !important; }
  .nav-pill.menu-open .nav-auth .btn-ghost.nav-dash-desktop { display: none !important; }
  .nav-pill.menu-open .nav-auth::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--line);
    margin: 8px 0;
    order: 9;
  }
  .nav-pill.menu-open .nav-auth > div:first-child {
    display: flex !important;
    width: 32px; height: 32px;
    margin: 0;
    order: 10;
  }
  .nav-pill.menu-open .nav-auth #nav-mode-badge {
    display: inline-flex !important;
    margin: 0 0 0 8px;
    order: 11;
    font-size: 11px !important;
  }
  .nav-pill.menu-open .nav-auth::after {
    content: '';
    display: block;
    width: 100%;
    order: 12;
  }
  .nav-pill.menu-open .nav-auth .btn-solid {
    display: flex !important;
    width: auto;
    justify-content: center;
    border-radius: 100px;
    font-size: 12px;
    padding: 8px 28px;
    margin: 8px auto 0;
    order: 20;
  }

  /* ── Hero ── */
  .hero { padding: 100px var(--pad) 40px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
  .hero-ctas .cta-primary, .hero-ctas .cta-secondary {
    font-size: 13px;
    padding: 9px 20px;
    width: auto;
    justify-content: center;
    text-align: center;
    border-radius: 100px;
    box-sizing: border-box;
    border: 1px solid transparent;
  }
  .hero-ctas .cta-primary {
    background: var(--ink);
    border-color: var(--ink);
  }
  .hero-ctas .cta-secondary {
    border-color: var(--line);
  }
  .ball-img { width: 150px; height: 150px; }
  .ball-shadow { width: 80px; height: 16px; }

  /* ── Page header ── */
  .page-title { font-size: 28px !important; }
  .page-header { padding-top: 100px; padding-bottom: 32px; }

  /* ── Filters — stack ── */
  .filters-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 16px;
    top: 52px;
  }
  .filter-select { width: 100%; font-size: 13px; padding: 10px 30px 10px 12px; border-radius: 10px; }
  .outside-us-label { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; padding: 10px 12px; border-radius: 10px; border: none; background: transparent; box-shadow: none; box-sizing: border-box; }
  .outside-us-label input[type="checkbox"] { width: 10px; height: 10px; }

  /* ── Job cards on Home ── */
  .job-card { padding: 16px; border-radius: 14px; gap: 10px; }
  .job-logo { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
  .job-title { font-size: 14px; }
  .job-org { font-size: 11.5px; }
  .job-tag { font-size: 10px; padding: 3px 8px; }
  .job-badge { font-size: 9.5px; padding: 2px 7px; }
  .job-card-btns { gap: 8px; padding-top: 10px; flex-direction: row; }
  .btn-apply { font-size: 12px; padding: 8px 14px; flex: 1; border-radius: 10px; text-align: center; }
  .btn-details { font-size: 12px; padding: 8px 14px; flex: 1; border-radius: 10px; text-align: center; }

  /* ── Job rows on Jobs page ── */
  .job-row { border-radius: 14px; gap: 10px; padding: 14px; }
  .job-row-logo { width: 36px; height: 36px; border-radius: 9px; font-size: 13px; }
  .job-row-title { font-size: 13.5px; }
  .job-row-company { font-size: 11px; }
  .job-tag-pill { font-size: 10px; padding: 2px 7px; }

  /* ── Section heads ── */
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 22px; }

  /* ── Dashboard ── */
  .dash-wrap { padding-top: 96px; }
  .dash-section-title { font-size: 16px; }
  .dash-post-btn { font-size: 11px; padding: 6px 14px; }
  .job-post-row {
    padding: 12px 14px; flex-wrap: wrap; gap: 8px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); margin-bottom: 10px;
  }
  .job-post-row:hover { transform: none; }
  .job-post-title { font-size: 13px; }
  .job-post-meta { font-size: 11px; }
  .job-post-actions { width: 100%; }
  .job-action-btn { flex: 1; text-align: center; font-size: 11px; padding: 6px 10px; border-radius: 8px; }
  .app-count-chip { font-size: 10px; padding: 3px 9px; }
  .job-status-badge { font-size: 10px; padding: 3px 9px; }
  .saved-row, .app-row-clickable {
    padding: 12px 14px; gap: 10px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); margin-bottom: 10px;
  }
  .saved-row:hover, .app-row-clickable:hover { transform: none; }
  .saved-row-logo { width: 36px; height: 36px; font-size: 13px; }
  .saved-row-title { font-size: 13px; }
  .saved-row-sub { font-size: 11px; }
  .saved-row-detail-btn, .saved-row-apply-btn { font-size: 11px; padding: 5px 12px; }
  .app-status { font-size: 10px; padding: 3px 9px; }

  /* ── Profile ── */
  .profile-wrap { padding-top: 96px; }
  .pf-row { grid-template-columns: 1fr !important; }
  .pf-input { font-size: 14px; padding: 11px 14px; border-radius: 10px; }
  .pf-label { font-size: 10.5px; }
  .photo-upload-area { flex-direction: column; text-align: center; padding: 18px 14px; gap: 12px; }
  .photo-preview { width: 64px; height: 64px; font-size: 22px; }
  .photo-upload-info { text-align: center; }
  .photo-upload-title { font-size: 13px; }
  .photo-upload-sub { font-size: 11px; }
  .photo-upload-btns button { font-size: 11px; padding: 6px 14px; }
  .mode-card { padding: 16px 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .mode-toggle-btn { width: 100%; text-align: center; font-size: 13px; padding: 10px 18px; }
  .mode-value { font-size: 18px; }
  .mode-label { font-size: 10px; }
  .profile-section-title { font-size: 16px; }
  #candidateSection .btn-apply,
  #employerSection .btn-apply { font-size: 13px; padding: 10px 22px; }

  /* ── Modals ── */
  .modal { margin: 10px; padding: 24px 18px; border-radius: 18px; max-width: calc(100% - 20px); }
  .modal-title { font-size: 20px; }
  .modal input, .modal select { font-size: 14px; padding: 10px 14px; }
  .modal .btn-solid, .modal .btn-ghost { font-size: 13px; padding: 10px 18px; }
  .jd-overlay { padding: 8px; }
  .jd-modal { border-radius: 16px; max-height: 94vh; }
  .jd-modal-inner { padding: 20px 16px; }
  .jd-header { padding-right: 28px; }
  .jd-title { font-size: 17px; }
  .jd-company { font-size: 12px; }
  .jd-logo { width: 42px; height: 42px; font-size: 16px; }
  .jd-close { width: 28px; height: 28px; font-size: 12px; top: 14px; }
  .jd-tag { font-size: 10px; padding: 3px 9px; }
  .jd-section-title { font-size: 10.5px; }
  .jd-body { font-size: 13.5px; }
  .jd-footer { gap: 6px; flex-wrap: wrap; }
  .jd-save-btn, .jd-share-btn { font-size: 12px; padding: 8px 14px; }
  .jd-apply-btn { font-size: 12px; padding: 8px 18px; }
  .apply-modal { padding: 24px 18px; border-radius: 18px; }

  /* ── Apply page ── */
  .apply-page-wrap { padding-top: 96px; }
  .apply-row { grid-template-columns: 1fr !important; }

  /* ── App detail ── */
  .app-detail-header { flex-direction: column; padding: 16px; border-radius: 14px; }
  .app-detail-job-title { font-size: 16px; }
  .app-detail-candidate-header { gap: 10px; }
  .app-detail-avatar { width: 48px; height: 48px; font-size: 18px; }
  .app-detail-cover { padding: 16px; font-size: 13.5px; border-radius: 12px; }

  /* ── How it works ── */
  .how-col { padding: 24px 20px; }
  .how-col-title { font-size: 17px; }
  .step-text { font-size: 13px; }

  /* ── Messages ── */
  .msg-conv-item { padding: 12px 16px; }
  .msg-sidebar-header { padding: 14px 16px; }
  .msg-sidebar-search input { font-size: 13px; }
  .msg-pending-notice { padding: 14px 16px; font-size: 12.5px; }

  /* ── Footer ── */
  footer { padding: 32px var(--pad) 20px; margin-top: 24px; }
  .footer-top { gap: 24px; }
  .footer-logo svg { height: 30px; }
  .footer-tagline { font-size: 12px; margin-top: 8px; }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
  .footer-col-title { font-size: 10px; margin-bottom: 8px; }
  .footer-col-links a { font-size: 12px; line-height: 1.8; }
  .footer-col-links { gap: 4px; }
  .footer-bottom { padding-top: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy { font-size: 11px; }
  .sport-chip { font-size: 11px; padding: 4px 10px; }
}

/* ═══════════════════════════════════════════
   PHONE — max 480px (gradient)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
  body {
    background:
      linear-gradient(
        325deg,
        #3a18de 0%,
        #7a28e8 3%,
        #b03aec 6%,
        #d350f0 10%,
        #eb84f4 15%,
        #f4b6f9 22%,
        #f9e1fc 32%,
        #fdf7fe 42%,
        #ffffff 56%
      );
    background-attachment: scroll;
  }
}

/* ═══════════════════════════════════════════
   VERY SMALL PHONE — max 380px
   ═══════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .page-title { font-size: 24px !important; }
  .nav-logo svg { height: 16px; }
  .nav-auth .btn-ghost { font-size: 10px; padding: 4px 8px; }
  .nav-auth .btn-solid { font-size: 10px; padding: 4px 10px; }
  .job-card { padding: 14px; }
  .how-col { padding: 20px 16px; }
  .modal { padding: 20px 14px; }
  .jd-modal-inner { padding: 16px 12px; }
  .footer-links { grid-template-columns: 1fr 1fr 1fr; }
  .hero-ctas .cta-primary, .hero-ctas .cta-secondary { font-size: 12px; padding: 8px 16px; }
  .msg-input-area { padding: 10px 12px; gap: 8px; }
  .msg-send-btn { width: 38px; height: 38px; }
  .app-detail-header { padding: 14px 12px; }
  .apply-modal { padding: 20px 14px; border-radius: 16px; }
}

/* ════════════════════════════════════════════════════════════
   HERO FLOATING TENNIS BALL
   ════════════════════════════════════════════════════════════ */
.ball-wrap {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ball-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  animation: ballFloat 2.5s ease-in-out infinite;
  filter:
    drop-shadow(0 8px 24px rgba(0,0,0,0.18))
    drop-shadow(0 2px 8px rgba(0,0,0,0.12))
    drop-shadow(0 0 32px rgba(106,190,48,0.25));
}
.ball-shadow {
  width: 120px;
  height: 24px;
  margin-top: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
  animation: ballShadowPulse 2.5s ease-in-out infinite;
}
@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-28px); }
}
@keyframes ballShadowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(0.75); opacity: 0.4; }
}

/* ─── Pagination: Load More / Load Earlier ─── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 16px;
}
.load-more-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 12px 36px;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.load-more-btn:hover { opacity: .88; transform: translateY(-1px); }
.load-more-btn:disabled { opacity: .5; cursor: default; transform: none; }
.load-more-done {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-faint);
  padding: 8px 0;
}
.load-earlier-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: center;
  transition: opacity .15s;
}
.load-earlier-btn:hover { opacity: .7; }
.load-earlier-btn:disabled { opacity: .4; cursor: default; }

/* ─── Character Counter ─── */
.char-counter {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-faint);
  text-align: right;
  margin-top: 4px;
  letter-spacing: .02em;
  transition: color .15s;
}
.char-counter.warn { color: #b45309; }
.char-counter.over { color: #e53935; font-weight: 600; }
.field-length-error {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
  display: none;
}
.msg-char-counter {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--ink-faint);
  position: absolute;
  right: 52px;
  bottom: 14px;
  pointer-events: none;
  transition: color .15s;
}
.msg-char-counter.warn { color: #b45309; }
.msg-char-counter.over { color: #e53935; font-weight: 600; }
