:root {
  --page-bg: #f8f2e7;
  --page-ink: #1c1712;
  --hero-ink: #3a3128;
  --muted-ink: #70655a;
  --brand: #ee5b2a;
  --brand-strong: #cf4b1d;
  --accent: #ffd05e;
  --card: #fffaf1;
  --card-strong: #fffdf8;
  --field-surface: #fffdfa;
  --card-border: rgba(28, 23, 18, 0.14);
  --card-border-strong: rgba(28, 23, 18, 0.22);
  --shadow: 0 18px 42px rgba(58, 37, 20, 0.08);
  --paper-shadow: 0 2px 0 rgba(28, 23, 18, 0.1);
  --bg-glow-1: rgba(255, 208, 94, 0.32);
  --bg-glow-2: rgba(238, 91, 42, 0.12);
  --bg-top: #fff8ef;
  --bg-mid: #f8f2e7;
  --bg-bottom: #f4ecde;
}

body[data-theme="sage"] {
  --page-bg: #edf4ee;
  --page-ink: #16221b;
  --hero-ink: #314137;
  --muted-ink: #607166;
  --brand: #3e8b67;
  --brand-strong: #2f6f52;
  --accent: #c9e483;
  --card: #f8fcf6;
  --card-strong: #ffffff;
  --field-surface: #fffdfa;
  --card-border: rgba(22, 34, 27, 0.14);
  --card-border-strong: rgba(22, 34, 27, 0.24);
  --shadow: 0 18px 42px rgba(35, 71, 51, 0.08);
  --paper-shadow: 0 2px 0 rgba(22, 34, 27, 0.08);
  --bg-glow-1: rgba(201, 228, 131, 0.28);
  --bg-glow-2: rgba(62, 139, 103, 0.14);
  --bg-top: #f7fcf5;
  --bg-mid: #edf4ee;
  --bg-bottom: #e5efe7;
}

body[data-theme="coast"] {
  --page-bg: #edf6f7;
  --page-ink: #13232d;
  --hero-ink: #314651;
  --muted-ink: #5c7380;
  --brand: #1d8fb5;
  --brand-strong: #166f8d;
  --accent: #8fd4de;
  --card: #f8fdff;
  --card-strong: #ffffff;
  --field-surface: #fffdfa;
  --card-border: rgba(19, 35, 45, 0.14);
  --card-border-strong: rgba(19, 35, 45, 0.24);
  --shadow: 0 18px 42px rgba(19, 92, 120, 0.09);
  --paper-shadow: 0 2px 0 rgba(19, 35, 45, 0.08);
  --bg-glow-1: rgba(143, 212, 222, 0.34);
  --bg-glow-2: rgba(29, 143, 181, 0.12);
  --bg-top: #f4fbfc;
  --bg-mid: #edf6f7;
  --bg-bottom: #e2eef1;
}

body[data-theme="nightfall"] {
  --page-bg: #e9edf6;
  --page-ink: #161926;
  --hero-ink: #3a4058;
  --muted-ink: #60677f;
  --brand: #5c6ee5;
  --brand-strong: #4455bf;
  --accent: #d9b5ff;
  --card: #f8f9ff;
  --card-strong: #ffffff;
  --field-surface: #fffdfa;
  --card-border: rgba(22, 25, 38, 0.14);
  --card-border-strong: rgba(22, 25, 38, 0.24);
  --shadow: 0 18px 42px rgba(37, 48, 110, 0.1);
  --paper-shadow: 0 2px 0 rgba(22, 25, 38, 0.08);
  --bg-glow-1: rgba(217, 181, 255, 0.28);
  --bg-glow-2: rgba(92, 110, 229, 0.14);
  --bg-top: #f5f6ff;
  --bg-mid: #e9edf6;
  --bg-bottom: #e0e5f2;
}

body[data-theme="midnight"] {
  --page-bg: #161b24;
  --page-ink: #eef3ff;
  --hero-ink: #cfd7ea;
  --muted-ink: #a7b1c5;
  --brand: #7a8cff;
  --brand-strong: #5f70db;
  --accent: #59d0c2;
  --card: #1f2633;
  --card-strong: #273142;
  --field-surface: #273142;
  --card-border: rgba(238, 243, 255, 0.14);
  --card-border-strong: rgba(238, 243, 255, 0.22);
  --shadow: 0 18px 42px rgba(3, 8, 19, 0.34);
  --paper-shadow: 0 2px 0 rgba(255, 255, 255, 0.05);
  --bg-glow-1: rgba(89, 208, 194, 0.14);
  --bg-glow-2: rgba(122, 140, 255, 0.16);
  --bg-top: #121720;
  --bg-mid: #161b24;
  --bg-bottom: #1b2230;
}

body[data-theme="midnight"] .app-header__inner {
  background: rgba(31, 38, 51, 0.88);
  border-color: rgba(238, 243, 255, 0.12);
}

body[data-theme="midnight"] .app-footer__inner {
  background: rgba(31, 38, 51, 0.84);
  border-color: rgba(238, 243, 255, 0.12);
}

body[data-theme="midnight"] .legal-header__art {
  opacity: 0.82;
  filter: saturate(0.82) brightness(1.18);
}

