:root {
  --bg: #f5f7fb;
  --surface: #fcfdff;
  --text: #334155;
  --muted: #7b8798;
  --border: #e3e8ef;
  --border-strong: #d4dce6;
  --primary: #0f172a;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --radius-card: 18px;
  --radius-button: 12px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.has-maximized-workspace {
  overflow: hidden;
}

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

.is-hidden {
  display: none !important;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 190;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px 24px;
}

.top-nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup__mark {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-lockup__wordmark {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.avatar-menu {
  position: relative;
}

.avatar-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
}

.avatar-menu__image {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  background: #cbd5e1;
}

.avatar-menu__name {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.avatar-menu__chevron {
  color: #64748b;
  font-size: 12px;
}

.avatar-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  width: 180px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}

.avatar-menu__dropdown.is-open {
  display: block;
}

.avatar-menu__logout {
  width: 100%;
  justify-content: flex-start;
}

.site-footer {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 251, 0.98) 100%);
  backdrop-filter: blur(10px);
}

.site-footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 24px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 16px;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__column--center {
  text-align: center;
}

.site-footer__column--right {
  display: flex;
  justify-content: flex-end;
}

.site-footer__branding {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.site-footer__brand-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.site-footer__label {
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.site-footer__separator {
  color: #94a3b8;
  font-weight: 700;
}

.site-footer__logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__logo--sotful {
  height: 46px;
  margin-top: -10px;
  margin-bottom: -10px;
}

.site-footer__logo--abfs {
  height: 68px;
  margin-top: -14px;
  margin-bottom: -14px;
  margin-left: -6px;
  clip-path: inset(10% 10% 8% 10%);
}

.site-footer__copyright {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.site-footer__links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.site-footer__links a {
  color: inherit;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.opportunities-page {
  min-height: 100vh;
  padding: 24px;
}

.opportunities-container {
  max-width: 1380px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.page-heading {
  min-width: 0;
}

.page-heading__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.page-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.workspace-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(252, 253, 255, 0.96);
  color: #6b7280;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.workspace-toggle-button:hover {
  color: #243244;
  border-color: var(--border-strong);
}

.workspace-toggle-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-restore-floating {
  position: fixed;
  top: calc(var(--workspace-offset-top, 16px) + 12px);
  right: 28px;
  z-index: 530;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 15px;
  background: rgba(20, 32, 51, 0.96);
  color: #ffffff;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.26);
  cursor: pointer;
}

.workspace-restore-floating:hover {
  background: rgba(14, 24, 38, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

.workspace-restore-floating span:last-child {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.workspace-restore-floating__icon {
  display: inline-flex;
}

.workspace-restore-floating svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-filters__clear {
  border: 0;
  padding: 0 4px;
  min-height: 40px;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.page-filters__clear:hover {
  color: #243244;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-search {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 420px);
  padding: 0 16px;
  min-height: 56px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(252, 253, 255, 0.96);
  box-shadow: var(--shadow);
  color: #6b7280;
}

.page-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-search__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.page-search__input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #243244;
  font-size: 15px;
  font-weight: 500;
}

.page-search__input::placeholder {
  color: #8a97a8;
}

.page-rate-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(252, 253, 255, 0.96);
  box-shadow: var(--shadow);
}

.page-rate-filter__label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.page-rate-filter__control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-rate-filter__currency,
.page-rate-filter__suffix {
  color: #8a97a8;
  font-size: 14px;
  font-weight: 600;
}

.page-rate-filter__input {
  width: 74px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #243244;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.page-rate-filter__input::placeholder {
  color: #8a97a8;
}

.page-title {
  margin: 0;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.2;
  color: #243244;
}

.page-subtitle {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.organizer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.expandable-workspace {
  position: relative;
}

.expandable-workspace.is-maximized {
  position: fixed;
  top: var(--workspace-offset-top, 16px);
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 180;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 30px;
  background: rgba(245, 247, 251, 0.98);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
}

.expandable-workspace.is-maximized .page-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.92) 78%, rgba(245, 247, 251, 0) 100%);
}

.expandable-workspace.is-maximized .organizer-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.95fr);
  min-height: calc(100vh - var(--workspace-offset-top, 16px) - 170px);
}

.organizer-column {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(252, 253, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: visible;
}

.organizer-column--inbox {
  background: linear-gradient(180deg, rgba(253, 252, 249, 0.96) 0%, rgba(250, 250, 247, 0.94) 100%);
  border-color: rgba(224, 218, 206, 0.9);
}

.organizer-column--chosen {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(243, 247, 252, 0.96) 100%);
  border-color: rgba(211, 222, 234, 0.95);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.organizer-column--numbered {
  position: relative;
}

.organizer-column--numbered::before {
  content: attr(data-section-number);
  position: absolute;
  top: -14px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.organizer-column__header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(227, 232, 239, 0.95);
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.98) 0%, rgba(238, 243, 248, 0.92) 100%);
}

.organizer-column--inbox .organizer-column__header {
  border-bottom-color: rgba(227, 220, 207, 0.95);
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.98) 0%, rgba(246, 241, 233, 0.94) 100%);
}

