:root {
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --cyan: #00b4d8;
  --cyan-bright: #38bdf8;
  --orange: #ff6b00;
  --orange-bright: #fb923c;
  --lime: #00e676;
  --lime-bright: #34d399;
  --navy: #0a192f;
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
}

:root[data-theme="light"] {
  --bg: #f8fafc;
  --bg-gradient: radial-gradient(circle at 50% 0%, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --surface-card: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --dropzone-bg: #f8fafc;
  --dropzone-hover: #f0fdfa;
  --dropzone-border: #cbd5e1;
  --primary-btn: linear-gradient(135deg, #002d62, #0052cc);
  --primary-btn-hover: linear-gradient(135deg, #001f44, #0041a3);
  --chip-bg: #f1f5f9;
  --chip-border: #e2e8f0;
  --chip-text: #475569;
  --badge-mnc-bg: #ecfdf5;
  --badge-mnc-text: #059669;
  --badge-match-bg: #eff6ff;
  --badge-match-text: #2563eb;
  --badge-verified-bg: #f0fdf4;
  --badge-verified-text: #16a34a;
}

:root[data-theme="dark"] {
  --bg: #070d18;
  --bg-gradient: radial-gradient(circle at 50% -10%, rgba(0, 180, 216, 0.16) 0%, rgba(0, 230, 118, 0.05) 30%, transparent 65%);
  --surface: #0f172a;
  --surface-alt: #131f37;
  --surface-card: #0e1726;
  --line: #1e293b;
  --line-strong: #334155;
  --ink: #f8fafc;
  --ink-secondary: #cbd5e1;
  --muted: #94a3b8;
  --topbar-bg: rgba(11, 19, 36, 0.9);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.5);
  --dropzone-bg: #0c1424;
  --dropzone-hover: #101c33;
  --dropzone-border: #22324f;
  --primary-btn: linear-gradient(135deg, #0077b6, #00b4d8);
  --primary-btn-hover: linear-gradient(135deg, #0096c7, #38bdf8);
  --chip-bg: #142036;
  --chip-border: #233554;
  --chip-text: #94a3b8;
  --badge-mnc-bg: rgba(0, 230, 118, 0.15);
  --badge-mnc-text: #34d399;
  --badge-match-bg: rgba(0, 180, 216, 0.16);
  --badge-match-text: #38bdf8;
  --badge-verified-bg: rgba(52, 211, 153, 0.16);
  --badge-verified-text: #34d399;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; transition: var(--transition); }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.topbar {
  height: 68px;
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1140px) / 2));
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.brand-wrap { display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 56px; width: auto; max-width: 280px; object-fit: contain; }

:root[data-theme="light"] .logo-light { display: block; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-hunt-badge {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface);
  user-select: none;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.job-hunt-badge span {
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
}

:root[data-theme="light"] .theme-toggle .sun-icon { display: none; }
:root[data-theme="light"] .theme-toggle .moon-icon { display: block; stroke: var(--ink-secondary); }
:root[data-theme="dark"] .theme-toggle .sun-icon { display: block; stroke: #fbbf24; }
:root[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

.page { max-width: 1140px; margin: 0 auto; padding: 48px 24px 60px; }
.hero { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -1.8px; margin: 0; font-weight: 800; color: var(--ink); }
.hero-accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--lime) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero > p:last-child { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 660px; margin: 16px auto 0; }

/* SEARCH MODE SWITCHER */
.search-mode-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 24px;
  background: var(--surface);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.mode-btn:hover {
  color: var(--ink);
}

.mode-btn.active {
  background: var(--primary-btn);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.25);
}

/* DIRECT JOB SEARCH PANEL */
.direct-search-panel {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 28px;
  transition: var(--transition);
}

.direct-search-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr;
  gap: 16px;
}

.search-field label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: var(--ink-secondary);
  margin-bottom: 7px;
}

.search-field label .required {
  color: var(--danger);
}

.search-field label small {
  color: var(--muted);
  font-weight: 400;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap .field-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
}

.input-wrap input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.quick-roles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
}