body[data-theme="midnight"] .recruiter-hero {
  background:
    radial-gradient(circle at top right, rgba(89, 208, 194, 0.14), transparent 26%),
    linear-gradient(180deg, #202838 0%, #1a2230 100%);
  border-right-color: rgba(238, 243, 255, 0.12);
}

body[data-theme="midnight"] .recruiter-hero::after {
  color: rgba(177, 194, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(122, 140, 255, 0.14), rgba(89, 208, 194, 0.18)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 10px,
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.02) 20px
    );
  border-color: rgba(177, 194, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 30px rgba(7, 12, 24, 0.34);
}

body[data-theme="midnight"] .recruiter-logo {
  background: linear-gradient(180deg, #2c3446, #242c3d);
  border-color: rgba(238, 243, 255, 0.12);
}

body[data-theme="midnight"] .eyebrow,
body[data-theme="midnight"] .metric-card,
body[data-theme="midnight"] .app-header__locale,
body[data-theme="midnight"] .app-header__select,
body[data-theme="midnight"] .btn-soft,
body[data-theme="midnight"] .form-control,
body[data-theme="midnight"] .form-select,
body[data-theme="midnight"] .wizard-pill {
  background: #273142;
  border-color: rgba(238, 243, 255, 0.12);
  color: var(--page-ink);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="midnight"] .app-header__mobile-locale .app-header__select {
  color: transparent;
  -webkit-text-fill-color: transparent;
}

body[data-theme="midnight"] .app-header__controls .app-header__signout-form {
  background: rgba(122, 140, 255, 0.12);
}

body[data-theme="midnight"] .app-header__locale.active,
body[data-theme="midnight"] .wizard-pill.active {
  color: #f8fbff;
}

body[data-theme="midnight"] .subscription-notice {
  background: #273142;
  border-color: rgba(238, 243, 255, 0.12);
}

body[data-theme="midnight"] .subscription-notice span,
body[data-theme="midnight"] .subscription-lock-card__copy {
  color: #c3cfdd;
}

body[data-theme="midnight"] .subscription-notice--trial {
  border-color: rgba(89, 208, 194, 0.22);
}

body[data-theme="midnight"] .subscription-notice--locked,
body[data-theme="midnight"] .subscription-lock-card {
  background: #273142;
  border-color: rgba(255, 143, 107, 0.28);
}

body[data-theme="midnight"] .wizard-pill.complete {
  background: rgba(89, 208, 194, 0.16);
  color: #8ee1d7;
  border-color: rgba(89, 208, 194, 0.2);
}

body[data-theme="midnight"] .hero-points li::before {
  box-shadow: 0 0 0 5px rgba(89, 208, 194, 0.16);
}

body[data-theme="midnight"] .editable-field__button,
body[data-theme="midnight"] .recruiter-hero__toggle {
  background: #2b3446;
  border-color: rgba(238, 243, 255, 0.12);
  color: var(--accent);
  box-shadow: 0 10px 20px rgba(3, 8, 19, 0.22);
}

body[data-theme="midnight"] .loading-indicator {
  background: #273142;
  border-color: rgba(122, 140, 255, 0.18);
  color: var(--page-ink);
}

body[data-theme="midnight"] .cv-tools-tabs__nav .nav-link {
  background: #273142;
  border-color: rgba(238, 243, 255, 0.12);
  color: var(--page-ink);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="midnight"] .cv-tools-tabs__nav .nav-link.active {
  background: linear-gradient(180deg, rgba(122, 140, 255, 0.24), rgba(39, 49, 66, 0.98));
  border-color: rgba(122, 140, 255, 0.26);
}

body[data-theme="midnight"] .cv-tools-tabs__copy {
  color: var(--muted-ink);
}

body[data-theme="midnight"] .recruiter-shell::before,
body[data-theme="midnight"] .recruiter-shell::after {
  opacity: 0.12;
  filter: saturate(0.82) brightness(1.45);
}

body[data-theme="midnight"] .recruiter-card::before,
body[data-theme="midnight"] .recruiter-card::after {
  opacity: 0.08;
  filter: saturate(0.82) brightness(1.4);
}

body[data-theme="midnight"] .loading-progress__track {
  background: rgba(238, 243, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(3, 8, 19, 0.28);
}

body[data-theme="midnight"] .editable-field .form-control[readonly],
body[data-theme="midnight"] .editable-field .form-select:disabled {
  background-color: #273142;
  color: var(--page-ink);
  opacity: 1;
  -webkit-text-fill-color: var(--page-ink);
}

body[data-theme="midnight"] .editable-field--active .form-control,
body[data-theme="midnight"] .editable-field--active .form-select {
  background-color: #2d374a;
  border-color: rgba(122, 140, 255, 0.34);
  color: var(--page-ink);
  -webkit-text-fill-color: var(--page-ink);
}

body[data-theme="midnight"] .form-control::placeholder,
body[data-theme="midnight"] .form-select::placeholder {
  color: #a7b1c5;
  opacity: 0.52;
}

body[data-theme="midnight"] .dashboard-vacancy-card {
  color: #1c1712;
}

body[data-theme="midnight"] .dashboard-vacancy-card__title,
body[data-theme="midnight"] .dashboard-vacancy-row__profession,
body[data-theme="midnight"] .dashboard-empty-state strong {
  color: #1c1712;
}

body[data-theme="midnight"] .dashboard-vacancy-card__meta,
body[data-theme="midnight"] .dashboard-empty-state .helper-copy {
  color: #6b6158;
}

body[data-theme="midnight"] .dashboard-vacancy-row__item {
  border-bottom-color: rgba(28, 23, 18, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Outfit", sans-serif;
  color: var(--page-ink);
  background:
    radial-gradient(circle at top left, var(--bg-glow-1), transparent 26%),
    radial-gradient(circle at right 20%, var(--bg-glow-2), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

.admin-body {
  background: #eef2f6;
  color: #17202b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-header {
  padding: 0;
  background: #11161d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.admin-header__brand-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-header__brand {
  color: #f5f7fa;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-header__eyebrow {
  color: #8fa1b5;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-header__nav {
  min-width: 0;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  color: #d7e0ea;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-nav__link:hover,
.admin-nav__link:focus-visible {
  color: #f5f7fa;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav__link--active {
  color: #f5f7fa;
  background: #1f2935;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-header__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-header__select {
  min-height: 2.25rem;
  padding: 0.35rem 1.9rem 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #212c39;
  color: #f5f7fa;
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-header__signout-form {
  margin: 0;
}

.admin-header__signout-form .btn,
.admin-header__controls .btn {
  border-color: rgba(255, 255, 255, 0.26);
  background: #212c39;
  color: #f5f7fa;
  font-weight: 600;
  text-decoration: none;
}

.admin-header__signout-form .btn:hover,
.admin-header__signout-form .btn:focus-visible,
.admin-header__controls .btn:hover,
.admin-header__controls .btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: #2a3644;
  color: #ffffff;
}

.admin-main {
  flex: 1 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.admin-main__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.admin-page {
  display: grid;
  gap: 1.25rem;
}

.admin-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #d8dee6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 22, 29, 0.04);
}

.admin-page__eyebrow {
  color: #667586;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-page__title {
  margin: 0.25rem 0 0;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 700;
  color: #11161d;
}

.admin-page__subtitle {
  margin: 0.4rem 0 0;
  color: #667586;
  font-size: 0.95rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.admin-metric,
.admin-card {
  border: 1px solid #d8dee6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 22, 29, 0.06);
}

.admin-metric {
  padding: 1rem 1.1rem;
}

.admin-metric__value {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  color: #11161d;
}

.admin-metric__label {
  margin-top: 0.35rem;
  color: #667586;
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.admin-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid--split {
  grid-template-columns: minmax(0, 1.35fr) minmax(24rem, 0.9fr);
}

.admin-grid--queue {
  grid-template-columns: minmax(0, 1fr) minmax(32rem, 1.4fr);
}

.admin-stack {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.admin-grid--prompt {
  grid-template-columns: 18rem minmax(0, 1fr);
}

.admin-card {
  padding: 1rem 1.1rem;
  overflow: hidden;
}

.admin-card--sticky {
  position: sticky;
  top: 1.5rem;
}

.admin-card__header {
  margin-bottom: 1rem;
}

.admin-card__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #11161d;
  overflow-wrap: anywhere;
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-search__field {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid #e8edf3;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #667586;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table__row--active {
  background: #eef4fa;
}

.admin-table__row--active td {
  box-shadow: inset 0 1px 0 #d9e6f3, inset 0 -1px 0 #d9e6f3;
}

.admin-table__primary-link {
  font-weight: 600;
  color: #243142;
  text-decoration: none;
}

.admin-table__primary-link:hover,
.admin-table__primary-link:focus-visible {
  text-decoration: underline;
}

.admin-table__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #f7f9fc;
  color: #4f6277;
  text-decoration: none;
}

.admin-icon-link:hover,
.admin-icon-link:focus-visible {
  border-color: #b9c8d8;
  background: #eef4fa;
  color: #243142;
}

.admin-icon-link--edit {
  color: #1d4f91;
}

.admin-icon-link svg {
  width: 0.95rem;
  height: 0.95rem;
}

.admin-list {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.admin-list__link {
  display: block;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #f7f9fc;
  color: #243142;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-list__link--active {
  border-color: #11161d;
  background: #11161d;
  color: #f5f7fa;
}

.admin-pagination {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-pagination__pages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-pagination__link,
.admin-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.75rem;
  border: 1px solid #d8dee6;
  border-radius: 999px;
  background: #f7f9fc;
  color: #243142;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-pagination__link:hover,
.admin-pagination__link:focus-visible,
.admin-pagination__page:hover,
.admin-pagination__page:focus-visible {
  border-color: #b9c8d8;
  background: #eef4fa;
  color: #11161d;
}

.admin-pagination__page--active {
  border-color: #11161d;
  background: #11161d;
  color: #f5f7fa;
}

.admin-pagination__link--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.admin-pagination__ellipsis {
  color: #667586;
  font-weight: 700;
}

.admin-definition-list {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.admin-definition-list div {
  display: grid;
  gap: 0.18rem;
}

.admin-definition-list dt {
  color: #667586;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-definition-list dd {
  margin: 0;
  color: #11161d;
  font-size: 0.95rem;
}

.admin-form-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
}

.admin-form-grid--full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid--stacked {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.admin-form-grid--compact {
  grid-template-columns: minmax(0, 12rem) auto;
}

.admin-form-grid--terms {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
}

.admin-form-grid__span {
  grid-column: 1 / -1;
  min-width: 0;
}

.admin-form-grid__field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.admin-form-grid__field--wide {
  grid-column: 1 / -1;
  min-width: 0;
}

.admin-form-grid__field .form-control,
.admin-form-grid__field .form-select {
  width: 100%;
  max-width: 100%;
}

.admin-form-grid__hint {
  grid-column: 1 / -1;
  margin-top: -0.2rem;
  color: var(--muted-ink);
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-form-grid__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-column: 1 / -1;
  padding-top: 0.25rem;
}

.admin-code-area {
  display: block;
  width: 100%;
  min-height: 30rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
}

.admin-body .form-label {
  color: #243142;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admin-body .form-control,
.admin-body .form-select {
  min-height: 2.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #ccd5df;
  border-radius: 8px;
  background: #ffffff;
  color: #17202b;
  box-shadow: none;
  font-size: 0.9rem;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
  border-color: #7f91a6;
  box-shadow: 0 0 0 0.18rem rgba(63, 88, 118, 0.12);
}

.admin-body textarea.form-control {
  min-height: 10rem;
}

.admin-body .btn-dark {
  min-width: 6.25rem;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  background: #11161d;
  border-color: #11161d;
  color: #f5f7fa;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-body .btn-dark:hover,
.admin-body .btn-dark:focus-visible {
  background: #1c2530;
  border-color: #1c2530;
  color: #ffffff;
}

.admin-body .btn-outline-secondary {
  min-width: 5.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  border-color: #ccd5df;
  color: #415164;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-body .btn-outline-secondary:hover,
.admin-body .btn-outline-secondary:focus-visible {
  border-color: #b7c2ce;
  background: #f3f6f9;
  color: #243142;
}

.admin-body .alert-stack {
  margin-bottom: 0;
}

.app-header {
  padding: 1.1rem 1rem 0;
  position: relative;
  z-index: 50;
}

.app-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 51;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--card-border);
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.86);
  box-shadow: var(--paper-shadow);
  backdrop-filter: blur(8px);
}

.app-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.app-header__desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.app-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  align-items: center;
}

.app-header__brand {
  color: var(--page-ink);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.app-header__brand-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: max-content;
  max-width: 100%;
}

.app-header__brand-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  flex-wrap: nowrap;
}

.app-header__theme-switcher {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.app-header__theme-switcher > summary {
  list-style: none;
}

.app-header__theme-switcher > summary::-webkit-details-marker {
  display: none;
}

.app-header__theme-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 2.25rem;
  min-width: 5.2rem;
  padding: 0.22rem 0.72rem 0.22rem 0.4rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-strong);
  color: var(--page-ink);
  text-align: left;
  box-shadow: var(--paper-shadow);
  cursor: pointer;
  user-select: none;
}

.app-header__theme-trigger:hover,
.app-header__theme-trigger:focus-visible {
  border-color: var(--card-border-strong);
  box-shadow: 0 8px 16px rgba(18, 24, 33, 0.12);
}

.app-header__theme-switcher[open] .app-header__theme-trigger {
  border-color: rgba(21, 76, 55, 0.45);
  box-shadow: 0 0 0 0.18rem rgba(21, 76, 55, 0.12), 0 6px 16px rgba(18, 24, 33, 0.12);
}

.app-header__theme-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.app-header__theme-trigger-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-header__theme-trigger-caret {
  position: relative;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: auto;
  flex-shrink: 0;
}

.app-header__theme-trigger-caret::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid rgba(28, 23, 18, 0.62);
  border-bottom: 2px solid rgba(28, 23, 18, 0.62);
  transform: translate(-50%, -65%) rotate(45deg);
}

.app-header__theme-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 11.5rem;
  padding: 0.35rem;
  border: 1.5px solid var(--card-border);
  border-radius: 18px;
  background: var(--card-strong);
  box-shadow: 0 18px 32px rgba(28, 23, 18, 0.12);
}

.app-header__theme-switcher[open] .app-header__theme-menu {
  display: grid;
  gap: 0.2rem;
}

.app-header__theme-option {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--page-ink);
  text-align: left;
  transition: background-color 0.15s ease;
}

.app-header__theme-option:hover,
.app-header__theme-option:focus-visible,
.app-header__theme-option.is-active {
  background: rgba(238, 91, 42, 0.12);
}

.app-header__theme-option-image {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  border-radius: 999px;
}

.app-header__theme-option-label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.app-header__mobile-locale {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: auto;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0.22rem 0.48rem 0.22rem 0.55rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-strong);
  box-shadow: var(--paper-shadow);
  white-space: nowrap;
  overflow: hidden;
}

.app-header__select-chip-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--page-ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.app-header__mobile-locale .app-header__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.65rem;
  min-width: 1.65rem;
  min-height: 1.55rem;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--page-ink) 50%),
    linear-gradient(135deg, var(--page-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 0.62rem) calc(50% - 0.05rem),
    calc(100% - 0.39rem) calc(50% - 0.05rem);
  background-size: 0.28rem 0.28rem, 0.28rem 0.28rem;
  background-repeat: no-repeat;
  color: transparent;
  outline: none;
  box-shadow: none;
  flex: 0 0 auto;
  cursor: pointer;
}

.app-header__mobile-locale .app-header__select:focus,
.app-header__mobile-locale .app-header__select:focus-visible {
  outline: none;
  box-shadow: none;
}

.app-header__locales {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.app-header__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.app-header__controls:not(.app-header__controls--guest) {
  padding-left: 0.7rem;
  margin-left: 0.2rem;
  border-left: 1px solid rgba(28, 23, 18, 0.16);
}

.app-header__mobile-menu {
  display: none;
  position: relative;
  z-index: 60;
}

.app-header__mobile-trigger {
  list-style: none;
}

.app-header__mobile-trigger::-webkit-details-marker {
  display: none;
}

.app-header__mobile-panel {
  display: none;
}

.app-header__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 2.2rem;
  min-width: 4.7rem;
  padding: 0.4rem 2.2rem 0.4rem 0.75rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-strong);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--page-ink) 50%),
    linear-gradient(135deg, var(--page-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 0.95rem) calc(50% - 0.1rem),
    calc(100% - 0.68rem) calc(50% - 0.1rem);
  background-size: 0.34rem 0.34rem, 0.34rem 0.34rem;
  background-repeat: no-repeat;
  color: transparent;
  text-shadow: 0 0 0 transparent;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Outfit", sans-serif;
  box-shadow: var(--paper-shadow);
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  caret-color: transparent;
}

.app-header__select::-ms-expand {
  display: none;
}

.app-header__select option {
  color: #11161d;
}

.app-header__signout-form {
  margin: 0;
}

.app-header__controls .app-header__signout-form {
  padding: 0.16rem;
  border-radius: 999px;
  background: rgba(238, 91, 42, 0.08);
}

.app-header__locale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  padding: 0.38rem 0.68rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-strong);
  color: var(--page-ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--paper-shadow);
}

