@font-face {
  font-family: "Inter";
  src: url("/app/assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #17212b;
  --ink-2: #354150;
  --muted: #6b7280;
  --muted-2: #8792a0;
  --canvas: #f7fbfd;
  --surface: #fff;
  --surface-2: #f5f9fc;
  --line: #dde7ed;
  --line-strong: #cbdbe5;
  --primary: #0c76b8;
  --brand-blue: #199ce6;
  --blue-mist: #eaf7ff;
  --success: #61c454;
  --success-dark: #2e8f3c;
  --green-mist: #ecf9ee;
  --red: #b54643;
  --red-soft: #fff0ee;
  --amber: #9a6717;
  --amber-soft: #fff5d9;
  --shadow-sm: 0 8px 24px rgba(12, 55, 82, .06);
  --shadow-md: 0 12px 32px rgba(12, 55, 82, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--canvas); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -12%, rgba(25, 156, 230, .12), transparent 25rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, summary, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button { border: 0; }
button, summary { cursor: pointer; }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(32px, 5vw, 36px); line-height: 1.05; letter-spacing: -.045em; }
h2 { margin: 0; font-size: 23px; line-height: 1.12; letter-spacing: -.035em; }
h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.15; letter-spacing: -.03em; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input, select { min-height: 52px; padding: 0 16px; }
textarea { min-height: 118px; padding: 15px 16px; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #9aa4af; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(25, 156, 230, .12); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(12, 118, 184, .28); outline-offset: 3px; }

.app-shell { width: min(720px, 100%); min-height: 100vh; margin: 0 auto; padding: 0 16px calc(110px + env(safe-area-inset-bottom)); }
.app-shell.without-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.app-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: env(safe-area-inset-top);
}
.brand { min-width: 0; display: flex; align-items: center; gap: 11px; }
.brand > span:last-child { min-width: 0; }
.settings-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--primary); background: var(--surface); font-size: 14px; font-weight: 700; }
.settings-link .ui-icon { width: 18px; height: 18px; }
.settings-link[aria-current="page"] { background: var(--blue-mist); }
.settings-heading { display: block; }
.settings-heading > .text-link { display: inline-flex; margin-bottom: 24px; }
.settings-card > p:not(.eyebrow) { margin: 16px 0 24px; color: var(--muted); line-height: 1.6; }
.role-card .role-current { font-weight: 700; }
.role-choices { display: grid; gap: 14px; }
.role-choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 104px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 20px; text-align: left; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.role-choice.is-current { border-color: #a7d6ed; background: var(--blue-mist); }
.role-choice > span { flex: 1; min-width: 0; }
.role-choice b, .role-choice small { display: block; }
.role-choice b { font-size: 18px; line-height: 1.3; }
.role-choice small { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.role-choice .ui-icon { flex: 0 0 20px; color: var(--primary); }
.role-choice .role-choice-icon { flex-basis: 32px; width: 32px; height: 32px; }
.brand-mark {
  position: relative;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface);
}
.brand-symbol { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: inherit; }
.large-symbol { width: 58px; height: 58px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: -.025em; }
.brand small { color: var(--muted-2); font-size: 14px; font-weight: 500; }
.user-chip {
  max-width: 175px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.user-chip > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-size: 14px; font-weight: 800; }
.user-copy { min-width: 0; }
.user-copy b, .user-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-copy b { font-size: 14px; }
.user-copy small { color: var(--muted-2); font-size: 14px; }
.user-chip > i { color: var(--muted-2); font-size: 16px; font-style: normal; }
.app-main { padding: 10px 0 24px; }

.eyebrow { margin: 0 0 8px; color: var(--primary); font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #e0f4ff; }
.lead { max-width: 570px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.preline { white-space: pre-line; }
.card-muted { margin-bottom: 15px; color: var(--muted); font-size: 14px; }

.alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.alert.success { color: #277d34; border: 1px solid #bde5c3; background: var(--green-mist); }
.alert.error { color: var(--red); border: 1px solid #f0cbc7; background: var(--red-soft); }
.alert.standalone { margin-top: 22px; }

.dashboard-hero {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, .65fr);
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 34px;
  border-radius: 18px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 14rem),
    linear-gradient(145deg, var(--primary), var(--brand-blue));
  box-shadow: 0 8px 24px rgba(12, 118, 184, .08);
}
.dashboard-hero::before { content: ""; position: absolute; width: 310px; height: 310px; right: -190px; bottom: -220px; border: 54px solid rgba(255, 255, 255, .05); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 475px; margin-bottom: 15px; font-size: clamp(34px, 5vw, 36px); }
.hero-copy > p:not(.eyebrow) { max-width: 430px; margin-bottom: 23px; color: #e5f5ff; font-size: 15px; }
.hero-button { width: max-content; min-width: 180px; gap: 18px; justify-content: space-between; }
.dashboard-hero .hero-button { color: var(--primary); background: white; box-shadow: 0 8px 24px rgba(12, 55, 82, .08); }
.hero-button span { font-size: 18px; }
.dashboard-hero.candidate-intro {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .1), transparent 18rem), linear-gradient(125deg, #086799, #087cb5);
}
.candidate-intro .hero-copy { min-width: 0; }
.candidate-intro .hero-copy h1 { max-width: none; margin-bottom: 22px; font-size: clamp(26px, 6.8vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
.candidate-intro h1 span { display: block; }
.intro-benefits { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.intro-benefits li { display: flex; align-items: center; gap: 11px; color: #f0f9ff; font-size: 15px; line-height: 1.45; }
.intro-benefit-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .1); }
.intro-benefit-icon .ui-icon { width: 17px; height: 17px; }
.intro-benefits strong { color: #fff; font-weight: 700; }
.intro-description { color: #f0f9ff; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.intro-description p { margin: 0 0 12px; white-space: pre-line; }
.intro-description p:last-child { margin-bottom: 0; }
.hero-art { position: relative; min-height: 180px; }
.hero-orb { position: absolute; width: 160px; height: 160px; right: -5px; top: 5px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hero-card { position: absolute; width: 142px; height: 176px; padding: 19px; border-radius: 18px; }
.hero-card-back { right: 23px; top: 9px; opacity: .36; background: rgba(255, 255, 255, .55); transform: rotate(10deg); }
.hero-card-front { right: 42px; top: 16px; color: var(--ink); background: white; box-shadow: 0 12px 32px rgba(12, 55, 82, .08); transform: rotate(-6deg); }
.hero-card em { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 12px; color: white; background: var(--brand-blue); font-size: 15px; font-style: normal; font-weight: 800; }
.hero-card i, .hero-card b, .hero-card small { display: block; border-radius: 99px; background: #dce6e0; }
.hero-card i { width: 72%; height: 9px; margin-bottom: 9px; background: var(--ink); }
.hero-card b { width: 92%; height: 6px; margin-bottom: 7px; }
.hero-card small { width: 62%; height: 6px; }
.employer-hero { grid-template-columns: minmax(0, 1fr); }
.employer-benefits li { align-items: flex-start; }
.employer-benefits + .hero-button { margin-top: 22px; }
.employer-hero.has-requests { grid-template-columns: minmax(0, 1fr) 160px; }
.employer-stat { position: relative; z-index: 2; width: 148px; height: 148px; display: flex; align-items: center; flex-direction: column; justify-content: center; justify-self: end; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: rgba(255, 255, 255, .07); backdrop-filter: blur(8px); }
.employer-stat span { font-size: 48px; line-height: .9; font-weight: 850; letter-spacing: -.07em; }
.employer-stat small { margin-top: 9px; color: #e1f3fd; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.employer-stat i { position: absolute; width: 15px; height: 15px; right: 12px; top: 20px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(97, 196, 84, .16); }

.onboarding-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.progress-ring { position: relative; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand-blue) 0 3deg, #e7eef2 3deg 360deg); }
.progress-ring::before { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: white; }
.progress-ring span { position: relative; z-index: 1; color: var(--ink); font-size: 14px; font-weight: 800; }
.onboarding-copy h2 { margin-bottom: 6px; }
.onboarding-copy > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.dashboard-card { min-height: 230px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-heading h2 { font-size: 22px; }
.mini-symbol { width: 39px; height: 39px; flex: 0 0 39px; padding: 9px; border-radius: 13px; color: var(--primary); background: var(--blue-mist); }
.jobs-symbol { position: relative; }
.jobs-symbol::before { content: ""; position: absolute; inset: 10px 8px; border: 2px solid var(--primary); border-radius: 4px; }
.jobs-symbol::after { content: ""; position: absolute; width: 8px; height: 4px; left: 15px; top: 7px; border: 2px solid var(--primary); border-bottom: 0; border-radius: 3px 3px 0 0; }
.fact-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.fact-row span { padding: 7px 10px; border-radius: 10px; color: var(--primary); background: var(--blue-mist); font-size: 14px; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: max-content; margin-top: auto; color: var(--primary); font-size: 14px; font-weight: 700; }
.text-link span { font-size: 16px; }
.compact-link { margin: 0; }
.visibility { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: var(--success-dark); background: var(--green-mist); font-size: 14px; font-weight: 700; }
.visibility::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.visibility.is-hidden { color: var(--amber); background: var(--amber-soft); }
.visibility.is-hidden::before { background: #d49830; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.profile-facts div { padding: 11px; border-radius: 12px; background: var(--surface-2); }
.profile-facts dt { color: var(--muted-2); font-size: 14px; }
.profile-facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; }
.profile-facts div:first-child dd { color: var(--success-dark); }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 28px 4px 24px; }
.page-heading h1 { margin-bottom: 11px; }
.page-counter { flex: 0 0 auto; margin-bottom: 4px; padding: 8px 11px; border: 1px solid #bfe3f7; border-radius: 999px; color: var(--primary); background: var(--blue-mist); font-size: 14px; font-weight: 700; }
.profile-heading { align-items: center; }
.status-form { flex: 0 0 auto; }
.visibility-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: var(--success-dark); background: var(--green-mist); font-size: 14px; font-weight: 700; }
.visibility-button i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.visibility-button.is-hidden { color: var(--amber); background: var(--amber-soft); }
.visibility-button.is-hidden i { background: #d49830; }

.locked-state, .empty-card {
  min-height: 360px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 38px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.locked-state h2, .empty-card h2 { max-width: 420px; margin-bottom: 10px; }
.locked-state > p:not(.eyebrow), .empty-card p { max-width: 420px; margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.locked-icon { position: relative; width: 70px; height: 70px; margin-bottom: 23px; border-radius: 18px; background: var(--blue-mist); }
.locked-icon::before { content: ""; position: absolute; width: 28px; height: 22px; left: 21px; top: 31px; border-radius: 6px; background: var(--primary); }
.locked-icon::after { content: ""; position: absolute; width: 18px; height: 18px; left: 24px; top: 18px; border: 3px solid var(--primary); border-bottom: 0; border-radius: 12px 12px 0 0; }
.company-lock::before { width: 32px; height: 30px; left: 19px; top: 22px; border-radius: 5px; }
.company-lock::after { width: 12px; height: 12px; left: 29px; top: 31px; border: 0; border-radius: 50%; background: var(--brand-blue); }
.empty-state-icon { width: 52px; height: 52px; margin-bottom: 19px; padding: 14px; border-radius: 17px; color: var(--primary); background: var(--blue-mist); }

.vacancy-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.vacancy-image { width: 100%; height: min(48vw, 315px); min-height: 225px; display: block; object-fit: cover; }
.vacancy-content { padding: 25px; }
.vacancy-heading-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.match-pill { padding: 6px 9px; border-radius: 999px; color: var(--success-dark); background: var(--green-mist); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vacancy-title { margin-bottom: 4px; font-size: 24px; }
.company-name { margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.salary-accent { margin: 0 0 14px; color: var(--success-dark); font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.large-facts span { padding: 8px 11px; }
.vacancy-description { margin: 18px 0 23px; color: var(--ink-2); font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.vacancy-description > :first-child { margin-top: 0; }
.vacancy-description > :last-child { margin-bottom: 0; }
.vacancy-actions { display: grid; grid-template-columns: 1fr; gap: 9px; padding-top: 19px; border-top: 1px solid #edf1ee; }
.vacancy-actions form { min-width: 0; }
.vacancy-actions .button { gap: 7px; }

/* Compact candidate vacancy feed */
.vacancy-feed-page { background: #f5f7f8; }
.vacancy-feed-page .app-shell { width: min(720px, 100%); padding-top: env(safe-area-inset-top); }
.vacancy-feed-page .app-main { padding-top: 0; }
.vacancy-discovery { width: 100%; }
.vacancy-search-form {
  position: sticky;
  z-index: 15;
  top: 0;
  margin: 0 -6px;
  padding: 12px 6px 10px;
  background: rgba(245, 247, 248, .95);
  backdrop-filter: blur(18px);
}
.vacancy-search-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 9px; }
.vacancy-back-button, .vacancy-filter-button {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #e3e8eb;
  border-radius: 50%;
  color: var(--ink-2);
  background: #fff;
  box-shadow: 0 5px 16px rgba(23, 33, 43, .07);
}
.vacancy-back-button .ui-icon, .vacancy-filter-button .ui-icon { width: 23px; height: 23px; }
.vacancy-search-field { position: relative; min-width: 0; display: block; }
.vacancy-search-field > .ui-icon { position: absolute; z-index: 1; width: 22px; height: 22px; left: 15px; top: 15px; color: #60717c; }
.vacancy-search-field input { min-height: 52px; padding: 0 47px 0 46px; border: 0; border-radius: 999px; background: #eaf0f3; box-shadow: none; }
.vacancy-search-field input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(25, 156, 230, .13); }
.vacancy-search-field button { position: absolute; width: 36px; height: 36px; right: 8px; top: 8px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--primary); }
.vacancy-search-field button .ui-icon { width: 18px; height: 18px; }
.vacancy-filter-details { position: relative; }
.vacancy-filter-details > summary { list-style: none; }
.vacancy-filter-details > summary::-webkit-details-marker { display: none; }
.vacancy-filter-button > span { position: absolute; min-width: 22px; height: 22px; right: -4px; top: -5px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #f5f7f8; border-radius: 99px; color: white; background: var(--brand-blue); font-size: 14px; line-height: 1; font-weight: 800; }
.vacancy-filter-details[open] .vacancy-filter-button { color: white; border-color: var(--primary); background: var(--primary); }
.vacancy-search-form:has(.vacancy-filter-details[open]) { z-index: 45; backdrop-filter: none; }
.vacancy-filters-open { overflow: hidden; }
.vacancy-filter-backdrop { position: fixed; inset: 0; z-index: 1; background: rgba(23, 33, 43, .28); }
.vacancy-filter-sheet {
  position: fixed;
  z-index: 2;
  width: min(440px, calc(100vw - 24px));
  left: 50%;
  top: calc(var(--filter-viewport-top, 0px) + 12px);
  transform: translateX(-50%);
  max-height: calc(var(--filter-viewport-height, 100dvh) - 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 20px 50px rgba(23, 33, 43, .18);
}
.vacancy-filter-sheet-heading { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.vacancy-filter-sheet-heading span, .vacancy-filter-sheet-heading small { display: block; }
.vacancy-filter-sheet-heading span { font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.vacancy-filter-sheet-heading small { margin-top: 2px; color: var(--muted); font-size: 14px; }
.vacancy-filter-sheet-heading button { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--surface-2); }
.vacancy-filter-body { position: relative; min-height: 0; flex: 1 1 auto; display: grid; grid-template-rows: minmax(0, 1fr); }
.vacancy-filter-fields { min-height: 0; display: grid; grid-auto-rows: max-content; align-content: start; gap: 14px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 3px; scroll-padding: 8px; }
.vacancy-filter-fields:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: -2px; border-radius: 8px; }
.vacancy-filter-body.has-scrollbar .vacancy-filter-fields { padding-right: 16px; scrollbar-width: none; }
.vacancy-filter-body.has-scrollbar .vacancy-filter-fields::-webkit-scrollbar { display: none; }
.vacancy-filter-scrollbar { position: absolute; top: 3px; right: 2px; bottom: 3px; width: 5px; border-radius: 99px; background: #e5edf2; pointer-events: none; }
.vacancy-filter-scrollbar span { display: block; width: 100%; height: var(--filter-scroll-thumb-height, 0px); transform: translateY(var(--filter-scroll-thumb-top, 0px)); border-radius: inherit; background: var(--primary); }
.vacancy-filter-fields template { display: none; }
.vacancy-filter-sheet label { display: grid; gap: 6px; }
.vacancy-filter-sheet label > span { color: var(--ink-2); font-size: 14px; font-weight: 750; }
.vacancy-filter-sheet select, .vacancy-filter-sheet input { min-height: 48px; font-size: 16px; }
.vacancy-filter-sheet select:disabled { color: var(--muted); background: var(--surface-2); }
.vacancy-filter-sheet .vacancy-salary-checkbox { grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 48px; }
.vacancy-filter-sheet .vacancy-salary-checkbox input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--primary); }
.vacancy-filter-actions { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.vacancy-filter-actions .button { width: 100%; min-height: 48px; }
.vacancy-filter-sheet.is-compact { padding: 10px 12px; gap: 8px; }
.vacancy-filter-sheet.is-compact .vacancy-filter-sheet-heading small { display: none; }
.vacancy-filter-sheet.is-compact .vacancy-filter-actions { padding-top: 8px; }
.vacancy-filter-sheet.is-short .vacancy-filter-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vacancy-filter-sheet.is-short .vacancy-filter-actions .button { padding: 8px 6px; }
.vacancy-filter-chips { display: flex; gap: 8px; overflow-x: auto; padding: 11px 0 1px; scrollbar-width: none; }
.vacancy-filter-chips::-webkit-scrollbar { display: none; }
.vacancy-filter-chip { min-height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border: 1px solid #cad5db; border-radius: 999px; color: var(--ink-2); background: white; font-size: 14px; white-space: nowrap; }
.vacancy-filter-chip .ui-icon { width: 17px; height: 17px; color: var(--primary); }
.vacancy-filter-chip b { color: var(--muted); font-size: 16px; line-height: 1; }
.vacancy-filter-chip.is-active { color: var(--primary); border-color: #90cfef; background: var(--blue-mist); font-weight: 700; }
.vacancy-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 25px 3px 14px; }
.vacancy-results-heading h1 { margin: 0; font-size: 27px; }
.vacancy-results-heading .ui-icon { width: 19px; height: 19px; }
.vacancy-sort-form label { position: relative; display: flex; align-items: center; color: var(--muted); }
.vacancy-sort-form .ui-icon { position: absolute; z-index: 1; left: 0; pointer-events: none; }
.vacancy-sort-form label::after { content: "⌄"; position: absolute; right: 1px; color: var(--muted); font-size: 16px; line-height: 1; pointer-events: none; }
.vacancy-sort-form select { width: auto; min-height: 40px; padding: 0 20px 0 26px; border: 0; color: var(--muted); background: transparent; box-shadow: none; font-size: 14px; appearance: none; cursor: pointer; }
.vacancy-sort-form select:focus { box-shadow: 0 0 0 3px rgba(25, 156, 230, .13); }
.vacancy-sort-form noscript button { color: var(--primary); background: transparent; font-size: 14px; font-weight: 700; }
.vacancy-list { display: grid; gap: 12px; }
.vacancy-list-card { position: relative; padding: 20px; border: 1px solid #e0e5e8; border-radius: 21px; background: white; box-shadow: 0 4px 14px rgba(23, 33, 43, .06); }
.vacancy-list-card[id] { scroll-margin-top: 150px; }
.vacancy-list-card-topline { min-height: 48px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 5px; }
.vacancy-relevance-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; color: #7a5c00; background: #fff4ad; font-size: 14px; font-weight: 700; }
.vacancy-relevance-pill.is-active { color: var(--success-dark); background: var(--green-mist); }
.vacancy-company-mark { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e8edf0; border-radius: 13px; color: var(--primary); background: var(--blue-mist); font-size: 18px; font-weight: 850; }
.vacancy-company-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.vacancy-list-card h2 { max-width: 570px; margin: 0 0 14px; font-size: 25px; line-height: 1.18; overflow-wrap: anywhere; }
.vacancy-list-salary { margin: 0 0 12px; color: var(--ink); font-size: 19px; font-weight: 720; letter-spacing: -.015em; }
.vacancy-list-company { display: flex; flex-wrap: wrap; gap: 4px 13px; margin-bottom: 13px; color: var(--muted); font-size: 15px; }
.vacancy-list-company strong { color: var(--ink-2); }
.vacancy-list-meta { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 13px; }
.vacancy-list-summary { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.vacancy-list-summary .vacancy-list-company { margin-bottom: 0; }
.vacancy-list-summary .vacancy-list-tags { margin: 8px 0 0; }
.vacancy-published-at { flex: 0 0 auto; margin-left: auto; color: var(--muted); font-size: 14px; line-height: 1.4; text-align: right; white-space: nowrap; }
.vacancy-list-tags { display: flex; gap: 7px; overflow: hidden; margin: 0 0 17px; }
.vacancy-list-tags span { flex: 0 0 auto; max-width: 240px; overflow: hidden; padding: 6px 10px; border: 1px solid #d9e0e4; border-radius: 999px; color: var(--muted); background: #fbfcfc; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.vacancy-list-actions { min-height: 42px; display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid #edf0f2; }
.vacancy-list-actions > form, .vacancy-list-actions > .vacancy-card-controls { flex: 0 0 auto; }
.vacancy-details-link { flex: 1 1 0; min-width: 0; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 12px; border-radius: 11px; color: var(--primary); background: var(--blue-mist); font-size: 14px; font-weight: 800; transition: color .16s ease, background .16s ease, transform .16s ease; }
.vacancy-details-link:hover { color: white; background: var(--primary); }
.vacancy-details-link:active { transform: scale(.98); }
.vacancy-details-link .ui-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.vacancy-card-controls { display: flex; align-items: center; gap: 3px; }
.vacancy-save-button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: transparent; }
.vacancy-save-button { color: var(--primary); }
.vacancy-save-button:hover { background: var(--blue-mist); }
.vacancy-save-button.is-saved { color: #d49b12; background: #fff8d7; }
.vacancy-save-button.is-saved .ui-icon { fill: currentColor; }
.vacancy-results-empty, .vacancy-locked-state { margin-top: 10px; }
.saved-vacancies { width: 100%; }
.saved-vacancies-header { min-height: 92px; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 15px; padding: max(10px, env(safe-area-inset-top)) 3px 14px; }
.saved-vacancies-header .eyebrow { margin-bottom: 3px; }
.saved-vacancies-header h1 { margin: 0; font-size: 29px; }
.saved-vacancies-count { margin: 5px 3px 14px; color: var(--muted); font-size: 14px; font-weight: 700; }
.vacancy-relevance-pill.is-saved { color: #866400; background: #fff4ad; }
.saved-vacancies-empty { margin-top: 10px; }

/* Full vacancy page */
.vacancy-detail-page { background: #f5f7f8; }
.vacancy-detail-page .app-shell { width: min(720px, 100%); padding-top: env(safe-area-inset-top); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.vacancy-detail-page .app-main { padding-top: 0; }
.vacancy-detail-shell { width: 100%; }
.vacancy-detail-toolbar { position: sticky; z-index: 20; top: 0; min-height: 68px; display: flex; align-items: center; padding: 10px 2px; background: rgba(245, 247, 248, .92); backdrop-filter: blur(18px); }
.vacancy-detail-hero, .vacancy-detail-section, .vacancy-contact-card { border: 1px solid #e0e5e8; border-radius: 21px; background: white; box-shadow: 0 4px 14px rgba(23, 33, 43, .05); }
.vacancy-detail-hero { padding: 24px; }
.vacancy-detail-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.detail-company-mark { width: 56px; height: 56px; flex-basis: 56px; }
.vacancy-detail-hero h1 { max-width: 590px; margin: 0 0 25px; font-size: clamp(31px, 6vw, 42px); line-height: 1.08; overflow-wrap: anywhere; }
.vacancy-detail-facts { display: grid; margin: 0; border-top: 1px solid #edf0f2; }
.vacancy-detail-facts > div { display: grid; grid-template-columns: minmax(125px, .42fr) minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid #edf0f2; }
.vacancy-detail-facts dt { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 700; }
.vacancy-detail-facts dt .ui-icon { width: 20px; height: 20px; color: var(--primary); }
.vacancy-detail-facts dd { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.vacancy-detail-tags { margin: 17px 0 0; }
.vacancy-detail-section { margin-top: 12px; padding: 24px; }
.vacancy-detail-section h2 { margin-bottom: 18px; font-size: 25px; }
.vacancy-detail-description { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.72; }
.vacancy-contact-card { margin-top: 12px; padding: 24px; }
.vacancy-contact-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.vacancy-contact-heading .eyebrow { margin-bottom: 3px; }
.vacancy-contact-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--blue-mist); }
.vacancy-contact-icon .ui-icon { width: 24px; height: 24px; }
.vacancy-contact-card > strong { display: block; margin-bottom: 5px; font-size: 18px; }
.vacancy-contact-card > p { max-width: 570px; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.vacancy-contact-phone { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.vacancy-contact-other { margin-bottom: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.vacancy-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vacancy-contact-actions .button { width: 100%; min-width: 0; min-height: 48px; gap: 8px; padding: 10px; text-align: center; }
.vacancy-contact-actions .ui-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.vacancy-contact-actions .button:disabled { cursor: default; opacity: .55; }
.vacancy-contact-card .vacancy-copy-status { margin: 12px 0 0; color: var(--success-dark); }
.vacancy-copy-status:empty { display: none; }
.vacancy-contact-card .vacancy-copy-status.is-error { color: var(--muted); }

.form-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.profile-form { overflow: hidden; }
.profile-edit-disclosure { overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.profile-edit-disclosure > summary { min-height: 82px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 13px; padding: 15px 18px; list-style: none; cursor: pointer; transition: background .16s ease; }
.profile-edit-disclosure > summary::-webkit-details-marker { display: none; }
.profile-edit-disclosure > summary:hover { background: var(--surface-2); }
.profile-edit-symbol { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--blue-mist); }
.profile-edit-copy { min-width: 0; }
.profile-edit-copy b, .profile-edit-copy small { display: block; }
.profile-edit-copy b { font-size: 17px; letter-spacing: -.015em; }
.profile-edit-copy small { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.profile-edit-disclosure > summary .details-icon { color: var(--primary); transition: transform .18s ease; }
.profile-edit-disclosure[open] > summary { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.profile-edit-disclosure[open] > summary .details-icon { transform: rotate(45deg); }
.profile-edit-disclosure .profile-form { border: 0; border-radius: 0; box-shadow: none; }
.form-section { padding: 25px; border-top: 1px solid #e9eeeb; }
.form-section:first-of-type { border-top: 0; }
.form-section > label { display: grid; gap: 8px; }
.form-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; }
.form-section-heading > span { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--blue-mist); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.form-section-heading h2 { font-size: 22px; }
.form-section-heading p { margin: 3px 0 0; color: var(--muted-2); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label, .company-start-form label, .inline-stack label, .inline-company-form label { display: grid; align-content: start; gap: 8px; }
.form-grid .span-2, .district-fieldset.span-2 { grid-column: span 2; }
.form-grid label > span, .form-section > label > span, .company-start-form label > span, .inline-stack label > span, .inline-company-form label > span { color: var(--ink-2); font-size: 14px; font-weight: 700; }
.form-grid small { color: var(--muted-2); font-weight: 550; }
.district-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.district-fieldset legend { margin-bottom: 10px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.district-fieldset legend small { margin-left: 5px; color: var(--muted-2); font-weight: 550; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.choice-grid[hidden] { display: none; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-chip span { min-height: 44px; display: grid; place-items: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface-2); cursor: pointer; font-size: 14px; font-weight: 600; text-align: center; transition: .16s ease; }
.choice-chip input:checked + span { color: white; border-color: var(--primary); background: var(--primary); box-shadow: 0 8px 24px rgba(12, 118, 184, .08); }
.choice-chip input:focus-visible + span { outline: 3px solid rgba(12, 118, 184, .24); }
.field-help { display: block; margin-top: 9px; color: var(--muted-2); font-size: 14px; }
.consent-row { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 9px !important; margin-top: 17px; color: var(--muted); font-size: 14px; }
.consent-row input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--primary); }
.consent-row a { color: var(--primary); text-decoration: underline; }
.submit-profile { width: calc(100% - 50px) !important; margin: 0 25px 25px !important; }

.wizard-page { overflow: hidden; background: #fff; }
.wizard-page .app-shell {
  position: fixed;
  top: var(--wizard-viewport-top, 0px);
  left: 0;
  right: 0;
  width: min(640px, 100%);
  height: 100vh;
  height: var(--wizard-viewport-height, 100dvh);
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
  overflow: hidden;
}
.wizard-page .app-main { min-height: 0; flex: 1; display: flex; flex-direction: column; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 0; overflow: hidden; }
.candidate-wizard-shell, .employer-wizard-shell { width: 100%; min-height: 0; flex: 1; display: flex; flex-direction: column; margin: 0 auto; }
.wizard-toolbar { min-height: 54px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 4px 10px; }
.wizard-home { min-width: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; font-weight: 750; }
.wizard-home img { width: 32px; height: 32px; object-fit: contain; border-radius: 10px; background: var(--surface); }
.wizard-home span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wizard-counter { flex: 0 0 auto; color: var(--muted-2); font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.wizard-progress { flex: 0 0 auto; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 0 4px; }
.employer-request-progress { grid-template-columns: repeat(3, 1fr); }
.employer-request-wizard { margin-top: 14px; }
.wizard-progress span { height: 4px; overflow: hidden; border-radius: 99px; background: #dfe7eb; transition: background .22s ease, transform .22s ease; }
.wizard-progress span.is-complete { background: var(--success); }
.wizard-progress span.is-current { background: var(--brand-blue); transform: scaleY(1.35); }
.wizard-title-row { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px 18px; }
.wizard-title-row h1 { margin: 0; font-size: 30px; }
.wizard-title-row .eyebrow { margin-bottom: 5px; }
.profile-wizard { min-height: 0; flex: 1; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.wizard-step { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 12px; padding: clamp(24px, 6vw, 38px); }
.wizard-step[hidden] { display: none !important; }
.wizard-step.is-active { animation: wizardIn .24s ease-out both; }
.wizard-question { max-width: 520px; margin-bottom: 28px; }
.wizard-emoji { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; background: var(--blue-mist); font-size: 27px; line-height: 1; }
.wizard-emoji.success { color: #fff; background: var(--success); font-size: 25px; font-weight: 850; }
.wizard-prompt { color: var(--muted); font-size: 15px; line-height: 1.55; white-space: pre-line; }
.wizard-question-title { display: block; color: var(--ink); font-size: clamp(25px, 5vw, 31px); line-height: 1.15; font-weight: 760; letter-spacing: -.035em; }
.wizard-question-title b, .wizard-question-title strong { font-weight: inherit; }
.wizard-question-help { display: block; margin-top: 7px; }
.wizard-field { position: relative; display: block; }
.wizard-field input, .wizard-field textarea { border-color: #d3dde3; background: #f2f5f7; }
.wizard-field input { min-height: 58px; font-size: 17px; }
.wizard-field textarea { min-height: 160px; font-size: 16px; }
.wizard-field input:focus, .wizard-field textarea:focus { background: #fff; }
.wizard-money-field > span:last-child { position: absolute; right: 17px; top: 18px; color: var(--muted-2); font-size: 14px; font-weight: 700; pointer-events: none; }
.wizard-money-field input { padding-right: 62px; }
.wizard-consent { max-width: 520px; margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); }
.wizard-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wizard-fieldset > legend:not(.sr-only) { margin-bottom: 12px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.wizard-option-grid { display: grid; gap: 10px; }
.city-options { grid-template-columns: repeat(2, 1fr); }
.city-options .wizard-option { display: flex; }
.city-options .wizard-option > span { flex: 1; justify-content: flex-start; }
.employment-options { grid-template-columns: repeat(3, 1fr); }
.wizard-option { position: relative; min-width: 0; }
.wizard-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wizard-option > span { min-height: 102px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: 17px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-2); background: var(--surface-2); cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.wizard-option > span::before { content: ""; width: 19px; height: 19px; margin-bottom: 13px; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px #fff; }
.wizard-option b, .wizard-option small { display: block; }
.wizard-option b { font-size: 16px; }
.wizard-option small { margin-top: 3px; color: var(--muted-2); font-size: 14px; }
.wizard-option input:checked + span { color: var(--primary); border-color: #9ed5f4; background: var(--blue-mist); box-shadow: 0 10px 28px rgba(12, 118, 184, .08); transform: translateY(-1px); }
.wizard-option input:checked + span::before { border-color: var(--brand-blue); background: var(--brand-blue); }
.wizard-option input:focus-visible + span { outline: 3px solid rgba(12, 118, 184, .24); outline-offset: 2px; }
.wizard-district-grid { grid-template-columns: repeat(2, 1fr); max-height: 330px; overflow-y: auto; padding-right: 3px; scrollbar-width: thin; }
.wizard-skip { display: block; margin: 15px auto 0; padding: 8px 14px; color: var(--primary); background: transparent; font-size: 14px; font-weight: 750; }
.wizard-review { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.wizard-review div { min-width: 0; padding: 14px 15px; background: var(--surface-2); }
.wizard-review div:last-child { grid-column: span 2; }
.wizard-review dt { color: var(--muted-2); font-size: 14px; }
.wizard-review dd { margin: 4px 0 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.wizard-actions { position: relative; flex: 0 0 auto; z-index: 3; display: grid; grid-template-columns: auto auto; justify-content: end; gap: 8px; padding: 10px clamp(14px, 4vw, 22px) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); }
.wizard-actions [hidden] { display: none !important; }
.wizard-actions .button { min-height: 44px; gap: 7px; padding: 8px 14px; border-radius: 10px; line-height: 1.2; white-space: nowrap; }
.wizard-back-button { color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.wizard-next-button, .wizard-submit-button { min-width: 96px; }

.wizard-compact .app-main { padding-top: 4px; }
.wizard-compact .app-shell { padding-bottom: 4px; }
.wizard-compact .wizard-toolbar { min-height: 42px; padding-top: 2px; padding-bottom: 6px; }
.wizard-compact .wizard-title-row, .wizard-compact .wizard-emoji { display: none; }
.wizard-compact .profile-wizard { margin-top: 10px; }
.wizard-compact .wizard-step { padding: 16px 17px; animation: none; }
.wizard-compact .wizard-question { margin-bottom: 16px; }
.wizard-compact .wizard-question-title { font-size: 23px; }
.wizard-compact .wizard-field textarea { min-height: 80px; height: clamp(80px, calc(var(--wizard-viewport-height) * .25), 130px); }
.wizard-keyboard-open .wizard-actions { padding-bottom: 10px; }

@keyframes wizardIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border-radius: 12px; font-size: 14px; font-weight: 700; transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .58; cursor: wait; }
.button.primary { color: white; background: var(--primary); box-shadow: 0 8px 24px rgba(12, 118, 184, .08); }
.button.lime { color: var(--primary); background: var(--blue-mist); }
.button.secondary { color: var(--primary); border: 1px solid #bfe2f6; background: var(--blue-mist); box-shadow: none; }
.button.wide { width: 100%; }
.button.large { min-height: 55px; margin-top: 20px; }
.button.is-loading::after { content: ""; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

.company-onboarding { margin-top: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.company-onboarding > h2 { font-size: 22px; }
.company-start-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 20px; }
.company-start-form .button { min-width: 190px; gap: 16px; }
.quick-launch, .recent-section { margin-top: 28px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 13px; margin-bottom: 14px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.launch-card { min-height: 180px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.launch-card.primary-launch { background: var(--blue-mist); }
.launch-card.dark-launch { grid-column: span 2; min-height: 145px; color: var(--ink); border-color: #bfe2f6; background: var(--blue-mist); }
.launch-number { color: var(--primary); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.dark-launch .launch-number { color: var(--primary); }
.launch-arrow { width: 34px; height: 34px; padding: 8px; border-radius: 50%; color: var(--primary); background: var(--blue-mist); }
.dark-launch .launch-arrow { color: white; background: var(--primary); }
.launch-card b, .launch-card small { grid-column: span 2; display: block; }
.launch-card b { align-self: end; margin-top: 28px; font-size: 16px; letter-spacing: -.025em; }
.launch-card small { margin-top: 5px; color: var(--muted); font-size: 14px; }
.dark-launch small { color: var(--muted); }
.empty-strip { padding: 22px; border: 1px dashed var(--line-strong); border-radius: 18px; background: rgba(255, 255, 255, .7); }
.empty-strip span { color: var(--primary); font-size: 14px; font-weight: 700; }
.empty-strip p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.action-grid { display: grid; gap: 10px; }
.action-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.action-choice { min-height: 90px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 16px; list-style: none; }
.company-settings summary::-webkit-details-marker { display: none; }
.action-choice > span:nth-child(2) b, .action-choice > span:nth-child(2) small { display: block; }
.action-choice b { font-size: 15px; }
.action-choice small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.details-icon { color: var(--muted-2); transition: transform .18s ease; }
.company-settings[open] summary > .details-icon { transform: rotate(45deg); }
.action-index { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--blue-mist); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.lime-action { background: var(--surface); }
.dark-action { color: var(--ink); border-color: var(--line); background: var(--surface); }
.dark-action .action-index { color: var(--success-dark); background: var(--green-mist); }
.dark-action.action-choice small { color: var(--muted); }
.dark-action.action-choice > .details-icon { color: var(--muted-2); }
.inline-stack { display: grid; gap: 13px; padding: 2px 17px 17px; }
.dark-action input, .dark-action textarea { color: var(--ink); border-color: var(--line-strong); background: white; }
.dark-action input::placeholder, .dark-action textarea::placeholder { color: #a5aea9; }
.dark-action .inline-stack label > span { color: var(--ink-2); }

.request-list { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.request-row { min-height: 82px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; border-top: 1px solid #edf1ee; }
.request-row:first-child { border-top: 0; }
.request-row:active { background: var(--surface-2); }
.request-symbol { width: 42px; height: 42px; padding: 10px; border-radius: 14px; color: var(--primary); background: var(--blue-mist); }
.request-copy, .request-meta { min-width: 0; }
.request-copy b, .request-copy small, .request-meta small { display: block; }
.request-copy b { font-size: 14px; }
.request-copy small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.request-meta { display: grid; justify-items: end; gap: 5px; }
.request-meta small { color: var(--muted-2); font-size: 14px; }
.status { display: inline-flex; width: max-content; padding: 5px 8px; border-radius: 999px; color: var(--amber); background: var(--amber-soft); font-size: 14px; font-style: normal; font-weight: 700; white-space: nowrap; }
.status.in_progress { color: var(--success-dark); background: var(--green-mist); }
.status.closed { color: #68756e; background: #ebf0ed; }
.large-status { padding: 8px 11px; font-size: 14px; }
.company-settings { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .6); }
.company-settings > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; list-style: none; }
.company-settings summary b, .company-settings summary small { display: block; }
.company-settings summary b { font-size: 14px; }
.company-settings summary small { color: var(--muted-2); font-size: 14px; }
.company-settings summary .details-icon { color: var(--muted); }
.inline-company-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 9px; padding: 0 15px 15px; }

.auth-card, .state-card { min-height: calc(100vh - 150px); display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.auth-card h1, .state-card h1 { max-width: 540px; }
.state-card .lead { max-width: 460px; }
.auth-orbit { position: relative; width: 104px; height: 104px; display: grid; place-items: center; margin-bottom: 32px; border: 1px solid #bfe2f6; border-radius: 18px; background: var(--blue-mist); box-shadow: var(--shadow-sm); transform: rotate(5deg); }
.auth-orbit::before, .auth-orbit::after { content: ""; position: absolute; border: 1px solid rgba(25, 156, 230, .15); border-radius: 22px; animation: pulse 2.4s ease-out infinite; }
.auth-orbit::before { inset: -15px; }
.auth-orbit::after { inset: -31px; animation-delay: .6s; }
.auth-orbit > span { transform: rotate(-5deg); }
.loading-line { width: min(290px, 76vw); height: 4px; margin: 30px auto 12px; overflow: hidden; border-radius: 99px; background: #dfe7e2; }
.loading-line span { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--primary); animation: loading 1.35s ease-in-out infinite; }
.auth-status { margin-bottom: 0; color: var(--muted-2); font-size: 14px; }
.error-text { color: var(--red); }
.state-icon { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 21px; font-size: 24px; font-weight: 900; }
.state-icon.danger { color: var(--red); background: var(--red-soft); }

.intro-block { max-width: 620px; padding: 30px 3px 25px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-card { min-height: 330px; display: flex; align-items: flex-start; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.role-card.dark { color: var(--ink); border-color: #bfe2f6; background: var(--blue-mist); }
.role-icon { width: 52px; height: 52px; margin-bottom: 35px; padding: 13px; border-radius: 17px; color: var(--primary); background: var(--blue-mist); }
.role-card.dark .role-icon { color: var(--primary); background: white; }
.role-icon { position: relative; }
.role-candidate-icon i::before { content: ""; position: absolute; width: 13px; height: 13px; left: 18px; top: 9px; border: 2px solid currentColor; border-radius: 50%; }
.role-candidate-icon i::after { content: ""; position: absolute; width: 25px; height: 13px; left: 12px; bottom: 8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 16px 16px 0 0; }
.role-employer-icon i::before, .role-employer-icon i::after { content: ""; position: absolute; width: 20px; height: 2px; left: 15px; top: 24px; border-radius: 2px; background: currentColor; }
.role-employer-icon i::after { transform: rotate(90deg); }
.role-card.dark .eyebrow { color: var(--primary); }
.role-card h2 { margin-bottom: 9px; font-size: 24px; }
.role-card p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.role-card.dark p:not(.eyebrow) { color: var(--muted); }
.role-card .button { margin-top: auto; }

.back-link { display: inline-flex; align-items: center; gap: 6px; margin: 7px 0 17px; color: var(--primary); font-size: 14px; font-weight: 700; }
.back-link .ui-icon { width: 17px; height: 17px; }
.app-footer { padding: 20px 0 4px; color: var(--muted-2); font-size: 14px; text-align: center; }
.app-footer a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.privacy-page { max-width: 680px; margin: 0 auto; }
.privacy-hero { margin-bottom: 18px; padding: 34px; border-radius: 18px; color: white; background: linear-gradient(145deg, var(--primary), var(--brand-blue)); box-shadow: var(--shadow-md); }
.privacy-hero h1 { max-width: 540px; margin-bottom: 14px; }
.privacy-hero > p:not(.eyebrow) { max-width: 560px; margin-bottom: 18px; color: #e5f5ff; }
.privacy-hero small { color: #d8f1ff; font-weight: 650; }
.privacy-document { display: grid; gap: 12px; }
.privacy-document section { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.privacy-document h2 { margin-bottom: 13px; font-size: 20px; }
.privacy-document p { margin-bottom: 12px; color: var(--ink-2); }
.privacy-document p:last-child { margin-bottom: 0; }
.privacy-document ul { margin: 0; padding-left: 22px; color: var(--ink-2); }
.privacy-document li + li { margin-top: 8px; }
.privacy-document a { color: var(--primary); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-contact { border-color: #bfe2f6 !important; background: var(--blue-mist) !important; }
.ticket-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.ticket-heading h1 { font-size: 36px; }
.ticket-heading .lead { max-width: 470px; font-size: 14px; }
.chat-card { overflow: hidden; margin-top: 23px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.chat-card [hidden] { display: none !important; }
.chat-card .section-heading { align-items: flex-start; margin-bottom: 16px; }
.chat-connection { min-height: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; color: var(--success-dark); background: var(--green-mist); font-size: 14px; white-space: nowrap; }
.chat-connection i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(97, 196, 84, .13); }
.chat-connection b { font-weight: 750; }
.chat-connection.is-connecting { color: var(--primary); background: var(--blue-mist); }
.chat-connection.is-connecting i { background: var(--brand-blue); box-shadow: 0 0 0 4px rgba(25, 156, 230, .12); animation: pulseDot 1.3s ease-in-out infinite; }
.chat-connection.is-offline { color: var(--muted); background: var(--surface-2); }
.chat-connection.is-offline i { background: var(--muted-2); box-shadow: none; }
.message-list { min-height: 118px; display: grid; align-content: end; gap: 9px; max-height: 50vh; padding: 4px 2px 18px; overflow-y: auto; overscroll-behavior: contain; }
.message { max-width: 84%; padding: 11px 13px; border-radius: 6px 15px 15px; background: var(--surface-2); box-shadow: 0 3px 12px rgba(23, 33, 43, .035); }
.message.employer { margin-left: auto; border-radius: 15px 6px 15px 15px; background: var(--blue-mist); }
.message small { color: var(--muted); font-size: 14px; }
.message p { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 14px; white-space: pre-line; }
.empty-chat { padding: 30px 0; color: var(--muted-2); text-align: center; font-size: 14px; }
.message-form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: end; gap: 8px; margin-top: 10px; padding-top: 13px; border-top: 1px solid #edf1ee; }
.message-form textarea { min-height: 50px; max-height: 140px; }
.send-button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--primary); font-size: 20px; }
.send-button .telegram-send-logo { display: block; width: 32px; height: 32px; }
.waiting-note { margin-bottom: 2px; padding: 13px 14px; border-radius: 12px; color: var(--amber); background: var(--amber-soft); font-size: 14px; }
.waiting-note span { width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #c18c2b; animation: pulseDot 1.3s ease-in-out infinite; }
.closed-note { color: #68756e; background: #edf1ef; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.request-chat-page { overflow: hidden; }
.request-chat-page .app-shell {
  position: fixed;
  top: var(--chat-viewport-top, 0px);
  left: 0;
  right: 0;
  height: 100vh;
  height: var(--chat-viewport-height, 100dvh);
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.request-chat-page .app-main {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(10px + env(safe-area-inset-top));
  padding-bottom: 0;
  overflow: hidden;
}
.request-chat-page .alert { flex: 0 0 auto; }
.request-chat-page .back-link { flex: 0 0 auto; margin: 3px 0 10px; }
.request-chat-page .ticket-heading { flex: 0 0 auto; display: flex; align-items: center; }
.request-chat-page .ticket-heading .status { margin-top: 0; }
.request-chat-page .ticket-heading .eyebrow { margin-bottom: 3px; }
.request-chat-page .ticket-heading h1 { margin-bottom: 0; font-size: 30px; }
.request-chat-page .chat-card {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-top: 13px;
}
.request-chat-page .chat-card .section-heading,
.request-chat-page .waiting-note,
.request-chat-page .message-form { flex: 0 0 auto; }
.request-chat-page .message-list {
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.request-chat-page .message-list > * { flex: 0 0 auto; }
/* Short conversations sit at the bottom; long histories scroll from the start. */
.request-chat-page .message-list > :first-child { margin-top: auto; }
.request-chat-page .message-form { align-items: stretch; }
.request-chat-page .message-form > label { display: block; min-width: 0; }
.request-chat-page .message-form .send-button {
  height: auto;
  min-height: 48px;
  border-radius: 12px;
}
.request-chat-page .message-form textarea {
  display: block;
  min-height: 48px;
  padding: 11px 12px;
  font-size: 16px;
  resize: none;
}
.request-chat-page.chat-compact .app-shell { padding-bottom: 6px; }
.request-chat-page.chat-compact .app-main { padding-top: max(4px, env(safe-area-inset-top)); }
.request-chat-page.chat-compact .alert.success { display: none; }
.request-chat-page.chat-compact .alert.error { margin-bottom: 4px; padding: 5px 8px; font-size: 14px; }
.request-chat-page.chat-compact .back-link { margin: 0 0 4px; font-size: 14px; }
.request-chat-page.chat-compact .ticket-heading .eyebrow,
.request-chat-page.chat-compact .chat-card .section-heading > div { display: none; }
.request-chat-page.chat-compact .ticket-heading h1 { font-size: 20px; }
.request-chat-page.chat-compact .ticket-heading .status { padding: 4px 9px; font-size: 14px; }
.request-chat-page.chat-compact .chat-card { margin-top: 6px; padding: 8px 10px; }
.request-chat-page.chat-compact .chat-card .section-heading { justify-content: flex-end; margin-bottom: 4px; }
.request-chat-page.chat-compact .chat-connection { min-height: 22px; padding: 2px 8px; font-size: 14px; }
.request-chat-page.chat-compact .message-list { padding-bottom: 6px; }
.request-chat-page.chat-compact .waiting-note { padding: 6px 8px; font-size: 14px; line-height: 1.3; }
.request-chat-page.chat-compact .message-form { margin-top: 4px; padding-top: 6px; }

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(690px, calc(100% - 24px));
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(12, 55, 82, .08);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}
.nav-item { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 4px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 700; transition: color .16s ease, background .16s ease, transform .16s ease; }
.nav-item:active { transform: scale(.97); }
.nav-item.active { color: var(--primary); background: var(--blue-mist); }
.nav-glyph { width: 22px; height: 21px; }
.nav-home::before { content: ""; position: absolute; width: 12px; height: 12px; left: 4px; top: 6px; border: 2px solid currentColor; border-top: 0; border-radius: 1px 1px 4px 4px; }
.nav-home::after { content: ""; position: absolute; width: 12px; height: 12px; left: 4px; top: 2px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.nav-jobs::before { content: ""; position: absolute; inset: 5px 2px 1px; border: 2px solid currentColor; border-radius: 5px; }
.nav-jobs::after { content: ""; position: absolute; width: 8px; height: 5px; left: 7px; top: 1px; border: 2px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.nav-profile::before { content: ""; position: absolute; width: 7px; height: 7px; left: 7px; top: 1px; border: 2px solid currentColor; border-radius: 50%; }
.nav-profile::after { content: ""; position: absolute; width: 16px; height: 9px; left: 2px; bottom: 0; border: 2px solid currentColor; border-bottom: 0; border-radius: 12px 12px 0 0; }
.nav-create::before, .nav-create::after { content: ""; position: absolute; left: 4px; top: 9px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-create::after { transform: rotate(90deg); }
.nav-requests::before { content: ""; position: absolute; inset: 2px 3px; border: 2px solid currentColor; border-radius: 5px; }
.nav-requests::after { content: ""; position: absolute; width: 10px; height: 2px; left: 6px; top: 8px; border-radius: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }

@keyframes loading { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { opacity: .6; transform: scale(.86); } 75%, 100% { opacity: 0; transform: scale(1.18); } }
@keyframes pulseDot { 50% { opacity: .4; } }

@media (max-width: 620px) {
  .app-shell { padding-right: 13px; padding-left: 13px; }
  .app-header { min-height: 70px; }
  .brand small { display: none; }
  .user-chip { max-width: 132px; }
  .user-copy small { display: none; }
  .dashboard-hero { min-height: 315px; grid-template-columns: minmax(0, 1fr) 90px; padding: 25px 22px; border-radius: 18px; }
  .hero-copy h1 { font-size: 35px; }
  .hero-copy > p:not(.eyebrow) { max-width: 290px; }
  .hero-art { min-height: 155px; }
  .hero-orb { width: 115px; height: 115px; right: -45px; top: 15px; }
  .hero-card { width: 105px; height: 143px; padding: 14px; }
  .hero-card-back { right: -28px; top: 16px; }
  .hero-card-front { right: -11px; top: 22px; }
  .hero-card em { width: 38px; height: 38px; margin-bottom: 19px; border-radius: 12px; font-size: 14px; }
  .employer-hero, .employer-hero.has-requests { grid-template-columns: minmax(0, 1fr); }
  .employer-stat { position: absolute; width: 96px; height: 96px; right: 18px; top: 18px; }
  .employer-stat span { font-size: 26px; }
  .employer-stat small { margin-top: 4px; font-size: 14px; }
  .employer-stat i { width: 9px; height: 9px; right: 5px; top: 10px; }
  .employer-hero.has-requests .hero-copy { padding-top: 68px; }
  .onboarding-panel { grid-template-columns: 61px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .onboarding-panel .button { grid-column: span 2; width: 100%; }
  .progress-ring { width: 61px; height: 61px; }
  .progress-ring::before { width: 48px; height: 48px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card { min-height: 210px; }
  .page-heading { display: block; padding-top: 23px; }
  .page-counter, .status-form { display: inline-flex; margin-top: 14px; }
  .vacancy-image { height: 245px; }
  .vacancy-content { padding: 20px; }
  .vacancy-heading-line { display: block; }
  .vacancy-heading-line .match-pill { display: inline-flex; margin: 6px 0 10px; }
  .vacancy-title { font-size: 24px; }
  .vacancy-actions { grid-template-columns: 1fr; }
  .form-section { padding: 20px 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2, .district-fieldset.span-2 { grid-column: span 1; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .submit-profile { width: calc(100% - 34px) !important; margin: 0 17px 20px !important; }
  .wizard-title-row { align-items: flex-start; flex-direction: column; }
  .wizard-title-row .status-form { margin-top: 0; }
  .employment-options { grid-template-columns: 1fr; }
  .employment-options .wizard-option > span { min-height: 72px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
  .employment-options .wizard-option > span::before { margin: 0; }
  .company-start-form { grid-template-columns: 1fr; }
  .company-start-form .button { width: 100%; }
  .launch-grid { grid-template-columns: 1fr; }
  .launch-card.dark-launch { grid-column: span 1; }
  .request-row { grid-template-columns: 42px minmax(0, 1fr); }
  .request-meta { grid-column: 2; grid-template-columns: auto auto; align-items: center; justify-content: start; }
  .inline-company-form { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 285px; }
  .ticket-heading { display: block; }
  .ticket-heading .status { margin-top: 13px; }
}

@media (max-width: 380px) {
  .dashboard-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .hero-copy h1 { font-size: 33px; }
  .vacancy-topline { align-items: flex-start; flex-direction: column; }
  .bottom-nav { width: calc(100% - 16px); }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  h2 { font-size: 21px; }
  .app-shell { padding-right: 10px; padding-left: 10px; }
  .app-header { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .user-chip { width: 44px; grid-template-columns: 34px; padding: 4px; }
  .user-chip .user-copy, .user-chip > i { display: none; }
  .dashboard-hero { min-height: 295px; grid-template-columns: minmax(0, 1fr); padding: 23px 18px; }
  .candidate-hero .hero-art { display: none; }
  .hero-copy h1 { font-size: 31px; }
  .hero-copy > p:not(.eyebrow) { max-width: none; }
  .employer-stat { width: 84px; height: 84px; right: 13px; top: 13px; }
  .employer-hero.has-requests .hero-copy { padding-top: 62px; }
  .page-heading { padding-right: 1px; padding-left: 1px; }
  .locked-state, .empty-card { min-height: 330px; padding: 31px 18px; }
  .vacancy-image { height: clamp(210px, 65vw, 260px); min-height: 0; }
  .vacancy-content { padding: 18px 16px; }
  .vacancy-description { font-size: 14px; }
  .vacancy-feed-page .app-shell { padding-right: 10px; padding-left: 10px; }
  .vacancy-search-form { margin-right: -2px; margin-left: -2px; padding-right: 2px; padding-left: 2px; }
  .vacancy-search-row { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 7px; }
  .vacancy-back-button, .vacancy-filter-button { width: 44px; height: 44px; }
  .vacancy-search-field input { min-height: 48px; padding-right: 42px; padding-left: 42px; font-size: 14px; }
  .vacancy-search-field > .ui-icon { width: 20px; height: 20px; left: 13px; top: 14px; }
  .vacancy-search-field button { width: 32px; height: 32px; right: 8px; top: 8px; }
  .vacancy-filter-sheet { width: calc(100vw - 20px); }
  .vacancy-filter-chip { min-height: 40px; padding-right: 12px; padding-left: 12px; }
  .vacancy-results-heading { padding-top: 21px; }
  .vacancy-results-heading h1 { font-size: 25px; }
  .vacancy-sort-form select { max-width: 178px; font-size: 14px; }
  .vacancy-list-card { padding: 18px 16px 16px; border-radius: 19px; }
  .vacancy-list-card h2 { margin-bottom: 12px; font-size: 22px; }
  .vacancy-list-salary { font-size: 18px; }
  .vacancy-list-company { font-size: 14px; }
  .vacancy-company-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .vacancy-list-card-topline { min-height: 44px; }
  .vacancy-detail-page .app-shell { padding-right: 10px; padding-left: 10px; }
  .vacancy-detail-toolbar { min-height: 62px; }
  .vacancy-detail-hero, .vacancy-detail-section, .vacancy-contact-card { border-radius: 19px; }
  .vacancy-detail-hero, .vacancy-detail-section, .vacancy-contact-card { padding: 19px 16px; }
  .vacancy-detail-hero h1 { margin-bottom: 21px; font-size: 30px; }
  .vacancy-detail-facts > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .vacancy-detail-description { font-size: 15px; }
  .vacancy-contact-actions { grid-template-columns: minmax(0, 1fr); }
  .profile-edit-disclosure > summary { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 11px; padding: 14px; }
  .profile-edit-symbol { width: 44px; height: 44px; }
  .form-section { padding-right: 15px; padding-left: 15px; }
  .choice-chip span { overflow-wrap: anywhere; }
  .wizard-page .app-shell { padding-right: 10px; padding-left: 10px; }
  .wizard-toolbar { padding-right: 2px; padding-left: 2px; }
  .wizard-title-row { padding-top: 19px; padding-right: 2px; padding-left: 2px; }
  .wizard-title-row h1 { font-size: 27px; }
  .profile-wizard { border-radius: 17px; }
  .wizard-step { padding: 23px 17px 28px; }
  .wizard-question { margin-bottom: 23px; }
  .wizard-emoji { width: 47px; height: 47px; margin-bottom: 18px; font-size: 24px; }
  .wizard-question-title { font-size: 26px; }
  .wizard-field input { min-height: 56px; }
  .city-options { grid-template-columns: 1fr 1fr; }
  .wizard-option > span { min-height: 94px; padding: 14px; }
  .wizard-district-grid { max-height: 290px; }
  .wizard-review { grid-template-columns: 1fr; }
  .wizard-review div { display: grid; grid-template-columns: minmax(80px, .36fr) minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px 14px; }
  .wizard-review div:last-child { grid-column: span 1; }
  .wizard-review dt { padding-top: 1px; }
  .wizard-review dd { margin: 0; text-align: right; }
  .wizard-actions { padding-right: 10px; padding-left: 10px; }
  .launch-card { min-height: 160px; padding: 17px; }
  .action-choice { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 10px; padding: 14px; }
  .action-index { width: 40px; height: 40px; }
  .inline-stack { padding-right: 14px; padding-left: 14px; }
  .request-row { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .request-symbol { width: 38px; height: 38px; padding: 9px; }
  .request-meta { grid-template-columns: 1fr; justify-items: start; gap: 4px; }
  .request-meta .status { white-space: normal; }
  .role-card { min-height: 270px; padding: 19px; }
  .role-icon { margin-bottom: 26px; }
  .ticket-heading h1 { font-size: 30px; }
  .chat-card { padding: 16px 13px; }
  .chat-card .section-heading { gap: 10px; }
  .chat-card .section-heading h2 { font-size: 20px; }
  .chat-connection { padding-right: 8px; padding-left: 8px; }
  .message { max-width: 92%; }
  .request-chat-page .app-shell { padding-right: 8px; padding-left: 8px; }
  .request-chat-page .chat-card { padding: 14px 12px; }
  .request-chat-page .chat-card .section-heading { margin-bottom: 10px; }
  .request-chat-page .message-list { padding-bottom: 10px; }
  .request-chat-page .message-form { margin-top: 6px; padding-top: 9px; }
  .privacy-hero { padding: 26px 20px; }
  .privacy-document section { padding: 20px 17px; }
  .bottom-nav { min-height: 66px; bottom: calc(7px + env(safe-area-inset-bottom)); width: calc(100% - 14px); padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.wizard-question-image { max-width: 100%; max-height: 180px; object-fit: contain; border-radius: 12px; }
