.worker-cv-builder { min-width: 0; }
.worker-cv-builder .cv-studio-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.worker-cv-builder .cv-studio-header h3 { font-size: 26px; margin: 4px 0 0; }
.worker-cv-builder .cv-free-label { color: var(--accent-dark); font-size: 14px; }
.worker-cv-builder .cv-studio-workspace { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.worker-cv-builder .cv-studio-settings { display: grid; gap: 24px; min-width: 0; }
.worker-cv-builder fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.worker-cv-builder legend { font-size: 15px; font-weight: 650; margin-bottom: 12px; }
.worker-cv-builder .cv-template-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.worker-cv-builder .cv-template-option { display: flex; flex-direction: column; align-items: stretch; grid-template-rows: none; min-height: 0; min-width: 0; padding: 8px; gap: 10px; border: 1px solid #c9d3cd; background: #edf1ee; overflow: hidden; }
.worker-cv-builder .cv-template-option.selected { border-color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark); background: #e3ede7; }
.worker-cv-builder .cv-template-option:focus-within { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.worker-cv-builder .cv-template-caption { padding: 2px 2px 4px; }
.worker-cv-builder .cv-template-caption strong { font-size: 13px; }
.worker-cv-builder .cv-template-caption small { font-size: 12px; line-height: 1.4; }
[data-cv-scale] { position: relative; display: block; min-width: 0; width: 100%; overflow: hidden; }
[data-cv-scale] > .cv-paper { position: absolute; inset: 0 auto auto 0; margin: 0; pointer-events: none; user-select: none; }
.cv-miniature { aspect-ratio: 210 / 297; }
.cv-preview-page { aspect-ratio: 210 / 297; box-shadow: 0 5px 24px rgb(28 42 33 / 12%); }
.worker-cv-builder .cv-color-options { display: flex; gap: 12px; }
.worker-cv-builder .cv-color-choice { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; cursor: pointer; }
.worker-cv-builder .cv-color-choice input { position: absolute; opacity: 0; width: 44px; height: 44px; margin: 0; cursor: pointer; }
.worker-cv-builder .cv-color-choice span { width: 30px; height: 30px; border: 3px solid white; border-radius: 50%; background: var(--cv-swatch); box-shadow: 0 0 0 1px #b6c2ba; }
.worker-cv-builder .cv-color-choice:has(input:checked) span { box-shadow: 0 0 0 2px var(--accent-dark); }
.worker-cv-builder .cv-color-choice:focus-within { outline: 2px solid var(--accent-dark); border-radius: 50%; }
.worker-cv-builder .cv-target-label { display: grid; gap: 10px; font-size: 15px; }
.worker-cv-builder .cv-target-label select { width: 100%; min-width: 0; min-height: 44px; font-size: 14px; }
.worker-cv-builder .cv-ai-tools { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.cv-ai-tools .button { min-height: 46px; white-space: normal; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.cv-ai-tools svg, .cv-preview-toolbar svg { width: 19px; height: 19px; flex: none; stroke: currentColor; }
.worker-cv-builder .cv-design-applied { font-size: 13px; color: var(--accent-dark); margin: 0; }
.worker-cv-builder .cv-studio-preview { min-width: 0; background: #e4e9e5; border-radius: 6px; overflow: hidden; }
.cv-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #ccd5ce; }
.cv-preview-toolbar > span { font-size: 14px; font-weight: 650; }
.cv-preview-toolbar > div { display: flex; align-items: center; gap: 8px; }
.cv-preview-toolbar button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); cursor: pointer; }
.cv-preview-toolbar .button-primary { padding-inline: 14px; color: white; background: var(--accent-dark); font-size: 13px; }
.cv-preview-canvas { padding: 26px; max-height: 820px; overflow-y: auto; }
.cv-ai-document { padding: 14px; background: #e4e9e5; border-radius: 6px; }
@media (max-width: 1000px) {
  .worker-cv-builder .cv-studio-workspace { grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
  .cv-preview-canvas { padding: 14px; }
}
@media (max-width: 720px) {
  .worker-cv-builder .cv-studio-workspace { display: flex; flex-direction: column; gap: 24px; }
  .worker-cv-builder .cv-studio-settings, .worker-cv-builder .cv-studio-preview { width: 100%; }
  .worker-cv-builder .cv-template-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .worker-cv-builder .cv-template-option { padding: 5px; }
  .worker-cv-builder .cv-template-caption strong { font-size: 12px; overflow-wrap: anywhere; }
  .worker-cv-builder .cv-template-caption small { display: none; }
  .worker-cv-builder .cv-studio-header h3 { font-size: 23px; }
  .worker-cv-builder .cv-studio-settings { gap: 18px; }
}
@media (max-width: 420px) { .worker-cv-builder .cv-template-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.session-recovery {
  box-sizing: border-box;
  width: min(360px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 32px 28px;
  border: 1px solid #dbe3dd;
  border-radius: 8px;
  background: #f8faf8;
  color: #20382c;
  text-align: center;
  box-shadow: 0 20px 70px rgb(17 40 28 / 16%);
  overflow: auto;
}
.session-recovery::backdrop { background: rgb(24 42 33 / 28%); backdrop-filter: blur(6px); }
.session-recovery .session-recovery-logo { display: block; width: 120px; height: 44px; object-fit: contain; margin: 0 auto 26px; }
.session-recovery h2 { font: 600 22px/1.3 "Avenir Next", "Segoe UI", sans-serif; letter-spacing: 0; margin: 20px 0 8px; }
.session-recovery p { font-size: 16px; line-height: 1.5; color: #627168; margin: 0; overflow-wrap: anywhere; }
.session-recovery .button { min-height: 44px; margin-top: 22px; }
.session-recovery .button[hidden] { display: none; }
.session-recovery-spinner { box-sizing: border-box; width: 28px; height: 28px; margin: auto; border: 2px solid #dce6df; border-top-color: #2f6f4e; border-radius: 50%; animation: session-recovery-spin .9s linear infinite; }
.session-recovery-error .session-recovery-spinner { display: none; }
@keyframes session-recovery-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .session-recovery-spinner { animation: none; } }

:root {
  --font-brand: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
  --paper: #f4f6f8;
  --surface: #f8f9fa;
  --surface-strong: #ffffff;
  --ink: #202428;
  --muted: #606b75;
  --line: #d9dee3;
  --line-strong: #b7c0c8;
  --accent: #2f6f4e;
  --accent-dark: #204f38;
  --accent-soft: #e5ede8;
  --steel: #aab4ae;
  --steel-dark: #68756e;
  --steel-soft: #eef1ef;
  --warm: #e8a44f;
  --warm-soft: #f7ead8;
  --danger: #a43d36;
  --shadow: 0 1px 3px rgba(31, 42, 50, 0.1);
  --radius: 7px;
}

.analytics-consent { position: fixed; right: 20px; bottom: 20px; z-index: 10020; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; width: min(720px, calc(100% - 40px)); border: 1px solid #33483e; border-radius: 10px; background: #14231c; padding: 20px; color: #fff; box-shadow: 0 18px 50px rgba(10, 24, 17, .22); }
.analytics-consent strong { display: block; margin-bottom: 5px; font-size: 17px; }
.analytics-consent p { max-width: 520px; margin: 0; color: #d8e1dc; font-size: 14px; line-height: 1.5; }
.analytics-consent a { color: #fff; font-weight: 750; }
.analytics-consent-actions { display: flex; gap: 8px; }
.analytics-consent button { min-height: 44px; border: 1px solid #8fa098; border-radius: 6px; background: transparent; padding: 0 14px; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.analytics-consent .analytics-consent-accept { border-color: #fff; background: #fff; color: #14231c; }
.analytics-settings-tab { position: fixed; z-index: 45; top: 92px; right: 0; min-width: 64px; min-height: 40px; border: 1px solid #aebbb5; border-right: 0; border-radius: 6px 0 0 6px; background: rgba(255,255,255,.96); padding: 0 12px; color: #35453e; box-shadow: 0 4px 14px rgba(20,35,28,.1); font: 750 12px/1 system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(10px); transition: background 140ms ease, color 140ms ease, transform 140ms ease; }
.analytics-settings-tab:hover, .analytics-settings-tab:focus-visible { background: #173f32; color: #fff; transform: translateX(-3px); }

@media (max-width: 680px) {
  .analytics-consent { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); grid-template-columns: 1fr; gap: 14px; width: calc(100% - 20px); padding: 17px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent button { padding-inline: 8px; }
  .analytics-settings-tab { top: max(72px, calc(env(safe-area-inset-top) + 58px)); min-width: 55px; min-height: 38px; padding-inline: 9px; font-size: 11px; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scroll-snap-type: y proximity;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: clip;
}

img, video, svg { max-width: 100%; }

body:has(dialog[open]) { overflow: hidden; }

button,
input,
textarea,
select { font: inherit; }

button { cursor: pointer; }
a { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(21, 107, 79, 0.28);
  outline-offset: 3px;
}

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.landing-panel {
  min-height: calc(100svh - 76px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 76px;
}

.landing-panel > .section-shell,
.landing-panel > .hero-main {
  opacity: .72;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(.2,.75,.25,1);
}
.landing-panel.in-view > .section-shell,
.landing-panel.in-view > .hero-main,
.hero.landing-panel > .hero-main { opacity: 1; transform: translateY(0); }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.brand-logo {
  width: 142px;
  height: 44px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.app-brand-logo {
  width: 132px;
  height: 42px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  font-size: 18px;
  font-weight: 800;
}

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 17px;
  font-weight: 650;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: default; opacity: 0.55; transform: none; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent-dark); }
.button-quiet { border-color: var(--line); background: transparent; color: var(--ink); }
.button-danger { border-color: #a83f3f; background: #a83f3f; color: #fff; }
.button-danger:hover { background: #863131; }
.button-wide { width: 100%; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  min-height: 76px;
  margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(202, 210, 204, 0.72);
  background: rgba(249, 250, 249, 0.92);
  backdrop-filter: blur(16px) saturate(1.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.mobile-site-menu { display: none; }

.nav-menu { position: relative; }
.nav-menu > button {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 650;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-menu > button span { display: inline-block; margin-left: 4px; transition: transform 180ms ease; }
.nav-menu:hover > button,
.nav-menu:focus-within > button { background: #edf1ee; color: var(--ink); }
.nav-menu:hover > button span,
.nav-menu:focus-within > button span { transform: rotate(180deg); }
.nav-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 50%;
  width: 310px;
  padding: 8px;
  border: 1px solid rgba(187, 198, 191, .8);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 48px rgba(24, 41, 32, .14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(.2,.75,.25,1);
}
.nav-menu-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 8px; }
.nav-menu:hover .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-menu-panel a { min-height: 58px; padding: 10px 11px; display: grid; align-content: center; gap: 1px; border-radius: 6px; text-decoration: none; }
.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible { background: #f0f3f1; color: var(--accent-dark); }
.nav-menu-panel a strong { font-size: 14px; }
.nav-menu-panel a span { color: var(--muted); font-size: 12px; font-weight: 400; }
.nav-menu-panel-compact { width: 230px; }
.nav-menu-panel-compact a { min-height: 46px; }

.landing-pager {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: 18px;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}
.landing-pager a { position: relative; width: 30px; height: 18px; display: grid; place-items: center; color: var(--muted); text-decoration: none; }
.landing-pager a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #aab3ad; transition: width 180ms ease, height 180ms ease, background-color 180ms ease; }
.landing-pager a span { position: absolute; right: 30px; padding: 4px 7px; border-radius: 4px; background: #17201b; color: #fff; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(5px); transition: opacity 150ms ease, transform 150ms ease; }
.landing-pager a:hover span,
.landing-pager a:focus-visible span { opacity: 1; transform: translateX(0); }
.landing-pager a.active::after { width: 8px; height: 8px; background: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin-inline: 0;
  padding: clamp(42px, 6vh, 66px) clamp(20px, 4vw, 64px) 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background-color: #17251d;
  background-image: url("assets/hirely-workplace-real-tim-douglas.jpg");
  background-position: 58% center;
  background-size: cover;
  color: #f7f6f0;
}
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(10, 22, 15, .58); }

.hero-main {
  width: min(1380px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  padding: 0 clamp(0px, 2vw, 32px) clamp(42px, 6vh, 70px);
}

.hero-copy {
  width: 100%;
  max-width: 650px;
}

.hero .eyebrow { color: #d8dfda; }

.hero-copy h1 {
  max-width: 720px;
  margin: 13px 0 20px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-title-continuation { display: inline; }

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #e1e6e2;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.demo-note,
.privacy-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero .demo-note { color: #ced7d1; }
.hero .button-primary { border-color: #f1f4ef; background: #f1f4ef; color: #173b29; }
.hero .button-primary:hover { background: #fff; }
.hero .button-secondary { border-color: rgba(255,255,255,.58); background: rgba(18,35,25,.38); color: #fff; backdrop-filter: blur(10px); }
.hero .button-secondary:hover { border-color: #fff; color: #fff; }

.hero-product {
  width: min(690px, 100%);
  justify-self: end;
  min-height: 530px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cfd6d1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(30, 49, 39, .13);
  transform: translateZ(0);
  transition: transform 420ms cubic-bezier(.2,.75,.25,1), box-shadow 420ms ease;
}
.hero-product:hover { transform: translateY(-5px); box-shadow: 0 34px 82px rgba(30, 49, 39, .16); }

.hero-product-nav {
  padding: 20px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-right: 1px solid #e0e4e1;
  background: #f7f8f7;
}
.hero-product-nav > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; color: #68746d; }
.hero-product-nav > span.active { background: #e4ece7; color: #28543d; }
.hero-product-nav svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hero-product-workspace { min-width: 0; }

.hero-product-bar {
  min-height: 66px;
  padding: 12px 16px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e4e1;
  background: #fafbfa;
}

.hero-product-bar div,
.hero-company-row > div { min-width: 0; }
.hero-product-bar strong,
.hero-product-bar span,
.hero-company-row strong,
.hero-company-row span { display: block; }
.hero-product-kicker { color: #657169; font-size: 11px; font-weight: 650; }
.hero-product-bar strong { margin-top: 1px; font-size: 15px; }
.hero-product-count { color: #667269; font-size: 12px; font-weight: 650; }

.hero-job-preview { padding: clamp(22px, 3vw, 34px); }
.hero-company-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.hero-company-row strong { font-size: 15px; }
.hero-company-row div span { margin-top: 2px; color: #637068; font-size: 12px; }
.hero-company-row div span b { color: #2f6f4e; }
.hero-fit {
  padding: 5px 8px;
  border: 1px solid #b9c9bf;
  border-radius: 3px;
  color: #28543d;
  font-size: 11px;
  font-weight: 700;
}
.hero-job-heading { padding: 30px 0 22px; }
.hero-job-heading p { margin: 0 0 5px; color: #657169; font-size: 13px; font-weight: 600; }
.hero-job-heading h2 { margin: 0; font-size: 40px; font-weight: 650; line-height: 1.12; }
.hero-job-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid #dde2de;
}
.hero-job-facts > div { min-width: 0; padding: 14px 14px 14px 0; }
.hero-job-facts dt { color: #69756d; font-size: 11px; }
.hero-job-facts dd { margin: 3px 0 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.hero-match-reasons { padding: 19px 0 20px; }
.hero-match-reasons p { margin: 0 0 9px; font-size: 12px; font-weight: 700; }
.hero-match-reasons ul { margin: 0; padding: 0; display: grid; gap: 6px; list-style: none; color: #4e5b53; font-size: 13px; }
.hero-match-reasons li { display: flex; align-items: center; gap: 8px; }
.hero-match-reasons li span { color: #2f6f4e; font-weight: 800; }
.hero-preview-action {
  width: 100%;
  min-height: 46px;
  padding: 11px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid #d9dfdb;
  background: transparent;
  color: #244f38;
  font-weight: 700;
  text-align: left;
}
.hero-preview-action span:last-child { transition: transform 180ms ease; }
.hero-preview-action:hover { color: #173d2a; }
.hero-preview-action:hover span:last-child { transform: translateX(4px); }

.hero-value-rail {
  width: calc(100% + clamp(40px, 8vw, 128px));
  margin-left: calc(clamp(20px, 4vw, 64px) * -1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(60, 73, 65, .2);
  background: rgba(12, 26, 17, .78);
  backdrop-filter: blur(14px);
}

.hero-value-rail > div {
  min-width: 0;
  padding: 15px clamp(20px, 3vw, 44px) 16px;
  border-right: 1px solid rgba(60, 73, 65, .18);
}

.hero-value-rail > div:last-child { border-right: 0; }
.hero-value-rail strong,
.hero-value-rail span { display: block; }
.hero-value-rail strong { color: #fff; font-size: 14px; font-weight: 750; }
.hero-value-rail span { margin-top: 2px; color: #cbd5cf; font-size: 12px; }

.preview-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.preview-head {
  min-height: 82px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.company-logo,
.result-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.preview-head p { margin: 0; font-weight: 750; }
.preview-head span:not(.fit-label) { color: var(--muted); font-size: 13px; }

.fit-label,
.status-label {
  width: fit-content;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 750;
}

.source-label {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
}

.source-native {
  border-color: #9ec8b3;
  background: #e3f2eb;
  color: #174c37;
}

.source-external {
  border-color: #c6ccc8;
  background: #f0f2f1;
  color: #4e5953;
}

.preview-body { padding: clamp(22px, 4vw, 34px); }
.preview-body h2 { margin: 7px 0 12px; font-size: 38px; line-height: 1.08; }
.preview-body > p:not(.eyebrow) { margin: 0; color: var(--muted); }

.reason-box {
  margin-top: 24px;
  border-left: 3px solid var(--accent);
  background: #f3f7f4;
  padding: 16px 18px;
}

.reason-box ul,
.detail-reasons,
.trust-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.reason-box li,
.detail-reasons li { margin-top: 6px; color: #46534d; }

.audience-section {
  padding-block: clamp(70px, 9vh, 110px);
  display: grid;
  align-items: center;
  background: #cfc8b9;
}
.audience-layout { display: grid; gap: clamp(40px, 7vh, 72px); }
.audience-intro { max-width: 720px; }
.audience-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.audience-path { min-height: 330px; padding: clamp(30px, 4vw, 50px); display: grid; grid-template-columns: 54px minmax(0, 1fr); align-content: center; gap: 28px 18px; border: 1px solid rgba(59, 70, 63, .23); border-radius: 8px; box-shadow: 0 24px 60px rgba(40, 39, 31, .12); transition: transform 240ms cubic-bezier(.2,.75,.25,1), box-shadow 240ms ease; }
.audience-path:hover { transform: translateY(-5px); box-shadow: 0 30px 72px rgba(40, 39, 31, .16); }
.path-number { color: var(--accent); font-size: 13px; font-weight: 750; }
.audience-path > div p { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.audience-path h3 { max-width: 440px; margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 36px; font-weight: 600; line-height: 1.15; }
.audience-path ul { grid-column: 2; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 18px; list-style: none; color: #526058; font-size: 14px; }
.audience-path li::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 800; }
.audience-path button { grid-column: 2; width: fit-content; min-height: 46px; padding: 0; display: flex; align-items: center; gap: 20px; border: 0; background: transparent; color: var(--accent-dark); font-weight: 750; text-align: left; }
.audience-path button span:last-child { transition: transform 180ms ease; }
.audience-path button:hover span:last-child { transform: translateX(5px); }
.audience-worker { background: rgba(248, 248, 243, .92); }
.audience-employer { background: rgba(231, 236, 232, .94); }

.principles {
  padding-block: clamp(70px, 10vh, 120px);
  display: grid;
  align-items: center;
  border-block: 1px solid #33423a;
  background: #1c2822;
  color: #f7f9f7;
}
.trust-layout { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(520px, 1.12fr); align-items: center; gap: clamp(60px, 9vw, 130px); }
.trust-intro .eyebrow { color: #a9c9bc; }
.trust-intro h2 { color: #fff; }
.trust-intro > p:not(.eyebrow) { color: #c8d1cc; }
.inline-link { min-height: 44px; margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; color: #dce8e1; font-weight: 700; text-decoration: none; }
.inline-link span { transition: transform 180ms ease; }
.inline-link:hover span { transform: translateX(5px); }
.principles-grid { border-top: 1px solid rgba(255, 255, 255, .19); }
.principles article { min-height: 132px; padding: 22px 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-content: center; gap: 4px 18px; border-bottom: 1px solid rgba(255, 255, 255, .19); }
.principle-number { grid-row: span 2; color: #8fb3a2; font-size: 12px; font-weight: 750; }
.principles h3 { margin: 0; color: #fff; font-size: 21px; line-height: 1.25; }
.principles article p { margin: 5px 0 0; color: #c8d1cc; }

.how { padding-block: clamp(70px, 10vh, 120px); display: grid; align-items: center; background: #dce4de; }
.how-layout { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr); align-items: center; gap: clamp(60px, 9vw, 130px); }
.section-intro { max-width: 670px; }
.section-intro h2 {
  margin: 10px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
}
.section-intro > p:not(.eyebrow) { color: var(--muted); }

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.steps li {
  min-height: 132px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.steps > li > span { color: var(--accent); font-size: 12px; font-weight: 750; }
.steps h3 { margin: 0 0 5px; font-size: 22px; }
.steps p { max-width: 720px; margin: 0; color: var(--muted); }

.role-section {
  padding-block: clamp(76px, 10vw, 124px);
  display: grid;
  align-items: center;
  background: #bfcac3;
}

.role-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.role-options { display: grid; gap: 12px; }
.role-option {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(250, 250, 247, .86);
  color: var(--ink);
  padding: clamp(22px, 4vw, 30px);
  display: grid;
  gap: 8px;
  text-align: left;
  transition: border-color 180ms ease, transform 220ms cubic-bezier(.2,.75,.25,1), background-color 180ms ease, box-shadow 180ms ease;
}
.role-option:hover { border-color: #8ead9c; background: #fff; box-shadow: 0 14px 36px rgba(30, 49, 39, .09); transform: translateY(-3px); }
.role-kicker { color: var(--accent); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.07em; }
.role-option strong { font-size: 25px; }
.role-description { color: var(--muted); font-weight: 400; }
.role-link { margin-top: 12px; color: var(--accent-dark); font-weight: 750; }
.role-link > span:last-child { display: inline-block; transition: transform 180ms ease; }
.role-option:hover .role-link > span:last-child { transform: translateX(5px); }

.site-footer {
  width: 100%;
  background: #101512;
  color: #f4f6f3;
  border-top: 1px solid rgba(255, 255, 255, .1);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.footer-inner { padding-block: clamp(48px, 7vw, 82px) 28px; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}
.footer-intro { max-width: 390px; }
.footer-logo-link { display: inline-block; width: min(180px, 55vw); line-height: 0; }
.footer-logo { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.footer-statement { margin: 28px 0 0; color: #fff; font-family: var(--font-brand); font-size: 46px; font-weight: 750; line-height: 1.06; letter-spacing: 0; }
.footer-intro > .footer-description { margin: 18px 0 0; color: #aebbb3; font-size: 15px; line-height: 1.65; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.footer-link-group { display: grid; align-content: start; gap: 12px; }
.footer-link-group h2 { margin: 0 0 6px; color: #fff; font-size: 14px; line-height: 1.3; }
.footer-link-group a { color: #bfcac3; font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-link-group a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-wordmark {
  margin-top: clamp(48px, 7vw, 84px);
  color: #20c77a;
  font-family: var(--font-brand);
  font-size: 104px;
  font-weight: 800;
  line-height: .86;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.footer-bottom {
  margin-top: clamp(42px, 6vw, 68px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer .footer-bottom p { margin: 0; color: #98a89f; font-size: 12px; }
.footer-bottom a { color: #d8e0db; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-copyright { white-space: nowrap; }

.onboarding {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 70px);
  display: grid;
  place-items: center;
}

.onboarding-card {
  width: min(680px, 100%);
  min-height: min(640px, calc(100dvh - 40px));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.back-button,
.text-button,
.brand-button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 0;
  font-weight: 700;
}

.onboarding-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.onboarding-step-count { color: var(--muted); font-size: 13px; font-weight: 750; }
.onboarding-progress { width: 100%; height: 4px; margin-top: 20px; overflow: hidden; border-radius: 2px; background: var(--line); }
.onboarding-progress span { display: block; width: 16.666%; height: 100%; border-radius: inherit; background: var(--accent); transition: width 240ms ease; }
.onboarding-card form { flex: 1; display: flex; flex-direction: column; }
.onboarding-intro { max-width: 590px; margin: clamp(48px, 9vh, 82px) 0 28px; }
.onboarding-intro h1 { margin: 8px 0 10px; font-size: 46px; line-height: 1.08; }
.onboarding-intro > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.onboarding-field { min-height: 126px; }
.onboarding-field label:not(.onboarding-choice) { display: grid; gap: 8px; color: #39463f; font-size: 14px; font-weight: 700; }
.onboarding-field input[type="text"],
.onboarding-field input[type="number"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 15px;
  font-size: 17px;
}
.onboarding-field input:focus { border-color: var(--accent); outline: 3px solid rgba(21, 107, 79, 0.13); }
.registry-result {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(21, 107, 79, 0.24);
  border-radius: 8px;
  background: var(--accent-soft);
  display: grid;
  gap: 3px;
}
.registry-result span { color: var(--accent-dark); font-size: 12px; font-weight: 750; }
.registry-result strong { color: var(--ink); font-size: 16px; }
.onboarding-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.onboarding-choice { position: relative; min-height: 58px; }
.onboarding-choice input { position: absolute; opacity: 0; pointer-events: none; }
.onboarding-choice span {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.onboarding-choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-dark); }
.onboarding-choice input:focus-visible + span { outline: 3px solid rgba(21, 107, 79, 0.18); outline-offset: 2px; }
.onboarding-continue { margin-top: auto; min-height: 52px; }
.onboarding-card .form-error { margin-top: 12px; }
.onboarding-card .privacy-note { margin: 14px auto 0; color: var(--muted); font-size: 12px; }

.form-grid,
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid .wide,
.profile-form .wide { grid-column: 1 / -1; }

.form-grid label,
.profile-form label {
  display: grid;
  gap: 7px;
  color: #39463f;
  font-size: 14px;
  font-weight: 700;
}

.form-grid input,
.profile-form input,
.profile-form textarea,
.profile-form select,
.job-form-grid input,
.job-form-grid textarea,
.job-form-grid select,
.search-field input,
.composer-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
}
.profile-form input[readonly] {
  background: #f3f5f4;
  color: #526059;
  cursor: not-allowed;
}

.profile-form textarea { min-height: 110px; resize: vertical; }
.job-form-grid textarea { min-height: 110px; resize: vertical; }
.form-grid input:focus,
.profile-form input:focus,
.profile-form textarea:focus,
.profile-form select:focus,
.job-form-grid input:focus,
.job-form-grid textarea:focus,
.job-form-grid select:focus,
.search-field input:focus,
.composer-form input:focus { border-color: var(--accent); outline: 3px solid rgba(21, 107, 79, 0.13); }

.file-field {
  position: relative;
  margin: 18px 0;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  background: #fafaf7;
  cursor: pointer;
}
.file-field span:first-child { display: grid; gap: 3px; }
.file-field small { color: var(--muted); font-weight: 400; }
.file-field input { position: absolute; opacity: 0; pointer-events: none; }
.file-name { color: var(--accent-dark); font-size: 13px; font-weight: 750; }
.form-error { min-height: 24px; margin-bottom: 8px; color: var(--danger); font-size: 14px; font-weight: 650; }
.privacy-note { text-align: center; margin-inline: auto; }

.app {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  background: #f3f5f7;
  overflow-x: clip;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
}
.mobile-nav-toggle,
.mobile-nav-backdrop { display: none; }

.sidebar-head {
  padding: 0 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand-button { color: var(--ink); }
.app-nav { display: grid; gap: 5px; }
.nav-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-weight: 600;
}
.nav-button svg { width: 20px; height: 20px; stroke: currentColor; }
.nav-button:hover { background: #eef1f3; color: var(--ink); }
.nav-button.active { background: var(--accent-soft); color: var(--accent-dark); }
.sidebar-foot { margin-top: auto; padding: 18px 10px 4px; border-top: 1px solid var(--line); }
.sidebar-foot p { margin: 0 0 7px; color: var(--muted); font-size: 12px; }

.app-workspace { width: 100%; min-width: 0; padding: 28px clamp(18px, 4vw, 48px) 32px; }
.app-workspace:has(#discover-view.active) {
  min-height: 100vh;
  min-height: 100dvh;
}
.app-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.app-header h1 { margin: 3px 0 0; font-size: 38px; font-weight: 650; line-height: 1.1; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-chip { min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); padding: 3px; text-align: left; }
.profile-chip:hover { background: var(--surface); }
.profile-chip:focus-visible { outline: 3px solid rgba(21, 107, 79, .18); outline-offset: 2px; }
.profile-chip div { display: grid; }
.profile-chip span:not(.avatar) { color: var(--muted); font-size: 12px; }
.nav-label-mobile { display: none; }
.schedule-trigger {
  position: relative;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 6px 11px 6px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
}
.schedule-trigger:hover { border-color: var(--steel-dark); background: var(--steel-soft); }
.schedule-trigger svg { width: 21px; height: 21px; flex: 0 0 auto; stroke: currentColor; }
.schedule-trigger > span { display: grid; line-height: 1.15; }
.schedule-trigger small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.schedule-trigger strong { margin-top: 2px; font-size: 12px; white-space: nowrap; }
.schedule-trigger i { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; display: none; border: 1px solid #fff; border-radius: 50%; background: var(--danger); }
.schedule-trigger i.show { display: block; }
.avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: #eef2ef;
  color: #587066;
  font-size: 13px;
  font-weight: 800;
}
.avatar-large { width: 82px; height: 82px; min-width: 82px; flex-basis: 82px; font-size: 20px; }
.avatar-visual {
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.avatar-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.avatar-visual svg { width: 48%; height: 48%; stroke: currentColor; }
.avatar-visual.has-image { color: transparent; }
.company-logo.avatar-visual svg { width: 52%; height: 52%; }
.company-logo.avatar-visual > img { object-fit: contain; }

.app-view { display: none; }
.app-view.active { display: block; }
.app-view.view-enter {
  animation: view-enter 220ms ease both;
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.discover-toolbar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.search-field { width: min(470px, 100%); }
.filter-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.filter-button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}
.filter-button.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.filter-button.filter-all { border-color: var(--ink); color: var(--ink); }
.filter-status-bar { min-height: 38px; margin: -5px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.active-filter-chips { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.active-filter-chip { border: 1px solid #bfd4ca; border-radius: 5px; background: var(--accent-soft); color: var(--accent-dark); padding: 6px 8px; font-size: 12px; font-weight: 700; }
.active-filter-chip span { margin-left: 4px; }
.filter-status-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.filter-status-actions strong { color: var(--muted); font-size: 13px; }

.swipe-layout {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(300px, 370px);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.swipe-stage {
  min-width: 0;
  display: grid;
  justify-items: center;
}

.swipe-deck {
  position: relative;
  width: min(680px, 100%);
  height: clamp(520px, calc(100dvh - 300px), 720px);
  min-height: 0;
  perspective: 1200px;
}

.swipe-card,
.swipe-empty {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #1a2923;
  box-shadow: 0 28px 72px rgba(14, 29, 23, 0.25);
}

.swipe-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 112px minmax(0, 1fr);
  cursor: grab;
  touch-action: none;
  user-select: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  transition: transform 250ms cubic-bezier(.2, .72, .25, 1), opacity 210ms ease, box-shadow 150ms ease;
}

.swipe-card::before,
.swipe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.swipe-card::before {
  z-index: 0;
  background-color: #263a31;
  background-image: var(--swipe-image, linear-gradient(145deg, #526a5f, #15251f)), linear-gradient(145deg, #526a5f, #15251f);
  background-position: center;
  background-size: cover;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}
.swipe-card::after {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(9,18,14,.08) 0%, rgba(9,18,14,.05) 32%, rgba(9,18,14,.38) 54%, rgba(9,18,14,.95) 100%);
}
.swipe-card:hover::before { transform: scale(1.018); }
.swipe-card.image-loading::before { background-image: linear-gradient(125deg, #2c4137, #53695f 48%, #263b32); }
.swipe-card.image-error::before { background-image: linear-gradient(145deg, #53695f, #172820); }
.swipe-card.visual-logo::before {
  background-color: #edf2ef;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(58%, 340px) auto, cover;
}
.swipe-card.candidate-card::before { background-position: center 22%; }
.swipe-card-current { z-index: 2; }
.swipe-card-next {
  z-index: 0;
  pointer-events: none;
  opacity: .76;
  transform: translate3d(0, 12px, 0) scale(.97);
}
.swipe-card-next::after { background: linear-gradient(to bottom, rgba(9,18,14,.22), rgba(9,18,14,.9)); }
.swipe-deck.advancing .swipe-card-next { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.swipe-card-next-content {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 30px;
  left: 28px;
  display: grid;
  color: #fff;
}
.swipe-card-next-content small { color: rgba(255,255,255,.65); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.swipe-card-next-content strong { margin-top: 5px; font-family: inherit; font-size: 30px; font-weight: 650; line-height: 1.12; }
.swipe-card-next-content span { color: rgba(255,255,255,.75); }
.swipe-card:active { cursor: grabbing; }
.swipe-card.dragging { transition: none; box-shadow: 0 38px 88px rgba(10, 24, 18, 0.34); }
.swipe-card.swipe-left { transform: translate3d(-135%, 4%, 0) rotate(-14deg) !important; opacity: 0; }
.swipe-card.swipe-right { transform: translate3d(135%, 4%, 0) rotate(14deg) !important; opacity: 0; }
.swipe-card.swipe-up { transform: translate3d(0, -118%, 0) rotate(-2deg) scale(.94) !important; opacity: 0; }

.swipe-card-head {
  position: relative;
  z-index: 3;
  grid-row: 1;
  padding: clamp(22px, 4vw, 32px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.swipe-card-head .company-logo {
  width: 72px;
  height: 72px;
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.92);
  color: #15251f;
  font-size: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.swipe-card.candidate-card .company-logo.has-image > img { object-fit: cover; }
.swipe-card-head .candidate-swipe-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  flex: 0 0 72px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: #315043;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.swipe-card-head .candidate-swipe-avatar svg {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0;
  stroke: currentColor;
}
.swipe-card-head .candidate-swipe-avatar > img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.swipe-card.candidate-card .swipe-card-body {
  max-width: 580px;
}
.swipe-card.candidate-card .swipe-card-body h2 {
  -webkit-line-clamp: 1;
}
.candidate-decision-facts {
  flex-wrap: nowrap;
}
.candidate-decision-facts span {
  max-width: min(240px, 48%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swipe-card-head .status-label { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.9); color: var(--accent-dark); backdrop-filter: blur(10px); }
.swipe-card-labels { display: grid; justify-items: end; gap: 6px; }
.swipe-card-head .source-label { border-color: rgba(255,255,255,.35); box-shadow: 0 8px 20px rgba(0,0,0,.1); }

.swipe-card-body {
  position: relative;
  z-index: 3;
  grid-row: 2;
  align-self: end;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  padding: 20px clamp(24px, 5vw, 42px) 122px;
  color: #fff;
  min-width: 0;
}
.swipe-card-body .eyebrow { overflow: hidden; color: rgba(255,255,255,.68); text-overflow: ellipsis; white-space: nowrap; }
.swipe-card-body h2 {
  margin: 7px 0 9px;
  font-family: inherit;
  display: -webkit-box;
  overflow: hidden;
  font-size: 42px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.1;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-shadow: 0 3px 22px rgba(0,0,0,.28);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.swipe-card-subtitle { margin: 0; color: rgba(255,255,255,.78); }
.swipe-card-summary { max-width: 520px; margin: 18px 0 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.5; }
.decision-facts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.decision-facts span { border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: rgba(10,20,16,.35); color: #fff; padding: 6px 8px; font-size: 12px; font-weight: 700; backdrop-filter: blur(5px); }
.swipe-card-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.swipe-card-tags span { border: 1px solid rgba(255,255,255,.24); border-radius: 5px; padding: 7px 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; backdrop-filter: blur(10px); }
.swipe-card-more { margin: 15px 0 0; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 700; }

.swipe-stamp {
  position: absolute;
  z-index: 3;
  top: 34px;
  border: 3px solid currentColor;
  border-radius: 8px;
  padding: 7px 11px;
  background: rgba(255,255,255,.92);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}
.swipe-stamp-pass { right: 28px; color: var(--danger); transform: rotate(9deg); }
.swipe-stamp-like { left: 28px; color: var(--accent); transform: rotate(-9deg); }
.swipe-stamp-save { top: 28px; left: 50%; color: #885514; transform: translateX(-50%); }

.swipe-actions {
  position: relative;
  z-index: 6;
  margin-top: -94px;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 24px);
}

.swipe-action {
  min-width: 92px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  display: grid;
  justify-items: center;
  gap: 5px;
  font-weight: 700;
}
.swipe-action > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 9px;
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  font-size: 30px;
  transition: transform 150ms ease, border-color 150ms ease;
}
.swipe-action:hover > span { transform: translateY(-2px); }
.swipe-pass > span { color: var(--danger); }
.swipe-save > span { color: #8a571b; }
.swipe-like > span { color: var(--accent); }
.swipe-action:disabled { cursor: default; opacity: .45; }
.swipe-action:disabled > span { transform: none; }
.swipe-hint { max-width: 560px; margin: 54px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.undo-button {
  margin-top: 10px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--accent-dark);
  padding: 4px 1px;
  font-size: 13px;
  font-weight: 700;
}
.undo-button:disabled { cursor: default; border-color: transparent; color: var(--muted); opacity: .55; }

.swipe-context {
  position: sticky;
  top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 24px;
}
.swipe-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.swipe-progress span { color: var(--muted); font-size: 13px; }
.swipe-context h2 { margin: 24px 0 8px; font-size: 22px; }
.swipe-context p { margin: 0; color: var(--muted); }
.swipe-context .detail-reasons { margin-top: 12px; }
.swipe-context .context-check { margin-top: 22px; border-left: 3px solid var(--warm); background: var(--warm-soft); padding: 13px 14px; }
.swipe-context .context-check strong { display: block; margin-bottom: 4px; font-size: 13px; }
.swipe-context .context-check p { color: #70481c; font-size: 13px; }
.hard-conflict { margin-top: 18px; border-left: 3px solid var(--danger); background: #f8e9e7; padding: 12px 14px; color: #772c28; }
.hard-conflict p { margin: 4px 0 0; color: inherit; font-size: 13px; }
.response-note { margin-top: 15px !important; color: var(--muted) !important; font-size: 12px; }
.swipe-empty { display: grid; place-items: center; padding: 36px; color: var(--muted); text-align: center; }
.deck-finished { align-content: center; gap: 26px; border-color: var(--line-strong); background: var(--surface-strong); color: var(--ink); }
.deck-finished h2 { max-width: 470px; margin: 8px auto; font-family: inherit; font-size: 40px; font-weight: 650; line-height: 1.12; }
.deck-finished p:not(.eyebrow) { margin: 0; color: var(--muted); }
.deck-finished-actions { display: flex; justify-content: center; gap: 8px; }
.history-summary { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.history-summary div { padding: 14px 8px; display: grid; text-align: center; }
.history-summary div + div { border-left: 1px solid var(--line); }
.history-summary strong { font-size: 24px; }
.history-summary span { color: var(--muted); font-size: 11px; }

.detail-dialog,
.match-dialog {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 30px 90px rgba(10, 25, 19, .28);
}
.detail-dialog::backdrop,
.match-dialog::backdrop { background: rgba(10, 22, 17, .64); }
.detail-dialog { width: min(820px, calc(100% - 28px)); max-height: 92vh; overflow: auto; }
.detail-dialog-close-row { position: sticky; z-index: 5; top: 0; height: 0; display: flex; justify-content: flex-end; }
.dialog-close-button {
  width: 42px;
  height: 42px;
  margin: 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 7px;
  background: rgba(18,31,25,.72);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.detail-dialog-hero {
  min-height: 330px;
  padding: clamp(26px, 5vw, 46px);
  display: flex;
  align-items: flex-end;
  background-color: #253a31;
  background-image: linear-gradient(to bottom, rgba(9,18,14,.08), rgba(9,18,14,.9)), var(--swipe-image, linear-gradient(145deg, #526a5f, #15251f));
  background-position: center;
  background-size: cover;
  color: #fff;
}
.detail-dialog-hero.image-loading { background-image: linear-gradient(to bottom, rgba(9,18,14,.16), rgba(9,18,14,.9)), linear-gradient(125deg, #2c4137, #53695f 48%, #263b32); }
.detail-dialog-hero.image-error { background-image: linear-gradient(to bottom, rgba(9,18,14,.08), rgba(9,18,14,.9)), linear-gradient(145deg, #53695f, #172820); }
.detail-dialog-hero.visual-logo {
  background-color: #edf2ef;
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, min(52%, 340px) auto;
}
.detail-company-logo { width: 62px; height: 62px; margin-bottom: 14px; border-color: rgba(255,255,255,.34); background-color: #fff; color: var(--accent-dark); }
.detail-dialog-badges { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-dialog-badges .source-label,
.detail-dialog-badges .status-label { margin: 0; }
.detail-dialog-hero p { margin: 18px 0 2px; color: rgba(255,255,255,.75); font-weight: 750; }
.detail-dialog-hero > div { width: 100%; min-width: 0; }
.detail-dialog-hero h2 { max-width: 680px; margin: 0 0 5px; font-family: inherit; font-size: 44px; font-weight: 650; line-height: 1.12; overflow-wrap: anywhere; hyphens: auto; }
.detail-dialog-hero > div > span:last-child { color: rgba(255,255,255,.76); }
.detail-dialog-body { padding: clamp(24px, 5vw, 44px); display: grid; gap: 28px; }
.detail-dialog-body section { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.detail-dialog-body h3 { margin: 0 0 9px; font-size: 18px; }
.detail-dialog-body p { margin: 0; color: #46534d; overflow-wrap: anywhere; }
.external-summary-note { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.detail-dialog-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-dialog-tags span { border: 1px solid var(--line-strong); border-radius: 5px; padding: 7px 10px; color: #46534d; font-size: 13px; }
.detail-dialog-check { border: 0 !important; border-left: 3px solid var(--warm) !important; background: var(--warm-soft); padding: 15px 16px !important; }
.detail-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.candidate-cv-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.candidate-cv-heading p { margin-top: 4px; }

.match-dialog { width: min(540px, calc(100% - 28px)); }
.match-dialog-content { padding: clamp(28px, 6vw, 48px); text-align: center; }
.match-avatars { margin: 30px auto 26px; display: grid; grid-template-columns: 92px 48px 92px; align-items: center; justify-content: center; }
.match-avatar { width: 92px; height: 116px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--ink); color: #fff; font-size: 25px; font-weight: 800; box-shadow: 0 14px 30px rgba(21,37,31,.16); }
.match-avatar:last-child { background: var(--accent); }
.match-avatar.avatar-visual { background-color: #edf2ef; background-position: center; background-size: cover; color: #587066; }
.match-avatar.avatar-visual.has-image { color: transparent; }
.match-connection { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface-strong); color: var(--accent); font-weight: 850; }
.match-dialog h2 { margin: 0 0 10px; font-family: inherit; font-size: 38px; font-weight: 650; line-height: 1.12; }
.match-dialog-content > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.match-dialog-actions { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.discover-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(430px, 1.18fr);
  gap: 16px;
  align-items: start;
}
.result-list { display: grid; gap: 9px; }
.result-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 15px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
}
.result-card:hover { border-color: var(--line-strong); }
.result-card.active { border-color: var(--accent); box-shadow: inset 3px 0 var(--accent); }
.result-main { min-width: 0; display: grid; gap: 3px; }
.result-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.result-title { display: block; font-size: 18px; line-height: 1.2; }
.result-party { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.result-meta { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.result-meta span { color: #4a5751; font-size: 12px; }
.result-meta span + span::before { content: "·"; margin-right: 5px; color: var(--line-strong); }

.detail-panel {
  position: sticky;
  top: 24px;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}
.detail-cover {
  min-height: 130px;
  padding: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: #fff;
}
.detail-cover .company-logo { width: 64px; height: 64px; border-color: rgba(255,255,255,.2); background: #f0eee7; color: var(--ink); font-size: 20px; }
.detail-cover .status-label { background: #dcebe4; color: var(--accent-dark); }
.detail-content { padding: clamp(22px, 4vw, 34px); }
.detail-content h2 { margin: 7px 0 8px; font-size: 40px; line-height: 1.08; }
.detail-subtitle { margin: 0; color: var(--muted); }
.detail-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags span { border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; color: #46534d; font-size: 13px; }
.detail-section { margin-top: 28px; }
.detail-section h3 { margin: 0 0 8px; font-size: 17px; }
.detail-section p { margin: 0; color: #46534d; }
.detail-reasons { padding-left: 21px; }
.missing-reason { color: #84541e !important; }
.detail-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.empty-state { border: 1px dashed var(--line-strong); border-radius: 6px; padding: 34px; color: var(--muted); text-align: center; }

.view-intro { margin-bottom: 22px; }
.view-intro h2 { margin: 0 0 5px; font-size: 32px; }
.view-intro p { margin: 0; color: var(--muted); }
.saved-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.saved-compare-bar { margin-bottom: 14px; border: 1px solid var(--line); border-left: 4px solid var(--steel-dark); border-radius: 7px; background: var(--surface-strong); padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.saved-compare-bar > div:first-child { display: grid; gap: 2px; }
.saved-compare-bar strong { font-size: 14px; }
.saved-compare-bar span { color: var(--muted); font-size: 11px; }
.saved-compare-bar > div:last-child { display: flex; align-items: center; gap: 7px; }
.saved-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-strong); padding: 20px; display: grid; align-content: start; }
.saved-card.urgent { border-top: 3px solid var(--warm); padding-top: 18px; }
.saved-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.saved-deadline { color: var(--muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.saved-deadline.urgent { color: #855618; }
.saved-card h3 { margin: 8px 0 6px; font-size: 22px; }
.saved-party { margin: 0; color: var(--muted); }
.saved-facts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.saved-facts span { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: 6px 8px; color: #46534d; font-size: 11px; font-weight: 700; }
.saved-match-reasons { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 15px; }
.saved-match-reasons strong { font-size: 13px; }
.saved-match-reasons ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.saved-primary-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.saved-primary-actions .button { width: 100%; }
.saved-card-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved-card-foot > span { color: var(--muted); font-size: 11px; }
.saved-compare-toggle { border: 0; background: transparent; color: var(--muted); padding: 4px 0; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; }
.saved-compare-toggle > span { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; font-size: 11px; }
.saved-compare-toggle.active { color: var(--accent-dark); }
.saved-compare-toggle.active > span { border-color: var(--accent); background: var(--accent); color: #fff; }
.saved-reminder { min-width: 0; border: 0; background: transparent; color: var(--muted); padding: 4px 0; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 750; text-align: left; }
.saved-reminder svg { width: 17px; height: 17px; flex: 0 0 auto; stroke: currentColor; }
.saved-reminder.active { color: var(--accent-dark); }
.saved-response-time { margin: 10px 0 0; color: var(--muted); font-size: 11px; }

.saved-compare-dialog { width: min(1040px, calc(100% - 28px)); max-height: 94vh; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); padding: 0; box-shadow: 0 24px 70px rgba(10,25,19,.2); }
.saved-compare-dialog::backdrop { background: rgba(11,24,19,.62); }
.saved-compare-head { min-height: 82px; padding: 15px 20px; display: flex; align-items: start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.saved-compare-head h2 { margin: 1px 0 2px; font-size: 25px; }
.saved-compare-head p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.saved-comparison-scroll { max-height: calc(94vh - 82px); overflow: auto; overscroll-behavior: contain; }
.comparison-grid { --compare-columns: 2; min-width: 100%; width: max-content; display: grid; grid-template-columns: 128px repeat(var(--compare-columns), minmax(230px, 1fr)); }
.comparison-row-label,
.comparison-cell,
.comparison-item-head { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px; }
.comparison-row-label { position: sticky; z-index: 2; left: 0; background: #f5f7f5; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.comparison-corner { z-index: 4; top: 0; }
.comparison-item-head { position: sticky; z-index: 3; top: 0; min-height: 138px; display: grid; justify-items: start; align-content: start; gap: 3px; background: #fff; }
.comparison-avatar { width: 42px; height: 42px; margin-bottom: 6px; border-radius: 5px; }
.interest-comparison-avatar { border-radius: 50%; }
.comparison-item-head strong { max-width: 220px; font-size: 17px; line-height: 1.18; }
.comparison-item-head span { color: var(--ink); font-size: 12px; font-weight: 700; }
.comparison-item-head small { color: var(--muted); }
.comparison-cell { min-height: 54px; color: #3f4b45; font-size: 13px; line-height: 1.4; }
.comparison-cell strong, .comparison-cell small { display: block; }
.comparison-cell strong { color: var(--ink); font-size: 13px; }
.comparison-cell small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.comparison-preference {
  width: 100%;
  min-height: 44px;
  margin-top: 11px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-top: 1px solid #dde1dd;
  background: transparent;
  color: #526058;
  font-size: 11px;
  font-weight: 750;
  text-align: left;
}
.comparison-preference span { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #aeb9b2; border-radius: 4px; background: #fff; color: #fff; }
.comparison-preference:hover { color: #204f38; }
.comparison-preference.active { color: #204f38; }
.comparison-preference.active span { border-color: #2f6f4e; background: #2f6f4e; }
.comparison-preference b { min-width: 0; overflow-wrap: anywhere; font-size: inherit; font-weight: 750; }
.comparison-preference.active b { font-weight: 850; }
.comparison-reason { max-width: 230px; margin: 0; }
.comparison-cell ul { margin: 0; padding-left: 17px; }
.comparison-urgent { color: #855618; font-weight: 800; }
.comparison-actions { display: grid; gap: 7px; }
.comparison-actions .button { width: 100%; }
.comparison-recommendation {
  position: sticky;
  z-index: 5;
  bottom: 0;
  min-width: 100%;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  background: #1c2822;
  color: #f5f5ef;
  box-shadow: 0 -12px 30px rgba(17, 30, 22, .16);
}
.comparison-recommendation .eyebrow { color: #9fb1a7; }
.comparison-recommendation h3 { margin: 3px 0; color: #fff; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 21px; font-weight: 600; }
.comparison-recommendation p:last-child { margin: 0; color: #becbc4; font-size: 12px; }
.comparison-score-list { display: grid; gap: 5px; }
.comparison-score-list span { min-height: 34px; padding: 6px 9px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; color: #cad3ce; font-size: 11px; }
.comparison-score-list span.leading { border-color: #d9c8a9; background: rgba(217,200,169,.12); color: #fff; }
.comparison-score-list strong { color: #fff; font-size: 15px; }

.schedule-page-head { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.schedule-page-head h2 { margin: 3px 0 4px; font-size: 32px; }
.schedule-page-head p:not(.eyebrow) { margin: 0; color: var(--muted); }
.schedule-page-actions { display: flex; gap: 8px; }
.schedule-summary { margin-bottom: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.schedule-summary article { min-height: 86px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-strong); padding: 15px 17px; display: grid; align-content: space-between; }
.schedule-summary span { color: var(--muted); font-size: 12px; }
.schedule-summary strong { font-size: 25px; line-height: 1; }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; align-items: start; }
.schedule-board, .schedule-integrations { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.schedule-board { min-width: 0; padding: 22px; }
.schedule-board-head { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.schedule-board-head h3 { margin: 3px 0 0; font-size: 21px; }
.schedule-week { display: grid; grid-template-columns: repeat(7, minmax(66px, 1fr)); gap: 5px; overflow-x: auto; padding-bottom: 5px; }
.schedule-day { min-width: 66px; min-height: 92px; border: 1px solid var(--line); border-radius: 6px; background: #f7f9f7; padding: 9px; display: grid; justify-items: center; align-content: space-between; }
.schedule-day.today { border-color: var(--steel-dark); background: var(--steel-soft); }
.schedule-day > span { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.schedule-day > strong { font-size: 22px; }
.schedule-day > small { color: var(--muted); font-size: 10px; }
.schedule-list { margin-top: 20px; display: grid; gap: 8px; }
.schedule-shift-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 14px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.schedule-shift-time { align-self: stretch; border-right: 1px solid var(--line); display: grid; align-content: center; }
.schedule-shift-time strong { font-size: 16px; }
.schedule-shift-time span { color: var(--muted); font-size: 11px; }
.schedule-shift-main { min-width: 0; }
.schedule-shift-title { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.schedule-shift-title > div { min-width: 0; display: grid; }
.schedule-shift-title > div > span, .schedule-shift-main p { color: var(--muted); font-size: 12px; }
.schedule-shift-main p { margin: 5px 0 0; }
.shift-status { flex: 0 0 auto; border-radius: 4px; background: var(--warm-soft); color: #755023; padding: 4px 6px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.shift-status.confirmed { background: var(--accent-soft); color: var(--accent-dark); }
.shift-status.absence { background: #f4e1df; color: var(--danger); }
.schedule-shift-actions { display: flex; align-items: center; gap: 7px; }
.schedule-shift-actions .button { min-height: 36px; padding: 7px 10px; font-size: 11px; }
.schedule-integrations { padding: 20px; display: grid; gap: 10px; }
.schedule-integrations h3 { margin: 3px 0 5px; font-size: 21px; }
.schedule-integrations > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.integration-card { border-top: 1px solid var(--line); padding-top: 13px; display: grid; gap: 10px; }
.integration-card > div { display: grid; }
.integration-card span, .integration-coming span { color: var(--muted); font-size: 11px; }
.integration-card .button { width: 100%; min-height: 37px; padding: 7px; font-size: 11px; }
.integration-coming { border-left: 3px solid var(--steel); background: var(--steel-soft); padding: 12px; display: grid; }
.schedule-empty { border: 1px dashed var(--line-strong); border-radius: 7px; padding: 28px 18px; color: var(--muted); text-align: center; }
.schedule-empty p { margin: 5px 0 0; font-size: 13px; }

.schedule-drawer {
  width: min(430px, 100%);
  height: 100vh;
  max-height: 100vh;
  margin: 0 0 0 auto;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-strong);
  padding: 0;
  color: var(--ink);
}
.schedule-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: drawer-in 200ms ease both; }
.schedule-drawer::backdrop { background: rgba(11,24,19,.48); }
@keyframes drawer-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.schedule-drawer-head, .schedule-drawer-actions { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.schedule-drawer-head h2 { margin: 3px 0 0; font-size: 22px; }
.schedule-quick-content { min-height: 0; overflow-y: auto; padding: 10px 20px; }
.quick-shift { border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
.quick-shift.changed { box-shadow: inset 3px 0 var(--steel-dark); padding-left: 10px; }
.quick-shift-date { width: 48px; min-height: 52px; border-radius: 6px; background: var(--steel-soft); display: grid; place-items: center; align-content: center; }
.quick-shift-date strong { color: var(--steel-dark); font-size: 9px; text-transform: uppercase; }
.quick-shift-date span { font-size: 20px; font-weight: 800; }
.quick-shift-copy { min-width: 0; display: grid; align-content: center; }
.quick-shift-copy span, .quick-shift-copy small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-drawer-actions { border-top: 1px solid var(--line); border-bottom: 0; }
.schedule-drawer-actions .button { flex: 1; min-height: 42px; padding: 8px; font-size: 12px; }
.shift-dialog { width: min(620px, calc(100% - 28px)); }
.workflow-dialog { width: min(680px, calc(100% - 28px)); }
.workflow-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.workflow-dialog-head h2 { margin: 2px 0 5px; }
.workflow-dialog-head p:last-child { margin: 0; color: var(--muted); }
.workflow-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.workflow-form-grid label { display: grid; gap: 7px; color: #35433c; font-size: 13px; font-weight: 750; }
.workflow-form-grid .wide { grid-column: 1 / -1; }
.workflow-form-grid input,
.workflow-form-grid select,
.workflow-form-grid textarea { width: 100%; }
.workflow-form-grid textarea { min-height: 88px; resize: vertical; }
.workflow-note { margin: 18px 0 0; border-left: 3px solid var(--warm); background: var(--warm-soft); padding: 12px 14px; color: #70481c; font-size: 13px; }
.contract-form-section { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.contract-form-section:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.contract-section-title { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.contract-section-title > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.contract-section-title > div { display: grid; }
.contract-section-title small { color: var(--muted); font-size: 11px; font-weight: 500; }
.contract-confirm { margin-top: 18px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9f8; padding: 13px; display: flex; align-items: start; gap: 10px; }
.contract-confirm input { width: 18px; min-height: 18px; margin-top: 2px; }
.contract-confirm span { display: grid; color: var(--ink); font-size: 13px; }
.contract-confirm small { color: var(--muted); font-size: 11px; font-weight: 500; }
.contract-review-dialog { width: min(760px, calc(100% - 28px)); }
.contract-review-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.contract-review-head h2 { margin: 3px 0; }
.contract-review-head p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.contract-review-status { margin: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contract-review-status small { color: var(--muted); }
#contract-review-content section { border-top: 1px solid var(--line); padding: 18px 0; }
#contract-review-content h3 { margin: 0 0 13px; font-size: 16px; }
#contract-review-content dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; }
#contract-review-content dl div { min-width: 0; }
#contract-review-content dl .wide { grid-column: 1 / -1; }
#contract-review-content dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
#contract-review-content dd { margin: 3px 0 0; color: var(--ink); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.contract-legal-note { margin: 0; border-left: 3px solid var(--steel-dark); background: var(--steel-soft); padding: 12px 14px; color: #4d5952; font-size: 12px; }
.meeting-provider-status { min-height: 58px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9f8; padding: 11px 12px; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.meeting-provider-status > div { display: grid; }
.meeting-provider-status small { color: var(--muted); font-size: 10px; font-weight: 500; }
.meeting-provider-status button { border: 0; background: transparent; color: var(--accent-dark); font-size: 11px; font-weight: 800; cursor: pointer; }
.meeting-provider-dot { width: 9px; height: 9px; border-radius: 50%; background: #a0aaa5; }
.meeting-provider-dot.prepared { background: var(--warm); }
.meeting-provider-dot.ready { background: var(--accent); }
.meeting-review-dialog { width: min(620px, calc(100% - 28px)); }
.meeting-review-time { margin: 22px 0; border-left: 4px solid var(--steel-dark); background: var(--steel-soft); padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.meeting-review-time span { text-transform: capitalize; }
.meeting-review-time strong { font-size: 20px; }
.meeting-review-facts { margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.meeting-review-facts .wide { grid-column: 1 / -1; }
.meeting-review-facts dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.meeting-review-facts dd { margin: 3px 0 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.meeting-review-facts a { color: var(--accent-dark); }
.auth-dialog { width: min(520px, calc(100% - 28px)); padding: 0; overflow: hidden; }
.auth-dialog-head { padding: 26px 26px 18px; display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.auth-dialog-head h2 { margin: 3px 0 5px; font-size: 30px; }
.auth-dialog-head p:last-child { margin: 0; color: var(--muted); }
.auth-role-choice { margin: 0 26px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auth-role-choice button { min-width: 0; min-height: 66px; display: grid; align-content: center; gap: 3px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface-strong); padding: 10px 12px; color: var(--ink); text-align: left; }
.auth-role-choice button:hover { border-color: var(--steel-dark); background: var(--steel-soft); }
.auth-role-choice button.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.auth-role-choice span { font-size: 13px; font-weight: 850; }
.auth-role-choice small { color: var(--muted); font-size: 11px; font-weight: 600; }
.auth-role-choice button.active small { color: var(--accent-dark); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); background: var(--surface); }
.auth-tab { min-height: 50px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 800; }
.auth-tab.active { border-bottom-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.auth-form { padding: 24px 26px 12px; display: grid; gap: 16px; }
.google-auth-button { position: relative; min-height: 48px; width: 100%; align-items: center; justify-content: center; border: 1px solid #c4c7c5; border-radius: 6px; background: #fff; padding: 0 46px; color: #202124; font: 600 14px/1 Arial, sans-serif; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.google-auth-button:not(.hidden) { display: flex; }
.google-auth-button img { position: absolute; left: 16px; width: 20px; height: 20px; object-fit: contain; }
.google-auth-button:hover { border-color: #9aa09d; background: #f8f9fa; box-shadow: 0 1px 3px rgba(60,64,67,.2); }
.google-auth-button:focus-visible { outline: 3px solid rgba(66,133,244,.25); outline-offset: 2px; }
.google-auth-button:disabled { opacity: .6; cursor: wait; }
.linkedin-auth-button { position: relative; min-height: 48px; width: 100%; align-items: center; justify-content: center; border: 1px solid #0a66c2; border-radius: 6px; background: #0a66c2; padding: 0 46px; color: #fff; font: 700 14px/1 Arial, sans-serif; cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease; }
.linkedin-auth-button:not(.hidden) { display: flex; }
.linkedin-auth-button:hover { background: #004182; box-shadow: 0 1px 3px rgba(10,102,194,.28); }
.linkedin-auth-button:focus-visible { outline: 3px solid rgba(10,102,194,.25); outline-offset: 2px; }
.linkedin-auth-button:disabled { opacity: .6; cursor: wait; }
.linkedin-mark { position: absolute; left: 16px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 3px; background: #fff; color: #0a66c2; font-size: 15px; font-weight: 900; letter-spacing: 0; }
.apple-auth-button { position: relative; min-height: 48px; width: 100%; align-items: center; justify-content: center; border: 1px solid #000; border-radius: 6px; background: #000; padding: 0 46px; color: #fff; font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease; }
.apple-auth-button:not(.hidden) { display: flex; }
.apple-auth-button:hover { background: #242424; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.apple-auth-button:focus-visible { outline: 3px solid rgba(0,0,0,.22); outline-offset: 2px; }
.apple-auth-button:disabled { opacity: .6; cursor: wait; }
.apple-mark { position: absolute; left: 17px; font: 25px/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); }
.auth-email-intro { display: grid; gap: 3px; margin-bottom: -5px; }
.auth-email-intro strong { color: var(--ink); font-size: 16px; }
.auth-email-intro span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.auth-provider-pending { margin: 0; display: grid; gap: 12px; border: 1px solid var(--line); border-left: 4px solid var(--steel-dark); border-radius: 6px; background: var(--surface); padding: 14px; color: var(--muted); text-align: left; line-height: 1.5; }
.auth-provider-pending.hidden { display: none; }
.auth-provider-pending p { margin: 0; color: var(--muted); text-align: left; }
.auth-form label:not(.auth-consent) { display: grid; gap: 7px; color: #35433c; font-size: 13px; font-weight: 750; }
.auth-form input { width: 100%; }
.auth-form small { color: var(--muted); font-weight: 500; }
.auth-consent { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; color: var(--muted); font-size: 13px; }
.auth-consent input { width: 17px; height: 17px; margin-top: 1px; }
.auth-consent a, .privacy-policy-link a { color: var(--accent-dark); font-weight: 750; }
.auth-form h3 { margin: 0; text-align: center; font-size: 23px; }
.auth-form > p { margin: -7px 0 2px; color: var(--muted); text-align: center; }
.auth-form > .email-delivery-hint { margin: 0; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--surface); padding: 10px 12px; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: left; }
.email-delivery-hint strong { color: var(--ink); }
.verification-mark { width: 54px; height: 54px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 25px; font-weight: 900; }
.otp-field { min-width: 0; margin: 0; border: 0; padding: 0; }
.otp-field legend { margin: 0 0 8px; padding: 0; color: #35433c; font-size: 13px; font-weight: 750; }
.otp-digits { width: min(100%, 352px); margin-inline: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-digit,
.auth-form .otp-digit,
.onboarding-field .otp-digit[type="text"] { width: 100%; min-width: 0; min-height: 52px; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; padding: 0; color: var(--ink); font: 650 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; text-align: center; }
.otp-digit:focus,
.onboarding-field .otp-digit[type="text"]:focus { border-color: var(--accent); outline: 3px solid rgba(47, 111, 78, .15); outline-offset: 1px; }
.auth-error { min-height: 20px; margin: 0; padding: 0 26px; color: var(--danger); font-size: 13px; font-weight: 700; text-align: center; }
.auth-security { margin: 10px 0 0; border-top: 1px solid var(--line); background: var(--surface); padding: 14px 26px 18px; color: var(--muted); font-size: 11px; text-align: center; }
.account-dialog { width: min(700px, calc(100% - 28px)); max-height: min(92vh, 850px); overflow-y: auto; }
.account-dialog-head { padding: 25px 26px 20px; display: flex; align-items: start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.account-dialog-head h2 { margin: 3px 0 6px; }
.account-dialog-head p:last-child { margin: 0; color: var(--muted); }
.account-dialog-section { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.account-dialog-section h3 { margin: 0 0 5px; font-size: 18px; }
.account-dialog-section > p, .account-section-head p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.privacy-preferences, .privacy-request-form { display: grid; gap: 12px; }
.privacy-preferences > label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 7px; padding: 13px; background: var(--surface); }
.privacy-preferences input { width: 17px; height: 17px; margin-top: 2px; }
.privacy-preferences strong, .privacy-preferences small { display: block; }
.privacy-preferences small { margin-top: 3px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.privacy-preferences .button, .privacy-request-form .button { width: fit-content; }
.privacy-policy-link { margin: 14px 0 0 !important; }
.privacy-request-form label { display: grid; gap: 6px; color: #35433c; font-size: 12px; font-weight: 750; }
.privacy-request-form select, .privacy-request-form textarea { width: 100%; }
.privacy-request-form textarea { min-height: 90px; resize: vertical; }
.privacy-request-list { display: grid; gap: 8px; margin-top: 16px; }
.privacy-request-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 11px; }
.privacy-request-row strong, .privacy-request-row span { display: block; }
.privacy-request-row div span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.privacy-request-status { border-radius: 4px; background: var(--accent-soft); padding: 4px 7px; color: var(--accent-dark); font-size: 10px; font-weight: 800; }
.account-section-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.security-session-list { display: grid; gap: 8px; }
.security-session-row { min-height: 66px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 7px; padding: 12px 14px; background: var(--surface); }
.security-session-row strong, .security-session-row span { display: block; }
.security-session-row span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.current-session-badge { display: inline-block !important; width: fit-content; margin: 0 0 4px !important; border-radius: 4px; background: var(--accent-soft); padding: 3px 6px; color: var(--accent-dark) !important; font-size: 10px !important; font-weight: 800; }
.account-danger-zone { background: #fff7f5; }
.delete-account-owner { margin: -3px 0 14px; color: #754545; font-size: 12px; overflow-wrap: anywhere; }
.account-danger-zone form { padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.account-danger-zone label { display: grid; gap: 6px; color: #5e2f2f; font-size: 12px; font-weight: 750; }
.account-danger-zone input { width: 100%; }
.account-dialog > .auth-error { padding: 14px 26px 20px; }
.profile-ai-strip {
  margin: -6px 0 26px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #bfd0c5;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #edf3ef;
}
.profile-ai-strip > div { min-width: 0; display: grid; gap: 4px; }
.profile-ai-strip strong { font-size: 20px; line-height: 1.2; }
.profile-ai-strip span { max-width: 650px; color: var(--muted); font-size: 14px; }
.profile-ai-benefits { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 7px 0 0; padding: 0; list-style: none; }
.profile-ai-benefits li { position: relative; padding-left: 16px; color: var(--accent-dark); font-size: 12px; font-weight: 750; }
.profile-ai-benefits li::before { content: "✓"; position: absolute; left: 0; }
.profile-ai-button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; }
.profile-ai-button span { color: inherit; font-size: inherit; }

.site,
.onboarding,
.app-shell,
.app-workspace,
.app-view,
.profile-layout,
.profile-layout > *,
.profile-card,
.profile-form,
.site-footer { min-width: 0; max-width: 100%; }

.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 36px; }
.legal-links .legal-back { margin-top: 0; }
.legal-copyright { margin-top: 30px; font-size: 13px; }
.legal-table-wrap { max-width: 100%; overflow-x: auto; margin: 18px 0 28px; }
.legal-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); font-size: 12px; }
.legal-status { display: inline-block; border-radius: 4px; padding: 3px 7px; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 750; }
.legal-status.pending { background: var(--warm-soft); color: #75491e; }
.legal-summary { border-left: 4px solid var(--accent); background: #edf3ef; padding: 15px 17px; }

.not-found-page { min-height: 100svh; background: #d8e0da; }
.not-found-shell { width: min(1120px, calc(100% - 40px)); min-height: 100svh; margin: 0 auto; padding: clamp(24px, 5vw, 64px) 0; display: grid; grid-template-rows: auto 1fr; align-items: center; }
.not-found-shell > div { max-width: 720px; }
.not-found-shell h1 { max-width: 680px; margin: 10px 0 14px; font-family: var(--font-brand); font-size: 64px; line-height: 1.02; }
.not-found-shell > div > p:last-of-type { max-width: 620px; color: var(--muted); font-size: 19px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.not-found-shell > p { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) {
  .not-found-shell { width: min(100% - 28px, 1120px); }
  .not-found-shell h1 { font-size: 42px; }
  .not-found-shell > div > p:last-of-type { font-size: 17px; }
}
.ai-assistant-dialog { width: min(760px, calc(100% - 28px)); max-height: min(92vh, 880px); overflow: auto; padding: 0; }
.ai-assistant-dialog::backdrop { background: rgba(10, 22, 17, .64); }
.ai-assistant-head { padding: 26px 28px 20px; display: flex; align-items: start; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.ai-assistant-head h2 { margin: 3px 0 6px; font-size: 28px; }
.ai-assistant-head p:last-child { max-width: 590px; margin: 0; color: var(--muted); }
.ai-assistant-progress { height: 8px; overflow: hidden; background: #e3e9e5; }
.ai-assistant-progress span { position: relative; display: block; height: 100%; width: 0; overflow: hidden; background: var(--accent); transition: width 220ms ease; }
.ai-assistant-progress.thinking { animation: ai-progress-breathe 1.6s ease-in-out infinite; }
.ai-assistant-progress.thinking span::after {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -42px;
  width: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 18px 8px rgba(255, 255, 255, .48);
  animation: ai-progress-scan 1.35s ease-in-out infinite;
}
@keyframes ai-progress-scan { to { transform: translateX(calc(100vw + 84px)); } }
@keyframes ai-progress-breathe { 50% { box-shadow: 0 0 0 3px rgba(30, 107, 71, .09); } }
.ai-assistant-body { min-height: 310px; padding: 28px; }
.ai-assistant-loading { min-height: 240px; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.ai-preparation { min-height: 250px; display: grid; align-content: center; gap: 18px; }
.ai-preparation-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.ai-preparation-heading h3 { max-width: 520px; margin: 4px 0 0; font-size: 24px; line-height: 1.25; }
.ai-preparation-heading > strong { flex: 0 0 auto; color: var(--accent-dark); font-size: 30px; font-variant-numeric: tabular-nums; }
.ai-preparation > p { margin: 0; color: #43534b; font-weight: 700; }
.ai-preparation ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; counter-reset: preparation-step; }
.ai-preparation li { min-height: 76px; border: 1px solid var(--line); border-radius: 7px; background: #f7f8f4; padding: 12px; color: #43534b; font-size: 12px; line-height: 1.45; counter-increment: preparation-step; }
.ai-preparation li::before { content: "0" counter(preparation-step); display: block; margin-bottom: 4px; color: var(--accent-dark); font-weight: 850; }
.ai-preparation > small { color: var(--muted); line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .ai-assistant-progress.thinking,
  .ai-assistant-progress.thinking span::after { animation: none; }
}
.ai-question { display: grid; gap: 9px; }
.ai-question-count { color: var(--muted); font-size: 12px; font-weight: 750; }
.ai-question h3 { max-width: 620px; margin: 0; font-size: 23px; line-height: 1.3; }
.ai-question > p { margin: 0 0 8px; color: var(--muted); }
.ai-question textarea, .ai-question input { width: 100%; }
.ai-question textarea { min-height: 145px; resize: vertical; }
.ai-answer-tools { margin-top: 5px; display: flex; align-items: center; gap: 12px; }
.ai-voice-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50% !important;
  background: #fff;
  padding: 0;
  color: var(--ink);
  transition: width 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.ai-voice-button:hover { border-color: var(--accent); color: var(--accent-dark); }
.ai-voice-button.recording { width: 126px; border-color: #8e3c36; border-radius: 22px !important; background: #fff5f3; color: #7b2e29; }
.ai-voice-button.transcribing { background: var(--surface-strong); }
.ai-mic-icon { position: relative; width: 13px; height: 18px; display: block; border: 2px solid currentColor; border-radius: 7px; }
.ai-mic-icon::before { content: ""; position: absolute; right: -5px; bottom: -5px; left: -5px; height: 9px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 9px 9px; }
.ai-mic-icon::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 8px; height: 2px; border-radius: 2px; background: currentColor; transform: translateX(-50%); }
.ai-voice-button.recording .ai-mic-icon { width: 12px; height: 12px; border: 0; border-radius: 2px; background: currentColor; }
.ai-voice-button.recording .ai-mic-icon::before,
.ai-voice-button.recording .ai-mic-icon::after { display: none; }
.ai-voice-wave { height: 22px; display: none; align-items: center; gap: 2px; }
.ai-voice-wave i { width: 2px; height: 4px; border-radius: 2px; background: currentColor; transition: height 70ms linear; }
.ai-voice-clock { display: none; min-width: 28px; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 750; }
.ai-voice-button.recording .ai-voice-wave,
.ai-voice-button.recording .ai-voice-clock { display: inline-flex; }
.ai-answer-tools p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.ai-answer-tools p[data-state="error"] { color: #8a3732; }
.ai-answer-tools p[data-state="complete"] { color: var(--accent-dark); }
.ai-choice-list { display: grid; gap: 8px; }
.ai-choice-list label { min-height: 48px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 10px 12px; color: var(--ink); font-weight: 700; }
.ai-choice-list input { width: 18px; height: 18px; }
.ai-review-summary { margin: 0 0 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 13px 15px; color: #385248; }
.ai-review-list { display: grid; gap: 9px; }
.ai-review-field { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; border: 1px solid var(--line); border-radius: 6px; padding: 13px; background: #fff; }
.ai-review-field input { width: 18px; height: 18px; margin-top: 2px; }
.ai-review-field strong, .ai-review-field span, .ai-review-field small { display: block; }
.ai-review-field span { margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-review-field small { margin-top: 5px; color: var(--muted); }
.ai-review-notes { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 12px; }
.ai-review-notes p { margin: 4px 0; }
.ai-completion-panel { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; }
.ai-completion-panel h3 { margin: 3px 0 5px; font-size: 20px; }
.ai-completion-panel > div:first-child p { margin: 0; color: var(--muted); line-height: 1.55; }
.ai-completion-panel textarea { width: 100%; min-height: 112px; resize: vertical; }
.ai-completion-submit { justify-self: start; }
.ai-assistant-actions { padding: 16px 28px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.ai-assistant-actions .button-primary { margin-left: auto; }
.ai-assistant-privacy { margin: 0; border-top: 1px solid var(--line); background: var(--surface); padding: 12px 28px 16px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.ai-assistant-error { border-left: 3px solid var(--danger); background: #fff7f5; padding: 14px 16px; color: #6b3434; }
.shift-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.shift-form-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.shift-form-grid label { display: grid; gap: 6px; color: #39463f; font-size: 12px; font-weight: 700; }
.shift-form-grid input, .shift-form-grid select { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; padding: 9px 11px; color: var(--ink); }

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
}

.post-card {
  background:
    linear-gradient(180deg, rgba(223, 238, 231, .5), rgba(255, 253, 248, 0) 220px),
    var(--surface-strong);
}

.job-memory-bar {
  margin: 0 0 20px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(223, 238, 231, .42);
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .8fr) auto;
  align-items: end;
  gap: 14px;
}
.job-memory-bar > * { min-width: 0; }
.job-memory-bar > div { align-self: center; }
.job-memory-bar strong, .job-memory-bar span { display: block; }
.job-memory-bar strong { color: var(--ink); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.job-memory-bar span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.job-memory-bar label { display: grid; gap: 5px; color: #39463f; font-size: 12px; font-weight: 750; }
.job-memory-bar select { width: 100%; min-height: 42px; }
.job-form-grid label.is-prefilled { position: relative; }
.prefill-note { color: var(--accent-dark); font-size: 11px; font-weight: 750; }

.post-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.post-submit-row p { margin: 0; min-width: 0; }
.post-submit-row p strong, .post-submit-row p span { display: block; }
.post-submit-row p strong { font-size: 13px; }
.post-submit-row p span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.post-side {
  position: sticky;
  top: 24px;
}

.post-side h2 { margin-bottom: 8px; }

.messaging-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 12px 34px rgba(21, 37, 31, .06);
}
.messages-toolbar { min-height: 76px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.messages-toolbar h2 { margin: 2px 0 0; font-size: 23px; }
.message-demo-label { display: inline-flex; margin-left: 7px; vertical-align: middle; border: 1px solid #abc4b8; border-radius: 4px; background: #e4f1eb; padding: 3px 6px; color: var(--accent-dark); font-family: Arial, sans-serif; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.message-demo-label.hidden { display: none; }
.messages-layout { min-height: 650px; display: grid; grid-template-columns: 310px minmax(360px, 1fr) 270px; }
.thread-column { min-width: 0; border-right: 1px solid var(--line); background: #fbfcfa; }
.message-search { display: block; padding: 14px 14px 8px; }
.message-search input { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 5px; background: #f1f4f2; padding: 8px 12px; color: var(--ink); }
.message-filter-row { padding: 0 14px 10px; display: flex; gap: 16px; border-bottom: 1px solid var(--line); }
.message-filter { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 6px 1px; font-size: 13px; font-weight: 700; }
.message-filter.active { border-color: var(--accent); color: var(--ink); }
.thread-unread-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--accent); }
.thread-unread-dot + small { margin-left: 0; }
.thread-list { max-height: 570px; overflow-y: auto; }
.thread-empty { padding: 28px 20px; color: var(--muted); font-size: 14px; }
.thread-button { width: 100%; min-height: 82px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); padding: 13px 14px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 11px; text-align: left; }
.thread-button:hover { background: #f3f6f4; }
.thread-button.active { background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.thread-avatar { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background-color: #edf2ef; color: #587066; }
.thread-copy { min-width: 0; display: grid; gap: 2px; }
.thread-copy > span, .thread-copy > small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.thread-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink) !important; }
.thread-name strong { overflow: hidden; text-overflow: ellipsis; }
.thread-name small { color: var(--muted); font-size: 11px; font-weight: 500; }
.conversation { min-width: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff; }
.conversation-head { min-height: 76px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.conversation-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
.conversation-head h2 { margin: 0; font-size: 18px; }
.conversation-head p { margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.icon-button, .composer-icon { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-weight: 800; }
.icon-button:hover, .composer-icon:hover { border-color: var(--accent); color: var(--accent); }
.message-list { min-height: 0; padding: 24px 22px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; background: linear-gradient(#fff, #fcfdfc); }
.message-day { align-self: center; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.message { width: fit-content; max-width: 72%; border: 1px solid var(--line); border-radius: 6px; background: #f2f4f3; padding: 10px 12px 7px; box-shadow: 0 2px 5px rgba(21,37,31,.03); }
.message.mine { align-self: end; border-color: #c7dfd4; background: var(--accent-soft); color: var(--ink); }
.message p { margin: 0; }
.message time { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; text-align: right; }
.message.system { max-width: 88%; align-self: center; border: 0; background: transparent; box-shadow: none; color: var(--muted); font-size: 12px; text-align: center; }
.contract-message { width: min(520px, 92%); align-self: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(29, 48, 58, .08); }
.contract-message-head { padding: 14px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.contract-document-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 850; }
.contract-message-head > div { min-width: 0; display: grid; }
.contract-message-head small { color: var(--muted); font-size: 10px; }
.contract-message-head strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.contract-status { width: fit-content; border: 1px solid var(--line-strong); border-radius: 999px; background: #eef1ef; color: #4d5952; padding: 4px 7px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.contract-status.reviewed { border-color: #9bc4b1; background: #eaf5ef; color: #176747; }
.contract-status.changes_requested { border-color: #d8bd8e; background: #fbf3e4; color: #7a531c; }
.contract-message dl { margin: 0; padding: 13px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.contract-message dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.contract-message dd { margin: 2px 0 0; font-size: 12px; font-weight: 700; }
.contract-message-foot { border-top: 1px solid var(--line); background: #f8faf9; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contract-message-foot span { color: var(--muted); font-size: 10px; font-weight: 700; }
.contract-message-foot button { border: 0; background: transparent; color: var(--accent-dark); font-size: 11px; font-weight: 800; cursor: pointer; }
.meeting-message { width: min(520px, 92%); align-self: center; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; padding: 13px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; box-shadow: 0 8px 22px rgba(29, 48, 58, .07); }
.meeting-message-date { min-height: 58px; border-radius: 6px; background: var(--steel-soft); display: grid; place-items: center; align-content: center; text-align: center; }
.meeting-message-date strong { font-size: 10px; text-transform: capitalize; }
.meeting-message-date span { font-size: 18px; font-weight: 850; }
.meeting-message-copy { min-width: 0; display: grid; }
.meeting-message-copy small, .meeting-message-copy span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.meeting-message-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.meeting-status { border: 1px solid var(--line-strong); border-radius: 999px; background: #eef1ef; color: #4d5952; padding: 4px 7px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.meeting-status.accepted { border-color: #9bc4b1; background: #eaf5ef; color: #176747; }
.meeting-status.changes_requested { border-color: #d8bd8e; background: #fbf3e4; color: #7a531c; }
.meeting-status.cancelled { border-color: #dfb2b2; background: #fbebeb; color: #8a3434; }
.meeting-message > button { grid-column: 2 / -1; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--accent-dark); padding: 9px 0 0; font-size: 11px; font-weight: 800; text-align: left; cursor: pointer; }
.composer-form { padding: 13px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; border-top: 1px solid var(--line); background: #fff; }
.composer-form input { min-width: 0; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #f7f8f7; padding: 9px 12px; }
.composer-send { min-height: 42px; padding-block: 8px; }
.mobile-composer-trigger,
.mobile-composer-actions { display: none; }
.conversation-placeholder { height: 100%; align-self: center; padding: 48px; display: flex; align-items: center; flex-direction: column; justify-content: center; color: var(--muted); text-align: center; }
.conversation-placeholder-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 22px; font-weight: 800; }
.conversation-placeholder h3 { margin: 18px 0 5px; color: var(--ink); }
.conversation-placeholder p { max-width: 330px; margin: 0; }
.conversation-context { border-left: 1px solid var(--line); background: #fbfcfa; }
.context-profile { padding: 25px 20px 20px; text-align: center; }
.context-avatar { width: 78px; height: 78px; margin: 0 auto 12px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background-color: #edf2ef; color: #587066; }
.context-profile h3 { margin: 0 0 2px; font-size: 18px; }
.context-profile p { margin: 0; color: var(--ink); font-size: 13px; }
.context-profile > span { color: var(--muted); font-size: 12px; }
.context-divider { height: 1px; background: var(--line); }
.context-section { padding: 18px 20px; display: grid; }
.context-section .eyebrow { margin-bottom: 7px; }
.context-section button { border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 0; text-align: left; font-size: 13px; font-weight: 700; }
.context-section button:hover { color: var(--accent); }
.context-section .context-report { margin-top: 10px; border-bottom: 0; color: var(--muted); font-weight: 600; }
.context-section .context-report:hover { color: var(--danger); }
.context-process { padding: 16px 20px; display: grid; gap: 4px; }
.context-process > span { color: var(--muted); font-size: 11px; }
.context-process button { margin-top: 7px; border: 0; border-radius: 5px; background: var(--steel-soft); color: var(--ink); padding: 8px 10px; font-size: 11px; font-weight: 800; text-align: left; }
.context-note { margin: 2px 16px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px; }
.context-note p { margin: 3px 0 0; color: #4c5d55; font-size: 12px; }
.context-placeholder { padding: 24px; color: var(--muted); font-size: 13px; }

@media (max-width: 620px) {
  .contract-message { width: 100%; }
  .contract-message-head { grid-template-columns: 34px minmax(0, 1fr); }
  .contract-message-head .contract-status { grid-column: 2; }
  .contract-message dl, #contract-review-content dl { grid-template-columns: 1fr; }
  #contract-review-content dl .wide { grid-column: auto; }
  .contract-review-status { align-items: start; flex-direction: column; }
  .meeting-provider-status { grid-template-columns: 10px minmax(0, 1fr); }
  .meeting-provider-status button { grid-column: 2; text-align: left; }
  .meeting-message { width: 100%; grid-template-columns: 62px minmax(0, 1fr); }
  .meeting-message .meeting-status { grid-column: 2; justify-self: start; }
  .meeting-message > button { grid-column: 1 / -1; }
  .meeting-review-time { align-items: start; flex-direction: column; gap: 4px; }
  .meeting-review-facts { grid-template-columns: 1fr; }
  .meeting-review-facts .wide { grid-column: auto; }
}

.network-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.network-header h2 { margin: 3px 0 4px; font-size: 30px; }
.network-header p:not(.eyebrow) { margin: 0; color: var(--muted); }
.network-search { width: min(360px, 100%); }
.network-search input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 10px 13px; }
.network-tabs { margin-top: 24px; display: flex; gap: 25px; border-bottom: 1px solid var(--line); }
.network-tab { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); padding: 11px 2px 10px; font-weight: 750; }
.network-tab.active { border-color: var(--accent); color: var(--ink); }
.network-layout { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.network-main, .network-side > section { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.network-main { min-height: 420px; padding: 22px; }
.network-section-head { margin-bottom: 17px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.network-section-head h3 { margin: 3px 0 0; font-size: 22px; }
.network-section-head > span { color: var(--muted); font-size: 13px; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.person-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 16px; }
.person-profile { width: 100%; border: 0; background: transparent; color: var(--ink); padding: 0; display: flex; align-items: center; gap: 12px; text-align: left; }
.network-avatar { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background-color: #edf2ef; color: #587066; }
.person-copy { min-width: 0; display: grid; }
.person-copy strong, .person-copy span, .person-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-copy span { color: #3f4d47; font-size: 13px; }
.person-copy small { color: var(--muted); font-size: 11px; }
.person-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
.person-actions .button { min-height: 37px; padding: 7px 11px; font-size: 12px; }
.person-actions .text-button { width: 100%; margin-top: 2px; text-align: left; }
.network-side { display: grid; gap: 12px; }
.network-summary { padding: 21px; }
.network-stat { margin-top: 17px; display: flex; align-items: baseline; gap: 8px; }
.network-stat strong { font-size: 28px; line-height: 1; }
.network-stat span { color: var(--muted); font-size: 13px; }
.network-summary > p:last-child, .network-tip p { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.network-tip { padding: 18px 20px; border-left: 3px solid var(--accent) !important; }
.network-tip p { margin-top: 5px; }
.group-grid { display: grid; gap: 9px; }
.group-card { border: 1px solid var(--line); border-radius: 7px; padding: 16px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.group-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.group-card h3 { margin: 0; font-size: 17px; }
.group-card p { margin: 3px 0; color: var(--muted); font-size: 13px; }
.group-card span { color: var(--muted); font-size: 11px; }
.group-card .button { min-height: 38px; padding: 7px 12px; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 370px); gap: 16px; align-items: start; }
.profile-layout > *,
.profile-card { min-width: 0; }
.profile-card,
.trust-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); padding: clamp(22px, 4vw, 32px); }
.profile-account-column { min-width: 0; display: grid; gap: 16px; align-self: start; }
.account-data-card,
.preference-reset-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px; }
.account-data-card h3,
.preference-reset-card h3 { margin: 5px 0 8px; font-size: 18px; }
.account-data-card > p:not(.eyebrow),
.preference-reset-card > p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-data-card .button,
.preference-reset-card .button { width: 100%; }
.preference-reset-card { background: #fafbfa; }
.profile-summary { margin-bottom: 28px; display: flex; align-items: center; gap: 16px; }
.profile-summary h2 { margin: 3px 0; font-size: 30px; }
.profile-summary p:not(.eyebrow) { margin: 0; color: var(--muted); }
.profile-form { margin-bottom: 22px; }
.profile-editor-tabs { display: inline-flex; width: fit-content; max-width: 100%; border-bottom: 1px solid var(--line); gap: 4px; }
.profile-editor-tabs button { min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); padding: 8px 13px; font-size: 13px; font-weight: 750; }
.profile-editor-tabs button.active { border-bottom-color: var(--steel); color: var(--ink); }
.profile-form:not(.show-swipe-editor) > .worker-swipe-editor { display: none; }
.profile-form:not(.show-company-swipe) > .company-swipe-editor { display: none; }
.profile-form.show-swipe-editor > .profile-completeness,
.profile-form.show-swipe-editor > .profile-form-section:not(.worker-swipe-editor) { display: none; }
.profile-form.show-company-swipe > .profile-completeness,
.profile-form.show-company-swipe > .profile-form-section:not(.company-swipe-editor) { display: none; }
.worker-swipe-builder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 24px; }
.worker-swipe-preview { position: sticky; top: 86px; isolation: isolate; min-height: 500px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: #263a31; color: #fff; box-shadow: 0 20px 48px rgba(14,29,23,.18); }
.worker-swipe-preview::before,
.worker-swipe-preview::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.worker-swipe-preview::before { background-image: var(--worker-swipe-cover, linear-gradient(145deg, #60766c, #1b3027)); background-position: center; background-size: cover; }
.worker-swipe-preview::after { z-index: -1; background: linear-gradient(to bottom, rgba(8,18,14,.08), rgba(8,18,14,.18) 38%, rgba(8,18,14,.96)); }
.worker-swipe-preview.is-saving-cover::before { filter: saturate(.85); }
.worker-swipe-preview.is-saving-cover::after { background: linear-gradient(to bottom, rgba(8,18,14,.18), rgba(8,18,14,.24) 38%, rgba(8,18,14,.96)); }
.worker-swipe-preview > header { padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.worker-swipe-preview > header > span { border: 1px solid rgba(255,255,255,.35); border-radius: 5px; background: rgba(255,255,255,.9); color: var(--accent-dark); padding: 5px 8px; font-size: 10px; font-weight: 800; }
.worker-swipe-avatar { width: 64px; height: 64px; min-width: 64px; display: grid; place-items: center; padding: 0; overflow: hidden; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; background-color: #eef2ef; background-position: center; background-size: cover; color: var(--accent-dark); }
.worker-swipe-avatar svg { width: 26px; height: 26px; display: block; margin: 0; }
.worker-swipe-preview > div { position: absolute; right: 0; bottom: 0; left: 0; padding: 30px 24px; }
.worker-swipe-preview > div > p:first-child { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.worker-swipe-preview h2 { margin: 7px 0 9px; font-family: inherit; display: -webkit-box; overflow: hidden; font-size: 34px; font-weight: 650; line-height: 1.1; overflow-wrap: normal; word-break: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.worker-swipe-preview > div > span { color: rgba(255,255,255,.78); font-size: 13px; }
#worker-swipe-preview-pitch { margin: 16px 0 0; color: rgba(255,255,255,.9); display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#worker-swipe-preview-strengths { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
#worker-swipe-preview-strengths span { border: 1px solid rgba(255,255,255,.28); border-radius: 5px; background: rgba(255,255,255,.12); padding: 6px 8px; font-size: 11px; }
.worker-swipe-controls { min-width: 0; display: grid; gap: 14px; }
.worker-swipe-controls > label { display: grid; gap: 7px; color: #39463f; font-size: 13px; font-weight: 700; }
.worker-swipe-controls input,
.worker-swipe-controls textarea,
.worker-swipe-controls select { min-width: 0; width: 100%; }
.worker-swipe-controls small { color: var(--muted); font-size: 11px; font-weight: 500; }
.worker-swipe-controls .swipe-pitch-toggle { grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 6px; background: #f7f9f8; padding: 12px; }
.worker-swipe-controls .swipe-pitch-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.worker-swipe-controls .swipe-pitch-toggle span, .worker-swipe-controls .swipe-pitch-toggle strong, .worker-swipe-controls .swipe-pitch-toggle small { display: block; }
.worker-swipe-controls .swipe-pitch-toggle small { margin-top: 3px; line-height: 1.4; }
.worker-swipe-proof { display: grid; gap: 6px; margin-top: 11px; }
.worker-swipe-proof:empty { display: none; }
.worker-swipe-proof p { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; border-top: 1px solid rgb(255 255 255 / 28%); padding-top: 7px; font-size: 10px; }
.worker-swipe-proof p span { overflow: hidden; max-width: 48%; color: rgb(255 255 255 / 78%); text-overflow: ellipsis; white-space: nowrap; }
.worker-swipe-proof p.reference strong::before { content: "✓"; display: inline-grid; width: 16px; height: 16px; place-items: center; margin-right: 5px; border-radius: 50%; background: #e2eee7; color: #214c36; font-size: 9px; }
.swipe-profile-suggestions { display: grid; gap: 7px; }
.swipe-profile-suggestions > span { color: #39463f; font-size: 12px; font-weight: 800; }
.swipe-profile-suggestions > div { display: flex; flex-wrap: wrap; gap: 6px; }
.swipe-profile-suggestions button { min-height: 36px; border: 1px solid #cbd5cf; border-radius: 18px; background: #fff; padding: 7px 11px; color: #37463e; font: inherit; font-size: 11px; cursor: pointer; }
.swipe-profile-suggestions button:hover,
.swipe-profile-suggestions button.active { border-color: #315d46; background: #e7efe9; color: #214c36; }
.swipe-cover-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-save-row { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; }
.profile-save-row > span { color: var(--muted); font-size: 12px; font-weight: 650; }
.profile-form .wide { grid-column: 1 / -1; }
.profile-form-section { border-top: 1px solid var(--line); padding-top: 23px; }
.profile-form-section:first-child { border-top: 0; padding-top: 0; }
.profile-section-heading { margin-bottom: 16px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.profile-section-heading h3 { margin: 3px 0 0; font-size: 21px; }
.profile-section-heading > span { color: var(--muted); font-size: 12px; }
.swipe-editor-meta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: 12px; }
.swipe-help-button { min-height: 36px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--accent-dark); padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 750; }
.swipe-help-button:hover { border-color: var(--steel); background: var(--accent-soft); }
.swipe-help-button svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.profile-fields .wide { grid-column: 1 / -1; }
.profile-fields label { display: grid; gap: 6px; color: #39463f; font-size: 13px; font-weight: 700; }
.profile-fields label, .profile-fields input, .profile-fields select, .profile-fields textarea { min-width: 0; max-width: 100%; }
.profile-fields input[type="date"], .profile-fields input[type="month"] { width: 100%; }
.profile-fields small { color: var(--muted); font-weight: 500; }
.profile-completeness { border: 1px solid #c7dbd2; border-radius: 7px; background: var(--accent-soft); padding: 16px; }
.profile-completeness.completion-exit { opacity: 0; transform: translateY(-6px); transition: opacity 220ms ease, transform 220ms ease; }
.profile-completeness > div:first-child { display: flex; justify-content: space-between; gap: 14px; }
.profile-completeness > div:first-child > span { max-width: 340px; color: #4e6259; font-size: 12px; text-align: right; }
.profile-completeness strong { display: block; margin-top: 2px; font-size: 22px; }
.completion-track { height: 7px; margin-top: 12px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.72); }
.completion-track span { height: 100%; display: block; border-radius: inherit; background: var(--accent); }
.completion-list { margin-top: 15px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.completion-item { min-width: 0; border: 1px solid rgba(21,107,79,.15); border-radius: 6px; background: rgba(255,255,255,.64); color: var(--ink); padding: 10px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 9px; text-align: left; }
.completion-item:hover { border-color: var(--accent); background: #fff; }
.completion-item > span:last-child { min-width: 0; display: grid; }
.completion-item strong { margin: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.completion-item small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; }
.completion-icon { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #9eb8ac; border-radius: 50%; color: transparent; font-size: 12px; font-weight: 900; }
.completion-item.done .completion-icon { border-color: var(--accent); background: var(--accent); color: #fff; }
.profile-photo-editor { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: center; gap: 20px; }
.profile-photo-preview { width: 118px; height: 118px; min-width: 118px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: 50%; background-color: #eef2ef; background-position: center; background-size: cover; background-repeat: no-repeat; color: #587066; }
.profile-photo-preview svg { width: 44px; height: 44px; }
.profile-photo-editor > div { min-width: 0; }
.profile-photo-editor p { max-width: 580px; margin: 5px 0 13px; color: var(--muted); font-size: 13px; }
.profile-photo-editor small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-photo-button { position: relative; display: inline-flex !important; align-items: center; justify-content: center; cursor: pointer; }
.profile-photo-button input { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; min-height: 44px !important; margin: 0 !important; padding: 0 !important; overflow: hidden; clip: auto; white-space: normal; opacity: 0; pointer-events: auto; cursor: pointer; }
.employment-reference-list { display: grid; gap: 10px; }
.employment-reference { border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 15px; }
.employment-reference.verified { border-left: 4px solid var(--accent); }
.employment-reference.pending { border-left: 4px solid var(--steel); }
.employment-reference header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.employment-reference header > div { min-width: 0; display: grid; }
.employment-reference header strong { font-size: 15px; }
.employment-reference header span:not(.reference-status), .reference-relationship { color: var(--muted); font-size: 12px; }
.reference-status { flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); color: var(--ink); padding: 5px 7px; font-size: 10px; font-weight: 800; }
.employment-reference.verified .reference-status { border-color: #a9cbbd; background: var(--accent-soft); color: var(--accent-dark); }
.reference-relationship { margin: 9px 0 0; }
.employment-reference blockquote { margin: 15px 0 11px; border-left: 2px solid #b9c9c1; padding-left: 13px; color: #2d3c35; font-size: 14px; line-height: 1.55; }
.reference-strengths { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.reference-strengths span { border: 1px solid var(--line); border-radius: 5px; background: #f4f7f5; padding: 5px 7px; color: #415249; font-size: 10px; font-weight: 700; }
.employment-reference small { color: var(--muted); font-size: 10px; }
.reference-pending-copy { margin: 13px 0 8px; color: var(--muted); font-size: 12px; }
.reference-remove { display: block; margin-top: 10px; color: #77504c; font-size: 11px; }
.reference-empty { border: 1px dashed var(--line-strong); border-radius: 7px; background: #fafbf9; padding: 18px; text-align: center; }
.reference-empty p { margin: 4px auto 0; max-width: 520px; color: var(--muted); font-size: 12px; }
.reference-dialog { width: min(680px, calc(100% - 28px)); }
.experience-dialog { width: min(680px, calc(100% - 28px)); }
.month-range-fields { min-width: 0; margin: 0; border: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.month-range-fields legend { grid-column: 1 / -1; margin-bottom: 6px; color: #39463f; font-size: 13px; font-weight: 750; }
.month-range-fields label { min-width: 0; display: grid; gap: 6px; }
.month-range-fields input { min-width: 0; width: 100%; }
.current-experience { display: flex !important; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 9px !important; }
.current-experience input { width: 18px; height: 18px; }
.experience-timeline { position: relative; display: grid; gap: 0; margin: 18px 0; }
.experience-timeline::before { content: ""; position: absolute; top: 13px; bottom: 13px; left: 7px; width: 2px; background: #cbd8d1; }
.experience-timeline-item { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding-bottom: 16px; }
.experience-timeline-item:last-child { padding-bottom: 0; }
.experience-timeline-dot { z-index: 1; width: 16px; height: 16px; margin-top: 3px; border: 4px solid #dceae3; border-radius: 50%; background: var(--accent); }
.experience-timeline-item > div { min-width: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
.experience-timeline-item:last-child > div { border-bottom: 0; }
.experience-timeline-item header { display: flex; justify-content: space-between; gap: 14px; }
.experience-timeline-item header > div { min-width: 0; display: grid; }
.experience-timeline-item header span, .experience-timeline-item header small { color: var(--muted); }
.experience-timeline-item p { margin: 7px 0 0; color: #405047; line-height: 1.5; overflow-wrap: anywhere; }
.experience-empty { border: 1px dashed var(--line-strong); border-radius: 8px; background: #f8faf8; padding: 17px 18px; }
.experience-empty p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.reference-consent { margin-top: 18px; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9f8; padding: 13px; }
.reference-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.reference-consent strong, .reference-consent small { display: block; }
.reference-consent small { margin-top: 3px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.company-completeness { background: #f2f5f3; border-color: #cad6ce; }
.company-brand-section { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; padding: 0 !important; }
.company-cover-preview {
  min-height: 210px;
  display: grid;
  place-items: center;
  background: #e9edea;
  color: #66736c;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.company-cover-preview.has-image { background-image: var(--company-cover-image); background-position: center; background-size: cover; }
.company-brand-row { min-width: 0; padding: 0 22px 22px; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: end; gap: 18px; }
.company-logo-preview {
  width: 112px;
  height: 112px;
  min-width: 112px;
  margin-top: -44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 4px solid var(--surface-strong);
  border-radius: 8px;
  background-color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(18, 35, 29, .12);
}
.company-logo-preview svg { width: 44px; height: 44px; }
.company-brand-copy { min-width: 0; padding-top: 17px; display: grid; gap: 7px; }
.company-brand-copy .eyebrow { margin: 0; letter-spacing: 0; line-height: 1.35; }
.company-brand-copy h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.company-brand-note { grid-column: 2 / -1; margin: -4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.55; }
.company-swipe-builder { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
.company-swipe-image-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9f8; padding: 14px 16px; }
.company-swipe-image-toolbar > div:first-child { min-width: 0; display: grid; gap: 2px; }
.company-swipe-image-toolbar strong { font-size: 13px; }
.company-swipe-image-toolbar > div:first-child span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.company-swipe-image-toolbar > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.company-swipe-image-toolbar .button { min-height: 40px; }
.company-swipe-preview { position: relative; isolation: isolate; min-height: 560px; overflow: hidden; border-radius: 8px; background: #20352c; color: #fff; box-shadow: 0 20px 48px rgba(14,29,23,.18); }
.company-swipe-preview::before,
.company-swipe-preview::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.company-swipe-preview::before { background-image: var(--company-swipe-cover, linear-gradient(145deg, #526960, #182c24)); background-position: center; background-size: cover; }
.company-swipe-preview::after { z-index: -1; background: linear-gradient(to bottom, rgba(8,18,14,.08), rgba(8,18,14,.22) 36%, rgba(8,18,14,.97)); }
.company-swipe-preview > header { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.company-swipe-preview > header > div { display: grid; justify-items: end; gap: 4px; }
.company-swipe-preview > header span { border-radius: 5px; background: rgba(255,255,255,.92); color: var(--accent-dark); padding: 5px 8px; font-size: 10px; font-weight: 800; }
.company-swipe-preview > header small { color: rgba(255,255,255,.8); font-size: 11px; }
.company-swipe-logo { width: 68px; height: 68px; min-width: 68px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.8); border-radius: 8px; background: #fff; color: var(--accent-dark); }
.company-swipe-logo > img { object-fit: contain; }
.company-swipe-logo svg { width: 30px; }
.company-swipe-body { position: absolute; right: 0; bottom: 0; left: 0; padding: 34px 26px; }
.company-swipe-body > p:first-child { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.company-swipe-body h2 { margin: 7px 0 10px; font-family: inherit; font-size: 38px; font-weight: 650; line-height: 1.12; overflow-wrap: anywhere; }
.company-swipe-body > span { color: rgba(255,255,255,.8); font-size: 13px; }
.company-swipe-body > p:last-child { margin: 18px 0 0; color: rgba(255,255,255,.9); line-height: 1.5; }
.company-swipe-facts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.company-swipe-facts span { border: 1px solid rgba(255,255,255,.26); border-radius: 5px; background: rgba(8,18,14,.32); padding: 6px 8px; font-size: 11px; }
.company-swipe-guidance { border: 1px solid var(--line); border-radius: 8px; background: #f7f9f8; padding: 22px; }
.company-swipe-guidance h3 { margin: 5px 0 8px; font-size: 21px; }
.company-swipe-guidance > p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.55; }
.company-swipe-guidance ul { margin: 18px 0; padding-left: 19px; color: #405148; font-size: 13px; line-height: 1.55; }
.company-swipe-guidance li + li { margin-top: 7px; }
.company-swipe-guidance .button { width: 100%; }
.company-brand-actions { max-width: 310px; padding-top: 17px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.company-image-remove { border: 0; background: transparent; color: #67756e; padding: 7px; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.company-image-remove:hover { color: #a23e3e; }
.first-job-option { border: 1px solid var(--line); border-radius: 7px; background: #f7f9f7; padding: 13px; display: flex !important; grid-template-columns: auto 1fr; align-items: start; flex-direction: row; gap: 10px !important; }
.first-job-option input { width: 18px; min-height: 18px; margin: 2px 0 0; }
.first-job-option span { display: grid; }
.first-job-option small { color: var(--muted); font-weight: 500; }
.profile-focus-pulse { animation: profile-focus 850ms ease; }
@keyframes profile-focus { 0%, 100% { box-shadow: none; } 40% { box-shadow: 0 0 0 4px rgba(21,107,79,.18); } }
.profile-reassurance { margin: 0 0 15px; border-left: 3px solid var(--accent); background: #f1f7f4; padding: 12px 14px; color: #385248; font-size: 13px; }
.notification-checks { display: grid; gap: 8px; }
.notification-checks label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.notification-checks input { width: 17px; min-height: 17px; }
.notification-checks small { color: var(--muted); font-size: 12px; }
.availability-panel { margin: 0 0 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.availability-grid { display: grid; grid-template-columns: 76px repeat(7, minmax(42px, 1fr)); gap: 5px; align-items: center; }
.availability-grid > strong { color: var(--muted); font-size: 11px; text-align: center; }
.availability-grid > span { color: var(--muted); font-size: 12px; }
.availability-cell { aspect-ratio: 1.45; min-height: 34px; border: 1px solid var(--line); border-radius: 5px; background: #f7f9f7; color: var(--accent-dark); }
.availability-cell.active { border-color: var(--accent); background: var(--accent-soft); }
#availability-all.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-facts div { border-left: 2px solid var(--line); padding-left: 10px; }
.detail-facts dt { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.detail-facts dd { margin: 2px 0 0; color: var(--ink); font-size: 14px; font-weight: 650; }
.verification-copy { margin-top: 8px !important; color: var(--muted) !important; font-size: 12px; }
.verification-actions { display: grid; gap: 8px; }
.verification-actions .button { width: 100%; }
.posted-jobs-panel {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.posted-jobs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.posted-jobs-head h3 { margin: 4px 0 0; font-size: 21px; }
.posted-jobs-list { display: grid; gap: 10px; }
.posted-job-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf5;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.posted-job-card.compact {
  grid-template-columns: 1fr;
}

.posted-job-card.compact .posted-job-actions {
  justify-content: flex-start;
}
.posted-job-card div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.posted-job-card strong { font-size: 16px; }
.posted-job-card span { color: var(--muted); font-size: 13px; }
.posted-job-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.trust-card h2 { margin: 8px 0; font-size: 26px; }
.trust-card > p:not(.eyebrow) { color: var(--muted); }
.trust-card ul { margin: 22px 0; padding: 0; list-style: none; }
.trust-card li { margin-top: 9px; display: flex; gap: 8px; }
.trust-card li span { color: var(--accent); font-weight: 800; }

.dialog {
  width: min(500px, calc(100% - 28px));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 28px 90px rgba(10, 25, 19, 0.24);
}
.dialog::backdrop { background: rgba(11, 24, 19, 0.58); }
.dialog form { padding: 28px; }
.dialog h2 { margin: 7px 0 10px; font-size: 30px; line-height: 1.1; }
.dialog form > p:not(.eyebrow) { color: var(--muted); }
.dialog-helper { margin: 0 0 18px; }
.job-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.job-form-grid label {
  display: grid;
  gap: 7px;
  color: #39463f;
  font-size: 14px;
  font-weight: 700;
}
.job-form-grid .wide { grid-column: 1 / -1; }
.dialog-note { margin-top: 18px; border-left: 3px solid var(--warm); background: var(--warm-soft); padding: 12px 14px; color: #6e491f; font-size: 13px; }
.dialog-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 8px; }
.swipe-help-dialog { width: min(620px, calc(100% - 28px)); max-height: 92vh; overflow-y: auto; }
.swipe-help-head { padding: 26px 28px 20px; display: flex; align-items: start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.swipe-help-head h2 { margin: 4px 0 7px; }
.swipe-help-head p:last-child { max-width: 500px; margin: 0; color: var(--muted); }
.swipe-help-content { padding: 24px 28px 28px; display: grid; gap: 16px; }
.swipe-help-content section { border-left: 3px solid var(--steel); padding-left: 14px; }
.swipe-help-content section p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.swipe-help-example { border: 1px solid var(--line); border-radius: 7px; background: #f5f8f6; padding: 16px; display: grid; gap: 5px; }
.swipe-help-example span { color: var(--accent-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.swipe-help-example p { margin: 0; color: #46534d; font-size: 14px; }
.swipe-help-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.filter-dialog { width: min(900px, calc(100% - 28px)); max-height: min(92vh, 880px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: #f8faf8; color: var(--ink); padding: 0; box-shadow: 0 28px 90px rgba(10,25,19,.24); }
.filter-dialog::backdrop { background: rgba(11,24,19,.62); }
.filter-dialog form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.filter-dialog-head { position: sticky; z-index: 2; top: 0; min-height: 80px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.filter-dialog-head h2 { margin: 2px 0 0; font-size: 28px; }
.dialog-close-button.static-close { position: static; flex: 0 0 auto; margin: 0; }
.advanced-filter-fields { padding: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; overflow-y: auto; }
.filter-field, .filter-toggle { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 14px; }
.filter-field { display: grid; gap: 9px; color: #39463f; font-size: 13px; font-weight: 700; }
fieldset.filter-field { margin: 0; }
.filter-field legend { padding: 0 5px; color: #39463f; font-size: 13px; font-weight: 750; }
.filter-field > input, .filter-field > select { width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; padding: 8px 10px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.check-grid label { position: relative; }
.check-grid input { position: absolute; opacity: 0; }
.check-grid span { display: block; border: 1px solid var(--line); border-radius: 5px; padding: 7px 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.check-grid input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.check-grid input:focus-visible + span { outline: 3px solid rgba(21,107,79,.28); outline-offset: 2px; }
.industry-filter { grid-column: 1 / -1; }
.industry-search input { width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; padding: 8px 10px; }
.industry-count { color: var(--muted); font-size: 11px; font-weight: 650; }
.industry-grid { max-height: 260px; overflow-y: auto; align-content: start; padding: 2px 3px 2px 0; }
.industry-grid label.hidden { display: none; }
.industry-empty { margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.filter-toggle { display: flex; align-items: center; gap: 11px; }
.filter-toggle > input { width: 20px; height: 20px; accent-color: var(--accent); }
.filter-toggle > span { display: grid; }
.filter-toggle small { color: var(--muted); font-size: 11px; font-weight: 500; }
.range-field > div { display: grid; grid-template-columns: minmax(0, 1fr) 55px; align-items: center; gap: 10px; }
.range-field input { accent-color: var(--accent); }
.range-field output { color: var(--accent-dark); font-size: 13px; font-weight: 800; text-align: right; }
.saved-searches-panel { padding: 18px 22px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; border-top: 1px solid var(--line); background: #fff; }
.saved-searches-panel h3 { margin: 3px 0 0; font-size: 17px; }
#saved-search-list { display: grid; gap: 6px; }
.saved-search-row { border: 1px solid var(--line); border-radius: 6px; padding: 8px 9px 8px 11px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.saved-search-row > button:first-child { min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 0; display: grid; text-align: left; }
.saved-search-row span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.saved-search-row .icon-button { width: 30px; height: 30px; }
.saved-search-empty { margin: 0; color: var(--muted); font-size: 13px; }
.filter-dialog-actions { position: sticky; z-index: 2; bottom: 0; padding: 14px 22px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  max-width: min(440px, calc(100% - 28px));
  transform: translate(-50%, 18px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 11px 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

dialog[open] {
  animation: dialog-pop 180ms ease both;
}

dialog::backdrop {
  animation: backdrop-fade 180ms ease both;
}

@keyframes dialog-pop {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1500px) {
  .worker-swipe-builder { grid-template-columns: 1fr; }
  .worker-swipe-preview { position: relative; top: auto; min-height: 520px; }
}

@media (max-width: 1100px) {
  .hero {
    min-height: 100dvh;
    padding: 54px 28px 0;
  }
  .hero-main { gap: 30px; padding-bottom: 44px; }
  .hero-copy { width: 100%; padding-top: 0; }
  .hero-value-rail { width: calc(100% + 56px); margin-left: -28px; }
  .preview-card { width: min(660px, 100%); }
  .role-layout { grid-template-columns: 1fr; }
  .how-layout,
  .trust-layout { grid-template-columns: 1fr; gap: 48px; }
  .how .section-intro,
  .trust-intro { max-width: 760px; }
  .discover-layout { grid-template-columns: 1fr; }
  .detail-panel { position: static; min-height: 0; }
  .swipe-layout { grid-template-columns: 1fr; }
  .swipe-context { display: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .company-swipe-builder { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; }
  .messages-layout { grid-template-columns: 280px minmax(0, 1fr); }
  .conversation-context { display: none; }
  .network-layout { grid-template-columns: 1fr; }
  .network-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-layout { grid-template-columns: 1fr; }
  .schedule-integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-integrations > div:first-child, .schedule-integrations .integration-coming { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 70px; scroll-snap-type: y proximity; }
  .landing-panel { min-height: auto; scroll-margin-top: 66px; }
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 66px; padding: 10px 14px; }
  .site-nav { display: none; }
  .landing-pager { display: none; }
  .header-action { min-height: 42px; padding: 8px 12px; }
  .hero {
    width: 100%;
    margin-inline: 0;
    min-height: auto;
    padding: 34px 14px 0;
    background-position: 66% center;
  }
  .hero::before { background: rgba(8, 20, 13, .64); }
  .hero-main { width: 100%; gap: 28px; padding: 0 6px 34px; }
  .hero-copy { width: min(100%, 530px); padding: 4px 0 0; }
  .hero-copy h1 { font-size: 46px; line-height: 1.12; }
  .hero-lead { font-size: 18px; }
  .preview-body h2 { font-size: 32px; }
  .section-intro h2 { font-size: 36px; }
  .onboarding-intro h1 { font-size: 36px; }
  .deck-finished h2 { font-size: 34px; }
  .match-dialog h2 { font-size: 32px; }
  .detail-content h2 { font-size: 34px; }
  .hero-title-continuation { display: block; padding-top: 0.12em; }
  .hero-actions { display: grid; }
  .hero-product { width: 100%; justify-self: stretch; box-shadow: 0 12px 30px rgba(30, 49, 39, .09); }
  .hero-product { min-height: 0; grid-template-columns: 1fr; }
  .hero-product-nav { min-height: 56px; padding: 8px 12px; flex-direction: row; justify-content: flex-start; border-right: 0; border-bottom: 1px solid #e0e4e1; }
  .hero-product-nav::before { content: "Hierly"; margin-right: auto; color: #315843; font-size: 13px; font-weight: 750; }
  .hero-product-nav > span { width: 38px; height: 38px; }
  .hero-job-preview { padding: 20px; }
  .hero-job-heading { padding: 24px 0 18px; }
  .hero-job-heading h2 { font-size: 30px; }
  .hero-job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-job-facts > div:last-child { display: none; }
  .hero-value-rail { width: calc(100% + 28px); margin-left: -14px; }
  .hero-value-rail > div { padding: 13px 8px 14px; text-align: center; }
  .hero-value-rail strong { font-size: 11px; }
  .hero-value-rail span { display: none; }
  .preview-head { grid-template-columns: 46px 1fr; }
  .preview-head .fit-label { grid-column: 1 / -1; }
  .principles-grid { grid-template-columns: 1fr; }
  .audience-section,
  .how,
  .principles,
  .role-section { padding-block: 70px; }
  .audience-layout { gap: 36px; }
  .audience-paths { grid-template-columns: 1fr; }
  .audience-path { min-height: 0; padding: 30px 20px; grid-template-columns: 40px minmax(0, 1fr); gap: 20px 12px; }
  .audience-path + .audience-path { border-top: 1px solid rgba(59, 70, 63, .23); }
  .audience-path h3 { font-size: 27px; }
  .how-layout,
  .trust-layout { gap: 36px; }
  .principles article { min-height: 118px; }
  .steps li { grid-template-columns: 42px 1fr; padding-block: 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .footer-statement { font-size: 36px; }
  .footer-wordmark { margin-top: 50px; font-size: 64px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .form-grid,
  .profile-form { grid-template-columns: 1fr; }
  .form-grid .wide,
  .profile-form .wide { grid-column: auto; }
  .profile-editor-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-editor-tabs button { padding-inline: 8px; font-size: 12px; }
  .worker-swipe-builder { grid-template-columns: 1fr; }
  .worker-swipe-preview { position: relative; top: auto; min-height: 520px; }
  .file-field { grid-template-columns: 1fr; }
  .onboarding { min-height: 100dvh; padding: 0; place-items: stretch; }
  .onboarding-card { width: 100%; min-height: 100dvh; border: 0; border-radius: 0; padding: max(22px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom)); box-shadow: none; }
  .onboarding-intro { margin-top: clamp(54px, 12vh, 100px); }
  .app { display: block; padding-bottom: 0; }
  .app-sidebar {
    position: fixed;
    z-index: 42;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(82vw, 310px);
    height: 100dvh;
    padding: 18px 14px;
    border-top: 0;
    border-right: 1px solid var(--line);
    box-shadow: 18px 0 55px rgba(10, 25, 19, .18);
    transform: translate3d(-105%, 0, 0);
    transition: transform 220ms cubic-bezier(.2,.72,.25,1);
  }
  .app-sidebar.mobile-open { transform: translate3d(0, 0, 0); }
  .sidebar-head { display: flex; }
  .sidebar-foot { display: block; }
  .app-nav { height: auto; display: grid; grid-template-columns: 1fr; gap: 5px; }
  .nav-button { min-height: 50px; padding: 10px 12px; grid-template-columns: 24px 1fr; justify-items: start; align-content: center; gap: 10px; font-size: 14px; text-align: left; }
  .nav-button svg { width: 20px; height: 20px; }
  .nav-button[data-view="post"] .nav-label-full { display: block; }
  .nav-button[data-view="post"] .nav-label-mobile { display: none; }
  .mobile-nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-strong); color: var(--ink); display: grid; place-items: center; }
  .mobile-nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; }
  .mobile-nav-backdrop { position: fixed; z-index: 41; inset: 0; border: 0; background: rgba(11,24,19,.46); opacity: 0; pointer-events: none; display: block; transition: opacity 180ms ease; }
  .mobile-nav-backdrop.visible { opacity: 1; pointer-events: auto; }
  body.mobile-nav-open { overflow: hidden; }
  .app-workspace { padding: 18px 14px 28px; }
  .app-header { align-items: start; }
  .app-title { min-width: 0; margin-right: auto; }
  .header-tools { align-items: center; flex-direction: row; gap: 8px; }
  .profile-chip div { display: none; }
  #discover-view.active { display: flex; flex-direction: column; }
  #discover-view.active .swipe-layout { order: 1; }
  #discover-view.active .discover-toolbar { order: 2; }
  #discover-view.active .filter-status-bar { order: 3; }
  .discover-toolbar { align-items: stretch; flex-direction: column; }
  .filter-row { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-button { flex: 0 0 auto; }
  .filter-status-bar { align-items: flex-start; flex-direction: column-reverse; }
  .filter-status-actions { width: 100%; justify-content: space-between; }
  .swipe-deck,
  .swipe-card,
  .swipe-empty { min-height: 590px; }
  .swipe-card { grid-template-rows: 92px minmax(0, 1fr); }
  .swipe-card-head .company-logo { width: 58px; height: 58px; }
  .swipe-card-body { padding: 16px 22px 112px; }
  .swipe-card-body h2 { font-size: 40px; }
  .swipe-card-summary { margin-top: 16px; display: -webkit-box; overflow: hidden; font-size: 15px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .swipe-card-tags { margin-top: 18px; }
  .swipe-card-tags span:nth-child(n+4) { display: none; }
  .swipe-card-more { display: none; }
  .swipe-action { min-width: 76px; }
  .swipe-action > span { width: 56px; height: 56px; }
  .swipe-action small { font-size: 11px; }
  .detail-cover { min-height: 108px; }
  .detail-dialog-hero h2 { font-size: 42px; }
  .saved-grid { grid-template-columns: 1fr; }
  .saved-primary-actions { grid-template-columns: 1fr; }
  .saved-compare-bar { align-items: stretch; flex-direction: column; }
  .saved-compare-bar > div:last-child { display: grid; grid-template-columns: auto 1fr; }
  .saved-compare-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; }
  .saved-compare-head { min-height: 88px; padding: 15px 14px; }
  .saved-compare-head h2 { font-size: 24px; }
  .saved-compare-head p:last-child { font-size: 11px; }
  .saved-comparison-scroll { max-height: calc(100dvh - 88px); }
  .comparison-grid { grid-template-columns: 112px repeat(var(--compare-columns), 224px); }
  .comparison-row-label, .comparison-cell, .comparison-item-head { padding: 12px; }
  .comparison-item-head { min-height: 158px; }
  .comparison-recommendation { left: 0; width: 100%; min-width: 0; grid-template-columns: 1fr; gap: 12px; padding: 17px 14px; }
  .messages-toolbar { min-height: 66px; padding: 11px 13px; }
  .messages-toolbar .button { min-height: 38px; padding: 7px 10px; font-size: 12px; }
  .messages-layout { min-height: calc(100vh - 220px); grid-template-columns: 1fr; }
  .thread-column { border-right: 0; }
  .thread-list { max-height: 250px; overflow: auto; border-bottom: 1px solid var(--line); }
  .conversation { min-height: 500px; }
  .message { max-width: 86%; }
  .composer-form { position: relative; grid-template-columns: auto minmax(0, 1fr); }
  .composer-attach-desktop { display: none; }
  .mobile-composer-trigger { display: grid; place-items: center; font-size: 23px; line-height: 1; transition: transform 160ms ease, border-color 160ms ease; }
  .mobile-composer-trigger[aria-expanded="true"] { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
  .mobile-composer-actions:not(.hidden) { position: absolute; z-index: 8; left: 12px; right: 12px; bottom: calc(100% + 8px); display: grid; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; box-shadow: 0 18px 42px rgba(12, 28, 21, .2); }
  .mobile-composer-actions button { width: 100%; min-height: 58px; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 9px 12px; color: var(--ink); text-align: left; }
  .mobile-composer-actions button:last-child { border-bottom: 0; }
  .mobile-composer-actions button:hover { background: var(--surface); }
  .mobile-composer-actions svg { width: 21px; height: 21px; justify-self: center; stroke: var(--accent-dark); }
  .mobile-composer-actions span { min-width: 0; display: grid; gap: 2px; }
  .mobile-composer-actions strong { font-size: 13px; }
  .mobile-composer-actions small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-composer-actions .mobile-composer-report svg { stroke: var(--danger); }
  .mobile-composer-actions .mobile-composer-report strong { color: var(--danger); }
  .composer-send { grid-column: 2; width: 100%; }
  .network-header { align-items: stretch; flex-direction: column; gap: 15px; }
  .network-header h2 { font-size: 25px; }
  .network-tabs { gap: 18px; overflow-x: auto; }
  .network-layout { grid-template-columns: 1fr; }
  .network-main { padding: 15px; }
  .people-grid { grid-template-columns: 1fr; }
  .network-side { grid-template-columns: 1fr; }
  .group-card { grid-template-columns: 48px minmax(0, 1fr); }
  .group-card .button { grid-column: 1 / -1; width: 100%; }
  .schedule-page-head { align-items: stretch; flex-direction: column; }
  .schedule-page-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .schedule-page-actions .button { width: 100%; }
  .schedule-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schedule-summary article { min-height: 76px; padding: 12px; }
  .schedule-summary strong { font-size: 21px; }
  .schedule-board { padding: 14px; }
  .schedule-board-head { align-items: stretch; flex-direction: column; }
  .schedule-board-head .button { width: 100%; }
  .schedule-week { grid-template-columns: repeat(7, 66px); }
  .schedule-shift-card { grid-template-columns: 54px minmax(0, 1fr); }
  .schedule-shift-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .schedule-integrations { grid-template-columns: 1fr; padding: 16px; }
  .schedule-integrations > div:first-child, .schedule-integrations .integration-coming { grid-column: auto; }
  .schedule-drawer { width: 100%; height: min(82vh, 720px); max-height: 82vh; margin: auto 0 0; border-top: 1px solid var(--line); border-left: 0; border-radius: 8px 8px 0 0; }
  .schedule-drawer[open] { animation: drawer-up 200ms ease both; }
  @keyframes drawer-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .shift-form-grid { grid-template-columns: 1fr; }
  .profile-summary { align-items: start; }
  .profile-fields { grid-template-columns: 1fr; }
  .profile-fields .wide { grid-column: auto; }
  .profile-section-heading { align-items: start; flex-direction: column; gap: 4px; }
  .swipe-editor-meta { width: 100%; justify-content: space-between; }
  .profile-section-heading .button { width: 100%; }
  .employment-reference header { flex-direction: column; gap: 8px; }
  .profile-completeness > div:first-child { flex-direction: column; gap: 3px; }
  .profile-completeness > div:first-child > span { text-align: left; }
  .completion-list { grid-template-columns: 1fr; }
  .profile-photo-editor { grid-template-columns: 88px minmax(0, 1fr); align-items: start; }
  .company-cover-preview { min-height: 170px; }
  .company-brand-row { grid-template-columns: 88px minmax(0, 1fr); padding-inline: 16px; }
  .company-logo-preview { width: 88px; height: 88px; min-width: 88px; }
  .company-brand-actions { grid-column: 1 / -1; max-width: none; padding-top: 0; justify-content: flex-start; }
  .company-brand-note { grid-column: 1 / -1; margin-top: 0; }
  .company-swipe-image-toolbar { align-items: stretch; flex-direction: column; }
  .company-swipe-image-toolbar > div:last-child { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .company-swipe-image-toolbar .button { width: 100%; min-width: 0; }
  .profile-photo-preview { width: 88px; height: 88px; min-width: 88px; }
  .availability-grid { min-width: 600px; }
  .availability-panel { overflow-x: auto; }
  .detail-facts { grid-template-columns: 1fr; }
  .filter-dialog { width: 100%; max-width: none; max-height: 96vh; margin: auto 0 0; border-radius: 8px 8px 0 0; }
  .advanced-filter-fields { grid-template-columns: 1fr; padding: 14px; }
  .saved-searches-panel { grid-template-columns: 1fr; padding: 15px; }
  .filter-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 14px; }
  .filter-dialog-actions .button-primary { grid-column: 1 / -1; }
  .dialog-actions { display: grid; }
  .dialog-actions .button { width: 100%; }
  .job-form-grid { grid-template-columns: 1fr; }
  .job-form-grid .wide { grid-column: auto; }
  .posted-jobs-head,
  .posted-job-card { grid-template-columns: 1fr; }
  .posted-jobs-head { align-items: stretch; }
  .posted-job-actions { justify-content: flex-start; }
  .job-memory-bar { grid-template-columns: minmax(0, 1fr); align-items: stretch; padding: 14px; }
  .job-memory-bar .button { width: 100%; }
  .post-submit-row { display: grid; }
  .detail-dialog-hero { min-height: 260px; padding: 24px; }
  .detail-dialog-body { padding: 22px; }
  .detail-dialog-actions,
  .match-dialog-actions { grid-template-columns: 1fr; display: grid; }
  .candidate-cv-heading { align-items: stretch; flex-direction: column; }
  .workflow-form-grid { grid-template-columns: 1fr; }
  .workflow-form-grid .wide { grid-column: auto; }
  .detail-dialog-actions .button,
  .match-dialog-actions .button { width: 100%; }
  .deck-finished-actions { display: grid; }
}

/* Employer interest inbox: spacious, readable and consistent with the Hierly workspace. */
.interest-inbox {
  width: 100%;
  padding: clamp(22px, 3vw, 38px);
}

.interest-inbox-intro {
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(62, 76, 68, .16);
}

.interest-inbox-intro .eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: 0;
}

.interest-inbox-intro > div > p:last-child {
  max-width: 760px;
  margin-top: 7px;
  color: #536159;
  font-size: 15px;
  line-height: 1.5;
}

.interest-total {
  min-height: 40px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  background: #e2ebe5;
}

.interest-toolbar {
  margin-bottom: 18px;
  align-items: center;
  border: 1px solid rgba(62, 76, 68, .16);
  border-radius: 8px;
  background: rgba(255, 255, 252, .72);
  padding: 8px 10px 8px 16px;
}

.interest-toolbar > label {
  min-width: min(320px, 38vw);
  grid-template-columns: auto minmax(190px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #526159;
}

.interest-toolbar select {
  width: 100%;
  border-color: rgba(62, 76, 68, .24);
  border-radius: 7px;
  background-color: #fbfaf5;
}

.interest-status-tabs { gap: 4px; }

.interest-status-tabs button {
  min-height: 44px;
  border-bottom-width: 2px;
  padding-inline: 13px;
}

.interest-compare-bar {
  margin: 0 0 24px;
  border-color: rgba(62, 76, 68, .18);
  border-radius: 8px;
  background: #eef2ee;
  padding: 14px 16px;
}

.interest-compare-bar strong { font-size: 15px; }
.interest-compare-bar span { font-size: 12px; line-height: 1.45; }

.interest-list { gap: 32px; }

.interest-job-group > header {
  margin-bottom: 12px;
  align-items: center;
}

.interest-job-group > header h3 {
  margin-top: 3px;
  font-size: 24px;
  line-height: 1.2;
}

.interest-job-group > header > span {
  flex: 0 0 auto;
  border: 1px solid rgba(62, 76, 68, .18);
  border-radius: 6px;
  background: rgba(255, 255, 252, .66);
  padding: 6px 9px;
  color: #536159;
  font-weight: 700;
}

.interest-job-group > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.interest-card {
  min-height: 174px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(62, 76, 68, .18);
  border-radius: 8px;
  background: #fffef9;
  box-shadow: 0 9px 26px rgba(31, 45, 37, .06);
}

.interest-card:last-child { border-bottom: 1px solid rgba(62, 76, 68, .18); }

.interest-card-main {
  min-height: 172px;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 10px 14px;
  padding: 18px 16px;
  background: transparent;
}

.interest-avatar {
  width: 68px;
  height: 68px;
  min-width: 68px;
  grid-row: 1 / span 2;
}

.interest-card-copy { gap: 5px; }

.interest-card-top {
  align-items: start;
  flex-direction: column;
  gap: 2px;
}

.interest-card-top strong {
  font-size: 18px;
  line-height: 1.25;
}

.interest-role {
  color: #244a39;
  font-size: 14px;
  line-height: 1.35;
}

.interest-meta {
  font-size: 12px;
  line-height: 1.45;
}

.interest-skills { margin-top: 5px; row-gap: 6px; }

.interest-skills em {
  padding: 5px 7px;
  border-radius: 5px;
  background: #f0f3ef;
  line-height: 1.2;
}

.interest-card-status {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  border-radius: 5px;
}

.interest-compare-toggle {
  width: 70px;
  min-width: 70px;
  min-height: 100%;
  align-self: stretch;
  background: rgba(247, 248, 243, .8);
}

@media (max-width: 1120px) {
  .interest-job-group > div { grid-template-columns: 1fr; }
  .interest-card { min-height: 150px; }
  .interest-card-main { min-height: 148px; }
}

@media (max-width: 820px) {
  .interest-inbox {
    padding: 18px 14px max(24px, env(safe-area-inset-bottom));
    border-radius: 8px;
  }

  .interest-inbox-intro {
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .interest-inbox-intro > div > p:last-child {
    display: block;
    font-size: 13px;
    line-height: 1.45;
  }

  .interest-total { min-height: 36px; padding: 7px 9px; font-size: 12px; }

  .interest-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .interest-toolbar > label {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .interest-status-tabs {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .interest-status-tabs button {
    flex: 1 0 auto;
    justify-content: center;
    padding-inline: 9px;
  }

  .interest-compare-bar { gap: 12px; margin-bottom: 20px; }

  .interest-card { min-height: 0; }

  .interest-card-main {
    min-height: 168px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px 11px;
    padding: 14px 11px;
  }

  .interest-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .interest-card-top strong { font-size: 17px; }
  .interest-role { font-size: 13px; }
  .interest-skills em:nth-child(n+3) { display: none; }
  .interest-compare-toggle { width: 56px; min-width: 56px; }
}

@media (max-width: 430px) {
  .interest-inbox-intro { align-items: flex-start; flex-direction: column; }
  .interest-total { align-self: flex-start; }
  .interest-status-tabs { justify-content: flex-start; overflow-x: auto; }
  .interest-status-tabs button { flex: 0 0 auto; }
  .interest-job-group > header { align-items: flex-start; }
  .interest-job-group > header h3 { font-size: 21px; }
  .interest-card-main { grid-template-columns: 52px minmax(0, 1fr); }
  .interest-avatar { width: 52px; height: 52px; min-width: 52px; }
  .interest-compare-toggle { width: 52px; min-width: 52px; }
}

/* Structured employer job creation flow. */
.post-layout[data-employer-job-panel="create"] { max-width: 1240px; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 22px; }
.post-card { padding: clamp(22px, 3vw, 36px); }
.post-card > .view-intro { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(62,76,68,.16); }
.post-card > .view-intro h2 { margin: 3px 0 5px; font-size: 32px; }
.post-card > .view-intro > p:last-child { display: block; max-width: 680px; margin: 0; color: #5a6860; font-size: 14px; }
.job-memory-bar { margin-bottom: 30px; grid-template-columns: 1fr; align-items: center; gap: 12px; border: 1px solid rgba(62,76,68,.16); border-radius: 8px; background: #edf2ee; padding: 16px 18px; }
.job-memory-copy { min-width: 0; }
.job-memory-kicker { margin-bottom: 3px; color: var(--accent-dark) !important; font-size: 10px !important; font-weight: 800; text-transform: uppercase; }
.job-memory-actions { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 8px; }
.job-memory-actions label { min-width: 0; }
.job-memory-actions select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.job-memory-actions .button { min-height: 42px; padding: 8px 11px; font-size: 12px; white-space: nowrap; }
.job-form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.job-form-section { min-width: 0; margin: 0; border: 0; border-top: 1px solid rgba(62,76,68,.16); padding: 28px 0; }
.job-form-section:first-child { border-top: 0; padding-top: 0; }
.job-form-section legend { width: 100%; margin: 0 0 18px; padding: 0; display: flex; align-items: center; gap: 12px; }
.job-form-section legend > span:first-child { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #aebbb3; border-radius: 50%; background: #f8f8f3; color: #435149; font-size: 13px; font-weight: 800; }
.job-form-section.complete legend > span:first-child { border-color: var(--accent); background: var(--accent); color: #fff; }
.job-form-section legend > span:last-child { display: grid; }
.job-form-section legend strong { color: #26342d; font-size: 18px; }
.job-form-section legend small { margin-top: 1px; color: #68746d; font-size: 12px; }
.job-field-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.job-field-grid .wide { grid-column: 1 / -1; }
.job-field-grid label { min-width: 0; }
.job-field-grid textarea { min-height: 128px; }
.post-submit-row { margin-top: 4px; border-top: 1px solid rgba(62,76,68,.18); padding-top: 22px; }
.post-side { top: 84px; padding: 24px; }
.post-side h2 { margin: 4px 0 14px; font-size: 22px; }
.post-side > p:not(.eyebrow) { display: block; margin: 10px 0 0; color: #5d6962; font-size: 13px; line-height: 1.5; }
.job-progress-track { width: 100%; height: 7px; overflow: hidden; border-radius: 4px; background: #d9dfda; }
.job-progress-track span { width: 0; height: 100%; display: block; border-radius: inherit; background: var(--accent); transition: width 220ms ease; }
.job-progress-list { margin: 22px 0 0; padding: 0; display: grid; list-style: none; }
.job-progress-list li { min-height: 58px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; border-top: 1px solid rgba(62,76,68,.14); }
.job-progress-list li > span { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #b5c0b9; border-radius: 50%; color: #68756e; font-size: 11px; font-weight: 800; }
.job-progress-list li.complete > span { border-color: var(--accent); background: var(--accent); color: #fff; }
.job-progress-list li.complete > span::before { content: "✓"; }
.job-progress-list li.complete > span { font-size: 0; }
.job-progress-list div { min-width: 0; display: grid; }
.job-progress-list strong { font-size: 13px; }
.job-progress-list small { color: #6c7771; font-size: 11px; }
.post-side-existing { margin-top: 22px; border-top: 1px solid rgba(62,76,68,.18); padding-top: 18px; }
.post-side-existing h3 { margin: 0 0 10px; font-size: 14px; }
.post-side-existing .posted-job-card { padding: 12px 0; border: 0; border-top: 1px solid rgba(62,76,68,.14); border-radius: 0; background: transparent; }
.post-side-existing .posted-job-card:first-child { border-top: 0; }
.post-side-existing .posted-job-actions { display: none; }

@media (max-width: 1100px) {
  .post-layout[data-employer-job-panel="create"] { grid-template-columns: 1fr; }
  .post-side { position: static; }
  .job-progress-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .job-progress-list li { min-height: 76px; align-content: start; border: 1px solid rgba(62,76,68,.14); border-radius: 7px; padding: 10px; }
  .post-side-existing { display: none; }
}

@media (max-width: 820px) {
  .post-card { padding: 18px 14px; }
  .post-card > .view-intro h2 { font-size: 27px; }
  .job-memory-bar { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; padding: 14px; }
  .job-memory-actions { grid-template-columns: 1fr 1fr; }
  .job-memory-actions label { grid-column: 1 / -1; }
  .job-memory-actions .button { min-height: 44px; white-space: normal; }
  .job-field-grid { grid-template-columns: 1fr; }
  .job-field-grid .wide { grid-column: auto; }
  .job-form-section { padding-block: 23px; }
  .job-progress-list { grid-template-columns: 1fr 1fr; }
  .post-submit-row { position: static; align-items: stretch; flex-direction: column; padding: 18px 0 0; background: transparent; }
  .post-submit-row .button { width: 100%; }
}

@media (max-width: 430px) {
  .job-progress-list { grid-template-columns: 1fr; }
  .job-progress-list li { min-height: 58px; }
}

@media (max-width: 520px) {
  .hero {
    background-position: 68% center;
    background-size: cover;
  }
}

@media (max-width: 600px) {
  .onboarding-choices { grid-template-columns: 1fr; }
  .onboarding-field { min-height: 190px; }
  .onboarding-intro h1 { font-size: 36px; }
  .auth-dialog { width: 100%; max-width: none; max-height: 96vh; margin: auto 0 0; border-radius: 8px 8px 0 0; }
  .auth-dialog-head { padding: 20px 18px 15px; }
  .auth-dialog-head h2 { font-size: 25px; }
  .auth-role-choice { margin: 0 18px 16px; }
  .auth-form { padding-inline: 18px; }
  .auth-error { padding-inline: 18px; }
  .auth-security { padding-inline: 18px; }
  .account-dialog { width: 100%; max-width: none; max-height: 96vh; margin: auto 0 0; border-radius: 8px 8px 0 0; }
  .company-swipe-preview { min-height: 520px; }
  .company-swipe-body { padding: 28px 22px; }
  .company-swipe-body h2 { font-size: 34px; }
  .swipe-help-dialog { width: 100%; max-width: none; max-height: 96vh; margin: auto 0 0; border-radius: 8px 8px 0 0; }
  .swipe-help-head { padding: 20px 18px 16px; }
  .swipe-help-content { padding: 20px 18px max(24px, env(safe-area-inset-bottom)); }
  .account-dialog-head, .account-dialog-section { padding-inline: 18px; }
  .account-section-head { align-items: stretch; flex-direction: column; }
  .security-session-row { grid-template-columns: 1fr; }
  .security-session-row .button { width: 100%; }
  .account-danger-zone form { grid-template-columns: 1fr; }
  .app-workspace:has(#discover-view.active) { padding: max(10px, env(safe-area-inset-top)) 10px max(14px, env(safe-area-inset-bottom)); }
  .app-workspace:has(#discover-view.active) .app-header { min-height: 48px; margin-bottom: 9px; align-items: center; }
  .app-workspace:has(#discover-view.active) .app-header .app-title { min-width: 0; }
  .app-workspace:has(#discover-view.active) #app-context { display: none; }
  .app-workspace:has(#discover-view.active) .app-header h1 { margin: 0; overflow-wrap: anywhere; font-size: 27px; line-height: 1.05; }
  .app-workspace:has(#discover-view.active) .profile-chip { display: flex; }
  .discover-toolbar { margin: 20px 0 7px; gap: 7px; }
  .search-field input { min-height: 42px; padding: 8px 11px; font-size: 14px; }
  .filter-row { gap: 6px; padding: 0 0 3px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-button { min-height: 34px; padding: 6px 10px; font-size: 11px; white-space: nowrap; }
  .filter-status-bar { min-height: 28px; margin: 0 0 7px; gap: 5px; }
  .active-filter-chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .active-filter-chips::-webkit-scrollbar { display: none; }
  .active-filter-chip { flex: 0 0 auto; padding: 5px 7px; font-size: 10px; white-space: nowrap; }
  .filter-status-actions { min-height: 24px; }
  .filter-status-actions strong { font-size: 11px; }
  .swipe-layout { margin-inline: 0; gap: 0; }
  .swipe-stage { width: 100%; }
  .swipe-context { display: none; }
  .swipe-deck,
  .swipe-card,
  .swipe-empty { height: clamp(520px, calc(100dvh - 200px), 680px); min-height: 0; }
  .swipe-deck { width: min(100%, 430px); }
  .swipe-card,
  .swipe-empty { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; box-shadow: 0 14px 34px rgba(14, 29, 23, .2); }
  .swipe-card { grid-template-rows: 78px minmax(0, 1fr); }
  .swipe-card-head { padding: 15px; gap: 12px; }
  .swipe-card-head .company-logo { width: 50px; height: 50px; min-width: 50px; }
  .swipe-card-labels { max-width: 62%; }
  .swipe-card-head .status-label { max-width: 100%; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .swipe-card-head .source-label { padding: 4px 7px; font-size: 9px; }
  .swipe-card-body { padding: 12px 18px 96px; }
  .swipe-card-body h2 { margin: 5px 0 8px; font-size: 32px; line-height: 1.1; overflow-wrap: anywhere; }
  .swipe-card-subtitle { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.32; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .swipe-card-summary { margin-top: 10px; font-size: 13px; line-height: 1.38; -webkit-line-clamp: 2; }
  .decision-facts { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
  .decision-facts span { min-height: 34px; max-width: none; display: flex; align-items: center; overflow: hidden; padding: 5px 7px; font-size: 10px; line-height: 1.2; white-space: normal; }
  .decision-facts span:nth-child(n+3) { display: none; }
  .swipe-card-tags { display: none; }
  .swipe-card-next-content { right: 18px; bottom: 22px; left: 18px; }
  .swipe-card-next-content strong { font-size: 27px; }
  .swipe-actions { margin-top: -78px; gap: 8px; }
  .swipe-action { min-width: 70px; gap: 3px; }
  .swipe-action > span { width: 50px; height: 50px; border-radius: 8px; font-size: 25px; }
  .swipe-action small { font-size: 10px; }
  .swipe-hint { display: none; }
  .undo-button { margin-top: 5px; padding: 4px 2px; font-size: 11px; }
  .deck-finished { padding: 22px 16px; }
  .deck-finished h2 { font-size: 31px; }
  .swipe-card::before { transition: none; }
  .swipe-card:hover::before { transform: none; }
  .swipe-card.dragging { box-shadow: 0 18px 42px rgba(10, 24, 18, .24); }
  .swipe-card-head .status-label,
  .decision-facts span,
  .swipe-card-tags span { backdrop-filter: none; }
  .detail-dialog-hero { min-height: 250px; padding: 22px 18px; }
  .detail-dialog-hero h2 { font-size: 32px; line-height: 1.12; }
}

@media (max-width: 600px) and (max-height: 720px) {
  .swipe-card-summary { display: none; }
  .swipe-card-body h2 { font-size: 29px; }
}

@media (min-width: 601px) and (max-height: 800px) {
  .app-workspace:has(#discover-view.active) { padding-top: 16px; }
  .app-workspace:has(#discover-view.active) .app-header { min-height: 54px; margin-bottom: 12px; }
  .app-workspace:has(#discover-view.active) .discover-toolbar { margin-bottom: 9px; }
  .app-workspace:has(#discover-view.active) .filter-status-bar { margin-bottom: 8px; }
  .swipe-deck,
  .swipe-card,
  .swipe-empty { height: clamp(430px, calc(100dvh - 240px), 560px); min-height: 0; }
  .swipe-card-body { padding-bottom: 104px; }
  .swipe-card-summary { margin-top: 12px; }
  .swipe-card-tags { display: none; }
  .swipe-hint { display: none; }
}

@media (max-width: 460px) {
  .app-header h1 { font-size: 31px; }
  .schedule-trigger { width: 42px; min-height: 42px; justify-content: center; padding: 0; }
  .schedule-trigger > span { display: none; }
  .schedule-trigger i { top: 5px; right: 5px; }
  .schedule-summary { grid-template-columns: 1fr; }
  .schedule-summary article { min-height: 68px; }
  .schedule-shift-title { align-items: start; flex-direction: column; }
  .schedule-shift-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .schedule-shift-actions .button, .schedule-shift-actions .text-button { width: 100%; text-align: center; }
  .schedule-drawer-actions { display: grid; grid-template-columns: 1fr; }
  .profile-photo-editor { grid-template-columns: 1fr; }
  .company-cover-preview { min-height: 130px; padding: 16px; }
  .company-brand-row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 0 14px 16px; }
  .company-logo-preview { width: 72px; height: 72px; min-width: 72px; margin-top: -28px; }
  .company-brand-copy h3 { font-size: 19px; }
  .company-brand-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .company-brand-actions .button { width: 100%; min-width: 0; padding-inline: 8px; }
  .profile-photo-preview { width: 112px; height: 112px; min-width: 112px; justify-self: center; }
  .profile-photo-actions { display: grid; grid-template-columns: 1fr; }
  .profile-photo-actions .button { width: 100%; }
}

.nav-button { position: relative; }
.nav-button > svg { width: 24px; height: 24px; min-width: 24px; overflow: visible; stroke: currentColor; }
.nav-count {
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 800;
}
.nav-button:has(.nav-count) { grid-template-columns: 24px minmax(0, 1fr) auto; }
.interest-inbox { max-width: 1080px; margin: 0 auto; }
.interest-inbox-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.interest-inbox-intro > div { min-width: 0; }
.interest-inbox-intro h2 { display: none; }
.interest-inbox-intro > div > p:last-child { max-width: 680px; margin: 5px 0 0; color: var(--muted); }
.interest-total { flex: 0 0 auto; border: 1px solid #bfd0c5; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark); padding: 8px 11px; font-size: 13px; font-weight: 800; }
.interest-toolbar { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.interest-toolbar > label { min-width: 230px; display: grid; gap: 6px; padding-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 750; }
.interest-toolbar select { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); padding: 8px 34px 8px 11px; }
.interest-compare-bar { margin: -8px 0 18px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 7px; background: #fff; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.interest-compare-bar > div:first-child { min-width: 0; display: grid; gap: 2px; }
.interest-compare-bar strong { font-size: 14px; }
.interest-compare-bar span { color: var(--muted); font-size: 11px; }
.interest-compare-bar > div:last-child { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.interest-status-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.interest-status-tabs::-webkit-scrollbar { display: none; }
.interest-status-tabs button { min-height: 48px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); padding: 10px 15px; display: flex; align-items: center; gap: 7px; font-weight: 750; white-space: nowrap; }
.interest-status-tabs button span { min-width: 22px; border-radius: 11px; background: #edf1ef; padding: 3px 6px; color: var(--muted); font-size: 11px; }
.interest-status-tabs button.active { border-bottom-color: var(--accent); color: var(--ink); }
.interest-status-tabs button.active span { background: var(--accent-soft); color: var(--accent-dark); }
.interest-list { display: grid; gap: 24px; }
.interest-loading { min-height: 180px; display: grid; place-items: center; color: var(--muted); }
.interest-job-group > header { margin-bottom: 8px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.interest-job-group > header h3 { margin: 2px 0 0; font-size: 21px; }
.interest-job-group > header > span { color: var(--muted); font-size: 12px; }
.interest-job-group > div { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.interest-card { min-width: 0; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.interest-card:last-child { border-bottom: 0; }
.interest-compare-toggle { width: 66px; min-width: 66px; min-height: 68px; align-self: center; border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; align-content: center; gap: 4px; }
.interest-compare-toggle span { width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 4px; display: grid; place-items: center; font-size: 14px; font-weight: 850; }
.interest-compare-toggle small { font-size: 10px; font-weight: 750; }
.interest-compare-toggle:hover, .interest-compare-toggle.active { background: var(--accent-soft); color: var(--accent-dark); }
.interest-compare-toggle.active span { border-color: var(--accent); background: var(--accent); color: #fff; }
.interest-card-main { min-width: 0; min-height: 112px; flex: 1; border: 0; background: #fff; color: var(--ink); padding: 16px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; text-align: left; transition: background 150ms ease; }
.interest-card-main:hover { background: #f7f9f8; }
.interest-avatar { width: 72px; height: 72px; min-width: 72px; border: 1px solid var(--line); border-radius: 50%; background: #edf2ef; display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.interest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.interest-avatar svg { width: 30px; height: 30px; stroke: currentColor; }
.interest-card-copy { min-width: 0; display: grid; gap: 4px; }
.interest-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.interest-card-top strong { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.interest-card-top small, .interest-meta { color: var(--muted); font-size: 12px; }
.interest-role { overflow: hidden; color: var(--accent-dark); font-size: 14px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.interest-skills { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 5px; }
.interest-skills em { border: 1px solid #cbd8d3; border-radius: 4px; background: #f4f7f5; padding: 4px 6px; color: #42534b; font-size: 10px; font-style: normal; font-weight: 700; }
.interest-card-status { flex: 0 0 auto; border-radius: 5px; padding: 6px 8px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.interest-card-status.pending { background: var(--accent-soft); color: var(--accent-dark); }
.interest-card-status.invited { background: #e6f2ec; color: #1d6b52; }
.interest-card-status.dismissed { background: #ecefed; color: #68756f; }
.interest-restore { margin-right: 14px; min-height: 44px; }
.candidate-profile-page { max-width: 1120px; margin: 0 auto; }
.candidate-profile-back { min-height: 44px; border: 0; background: transparent; color: var(--accent-dark); padding: 8px 0; font-weight: 750; }
.employer-candidate-profile { margin-top: 8px; }
.candidate-profile-cover { min-height: 260px; border-radius: 8px 8px 0 0; background: #24352e; background-position: center; background-size: cover; position: relative; overflow: hidden; }
.candidate-profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,25,19,.72), rgba(10,25,19,.05) 65%); }
.candidate-profile-cover > div { position: absolute; z-index: 1; right: 28px; bottom: 24px; left: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.candidate-profile-avatar { width: 116px; height: 116px; min-width: 116px; border: 4px solid #fff; border-radius: 50%; background: #eef3f0; display: grid; place-items: center; overflow: hidden; color: var(--muted); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.candidate-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.candidate-profile-avatar svg { width: 42px; height: 42px; stroke: currentColor; }
.candidate-profile-signal { max-width: 420px; border: 1px solid rgba(255,255,255,.32); border-radius: 5px; background: rgba(255,255,255,.92); color: var(--ink); padding: 8px 11px; font-size: 12px; font-weight: 800; }
.candidate-profile-heading { border: 1px solid var(--line); border-top: 0; background: #fff; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.candidate-profile-heading h2 { margin: 2px 0 4px; font-size: 32px; }
.candidate-profile-heading p { margin: 0; color: var(--muted); }
.candidate-profile-layout { margin: 22px 0 104px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 22px; align-items: start; }
.candidate-profile-layout main, .candidate-profile-layout aside { display: grid; gap: 18px; }
.candidate-profile-layout section { border-bottom: 1px solid var(--line); background: #fff; padding: 22px; }
.candidate-profile-layout aside section { border: 1px solid var(--line); border-radius: 8px; }
.candidate-profile-layout h3 { margin: 0 0 12px; font-size: 17px; }
.candidate-profile-layout p { margin: 0; color: #4f5d56; line-height: 1.65; }
.candidate-profile-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.candidate-profile-tags span { border: 1px solid #bfd0c5; border-radius: 5px; background: var(--accent-soft); color: var(--accent-dark); padding: 7px 9px; font-size: 12px; font-weight: 750; }
.candidate-profile-facts { margin: 0; display: grid; }
.candidate-profile-facts div { border-bottom: 1px solid var(--line); padding: 10px 0; }
.candidate-profile-facts div:last-child { border-bottom: 0; }
.candidate-profile-facts dt { color: var(--muted); font-size: 11px; font-weight: 750; }
.candidate-profile-facts dd { margin: 3px 0 0; color: var(--ink); font-size: 14px; }
.candidate-verification p { margin: 8px 0; display: flex; gap: 9px; }
.candidate-verification p span { color: #1d6b52; font-weight: 900; }
.candidate-reference { border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.candidate-reference header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.candidate-reference header span { color: #1d6b52; font-size: 11px; font-weight: 800; }
.candidate-reference blockquote { margin: 12px 0 0; color: #35453d; font-style: normal; line-height: 1.6; }
.candidate-decision-bar { position: sticky; z-index: 9; bottom: 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 16px 42px rgba(13,31,23,.16); padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; backdrop-filter: blur(12px); }
.candidate-decision-bar > div:first-child { min-width: 0; display: grid; gap: 3px; }
.candidate-decision-bar > div:first-child span { color: var(--muted); font-size: 12px; }
.candidate-decision-bar > div:nth-child(2) { display: flex; gap: 8px; }
.candidate-decision-bar > small { grid-column: 1 / -1; color: var(--muted); }

@media (max-width: 900px) {
  .candidate-profile-layout { grid-template-columns: 1fr; }
  .candidate-profile-layout aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-profile-layout aside section:last-child { grid-column: 1 / -1; }
  .candidate-decision-bar { position: static; margin-bottom: 24px; grid-template-columns: 1fr; }
  .candidate-decision-bar > div:nth-child(2) { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .app-workspace:has(#interests-view.active) { padding: max(12px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom)); }
  .interest-inbox-intro { align-items: start; }
  .interest-toolbar { align-items: stretch; flex-direction: column-reverse; gap: 4px; }
  .interest-toolbar > label { min-width: 0; padding-bottom: 6px; }
  .interest-compare-bar { margin-top: 0; align-items: stretch; flex-direction: column; }
  .interest-compare-bar > div:last-child { display: grid; grid-template-columns: auto 1fr; }
  .interest-status-tabs { width: calc(100% + 24px); margin-left: -12px; padding: 0 12px; }
  .interest-status-tabs button { min-height: 44px; padding-inline: 11px; }
  .interest-card { align-items: stretch; }
  .interest-compare-toggle { width: 58px; min-width: 58px; min-height: 100%; }
  .interest-card-main { min-height: 128px; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 12px; }
  .interest-avatar { width: 58px; height: 58px; min-width: 58px; }
  .interest-card-status { grid-column: 2; justify-self: start; }
  .interest-card-top { align-items: start; flex-direction: column; gap: 2px; }
  .interest-card-top strong, .interest-role { white-space: normal; }
  .interest-skills em:nth-child(n+3) { display: none; }
  .interest-restore { align-self: center; margin: 10px 10px 10px 0; padding-inline: 10px; }
  .candidate-profile-back { width: 100%; text-align: left; }
  .candidate-profile-cover { min-height: 220px; border-radius: 6px 6px 0 0; }
  .candidate-profile-cover > div { right: 16px; bottom: 16px; left: 16px; align-items: start; flex-direction: column-reverse; gap: 10px; }
  .candidate-profile-avatar { width: 88px; height: 88px; min-width: 88px; }
  .candidate-profile-signal { max-width: 100%; }
  .candidate-profile-heading { padding: 18px 16px; align-items: start; flex-direction: column; gap: 12px; }
  .candidate-profile-heading h2 { font-size: 27px; }
  .candidate-profile-layout { margin-top: 12px; margin-bottom: 18px; gap: 12px; }
  .candidate-profile-layout section { padding: 18px 16px; }
  .candidate-profile-layout aside { grid-template-columns: 1fr; }
  .candidate-profile-layout aside section:last-child { grid-column: auto; }
  .candidate-decision-bar { padding: 14px 12px; }
  .candidate-decision-bar > div:nth-child(2) { display: grid; grid-template-columns: 1fr; }
  .candidate-decision-bar .button { width: 100%; min-height: 44px; }
}

/* Restrained product UI: neutral typography, compact geometry and quiet surfaces. */
body * { letter-spacing: 0 !important; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; letter-spacing: 0; }

button:not(.icon-button):not(.composer-icon):not(.swipe-action),
input,
select,
textarea { border-radius: 4px !important; }

.preview-card,
.role-option,
.onboarding-card,
.swipe-card,
.swipe-empty,
.swipe-context,
.detail-dialog,
.match-dialog,
.result-card,
.detail-panel,
.saved-card,
.saved-compare-dialog,
.schedule-board,
.schedule-integrations,
.messages-layout,
.network-main,
.network-side > section,
.trust-card,
.company-brand-section,
.worker-swipe-preview,
.company-swipe-preview,
.company-swipe-guidance,
.filter-dialog,
.candidate-profile-cover,
.candidate-profile-layout aside section,
.candidate-reference,
.candidate-decision-bar,
.interest-job-group > div,
.interest-compare-bar { border-radius: 4px; }

.preview-card,
.onboarding-card,
.swipe-context,
.detail-panel,
.saved-card,
.messages-layout,
.network-main,
.network-side > section,
.trust-card,
.candidate-decision-bar { box-shadow: none; }

.app-sidebar { background: #fff; }
.app-workspace { padding-top: 22px; }
.app-view.view-enter { animation: none; }
.profile-chip:hover { background: #eef1f3; }
.mobile-nav-toggle { border-radius: 4px; background: #fff; }
.avatar { background-color: #eef1f3; color: #52616c; }

.filter-button,
.active-filter-chip,
.fit-label,
.status-label,
.source-label,
.saved-facts span,
.detail-tags span,
.detail-dialog-tags span,
.candidate-profile-tags span,
.interest-skills em,
.interest-card-status { border-radius: 3px; }

.filter-button { background: #fff; font-weight: 600; }
.filter-button.active { border-color: #8eaa99; background: var(--accent-soft); color: var(--accent-dark); }
.active-filter-chip { border-color: #c4d1c9; background: #edf1ef; color: var(--accent-dark); }

.swipe-card,
.swipe-empty { box-shadow: 0 8px 24px rgba(27, 39, 47, .16); }
.swipe-card:hover::before { transform: none; }
.swipe-action > span { border-radius: 4px; box-shadow: 0 2px 7px rgba(0,0,0,.2); }
.swipe-action > span svg { width: 27px; height: 27px; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.35; stroke-linecap: round; }
.swipe-action:hover > span { transform: none; border-color: #fff; }
.swipe-stamp { border-radius: 3px; }
.detail-dialog,
.match-dialog,
.filter-dialog,
.saved-compare-dialog { box-shadow: 0 16px 46px rgba(25, 36, 43, .22); }

.interest-total { border-color: #c4d1c9; border-radius: 3px; background: #edf1ef; color: var(--accent-dark); font-weight: 650; }
.interest-compare-bar { border-left: 1px solid var(--line); background: #f8f9fa; }
.interest-compare-bar strong { font-weight: 650; }
.interest-status-tabs button { font-weight: 600; }
.interest-status-tabs button span { border-radius: 3px; background: #eef0f2; }
.interest-status-tabs button.active { border-bottom-color: var(--accent-dark); color: var(--ink); }
.interest-status-tabs button.active span { background: var(--accent-soft); color: var(--accent-dark); }
.interest-card-main { transition: background-color 100ms ease; }
.interest-card-main:hover { background: #f6f8f9; }
.interest-compare-toggle { color: #65717b; }
.interest-compare-toggle:hover,
.interest-compare-toggle.active { background: var(--accent-soft); color: var(--accent-dark); }
.interest-compare-toggle.active span { border-color: var(--accent); background: var(--accent); }
.candidate-profile-avatar { box-shadow: 0 3px 12px rgba(25,36,43,.16); }
.candidate-decision-bar { bottom: 12px; background: #fff; backdrop-filter: none; }

.saved-compare-bar { border-left-width: 1px; border-radius: 4px; background: #f8f9fa; }
.comparison-item-head,
.comparison-cell,
.comparison-row-label { background: #fff; }
.comparison-row-label { color: #58636d; font-weight: 650; }

.eyebrow,
.role-kicker,
.swipe-card-next-content small,
.swipe-card-body .eyebrow { text-transform: none; }

.worker-swipe-preview,
.company-swipe-preview {
  box-sizing: border-box;
  width: min(100%, 420px);
  min-height: 0;
  aspect-ratio: 2 / 3;
  justify-self: center;
}

@media (max-width: 600px) {
  .app-workspace { padding-top: max(12px, env(safe-area-inset-top)); }
  .app-header h1 { font-size: 30px; }
  .interest-inbox-intro h2 { font-size: 26px; }
  .interest-compare-bar { background: #fff; }
  .profile-summary { flex-wrap: wrap; }
  .profile-ai-strip { align-items: stretch; flex-direction: column; gap: 12px; }
  .profile-ai-button { width: 100%; }
  .ai-assistant-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .ai-assistant-head { padding: 20px 18px 16px; }
  .ai-assistant-head h2 { font-size: 24px; }
  .ai-assistant-body { min-height: 0; padding: 22px 18px; }
  .ai-answer-tools { align-items: stretch; flex-direction: column; }
  .ai-voice-button { align-self: flex-start; }
  .ai-completion-submit { width: 100%; }
  .ai-assistant-actions { position: sticky; bottom: 0; background: #fff; padding: 14px 18px; }
  .ai-assistant-actions .button { min-height: 48px; }
  .ai-assistant-privacy { padding-inline: 18px; }
}

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

/* Quiet product shell: keep advanced features available without presenting them all at once. */
body { background: #fff; }
.app { grid-template-columns: 248px minmax(0, 1fr); background: #fff; }
.app-sidebar { padding: 24px 16px; background: #fff; }
.sidebar-head { padding-bottom: 30px; }
.sidebar-foot p { display: none; }
.sidebar-foot { padding-top: 12px; }
.nav-button { min-height: 52px; border-radius: 7px !important; padding-inline: 14px; color: #4d555c; font-size: 14px; }
.nav-button:hover { background: #f5f6f7; }
.nav-button.active { background: #eef3f0; color: #173d2b; font-weight: 700; }
.app-workspace { max-width: 1440px; margin-inline: auto; padding: 22px clamp(24px, 4vw, 56px) 40px; }
.app-header { min-height: 62px; margin-bottom: 18px; border-bottom: 1px solid #eceff1; }
.app-header h1 { margin-top: 0; font-size: 30px; font-weight: 680; }
.app-title .eyebrow { display: none; }
.profile-chip span:not(.avatar) { font-size: 11px; }

.discover-toolbar { margin-bottom: 10px; display: grid; grid-template-columns: minmax(260px, 1fr) auto; }
.search-field { width: 100%; }
.search-field input { min-height: 44px; background: #f6f7f8; }
.filter-button { min-height: 36px; padding: 7px 10px; }
.filter-status-bar { margin: 0 0 10px; }
.swipe-layout { grid-template-columns: minmax(420px, 680px) minmax(280px, 340px); justify-content: center; gap: 24px; }
.swipe-deck { height: clamp(540px, calc(100dvh - 250px), 720px); }
.swipe-actions { margin-top: 12px; }
.undo-button { margin-top: 4px; }

.view-intro > p,
.interest-inbox-intro > div > p:last-child,
.network-header p:not(.eyebrow),
.post-card > .view-intro > p,
.post-side > p,
.post-side > .eyebrow,
.messages-toolbar .eyebrow { display: none; }
.view-intro h2,
.network-header h2 { margin-top: 0; font-size: 27px; }

.profile-layout { grid-template-columns: minmax(0, 860px) minmax(260px, 320px); justify-content: center; gap: 24px; }
.profile-card,
.trust-card,
.account-data-card,
.preference-reset-card { border-color: #e4e7ea; }
.profile-card { padding: clamp(22px, 3vw, 30px); }
.profile-summary { margin-bottom: 22px; }
.profile-summary h2 { font-size: 26px; }
.profile-form-section { padding-top: 28px; }
.profile-section-heading { margin-bottom: 14px; align-items: center; }
.profile-section-heading h3 { font-size: 19px; }
.profile-section-heading > span { display: none; }
.profile-fields { gap: 16px 14px; }
.profile-fields small { display: none; margin-top: 2px; font-size: 11px; line-height: 1.4; }
.profile-fields label:focus-within small { display: block; }
.candidate-intro-field textarea { min-height: 148px; line-height: 1.55; }
.profile-fields .candidate-intro-field small { display: block; max-width: 68ch; color: #56635d; font-size: 12px; }
.candidate-intro-field small strong { display: block; margin-bottom: 3px; color: var(--ink); }
.profile-completeness { border: 0; border-radius: 7px; background: #f3f6f4; padding: 16px; }
.profile-completeness > div:first-child { align-items: end; }
.profile-completeness > div:first-child > span { font-size: 12px; }
.profile-completeness strong { font-size: 19px; }
.completion-track { height: 5px; background: #dfe6e2; }
.completion-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.completion-item { min-height: 44px; border-color: transparent; background: #fff; padding: 9px 10px; align-items: center; }
.completion-item strong { font-size: 12px; }
.completion-icon { border: 0; color: var(--accent-dark); }
.profile-reassurance { margin-block: 0 14px; color: var(--muted); font-size: 12px; }

.worker-cv-builder { display: grid; gap: 18px; }
.cv-builder-heading { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.cv-builder-heading h3 { margin: 2px 0 6px; font-size: 22px; }
.cv-beta-badge { display: inline-flex; align-items: center; min-height: 22px; margin-left: 7px; padding: 3px 7px; border: 1px solid #9eb0a7; border-radius: 4px; color: #315b47; font-size: 10px; font-weight: 800; line-height: 1; text-transform: uppercase; vertical-align: 3px; }
.cv-builder-heading p:last-child { max-width: 68ch; margin: 0; color: var(--muted); line-height: 1.55; }
.cv-builder-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #e5eee9; color: var(--accent-dark); }
.cv-builder-icon svg { width: 25px; height: 25px; stroke: currentColor; }
.cv-builder-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.cv-builder-status span { min-height: 62px; display: flex; align-items: center; gap: 7px; padding: 12px 16px; color: var(--muted); font-size: 13px; }
.cv-builder-status span + span { border-left: 1px solid var(--line); }
.cv-builder-status strong { color: var(--ink); font-size: 16px; }
.cv-builder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-builder-actions .button { min-height: 46px; }
.cv-builder-actions svg { width: 19px; height: 19px; margin-right: 7px; stroke: currentColor; vertical-align: middle; }
.cv-builder-note { margin: -5px 0 0; color: var(--muted); font-size: 12px; }
.cv-design-controls { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: #f8faf9; }
.cv-design-controls fieldset { margin: 0; padding: 0; border: 0; }
.cv-design-controls legend { margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 700; }
.cv-template-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cv-template-option { position: relative; min-height: 158px; display: grid; grid-template-rows: 96px auto; gap: 10px; align-items: start; padding: 12px; border: 1px solid #d9e0dc; border-radius: 6px; background: #fff; cursor: pointer; }
.cv-template-option:hover { border-color: #8fa399; }
.cv-template-option.selected { border-color: var(--accent-dark); box-shadow: inset 0 0 0 1px var(--accent-dark); }
.cv-template-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cv-template-option strong, .cv-template-option small { display: block; }
.cv-template-option small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.cv-template-sheet { position: relative; width: 68px; height: 90px; justify-self: center; display: grid; align-content: start; gap: 6px; padding: 13px 9px; overflow: hidden; border: 1px solid #cbd5d0; background: #fff; box-shadow: 0 5px 12px rgba(20, 40, 31, .11); }
.cv-template-sheet b { display: block; width: 68%; height: 6px; background: var(--accent-dark); }
.cv-template-sheet i { display: block; height: 3px; background: #b8c3bd; }
.cv-template-sheet i:nth-last-child(1) { width: 66%; }
.cv-template-sheet.modern { padding-top: 28px; }
.cv-template-sheet.modern::before { content: ""; position: absolute; inset: 0 0 auto; height: 22px; background: var(--accent-dark); }
.cv-template-sheet.modern b { width: 78%; }
.cv-template-sheet.compact { align-content: center; gap: 4px; border-left: 7px solid var(--accent-dark); background: #f6f8f7; }
.cv-template-sheet.compact b { width: 82%; height: 5px; }
.cv-template-sheet.creative { padding: 14px 7px 10px 27px; background: linear-gradient(90deg, var(--accent-dark) 0 22px, #fff 22px); }
.cv-template-sheet.creative::before { content: ""; position: absolute; top: 12px; left: 5px; width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; }
.cv-template-sheet.creative b { width: 82%; height: 7px; }
.cv-design-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(180px, .65fr); gap: 12px; }
.cv-design-row label { color: var(--ink); font-size: 13px; font-weight: 700; }
.cv-design-row select { width: 100%; min-height: 46px; margin-top: 6px; }
.cv-design-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.4; }
.cv-ai-result { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 14px; border-left: 3px solid var(--accent-dark); background: #edf3f0; }
.cv-ai-result span, .cv-ai-result strong { display: block; }
.cv-ai-result > div > span { margin-bottom: 3px; color: var(--accent-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.cv-ai-result > div > strong { font-size: 13px; line-height: 1.45; }
.cv-ats-score { flex: 0 0 auto; color: var(--accent-dark); font-size: 13px; font-weight: 800; }
.cv-ai-design-button .ai-launcher-mark { width: 24px; height: 24px; margin-right: 7px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--accent-dark); color: #fff; font-size: 12px; }
.cv-ai-review { display: grid; gap: 16px; }
.cv-ai-review-score { display: flex; align-items: end; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cv-ai-review-score span { color: var(--muted); font-size: 12px; font-weight: 700; }
.cv-ai-review-score strong { color: var(--accent-dark); font-size: 24px; }
.cv-ai-review dl { display: grid; gap: 0; margin: 0; border-block: 1px solid var(--line); }
.cv-ai-review dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 11px 0; }
.cv-ai-review dl > div + div { border-top: 1px solid var(--line); }
.cv-ai-review dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.cv-ai-review dd { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.5; }
.cv-ai-keywords strong { display: block; margin-bottom: 8px; font-size: 13px; }
.cv-ai-keywords div { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-ai-keywords span { padding: 5px 8px; border: 1px solid #c7d3cd; border-radius: 4px; background: #f5f8f6; font-size: 11px; }
.cv-ai-review > small { color: var(--muted); line-height: 1.45; }

@media (max-width: 620px) {
  .cv-builder-heading { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .cv-builder-icon { width: 44px; height: 44px; }
  .cv-builder-heading h3 { font-size: 19px; }
  .cv-builder-status { grid-template-columns: 1fr; }
  .cv-builder-status span { min-height: 46px; padding: 9px 4px; }
  .cv-builder-status span + span { border-left: 0; border-top: 1px solid var(--line); }
  .cv-builder-actions { display: grid; grid-template-columns: 1fr; }
  .cv-builder-actions .button { width: 100%; justify-content: center; }
  .cv-design-controls { padding: 14px; }
  .cv-template-options, .cv-design-row { grid-template-columns: 1fr; }
  .cv-template-option { min-height: 110px; grid-template-columns: 74px minmax(0, 1fr); grid-template-rows: 1fr; align-items: center; }
  .cv-template-sheet { width: 54px; height: 72px; }
  .cv-ai-result { align-items: start; }
  .cv-ai-review dl > div { grid-template-columns: 1fr; gap: 3px; }
}

.post-layout { grid-template-columns: minmax(0, 900px) minmax(260px, 320px); justify-content: center; gap: 24px; }
.post-card { background: #fff; }
.job-memory-bar { border: 0; background: #f3f6f4; }
.post-side h2 { margin-top: 0; font-size: 20px; }
.messages-toolbar { min-height: 64px; }
.messages-toolbar h2 { margin: 0; font-size: 21px; }
.messaging-shell { box-shadow: none; }
.messages-layout { min-height: calc(100dvh - 150px); }
.network-layout { gap: 24px; }
.network-main { padding: 18px; }
.person-card { padding: 14px; }

@media (max-width: 1100px) {
  .profile-layout,
  .post-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .app { display: block; }
  .app-workspace { padding: 12px 12px 24px; }
  .app-header { min-height: 54px; margin-bottom: 12px; }
  .app-header h1 { font-size: 25px; }
  .discover-toolbar { display: flex; }
  .profile-card { border: 0; padding: 14px 2px; }
  .profile-layout { gap: 12px; }
  .profile-summary { padding-inline: 10px; }
  .profile-completeness { margin-inline: 0; }
  .completion-list { grid-template-columns: 1fr; }
  .profile-section-heading h3 { font-size: 18px; }
  .messages-layout { min-height: calc(100dvh - 150px); }
}

/* Use the available desktop canvas while keeping forms and swipe cards readable. */
@media (min-width: 1101px) {
  .site,
  #top {
    width: 100%;
    min-height: 100dvh;
  }

  .section-shell {
    width: 100%;
    max-width: none;
    padding-inline: 32px;
  }

  .site-header {
    width: 100%;
    max-width: none;
    padding-inline: 24px 32px;
  }

  .site-header .brand-logo { width: 158px; }

  .hero {
    min-height: 100dvh;
    padding: clamp(42px, 6vh, 66px) 32px 0;
  }

  .hero-copy { width: 100%; padding: 0; }
  .hero-copy h1 { max-width: 820px; font-size: 68px; }
  .hero-lead { max-width: 700px; }
  .hero-value-rail { width: calc(100% + 64px); margin-left: -32px; }

  .app-workspace {
    max-width: none;
    min-height: 100dvh;
    margin-inline: 0;
    padding-inline: clamp(32px, 3.5vw, 68px);
  }

  .app-view.active { min-height: calc(100dvh - 126px); }

  .swipe-layout {
    grid-template-columns: minmax(520px, 1fr) minmax(320px, 400px);
    justify-content: stretch;
    gap: clamp(24px, 3vw, 48px);
  }

  .swipe-deck { width: min(760px, 100%); }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    justify-content: stretch;
  }

  .post-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    justify-content: stretch;
  }

  .interest-inbox,
  .candidate-profile-page {
    max-width: none;
    margin-inline: 0;
  }

  .network-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
  .messaging-shell { width: 100%; }
}

/* Unified Hierly workspace: the application now shares the landing page's material and tone. */
.app {
  background: #d8e0da;
  color: #1c2822;
}
.app-sidebar {
  border-right-color: rgba(52, 67, 58, .2);
  background: #f0eee6;
  box-shadow: 10px 0 34px rgba(33, 45, 38, .06);
}
.app-sidebar .nav-button { border-radius: 8px !important; color: #4f5c55; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.app-sidebar .nav-button:hover { background: rgba(47, 111, 78, .09); color: #173d2b; transform: translateX(2px); }
.app-sidebar .nav-button.active { background: #d6e2da; color: #173d2b; }
.app-workspace { background: #d8e0da; }
.app-header {
  min-height: 70px;
  padding: 8px 12px 12px;
  border-bottom-color: rgba(52, 67, 58, .19);
  background: rgba(216, 224, 218, .88);
  backdrop-filter: blur(14px);
}
.app-header h1 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 34px; font-weight: 600; }
.profile-chip { border-radius: 8px; background: rgba(248, 248, 243, .72); transition: background-color 180ms ease, transform 180ms ease; }
.profile-chip:hover { background: #f8f8f3; transform: translateY(-1px); }

.app-workspace { max-width: none; }
.app-top-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 52px;
  margin: -18px -12px 22px;
  padding: 0 12px;
  display: flex;
  align-items: end;
  gap: 22px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(52, 67, 58, .2);
  background: rgba(216, 224, 218, .94);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}
.app-top-nav::-webkit-scrollbar { display: none; }
.app-top-nav-button {
  position: relative;
  min-width: max-content;
  min-height: 51px;
  padding: 3px 1px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #59655e;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}
.app-top-nav-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}
.app-top-nav-button:hover,
.app-top-nav-button.active { color: #173d2b; }
.app-top-nav-button.active::after { background: #1f6a47; }
.app-top-nav-button i {
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #1f6a47;
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.discover-toolbar {
  position: relative;
  z-index: 12;
  margin-bottom: 12px;
  padding: 12px;
  grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.2fr);
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: #1c2822;
  box-shadow: 0 18px 46px rgba(30, 44, 36, .14);
}
.search-field { position: relative; }
.search-field::before { content: "⌕"; position: absolute; z-index: 1; top: 50%; left: 15px; color: #567066; font-size: 23px; line-height: 1; transform: translateY(-53%); pointer-events: none; }
.search-field input {
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  background: #f4f3ed;
  padding-left: 46px;
  color: #1d2923;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.search-field input::placeholder { color: #737d77; }
.filter-row { flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 5px; }
.filter-hover-menu { position: relative; flex: 0 0 auto; }
.filter-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-color: rgba(255,255,255,.2);
  border-radius: 7px;
  background: transparent;
  color: #dce4df;
  padding: 9px 11px;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.filter-button > span { color: #9db0a5; transition: transform 180ms ease; }
.filter-hover-menu:hover > .filter-button,
.filter-hover-menu:focus-within > .filter-button { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.1); color: #fff; }
.filter-hover-menu:hover > .filter-button > span,
.filter-hover-menu:focus-within > .filter-button > span { transform: rotate(180deg); }
.filter-button.active { border-color: #a9c6b6; background: #dbe8e0; color: #173d2b; }
.filter-button.filter-all { border-color: rgba(255,255,255,.46); color: #fff; }
.filter-hover-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  left: 50%;
  width: 248px;
  padding: 9px;
  display: grid;
  border: 1px solid #bfc8c2;
  border-radius: 8px;
  background: #f7f6f0;
  box-shadow: 0 22px 58px rgba(15, 28, 20, .22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(.2,.75,.25,1);
}
.filter-hover-panel::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 10px; }
.filter-hover-menu:hover .filter-hover-panel,
.filter-hover-menu:focus-within .filter-hover-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.filter-hover-menu:first-child .filter-hover-panel { left: 0; transform: translate(0, 8px); }
.filter-hover-menu:first-child:hover .filter-hover-panel,
.filter-hover-menu:first-child:focus-within .filter-hover-panel { transform: translate(0, 0); }
.filter-hover-menu-all .filter-hover-panel { right: 0; left: auto; transform: translate(0, 8px); }
.filter-hover-menu-all:hover .filter-hover-panel,
.filter-hover-menu-all:focus-within .filter-hover-panel { transform: translate(0, 0); }
.filter-hover-panel > strong { padding: 8px 9px 9px; color: #5c6861; font-size: 12px; }
.filter-hover-panel > button { min-height: 43px; padding: 8px 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-radius: 6px; background: transparent; color: #26332c; text-align: left; }
.filter-hover-panel > button:hover { background: #e7ece8; }
.filter-hover-panel > button.selected { background: #dbe8e0; color: #173d2b; font-weight: 700; }
.filter-hover-panel > button i { color: #2f6f4e; font-style: normal; }
.filter-hover-panel .filter-hover-more { margin-top: 5px; border-top: 1px solid #d8ddd9; border-radius: 0 0 6px 6px; color: #285c42; font-weight: 700; }
.filter-status-bar { min-height: 42px; margin: 0 0 12px; }
.filter-status-actions strong { color: #46554d; font-size: 14px; }
.active-filter-chip { min-height: 36px; border-radius: 7px; background: rgba(247, 247, 241, .8); }

.swipe-layout { align-items: stretch; }
.swipe-stage { position: relative; }
.swipe-card,
.swipe-empty { border-radius: 8px; box-shadow: 0 26px 68px rgba(22, 36, 28, .24); }
.swipe-card-body h2 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-weight: 600; }
.swipe-card.visual-logo::before { background-color: #43584d; background-position: center 27%; background-size: min(38%, 220px) auto, cover; }
.decision-facts span,
.swipe-card-tags span { border-radius: 7px; background: rgba(15, 29, 21, .5); }
.swipe-card-more { display: none; }
.swipe-actions {
  width: min(460px, calc(100% - 32px));
  min-height: 68px;
  margin-top: -84px;
  padding: 6px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(20, 35, 26, .88);
  box-shadow: 0 18px 42px rgba(10, 22, 14, .28);
  backdrop-filter: blur(14px);
}
.swipe-action {
  min-width: 0;
  min-height: 54px;
  flex: 1 1 0;
  padding: 5px 9px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 6px;
  color: #f2f5f3;
  transition: background-color 160ms ease, color 160ms ease;
}
.swipe-action + .swipe-action { border-left: 1px solid rgba(255,255,255,.14); }
.swipe-action:hover { background: rgba(255,255,255,.1); }
.swipe-action > span {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #e8eee9;
}
.swipe-action > span svg { width: 22px; height: 22px; stroke-width: 1.8; }
.swipe-action small { color: #f2f5f3; font-size: 12px; }
.swipe-pass > span,
.swipe-save > span,
.swipe-like > span { color: #dce7e0; }
.swipe-action:hover > span { border-color: transparent; transform: none; }
.undo-button { min-height: 42px; margin-top: 8px; border-bottom: 0; color: #284f3b; }

.swipe-context {
  border-color: rgba(255,255,255,.15);
  border-radius: 8px;
  background: #233129;
  color: #f4f5f1;
  box-shadow: 0 22px 54px rgba(24, 39, 30, .15);
}
.swipe-progress { border-bottom-color: rgba(255,255,255,.17); }
.swipe-progress span,
.swipe-context p,
.swipe-context .response-note { color: #c8d2cc !important; }
.swipe-context .detail-reasons { color: #e8edea; }
.swipe-context .context-check { border-left: 0; border-radius: 7px; background: #d8c6a7; color: #2f2b23; }
.swipe-context .context-check p { color: #4e4434 !important; }

.profile-card,
.trust-card,
.account-data-card,
.preference-reset-card,
.post-card,
.messaging-shell,
.network-main,
.interest-inbox,
.candidate-profile-page,
.saved-card,
.schedule-card {
  border-color: rgba(62, 76, 68, .18);
  border-radius: 8px;
  background: rgba(248, 248, 243, .9);
  box-shadow: 0 16px 44px rgba(31, 45, 37, .08);
}
.form-grid input,
.profile-form input,
.profile-form textarea,
.profile-form select,
.job-form-grid input,
.job-form-grid textarea,
.job-form-grid select,
.composer-form input { border-radius: 7px; background: #fbfaf5; }

@media (max-width: 1280px) {
  .discover-toolbar { grid-template-columns: 1fr; }
  .filter-row { justify-content: flex-start; overflow: visible; flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .app,
  .app-workspace { background: #d8e0da; }
  .app-header { padding-inline: 4px; }
  .discover-toolbar { padding: 10px; background: #1c2822; }
  .filter-row { overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; }
  .filter-hover-panel { display: none; }
  .filter-button { min-height: 42px; }
  .swipe-actions { width: calc(100% - 24px); min-height: 62px; margin-top: -72px; }
  .swipe-action { min-height: 48px; padding-inline: 5px; }
  .swipe-action > span { width: 25px; height: 25px; }
  .swipe-action small { font-size: 11px; }
}

/* Saved work uses the same deep green and warm paper surfaces as discovery. */
#saved-view { max-width: 1180px; margin-inline: auto; }
.saved-overview {
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #1c2822;
  color: #f5f5ef;
  box-shadow: 0 20px 54px rgba(25, 39, 31, .16);
}
.saved-overview .view-intro { margin: 0; }
.saved-overview .view-intro > p { display: block; }
.saved-overview .view-intro .eyebrow { margin-bottom: 7px; color: #aabdb2; }
.saved-overview .view-intro h2 {
  margin: 0 0 5px;
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 46px;
  font-weight: 600;
}
.saved-overview .view-intro #saved-copy { color: #c7d1cb; font-size: 14px; }
.saved-overview .saved-compare-bar {
  min-width: 330px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.saved-overview .saved-compare-bar strong { color: #f5f5ef; font-size: 14px; }
.saved-overview .saved-compare-bar span { color: #aebdb5; font-size: 12px; }
.saved-overview .saved-compare-bar .button-quiet { border-color: rgba(255,255,255,.24); color: #e7ece9; }
.saved-overview .saved-compare-bar .button-primary { border-color: #d9c8a9; background: #d9c8a9; color: #242c27; }
.saved-overview .saved-compare-bar .button-primary:disabled { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.1); color: #8f9d95; }

.saved-grid { gap: 16px; }
.saved-card {
  position: relative;
  min-height: 280px;
  padding: 22px;
  border-color: rgba(52, 67, 58, .2);
  border-radius: 8px;
  background: #f4f2e9;
  box-shadow: 0 16px 42px rgba(31, 45, 37, .1);
}
.saved-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 8px 8px 0 0;
  background: #30483b;
}
.saved-card.urgent { border-top: 1px solid rgba(52, 67, 58, .2); padding-top: 22px; }
.saved-card.urgent::before { background: #9a7139; }
.saved-card .status-label { border-radius: 5px; background: #d8e4dc; color: #244c37; }
.saved-card h3 {
  max-width: 22ch;
  margin: 15px 0 5px;
  color: #1c2822;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.08;
}
.saved-party { color: #58645e; font-size: 13px; }
.saved-facts { margin-top: 16px; }
.saved-facts span { border-color: #cbd2cd; border-radius: 6px; background: transparent; color: #34433b; font-size: 12px; }
.saved-primary-actions { margin-top: auto; padding-top: 18px; }
.saved-primary-actions .button { min-height: 46px; border-radius: 7px; }
.saved-primary-actions .button-secondary { border-color: #aeb9b2; background: transparent; color: #263a2f; }
.saved-card-foot { margin-top: 13px; padding-top: 12px; border-top: 1px solid #d4d8d3; }
.saved-compare-toggle,
.saved-card .text-button,
.saved-reminder { min-height: 44px; padding-block: 7px; color: #4a5b52; }
.saved-compare-toggle > span { background: #fbfaf5; }
.saved-reminder { margin-top: 1px; }

@media (max-width: 820px) {
  #saved-view { width: 100%; }
  .saved-overview { grid-template-columns: 1fr; align-items: stretch; gap: 18px; padding: 22px 18px; }
  .saved-overview .saved-compare-bar { min-width: 0; flex-direction: row; align-items: center; }
  .saved-overview .saved-compare-bar > div:last-child { display: flex; grid-template-columns: none; }
  .saved-grid { grid-template-columns: 1fr; }
  .saved-card { min-height: 0; padding: 20px 18px; }
  .saved-overview .view-intro h2 { font-size: 34px; }
  .saved-card h3 { font-size: 25px; }
}

/* Discovery controls share one clear rhythm instead of visually merging. */
@media (min-width: 821px) {
  .discover-toolbar {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }

  .filter-row {
    justify-content: flex-start;
    gap: 10px;
  }
}

.swipe-card,
.swipe-empty { border-radius: 20px; }

@media (max-width: 820px) {
  .discover-toolbar { gap: 10px; }
  .filter-row { gap: 8px; }
  .swipe-card,
  .swipe-empty { border-radius: 22px; }
  .detail-dialog-badges { gap: 8px; margin-bottom: 15px; }
}

@media (max-width: 480px) {
  .saved-overview .saved-compare-bar { align-items: stretch; flex-direction: column; }
  .saved-overview .saved-compare-bar > div:last-child { display: grid; grid-template-columns: auto 1fr; }
  .saved-primary-actions { grid-template-columns: 1fr; }
}

/* Employer jobs: stable navigation, public company preview and a real swipe surface. */
.app-workspace:has(#post-view.active) { padding-top: 0; }
.app-workspace:has(#post-view.active) .app-header { margin-bottom: 0; }
.employer-job-tabs {
  min-height: 58px;
  margin: 0 calc(clamp(24px, 4vw, 56px) * -1) 22px;
  padding: 0 clamp(24px, 4vw, 56px);
  display: flex;
  align-items: end;
  gap: 28px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(61, 76, 67, .18);
  background: rgba(248, 248, 243, .86);
}
.employer-job-tabs button {
  min-height: 54px;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #5c6761;
  padding: 13px 1px 10px;
  font-size: 14px;
  font-weight: 700;
}
.employer-job-tabs button:hover { color: #1c2822; }
.employer-job-tabs button.active { border-bottom-color: #2f6f4e; color: #1c2822; }
.employer-job-panel { max-width: 1180px; margin-inline: auto; }
.employer-job-section-head { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.employer-job-section-head h2 { margin: 3px 0 0; color: #1c2822; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 34px; font-weight: 600; }
.employer-job-section-head p:last-child { margin: 4px 0 0; color: #5f6c65; }
.employer-job-stats { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid rgba(62,76,68,.18); border-radius: 8px; background: #f4f2e9; }
.employer-job-stats button { min-height: 84px; padding: 15px 18px; display: grid; justify-items: start; align-content: center; border: 0; border-right: 1px solid rgba(62,76,68,.16); background: transparent; color: #26352d; text-align: left; }
.employer-job-stats button:last-child { border-right: 0; }
.employer-job-stats button:hover { background: #e8ece8; }
.employer-job-stats button:nth-child(1) { background: #f4f0e4; }
.employer-job-stats button:nth-child(2) { background: #e1ece5; }
.employer-job-stats button:nth-child(3) { background: #e5e9ec; }
.employer-job-stats strong { font-size: 25px; line-height: 1; }
.employer-job-stats span { margin-top: 6px; color: #657069; font-size: 12px; }
.employer-job-dashboard { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; align-items: start; }
.employer-swipe-showcase,
.employer-job-activity,
.employer-company-preview { border: 1px solid rgba(62,76,68,.18); border-radius: 8px; background: rgba(248,248,243,.92); box-shadow: 0 16px 44px rgba(31,45,37,.08); }
.employer-swipe-showcase { padding: 18px; }
.employer-swipe-showcase > header,
.employer-job-activity > header { margin-bottom: 14px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.employer-swipe-showcase h3,
.employer-job-activity h3 { margin: 2px 0 0; font-size: 20px; }
.employer-job-swipe {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #263a30;
  background-image: var(--employer-job-cover);
  background-position: center;
  background-size: cover;
  color: #fff;
}
.employer-job-swipe::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(12, 27, 19, .6); }
.employer-job-swipe > header { padding: 22px; display: flex; align-items: center; gap: 11px; }
.employer-job-swipe > header div { display: grid; }
.employer-job-swipe > header span { color: #c5d0ca; font-size: 11px; }
.employer-job-swipe-logo { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; border-color: rgba(255,255,255,.28); border-radius: 7px; background: #f4f2e9; color: #284034; }
.employer-job-swipe-logo > svg { width: 24px; height: 24px; display: block; }
.employer-job-swipe-logo > img { width: 100%; height: 100%; padding: 7px; object-fit: contain; object-position: center; }
.employer-job-swipe-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 24px 24px; background: rgba(17, 33, 24, .82); }
.employer-job-swipe-copy > p:first-child { margin: 0 0 4px; color: #b5c8bd; font-size: 11px; font-weight: 800; }
.employer-job-swipe-copy h2 { max-width: 19ch; margin: 0 0 5px; color: #fff; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 34px; font-weight: 600; line-height: 1.08; }
.employer-job-swipe-copy > span { color: #d5ddd8; font-size: 13px; }
.employer-job-swipe-copy > div { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.employer-job-swipe-copy > div span { border: 1px solid rgba(255,255,255,.24); border-radius: 5px; padding: 6px 8px; background: rgba(0,0,0,.16); font-size: 11px; }
.employer-job-swipe-copy > p:last-child { max-width: 65ch; margin: 13px 0 0; color: #d1dad5; font-size: 13px; }
.employer-job-activity { padding: 18px; }
.employer-job-activity article { min-height: 240px; display: grid; align-content: start; gap: 5px; padding: 20px; border-radius: 7px; background: #1c2822; color: #fff; }
.employer-job-activity article strong { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 25px; font-weight: 600; line-height: 1.12; }
.employer-job-activity article span { color: #bdc9c2; font-size: 12px; }
.employer-job-activity article .button { margin-top: auto; }
.employer-job-empty { min-height: 220px; display: grid; align-content: center; gap: 14px; color: #5d6862; }
.employer-overview-actions { margin-top: 18px; padding: 22px; display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); align-items: center; gap: 24px; border: 1px solid rgba(62,76,68,.18); border-radius: 8px; background: #24372e; color: #fff; }
.employer-overview-actions .eyebrow { color: #9fc0b0; }
.employer-overview-actions h3 { margin: 4px 0 0; font-size: 22px; }
.employer-overview-actions > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.employer-overview-actions button { min-width: 0; min-height: 92px; padding: 14px; display: grid; align-content: center; justify-items: start; gap: 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: rgba(255,255,255,.06); color: #fff; text-align: left; }
.employer-overview-actions button:hover { background: rgba(255,255,255,.12); }
.employer-overview-actions button strong { font-size: 13px; }
.employer-overview-actions button span { color: #c4d0ca; font-size: 11px; line-height: 1.35; }
.employer-published-list .posted-job-card { min-height: 94px; background: #f4f2e9; }
.employer-company-preview { overflow: hidden; }
.employer-company-cover { min-height: 220px; background-color: #263a30; background-image: var(--company-page-cover); background-position: center; background-size: cover; }
.employer-company-identity { margin: -38px 28px 0; padding: 18px; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 18px; border: 1px solid rgba(62,76,68,.16); border-radius: 8px; background: #f8f8f3; box-shadow: 0 14px 34px rgba(26,42,33,.1); }
.employer-company-logo { width: 92px; height: 92px; display: grid; place-items: center; overflow: hidden; border: 1px solid #cbd4ce; border-radius: 8px; background: #fff; color: #284034; }
.employer-company-logo > svg { width: 42px; height: 42px; display: block; }
.employer-company-logo > img { width: 100%; height: 100%; padding: 9px; object-fit: contain; object-position: center; }
.employer-company-identity .eyebrow { margin: 0 0 3px; }
.employer-company-identity h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 34px; font-weight: 600; }
.employer-company-identity p { margin: 3px 0 0; color: #68736d; }
.employer-company-status { min-height: 34px; padding: 8px 10px; display: inline-flex; align-items: center; border: 1px solid #a9c1b5; border-radius: 6px; background: #e4eee8; color: #28533d; font-size: 11px; font-weight: 800; }
.employer-company-facts { margin: 22px 28px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid rgba(62,76,68,.16); border-radius: 8px; }
.employer-company-facts > div { min-width: 0; padding: 15px 17px; display: grid; gap: 4px; border-right: 1px solid rgba(62,76,68,.14); background: #edf1ee; }
.employer-company-facts > div:nth-child(2) { background: #f2eee3; }
.employer-company-facts > div:nth-child(3) { border-right: 0; background: #e8ecef; }
.employer-company-facts span { color: #69756e; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.employer-company-facts strong { overflow-wrap: anywhere; font-size: 13px; }
.employer-company-content { padding: 22px 28px 28px; display: grid; grid-template-columns: 1.15fr .95fr .9fr; gap: 12px; }
.employer-company-content section { min-height: 180px; padding: 20px; border: 1px solid rgba(62,76,68,.15); border-radius: 8px; background: #f4f2e9; }
.employer-company-content .company-culture { background: #e5ece7; }
.employer-company-content .company-benefits { background: #e7ebee; }
.employer-company-content h3 { margin: 4px 0 9px; }
.employer-company-content p { margin: 0; color: #56635c; }
.employer-company-jobs { padding: 24px 28px 30px; border-top: 1px solid rgba(62,76,68,.16); }
.employer-company-jobs > header { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.employer-company-jobs h3 { margin: 0; }
.employer-company-jobs > div { display: grid; }
.employer-company-jobs button { min-height: 66px; padding: 12px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; border: 0; border-top: 1px solid #d8ddd9; background: transparent; text-align: left; }
.employer-company-jobs button strong,
.employer-company-jobs button span { grid-column: 1; }
.employer-company-jobs button span { color: #69746e; font-size: 12px; }
.employer-company-jobs button i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #2f6f4e; font-style: normal; }

@media (max-width: 900px) {
  .employer-job-dashboard { grid-template-columns: 1fr; }
  .employer-job-activity article { min-height: 180px; }
}

@media (max-width: 820px) {
  .app-top-nav {
    margin: -12px -14px 16px;
    padding-inline: 14px;
    gap: 20px;
    background: rgba(216, 224, 218, .98);
  }
  .app-top-nav-button { min-height: 48px; }
  .app-workspace:has(#post-view.active) { padding-top: max(12px, env(safe-area-inset-top)); }
  .employer-job-tabs { margin-inline: -12px; padding-inline: 14px; gap: 20px; }
  .employer-job-section-head { align-items: stretch; flex-direction: column; }
  .employer-job-section-head .button { align-self: start; }
  .employer-job-stats { grid-template-columns: 1fr; }
  .employer-job-stats button { min-height: 68px; border-right: 0; border-bottom: 1px solid rgba(62,76,68,.16); }
  .employer-job-stats button:last-child { border-bottom: 0; }
  .employer-job-swipe { min-height: 470px; aspect-ratio: 4 / 5; }
  .employer-job-swipe-copy h2 { font-size: 29px; }
  .employer-company-cover { min-height: 160px; }
  .employer-overview-actions { grid-template-columns: 1fr; }
  .employer-overview-actions > div:last-child { grid-template-columns: 1fr; }
  .employer-company-identity { margin: -28px 18px 0; padding: 14px; grid-template-columns: 76px minmax(0, 1fr); align-items: center; }
  .employer-company-logo { width: 76px; height: 76px; }
  .employer-company-identity h2 { font-size: 27px; }
  .employer-company-status { grid-column: 1 / -1; justify-self: start; }
  .employer-company-facts { margin: 18px 18px 0; grid-template-columns: 1fr; }
  .employer-company-facts > div { border-right: 0; border-bottom: 1px solid rgba(62,76,68,.14); }
  .employer-company-facts > div:last-child { border-bottom: 0; }
  .employer-company-content { padding: 18px 18px 22px; grid-template-columns: 1fr; gap: 10px; }
  .employer-company-content section { min-height: 0; }
  .employer-company-jobs { padding: 20px 18px 24px; }
}

/* Landing navigation: expansive over the hero, compact once the page moves. */
.site-header {
  position: fixed;
  z-index: 40;
  top: 20px;
  left: 0;
  width: 100%;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}
.site-header-inner {
  width: 100%;
  max-width: 1600px;
  min-height: 58px;
  margin-inline: auto;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  transition:
    max-width 360ms cubic-bezier(.2,.72,.25,1),
    padding 300ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 300ms ease;
}
.site-header-brand {
  width: 150px;
  height: 44px;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  transition: width 320ms cubic-bezier(.2,.72,.25,1);
}
.site-header-brand .brand-logo {
  width: 150px;
  max-width: none;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

/* The landing header uses the original symbol with a crisp, editable wordmark. */
.site-header-brand,
.site-header.is-scrolled .site-header-brand {
  width: auto;
  min-width: 128px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: visible;
}
.brand-symbol {
  width: 34px;
  height: 42px;
  flex: 0 0 34px;
  display: block;
  overflow: hidden;
}
.brand-symbol img {
  width: auto;
  max-width: none;
  height: 42px;
  display: block;
}
.site-header-brand .brand-wordmark {
  color: #fff;
  font-size: 30px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}
.site-nav {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav > a {
  min-height: 42px;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}
.site-nav > a:hover,
.site-nav > a:focus-visible { background: rgba(255,255,255,.12); color: #fff; }
.site-header-actions { display: flex; align-items: center; gap: 6px; }
.site-header .header-action,
.site-header .header-start {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}
.site-header .header-action { border-color: rgba(255,255,255,.7); color: #fff; }
.site-header .header-action:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.site-header .header-start { border: 1px solid #e9eee9; background: #f1f4ef; color: #173b29; font-weight: 700; }
.site-header .header-start:hover { background: #fff; }

.site-header.is-scrolled .site-header-inner {
  max-width: 980px;
  padding-inline: 8px;
  border-color: rgba(49,64,55,.12);
  background: rgba(250,249,244,.97);
  box-shadow: 0 14px 42px rgba(16,28,21,.16);
}

/* About Hierly: one calm full-width chapter, not another floating card. */
.about-hirely { background: #203128; color: #f4f1e8; }
.about-hirely-layout {
  min-height: min(78vh, 760px);
  padding-block: clamp(76px, 10vh, 118px);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(56px, 8vw, 132px);
}
.about-hirely .section-intro { max-width: 560px; }
.about-hirely .eyebrow { color: #a9c8b7; }
.about-hirely h2 { color: #fffdf7; }
.about-hirely .section-intro > p:last-child { color: #c9d3cc; }
.about-hirely-points { border-top: 1px solid rgba(255,255,255,.2); }
.about-hirely-points > div {
  min-height: 124px;
  display: grid;
  grid-template-columns: 44px minmax(170px, .7fr) minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 22px 0;
}
.about-hirely-points span { color: #93b5a2; font-size: 12px; font-weight: 800; }
.about-hirely-points strong { color: #fffdf7; font-size: 18px; }
.about-hirely-points p { margin: 0; color: #c9d3cc; line-height: 1.55; }

@media (max-width: 820px) {
  .about-hirely-layout { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-block: 68px; }
  .about-hirely-points > div { grid-template-columns: 34px minmax(0, 1fr); gap: 7px 12px; }
  .about-hirely-points p { grid-column: 2; }
}
.site-header.is-scrolled .site-header-brand { width: 43px; }
.site-header.is-scrolled .site-nav > a { color: #2f3d35; }
.site-header.is-scrolled .site-nav > a:hover,
.site-header.is-scrolled .site-nav > a:focus-visible { background: #e8ece8; color: #173d2b; }
.site-header.is-scrolled .header-action { border-color: #aeb9b2; color: #263a2f; }
.site-header.is-scrolled .header-action:hover { border-color: #263a2f; background: transparent; }
.site-header.is-scrolled .header-start { border-color: #1f6a47; background: #1f6a47; color: #fff; }
.site-header.is-scrolled .header-start:hover { background: #174f36; }

@media (min-width: 821px) {
  .hero { padding-top: clamp(118px, 15vh, 150px); }
  .hero-main { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .site-header { top: 10px; min-height: 54px; padding: 0 10px; }
  .site-header-inner { min-height: 54px; padding: 5px 7px; gap: 8px; }
  .site-header-brand,
  .site-header.is-scrolled .site-header-brand { width: 112px; height: 40px; }
  .site-header-brand .brand-logo { width: 112px; height: 40px; }
  .site-header-actions { margin-left: auto; }
  .site-header .header-action,
  .site-header .header-start { min-height: 40px; padding: 8px 10px; font-size: 12px; }
  .site-header.is-scrolled .site-header-inner { max-width: none; }
  .hero { padding-top: 96px; }
}

@media (max-width: 390px) {
  .site-header-brand,
  .site-header.is-scrolled .site-header-brand { width: 96px; }
  .site-header-brand .brand-logo { width: 96px; }
  .site-header .header-action,
  .site-header .header-start { padding-inline: 8px; }
}

/* Final mobile layout contract. Keep this block last so later desktop refinements
   cannot accidentally re-enable wide-screen layouts on phones. */
@media (max-width: 820px) {
  html,
  body { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; }
  body { min-height: 100dvh; -webkit-text-size-adjust: 100%; }
  .site,
  #landing,
  #top { width: 100%; max-width: 100%; }
  img { max-width: 100%; }
  button,
  a,
  input,
  select,
  textarea { touch-action: manipulation; }
  input,
  select,
  textarea { min-width: 0; font-size: 16px; }
  h1,
  h2,
  h3,
  p,
  strong,
  span { overflow-wrap: anywhere; }

  .site-header { top: 8px; min-height: 56px; padding: 0 10px; }
  .site-header-inner {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 6px 7px;
    gap: 8px;
    border-radius: 10px;
  }
  .site-nav { display: none; }
  .site-header-brand,
  .site-header.is-scrolled .site-header-brand { width: 112px; min-width: 112px; height: 42px; }
  .site-header-brand .brand-logo { width: 112px; height: 42px; }
  .mobile-site-menu { position: relative; flex: 0 0 auto; display: block; margin-left: auto; }
  .mobile-site-menu summary {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    list-style: none;
  }
  .mobile-site-menu summary::-webkit-details-marker { display: none; }
  .mobile-site-menu summary span { width: 100%; height: 2px; border-radius: 1px; background: currentColor; transition: transform 160ms ease, opacity 120ms ease; }
  .mobile-site-menu[open] summary span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-site-menu[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-site-menu[open] summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-site-menu nav {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    right: -58px;
    width: min(320px, calc(100vw - 20px));
    overflow: hidden;
    border: 1px solid rgba(50,65,56,.2);
    border-radius: 9px;
    background: #f8f7f1;
    color: #1c2822;
    box-shadow: 0 22px 58px rgba(12,25,18,.24);
  }
  .mobile-site-menu nav a {
    min-height: 58px;
    padding: 10px 14px;
    display: grid;
    align-content: center;
    gap: 1px;
    border-bottom: 1px solid #dde2de;
    color: #1c2822;
    text-decoration: none;
  }
  .mobile-site-menu nav a:last-child { border-bottom: 0; }
  .mobile-site-menu nav a:active { background: #e4ebe6; }
  .mobile-site-menu nav strong { font-size: 14px; }
  .mobile-site-menu nav span { color: #657169; font-size: 11px; }
  .site-header.is-scrolled .mobile-site-menu summary { border-color: #aeb9b2; color: #263a2f; }
  .site-header-actions { min-width: 0; margin-left: 0; gap: 5px; }
  .site-header .header-action,
  .site-header .header-start { min-height: 44px; padding: 9px 10px; font-size: 12px; white-space: nowrap; }
  .site-header.is-scrolled .site-header-inner { max-width: none; }

  .hero,
  .hero.section-shell {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    min-height: 100dvh;
    padding: 88px 14px 0;
    background-position: 56% bottom;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero-main { min-width: 0; padding: 0 4px 28px; }
  .hero-copy { min-width: 0; padding-top: 0; }
  .hero-copy h1 { max-width: 12ch; margin-block: 8px 14px; font-size: 42px; line-height: 1.08; }
  .hero-lead { max-width: 35ch; font-size: 17px; line-height: 1.5; }
  .hero-actions { width: 100%; gap: 8px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-value-rail { width: calc(100% + 28px); margin-left: -14px; }
  .hero-value-rail > div { min-width: 0; }
  .section-shell { width: min(100% - 24px, 1180px); }
  .audience-section,
  .how,
  .principles,
  .role-section { padding-block: 58px; }
  .section-intro h2 { font-size: 32px; line-height: 1.1; }

  .auth-dialog,
  .account-dialog,
  .filter-dialog,
  .swipe-help-dialog,
  .reference-dialog,
  .ai-assistant-dialog,
  .saved-compare-dialog {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 10px 10px 0 0;
  }
  .auth-dialog,
  .account-dialog,
  .filter-dialog,
  .swipe-help-dialog,
  .reference-dialog { max-height: 96dvh; }
  .dialog-close-button { width: 44px; height: 44px; min-width: 44px; }
  .auth-dialog-head,
  .account-dialog-head,
  .filter-dialog-head,
  .ai-assistant-head { padding: 18px 16px 14px; }
  .auth-dialog-head h2,
  .filter-dialog-head h2,
  .ai-assistant-head h2 { font-size: 24px; }
  .auth-role-choice { margin-inline: 16px; }
  .auth-role-choice button,
  .auth-tab,
  .auth-form .button,
  .filter-dialog-actions .button { min-height: 48px; }
  .auth-form,
  .account-dialog-section { padding-inline: 16px; }
  .otp-inputs { gap: 6px; }
  .auth-form .otp-digit,
  .onboarding-field .otp-digit[type="text"] { min-height: 48px; font-size: 20px; }
  .onboarding-card { overflow-x: hidden; padding-inline: 18px; }
  .onboarding-intro { margin-top: 52px; }
  .onboarding-intro h1 { font-size: 32px; }
  .onboarding-field { min-height: 0; }

  .app { width: 100%; min-height: 100dvh; }
  .app-sidebar { width: min(86vw, 320px); padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .app-workspace {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
    padding: max(10px, env(safe-area-inset-top)) 10px max(22px, env(safe-area-inset-bottom));
  }
  .app-top-nav { display: none; }
  .app-header {
    position: sticky;
    z-index: 18;
    top: 0;
    min-width: 0;
    min-height: 58px;
    margin: 0 0 10px;
    padding: 7px 2px 9px;
  }
  .app-title { min-width: 0; }
  .app-header h1 { margin: 0; font-size: 27px; line-height: 1.08; }
  .header-tools { flex: 0 0 auto; gap: 6px; }
  .mobile-nav-toggle,
  .profile-chip { min-width: 44px; width: 44px; min-height: 44px; height: 44px; }
  .profile-chip { padding: 3px; }
  .profile-chip .avatar { width: 34px; height: 34px; }
  .app-view,
  .app-view.active,
  .app-view > *,
  .profile-layout > *,
  .post-layout > * { min-width: 0; max-width: 100%; }

  #discover-view.active { display: flex; flex-direction: column; }
  #discover-view.active .swipe-layout { order: 1; }
  #discover-view.active .discover-toolbar { order: 2; }
  #discover-view.active .filter-status-bar { order: 3; }
  .discover-toolbar { margin: 12px 0 8px; padding: 9px; gap: 7px; border-radius: 8px; }
  .search-field input { min-height: 48px; padding-left: 43px; }
  .filter-row { width: 100%; margin: 0; padding-bottom: 2px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-button { min-height: 44px; flex: 0 0 auto; }
  .filter-hover-panel { display: none; }
  .filter-status-bar { min-width: 0; }
  .active-filter-chips { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .swipe-layout,
  .swipe-stage,
  .swipe-deck { width: 100%; min-width: 0; }
  .swipe-deck,
  .swipe-card,
  .swipe-empty { height: min(67dvh, 570px); min-height: 500px; }
  .swipe-card { grid-template-rows: 76px minmax(0, 1fr); }
  .swipe-card-head { min-width: 0; padding: 13px 14px; gap: 10px; }
  .swipe-card-head .company-logo { width: 48px; height: 48px; min-width: 48px; }
  .swipe-card-labels { max-width: 58%; }
  .swipe-card-body { min-width: 0; padding: 12px 16px 88px; }
  .swipe-card-body h2 { max-width: 100%; margin: 4px 0 7px; font-size: 29px; line-height: 1.08; }
  .swipe-card-subtitle,
  .swipe-card-summary { font-size: 13px; }
  .decision-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swipe-actions { width: calc(100% - 20px); min-height: 62px; margin-top: -70px; }
  .swipe-action { min-width: 0; min-height: 50px; padding-inline: 4px; gap: 4px; }
  .swipe-action > span { width: 26px; height: 26px; }
  .swipe-action small { font-size: 10px; white-space: nowrap; }
  .undo-button { min-height: 44px; }

  #saved-view,
  .interest-inbox,
  .candidate-profile-page { width: 100%; }
  .saved-overview { gap: 14px; margin-bottom: 12px; padding: 20px 16px; }
  .saved-overview .view-intro h2 { font-size: 30px; }
  .saved-overview .saved-compare-bar { min-width: 0; }
  .saved-card { padding: 18px 16px; }
  .saved-card h3 { max-width: none; margin-top: 12px; font-size: 23px; }
  .saved-reason { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .saved-primary-actions .button,
  .saved-card-foot button { min-height: 44px; }
  .saved-compare-head { min-height: 92px; padding: 14px 12px; }
  .saved-comparison-scroll { max-height: calc(100dvh - 92px); overscroll-behavior: contain; }
  .comparison-grid { grid-template-columns: 104px repeat(var(--compare-columns), minmax(200px, 66vw)); }
  .comparison-row-label { position: sticky; z-index: 2; left: 0; background: #f1f3ef; }
  .comparison-cell,
  .comparison-row-label,
  .comparison-item-head { padding: 11px 10px; }

  .interest-inbox-intro { align-items: start; }
  .interest-inbox-intro > div > p:last-child { display: none; }
  .interest-toolbar { align-items: stretch; flex-direction: column-reverse; }
  .interest-toolbar > label { min-width: 0; }
  .interest-status-tabs { width: calc(100% + 20px); margin-left: -10px; padding-inline: 10px; }
  .interest-compare-bar { align-items: stretch; flex-direction: column; }
  .interest-card { width: 100%; align-items: stretch; }
  .interest-card-main { min-width: 0; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 13px 10px; }
  .interest-avatar { width: 54px; height: 54px; min-width: 54px; }
  .interest-compare-toggle { width: 54px; min-width: 54px; }
  .candidate-profile-cover { min-height: 190px; }
  .candidate-profile-heading { align-items: start; flex-direction: column; padding-inline: 15px; }
  .candidate-profile-layout { margin-bottom: 104px; }
  .candidate-decision-bar { right: 0; bottom: 0; left: 0; padding: 10px; flex-direction: column; }
  .candidate-decision-bar > div:last-of-type { width: 100%; display: grid; grid-template-columns: 1fr; }
  .candidate-decision-bar .button { width: 100%; min-height: 46px; }

  .messaging-shell { width: 100%; overflow: hidden; }
  .messages-toolbar { min-height: 62px; padding: 10px 12px; }
  .messages-toolbar h2 { font-size: 20px; }
  .messages-toolbar .button { min-height: 44px; }
  .messages-layout { min-height: calc(100dvh - 142px); grid-template-columns: 1fr; }
  .thread-column { min-width: 0; }
  .message-search input { min-height: 46px; }
  .thread-list { max-height: 190px; }
  .thread-button { min-height: 74px; }
  .conversation { min-width: 0; min-height: 480px; }
  .conversation-head { min-height: 68px; padding-inline: 12px; }
  .conversation-identity { min-width: 0; }
  .conversation-identity h2 { font-size: 16px; }
  .message-list { padding-inline: 12px; }
  .message { max-width: 88%; }
  .composer-form { padding: 10px 10px max(10px, env(safe-area-inset-bottom)); grid-template-columns: 44px minmax(0, 1fr); }
  .composer-icon,
  .composer-send { min-height: 44px; }

  .profile-layout,
  .post-layout,
  .network-layout { gap: 10px; }
  .profile-card,
  .trust-card,
  .account-data-card,
  .preference-reset-card,
  .post-card,
  .network-main { border-radius: 8px; }
  .profile-card { padding: 15px 12px; }
  .profile-summary { min-width: 0; padding-inline: 0; }
  .profile-summary > div { min-width: 0; }
  .profile-summary h2 { font-size: 24px; }
  .profile-ai-strip { align-items: stretch; flex-direction: column; padding: 14px; }
  .profile-ai-strip .button { width: 100%; min-height: 46px; }
  .profile-editor-tabs { display: flex; overflow-x: auto; grid-template-columns: none; scrollbar-width: none; }
  .profile-editor-tabs::-webkit-scrollbar { display: none; }
  .profile-editor-tabs button { min-width: max-content; min-height: 46px; }
  .profile-photo-editor,
  .company-brand-row { grid-template-columns: 76px minmax(0, 1fr); }
  .profile-photo-preview,
  .company-logo-preview { width: 76px; height: 76px; min-width: 76px; }
  .profile-photo-actions,
  .company-brand-actions { min-width: 0; }
  .profile-photo-actions .button,
  .company-brand-actions .button { min-height: 44px; }
  .availability-panel { margin-inline: 0; padding: 15px 12px; }
  .availability-grid { min-width: 560px; }
  .profile-save-row { position: sticky; z-index: 6; bottom: 0; margin-inline: -12px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: rgba(248,248,243,.97); }
  .profile-save-row .button { min-height: 46px; }

  .employer-job-tabs { width: calc(100% + 20px); margin: 0 -10px 14px; padding-inline: 10px; gap: 20px; }
  .employer-job-tabs button { min-height: 50px; }
  .employer-job-section-head h2 { font-size: 27px; }
  .job-memory-bar { padding: 13px; }
  .job-memory-bar > * { min-width: 0; }
  .job-form-grid { gap: 14px; }
  .job-form-grid input,
  .job-form-grid select,
  .job-form-grid textarea { min-height: 48px; }
  .post-submit-row { position: sticky; z-index: 6; bottom: 0; padding: 10px; background: rgba(248,248,243,.97); }
  .post-submit-row .button { min-height: 48px; }
  .employer-job-swipe { min-height: 440px; height: auto; aspect-ratio: 4 / 5; }
  .employer-job-swipe-copy h2 { font-size: 27px; }
  .employer-company-cover { min-height: 150px; }

  .network-header { gap: 12px; }
  .network-header h2 { font-size: 25px; }
  .network-search input { min-height: 48px; }
  .network-tabs { width: calc(100% + 20px); margin-left: -10px; padding-inline: 10px; }
  .network-tab { min-height: 46px; }
  .people-grid { grid-template-columns: 1fr; }
  .schedule-page-actions,
  .schedule-summary { grid-template-columns: 1fr; }
  .schedule-week { overflow-x: auto; }

  .ai-assistant-dialog { height: 100dvh; border-radius: 0; }
  .ai-assistant-body { padding: 18px 16px; }
  .ai-answer-tools { align-items: stretch; }
  .ai-voice-button { width: 48px; min-width: 48px; height: 48px; align-self: start; }
  .ai-voice-wave { min-width: 0; max-width: 100%; }
  .ai-assistant-actions { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .site-header .header-start { display: none; }
  .site-header-brand,
  .site-header.is-scrolled .site-header-brand,
  .site-header-brand .brand-logo { width: 116px; }
  .mobile-site-menu nav { right: -57px; }
  .hero-copy h1 { max-width: none; font-size: 39px; }
  .hero-value-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .saved-overview .saved-compare-bar,
  .interest-compare-bar { flex-direction: column; }
  .saved-overview .saved-compare-bar > div:last-child,
  .interest-compare-bar > div:last-child { width: 100%; display: grid; grid-template-columns: auto 1fr; }
  .profile-photo-editor { grid-template-columns: 72px minmax(0, 1fr); }
  .company-brand-row { grid-template-columns: 68px minmax(0, 1fr); }
  .profile-photo-preview { width: 72px; height: 72px; min-width: 72px; }
  .company-logo-preview { width: 68px; height: 68px; min-width: 68px; }
  .profile-photo-actions .button,
  .company-brand-actions .button { padding-inline: 9px; font-size: 12px; }
}

@media (max-width: 360px) {
  .hero-copy h1 { font-size: 36px; }
  .site-header-brand,
  .site-header.is-scrolled .site-header-brand,
  .site-header-brand .brand-logo { width: 104px; min-width: 104px; }
  .swipe-action small { display: none; }
  .swipe-card-body h2 { font-size: 26px; }
}

/* Mobile swipe: a steady card and a dedicated decision dock. */
@media (max-width: 820px) {
  html {
    min-height: 100%;
    background: #17251d;
  }

  body:has(.app:not(.hidden)) {
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    background: #d8e0da;
  }

  .app:not(.hidden),
  .app-workspace {
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    background: #d8e0da;
  }

  .profile-chip .avatar-visual.has-image,
  #profile-avatar.avatar-visual.has-image,
  .profile-photo-preview.avatar-visual.has-image,
  .worker-swipe-avatar.avatar-visual.has-image,
  .candidate-profile-avatar.avatar-visual.has-image,
  .interest-avatar.avatar-visual.has-image,
  .match-avatar.avatar-visual.has-image {
    border-color: transparent;
    background-color: transparent;
  }

  #profile-chip.profile-chip {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50% !important;
    background: transparent;
    box-shadow: none;
  }

  #profile-chip.profile-chip:hover,
  #profile-chip.profile-chip:active {
    background: transparent;
    transform: none;
  }

  .profile-chip .avatar,
  .profile-chip .avatar-visual.has-image,
  .profile-chip .avatar-visual.has-image > img {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
  }

  .avatar-visual.has-image > img {
    border: 0;
    border-radius: inherit;
  }

  #discover-view.active .swipe-layout {
    width: 100%;
    overflow: visible;
  }

  .swipe-layout {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    justify-items: center;
    gap: 0;
  }

  .swipe-stage {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 2px 0 0;
    justify-self: center;
    justify-items: center;
    overflow: visible;
  }

  .swipe-context {
    display: none;
  }

  .swipe-deck {
    width: min(calc(100% - 12px), 420px);
    height: clamp(500px, 64dvh, 570px);
    min-height: 500px;
    margin-inline: auto;
    perspective: none;
  }

  .swipe-card,
  .swipe-empty {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-color: rgba(12, 45, 33, .18);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(12, 35, 27, .14);
  }

  .swipe-card {
    grid-template-rows: 78px minmax(0, 1fr);
    transform-origin: center center;
  }

  .swipe-card-next {
    opacity: .42;
    transform: translate3d(0, 7px, 0) scale(.985);
  }

  .swipe-card.swipe-left {
    transform: translate3d(-125%, 0, 0) !important;
  }

  .swipe-card.swipe-right {
    transform: translate3d(125%, 0, 0) !important;
  }

  .swipe-card.swipe-up {
    transform: translate3d(0, -118%, 0) scale(.98) !important;
  }

  .swipe-card-head {
    padding: 13px 15px;
  }

  .swipe-card-head .candidate-swipe-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-basis: 48px;
  }

  .swipe-card-head .candidate-swipe-avatar svg {
    width: 22px;
    height: 22px;
  }

  .swipe-card.candidate-card .swipe-card-body {
    padding-bottom: 26px;
  }

  .swipe-card.candidate-card .swipe-card-body h2 {
    font-size: 32px;
  }

  .candidate-decision-facts {
    display: flex;
    flex-wrap: wrap;
  }

  .candidate-decision-facts span {
    max-width: 100%;
  }

  .swipe-card-body {
    padding: 15px 18px 24px;
  }

  .swipe-card-body h2 {
    margin: 4px 0 8px;
    font-size: 29px;
    line-height: 1.08;
  }

  .swipe-card-labels {
    max-width: 56%;
  }

  .swipe-actions {
    position: relative;
    z-index: 8;
    width: min(calc(100% - 24px), 396px);
    min-height: 74px;
    margin: 12px auto 0;
    padding: 7px 10px;
    gap: 6px;
    border: 1px solid rgba(12, 45, 33, .14);
    border-radius: 18px;
    background: rgba(255, 255, 252, .96);
    box-shadow: 0 9px 24px rgba(12, 35, 27, .11);
    backdrop-filter: blur(12px);
  }

  .swipe-action {
    min-width: 0;
    min-height: 60px;
    padding: 4px 2px;
    gap: 4px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #17352b;
  }

  .swipe-action > span {
    width: 42px;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: transform 160ms ease, background-color 160ms ease;
  }

  .swipe-action:active > span {
    transform: scale(.92);
  }

  .swipe-action small {
    color: #34483f;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }

  .swipe-pass > span {
    color: #9b3e36;
    background: #f7e8e5;
    border-color: #efd4cf;
  }

  .swipe-save > span {
    color: #7a592b;
    background: #f2eadb;
    border-color: #e5d6bb;
  }

  .swipe-like > span {
    color: #176546;
    background: #e1eee7;
    border-color: #c8e0d2;
  }

  .undo-button {
    margin-top: 8px;
  }
}

/* Keep the create-job hierarchy above the compact workspace defaults. */
.post-card > .view-intro > p:last-child { display: block; }
.post-layout[data-employer-job-panel="create"] .job-memory-bar {
  border: 1px solid rgba(62,76,68,.16);
  border-radius: 8px;
  background: #edf2ee;
}

/* Final cascade for the employer interest inbox. */
.app-workspace:has(#interests-view.active) { background: #d8e0da; }
.interest-inbox { width: 100%; max-width: none; padding: clamp(22px, 3vw, 38px); }
.interest-inbox-intro { align-items: center; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(62, 76, 68, .16); }
.interest-inbox-intro > div > p:last-child { display: block; max-width: 760px; margin-top: 7px; color: #536159; font-size: 15px; line-height: 1.5; }
.interest-total { min-height: 40px; display: inline-flex; align-items: center; border-radius: 7px; background: #e2ebe5; }
.interest-toolbar { margin-bottom: 18px; align-items: center; border: 1px solid rgba(62, 76, 68, .16); border-radius: 8px; background: rgba(255,255,252,.72); padding: 8px 10px 8px 16px; }
.interest-toolbar > label { min-width: min(320px, 38vw); grid-template-columns: auto minmax(190px, 1fr); align-items: center; gap: 10px; padding: 0; }
.interest-toolbar select { width: 100%; border-radius: 7px; background-color: #fbfaf5; }
.interest-status-tabs { gap: 4px; }
.interest-status-tabs button { min-height: 44px; border-bottom-width: 2px; padding-inline: 13px; }
.interest-compare-bar { margin: 0 0 24px; border-color: rgba(62,76,68,.18); border-radius: 8px; background: #eef2ee; padding: 14px 16px; }
.interest-list { gap: 32px; }
.interest-job-group > header { margin-bottom: 12px; align-items: center; }
.interest-job-group > header h3 { font-size: 24px; line-height: 1.2; }
.interest-job-group > header > span { border: 1px solid rgba(62,76,68,.18); border-radius: 6px; background: rgba(255,255,252,.66); padding: 6px 9px; font-weight: 700; }
.interest-job-group > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.interest-card { min-height: 174px; align-items: stretch; overflow: hidden; border: 1px solid rgba(62,76,68,.18); border-radius: 8px; background: #fffef9; box-shadow: 0 9px 26px rgba(31,45,37,.06); }
.interest-card:last-child { border-bottom: 1px solid rgba(62,76,68,.18); }
.interest-card-main { min-height: 172px; grid-template-columns: 68px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; gap: 10px 14px; padding: 18px 16px; background: transparent; }
.interest-avatar { width: 68px; height: 68px; min-width: 68px; grid-row: 1 / span 2; }
.interest-card-copy { gap: 5px; }
.interest-card-top { align-items: start; flex-direction: column; gap: 2px; }
.interest-card-top strong { font-size: 18px; line-height: 1.25; }
.interest-role { font-size: 14px; line-height: 1.35; }
.interest-meta { font-size: 12px; line-height: 1.45; }
.interest-skills { margin-top: 5px; row-gap: 6px; }
.interest-skills em { padding: 5px 7px; border-radius: 5px; background: #f0f3ef; line-height: 1.2; }
.interest-card-status { grid-column: 2; justify-self: start; align-self: end; border-radius: 5px; }
.interest-compare-toggle { width: 70px; min-width: 70px; min-height: 100%; align-self: stretch; background: rgba(247,248,243,.8); }

@media (max-width: 1120px) {
  .interest-job-group > div { grid-template-columns: 1fr; }
  .interest-card { min-height: 150px; }
  .interest-card-main { min-height: 148px; }
}

@media (max-width: 820px) {
  .interest-inbox { padding: 18px 14px max(24px, env(safe-area-inset-bottom)); }
  .interest-inbox-intro { align-items: flex-start; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; }
  .interest-inbox-intro > div > p:last-child { display: block; font-size: 13px; }
  .interest-total { min-height: 36px; padding: 7px 9px; font-size: 12px; }
  .interest-toolbar { align-items: stretch; flex-direction: column; gap: 8px; padding: 8px; }
  .interest-toolbar > label { min-width: 0; grid-template-columns: 1fr; gap: 5px; }
  .interest-status-tabs { width: 100%; margin: 0; padding: 0; }
  .interest-status-tabs button { flex: 1 0 auto; justify-content: center; padding-inline: 9px; }
  .interest-compare-bar { gap: 12px; margin-bottom: 20px; }
  .interest-card { min-height: 0; }
  .interest-card-main { min-height: 168px; grid-template-columns: 56px minmax(0, 1fr); gap: 9px 11px; padding: 14px 11px; }
  .interest-avatar { width: 56px; height: 56px; min-width: 56px; }
  .interest-card-top strong { font-size: 17px; }
  .interest-role { font-size: 13px; }
  .interest-skills em:nth-child(n+3) { display: none; }
  .interest-compare-toggle { width: 56px; min-width: 56px; }
}

@media (max-width: 430px) {
  .interest-inbox-intro { flex-direction: column; }
  .interest-total { align-self: flex-start; }
  .interest-status-tabs { justify-content: flex-start; overflow-x: auto; }
  .interest-status-tabs button { flex: 0 0 auto; }
  .interest-job-group > header { align-items: flex-start; }
  .interest-job-group > header h3 { font-size: 21px; }
  .interest-card-main { grid-template-columns: 52px minmax(0, 1fr); }
  .interest-avatar { width: 52px; height: 52px; min-width: 52px; }
  .interest-compare-toggle { width: 52px; min-width: 52px; }
}

@media (max-width: 820px) {
  .ai-preparation-heading h3 { font-size: 21px; }
  .ai-preparation-heading > strong { font-size: 25px; }
  .ai-preparation ol { grid-template-columns: 1fr; }
  .ai-preparation li { min-height: 0; }
}

/* Profile, interest inbox and comparison refinements. */
#profile-chip.profile-chip {
  border: 0;
  background: transparent;
  box-shadow: none;
}

#profile-chip.profile-chip:hover,
#profile-chip.profile-chip:focus-visible {
  background: rgba(31, 106, 71, .08);
}

.interest-inbox { max-width: 1180px; }

.interest-card-main {
  min-height: 138px;
  padding: 20px;
  align-items: center;
  gap: 18px;
}

.interest-card-copy { gap: 6px; }

.interest-card-top strong,
.interest-role,
.interest-meta {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.interest-card-top { align-items: start; }
.interest-skills { row-gap: 7px; }

.saved-compare-dialog {
  height: min(94dvh, 900px);
  max-height: 94dvh;
  flex-direction: column;
  overflow: hidden;
}

.saved-compare-dialog[open] { display: flex; }
.saved-compare-dialog:not([open]) { display: none; }

.saved-compare-head { flex: 0 0 auto; }

.saved-comparison-scroll {
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

@media (max-width: 820px) {
  #profile-chip.profile-chip:hover,
  #profile-chip.profile-chip:focus-visible { background: transparent; }

  .interest-card-main {
    min-height: 150px;
    padding: 16px 12px;
    align-items: start;
  }

  .interest-card-top { gap: 4px; }
  .interest-skills em:nth-child(n+3) { display: inline-block; }

  .saved-compare-dialog {
    height: 100dvh;
    max-height: 100dvh;
  }
}

/* Full-screen contract for both the public site and the signed-in product. */
html,
body {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
}

body:has(#landing:not(.hidden)) { background: #17251d; }
body:has(.app:not(.hidden)) { background: #d8e0da; }

#landing:not(.hidden),
#top,
.hero,
.app:not(.hidden),
.app-workspace {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  min-height: 100dvh;
  margin-inline: 0;
}

.audience-section,
.how,
.about-hirely,
.principles,
.role-section { width: 100%; max-width: none; margin-inline: 0; }

.app:not(.hidden) { align-items: stretch; }
.app-sidebar { height: 100svh; height: 100dvh; }
.app-view.active { width: 100%; max-width: none; }

@media (max-width: 360px) {
  .swipe-deck {
    width: calc(100% - 8px);
    height: clamp(480px, 62dvh, 530px);
    min-height: 480px;
  }

  .swipe-actions {
    width: calc(100% - 16px);
  }

  .swipe-action small {
    display: block;
    font-size: 9px;
  }
}

/* Keep portraits and swipe previews consistent across candidate and company pages. */
.candidate-swipe-avatar.avatar-visual,
.candidate-profile-avatar.avatar-visual,
.worker-swipe-avatar.avatar-visual,
.profile-photo-preview.avatar-visual,
#profile-avatar.avatar-visual {
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  background-position: center;
  background-size: cover;
}

.candidate-swipe-avatar.avatar-visual > img,
.candidate-profile-avatar.avatar-visual > img,
.worker-swipe-avatar.avatar-visual > img,
.profile-photo-preview.avatar-visual > img,
#profile-avatar.avatar-visual > img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 28%;
}

/* Portraits must remain circular even when the swipe header is compressed. */
.swipe-card-head .candidate-swipe-avatar.avatar-visual,
.worker-swipe-preview .worker-swipe-avatar.avatar-visual {
  position: relative;
  box-sizing: border-box;
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  flex: 0 0 64px;
  align-self: flex-start;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50% !important;
  background: #e8eeea;
  clip-path: circle(50% at 50% 50%);
  line-height: 0;
}

.swipe-card-head .candidate-swipe-avatar.avatar-visual.has-image,
.worker-swipe-preview .worker-swipe-avatar.avatar-visual.has-image {
  background: transparent;
}

.swipe-card-head .candidate-swipe-avatar.avatar-visual > img,
.worker-swipe-preview .worker-swipe-avatar.avatar-visual > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center 28%;
}

@media (max-width: 720px) {
  .swipe-card-head .candidate-swipe-avatar.avatar-visual {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    flex-basis: 52px;
  }
}

.worker-swipe-preview,
.company-swipe-preview,
.employer-job-swipe {
  box-sizing: border-box;
  width: min(100%, 420px);
  min-height: 0;
  aspect-ratio: 2 / 3;
  margin-inline: auto;
}

@media (max-width: 600px) {
  .worker-swipe-preview,
  .company-swipe-preview,
  .employer-job-swipe {
    width: min(100%, 390px);
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .worker-swipe-preview > header,
  .company-swipe-preview > header,
  .employer-job-swipe > header { padding: 16px; }

  .worker-swipe-preview > div,
  .company-swipe-body,
  .employer-job-swipe-copy { padding: 24px 18px 20px; }

  .worker-swipe-preview h2,
  .company-swipe-body h2,
  .employer-job-swipe-copy h2 { font-size: 28px; }
}

/* Final wordmark sizing wins over the older image-based responsive rules. */
.site-header-brand,
.site-header.is-scrolled .site-header-brand {
  width: auto;
  min-width: 128px;
}
.brand-wordmark {
  color: var(--accent-dark);
  font-size: 29px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}
.site-header-brand .brand-wordmark { color: #fff; }

/* The wordmark follows the soft geometric letterforms in the supplied logo. */
.brand-wordmark {
  font-family: var(--font-brand);
  font-weight: 800;
}

.site-header .header-action {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 22px rgba(9, 24, 16, 0.12);
  font-weight: 700;
}

.site-header.is-scrolled .brand-wordmark {
  color: #17231d;
}

.site-header.is-scrolled .header-action {
  background: #fff;
  border-color: #b8c1bb;
  color: #17231d;
  box-shadow: 0 7px 20px rgba(18, 34, 25, 0.08);
}

@media (max-width: 820px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 320px);
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .site-header-brand,
  .site-header.is-scrolled .site-header-brand { min-width: 112px; }
  .site-header-brand .brand-wordmark { font-size: 26px; }
}

/* Workflow accents connect saved choices, job publishing and conversations. */
.saved-workflow-strip {
  margin: -4px 0 18px;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  overflow: hidden;
  border: 1px solid rgba(52, 67, 58, .18);
  border-radius: 8px;
  background: #f4f2e9;
}
.saved-workflow-strip > div:first-child { padding: 17px 20px; display: grid; align-content: center; background: #dce8e0; }
.saved-workflow-strip > div:first-child .eyebrow { margin-bottom: 4px; color: #456354; }
.saved-workflow-strip > div:first-child strong { font-size: 15px; }
.saved-workflow-strip > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.saved-workflow-strip button { min-width: 0; min-height: 82px; padding: 13px 15px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: center; column-gap: 8px; border: 0; border-left: 1px solid rgba(52, 67, 58, .14); background: #f4f0e4; color: #25362d; text-align: left; }
.saved-workflow-strip button:nth-child(2) { background: #e4ebe6; }
.saved-workflow-strip button:nth-child(3) { background: #e5e9ec; }
.saved-workflow-strip button:hover { filter: brightness(.97); }
.saved-workflow-strip button > span { grid-row: 1 / 3; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #9eaaa3; border-radius: 50%; font-size: 9px; font-weight: 800; }
.saved-workflow-strip button strong { font-size: 12px; line-height: 1.2; }
.saved-workflow-strip button small { color: #637069; font-size: 10px; line-height: 1.25; }

.job-progress-list li:nth-child(1) { background: #f4f0e4; }
.job-progress-list li:nth-child(2) { background: #e4ebe6; }
.job-progress-list li:nth-child(3) { background: #e5e9ec; }
.job-progress-list li:nth-child(4) { background: #edf0eb; }
.job-progress-list li { padding-inline: 10px; }
.job-progress-list li.complete { box-shadow: inset 3px 0 #3f7658; }

.conversation { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.conversation-stage-strip { min-width: 0; min-height: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.conversation-stage-strip > span { min-width: 0; padding: 9px 10px; display: flex; align-items: center; gap: 7px; border-right: 1px solid var(--line); background: #f4f0e4; color: #59665f; }
.conversation-stage-strip > span:nth-child(2) { background: #e5ece7; }
.conversation-stage-strip > span:nth-child(3) { border-right: 0; background: #e7ebee; }
.conversation-stage-strip i { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #aab5ae; border-radius: 50%; font-size: 9px; font-style: normal; font-weight: 800; }
.conversation-stage-strip strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.conversation-stage-strip .complete { color: #28543d; }
.conversation-stage-strip .complete i { border-color: #3f7658; background: #3f7658; color: #fff; }
.conversation-stage-strip .active { box-shadow: inset 0 -3px #9a7139; color: #4a3823; }
.context-section .context-trial { color: #28543d; }

.trial-message { width: min(520px, 92%); align-self: center; overflow: hidden; border: 1px solid #aebbb3; border-radius: 8px; background: #f4f0e4; box-shadow: 0 8px 22px rgba(29, 48, 38, .08); }
.trial-message header { padding: 13px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; border-bottom: 1px solid rgba(52, 67, 58, .16); background: #dce8e0; }
.trial-message header span { grid-column: 1; color: #456354; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.trial-message header strong { grid-column: 1; font-size: 14px; }
.trial-message header i { grid-column: 2; grid-row: 1 / 3; align-self: center; border: 1px solid #9db2a6; border-radius: 5px; background: #f6f8f5; padding: 5px 7px; color: #355342; font-size: 9px; font-style: normal; font-weight: 800; }
.trial-message > p { margin: 0; padding: 13px 14px 5px; font-size: 12px; line-height: 1.5; }
.trial-message > small { display: block; padding: 0 14px 13px; color: #69736d; font-size: 10px; line-height: 1.4; }
.trial-message > div { padding: 10px 14px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid rgba(52, 67, 58, .16); background: #faf9f4; }
.trial-message > div button { min-height: 38px; border: 1px solid #9eaaa3; border-radius: 6px; background: transparent; padding: 7px 10px; color: #2b3d33; font-size: 11px; font-weight: 800; }
.trial-message > div button:last-child { border-color: #345f48; background: #345f48; color: #fff; }

@media (min-width: 1101px) and (max-width: 1280px) {
  .messages-layout { grid-template-columns: 235px minmax(310px, 1fr) 215px; }
  .context-profile { padding-inline: 14px; }
  .context-section,
  .context-process { padding-inline: 14px; }
}

@media (max-width: 820px) {
  .saved-workflow-strip { grid-template-columns: 1fr; }
  .saved-workflow-strip > div:last-child { grid-template-columns: repeat(3, minmax(145px, 1fr)); overflow-x: auto; }
  .saved-workflow-strip button:first-child { border-left: 0; }
  .conversation-stage-strip strong { font-size: 9px; }
}

@media (max-width: 480px) {
  .saved-workflow-strip > div:last-child { grid-template-columns: 1fr; overflow: visible; }
  .saved-workflow-strip button { min-height: 66px; border-top: 1px solid rgba(52, 67, 58, .14); border-left: 0; }
  .conversation-stage-strip > span { padding-inline: 7px; }
  .conversation-stage-strip i { width: 20px; height: 20px; }
  .trial-message { width: 100%; }
}

/* Founder-only job catalog */
.founder-shell { width: min(1180px, 100%); margin: 0 auto; padding: 28px clamp(16px, 3vw, 38px) 60px; }
.founder-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.founder-head h2 { margin: 3px 0 7px; font-size: 32px; }
.founder-head p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.5; }
.founder-security-badge { flex: 0 0 auto; border: 1px solid #9bb4a5; border-radius: 5px; background: #e4eee7; padding: 8px 10px; color: #2b5b40; font-size: 11px; font-weight: 800; }
.founder-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(440px, 1.28fr); gap: 18px; padding: 22px 0; }
.founder-panel { min-width: 0; align-content: start; display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 20px; }
.founder-panel > header { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.founder-panel > header > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.founder-panel h3 { margin: 0 0 3px; font-size: 17px; }
.founder-panel header p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.founder-panel label { min-width: 0; display: grid; gap: 6px; color: #38473f; font-size: 11px; font-weight: 800; }
.founder-panel input,
.founder-panel select,
.founder-panel textarea { width: 100%; min-height: 44px; border: 1px solid #b9c2bc; border-radius: 6px; background: #fff; padding: 10px 11px; color: var(--ink); font: inherit; font-weight: 500; }
.founder-panel textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.founder-panel input:focus,
.founder-panel select:focus,
.founder-panel textarea:focus { outline: 3px solid rgba(42, 103, 70, .16); border-color: #46775b; }
.founder-field-row { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.founder-field-row-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder-notice { margin: 0; border-left: 3px solid #9b7135; background: #f4eddf; padding: 10px 12px; color: #59482e; font-size: 11px; line-height: 1.45; }
.founder-form-error { min-height: 16px; margin: 0; color: #9a352f; font-size: 11px; font-weight: 700; }
.founder-panel > .button { justify-self: start; min-height: 44px; }
.founder-jobs-panel { border-top: 1px solid var(--line); padding-top: 22px; }
.founder-jobs-panel > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.founder-jobs-panel h3 { margin: 3px 0 0; font-size: 20px; }
.founder-status-filter { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 7px; background: #f0f2ef; padding: 3px; }
.founder-status-filter button { min-height: 38px; border: 0; border-radius: 5px; background: transparent; padding: 7px 11px; color: var(--muted); font: inherit; font-size: 11px; font-weight: 800; }
.founder-status-filter button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(25, 42, 32, .12); }
.founder-job-list { display: grid; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.founder-job-row { min-width: 0; display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.founder-job-row:last-child { border-bottom: 0; }
.founder-job-row.is-active { background: #f0f5f2; box-shadow: inset 3px 0 #2d6344; }
.founder-job-company { min-width: 0; display: flex; align-items: center; gap: 12px; }
.founder-company-logo { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #eef1ed; }
.founder-company-logo img { width: 100%; height: 100%; object-fit: contain; }
.founder-job-company > div { min-width: 0; display: grid; gap: 2px; }
.founder-job-company span,
.founder-job-company small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.founder-job-company strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.founder-job-status { border: 1px solid #b6beb9; border-radius: 5px; padding: 5px 8px; color: #536159; font-size: 10px; font-weight: 800; }
.founder-job-status.published { border-color: #9eb6a7; background: #e5eee8; color: #2d6344; }
.founder-job-status.archived { background: #eceeec; color: #6c746f; }
.founder-job-actions { display: flex; align-items: center; gap: 7px; }
.founder-job-actions .button { min-height: 40px; }
.founder-candidate-button { gap: 5px; padding-inline: 12px; }
.founder-candidate-button strong { font-size: 14px; }
.founder-candidate-button span { font-size: 10px; }
.founder-loading { padding: 28px; color: var(--muted); text-align: center; }
.founder-candidates-panel { margin-top: 22px; border: 1px solid var(--line); border-radius: 8px; background: #f6f7f4; padding: clamp(16px, 2.5vw, 28px); }
.founder-candidates-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.founder-candidates-panel > header h3 { margin: 3px 0 5px; font-size: 23px; }
.founder-candidates-panel > header p { margin: 0; color: var(--muted); font-size: 12px; }
.founder-candidates-panel > .founder-status-filter { width: max-content; max-width: 100%; margin-bottom: 14px; }
.founder-candidate-list { display: grid; gap: 12px; }
.founder-candidate-card { overflow: hidden; border: 1px solid #cdd6d0; border-radius: 8px; background: #fff; }
.founder-candidate-cover { height: 54px; background: #dce8e1; background-position: center; background-size: cover; }
.founder-candidate-cover:not(.has-image) { background: linear-gradient(90deg, #dce8e1, #edf1e8); }
.founder-candidate-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 0 18px 14px; }
.founder-candidate-avatar { width: 58px; height: 58px; margin-top: -24px; border: 3px solid #fff; border-radius: 50%; overflow: hidden; background: #e8eeea; }
.founder-candidate-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-candidate-copy { min-width: 0; display: grid; gap: 3px; padding-top: 10px; }
.founder-candidate-copy h4 { margin: 0; font-size: 17px; }
.founder-candidate-copy p { overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.founder-candidate-state { color: #2d6344; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.founder-candidate-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.founder-candidate-tags span { border: 1px solid #d5ddd8; border-radius: 5px; background: #f6f8f6; padding: 4px 7px; color: #435249; font-size: 10px; }
.founder-relevance { display: grid; justify-items: end; gap: 1px; color: #2d6344; }
.founder-relevance strong { font-size: 20px; }
.founder-relevance span { color: var(--muted); font-size: 10px; }
.founder-candidate-details { border-top: 1px solid #e0e5e2; }
.founder-candidate-details summary { min-height: 44px; display: flex; align-items: center; padding: 0 18px; cursor: pointer; color: #2f5b43; font-size: 11px; font-weight: 800; }
.founder-candidate-details > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 18px 18px; }
.founder-candidate-details section { min-width: 0; }
.founder-candidate-details strong { font-size: 11px; }
.founder-candidate-details p,
.founder-candidate-details ul { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.founder-candidate-details ul { padding-left: 18px; }
.founder-candidate-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; border-top: 1px solid #e0e5e2; padding: 12px 18px; }
.founder-candidate-actions .button { min-height: 42px; }

@media (max-width: 940px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-job-row { grid-template-columns: minmax(0, 1fr) auto; }
  .founder-job-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 620px) {
  .founder-shell { padding: 18px 12px 90px; }
  .founder-head h2 { font-size: 26px; }
  .founder-head,
  .founder-jobs-panel > header { align-items: stretch; flex-direction: column; }
  .founder-security-badge { align-self: flex-start; }
  .founder-panel { padding: 15px; }
  .founder-field-row,
  .founder-field-row-three { grid-template-columns: 1fr; }
  .founder-status-filter { width: 100%; overflow-x: auto; }
  .founder-status-filter button { flex: 1 0 auto; }
  .founder-job-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .founder-job-status { justify-self: start; }
  .founder-job-actions { grid-column: auto; justify-content: stretch; }
  .founder-job-actions > * { flex: 1; }
  .founder-candidates-panel { margin-inline: -4px; padding: 14px; }
  .founder-candidates-panel > header { gap: 12px; }
  .founder-candidates-panel > .founder-status-filter { width: 100%; overflow-x: auto; }
  .founder-candidate-main { grid-template-columns: auto minmax(0, 1fr); padding-inline: 13px; }
  .founder-relevance { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 5px; }
  .founder-candidate-details > div { grid-template-columns: 1fr; padding-inline: 13px; }
  .founder-candidate-actions { display: grid; grid-template-columns: 1fr; padding-inline: 13px; }
}
/* Hierly AI side chat */
.ai-assistant-panel {
  position: fixed;
  z-index: 1200;
  top: 72px;
  right: 18px;
  bottom: 18px;
  width: min(440px, calc(100vw - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(24, 48, 37, .16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 26, 18, .24);
  opacity: 0;
  transform: translateX(calc(100% + 24px));
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}
.ai-assistant-panel.open { opacity: 1; transform: translateX(0); }
.ai-assistant-panel .ai-assistant-head { flex: 0 0 auto; padding: 18px 18px 15px; background: #fbfcfa; }
.ai-assistant-panel .ai-assistant-head h2 { font-size: 20px; }
.ai-assistant-panel .ai-assistant-head p:last-child { font-size: 12px; line-height: 1.45; }
.ai-assistant-panel .ai-assistant-progress { flex: 0 0 auto; height: 4px; }
.ai-assistant-panel .ai-assistant-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  background: #f5f7f4;
  scroll-behavior: smooth;
}
.ai-chat-thread { display: grid; gap: 12px; align-content: start; }
.ai-chat-message { max-width: 90%; border-radius: 20px; padding: 13px 15px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-chat-message p { margin: 0; }
.ai-chat-message strong { display: block; margin-bottom: 4px; }
.ai-chat-message.assistant { justify-self: start; border: 1px solid #d9e1dc; border-bottom-left-radius: 7px; background: #fff; color: var(--ink); }
.ai-chat-message.user { justify-self: end; border-bottom-right-radius: 7px; background: #173f2e; color: #fff; }
.ai-chat-message.feedback { border-color: #d8c79e; background: #fffaf0; }
.ai-chat-tips { margin: 8px 0 0; padding-left: 18px; color: #59645e; font-size: 12px; }
.ai-chat-question-list { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 7px; }
.ai-chat-welcome { max-width: 96%; }
.ai-chat-composer { margin-top: 12px; border: 1px solid #cfd8d2; border-radius: 20px; background: #fff; padding: 12px; box-shadow: 0 5px 18px rgba(16, 43, 30, .06); }
.ai-chat-composer textarea,
.ai-chat-composer input { width: 100%; border: 0; background: transparent; box-shadow: none; padding: 4px; }
.ai-chat-composer textarea { min-height: 88px; resize: vertical; }
.ai-chat-composer input:focus,
.ai-chat-composer textarea:focus { outline: 0; }
.ai-chat-composer .ai-answer-tools { padding: 6px 2px 0; border-top: 1px solid #edf0ee; }
.ai-assistant-panel .ai-assistant-actions { flex: 0 0 auto; padding: 12px 16px; background: #fff; }
.ai-assistant-panel .ai-assistant-actions .button { min-height: 44px; }
.ai-assistant-panel .ai-assistant-next { border-radius: 22px; padding-inline: 22px; }
.ai-assistant-panel .ai-assistant-privacy { flex: 0 0 auto; padding: 9px 16px max(10px, env(safe-area-inset-bottom)); }
.ai-assistant-panel.evaluating .ai-assistant-next { cursor: wait; opacity: .72; }
.ai-assistant-launcher {
  position: fixed;
  z-index: 1190;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 25px;
  background: #123c2b;
  box-shadow: 0 10px 30px rgba(7, 31, 20, .25);
  padding: 5px 16px 5px 6px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}
.ai-assistant-launcher:hover { background: #0b2f21; transform: translateY(-1px); }
.ai-launcher-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1abc78;
  color: #08271b;
  font-size: 17px;
  font-weight: 900;
}
.ai-chat-thinking { display: flex; align-items: center; gap: 5px; }
.ai-chat-thinking > span { width: 7px; height: 7px; border-radius: 50%; background: #6d7c74; animation: ai-chat-dot 1.1s ease-in-out infinite; }
.ai-chat-thinking > span:nth-child(2) { animation-delay: 120ms; }
.ai-chat-thinking > span:nth-child(3) { animation-delay: 240ms; }
.ai-chat-thinking small { margin-left: 5px; color: var(--muted); }
.ai-consent-card, .ai-check-complete { border: 1px solid #d9e1dc; border-radius: 16px; background: #fff; padding: 20px; }
.ai-consent-card h3 { margin: 5px 0 8px; }
.ai-consent-card p, .ai-consent-card li, .ai-check-complete p { color: var(--muted); line-height: 1.55; }
.ai-consent-card ul { padding-left: 20px; }
.ai-consent-card .button { margin-top: 8px; width: 100%; }
@keyframes ai-chat-dot { 50% { transform: translateY(-4px); opacity: .45; } }
@media (max-width: 600px) {
  .ai-assistant-panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .ai-assistant-panel .ai-assistant-head { padding: max(14px, env(safe-area-inset-top)) 14px 12px; }
  .ai-assistant-panel .ai-assistant-body { padding: 14px; }
  .ai-assistant-panel .ai-assistant-actions { position: static; padding: 10px 14px; }
  .ai-assistant-panel .ai-assistant-privacy { padding-inline: 14px; }
  .ai-chat-message { max-width: 92%; }
  .ai-answer-tools { align-items: center; flex-direction: row; }
  .ai-assistant-launcher { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .month-range-fields { grid-template-columns: 1fr; }
  .experience-timeline-item header { align-items: start; flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-assistant-panel { transition: none; }
}
/* Job details stay inside the deck; the back scrolls independently. */
#swipe-actions.is-detail-open { visibility: hidden; pointer-events: none; }
#swipe-deck .swipe-back-actions { position: static; flex: none; margin: 0; padding: 12px 20px; border-top: 1px solid #d9e2da; background: #f3f5f1; }
#swipe-deck .swipe-back-actions button { width: 100%; min-height: 48px; white-space: normal; }
#swipe-deck .swipe-card-back { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; min-width: 0; min-height: 0; border-radius: inherit; background: #f3f5f1; color: #20382d; text-align: left; cursor: auto; user-select: text; overflow: hidden; }
#swipe-deck .swipe-card-back[hidden] { display: none; }
#swipe-deck .swipe-card.is-flipped { touch-action: pan-y; cursor: auto; }
#swipe-deck .swipe-card.is-flipped > .swipe-card-head,
#swipe-deck .swipe-card.is-flipped > .swipe-card-body { visibility: hidden; }
#swipe-deck .swipe-back-heading { flex: none; padding: 18px 24px; border-bottom: 1px solid #d9e2da; background: #e5ece4; }
#swipe-deck .swipe-back-heading button { min-height: 44px; padding: 8px 12px; border: 1px solid #a6b9aa; border-radius: 6px; background: transparent; color: #20382d; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; }
#swipe-deck .swipe-back-heading h2 { margin: 12px 0 4px; color: inherit; font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
#swipe-deck .swipe-back-heading p { margin: 0; font-size: 14px; color: #526358; }
#swipe-deck .swipe-back-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
#swipe-deck .swipe-back-scroll .detail-dialog-hero { display: none; }
#swipe-deck .swipe-back-scroll .detail-dialog-body { display: block; padding: 22px 24px 28px; color: #20382d; }
#swipe-deck .swipe-back-scroll section { margin: 0 0 24px; padding: 0; }
#swipe-deck .swipe-back-scroll h3 { margin: 0 0 10px; color: inherit; font-size: 17px; line-height: 1.4; }
#swipe-deck .swipe-back-scroll p, #swipe-deck .swipe-back-scroll li, #swipe-deck .swipe-back-scroll dd { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; color: inherit; }
#swipe-deck .swipe-back-scroll p { white-space: pre-line; }
#swipe-deck .swipe-back-scroll .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#swipe-deck .swipe-card-back button:focus-visible { outline: 3px solid #34684b; outline-offset: 3px; }
#swipe-deck .swipe-back-scroll .detail-dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#swipe-deck .swipe-back-scroll .detail-dialog-actions button { min-height: 44px; white-space: normal; }
@media (max-width: 480px) {
  #swipe-deck .swipe-back-heading { padding: 12px 16px; }
  #swipe-deck .swipe-back-heading h2 { font-size: 19px; }
  #swipe-deck .swipe-back-scroll .detail-dialog-body { padding: 18px 16px 24px; }
}