.quick-roles > span {
  font-weight: 700;
  color: var(--muted);
}

.quick-pill {
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-text);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  transition: var(--transition);
}

.quick-pill:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.direct-search-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.search-btn-large {
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--primary-btn);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.search-btn-large:hover:not(:disabled) {
  background: var(--primary-btn-hover);
  box-shadow: 0 6px 22px rgba(0, 180, 216, 0.45);
  transform: translateY(-1px);
}

.search-btn-large:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.upload-panel, .profile-panel {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.upload-panel { padding: 22px; }
.resume-drop {
  width: 100%;
  min-height: 140px;
  border: 2px dashed var(--dropzone-border);
  border-radius: var(--radius-md);
  background: var(--dropzone-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--ink);
  padding: 20px;
}
.resume-drop:hover, .resume-drop.dragging {
  border-color: var(--cyan);
  background: var(--dropzone-hover);
  box-shadow: 0 0 24px rgba(0, 180, 216, 0.12);
  transform: translateY(-2px);
}
.upload-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--cyan) 0%, #0077b6 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.3);
  flex-shrink: 0;
}
.upload-copy { display: grid; text-align: left; gap: 4px; }
.upload-copy strong { font-size: 17px; font-weight: 700; color: var(--ink); }
.upload-copy small { font-size: 12px; color: var(--muted); }
.error-note {
  display: block;
  color: var(--danger);
  background: var(--danger-bg);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin-top: 12px;
  font-weight: 500;
}

.profile-panel { margin-top: 20px; padding: 24px; }
.profile-main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.profile-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
}
.profile-main h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.profile-meta { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.quiet-button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--ink-secondary);
  font-size: 11px;
  font-weight: 700;
}
.quiet-button:hover { border-color: var(--cyan); color: var(--cyan); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0 6px; }
.profile-grid > div:last-child { grid-column: 1 / -1; }
.profile-grid > div > span {
  display: block;
  font-size: 11px;
  font-weight: 750;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.profile-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-chip {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--chip-text);
  font-weight: 600;
}
.profile-chip.primary {
  background: rgba(0, 180, 216, 0.12);
  border-color: rgba(0, 180, 216, 0.35);
  color: var(--cyan);
}
.profile-chip.skill { font-weight: 500; }

.adjust { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.adjust summary { cursor: pointer; font-size: 11px; font-weight: 750; color: var(--muted); user-select: none; }
.adjust summary:hover { color: var(--cyan); }
.adjust-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 0.8fr 0.8fr; gap: 12px; margin-top: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 11px; font-weight: 700; color: var(--muted); }
.field small { font-weight: 400; opacity: 0.8; }
.field input, .field select {
  height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 12px;
  outline: none;
  color: var(--ink);
}
.field input:focus, .field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}
.adjust-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.search-button {
  height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary-btn);
  color: #ffffff;
  font-weight: 750;
  font-size: 13px;
  padding: 0 24px;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.25);
}
.search-button:hover:not(:disabled) {
  background: var(--primary-btn-hover);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
  transform: translateY(-1px);
}
.search-button:disabled { opacity: 0.55; cursor: not-allowed; }

.loading-line {
  max-width: 880px;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin: 18px auto 0;
}
.loading-line span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--orange));
  animation: load 1.2s infinite ease-in-out;
}
@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}

