/* ============================================================
   Onboarding revamp — focused setup without dashboard chrome.
   Shared colors / typography come from /jobseeker-dashboard/dashboard.css.
   This file only adds onboarding-specific surfaces.
   ============================================================ */

body[data-page="onboarding"] .dashboard-layout.overview-layout--compressed {
  display: block;
  padding-top: 0;
}

body[data-page="onboarding"] .overview-layout--compressed > .dashboard-main {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 0;
}

/* ════════════════════════════════════════════════════════════════
   ob-layout: 2-column rail + body. Progress nav lives in the left
   sidebar; cards live in the right column body. Stacks below 880px,
   where the progress nav becomes a sticky dropdown again.
   (Ticket: t1778265422174)
   ──────────────────────────────────────────────────────────────── */
.ob-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 24px;
}
.ob-layout__body {
  min-width: 0;
  display: block;
}

@media (max-width: 880px) {
  .ob-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 0;
  }
}

/* Make the rail sticky on desktop so the progress steps follow as
   the user scrolls within a long card (skills, preferences). */
@media (min-width: 881px) {
  .ob-layout > .ob-progress {
    position: sticky;
    top: 24px;
  }
}

/* On desktop, ob-cards lose their auto-margin centering since the
   body column already provides the centering frame. */
@media (min-width: 881px) {
  .ob-layout__body > .ob-card {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  .ob-layout__body > .ob-card.ob-card--wide {
    max-width: 100%;
  }
}

/* ─── Progress rail ──────────────────────────────────────────────
   Desktop (>880px): vertical step list inside the left sidebar
   column of .ob-layout. Visual style of dots and labels stays
   the same as the previous horizontal layout — the only thing
   that changes is the orientation. (Ticket: t1778265422174)
   Mobile (<=720px): collapses to a sticky dropdown (existing pattern). */
.ob-progress {
  position: relative;
  z-index: 30;
  background: transparent;
  padding: 0;
  margin: 0;
}

.ob-progress__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 0;
}

/* Desktop vertical layout: step list stacks top-to-bottom with a
   continuous vertical fill bar drawn through the dot column. */
@media (min-width: 881px) {
  .ob-progress__inner {
    padding: 18px 16px 18px 14px;
    background: #ffffff;
    border: 1px solid rgba(1, 56, 44, 0.08);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(1, 56, 44, 0.04);
  }
  .ob-progress__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
  }
  /* Continuous track behind the dot column (left side of each row). */
  .ob-progress__steps::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 12px;
    width: 2px;
    background: rgba(1, 56, 44, 0.08);
    border-radius: 2px;
  }
  .ob-progress__step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    position: relative;
  }
  .ob-progress__dot {
    flex: 0 0 auto;
    margin-left: 0;
    z-index: 2;
  }
  .ob-progress__label {
    flex: 1 1 auto;
    text-align: left;
    font-size: 12.5px;
    color: rgba(1, 56, 44, 0.65);
  }
  /* Vertical fill bar replaces the horizontal one. The width still
     comes from --ob-progress-fill (set inline by the existing JS) but
     we map it onto a vertical height via a CSS calc. */
  .ob-progress__bar {
    display: none;
  }
}

/* Mobile horizontal layout (≤720px) keeps the dropdown pattern,
   already styled below in the ≤720px media query. The horizontal
   styling below is the small-screen fallback. */
@media (max-width: 880px) {
  .ob-progress { padding: 0 0 14px; }
  .ob-progress__inner {
    flex-direction: column;
    gap: 10px;
    max-width: 880px;
    margin: 0 auto;
  }
  .ob-progress__steps {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ob-progress__steps::-webkit-scrollbar { display: none; }
  .ob-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 4px 8px;
    cursor: default;
  }
}

/* Dot + label visuals — identical to the previous design so the user's
   "same simple style" requirement holds. */
.ob-progress__dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: rgba(1, 56, 44, 0.45);
  background: #ffffff;
  border: 1.5px solid rgba(1, 56, 44, 0.12);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ob-progress__step[data-state="active"] .ob-progress__dot {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.ob-progress__step[data-state="done"] .ob-progress__dot {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.38);
  color: #047857;
}

.ob-progress__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(1, 56, 44, 0.55);
  white-space: nowrap;
}