.app-header__locale--with-badge {
  gap: 0.45rem;
}

.app-header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fffaf3;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.app-header__locale.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fffaf3;
}

a {
  color: inherit;
}

.recruiter-shell {
  flex: 1 0 auto;
  padding: 2rem 1rem 4rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.app-footer {
  padding: 0 1rem 1.5rem;
}

.app-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--card-border);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--paper-shadow);
}

.app-footer__copy {
  color: var(--muted-ink);
  font-size: 0.88rem;
}

.app-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-footer__link {
  color: var(--brand-strong);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.app-footer__link:hover,
.app-footer__link:focus-visible {
  text-decoration: underline;
}

.legal-card {
  max-width: 920px;
}

.legal-eyebrow {
  margin-top: 0;
  color: white;
  background: var(--brand);
}

.legal-copy {
  color: var(--muted-ink);
  display: grid;
  gap: 0.85rem;
}

.legal-header {
  position: relative;
  min-width: 0;
}

.legal-header__art {
  display: block;
  width: 7.6rem;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.96;
  pointer-events: none;
  z-index: 1;
}

.legal-header__cat {
  position: absolute;
  right: 7.8rem;
  top: -0.65rem;
  width: 7.5rem;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(20, 27, 37, 0.12));
}

.legal-card .wizard-panel {
  position: relative;
  z-index: 1;
}

.legal-copy h2 {
  margin: 1rem 0 0;
  color: var(--page-ink);
  font-size: 1.1rem;
}

.legal-copy p {
  margin: 0;
  line-height: 1.65;
}

.recruiter-shell::before,
.recruiter-shell::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 15rem;
  background-image: url("/assets/marketing/curl-line-3d6601d6.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.recruiter-shell::before {
  top: 8.8rem;
  left: 0.15rem;
  transform: scaleX(-1) rotate(-9deg);
}

.recruiter-shell::after {
  top: 9rem;
  right: 0.2rem;
  transform: rotate(11deg);
}

.recruiter-card {
  max-width: 1120px;
  margin: 0 auto;
  border: 1.5px solid var(--card-border-strong);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.recruiter-card::before,
.recruiter-card::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 9.8rem;
  background-image: url("/assets/marketing/curl-line-3d6601d6.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.recruiter-card::before {
  top: 1.15rem;
  right: 1.4rem;
}

.recruiter-card::after {
  left: 1.2rem;
  bottom: 1.3rem;
  transform: rotate(184deg) scaleX(-1);
}

.recruiter-card .recruiter-grid {
  position: relative;
  z-index: 1;
}

.recruiter-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
}

.recruiter-grid--hero-collapsed {
  grid-template-columns: 0.4fr 1.75fr;
}

.recruiter-hero {
  position: relative;
  padding: 2.25rem;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 94, 0.32), transparent 24%),
    linear-gradient(180deg, #fff7ec 0%, #f8ecd8 100%);
  color: var(--page-ink);
  border-right: 1.5px solid var(--card-border);
}

.recruiter-hero__toggle {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(171, 120, 78, 0.12);
}

.recruiter-hero__toggle:hover,
.recruiter-hero__toggle:focus {
  background: #fffaf1;
  color: var(--brand);
}

.recruiter-hero__brand {
  padding-right: 3rem;
}

.recruiter-hero__collapsed-title {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--page-ink);
}

.recruiter-hero__details {
  display: grid;
  gap: 1.25rem;
}

.recruiter-hero__cat-stage {
  margin-top: 0.15rem;
}

.recruiter-hero__cat-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 19rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.recruiter-hero__cat-image {
  display: block;
  width: min(100%, 23rem);
  max-height: 18rem;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(20, 27, 37, 0.14));
}