.status-card {
  max-width: 880px;
  margin: 14px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.status-card strong { font-size: 12.5px; font-weight: 750; color: var(--ink); }
.status-card span { font-size: 12px; color: var(--muted); flex: 1; }
.status-card.error { border-color: rgba(239, 68, 68, 0.3); background: var(--danger-bg); }
.status-card.error strong { color: var(--danger); }
.cancel-button {
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  color: var(--danger);
  font-size: 11px;
  font-weight: 750;
}
.cancel-button:hover { background: var(--danger); color: #fff; }

.results-section { margin-top: 36px; }
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.results-title { display: flex; align-items: center; gap: 10px; }
.results-title h2 { font-size: 24px; margin: 0; color: var(--ink); letter-spacing: -0.5px; font-weight: 800; }
.count-pill {
  min-width: 30px;
  text-align: center;
  background: var(--cyan);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
}
.summary-line { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.actions { display: flex; gap: 8px; }
.actions button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 750;
  color: var(--ink-secondary);
}
.actions button:hover { border-color: var(--cyan); color: var(--cyan); }

.result-policy {
  margin: 14px 0 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 11px;
}
.empty-jobs {
  display: grid;
  place-items: center;
  min-height: 140px;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  margin-top: 14px;
}

.jobs { margin-top: 14px; }
.job-source-group { margin: 20px 0 30px; }
.job-source-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 4px 10px;
}
.job-source-heading strong { font-size: 14px; color: var(--ink); font-weight: 750; }
.job-source-heading span { font-size: 11px; color: var(--muted); }

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.job-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.job-card.mnc-job { border-left: 4px solid var(--lime); }
.job-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-title-row h3 { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink); font-weight: 700; }
.company-line { font-size: 12px; color: var(--ink-secondary); margin: 5px 0 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.job-meta span { font-size: 11px; color: var(--muted); }
.job-meta .posted-age { font-weight: 750; color: var(--lime); }
.job-meta .salary { font-weight: 750; color: var(--cyan); }
.job-meta .deadline { color: var(--orange); }

.badge {
  border-radius: var(--radius-full);
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 750;
}
.mnc-badge { background: var(--badge-mnc-bg); color: var(--badge-mnc-text); }
.match-badge { background: var(--badge-match-bg); color: var(--badge-match-text); }
.verified-badge { background: var(--badge-verified-bg); color: var(--badge-verified-text); }
.unverified-badge { background: var(--chip-bg); color: var(--muted); }
.major-badge { background: rgba(255, 107, 0, 0.15); color: var(--orange); }

.job-description {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-skills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.job-skills span {
  font-size: 10px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 6px;
  padding: 3px 8px;
  color: var(--muted);
}
.apply-button {
  align-self: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
}
.apply-button:hover {
  background: var(--primary-btn);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.25);
}

.diagnostics { margin-top: 14px; }
.diagnostics details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.diagnostics summary { cursor: pointer; padding: 10px 14px; font-size: 11px; font-weight: 750; color: var(--muted); }
.diag-summary { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 14px 10px; }
.diag-summary span {
  font-size: 10px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  color: var(--muted);
}
.diag-city { padding: 10px 14px; border-top: 1px solid var(--line); }
.diag-city-head { display: flex; justify-content: space-between; gap: 10px; }
.diag-city-head strong { font-size: 11px; }
.diag-city-head span { font-size: 10px; color: var(--muted); }
.engine-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.engine-pill {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 3px 7px;
  color: var(--muted);
}
.engine-pill.ok { background: rgba(0, 230, 118, 0.12); color: var(--lime); border-color: rgba(0, 230, 118, 0.25); }
.engine-pill.error { background: var(--danger-bg); color: var(--danger); border-color: rgba(239, 68, 68, 0.25); }

footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}
footer strong { color: var(--cyan); }

@media (max-width: 850px) {
  .direct-search-grid { grid-template-columns: 1fr; }
  .adjust-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .topbar { padding: 0 14px; }
  .brand-logo { height: 38px; max-width: 160px; }
  .topbar-right { gap: 8px; }
  .job-hunt-badge { font-size: 12px; height: 34px; padding: 0 10px; }
  .theme-toggle { width: 34px; height: 34px; }
  .search-mode-switcher { flex-direction: column; border-radius: var(--radius-md); }
  .search-btn-large { width: 100%; justify-content: center; }
  .page { padding: 32px 16px 40px; }
  .hero h1 { font-size: 32px; }
  .upload-panel, .profile-panel { padding: 16px; }
  .resume-drop { justify-content: flex-start; padding: 16px; }
  .profile-main { align-items: center; }
  .profile-grid { grid-template-columns: 1fr; }
  .adjust-grid { grid-template-columns: 1fr; }
  .results-bar { align-items: flex-start; }
  .job-card { grid-template-columns: 1fr; }
  .apply-button { justify-self: start; }
}