.ob-progress__step[data-state="active"] .ob-progress__label { color: #047857; }

/* Mobile horizontal fill bar */
.ob-progress__bar {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(1, 56, 44, 0.08);
  overflow: hidden;
  margin-top: 2px;
}

.ob-progress__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 320ms cubic-bezier(.2,.7,.2,1);
}

/* (removed) .ob-progress__count — markup never used it; cleared the
   stale rule. (Ticket: t1778260518944) */

.ob-progress__mobile-trigger {
  display: none;
}


/* ─── Onboarding card surface (matches dashboard surface-card vibe) ───── */
.ob-card {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 32px 36px 28px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(1, 56, 44, 0.08);
  box-shadow: 0 1px 2px rgba(1, 56, 44, 0.04);
}

.ob-card[hidden] { display: none !important; }

.ob-card__hero { margin-bottom: 22px; }

.ob-card__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ob-card__title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #01382c;
  max-width: 30ch;
}

.ob-card__lede {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(1, 56, 44, 0.66);
  max-width: 60ch;
}

.ob-card__step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(1, 56, 44, 0.5);
  margin-bottom: 6px;
}

.ob-card__step-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #01382c;
}

.ob-card__step-lede {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(1, 56, 44, 0.65);
  max-width: 56ch;
}


/* ─── Welcome perks list ───────────────────────────────────────────────── */
.ob-card__perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.ob-perk {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.12);
}

.ob-perk__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 150, 105, 0.15);
}

.ob-perk strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #01382c;
  margin-bottom: 2px;
}

.ob-perk p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(1, 56, 44, 0.6);
}


/* ─── CTA row ─────────────────────────────────────────────────────────── */
.ob-card__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.ob-card__skip {
  font-size: 12px;
  font-weight: 500;
  color: rgba(1, 56, 44, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
}

.ob-card__skip:hover { color: #01382c; }

.ob-card__footnote {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(1, 56, 44, 0.1);
  font-size: 11.5px;
  color: rgba(1, 56, 44, 0.5);
}


/* ─── Languages rows (cloned from settings/edit so the prototype matches) ─ */
.lang-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.lang-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: #fafdfc;
  border: 1px solid rgba(1, 56, 44, 0.08);
  border-radius: 10px;
}
.lang-row__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lang-row__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(1, 56, 44, 0.55);
}
.lang-row__input, .lang-row__select {
  width: 100%; padding: 9px 11px; border: 1px solid rgba(1, 56, 44, 0.15);
  border-radius: 8px; background: #ffffff; font: inherit; font-size: 13px;
  color: #01382c;
}
.lang-row__input:focus, .lang-row__select:focus {
  outline: none; border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.lang-row__remove {
  width: 32px; height: 32px; align-self: end; margin-bottom: 1px;
  background: transparent; border: 1px solid rgba(1, 56, 44, 0.1);
  border-radius: 8px; color: rgba(1, 56, 44, 0.5); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.lang-row__remove:hover {
  background: #fee2e2; border-color: rgba(220, 38, 38, 0.4); color: #b91c1c;
}
.lang-add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; background: transparent; border: 1px dashed rgba(5, 150, 105, 0.4);
  border-radius: 8px; color: #047857; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background 120ms ease, border-color 120ms ease;
}
.lang-add:hover { background: #ecfdf5; border-style: solid; border-color: #059669; }


/* ─── Done state ──────────────────────────────────────────────────────── */
.ob-card--done { padding-top: 38px; padding-bottom: 36px; }

.ob-done { text-align: center; }

.ob-done__check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.32);
}

.ob-done__title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #01382c;
}

.ob-done__lede {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(1, 56, 44, 0.65);
  line-height: 1.55;
}

.ob-done__summary {
  background: rgba(5, 150, 105, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  text-align: left;
  margin-bottom: 22px;
}

.ob-done__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: #064e3b;
}

.ob-done__chip {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.ob-done__chip--good {
  background: #059669;
  color: #ffffff;
}

.ob-done__bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(1, 56, 44, 0.08);
  overflow: hidden;
  margin-bottom: 10px;
}

.ob-done__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 3px;
}

.ob-done__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(1, 56, 44, 0.6);
}