.organizer-column--chosen .organizer-column__header {
  border-bottom-color: rgba(214, 223, 235, 0.95);
  background: linear-gradient(180deg, rgba(238, 245, 252, 0.98) 0%, rgba(231, 239, 248, 0.94) 100%);
}

.organizer-column__header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.organizer-column__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.organizer-column__title {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 650;
  color: #243244;
}

.organizer-column__description {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 420px;
}

.organizer-column__body {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.organizer-column__body--archived {
  border-top: 1px solid rgba(227, 232, 239, 0.95);
  background: rgba(248, 250, 252, 0.74);
}

.organizer-column--inbox .organizer-column__body--archived {
  border-top-color: rgba(227, 220, 207, 0.92);
  background: rgba(250, 247, 241, 0.78);
}

.organizer-column--chosen .organizer-column__body--archived {
  border-top-color: rgba(214, 223, 235, 0.92);
  background: rgba(240, 245, 251, 0.8);
}

.archived-block__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 2px;
  color: #4a5a6d;
  font-size: 18px;
  font-weight: 650;
}

.archived-block__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #8a97a8;
}

.archived-block__title-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.archived-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(184, 196, 211, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #5f7084;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.section-help-button:hover {
  border-color: rgba(151, 166, 185, 0.95);
  background: rgba(255, 255, 255, 0.94);
  color: #243244;
}

.organize-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(227, 232, 239, 0.95);
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
}

.organize-bar__content {
  min-width: 0;
}

.organize-bar__eyebrow {
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.organize-bar__title {
  margin: 6px 0 0;
  color: #243244;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
}

.organize-bar__description {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.organize-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.organize-bar__count {
  color: #4a5a6d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.organizer-column--dimmed {
  opacity: 0.6;
}

.organizer-column--dimmed .organizer-column__body,
.organizer-column--dimmed .organizer-column__header {
  filter: saturate(0.85);
}

.organizer-column--drop-target {
  border-color: rgba(214, 176, 78, 0.42);
  box-shadow: 0 18px 34px rgba(214, 176, 78, 0.12);
}

.organizer-empty {
  padding: 20px;
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  background: #f8fafc;
}

.organizer-empty__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.organizer-empty__body {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.opportunity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: visible;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.opportunity-card--collapsed {
  opacity: 0.88;
}

.opportunity-card--chosen {
  margin-bottom: 0;
}

.opportunity-card--chosen .opportunity-card__header {
  padding-bottom: 16px;
}

.opportunity-card--chosen .recruiter-row__meta {
  gap: 12px;
}

.opportunity-card--chosen .recruiter-row__company,
.opportunity-card--chosen .recruiter-row__meta,
.opportunity-card--chosen .recruiter-row__rating {
  padding-left: 0;
}

.opportunity-card--chosen .recruiter-row__submitted {
  flex-basis: 152px;
}

.opportunity-card--chosen .recruiter-row__actions {
  gap: 8px;
}

.opportunity-card--chosen[draggable="true"] {
  cursor: grab;
}

.opportunity-card--chosen.is-dragging {
  opacity: 0.58;
  box-shadow: none;
}

.opportunity-card--expanded .recruiter-row__meta,
.opportunity-card--expanded .recruiter-row__rating {
  padding-left: 14px;
}

.opportunity-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 22px 20px;
}

.opportunity-card__header-left {
  min-width: 0;
  flex: 1;
}

.opportunity-card__header-left[data-drag-warning] {
  cursor: pointer;
}

.opportunity-card__header-right {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-shrink: 0;
}

.price-block-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.opportunity-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.opportunity-card__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 650;
  color: #223043;
}

.opportunity-card__title-link {
  color: inherit;
  text-decoration: none;
}

.opportunity-card__title-link:hover {
  color: #1b2535;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.opportunity-card__client {
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 580;
  color: #6b7a8f;
}

.opportunity-card__summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.status-pill,
.strength-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: #f5f7fa;
  color: #4a5a6d;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.strength-pill {
  background: #f7fafc;
}