.recruiter-hero.is-collapsed {
  padding-bottom: 2rem;
}

.recruiter-hero.is-collapsed::after {
  width: 112px;
  height: 112px;
  bottom: 1.15rem;
  right: 1.1rem;
  font-size: 0.68rem;
}

.recruiter-hero.is-collapsed .recruiter-hero__details {
  display: none;
}

.recruiter-hero.is-collapsed .recruiter-hero__brand {
  padding-right: 0;
}

.recruiter-hero.is-collapsed .eyebrow,
.recruiter-hero.is-collapsed .hero-title {
  display: none;
}

.recruiter-hero.is-collapsed .recruiter-hero__collapsed-title {
  display: block;
}

.recruiter-hero.is-collapsed .recruiter-logo {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  margin-bottom: 0;
}

.recruiter-hero.is-collapsed .recruiter-logo img {
  width: 40px;
  height: 40px;
}

.recruiter-hero::after {
  content: "PERSONAL\A RECRUITER";
  position: absolute;
  inset: auto 1.75rem 1.75rem auto;
  width: 150px;
  height: 150px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  white-space: pre;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.22em;
  color: rgba(181, 72, 33, 0.46);
  background:
    linear-gradient(135deg, rgba(238, 91, 42, 0.11), rgba(255, 208, 94, 0.28)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 10px,
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.02) 20px
    );
  border: 1.5px solid rgba(181, 72, 33, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 30px rgba(198, 121, 66, 0.16);
  transform: rotate(-11deg);
  pointer-events: none;
}

.recruiter-logo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf8, #fff1d8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--card-border);
  box-shadow: var(--paper-shadow);
}

.recruiter-logo img {
  width: 48px;
  height: 48px;
}

.eyebrow {
  display: inline-block;
  margin-top: 0.95rem;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: rgba(255, 253, 248, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-title {
  margin: 0.75rem 0 0.55rem;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3.3vw, 3.8rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hero-ink);
  opacity: 0.72;
  overflow-wrap: anywhere;
}

.hero-copy,
.metric-copy,
.summary-copy {
  color: var(--muted-ink);
}

.market-competence-page .summary-copy {
  color: var(--hero-ink);
  opacity: 1;
  font-weight: 600;
}

.market-competence-page .helper-copy {
  color: #4a594f;
}

.hero-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.hero-points li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.93rem;
  line-height: 1.35;
}

.hero-points li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 208, 94, 0.34);
}

.hero-points--sensitivity li {
  align-items: flex-start;
}

.hero-points--sensitivity .hero-points__label {
  flex: 0 0 6rem;
}

.hero-points--sensitivity .hero-points__copy {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 640px) {
  .hero-points--sensitivity .hero-points__label,
  .hero-points--sensitivity .hero-points__copy {
    flex: 1 1 100%;
  }
}

.metrics-panel {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-card {
  padding: 0.85rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.96);
  border: 1.5px solid var(--card-border);
  box-shadow: var(--paper-shadow);
}