.ob-done__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ob-done__next {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px dashed rgba(1, 56, 44, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 12.5px;
  color: rgba(1, 56, 44, 0.7);
}

.ob-done__next li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ob-done__next-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}


/* ─── Sticky bottom action bar ────────────────────────────────────────── */
.ob-actionbar {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  width: 100%;
  max-width: min(1088px, calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(1, 56, 44, 0.1);
  box-shadow: 0 8px 24px rgba(1, 56, 44, 0.08);
}

.ob-actionbar[hidden] { display: none !important; }

.ob-actionbar__center {
  flex: 1;
  text-align: center;
}

.ob-actionbar__skip {
  font-size: 12px;
  font-weight: 500;
  color: rgba(1, 56, 44, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ob-actionbar__skip:hover { color: #01382c; }

.ob-actionbar__next {
  margin-left: auto;
}


/* ─── Prototype-only state toggle ─────────────────────────────────────── */
.ob-state-toggle {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid rgba(1, 56, 44, 0.12);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(1, 56, 44, 0.08);
  font-size: 11.5px;
}

.ob-state-toggle__label {
  color: rgba(1, 56, 44, 0.55);
  padding: 0 4px 0 6px;
}

.ob-state-toggle__btn {
  background: transparent;
  border: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  color: rgba(1, 56, 44, 0.7);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.ob-state-toggle__btn:hover { background: rgba(1, 56, 44, 0.04); }

.ob-state-toggle__btn.is-active {
  background: #059669;
  color: #ffffff;
}


/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .ob-card { padding: 22px 20px; margin: 0 12px 18px; }
  .ob-card__title { font-size: 21px; }
  .ob-card__step-title { font-size: 19px; }
  .ob-progress { padding-left: 12px; padding-right: 12px; }
  .ob-progress__label { display: none; }
  .lang-row { grid-template-columns: 1fr 1fr; }
  .lang-row__remove { grid-column: 1 / -1; justify-self: end; }
  .ob-state-toggle { bottom: 12px; right: 12px; padding: 4px 6px; }
}


/* ─── Onboarding photo + chips + skill rows + comp tabs (step UIs) ─── */
.ob-photo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.12);
}

.ob-photo__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
}

.ob-photo__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.ob-hint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.ob-hint-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px dashed rgba(5, 150, 105, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: #047857;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}

.ob-hint-btn:hover {
  background: rgba(5, 150, 105, 0.06);
  border-style: solid;
}

.ob-tips {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(1, 56, 44, 0.025);
  border: 1px solid rgba(1, 56, 44, 0.08);
  border-radius: 10px;
  font-size: 12.5px;
}

.ob-tips summary {
  font-weight: 600;
  color: #064e3b;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ob-tips summary::before {
  content: '→';
  display: inline-block;
  transition: transform 140ms ease;
}

.ob-tips[open] summary::before { transform: rotate(90deg); }

.ob-tips ul {
  margin: 10px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(1, 56, 44, 0.7);
  line-height: 1.55;
}


/* Skill rows */
.ob-skill-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.ob-skill-row {
  display: grid;
  grid-template-columns: 1fr 110px auto;
  gap: 8px;
  align-items: stretch;
}

.ob-skill-row__name input,
.ob-skill-row__years input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(1, 56, 44, 0.14);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  color: #01382c;
}

.ob-skill-row__years {
  position: relative;
}

.ob-skill-row__years-suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: rgba(1, 56, 44, 0.45);
  font-weight: 500;
  pointer-events: none;
}

.ob-skill-row__years input { padding-right: 32px; }


/* GitHub CTA */
.ob-github-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #0f1419;
  color: #ffffff;
}

.ob-github-cta__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ob-github-cta__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ob-github-cta__body strong {
  font-size: 13px;
  font-weight: 600;
}

.ob-github-cta__body span {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.ob-github-cta__body em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}


/* Chips group (Preferences) */
.ob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ob-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(1, 56, 44, 0.12);
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(1, 56, 44, 0.7);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.ob-chip:hover {
  border-color: rgba(5, 150, 105, 0.32);
  background: rgba(5, 150, 105, 0.04);
}

.ob-chip input {
  display: none;
}

.ob-chip.is-active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

.ob-chip.is-active::before {
  content: '✓';
  font-weight: 700;
}