.stars {
  letter-spacing: 2px;
  color: #233247;
  font-size: 17px;
  line-height: 1;
}

.summary-rating,
.summary-recruiters,
.recruiter-row__rating-value,
.recruiter-row__reputation {
  font-size: 14px;
}

.price-block {
  text-align: right;
  white-space: nowrap;
}

.price-block__main {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
  color: #223043;
}

.price-block__equivalent {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

.price-block__range {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.2;
}

.expand-button {
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 4px 0;
}

.opportunity-card__body {
  padding: 2px 22px 20px;
}

.opportunity-card__body--tight {
  padding-top: 0;
}

.recruiter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.recruiter-row--subdued {
  opacity: 0.48;
  filter: saturate(0.72);
}

.recruiter-row--chosen {
  opacity: 1;
}

.recruiter-row--selectable {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.recruiter-row--draggable {
  cursor: grab;
}

.recruiter-row--draggable.is-dragging {
  opacity: 0.56;
  box-shadow: none;
}

.recruiter-row--selected {
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 16px;
  background: rgba(138, 111, 31, 0.08);
  border-top-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(138, 111, 31, 0.12);
}

.recruiter-row__select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 4px;
}

.recruiter-row__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #8a6f1f;
  cursor: pointer;
}

.recruiter-row__info {
  min-width: 0;
  flex: 1;
}

.recruiter-row__company {
  padding-left: 14px;
  font-size: 20px;
  font-weight: 630;
  line-height: 1.2;
  color: #28374a;
}

.recruiter-row__person {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.3;
}

.recruiter-row__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 5px;
}

.recruiter-row__submitted {
  flex: 0 0 176px;
  color: #8a97a8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
}

.recruiter-row__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
}

.recruiter-row__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.recruiter-row__price {
  font-size: 19px;
  font-weight: 640;
  white-space: nowrap;
  color: #243244;
}

.recruiter-row__price-block {
  text-align: right;
  white-space: nowrap;
}

.recruiter-row__equivalent {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.secondary-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius-button);
  cursor: pointer;
  white-space: nowrap;
  transition: 0.15s ease;
  font-size: 16px;
  font-weight: 600;
}

.secondary-button:disabled,
.primary-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.secondary-button--nav {
  min-height: 40px;
}