.metric-value {
  font-family: "Newsreader", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.metric-copy {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.dashboard-overview {
  display: grid;
  gap: 1.35rem;
}

.dashboard-overview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.dashboard-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.dashboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: #fffdf8;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 208, 94, 0.26);
  color: var(--brand-strong);
  font-size: 0.78rem;
}

.dashboard-region-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dashboard-region-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: linear-gradient(180deg, #fffdfb, #fff8ee);
  color: var(--page-ink);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(51, 38, 21, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.dashboard-region-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(51, 38, 21, 0.12);
  border-color: rgba(198, 121, 66, 0.26);
}

.dashboard-region-tab--active {
  background: linear-gradient(135deg, #ff875c 0%, var(--brand) 55%, #278cb7 100%);
  border-color: rgba(125, 44, 17, 0.18);
  color: #fff9f1;
  box-shadow: 0 16px 32px rgba(39, 140, 183, 0.18);
}

.dashboard-vacancy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-vacancy-card {
  display: grid;
  gap: 1.15rem;
  padding: 1.3rem 1.35rem 1.15rem;
  border-radius: 28px;
  border: 1.5px solid var(--card-border);
  background:
    radial-gradient(circle at top right, rgba(255, 208, 94, 0.2), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #fff9ef 100%);
  box-shadow:
    0 18px 38px rgba(47, 34, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dashboard-vacancy-card__header {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.dashboard-vacancy-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff2cf 0%, #ffd883 100%);
  color: #1d617d;
  border: 1.5px solid rgba(198, 121, 66, 0.18);
  font-size: 1rem;
  box-shadow:
    0 10px 18px rgba(255, 184, 88, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dashboard-vacancy-card__title {
  margin: 0;
  color: var(--page-ink);
  font-size: 1rem;
}

.dashboard-vacancy-card__meta {
  margin: 0.18rem 0 0;
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-vacancy-row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.dashboard-vacancy-row__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.1rem;
  border-bottom: 1px solid rgba(28, 23, 18, 0.08);
}

.dashboard-vacancy-row__item:last-child {
  border-bottom: 0;
  padding-bottom: 0.1rem;
}

.dashboard-vacancy-row__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(39, 140, 183, 0.1);
  color: #1d617d;
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-vacancy-row__profession {
  font-size: 0.98rem;
  line-height: 1.25;
}

.dashboard-vacancy-row__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 184, 88, 0.16);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-empty-state {
  padding: 1rem;
  border-radius: 20px;
  border: 1.5px dashed rgba(28, 23, 18, 0.16);
  background: rgba(255, 252, 246, 0.82);
}

.dashboard-empty-state strong {
  display: block;
  margin-bottom: 0.3rem;
}

.dashboard-competence-highlight {
  position: relative;
  padding: 1rem 1rem 0.78rem;
  border-radius: 22px;
  border: 1.5px solid rgba(198, 121, 66, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 208, 94, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(255, 244, 216, 0.92));
  box-shadow:
    0 14px 24px rgba(47, 34, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.dashboard-competence-highlight__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.58rem;
  position: relative;
  z-index: 1;
}

.dashboard-competence-highlight__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 184, 88, 0.18);
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-competence-highlight__title {
  display: block;
  color: var(--page-ink);
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-competence-highlight__list {
  display: grid;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.dashboard-competence-highlight__item {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  align-items: center;
  gap: 0.55rem;
}

.dashboard-competence-highlight__item--link {
  color: inherit;
  text-decoration: none;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 23, 18, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.dashboard-competence-highlight__item--link:hover,
.dashboard-competence-highlight__item--link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(238, 91, 42, 0.22);
  box-shadow: 0 10px 20px rgba(198, 121, 66, 0.08);
}

.dashboard-competence-highlight__item--link:focus-visible {
  outline: 2px solid rgba(238, 91, 42, 0.28);
  outline-offset: 2px;
}

.dashboard-competence-highlight__item--static {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 23, 18, 0.08);
  opacity: 0.92;
}

.dashboard-competence-highlight__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(39, 140, 183, 0.12);
  color: #1d617d;
  font-size: 0.8rem;
  font-weight: 800;
}

.dashboard-competence-highlight__cat {
  display: block;
  width: 4.55rem;
  height: auto;
}

.dashboard-competence-highlight__copy {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.dashboard-competence-highlight__item--link .dashboard-competence-highlight__copy {
  margin-bottom: 0;
}

.dashboard-competence-highlight__inline-rank {
  color: var(--brand-strong);
  font-weight: 800;
}

.dashboard-summary-news {
  display: grid;
  gap: 0.9rem;
}

.dashboard-summary-news__item {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 23, 18, 0.08);
  display: grid;
  gap: 0.5rem;
}

.dashboard-summary-news__preview {
  border-radius: 0.9rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(238, 91, 42, 0.08), rgba(78, 126, 210, 0.1));
  aspect-ratio: 16 / 9;
}

.dashboard-summary-news__image,
.dashboard-summary-news__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.dashboard-summary-news__image {
  object-fit: cover;
}

.dashboard-summary-news__placeholder {
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-summary-news__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem 0.85rem;
  flex-wrap: wrap;
}

.dashboard-summary-news__title {
  display: block;
  font-size: 1.02rem;
  line-height: 1.35;
}

.dashboard-summary-news__link {
  display: grid;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.dashboard-summary-news__link:hover .dashboard-summary-news__title {
  text-decoration: underline;
}

.wizard-panel {
  position: relative;
  padding: 2.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    var(--card-strong);
}

.wizard-panel > * {
  position: relative;
  z-index: 1;
}

.page-watermarks {
  position: absolute;
  inset: 4.4rem -1.35rem 1rem auto;
  width: min(18.5rem, 42%);
  pointer-events: none;
  z-index: 2;
}

.page-watermark {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.34;
  filter: saturate(0.98) contrast(1.06) drop-shadow(0 10px 18px rgba(20, 27, 37, 0.08));
}

.page-watermark--one {
  top: 0.35rem;
  right: 0.35rem;
  transform: rotate(-8deg);
}

.page-watermark--two {
  top: 16.4rem;
  right: 0.55rem;
  width: 76%;
  transform: rotate(10deg);
}

.page-watermark--three {
  top: 31.4rem;
  right: 0.2rem;
  width: 88%;
  transform: rotate(-14deg);
}

.past-companies-panel {
  display: flex;
  flex-direction: column;
}

.competences-panel {
  display: flex;
  flex-direction: column;
}

.wizard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.wizard-toolbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wizard-toolbar__link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.wizard-toolbar__label {
  color: var(--page-ink);
  font-weight: 700;
}

.wizard-toolbar__link:hover,
.wizard-toolbar__link:focus {
  color: var(--brand-strong);
  text-decoration: underline;
}

.wizard-title {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.wizard-subtitle {
  margin: 0.45rem 0 0;
  color: var(--muted-ink);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.marketing-page {
  display: grid;
  gap: 1rem;
}

.marketing-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.35rem;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.marketing-page__hero-copy {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.marketing-page__hero-cat {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.marketing-page__hero-cat .marketing-page__art {
  width: min(100%, 17.25rem);
  max-height: 17.25rem;
}

.marketing-page__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 208, 94, 0.18), rgba(62, 139, 103, 0.08));
  border: 1px solid rgba(28, 23, 18, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.marketing-page__lead {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 42rem;
}

.marketing-page__hero-media {
  position: relative;
  min-height: 17rem;
  border-radius: 28px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 94, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3));
  border: 1.5px solid rgba(28, 23, 18, 0.08);
  overflow: hidden;
}

.marketing-page__hero-media::before,
.marketing-page__hero-media::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.marketing-page__hero-media::before {
  inset: auto auto 1.1rem -1rem;
  width: 7rem;
  height: 7rem;
  background: rgba(62, 139, 103, 0.08);
}

.marketing-page__hero-media::after {
  inset: 1rem -1.2rem auto auto;
  width: 6.5rem;
  height: 6.5rem;
  background: rgba(39, 140, 183, 0.08);
}

.marketing-page__art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.02);
}

.marketing-page__art--hero-main {
  position: relative;
  z-index: 2;
  max-width: 18rem;
  margin-left: auto;
}

.marketing-page__art--hero-secondary {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  width: 7.6rem;
  opacity: 0.86;
}

.marketing-page__cat {
  position: absolute;
  display: block;
  width: 6rem;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 12px 20px rgba(20, 27, 37, 0.16));
}

.marketing-page__cat--hero {
  right: 50%;
  bottom: 0.55rem;
  width: 11.2rem;
  transform: translateX(50%);
}

.marketing-page__cat--hero-compact {
  right: 50%;
  bottom: 0.45rem;
  width: 10.1rem;
  transform: translateX(50%);
}

.marketing-page__cat--aside {
  right: 0.55rem;
  bottom: -0.1rem;
  width: 6.6rem;
}

.marketing-page__cat--aside-wide {
  right: 0.8rem;
  bottom: 0.15rem;
  width: 8.6rem;
}

.marketing-page__cat--card {
  right: 0.55rem;
  bottom: 0.45rem;
  width: 5.1rem;
}

.marketing-page__grid {
  display: grid;
  gap: 1rem;
}

.marketing-page__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-page__card {
  position: relative;
  overflow: hidden;
}

.marketing-page__card-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.marketing-page__card-art {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 5.1rem;
  opacity: 0.88;
  pointer-events: none;
}

.marketing-page__card-art--top {
  top: 1rem;
  bottom: auto;
  width: 4.5rem;
}

.marketing-page__card--with-art {
  padding-right: 7.6rem;
}

.marketing-page__hero-points {
  margin: 0;
}

.marketing-page__hero-media.marketing-page__hero--compact {
  min-height: 14rem;
}

.marketing-page__aside-art {
  margin-top: 1.5rem;
}

.marketing-page__aside-art--solo {
  margin-top: 1.8rem;
}

.marketing-page__aside-art-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.marketing-page__aside-art-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.5rem;
  padding: 0.8rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  border: 1.5px solid rgba(28, 23, 18, 0.08);
}

.marketing-page__aside-art-card .marketing-page__art {
  max-width: 100%;
  max-height: 6.2rem;
}

.marketing-page__aside-art-card--wide {
  min-height: 14.5rem;
  padding: 0.1rem;
}

.marketing-page__aside-art-card--wide .marketing-page__art {
  max-height: 14.2rem;
}

body[data-theme="sage"] .marketing-page__art {
  filter: hue-rotate(-10deg) saturate(0.92) contrast(1.02);
}

body[data-theme="coast"] .marketing-page__art {
  filter: hue-rotate(8deg) saturate(0.96) contrast(1.02);
}

body[data-theme="nightfall"] .marketing-page__art {
  filter: hue-rotate(18deg) saturate(0.92) contrast(1.04);
}

body[data-theme="midnight"] .marketing-page__hero-media,
body[data-theme="midnight"] .marketing-page__aside-art-card {
  background:
    radial-gradient(circle at top right, rgba(89, 208, 194, 0.14), transparent 40%),
    rgba(39, 49, 66, 0.86);
  border-color: rgba(238, 243, 255, 0.12);
}

body[data-theme="midnight"] .marketing-page__eyebrow {
  background: linear-gradient(90deg, rgba(122, 140, 255, 0.18), rgba(89, 208, 194, 0.12));
  border-color: rgba(238, 243, 255, 0.12);
  color: #dbe4ff;
}

body[data-theme="midnight"] .marketing-page__art {
  filter: saturate(0.92) brightness(0.96) contrast(1.02);
}

body[data-theme="midnight"] .marketing-page__art--feature {
  filter: saturate(0.92) brightness(0.98) contrast(1.02);
}

.auth-inline-link {
  color: var(--brand-strong);
  font-weight: 600;
  text-decoration: none;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.wizard-progress {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.wizard-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: #fff8ee;
  color: #5b5045;
  font-size: 0.85rem;
  font-weight: 700;
}

.wizard-pill.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.wizard-pill.complete {
  background: #dff4e7;
  color: #17633d;
}

.form-card,
.summary-card {
  position: relative;
  border: 1.5px solid var(--card-border);
  border-radius: 26px;
  background: var(--field-surface);
  padding: 1.45rem;
  box-shadow: var(--paper-shadow);
}

.competence-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.form-card + .form-card,
.summary-card + .summary-card {
  margin-top: 1rem;
}

.job-market-news-toggle {
  display: grid;
  gap: 0.85rem;
}

.job-market-news-toggle--compact {
  gap: 0;
}

.job-market-news-toggle--compact .form-check {
  justify-content: flex-end;
}

.job-market-news-toggle--compact .form-check-label strong {
  font-size: 0.92rem;
}

.job-market-news-toggle--compact .form-check-input {
  margin-top: 0;
}

.summary-card .job-market-news-toggle--compact {
  min-width: 0;
}

.cv-tools-tabs {
  display: grid;
  gap: 1rem;
}

.cv-tools-tabs__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cv-tools-tabs__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  align-items: stretch;
  width: min(100%, 52rem);
}

.cv-tools-tabs__nav .nav-item {
  min-width: 0;
  height: 100%;
}

.cv-tools-tabs__nav .nav-link {
  width: 100%;
  min-height: 6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--card-border);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.5);
  color: var(--page-ink);
  box-shadow: var(--paper-shadow);
  text-align: left;
}

.cv-tools-tabs__nav .nav-link.active {
  background: linear-gradient(180deg, rgba(255, 208, 94, 0.18), rgba(255, 255, 255, 0.95));
  border-color: var(--card-border-strong);
  box-shadow: var(--shadow);
}

.cv-tools-tabs__title {
  font-size: 1rem;
  font-weight: 700;
}

.cv-tools-tabs__copy {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted-ink);
  min-height: 2.5em;
}

.cv-tools-tabs__content {
  min-width: 0;
}

.cv-tools-tabs__panel-card {
  margin-top: 0;
}

.billing-plans {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}

.subscription-plan-comparison {
  margin-top: 1rem;
}

.subscription-plan-comparison__intro {
  margin-bottom: 0;
}

.subscription-plan-comparison .billing-plans {
  margin-top: 0.9rem;
  gap: 0.9rem;
}

.subscription-plan-comparison .billing-plan-card {
  padding: 1.1rem;
  gap: 0.65rem;
}

.subscription-plan-comparison .billing-plan-card__price {
  margin-top: 0.15rem;
}

.billing-plans__item {
  display: flex;
  flex: 1 1 260px;
  min-width: 0;
}

.billing-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.billing-plan-card--current {
  border-color: var(--card-border-strong);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 208, 94, 0.12), rgba(255, 255, 255, 0.94));
}