/* Toggle row (show-on-profile) */
.ob-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background: #fafdfc;
  border: 1px solid rgba(1, 56, 44, 0.08);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(1, 56, 44, 0.65);
}

.ob-toggle-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #059669;
}

.ob-toggle-row span strong {
  color: #064e3b;
  font-weight: 600;
}


/* Compensation tabs + range */
.ob-comp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

@media (max-width: 540px) {
  .ob-comp { grid-template-columns: 1fr; }
}

.ob-comp-tabs {
  display: inline-flex;
  background: #f5faf8;
  border: 1px solid rgba(1, 56, 44, 0.1);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.ob-comp-tab {
  flex: 1;
  padding: 7px 14px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(1, 56, 44, 0.55);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.ob-comp-tab.is-active {
  background: #ffffff;
  color: #01382c;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(1, 56, 44, 0.08);
}

.ob-comp-range {
  padding: 14px 16px;
  background: rgba(5, 150, 105, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 10px;
}

.ob-comp-range__inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.ob-comp-range__inputs .surface-input {
  flex: 1 1 120px;
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(1, 56, 44, 0.14);
  border-radius: 8px;
  padding: 0 11px;
}

.ob-comp-range__inputs input {
  flex: 1;
  width: 100%;
  padding: 9px 0 9px 18px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #01382c;
  outline: none;
}

.ob-comp-range__prefix {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(1, 56, 44, 0.45);
  font-weight: 600;
  font-size: 14px;
}

.ob-comp-range__sep {
  font-size: 11.5px;
  color: rgba(1, 56, 44, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ob-comp-range__per {
  font-size: 11.5px;
  color: rgba(1, 56, 44, 0.5);
  font-weight: 500;
}


/* Required asterisk + textarea + form grid + form-field helpers */
.profile-form__req { color: #b91c1c; font-weight: 700; }

.surface-input--textarea textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(1, 56, 44, 0.15);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  color: #01382c;
  resize: vertical;
  min-height: 120px;
}

.surface-input--textarea textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}


/* Stretch the state toggle horizontally for 8 buttons */
.ob-state-toggle {
  flex-wrap: wrap;
  max-width: calc(100vw - 36px);
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .ob-state-toggle__btn { padding: 4px 8px; font-size: 10.5px; }
}

/* ════════════════════════════════════════════════════════════════
   Tickets batch 2026-05-09 — onboarding-jobseeker/1 polish.
   ──────────────────────────────────────────────────────────────── */

.ob-photo__buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.ob-perk--clickable {
  border: 1px solid rgba(5, 150, 105, 0.18);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer; font: inherit; color: inherit; text-align: left;
  transition: border-color .15s, background .15s, transform .12s;
  width: 100%;
  display: flex; align-items: flex-start; gap: 12px;
}
.ob-perk--clickable:hover, .ob-perk--clickable:focus-visible {
  border-color: rgba(5, 150, 105, 0.42); background: #fff; transform: translateY(-1px);
}
.ob-perk--clickable .ob-perk__chev {
  margin-left: auto; align-self: center; color: rgba(1, 56, 44, 0.5);
}

/* Card 6 (Preferences) sub-section gap. (t1778255536373) */
section.ob-card[data-ob-state="preferences"] > .profile-form__field--full { margin-top: 28px; }
section.ob-card[data-ob-state="preferences"] > .profile-form__field--full:first-of-type { margin-top: 0; }

/* Skills card with skill-web aside split. (t1778255445028) */
.ob-card--with-aside {
  max-width: 1088px;
  padding: 36px 40px 32px;
}

.ob-card--with-aside .ob-card__head {
  max-width: 820px;
}

.ob-card--with-aside .ob-card__split {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(320px, 360px);
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .ob-card--with-aside .ob-card__split { grid-template-columns: minmax(0, 1fr); }
}
.ob-card__main { min-width: 0; }

/* Icon choice cards for preferences. */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.schedule-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  align-items: center;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(1, 56, 44, 0.12);
  border-radius: 12px;
  background: #ffffff;
  color: #01382c;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, transform 140ms ease;
}

.schedule-card:hover {
  border-color: rgba(5, 150, 105, 0.34);
  background: #fbfffd;
  transform: translateY(-1px);
}

.schedule-card.is-active {
  border-color: rgba(5, 150, 105, 0.62);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.12), 0 8px 18px rgba(1, 56, 44, 0.06);
}

.schedule-icon {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
  overflow: hidden;
}

.schedule-icon__img {
  display: block;
  width: 28px;
  height: 28px;
}

.schedule-card__title {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.schedule-card__sub {
  display: block;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(1, 56, 44, 0.58);
}

.schedule-grid--status {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.schedule-grid--status .schedule-card {
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 68px;
  padding: 11px 12px;
}

.schedule-grid--status .schedule-icon {
  width: 34px;
  height: 34px;
}

.schedule-grid--status .schedule-icon__img {
  width: 26px;
  height: 26px;
}

@media (max-width: 760px) {
  .schedule-grid,
  .schedule-grid--status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .schedule-grid,
  .schedule-grid--status {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ob-skill-aside {
  position: sticky; top: 88px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.6), #ffffff);
  display: flex; flex-direction: column; gap: 12px;
}
.ob-skill-aside__head { display: flex; flex-direction: column; gap: 6px; }
.ob-skill-aside__eyebrow { font: 600 0.7rem/1 "Figtree", inherit; letter-spacing: 0.04em; color: #047857; }
.ob-skill-aside__intro { margin: 0; font: 400 0.78rem/1.5 inherit; color: rgba(1, 56, 44, 0.62); }
.ob-skill-web { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ob-skill-web svg { width: 100%; height: auto; max-width: 240px; }
.ob-skill-web__legend {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 0.72rem/1 inherit; color: rgba(1, 56, 44, 0.65);
}
.ob-skill-web__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #047857;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.18);
}

/* Skill row with rate-yourself. (t1778255401958) */
.ob-skill-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 148px 86px 32px;
  gap: 10px; align-items: center;
}
@media (max-width: 720px) {
  .ob-skill-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .ob-skill-row__rate { grid-column: 1 / -1; order: 5; }
}
.ob-skill-row__rate {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 12px;
  border: 1px solid rgba(1, 56, 44, 0.10);
  border-radius: 8px;
  background: rgba(236, 253, 245, 0.4);
  white-space: nowrap;
}
.ob-skill-row__rate-label { font: 500 0.7rem/1 inherit; color: rgba(1, 56, 44, 0.62); }
.ob-skill-row__rate input {
  width: 36px; border: 0; background: transparent;
  font: 700 0.85rem/1 inherit; color: #01382C; text-align: center;
  -moz-appearance: textfield;
}
.ob-skill-row__rate input:focus { outline: 2px solid #059669; outline-offset: 2px; border-radius: 4px; }
.ob-skill-row__rate input::-webkit-outer-spin-button,
.ob-skill-row__rate input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Photo-guidelines popover (recycled from settings/edit). (t1778255084265) */
.photo-guidelines-modal[hidden],
.photo-guidelines-scrim[hidden] { display: none !important; }
.photo-guidelines-scrim {
  position: fixed; inset: 0;
  background: rgba(1, 56, 44, 0.4);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  z-index: 1000; animation: pgFadeIn .15s ease;
}
.photo-guidelines-modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1001; padding: 24px; pointer-events: none;
}
.photo-guidelines-modal__panel {
  pointer-events: auto;
  width: min(720px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 16px;
  box-shadow: 0 30px 80px rgba(1, 56, 44, 0.25), 0 6px 14px rgba(1, 56, 44, 0.08);
  padding: 28px 28px 22px; position: relative;
  animation: pgRise .2s cubic-bezier(.22,.8,.36,1);
}
.photo-guidelines-modal__close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 8px; border: 0; background: transparent;
  color: #6b7280; font-size: 22px; line-height: 1; cursor: pointer;
}
.photo-guidelines-modal__close:hover { background: rgba(1,56,44,0.06); color: #01382C; }
.photo-guidelines-modal__title { font: 800 1.15rem/1.3 inherit; color: #01382C; margin: 0 0 8px; }
.photo-guidelines-modal__lede {
  font-size: 0.875rem; line-height: 1.55;
  color: rgba(1, 56, 44, 0.72); margin: 0 0 18px;
}
.photo-guidelines-modal__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
@media (max-width: 640px) { .photo-guidelines-modal__cols { grid-template-columns: 1fr; } }
.photo-guidelines-modal__col { border-radius: 12px; padding: 14px 16px; }
.photo-guidelines-modal__col--good { background: #ecfdf5; border: 1px solid rgba(5, 150, 105, 0.18); }
.photo-guidelines-modal__col--bad { background: #fef2f2; border: 1px solid rgba(220, 38, 38, 0.18); }
.photo-guidelines-modal__col h3 {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 0.78rem/1 inherit;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.photo-guidelines-modal__col--good h3 { color: #047857; }
.photo-guidelines-modal__col--bad h3 { color: #b91c1c; }
.photo-guidelines-modal__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.photo-guidelines-modal__col li { font-size: 0.8125rem; line-height: 1.5; color: #1f2937; padding-left: 16px; position: relative; }
.photo-guidelines-modal__col--good li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.photo-guidelines-modal__col--bad li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #DC2626; }
.photo-guidelines-modal__footnote { font-size: 0.75rem; line-height: 1.5; color: rgba(1, 56, 44, 0.6); margin: 0 0 14px; }
.photo-guidelines-modal__actions { display: flex; justify-content: flex-end; }

/* Resume auto-fill modal (recycled). (Tickets: t1778255230947, t1778255210080) */
.autofill-modal[hidden],
.autofill-scrim[hidden] { display: none !important; }
.autofill-scrim {
  position: fixed; inset: 0;
  background: rgba(1, 56, 44, 0.4);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 1000; animation: pgFadeIn .15s ease;
}
.autofill-modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1001; padding: 24px; pointer-events: none;
}
.autofill-modal__panel {
  pointer-events: auto;
  width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 16px;
  box-shadow: 0 30px 80px rgba(1, 56, 44, 0.28), 0 6px 14px rgba(1, 56, 44, 0.08);
  padding: 26px 26px 22px; position: relative;
  animation: pgRise .22s cubic-bezier(.22,.8,.36,1);
}
.autofill-modal__close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 8px; border: 0; background: transparent;
  color: #6b7280; font-size: 22px; line-height: 1; cursor: pointer;
}
.autofill-modal__close:hover { background: rgba(1,56,44,0.06); color: #01382C; }
.autofill-modal__eyebrow {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  background: rgba(5, 150, 105, 0.12); color: #047857;
  font: 700 0.66rem/1 inherit; letter-spacing: 0.06em; text-transform: uppercase;
}
.autofill-modal__title {
  margin: 10px 0 6px;
  font: 700 1.2rem/1.25 inherit;
  color: #01382C; letter-spacing: -0.01em;
}
.autofill-modal__lede {
  margin: 0 0 18px;
  font: 400 0.875rem/1.5 inherit;
  color: rgba(1, 56, 44, 0.72);
}
.autofill-dropzone {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1.5px dashed rgba(5, 150, 105, 0.32);
  border-radius: 14px;
  background: rgba(236, 253, 245, 0.4);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  margin-bottom: 16px;
}
.autofill-dropzone:hover { border-color: rgba(5, 150, 105, 0.55); background: rgba(236, 253, 245, 0.7); }
.autofill-dropzone__icon {
  flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 50%;
  background: #ecfdf5; color: #047857;
  display: inline-flex; align-items: center; justify-content: center;
}
.autofill-dropzone__copy { display: flex; flex-direction: column; gap: 2px; }
.autofill-dropzone__copy strong { font: 600 0.95rem/1.3 inherit; color: #01382C; }
.autofill-dropzone__copy span { font: 400 0.78rem/1.5 inherit; color: rgba(1, 56, 44, 0.6); }
.autofill-modal__bullets { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.autofill-modal__bullets li {
  position: relative; padding-left: 16px;
  font: 400 0.78rem/1.5 inherit; color: rgba(1, 56, 44, 0.72);
}
.autofill-modal__bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: #10b981;
}
.autofill-modal__actions { display: flex; justify-content: flex-end; gap: 8px; }

@keyframes pgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pgRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  body[data-page="onboarding"] .dashboard-layout.overview-layout--compressed {
    padding-top: 0;
  }

  /* Sticky mobile dropdown for the onboarding progress nav.
     (Ticket: t1778260505594) */
  .ob-progress {
    position: sticky;
    top: 0;
    z-index: 60;
    margin-bottom: 14px;
    padding: 12px;
    background: rgba(248, 251, 249, 0.96);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid rgba(1, 56, 44, 0.06);
  }

  .ob-progress__inner {
    position: relative;
    max-width: 100%;
    gap: 8px;
  }

  .ob-progress__mobile-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(1, 56, 44, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #01382c;
    font: inherit;
    text-align: left;
    box-shadow: 0 8px 20px rgba(1, 56, 44, 0.08);
  }

  .ob-progress__mobile-trigger span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(1, 56, 44, 0.5);
  }

  .ob-progress__mobile-trigger strong {
    margin-left: auto;
    font-size: 13px;
    color: #047857;
  }

  .ob-progress__mobile-trigger svg {
    flex: 0 0 auto;
    transition: transform 140ms ease;
  }

  .ob-progress.is-mobile-open .ob-progress__mobile-trigger svg {
    transform: rotate(180deg);
  }

  .ob-progress__steps {
    display: none;
    position: absolute;
    top: calc(100% - 3px);
    right: 0;
    left: 0;
    z-index: 45;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: min(360px, calc(100vh - 140px));
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(1, 56, 44, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(1, 56, 44, 0.16);
  }

  .ob-progress.is-mobile-open .ob-progress__steps {
    display: flex;
  }

  .ob-progress__step {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
  }

  .ob-progress__step[data-state="active"] {
    background: rgba(5, 150, 105, 0.08);
  }

  .ob-progress__label {
    display: inline;
    font-size: 12px;
  }

  .ob-progress__dot {
    width: 24px;
    height: 24px;
  }

  .ob-card--with-aside {
    padding: 24px 20px;
  }
}

@media (max-width: 960px) {
  .ob-card--with-aside .ob-card__split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ob-skill-row {
    grid-template-columns: minmax(0, 1fr) 128px 76px 32px;
  }
}

/* Profile-edit parity for onboarding skill and preferences tickets. */
body[data-page="onboarding"] .ob-skill-profile-widget {
  display: flex;
  flex-direction: column;
}

body[data-page="onboarding"] .skill-add-row {
  align-items: flex-end;
}

body[data-page="onboarding"] .skill-add-row__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body[data-page="onboarding"] .skill-add-row__field--name { flex: 1 1 auto; }
body[data-page="onboarding"] .skill-add-row__field--rating { flex: 0 0 112px; }
body[data-page="onboarding"] .skill-add-row__field--years { flex: 0 0 86px; }

body[data-page="onboarding"] .skill-add-row__field-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #01382C;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body[data-page="onboarding"] .skill-add-row__field-label small {
  margin-left: 4px;
  color: rgba(1, 56, 44, 0.55);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="onboarding"] .skill-add-row__field--years .skill-add-row__field-label {
  color: #047857;
}

body[data-page="onboarding"] .skill-add-row__field--rating .skill-add-row__field-label {
  color: #b45309;
}

body[data-page="onboarding"] .skill-add-row__rating input,
body[data-page="onboarding"] .skill-add-row__years input {
  text-align: center;
}

body[data-page="onboarding"] .skill-add-row__hint {
  margin: 0 0 10px;
  color: rgba(1, 56, 44, 0.62);
  font-size: 0.78rem;
}

body[data-page="onboarding"] .skill-add-row__hint strong {
  color: #047857;
  font-weight: 700;
}

body[data-page="onboarding"] .ob-card--with-aside .ob-skill-rows,
body[data-page="onboarding"] .ob-card--with-aside .lang-add,
body[data-page="onboarding"] .ob-skill-aside:not(.ob-skill-aside--profile) {
  display: none;
}

body[data-page="onboarding"] .ob-skill-aside--profile {
  position: static;
  top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-grid,
body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-grid--status {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-card,
body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-grid--status .schedule-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  gap: 6px;
  padding: 14px 14px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-card:hover {
  border-color: #10b981;
  box-shadow: 0 6px 16px -8px rgba(5, 150, 105, .4);
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-card.is-active {
  border-color: #047857;
  background: linear-gradient(180deg, rgba(16, 185, 129, .06), rgba(16, 185, 129, .01));
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .12), 0 6px 16px -8px rgba(5, 150, 105, .4);
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-card.is-active::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 6px;
  height: 11px;
  border: solid #047857;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon,
body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-grid--status .schedule-icon {
  position: relative;
  grid-row: auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 49, 36, .06);
  overflow: visible;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon svg {
  position: relative;
  z-index: 1;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--any {
  background: linear-gradient(135deg, #fef3c7, #e0f2fe 50%, #ede9fe);
  color: #047857;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--morning {
  background: linear-gradient(135deg, #fff7ed 0%, #fde68a 55%, #fdba74 100%);
  color: #b45309;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--day {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  color: #b45309;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--afternoon {
  background: linear-gradient(135deg, #fde68a 0%, #fb923c 100%);
  color: #c2410c;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--evening {
  background: linear-gradient(135deg, #fdba74 0%, #f97316 40%, #7c3aed 100%);
  color: #5b21b6;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--night {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
  color: #fef3c7;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--remote {
  background: linear-gradient(135deg, #ecfeff 0%, #bae6fd 55%, #7dd3fc 100%);
  color: #0369a1;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--hybrid {
  background: linear-gradient(135deg, #e0f2fe 0%, #a7f3d0 55%, #6ee7b7 100%);
  color: #047857;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--onsite {
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 60%, #94a3b8 100%);
  color: #334155;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--flexible {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
  color: #b45309;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-icon--abroad {
  background: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 55%, #7c3aed 100%);
  color: #5b21b6;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-card__title {
  color: #111827;
  font-size: .92rem;
  font-weight: 700;
}

body[data-page="onboarding"] section[data-ob-state="preferences"] .schedule-card__sub {
  color: #6b7280;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  body[data-page="onboarding"] .skill-add-row { flex-wrap: wrap; }
  body[data-page="onboarding"] .skill-add-row__field--name { flex: 1 1 100%; }
  body[data-page="onboarding"] .skill-add-row__field--rating { flex: 0 0 112px; }
  body[data-page="onboarding"] .skill-add-row__field--years { flex: 0 0 96px; }
}

/* ════════════════════════════════════════════════════════════════
   Tickets batch 2026-05-09 — additional onboarding polish.
   ──────────────────────────────────────────────────────────────── */

/* "(Optional)" subtext on perk strong (t1778260546683) */
.ob-perk__optional {
  display: inline-block;
  margin-left: 6px;
  font-weight: 500;
  font-size: 0.8em;
  color: rgba(1, 56, 44, 0.5);
  letter-spacing: 0.005em;
}

/* Skills card needs more breathing room. (t1778260696907)
   Wider container + larger gap + roomier two-column split.
   On viewports ≥1100px, give it the full width minus comfortable side
   margins instead of the standard 720px ob-card cap. */
.ob-card.ob-card--wide {
  max-width: 1080px;
  padding: 36px 44px 32px;
}
.ob-card--wide .ob-card__split {
  gap: 40px;
}
.ob-card--wide .ob-skill-aside {
  padding: 22px 24px;
}
@media (max-width: 1080px) {
  .ob-card.ob-card--wide { max-width: 880px; padding: 32px 36px 28px; }
}
@media (max-width: 880px) {
  .ob-card.ob-card--wide { max-width: 720px; padding: 28px 28px 24px; }
}

/* Right-align Continue / Next button in the action bar. The actionbar
   is a flex row [Back] [center skip] [Next]. When the center span is
   hidden (required steps), Back stays left and Next should still float
   to the far right via margin-left:auto. (Ticket: t1778260739656) */
.ob-actionbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ob-actionbar__back { flex: 0 0 auto; }
.ob-actionbar__center { flex: 1 1 auto; text-align: center; }
.ob-actionbar__center[hidden] { display: none !important; }
.ob-actionbar__next {
  margin-left: auto;
  flex: 0 0 auto;
}

/* Polished schedule icons — soft mint icon-tile background to elevate
   the cards. SVG itself is unchanged but the wrapper ring gives them
   the "premium" feel the user asked for. (Ticket: t1778260787163) */
.schedule-card .schedule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(5, 150, 105, 0.16));
  color: #047857;
  margin-bottom: 10px;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.schedule-card .schedule-icon svg {
  width: 28px; height: 28px;
  stroke-width: 1.5;
}
.schedule-card:hover .schedule-icon,
.schedule-card.is-active .schedule-icon {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.18), rgba(5, 150, 105, 0.28));
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.18);
}