.secondary-button {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.primary-button {
  border: 0;
  background: #1b2535;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.secondary-button--small,
.primary-button--small {
  min-height: 52px;
  min-width: 84px;
  padding: 0 18px;
  font-size: 16px;
}

.secondary-button--selected {
  min-width: 96px;
}

.primary-button--message {
  min-width: 82px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.button-checkmark {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.button-icon--message svg {
  width: 15px;
  height: 15px;
  display: block;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.icon-button:hover {
  opacity: 0.92;
}

.icon-button:focus-visible {
  outline: 2px solid rgba(214, 176, 78, 0.65);
  outline-offset: 2px;
}

.icon-button__glyph {
  font-size: 18px;
  line-height: 1;
}

.icon-button--archive {
  background: rgba(255, 255, 255, 0.98);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.icon-button--archive .icon-button__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #111827;
}

.icon-button__glyph--archive svg {
  width: 16px;
  height: 16px;
  display: block;
}

.icon-button--restore {
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.icon-button__glyph--restore svg {
  width: 17px;
  height: 17px;
  display: block;
}

.icon-button__glyph--choice svg,
.icon-button__glyph--choice-selected svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-button--choose {
  color: #7a6320;
}

.icon-button--selected {
  border-color: transparent;
  background: #1b2535;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.enhanced-tooltip {
  position: relative;
}

.enhanced-tooltip::before,
.enhanced-tooltip::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 90ms ease, transform 90ms ease;
  z-index: 30;
}

.enhanced-tooltip::before {
  content: "";
  bottom: calc(100% + 8px);
  margin-left: -6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(15, 23, 42, 0.94);
  transform: translateY(4px);
}

.enhanced-tooltip::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 14px);
  transform: translate(-50%, 4px);
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.enhanced-tooltip:hover::before,
.enhanced-tooltip:hover::after,
.enhanced-tooltip:focus-visible::before,
.enhanced-tooltip:focus-visible::after {
  opacity: 1;
}

.enhanced-tooltip:hover::before,
.enhanced-tooltip:focus-visible::before {
  transform: translateY(0);
}

.enhanced-tooltip:hover::after,
.enhanced-tooltip:focus-visible::after {
  transform: translate(-50%, 0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  z-index: 600;
}

.modal-backdrop.is-hidden {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 980px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.96) 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.modal-dialog__section {
  padding: 28px;
}

.modal-dialog__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #223043;
}

.modal-dialog__body {
  margin: 14px 0 0;
  color: #5f7084;
  font-size: 15px;
  line-height: 1.7;
}

.modal-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-dialog__close:hover {
  border-color: var(--border-strong);
}

.interaction-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  max-width: min(92vw, 560px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 700;
}

.interaction-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.opportunity-card__chosen-grid {
  display: grid;
  gap: 18px;
}

.status-pill--chosen {
  background: rgba(15, 23, 42, 0.06);
}

.opportunity-card--archived,
.opportunity-card--archived .recruiter-row {
  background: rgba(252, 253, 255, 0.74);
}

.opportunity-card--archived {
  border-style: dashed;
}

.secondary-button:hover,
.primary-button:hover,
.expand-button:hover {
  opacity: 0.92;
}

body[data-ui-theme="dark"] {
  --bg: #111827;
  --surface: #182131;
  --text: #f8fafc;
  --muted: #c4cfdd;
  --border: rgba(203, 213, 225, 0.22);
  --border-strong: rgba(226, 232, 240, 0.34);
  --primary: #f8fafc;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  background:
    radial-gradient(circle at top left, rgba(51, 65, 85, 0.34), transparent 30%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: var(--text);
}

body[data-ui-theme="dark"] .opportunities-page {
  background: transparent;
}

body[data-ui-theme="dark"] .page-title,
body[data-ui-theme="dark"] .organizer-column__title,
body[data-ui-theme="dark"] .opportunity-card__title,
body[data-ui-theme="dark"] .price-block__main,
body[data-ui-theme="dark"] .recruiter-row__company,
body[data-ui-theme="dark"] .recruiter-row__price,
body[data-ui-theme="dark"] .organize-bar__title,
body[data-ui-theme="dark"] .archived-block__title,
body[data-ui-theme="dark"] .modal-dialog__title {
  color: #f8fafc;
}

body[data-ui-theme="dark"] .page-subtitle,
body[data-ui-theme="dark"] .organizer-column__description,
body[data-ui-theme="dark"] .opportunity-card__client,
body[data-ui-theme="dark"] .opportunity-card__summary,
body[data-ui-theme="dark"] .price-block__equivalent,
body[data-ui-theme="dark"] .price-block__range,
body[data-ui-theme="dark"] .recruiter-row__person,
body[data-ui-theme="dark"] .recruiter-row__submitted,
body[data-ui-theme="dark"] .recruiter-row__rating,
body[data-ui-theme="dark"] .recruiter-row__equivalent,
body[data-ui-theme="dark"] .organize-bar__description,
body[data-ui-theme="dark"] .organize-bar__count,
body[data-ui-theme="dark"] .modal-dialog__body {
  color: #c4cfdd;
}

body[data-ui-theme="dark"] .workspace-toggle-button,
body[data-ui-theme="dark"] .page-search,
body[data-ui-theme="dark"] .page-rate-filter,
body[data-ui-theme="dark"] .secondary-button,
body[data-ui-theme="dark"] .icon-button,
body[data-ui-theme="dark"] .section-help-button,
body[data-ui-theme="dark"] .modal-dialog__close {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(203, 213, 225, 0.26);
  color: #f8fafc;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

body[data-ui-theme="dark"] .workspace-toggle-button:hover,
body[data-ui-theme="dark"] .page-filters__clear:hover,
body[data-ui-theme="dark"] .section-help-button:hover,
body[data-ui-theme="dark"] .secondary-button:hover,
body[data-ui-theme="dark"] .icon-button:hover {
  color: #ffffff;
  border-color: rgba(226, 232, 240, 0.4);
}

body[data-ui-theme="dark"] .page-search__input,
body[data-ui-theme="dark"] .page-rate-filter__input {
  color: #f8fafc;
}

body[data-ui-theme="dark"] .page-search__input::placeholder,
body[data-ui-theme="dark"] .page-rate-filter__input::placeholder,
body[data-ui-theme="dark"] .page-search,
body[data-ui-theme="dark"] .page-rate-filter__label,
body[data-ui-theme="dark"] .page-rate-filter__currency,
body[data-ui-theme="dark"] .page-rate-filter__suffix,
body[data-ui-theme="dark"] .page-filters__clear {
  color: #c4cfdd;
}

body[data-ui-theme="dark"] .expandable-workspace.is-maximized {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

body[data-ui-theme="dark"] .expandable-workspace.is-maximized .page-header {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.9) 78%, rgba(15, 23, 42, 0) 100%);
}

body[data-ui-theme="dark"] .organizer-column,
body[data-ui-theme="dark"] .organizer-column--inbox,
body[data-ui-theme="dark"] .organizer-column--chosen,
body[data-ui-theme="dark"] .opportunity-card,
body[data-ui-theme="dark"] .organizer-empty,
body[data-ui-theme="dark"] .modal-dialog {
  background: rgba(18, 26, 39, 0.96);
  border-color: rgba(203, 213, 225, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

body[data-ui-theme="dark"] .organizer-column__header,
body[data-ui-theme="dark"] .organizer-column--inbox .organizer-column__header,
body[data-ui-theme="dark"] .organizer-column--chosen .organizer-column__header,
body[data-ui-theme="dark"] .organize-bar {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(203, 213, 225, 0.18);
}

body[data-ui-theme="dark"] .organizer-column__body--archived,
body[data-ui-theme="dark"] .organizer-column--inbox .organizer-column__body--archived,
body[data-ui-theme="dark"] .organizer-column--chosen .organizer-column__body--archived,
body[data-ui-theme="dark"] .opportunity-card--archived,
body[data-ui-theme="dark"] .opportunity-card--archived .recruiter-row {
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(203, 213, 225, 0.18);
}

body[data-ui-theme="dark"] .organizer-column--numbered::before,
body[data-ui-theme="dark"] .status-pill,
body[data-ui-theme="dark"] .strength-pill {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(203, 213, 225, 0.24);
  color: #f8fafc;
}

body[data-ui-theme="dark"] .recruiter-row {
  border-top-color: rgba(203, 213, 225, 0.18);
}

body[data-ui-theme="dark"] .stars {
  color: #facc15;
}

body[data-ui-theme="dark"] .primary-button,
body[data-ui-theme="dark"] .icon-button--selected {
  background: #f8fafc;
  color: #111827;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

body[data-ui-theme="dark"] .icon-button--archive,
body[data-ui-theme="dark"] .icon-button--restore {
  background: rgba(248, 250, 252, 0.94);
  color: #111827;
}

body[data-ui-theme="dark"] .recruiter-row--selected {
  background: rgba(250, 204, 21, 0.12);
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.22);
}

@media (max-width: 1024px) {
  .top-nav__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .opportunities-page {
    padding: 18px;
  }

  .page-title {
    font-size: 28px;
  }

  .organizer-layout {
    grid-template-columns: 1fr;
  }

  .organizer-column--chosen {
    order: -1;
  }

  .opportunity-card__title {
    font-size: 22px;
  }

  .opportunity-card__client {
    font-size: 17px;
  }

  .recruiter-row__company {
    padding-left: 12px;
    font-size: 19px;
  }

  .opportunity-card--expanded .recruiter-row__meta,
  .opportunity-card--expanded .recruiter-row__rating {
    padding-left: 12px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__column--right {
    justify-content: center;
  }

  .site-footer__branding {
    justify-content: center;
  }

  .site-footer__logo--sotful {
    height: 40px;
    margin-top: -8px;
    margin-bottom: -8px;
  }

  .site-footer__logo--abfs {
    height: 58px;
    margin-top: -10px;
    margin-bottom: -10px;
  }
}

@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .page-heading__top {
    align-items: center;
  }

  .page-filters {
    justify-content: stretch;
  }

  .page-search {
    min-width: 0;
    width: 100%;
  }

  .page-rate-filter {
    width: 100%;
    justify-content: space-between;
  }

  .organizer-column__header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .organizer-column__header-actions {
    justify-content: flex-start;
  }

  .section-help-button {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .organize-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .organize-bar__actions {
    justify-content: flex-start;
  }

  .organizer-column__header,
  .organizer-column__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .opportunity-card__header {
    flex-direction: column;
    align-items: stretch;
  }

  .opportunity-card__header-right {
    justify-content: space-between;
    align-items: center;
  }

  .price-block-wrap {
    align-items: center;
  }

  .price-block {
    text-align: left;
  }

  .recruiter-row__price-block {
    text-align: left;
  }

  .recruiter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .recruiter-row__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

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

  .recruiter-row__select {
    justify-content: flex-start;
    width: auto;
    height: auto;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .recruiter-row__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .top-nav__inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .opportunities-page {
    padding: 14px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-subtitle,
  .organizer-column__description,
  .modal-dialog__body {
    font-size: 14px;
  }

  .organizer-column__title {
    font-size: 24px;
  }

  .modal-backdrop {
    padding: 16px;
  }

  .modal-dialog__section {
    padding: 22px 20px;
  }

  .modal-dialog__title {
    font-size: 24px;
  }

  .opportunity-card__title {
    font-size: 19px;
  }

  .opportunity-card__client {
    font-size: 16px;
  }

  .recruiter-row__company {
    padding-left: 10px;
    font-size: 17px;
  }

  .opportunity-card--expanded .recruiter-row__meta,
  .opportunity-card--expanded .recruiter-row__rating {
    padding-left: 10px;
  }

  .recruiter-row__person {
    font-size: 16px;
  }

  .secondary-button,
  .primary-button {
    min-height: 46px;
    padding: 0 16px;
  }

  .secondary-button--small,
  .primary-button--small {
    min-height: 46px;
    min-width: 78px;
    font-size: 15px;
  }

  .icon-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
  }
}