.billing-plan-card__badge {
  justify-self: start;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 208, 94, 0.18);
  color: var(--page-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.billing-plan-card__price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--page-ink);
}

.billing-plan-card__features {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted-ink);
  flex: 1 1 auto;
  align-content: start;
}

.billing-plan-card__features li {
  line-height: 1.45;
}

.billing-payment-methods {
  display: grid;
  gap: 1rem;
}

.billing-payment-method-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1.5px solid var(--card-border);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 255, 0.98));
  box-shadow: var(--paper-shadow);
  overflow: hidden;
}

.billing-payment-method-card--telegram {
  border-color: rgba(42, 171, 238, 0.28);
  background:
    radial-gradient(circle at top right, rgba(42, 171, 238, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.98));
}

.billing-payment-method-card--swish {
  border-color: rgba(33, 186, 117, 0.24);
  background:
    radial-gradient(circle at top right, rgba(33, 186, 117, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 255, 248, 0.98));
  gap: 0.5rem;
}

.billing-payment-method-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.1);
  color: #1677b7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.billing-payment-method-card__badge--swish {
  background: rgba(33, 186, 117, 0.1);
  color: #11814d;
}

.billing-payment-method-card__badge-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #2aabee, #229ed9);
  box-shadow: 0 0 0 0.25rem rgba(42, 171, 238, 0.15);
}

.billing-payment-method-card__badge-dot--swish {
  background: linear-gradient(180deg, #28c97b, #15a25d);
  box-shadow: 0 0 0 0.25rem rgba(33, 186, 117, 0.15);
}

.billing-payment-method-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.billing-payment-method-card__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--page-ink);
}

.billing-payment-method-card__brand-image {
  display: block;
  width: min(10rem, 42vw);
  height: auto;
  margin-bottom: 0.75rem;
}

.billing-payment-method-card__copy {
  margin: 0.35rem 0 0;
  color: var(--muted-ink);
  line-height: 1.45;
}

.billing-payment-method-card__price {
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.12);
  color: #1677b7;
  font-size: 0.92rem;
  font-weight: 800;
}

.billing-payment-method-card__price--swish {
  background: rgba(33, 186, 117, 0.12);
  color: #11814d;
}

.billing-payment-method-card__details {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.billing-payment-method-card__details div {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 23, 18, 0.08);
}

.billing-payment-method-card__details dt {
  margin-bottom: 0.35rem;
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.billing-payment-method-card__details dd {
  margin: 0;
  color: var(--page-ink);
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.billing-payment-method-card__swish-qr {
  display: grid;
  grid-template-columns: minmax(10rem, 13.25rem) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.1rem 0 0;
}

.billing-payment-method-card__swish-qr-media {
  display: grid;
  justify-items: center;
}

.billing-payment-method-card__swish-qr-image {
  display: block;
  width: min(100%, 10.75rem);
  height: auto;
  background: transparent;
  image-rendering: auto;
  filter: drop-shadow(0 12px 20px rgba(17, 129, 77, 0.1));
}

.billing-payment-method-card__swish-qr-placeholder {
  display: grid;
  place-items: center;
  width: min(100%, 10.75rem);
  min-height: 10.75rem;
  padding: 0.65rem;
  text-align: center;
  border: 1px dashed rgba(17, 129, 77, 0.28);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-ink);
}

.billing-payment-method-card__swish-qr-copy {
  margin: 0;
  max-width: 100%;
  text-align: left;
  color: var(--muted-ink);
  font-size: 0.84rem;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .billing-payment-method-card__swish-qr {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .billing-payment-method-card__swish-qr-copy {
    text-align: center;
    max-width: 14rem;
  }
}

.billing-payment-method-card__features {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted-ink);
}

.billing-payment-method-card__features li {
  line-height: 1.45;
}

.billing-payment-method-card__form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.billing-payment-method-card__button {
  min-width: 11rem;
  width: auto;
  border-radius: 999px;
  border: 1.5px solid transparent;
  padding: 0.95rem 1.35rem;
  font-weight: 800;
}

.billing-payment-method-card__button--telegram {
  background: linear-gradient(180deg, #5fc1f6, #2aabee);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(42, 171, 238, 0.18);
}

.billing-payment-method-card__button--telegram:hover,
.billing-payment-method-card__button--telegram:focus {
  background: linear-gradient(180deg, #70caf8, #229ed9);
  color: #ffffff;
}

.subscription-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 1.15rem;
  background: rgba(255, 250, 241, 0.86);
}

.subscription-notice strong {
  font-size: 0.95rem;
}

.subscription-notice span {
  color: var(--page-muted);
  font-size: 0.92rem;
}

.subscription-notice--trial {
  border-color: rgba(63, 149, 96, 0.2);
  background: rgba(237, 248, 239, 0.92);
}

.subscription-notice--locked {
  border-color: rgba(238, 91, 42, 0.18);
  background: rgba(255, 245, 237, 0.92);
}

.subscription-lock-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
  border: 1px dashed rgba(238, 91, 42, 0.28);
  border-radius: 1.25rem;
  background: rgba(255, 247, 240, 0.82);
}

.subscription-lock-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.subscription-lock-card__copy {
  margin: 0;
  color: var(--page-muted);
}

.cv-tools-tabs__back {
  flex: 0 0 auto;
}

.cv-experience-builder {
  display: grid;
  gap: 1rem;
}

.cv-experience-builder__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cv-experience-builder__list {
  display: grid;
  gap: 1rem;
}

.cv-experience-entry {
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.4);
}

.cv-experience-entry__remove-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .subscription-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .cv-tools-tabs__nav {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cv-tools-tabs__copy {
    min-height: 0;
  }
}

.section-label {
  margin-bottom: 1rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-label {
  font-weight: 600;
  color: var(--page-ink);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 18px;
  border: 1.5px solid var(--card-border);
  padding: 0.85rem 1rem;
  background: var(--field-surface);
  color: var(--page-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-control::placeholder,
.form-select::placeholder,
.role-selector__trigger span:empty::before {
  color: var(--muted-ink);
  opacity: 0.46;
  font-size: 0.86rem;
  font-weight: 400;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(238, 91, 42, 0.5);
  box-shadow: 0 0 0 0.22rem rgba(238, 91, 42, 0.12);
}

.role-selector {
  position: relative;
}

.role-selector__trigger {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  border: 1.5px solid var(--card-border);
  padding: 0.85rem 2.6rem 0.85rem 1rem;
  background: #fffdfa;
  color: var(--page-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: left;
  position: relative;
}

.role-selector__trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.68rem;
  height: 0.68rem;
  border-right: 2px solid rgba(28, 23, 18, 0.55);
  border-bottom: 2px solid rgba(28, 23, 18, 0.55);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.role-selector__trigger[aria-expanded="true"] {
  border-color: rgba(238, 91, 42, 0.5);
  box-shadow: 0 0 0 0.22rem rgba(238, 91, 42, 0.12);
}

.role-selector__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 15rem;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 18px;
  border: 1.5px solid var(--card-border);
  background: #fffdfa;
  box-shadow: 0 18px 32px rgba(28, 23, 18, 0.12);
  padding: 0.35rem;
}

.role-selector__option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--page-ink);
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.role-selector__option:hover,
.role-selector__option:focus,
.role-selector__option[aria-selected="true"] {
  background: rgba(238, 91, 42, 0.12);
}

textarea.form-control {
  min-height: 150px;
}

.file-drop {
  border: 2px dashed rgba(28, 23, 18, 0.18);
  border-radius: 24px;
  padding: 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 94, 0.18), transparent 32%),
    linear-gradient(180deg, #fffdfa, #fff6e8);
}

.helper-copy {
  margin: 0.45rem 0 0;
  color: var(--muted-ink);
  font-size: 0.92rem;
  opacity: 0.7;
}

.password-field {
  position: relative;
}

.password-field__input {
  padding-right: 3rem;
}

.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-ink);
  transform: translateY(-50%);
}

.password-field__toggle:hover,
.password-field__toggle:focus-visible {
  background: rgba(28, 23, 18, 0.06);
  color: var(--page-ink);
}

.password-field__toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  border: 1.5px solid rgba(125, 44, 17, 0.18);
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  background: linear-gradient(180deg, #ff7a4d, var(--brand));
  color: #fff9f1;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  box-shadow: 0 10px 20px rgba(238, 91, 42, 0.18);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff9f1;
  background: linear-gradient(180deg, #ff885e, var(--brand-strong));
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  border: 1.5px solid var(--card-border);
  background: #fffdf8;
  color: var(--page-ink);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  box-shadow: var(--paper-shadow);
}

.btn-danger {
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: normal;
  text-wrap: balance;
}

.btn-sm {
  font-size: 0.82rem;
  line-height: 1.15;
}

.loading-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: #fff3df;
  border: 1.5px solid rgba(238, 91, 42, 0.14);
  color: var(--page-ink);
  font-weight: 600;
}

.loading-indicator__row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.loading-indicator__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(238, 91, 42, 0.18);
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: loading-spin 0.8s linear infinite;
}

.loading-indicator__counter {
  color: var(--muted-ink);
  font-variant-numeric: tabular-nums;
}

.loading-progress {
  position: relative;
  width: min(100%, 28rem);
  display: grid;
  gap: 0.45rem;
}

.loading-progress--cat {
  padding-right: 0;
  padding-bottom: 0;
}

.loading-progress__line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.loading-progress__cat {
  grid-column: 2;
  justify-self: center;
  width: 4.55rem;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(20, 27, 37, 0.12));
  margin: 0;
}

.loading-progress__line .loading-indicator__counter,
.loading-progress__line .loading-progress__meta {
  align-self: center;
}

.loading-progress__line .loading-indicator__counter,
.loading-progress__line .loading-progress__meta:last-child {
  grid-column: 3;
  justify-self: end;
}

.loading-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.loading-progress__track {
  width: 100%;
  height: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(28, 23, 18, 0.08);
  box-shadow: inset 0 1px 2px rgba(16, 37, 45, 0.08);
}

.loading-progress__fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd05e, var(--brand));
  transition: width 0.9s ease;
}

body[data-loading-locked="true"] {
  overflow: hidden;
}

body[data-loading-locked="true"] .page-loading-overlay {
  opacity: 1;
  pointer-events: auto;
}

.page-loading-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--surface-900) 28%, transparent);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.page-loading-overlay__card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

@keyframes loading-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.summary-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.summary-label-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
  width: fit-content;
}

.summary-label-row .summary-label {
  margin-bottom: 0;
}

.summary-label-meta {
  color: var(--muted-ink);
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
}

.summary-label-meta--placeholder {
  visibility: hidden;
}

.summary-value {
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.match-sensitivity-toggle {
  display: flex;
  background: var(--field-surface);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 3px;
  gap: 3px;
}

.match-sensitivity-toggle__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.match-sensitivity-toggle__option {
  flex: 1;
  display: grid;
  gap: 0.18rem;
  padding: 0.75rem 0.9rem;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.match-sensitivity-toggle__title {
  font-weight: 800;
  line-height: 1.2;
}

.match-sensitivity-toggle__copy {
  color: var(--muted-ink);
  font-size: 0.84rem;
  line-height: 1.3;
}

.match-sensitivity-toggle__input:checked + .match-sensitivity-toggle__option {
  background: color-mix(in srgb, var(--accent) 18%, var(--field-surface));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.match-sensitivity-toggle__input:focus-visible + .match-sensitivity-toggle__option {
  box-shadow: 0 0 0 0.22rem rgba(238, 91, 42, 0.18);
}

.match-sensitivity-toggle--compact {
  border-radius: 999px;
  padding: 3px;
}

.match-sensitivity-toggle--compact .match-sensitivity-toggle__option {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}

.match-sensitivity-toggle--compact .match-sensitivity-toggle__copy {
  display: none;
}

.match-sensitivity-toggle--compact .match-sensitivity-toggle__input:checked + .match-sensitivity-toggle__option {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--card-border);
}

.summary-copy {
  margin: 0.4rem 0 0;
  color: #d2f0ea;
}

.past-company-card {
  overflow: hidden;
}

.job-lead-card {
  display: grid;
  gap: 1.2rem;
}

.job-lead-card__notes,
  min-width: 0;
}

.job-lead-card__notes textarea.form-control {
  min-height: 112px;
}

.job-lead-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-lead-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.job-lead-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.8rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.job-lead-status__select {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.job-lead-status__select:focus {
  box-shadow: none;
}

.job-lead-status--new {
  background: #eef1f5;
  color: #465365;
}

.job-lead-status--applied {
  background: #dcecff;
  color: #1f5fa8;
}

.job-lead-status--interview {
  background: #ffe6c7;
  color: #9a5415;
}

.job-lead-status--hired {
  background: #dcf4e4;
  color: #1b6a3a;
}

.job-lead-status--declined {
  background: #f9d9dc;
  color: #a23a45;
}

.competence-card {
  display: grid;
  gap: 1.1rem;
}

.competence-card__progress {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-bottom: 0.2rem;
}

.competence-card__progress-meta {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  justify-self: end;
  min-width: 7.4rem;
}

.competence-card__body {
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.competence-card--locked .competence-card__body {
  filter: blur(2.5px);
  opacity: 0.72;
  transform: scale(0.995);
}

.competence-card--locked .btn,
.competence-card--locked .form-control,
.competence-card--locked .form-select,
.competence-card--locked .role-selector__trigger,
.competence-card--locked .role-selector__option,
.competence-card--locked .competence-agent-status__select {
  opacity: 1;
}

.competence-card--locked .competence-location-source__select {
  opacity: 1;
}

.competence-card__title-field {
  max-width: 34rem;
}

.competence-card__title-input {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.summary-grid__full {
  grid-column: 1 / -1;
}

.competence-card__select {
  max-width: 100%;
}

.competence-card__textarea {
  min-height: 112px;
}

.competence-card--locked .match-sensitivity-toggle__option {
  opacity: 1;
}

.competence-run-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.2rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.competence-run-status--scheduled {
  background: #eef2ff;
  color: #3651b4;
}

.competence-run-status--succeeded {
  background: #dcf4e4;
  color: #1b6a3a;
}

.job-lead-description {
  color: var(--page-ink);
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}

.job-lead-description p:last-child {
  margin-bottom: 0;
}

.competence-run-status--failed {
  background: #f9d9dc;
  color: #a23a45;
}

.competence-run-status--paused,
.competence-run-status--idle {
  background: #eceff4;
  color: #4c5566;
}

.competence-agent-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.4rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.competence-location-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: #f7f3e9;
  color: var(--page-ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.competence-agent-status__select {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.competence-agent-status__select:focus {
  box-shadow: none;
}

.competence-location-source__select {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.competence-location-source__select:focus {
  box-shadow: none;
}

.admin-queue__error {
  max-width: 32rem;
  white-space: normal;
}

.admin-card--queue-jobs {
  height: 100%;
}

.admin-table--queue-jobs th:nth-child(1),
.admin-table--queue-jobs td:nth-child(1) {
  width: 23%;
}

.admin-table--queue-jobs th:nth-child(2),
.admin-table--queue-jobs td:nth-child(2) {
  width: 11%;
}

.admin-table--queue-jobs th:nth-child(3),
.admin-table--queue-jobs td:nth-child(3) {
  width: 46%;
}

.admin-table--queue-jobs th:nth-child(4),
.admin-table--queue-jobs td:nth-child(4) {
  width: 20%;
}

.admin-queue__job-class,
.admin-queue__job-status,
.admin-queue__scheduled-at {
  white-space: nowrap;
}

.admin-queue__arguments {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 1.45;
}

.competence-agent-status--active {
  background: #dcf4e4;
  color: #1b6a3a;
}

.competence-agent-status--inactive {
  background: #f9d9dc;
  color: #a23a45;
}

.past-company-card__content {
  min-width: 0;
}

.past-company-card__title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.past-company-card__grid > div {
  min-width: 0;
}

.past-company-form .form-control,
.past-company-form .form-select {
  width: 100%;
}

.editable-field {
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.editable-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.editable-field__button {
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.editable-field__button:hover,
.editable-field__button:focus-visible {
  background: rgba(238, 91, 42, 0.08);
  border-color: rgba(238, 91, 42, 0.2);
  transform: translateY(-1px);
}

.editable-field .form-control[readonly],
.editable-field .form-select:disabled {
  background-color: #fbfaf6;
  color: var(--page-ink);
  opacity: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.editable-field--active {
  transform: translateY(-1px);
}

.editable-field--active .form-control,
.editable-field--active .form-select {
  background-color: #ffffff;
  border-color: rgba(238, 91, 42, 0.34);
  box-shadow: 0 0 0 0.25rem rgba(238, 91, 42, 0.08);
}

.editable-field .form-select:disabled {
  cursor: default;
}

.rating-control {
  transform: none;
}

.rating-control__stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 52px;
  padding: 0.35rem 0;
}

.rating-control__stars--summary {
  min-height: auto;
  padding: 0.1rem 0 0;
}

.rating-control__star {
  border: 0;
  background: transparent;
  color: #cbd5d1;
  font-size: 1.65rem;
  line-height: 1;
  padding: 0.1rem;
  transition: color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.rating-control__star.is-active {
  color: var(--brand);
}

.rating-control__star:hover,
.rating-control__star:focus-visible {
  color: var(--brand);
  transform: translateY(-1px);
}

.rating-control--saving .rating-control__star {
  opacity: 0.65;
  pointer-events: none;
}

.past-company-form .btn-brand {
  min-width: 0;
  width: 100%;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  padding-bottom: 0.2rem;
}

.wizard-actions--end {
  justify-content: flex-end;
}

.page-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-actions__group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.match-vacancy-toolbar {
  width: 100%;
  justify-content: flex-start;
}

.alert-stack {
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .app-header__inner,
  .app-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-header__inner {
    align-items: stretch;
  }

  .app-header__brand-block {
    width: fit-content;
    max-width: 100%;
  }

  .app-header__brand-row {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .app-header__theme-switcher,
  .app-header__mobile-locale {
    width: 6.4rem;
    flex: 0 0 6.4rem;
  }

  .app-header__desktop {
    display: none;
  }

  .app-header__controls--guest {
    justify-content: flex-start;
  }

  .app-header__controls:not(.app-header__controls--guest) {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }

  .app-header__mobile-menu {
    display: block;
    align-self: auto;
  }

  .app-header__mobile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: 7rem;
    padding: 0.8rem 0.95rem;
    border: 1.5px solid var(--card-border);
    border-radius: 18px;
    background: var(--card-strong);
    color: var(--page-ink);
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: var(--paper-shadow);
    cursor: pointer;
  }

  .app-header__mobile-trigger-label {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .app-header__mobile-trigger-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 0.22rem;
  }

  .app-header__mobile-trigger-icon span {
    display: block;
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--page-ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .app-header__mobile-menu[open] .app-header__mobile-trigger-icon span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .app-header__mobile-menu[open] .app-header__mobile-trigger-icon span:nth-child(2) {
    opacity: 0;
  }

  .app-header__mobile-menu[open] .app-header__mobile-trigger-icon span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .app-header__mobile-menu[open] .app-header__mobile-panel {
    display: grid;
    gap: 0.85rem;
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: min(20rem, calc(100vw - 1.5rem));
    padding: 0.95rem;
    border: 1.5px solid var(--card-border);
    border-radius: 20px;
    background: rgba(255, 250, 241, 0.94);
    box-shadow: var(--paper-shadow);
    z-index: 70;
  }

  .app-header__mobile-nav,
  .app-header__mobile-controls {
    display: grid;
    gap: 0.65rem;
  }

  .app-header__mobile-controls {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(28, 23, 18, 0.12);
  }

  .recruiter-grid {
    grid-template-columns: 1fr;
  }

  .recruiter-grid--hero-collapsed {
    grid-template-columns: 1fr;
  }

  .marketing-page__hero,
  .marketing-page__grid--two {
    grid-template-columns: 1fr;
  }

  .marketing-page__hero {
    gap: 1rem;
  }

  .marketing-page__hero-media,
  .marketing-page__hero-media.marketing-page__hero--compact {
    min-height: 14rem;
  }

  .marketing-page__art--hero-main {
    max-width: 15rem;
  }

  .marketing-page__art--hero-secondary {
    width: 6.8rem;
  }

  .marketing-page__card--with-art {
    padding-right: 1.45rem;
    padding-bottom: 5.2rem;
  }

  .marketing-page__card-art {
    right: 0.95rem;
    bottom: 0.95rem;
    width: 4.5rem;
  }

  .marketing-page__card-art--top {
    top: auto;
    bottom: 0.95rem;
  }

  .wizard-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-footer__art {
    justify-content: flex-start;
  }

  .competence-header {
    flex-direction: column;
  }

  .past-company-form .d-grid .btn-brand {
    min-width: 0;
  }

  .job-lead-card__footer .btn-brand {
    width: 100%;
    min-width: 0;
  }

  .admin-header__inner {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .admin-header__nav {
    order: 3;
  }

  .admin-header__controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-metrics,
  .admin-grid--two,
  .admin-grid--split,
  .admin-grid--prompt,
  .admin-form-grid,
  .admin-form-grid--full {
    grid-template-columns: 1fr;
  }

  .admin-search {
    flex-wrap: wrap;
  }

  .admin-card__header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-search__field {
    flex-basis: 100%;
  }

  .admin-main {
    padding: 1.25rem 1rem 2rem;
  }

  .admin-card {
    padding: 1rem;
  }

  .admin-table {
    min-width: 640px;
  }
}

@media (max-width: 576px) {
  .recruiter-shell {
    padding: 1rem 0.75rem 3rem;
  }

  .app-header {
    padding: 0.75rem 0.75rem 0;
  }

  .app-header__locale,
  .app-header__signout-form .btn {
    width: 100%;
  }

  .app-header__select {
    min-width: 0;
    width: 100%;
    padding-left: 0.9rem;
    font-size: 0.9rem;
  }

  .app-header__theme-switcher .app-header__select,
  .app-header__mobile-locale .app-header__select {
    width: 6.4rem;
  }

  .app-header__brand {
    display: inline-block;
    width: auto;
  }

  .app-header__mobile-menu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .recruiter-hero,
  .wizard-panel {
    padding: 1.4rem;
  }

  .legal-card .wizard-panel {
    padding-right: 1.4rem;
  }

  .legal-header__art {
    width: 5.4rem;
    opacity: 0.82;
  }

  .recruiter-shell::before,
  .recruiter-shell::after {
    width: 10rem;
    height: 8.4rem;
    opacity: 0.08;
  }

  .recruiter-shell::before {
    top: 8.2rem;
    left: -0.65rem;
  }

  .recruiter-shell::after {
    top: 8.2rem;
    right: -0.7rem;
  }

  .recruiter-card::before,
  .recruiter-card::after {
    width: 8rem;
    height: 6.6rem;
    opacity: 0.05;
  }

  .recruiter-card::before {
    top: 0.9rem;
    right: 0.9rem;
  }

  .recruiter-card::after {
    left: 0.85rem;
    bottom: 0.95rem;
  }

  .marketing-page__hero {
    gap: 0.9rem;
  }

  .marketing-page__hero-media,
  .marketing-page__hero-media.marketing-page__hero--compact {
    min-height: 11.5rem;
    padding: 0.9rem;
  }

  .marketing-page__art--hero-main {
    max-width: 12rem;
  }

  .marketing-page__art--hero-secondary {
    left: 0.55rem;
    bottom: 0.55rem;
    width: 5.6rem;
  }

  .marketing-page__card--with-art {
    padding-right: 1.45rem;
    padding-bottom: 5rem;
  }

  .marketing-page__card-art {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 4rem;
  }

  .marketing-page__card-art--top {
    top: auto;
    bottom: 0.9rem;
  }

  .marketing-page__aside-art-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .marketing-page__aside-art-card {
    min-height: 6.6rem;
    padding: 0.65rem;
  }

  .marketing-page__aside-art-card .marketing-page__art {
    max-height: 4.5rem;
  }

  .marketing-page__aside-art-card--wide {
    min-height: 11rem;
    padding: 0.1rem;
  }

  .marketing-page__aside-art-card--wide .marketing-page__art {
    max-height: 10.8rem;
  }

  .recruiter-hero__toggle {
    display: none;
  }

  .recruiter-hero__brand {
    padding-right: 0;
  }

  .recruiter-hero__collapsed-title {
    display: none !important;
  }

  .recruiter-hero__details {
    display: grid !important;
  }

  .summary-grid,
  .metrics-panel,
  .dashboard-vacancy-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-overview__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-badges {
    justify-content: flex-start;
  }

  .dashboard-region-tabs {
    width: 100%;
  }

  .dashboard-region-tab {
    flex: 1 1 0;
  }

  .match-sensitivity-toggle {
    width: 100%;
  }

  .past-company-card {
    padding: 1.1rem;
  }

  .past-company-form {
    margin-top: 0.5rem;
  }

  .past-company-form .btn-brand {
    width: 100%;
    min-width: 0;
  }

  .page-actions,
  .page-actions__group,
  .wizard-toolbar,
  .wizard-actions,
  .match-vacancy-toolbar {
    width: 100%;
  }

  .page-actions > .btn,
  .page-actions__group > .btn,
  .wizard-actions > .btn,
  .wizard-toolbar > .btn,
  .match-vacancy-toolbar > .btn {
    width: 100%;
  }

  .wizard-toolbar__link {
    width: 100%;
  }

  .wizard-topbar,
  .wizard-toolbar,
  .wizard-actions {
    align-items: stretch;
  }

  .admin-header__inner {
    padding: 0.85rem 0.75rem;
  }

  .admin-header__controls,
  .admin-nav {
    width: 100%;
  }

  .admin-header__select,
  .admin-header__signout-form .btn {
    width: 100%;
  }

  .admin-page__title {
    font-size: 1.55rem;
  }
}
