:root {
  --green: #547792;
  --green-dark: #1A3263;
  --black: #1A3263;
  --white: #fcfaf7;
  --light-gray: #f5efe8;
  --mid-gray: #d8d0c7;
  --text-dark: #1c2f53;
  --text-muted: #5c6d83;
  --pink: #f9a8d4;
  --yellow: #DC143C;
  --blue: #f6c8b9;
  --brand-ink: #1A3263;
  --brand-slate: #547792;
  --brand-gold: #DC143C;
  --brand-cream: #E8E2DB;
  --brand-cream-soft: #f4efe9;
  --brand-border: rgba(26, 50, 99, 0.12);
}

/* Beginner-friendly post-job interface and dropdown safety layer */
.job-post-page {
  --post-job-accent: #0f766e;
  --post-job-accent-dark: #115e59;
  --post-job-accent-soft: #ccfbf1;
  --post-job-warning: #f97316;
  --post-job-text: #111827;
  --post-job-muted: #667085;
  --post-job-line: #d8dee8;
  --post-job-surface: #ffffff;
  --post-job-page: #f4f7fb;
  position: relative;
  isolation: isolate;
  padding: 18px 0 72px;
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.58) 0%, rgba(244, 247, 251, 0.96) 260px),
    var(--post-job-page);
  color: var(--post-job-text);
}

body:has(.job-post-page) {
  overflow-x: hidden;
}

.job-post-page,
.job-post-page * {
  box-sizing: border-box;
}

.job-post-page .job-post-create-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 72px;
  overflow: visible;
}

.job-post-page .job-post-topbar,
.job-post-page .job-post-form,
.job-post-page .job-post-guide,
.job-post-page .job-post-form-section,
.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  overflow: visible;
  border: 1px solid var(--post-job-line);
  background: var(--post-job-surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.job-post-page .job-post-topbar {
  align-items: flex-start;
  border-radius: 14px;
}

.job-post-page .job-post-topbar-kicker,
.job-post-page .job-post-section-icon,
.job-post-page .job-form-field-icon,
.job-post-page .job-combobox-leading,
.job-post-page .job-combobox-toggle {
  color: var(--post-job-accent);
}

.job-post-page .job-post-topbar-copy h1,
.job-post-page .job-post-form-hero h1 {
  letter-spacing: 0;
}

.job-post-page .job-post-topbar-copy p,
.job-post-page .job-post-form-hero p,
.job-post-page .job-post-section-head span,
.job-post-page .job-post-guide-head span,
.job-post-page .job-post-signed-in-card span {
  color: var(--post-job-muted);
}

.job-post-page .job-post-topbar-actions {
  flex-wrap: wrap;
}

.job-post-page .job-post-topbar-link,
.job-post-page .job-post-guide-link,
.job-post-page .job-post-action-secondary {
  border-color: var(--post-job-line);
  background: #ffffff;
  color: var(--post-job-text);
}

.job-post-page .job-post-topbar-link:hover,
.job-post-page .job-post-topbar-link:focus-visible,
.job-post-page .job-post-guide-link:hover,
.job-post-page .job-post-guide-link:focus-visible,
.job-post-page .job-post-action-secondary:hover,
.job-post-page .job-post-action-secondary:focus-visible {
  border-color: rgba(15, 118, 110, 0.34);
  background: var(--post-job-accent-soft);
  color: var(--post-job-accent-dark);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.11);
}

.job-post-page .job-post-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  border-radius: 18px;
}

.job-post-page .job-post-form-hero {
  align-items: center;
  border-color: rgba(15, 118, 110, 0.22);
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.job-post-page .job-post-form-hero-icon,
.job-post-page .job-post-section-icon {
  background: var(--post-job-accent-soft);
  color: var(--post-job-accent-dark);
  border-color: rgba(15, 118, 110, 0.18);
}

.job-post-page .job-post-form-section {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  border-radius: 14px;
}

.job-post-page .job-post-form-section:has(.job-combobox.is-open),
.job-post-page .job-form-field:has(.job-combobox.is-open) {
  z-index: 5000;
}

.job-post-page .job-post-section-head {
  align-items: flex-start;
  gap: 12px;
}

.job-post-page .job-post-section-head strong {
  display: block;
  color: var(--post-job-text);
  font-size: 18px;
  line-height: 1.15;
}

.job-post-page .job-post-section-head span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
}

.job-post-page .job-form-grid {
  overflow: visible;
  align-items: start;
  gap: 16px;
}

.job-post-page .job-form-field {
  position: relative;
  min-width: 0;
  gap: 8px;
  overflow: visible;
}

.job-post-page .job-form-field > span,
.job-post-page .job-auth-field > span {
  color: var(--post-job-text);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.job-post-page .job-form-field > span::after,
.job-post-page .job-auth-field > span::after {
  color: var(--post-job-warning);
}

.job-post-page .job-form-input-shell,
.job-post-page .job-form-textarea-shell,
.job-post-page .job-combobox-shell {
  min-height: 54px;
  border: 1px solid var(--post-job-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.job-post-page .job-form-input-shell:focus-within,
.job-post-page .job-form-textarea-shell:focus-within,
.job-post-page .job-combobox:focus-within .job-combobox-shell,
.job-post-page .job-combobox.is-open .job-combobox-shell {
  border-color: var(--post-job-accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.job-post-page .job-form-input-shell input,
.job-post-page .job-form-textarea-shell textarea,
.job-post-page .job-combobox-input {
  min-width: 0;
  color: var(--post-job-text);
  font-size: 15px;
  line-height: 1.35;
}

.job-post-page .job-form-input-shell input::placeholder,
.job-post-page .job-form-textarea-shell textarea::placeholder,
.job-post-page .job-combobox-input::placeholder {
  color: #98a2b3;
}

.job-post-page .job-form-textarea-shell textarea {
  min-height: 150px;
  padding-bottom: 34px;
  resize: vertical;
}

.job-post-page .job-form-textarea-shell.is-address textarea {
  min-height: 84px;
  height: auto;
  resize: vertical;
}

.job-post-page .job-form-count {
  padding: 2px 7px;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--post-job-muted);
}

.job-post-page .job-combobox {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.job-post-page .job-combobox.is-open {
  z-index: 10000;
}

.job-post-page .job-combobox-menu {
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10020;
  max-height: min(360px, 52dvh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.24);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.job-post-page .job-combobox-option {
  min-height: 56px;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
}

.job-post-page .job-combobox-option:hover,
.job-post-page .job-combobox-option:focus-visible {
  background: #ecfdf5;
}

.job-post-page .job-combobox-option-icon {
  background: var(--post-job-accent-soft);
  color: var(--post-job-accent-dark);
}

.job-post-page .job-combobox-option-title {
  color: var(--post-job-text);
  font-size: 13px;
  line-height: 1.25;
}

.job-post-page .job-combobox-option-subtitle,
.job-post-page .job-combobox-empty {
  color: var(--post-job-muted);
}

.job-post-page .job-post-guide-list li {
  min-height: 44px;
}

.job-post-page .job-post-guide-list strong {
  background: var(--post-job-accent);
  color: #ffffff;
}

.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  border-left: 4px solid var(--post-job-accent);
}

.job-post-page .job-post-form-actions {
  position: relative;
  z-index: 0;
  gap: 12px;
}

.job-post-page .job-post-form .btn-primary,
.job-post-page .job-post-action-primary {
  min-height: 54px;
  border-radius: 12px;
  background: var(--post-job-accent);
  border-color: var(--post-job-accent);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.2);
}

.job-post-page .job-post-form .btn-primary:hover,
.job-post-page .job-post-form .btn-primary:focus-visible,
.job-post-page .job-post-action-primary:hover,
.job-post-page .job-post-action-primary:focus-visible {
  background: var(--post-job-accent-dark);
  border-color: var(--post-job-accent-dark);
  color: #ffffff;
}

@media (max-width: 768px) {
  .job-post-page {
    padding: 8px 0 88px;
  }

  .job-post-page .job-post-create-shell {
    width: calc(100% - 18px);
    margin-bottom: 48px;
  }

  .job-post-page .job-post-topbar {
    width: 100%;
    margin: 0 0 12px;
    padding: 10px;
    border-radius: 12px;
  }

  .job-post-page .job-post-topbar-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .job-post-page .job-post-topbar-link {
    min-width: 0;
    min-height: 44px;
    padding: 0 6px;
    gap: 5px;
    font-size: 10px;
    line-height: 1.1;
    white-space: normal;
  }

  .job-post-page .job-post-form {
    padding: 12px;
    gap: 14px;
    border-radius: 14px;
  }

  .job-post-page .job-post-form-hero {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .job-post-page .job-post-form-hero-icon {
    width: 44px;
    height: 44px;
  }

  .job-post-page .job-post-form-hero h1 {
    font-size: 21px;
  }

  .job-post-page .job-post-form-hero p {
    font-size: 12px;
  }

  .job-post-page .job-post-form-section,
  .job-post-page .job-post-auth-compact,
  .job-post-page .job-post-signed-in-card {
    padding: 14px;
  }

  .job-post-page .job-post-section-head {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .job-post-page .job-post-section-icon {
    width: 36px;
    height: 36px;
  }

  .job-post-page .job-post-section-head strong {
    font-size: 16px;
  }

  .job-post-page .job-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .job-post-page .job-form-input-shell,
  .job-post-page .job-form-textarea-shell,
  .job-post-page .job-combobox-shell {
    min-height: 52px;
    grid-template-columns: 38px minmax(0, 1fr) 36px;
  }

  .job-post-page .job-form-input-shell::before,
  .job-post-page .job-form-textarea-shell::before,
  .job-post-page .job-combobox-shell::before {
    left: 38px;
  }

  .job-post-page .job-combobox-menu {
    max-height: min(300px, 46dvh);
  }

  .job-post-page .job-post-form-actions {
    grid-template-columns: 1fr;
  }

  .job-post-page .job-post-form .btn-primary,
  .job-post-page .job-post-action-secondary {
    width: 100%;
    min-height: 52px;
  }
}

.marketplace-page,
.market-main.is-standalone {
  min-height: calc(100vh - 72px);
  background: #f8f9fc;
  color: #171134;
}

.market-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
}

.market-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 18px;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.market-sidebar > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: #171134;
}

.market-sidebar button,
.market-category-rail button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.market-sidebar > button {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 6px;
  padding: 0 10px;
  border-radius: 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: #30364f;
}

.market-sidebar > button i,
.market-category-rail i {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f5f9;
  color: #171134;
}

.market-sidebar > button.is-active,
.market-sidebar > button:hover {
  background: #fff0f4;
  color: #ff0040;
}

.market-sidebar > button.is-active i,
.market-sidebar > button:hover i {
  background: #ff0040;
  color: #ffffff;
}

.market-sell-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.market-sell-card i {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff0f4;
  color: #ff0040;
}

.market-sell-card strong {
  font-size: 14px;
}

.market-sell-card span {
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.market-sell-card button,
.market-mobile-sell,
.market-order-btn,
.market-modal-card button[type="submit"],
.market-floating-add {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #ff0040;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.market-main {
  min-width: 0;
  padding: 18px 24px 38px 0;
}

.market-main.is-standalone {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}

.market-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}

.market-head h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.market-head p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.market-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 170px 150px;
  gap: 14px;
  margin-bottom: 18px;
}

.market-tools label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #ffffff;
  color: #667085;
}

.market-tools input,
.market-tools select,
.market-modal-card input,
.market-modal-card select,
.market-modal-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #ffffff;
  color: #171134;
  font: inherit;
}

.market-tools input {
  border: 0;
  outline: 0;
  min-height: 40px;
}

.market-tools select {
  min-height: 44px;
  padding: 0 12px;
}

.market-product-card-skeleton,
.market-account-skeleton,
.shop-app-skeleton {
  pointer-events: none;
}

.market-product-card-skeleton .market-product-image,
.market-product-card-skeleton strong,
.market-product-card-skeleton h3,
.market-product-card-skeleton p,
.market-product-card-skeleton small,
.market-product-card-skeleton button,
.market-product-card-skeleton .market-product-copy div span,
.market-account-skeleton .market-account-hero span,
.market-account-skeleton .market-account-hero p,
.market-account-skeleton .market-account-hero a,
.market-account-skeleton .market-account-summary article,
.shop-app-skeleton .shop-side-panel,
.shop-app-skeleton .shop-hero-card span,
.shop-app-skeleton .shop-hero-card p,
.shop-app-skeleton .shop-hero-card button,
.shop-app-skeleton .shop-stat-row article,
.shop-app-skeleton .shop-chart-grid article {
  position: relative;
  overflow: hidden;
  color: transparent !important;
  background: #eef1f6 !important;
  border-color: transparent !important;
}

.market-product-card-skeleton .market-product-image::after,
.market-product-card-skeleton strong::after,
.market-product-card-skeleton h3::after,
.market-product-card-skeleton p::after,
.market-product-card-skeleton small::after,
.market-product-card-skeleton button::after,
.market-product-card-skeleton .market-product-copy div span::after,
.market-account-skeleton .market-account-hero span::after,
.market-account-skeleton .market-account-hero p::after,
.market-account-skeleton .market-account-hero a::after,
.market-account-skeleton .market-account-summary article::after,
.shop-app-skeleton .shop-side-panel::after,
.shop-app-skeleton .shop-hero-card span::after,
.shop-app-skeleton .shop-hero-card p::after,
.shop-app-skeleton .shop-hero-card button::after,
.shop-app-skeleton .shop-stat-row article::after,
.shop-app-skeleton .shop-chart-grid article::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: provider-work-wave 1.4s linear infinite;
}

.market-product-card-skeleton strong,
.market-product-card-skeleton h3,
.market-product-card-skeleton p,
.market-product-card-skeleton small {
  display: block;
  min-height: 14px;
  border-radius: 7px;
}

.market-product-card-skeleton strong {
  width: 42%;
}

.market-product-card-skeleton h3 {
  width: 78%;
}

.market-product-card-skeleton p {
  width: 58%;
}

.market-product-card-skeleton small {
  width: 72%;
}

.market-product-card-skeleton .market-product-copy div span {
  width: 44%;
  min-height: 14px;
  border-radius: 7px;
}

.market-product-card-skeleton button {
  min-height: 42px;
  border-radius: 10px;
}

.market-account-skeleton .market-account-hero p {
  width: min(100%, 460px);
  min-height: 16px;
  border-radius: 8px;
}

.market-account-skeleton .market-account-hero span {
  width: 120px;
  min-height: 14px;
  border-radius: 999px;
}

.market-account-skeleton .market-account-hero a {
  width: 150px;
  min-height: 44px;
  border-radius: 10px;
}

.shop-app-skeleton .shop-side-panel {
  min-height: 460px;
}

.shop-app-skeleton .shop-hero-card p,
.shop-app-skeleton .shop-hero-card span {
  width: min(100%, 420px);
  min-height: 16px;
  border-radius: 8px;
}

.market-category-rail {
  display: grid;
  grid-template-columns: repeat(10, minmax(76px, 1fr));
  gap: 10px;
  margin: 10px 0 24px;
}

.market-category-rail button {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 2px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 11px;
  font-weight: 800;
  color: #30364f;
}

.market-featured {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.market-featured strong {
  font-size: 16px;
}

.market-featured strong i {
  color: #ff0040;
}

.market-featured button {
  border: 0;
  background: transparent;
  color: #ff0040;
  font-weight: 800;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.market-product-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.market-product-image {
  position: relative;
  aspect-ratio: 1.46 / 1;
  background: #eef1f5;
}

.market-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #647084;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.market-wish-btn.is-saved {
  color: #ff0040;
}

.market-product-copy {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.market-product-copy > strong {
  color: #00a851;
  font-size: 16px;
  font-weight: 950;
}

.market-product-copy h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.22;
}

.market-product-copy p,
.market-product-copy small {
  margin: 0;
  color: #667085;
  font-size: 12px;
}

.market-product-copy div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  font-size: 11px;
}

.market-product-copy div span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.market-order-btn {
  margin-top: 4px;
}

.market-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #667085;
  text-align: center;
}

.market-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 20, 34, 0.52);
}

.market-modal-shell[hidden] {
  display: none;
}

.market-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  display: grid;
  gap: 13px;
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.market-modal-card > button[data-market-close] {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f4f5f8;
  color: #4b5565;
  font-size: 20px;
  cursor: pointer;
}

/* Marketplace header actions (Sell button) */
.market-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-head-copy {
  min-width: 0;
}

.market-head-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.market-sell-btn {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand-gold) 0%, #A30F2D 100%);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

/* Desktop: place header content and push actions to the right */
@media (min-width: 900px) {
  .market-head {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .market-head-actions {
    margin-left: auto;
  }
}

/* Mobile: small sell button inline with title */
@media (max-width: 899px) {
  .market-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .market-head-copy p {
    display: none;
  }

  .market-head-actions {
    margin-left: 0;
  }

  .market-sell-btn {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 8px;
  }
}

.market-modal-card h2,
.market-modal-card p {
  margin: 0;
}

.market-modal-card p,
.market-modal-card small {
  color: #667085;
}

.market-modal-card label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  color: #30364f;
}

.market-modal-card input,
.market-modal-card select {
  min-height: 42px;
  padding: 0 12px;
}

.market-modal-card textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.market-profile-panel {
  position: relative;
}

.market-profile-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  background: #ff0040;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.market-floating-add {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0 18px;
}

.market-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #ffffff;
}

.market-order-row em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0f4;
  color: #ff0040;
  font-style: normal;
  font-weight: 900;
}

.market-account-page {
  background: #f6f8fb;
}

.market-account-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 96px;
}

.market-account-hero {
  min-height: 190px;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(255, 0, 64, 0.94), rgba(17, 24, 39, 0.92)),
    url('../images/sections/findme.avif') center/cover;
  color: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.market-account-hero span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-account-hero h1 {
  margin: 8px 0;
  font-size: 36px;
  line-height: 1.05;
}

.market-account-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.market-account-hero a,
.market-account-hero button,
.market-account-empty a {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #111827;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.market-account-summary,
.shop-metric-grid,
.shop-dashboard-grid {
  display: grid;
  gap: 16px;
}

.market-account-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.market-account-summary article,
.shop-metric-grid article,
.market-account-card,
.market-account-empty {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.market-account-summary article,
.shop-metric-grid article {
  padding: 18px;
}

.market-account-summary span,
.shop-metric-grid span,
.market-order-table-row span,
.shop-save-row span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.market-account-summary strong,
.shop-metric-grid strong {
  display: block;
  margin-top: 8px;
  color: #101828;
  font-size: 28px;
  line-height: 1;
}

.market-account-card {
  padding: 18px;
}

.market-account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.market-account-card-head h2 {
  margin: 0;
  font-size: 18px;
}

.market-account-card-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.market-account-grid {
  padding: 0;
}

.market-order-table {
  display: grid;
  gap: 10px;
}

.market-order-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) minmax(120px, 0.8fr) minmax(140px, 1fr) minmax(90px, 0.6fr) auto 74px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
}

.market-order-table-row strong {
  color: #101828;
}

.market-order-table-row small {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
}

.market-order-table-row em {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: capitalize;
}

.market-order-table-row em.is-accepted {
  background: #ecfdf3;
  color: #027a48;
}

.market-order-table-row em.is-completed {
  background: #eef4ff;
  color: #3538cd;
}

.market-order-table-row em.is-rejected {
  background: #fef3f2;
  color: #b42318;
}

.market-order-table-row img {
  width: 74px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.market-account-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  justify-items: center;
  padding: 36px;
  text-align: center;
}

.market-account-empty i {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0040;
  font-size: 26px;
}

.market-account-empty h1 {
  margin: 12px 0 0;
  font-size: 28px;
}

.market-account-empty p {
  max-width: 420px;
  margin: 0;
  color: #667085;
}

.shop-hero {
  background:
    linear-gradient(135deg, rgba(13, 18, 32, 0.94), rgba(255, 0, 64, 0.86)),
    url('../images/sections/addie.avif') center/cover;
}

.shop-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.shop-metric-grid article {
  display: grid;
  gap: 7px;
}

.shop-metric-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0040;
}

.shop-metric-grid small {
  color: #667085;
  font-size: 12px;
}

.shop-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.shop-bar-chart {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding-top: 12px;
}

.shop-bar-chart p {
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  color: #667085;
}

.shop-bar-item {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 8px;
}

.shop-bar-item span {
  width: 100%;
  max-width: 34px;
  align-self: end;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #ff0040, #111827);
}

.shop-bar-item small {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.market-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.market-account-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

.market-account-tabs button.is-active {
  border-color: #ff0040;
  background: #ff0040;
  color: #fff;
}

.shop-save-list {
  display: grid;
  gap: 10px;
}

.shop-save-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(160px, 0.7fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}

.shop-save-row img {
  width: 70px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.shop-save-row strong {
  display: block;
  color: #101828;
}

.shop-save-row small {
  color: #667085;
}

.shop-save-row em {
  color: #ff0040;
  font-style: normal;
  font-weight: 950;
}

@media (max-width: 900px) {
  .market-account-hero {
    min-height: 220px;
    align-items: flex-start;
    flex-direction: column;
  }

  .market-account-hero h1 {
    font-size: 30px;
  }

  .market-account-summary,
  .shop-metric-grid,
  .shop-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .market-order-table-row,
  .shop-save-row {
    grid-template-columns: 1fr 74px;
  }

  .market-order-table-row > *,
  .shop-save-row > * {
    grid-column: 1;
  }

  .market-order-table-row img,
  .shop-save-row img {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
  }
}

.market-mobile-sell {
  display: none;
}

@media (max-width: 1180px) {
  .market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .market-tools {
    grid-template-columns: minmax(220px, 1fr) 150px 160px;
  }

  .market-tools select:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .marketplace-page {
    min-height: 100vh;
    padding-bottom: 130px;
    background: #ffffff;
  }

  .market-layout {
    display: block;
  }

  .market-sidebar {
    display: none;
  }

  .market-main,
  .market-main.is-standalone {
    padding: 14px 10px 110px;
  }

  .market-head {
    margin-bottom: 10px;
  }

  .market-head h1 {
    font-size: 22px;
  }

  .market-head p {
    font-size: 11px;
  }

  .market-tools {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .market-tools label {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 9px;
  }

  .market-tools input {
    min-height: 36px;
    font-size: 12px;
  }

  .market-tools select {
    display: none;
  }

  .market-tools select[data-market-sort] {
    display: block;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 11px;
  }

  .market-category-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin: 4px -10px 16px;
    padding: 0 10px 8px;
    scrollbar-width: none;
  }

  .market-category-rail::-webkit-scrollbar {
    display: none;
  }

  .market-category-rail button {
    flex: 0 0 54px;
    border-right: 0;
    font-size: 10px;
  }

  .market-category-rail i {
    width: 38px;
    height: 38px;
    background: #f2edff;
    color: #6d33ff;
  }

  .market-featured {
    margin-bottom: 10px;
  }

  .market-featured strong {
    font-size: 13px;
  }

  .market-featured button {
    font-size: 11px;
  }

  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .market-product-card {
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  }

  .market-product-image {
    aspect-ratio: 1.18 / 1;
  }

  .market-wish-btn {
    width: 28px;
    height: 28px;
    top: 7px;
    right: 7px;
  }

  .market-product-copy {
    gap: 4px;
    padding: 8px;
  }

  .market-product-copy > strong {
    font-size: 13px;
  }

  .market-product-copy h3 {
    font-size: 12px;
  }

  .market-product-copy p,
  .market-product-copy small,
  .market-product-copy div {
    font-size: 9px;
  }

  .market-product-copy div {
    display: grid;
    gap: 3px;
  }

  .market-order-btn {
    min-height: 30px;
    border-radius: 8px;
    font-size: 10px;
  }

  .market-mobile-sell {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 72px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff0f4;
    color: #ff0040;
  }

  .market-modal-shell {
    align-items: end;
    place-items: end center;
    padding: 0;
  }

  .market-modal-card {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding: 22px 16px 20px;
  }

  .market-modal-card::before {
    content: "";
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: #d8dbe4;
    justify-self: center;
    margin-top: -8px;
  }

  .market-order-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Job owner dashboard refresh */
.job-dashboard-listing.is-jobs-posted {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.job-owner-posted-card {
  position: relative;
  margin: 0;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.job-owner-posted-code {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #3b4264;
  font-size: 12px;
  font-weight: 700;
}

.job-owner-posted-card .job-owner-card-head {
  padding-right: 180px;
}

.job-owner-posted-card .job-owner-card-head h3 {
  margin-top: 20px;
  font-size: 25px;
  line-height: 1.2;
}

.job-owner-posted-card .job-owner-card-head > strong {
  color: #049851;
  font-size: 24px;
}

.job-owner-posted-card .job-card-meta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) minmax(260px, 360px);
  gap: 18px;
  align-items: center;
}

.job-owner-posted-card .job-card-bids-trigger {
  width: 100%;
  margin-left: 0;
  border-color: rgba(255, 0, 64, 0.18);
  background: rgba(255, 0, 64, 0.04);
}

.job-owner-posted-card .job-card-actions {
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.job-owner-posted-card .job-card-actions .btn-primary {
  background: #241052;
}

.job-owner-posted-card .job-card-actions .job-delete-btn {
  background: #ff0040;
  color: #ffffff;
  border-color: #ff0040;
}

.job-owner-posted-details {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.job-owner-posted-details > strong {
  color: #111936;
  font-size: 18px;
}

.job-owner-posted-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 32px;
}

.job-owner-posted-detail-grid span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "icon label" "icon value";
  gap: 3px 14px;
  align-items: center;
}

.job-owner-posted-detail-grid i {
  grid-area: icon;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(113, 67, 255, 0.1);
  color: #6b38ff;
}

.job-owner-posted-detail-grid small {
  grid-area: label;
  color: #69718c;
  font-size: 12px;
}

.job-owner-posted-detail-grid b {
  grid-area: value;
  color: #111936;
  font-size: 13px;
  font-weight: 700;
}

.job-owner-posted-detail-grid b.is-active {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #0f9f58;
}

.job-owner-posted-tip {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 12px;
  background: #f2f7ff;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.job-owner-posted-tip > i {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #7143ff;
  font-size: 21px;
}

.job-owner-posted-tip div {
  display: grid;
  gap: 5px;
}

.job-owner-posted-tip strong {
  color: #111936;
  font-size: 14px;
}

.job-owner-posted-tip span {
  color: #58627f;
  font-size: 13px;
  line-height: 1.45;
}

.job-owner-posted-tip a {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(113, 67, 255, 0.18);
  background: #ffffff;
  color: #7143ff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* Post job form fixes */
.job-post-page .job-post-form,
.job-post-page .job-post-composer-shell,
.job-post-page .job-post-form-section,
.job-post-page .job-form-grid,
.job-post-page .job-form-field,
.job-post-page .job-combobox {
  overflow: visible;
}

.job-post-page .job-form-field:has(.job-combobox.is-open) {
  position: relative;
  z-index: 90;
}

.job-post-page .job-combobox.is-open {
  z-index: 80;
}

.job-post-page .job-combobox-menu {
  z-index: 1000;
}

.job-post-page .job-form-textarea-shell {
  display: block;
  position: relative;
}

.job-post-page .job-form-textarea-shell .job-form-field-icon {
  display: none;
}

.job-post-page .job-form-textarea-shell textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
}

.job-post-page .job-form-textarea-shell.is-address textarea {
  min-height: 104px;
}

.job-post-page .job-form-count {
  position: absolute;
  right: 14px;
  bottom: 10px;
}

/* Bid review selection */
.job-bids-modal-card {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-bids-modal-card.is-selected {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(34, 197, 94, 0.42);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

.job-bids-modal-card.is-dimmed {
  opacity: 0.42;
  filter: blur(1px) grayscale(0.35);
}

.job-bids-modal-card:not(.is-selected):not(.is-accepted):not(.is-rejected) .job-bids-modal-actions {
  display: none;
}

.job-bids-modal-card.is-selected .job-bids-modal-actions,
.job-bids-modal-card.is-accepted .job-bids-modal-actions,
.job-bids-modal-card.is-rejected .job-bids-modal-actions {
  display: flex;
}

@media (max-width: 860px) {
  .job-giver-main {
    padding: 0;
  }

  .job-owner-posted-card {
    padding: 10px;
    border-radius: 12px;
    gap: 10px;
  }

  .job-owner-posted-main,
  .job-owner-posted-actions-panel,
  .job-owner-posted-details,
  .job-owner-posted-tip {
    padding: 14px;
  }

  .job-owner-posted-code {
    position: static;
    margin-bottom: 8px;
    text-align: right;
  }

  .job-owner-posted-card .job-owner-card-head {
    padding-right: 0;
  }

  .job-owner-posted-card .job-owner-card-head h3 {
    margin-top: 14px;
    font-size: 20px;
  }

  .job-owner-posted-card .job-owner-card-head > strong {
    font-size: 18px;
  }

  .job-owner-posted-card .job-card-meta,
  .job-owner-posted-card .job-card-actions,
  .job-owner-posted-detail-grid,
  .job-owner-posted-tip {
    grid-template-columns: 1fr;
  }

  .job-owner-posted-card .job-card-actions {
    gap: 10px;
  }

  .job-owner-posted-detail-grid {
    gap: 0;
  }

  .job-owner-posted-detail-grid span {
    padding: 11px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "icon label value";
  }

  .job-owner-posted-detail-grid i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 12px;
  }

  .job-owner-posted-detail-grid b {
    text-align: right;
  }

  .job-owner-posted-tip {
    text-align: center;
    justify-items: center;
  }

  .job-bids-modal-shell {
    padding: 0;
  }

  .job-bids-modal-panel {
    width: 100vw;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .job-bids-modal-hero,
  .job-bids-modal-summary,
  .job-bids-modal-toolbar,
  .job-bids-modal-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .job-bids-modal-header h2 {
    font-size: 22px;
  }

  .job-bids-modal-card.is-selected {
    transform: translateY(-5px) scale(1.01);
  }
}

/* WorkLinkUp profile/search refinements */
:root {
  --worklink-red: #ff4438;
  --worklink-red-dark: #ef2f25;
  --worklink-soft-red: #fff1ef;
  --worklink-ink: #202838;
  --worklink-muted: #7b8494;
  --worklink-line: #edf0f5;
}

.is-momentum-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto !important;
}

.search-results-section-title {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 8px 2px 2px;
}

.search-results-section-title h2 {
  margin: 0;
  color: var(--worklink-ink);
  font-size: 18px;
  font-weight: 900;
}

.search-results-section-title p {
  margin: 4px 0 0;
  color: var(--worklink-muted);
  font-size: 13px;
  line-height: 1.45;
}

.search-results-section-title.is-related-only {
  padding: 16px;
  border: 1px solid rgba(255, 68, 56, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--worklink-soft-red) 100%);
}

.provider-profile-page {
  background: #fbfbfd;
  color: var(--worklink-ink);
}

.provider-profile-page .provider-profile-banner {
  min-height: 318px;
}

.provider-profile-page .provider-profile-banner::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 16, 31, 0.62) 100%);
  pointer-events: none;
}

.provider-profile-page .provider-profile-back {
  width: 44px;
  height: 44px;
  color: var(--worklink-ink);
}

.provider-profile-page .provider-profile-avatar-ring {
  background: #fff;
  box-shadow: 0 18px 36px rgba(20, 28, 45, 0.2);
}

.provider-profile-page .provider-profile-avatar-ring::after {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--worklink-red);
  box-shadow: 0 8px 18px rgba(255, 68, 56, 0.28);
}

.provider-profile-page .provider-profile-avatar-ring::before {
  content: '\f030';
  position: absolute;
  right: 17px;
  bottom: 20px;
  z-index: 3;
  color: #fff;
  font-family: 'Font Awesome 6 Free';
  font-size: 12px;
  font-weight: 900;
}

.provider-profile-page .provider-profile-banner-copy h1 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0;
}

.provider-profile-page .provider-profile-handle,
.provider-profile-page .provider-profile-phone {
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.provider-profile-page .provider-profile-summary {
  padding-top: 36px;
}

.provider-profile-page .provider-profile-summary-main,
.provider-profile-page .provider-profile-gallery,
.provider-profile-page .provider-profile-gallery-head {
  width: min(1120px, calc(100% - 44px));
}

.provider-profile-page .provider-profile-summary-main {
  max-width: none;
  margin: 0 auto;
  gap: 18px;
}

.provider-profile-divider {
  display: none;
}

.provider-profile-actions-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.provider-profile-action-compact {
  min-height: 92px;
  padding: 18px;
  border-color: var(--worklink-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(22, 31, 50, 0.08);
  color: var(--worklink-ink);
  justify-content: flex-start;
}

.provider-profile-action-compact i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--worklink-red);
  color: #fff;
  font-size: 22px;
}

.provider-profile-action-compact.provider-profile-whatsapp-action {
  border-color: #25d366;
  background: #25d366;
  color: #ffffff;
}

.provider-profile-action-compact.provider-profile-whatsapp-action:hover {
  border-color: #1ebe5d;
  background: #1ebe5d;
}

.provider-profile-action-compact.provider-profile-whatsapp-action i {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.provider-profile-action-compact.provider-profile-whatsapp-action span,
.provider-profile-action-compact.provider-profile-whatsapp-action strong {
  color: #ffffff;
}

.provider-profile-action-compact span,
.provider-profile-action-compact strong {
  color: var(--worklink-ink);
  font-weight: 900;
}

.provider-profile-stats-row,
.provider-profile-services,
.provider-profile-location,
.provider-profile-skills-link,
.provider-profile-about-card,
.provider-profile-gallery-head,
.provider-profile-gallery {
  border: 1px solid var(--worklink-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 31, 50, 0.06);
}

.provider-profile-stats-row {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--worklink-line);
  border-bottom: 1px solid var(--worklink-line);
}

.provider-stat-item + .provider-stat-item {
  border-left: 1px solid var(--worklink-line);
}

.provider-stat-label {
  color: #97a1b2;
  font-size: 12px;
}

.provider-stat-value {
  color: var(--worklink-ink);
  font-size: 25px;
}

[data-provider-rating] {
  color: var(--worklink-red);
}

.provider-profile-services {
  padding: 20px;
}

.provider-profile-services h3,
.provider-profile-about-card h3 {
  margin: 0 0 14px;
  color: var(--worklink-ink);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.provider-service-tag {
  background: var(--worklink-soft-red);
  color: var(--worklink-red-dark);
}

.provider-profile-location,
.provider-profile-skills-link {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--worklink-line);
}

.provider-profile-location i,
.provider-profile-skills-link i:first-child {
  color: var(--worklink-red);
}

.provider-profile-about-card {
  padding: 24px;
}

.provider-profile-about-card .provider-profile-bio {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 12px 44px;
  border: 0;
  color: #4c5668;
  line-height: 1.7;
}

.provider-profile-about-card .provider-profile-bio::before,
.provider-profile-about-card .provider-profile-bio::after {
  position: absolute;
  top: 4px;
  color: var(--worklink-red);
  font-family: 'Font Awesome 6 Free';
  font-size: 20px;
  font-weight: 900;
}

.provider-profile-about-card .provider-profile-bio::before {
  content: '\f10d';
  left: 0;
}

.provider-profile-about-card .provider-profile-bio::after {
  content: '\f10e';
  right: 0;
}

.provider-profile-edit-section {
  border: 0;
  padding: 0;
}

.provider-profile-edit-section .provider-profile-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--worklink-red);
  color: #fff;
  box-shadow: 0 14px 26px rgba(255, 68, 56, 0.22);
}

.provider-profile-gallery-head {
  overflow: hidden;
  padding: 0 18px;
}

.provider-profile-gallery-tabs {
  width: 100%;
  justify-content: space-around;
  border: 0;
}

.provider-profile-gallery-tab {
  min-height: 62px;
  justify-content: center;
  color: #7d8796;
}

.provider-profile-gallery-tab.is-active {
  color: var(--worklink-red);
  border-bottom-color: var(--worklink-red);
}

.provider-profile-tab-badge {
  background: var(--worklink-red);
}

.provider-profile-gallery {
  padding: 22px;
}

.provider-gallery-empty {
  border-color: rgba(255, 68, 56, 0.24);
  color: #687386;
}

.provider-gallery-empty i {
  color: var(--worklink-red);
  background: var(--worklink-soft-red);
}

.client-profile-switch-provider {
  min-height: 62px;
  width: min(100%, 420px);
  margin: -6px auto 12px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--worklink-red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(255, 68, 56, 0.25);
}

.client-profile-provider-style .provider-profile-actions-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-profile-action-card {
  min-height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.client-profile-action-card small {
  display: block;
  margin-top: 4px;
  color: var(--worklink-muted);
  font-size: 12px;
  line-height: 1.3;
}

.client-profile-action-card.is-primary {
  background: var(--worklink-red);
  color: #fff;
}

.client-profile-action-card.is-primary i {
  background: #fff;
  color: var(--worklink-red);
}

.client-profile-action-card.is-primary strong,
.client-profile-action-card.is-primary small {
  color: #fff;
}

.client-profile-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-profile-tool-row a {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--worklink-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--worklink-ink);
  font-weight: 800;
}

.client-profile-tool-row i {
  color: var(--worklink-red);
}

.client-profile-info-panel {
  padding: 20px;
  border: 1px solid var(--worklink-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 31, 50, 0.06);
}

.client-profile-panel-head,
.client-profile-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.client-profile-panel-head h3 {
  margin: 0;
  color: var(--worklink-ink);
  font-size: 17px;
}

.client-profile-panel-head button {
  border: 0;
  background: transparent;
  color: var(--worklink-red);
  font-weight: 800;
}

.client-profile-info-row {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--worklink-line);
  background: transparent;
  text-align: left;
}

.client-profile-info-row > i:first-child {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--worklink-soft-red);
  color: var(--worklink-red);
}

.client-profile-info-row span {
  flex: 1;
  display: grid;
  gap: 3px;
}

.client-profile-info-row strong {
  color: var(--worklink-ink);
}

.client-profile-info-row small {
  color: var(--worklink-muted);
}

.client-profile-info-row em {
  padding: 6px 12px;
  border: 1px solid var(--worklink-red);
  border-radius: 8px;
  color: var(--worklink-red);
  font-style: normal;
  font-weight: 800;
}

.client-profile-location-card {
  justify-content: space-between;
}

.client-profile-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--worklink-soft-red);
  color: #4f5b6f;
}

.client-profile-note i {
  color: var(--worklink-red);
  font-size: 22px;
}

@media (min-width: 1024px) {
  .provider-profile-page .provider-profile-summary-main {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
    align-items: start;
  }

  .provider-profile-actions-compact,
  .provider-profile-stats-row,
  .provider-profile-about-card {
    grid-column: 1;
  }

  .provider-profile-services,
  .provider-profile-location,
  .provider-profile-skills-link {
    grid-column: 2;
  }

  .provider-profile-services {
    grid-row: 1 / span 2;
  }

  .provider-profile-location {
    grid-row: 3;
  }

  .provider-profile-skills-link {
    grid-row: 4;
  }

  .provider-profile-about-card {
    grid-row: 3 / span 2;
  }

  .client-profile-provider-style .provider-profile-summary-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    max-width: none;
    align-items: start;
  }

  .client-profile-provider-style .client-profile-switch-provider {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
  }

  .client-profile-provider-style .provider-profile-actions-compact {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
  }

  .client-profile-provider-style .provider-profile-services {
    grid-column: 1;
    grid-row: 2;
  }

  .client-profile-provider-style .client-profile-info-panel {
    grid-column: 2;
    grid-row: 2 / span 3;
  }

  .client-profile-provider-style .client-profile-location-card {
    grid-column: 1;
    grid-row: 3;
  }

  .client-profile-provider-style .client-profile-note {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width: 768px) {
  .provider-profile-page .provider-profile-banner {
    min-height: 188px;
  }

  .provider-profile-page .provider-profile-avatar-ring {
    width: 104px;
    height: 104px;
    left: 30px;
    bottom: -50px;
  }

  .provider-profile-page .provider-profile-avatar-ring::after {
    width: 28px;
    height: 28px;
    right: 4px;
    bottom: 8px;
  }

  .provider-profile-page .provider-profile-avatar-ring::before {
    right: 12px;
    bottom: 16px;
    font-size: 10px;
  }

  .provider-profile-page .provider-profile-banner-copy {
    left: 142px;
    bottom: 24px;
  }

  .provider-profile-page .provider-profile-banner-copy h1 {
    font-size: 24px;
  }

  .provider-profile-page .provider-profile-summary {
    width: 100%;
    padding: 66px 16px 0;
  }

  .provider-profile-page .provider-profile-summary-main,
  .provider-profile-page .provider-profile-gallery,
  .provider-profile-page .provider-profile-gallery-head {
    width: 100%;
  }

  .provider-profile-actions-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .provider-profile-action-compact {
    min-height: 76px;
    padding: 10px 8px;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    text-align: center;
  }

  .provider-profile-action-compact i {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .provider-profile-stats-row {
    padding: 14px 0;
  }

  .provider-stat-value {
    font-size: 20px;
  }

  .provider-profile-services,
  .provider-profile-about-card,
  .client-profile-info-panel {
    padding: 16px;
  }

  .provider-profile-gallery-head {
    margin-top: 14px;
    padding: 0 10px;
  }

  .provider-profile-gallery {
    margin-top: 12px;
    padding: 14px;
    grid-template-columns: 1fr;
  }

  .client-profile-switch-provider {
    min-height: 56px;
    margin-top: -10px;
  }

  .client-profile-action-card {
    min-height: 104px;
  }

  .client-profile-action-card small {
    font-size: 10px;
  }
}

/* WorkLinkUp 2026 account + specialists refresh */
.specialists-results-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.specialists-page.is-results-mode .specialists-categories-shell {
  display: none;
}

.specialists-page.is-results-mode .specialists-main {
  padding-top: 18px;
}

.specialist-card-skeleton-card {
  overflow: hidden;
  border-radius: 18px;
}

.specialist-card-skeleton-banner {
  min-height: 196px;
}

.specialist-card-skeleton-pill,
.specialist-card-skeleton-avatar,
.specialist-card-skeleton-line,
.specialist-card-skeleton-inline,
.specialist-card-skeleton-button {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #e2e8f0;
}

.specialist-card-skeleton-pill::after,
.specialist-card-skeleton-avatar::after,
.specialist-card-skeleton-line::after,
.specialist-card-skeleton-inline::after,
.specialist-card-skeleton-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: provider-work-wave 1.35s ease-in-out infinite;
}

.specialist-card-skeleton-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 104px;
  height: 28px;
}

.specialist-card-skeleton-avatar {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
}

.specialist-card-skeleton-line {
  display: block;
  height: 14px;
}

.specialist-card-skeleton-line.is-name {
  width: 64%;
  height: 22px;
}

.specialist-card-skeleton-line.is-role {
  width: 42%;
  margin-top: 8px;
}

.specialist-card-skeleton-inline {
  height: 16px;
  width: 74%;
}

.specialist-card-skeleton-stack,
.specialist-card-skeleton-copy {
  display: grid;
  gap: 10px;
}

.specialist-card-skeleton-line.short {
  width: 60%;
}

.specialist-card-skeleton-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.specialist-card-skeleton-button {
  height: 48px;
}

.specialists-empty-rich {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 52px 28px;
  border-style: solid;
  background:
    radial-gradient(circle at top left, rgba(220, 20, 60, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.specialists-empty-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
  font-size: 30px;
}

.specialists-empty-rich h3 {
  color: var(--brand-ink);
  font-size: 28px;
  font-weight: 900;
}

.specialists-empty-rich p {
  max-width: 640px;
  line-height: 1.7;
}

.specialists-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.specialists-related-shell {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(26, 50, 99, 0.1);
}

.specialists-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.specialists-related-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: #DC143C;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.specialists-related-head h3 {
  color: var(--brand-ink);
  font-size: 24px;
  font-weight: 900;
}

.specialists-suggested-all {
  border: 0;
  background: transparent;
  color: #5b21b6;
  font-size: 15px;
  font-weight: 800;
}

.worklinkup-rail-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.worklinkup-rail-arrow {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a3263;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.worklinkup-rail-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

.specialists-related-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 8px;
  flex: 1 1 auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.specialists-related-track-wrap::-webkit-scrollbar,
.homepage-categories-track-wrap::-webkit-scrollbar,
.specialists-categories-track-wrap::-webkit-scrollbar {
  display: none;
}

.specialists-related-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.specialists-related-card {
  min-width: 240px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.specialists-related-card strong {
  display: block;
  color: var(--brand-ink);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}

.specialists-related-card span {
  display: block;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.specialists-suggested-card {
  min-width: 176px;
  padding: 18px 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 12px;
  text-align: center;
}

.specialists-suggested-card-link {
  color: inherit;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.specialists-suggested-avatar {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(26, 50, 99, 0.08);
  background: #f8fafc;
}

.specialists-suggested-card strong {
  display: block;
  max-width: 100%;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specialists-suggested-meta,
.specialists-suggested-place {
  display: block;
  width: 100%;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specialists-suggested-action {
  min-height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.specialists-suggested-category-card {
  min-width: 168px;
}

.specialists-suggested-category-card .specialists-suggested-avatar {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.specialists-suggested-category-card .specialists-suggested-meta {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid transparent;
  font-size: 16px;
  background-color: #fff;
  border-radius: 100px;
  font-weight: 700;
  color: #1f387e;
  box-shadow: 0 0 0 2px #ffffff, 0 16px 30px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #1f387e;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #c5e5e4;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.06em;
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #1f387e;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #DC143C;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* Job-giver page summary (black & gold, light theme) */
.job-giver-page .job-page-shell {
  background: #fff;
  color: #111;
  padding: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}

/* Make content edge-to-edge where requested */
.job-page-shell { width: 100%; }
.job-giver-dashboard { max-width: none; padding: 0; margin: 0; }
.job-giver-dashboard .job-owner-card,
.job-giver-dashboard .job-placed-bid-card { margin: 12px 0; border-radius: 0; box-shadow: none; border-left: none; border-right: none; padding: 12px 16px; }

/* Mobile and tablet responsive adjustments */
@media (max-width: 640px) {
  .job-modal-panel { width: 100% !important; margin: 0 !important; border-radius: 0 !important; padding: 12px !important; }
  .job-modal-shell { padding: 0 !important; }

  .job-dashboard-listing {
    gap: 12px;
  }

  .job-owner-card {
    padding: 16px;
    margin-bottom: 12px;
  }

  .job-owner-card .job-card-actions {
    flex-direction: column;
    gap: 8px;
  }

  .job-owner-card .job-card-actions > * {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .job-dashboard-listing {
    gap: 14px;
  }

  .job-owner-card {
    padding: 18px;
  }
}

@media (max-width: 1023px) {
  .job-dashboard-listing {
    grid-template-columns: 1fr !important;
  }
}

/* Messages: job action floating button and review modal */
.messages-job-action-host {
  padding: 12px;
  display: flex;
  justify-content: center;
  background: #fff;
  border-top: 1px solid rgba(15,23,42,0.06);
}
.messages-job-action-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.messages-job-action-btn:hover {
  transform: translateY(-1px);
}
.messages-job-action-btn:active {
  transform: translateY(0);
}
.messages-job-action-btn:disabled { opacity: 0.6; cursor: default; }

.job-review-modal-shell {
  position: fixed;
  inset: 0;
  background: rgba(12,18,34,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  padding: 18px;
}
.job-review-modal-panel {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(15,23,42,0.12);
}
.job-review-head { display: flex; gap: 12px; align-items: center; }
.job-review-provider-icon img, .job-review-provider-icon span { width: 52px; height: 52px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.job-review-stars { display: flex; gap: 6px; margin: 12px 0; }
.job-review-stars .star { background: transparent; border: 0; font-size: 22px; color: #d1d5db; cursor: pointer; }
.job-review-stars .star.is-selected { color: #DC143C; }
.job-review-body textarea { width: 100%; min-height: 110px; padding: 10px; border: 1px solid rgba(17,17,17,0.06); border-radius: 8px; resize: vertical; }
.job-review-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.worklinkup-review-prompt-copy { margin: 0 0 8px; color: #475569; line-height: 1.55; }

.job-review-modal-panel {
  position: relative;
}

.job-review-success-tick {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: review-success-fade 0.56s ease forwards;
}

.job-review-success-tick span {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.28);
  transform: scale(0.72);
  animation: review-success-pop 0.48s cubic-bezier(0.2, 1.2, 0.35, 1) forwards;
}

@keyframes review-success-fade {
  to { opacity: 1; }
}

@keyframes review-success-pop {
  to { transform: scale(1); }
}

.job-bids-modal-actions .is-loading,
.job-bids-modal-mobile-actions .is-loading,
[data-job-application-action].is-loading,
[data-job-modal-application-action].is-loading,
[data-job-review-submit].is-loading,
[data-pending-review-submit].is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.job-bids-modal-actions .is-loading i,
.job-bids-modal-actions .is-loading span,
.job-bids-modal-mobile-actions .is-loading i,
.job-bids-modal-mobile-actions .is-loading span,
[data-job-application-action].is-loading i,
[data-job-application-action].is-loading span,
[data-job-modal-application-action].is-loading i,
[data-job-modal-application-action].is-loading span,
[data-job-review-submit].is-loading i,
[data-job-review-submit].is-loading span,
[data-pending-review-submit].is-loading i,
[data-pending-review-submit].is-loading span {
  opacity: 0;
}

.job-bids-modal-actions .is-loading::after,
.job-bids-modal-mobile-actions .is-loading::after,
[data-job-application-action].is-loading::after,
[data-job-modal-application-action].is-loading::after,
[data-job-review-submit].is-loading::after,
[data-pending-review-submit].is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
  animation: account-spin 0.7s linear infinite;
}

.job-bids-modal-actions .is-danger.is-loading::after,
.job-bids-modal-mobile-actions .is-danger.is-loading::after {
  border-color: rgba(255, 0, 64, 0.18);
  border-top-color: #ff0040;
}

.job-bids-modal-actions .is-accepted-now,
[data-job-application-action].is-accepted-now,
[data-job-modal-application-action].is-accepted-now {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .messages-job-action-host { padding: 8px; }
  .messages-job-action-btn { width: 100%; }
  .job-review-modal-panel { width: 100%; height: auto; margin: 0; border-radius: 8px; }
}


.account-page {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 86px);
  background:
    radial-gradient(circle at top left, rgba(220, 20, 60, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfbf8 0%, #f5efe7 100%);
}

.account-auth-stage {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr);
}

.account-auth-stage-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 54px 44px 28px;
  background: #2a1a1f;
  color: #fff;
  overflow: hidden;
}

.account-auth-stage-visual::after,
.account-setup-split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.8);
  z-index: 1;
}

.account-auth-stage-copy {
  position: relative;
  z-index: 2;
  max-width: 380px;
}

.account-auth-stage-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-auth-stage-copy h1 {
  color: #fff;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  margin-bottom: 16px;
}

.account-auth-stage-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.account-auth-stage-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.account-auth-stage-points li {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
}

.account-auth-stage-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
}

.account-auth-stage-image,
.account-setup-split-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.45);
  transform: scale(1.06);
}

.account-auth-stage-badges {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.account-auth-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 8px 22px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #3b3b3b;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
  width: fit-content;
}

.account-auth-stage-badge.is-offset {
  margin-left: 42px;
}

.account-auth-stage-badge img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.account-auth-stage-badge span {
  font-size: 16px;
  font-weight: 700;
}

.account-auth-stage-badge i {
  color: #22c55e;
  font-size: 20px;
}

.account-auth-stage-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 32px;
  background: rgba(255, 255, 255, 0.86);
}

.account-auth-stage-panel-inner {
  width: min(100%, 420px);
}

.account-auth-page-heading {
  color: #111827;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 900;
  margin-bottom: 10px;
}

.account-auth-page-subtext {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
  color: #4b5563;
  font-size: 18px;
}

.inline-link {
  border: none;
  background: transparent;
  color: #0b4fa8;
  font-weight: 800;
  padding: 0;
}

.account-auth-page-actions,
.account-auth-page-form {
  display: grid;
  gap: 14px;
}

.account-auth-identifier-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 4px;
  background: rgba(26, 50, 99, 0.06);
}

.account-identifier-option {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.account-identifier-option.is-active {
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.account-auth-page-divider {
  position: relative;
  margin: 24px 0;
  text-align: center;
}

.account-auth-page-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid #e5e7eb;
}

.account-auth-page-divider span {
  position: relative;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #6b7280;
}

.account-auth-page-note {
  margin-top: 18px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

.account-setup-stage {
  min-height: calc(100vh - 86px);
  padding: 48px 0 72px;
  width: 100%;
}

.account-setup-shell {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Full-width layout for setup sections */
.account-setup-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 48px;
  margin-bottom: 40px;
}

.account-setup-section-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-setup-section-item h2 {
  color: #111827;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  margin: 0;
}

.account-setup-section-item p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Collapsible optional section */
.account-setup-optional {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  padding-top: 32px;
  margin-top: 32px;
}

.account-setup-optional-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
}

.account-setup-optional-toggle i {
  transition: transform 0.3s ease;
}

.account-setup-optional-toggle.is-expanded i {
  transform: rotate(180deg);
}

.account-setup-optional-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.account-setup-optional-content.is-expanded {
  max-height: 2000px;
  opacity: 1;
  margin-top: 24px;
}

/* Hardcoded Setup Modal (No iframe) */
.account-setup-modal[hidden] {
  display: none !important;
}

.account-setup-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.account-setup-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.account-setup-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.46);
  backdrop-filter: blur(16px);
}

.account-setup-modal-shell {
  position: relative;
  width: min(1100px, calc(100vw - 28px));
  max-height: min(88vh, 920px);
  margin: auto;
  border-radius: 30px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.account-setup-modal.is-visible .account-setup-modal-shell {
  transform: translateY(0) scale(1);
}

.account-setup-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.account-setup-modal-close:hover {
  background: rgba(255, 255, 255, 1);
}

.account-setup-modal-content {
  padding: 48px;
  max-width: 520px;
  margin: 0 auto;
}

.account-setup-modal-content.is-role-choice {
  max-width: 920px;
}

@media (max-width: 768px) {
  .account-setup-modal-shell {
    width: calc(100vw - 18px);
    max-height: auto;
    max-height: min(86dvh, 680px);
    border-radius: 18px;
  }

  .account-setup-modal-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .account-setup-modal-content {
    padding: 32px 24px 32px;
  }
}

.account-setup-split {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(360px, 0.98fr);
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.08);
}

.account-setup-split-visual {
  position: relative;
  padding: 48px 34px;
  background: #2a1a1f;
}

.account-setup-split-panel {
  padding: 34px 38px;
}

.account-setup-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  padding: 0;
}

.account-setup-content-block {
  max-width: 440px;
  margin-top: 54px;
}

.account-setup-content-block h2,
.account-setup-role-copy h2,
.account-provider-setup-head h2 {
  color: #111827;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 14px;
}

.account-setup-content-block p,
.account-setup-role-copy p,
.account-provider-setup-head p {
  color: #6b7280;
  font-size: 18px;
  line-height: 1.65;
}

.account-setup-compact-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.account-setup-field {
  display: grid;
  gap: 10px;
}

.account-setup-field span {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.account-setup-field small {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.account-setup-field-message {
  min-height: 18px;
  font-size: 13px;
  font-weight: 700;
}

.account-setup-field-message.is-error {
  color: orangered;
}

.account-setup-field-message.is-success {
  color: #16a34a;
}

.account-form-row input.is-invalid,
.account-setup-field input.is-invalid,
.account-setup-field select.is-invalid,
.account-setup-field textarea.is-invalid,
.account-provider-form input.is-invalid,
.account-provider-form select.is-invalid,
.account-provider-form textarea.is-invalid {
  border-color: orangered !important;
  box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.08) !important;
}

.account-form-row input.is-valid,
.account-setup-field input.is-valid {
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}

.account-setup-role-stage {
  padding: 48px 22px 22px;
}

.account-setup-role-stage-modal {
  padding: 10px 0 0;
}

.account-setup-role-copy {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.account-setup-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.account-setup-role-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: start;
  gap: 18px;
  text-align: left;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.05);
}

.account-setup-role-card i {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
  font-size: 28px;
}

.account-setup-role-card strong {
  color: #111827;
  font-size: 24px;
  font-weight: 900;
}

.account-setup-role-card span {
  color: #64748b;
  line-height: 1.6;
}

.account-setup-role-card.is-selected {
  border-color: #DC143C;
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.12);
}

.account-setup-role-card.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.account-setup-role-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.account-provider-setup-stage {
  display: grid;
  gap: 26px;
}

.account-provider-grid {
  display: grid;
  gap: 18px;
}

/* Main layout for provider setup when no inner panel is desired */
.provider-main-layout {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.95));
  border: 1px solid rgba(17,24,39,0.06);
  max-width: 820px;
  margin: 0 auto;
}

.account-provider-section {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.05);
}

.account-provider-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.account-provider-section-head strong {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.account-provider-section-head span {
  color: #6b7280;
}

.account-provider-fields.two-col,
.account-provider-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-setup-field-span {
  grid-column: 1 / -1;
}

.account-provider-minimal-fields {
  display: grid;
  gap: 16px;
}

.account-provider-section-minimal {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.account-typeahead-field {
  position: relative;
}

.account-typeahead-field input[data-provider-service-input] {
  padding-right: 46px;
}

.account-typeahead-field select[data-provider-service-subcategory-select] {
  margin-top: 6px;
}

.account-typeahead-field select[data-provider-service-subcategory-select][hidden],
.account-service-add-btn[hidden] {
  display: none !important;
}

.account-typeahead-toggle {
  position: absolute;
  top: 32px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.account-typeahead-toggle:hover,
.account-typeahead-toggle:focus-visible {
  background: rgba(17, 24, 39, 0.14);
}

.account-service-picker .account-typeahead-toggle {
  top: 92px;
}

.account-service-add-btn {
  width: fit-content;
  min-height: 38px;
  margin-top: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.account-service-add-btn:hover,
.account-service-add-btn:focus-visible {
  background: #DC143C;
}

.provider-onboarding-service-add {
  margin-top: 10px;
}

.account-service-picker-notice {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 3200;
  min-height: 48px;
  max-width: min(420px, calc(100vw - 28px));
  padding: 12px 15px;
  border: 1px solid rgba(220, 20, 60, 0.28);
  border-radius: 16px;
  background: #fff;
  color: #111827;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 850;
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.account-service-picker-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.account-service-picker-notice i {
  color: #DC143C;
}

.account-typeahead-list {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 242px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 6px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.account-typeahead-list[hidden] {
  display: none !important;
}

.edit-profile-service-picker .account-typeahead-list {
  z-index: 90;
  max-height: min(360px, 48vh);
}

.account-typeahead-option {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  text-align: left;
}

.account-typeahead-option:hover,
.account-typeahead-option:focus-visible {
  background: #f3f4f6;
}

.account-typeahead-main {
  min-width: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-typeahead-detail {
  color: #6b7280;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.account-typeahead-empty {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 13px;
  font-weight: 750;
}

.account-service-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 12px;
  background: rgba(249, 250, 251, 0.92);
}

.account-service-chip-list.is-invalid {
  border-color: rgba(220, 38, 38, 0.68);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.account-service-chip,
.account-service-chip-empty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  max-width: calc(100% - 8px);
  padding: 5px 8px 5px 10px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.account-service-chip small {
  min-width: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-service-chip > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-service-chip button {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.account-service-chip-empty {
  background: transparent;
  color: #6b7280;
  padding-inline: 2px;
}

@media (max-width: 640px) {
  .account-service-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 38px;
    padding: 6px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 12px;
    background: rgba(249, 250, 251, 0.92);
    overflow: hidden;
  }

  .account-service-chip {
    flex: 0 1 auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  .account-service-chip > span,
  .account-service-chip small {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-service-chip button {
    flex-shrink: 0;
  }

  .account-typeahead-field {
    position: relative;
  }

  .account-typeahead-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
  }
}

.account-provider-form textarea,
.account-provider-form input,
.account-provider-form select,
.account-setup-field input,
.account-setup-field select,
.account-setup-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d6dbe5;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  font-family: 'Google Sans', sans-serif;
  font-size: 15px;
}

.account-provider-form textarea,
.account-setup-field textarea {
  min-height: 140px;
  resize: vertical;
}

.account-provider-repeater {
  display: grid;
  gap: 12px;
}

.account-setup-repeater-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 48px;
  gap: 12px;
  align-items: start;
}

.account-setup-repeater-row.is-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-setup-repeater-row.is-wide textarea {
  grid-column: 1 / -1;
}

.account-provider-add-row,
.account-setup-remove-row {
  border: 1px solid rgba(220, 20, 60, 0.12);
  background: rgba(220, 20, 60, 0.05);
  color: #DC143C;
  border-radius: 14px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.account-provider-add-row {
  margin-top: 14px;
  width: fit-content;
  padding: 0 16px;
}

.account-provider-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.account-provider-upload-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
}

.account-provider-upload-preview {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(220, 20, 60, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%);
  overflow: hidden;
}

.account-provider-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-provider-upload-preview-avatar {
  min-height: 180px;
}

.account-provider-doc-upload {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.account-provider-doc-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.account-provider-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.account-provider-doc-card strong {
  display: block;
  color: #111827;
  font-weight: 800;
}

.account-provider-doc-card span,
.account-provider-doc-empty {
  color: #6b7280;
  font-size: 13px;
}

.account-provider-doc-card button {
  border: none;
  background: transparent;
  color: #6b7280;
}

.account-provider-form-actions {
  display: flex;
  justify-content: flex-end;
}

.client-profile-page {
  min-height: 100vh;
  max-width: none;
  margin: 0;
  padding: 0 0 72px;
  background: #f8fafc;
}

.client-profile-loading,
.client-profile-auth-card {
  min-height: 420px;
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.client-profile-auth-card {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 24px 54px rgba(26, 50, 99, 0.12);
}

.client-profile-auth-card img {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  object-fit: cover;
}

.client-profile-auth-card h1,
.client-profile-loading h1 {
  color: var(--brand-ink);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
}

.client-profile-auth-card p {
  max-width: 460px;
  color: var(--text-muted);
  line-height: 1.7;
}

.client-profile-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.client-profile-hero {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 50, 99, 0.09);
  box-shadow: 0 26px 70px rgba(26, 50, 99, 0.14);
}

.client-profile-banner {
  min-height: 220px;
  background-position: center;
  background-size: cover;
}

.client-profile-identity {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 0 28px 24px;
  margin-top: -54px;
}

.client-profile-avatar {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  display: grid;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-ink), var(--brand-slate));
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(26, 50, 99, 0.22);
}

.client-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-profile-kicker {
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.client-profile-identity h1 {
  margin: 6px 0 2px;
  color: var(--brand-ink);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  font-weight: 950;
}

.client-profile-identity p {
  color: var(--text-muted);
  font-weight: 700;
}

.client-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 28px 28px;
}

.client-profile-primary-link,
.client-profile-secondary-link,
.client-profile-save-btn {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  cursor: pointer;
}

.client-profile-primary-link,
.client-profile-save-btn {
  background: linear-gradient(135deg, var(--brand-ink), #2d5599);
  color: #fff;
  box-shadow: 0 16px 30px rgba(26, 50, 99, 0.2);
}

.client-profile-secondary-link {
  background: #fff;
  color: var(--brand-ink);
  border: 1px solid rgba(26, 50, 99, 0.12);
}

.client-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.client-profile-provider-style .provider-profile-banner {
  background-color: #1a3263;
}

.client-profile-stats-row .provider-stat-value {
  font-size: 18px;
}

.client-profile-gallery[data-client-profile-panel][hidden] {
  display: none !important;
}

.client-profile-info-card {
  min-height: 142px;
  padding: 16px;
}

.client-profile-info-card .provider-gallery-card-copy {
  position: static;
  padding: 0;
}

.client-profile-info-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-ink);
  font-size: 16px;
  font-weight: 900;
}

.client-profile-info-card p {
  color: #64748b;
  line-height: 1.6;
  word-break: break-word;
}

.client-profile-edit-panel {
  grid-column: 1 / -1;
  padding: 24px;
}

.client-profile-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 18px 46px rgba(26, 50, 99, 0.1);
}

.client-profile-card-head {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.client-profile-card-head span {
  color: var(--brand-ink);
  font-size: 22px;
  font-weight: 950;
}

.client-profile-card-head strong {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.client-profile-details {
  display: grid;
  gap: 14px;
}

.client-profile-details div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 50, 99, 0.08);
}

.client-profile-details dt {
  color: #8a98ad;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-profile-details dd {
  margin-top: 6px;
  color: var(--brand-ink);
  font-weight: 800;
  line-height: 1.5;
}

.client-profile-form {
  display: grid;
  gap: 14px;
}

.client-profile-form label {
  display: grid;
  gap: 8px;
}

.client-profile-form label > span {
  color: #62708a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-profile-form input,
.client-profile-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 16px;
  background: #f9fbff;
  color: var(--brand-ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  padding: 14px 15px;
}

.client-profile-form input:focus,
.client-profile-form textarea:focus {
  border-color: rgba(26, 50, 99, 0.38);
  box-shadow: 0 0 0 4px rgba(26, 50, 99, 0.08);
}

.client-profile-upload {
  min-height: 78px;
  padding: 16px;
  border: 1px dashed rgba(26, 50, 99, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(84, 119, 146, 0.08), rgba(220, 20, 60, 0.1));
  cursor: pointer;
}

.client-profile-upload i {
  color: var(--brand-gold);
  font-size: 22px;
}

.client-profile-upload input {
  display: none;
}

@media (max-width: 760px) {
  .client-profile-page {
    padding: 18px 12px 96px;
  }

  .client-profile-hero,
  .client-profile-card,
  .client-profile-auth-card {
    border-radius: 24px;
  }

  .client-profile-banner {
    min-height: 150px;
  }

  .client-profile-identity {
    align-items: flex-start;
    padding: 0 18px 20px;
  }

  .client-profile-avatar {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    border-radius: 26px;
    font-size: 28px;
  }

  .client-profile-actions,
  .client-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .client-profile-actions {
    padding: 0 18px 22px;
  }
}

.edit-profile-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 18px 80px;
}

.edit-profile-shell {
  display: grid;
  gap: 14px;
}

.edit-profile-loading {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.edit-profile-loading h1 {
  color: #111827;
  font-size: 34px;
  font-weight: 900;
}

.edit-profile-loading p {
  color: #6b7280;
}

.edit-profile-head {
  min-height: 238px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 28px;
  padding: 42px 44px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #fff8f4 58%, #fff0e8 100%);
  color: #1b163f;
  border: 1px solid #f0e5df;
  box-shadow: none;
}

.edit-profile-back {
  width: fit-content;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ff4b2f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.edit-profile-head-copy h1 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  color: #1b163f;
}

.edit-profile-head-copy .account-auth-stage-kicker {
  margin-bottom: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #ff4b2f;
  letter-spacing: 0;
  text-transform: none;
}

.edit-profile-head-copy p {
  margin-top: 12px;
  max-width: 760px;
  color: #6d7284;
  font-size: 16px;
  line-height: 1.65;
}

.edit-profile-hero-art {
  position: relative;
  min-height: 190px;
}

.edit-profile-hero-blob {
  position: absolute;
  inset: 14px 18px 0 12px;
  border-radius: 46% 54% 42% 58%;
  background: #ffe5dc;
}

.edit-profile-hero-board {
  position: absolute;
  right: 72px;
  bottom: 8px;
  width: 150px;
  height: 180px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 13px;
  padding: 30px 24px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #ff6a3d 0%, #ff442b 100%);
  color: #ffffff;
  box-shadow: 0 22px 38px rgba(255, 68, 43, 0.22);
}

.edit-profile-hero-board i {
  font-size: 48px;
}

.edit-profile-hero-board span {
  width: 82px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.edit-profile-hero-pen {
  position: absolute;
  right: 34px;
  top: 42px;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #ffb6a2;
  color: #ff442b;
  font-size: 30px;
  transform: rotate(-14deg);
}

.edit-profile-form {
  display: grid;
  gap: 0;
}

.edit-profile-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.edit-profile-side-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #ebeef4;
  box-shadow: 0 18px 40px rgba(26, 50, 99, 0.06);
}

.edit-profile-side-nav a {
  min-height: 72px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 4px;
  color: #6c7283;
  text-decoration: none;
  border: 1px solid transparent;
}

.edit-profile-side-nav a.is-active,
.edit-profile-side-nav a:hover {
  background: #fff6f2;
  color: #ff4b2f;
  border-color: #ffe0d6;
}

.edit-profile-side-nav i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #f7f8fb;
}

.edit-profile-side-nav a.is-active i,
.edit-profile-side-nav a:hover i {
  background: #ff4b2f;
  color: #ffffff;
}

.edit-profile-side-nav strong,
.edit-profile-side-nav small {
  display: block;
}

.edit-profile-side-nav strong {
  color: #20233a;
  font-size: 14px;
}

.edit-profile-side-nav small {
  margin-top: 4px;
  color: #8a91a2;
  font-size: 12px;
}

.edit-profile-content {
  display: grid;
  gap: 18px;
}

.edit-profile-card {
  scroll-margin-top: 96px;
  padding: 24px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #ebeef4;
  box-shadow: 0 18px 40px rgba(26, 50, 99, 0.06);
  overflow: visible;
}

.wl-saved-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.wl-saved-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.wl-saved-modal-card {
  width: min(390px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}

.wl-saved-modal.is-visible .wl-saved-modal-card {
  transform: translateY(0) scale(1);
}

.wl-saved-modal-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f9ef;
  color: #148f47;
  font-size: 22px;
}

.wl-saved-modal-card h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 24px;
}

.wl-saved-modal-card p {
  margin: 0 0 8px;
  color: #5d6678;
}

.edit-profile-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.edit-profile-card-head > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff0e8;
  color: #ff4b2f;
  font-size: 18px;
}

.edit-profile-card-head strong {
  color: #1b163f;
  font-size: 20px;
}

.edit-profile-card-head span {
  display: block;
  margin-top: 3px;
  color: #8a91a2;
}

.edit-profile-field-grid {
  gap: 16px;
}

.edit-profile-page .account-setup-field {
  gap: 8px;
}

.edit-profile-page .account-setup-field > span,
.edit-profile-page .account-provider-doc-upload > span {
  color: #52596c;
  font-size: 12px;
  font-weight: 800;
}

.edit-profile-page .account-provider-form input,
.edit-profile-page .account-provider-form select,
.edit-profile-page .account-provider-form textarea,
.edit-profile-page .account-setup-field input,
.edit-profile-page .account-setup-field select,
.edit-profile-page .account-setup-field textarea,
.edit-profile-page .account-setup-repeater-row input,
.edit-profile-page .account-setup-repeater-row select,
.edit-profile-page .account-setup-repeater-row textarea {
  min-height: 44px;
  border-radius: 4px;
  border: 1px solid #dfe4ee;
  background: #ffffff;
  color: #1f2437;
  box-shadow: none;
}

.edit-profile-page .account-provider-form textarea,
.edit-profile-page .account-setup-field textarea {
  min-height: 132px;
}

.edit-profile-page .account-provider-add-row {
  width: fit-content;
  min-height: 36px;
  border-radius: 4px;
  border: 1px solid #ffded4;
  background: #ffffff;
  color: #ff4b2f;
  font-size: 12px;
  font-weight: 900;
}

.edit-profile-page .account-setup-remove-row {
  border-radius: 4px;
  color: #ff4b2f;
}

.edit-profile-page .account-service-chip {
  border-radius: 4px;
  background: #fff4ee;
  border-color: #ffded4;
}

.edit-profile-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.92fr;
  gap: 18px;
  align-items: start;
}

.edit-profile-stack,
.edit-profile-mini-section {
  display: grid;
  gap: 12px;
}

.edit-profile-mini-section {
  margin-top: 18px;
}

.edit-profile-stack .edit-profile-mini-section {
  margin-top: 0;
}

.edit-profile-mini-head strong,
.edit-profile-mini-head small {
  display: block;
}

.edit-profile-mini-head strong {
  color: #1b163f;
  font-size: 16px;
}

.edit-profile-mini-head small {
  margin-top: 4px;
  color: #8a91a2;
  font-size: 12px;
}

.edit-profile-subgrid {
  gap: 18px;
}

.edit-profile-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.edit-profile-upload-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #ebeef4;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.edit-profile-upload-card:hover,
.edit-profile-upload-card.is-dragover {
  border-color: #ff4b2f;
  background: #fff8f4;
  box-shadow: 0 18px 32px rgba(255, 75, 47, 0.10);
  transform: translateY(-2px);
}

.edit-profile-upload-card strong {
  color: #1b163f;
  font-size: 16px;
  font-weight: 900;
}

.edit-profile-upload-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.edit-profile-upload-preview {
  min-height: 210px;
  border-radius: 4px;
  background: #f4f6f9;
  overflow: hidden;
}

.edit-profile-upload-card-banner .edit-profile-upload-preview {
  min-height: 200px;
}

.edit-profile-upload-trigger {
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  background: #ff4b2f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(255, 75, 47, 0.16);
}

.edit-profile-doc-upload {
  margin-top: 18px;
  border-radius: 4px;
}

.edit-profile-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(252, 250, 247, 0) 0%, #fcfaf7 36%);
}

.provider-profile-detail-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.provider-profile-detail-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(26, 50, 99, 0.08);
}

.provider-profile-detail-card h3 {
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.provider-profile-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.provider-profile-skill-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 50, 99, 0.08);
}

.provider-profile-skill-card strong {
  display: block;
  color: var(--brand-ink);
  font-weight: 900;
  margin-bottom: 6px;
}

.provider-profile-skill-card span {
  color: #64748b;
  font-size: 13px;
}

.provider-profile-links {
  display: grid;
  gap: 10px;
}

.provider-profile-links a {
  color: #DC143C;
  word-break: break-word;
}

.provider-document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.provider-document-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  background: #fff;
  text-align: left;
}

.provider-document-card strong {
  display: block;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.provider-document-card span {
  color: #64748b;
  font-size: 13px;
}

.provider-document-preview {
  min-height: 420px;
  margin-top: 18px;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(26, 50, 99, 0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.provider-document-preview img,
.provider-document-preview iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 980px) {
  .account-auth-stage,
  .account-setup-split,
  .account-provider-fields.two-col,
  .account-provider-subgrid,
  .account-provider-media-grid,
  .account-setup-role-grid {
    grid-template-columns: 1fr;
  }

  .account-auth-stage {
    min-height: auto;
  }

  .account-auth-stage-visual,
  .account-setup-split-visual {
    min-height: 440px;
  }

  .account-auth-stage-image,
  .account-setup-split-image {
    width: 100%;
    max-width: 420px;
  }

  .account-setup-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px;
  }

  .account-setup-optional-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .worklinkup-rail-shell {
    gap: 0;
  }

  .worklinkup-rail-arrow {
    display: none;
  }

  .specialists-results-head {
    align-items: stretch;
    flex-direction: column;
  }

  .specialists-results-head-actions {
    justify-content: flex-start;
  }

  .homepage-categories-track-wrap,
  .specialists-categories-track-wrap,
  .specialists-related-track-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .account-setup-stage {
    padding-inline: 14px;
  }

  .account-auth-stage-visual,
  .account-setup-split-visual,
  .account-setup-split-panel,
  .account-auth-stage-panel {
    padding: 28px 18px;
  }

  .account-auth-stage-badge.is-offset {
    margin-left: 0;
  }

  .account-setup-content-block {
    margin-top: 26px;
  }

  .account-setup-repeater-row,
  .account-setup-repeater-row.is-wide {
    grid-template-columns: 1fr;
  }

  .homepage-categories-mobile-action {
    display: flex;
    justify-content: center;
    margin-top: 18px;
  }

  .pending-setup-panel {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px);
    margin: 5px auto 0;
    border-radius: 22px;
  }

  .pending-setup-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
  }

  .account-embed-mode .account-setup-stage {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .account-embed-mode .account-setup-shell {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .account-embed-mode .account-setup-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px 32px;
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
  }

  .account-embed-mode .account-setup-section-item {
    gap: 14px;
  }

  .account-embed-mode .account-setup-section-item h2 {
    font-size: 26px;
    line-height: 1.12;
  }

  .account-embed-mode .account-setup-section-item p {
    font-size: 14px;
    line-height: 1.55;
  }

  .account-embed-mode .account-setup-back-link {
    margin-bottom: 12px;
  }

  .account-embed-mode .account-setup-compact-form {
    gap: 14px;
    margin-top: 20px;
  }

  .account-embed-mode .account-setup-field {
    gap: 8px;
  }

  .account-embed-mode .account-setup-field span {
    font-size: 13px;
  }

  .account-embed-mode .account-setup-field small {
    font-size: 12px;
  }

  .account-embed-mode .account-setup-split {
    min-height: auto;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .account-embed-mode .account-setup-split-visual {
    display: none;
  }

  .account-embed-mode .account-setup-split-panel {
    padding: 14px 14px 24px;
  }

  .account-embed-mode .account-setup-content-block {
    max-width: none;
    margin-top: 18px;
  }

  .account-embed-mode .account-setup-content-block h2,
  .account-embed-mode .account-setup-role-copy h2,
  .account-embed-mode .account-provider-setup-head h2,
  .account-embed-mode .account-setup-embed-success h2,
  .account-embed-mode .account-setup-loading h2 {
    font-size: 26px;
    line-height: 1.12;
  }

  .account-embed-mode .account-setup-content-block p,
  .account-embed-mode .account-setup-role-copy p,
  .account-embed-mode .account-provider-setup-head p,
  .account-embed-mode .account-setup-embed-success p,
  .account-embed-mode .account-setup-loading p {
    font-size: 14px;
    line-height: 1.55;
  }

  .account-embed-mode .account-setup-compact-form {
    gap: 14px;
    margin-top: 20px;
  }

  .account-embed-mode .account-setup-role-stage {
    padding: 18px 14px 22px;
  }

  .account-embed-mode .account-setup-role-copy {
    margin-bottom: 22px;
  }

  .account-embed-mode .account-setup-role-card {
    min-height: 180px;
    padding: 20px;
    border-radius: 8px;
  }

  .account-embed-mode .account-setup-role-card strong {
    font-size: 20px;
  }

  .account-embed-mode .account-provider-setup-stage {
    gap: 18px;
  }

  .account-embed-mode .account-provider-section {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .account-embed-mode .account-provider-section-head strong {
    font-size: 19px;
  }

  .account-embed-mode .account-provider-form textarea,
  .account-embed-mode .account-provider-form input,
  .account-embed-mode .account-provider-form select,
  .account-embed-mode .account-setup-field input,
  .account-embed-mode .account-setup-field select,
  .account-embed-mode .account-setup-field textarea {
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
  }

  .account-embed-mode .account-provider-form textarea,
  .account-embed-mode .account-setup-field textarea {
    min-height: 120px;
  }

  .edit-profile-page {
    padding: 18px 14px 56px;
  }

  .edit-profile-head {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px 18px;
    border-radius: 4px;
  }

  .edit-profile-hero-art {
    display: none;
  }

  .edit-profile-layout,
  .edit-profile-about-grid {
    grid-template-columns: 1fr;
  }

  .edit-profile-side-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
  }

  .edit-profile-side-nav::-webkit-scrollbar {
    display: none;
  }

  .edit-profile-side-nav a {
    min-width: 210px;
  }

  .edit-profile-head-copy h1 {
    font-size: 34px;
  }

  .edit-profile-card {
    padding: 18px 16px;
  }

  .edit-profile-upload-grid {
    grid-template-columns: 1fr;
  }

  .edit-profile-upload-preview {
    min-height: 170px;
  }

  .edit-profile-form-actions {
    flex-direction: column-reverse;
    padding-top: 12px;
  }

  .edit-profile-form-actions > * {
    width: 100%;
  }
}

/* ========== WORKLINKUP THEME OVERRIDES ========== */
body {
  background: linear-gradient(180deg, #f7f2eb 0%, #fcfaf7 260px, #fcfaf7 100%);
}

header,
nav {
  background: rgba(252, 250, 247, 0.92);
  border-color: var(--brand-border);
  backdrop-filter: blur(18px);
}

header {
  box-shadow: 0 12px 28px rgba(26, 50, 99, 0.08);
}

nav {
  box-shadow: 0 16px 34px rgba(26, 50, 99, 0.08);
}

.logo {
  letter-spacing: -0.08em;
}

.logo-soft {
  color: var(--brand-gold);
}

.logo-giggles {
  color: var(--brand-ink);
}

/* ========== ADMIN CONSOLE ========== */
.footer-admin-link {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(220, 20, 60, 0.4);
  background: rgba(220, 20, 60, 0.14);
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  background: rgba(220, 20, 60, 0.24);
  border-color: rgba(220, 20, 60, 0.72);
  transform: translateY(-2px);
}

.admin-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.14) 0%, rgba(34, 197, 94, 0) 24%),
    radial-gradient(circle at top right, rgba(239, 154, 121, 0.16) 0%, rgba(239, 154, 121, 0) 30%),
    linear-gradient(180deg, #10151d 0%, #0a0f15 100%);
  color: #f7fafc;
}

.admin-page-body *,
.admin-page-body *::before,
.admin-page-body *::after {
  box-sizing: border-box;
}

.admin-page-body header,
.admin-page-body nav {
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.admin-page-body nav {
  background: transparent;
}

.admin-gate[hidden],
.admin-app[hidden],
.admin-mobile-backdrop[hidden] {
  display: none !important;
}

.admin-gate {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  place-items: center;
}

.admin-gate-card {
  width: min(100%, 460px);
  min-width: 0;
  max-width: calc(100vw - 32px);
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(14, 20, 29, 0.9);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

.admin-gate-badge {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.14);
  color: #f6c8b9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-gate-card h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.admin-gate-card p {
  margin-top: 14px;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.admin-gate-form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-gate-form label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.86);
}

.admin-gate-form input {
  width: 100%;
  max-width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  font-size: 18px;
  font-weight: 700;
}

.admin-gate-form input:focus {
  outline: none;
  border-color: rgba(220, 20, 60, 0.66);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.18);
}

.admin-gate-submit,
.admin-refresh-btn,
.admin-lock-btn {
  max-width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.admin-gate-submit,
.admin-refresh-btn {
  background: linear-gradient(135deg, #DC143C 0%, #A30F2D 100%);
  color: #fff;
}

.admin-lock-btn {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

.admin-gate-error {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
}

.admin-gate-back {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #F45C7D;
  font-weight: 700;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(180deg, rgba(11, 17, 27, 0.98) 0%, rgba(15, 23, 42, 0.96) 100%);
  color: #fff;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 20px;
  overflow-y: auto;
}

.admin-brand-link {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-brand-link img {
  width: auto;
  max-width: 132px;
  height: 48px;
  border-radius: 0;
  object-fit: contain;
}

.admin-nav {
  display: grid;
  gap: 10px;
  align-content: start;
  background: transparent;
}

.admin-nav-link {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.admin-nav-link.is-active,
.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.28), rgba(168, 85, 247, 0.22));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(240, 176, 143, 0.18);
}

.admin-bottom-nav {
  display: none;
}

.admin-sidebar-meta {
  display: grid;
  gap: 12px;
  align-self: end;
}

.admin-sidebar-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 6px;
}

.admin-sidebar-card span {
  color: rgba(148, 163, 184, 0.9);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-sidebar-card strong {
  font-size: 20px;
}

.admin-main-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: transparent;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(10, 15, 21, 0.92);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-topbar-left,
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-menu-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-topbar-kicker,
.admin-panel-kicker {
  color: rgba(148, 163, 184, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-topbar h1,
.admin-panel-head h2 {
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.admin-content {
  padding: 28px;
  display: grid;
}

.admin-panel {
  display: grid;
  gap: 22px;
}

.admin-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-status-pill,
.admin-inline-total {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.admin-status-pill[data-state="success"] {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.admin-status-pill[data-state="error"] {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

.admin-status-pill[data-state="loading"] {
  background: rgba(220, 20, 60, 0.14);
  color: #DC143C;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.admin-hero-card,
.admin-kpi-card,
.admin-visual-card,
.admin-table-shell {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(180deg, rgba(20, 28, 39, 0.94) 0%, rgba(14, 20, 29, 0.96) 100%);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
}

.admin-hero-card,
.admin-kpi-card,
.admin-visual-card {
  padding: 22px;
}

.admin-visual-card {
  display: grid;
  gap: 16px;
}

.admin-hero-card {
  grid-column: span 2;
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  overflow: hidden;
  position: relative;
}

.admin-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.34) 0%, rgba(220, 20, 60, 0) 70%);
}

.admin-hero-copy,
.admin-hero-orbit {
  position: relative;
  z-index: 1;
}

.admin-surface-kicker,
.admin-card-head span,
.admin-kpi-copy p {
  color: rgba(148, 163, 184, 0.84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-card-head h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.admin-list-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.08);
  color: rgba(226, 232, 240, 0.72);
}

.admin-overview-placeholder {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
}

.admin-empty-state {
  display: grid;
  gap: 14px;
  text-align: center;
  color: rgba(226, 232, 240, 0.72);
}

.admin-empty-state i {
  font-size: 28px;
  color: #F45C7D;
}

.admin-hero-copy h3 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-hero-copy p {
  margin-top: 12px;
  max-width: 56ch;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.65;
}

.admin-hero-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-hero-stat,
.admin-hero-orbit-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 8px;
}

.admin-hero-stat span,
.admin-hero-orbit-card span {
  color: rgba(148, 163, 184, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-hero-stat strong,
.admin-hero-orbit-card strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.admin-hero-stat small,
.admin-hero-orbit-card small,
.admin-kpi-copy small,
.admin-person-copy small,
.admin-person-meta small,
.admin-mini-gauge-copy span,
.admin-activity-copy p,
.admin-table-stack small {
  color: rgba(226, 232, 240, 0.68);
}

.admin-hero-orbit {
  align-self: stretch;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(220, 20, 60, 0.18) 0%, rgba(220, 20, 60, 0) 52%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.36) 100%);
}

.admin-kpi-card {
  min-height: 210px;
  display: grid;
  gap: 14px;
}

.admin-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(220, 20, 60, 0.16);
  color: #F45C7D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-kpi-trend {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.admin-kpi-trend.is-positive {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.admin-kpi-trend.is-negative {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

.admin-kpi-trend.is-neutral {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.admin-kpi-copy {
  display: grid;
  gap: 6px;
}

.admin-kpi-copy h3 {
  font-size: clamp(34px, 4vw, 42px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.admin-sparkline {
  width: 100%;
  height: 76px;
}

.admin-chart-card,
.admin-mix-card,
.admin-activity-card {
  grid-column: span 2;
}

.admin-bars-chart {
  height: 260px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.admin-bars-column {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.admin-bars-stack {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
}

.admin-bar {
  width: min(24px, 42%);
  border-radius: 999px 999px 10px 10px;
  display: block;
}

.admin-bar-primary {
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
}

.admin-bar-secondary {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
}

.admin-bars-column small,
.admin-chart-legend span,
.admin-donut-core span,
.admin-mini-gauge-copy span,
.admin-activity-feed-row small {
  color: rgba(148, 163, 184, 0.86);
}

.admin-chart-legend {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.admin-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.admin-legend-swatch.is-primary {
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
}

.admin-legend-swatch.is-secondary {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
}

.admin-mini-gauges {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-mini-gauge {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-mini-gauge-ring {
  width: 88px;
  height: 88px;
  padding: 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.admin-mini-gauge-core,
.admin-donut-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111926;
  display: grid;
  place-items: center;
  text-align: center;
}

.admin-mini-gauge-core strong,
.admin-donut-core strong {
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: -0.05em;
}

.admin-mini-gauge-copy {
  display: grid;
  gap: 6px;
}

.admin-mini-gauge-copy strong {
  font-size: 17px;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-mini-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  display: grid;
  gap: 8px;
}

.admin-mini-stat span {
  color: rgba(148, 163, 184, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-mini-stat strong {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.admin-donut-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.admin-donut-ring {
  width: min(100%, 240px);
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 50%;
  justify-self: center;
}

.admin-donut-legend {
  display: grid;
  gap: 12px;
}

.admin-donut-legend-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-donut-legend-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(226, 232, 240, 0.84);
}

.admin-donut-legend-row i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.admin-bubble-bars {
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.admin-bubble-column {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.admin-bubble-value {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-bubble-track {
  width: 100%;
  height: 220px;
  padding: 0 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: end;
  justify-content: center;
}

.admin-bubble-bar {
  width: 100%;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
  display: block;
}

.admin-bubble-bars.is-cyan .admin-bubble-bar {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
}

.admin-bubble-bars.is-pink .admin-bubble-bar {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
}

.admin-rank-list,
.admin-stacked-list {
  display: grid;
  gap: 12px;
}

.admin-rank-row,
.admin-person-row,
.admin-activity-feed-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.admin-rank-row {
  display: grid;
  gap: 12px;
}

.admin-rank-copy,
.admin-person-copy,
.admin-person-meta {
  display: grid;
  gap: 4px;
}

.admin-rank-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.admin-rank-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #DC143C 0%, #DC143C 100%);
}

.admin-rank-meter.is-cyan span {
  background: linear-gradient(90deg, #F45C7D 0%, #DC143C 100%);
}

.admin-person-row,
.admin-activity-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-person-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #DC143C 0%, #A30F2D 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-avatar b {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.admin-person-copy strong,
.admin-rank-copy strong,
.admin-activity-copy strong {
  display: block;
}

.admin-person-meta {
  text-align: right;
}

.admin-activity-feed-row {
  align-items: flex-start;
}

.admin-activity-badge {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-activity-badge.is-user {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.admin-activity-badge.is-admin {
  background: rgba(168, 85, 247, 0.16);
  color: #d8b4fe;
}

.admin-activity-badge.is-provider {
  background: rgba(239, 154, 121, 0.16);
  color: #F45C7D;
}

.admin-activity-badge.is-post {
  background: rgba(220, 20, 60, 0.16);
  color: #DC143C;
}

.admin-activity-badge.is-message {
  background: rgba(236, 72, 153, 0.16);
  color: #f9a8d4;
}

.admin-activity-badge.is-cart {
  background: rgba(168, 85, 247, 0.16);
  color: #d8b4fe;
}

.admin-activity-badge.is-other {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

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

.admin-activity-copy p {
  margin-top: 4px;
  line-height: 1.55;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-compact-action {
  width: fit-content;
}

.admin-activity-filters {
  align-items: stretch;
}

.admin-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 2px 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.admin-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-pagination-actions .admin-lock-btn {
  min-height: 40px;
  border-radius: 14px;
}

.admin-pagination-actions .admin-lock-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.admin-modal-shell[hidden] {
  display: none !important;
}

.admin-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.admin-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(760px, calc(100dvh - 40px));
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-modal-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-modal-head h3 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.admin-modal-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.07);
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-create-form {
  display: grid;
  gap: 14px;
}

.admin-form-field {
  display: grid;
  gap: 8px;
}

.admin-form-field span {
  color: rgba(148, 163, 184, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-form-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font: inherit;
}

.admin-form-field select,
.admin-form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font: inherit;
}

.admin-form-field textarea {
  resize: vertical;
  line-height: 1.5;
}

.admin-form-field select:focus,
.admin-form-field textarea:focus {
  outline: none;
  border-color: rgba(220, 20, 60, 0.66);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.18);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-form-field input:focus {
  outline: none;
  border-color: rgba(220, 20, 60, 0.66);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.18);
}

.admin-form-message {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.admin-form-message[data-state="success"] {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.admin-form-message[data-state="error"] {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

.admin-form-message[data-state="default"] {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.admin-search-field,
.admin-filter-field {
  position: relative;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-search-field {
  flex: 1 1 380px;
}

.admin-filter-field {
  padding-right: 42px;
}

.admin-filter-field::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  pointer-events: none;
}

.admin-search-field input,
.admin-filter-field select {
  border: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
}

.admin-search-field input {
  width: 100%;
}

.admin-filter-field select {
  width: 100%;
  min-width: 150px;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  cursor: pointer;
}

.admin-filter-field select option {
  background: #0f172a;
  color: #f8fafc;
}

.admin-search-field input:focus,
.admin-filter-field select:focus {
  outline: none;
}

.admin-filter-field span {
  color: rgba(148, 163, 184, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.admin-table-shell {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: rgba(148, 163, 184, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.admin-table tbody tr:hover {
  background: rgba(220, 20, 60, 0.08);
}

.admin-table-user,
.admin-table-stack {
  display: grid;
  gap: 4px;
}

.admin-table-user span,
.admin-table-stack span,
.admin-table-stack small {
  line-height: 1.45;
}

.admin-badge {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-badge.is-provider {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.admin-badge.is-member {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.admin-badge.is-read {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.admin-badge.is-unread {
  background: rgba(220, 20, 60, 0.16);
  color: #DC143C;
}

.admin-badge.is-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.admin-table tbody tr.is-deactivated {
  background: rgba(239, 68, 68, 0.12);
  opacity: 0.68;
}

.admin-table tbody tr.is-deactivated:hover {
  background: rgba(239, 68, 68, 0.18);
}

.admin-post-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.admin-post-tabs button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.64);
  color: rgba(226, 232, 240, 0.86);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-post-tabs button:hover,
.admin-post-tabs button:focus-visible {
  border-color: rgba(220, 20, 60, 0.44);
  color: #ffffff;
  outline: none;
}

.admin-post-tabs button.is-active {
  border-color: rgba(220, 20, 60, 0.5);
  background: rgba(220, 20, 60, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.admin-post-tabs button b {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.admin-post-tabs button.is-active b {
  background: rgba(255, 255, 255, 0.14);
}

.admin-post-thumb {
  width: 78px;
  height: 78px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.68);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.admin-post-thumb.is-static {
  cursor: default;
}

.admin-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-post-thumb.is-empty {
  cursor: default;
  font-size: 22px;
}

.admin-post-caption-cell {
  max-width: 360px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-post-editor {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}

.admin-post-image-stage {
  min-height: 380px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #0f172a;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.admin-post-image-stage img {
  width: 100%;
  height: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.admin-post-image-empty {
  color: #94a3b8;
  display: grid;
  gap: 10px;
  place-items: center;
  font-weight: 800;
}

.admin-post-image-empty i {
  font-size: 34px;
}

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

.admin-post-form-grid .admin-form-field:nth-child(1),
.admin-post-form-grid .admin-form-field:nth-child(2) {
  grid-column: span 2;
}

.admin-danger-copy {
  color: #fca5a5;
  font-weight: 800;
}

.admin-row-action {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(220, 20, 60, 0.16);
  color: #F45C7D;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.admin-full-modal-shell {
  place-items: stretch;
  padding: 18px;
}

.admin-full-modal-panel {
  width: 100%;
  max-height: calc(100dvh - 36px);
  border-radius: 20px;
}

.admin-detail-layout {
  display: grid;
  gap: 18px;
}

.admin-detail-hero,
.admin-detail-actions,
.admin-message-log-row {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.04);
}

.admin-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-detail-hero.is-deactivated {
  background: rgba(239, 68, 68, 0.1);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-detail-grid.is-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-detail-field {
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 6px;
}

.admin-detail-field span,
.admin-detail-section h4 {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-detail-field strong,
.admin-message-log-row strong,
.admin-detail-section h4 {
  color: #111827;
}

.admin-full-modal-panel .admin-mini-stat {
  background: rgba(15, 23, 42, 0.05);
}

.admin-full-modal-panel .admin-mini-stat strong {
  color: #111827;
}

.admin-detail-actions {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
}

.admin-danger-zone {
  align-items: center;
  grid-template-columns: minmax(240px, 1fr) auto;
  border-color: rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.08);
}

.admin-danger-zone h4 {
  margin: 6px 0 4px;
  color: #991b1b;
  font-size: 16px;
}

.admin-danger-zone p {
  margin: 0;
  color: #7f1d1d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-delete-account-btn {
  position: relative;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #dc2626;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.admin-delete-account-btn:hover,
.admin-delete-account-btn:focus-visible {
  background: #b91c1c;
}

.admin-delete-account-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.admin-delete-account-btn.is-loading span {
  visibility: hidden;
}

.admin-delete-account-btn.is-loading::after {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 999px;
  content: "";
  position: absolute;
  animation: adminSpin 0.7s linear infinite;
}

@keyframes adminSpin {
  to {
    transform: rotate(360deg);
  }
}

.admin-radio-row {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-radio-row label {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.07);
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.admin-support-form {
  display: grid;
  gap: 12px;
}

.admin-detail-section {
  display: grid;
  gap: 12px;
}

.admin-message-log-row {
  display: grid;
  gap: 6px;
}

.admin-review-log-row.is-hidden-review {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
}

.admin-review-log-head,
.admin-review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-review-status {
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-review-status.is-visible {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
}

.admin-review-status.is-hidden {
  color: #92400e;
  background: rgba(245, 158, 11, 0.18);
}

.admin-review-actions {
  justify-content: flex-start;
  margin-top: 6px;
}

.admin-review-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
  cursor: pointer;
}

.admin-review-actions button:hover,
.admin-review-actions button:focus-visible {
  background: rgba(15, 23, 42, 0.14);
}

.admin-review-actions button.is-danger {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.12);
}

.admin-review-actions button:disabled {
  opacity: 0.65;
  cursor: progress;
}

.admin-message-log-row p {
  color: #475569;
  line-height: 1.5;
}

.admin-dialog-shell[hidden] {
  display: none !important;
}

.admin-dialog-shell {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.admin-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.32);
  display: grid;
  gap: 18px;
}

.admin-dialog-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.admin-dialog-shell[data-variant="danger"] .admin-dialog-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.admin-dialog-shell[data-variant="success"] .admin-dialog-icon {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.admin-dialog-copy {
  display: grid;
  gap: 8px;
}

.admin-dialog-copy span,
.admin-dialog-input-wrap span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dialog-copy h3 {
  color: #0f172a;
  font-size: 25px;
  line-height: 1.05;
}

.admin-dialog-copy p {
  color: #475569;
  line-height: 1.55;
}

.admin-dialog-input-wrap {
  display: grid;
  gap: 8px;
}

.admin-dialog-input-wrap[hidden] {
  display: none !important;
}

.admin-dialog-input-wrap textarea {
  width: 100%;
  min-height: 116px;
  padding: 12px 14px;
  border: 1px solid rgba(100, 116, 139, 0.28);
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.admin-dialog-input-wrap textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.admin-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-dialog-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-dialog-btn.is-secondary {
  border-color: rgba(100, 116, 139, 0.28);
  background: #ffffff;
  color: #334155;
}

.admin-dialog-btn.is-primary {
  background: #2563eb;
  color: #ffffff;
}

.admin-dialog-shell[data-variant="danger"] .admin-dialog-btn.is-primary {
  background: #dc2626;
}

.admin-dialog-shell[data-variant="success"] .admin-dialog-btn.is-primary {
  background: #16a34a;
}

.admin-page-body {
  --yellow: #2563eb;
  --brand-gold: #2563eb;
}

.admin-page-body *,
.admin-page-body *::before,
.admin-page-body *::after,
.admin-dialog-shell *,
.admin-dialog-shell *::before,
.admin-dialog-shell *::after {
  border-radius: 0 !important;
}

.admin-page-body .admin-gate-submit,
.admin-page-body .admin-refresh-btn,
.admin-page-body .admin-nav-link.is-active,
.admin-page-body .admin-nav-link:hover,
.admin-page-body .admin-nav-link:focus-visible,
.admin-page-body .admin-avatar,
.admin-page-body .admin-bottom-nav-link.is-active {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
  color: #fff !important;
}

.admin-page-body .admin-gate-badge,
.admin-page-body .admin-gate-back,
.admin-page-body .admin-empty-state i,
.admin-page-body .admin-kpi-icon,
.admin-page-body .admin-activity-badge.is-provider,
.admin-page-body .admin-activity-badge.is-post,
.admin-page-body .admin-badge.is-unread,
.admin-page-body .admin-row-action {
  color: #93c5fd !important;
}

.admin-page-body .admin-kpi-icon,
.admin-page-body .admin-status-pill[data-state="loading"],
.admin-page-body .admin-badge.is-unread,
.admin-page-body .admin-row-action,
.admin-page-body .admin-gate-badge {
  background: rgba(37, 99, 235, 0.16) !important;
}

.admin-page-body .admin-gate-form input:focus,
.admin-page-body .admin-form-field input:focus,
.admin-page-body .admin-form-field select:focus,
.admin-page-body .admin-form-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16) !important;
}

.admin-page-body .admin-bar-primary,
.admin-page-body .admin-legend-swatch.is-primary,
.admin-page-body .admin-bubble-bar,
.admin-page-body .admin-rank-meter span {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%) !important;
}

.admin-page-body .admin-bar-secondary,
.admin-page-body .admin-legend-swatch.is-secondary,
.admin-page-body .admin-bubble-bars.is-cyan .admin-bubble-bar,
.admin-page-body .admin-rank-meter.is-cyan span {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%) !important;
}

.admin-page-body .admin-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.08) !important;
}

.admin-message-log-row small {
  color: #64748b;
}

.admin-empty-cell {
  color: rgba(226, 232, 240, 0.72);
}

.admin-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.admin-mobile-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.admin-mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .admin-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hero-card {
    grid-column: span 2;
  }

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

@media (max-width: 980px) {
  .admin-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    height: 100dvh;
    max-height: 100dvh;
    width: min(86vw, 320px);
    transform: translateX(-104%);
    transition: transform 0.24s ease;
    will-change: transform;
  }

  .admin-sidebar::before {
    content: "Admin pages";
    padding: 0 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-menu-toggle {
    display: inline-flex;
  }

  .admin-topbar,
  .admin-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .admin-dashboard-grid,
  .admin-subpanel-grid,
  .admin-hero-stats,
  .admin-mini-gauges,
  .admin-donut-layout,
  .admin-stats-row,
  .admin-form-grid,
  .admin-detail-grid,
  .admin-detail-grid.is-stats,
  .admin-detail-actions {
    grid-template-columns: 1fr;
  }

  .admin-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-hero-card,
  .admin-chart-card,
  .admin-mix-card,
  .admin-activity-card {
    grid-column: auto;
  }

  .admin-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-gate {
    padding: 16px;
  }

  .admin-gate-card,
  .admin-hero-card,
  .admin-kpi-card,
  .admin-visual-card {
    padding: 18px;
    border-radius: 22px;
  }

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

  .admin-topbar-right,
  .admin-toolbar {
    width: 100%;
  }


/* Previous jobs reveal animation */
.previous-job-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 360ms ease, opacity 260ms ease, transform 260ms ease;
}
.previous-job-card.is-expanded .previous-job-details {
  max-height: 800px; /* allow enough room for details */
  opacity: 1;
  transform: translateY(0);
  transition: max-height 420ms ease, opacity 320ms ease, transform 320ms ease;
}
.previous-job-details h4 {
  margin: 0.4rem 0 0.2rem 0;
}
.previous-provider {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.previous-provider .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 48px;
}
.previous-provider .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.previous-review {
  margin-top: 0.5rem;
  padding: 0.6rem;
  border-left: 3px solid #DC143C;
  background: rgba(0,0,0,0.03);
}
  .admin-refresh-btn,
  .admin-lock-btn {
    flex: 1 1 0;
  }

  .admin-filter-field,
  .admin-search-field {
    width: 100%;
  }

  .admin-bubble-bars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-person-row,
  .admin-activity-feed-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-person-meta {
    text-align: left;
  }
}

/* Admin light theme */
.admin-page-body {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0) 24%),
    radial-gradient(circle at top right, rgba(239, 154, 121, 0.12) 0%, rgba(239, 154, 121, 0) 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
  color: #111827;
  color-scheme: light;
}

.admin-gate-card,
.admin-hero-card,
.admin-kpi-card,
.admin-visual-card,
.admin-table-shell {
  border-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10);
}

.admin-gate-card {
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.admin-gate-badge {
  background: rgba(220, 20, 60, 0.10);
  color: #A30F2D;
}

.admin-gate-card p,
.admin-hero-copy p,
.admin-list-empty,
.admin-empty-state,
.admin-empty-cell,
.admin-hero-stat small,
.admin-hero-orbit-card small,
.admin-kpi-copy small,
.admin-person-copy small,
.admin-person-meta small,
.admin-mini-gauge-copy span,
.admin-activity-copy p,
.admin-table-stack small {
  color: #64748b;
}

.admin-gate-form label,
.admin-topbar-kicker,
.admin-panel-kicker,
.admin-surface-kicker,
.admin-card-head span,
.admin-kpi-copy p,
.admin-hero-stat span,
.admin-hero-orbit-card span,
.admin-bars-column small,
.admin-chart-legend span,
.admin-donut-core span,
.admin-mini-gauge-copy span,
.admin-activity-feed-row small,
.admin-mini-stat span,
.admin-form-field span,
.admin-filter-field span,
.admin-table th,
.admin-sidebar-card span {
  color: #64748b;
}

.admin-gate-form input,
.admin-form-field input,
.admin-search-field,
.admin-filter-field {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
}

.admin-search-field input,
.admin-filter-field select {
  color: #111827;
}

.admin-filter-field select {
  color-scheme: light;
}

.admin-filter-field select option {
  background: #ffffff;
  color: #111827;
}

.admin-filter-field::after {
  color: #64748b;
}

.admin-sidebar {
  border-right-color: rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  color: #111827;
}

.admin-brand-link,
.admin-sidebar-card,
.admin-hero-stat,
.admin-hero-orbit-card,
.admin-mini-gauge,
.admin-mini-stat,
.admin-donut-legend-row,
.admin-rank-row,
.admin-person-row,
.admin-activity-feed-row {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.86);
}

.admin-nav-link {
  color: #475569;
}

.admin-nav-link.is-active,
.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.12), rgba(168, 85, 247, 0.10));
  color: #111827;
  box-shadow: inset 0 0 0 1px rgba(220, 20, 60, 0.18);
}

.admin-topbar {
  border-bottom-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.88);
}

.admin-menu-toggle,
.admin-lock-btn,
.admin-status-pill,
.admin-inline-total,
.admin-kpi-trend.is-neutral,
.admin-badge.is-member,
.admin-badge.is-read {
  background: rgba(15, 23, 42, 0.07);
  color: #334155;
}

.admin-status-pill[data-state="success"],
.admin-kpi-trend.is-positive,
.admin-badge.is-provider,
.admin-activity-badge.is-user {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.admin-status-pill[data-state="error"],
.admin-kpi-trend.is-negative,
.admin-form-message[data-state="error"] {
  background: rgba(220, 38, 38, 0.10);
  color: #b91c1c;
}

.admin-status-pill[data-state="loading"],
.admin-badge.is-unread,
.admin-activity-badge.is-post {
  background: rgba(217, 119, 6, 0.12);
  color: #92400e;
}

.admin-hero-orbit {
  background:
    radial-gradient(circle at top, rgba(220, 20, 60, 0.12) 0%, rgba(220, 20, 60, 0) 52%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(226, 232, 240, 0.42) 100%);
}

.admin-kpi-icon {
  background: rgba(220, 20, 60, 0.10);
  color: #DC143C;
}

.admin-list-empty,
.admin-table th,
.admin-bubble-value,
.admin-bubble-track,
.admin-rank-meter {
  background: rgba(15, 23, 42, 0.06);
}

.admin-bubble-value,
.admin-donut-legend-row span {
  color: #111827;
}

.admin-mini-gauge-core,
.admin-donut-core {
  background: #ffffff;
}

.admin-table th,
.admin-table td {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.admin-table tbody tr:hover {
  background: rgba(220, 20, 60, 0.06);
}

.admin-form-message[data-state="success"] {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.admin-form-message[data-state="default"] {
  background: rgba(15, 23, 42, 0.07);
  color: #334155;
}

.admin-activity-badge.is-admin,
.admin-activity-badge.is-cart {
  background: rgba(126, 34, 206, 0.10);
  color: #6b21a8;
}

.admin-activity-badge.is-provider {
  background: rgba(2, 132, 199, 0.10);
  color: #075985;
}

.admin-activity-badge.is-message {
  background: rgba(219, 39, 119, 0.10);
  color: #9d174d;
}

.admin-activity-badge.is-other {
  background: rgba(15, 23, 42, 0.07);
  color: #334155;
}

.admin-mobile-backdrop {
  background: rgba(15, 23, 42, 0.32);
}

@media (max-width: 760px) {
  .admin-page-body {
    overflow-x: hidden;
  }

  .admin-gate {
    min-height: 100dvh;
    padding: 14px;
    justify-items: start;
  }

  .admin-gate-card {
    width: min(calc(100vw - 72px), 340px);
    max-width: min(calc(100vw - 72px), 340px);
    padding: 22px;
    border-radius: 22px;
  }

  .admin-gate-card h1 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.05;
  }

  .admin-gate-form input,
  .admin-gate-submit {
    min-height: 52px;
  }

  .admin-sidebar {
    width: min(88vw, 304px);
    padding: 16px 14px;
    gap: 14px;
    grid-template-rows: auto auto auto 1fr;
    border-radius: 0 24px 24px 0;
    box-shadow: 18px 0 44px rgba(15, 23, 42, 0.18);
  }

  .admin-brand-link {
    padding: 12px;
    border-radius: 18px;
  }

  .admin-brand-link img {
    width: auto;
    max-width: 116px;
    height: 42px;
  }

  .admin-nav {
    gap: 8px;
  }

  .admin-nav-link {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    color: #334155;
  }

  .admin-nav-link i {
    width: 20px;
    text-align: center;
    color: #DC143C;
  }

  .admin-nav-link.is-active {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.14), rgba(124, 58, 237, 0.12));
    color: #111827;
  }

  .admin-sidebar-meta {
    gap: 8px;
  }

  .admin-sidebar-card {
    padding: 12px;
    border-radius: 16px;
  }

  .admin-sidebar-card strong {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .admin-topbar {
    padding: 12px 14px;
    gap: 12px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

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

  .admin-topbar-left > div {
    min-width: 0;
  }

  .admin-menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    position: relative;
    z-index: 2;
  }

  .admin-topbar h1 {
    max-width: 100%;
    font-size: clamp(22px, 7vw, 30px);
    overflow-wrap: anywhere;
  }

  .admin-topbar-kicker,
  .admin-panel-kicker {
    font-size: 10px;
  }

  .admin-refresh-btn,
  .admin-lock-btn {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
    font-size: 13px;
  }

  .admin-topbar-right {
    flex: 0 0 auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .admin-topbar .admin-refresh-btn span,
  .admin-topbar .admin-lock-btn span {
    display: none;
  }

  .admin-topbar .admin-refresh-btn i,
  .admin-topbar .admin-lock-btn i {
    font-size: 15px;
  }

  .admin-page-body .admin-menu-toggle {
    display: none;
  }

  .admin-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    min-height: 66px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }

  .admin-bottom-nav-link {
    min-width: 0;
    min-height: 50px;
    border-radius: 18px;
    color: #64748b;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .admin-bottom-nav-link i {
    font-size: 16px;
    line-height: 1;
  }

  .admin-bottom-nav-link span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
  }

  .admin-bottom-nav-link.is-active {
    background: linear-gradient(135deg, #DC143C 0%, #A30F2D 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(220, 20, 60, 0.26);
  }

  .admin-content {
    padding: 16px 12px calc(112px + env(safe-area-inset-bottom, 0px));
    min-width: 0;
  }

  .admin-panel {
    gap: 16px;
    min-width: 0;
  }

  .admin-panel-head {
    align-items: stretch;
    gap: 10px;
  }

  .admin-panel-head > div:first-child {
    min-width: 0;
  }

  .admin-panel-head h2 {
    font-size: clamp(25px, 8vw, 32px);
    overflow-wrap: anywhere;
  }

  .admin-status-pill,
  .admin-inline-total {
    min-height: 36px;
    width: fit-content;
    max-width: 100%;
    padding: 0 12px;
    font-size: 12px;
  }

  .admin-dashboard-grid,
  .admin-subpanel-grid {
    gap: 12px;
  }

  .admin-hero-card,
  .admin-kpi-card,
  .admin-visual-card {
    min-width: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .admin-hero-card {
    min-height: 0;
    gap: 12px;
  }

  .admin-hero-copy h3 {
    font-size: clamp(28px, 10vw, 36px);
  }

  .admin-hero-copy p {
    font-size: 13px;
    line-height: 1.5;
  }

  .admin-hero-orbit {
    padding: 14px;
    border-radius: 20px;
  }

  .admin-hero-stat,
  .admin-hero-orbit-card,
  .admin-mini-stat,
  .admin-donut-legend-row,
  .admin-rank-row,
  .admin-person-row,
  .admin-activity-feed-row {
    border-radius: 16px;
  }

  .admin-kpi-card {
    min-height: 0;
  }

  .admin-kpi-copy h3 {
    font-size: clamp(30px, 12vw, 38px);
  }

  .admin-card-head {
    align-items: flex-start;
  }

  .admin-card-head h3 {
    font-size: 18px;
  }

  .admin-bars-chart {
    height: 220px;
    gap: 8px;
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(38px, 1fr));
    scrollbar-width: none;
  }

  .admin-bars-chart::-webkit-scrollbar {
    display: none;
  }

  .admin-bars-stack {
    height: 172px;
    gap: 5px;
  }

  .admin-mini-gauge {
    align-items: flex-start;
    padding: 14px;
  }

  .admin-mini-gauge-ring {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
  }

  .admin-donut-ring {
    width: min(100%, 200px);
  }

  .admin-bubble-bars {
    min-height: 260px;
    gap: 8px;
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(54px, 1fr));
    scrollbar-width: none;
  }

  .admin-bubble-bars::-webkit-scrollbar {
    display: none;
  }

  .admin-bubble-track {
    height: 170px;
    padding: 0 6px;
    border-radius: 16px;
  }

  .admin-bubble-value {
    min-height: 28px;
    padding: 0 8px;
    font-size: 10px;
  }

  .admin-toolbar {
    gap: 10px;
  }

  .admin-action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-compact-action {
    width: 100%;
  }

  .admin-table-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
  }

  .admin-pagination-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-pagination-actions .admin-lock-btn {
    width: 100%;
  }

  .admin-modal-shell {
    padding: 12px;
    place-items: end center;
  }

  .admin-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 18px;
    border-radius: 22px;
  }

  .admin-modal-head h3 {
    font-size: 23px;
  }

  .admin-search-field,
  .admin-filter-field {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .admin-filter-field {
    padding-right: 34px;
  }

  .admin-search-field input,
  .admin-filter-field select,
  .admin-form-field input {
    min-width: 0;
    font-size: 14px;
  }

  .admin-create-form {
    gap: 12px;
  }

  .admin-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  }

  .admin-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

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

  .admin-table td:not([colspan])::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .admin-table td[colspan] {
    padding: 14px 0;
  }

  .admin-table-user,
  .admin-table-stack {
    min-width: 0;
  }

  .admin-table-user span,
  .admin-table-stack span,
  .admin-table-stack small {
    overflow-wrap: anywhere;
  }

  .admin-post-editor {
    grid-template-columns: 1fr;
  }

  .admin-post-image-stage {
    min-height: 260px;
  }

  .admin-post-form-grid,
  .admin-post-form-grid .admin-form-field:nth-child(1),
  .admin-post-form-grid .admin-form-field:nth-child(2) {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .admin-topbar-right {
    gap: 8px;
  }

  .admin-refresh-btn,
  .admin-lock-btn {
    padding: 0 10px;
  }

  .admin-topbar .admin-refresh-btn span,
  .admin-topbar .admin-lock-btn span {
    display: none;
  }
}

.search-bar {
  border-color: rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.search-bar:focus-within {
  border-color: var(--brand-gold);
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.2);
}

.search-match,
.header-actions a:hover,
.nav-link:hover,
.mega-col ul li a:hover,
.cookie-link,
.account-change-method,
.account-mode-switch {
  color: var(--brand-slate);
}

.nav-link.sale {
  color: var(--brand-gold);
}

.nav-link.promo {
  color: var(--brand-slate);
}

.nav-link::after,
.mega-col ul li a::after {
  background: var(--brand-gold);
}

.a-plus-btn {
  background: var(--brand-ink);
  box-shadow: 0 12px 24px rgba(26, 50, 99, 0.16);
}

.a-plus-btn:hover,
.a-plus-btn:focus-visible {
  background: var(--brand-slate) !important;
}

.cart-badge,
.account-success-toast-inner i,
.cookie-btn {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.cookie-btn:hover {
  background: #f2a63e;
}

.btn-primary {
  background: var(--brand-ink);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(26, 50, 99, 0.16);
}

.btn-primary:hover {
  background: var(--brand-slate);
}

.btn-secondary {
  border-color: rgba(232, 226, 219, 0.8);
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.btn-secondary:hover {
  background: var(--brand-gold);
  color: var(--brand-ink);
  border-color: var(--brand-gold);
}

.account-dropdown {
  background: rgba(252, 250, 247, 0.96);
  border-color: rgba(26, 50, 99, 0.08);
  box-shadow: 0 24px 46px rgba(26, 50, 99, 0.14);
}

.account-dropdown-greeting {
  background: rgba(84, 119, 146, 0.1);
  color: var(--brand-ink);
}

.account-dropdown-item:hover {
  background: rgba(220, 20, 60, 0.14);
  color: var(--brand-ink) !important;
}

.account-auth-panel {
  background: rgba(252, 250, 247, 0.98);
}

.account-auth-method-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9f5ef 100%);
  border-color: rgba(26, 50, 99, 0.08);
}

.account-email-toggle,
.account-submit-btn.account-submit-signin,
.account-guest-open {
  background: linear-gradient(180deg, var(--brand-ink) 0%, #11254c 100%);
}

.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, var(--brand-gold) 0%, #DC143C 100%);
  color: var(--brand-ink);
}

.account-form-row input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.18);
}

.work-auth-hero {
  min-height: 190px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.68) 0%, rgba(220, 20, 60, 0) 46%),
    linear-gradient(135deg, rgba(26, 50, 99, 0.98) 0%, rgba(84, 119, 146, 0.98) 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.work-auth-hero-copy {
  display: grid;
  gap: 10px;
}

.work-auth-chip {
  width: fit-content;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(252, 250, 247, 0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-auth-hero-copy h3 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.work-auth-hero-copy p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.worklinkup-home {
  padding-bottom: 28px;
}

.work-hero {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: auto;
  max-width: 1400px;
  margin: 0 auto 54px;
  padding: 64px 24px 72px;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at top left, rgba(220, 20, 60, 0.4) 0%, rgba(220, 20, 60, 0) 34%),
    radial-gradient(circle at bottom right, rgba(232, 226, 219, 0.18) 0%, rgba(232, 226, 219, 0) 32%),
    linear-gradient(135deg, rgba(26, 50, 99, 0.98) 0%, rgba(84, 119, 146, 0.96) 48%, rgba(26, 50, 99, 0.98) 100%);
}

.work-hero::before {
  top: auto;
  right: auto;
  bottom: -90px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.16) 0%, transparent 72%);
}

.work-hero::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(232, 226, 219, 0.12);
  pointer-events: none;
}

.work-hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.work-hero-copy {
  max-width: 680px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.18);
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  color: #fff;
  letter-spacing: -0.08em;
}

.work-hero-copy p {
  margin-top: 22px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-btns {
  margin-top: 28px;
  justify-content: flex-start;
}

.hero-search-panel {
  margin-top: 28px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(232, 226, 219, 0.1);
  border: 1px solid rgba(232, 226, 219, 0.16);
  box-shadow: 0 22px 42px rgba(13, 24, 49, 0.18);
}

.hero-search-bar {
  max-width: none;
}

.hero-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-tags span,
.hero-tags a {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-tags a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.22s ease, transform 0.22s ease;
}

.hero-tags a:hover {
  background: rgba(220, 20, 60, 0.2);
  transform: translateY(-2px);
}

.work-hero-panel {
  display: grid;
  gap: 18px;
}

.audience-card,
.hero-metric,
.service-card,
.path-card,
.local-card,
.work-seo,
.community-callout-inner {
  border: 1px solid var(--brand-border);
  box-shadow: 0 22px 44px rgba(26, 50, 99, 0.08);
}

.audience-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  color: #fff;
}

.audience-card-client {
  animation: work-card-float 8s ease-in-out infinite;
}

.audience-card-worker {
  animation: work-card-float 8s ease-in-out infinite 1.2s;
}

@keyframes work-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.2);
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-card h2 {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.audience-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.audience-checklist {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-checklist span {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-metric {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
}

.hero-metric strong {
  display: block;
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 900;
}

.hero-metric span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-title {
  margin-top: 14px;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  color: var(--brand-ink);
}

.section-heading p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.work-categories,
.marketplace-duo,
.local-first-section {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold) 0%, rgba(220, 20, 60, 0) 100%);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(26, 50, 99, 0.12);
  border-color: rgba(220, 20, 60, 0.4);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(84, 119, 146, 0.18) 100%);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.service-card h3 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--brand-ink);
}

.service-card p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

.duo-grid,
.local-first-grid {
  display: grid;
  gap: 20px;
}

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

.path-card {
  padding: 30px 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
}

.path-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(84, 119, 146, 0.12);
  color: var(--brand-slate);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-card h3 {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--brand-ink);
}

.path-step {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.path-step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(26, 50, 99, 0.16);
}

.path-step h4 {
  font-size: 19px;
  font-weight: 900;
  color: var(--brand-ink);
}

.path-step p {
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.65;
}

.text-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-slate);
  font-weight: 800;
}

.text-link::after {
  content: '→';
}

.local-first-grid {
  grid-template-columns: 1.05fr 1fr 1.1fr;
}

.local-card {
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
}

.local-card h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-ink);
}

.local-card p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

.city-pill-row,
.use-case-list,
.roadmap-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-pill-row span,
.use-case-list span,
.roadmap-list span {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.city-pill-row span {
  background: rgba(26, 50, 99, 0.08);
  color: var(--brand-ink);
}

.use-case-list span {
  background: rgba(84, 119, 146, 0.12);
  color: var(--brand-ink);
}

.roadmap-card {
  background: linear-gradient(135deg, rgba(26, 50, 99, 0.96) 0%, rgba(84, 119, 146, 0.96) 100%);
}

.roadmap-card h3,
.roadmap-card p,
.roadmap-card .roadmap-list span {
  color: #fff;
}

.roadmap-list span {
  background: rgba(255, 255, 255, 0.12);
}

.community-callout {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.community-callout-inner {
  padding: 34px 32px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.28) 0%, rgba(220, 20, 60, 0) 34%),
    linear-gradient(135deg, rgba(232, 226, 219, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.community-callout-inner h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--brand-ink);
}

.community-callout-inner p {
  margin-top: 14px;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.community-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.work-seo {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 32px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
  text-align: left;
}

.work-seo h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-ink);
}

.work-seo p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.85;
}

footer {
  background: linear-gradient(180deg, #14264c 0%, #0f1e3e 100%);
  color: rgba(232, 226, 219, 0.78);
}

.footer-inner {
  border-bottom-color: rgba(232, 226, 219, 0.12);
}

.footer-col h4,
.newsletter-col h4 {
  color: #fff;
}

.footer-col ul li a,
.newsletter-col p,
.footer-links a {
  color: rgba(232, 226, 219, 0.72);
}

.footer-col ul li a:hover,
.footer-links a:hover {
  color: var(--brand-gold);
}

.email-form {
  border-color: rgba(232, 226, 219, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.email-form input {
  background: transparent;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
}

.email-form button {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.work-footer-highlights {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.work-footer-highlight {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.social-links a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.social-links a:hover {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.cookie-banner {
  border-radius: 18px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 20px 42px rgba(26, 50, 99, 0.18);
}

.work-account-hero {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.34) 0%, rgba(220, 20, 60, 0) 34%),
    linear-gradient(135deg, rgba(26, 50, 99, 0.96) 0%, rgba(84, 119, 146, 0.96) 100%);
}

.work-account-hero-copy {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.work-account-kicker {
  width: fit-content;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-account-hero p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.account-hero-chip {
  position: static;
  background: rgba(255, 255, 255, 0.92);
  width: fit-content;
  color: var(--brand-ink);
  border-radius: 999px;
}

.account-side-link.is-active {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}

.account-side-link:hover,
.account-side-logout:hover {
  border-color: rgba(220, 20, 60, 0.44);
}

@media (max-width: 1100px) {
  .work-hero-shell,
  .duo-grid,
  .local-first-grid,
  .community-callout-inner {
    grid-template-columns: 1fr;
  }

  .work-hero-shell {
    display: grid;
  }

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

  .community-callout-inner {
    display: grid;
  }

  .community-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .work-hero {
    margin: 0 0 38px;
    padding: 32px 16px 42px;
    border-radius: 0 0 26px 26px;
  }

  .work-hero::after {
    inset: 10px;
    border-radius: 20px;
  }

  .work-hero-copy h1 {
    font-size: 40px;
  }

  .work-hero-copy p,
  .section-heading p,
  .community-callout-inner p,
  .work-seo p {
    font-size: 15px;
  }

  .hero-btns,
  .community-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary,
  .community-actions .btn-primary,
  .community-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-search-panel,
  .audience-card,
  .path-card,
  .local-card,
  .work-seo,
  .community-callout-inner {
    border-radius: 24px;
  }

  .hero-metric-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .work-categories,
  .marketplace-duo,
  .local-first-section,
  .community-callout {
    padding: 0 16px;
  }

  .section-title,
  .community-callout-inner h2,
  .path-card h3,
  .audience-card h2 {
    font-size: 32px;
  }

  .path-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .path-step-number {
    width: 38px;
    height: 38px;
  }

  .work-footer-highlights {
    padding-top: 18px;
  }

  .work-footer-highlight {
    width: 100%;
    justify-content: center;
  }

  .work-auth-hero-copy h3 {
    font-size: 24px;
  }

  .work-account-hero {
    min-height: 0;
    padding: 22px 18px;
  }

  .account-hero-chip {
    font-size: 16px;
  }
}

/* Homepage streaming hero refresh */
body.home-page-body {
  background: #fcfaf7;
}
body.guest-landing-mode .homepage-main,
body.guest-landing-mode #site-footer,
body.home-authenticated-mode .guest-landing-page {
  display: none;
}

.guest-landing-page {
  background: #f7f9fb;
  color: #102033;
}

/* ── Entrance animations ── */
@keyframes gl-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gl-fade-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gl-scale-in {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes gl-slide-right {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gl-card-rise {
  from { opacity: 0; transform: translateY(48px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gl-blur-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(12px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.gl-anim-kicker  { animation: gl-fade-down  0.55s cubic-bezier(.22,.68,0,1.2) both; animation-delay: 0.05s; }
.gl-anim-h1      { animation: gl-slide-right 0.65s cubic-bezier(.22,.68,0,1.1) both; animation-delay: 0.18s; }
.gl-anim-p       { animation: gl-fade-up    0.55s ease both; animation-delay: 0.32s; }
.gl-anim-actions { animation: gl-fade-up    0.5s  ease both; animation-delay: 0.44s; }
.gl-anim-search  { animation: gl-scale-in  0.65s cubic-bezier(.22,.68,0,1.15) both; animation-delay: 0.28s; }
.gl-anim-card-1  { animation: gl-card-rise 0.7s  cubic-bezier(.22,.68,0,1.2)  both; animation-delay: 0.55s; }
.gl-anim-card-2  { animation: gl-card-rise 0.7s  cubic-bezier(.22,.68,0,1.2)  both; animation-delay: 0.72s; }
.gl-anim-card-3  { animation: gl-card-rise 0.7s  cubic-bezier(.22,.68,0,1.2)  both; animation-delay: 0.89s; }

/* ── Hero ── */
.guest-landing-hero {
  position: relative;
  min-height: calc(100svh - 72px - 92px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
}

.guest-landing-bg,
.guest-landing-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.guest-landing-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.guest-landing-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,18,32,0.92) 0%, rgba(8,18,32,0.76) 44%, rgba(8,18,32,0.32) 100%),
    linear-gradient(180deg, rgba(8,18,32,0.14) 0%, rgba(8,18,32,0.86) 100%);
}

.guest-landing-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 46px;
  align-items: end;
}

.guest-landing-copy {
  max-width: 710px;
}

.guest-landing-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.guest-landing-copy h1 {
  margin: 18px 0 16px;
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.guest-landing-copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.58;
}

.guest-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.guest-landing-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-landing-primary {
  background: #ffffff;
  color: #102033;
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}

.guest-landing-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.guest-landing-actions a:hover,
.guest-landing-actions a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(0,0,0,0.32);
}

/* ── Search widget ── */
.guest-landing-search {
  display: grid;
  gap: 0;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.guest-landing-search label {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: block;
}

.guest-landing-search-sub {
  color: rgba(255,255,255,0.62);
  font-size: 12.5px;
  margin-bottom: 16px;
  margin-top: -10px;
  display: block;
}

.guest-landing-search-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 48px;
  gap: 10px;
}

.guest-landing-search input,
.guest-landing-search button {
  min-width: 0;
  min-height: 50px;
  border-radius: 12px;
  font: inherit;
}

.guest-landing-search input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0 16px;
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  transition: border-color 0.2s, background 0.2s;
}

.guest-landing-search input::placeholder {
  color: rgba(255,255,255,0.42);
}

.guest-landing-search input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.16);
}

.guest-landing-search button {
  border: 0;
  background: #dc143c;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.18s, transform 0.18s;
}

.guest-landing-search button:hover {
  background: #b80f31;
  transform: scale(1.05);
}

.guest-landing-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.guest-landing-search-tags span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.68);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  cursor: default;
  transition: background 0.15s, color 0.15s;
}

.guest-landing-search-tags span:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── Strip / glasmo cards ── */
.guest-landing-strip {
  width: min(1160px, calc(100% - 36px));
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 40px;
}

.guest-landing-strip a {
  min-width: 0;
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 20px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  color: #102033;
  text-decoration: none;
  box-shadow:
    0 20px 48px rgba(16,32,51,0.12),
    0 4px 12px rgba(16,32,51,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.22s cubic-bezier(.22,.68,0,1.3), box-shadow 0.22s ease;
  will-change: transform;
}

.guest-landing-strip a:hover,
.guest-landing-strip a:focus-visible {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 32px 64px rgba(16,32,51,0.17),
    0 8px 20px rgba(16,32,51,0.09),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.guest-landing-strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(220,20,60,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc143c;
  font-size: 18px;
  flex-shrink: 0;
}

.guest-landing-strip strong {
  font-size: 16px;
  line-height: 1.2;
  color: #0d1d2e;
  font-weight: 900;
}

.guest-landing-strip span {
  color: #4a5a6e;
  font-size: 13px;
  line-height: 1.5;
}

.guest-landing-strip-arrow {
  justify-self: end;
  align-self: end;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(16,32,51,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #547792;
  font-size: 14px;
  transition: background 0.18s, border-color 0.18s;
}

.guest-landing-strip a:hover .guest-landing-strip-arrow {
  background: #dc143c;
  border-color: #dc143c;
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .guest-landing-hero { min-height: auto; }

  .guest-landing-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 0 58px;
  }

  .guest-landing-search { max-width: 520px; }

  .guest-landing-strip {
    grid-template-columns: 1fr;
    margin-top: -38px;
  }
}

@media (max-width: 768px) {
  .guest-landing-hero { min-height: calc(100svh - 60px - 86px); }

  .guest-landing-shell,
  .guest-landing-strip {
    width: min(100% - 28px, 560px);
  }

  .guest-landing-shell { padding: 34px 0 54px; }

  .guest-landing-copy h1 { font-size: clamp(38px, 12vw, 52px); }

  .guest-landing-actions a { width: 100%; }

  .guest-landing-search { padding: 16px; }
}
.guest-landing-search-tags span i {
  margin-right: 5px;
  font-size: 11px;
  opacity: 0.85;
}

.categories-section.homepage-categories.home-stream-hero,
.home-stream-hero {
  --home-hero-header-offset: 84px;
  position: relative;
  width: 100vw;
  max-width: none;
  min-height: calc(100svh - var(--home-hero-header-offset));
  margin: 0 calc(50% - 50vw) 0;
  padding: 0;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(229, 9, 20, 0.22), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(36, 87, 255, 0.26), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.52) 0%, rgba(5, 7, 11, 0.8) 42%, #05070b 100%);
}

.home-stream-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.14) 0%, rgba(5, 7, 11, 0.56) 55%, rgba(5, 7, 11, 0.8) 100%),
    url("../images/sections/findme.avif") center 24% / cover no-repeat;
  opacity: 0.68;
  transform: scale(1.03);
  transform-origin: center;
}

.home-stream-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100svh - var(--home-hero-header-offset));
  margin: 0;
  padding: 34px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.home-stream-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.home-stream-kicker,
.home-stream-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.home-stream-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}

.home-stream-copy p {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.home-stream-actions {
  margin-top: 24px;
  justify-content: center;
}

.home-stream-actions .btn-primary,
.home-stream-actions .btn-secondary {
  min-width: 176px;
  min-height: 52px;
  border-radius: 999px;
}

.home-stream-actions .btn-primary {
  background: linear-gradient(180deg, #ff3341 0%, #c40812 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(229, 9, 20, 0.28);
}

.home-stream-actions .btn-primary:hover,
.home-stream-actions .btn-primary:focus-visible {
  transform: translateY(-2px);
}

.home-stream-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

.home-stream-actions .btn-secondary:hover,
.home-stream-actions .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.home-copy-search {
  width: min(100%, 620px);
  max-width: 620px;
  margin: 34px auto 0;
  border: 1px solid rgba(220, 20, 60, 0.2);
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.home-copy-search:focus-within {
  border-color: rgba(220, 20, 60, 0.56);
  box-shadow: 0 18px 42px rgba(220, 20, 60, 0.16);
}

.home-copy-search .search-icon {
  padding-left: 18px;
  color: rgba(250, 224, 169, 0.82);
}

.home-copy-search input {
  min-height: 60px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: #fff;
  font-size: 16px;
}

.home-copy-search input::placeholder {
  color: rgba(255, 244, 220, 0.46);
}

.home-stream-discovery {
  display: grid;
  gap: 24px;
  width: 100%;
  min-width: 0;
  margin-top: auto;
}

.home-stream-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.home-stream-category-panel {
  display: grid;
  justify-items: center;
}

.home-stream-row-title {
  margin: 0 0 14px;
  padding: 0 22px;
  text-align: center;
  color: #f4efe9;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.home-trending-section-title {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
}

.home-stream-hero .homepage-categories-view-more {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-stream-hero .homepage-categories-view-more.secondary {
  background: rgba(229, 9, 20, 0.16);
  color: #fff;
}

.home-stream-hero .homepage-categories-view-more:hover,
.home-stream-hero .homepage-categories-view-more:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.home-stream-hero .worklinkup-rail-arrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.home-stream-hero .worklinkup-rail-arrow[disabled] {
  opacity: 0.28;
}

.home-stream-hero .worklinkup-rail-shell {
  width: 100%;
  min-width: 0;
}

.home-stream-category-panel .homepage-categories-track-wrap,
.home-trending-jobs-track-wrap {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.home-stream-category-panel .homepage-categories-track-wrap::-webkit-scrollbar,
.home-trending-jobs-track-wrap::-webkit-scrollbar {
  display: none;
}

.home-stream-category-panel .category-circles {
  width: max-content;
  min-width: max-content;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: nowrap;
  animation: home-marquee-left 50s linear infinite;
  will-change: transform;
}

.homepage-categories-track-wrap:hover .category-circles,
.homepage-categories-track-wrap:focus-within .category-circles {
  animation-play-state: paused;
}

.homepage-categories-rail,
.home-trending-jobs-shell {
  width: 100%;
  min-width: 0;
  gap: 0;
}

.homepage-categories-rail {
  position: relative;
  padding: 0 56px;
}

.homepage-categories-rail .worklinkup-rail-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
}

.homepage-categories-rail .worklinkup-rail-arrow.is-prev {
  left: 0;
}

.homepage-categories-rail .worklinkup-rail-arrow.is-next {
  right: 0;
}

.home-all-categories-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 12px;
  color: #111111;
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home-all-categories-link:hover,
.home-all-categories-link:focus-visible {
  color: #111111;
  text-decoration: underline;
}

.home-trending-jobs-shell .worklinkup-rail-arrow {
  display: none;
}

.home-stream-category-panel .home-category-circle {
  min-width: 84px;
  gap: 8px;
  padding: 0;
  color: #fff;
  background: transparent;
}

.home-stream-category-panel .home-category-circle .category-circle-img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(219, 234, 254, 0.94) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.home-stream-category-panel .home-category-circle span {
  max-width: 76px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
}

.home-stream-category-panel .home-category-circle:hover {
  transform: translateY(-4px);
  background: transparent;
}

.home-stream-category-panel .home-category-circle:hover .category-circle-img {
  border-color: rgba(255, 255, 255, 0.58);
  transform: scale(1.05);
}

.home-hero-search-submit {
  flex: 0 0 auto;
  min-height: 48px;
  margin-right: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7d089 0%, #d6a84f 100%);
  color: #090909;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(214, 168, 79, 0.24);
}

.home-hero-search-submit:hover,
.home-hero-search-submit:focus-visible {
  background: linear-gradient(180deg, #ffe0a5 0%, #e0b760 100%);
}

.home-trending-jobs-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 4px 0 10px;
  scroll-snap-type: x proximity;
  animation: home-marquee-right 40s linear infinite;
  will-change: transform;
}

.home-trending-jobs-track-wrap:hover .home-trending-jobs-track,
.home-trending-jobs-track-wrap:focus-within .home-trending-jobs-track {
  animation-play-state: paused;
}

.specialists-categories-row {
  animation: specialists-marquee 42s linear infinite;
  will-change: transform;
}

.specialists-categories-track-wrap:hover .specialists-categories-row,
.specialists-categories-track-wrap:focus-within .specialists-categories-row {
  animation-play-state: paused;
}

.home-trending-job-card {
  position: relative;
  display: block;
  min-width: clamp(220px, 21vw, 276px);
  aspect-ratio: 0.72;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  text-decoration: none;
  background: #0b1220;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home-trending-job-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.04) 24%, rgba(5, 7, 11, 0.9) 100%);
  z-index: 1;
}

.home-trending-job-card:hover,
.home-trending-job-card:focus-visible {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
}

.home-trending-job-art,
.home-trending-job-art img,
.home-trending-job-icon {
  width: 100%;
  height: 100%;
}

.home-trending-job-art {
  position: absolute;
  inset: 0;
}

.home-trending-job-art img {
  display: block;
  object-fit: cover;
}

.home-trending-job-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(248, 113, 113, 0.34), transparent 28%),
    linear-gradient(135deg, #162033 0%, #0b1220 100%);
  color: #fff;
  font-size: 48px;
}

.home-trending-job-rank {
  position: absolute;
  left: -2px;
  bottom: 4px;
  z-index: 2;
  font-size: clamp(82px, 8vw, 126px);
  font-weight: 900;
  line-height: 0.84;
  color: rgba(5, 7, 11, 0.82);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.home-trending-job-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 20px 18px 18px 84px;
}

.home-trending-job-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.home-trending-job-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-trending-job-copy h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 0.98;
  color: #fff;
}

.home-trending-job-copy p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.home-job-cta {
  margin-top: 0;
}

.home-trending-section {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw) 0;
  padding: 8px 0 44px;
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.1), transparent 28%),
    linear-gradient(180deg, #05070b 0%, #0a1019 100%);
}

.home-trending-section-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.home-trending-featured {
  display: block;
  margin-bottom: 20px;
}

.home-trending-featured .home-trending-job-card {
  width: 100%;
  min-width: 0;
  aspect-ratio: 2.48;
  border-radius: 30px;
  animation: home-featured-swap 0.42s ease;
}

.home-trending-featured .home-trending-job-rank {
  left: 8px;
  bottom: 6px;
  font-size: clamp(102px, 8vw, 138px);
}

.home-trending-featured .home-trending-job-copy {
  max-width: min(62%, 760px);
  padding: 28px 26px 24px 122px;
}

.home-trending-featured .home-trending-job-copy h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.home-trending-featured .home-trending-job-copy p {
  max-width: 540px;
  font-size: 16px;
}

.home-trending-featured .home-trending-job-chips {
  margin-bottom: 12px;
}

.home-trending-featured .home-trending-job-chips span {
  min-height: 28px;
  padding: 0 12px;
  font-size: 10px;
}

@keyframes home-marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes home-marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes home-featured-swap {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .home-stream-shell {
    width: 100%;
  }

  .home-stream-copy h1 {
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .home-stream-hero {
    --home-hero-header-offset: 58px;
    margin-bottom: 0;
  }

  .home-stream-shell {
    width: 100%;
    min-height: calc(100svh - var(--home-hero-header-offset));
    padding: 18px 0 20px;
    gap: 18px;
  }

  .home-stream-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(38px, 13vw, 52px);
  }

  .home-stream-copy p {
    font-size: 15px;
  }

  .home-stream-actions {
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0;
  }

  .home-stream-actions .btn-primary,
  .home-stream-actions .btn-secondary {
    width: 100%;
  }

  .home-stream-panel {
    padding: 0;
  }

  .home-copy-search {
    width: 100%;
    max-width: none;
    margin-top: 22px;
  }

  .home-copy-search input {
    min-height: 56px;
    font-size: 15px;
  }

  .home-hero-search-submit {
    min-height: 42px;
    margin-right: 6px;
    padding: 0 14px;
  }

  .home-stream-row-title {
    margin-bottom: 10px;
    padding: 0 16px;
    font-size: 20px;
  }

  .home-trending-section-title {
    margin-bottom: 14px;
    font-size: 28px;
    text-align: left;
  }

  .home-stream-hero .worklinkup-rail-arrow {
    display: none;
  }

  .home-stream-category-panel .category-circles {
    gap: 10px;
  }

  .home-stream-category-panel .home-category-circle {
    min-width: 68px;
  }

  .home-stream-category-panel .home-category-circle .category-circle-img {
    width: 58px;
    height: 58px;
  }

  .home-stream-category-panel .home-category-circle span {
    max-width: 64px;
    font-size: 10px;
  }

  .home-trending-featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .home-trending-featured .home-trending-job-card {
    min-width: 0;
    aspect-ratio: 0.84;
    border-radius: 20px;
    animation: home-featured-swap 0.42s ease;
  }

  .home-trending-featured .home-trending-job-rank {
    left: -1px;
    bottom: 2px;
    font-size: 58px;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.88);
  }

  .home-trending-featured .home-trending-job-copy {
    max-width: none;
    padding: 12px 10px 10px 46px;
  }

  .home-trending-featured .home-trending-job-copy h3 {
    font-size: 16px;
  }

  .home-trending-featured .home-trending-job-copy p {
    display: none;
  }

  .home-trending-featured .home-trending-job-chips {
    gap: 6px;
    margin-bottom: 8px;
  }

  .home-trending-featured .home-trending-job-chips span {
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }

  .home-trending-jobs-shell {
    display: block;
  }

  .home-trending-jobs-track-wrap {
    overflow: hidden;
  }

  .home-trending-jobs-track {
    gap: 10px;
  }

  .home-trending-job-card {
    min-width: 150px;
    border-radius: 20px;
  }

  .home-trending-job-rank {
    left: -1px;
    bottom: 3px;
    font-size: 68px;
  }

  .home-trending-job-copy {
    padding: 12px 10px 10px 48px;
  }

  .home-trending-job-copy h3 {
    font-size: 15px;
  }

  .home-trending-job-copy p {
    margin-top: 6px;
    font-size: 11px;
  }

  .home-trending-job-chips {
    gap: 6px;
    margin-bottom: 8px;
  }

  .home-trending-job-chips span {
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }

  .home-trending-section {
    padding: 8px 0 34px;
  }
}

@media (max-width: 480px) {
  .home-stream-copy h1 {
    font-size: 36px;
  }

  .home-trending-featured {
    gap: 8px;
  }

  .home-trending-featured .home-trending-job-card {
    aspect-ratio: 0.88;
  }

  .home-trending-job-card {
    min-width: 136px;
  }

  .home-trending-job-rank {
    font-size: 60px;
  }

  .home-trending-job-copy {
    padding-left: 42px;
  }

  .home-trending-job-copy h3 {
    font-size: 14px;
  }
}

@media (min-width: 769px) {
  .home-page-body #site-header .desktop-search-bar {
    display: none !important;
  }

  .home-page-body #site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

/* Bid auth sheet */
.job-posts-page .job-auth-modal-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px !important;
}

.job-posts-page .job-auth-modal-shell .job-modal-panel.job-modal-auth-panel {
  position: relative;
  width: min(430px, calc(100vw - 28px)) !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 28px);
  margin: 0 !important;
  padding: 22px 20px 20px !important;
  overflow-y: auto;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22) !important;
  transform: translateY(16px) scale(0.96) !important;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.job-posts-page .job-auth-modal-shell.is-visible .job-modal-panel.job-modal-auth-panel {
  transform: translateY(0) scale(1) !important;
}

.job-posts-page .job-auth-modal-shell .job-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.job-posts-page .job-auth-modal-shell .job-modal-close i {
  font-size: 20px;
}

.job-posts-page .job-auth-card--bid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.job-auth-card--bid .job-auth-bid-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 14px;
  color: #DC143C;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.job-auth-card--bid .job-auth-bid-kicker i {
  font-size: 15px;
}

.job-posts-page .job-auth-card--bid h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(25px, 7vw, 30px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.job-auth-card--bid .job-auth-bid-subtitle {
  max-width: 280px;
  margin: 12px auto 0;
  color: #7b8494;
  font-size: 15px;
  line-height: 1.35;
}

.job-auth-card--bid .job-auth-bid-switch {
  margin: 22px 0 24px;
  color: #272f3d;
  font-size: 14px;
}

.job-auth-card--bid .job-auth-bid-switch button {
  border: 0;
  background: transparent;
  color: #DC143C;
  font: inherit;
  font-weight: 800;
}

.job-posts-page .job-auth-card--bid .job-auth-google-btn {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
  font-weight: 850;
}

.job-auth-card--bid .job-auth-divider {
  margin: 26px 0 18px;
}

.job-posts-page .job-auth-card--bid .job-auth-divider span {
  background: #ffffff;
  color: #8b95a5;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.job-posts-page .job-auth-card--bid .job-auth-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
  text-align: left;
}

.job-posts-page .job-auth-card--bid .job-auth-field {
  gap: 8px;
}

.job-posts-page .job-auth-card--bid .job-auth-field:first-child {
  grid-column: auto;
}

.job-posts-page .job-auth-card--bid .job-auth-field > span {
  color: #293241;
  font-size: 14px;
  font-weight: 850;
}

.job-auth-card--bid .job-auth-input-shell {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 43px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.job-auth-card--bid .job-auth-input-shell:focus-within {
  border-color: rgba(220, 20, 60, 0.62);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.12);
}

.job-auth-card--bid .job-auth-input-shell i {
  color: #98a2b3;
  font-size: 15px;
}

.job-posts-page .job-auth-card--bid .job-auth-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}

.job-posts-page .job-auth-card--bid .job-auth-field input::placeholder {
  color: #8d96a6;
}

.job-auth-card--bid .job-auth-password-toggle {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111827;
}

.job-auth-card--bid .job-auth-password-toggle i {
  color: #111827;
}

.job-posts-page .job-auth-card--bid .job-auth-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 15px 0 18px;
  color: #7b8494;
  font-size: 12px;
  line-height: 1.35;
}

.job-auth-card--bid .job-auth-note i {
  color: #DC143C;
}

.job-posts-page .job-auth-card--bid .job-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #DC143C 0%, #DC143C 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(220, 20, 60, 0.24);
  font-size: 15px;
  font-weight: 900;
}

.job-auth-card--bid .job-auth-submit:hover,
.job-auth-card--bid .job-auth-submit:focus-visible {
  background: linear-gradient(135deg, #dc941f 0%, #c8790a 100%);
  color: #ffffff;
}

.job-auth-card--bid .job-auth-terms {
  margin: 16px 0 0;
  color: #7b8494;
  font-size: 11px;
  line-height: 1.5;
}

.job-auth-card--bid .job-auth-terms a {
  color: #c77f12;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 480px) {
  .job-posts-page .job-auth-modal-shell {
    padding: 0 !important;
  }

  .job-posts-page .job-auth-modal-shell .job-modal-panel.job-modal-auth-panel {
    width: 100% !important;
    max-height: 100dvh;
    min-height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .job-posts-page .job-auth-card--bid h3 {
    max-width: 330px;
    margin-inline: auto;
  }
}

/* Post job screenshot-aligned form */
.job-post-page .job-post-topbar,
.job-post-page .job-post-guide {
  display: none !important;
}

.job-post-page .job-post-create-shell {
  width: calc(100% - 16px);
  margin: 0 auto 36px;
}

.job-post-page .job-post-composer-shell {
  width: 100%;
}

.job-post-page .job-post-form {
  overflow: visible;
  max-width: none;
  padding: 14px 4px 10px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.job-post-page .job-post-form-hero {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(220, 20, 60, 0.32);
}

.job-post-page .job-post-form-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #DC143C;
  border: 1px solid rgba(220, 20, 60, 0.55);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
}

.job-post-page .job-post-form-hero h1 {
  margin: 0;
  color: #111111;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.job-post-page .job-post-form-hero p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.job-post-page .job-post-form-dots {
  width: 38px;
  height: 52px;
  justify-self: end;
  opacity: 0.75;
  background-image: radial-gradient(circle, #DC143C 1.4px, transparent 1.6px);
  background-size: 9px 9px;
}

.job-post-page .job-post-form-section {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.job-post-page .job-post-form-section:first-of-type .job-post-section-head {
  display: none;
}

.job-post-page .job-post-section-head {
  display: grid;
  grid-template-columns: 28px auto minmax(20px, 1fr);
  align-items: center;
  gap: 10px;
  margin: 8px 0 14px;
}

.job-post-page .job-post-section-head::after {
  content: "";
  height: 1px;
  background: rgba(220, 20, 60, 0.32);
}

.job-post-page .job-post-section-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: transparent;
  color: #DC143C;
  font-size: 18px;
}

.job-post-page .job-post-section-head strong {
  color: #111111;
  font-size: 15px;
  font-weight: 900;
}

.job-post-page .job-post-section-head span:not(.job-post-section-icon) {
  display: none;
}

.job-post-page .job-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.job-post-page .job-form-field {
  gap: 7px;
}

.job-post-page .job-form-field > span,
.job-post-page .job-auth-field > span {
  color: #111111;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
}

.job-post-page .job-form-field > span::after,
.job-post-page .job-auth-field > span::after {
  content: " *";
  color: #DC143C;
}

.job-post-page .job-form-field:has([data-job-combobox="subcategory"]) > span::after {
  content: "";
}

.job-post-page .job-form-input-shell,
.job-post-page .job-form-textarea-shell,
.job-post-page .job-combobox-shell {
  position: relative;
  overflow: visible;
  min-height: 42px;
  grid-template-columns: 40px minmax(0, 1fr) 34px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.job-post-page .job-form-input-shell::before,
.job-post-page .job-form-textarea-shell::before,
.job-post-page .job-combobox-shell::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 40px;
  width: 1px;
  background: rgba(17, 24, 39, 0.10);
}

.job-post-page .job-form-field-icon,
.job-post-page .job-combobox-leading,
.job-post-page .job-combobox-toggle {
  color: #DC143C;
}

.job-post-page .job-form-input-shell input,
.job-post-page .job-form-textarea-shell textarea,
.job-post-page .job-combobox-input {
  font-size: 13px;
  color: #111111;
}

.job-post-page .job-form-textarea-shell {
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 88px;
}

.job-post-page .job-form-textarea-shell textarea {
  min-height: 86px;
  padding: 13px 12px 26px 0;
}

.job-post-page .job-form-count {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
}

.job-post-page .job-form-textarea-shell.is-address {
  min-height: 42px;
}

.job-post-page .job-form-textarea-shell.is-address textarea {
  min-height: 42px;
  height: 42px;
  resize: none;
  padding: 12px 12px 10px 0;
}

.job-post-page .job-combobox {
  position: relative;
  z-index: 20;
}

.job-post-page .job-combobox.is-open {
  z-index: 10050;
}

.job-post-page .job-combobox-menu {
  z-index: 10060;
  max-height: min(360px, 58dvh);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
}

.job-post-page .job-combobox-option {
  border-radius: 12px;
}

.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  margin-top: 2px;
  border-radius: 8px;
  border-color: rgba(17, 24, 39, 0.10);
  background: #ffffff;
}

.job-post-page .job-post-form-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
}

.job-post-page .job-post-action-secondary {
  display: none;
}

.job-post-page .job-post-form-actions > * {
  min-height: 48px;
  border-radius: 6px;
}

.job-post-page .job-post-form .btn-primary {
  background: #050505;
  border-color: #050505;
  color: #DC143C;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.job-post-page .job-post-form .btn-primary:hover,
.job-post-page .job-post-form .btn-primary:focus-visible {
  background: #111111;
  border-color: #111111;
  color: #DC143C;
}

@media (min-width: 769px) {
  .job-post-page .job-post-create-shell {
    width: calc(100% - 40px);
    margin: 0 20px 54px;
  }

  .job-post-page .job-post-form {
    padding: 24px 0 0;
  }

  .job-post-page .job-post-form-hero {
    grid-template-columns: 76px minmax(0, 1fr) 90px;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .job-post-page .job-post-form-hero-icon {
    width: 76px;
    height: 76px;
    font-size: 24px;
  }

  .job-post-page .job-post-form-hero h1 {
    font-size: 36px;
  }

  .job-post-page .job-post-form-hero p {
    font-size: 15px;
  }

  .job-post-page .job-post-form-dots {
    order: -1;
    justify-self: start;
    width: 34px;
    height: 72px;
  }

  .job-post-page .job-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
    row-gap: 18px;
  }

  .job-post-page .job-form-field.is-wide {
    grid-column: 1 / -1;
  }

  .job-post-page .job-form-textarea-shell {
    min-height: 132px;
  }

  .job-post-page .job-form-textarea-shell textarea {
    min-height: 132px;
  }

  .job-post-page .job-post-form-actions > * {
    min-height: 56px;
  }
}

/* ========== WORKLINKUP CATEGORY SYSTEM ========== */
.category-circle-icon {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78) 34%, transparent 35%),
    linear-gradient(180deg, #fefefe 0%, #edf4ff 100%);
  color: #163469;
  font-size: 34px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.homepage-categories {
  overflow: hidden;
}

.homepage-categories-track-wrap,
.specialists-categories-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1 1 auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.homepage-categories .category-circles,
.specialists-categories-row {
  width: max-content;
  min-width: max-content;
  max-width: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.home-category-circle,
.specialist-category-chip {
  min-width: 122px;
  padding: 12px 8px 14px;
}

.home-category-circle .category-circle-img,
.specialist-category-chip .category-circle-img {
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.homepage-categories-action,
.specialists-categories-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.specialists-categories-action {
  margin-top: 16px;
}

.categories-page-body {
  background:
    radial-gradient(circle at -4% -8%, rgba(84, 119, 146, 0.2) 0 140px, transparent 142px),
    radial-gradient(circle at 98% 16%, rgba(220, 20, 60, 0.14) 0 150px, transparent 152px),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 28%, #f9fbff 100%);
}

.categories-directory-page {
  width: calc(100% - 80px);
  max-width: none;
  margin: 0 auto;
  padding: 22px 0 58px;
}

.categories-directory-hero {
  position: relative;
  padding: 18px 0 24px;
  text-align: center;
}

.categories-directory-hero::after {
  content: "";
  position: absolute;
  right: 72px;
  top: 44px;
  width: 82px;
  height: 70px;
  opacity: 0.16;
  background-image: radial-gradient(var(--brand-slate) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.categories-directory-hero h1 {
  margin: 0 0 12px;
  color: var(--brand-ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.categories-directory-hero p {
  max-width: 720px;
  margin: 0 auto 18px;
  color: #61708b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.categories-directory-search {
  max-width: 488px;
  min-height: 46px;
  margin: 0 auto;
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(26, 50, 99, 0.12);
}

.categories-directory-search input {
  font-size: 13px;
  font-weight: 600;
}

.categories-directory-search .search-icon {
  color: var(--brand-slate);
}

.categories-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 14px;
}

.categories-directory-toolbar h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 900;
}

.categories-directory-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 900;
}

.categories-directory-count::before {
  content: "\f00a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--brand-slate);
}

.categories-directory-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.categories-directory-circle {
  position: relative;
  width: 100%;
  min-height: 122px;
  max-width: none;
  gap: 5px;
  justify-content: flex-start;
  padding: 9px 8px 10px;
  border: 1px solid rgba(26, 50, 99, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(26, 50, 99, 0.06);
}

.categories-directory-circle:hover,
.categories-directory-circle:focus-visible {
  background: #fff;
  border-color: rgba(220, 20, 60, 0.38);
  box-shadow: 0 16px 30px rgba(26, 50, 99, 0.12);
}

.categories-directory-circle .category-circle-img {
  position: relative;
  width: 74px;
  height: 74px;
  border: 0;
  box-shadow: 0 8px 18px rgba(26, 50, 99, 0.12);
}

.categories-directory-icon {
  position: absolute;
  left: calc(50% - 45px);
  top: 50px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-slate);
  border: 1px solid rgba(84, 119, 146, 0.22);
  box-shadow: 0 7px 15px rgba(26, 50, 99, 0.14);
  font-size: 12px;
  z-index: 2;
}

.categories-directory-circle:nth-child(3n + 2) .categories-directory-icon {
  color: var(--brand-gold);
  border-color: rgba(220, 20, 60, 0.25);
}

.categories-directory-circle:nth-child(3n + 3) .categories-directory-icon {
  color: var(--brand-ink);
  border-color: rgba(26, 50, 99, 0.2);
}

.categories-directory-circle span:not(.categories-directory-icon) {
  max-width: 110px;
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
}

.categories-directory-circle small {
  color: #61708b;
  font-size: 11px;
  font-weight: 800;
}

.categories-directory-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 830px;
  margin: 18px auto 0;
  padding: 12px 28px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(26, 50, 99, 0.08);
}

.categories-directory-cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(84, 119, 146, 0.16);
  color: var(--brand-slate);
  font-size: 19px;
}

.categories-directory-cta h2 {
  margin: 0 0 4px;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 900;
}

.categories-directory-cta p {
  margin: 0;
  color: #61708b;
  font-size: 12px;
  font-weight: 600;
}

.categories-directory-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 26px;
  border-radius: 7px;
  background: var(--brand-gold);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.categories-directory-cta-btn:hover,
.categories-directory-cta-btn:focus-visible {
  background: var(--brand-ink);
  color: #fff;
}

.categories-directory-empty {
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 52, 105, 0.1);
  box-shadow: 0 18px 38px rgba(15, 31, 66, 0.08);
}

.categories-directory-empty i {
  font-size: 30px;
  color: var(--brand-slate);
  margin-bottom: 14px;
}

.categories-directory-empty h2 {
  color: var(--brand-ink);
  font-size: 24px;
  margin-bottom: 10px;
}

.categories-directory-empty p {
  color: #60708a;
  font-size: 15px;
}

.category-services-modal[hidden] {
  display: none;
}

.category-services-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.category-services-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 50, 99, 0.42);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.category-services-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(78vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(26, 50, 99, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(26, 50, 99, 0.24);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.category-services-modal.is-visible .category-services-modal-backdrop,
.category-services-modal.is-visible .category-services-panel {
  opacity: 1;
}

.category-services-modal.is-visible .category-services-panel {
  transform: translateY(0) scale(1);
}

.category-services-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 50, 99, 0.1);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-ink);
}

.category-services-head {
  padding: 26px 30px 18px;
  border-bottom: 1px solid rgba(26, 50, 99, 0.08);
  background:
    radial-gradient(circle at 92% 10%, rgba(220, 20, 60, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.category-services-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-services-head h2 {
  max-width: calc(100% - 58px);
  margin: 0 0 8px;
  color: var(--brand-ink);
  font-size: 25px;
  line-height: 1.12;
}

.category-services-head p {
  margin: 0;
  color: #61708b;
  font-size: 14px;
  font-weight: 600;
}

.category-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: calc(min(78vh, 720px) - 138px);
  overflow-y: auto;
  padding: 18px;
}

.category-services-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 50, 99, 0.1);
  border-radius: 9px;
  background: #fff;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.category-services-item:hover,
.category-services-item:focus-visible {
  border-color: rgba(220, 20, 60, 0.4);
  background: rgba(220, 20, 60, 0.08);
  outline: none;
}

.category-services-item.is-primary {
  grid-column: 1 / -1;
  background: var(--brand-ink);
  color: #fff;
}

.category-services-item i {
  flex: 0 0 auto;
  color: var(--brand-gold);
  font-size: 11px;
}

.category-services-item.is-primary i {
  color: #fff;
}

@media (max-width: 1120px) {
  .categories-directory-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .categories-directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .categories-directory-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .categories-directory-cta-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .category-circle-icon {
    font-size: 24px;
  }

  .homepage-categories-action,
  .specialists-categories-action {
    margin-top: 14px;
  }

  .home-category-circle,
  .specialist-category-chip {
    min-width: 88px;
    padding: 6px 2px 8px;
  }

  .home-category-circle .category-circle-img,
  .specialist-category-chip .category-circle-img {
    width: 72px;
    height: 72px;
  }

  .home-category-circle span,
  .specialist-category-chip span {
    max-width: 78px;
    font-size: 11px;
  }

  .categories-directory-page {
    width: calc(100% - 28px);
    padding: 18px 0 48px;
  }

  .categories-directory-hero {
    padding-top: 10px;
  }

  .categories-directory-hero::after {
    display: none;
  }

  .categories-directory-hero h1 {
    font-size: 32px;
  }

  .categories-directory-hero p {
    font-size: 13px;
  }

  .categories-directory-toolbar {
    margin: 18px 0 14px;
  }

  .categories-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .categories-directory-circle {
    min-height: 108px;
    padding: 7px 4px 8px;
  }

  .categories-directory-circle .category-circle-img {
    width: 62px;
    height: 62px;
  }

  .categories-directory-icon {
    left: calc(50% - 38px);
    top: 45px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .categories-directory-circle span:not(.categories-directory-icon) {
    max-width: 88px;
    font-size: 11px;
  }

  .categories-directory-circle small {
    font-size: 10px;
  }

  .categories-directory-cta {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 16px;
  }

  .category-services-modal {
    align-items: end;
    padding: 12px;
  }

  .category-services-panel {
    max-height: 86vh;
    border-radius: 14px;
  }

  .category-services-head {
    padding: 22px 20px 16px;
  }

  .category-services-head h2 {
    font-size: 20px;
  }

  .category-services-list {
    grid-template-columns: 1fr;
    max-height: calc(86vh - 126px);
    padding: 14px;
  }
}

.account-submit-btn.account-submit-signup,
[data-account-username-submit] {
  background: linear-gradient(180deg, #1a3263 0%, #11254c 100%) !important;
  color: #fff !important;
}

.account-submit-btn.account-submit-signup:hover,
.account-submit-btn.account-submit-signup:focus-visible,
[data-account-username-submit]:hover,
[data-account-username-submit]:focus-visible {
  background: linear-gradient(180deg, #11254c 0%, #0b1833 100%) !important;
}

.account-page {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.homepage-categories-mobile-action {
  display: none;
}

.homepage-categories-view-more {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(220, 20, 60, 0.18);
}

.homepage-categories-view-more:hover,
.homepage-categories-view-more:focus-visible {
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%);
}

.pending-setup-open {
  overflow: hidden;
}

.pending-setup-overlay[hidden] {
  display: none !important;
}

.pending-setup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pending-setup-overlay.is-visible {
  opacity: 1;
}

.pending-setup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.46);
  backdrop-filter: blur(16px);
}

.pending-setup-panel {
  position: relative;
  width: min(1100px, calc(100vw - 28px));
  height: min(88vh, 920px);
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.pending-setup-overlay.is-visible .pending-setup-panel {
  transform: translateY(0) scale(1);
}

.pending-setup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-ink);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.pending-setup-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.account-embed-mode #site-header,
.account-embed-mode #site-footer {
  display: none !important;
}

.account-embed-preload #site-header,
.account-embed-preload #site-footer,
.account-embed-preload #account-guest-card,
.account-embed-preload #account-dashboard {
  display: none !important;
}

.account-embed-preload .account-page {
  min-height: auto;
  background: transparent;
}

.account-embed-mode .account-page,
.account-embed-mode .account-setup-stage {
  min-height: auto;
  padding: 0;
  background: transparent;
}

.account-embed-mode .account-setup-shell {
  width: 100%;
}

.account-embed-mode .account-provider-setup-stage {
  gap: 14px;
}

.account-embed-preload #account-setup-stage[hidden] {
  display: block !important;
}

.account-embed-mode .account-page {
  min-height: auto;
  background: transparent;
}

.account-embed-mode .account-setup-stage {
  min-height: auto;
  padding: 0;
}

.account-embed-mode .account-setup-shell {
  width: 100%;
}

.account-setup-embed-success {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 40px 24px;
}

.account-setup-embed-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  font-size: 30px;
  animation: setup-success-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.account-setup-embed-success-icon i {
  animation: setup-success-check 0.9s ease 0.2s both;
}

.account-setup-embed-success h2 {
  color: var(--brand-ink);
  font-size: 34px;
  font-weight: 900;
}

.account-setup-embed-success p {
  color: #64748b;
  font-size: 17px;
}

@keyframes setup-success-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  70% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

@keyframes setup-success-check {
  0% {
    transform: scale(0.4) rotate(-12deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.account-setup-loading {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 40px 24px;
}

.account-setup-loading h2 {
  color: var(--brand-ink);
  font-size: 32px;
  font-weight: 900;
}

.account-setup-loading p {
  color: #64748b;
  font-size: 16px;
}

.account-setup-loading-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(26, 50, 99, 0.12);
  border-top-color: #1a3263;
  animation: account-spin 0.75s linear infinite;
}

/* ========== PROVIDERS EXPERIENCE ========== */
.specialists-page,
.provider-post-shell,
.messages-page {
  max-width: none;
  margin: 0;
  padding: 32px 24px 72px;
}

.provider-profile-page {
  max-width: none;
  margin: 0;
  padding: 0 0 72px;
}

.specialists-page {
  padding: 0 0 72px;
}

.specialists-topbar,
.specialists-search-shell,
.provider-post-shell,
.messages-sidebar,
.provider-post-composer,
.provider-post-feed-card,
.messages-thread,
.specialists-sidebar,
.specialist-card,
.provider-profile-shell {
  position: relative;
}

.specialists-search-shell {
  display: grid;
  gap: 14px;
}

.specialists-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.specialists-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.specialists-filter-btn {
  display: none;
}

.specialists-rating-sheet-btn {
  display: inline-flex;
}

.specialists-rating-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.specialists-rating-chip,
.specialists-filter-btn,
.specialists-view-btn,
.provider-contact-btn,
.provider-message-btn,
.provider-post-submit,
.messages-send-btn,
.provider-profile-action,
.sheet-close-btn,
.provider-onboarding-next,
.provider-onboarding-back,
.provider-onboarding-submit {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 10px;
  font-family: 'Google Sans', sans-serif;
  font-weight: 800;
}

.specialists-rating-chip,
.provider-profile-action.secondary,
.provider-message-btn,
.provider-onboarding-back,
.sheet-close-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-ink);
}

.specialists-rating-chip.is-active,
.specialists-view-btn,
.provider-contact-btn,
.provider-post-submit,
.messages-send-btn,
.provider-profile-action,
.provider-onboarding-next,
.provider-onboarding-submit {
  background: #DC143C;
  border-color: transparent;
  color: #fff;
}

.specialists-filter-btn,
.provider-profile-action,
.specialists-view-btn,
.provider-contact-btn,
.provider-message-btn,
.sheet-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.sheet-close-btn.is-plain-close {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  width: auto;
  min-width: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: inherit;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.whatsapp-btn:hover {
  background: #1fb75b;
  border-color: #1fb75b;
}

.specialists-categories-shell {
  margin-top: 20px;
  overflow: hidden;
}

.specialists-categories-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 8px;
}

.specialist-category-chip {
  min-width: 120px;
}

.specialists-layout {
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: calc(100vh - 86px);
}

.specialists-layout.is-sidebar-collapsed {
  grid-template-columns: 84px minmax(0, 1fr);
}

.specialists-sidebar,
.specialist-card,
.provider-profile-shell,
.provider-post-composer,
.provider-post-feed-card,
.messages-sidebar,
.messages-thread {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 20px 42px rgba(26, 50, 99, 0.08);
}

.specialists-sidebar {
  position: sticky;
  top: 86px;
  left: 0;
  height: calc(100vh - 86px);
  max-height: calc(100vh - 86px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px 24px;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none;
  scrollbar-width: thin;
}

.specialists-main {
  min-height: calc(100vh - 86px);
  padding: 22px 26px 0;
}

.specialists-topbar {
  margin: 0;
}

.specialists-page-title {
  color: #003153;
  font-size: 34px;
  font-weight: 900;
}

.specialists-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #003153;
  box-shadow: 0 14px 28px rgba(26, 50, 99, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.specialists-icon-btn:hover,
.specialists-icon-btn:focus-visible,
.specialists-icon-btn.is-active {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(26, 50, 99, 0.14);
}

.specialists-icon-btn i {
  font-size: 20px;
}

.specialists-search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: max-height 0.28s ease, margin-top 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.specialists-search-shell.is-search-open .specialists-search-line {
  max-height: 120px;
  margin-top: 2px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.specialists-search-line .search-bar {
  max-width: none;
  width: 100%;
}

.specialists-search-line .search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.specialists-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.specialists-sidebar-label {
  margin: 0 0 4px;
  color: #6b7a90;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specialists-sidebar h2 {
  color: var(--brand-ink);
  font-size: 24px;
}

.specialists-sidebar-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
}

.specialists-layout.is-sidebar-collapsed .specialists-sidebar {
  padding-inline: 12px;
}

.specialists-layout.is-sidebar-collapsed .specialists-sidebar-head > div,
.specialists-layout.is-sidebar-collapsed .service-filter-links {
  display: none;
}

.service-filter-group + .service-filter-group {
  margin-top: 10px;
  border-top: 1px solid rgba(26, 50, 99, 0.08);
  padding-top: 10px;
}

.service-filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 800;
}

.service-filter-toggle-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.service-filter-toggle-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
  font-size: 16px;
  flex-shrink: 0;
}

.service-filter-toggle-label {
  min-width: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-filter-toggle-chevron {
  color: #94a3b8;
}

.service-filter-toggle.is-active .service-filter-toggle-icon {
  background: #DC143C;
  color: #fff;
}

.service-filter-links {
  display: grid;
  gap: 6px;
  padding: 2px 0 8px;
}

.service-filter-links[hidden] {
  display: none !important;
}

.service-filter-links button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  text-align: left;
  padding: 10px 12px;
}

.service-filter-links button.is-active,
.service-filter-links button:hover {
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
}

.specialists-layout.is-sidebar-collapsed .specialists-sidebar-head {
  justify-content: center;
}

.specialists-layout.is-sidebar-collapsed .service-filter-group + .service-filter-group {
  margin-top: 12px;
  padding-top: 12px;
}

.specialists-layout.is-sidebar-collapsed .service-filter-toggle {
  justify-content: center;
  padding: 0;
}

.specialists-layout.is-sidebar-collapsed .service-filter-toggle-main {
  justify-content: center;
}

.specialists-layout.is-sidebar-collapsed .service-filter-toggle-label,
.specialists-layout.is-sidebar-collapsed .service-filter-toggle-chevron {
  display: none;
}

.specialists-layout.is-sidebar-collapsed .service-filter-toggle-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.specialists-results {
  padding-top: 22px;
}

.specialists-results-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.specialists-results-head h3 {
  color: var(--brand-ink);
  font-size: 26px;
}

.specialists-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.specialist-card {
  overflow: hidden;
  border-radius: 18px;
}

.specialist-card.is-viewport-card {
  opacity: 0;
  transform: translate3d(var(--specialist-card-shift, 0px), 34px, 0);
  transition: opacity 0.42s ease, transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  will-change: transform, opacity;
}

.specialist-card.is-viewport-card.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.specialist-card-banner {
  position: relative;
  min-height: 196px;
  padding: 16px 16px 14px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.specialist-card-availability {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.specialist-card-availability-label {
  white-space: nowrap;
}

.specialist-card-rating {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.specialist-card-avatar {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
}

.specialist-card-banner-copy {
  color: #fff;
  padding-top: 74px;
}

.specialist-card-banner-copy h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialist-card-banner-copy p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialist-card-body {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.specialist-card-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.specialist-card-location span {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialist-card-facts {
  display: grid;
  gap: 6px;
}

.specialist-card-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.specialist-card-fact i {
  width: 16px;
  margin-top: 2px;
  color: #DC143C;
  text-align: center;
}

.specialist-card-fact strong {
  color: var(--brand-ink);
}

.specialist-card-fact span {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialist-card-tags,
.provider-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-meta-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
  font-size: 12px;
  font-weight: 800;
}

.specialist-card-bio {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.specialist-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.specialist-actions > * {
  flex: 1 1 0;
}

.specialist-actions .whatsapp-btn i,
.specialist-actions .specialists-view-btn i {
  flex: 0 0 auto;
}

.specialist-actions .specialists-view-btn span {
  min-width: 0;
  white-space: nowrap;
}

.specialists-page.is-loading [data-specialists-total] {
  visibility: hidden;
}

.specialist-card-skeleton {
  min-height: 352px;
  border-radius: 18px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  background:
    linear-gradient(90deg, rgba(232, 226, 219, 0.35) 25%, rgba(245, 239, 232, 0.95) 50%, rgba(232, 226, 219, 0.35) 75%);
  background-size: 220% 100%;
  animation: provider-skeleton 1.15s linear infinite;
}

@keyframes provider-skeleton {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.specialists-empty {
  padding: 42px 20px;
  border-radius: 22px;
  border: 1px dashed rgba(26, 50, 99, 0.16);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  color: #64748b;
}

.provider-profile-hero {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 249, 252, 1) 100%);
}

.provider-profile-page.is-loading .provider-profile-live {
  display: none;
}

.provider-profile-page:not(.is-loading) .provider-profile-skeleton-shell {
  display: none;
}

.provider-profile-page.is-loading .provider-profile-skeleton-shell {
  display: block;
}

.provider-skeleton-block,
.provider-skeleton-line,
.provider-skeleton-chip {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(90deg, #eef2f7 0%, #e2e8f0 48%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
}

.provider-profile-skeleton-banner {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.34) 0 90px, transparent 92px),
    linear-gradient(135deg, #e5eaf2 0%, #d9e0ea 48%, #eef2f7 100%);
  border-radius: 0 0 28px 28px;
}

.provider-skeleton-block::after,
.provider-skeleton-line::after,
.provider-skeleton-chip::after,
.provider-profile-skeleton-banner::after,
.provider-profile-gallery-head-skeleton .provider-profile-gallery-tab span::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: provider-work-wave 1.35s ease-in-out infinite;
  pointer-events: none;
}

.provider-profile-skeleton-back {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.provider-profile-skeleton-avatar {
  position: absolute;
  left: 24px;
  bottom: -84px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  border: 8px solid #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.provider-profile-skeleton-copy {
  position: absolute;
  left: 220px;
  right: 24px;
  bottom: 28px;
  display: grid;
  gap: 10px;
}

.provider-skeleton-line {
  height: 14px;
  border-radius: 999px;
}

.provider-skeleton-line-name {
  width: min(320px, 72%);
  height: 42px;
  border-radius: 16px;
}

.provider-skeleton-line-meta {
  width: min(280px, 56%);
}

.provider-profile-skeleton-summary {
  padding-top: 106px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.provider-profile-skeleton-actions,
.provider-profile-skeleton-stats,
.provider-profile-skeleton-meta,
.provider-profile-skeleton-bio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.provider-skeleton-chip {
  width: 134px;
  height: 48px;
  border-radius: 12px;
}

.provider-skeleton-line-stat {
  width: 92px;
}

.provider-skeleton-line-meta-wide {
  width: min(240px, 46%);
}

.provider-skeleton-line-bio {
  width: min(560px, 100%);
}

.provider-skeleton-line-bio.short {
  width: min(420px, 76%);
}

.provider-profile-banner {
  position: relative;
  min-height: 330px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.provider-profile-back {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-ink);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.provider-profile-avatar-ring {
  position: absolute;
  left: 24px;
  bottom: -84px;
  z-index: 2;
  width: 170px;
  height: 170px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(220, 20, 60, 0.16) 0%, rgba(220, 20, 60, 0.28) 100%);
  box-shadow: 0 24px 38px rgba(26, 50, 99, 0.18);
}

.provider-profile-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 5px solid #fff;
}

.provider-profile-banner-copy {
  position: absolute;
  left: 220px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}

.provider-profile-banner-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.04;
  text-shadow: 0 10px 26px rgba(15, 23, 42, 0.24);
}

.provider-profile-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.provider-profile-summary {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 106px 24px 18px;
}

.provider-profile-summary-main {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.provider-profile-handle {
  color: rgba(226, 232, 240, 0.78);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.provider-profile-phone {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 10px 26px rgba(15, 23, 42, 0.24);
}

.provider-profile-phone i {
  color: #fff;
}

.provider-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
}

.provider-profile-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.provider-profile-stats strong {
  color: var(--brand-ink);
  font-size: 20px;
  font-weight: 900;
}

.provider-profile-stats span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.provider-profile-action {
  border-radius: 10px;
}

.provider-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: flex-start;
}

.provider-profile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #43617a;
  font-weight: 700;
}

.provider-profile-meta-item i {
  width: 18px;
  color: #DC143C;
  text-align: center;
}

.provider-profile-bio {
  max-width: 760px;
  color: #64748b;
  line-height: 1.7;
}

.provider-profile-gallery-head {
  display: flex;
  justify-content: center;
  width: min(1120px, calc(100% - 48px));
  margin: 22px auto 0;
  padding: 0;
}

.provider-profile-gallery-head-skeleton .provider-profile-gallery-tab span {
  position: relative;
  display: block;
  overflow: hidden;
  width: 150px;
  height: 18px;
  border-radius: 999px;
  color: transparent;
  background: #e2e8f0;
}

.provider-profile-gallery-tab {
  min-height: 44px;
  padding: 0 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4c6278;
  font-weight: 800;
}

.provider-profile-gallery-tab.is-active {
  color: var(--brand-ink);
  box-shadow: inset 0 -2px 0 var(--brand-ink);
}

.provider-profile-tab-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.provider-profile-gallery {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}

.provider-profile-gallery[data-gallery-content][hidden],
.provider-profile-gallery[data-gallery-content]:not(.is-active-gallery) {
  display: none !important;
}

.provider-profile-gallery[data-gallery-content].is-active-gallery {
  display: grid;
}

.provider-profile-gallery[data-gallery-content="current"].is-active-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-gallery-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 20px 36px rgba(26, 50, 99, 0.08);
}

.provider-current-job-card,
.provider-worked-job-card,
.provider-bid-job-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  min-height: auto;
}

.provider-current-job-card {
  background:
    radial-gradient(circle at 72% 0%, rgba(255, 86, 45, 0.10) 0, transparent 30%),
    linear-gradient(135deg, #fffaf7 0%, #ffffff 58%);
  border: 1px solid rgba(255, 86, 45, 0.18);
}

.provider-current-job-card-detailed {
  min-height: 510px;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(255, 86, 45, 0.14), 0 14px 32px rgba(26, 50, 99, 0.08);
}

.provider-worked-job-card {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.04) 0%, rgba(40, 167, 69, 0.02) 100%);
  border: 1px solid rgba(40, 167, 69, 0.12);
}

.provider-bid-job-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0.015) 100%);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.provider-current-job-card .provider-gallery-card-copy,
.provider-worked-job-card .provider-gallery-card-copy,
.provider-bid-job-card .provider-gallery-card-copy {
  position: static;
  inset: auto;
  padding: 0;
  background: transparent;
  color: var(--brand-ink);
}

.provider-current-job-card .provider-gallery-card-copy p,
.provider-worked-job-card .provider-gallery-card-copy p,
.provider-bid-job-card .provider-gallery-card-copy p {
  color: #64748b;
}

.provider-job-status-pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #DC143C;
  background: rgba(220, 20, 60, 0.10);
}

.provider-current-job-card .provider-job-status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #ff6a3d 0%, #ff442b 100%);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(255, 68, 43, 0.24);
}

.provider-current-job-ribbon {
  position: absolute;
  top: 8px;
  right: 30px;
  width: 36px;
  height: 46px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff6a3d 0%, #ff442b 100%);
  border-radius: 5px 5px 2px 2px;
  box-shadow: 0 12px 24px rgba(255, 68, 43, 0.24);
}

.provider-current-job-ribbon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 12px solid #ff442b;
}

.provider-job-status-pill.is-completed {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
}

.provider-job-status-pill.is-rejected {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.10);
}

.provider-job-status-pill.is-pending {
  color: #92400e;
  background: rgba(220, 20, 60, 0.14);
}

.provider-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.provider-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.provider-current-job-card .provider-job-meta {
  gap: 0;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  font-weight: 800;
}

.provider-current-job-card .provider-job-meta span {
  gap: 8px;
  padding: 0 26px;
  min-height: 24px;
  border-left: 1px solid #e5e7eb;
}

.provider-current-job-card .provider-job-meta span:first-child {
  padding-left: 0;
  border-left: 0;
}

.provider-current-job-card .provider-job-meta i {
  color: #ff4b2f;
}

.provider-job-rating {
  color: #b45309;
}

.provider-job-review {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 8px;
}

.provider-job-review-head,
.provider-job-worked-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.provider-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #DC143C;
}

.provider-rating-stars .fa-regular.fa-star {
  color: #cbd5e1;
}

.provider-job-review-comment {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.provider-job-review-comment.is-empty,
.provider-job-review-empty {
  color: #94a3b8;
  font-style: italic;
}

.provider-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.provider-current-job-card .provider-job-actions {
  gap: 14px;
  margin-top: 26px;
}

.provider-current-job-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 86, 45, 0.11) 0%, rgba(255, 86, 45, 0.04) 100%);
  color: #17213f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.provider-current-job-note > i {
  color: #ff4b2f;
  font-size: 28px;
}

.provider-current-job-note strong {
  display: block;
  color: #ff4b2f;
  font-size: 16px;
}

.provider-current-job-note span {
  display: block;
  color: #27334f;
}

.provider-current-job-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.provider-current-job-icon {
  width: 90px;
  height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 86, 45, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #ff4b2f;
  font-size: 34px;
  box-shadow: 0 18px 32px rgba(255, 86, 45, 0.16);
}

.provider-current-job-card .provider-gallery-card-copy > .provider-current-job-hero strong {
  color: #171342;
  font-size: 25px;
  line-height: 1.15;
}

.provider-current-job-card .provider-gallery-card-copy > .provider-current-job-hero p {
  margin: 10px 0 0;
  color: #687086;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.provider-job-action-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(220, 20, 60, 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #DC143C;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 10px 22px rgba(220, 20, 60, 0.14);
}

.provider-current-job-card .provider-job-action-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 20px;
  gap: 9px;
  background: linear-gradient(180deg, #ff6a3d 0%, #ff442b 100%);
  font-size: 14px;
  box-shadow: 0 14px 26px rgba(255, 68, 43, 0.24);
}

.provider-job-action-btn:hover {
  transform: translateY(-1px);
}

.provider-job-action-btn.is-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.provider-current-job-card .provider-job-action-btn.is-secondary {
  border-color: #e5e7eb;
}

.provider-current-job-card .provider-job-action-btn.is-outline {
  background: #ffffff;
  color: #ff4b2f;
  border-color: #ff4b2f;
  box-shadow: none;
}

.provider-job-action-btn:disabled {
  opacity: 0.66;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.provider-gallery-card-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.provider-gallery-skeleton {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 20px 36px rgba(26, 50, 99, 0.08);
}

.provider-gallery-skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#e2e8f0, #e2e8f0) top / 100% 72% no-repeat,
    linear-gradient(#e2e8f0, #e2e8f0) 18px calc(72% + 20px) / 42% 14px no-repeat,
    linear-gradient(#e2e8f0, #e2e8f0) 18px calc(72% + 46px) / 68% 10px no-repeat;
}

.provider-gallery-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 48%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: provider-work-wave 1.35s ease-in-out infinite;
}

.provider-gallery-skeleton:nth-child(2)::after {
  animation-delay: 0.15s;
}

.provider-gallery-skeleton:nth-child(3)::after {
  animation-delay: 0.3s;
}

.provider-gallery-skeleton:nth-child(4)::after {
  animation-delay: 0.45s;
}

.provider-post-menu-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-ink);
}

.provider-post-menu {
  position: absolute;
  top: 56px;
  right: 12px;
  z-index: 3;
  min-width: 132px;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1), visibility 180ms ease;
}

.provider-post-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.provider-post-menu button {
  border: 0;
  background: transparent;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--brand-ink);
  font-weight: 700;
}

.provider-post-menu button:hover {
  background: rgba(220, 20, 60, 0.08);
}

.provider-gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.provider-gallery-card-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, rgba(13, 28, 56, 0) 0%, rgba(13, 28, 56, 0.86) 100%);
  color: #fff;
}

.provider-gallery-card-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.provider-gallery-card-copy p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
  font-size: 13px;
}

.provider-gallery-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 20px;
  border-radius: 8px;
  border: 1px dashed rgba(26, 50, 99, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: #64748b;
}

.provider-gallery-empty i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2f7;
  color: #43617a;
  font-size: 22px;
}

.provider-gallery-empty p {
  max-width: 260px;
  line-height: 1.5;
}

/* Compact Provider Profile Styles */
.provider-profile-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0 0 16px;
}

.provider-profile-actions-compact {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.provider-profile-action-compact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  cursor: pointer;
  transition: all 200ms ease;
  flex: 1;
  min-width: 100px;
  justify-content: center;
  text-decoration: none;
}

.provider-profile-action-compact:hover {
  border-color: var(--brand-slate);
  background: rgba(84, 119, 146, 0.04);
}

.provider-profile-action-compact i {
  font-size: 16px;
  color: var(--brand-slate);
}

.provider-profile-stats-row {
  display: flex;
  gap: 0;
  justify-content: space-between;
  margin: 12px 0 20px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.provider-stat-item {
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  border: none;
  background: none;
  cursor: default;
  transition: background 200ms ease;
  font-family: inherit;
  font-size: inherit;
}

.provider-stat-item.provider-stat-clickable {
  cursor: pointer;
}

.provider-stat-item.provider-stat-clickable:hover {
  background: rgba(84, 119, 146, 0.04);
  border-radius: 6px;
}

.provider-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.provider-stat-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-ink);
}

.provider-profile-services {
  margin-bottom: 20px;
}

.provider-profile-services h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.provider-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-service-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(84, 119, 146, 0.1);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
}

.provider-profile-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.provider-profile-location i {
  color: var(--brand-slate);
  font-size: 16px;
}

.provider-profile-skills-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  justify-content: space-between;
}

.provider-profile-skills-link:hover {
  border-color: var(--brand-slate);
  background: rgba(84, 119, 146, 0.04);
}

.provider-profile-skills-link i:first-child {
  color: var(--brand-slate);
  font-size: 16px;
}

.provider-profile-skills-link i:last-child {
  color: #cbd5e1;
  font-size: 14px;
  margin-left: auto;
}

.provider-profile-edit-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.provider-profile-bio {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

/* Compact Gallery Tabs */
.provider-profile-gallery-tabs {
  display: flex;
  gap: 2px;
  justify-content: flex-start;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
}

.provider-profile-gallery-tabs::-webkit-scrollbar {
  display: none;
}

.provider-profile-gallery-tab {
  min-height: auto;
  padding: 12px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.provider-profile-gallery-tab:hover {
  color: var(--brand-ink);
}

.provider-profile-gallery-tab.is-active {
  color: var(--brand-ink);
  border-bottom-color: var(--brand-ink);
  box-shadow: none;
}

/* Ratings Modal */
.provider-ratings-modal {
  width: 100%;
  max-width: 500px;
}

.provider-ratings-modal h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 20px;
}

.provider-rating-item {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #f8fafc;
}

.provider-rating-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
}

.provider-rating-job {
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 14px;
}

.provider-rating-value {
  font-size: 16px;
  font-weight: 900;
  color: #DC143C;
}

.provider-rating-provider {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

.provider-rating-comment {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  font-style: italic;
}

.provider-rating-no-comment {
  color: #cbd5e1;
  font-size: 13px;
}

/* Jobs Done Modal */
.provider-jobs-modal {
  width: 100%;
  max-width: 600px;
}

.provider-jobs-modal h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 20px;
}

.provider-job-worked-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  background: #f8fafc;
}

.provider-job-worked-title {
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 8px;
  font-size: 14px;
}

.provider-job-worked-provider {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}

.provider-job-worked-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}

.provider-job-worked-rating .rating-stars {
  color: #DC143C;
  font-weight: 700;
}

.provider-job-worked-comment {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.provider-job-worked-comment.no-comment {
  color: #cbd5e1;
  font-style: italic;
}

/* Skills Modal */
.provider-skills-modal {
  width: 100%;
  max-width: 680px;
  gap: 18px;
}

.provider-skills-modal h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  color: var(--brand-ink);
  letter-spacing: 0;
}

.provider-skills-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(26, 50, 99, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26, 50, 99, 0.08), rgba(220, 20, 60, 0.1));
}

.provider-skills-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.18);
}

.provider-skills-hero span,
.provider-skills-section-head p,
.provider-skills-summary span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.provider-skills-hero span,
.provider-skills-summary span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider-skills-hero p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 14px;
  font-weight: 750;
}

.provider-skills-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.provider-skills-summary div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 16px;
  background: #f8fafc;
  display: grid;
  align-content: center;
  gap: 4px;
}

.provider-skills-summary strong {
  color: var(--brand-ink);
  font-size: 24px;
  font-weight: 950;
}

.provider-skills-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(26, 50, 99, 0.1);
  border-radius: 18px;
  background: #fff;
}

.provider-skills-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.provider-skills-section-head > i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(220, 20, 60, 0.12);
  color: #c45f3f;
  display: grid;
  place-items: center;
}

.provider-skills-section-head h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 950;
}

.provider-skills-section-head p {
  margin: 2px 0 0;
}

.provider-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.provider-skill-badge {
  min-width: 0;
  min-height: 78px;
  padding: 13px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--brand-ink);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
}

.provider-skill-badge > i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff;
  color: #DC143C;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(220, 20, 60, 0.14);
}

.provider-skill-badge strong,
.provider-skill-badge span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-skill-badge strong {
  font-size: 14px;
  font-weight: 900;
}

.provider-skill-badge span {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.provider-skills-empty {
  min-height: 210px;
  padding: 28px;
  border: 1px dashed rgba(26, 50, 99, 0.18);
  border-radius: 18px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.provider-skills-empty i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  color: #64748b;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(26, 50, 99, 0.08);
}

.provider-skills-empty strong {
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 950;
}

.provider-skills-empty p {
  max-width: 360px;
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

@keyframes provider-work-wave {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.provider-post-shell > h1 {
  margin: 14px 0 24px;
}

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

.provider-post-composer,
.provider-post-feed-card,
.messages-sidebar {
  border-radius: 26px;
}

.provider-post-composer,
.provider-post-feed-card,
.messages-sidebar,
.messages-thread {
  padding: 22px;
}

.provider-post-composer {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.provider-post-preview {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border: 1px dashed rgba(26, 50, 99, 0.18);
  background: rgba(220, 20, 60, 0.04);
  color: #64748b;
  overflow: hidden;
}

.provider-post-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-post-composer input[type="file"],
.provider-post-composer textarea,
.messages-compose-input,
.provider-onboarding-form input,
.provider-onboarding-form select,
.provider-onboarding-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
  font-family: 'Google Sans', sans-serif;
}

.provider-post-composer input[type="file"],
.provider-post-composer textarea,
.messages-compose-input {
  padding: 14px 16px;
  border-radius: 10px;
}

.provider-post-composer textarea,
.provider-onboarding-form textarea {
  min-height: 120px;
  resize: vertical;
}

.provider-post-feed {
  display: grid;
  gap: 18px;
}

.provider-post-card-head,
.provider-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.provider-post-author img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
}

.provider-post-author strong {
  color: var(--brand-ink);
  font-size: 18px;
}

.provider-post-author span {
  display: block;
  margin-top: 4px;
  color: #64748b;
}

.provider-post-feed-card p {
  margin-top: 14px;
  color: #475569;
  line-height: 1.6;
}

.provider-post-feed-card img {
  width: 100%;
  margin-top: 16px;
  border-radius: 22px;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.provider-dialog-open {
  overflow: hidden;
}

.provider-dialog-overlay[hidden] {
  display: none !important;
}

.provider-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(10px);
}

.provider-dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26, 50, 99, 0.12);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.24);
}

.provider-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(26, 50, 99, 0.08);
  color: var(--brand-ink);
  font-size: 24px;
}

.provider-dialog-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.provider-dialog-card-editor {
  gap: 14px;
  padding: 22px;
}

.provider-dialog-card h3 {
  color: var(--brand-ink);
  font-size: 28px;
  font-weight: 900;
}

.provider-dialog-card p {
  color: #64748b;
}

.provider-dialog-card-editor > p {
  font-size: 14px;
}

.provider-dialog-card-wide {
  gap: 0;
  padding: 0;
}

.provider-dialog-image-preview {
  min-height: 320px;
}

.provider-dialog-hero-image {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
}

.provider-dialog-copy {
  padding: 22px;
}

.provider-editor-form,
.provider-editor-form label {
  display: grid;
  gap: 8px;
}

.provider-editor-form {
  gap: 14px;
}

.provider-editor-scroll {
  display: grid;
  gap: 14px;
  max-height: min(62vh, 620px);
  overflow: auto;
  padding-right: 4px;
}

.provider-editor-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(26, 50, 99, 0.1);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.provider-editor-section-head {
  display: grid;
  gap: 4px;
}

.provider-editor-section-head strong {
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 900;
}

.provider-editor-section-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.provider-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.provider-editor-span {
  grid-column: 1 / -1;
}

.provider-editor-form span {
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 800;
}

.provider-editor-form input,
.provider-editor-form select,
.provider-editor-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
  font-family: 'Google Sans', sans-serif;
}

.provider-editor-form textarea {
  min-height: 110px;
  resize: vertical;
}

.provider-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.messages-layout {
  min-height: calc(100dvh - 86px);
  height: calc(100dvh - 86px);
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 0;
}

.messages-page {
  padding: 0;
  min-height: calc(100dvh - 86px);
  height: calc(100dvh - 86px);
  background:
    linear-gradient(180deg, #102141 0, #152b53 280px, #f3ede4 280px, #f3ede4 100%);
  overflow: hidden;
}

.messages-sidebar,
.messages-thread {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.messages-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: calc(100dvh - 86px);
  height: calc(100dvh - 86px);
  padding: 24px 20px 24px 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(16, 33, 65, 0.98) 0%, rgba(21, 43, 83, 0.98) 100%);
  color: #fff;
}

.messages-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.messages-home-kicker {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.messages-sidebar h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.messages-home-add,
.messages-thread-back,
.messages-thread-search-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.messages-thread-search-toggle,
.messages-thread-back {
  background: rgba(16, 33, 65, 0.08);
  color: var(--brand-ink);
}

.messages-thread-back {
  display: none;
}

.messages-search-bar {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.messages-search-bar i {
  color: rgba(255, 255, 255, 0.72);
}

.messages-search-bar input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  font-size: 15px;
}

.messages-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.messages-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messages-filter-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.messages-filter-chip strong {
  color: #ffbe62;
}

.messages-filter-chip.is-active {
  background: rgba(255, 190, 98, 0.18);
  border-color: rgba(255, 190, 98, 0.42);
}

.messages-suggestions {
  display: grid;
  gap: 12px;
  padding: 10px 0 2px;
}

.messages-suggestions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.messages-suggestions-head strong {
  color: #fff;
  font-size: 15px;
}

.messages-suggestions-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.messages-suggestion-grid {
  display: grid;
  gap: 10px;
}

.messages-chat-list {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.messages-suggestion-card,
.messages-chat-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.messages-suggestion-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.messages-suggestion-avatar,
.messages-chat-avatar,
.messages-thread-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 190, 98, 0.92), rgba(10, 111, 229, 0.84));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  flex: 0 0 auto;
}

.messages-suggestion-avatar img,
.messages-chat-avatar img,
.messages-thread-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.messages-suggestion-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.messages-suggestion-title,
.messages-thread-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.messages-suggestion-title strong,
.messages-thread-name-row strong {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messages-verified-tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #29c46d;
  color: #fff;
  font-size: 10px;
  flex: 0 0 auto;
}

.messages-suggestion-role,
.messages-chat-role,
.messages-thread-head-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.messages-suggestion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}

.messages-suggestion-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.messages-suggestion-cta {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 190, 98, 0.18);
  color: #ffbe62;
  font-size: 12px;
  font-weight: 800;
}

.messages-suggestion-skeleton {
  min-height: 96px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.messages-suggestion-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: provider-work-wave 1.25s linear infinite;
}

.messages-chat-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 20px;
  color: #fff;
}

.messages-chat-item.is-active,
.messages-chat-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.messages-chat-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.messages-chat-top,
.messages-chat-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.messages-chat-title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.messages-chat-title strong {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
}

.messages-chat-time {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  white-space: nowrap;
}

.messages-chat-preview {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.messages-chat-preview span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messages-chat-unread {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #29c46d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.messages-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: calc(100dvh - 86px);
  height: calc(100dvh - 86px);
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 190, 98, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(252, 249, 244, 0.98) 0%, rgba(242, 235, 224, 0.98) 100%);
}

.messages-thread-head {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(26, 50, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
}

.messages-thread-head-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.messages-thread-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.messages-thread-whatsapp {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.messages-thread-avatar {
  width: 48px;
  height: 48px;
}

.messages-thread-head-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.messages-thread-name-row strong {
  color: var(--brand-ink);
  font-size: 20px;
  font-weight: 900;
}

.messages-thread-head-copy span {
  color: #64748b;
}

.messages-thread-body {
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
  scroll-padding-bottom: 140px;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 33, 65, 0.03) 0, transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(255, 190, 98, 0.09) 0, transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
}

.messages-day-divider {
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
}

.messages-day-divider span {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(16, 33, 65, 0.08);
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.message-row {
  display: flex;
}

.message-row.is-mine {
  justify-content: flex-end;
}

.message-bubble {
  max-width: min(78%, 520px);
  display: grid;
  gap: 6px;
  padding: 12px 14px 10px;
  border-radius: 22px;
  line-height: 1.5;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(26, 50, 99, 0.08);
}

.message-bubble.has-image {
  max-width: min(82%, 420px);
}

.message-bubble-image {
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
}

.message-bubble-image img {
  width: 100%;
  max-height: 320px;
  display: block;
  object-fit: cover;
}

.message-bubble-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.message-bubble-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.message-bubble-action-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.message-bubble-action-btn:hover {
  background: #115e59;
}

.message-bubble-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: inherit;
  font-size: 11px;
  opacity: 0.78;
}

.message-bubble.is-mine {
  background: linear-gradient(180deg, #0c71e7 0%, #0a66d1 100%);
  color: #fff;
  border-bottom-right-radius: 8px;
}

.message-bubble.is-theirs {
  background: #fff;
  color: #253858;
  border-bottom-left-radius: 8px;
  border: 1px solid rgba(26, 50, 99, 0.08);
}

.message-status {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
}

.message-status.is-viewed {
  color: #29c46d;
}

.messages-thread-compose {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  border-top: 1px solid rgba(26, 50, 99, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.messages-compose-main {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.messages-compose-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.messages-attach-btn {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand-ink);
  border: 1px solid rgba(26, 50, 99, 0.08);
  box-shadow: 0 10px 24px rgba(26, 50, 99, 0.08);
  cursor: pointer;
}

.messages-attach-btn input {
  display: none;
}

.messages-compose-preview {
  display: grid;
}

.messages-compose-preview-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.messages-compose-preview-card img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.messages-compose-preview-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.messages-compose-preview-copy strong {
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 800;
}

.messages-compose-preview-copy span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.messages-compose-preview-clear {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 33, 65, 0.08);
  color: var(--brand-ink);
}

.messages-compose-input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border-radius: 999px;
  background: #fff;
}

.messages-send-btn {
  align-self: end;
  min-width: 118px;
  border-radius: 999px;
}

.messages-media-viewer[hidden] {
  display: none !important;
}

.messages-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.messages-media-viewer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.messages-media-viewer-panel {
  width: min(100%, 1180px);
  max-height: calc(100dvh - 40px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

.messages-media-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.messages-media-download,
.messages-media-close {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.messages-media-close {
  width: 46px;
  padding: 0;
}

.messages-media-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
}

.messages-media-stage img {
  max-width: 100%;
  max-height: calc(100dvh - 124px);
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
}

.messages-media-viewer-open {
  overflow: hidden;
}

.messages-empty {
  display: grid;
  place-items: center;
  padding: 48px 20px;
  text-align: center;
  color: #64748b;
}

.messages-empty h2 {
  color: var(--brand-ink);
  font-size: 26px;
  font-weight: 900;
}

.messages-home-empty,
.messages-suggestion-empty {
  min-height: 220px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
}

.messages-home-empty h2,
.messages-suggestion-empty h2 {
  color: #fff;
  font-size: 22px;
}

.provider-onboarding-open {
  overflow: hidden;
}

.provider-onboarding-overlay[hidden],
.providers-mobile-sheet[hidden] {
  display: none !important;
}

.provider-onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(14px);
  padding: 28px;
}

.provider-onboarding-modal {
  position: relative;
  width: min(980px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: rgba(252, 250, 247, 0.98);
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 34px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.provider-onboarding-help,
.provider-onboarding-close {
  position: absolute;
  top: 18px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.provider-onboarding-help {
  left: 50%;
  transform: translateX(-50%);
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
}

.provider-onboarding-close {
  right: 18px;
  border: 0;
  background: rgba(26, 50, 99, 0.06);
  color: var(--brand-ink);
  font-size: 26px;
}

.provider-onboarding-head {
  padding: 70px 34px 20px;
}

.provider-onboarding-head h2 {
  color: var(--brand-ink);
}

.provider-onboarding-head p {
  margin-top: 8px;
  max-width: 620px;
  color: #64748b;
}

.provider-onboarding-progressbar {
  margin-top: 20px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(26, 50, 99, 0.10);
  overflow: hidden;
}

.provider-onboarding-progressbar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%);
  transition: width 220ms ease;
}

.provider-onboarding-progress-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.provider-onboarding-progress-meta strong {
  color: var(--brand-ink);
}

.provider-onboarding-progress-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.provider-onboarding-progress-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(26, 50, 99, 0.12);
}

.provider-onboarding-progress-dots span.is-active {
  background: #DC143C;
}

.provider-onboarding-form {
  padding: 0 34px 24px;
  overflow-y: auto;
}

.provider-onboarding-step {
  display: none;
  gap: 14px;
  align-content: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 18px;
}

.provider-onboarding-step.is-active {
  display: grid;
}

.provider-onboarding-step-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(220, 20, 60, 0.08);
  color: #DC143C;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.provider-onboarding-step h3 {
  color: var(--brand-ink);
  font-size: 24px;
}

.provider-onboarding-step p {
  color: #64748b;
}

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

.provider-onboarding-row,
.provider-onboarding-row-span {
  display: grid;
  gap: 8px;
}

.provider-onboarding-row-span {
  grid-column: 1 / -1;
}

.provider-onboarding-row label {
  color: #253858;
  font-size: 13px;
  font-weight: 800;
}

.provider-onboarding-form input,
.provider-onboarding-form select,
.provider-onboarding-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
}

.provider-onboarding-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.provider-onboarding-upload-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 14px;
  background: rgba(250, 250, 250, 0.9);
}

.provider-onboarding-upload-card strong {
  color: var(--brand-ink);
}

.provider-onboarding-upload-card span {
  color: #64748b;
}

.provider-onboarding-upload-preview {
  display: block;
  overflow: hidden;
  background: rgba(220, 20, 60, 0.04);
  border-radius: 14px;
  border: 1px dashed rgba(26, 50, 99, 0.14);
}

.provider-onboarding-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-onboarding-upload-preview-avatar {
  aspect-ratio: 1 / 1;
}

.provider-onboarding-upload-preview-banner {
  aspect-ratio: 16 / 9;
}

.provider-onboarding-upload-card input[type="file"] {
  padding: 12px;
}

.provider-onboarding-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 34px 28px;
  border-top: 1px solid rgba(26, 50, 99, 0.08);
  background: rgba(252, 250, 247, 0.94);
}

.provider-onboarding-note {
  color: #64748b;
}

.provider-onboarding-actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.providers-mobile-sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2050;
  padding: 0 10px 10px;
}

.providers-mobile-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(10px);
}

.providers-mobile-sheet-panel {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 16px 18px 22px;
  max-height: 76vh;
  overflow-y: auto;
  background: rgba(252, 250, 247, 0.98);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 42px rgba(15, 23, 42, 0.18);
}

.providers-mobile-sheet-panel-compact {
  width: min(100%, 420px);
}

.specialists-mobile-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.specialists-rating-picker {
  display: grid;
  gap: 8px;
}

.specialists-rating-option {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(220, 20, 60, 0.06);
  color: var(--brand-ink);
  text-align: left;
  padding: 0 16px;
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
}

.specialists-rating-option.is-active {
  background: rgba(220, 20, 60, 0.14);
  color: #DC143C;
}

.providers-mobile-sheet-handle {
  width: 58px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(26, 50, 99, 0.18);
}

@keyframes specialists-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .specialists-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-profile-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .provider-profile-summary {
    padding-top: 96px;
  }

  .provider-profile-avatar-ring {
    width: 150px;
    height: 150px;
    bottom: -74px;
  }

  .provider-profile-banner-copy {
    left: 196px;
  }

  .provider-profile-skeleton-copy {
    left: 196px;
  }

  .provider-profile-action-compact {
    font-size: 13px;
  }

  .provider-profile-skills-link {
    font-size: 13px;
  }
}

@media (min-width: 1101px) {
  /* Desktop optimizations for compact provider profile */
  .provider-profile-summary {
    padding: 106px 48px 24px;
  }

  .provider-profile-actions-compact {
    gap: 10px;
  }

  .provider-profile-action-compact {
    flex: 0 1 auto;
    min-width: auto;
    justify-content: center;
  }

  .provider-profile-stat-item {
    padding: 12px 16px;
  }

  .provider-profile-stats-row {
    margin: 16px 0 24px;
    padding: 16px 0;
  }

  .provider-stat-label {
    font-size: 12px;
  }

  .provider-stat-value {
    font-size: 20px;
  }

  .provider-profile-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-profile-location {
    margin-bottom: 20px;
    padding: 16px 0;
  }

  .provider-profile-skills-link {
    padding: 14px 18px;
    font-size: 15px;
    max-width: 600px;
  }

  .provider-service-tag {
    padding: 8px 14px;
    font-size: 14px;
  }

  .provider-profile-services {
    margin: 20px 0;
  }

  .provider-profile-bio {
    margin-top: 20px;
    padding-top: 20px;
    max-width: 800px;
  }
}

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

  .provider-post-composer,
  .specialists-sidebar {
    position: static;
  }

  .provider-onboarding-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 16px);
  }

  .provider-editor-grid {
    grid-template-columns: 1fr;
  }

  .messages-layout {
    min-height: calc(100vh - 86px);
  }
}

@media (max-width: 768px) {
  .provider-post-shell {
    padding: 20px 16px 48px;
  }

  .messages-page {
    padding: 0;
    min-height: calc(100dvh - 74px);
    height: calc(100dvh - 74px);
  }

  .provider-profile-page {
    padding: 0 0 104px;
  }

  .specialists-page {
    padding: 0 0 48px;
    overflow-x: hidden;
  }

  .specialists-search-line {
    grid-template-columns: 1fr;
  }

  .specialists-results-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 14px;
  }

  .specialists-results-head > div:first-child {
    min-width: 0;
    text-align: left;
  }

  .specialists-results-head h3 {
    font-size: 20px;
    line-height: 1.14;
    text-align: left;
  }

  .specialists-filter-btn {
    display: inline-flex;
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .specialists-rating-sheet-btn {
    display: inline-flex;
  }

  .specialists-title-actions {
    display: inline-flex;
  }

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

  .specialists-sidebar {
    display: none;
  }

  .specialists-main {
    padding: 20px 16px 0;
    min-width: 0;
    overflow-x: hidden;
  }

  .specialists-categories-shell {
    margin-top: 18px;
  }

  .specialists-categories-row {
    width: max-content;
    overflow: visible;
  }

  .specialist-category-chip {
    min-width: 88px;
    padding: 6px 2px 8px;
  }

  .specialist-category-chip .category-circle-img {
    width: 70px;
    height: 70px;
  }

  .specialist-category-chip span {
    max-width: 78px;
    font-size: 12px;
  }

  .specialists-page-title {
    font-size: 26px;
  }

  .specialists-title-row,
  .specialists-title-actions,
  .specialists-results,
  .specialists-results-grid,
  .specialist-card {
    min-width: 0;
  }

  .specialists-title-row {
    align-items: flex-start;
  }

  .specialists-title-actions,
  .specialists-results-head-actions {
    justify-content: flex-start;
  }

  .specialists-rating-filter {
    display: none;
  }

  .specialists-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .specialist-card {
    border-radius: 18px;
  }

  .specialist-card-banner {
    min-height: 150px;
    padding: 12px 12px 10px;
  }

  .specialist-card-avatar {
    width: 48px;
    height: 48px;
  }

  .specialist-card-body {
    padding: 12px;
  }

  .specialist-card-bio {
    font-size: 12px;
    line-height: 1.45;
  }

  .specialist-actions {
    gap: 8px;
  }

  .specialist-actions .provider-contact-btn,
  .specialist-actions .specialists-view-btn {
    width: 100%;
    min-height: 38px;
    padding: 0 8px;
    font-size: 11px;
  }

  .specialists-related-shell {
    margin-top: 24px;
    padding-top: 18px;
  }

  .specialists-related-head {
    align-items: center;
  }

  .specialists-related-head h3 {
    font-size: 20px;
  }

  .specialists-suggested-all {
    font-size: 14px;
  }

  .specialists-related-track {
    gap: 12px;
    animation-duration: 38s;
  }

  .specialists-suggested-card {
    min-width: 152px;
    padding: 14px 12px 12px;
    border-radius: 18px;
  }

  .specialists-suggested-avatar {
    width: 66px;
    height: 66px;
  }

  .specialists-suggested-card strong {
    font-size: 14px;
  }

  .specialists-suggested-meta,
  .specialists-suggested-place {
    font-size: 12px;
  }

  .specialists-suggested-action {
    min-height: 36px;
    font-size: 13px;
  }

  .messages-layout {
    min-height: calc(100dvh - 74px);
    height: calc(100dvh - 74px);
  }

  .messages-sidebar,
  .messages-thread {
    min-height: calc(100dvh - 74px);
    height: calc(100dvh - 74px);
  }

  .messages-sidebar {
    position: static;
    padding: 18px 16px 24px;
  }

  .messages-thread {
    min-height: calc(100dvh - 74px);
    height: calc(100dvh - 74px);
  }

  .messages-thread-head {
    padding: 16px;
  }

  .messages-thread-body {
    padding: 18px 14px;
  }

  .messages-thread-compose {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .messages-compose-preview-card {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .messages-compose-preview-card img {
    width: 56px;
    height: 56px;
  }

  .messages-attach-btn {
    width: 46px;
    height: 46px;
  }

  .messages-compose-input {
    min-height: 46px;
    padding: 0 14px;
  }

  .messages-send-btn {
    min-width: 52px;
    padding: 0;
  }

  .messages-send-btn span {
    display: none;
  }

  .messages-thread-back {
    display: inline-flex;
  }

  .messages-page:not(.is-thread-open) .messages-thread {
    display: none;
  }

  .messages-page.is-thread-open .messages-sidebar {
    display: none;
  }

  .specialist-card-banner {
    min-height: 144px;
    padding: 12px 12px 14px;
  }

  .specialist-card-availability {
    top: 10px;
    right: 10px;
    gap: 6px;
    font-size: 11px;
  }

  .specialist-card-avatar {
    width: 52px;
    height: 52px;
    top: 12px;
    left: 12px;
    border-radius: 12px;
    border-width: 3px;
  }

  .specialist-card-rating {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .specialist-card-banner-copy {
    padding-top: 54px;
  }

  .specialist-card-banner-copy h3 {
    font-size: 16px;
  }

  .specialist-card-banner-copy p {
    font-size: 11px;
  }

  .specialist-card-body {
    gap: 8px;
    padding: 12px;
  }

  .specialist-card-location,
  .specialist-card-bio,
  .specialist-card-fact {
    font-size: 12px;
  }

  .specialist-card-fact strong {
    display: none;
  }

  .provider-meta-chip {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }

  .specialist-actions {
    gap: 8px;
  }

  .specialist-actions a {
    min-height: 36px;
    min-width: 0;
    padding: 0 8px;
    font-size: 11px;
    gap: 6px;
  }

  .specialist-actions .whatsapp-btn {
    flex: 0 0 42px;
    padding: 0;
  }

  .specialist-actions .specialists-view-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .specialist-actions .specialists-view-btn i {
    display: none;
  }

  .specialist-action-label-whatsapp {
    display: none;
  }

  .provider-profile-gallery {
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .provider-profile-banner {
    min-height: 230px;
  }

  .provider-profile-skeleton-banner {
    min-height: 230px;
  }

  .provider-profile-summary {
    width: calc(100% - 32px);
    padding-top: 82px;
  }

  .provider-profile-avatar-ring {
    left: 16px;
    bottom: -58px;
    width: 118px;
    height: 118px;
  }

  .provider-profile-skeleton-avatar {
    left: 16px;
    bottom: -58px;
    width: 118px;
    height: 118px;
  }

  .provider-profile-banner-copy {
    left: 146px;
    right: 16px;
    bottom: 18px;
    gap: 6px 12px;
  }

  .provider-profile-banner-copy h1 {
    font-size: 28px;
  }

  .provider-profile-banner-meta {
    gap: 6px 12px;
  }

  .provider-profile-skeleton-copy {
    left: 146px;
    right: 16px;
    bottom: 18px;
    gap: 6px;
  }

  .provider-skeleton-line-name {
    height: 28px;
  }

  .provider-profile-summary-main {
    gap: 14px;
  }

  .provider-profile-handle,
  .provider-profile-phone {
    font-size: 12px;
  }

  .provider-profile-stats {
    gap: 12px 18px;
  }

  .provider-profile-stats strong {
    font-size: 18px;
  }

  .provider-profile-meta {
    display: grid;
    gap: 10px;
  }

  .provider-profile-gallery-head {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .provider-profile-gallery-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .provider-profile-gallery-tab {
    padding: 10px 14px;
    font-size: 12px;
  }

  .provider-gallery-skeleton {
    min-height: 240px;
  }

  .provider-profile-action-compact {
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .provider-stat-item {
    padding: 10px 8px;
  }

  .provider-stat-value {
    font-size: 16px;
  }

  .provider-profile-location {
    font-size: 13px;
    padding: 10px 0;
  }

  .provider-profile-skills-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .provider-services-list {
    gap: 6px;
  }

  .provider-service-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .provider-profile-back {
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
  }

  .provider-post-composer,
  .messages-sidebar {
    position: static;
  }

  .provider-dialog-overlay {
    padding: 12px;
    align-items: end;
  }

  .provider-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
  }

  .provider-ratings-modal,
  .provider-jobs-modal,
  .provider-skills-modal {
    max-width: calc(100vw - 24px);
  }

  .provider-dialog-card-editor {
    padding: 20px;
  }

  .provider-editor-scroll {
    max-height: calc(100vh - 220px);
    gap: 12px;
  }

  .provider-editor-section {
    gap: 12px;
    padding: 14px;
  }

  .messages-thread {
    min-height: calc(100vh - 210px);
  }

  .provider-onboarding-overlay {
    padding: 0;
    display: grid;
    align-items: end;
  }

  .provider-onboarding-modal {
    width: 100%;
    max-height: 100vh;
    border-radius: 28px 28px 0 0;
  }

  .provider-onboarding-head {
    padding: 74px 20px 14px;
  }

  .provider-onboarding-progress-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .provider-onboarding-form {
    padding: 0 20px 20px;
  }

  .provider-onboarding-grid,
  .provider-onboarding-media-grid {
    grid-template-columns: 1fr;
  }

  .provider-onboarding-footer {
    padding: 16px 20px 22px;
    flex-direction: column;
  }

  .provider-onboarding-actions {
    width: 100%;
    margin-left: 0;
  }

  .provider-onboarding-actions button {
    flex: 1 1 0;
  }

}

header {
  position: relative;
  z-index: 2;
}

nav {
  position: relative;
  z-index: 1;
}

#site-header.desktop-nav-hidden nav {
  transform: translateY(calc(-100% - 8px));
  opacity: 1;
}

.header-inner {
  max-width: none;
  width: 100%;
  padding: 0 28px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px) minmax(0, 1fr);
  gap: 18px;
  height: 72px;
}

.mobile-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  justify-self: start;
}

.logo {
  align-items: center;
  gap: 12px;
  font-size: 0;
}

.logo-image {
  height: 34px;
  width: auto;
}

.desktop-search-bar {
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

.search-bar {
  border-color: rgba(220, 20, 60, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.search-bar:focus-within {
  border-color: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.18);
}

.search-match {
  color: #DC143C;
  background: rgba(220, 20, 60, 0.12);
}

.header-actions {
  justify-self: end;
  gap: 18px;
}

.header-actions a,
.mobile-search-trigger {
  color: var(--text-muted);
}

.header-actions a:hover,
.mobile-search-trigger:hover {
  color: #DC143C;
}

.header-how-link {
  display: inline-flex;
}

.mobile-search-trigger {
  display: none;
}

.a-plus-btn {
  background: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.22);
}

.a-plus-btn:hover,
.a-plus-btn:focus-visible {
  background: #A30F2D !important;
}

.account-auth-panel {
  width: min(32vw, 470px);
  min-width: 360px;
  padding: 30px 20px 24px;
}

.account-auth-copy {
  text-align: left;
  margin: 28px 0 18px;
}

.account-email-form-wrap,
.account-email-form-wrap.is-open {
  max-height: none;
  opacity: 1;
  margin-top: 0;
  overflow: visible;
}

.account-inline-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-inline-actions button {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 800;
}

.account-submit-btn.account-submit-signin {
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%);
}

.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
  color: #fff;
}

.account-submit-btn.has-jimu-loader .account-btn-label {
  opacity: 0;
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    height: 22px;
  }

  .desktop-search-bar,
  .header-how-link {
    display: none !important;
  }

  .mobile-search-trigger {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions a,
  .mobile-search-trigger {
    font-size: 0;
    gap: 0;
  }

  .account-auth-panel {
    width: 100%;
    min-width: 0;
    padding: 24px 16px 20px;
  }

  .account-inline-actions {
    grid-template-columns: 1fr;
  }
}

header {
  position: relative;
  z-index: 2;
}

nav {
  position: relative;
  z-index: 1;
}

#site-header.desktop-nav-hidden nav {
  transform: translateY(calc(-100% - 8px));
  opacity: 1;
}

.header-inner {
  max-width: none;
  width: 100%;
  padding: 0 28px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px) minmax(0, 1fr);
  gap: 18px;
  height: 72px;
}

.mobile-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  justify-self: start;
}

.logo {
  align-items: center;
  gap: 12px;
  font-size: 0;
}

.logo-image {
  height: 34px;
  width: auto;
}

.desktop-search-bar {
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

.search-bar {
  border-color: rgba(220, 20, 60, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.search-bar:focus-within {
  border-color: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.18);
}

.search-match {
  color: #DC143C;
  background: rgba(220, 20, 60, 0.12);
}

.header-actions {
  justify-self: end;
  gap: 18px;
}

.header-actions a,
.mobile-search-trigger {
  color: var(--text-muted);
}

.header-actions a:hover,
.mobile-search-trigger:hover {
  color: #DC143C;
}

.header-how-link {
  display: inline-flex;
}

.mobile-search-trigger {
  display: none;
}

.a-plus-btn {
  background: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.22);
}

.a-plus-btn:hover,
.a-plus-btn:focus-visible {
  background: #A30F2D !important;
}

.account-auth-panel {
  width: min(32vw, 470px);
  min-width: 360px;
  padding: 30px 20px 24px;
}

.account-auth-copy {
  text-align: left;
  margin: 28px 0 18px;
}

.account-email-form-wrap,
.account-email-form-wrap.is-open {
  max-height: none;
  opacity: 1;
  margin-top: 0;
  overflow: visible;
}

.account-inline-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-inline-actions button {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 800;
}

.account-submit-btn.account-submit-signin {
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%);
}

.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
  color: #fff;
}

.account-submit-btn.has-jimu-loader .account-btn-label {
  opacity: 0;
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    height: 22px;
  }

  .desktop-search-bar,
  .header-how-link {
    display: none !important;
  }

  .mobile-search-trigger {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions a,
  .mobile-search-trigger {
    font-size: 0;
    gap: 0;
  }

  .account-auth-panel {
    width: 100%;
    min-width: 0;
    padding: 24px 16px 20px;
  }

  .account-inline-actions {
    grid-template-columns: 1fr;
  }
}

/* ========== LAST MILE OVERRIDES ========== */
header {
  position: relative;
  z-index: 2;
}

nav {
  position: relative;
  z-index: 1;
}

#site-header.desktop-nav-hidden nav {
  transform: translateY(calc(-100% - 8px));
  opacity: 1;
}

.header-inner {
  max-width: none;
  width: 100%;
  padding: 0 28px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px) minmax(0, 1fr);
  gap: 18px;
  height: 72px;
}

.mobile-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  justify-self: start;
}

.logo {
  align-items: center;
  gap: 12px;
  font-size: 0;
}

.logo-image {
  height: 34px;
  width: auto;
}

.desktop-search-bar {
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

.search-bar {
  border-color: rgba(220, 20, 60, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.search-bar:focus-within {
  border-color: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.18);
}

.search-match {
  color: #DC143C;
  background: rgba(220, 20, 60, 0.12);
}

.header-actions {
  justify-self: end;
  gap: 18px;
}

.header-actions a,
.mobile-search-trigger {
  color: var(--text-muted);
}

.header-actions a:hover,
.mobile-search-trigger:hover {
  color: #DC143C;
}

.header-how-link {
  display: inline-flex;
}

.mobile-search-trigger {
  display: none;
}

.a-plus-btn {
  background: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.22);
}

.a-plus-btn:hover,
.a-plus-btn:focus-visible {
  background: #A30F2D !important;
}

.account-auth-panel {
  width: min(32vw, 470px);
  min-width: 360px;
  padding: 30px 20px 24px;
}

.account-auth-copy {
  text-align: left;
  margin: 28px 0 18px;
}

.account-email-form-wrap,
.account-email-form-wrap.is-open {
  max-height: none;
  opacity: 1;
  margin-top: 0;
  overflow: visible;
}

.account-inline-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-inline-actions button {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 800;
}

.account-submit-btn.account-submit-signin {
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%);
}

.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
  color: #fff;
}

.account-submit-btn.has-jimu-loader .account-btn-label {
  opacity: 0;
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    height: 22px;
  }

  .desktop-search-bar,
  .header-how-link {
    display: none !important;
  }

  .mobile-search-trigger {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions a,
  .mobile-search-trigger {
    font-size: 0;
    gap: 0;
  }

  .account-auth-panel {
    width: 100%;
    min-width: 0;
    padding: 24px 16px 20px;
  }

  .account-inline-actions {
    grid-template-columns: 1fr;
  }
}

/* ========== HEADER, SEARCH, AUTH FINAL OVERRIDES ========== */
header {
  position: relative;
  z-index: 2;
}

nav {
  position: relative;
  z-index: 1;
}

#site-header.desktop-nav-hidden nav {
  transform: translateY(calc(-100% - 8px));
  opacity: 1;
}

.header-inner {
  max-width: none;
  width: 100%;
  padding: 0 28px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px) minmax(0, 1fr);
  gap: 18px;
  height: 72px;
}

.mobile-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  justify-self: start;
}

.logo {
  align-items: center;
  gap: 12px;
  font-size: 0;
  white-space: nowrap;
}

.logo-image {
  height: 34px;
  width: auto;
}

.desktop-search-bar {
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

.search-bar {
  border-color: rgba(220, 20, 60, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.search-bar:focus-within {
  border-color: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.18);
}

.search-bar input::placeholder {
  color: #7a8aa3;
}

.header-actions {
  justify-self: end;
  gap: 18px;
}

.header-actions a,
.mobile-search-trigger {
  color: var(--text-muted);
}

.header-actions a:hover,
.mobile-search-trigger:hover {
  color: #DC143C;
}

.header-how-link {
  display: inline-flex;
}

.mobile-search-trigger {
  display: none;
  border: none;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.mobile-search-trigger svg {
  width: 22px;
  height: 22px;
}

.a-plus-btn {
  background: #DC143C;
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.22);
}

.a-plus-btn:hover,
.a-plus-btn:focus-visible {
  background: #A30F2D !important;
}

.search-suggestions {
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 24px 42px rgba(26, 50, 99, 0.14);
}

.search-suggestion,
.mobile-search-result {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.search-suggestion {
  padding: 12px;
  border-radius: 16px;
}

.search-suggestion:hover {
  background: rgba(220, 20, 60, 0.06);
}

.search-result-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 20, 60, 0.1);
  color: #DC143C;
  flex-shrink: 0;
}

.search-result-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.search-result-copy strong {
  font-size: 14px;
  font-weight: 800;
  color: #132647;
}

.search-result-copy small {
  font-size: 12px;
  line-height: 1.45;
  color: #67768d;
}

.search-match {
  color: #DC143C;
  font-weight: 800;
  background: rgba(220, 20, 60, 0.12);
  border-radius: 5px;
  padding: 0 2px;
}

.mobile-search-overlay[hidden] {
  display: none !important;
}

.mobile-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1750;
  padding: 80px 12px 16px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.mobile-search-overlay.is-visible {
  opacity: 1;
}

.mobile-search-panel {
  width: min(100%, 620px);
  margin: 0 auto;
  background: rgba(252, 250, 247, 0.98);
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.mobile-search-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.mobile-search-toast-bar {
  max-width: none;
  width: 100%;
}

.mobile-search-close {
  border: none;
  background: transparent;
  color: #132647;
  font-size: 30px;
  line-height: 1;
  padding: 0;
}

.mobile-search-copy {
  padding: 0 18px 10px;
}

.mobile-search-copy h3 {
  font-size: 24px;
  font-weight: 900;
  color: #132647;
}

.mobile-search-copy p {
  margin-top: 6px;
  color: #66768d;
  line-height: 1.5;
}

.mobile-search-results {
  display: grid;
  gap: 10px;
  padding: 0 14px 16px;
  max-height: min(62vh, 470px);
  overflow-y: auto;
}

.mobile-search-result {
  border: 1px solid rgba(26, 50, 99, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}

.mobile-search-result:hover {
  border-color: rgba(220, 20, 60, 0.24);
  background: #f8fbff;
}

.mobile-search-empty {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  color: #66768d;
  text-align: center;
}

.account-auth-panel {
  width: min(32vw, 470px);
  min-width: 360px;
  padding: 30px 20px 24px;
}

.account-auth-copy {
  text-align: left;
  margin: 28px 0 18px;
}

.account-auth-heading {
  font-size: 34px;
  margin-bottom: 6px;
}

.account-auth-subtext {
  max-width: 360px;
}

.account-auth-methods {
  gap: 16px;
}

.account-auth-method-card {
  padding: 18px;
  border-radius: 24px;
}

.account-email-form-wrap,
.account-email-form-wrap.is-open {
  max-height: none;
  opacity: 1;
  margin-top: 0;
  overflow: visible;
}

.account-email-form {
  gap: 14px;
}

.account-auth-secondary {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.account-inline-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-inline-actions button {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 800;
}

.account-mode-switch,
.account-forgot-password {
  color: var(--brand-ink);
}

.account-submit-btn.account-submit-signin {
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%);
  color: #fff;
}

.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%);
  color: #fff;
}

.account-submit-btn.has-jimu-loader .account-btn-label {
  opacity: 0;
}

.loader {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.jimu-primary-loading:before,
.jimu-primary-loading:after {
  position: absolute;
  top: 0;
  content: '';
}

.jimu-primary-loading:before {
  left: -19.992px;
}

.jimu-primary-loading:after {
  left: 19.992px;
  animation-delay: 0.32s !important;
}

.jimu-primary-loading:before,
.jimu-primary-loading:after,
.jimu-primary-loading {
  background: #DC143C;
  animation: loading-keys-app-loading 0.8s infinite ease-in-out;
  width: 13.6px;
  height: 32px;
}

.jimu-primary-loading {
  text-indent: -9999em;
  margin: auto;
  position: absolute;
  right: calc(50% - 6.8px);
  top: calc(50% - 16px);
  animation-delay: 0.16s !important;
}

@keyframes loading-keys-app-loading {
  0%,
  80%,
  100% {
    opacity: 0.75;
    box-shadow: 0 0 #DC143C;
    height: 32px;
  }

  40% {
    opacity: 1;
    box-shadow: 0 -8px #DC143C;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    height: 22px;
  }

  .desktop-search-bar,
  .header-how-link {
    display: none !important;
  }

  .mobile-search-trigger {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions a,
  .mobile-search-trigger {
    font-size: 0;
    gap: 0;
  }

  .header-actions a svg,
  .mobile-search-trigger svg {
    width: 20px;
    height: 20px;
  }

  .mobile-search-overlay {
    padding: 72px 10px 14px;
  }

  .mobile-search-copy h3 {
    font-size: 22px;
  }

  .mobile-search-results {
    max-height: calc(100vh - 220px);
  }

  .account-auth-panel {
    width: 100%;
    min-width: 0;
    padding: 24px 16px 20px;
  }

  .account-inline-actions {
    grid-template-columns: 1fr;
  }
}

/* ========== HOMEPAGE FINAL OVERRIDES ========== */
header .logo {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  width: auto;
  height: 52px;
  object-fit: contain;
  display: block;
}

.homepage-main {
  padding-bottom: 56px;
}

.categories-section.homepage-categories {
  margin-top: 54px;
  margin-bottom: 44px;
}

.homepage-categories .section-title {
  text-align: center;
  margin-bottom: 34px;
}

.homepage-categories .category-circles {
  gap: 18px;
}

.homepage-categories .category-circle {
  min-width: 132px;
  padding: 14px 10px 16px;
}

.homepage-categories .category-circle-img {
  width: 112px;
  height: 112px;
  background: linear-gradient(180deg, #ffffff 0%, #f4efe9 100%);
  border: 1px solid rgba(26, 50, 99, 0.08);
}

.homepage-categories .category-circle:hover {
  background: rgba(220, 20, 60, 0.08);
}

.homepage-categories .category-circle span {
  max-width: 120px;
  font-size: 13px;
  line-height: 1.35;
}

.fleece-banner.homepage-banner {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: block;
  min-height: 540px;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #a8ddef 0%, #7bc8e4 46%, #57b4d6 100%);
  box-shadow: 0 26px 48px rgba(26, 50, 99, 0.12);
}

.homepage-banner .fleece-banner-img {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(62%, 900px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
}

.homepage-banner .fleece-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
}

.homepage-banner .fleece-banner-content {
  display: block;
  position: absolute;
  top: 50%;
  right: 44px;
  transform: translateY(-50%);
  width: min(420px, calc(100% - 110px));
  padding: 42px 40px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(26, 50, 99, 0.16);
}

.homepage-banner .fleece-banner-content h2 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  color: var(--brand-ink);
}

.homepage-banner .fleece-banner-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.homepage-banner .fleece-btns {
  margin-top: 6px;
}

.homepage-banner .btn-primary {
  min-width: 172px;
}

.homepage-banner .fleece-secondary {
  border-color: var(--brand-ink);
}

@media (max-width: 768px) {
  .logo-image {
    height: 38px;
  }

  .homepage-main {
    padding-bottom: 40px;
  }

  .categories-section.homepage-categories {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .homepage-categories .category-circle {
    min-width: 102px;
    padding: 8px 4px 10px;
  }

  .homepage-categories .category-circle-img {
    width: 84px;
    height: 84px;
  }

  .fleece-banner.homepage-banner {
    min-height: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }

  .homepage-banner .fleece-banner-img {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0;
  }

  .homepage-banner .fleece-banner-img img {
    height: 300px;
    object-fit: cover;
  }

  .homepage-banner .fleece-banner-content {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    margin: 0 16px 20px;
    padding: 26px 22px;
    text-align: left;
  }

  .homepage-banner .fleece-banner-content h2,
  .homepage-banner .fleece-banner-content p,
  .homepage-banner .fleece-btns {
    width: auto;
    padding: 0;
    text-align: left;
  }

  .homepage-banner .fleece-btns {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .homepage-banner .fleece-btns .btn-primary,
  .homepage-banner .fleece-btns .fleece-secondary {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ========== HOMEPAGE IMAGE LAYOUT ========== */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  width: auto;
  height: 52px;
  object-fit: contain;
  display: block;
}

.homepage-main {
  padding-bottom: 56px;
}

.homepage-categories {
  margin-top: 54px;
  margin-bottom: 44px;
  position: relative;
  overflow-x: clip;
}

.homepage-categories .section-title {
  text-align: center;
  margin-bottom: 34px;
}

.homepage-categories .category-circles {
  gap: 18px;
}

.homepage-categories .category-circle {
  min-width: 132px;
  padding: 14px 10px 16px;
}

.homepage-categories .category-circle-img {
  width: 112px;
  height: 112px;
  background: linear-gradient(180deg, #ffffff 0%, #f4efe9 100%);
  border: 1px solid rgba(26, 50, 99, 0.08);
}

.homepage-categories .category-circle:hover {
  background: rgba(220, 20, 60, 0.08);
}

.homepage-categories .category-circle span {
  max-width: 120px;
  font-size: 13px;
  line-height: 1.35;
}

.homepage-banner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #a8ddef 0%, #7bc8e4 46%, #57b4d6 100%);
  box-shadow: 0 26px 48px rgba(26, 50, 99, 0.12);
}

.homepage-banner .fleece-banner-img {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(58%, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 32px 0 0 34px;
}

.homepage-banner .fleece-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.homepage-banner .fleece-banner-content {
  right: 44px;
  width: min(420px, calc(100% - 110px));
  padding: 42px 40px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(26, 50, 99, 0.16);
}

.homepage-banner .fleece-banner-content h2 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  color: var(--brand-ink);
}

.homepage-banner .fleece-banner-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.homepage-banner .fleece-btns {
  margin-top: 6px;
}

.homepage-banner .btn-primary {
  min-width: 172px;
}

.homepage-banner .fleece-secondary {
  border-color: var(--brand-ink);
}

@media (max-width: 768px) {
  .logo-image {
    height: 38px;
  }

  .homepage-main {
    padding-bottom: 40px;
  }

  .homepage-categories {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .homepage-categories .category-circles {
    width: max-content;
    min-width: max-content;
    max-width: none;
    gap: 8px;
    overflow: hidden;
    flex-wrap: nowrap;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  .homepage-categories .category-circle {
    min-width: 88px;
    padding: 6px 2px 8px;
  }

  .homepage-categories .category-circle-img {
    width: 72px;
    height: 72px;
  }

  .homepage-categories .category-circle span {
    max-width: 76px;
    font-size: 11px;
  }

  .homepage-banner {
    display: block;
    min-height: 0;
    margin: 0 16px;
    border-radius: 24px;
  }

  .homepage-banner .fleece-banner-img {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 20px 16px 0;
  }

  .homepage-banner .fleece-banner-img img {
    height: 260px;
  }

  .homepage-banner .fleece-banner-content {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    margin: 0 16px 20px;
    padding: 26px 22px;
    text-align: center;
  }

  .homepage-banner .fleece-banner-content h2,
  .homepage-banner .fleece-banner-content p,
  .homepage-banner .fleece-btns {
    width: auto;
    padding: 0;
    text-align: center;
  }

  .homepage-banner .fleece-btns {
    flex-wrap: wrap;
    justify-content: center;
  }

  .homepage-banner .fleece-btns .btn-primary,
  .homepage-banner .fleece-btns .fleece-secondary {
    flex: 1 1 0;
    min-width: 0;
  }
}

@keyframes homepage-categories-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cart-drawer-overlay[hidden] {
  display: none !important;
}
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.28);
  z-index: 1850;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.cart-drawer-overlay.is-visible {
  opacity: 1;
}
.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 50px rgba(17, 17, 17, 0.18);
}
.cart-drawer-overlay.is-visible .cart-drawer {
  transform: translateX(0);
}
.cart-drawer-header,
.cart-drawer-progress,
.cart-drawer-footer {
  padding: 18px 16px;
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ececec;
}
.cart-drawer-header h2 {
  font-size: 20px;
  font-weight: 900;
}
.cart-drawer-close {
  border: none;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: #111827;
}
.cart-drawer-progress {
  border-bottom: 1px solid #f0f0f0;
}
.cart-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #ececec;
  overflow: hidden;
}
.cart-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}
.cart-progress-copy {
  margin-top: 12px;
  color: #8b5e34;
  font-size: 14px;
  font-weight: 700;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 16px 16px;
}
.cart-line-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}
.cart-line-media {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1.2;
}
.cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-line-content {
  min-width: 0;
}
.cart-line-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cart-line-head h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}
.cart-line-head p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.4;
}
.cart-line-remove {
  border: none;
  background: transparent;
  color: #b6b8c0;
  font-size: 13px;
  white-space: nowrap;
}
.cart-line-controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-line-controls strong {
  font-size: 16px;
  font-weight: 900;
  color: #111827;
}
.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.cart-qty-control button,
.cart-qty-control span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-qty-control button {
  border: none;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
  font-weight: 500;
}
.cart-qty-control span {
  font-weight: 800;
  background: #fff;
}
.cart-drawer-footer {
  border-top: 1px solid #ececec;
  background: #fff;
}
.cart-drawer-subtotal,
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-drawer-subtotal span,
.cart-summary-row span {
  color: #6b7280;
  font-size: 15px;
}
.cart-drawer-subtotal strong,
.cart-summary-row strong {
  font-size: 18px;
  font-weight: 900;
}
.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.cart-drawer-view-btn,
.cart-drawer-checkout-btn,
.cart-summary-checkout,
.cart-page-continue,
.wishlist-action-btn,
.checkout-pay-btn {
  min-height: 48px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.cart-drawer-view-btn {
  border: 1px solid #111827;
  background: #fff;
  color: #111827;
}
.cart-drawer-checkout-btn,
.cart-summary-checkout,
.wishlist-action-btn,
.checkout-pay-btn,
.cart-page-continue {
  border: none;
  background: #14ae4b;
  color: #fff;
}
.cart-empty-state,
.cart-page-empty {
  text-align: center;
  padding: 52px 18px;
}
.cart-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(45, 179, 74, 0.1);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.cart-empty-state h3,
.cart-page-empty h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
}
.cart-empty-state p,
.cart-page-empty p {
  color: #6b7280;
  line-height: 1.5;
}

.wishlist-products {
  margin-bottom: 44px;
}
.wishlist-products h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
}
.wishlist-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wishlist-product-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.06);
}
.wishlist-product-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
}
.wishlist-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wishlist-product-copy {
  padding: 16px;
}
.wishlist-product-copy h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.wishlist-product-copy p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 4px;
}
.wishlist-product-copy strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #111827;
  margin-top: 12px;
}
.wishlist-product-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.wishlist-action-btn,
.wishlist-secondary-btn {
  flex: 1;
}
.wishlist-secondary-btn {
  min-height: 48px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-weight: 800;
  font-size: 14px;
}

.cart-page,
.checkout-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px 24px 72px;
}
.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}
.cart-page-main,
.cart-summary-card,
.checkout-main,
.checkout-sidebar {
  border: 1px solid #e5e7eb;
  background: #fff;
}
.cart-page-main {
  padding: 22px;
}
.cart-page-main h1 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
}
.cart-summary-card {
  padding: 22px;
}
.cart-summary-card + .cart-summary-card {
  margin-top: 22px;
}
.cart-summary-card p,
.cart-summary-count,
.checkout-order-meta,
.checkout-summary-note {
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
}
.cart-summary-checkout.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}
.cart-summary-safe {
  width: fit-content;
  margin: 26px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 13px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: start;
}
.checkout-main {
  padding: 28px;
}
.checkout-sidebar {
  padding: 24px;
  position: sticky;
  top: 110px;
}
.checkout-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 28px;
}
.checkout-account-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.checkout-account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkout-delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #f3f4f6;
  border-radius: 16px;
  padding: 4px;
  margin-bottom: 28px;
}
.checkout-toggle-btn {
  min-height: 84px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}
.checkout-toggle-btn.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.1);
}
.checkout-section {
  margin-bottom: 28px;
}
.checkout-section h2 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}
.checkout-section p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
}
.checkout-location-btn,
.checkout-search-row button,
.checkout-discount-row button {
  min-height: 50px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}
.checkout-location-btn {
  width: 100%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #14ae4b;
  margin-bottom: 14px;
}
.checkout-form-grid,
.checkout-search-row,
.checkout-city-row,
.checkout-discount-row {
  display: grid;
  gap: 14px;
}
.checkout-search-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.checkout-city-row {
  grid-template-columns: minmax(0, 1fr) 160px 160px;
}
.checkout-form-grid.two-col {
  grid-template-columns: 1fr 1fr;
}
.checkout-main input,
.checkout-main select,
.checkout-sidebar input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  font-family: 'Google Sans', sans-serif;
}
.checkout-help-box {
  min-height: 58px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
}
.checkout-payment-options,
.checkout-billing-options {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  overflow: hidden;
}
.checkout-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}
.checkout-option:first-child {
  border-top: none;
}
.checkout-option.is-selected {
  background: rgba(20, 174, 75, 0.05);
  border-color: #14ae4b;
}
.checkout-option-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkout-option.is-selected .checkout-option-radio {
  border-color: #14ae4b;
}
.checkout-option.is-selected .checkout-option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14ae4b;
}
.checkout-payment-copy {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  line-height: 1.5;
}
.checkout-note-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  font-size: 15px;
}
.checkout-sidebar h2 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}
.checkout-order-list {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.checkout-order-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.checkout-order-media {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.checkout-order-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-order-media span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkout-order-copy h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.checkout-order-copy p {
  color: #6b7280;
  font-size: 13px;
  margin-top: 4px;
}
.checkout-discount-row {
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 20px 0;
}
.checkout-discount-row button,
.checkout-search-row button {
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #6b7280;
  padding: 0 20px;
}
.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 15px;
}
.checkout-total-row {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.checkout-total-row strong {
  font-size: 18px;
  font-weight: 900;
}
.checkout-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 38px;
}
.checkout-footer-links a {
  color: #16a34a;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .wishlist-products-grid,
  .cart-page-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .wishlist-btn {
    bottom: 52px;
  }
  .cart-page,
  .checkout-page {
    padding: 24px 16px 48px;
  }
  .cart-page-main,
  .cart-summary-card,
  .checkout-main,
  .checkout-sidebar {
    padding: 18px;
  }
  .wishlist-products-grid,
  .checkout-form-grid.two-col,
  .checkout-city-row,
  .checkout-delivery-toggle,
  .cart-drawer-actions {
    grid-template-columns: 1fr;
  }
  .checkout-search-row,
  .checkout-discount-row {
    grid-template-columns: 1fr;
  }
  .cart-line-item,
  .checkout-order-item {
    grid-template-columns: 1fr;
  }
  .cart-line-media,
  .checkout-order-media {
    width: 92px;
    height: 92px;
  }
  .cart-drawer {
    width: 100vw;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Google Sans', sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "GRAD" 0;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

body > * {
  transition: filter 0.28s ease, opacity 0.28s ease;
}

body:has(.nav-item:hover .mega-dropdown) > *:not(#site-header) {
  filter: blur(6px);
  opacity: 0.55;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-nav-brand {
  display: none;
}

.mobile-bottom-nav-shell {
  display: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Google Sans', sans-serif; }

/* ========== HEADER ========== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: max-content minmax(320px, 1fr) max-content;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.mobile-header-left {
  display: contents;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Google Sans', sans-serif;
  font-size: 31px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.06em;
  line-height: 1;
  justify-self: start;
}
.logo-soft { color: var(--green); }
.logo-giggles { color: var(--black); }

.logo-centered {
  justify-self: center;
}

.home-page-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.home-page-header .header-inner {
  grid-template-columns: 1fr;
  justify-items: center;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--text-dark);
  background: transparent;
  padding: 0;
}
.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.search-bar {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  display: flex;
  align-items: center;
  border: 2px solid var(--mid-gray);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar:focus-within {
  border-color: var(--green);
  box-shadow: 0 10px 22px rgba(45, 179, 74, 0.12);
}
.search-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 16px;
  flex-shrink: 0;
}
.search-icon svg {
  width: 18px;
  height: 18px;
}
.search-bar input {
  border: none; outline: none;
  padding: 10px 16px 10px 12px;
  font-size: 14px;
  font-family: 'Google Sans', sans-serif;
  width: 100%;
  background: transparent;
}
.search-suggestions[hidden],
.search-coming-overlay[hidden] {
  display: none !important;
}
.search-suggestions {
  position: absolute;
  z-index: 1500;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 8px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-4px) scale(0.985);
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.22s ease;
}
.search-suggestions.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.search-suggestion {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #1f2937;
  font-size: 14px;
  text-align: left;
  transition: background 0.16s ease;
}
.search-suggestion:hover,
.search-suggestion:focus-visible,
.mobile-search-result:hover,
.mobile-search-result:focus-visible {
  background: #f8f9fb;
}
.search-result-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f4;
  color: #5f6368;
  flex-shrink: 0;
  font-size: 14px;
}
.search-result-icon.is-provider {
  background: #e8f0fe;
  color: #DC143C;
}
.search-result-icon.is-service {
  background: #eef7ef;
  color: #188038;
}
.search-result-icon.is-category {
  background: #fef7e0;
  color: #b06000;
}
.search-result-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.search-result-copy strong {
  font-size: 14px;
  font-weight: 600;
  color: #202124;
  line-height: 1.35;
}
.search-result-copy small {
  font-size: 12px;
  line-height: 1.4;
  color: #5f6368;
}
.search-result-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #80868b;
  flex-shrink: 0;
}
.search-match {
  color: #DC143C;
  font-weight: 800;
  background: transparent;
}
.search-suggestion.is-empty {
  color: #6b7280;
  justify-content: center;
  min-height: 56px;
}
.mobile-search-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}
.mobile-search-results {
  display: grid;
  gap: 0;
  padding: 0 10px 12px;
  max-height: min(62vh, 470px);
  overflow-y: auto;
}
.mobile-search-result {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
}
.mobile-search-empty {
  padding: 20px 18px 22px;
  color: #5f6368;
  text-align: center;
  background: transparent;
}
.search-coming-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1600;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.search-coming-overlay.is-visible {
  opacity: 1;
}
.search-coming-dialog {
  position: relative;
  width: min(360px, calc(100vw - 32px));
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.18);
}
.search-coming-dialog h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #111111;
}
.search-coming-dialog p {
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}
.search-coming-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #111111;
}

.mobile-search-row {
  display: none;
}

.mobile-nav-overlay,
.mobile-nav-close {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  justify-self: end;
}
.account-menu-host {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  gap: 3px;
  transition: color 0.2s;
}
.header-actions a:hover { color: var(--green); }
.header-actions a svg { width: 22px; height: 22px; }
.account-trigger-icon {
  position: relative;
  display: inline-flex;
}
.header-actions .cart-icon { position: relative; }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--green);
  color: white;
  font-size: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

.account-job-badge,
.account-dropdown-badge {
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-job-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.account-dropdown-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.a-plus-btn {
  background: var(--green);
  color: white !important;
  border-radius: 8px;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 700;
  flex-direction: row !important;
  gap: 6px !important;
  white-space: nowrap;
}
.a-plus-btn:hover { background: var(--green-dark) !important; color: white !important; }
.account-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 230px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1400;
}
.account-menu-host.is-open .account-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.account-dropdown-greeting {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
  text-align: left;
}
.account-dropdown-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 16px !important;
  color: #111827 !important;
}
.account-dropdown-item i {
  width: 18px;
  text-align: center;
  color: #111827;
}
.account-dropdown-item:hover {
  background: #f8fafc;
  color: var(--green) !important;
}
.account-dropdown-logout {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.account-auth-overlay[hidden] {
  display: none !important;
}
.account-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  z-index: 1800;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.account-auth-overlay.is-visible {
  opacity: 1;
}
.account-auth-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(30vw, 480px);
  min-width: 360px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: -20px 0 60px rgba(17, 17, 17, 0.18);
  padding: 22px 18px 28px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.account-auth-overlay.is-visible .account-auth-panel {
  transform: translateX(0);
}
.account-auth-close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: #111827;
}
.account-auth-panel h2 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 18px;
  color: #111827;
}
.account-auth-hero {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
}
.account-auth-hero img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.account-auth-copy {
  text-align: center;
  margin-bottom: 18px;
}
.account-auth-heading {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #111827;
}
.account-auth-subtext {
  font-size: 16px;
  line-height: 1.5;
  color: #4b5563;
}
.account-auth-actions {
  display: grid;
  gap: 12px;
}
.account-auth-methods {
  display: grid;
  gap: 14px;
}
.account-auth-method-card {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.26s ease, margin 0.22s ease, padding 0.22s ease, border-width 0.22s ease;
}
.account-auth-method-card.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  pointer-events: none;
  box-shadow: none;
}
.account-method-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 10px;
}
.account-method-divider {
  position: relative;
  text-align: center;
  margin: 2px 0;
  transition: opacity 0.22s ease, max-height 0.22s ease, margin 0.22s ease;
}
.account-method-divider.is-hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}
.account-method-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e5e7eb;
}
.account-method-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.98);
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.account-auth-btn,
.account-submit-btn,
.account-guest-open {
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.account-google-btn {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #111827;
  border: 1px solid #e5e7eb;
}
.google-mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.google-g {
  width: 18px;
  height: 18px;
  display: block;
}
.account-email-toggle,
.account-submit-btn,
.account-guest-open {
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
}
.account-submit-btn.account-submit-signin {
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
}
.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, #2db34a 0%, #1e8c39 100%);
  color: #ffffff;
}
.account-auth-btn.is-loading,
.account-submit-btn.is-loading,
.provider-onboarding-submit.is-loading {
  pointer-events: none;
  opacity: 0.88;
}
.account-auth-btn.is-loading span,
.account-submit-btn.is-loading span,
.provider-onboarding-submit.is-loading span,
.account-auth-btn.is-loading i,
.account-submit-btn.is-loading i,
.provider-onboarding-submit.is-loading i {
  opacity: 0;
}
.account-auth-btn.is-loading::after,
.account-submit-btn.is-loading::after,
.provider-onboarding-submit.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: currentColor;
  animation: account-spin 0.75s linear infinite;
}

.account-submit-btn.has-jimu-loader::after {
  content: none;
}

.account-submit-btn.has-jimu-loader {
  opacity: 1;
  overflow: hidden;
}

.account-submit-btn.has-jimu-loader .loader {
  pointer-events: none;
}
.account-google-btn.is-loading::after {
  border-color: rgba(17, 24, 39, 0.18);
  border-top-color: #111827;
}
.account-auth-btn,
.account-submit-btn {
  position: relative;
}

.provider-onboarding-submit {
  position: relative;
}
@keyframes account-spin {
  to { transform: rotate(360deg); }
}
.account-email-form-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.account-phone-form-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.account-phone-form-wrap.is-open,
.account-email-form-wrap.is-open {
  max-height: 480px;
  opacity: 1;
  margin-top: 16px;
}
.account-phone-form,
.account-email-form {
  display: grid;
  gap: 12px;
}
.account-change-method {
  justify-self: start;
  border: none;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  padding: 0;
}
.account-form-row {
  display: grid;
  gap: 8px;
}

.account-form-row[hidden] {
  display: none !important;
}

.account-form-row label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.account-form-row input {
  width: 100%;
  border: 1px solid #dfe3ea;
  border-radius: 4px;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}
.account-form-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 179, 74, 0.1);
}

.account-form-error {
  padding: 11px 12px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 4px;
  background: rgba(254, 242, 242, 0.96);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.account-form-error[hidden] {
  display: none !important;
}
.account-auth-switch-copy {
  margin-top: 18px;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
}
.account-mode-switch {
  border: none;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
}
.account-auth-note {
  margin-top: 12px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
}
.account-success-toast[hidden] {
  display: none !important;
}
.account-success-toast {
  position: fixed;
  left: 50%;
  top: 18px;
  bottom: auto;
  transform: translateX(-50%) translateY(-16px);
  z-index: 1900;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.account-success-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.account-success-toast-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.22);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 700;
}
.account-success-toast-inner i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  font-size: 11px;
}
.account-auth-hint {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}
#account-recaptcha-container {
  min-height: 2px;
}

/* ========== NAV ========== */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  box-shadow: 0 8px 22px rgba(17,17,17,0.08);
  position: relative;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  will-change: transform, opacity;
}

@media (min-width: 769px) {
  .home-page-body #site-header > nav {
    display: block;
  }
}

header {
  box-shadow: none !important;
  border-bottom: none !important;
}

.header-inner {
  box-shadow: none !important;
}

.homepage-categories-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.homepage-categories-view-more.secondary {
  background: #eef4ff;
  color: #A30F2D;
}

.home-job-cta {
  margin: 40px auto 72px;
  max-width: 1180px;
  padding: 38px 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(61, 169, 252, 0.14), transparent 34%),
    linear-gradient(135deg, #0f1f45 0%, #A30F2D 52%, #0d2349 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 28px 60px rgba(13, 35, 73, 0.22);
}

.home-job-cta-copy {
  text-align: center;
}

.home-job-cta-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-job-cta h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.home-job-cta p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.home-job-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.home-job-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 200px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-job-cta .btn-primary.home-job-cta-btn {
  border-color: transparent;
}

.home-job-cta .btn-primary.home-job-cta-btn:hover {
  transform: translateY(-2px);
}

.home-job-cta .btn-secondary.home-job-cta-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  box-shadow: none;
}

.home-job-cta .btn-secondary.home-job-cta-btn:hover,
.home-job-cta .btn-secondary.home-job-cta-btn:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #A30F2D;
  transform: translateY(-2px);
}

.job-page-shell,
.job-giver-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.job-post-page,
.job-posts-page,
.job-giver-page {
  min-height: calc(100vh - 320px);
}

.job-page-hero {
  text-align: center;
  padding: 28px 18px 8px;
}

.job-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(23, 50, 108, 0.08);
  color: #A30F2D;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-page-kicker-jobs-count {
  padding: 10px 16px;
  background: rgba(84, 119, 146, 0.14);
  border: 1px solid rgba(84, 119, 146, 0.28);
  color: #1f5f3e;
  text-transform: none;
  letter-spacing: 0.01em;
}

.job-page-kicker-jobs-count strong {
  min-width: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #3f8f63;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.job-page-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.job-page-hero p {
  width: min(720px, 100%);
  margin: 0 auto;
  color: #58657a;
  font-size: 18px;
}

.job-page-hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.job-skeleton-block {
  display: block;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(225, 232, 245, 0.95) 0%, rgba(244, 247, 252, 0.98) 50%, rgba(225, 232, 245, 0.95) 100%);
  background-size: 220% 100%;
  animation: job-skeleton-shimmer 1.3s linear infinite;
}

.job-skeleton-pill {
  width: 146px;
  height: 34px;
  border-radius: 999px;
}

.job-skeleton-title {
  width: min(640px, 100%);
  height: clamp(42px, 5vw, 64px);
  margin: 16px auto 10px;
}

.job-skeleton-copy {
  width: min(720px, 100%);
  height: 18px;
  margin: 0 auto;
}

.job-skeleton-copy.short {
  width: min(520px, 84%);
  margin-top: 10px;
}

.job-skeleton-button {
  width: 192px;
  height: 52px;
  border-radius: 18px;
}

.job-skeleton-button.secondary {
  width: 182px;
}

.job-skeleton-form {
  pointer-events: none;
}

.job-skeleton-label {
  width: 108px;
  height: 14px;
}

.job-skeleton-input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
}

.job-skeleton-textarea {
  width: 100%;
  height: 148px;
  border-radius: 20px;
}

.job-skeleton-textarea.small {
  height: 110px;
}

.job-skeleton-auth {
  pointer-events: none;
}

.job-skeleton-auth-row,
.job-skeleton-filter-row,
.job-skeleton-inline,
.job-skeleton-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.job-skeleton-auth-row {
  justify-content: space-between;
}

.job-skeleton-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.job-skeleton-chip {
  width: 124px;
  height: 40px;
  border-radius: 999px;
}

.job-skeleton-search {
  flex: 1 1 320px;
  min-width: 280px;
  height: 56px;
  border-radius: 18px;
}

.job-skeleton-heading {
  width: 220px;
  height: 26px;
}

.job-skeleton-count {
  width: 88px;
  height: 18px;
}

.job-card-skeleton {
  pointer-events: none;
}

.job-skeleton-price {
  width: 96px;
  height: 24px;
}

.job-skeleton-pill.light {
  width: 118px;
  height: 30px;
}

.job-skeleton-card-title {
  width: 72%;
  height: 30px;
}

.job-skeleton-meta-line {
  width: 100%;
  height: 16px;
}

.job-skeleton-meta-line.short {
  width: 62%;
}

@keyframes job-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.job-post-form,
.job-board-toolbar,
.job-group,
.job-giver-dashboard,
.job-post-signed-in-card,
.job-auth-card,
.job-modal-panel {
  background: #fff;
  border: 1px solid rgba(23, 50, 108, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(14, 29, 58, 0.08);
}

.job-owner-card {
  background: #fff;
  border: 1px solid rgba(23, 50, 108, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(14, 29, 58, 0.06);
}

.job-post-form {
  margin-top: 28px;
  padding: 28px;
}

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

.job-form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-form-field.is-wide {
  grid-column: 1 / -1;
}

.job-form-field span {
  font-weight: 700;
  color: #102347;
}

.job-form-field input,
.job-form-field select,
.job-form-field textarea,
.job-auth-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 50, 108, 0.14);
  background: #fbfcff;
  font: inherit;
  color: #14284d;
}

.job-form-field input::placeholder,
.job-form-field textarea::placeholder,
.job-combobox-input::placeholder,
.job-auth-field input::placeholder {
  color: #7a879d;
}

.job-combobox {
  position: relative;
}

.job-combobox-shell {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(23, 50, 108, 0.14);
  background: #fbfcff;
  overflow: hidden;
}

.job-combobox:focus-within .job-combobox-shell,
.job-combobox.is-open .job-combobox-shell {
  border-color: #A30F2D;
  box-shadow: 0 0 0 4px rgba(23, 50, 108, 0.1);
}

.job-combobox-leading,
.job-combobox-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #A30F2D;
}

.job-combobox-leading {
  font-size: 16px;
}

.job-combobox-toggle {
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 13px;
}

.job-combobox-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: #14284d;
  outline: none;
}

.job-combobox-menu[hidden] {
  display: none !important;
}

.job-combobox-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(23, 50, 108, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(14, 29, 58, 0.14);
  backdrop-filter: blur(18px);
}

.job-combobox-option {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  text-align: left;
}

.job-combobox-option:hover {
  background: #f5f8ff;
}

.job-combobox-option-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(23, 50, 108, 0.08);
  color: #A30F2D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.job-combobox-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-combobox-option-title {
  color: #102347;
  font-weight: 700;
  line-height: 1.35;
}

.job-combobox-option-title strong,
.job-combobox-option-subtitle strong {
  color: #0b63ce;
  font-weight: 800;
}

.job-combobox-option-subtitle {
  color: #6a778e;
  font-size: 13px;
  line-height: 1.35;
}

.job-combobox-empty {
  padding: 18px 16px;
  color: #6a778e;
  font-size: 14px;
}

.job-form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.job-post-form-actions,
.job-modal-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.job-post-form-actions > * {
  flex: 1 1 220px;
}

.job-post-form .btn-primary,
.job-auth-submit,
.job-bid-form .btn-primary,
.job-giver-edit-form .btn-primary {
  position: relative;
}

.job-post-form .btn-primary.is-loading,
.job-auth-submit.is-loading,
.job-bid-form .btn-primary.is-loading,
.job-giver-edit-form .btn-primary.is-loading {
  color: transparent !important;
  pointer-events: none;
}

.job-post-form .btn-primary.is-loading::after,
.job-auth-submit.is-loading::after,
.job-bid-form .btn-primary.is-loading::after,
.job-giver-edit-form .btn-primary.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  animation: account-spin 0.7s linear infinite;
}

.job-post-signed-in-card,
.job-auth-card {
  margin-top: 22px;
  padding: 22px;
}

.job-post-signed-in-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(135deg, #f7faff 0%, #eef4ff 100%);
}

.job-auth-head,
.job-auth-mode-switch,
.job-auth-id-switch,
.job-board-toolbar,
.job-card-top,
.job-group-head,
.job-owner-card-head,
.job-bidder-actions,
.job-giver-dashboard-head {
  display: flex;
  align-items: center;
}

.job-auth-head,
.job-group-head,
.job-owner-card-head,
.job-giver-dashboard-head {
  justify-content: space-between;
  gap: 18px;
}

.job-owner-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 12px;
}

.job-owner-card-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.job-owner-card-head strong {
  font-size: 16px;
  color: #15803d;
  font-weight: 800;
}

.job-auth-head h3,
.job-giver-dashboard-head h2 {
  margin: 4px 0 0;
}

.job-auth-kicker {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f6f8a;
}

.job-auth-mode-switch,
.job-auth-id-switch,
.job-board-filters {
  gap: 10px;
  flex-wrap: wrap;
}

.job-board-toolbar-actions,
.job-board-view-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.job-auth-mode-switch button,
.job-auth-id-switch button,
.job-board-filters button,
.job-board-view-toggle button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 50, 108, 0.12);
  background: #f5f7fb;
  color: #A30F2D;
  font-weight: 700;
}

.job-auth-mode-switch button.is-active,
.job-auth-id-switch button.is-active,
.job-board-filters button.is-active,
.job-board-view-toggle button.is-active {
  background: #A30F2D;
  color: #fff;
  border-color: #A30F2D;
}

.job-board-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.job-board-view-toggle button i {
  color: #0b63ce;
}

.job-board-view-toggle button.is-active i {
  color: currentColor;
}

.job-auth-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.job-auth-field:first-child {
  grid-column: 1 / -1;
}

.job-auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-auth-field[hidden] {
  display: none !important;
}

.job-auth-field span,
.job-auth-note {
  color: #5b6980;
}

.job-auth-submit {
  margin-top: 18px;
}

.job-board-toolbar {
  margin: 28px 0 18px;
  padding: 18px 22px;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.job-board-search {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7f9fc;
  border: 1px solid rgba(23, 50, 108, 0.08);
}

.job-board-search input {
  border: none;
  background: transparent;
  width: 100%;
  font: inherit;
}

.job-board-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.job-group {
  padding: 24px;
}

.job-group-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(23, 50, 108, 0.08);
}

.job-group-head h2 {
  margin: 0;
}

.job-group-head > span {
  white-space: nowrap;
  color: #5c6980;
  font-size: 13px;
  font-weight: 700;
}

.job-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.job-card-grid.is-list {
  grid-template-columns: 1fr;
}

.job-card {
  border-radius: 22px;
  padding: 20px;
  border: 1px solid rgba(23, 50, 108, 0.1);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.job-card.is-bid-placed {
  background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
  border-color: rgba(107, 114, 128, 0.2);
  opacity: 0.9;
}

.job-card.is-accepted-by-me {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: rgba(220, 38, 38, 0.24);
  opacity: 1;
}

.job-card.is-job-unavailable {
  background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 100%);
  border-color: rgba(107, 114, 128, 0.22);
}

.job-card.is-list-item {
  gap: 16px;
}

.job-card-top {
  align-items: flex-start;
  gap: 14px;
}

.job-card-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.job-card-tag,
.job-card-subtag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.job-card-tag {
  background: #A30F2D;
  color: #fff;
}

.job-card-subtag {
  background: #eef4ff;
  color: #A30F2D;
}

.job-card-newtag {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.24);
}

.job-card-newtag i {
  font-size: 12px;
}

.job-modal-panel .job-card-newtag {
  position: static;
  min-height: 28px;
  padding: 0 10px;
  box-shadow: none;
}

.job-card-owner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-card-owner-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex: 0 0 42px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #A30F2D 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.job-card-owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card-owner-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.job-card-owner-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.job-card-owner-copy strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.job-card-owner-copy > span,
.job-card-owner-meta > span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
}

.job-owner-card .job-card-tag-row {
  margin-bottom: 6px;
}

.job-card h3,
.job-owner-card h3 {
  margin: 8px 0 0 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #102347;
}

.job-card-price {
  color: #15803d;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.job-card p,
.job-modal-description,
.job-bidder-main small {
  margin: 0;
  color: #58657a;
  line-height: 1.7;
}

.job-card-summary {
  min-height: 70px;
}

.job-card-meta,
.job-giver-meta,
.job-modal-address,
.job-modal-stats,
.job-bidder-side {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.job-card-meta,
.job-card-actions {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(23, 50, 108, 0.08);
}

.job-owner-card > p {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.6;
}

.job-owner-card .job-card-meta {
  font-size: 14px;
}

.job-owner-card .job-card-meta span i {
  font-size: 14px;
  color: #7a879d;
}

.job-card-meta > span,
.job-giver-meta span,
.job-modal-address,
.job-bidder-main span,
.job-bidder-main small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job-card-bids-trigger {
  min-height: 70px;
  padding: 11px 14px;
  border: 1px solid rgba(220, 20, 60, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.job-card-bids-trigger:hover,
.job-card-bids-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(220, 20, 60, 0.24);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
}

.job-card-bids-trigger.is-inline {
  flex: 1 1 280px;
  margin-left: auto;
  max-width: min(100%, 310px);
}

.job-card-bids-trigger-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.14), rgba(239, 154, 121, 0.14));
  color: #A30F2D;
  flex: 0 0 auto;
  font-size: 16px;
}

.job-card-bids-trigger-copy {
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.15;
  min-width: 0;
  flex: 1 1 auto;
}

.job-card-bids-trigger-copy strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.job-card-bids-trigger-eyebrow {
  color: #DC143C;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-card-bids-trigger-subtitle {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-card-bids-trigger-count {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.job-card-meta-item {
  min-width: 0;
}

.job-card-meta-item.is-location {
  flex: 1 1 100%;
}

.job-card-meta-text {
  min-width: 0;
}

.job-card-meta-item.is-location .job-card-meta-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-card-meta-date {
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
}

.job-card-meta-item.is-location i {
  color: #0b63ce;
}

.job-card-meta-item.is-date i {
  color: #d97706;
}

.job-card-meta-item.is-bids i {
  color: #15803d;
}

.job-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.job-card-actions > * {
  flex: 1 1 140px;
}

.job-owner-card .job-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(23, 50, 108, 0.08);
}

.job-owner-card .job-card-actions > * {
  flex: 1;
}

.job-card-actions button[disabled] {
  cursor: default;
  opacity: 1;
  background: #d1d5db;
  border-color: #d1d5db;
  color: #374151;
  box-shadow: none;
}

.job-delete-btn,
.job-owner-card .job-delete-btn,
.job-card-actions .job-delete-btn {
  border-color: #dc2626;
  color: #ffffff;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.22);
}

.job-delete-btn:hover,
.job-delete-btn:focus-visible,
.job-owner-card .job-delete-btn:hover,
.job-owner-card .job-delete-btn:focus-visible {
  border-color: #b91c1c;
  color: #ffffff;
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 14px 30px rgba(185, 28, 28, 0.28);
}

.job-delete-btn[disabled],
.job-delete-btn[disabled]:hover,
.job-delete-btn[disabled]:focus-visible,
.job-owner-card .job-delete-btn[disabled],
.job-owner-card .job-delete-btn[disabled]:hover,
.job-owner-card .job-delete-btn[disabled]:focus-visible {
  border-color: #d1d5db;
  color: #6b7280;
  background: #e5e7eb;
  box-shadow: none;
}

.job-card-status-notice {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  background: #f3f4f6;
  color: #374151;
}

.job-card-status-notice.is-accepted-by-me {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.job-card-status-notice.is-bid-sent {
  background: #eef2ff;
  color: #3730a3;
}

.job-accepted-action,
.job-posts-page .job-card .job-accepted-action,
.job-posts-page .job-modal-panel .job-accepted-action,
.job-posts-page .job-modal-panel .job-warning-status-link {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  box-shadow: none;
}

.job-accepted-action:hover,
.job-accepted-action:focus-visible,
.job-posts-page .job-card .job-accepted-action:hover,
.job-posts-page .job-card .job-accepted-action:focus-visible,
.job-posts-page .job-modal-panel .job-accepted-action:hover,
.job-posts-page .job-modal-panel .job-accepted-action:focus-visible,
.job-posts-page .job-modal-panel .job-warning-status-link:hover,
.job-posts-page .job-modal-panel .job-warning-status-link:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

.job-accepted-warning-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.provider-required-state {
  min-height: min(720px, calc(100vh - 120px));
  display: grid;
  place-items: center;
  padding: 48px 18px;
  background: #f8fafc;
}

.provider-required-card {
  width: min(100%, 540px);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  text-align: center;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.provider-required-card--modal {
  width: 100%;
  box-shadow: none;
}

.provider-required-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 20, 60, 0.1);
  color: #DC143C;
  font-size: 28px;
}

.provider-required-card > span {
  color: #DC143C;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.provider-required-card h1,
.provider-required-card h2 {
  max-width: 440px;
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  font-weight: 900;
}

.provider-required-card p {
  max-width: 460px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.provider-required-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
}

.provider-required-action:hover,
.provider-required-action:focus-visible {
  background: #DC143C;
}

.provider-required-modal {
  max-width: 600px;
}

.job-warning-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #dc2626;
  font-size: 26px;
}

.job-card-tag.is-warning {
  background: #dc2626;
}

.job-posts-page .job-card [data-job-bid],
.job-posts-page .job-modal-panel [data-job-detail-bid],
.job-posts-page .job-modal-panel [data-job-bid-submit] {
  background: #15803d;
  border-color: #15803d;
  box-shadow: none;
}

.job-posts-page .job-card [data-job-bid]:hover,
.job-posts-page .job-card [data-job-bid]:focus-visible,
.job-posts-page .job-modal-panel [data-job-detail-bid]:hover,
.job-posts-page .job-modal-panel [data-job-detail-bid]:focus-visible,
.job-posts-page .job-modal-panel [data-job-bid-submit]:hover,
.job-posts-page .job-modal-panel [data-job-bid-submit]:focus-visible {
  background: #166534;
  border-color: #166534;
}

.job-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 1800;
  padding: 24px;
  background: rgba(12, 18, 34, 0.42);
  backdrop-filter: blur(14px);
  overflow-y: auto;
}

/* Ensure hidden modal shells do not block pointer events or remain in layout */
.job-modal-shell[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.job-modal-shell {
  pointer-events: none;
}
.job-modal-shell.is-visible {
  pointer-events: auto;
}

.job-modal-open {
  overflow: hidden;
}

.job-modal-panel {
  position: relative;
  width: min(760px, 100%);
  margin: 40px auto;
  padding: 28px;
}

.job-modal-auth-panel {
  width: min(620px, 100%);
}

.job-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: auto;
  height: auto;
  padding: 6px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: #111111;
  font-size: 18px;
  line-height: 1;
  z-index: 1910;
}

.job-modal-stats {
  margin: 20px 0;
}

.job-modal-stats div {
  min-width: 140px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f7f9fc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-modal-stats div:first-child strong {
  color: #15803d;
}

.job-bid-form {
  margin-top: 20px;
}

.job-giver-hero {
  min-height: 280px;
  padding: 34px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.job-giver-avatar {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.18);
}

.job-giver-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-giver-copy h1 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.job-giver-copy p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.job-giver-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-giver-dashboard {
  margin: 0;
  padding: 0;
}

.job-giver-layout {
  display: flex;
  min-height: calc(100vh - 72px);
}

.job-dashboard-tabs {
  width: 280px;
  background: #f8fafc;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  flex-shrink: 0;
}

.job-dashboard-tabs button {
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  border-radius: 12px;
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-weight: 600;
  width: 100%;
  transition: all 0.2s ease;
  text-align: left;
}

.job-dashboard-tabs button i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.job-dashboard-tabs button:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #1e293b;
}

.job-dashboard-tabs button.is-active {
  background: #fff;
  color: #DC143C;
  border-color: rgba(220, 20, 60, 0.12);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.08);
}

.job-giver-main {
  flex: 1;
  padding: 32px 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .job-giver-main {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .job-dashboard-listing {
    width: 100%;
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.job-dashboard-tab-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.job-dashboard-tabs button.is-active .job-dashboard-tab-badge {
  background: rgba(255, 255, 255, 0.22);
}

.job-owner-card {
  padding: 20px;
  margin-bottom: 16px;
}

.job-current-table-shell {
  border-radius: 24px;
  border: 1px solid rgba(23, 50, 108, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.job-current-table {
  width: 100%;
  border-collapse: collapse;
}

.job-current-table thead th {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(23, 50, 108, 0.08);
  background: rgba(248, 250, 252, 0.92);
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.job-current-table tbody td {
  padding: 18px;
  border-bottom: 1px solid rgba(23, 50, 108, 0.08);
  vertical-align: top;
}

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

.job-current-service,
.job-current-worker-copy {
  display: grid;
  gap: 4px;
}

.job-current-service strong,
.job-current-worker-copy strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.job-current-service span,
.job-current-worker-copy span,
.job-current-address,
.job-current-date {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.job-current-budget {
  color: #15803d;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.job-current-worker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.job-current-worker-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex: 0 0 42px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #A30F2D 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.job-current-worker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-current-status {
  display: inline-flex;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(220, 20, 60, 0.08);
  color: #A30F2D;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.job-current-status.is-live {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

.job-current-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-current-actions > * {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.job-dashboard-listing {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-placed-bid-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.job-owner-applications {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.job-bidder-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(23, 50, 108, 0.08);
  background: #f8fbff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.job-bidder-card.is-accepted {
  border-color: rgba(20, 184, 115, 0.22);
  background: rgba(20, 184, 115, 0.08);
}

.job-bidder-card.is-rejected {
  border-color: rgba(239, 68, 68, 0.18);
  background: rgba(239, 68, 68, 0.06);
}

@media (max-width: 860px) {
  .job-giver-page .job-page-shell,
  .job-giver-dashboard {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .job-current-table-shell {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .job-current-table,
  .job-current-table thead,
  .job-current-table tbody,
  .job-current-table tr,
  .job-current-table th,
  .job-current-table td {
    display: block;
    width: 100%;
  }

  .job-current-table thead {
    display: none;
  }

  .job-current-table tbody {
    display: grid;
    gap: 16px;
    padding: 0;
  }

  .job-current-table tbody tr {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(23, 50, 108, 0.08);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  }

  .job-current-table tbody td {
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .job-current-table tbody td + td {
    margin-top: 12px;
  }

  .job-current-table tbody td::before {
    content: attr(data-label);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .job-current-status {
    max-width: none;
  }

  .job-current-actions {
    justify-content: flex-start;
  }
}

.job-bidder-main {
  display: flex;
  gap: 14px;
}

.job-bidder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: #A30F2D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.job-bidder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-bidder-main div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-bidder-status {
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.job-bidder-status.is-pending {
  background: #eef4ff;
  color: #A30F2D;
}

.job-bidder-status.is-accepted {
  background: rgba(20, 184, 115, 0.18);
  color: #15803d;
}

.job-bidder-status.is-rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.job-bids-modal-shell {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(12px);
}

.job-bids-modal-panel {
  width: min(1180px, calc(100vw - 40px));
  max-height: min(90vh, 940px);
  padding: 0;
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.24);
}

.job-bids-modal-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 22px;
  background:
    linear-gradient(135deg, #0f172a 0%, #A30F2D 55%, #DC143C 100%);
  color: #ffffff;
}

.job-bids-modal-header {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.job-bids-modal-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-bids-modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.08;
}

.job-bids-modal-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.job-bids-modal-close {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.job-bids-modal-close:hover,
.job-bids-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.job-bids-modal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 28px 0;
}

.job-bids-modal-summary-card {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(23, 50, 108, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 8px;
}

.job-bids-modal-summary-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-bids-modal-summary-card strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
}

.job-bids-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 0;
}

.job-bids-modal-toolbar-copy {
  display: grid;
  gap: 4px;
}

.job-bids-modal-toolbar-copy strong {
  color: #0f172a;
  font-size: 18px;
}

.job-bids-modal-toolbar-copy span {
  color: #64748b;
  font-size: 14px;
}

.job-bids-modal-content {
  padding: 18px 28px 28px;
  overflow: auto;
}

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

.job-bids-modal-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(23, 50, 108, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  display: grid;
  gap: 14px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.job-bids-modal-card.is-accepted {
  border-color: rgba(22, 163, 74, 0.24);
  background:
    linear-gradient(180deg, rgba(240, 253, 244, 0.98) 0%, rgba(220, 252, 231, 0.94) 100%);
}

.job-bids-modal-card.is-rejected {
  border-color: rgba(239, 68, 68, 0.2);
  background:
    linear-gradient(180deg, rgba(254, 242, 242, 0.98) 0%, rgba(254, 226, 226, 0.94) 100%);
}

.job-bids-modal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.job-bids-modal-identity {
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.job-bids-modal-identity-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.job-bids-modal-identity-link:hover .job-bids-modal-head strong,
.job-bids-modal-identity-link:focus-visible .job-bids-modal-head strong {
  color: #A30F2D;
}

.job-bids-modal-identity-link:focus-visible {
  outline: 3px solid rgba(220, 20, 60, 0.22);
  outline-offset: 4px;
  border-radius: 22px;
}

.job-bids-modal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #A30F2D 0%, #DC143C 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.job-bids-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-bids-modal-head {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.job-bids-modal-head strong {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.3;
}

.job-bids-modal-head span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

.job-bids-modal-price-block {
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(23, 50, 108, 0.08);
  display: grid;
  gap: 6px;
  justify-items: end;
}

.job-bids-modal-price-block small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-bids-modal-price-block strong {
  color: #0f172a;
  font-size: 19px;
}

.job-bids-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.job-bids-modal-meta-card {
  min-width: 0;
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 50, 108, 0.08);
  display: grid;
  gap: 6px;
}

.job-bids-modal-meta-card small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-bids-modal-meta-card span {
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.job-bids-modal-meta {
  display: none;
}

.job-bids-modal-note-block {
  display: grid;
  gap: 8px;
}

.job-bids-modal-note-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.job-bids-modal-note {
  min-height: 94px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 50, 108, 0.08);
  color: #334155;
  font-size: 13px;
  line-height: 1.65;
}

.job-bids-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.job-bids-modal-actions > * {
  flex: 1 1 160px;
}

.job-bids-modal-empty {
  margin: 0;
  min-height: 220px;
}

@media (max-width: 767px) {
  .job-card-bids-trigger.is-inline {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}

.job-bidder-side {
  flex-direction: column;
  align-items: flex-end;
}

.job-bidder-actions {
  justify-content: flex-end;
}

.job-owner-empty-bids {
  padding: 20px;
  border-radius: 18px;
  background: #f7f9fc;
  color: #5a6980;
}

.job-giver-edit-panel {
  width: min(920px, 100%);
}

.job-giver-media-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
}

.job-media-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  padding: 18px;
  border-radius: 26px;
  border: 2px dashed rgba(23, 50, 108, 0.22);
  background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
  overflow: hidden;
}

.job-media-dropzone.is-banner {
  min-height: 260px;
}

.job-media-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.job-media-dropzone.is-dragover {
  border-color: #A30F2D;
  background: #eef4ff;
}

.job-media-preview {
  flex: 1;
  border-radius: 22px;
  background: #dde7f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A30F2D;
  font-weight: 700;
}

.job-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Available jobs board */
.job-posts-page {
  --jobs-header-offset: 82px;
  background: #ffffff;
  color: #111111;
}

.job-posts-page .job-posts-hero {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 34px 0 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 247, 0.9)),
    url("../images/categories/digital_converted.avif") center / cover no-repeat;
  color: #111111;
  text-align: left;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.job-page-hero-inner {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
}

.job-posts-page .job-page-hero h1 {
  max-width: 760px;
  margin: 14px 0 10px;
  color: #111111;
  letter-spacing: -0.03em;
}

.job-posts-page .job-page-hero p {
  max-width: 720px;
  margin: 0;
  color: #5f5f5f;
}

.job-posts-page .job-page-hero-actions {
  justify-content: flex-start;
}

.job-posts-page .job-page-kicker,
.job-posts-page .job-page-kicker-jobs-count {
  border-radius: 8px;
  background: rgba(220, 20, 60, 0.14);
  border: 1px solid rgba(220, 20, 60, 0.3);
  color: #111111;
}

.job-posts-page .job-page-kicker-jobs-count strong {
  border-radius: 6px;
  background: #DC143C;
  color: #111111;
}

.job-posts-page .job-posts-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto 72px 0;
  display: block;
}

.job-board-content {
  min-width: 0;
}

.job-board-mobile-market-body {
  display: none;
}

.job-posts-page .job-board-toolbar {
  position: sticky;
  top: 0;
  display: block;
  min-height: 0;
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw) 16px;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 0 0 28px 28px;
  background: #f1f3f4;
  color: #111111;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  z-index: 30;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  will-change: transform;
}

.job-posts-page .job-board-toolbar.is-scroll-hidden {
  transform: translateY(calc(-100% - 8px));
  opacity: 0.02;
  pointer-events: none;
}

.job-skeleton-toolbar-topline,
.job-board-toolbar-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.job-board-search-toggle,
.job-board-location-toggle,
.job-board-time-toggle {
  display: none;
}

.job-board-toolbar-summary {
  min-width: 196px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 1px;
  align-items: baseline;
  padding: 0 8px 0 0;
}

.job-board-toolbar-summary > strong {
  grid-column: 1 / -1;
  color: #111111;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.job-board-toolbar-summary > span {
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.1;
}

.job-board-toolbar-summary > span strong {
  color: #16a34a;
  font-size: 24px;
  line-height: 0.95;
  font-weight: 950;
}

.job-board-toolbar-summary > small {
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.job-board-toolbar-summary > small.is-up {
  color: #16a34a;
}

.job-board-toolbar-summary > small.is-down {
  color: #dc2626;
}

.job-posts-page .job-board-search {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.job-posts-page .job-board-search.job-board-search-main {
  flex: 1 1 260px;
  min-width: 240px;
}

.job-posts-page .job-board-location-search {
  flex: 0 1 216px;
  min-width: 190px;
}

.job-board-search-toggle,
.job-board-location-toggle,
.job-board-time-toggle,
.job-board-filter-toggle,
.job-board-post-link {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.job-board-search-toggle,
.job-board-location-toggle,
.job-board-time-toggle {
  display: none;
}

.job-board-search-toggle,
.job-board-location-toggle,
.job-board-time-toggle,
.job-board-filter-toggle {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
}

.job-board-post-link {
  margin-left: auto;
  border: 1px solid #15803d;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(21, 128, 61, 0.18);
}

.job-board-search-toggle:hover,
.job-board-search-toggle:focus-visible,
.job-board-location-toggle:hover,
.job-board-location-toggle:focus-visible,
.job-board-time-toggle:hover,
.job-board-time-toggle:focus-visible,
.job-board-filter-toggle:hover,
.job-board-filter-toggle:focus-visible {
  border-color: rgba(220, 20, 60, 0.36);
  background: #fbfaf7;
}

.job-board-search-toggle[aria-expanded="true"],
.job-board-location-toggle[aria-expanded="true"],
.job-board-time-toggle[aria-expanded="true"],
.job-board-filter-toggle[aria-expanded="true"] {
  border-color: rgba(220, 20, 60, 0.5);
  background: rgba(220, 20, 60, 0.16);
  color: #111111;
}

.job-board-post-link:hover,
.job-board-post-link:focus-visible {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  border-color: #15803d;
  color: #ffffff;
}

.job-board-market-panel {
  width: calc(100% + 40px);
  margin: 14px -20px 0;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98)),
    #020617;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
}

.job-market-overview,
.job-market-metric-card {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.job-market-overview {
  padding: 12px 12px 8px;
  display: grid;
  grid-template-rows: auto minmax(62px, 1fr);
  gap: 8px;
}

.job-market-overview > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
}

.job-market-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
}

.job-market-overview strong,
.job-market-overview small {
  grid-column: 2;
}

.job-market-overview strong {
  color: #f8fafc;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.job-market-overview small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 750;
}

.job-market-sparkline {
  width: 100%;
  height: 72px;
  overflow: visible;
}

.job-market-metric-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.job-market-metric-card {
  min-height: 116px;
  padding: 13px 14px;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.job-market-metric-card span {
  min-width: 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.12;
  font-weight: 850;
}

.job-market-metric-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #f8fafc;
  font-size: 23px;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.job-market-metric-card small {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.job-market-metric-card small i,
.job-market-metric-card small b {
  font-style: normal;
  font-weight: 950;
}

.job-market-metric-card small.is-up i,
.job-market-metric-card small.is-up b {
  color: #22c55e;
}

.job-market-metric-card small.is-down i,
.job-market-metric-card small.is-down b {
  color: #ef4444;
}

.job-market-metric-card.is-loading strong,
.job-market-metric-card.is-loading small b,
.home-health-card.is-loading strong,
.home-health-card.is-loading small b {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  color: transparent;
  background: rgba(148, 163, 184, 0.22);
}

.job-market-metric-card.is-loading strong,
.home-health-card.is-loading strong {
  width: min(100%, 116px);
  height: 24px;
}

.job-market-metric-card.is-loading small b,
.home-health-card.is-loading small b {
  width: 74px;
  height: 12px;
}

.job-market-metric-card.is-loading strong::after,
.job-market-metric-card.is-loading small b::after,
.home-health-card.is-loading strong::after,
.home-health-card.is-loading small b::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  animation: metric-skeleton-shimmer 1.15s ease-in-out infinite;
}

.job-market-metric-card.is-loading small i,
.home-health-card.is-loading small i {
  opacity: 0;
}

@keyframes metric-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.job-posts-page .job-board-search > span {
  display: none;
  color: #3f3f3f;
  font-size: 11px;
  font-weight: 700;
}

.job-board-search-box {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.job-board-search-box i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9c741f;
  font-size: 12px;
}

.job-posts-page .job-board-search input {
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 0;
  color: #111111;
  outline: none;
}

.job-posts-page .job-board-search input::placeholder {
  color: rgba(95, 95, 95, 0.72);
}

.job-posts-page .job-board-search:focus-within .job-board-search-box {
  border-color: rgba(220, 20, 60, 0.46);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.14);
}

.job-location-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(220, 20, 60, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.14);
}

.job-location-dropdown[hidden] {
  display: none;
}

.job-location-dropdown button {
  min-height: 34px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111111;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.job-location-dropdown button:hover,
.job-location-dropdown button:focus-visible {
  background: rgba(220, 20, 60, 0.14);
}

.job-location-dropdown i {
  color: #DC143C;
  font-size: 11px;
}

.job-location-dropdown span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-location-empty {
  padding: 10px 8px;
  color: #5f5f5f;
  font-size: 12px;
  font-weight: 700;
}

.job-posts-page .job-board-time-panel,
.job-posts-page .job-board-filters,
.job-posts-page .job-board-view-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.job-posts-page .job-board-time-panel {
  flex: 1 1 auto;
  min-width: 240px;
}

.job-posts-page .job-board-filters {
  gap: 10px;
}

.job-posts-page .job-board-filters button,
.job-posts-page .job-board-view-toggle button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: none;
}

.job-posts-page .job-board-filters button.is-active,
.job-posts-page .job-board-view-toggle button.is-active {
  background: #ffffff;
  border-color: #111111;
  color: #111111;
}

.job-posts-page .job-board-filters button.is-active {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

.job-posts-page .job-board-filters button:hover,
.job-posts-page .job-board-filters button:focus-visible,
.job-posts-page .job-board-view-toggle button:hover,
.job-posts-page .job-board-view-toggle button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(220, 20, 60, 0.36);
}

.job-posts-page .job-card [data-job-bid].job-accepted-action,
.job-posts-page .job-card [data-job-bid].job-accepted-action:hover,
.job-posts-page .job-card [data-job-bid].job-accepted-action:focus-visible {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.job-posts-page .job-card [data-job-bid][disabled],
.job-posts-page .job-card [data-job-bid][disabled]:hover,
.job-posts-page .job-card [data-job-bid][disabled]:focus-visible {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #374151;
  cursor: default;
}

.job-posts-page .job-board-view-toggle button i,
.job-posts-page .job-board-view-toggle button.is-active i {
  color: currentColor;
}


.job-posts-page .job-board-groups {
  gap: 14px;
}

.job-posts-page .job-group {
  padding: 16px;
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
}

.job-posts-page .job-group-head {
  padding-bottom: 12px;
  border-bottom-color: rgba(17, 17, 17, 0.08);
}

.job-posts-page .job-group-head h2 {
  color: #111111;
  font-size: 20px;
}

.job-posts-page .job-group-head > span {
  color: #5f5f5f;
}

.job-posts-page .job-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.job-posts-page .job-card-grid.is-list {
  grid-template-columns: 1fr;
}

.job-posts-page .job-card {
  border-radius: 8px;
  padding: 12px;
  border-color: rgba(17, 17, 17, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: none;
  cursor: pointer;
  gap: 9px;
}

.job-posts-page .job-card.is-accepted-by-me {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  border-color: rgba(220, 38, 38, 0.2);
}

.job-posts-page .job-card.is-job-unavailable {
  background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 100%);
  border-color: rgba(107, 114, 128, 0.22);
}

.job-posts-page .job-card:focus-visible {
  outline: 3px solid rgba(220, 20, 60, 0.45);
  outline-offset: 2px;
}

.job-posts-page .job-card-tag,
.job-posts-page .job-card-subtag {
  border-radius: 6px;
}

.job-posts-page .job-card-tag {
  background: #111111;
}

.job-posts-page .job-card-subtag {
  background: rgba(220, 20, 60, 0.16);
  color: #111111;
}

.job-posts-page .job-card-newtag {
  position: static;
  min-height: 20px;
  padding: 0 8px;
  gap: 4px;
  background: #16a34a;
  color: #ffffff;
  box-shadow: none;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.job-posts-page .job-card-newtag i {
  font-size: 10px;
}

.job-posts-page .job-card-price,
.job-posts-page .job-modal-stats div:first-child strong {
  color: #16a34a;
}

.job-posts-page .job-card h3 {
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.job-posts-page .job-card-summary {
  min-height: 44px;
}

.job-posts-page .job-card p {
  line-height: 1.45;
}

.job-posts-page .job-card p,
.job-posts-page .job-modal-description {
  color: #5f5f5f;
}

.job-posts-page .job-card-meta,
.job-posts-page .job-card-actions {
  border-top-color: rgba(17, 17, 17, 0.08);
  margin-top: 6px;
  padding-top: 8px;
}

.job-posts-page .job-card-meta-item.is-location i,
.job-posts-page .job-card-meta-item.is-date i,
.job-posts-page .job-card-meta-item.is-bids i {
  color: #DC143C;
}

.job-posts-page .job-card [data-job-bid],
.job-posts-page .job-modal-panel [data-job-detail-bid],
.job-posts-page .job-modal-panel [data-job-bid-submit] {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
  box-shadow: none;
}

.job-posts-page .job-card [data-job-bid]:hover,
.job-posts-page .job-card [data-job-bid]:focus-visible,
.job-posts-page .job-modal-panel [data-job-detail-bid]:hover,
.job-posts-page .job-modal-panel [data-job-detail-bid]:focus-visible,
.job-posts-page .job-modal-panel [data-job-bid-submit]:hover,
.job-posts-page .job-modal-panel [data-job-bid-submit]:focus-visible {
  background: #166534;
  border-color: #166534;
  color: #ffffff;
}

.job-posts-page .job-card [data-job-bid].job-accepted-action,
.job-posts-page .job-card [data-job-bid].job-accepted-action:hover,
.job-posts-page .job-card [data-job-bid].job-accepted-action:focus-visible {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.job-posts-page .job-card [data-job-bid][disabled],
.job-posts-page .job-card [data-job-bid][disabled]:hover,
.job-posts-page .job-card [data-job-bid][disabled]:focus-visible {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #374151;
  cursor: default;
}

.job-posts-page .job-card [data-job-view-more],
.job-posts-page .job-modal-actions .btn-secondary {
  border-color: rgba(17, 17, 17, 0.16);
  color: #111111;
  background: #ffffff;
}

.job-modal-shell {
  opacity: 0;
  transition: opacity 0.24s ease;
}

.job-modal-shell.is-visible {
  opacity: 1;
}

.job-detail-modal-shell,
.job-bid-modal-shell,
.job-auth-modal-shell {
  padding: 0;
}

.job-detail-modal-shell .job-modal-panel,
.job-bid-modal-shell .job-modal-panel,
.job-auth-modal-shell .job-modal-panel {
  width: min(520px, 46vw);
  min-height: 100dvh;
  margin: 0 auto 0 0;
  padding: 32px;
  border-radius: 0 10px 10px 0;
  border-color: rgba(17, 17, 17, 0.08);
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.job-bid-modal-shell .job-modal-panel {
  width: min(560px, 48vw);
}

.job-auth-modal-shell .job-modal-panel {
  width: min(580px, 48vw);
}

.job-detail-modal-shell.is-visible .job-modal-panel,
.job-bid-modal-shell.is-visible .job-modal-panel,
.job-auth-modal-shell.is-visible .job-modal-panel {
  transform: translateX(0);
}

.job-posts-page .job-modal-panel {
  border-radius: 10px;
  border-color: rgba(220, 20, 60, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 24px 0 56px rgba(17, 17, 17, 0.18);
}

.job-posts-page .job-detail-modal-shell .job-modal-panel,
.job-posts-page .job-bid-modal-shell .job-modal-panel,
.job-posts-page .job-auth-modal-shell .job-modal-panel {
  border-radius: 0 10px 10px 0;
}

.job-posts-page .job-modal-close {
  /* keep small, transparent close for posts page as well */
  border-radius: 4px;
  background: transparent;
  color: #111111;
  padding: 6px;
}

.job-posts-page .job-modal-stats div {
  border-radius: 8px;
  background: #fbfaf7;
}

.job-posts-page .job-auth-modal-shell .job-auth-card {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.job-posts-page .job-auth-head {
  align-items: flex-start;
}

.job-posts-page .job-auth-head h3,
.job-posts-page .job-modal-panel h2 {
  color: #111111;
}

.job-posts-page .job-auth-kicker {
  color: #9c741f;
}

.job-posts-page .job-auth-mode-switch button,
.job-posts-page .job-auth-id-switch button {
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
}

.job-posts-page .job-auth-mode-switch button.is-active,
.job-posts-page .job-auth-id-switch button.is-active {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

.job-posts-page .job-auth-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.job-posts-page .job-auth-google-btn {
  min-height: 54px;
  border-radius: 4px;
}

.job-posts-page .job-auth-divider {
  position: relative;
  display: flex;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.job-posts-page .job-auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(17, 17, 17, 0.1);
}

.job-posts-page .job-auth-divider span {
  position: relative;
  padding: 0 10px;
  background: #fbfaf7;
}

.job-posts-page .job-auth-submit {
  width: 100%;
  min-height: 54px;
  border-radius: 4px;
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* Compact gold job posting and provider posts */
.job-post-page,
.provider-posts-page {
  --jobs-header-offset: 82px;
  background: #ffffff;
  color: #111111;
}

.job-post-page .job-posts-hero,
.provider-posts-page .provider-posts-hero {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 34px 0 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 247, 0.9)),
    url("../images/categories/digital_converted.avif") center / cover no-repeat;
  color: #111111;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.provider-posts-page .provider-posts-hero-inner {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
}

.job-post-page .job-posts-hero .job-page-hero-inner {
  width: min(100% - 40px, 1440px);
}

.job-post-page .job-page-hero {
  text-align: left;
}

.provider-posts-page .provider-posts-kicker,
.job-post-page .job-page-kicker {
  border-radius: 8px;
  background: rgba(220, 20, 60, 0.14);
  border: 1px solid rgba(220, 20, 60, 0.3);
  color: #111111;
}

.provider-posts-page .provider-posts-hero h1,
.job-post-page .job-page-hero h1 {
  max-width: 760px;
  margin: 14px 0 10px;
  color: #111111;
  font-size: clamp(28px, 3.3vw, 50px);
  letter-spacing: -0.03em;
}

.provider-posts-page .provider-posts-hero p,
.job-post-page .job-page-hero p {
  max-width: 720px;
  margin: 0;
  color: #5f5f5f;
  font-size: 16px;
}

.job-post-page .job-page-hero-actions {
  justify-content: flex-start;
}

.job-post-create-shell,
.provider-posts-page .provider-posts-board {
  width: 100%;
  max-width: none;
  margin: 0 auto 72px 0;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.job-post-guide,
.provider-posts-page .provider-post-composer {
  position: sticky;
  top: var(--jobs-header-offset);
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: calc(100dvh - var(--jobs-header-offset));
  margin: 0;
  padding: 16px;
  border: 0 solid rgba(17, 17, 17, 0.08);
  border-right-width: 1px;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
}

.job-post-guide {
  gap: 12px;
}

.job-post-guide-toggle {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  color: #9c741f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.job-post-guide-toggle:hover,
.job-post-guide-toggle:focus-visible {
  color: #7a5b18;
}

.job-post-guide-content {
  display: grid;
  gap: 14px;
}

.job-post-guide-head,
.provider-posts-page .provider-post-composer h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.job-post-guide-head {
  display: grid;
  gap: 4px;
}

.job-post-guide-head strong,
.provider-posts-page .provider-post-composer h2 {
  margin: 0;
  color: #111111;
  font-size: 18px;
  font-weight: 900;
}

.job-post-guide-head span,
.job-post-guide-list span,
.provider-posts-page .provider-post-composer p {
  color: #5f5f5f;
  font-size: 12px;
  line-height: 1.45;
}

.job-post-guide-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-post-guide-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #fbfaf7;
}

.job-post-guide-list strong {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #DC143C;
  color: #111111;
  font-size: 12px;
  font-weight: 900;
}

.job-post-guide-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.job-post-page .job-post-form,
.provider-posts-page .provider-post-feed-card {
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
}

.job-post-page .job-post-form {
  margin: 0 16px 0 0;
  padding: 16px;
}

.job-post-page .job-form-grid {
  gap: 12px;
}

.job-post-page .job-form-field {
  gap: 7px;
}

.job-post-page .job-form-field span,
.job-post-page .job-auth-field span {
  color: #3f3f3f;
  font-size: 12px;
  font-weight: 800;
}

.job-post-page .job-form-field input,
.job-post-page .job-form-field textarea,
.job-post-page .job-auth-field input {
  padding: 11px 12px;
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
  font-size: 13px;
}

.job-post-page .job-form-field textarea {
  min-height: 108px;
}

.job-post-page .job-combobox-shell {
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  min-height: 42px;
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
}

.job-post-page .job-combobox:focus-within .job-combobox-shell,
.job-post-page .job-combobox.is-open .job-combobox-shell {
  border-color: #DC143C;
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.18);
}

.job-post-page .job-combobox-leading,
.job-post-page .job-combobox-toggle,
.job-post-page .job-combobox-option-title strong,
.job-post-page .job-combobox-option-subtitle strong {
  color: #9c741f;
}

.job-post-page .job-combobox-input {
  color: #111111;
  font-size: 13px;
}

.job-post-page .job-combobox-menu {
  border-radius: 8px;
  border-color: rgba(220, 20, 60, 0.22);
}

.job-post-page .job-combobox-option {
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 9px;
  border-radius: 8px;
}

.job-post-page .job-combobox-option:hover {
  background: rgba(220, 20, 60, 0.1);
}

.job-post-page .job-combobox-option-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(220, 20, 60, 0.14);
  color: #9c741f;
  font-size: 13px;
}

.job-post-page .job-auth-card,
.job-post-page .job-post-signed-in-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  border-color: rgba(220, 20, 60, 0.18);
  background: #fbfaf7;
  box-shadow: none;
}

.job-post-page .job-auth-mode-switch button,
.job-post-page .job-auth-id-switch button {
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
}

.job-post-page .job-auth-mode-switch button.is-active,
.job-post-page .job-auth-id-switch button.is-active {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

.job-post-page .job-post-form-actions {
  margin-top: 16px;
  gap: 10px;
}

.job-post-page .job-post-form-actions > * {
  min-height: 52px;
  border-radius: 16px;
  font-size: 14px;
}

.job-post-action-primary,
.job-post-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.job-post-action-secondary {
  text-decoration: none;
}

.job-post-page .job-post-form .btn-primary,
.provider-posts-page .provider-post-submit {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: none;
}

.job-post-page .job-post-form .btn-primary:hover,
.job-post-page .job-post-form .btn-primary:focus-visible,
.provider-posts-page .provider-post-submit:hover,
.provider-posts-page .provider-post-submit:focus-visible {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

.job-post-page .job-post-form .btn-secondary,
.provider-posts-page .provider-post-composer input[type="file"],
.provider-posts-page .provider-post-composer textarea {
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
}

.job-post-page {
  background: #ffffff;
  padding: 0 0 72px;
}

.job-post-page .job-post-create-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.job-post-page .job-post-topbar {
  position: sticky;
  top: 0;
  z-index: 34;
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(20px, calc((100vw - 1120px) / 2 + 16px));
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.job-post-page .job-post-topbar-copy {
  display: grid;
  gap: 6px;
}

.job-post-page .job-post-topbar-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.14);
  color: #7a5b18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-post-page .job-post-topbar h1 {
  margin: 0;
  color: #111111;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.job-post-page .job-post-topbar p {
  max-width: 720px;
  margin: 0;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.5;
}

.job-post-page .job-post-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.job-post-page .job-post-topbar-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.job-post-page .job-post-topbar-link i {
  font-size: 15px;
}

.job-post-page .job-post-topbar-link:hover,
.job-post-page .job-post-topbar-link:focus-visible {
  border-color: rgba(220, 20, 60, 0.36);
  background: #fbfaf7;
  transform: translateY(-1px);
}

.job-post-page .job-post-topbar-link.is-help {
  cursor: pointer;
}

.job-post-page .job-post-composer-shell {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.job-post-page .job-post-guide[hidden] {
  display: none !important;
}

.job-post-page .job-post-guide {
  position: static;
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.job-post-page .job-post-guide-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.job-post-page .job-post-guide-head {
  padding: 0;
  border: 0;
}

.job-post-page .job-post-guide-head strong {
  font-size: 18px;
  font-weight: 800;
}

.job-post-page .job-post-guide-head span {
  font-size: 13px;
}

.job-post-page .job-post-guide-minimize {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

.job-post-page .job-post-guide-content {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.job-post-page .job-post-guide-content[hidden] {
  display: none !important;
}

.job-post-page .job-post-guide:not(.is-open) .job-post-guide-head span,
.job-post-page .job-post-guide:not(.is-open) .job-post-guide-link {
  display: none;
}

.job-post-page .job-post-guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-post-page .job-post-guide-list li {
  min-height: 42px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(220, 20, 60, 0.2);
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.12);
}

.job-post-page .job-post-guide-list strong {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #DC143C;
}

.job-post-page .job-post-guide-link {
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #111111;
}

.job-post-page .job-post-form {
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 16px;
}

.job-post-page .job-post-form-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: #fcfcfc;
}

.job-post-page .job-post-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.job-post-page .job-post-section-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  margin-top: 2px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.05);
  color: #6b7280;
  font-size: 16px;
}

.job-post-page .job-post-section-head strong {
  display: block;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
}

.job-post-page .job-post-section-head span {
  display: block;
  margin-top: 3px;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.45;
}

.job-post-page .job-form-grid {
  gap: 16px;
}

.job-post-page .job-form-field {
  gap: 8px;
}

.job-post-page .job-form-field > span,
.job-post-page .job-auth-field > span {
  color: #111111;
  font-size: 13px;
  font-weight: 800;
}

.job-post-page .job-form-input-shell,
.job-post-page .job-form-textarea-shell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-post-page .job-form-input-shell {
  min-height: 48px;
  align-items: center;
}

.job-post-page .job-form-textarea-shell {
  align-items: start;
}

.job-post-page .job-form-field-icon {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 15px;
}

.job-post-page .job-form-textarea-shell .job-form-field-icon {
  min-height: 52px;
  padding-top: 2px;
}

.job-post-page .job-form-input-shell:focus-within,
.job-post-page .job-form-textarea-shell:focus-within {
  border-color: #DC143C;
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.14);
}

.job-post-page .job-form-input-shell input,
.job-post-page .job-form-textarea-shell textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111111;
  box-shadow: none;
}

.job-post-page .job-form-input-shell input {
  padding: 0 14px 0 0;
}

.job-post-page .job-form-textarea-shell textarea {
  min-height: 126px;
  padding: 13px 14px 13px 0;
  resize: vertical;
}

.job-post-page .job-form-textarea-shell.is-address textarea {
  min-height: 96px;
}

.job-post-page .job-combobox-shell {
  min-height: 48px;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  border-radius: 14px;
  border-color: rgba(17, 17, 17, 0.14);
}

.job-post-page .job-combobox-leading,
.job-post-page .job-combobox-toggle,
.job-post-page .job-combobox-option-title strong,
.job-post-page .job-combobox-option-subtitle strong {
  color: #6b7280;
}

.job-post-page .job-combobox-option-icon {
  background: #f3f4f6;
  color: #6b7280;
}

.job-post-page .job-auth-card,
.job-post-page .job-post-signed-in-card {
  margin-top: 0;
  padding: 18px;
  border-radius: 20px;
  border-color: rgba(220, 20, 60, 0.22);
  background: #fcfaf4;
}

.job-post-page .job-post-signed-in-card strong,
.job-post-page .job-post-signed-in-card span {
  display: block;
}

.job-post-page .job-post-signed-in-card span {
  margin-top: 4px;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.45;
}

.job-post-page .job-auth-mode-switch button,
.job-post-page .job-auth-id-switch button {
  border-radius: 999px;
}

.job-post-page .job-auth-head {
  gap: 16px;
}

.job-post-page .job-auth-mode-switch {
  margin-top: 4px;
}

.job-post-page .job-auth-id-switch {
  margin-top: 12px;
}

.job-post-page .job-post-form-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
}

.job-post-page .job-post-form-actions > * {
  min-height: 50px;
  border-radius: 16px;
  font-size: 14px;
}

.job-post-page .job-post-form .btn-primary {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
  box-shadow: 0 12px 24px rgba(220, 20, 60, 0.2);
}

.job-post-page .job-post-form .btn-primary:hover,
.job-post-page .job-post-form .btn-primary:focus-visible {
  background: #b98822;
  border-color: #b98822;
  color: #111111;
}

.job-post-page .job-post-form .btn-secondary {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.job-post-page .job-post-form .btn-secondary:hover,
.job-post-page .job-post-form .btn-secondary:focus-visible {
  border-color: #27272a;
  background: #27272a;
  color: #ffffff;
}

.provider-posts-page {
  padding: 0 0 72px;
}

.provider-posts-page .provider-posts-board {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 72px;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 18px;
}

.provider-posts-page .provider-post-composer {
  align-items: stretch;
  position: static;
  min-height: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.08);
}

.provider-posts-page .provider-post-composer-head {
  display: grid;
  gap: 12px;
}

.provider-posts-page .provider-post-composer-head h2 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  color: #111111;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.provider-posts-page .provider-post-composer-head span {
  width: 100%;
  height: 1px;
  display: block;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.18), rgba(220, 20, 60, 0.56), rgba(17, 17, 17, 0.04));
}

.provider-posts-page .provider-post-form {
  display: grid;
  gap: 14px;
}

.provider-posts-page .provider-post-dropzone {
  position: relative;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(8, 47, 73, 0.14);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(239, 154, 121, 0.18), transparent 32%),
    linear-gradient(180deg, #f8fdff 0%, #eef8ff 100%);
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 24px 52px rgba(8, 47, 73, 0.1);
  isolation: isolate;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.provider-posts-page .provider-post-dropzone:hover,
.provider-posts-page .provider-post-dropzone.is-dragover {
  transform: translateY(-2px);
  border-color: rgba(239, 154, 121, 0.42);
  box-shadow: 0 30px 62px rgba(239, 154, 121, 0.16);
}

.provider-posts-page .provider-post-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.provider-post-wave {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -42%;
  height: 64%;
  border-radius: 45% 45% 0 0;
  background: linear-gradient(135deg, rgba(239, 154, 121, 0.28), rgba(34, 197, 94, 0.16));
  transform-origin: 50% 50%;
  animation: provider-post-wave 6.4s ease-in-out infinite;
  z-index: 0;
}

.provider-post-wave.is-second {
  bottom: -48%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(220, 20, 60, 0.16));
  animation-duration: 8.2s;
  animation-direction: reverse;
}

@keyframes provider-post-wave {
  0%, 100% {
    transform: translateX(-3%) rotate(0deg) scaleX(1.04);
  }
  50% {
    transform: translateX(3%) rotate(2deg) scaleX(1.12);
  }
}

.provider-post-upload-icon {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0284c7;
  font-size: 26px;
  box-shadow: 0 18px 34px rgba(8, 47, 73, 0.12);
}

.provider-post-dropzone strong {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 900;
}

.provider-post-dropzone small {
  position: relative;
  z-index: 1;
  max-width: 220px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.provider-posts-page .provider-post-preview {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.provider-posts-page .provider-post-preview[hidden],
.provider-posts-page .provider-post-caption-wrap[hidden] {
  display: none;
}

.provider-posts-page .provider-post-preview img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.provider-posts-page .provider-post-caption-wrap {
  display: grid;
  gap: 8px;
}

.provider-posts-page .provider-post-caption-wrap label {
  color: #111111;
  font-size: 13px;
  font-weight: 900;
}

.provider-posts-page .provider-post-composer input[type="file"],
.provider-posts-page .provider-post-composer textarea {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.provider-posts-page .provider-post-composer textarea {
  min-height: 96px;
}

.provider-posts-page .provider-post-submit {
  min-height: 42px;
  border-radius: 8px;
  font-size: 13px;
}

.provider-posts-page .provider-post-submit:disabled {
  border-color: rgba(148, 163, 184, 0.38);
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.provider-post-feed-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider-post-feed-divider::before,
.provider-post-feed-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.18));
}

.provider-post-feed-divider::after {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.18), transparent);
}

.provider-post-crop-shell {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
}

.provider-post-crop-panel {
  width: min(980px, 100%);
  max-height: min(92vh, 880px);
  padding: 18px;
  border-radius: 30px;
  display: grid;
  gap: 16px;
  background: #ffffff;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.34);
}

.provider-post-crop-head,
.provider-post-crop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.provider-post-crop-head span {
  color: #0284c7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider-post-crop-head h3 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.15;
}

.provider-post-crop-close {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.provider-post-crop-stage {
  min-height: 280px;
  max-height: 62vh;
  padding: 14px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: auto;
  background:
    linear-gradient(45deg, rgba(148, 163, 184, 0.16) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(148, 163, 184, 0.16) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, 0.16) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, 0.16) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

.provider-post-crop-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  user-select: none;
  touch-action: none;
}

.provider-post-crop-frame img {
  max-width: min(100%, 880px);
  max-height: 56vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 16px;
}

.provider-post-crop-box {
  position: absolute;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.58), 0 18px 38px rgba(15, 23, 42, 0.26);
  cursor: move;
  touch-action: none;
}

.provider-post-crop-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 33%, rgba(255, 255, 255, 0.58) 33%, rgba(255, 255, 255, 0.58) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255, 255, 255, 0.58) 66%, rgba(255, 255, 255, 0.58) calc(66% + 1px), transparent calc(66% + 1px)),
    linear-gradient(0deg, transparent 33%, rgba(255, 255, 255, 0.58) 33%, rgba(255, 255, 255, 0.58) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255, 255, 255, 0.58) 66%, rgba(255, 255, 255, 0.58) calc(66% + 1px), transparent calc(66% + 1px));
  pointer-events: none;
}

.provider-post-crop-handle {
  position: absolute;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #0284c7;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.32);
  touch-action: none;
}

.provider-post-crop-handle.is-nw { top: -12px; left: -12px; cursor: nwse-resize; }
.provider-post-crop-handle.is-n { top: -12px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.provider-post-crop-handle.is-ne { top: -12px; right: -12px; cursor: nesw-resize; }
.provider-post-crop-handle.is-e { top: 50%; right: -12px; transform: translateY(-50%); cursor: ew-resize; }
.provider-post-crop-handle.is-se { right: -12px; bottom: -12px; cursor: nwse-resize; }
.provider-post-crop-handle.is-s { bottom: -12px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.provider-post-crop-handle.is-sw { bottom: -12px; left: -12px; cursor: nesw-resize; }
.provider-post-crop-handle.is-w { top: 50%; left: -12px; transform: translateY(-50%); cursor: ew-resize; }

.provider-post-crop-primary,
.provider-post-crop-secondary {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.provider-post-crop-primary {
  border: 0;
  background: #0284c7;
  color: #ffffff;
}

.provider-post-crop-secondary {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
}

@media (max-width: 640px) {
  .provider-post-crop-shell {
    padding: 0;
    align-items: end;
  }

  .provider-post-crop-panel {
    width: 100%;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
  }

  .provider-post-crop-stage {
    max-height: 58dvh;
    padding: 10px;
  }

  .provider-post-crop-frame img {
    max-height: 52dvh;
  }

  .provider-post-crop-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .provider-post-crop-primary,
  .provider-post-crop-secondary {
    width: 100%;
  }
}

.provider-posts-page .provider-post-feed {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
}

.provider-posts-page .provider-post-feed .specialists-empty {
  grid-column: 1 / -1;
}

.provider-posts-page .provider-post-feed-card {
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.provider-post-gallery-tile {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  border: 0;
  display: block;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

.provider-post-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.provider-post-gallery-tile:hover img,
.provider-post-gallery-tile:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.provider-post-viewer-shell {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(16px);
}

.provider-post-viewer-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: min(92vh, 920px);
  padding: 14px;
  border-radius: 30px;
  display: grid;
  gap: 12px;
  overflow: auto;
  background: #ffffff;
  box-shadow: 0 42px 92px rgba(15, 23, 42, 0.36);
}

.provider-post-viewer-panel > img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 22px;
  background: #0f172a;
}

.provider-post-viewer-caption {
  padding: 4px 6px 2px;
}

.provider-post-viewer-caption p {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.provider-post-viewer-caption p.is-empty {
  color: #94a3b8;
  font-style: italic;
}

.provider-post-viewer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.7);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.provider-posts-page .provider-post-feed-card {
  padding: 0;
}

.provider-posts-page .provider-post-card-head {
  gap: 10px;
}

.provider-posts-page .provider-post-author img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.provider-posts-page .provider-post-author strong {
  color: #111111;
  font-size: 14px;
}

.provider-posts-page .provider-post-author span,
.provider-posts-page .provider-post-feed-card p {
  color: #5f5f5f;
  font-size: 12px;
}

.provider-posts-page .provider-post-feed-card p {
  margin-top: 12px;
}

.provider-posts-page .provider-post-feed-card > img {
  margin-top: 12px;
  border-radius: 8px;
  aspect-ratio: 1 / 0.9;
}

@media (max-width: 1100px) {
  .home-job-cta,
  .job-giver-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .job-giver-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .job-form-grid,
  .job-auth-fields,
  .job-giver-media-grid {
    grid-template-columns: 1fr;
  }

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

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

  .job-bids-modal-grid {
    grid-template-columns: 1fr;
  }

  .job-bids-modal-summary {
    grid-template-columns: 1fr;
  }

  .job-bids-modal-card-head {
    flex-direction: column;
  }

  .job-bids-modal-price-block {
    width: 100%;
    justify-items: start;
  }

  .job-bids-modal-meta-grid {
    grid-template-columns: 1fr;
  }

  .job-bidder-side {
    align-items: stretch;
  }

  .job-dashboard-tabs button {
    justify-content: center;
  }

  .job-placed-bid-side {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .job-giver-page {
    padding: 0;
  }

  .job-giver-page .job-page-shell {
    margin: 0;
    width: 100vw;
    max-width: none;
    border-radius: 0;
  }

  .job-page-shell,
  .job-giver-shell {
    width: min(100%, calc(100% - 20px));
    margin: 18px auto 48px;
  }

  .job-giver-layout {
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow-x: hidden;
  }

  .job-dashboard-tabs {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
    background: #fff;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    overflow: visible;
    gap: 8px;
    margin: 0;
    border-radius: 0;
  }

  .job-dashboard-tabs button {
    position: relative;
    min-width: 0;
    width: 100%;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: normal;
    text-align: center;
    padding: 8px 4px;
    min-height: 58px;
    font-size: 11px;
    line-height: 1.15;
    border-radius: 14px;
  }

  .job-dashboard-tabs button i {
    width: auto;
    font-size: 18px;
  }

  .job-dashboard-tab-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    font-size: 10px;
  }

  .job-giver-main {
    padding: 12px 16px 20px;
    min-width: 0;
    background: transparent;
  }

  .job-giver-dashboard {
    padding: 0;
    border-radius: 0;
  }

  .home-job-cta {
    margin: 28px 12px 54px;
    padding: 28px 18px;
    border-radius: 28px;
  }

  .job-post-form,
  .job-group,
  .job-giver-dashboard,
  .job-owner-card,
  .job-auth-card,
  .job-board-toolbar,
  .job-modal-panel {
    border-radius: 22px;
    padding: 18px;
  }

  .job-giver-page .job-giver-dashboard {
    padding: 0;
    border-radius: 0;
  }

  .job-card {
    border-radius: 18px;
    padding: 16px;
  }

  .job-card h3 {
    font-size: 18px;
  }

  .job-modal-shell {
    padding: 12px;
  }

  .job-combobox-shell {
    grid-template-columns: 42px minmax(0, 1fr) 40px;
    min-height: 52px;
    border-radius: 16px;
  }

  .job-combobox-menu {
    max-height: 260px;
    border-radius: 18px;
  }

  .job-post-form-actions > *,
  .job-page-hero-actions > * {
    width: 100%;
    min-width: 0;
  }

  .job-board-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .job-board-view-toggle {
    width: 100%;
  }

  .job-board-view-toggle button {
    flex: 1 1 0;
    justify-content: center;
  }

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

  .job-card-grid.is-list {
    grid-template-columns: 1fr;
  }

  .job-posts-page .job-card {
    gap: 10px;
  }

  .job-posts-page .job-card h3 {
    order: 1;
    font-size: clamp(13px, 3.9vw, 16px);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .job-posts-page .job-card-top {
    order: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .job-posts-page .job-card-tag-row {
    display: block;
  }

  .job-posts-page .job-card-tag {
    padding: 0;
    background: transparent;
    color: #64748b;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
  }

  .job-posts-page .job-card-subtag {
    display: none;
  }

  .job-posts-page .job-card-price {
    font-size: 13px;
    line-height: 1.1;
  }

  .job-posts-page .job-card-summary {
    order: 3;
    min-height: 0;
  }

  .job-posts-page .job-card-summary p {
    font-size: 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .job-posts-page .job-card-meta {
    order: 4;
    gap: 8px;
    padding-top: 10px;
  }

  .job-posts-page .job-card-meta-item {
    flex: 1 1 100%;
    font-size: 11px;
  }

  .job-posts-page .job-card-actions {
    order: 5;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
  }

  .job-posts-page .job-card-actions > * {
    flex: none;
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: normal;
    border-radius: 8px;
  }

  .job-posts-page .job-card-actions [data-job-view-more] {
    background: #111111;
    color: #ffffff;
    border-color: rgba(17,17,17,0.16);
  }

  .job-posts-page .job-card-actions [data-job-bid] {
    background: #DC143C;
    color: #111111;
    border-color: #DC143C;
  }

  .job-posts-page .job-card-actions [data-job-bid]:hover {
    background: #b57f22;
    border-color: #b57f22;
  }

  .job-posts-page .job-card-actions [data-job-view-more]:hover {
    background: #000000;
  }

  .job-giver-avatar {
    margin: 0 auto;
  }
}

#site-header.jobs-scroll-header {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  will-change: transform;
}

#site-header.desktop-nav-hidden:not(.jobs-scroll-header) nav {
  transform: translateY(calc(-100% - 8px));
  opacity: 0;
  pointer-events: none;
}

#site-header.jobs-scroll-header.desktop-nav-hidden {
  transform: translateY(calc(-100% - 8px));
  opacity: 0.01;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.nav-item { position: static; }
.mobile-submenu-toggle { display: none; }

.nav-link {
  position: relative;
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--green); }
.nav-link.sale { color: #e53e3e; }
.nav-link.promo { color: var(--green); }
.nav-link.sale:hover { color: #e53e3e; }
.nav-link.promo:hover { color: var(--green); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px 2px 0 0;
}
.nav-item:hover .nav-link::after { transform: scaleX(1); }
.nav-item:hover .nav-link.sale::after,
.nav-item:hover .nav-link.promo::after {
  transform: scaleX(0);
}

/* ========== MEGA DROPDOWN ========== */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--mid-gray);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
  width: 100%;
  padding: 28px 0 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  transition: opacity 0.34s ease, transform 0.36s ease, visibility 0.34s ease;
  transform-origin: top center;
  z-index: 999;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-dropdown-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.mega-dropdown-inner .mega-col h4,
.mega-dropdown-inner .mega-col li,
.mega-dropdown-inner .mega-highlights h4,
.mega-dropdown-inner .mega-highlight-card {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.32s ease, transform 0.38s ease;
}

.nav-item:hover .mega-dropdown-inner .mega-col h4,
.nav-item:hover .mega-dropdown-inner .mega-col li,
.nav-item:hover .mega-dropdown-inner .mega-highlights h4,
.nav-item:hover .mega-dropdown-inner .mega-highlight-card {
  opacity: 1;
  transform: translateX(0);
}

.mega-col h4 {
  font-size: 18px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  margin-bottom: 14px;
}
.mega-col ul { list-style: none; }
.mega-col ul li { margin-bottom: 10px; }
.mega-col ul li a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 4px;
}
.mega-col ul li a i {
  width: 16px;
  color: var(--green);
  flex-shrink: 0;
  text-align: center;
}
.mega-col ul li a::after {
  content: '';
  position: absolute;
  left: 26px;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.mega-col ul li a:hover { color: var(--green); }
.mega-col ul li a:hover::after { transform: scaleX(1); }

.mega-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega-highlight-card {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  transition: background 0.2s;
  cursor: pointer;
}
.mega-highlight-card:hover { background: var(--mid-gray); }
.mega-highlight-card img {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--mid-gray);
}
.mega-highlight-card span { font-size: 13px; font-weight: 500; }

/* ========== HERO / BANNER ========== */
.hero-banner {
  background: linear-gradient(135deg, #e8f5e9 0%, #f0f4ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,179,74,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 600px;
}
.hero-content .tag {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--black);
}
.hero-content h1 span { color: var(--green); }
.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--black);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--black); color: white; }

/* ========== SECTION TITLES ========== */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 32px;
  color: var(--black);
}

/* ========== CATEGORY CIRCLES ========== */
.categories-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 24px;
}

.mobile-category-search {
  display: none;
}

.category-circles {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.category-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 14px;
  border-radius: 28px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.24s ease, background-color 0.24s ease;
}
.category-circle-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--light-gray);
  overflow: hidden;
  border: 3px solid transparent;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
  display: flex; align-items: center; justify-content: center;
}
.category-circle:hover {
  transform: scale(1.04);
  background-color: rgba(45, 179, 74, 0.05);
}
.category-circle:hover .category-circle-img {
  border-color: var(--green);
  transform: scale(1.05);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.16);
}
.category-circle-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.category-circle span {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  max-width: 100px;
}

/* ========== FLEECE BANNER ========== */
.fleece-banner {
  background: transparent;
  display: block;
  min-height: 480px;
  width: 100%;
  margin: 24px 0 0;
  overflow: hidden;
  position: relative;
  border-radius: 0;
  box-shadow: none;
}
.fleece-banner-img {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
}
.fleece-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.fleece-banner-content {
  position: absolute;
  top: 50%;
  right: 56px;
  transform: translateY(-50%);
  width: min(460px, calc(100% - 80px));
  padding: 40px 42px;
  text-align: left;
  background: rgba(255, 250, 252, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.12);
  z-index: 1;
}
.fleece-banner-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
  color: #111111;
}
.fleece-banner-content p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 28px;
  max-width: 420px;
}
.fleece-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fleece-btns .btn-primary {
  background: #111111;
  min-width: 180px;
}
.fleece-btns .btn-primary:hover {
  background: #1f2937;
}
.fleece-secondary {
  border-color: #111111;
  background: #ffffff;
}
.fleece-secondary:hover {
  background: #111111;
  color: #ffffff;
}

/* ========== 3-CARD GRID ========== */
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
  gap: 20px;
}

.promo-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  background: var(--light-gray);
}
.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.promo-card:hover img { transform: scale(1.04); }
.promo-card-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 28px 24px;
  color: white;
}
.promo-card-overlay .subtitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 4px;
}
.promo-card-overlay h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.2;
}
.promo-card-btn {
  background: white;
  color: var(--black);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s;
}
.promo-card-btn:hover { background: var(--green); color: white; }

/* ========== PRODUCT CARDS ========== */
.products-section {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.products-header h2 {
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}
.shop-all-btn {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.2s;
}
.shop-all-btn:hover { background: var(--black); color: white; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-gray);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--mid-gray);
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
}

.quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(17, 24, 39, 0.92);
  color: white;
  border: none;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  opacity: 1;
  transition: opacity 0.2s;
}
.product-card:hover .quick-add { opacity: 1; }
.catalog-grid .quick-add {
  opacity: 1;
  background: rgba(17, 24, 39, 0.92);
}

.wishlist-btn {
  position: absolute;
  right: 10px;
  bottom: 54px;
  background: white;
  border: none;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  font-size: 14px;
  color: #999;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.wishlist-btn:hover { color: #e53e3e; }
.wishlist-btn.is-active {
  color: #e53e3e;
  background: #fff1f2;
}

.add-btn {
  position: absolute;
  top: 8px; left: 8px;
  background: white;
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--green);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  font-weight: 900;
}
.catalog-grid .add-btn {
  display: flex;
}

.product-info {
  padding: 12px;
}
.product-info h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.product-info .price {
  font-size: 14px;
  font-weight: 900;
  color: var(--black);
}
.product-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.order-online-btn {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}
.quick-add.is-added,
.order-online-btn.is-added {
  background: var(--green);
  color: #fff;
}

/* ========== CONTEST BANNER ========== */
.contest-banner {
  background: #e0f4ff;
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  max-width: 1400px;
  margin: 0 auto 60px;
}
.contest-banner h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
}
.contest-banner h2 span { color: var(--green); }
.contest-banner p { color: var(--text-muted); font-size: 16px; margin-bottom: 20px; }
.prize {
  font-size: 48px;
  font-weight: 900;
  color: #e67e00;
  margin-bottom: 20px;
}

/* ========== SEO COPY ========== */
.seo-copy {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 24px;
  text-align: justify;
}
.seo-copy h2 { font-size: 22px; font-weight: 900; margin-bottom: 16px; text-align: left; }
.seo-copy p { font-size: 15px; line-height: 1.8; color: var(--text-muted); }

/* ========== FOOTER ========== */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 24px 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 300px;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: #999;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--green); }

.newsletter-col { }
.newsletter-col h4 { color: white; font-size: 14px; font-weight: 900; text-transform: none; letter-spacing: 0; margin-bottom: 12px; }
.newsletter-col p { font-size: 14px; color: #999; margin-bottom: 16px; }
.email-form {
  display: flex;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}
.email-form input {
  flex: 1;
  background: #2a2a2a;
  border: none;
  padding: 12px 14px;
  color: white;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  outline: none;
}
.email-form button {
  background: var(--green);
  border: none;
  padding: 12px 16px;
  color: white;
  font-size: 16px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: #666; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.social-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  color: #111111;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--green); color: white; }

.payment-logos {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid #333;
}
.payment-logo {
  width: 86px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  width: min(380px, calc(100vw - 24px));
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.2);
  padding: 18px 18px 16px;
  z-index: 1400;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
}
.cookie-banner p {
  font-size: 14px;
  line-height: 1.45;
  color: #4b4b4b;
  margin-bottom: 16px;
}
.cookie-link {
  color: var(--green);
  font-weight: 700;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cookie-btn {
  width: 108px;
  border: none;
  border-radius: 4px;
  background: #08a84f;
  color: #ffffff;
  font-size: 14px;
  padding: 8px 12px;
  font-weight: 700;
}
.cookie-btn:hover {
  background: #078a42;
}

/* ========== CATEGORY PAGE ========== */
.page-header {
  background: linear-gradient(135deg, #e8f5e9 0%, #f0fff4 100%);
  padding: 48px 24px;
  text-align: center;
  border-bottom: 1px solid var(--mid-gray);
}
.page-header h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 8px;
}
.page-header p { font-size: 17px; color: var(--text-muted); }

.breadcrumb {
  max-width: 1400px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; }

.catalog-layout {
  max-width: 1400px;
  margin: 28px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.filters-panel {
  background: white;
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}
.filters-panel h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 20px;
}
.filter-group { margin-bottom: 20px; border-bottom: 1px solid var(--mid-gray); padding-bottom: 20px; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 12px;
}
.filter-group-header h4 { font-size: 14px; font-weight: 800; }
.filter-group-header svg { width: 16px; height: 16px; color: var(--text-muted); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.color-swatch:hover { border-color: var(--black); transform: scale(1.1); }
.color-swatch.active { border-color: var(--black); }

.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  border: 2px solid var(--mid-gray);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  background: white;
}
.size-chip:hover, .size-chip.active { border-color: var(--black); background: var(--black); color: white; }

.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; }
.filter-check input { accent-color: var(--green); }
.filter-check label { font-size: 14px; cursor: pointer; }

.catalog-main {}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-mobile-overlay,
.filters-mobile-header,
.mobile-filter-toggle,
.mobile-sort {
  display: none;
}
.catalog-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.results-count { font-size: 14px; color: var(--text-muted); }
.sort-dropdown {
  position: relative;
}
.desktop-sort {
  display: block;
}
.desktop-sort-toggle,
.desktop-sort-option {
  font-family: 'Nunito', sans-serif;
}
.desktop-sort-toggle {
  min-width: 188px;
  height: 42px;
  border: 2px solid var(--mid-gray);
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
}
.desktop-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d8dbe2;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.12);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 20;
}
.desktop-sort.is-open .desktop-sort-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.desktop-sort-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
}
.desktop-sort-option.is-active {
  background: #f3f4f6;
  font-weight: 800;
}
.grid-toggles { display: flex; gap: 4px; }
.grid-toggle {
  width: 40px; height: 40px;
  border: 2px solid var(--mid-gray);
  border-radius: 10px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
}
.grid-toggle.active, .grid-toggle:hover { border-color: var(--black); color: var(--black); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.catalog-grid .product-card { width: 100%; }
.catalog-grid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 16px;
}
.catalog-grid[data-view="list"] .product-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 12px;
}
.catalog-grid[data-view="list"] .product-img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}
.catalog-grid[data-view="list"] .product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 8px 4px 0;
}
.catalog-grid[data-view="list"] .product-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.catalog-grid[data-view="list"] .price {
  font-size: 18px;
}

.girls-featured-wrap {
  max-width: 1400px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.girls-featured-card {
  background: linear-gradient(135deg, #fff1f7 0%, #ffe6f1 100%);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  min-height: 250px;
}
.girls-featured-copy {
  padding: 36px 40px;
}
.girls-featured-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #be185d;
  margin-bottom: 8px;
}
.girls-featured-copy h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #111111;
}
.girls-featured-copy p {
  font-size: 16px;
  color: #5b5b5b;
  margin-bottom: 18px;
}
.girls-featured-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.girls-featured-primary {
  background: #ec4899;
}
.girls-featured-primary:hover {
  background: #be185d;
}
.girls-featured-secondary {
  border-color: #ec4899;
  color: #ec4899;
}
.girls-featured-image {
  height: 100%;
  min-height: 250px;
  background: linear-gradient(135deg, #fff7fb 0%, #f9ecff 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.girls-category-marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.girls-category-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: max-content;
  animation: girls-category-scroll 38s linear infinite;
}
.girls-mini-category {
  width: 102px;
  flex: 0 0 auto;
  text-align: center;
}
.girls-mini-category-img {
  width: 78px;
  height: 78px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
  border: 2px solid rgba(255,255,255,0.9);
}
.girls-mini-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.girls-mini-category span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes girls-category-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wishlist-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}
.wishlist-empty-state {
  text-align: center;
  padding: 44px 16px 64px;
}
.wishlist-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: rgba(16, 185, 129, 0.08);
  font-size: 26px;
}
.wishlist-empty-state h1 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 14px;
}
.wishlist-empty-state p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
}
.wishlist-trending h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 28px;
}
.wishlist-trending-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.wishlist-scroll-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}
.wishlist-trending-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.wishlist-trending-card {
  min-width: 0;
}
.wishlist-trending-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
}
.wishlist-trending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wishlist-trending-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
  color: #111827;
}

.account-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px 72px;
}
.account-guest-card {
  padding: 52px 0 70px;
}
.account-guest-inner {
  max-width: 540px;
  margin: 0 auto;
  padding: 38px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  text-align: center;
}
.account-guest-inner i {
  font-size: 42px;
  color: var(--green);
  margin-bottom: 12px;
}
.account-guest-inner h1 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
}
.account-guest-inner p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.account-hero-banner {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  background: #e5e7eb;
}
.account-hero-banner img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transform: scaleX(-1);
}
.account-hero-chip {
  position: absolute;
  left: 0;
  top: 42px;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 800;
}
.account-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}
.account-side-nav {
  display: grid;
  gap: 12px;
}
.account-side-link,
.account-side-logout {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  min-height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.account-side-link i {
  width: 18px;
  text-align: center;
}
.account-side-link.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.account-side-logout {
  justify-content: center;
}
.account-profile-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 26px;
  background: #fff;
}
.account-profile-card h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 26px;
}
.account-detail-box {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: grid;
  gap: 8px;
}
.account-detail-box span {
  font-size: 14px;
  color: #4b5563;
}
.account-detail-box strong {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}
.account-marketing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 30px;
  color: #6b7280;
}
.account-delete-link {
  border: none;
  background: transparent;
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
}
.account-delete-overlay[hidden] {
  display: none !important;
}
.account-delete-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1750;
}
.account-delete-modal {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 28px 22px 22px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.22);
}
.account-delete-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: #111827;
}
.account-delete-modal h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #111827;
}
.account-delete-copy {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.account-delete-target {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.account-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.account-delete-cancel,
.account-delete-confirm {
  min-height: 50px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
}
.account-delete-cancel {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
}
.account-delete-confirm {
  border: none;
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
}
.account-delete-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .three-cards { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wishlist-trending-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .account-auth-panel { width: min(42vw, 480px); }
  .account-dashboard-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body.has-mobile-bottom-nav {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
  body.mobile-profile-popup-open {
    overflow: hidden;
  }
  #site-header {
    position: static;
    top: auto;
    z-index: auto;
  }
  #site-header > header,
  #site-header > nav,
  #site-header > .mobile-nav-overlay,
  #site-header > .mobile-search-overlay {
    display: none !important;
  }
  #site-header > header.home-page-header {
    display: block !important;
  }
  body.home-page-body.guest-landing-mode #site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  body.home-page-body.guest-landing-mode #site-header > header.home-page-header {
    position: relative;
  }
  header {
    position: relative;
    background: var(--white);
  }
  .header-inner {
    position: relative;
    height: 58px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .mobile-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }
  .logo {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    font-size: 20px;
    min-width: 0;
  }
  .logo-centered {
    justify-self: center;
  }
  .home-page-header .header-inner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 16px;
    justify-items: center;
  }
  .header-inner > .search-bar {
    display: none;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 12px;
    margin-left: 0;
  }
  .account-menu-host {
    gap: 10px;
  }
  .header-actions .a-plus-btn {
    display: none;
  }
  .header-actions a {
    font-size: 0;
    font-weight: 700;
    gap: 0;
    color: var(--black);
  }
  .header-actions a svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.3;
  }
  .header-actions .cart-badge {
    top: -5px;
    right: -5px;
  }
  .mobile-search-row {
    display: none;
  }
  .mobile-search-bar {
    max-width: none;
    width: 100%;
  }
  .mobile-category-search {
    display: block;
    margin-bottom: 18px;
  }
  .mobile-category-search-bar {
    max-width: none;
    width: 100%;
  }
  .category-circles {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .category-circle {
    flex: 0 0 auto;
    gap: 8px;
    padding: 8px 4px 10px;
    border-radius: 18px;
    scroll-snap-align: start;
  }
  .category-circle-img {
    width: 84px;
    height: 84px;
  }
  .category-circle span {
    font-size: 11px;
    line-height: 1.25;
    max-width: 84px;
  }
  .fleece-banner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 12px 0 0;
    border-radius: 0;
    background: transparent;
  }
  .fleece-banner-img {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    line-height: 0;
  }
  .fleece-banner-img picture {
    display: block;
  }
  .fleece-banner-img img {
    display: block;
    width: 100%;
    height: auto;
    object-position: 72% center;
  }
  .fleece-banner-content {
    display: contents;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }
  .fleece-banner-content h2,
  .fleece-banner-content p,
  .fleece-btns {
    width: 100%;
    padding-left: 22px;
    padding-right: 22px;
    background: transparent;
    text-align: center;
  }
  .fleece-banner-img {
    order: 1;
  }
  .fleece-banner-content h2 {
    order: 2;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 12px;
  }
  .fleece-banner-content p {
    order: 3;
    max-width: none;
    font-size: 16px;
    padding-top: 0;
    padding-bottom: 14px;
    margin-bottom: 0;
  }
  .fleece-btns {
    order: 4;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding-top: 10px;
    padding-bottom: 22px;
  }
  .fleece-btns .btn-primary,
  .fleece-btns .fleece-secondary {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .products-header {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }
  .products-header h2 {
    font-size: 17px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .shop-all-btn {
    padding: 6px 14px;
    min-height: 32px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .products-grid,
  .three-cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
  }
  .products-grid {
    grid-template-columns: none;
  }
  .product-card,
  .promo-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .promo-card {
    min-height: 360px;
  }
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 1090;
  }
  .mobile-bottom-nav-shell {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 0 10px calc(8px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }
  .mobile-bottom-nav-list {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    box-shadow:
      0 10px 26px rgba(17, 24, 39, 0.14),
      0 -1px 0 rgba(17, 24, 39, 0.04) inset;
    pointer-events: auto;
  }
  .mobile-bottom-nav-link {
    position: relative;
    min-width: 0;
    min-height: 52px;
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #2f343b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    border: 1px solid transparent;
    background: transparent;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }
  .mobile-bottom-nav-link i {
    font-size: 15px;
    transition: transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
  }
  .mobile-bottom-nav-link span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #4b5563;
  }
  .mobile-bottom-nav-link.is-active {
    background: #f3f4f6;
    border-color: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-weight: 900;
    transform: translateY(-2px);
    box-shadow:
      0 8px 18px rgba(17, 24, 39, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.72) inset;
    text-shadow: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-bottom-nav-link.is-active i {
    font-size: 17px;
    color: #111827;
    filter: none;
  }
  .mobile-bottom-nav-link.is-active span {
    font-size: 11px;
    color: #111827;
  }
  .mobile-bottom-nav-link.account-guest-open {
    background: transparent;
    color: #2f343b;
  }
  .mobile-bottom-nav-link.account-guest-open.is-active {
    color: #111827;
  }
  .mobile-bottom-profile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1068;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.22s ease;
  }
  .mobile-bottom-profile-overlay.is-visible {
    opacity: 1;
  }
  .mobile-bottom-profile-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    z-index: 1075;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.24s ease;
    pointer-events: none;
  }
  .mobile-bottom-profile-panel.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .mobile-bottom-profile-card {
    position: relative;
    width: min(100%, 420px);
    padding: 12px;
    border: 1px solid rgba(229, 231, 235, 0.94);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.2);
  }
  .mobile-bottom-profile-card .account-dropdown-greeting {
    padding-right: 42px;
  }
  .mobile-bottom-profile-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
  }
  #site-header.mobile-nav-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: var(--white);
    border-right: 1px solid var(--mid-gray);
    box-shadow: 18px 0 44px rgba(17, 17, 17, 0.16);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.24s ease, visibility 0.24s ease;
    z-index: 1100;
    overflow-y: auto;
    transition: transform 0.3s ease, opacity 0.24s ease, visibility 0.24s ease;
  }
  .mobile-nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--black);
    z-index: 1;
  }
  .mobile-nav-close svg {
    width: 22px;
    height: 22px;
  }
  .mobile-nav-brand {
    position: absolute;
    top: 18px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
  }
  .mobile-nav-brand .logo-image {
    height: 24px;
    width: auto;
  }
  #site-header.mobile-nav-open nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 20px 28px;
    gap: 4px;
  }
  .nav-item {
    width: 100%;
    position: relative;
  }
  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    font-weight: 600;
  }
  .mobile-submenu-toggle {
    display: inline-flex;
    position: absolute;
    top: 8px;
    right: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--black);
  }
  .mobile-submenu-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.24s ease;
  }
  .nav-item.mobile-submenu-open .mobile-submenu-toggle svg {
    transform: rotate(180deg);
  }
  .nav-link::after {
    display: none;
  }
  .mega-dropdown {
    display: block !important;
    position: static;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
  }
  .nav-item.mobile-submenu-open .mega-dropdown {
    max-height: 1200px;
    padding: 6px 0 10px;
  }
  .mega-dropdown-inner {
    padding: 0 0 0 10px;
    display: grid;
    gap: 12px;
  }
  .mega-dropdown-inner .mega-col h4,
  .mega-dropdown-inner .mega-col li,
  .mega-dropdown-inner .mega-highlights h4,
  .mega-dropdown-inner .mega-highlight-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mega-col h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .mega-col ul li a {
    font-size: 13px;
    padding-bottom: 6px;
  }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header {
    padding: 28px 16px;
  }
  .page-header h1 {
    font-size: 28px;
  }
  .page-header p {
    font-size: 15px;
  }
  .breadcrumb {
    margin-top: 14px;
    padding: 0 16px;
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
  }
  .girls-featured-wrap {
    width: 100%;
    max-width: none;
    padding: 0;
    margin-top: 14px;
  }
  .girls-featured-card {
    grid-template-columns: 1fr;
    border-radius: 0;
    min-height: 0;
  }
  .girls-featured-copy {
    order: 1;
    padding: 18px 16px 16px;
  }
  .girls-featured-tag {
    margin-bottom: 8px;
  }
  .girls-featured-copy h2 {
    font-size: 25px;
    line-height: 1.1;
    white-space: nowrap;
    margin-bottom: 10px;
  }
  .girls-featured-copy p {
    margin-bottom: 14px;
  }
  .girls-featured-actions {
    flex-wrap: nowrap;
  }
  .girls-featured-actions .btn-primary,
  .girls-featured-actions .btn-secondary {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    padding-left: 14px;
    padding-right: 14px;
  }
  .girls-featured-image {
    order: 2;
    min-height: 190px;
  }
  .girls-category-marquee {
    padding: 18px 0;
  }
  .girls-category-track {
    gap: 14px;
  }
  .girls-mini-category {
    width: 86px;
  }
  .girls-mini-category-img {
    width: 62px;
    height: 62px;
    margin-bottom: 8px;
  }
  .girls-mini-category span {
    font-size: 11px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 20px auto 40px;
    padding: 0 16px;
  }
  .catalog-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    z-index: 1200;
  }
  body.mobile-filters-open .catalog-mobile-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .filters-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(360px, 88vw);
    max-width: none;
    border: none;
    border-radius: 0;
    padding: 0 20px 24px;
    z-index: 1300;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  body.mobile-filters-open .filters-panel {
    transform: translateX(0);
  }
  .filters-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 22px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .filters-mobile-header h3 {
    margin: 0;
    font-size: 22px;
  }
  .filters-close-btn {
    border: none;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    color: #111;
    padding: 0;
  }
  .filter-group {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .filter-group-header {
    margin-bottom: 0;
    padding: 4px 0;
  }
  .filter-group-header h4 {
    font-size: 16px;
  }
  .catalog-toolbar {
    margin-bottom: 18px;
  }
  .results-count,
  .desktop-sort,
  .grid-toggles {
    display: none;
  }
  .catalog-toolbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
  }
  .mobile-filter-toggle,
  .mobile-sort {
    display: block;
  }
  .mobile-filter-toggle,
  .mobile-sort-toggle {
    width: 100%;
    height: 48px;
    border: 1px solid #d8dbe2;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
  }
  .mobile-sort {
    position: relative;
  }
  .mobile-sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d8dbe2;
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 20;
  }
  .mobile-sort.is-open .mobile-sort-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-sort-option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
  }
  .mobile-sort-option.is-active {
    background: #f3f4f6;
    font-weight: 700;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .catalog-grid .product-card .product-info h3,
  .catalog-grid .product-card h3 {
    font-size: 15px;
    line-height: 1.25;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .payment-logos {
    justify-content: flex-start;
  }
  .seo-copy {
    text-align: left;
  }
  .wishlist-page {
    padding: 26px 16px 48px;
  }
  .wishlist-empty-state {
    padding: 28px 0 40px;
  }
  .wishlist-empty-state h1 {
    font-size: 30px;
  }
  .wishlist-empty-state p {
    font-size: 15px;
  }
  .wishlist-trending h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .wishlist-trending-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .wishlist-scroll-btn {
    display: none;
  }
  .wishlist-trending-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .wishlist-trending-card {
    flex: 0 0 58%;
    scroll-snap-align: start;
  }
  .account-dropdown {
    top: calc(100% + 10px);
    right: 0;
    width: min(82vw, 260px);
  }
  .account-auth-panel {
    width: 100vw;
    min-width: 0;
    padding: 20px 16px 28px;
  }
  .account-auth-panel h2 {
    font-size: 24px;
    padding-right: 34px;
  }
  .account-auth-hero img {
    height: 148px;
  }
  .account-auth-heading {
    font-size: 28px;
  }
  .account-page {
    padding: 22px 16px 48px;
  }
  .account-guest-card {
    padding: 28px 0 40px;
  }
  .account-guest-inner {
    padding: 30px 20px;
  }
  .account-guest-inner h1 {
    font-size: 28px;
  }
  .account-hero-banner img {
    height: 160px;
  }
  .account-hero-chip {
    left: 16px;
    top: 18px;
    font-size: 18px;
    padding: 10px 14px;
  }
  .account-profile-card {
    padding: 20px;
  }
}

/* ========== WORKLINKUP FINAL OVERRIDES ========== */
body {
  background: linear-gradient(180deg, #f7f2eb 0%, #fcfaf7 260px, #fcfaf7 100%);
}

header,
nav {
  background: rgba(252, 250, 247, 0.92);
  border-color: var(--brand-border);
  backdrop-filter: blur(18px);
}

header {
  box-shadow: 0 12px 28px rgba(26, 50, 99, 0.08);
}

nav {
  box-shadow: 0 16px 34px rgba(26, 50, 99, 0.08);
}

.logo {
  letter-spacing: -0.08em;
}

.logo-soft {
  color: var(--brand-gold);
}

.logo-giggles {
  color: var(--brand-ink);
}

.search-bar {
  border-color: rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.search-bar:focus-within {
  border-color: var(--brand-gold);
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.2);
}

.search-match,
.header-actions a:hover,
.nav-link:hover,
.mega-col ul li a:hover,
.cookie-link,
.account-change-method,
.account-mode-switch {
  color: var(--brand-slate);
}

.nav-link.sale {
  color: var(--brand-gold);
}

.nav-link.promo {
  color: var(--brand-slate);
}

.nav-link::after,
.mega-col ul li a::after {
  background: var(--brand-gold);
}

.a-plus-btn {
  background: var(--brand-ink);
  box-shadow: 0 12px 24px rgba(26, 50, 99, 0.16);
}

.a-plus-btn:hover,
.a-plus-btn:focus-visible {
  background: var(--brand-slate) !important;
}

.cart-badge,
.account-success-toast-inner i,
.cookie-btn {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.cookie-btn:hover {
  background: #f2a63e;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--brand-ink);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(26, 50, 99, 0.16);
}

.btn-primary:hover {
  background: var(--brand-slate);
}

.btn-secondary {
  border-color: rgba(232, 226, 219, 0.8);
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.btn-secondary:hover {
  background: var(--brand-gold);
  color: var(--brand-ink);
  border-color: var(--brand-gold);
}

.account-dropdown {
  background: rgba(252, 250, 247, 0.96);
  border-color: rgba(26, 50, 99, 0.08);
  box-shadow: 0 24px 46px rgba(26, 50, 99, 0.14);
}

.account-dropdown-greeting {
  background: rgba(84, 119, 146, 0.1);
  color: var(--brand-ink);
}

.account-dropdown-item:hover {
  background: rgba(220, 20, 60, 0.14);
  color: var(--brand-ink) !important;
}

.account-auth-panel {
  background: rgba(252, 250, 247, 0.98);
}

.account-auth-method-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9f5ef 100%);
  border-color: rgba(26, 50, 99, 0.08);
}

.account-email-toggle,
.account-submit-btn.account-submit-signin,
.account-guest-open {
  background: linear-gradient(180deg, var(--brand-ink) 0%, #11254c 100%);
}

.account-submit-btn.account-submit-signup {
  background: linear-gradient(180deg, var(--brand-gold) 0%, #DC143C 100%);
  color: var(--brand-ink);
}

.account-form-row input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.18);
}

.hero-btns {
  margin-top: 28px;
  justify-content: flex-start;
}

.work-hero {
  min-height: auto;
  max-width: 1400px;
  margin: 0 auto 54px;
  padding: 64px 24px 72px;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at top left, rgba(220, 20, 60, 0.4) 0%, rgba(220, 20, 60, 0) 34%),
    radial-gradient(circle at bottom right, rgba(232, 226, 219, 0.18) 0%, rgba(232, 226, 219, 0) 32%),
    linear-gradient(135deg, rgba(26, 50, 99, 0.98) 0%, rgba(84, 119, 146, 0.96) 48%, rgba(26, 50, 99, 0.98) 100%);
}

.work-hero::before {
  top: auto;
  right: auto;
  bottom: -90px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.16) 0%, transparent 72%);
}

.work-hero::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(232, 226, 219, 0.12);
  pointer-events: none;
}

.work-hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.work-hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  color: #fff;
  letter-spacing: -0.08em;
}

.work-hero-copy p {
  margin-top: 22px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.18);
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-categories {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.section-title {
  margin-top: 14px;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  color: var(--brand-ink);
}

.work-seo {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 32px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
  text-align: left;
  border: 1px solid var(--brand-border);
  box-shadow: 0 22px 44px rgba(26, 50, 99, 0.08);
}

.work-seo h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-ink);
}

.work-seo p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.85;
}

footer {
  background: linear-gradient(180deg, #14264c 0%, #0f1e3e 100%);
  color: rgba(232, 226, 219, 0.78);
}

.footer-inner {
  border-bottom-color: rgba(232, 226, 219, 0.12);
}

.footer-col h4,
.newsletter-col h4 {
  color: #fff;
}

.footer-col ul li a,
.newsletter-col p,
.footer-links a {
  color: rgba(232, 226, 219, 0.72);
}

.footer-col ul li a:hover,
.footer-links a:hover {
  color: var(--brand-gold);
}

.email-form {
  border-color: rgba(232, 226, 219, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.email-form input {
  background: transparent;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
}

.email-form button {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.social-links a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.social-links a:hover {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.account-hero-chip {
  position: static;
  background: rgba(255, 255, 255, 0.92);
  width: fit-content;
  color: var(--brand-ink);
  border-radius: 999px;
}

.account-side-link.is-active {
  background: var(--brand-ink);
  color: #fff;
  border-color: var(--brand-ink);
}

.account-side-link:hover,
.account-side-logout:hover {
  border-color: rgba(220, 20, 60, 0.44);
}

@media (max-width: 1100px) {
  .work-hero-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .work-hero {
    margin: 0 0 38px;
    padding: 32px 16px 42px;
    border-radius: 0 0 26px 26px;
  }

  .work-hero::after {
    inset: 10px;
    border-radius: 20px;
  }

  .work-hero-copy h1 {
    font-size: 40px;
  }

  .hero-btns {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
  }

  .work-categories {
    padding: 0 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .work-seo {
    margin: 0 16px 44px;
    padding: 24px 20px;
  }

  .account-hero-chip {
    font-size: 16px;
  }
}

/* Home light theme */
body.home-page-body {
  background: #ffffff;
  color: var(--brand-ink);
}

.home-page-body #site-header > header,
.home-page-body #site-header > nav {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(26, 50, 99, 0.1);
  box-shadow: 0 12px 28px rgba(26, 50, 99, 0.08);
}

.categories-section.homepage-categories.home-stream-hero,
.home-stream-hero {
  color: var(--brand-ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(61, 169, 252, 0.12), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(220, 20, 60, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 58%, #eef6ff 100%);
}

.home-stream-hero::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.92) 56%, rgba(247, 251, 255, 0.98) 100%),
    url("../images/sections/findme.avif") center 24% / cover no-repeat;
  opacity: 1;
}

.home-stream-kicker,
.home-stream-panel-kicker {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(26, 50, 99, 0.12);
  color: var(--brand-slate);
  box-shadow: 0 12px 28px rgba(26, 50, 99, 0.08);
}

.home-stream-copy h1 {
  color: var(--brand-ink);
  text-shadow: none;
}

.home-stream-copy p {
  color: var(--text-muted);
  text-shadow: none;
}

.home-stream-actions .btn-primary {
  background: linear-gradient(180deg, #1a3263 0%, #547792 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(26, 50, 99, 0.18);
}

.home-stream-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 50, 99, 0.14);
  color: var(--brand-ink);
  box-shadow: 0 14px 30px rgba(26, 50, 99, 0.08);
}

.home-stream-actions .btn-secondary:hover,
.home-stream-actions .btn-secondary:focus-visible {
  background: #ffffff;
  border-color: rgba(26, 50, 99, 0.24);
  color: var(--brand-ink);
}

.home-copy-search {
  border-color: rgba(26, 50, 99, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(26, 50, 99, 0.12);
}

.home-copy-search:focus-within {
  border-color: rgba(84, 119, 146, 0.42);
  box-shadow: 0 22px 52px rgba(84, 119, 146, 0.16);
}

.home-copy-search .search-icon {
  color: var(--brand-slate);
}

.home-copy-search input {
  color: var(--brand-ink);
}

.home-copy-search input::placeholder {
  color: rgba(92, 109, 131, 0.72);
}

.home-hero-search-submit {
  background: linear-gradient(180deg, var(--brand-gold) 0%, #DC143C 100%);
  color: var(--brand-ink);
  box-shadow: 0 10px 22px rgba(220, 20, 60, 0.24);
}

.home-stream-row-title,
.home-trending-section-title {
  color: var(--brand-ink);
  text-align: center;
  text-shadow: none;
}

.home-stream-hero .worklinkup-rail-arrow {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 50, 99, 0.12);
  color: var(--brand-ink);
  box-shadow: 0 12px 24px rgba(26, 50, 99, 0.08);
}

.home-stream-category-panel .home-category-circle {
  color: var(--brand-ink);
}

.home-stream-category-panel .home-category-circle .category-circle-img {
  border-color: rgba(26, 50, 99, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 14px 30px rgba(26, 50, 99, 0.1);
}

.home-stream-category-panel .home-category-circle span {
  color: rgba(26, 50, 99, 0.74);
}

.home-stream-category-panel .home-category-circle:hover .category-circle-img {
  border-color: rgba(84, 119, 146, 0.42);
}

.home-stream-category-panel .category-circles {
  display: block;
  width: max-content;
  min-width: max-content;
  max-width: none;
  animation: none;
  will-change: auto;
}

.home-category-desktop-row {
  display: flex;
  width: max-content;
  min-width: max-content;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: nowrap;
  animation: none;
  will-change: auto;
}

.home-mobile-category-rows {
  display: none;
}

.homepage-categories-track-wrap:hover .home-category-desktop-row,
.homepage-categories-track-wrap:focus-within .home-category-desktop-row,
.homepage-categories-track-wrap:hover .home-mobile-category-row,
.homepage-categories-track-wrap:focus-within .home-mobile-category-row,
.home-mobile-category-row-shell:active .home-mobile-category-row {
  animation-play-state: paused;
}

.home-trending-section {
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.12), transparent 28%),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.home-trending-job-card {
  color: var(--brand-ink);
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(26, 50, 99, 0.12);
}

.home-trending-job-card::after {
  background: linear-gradient(180deg, transparent 0%, transparent 44%, rgba(255, 255, 255, 0.72) 82%, rgba(255, 255, 255, 0.92) 100%);
}

.home-trending-job-art img {
  filter: none;
}

.home-trending-job-card:hover,
.home-trending-job-card:focus-visible {
  box-shadow: 0 30px 60px rgba(26, 50, 99, 0.18);
}

.home-trending-job-icon {
  background:
    radial-gradient(circle at top, rgba(220, 20, 60, 0.24), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  color: var(--brand-slate);
}

.home-trending-job-rank {
  color: rgba(26, 50, 99, 0.1);
  -webkit-text-stroke: 2px rgba(26, 50, 99, 0.42);
  text-shadow: none;
}

.home-trending-job-chips span {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(26, 50, 99, 0.12);
  color: var(--brand-slate);
}

.home-trending-job-copy h3 {
  color: var(--brand-ink);
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-trending-job-copy p {
  color: var(--text-muted);
  font-size: clamp(12px, 1.15vw, 15px);
  overflow-wrap: anywhere;
}

.home-trending-job-copy {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.home-job-cta {
  border: 1px solid rgba(26, 50, 99, 0.1);
  background:
    radial-gradient(circle at top left, rgba(61, 169, 252, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  color: var(--brand-ink);
  box-shadow: 0 28px 60px rgba(26, 50, 99, 0.1);
}

.home-job-cta-kicker {
  background: rgba(220, 20, 60, 0.18);
  color: var(--brand-ink);
}

.home-job-cta p {
  color: var(--text-muted);
}

.home-job-cta .btn-secondary.home-job-cta-btn {
  background: #ffffff;
  border-color: rgba(26, 50, 99, 0.16);
  color: var(--brand-ink);
}

.home-job-cta .btn-secondary.home-job-cta-btn:hover,
.home-job-cta .btn-secondary.home-job-cta-btn:focus-visible {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-ink);
}

.home-page-body footer {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  color: var(--text-muted);
  border-top: 1px solid rgba(26, 50, 99, 0.1);
}

.home-page-body .footer-inner {
  border-bottom-color: rgba(26, 50, 99, 0.1);
}

.home-page-body .footer-col h4,
.home-page-body .newsletter-col h4 {
  color: var(--brand-ink);
}

.home-page-body .footer-col ul li a,
.home-page-body .newsletter-col p,
.home-page-body .newsletter-col a,
.home-page-body .footer-links a {
  color: var(--text-muted) !important;
}

.home-page-body .footer-col ul li a:hover,
.home-page-body .footer-links a:hover,
.home-page-body .newsletter-col a:hover {
  color: var(--brand-slate) !important;
}

.home-page-body .email-form {
  border-color: rgba(26, 50, 99, 0.12);
  background: #ffffff;
}

.home-page-body .email-form input {
  color: var(--brand-ink);
}

.home-page-body .work-footer-highlight,
.home-page-body .social-links a {
  background: rgba(26, 50, 99, 0.06);
  color: var(--brand-ink);
}

.home-page-body .footer-admin-link {
  background: rgba(220, 20, 60, 0.18);
  color: var(--brand-ink);
}

@media (max-width: 768px) {
  .home-stream-hero,
  .home-stream-shell {
    min-height: calc(100svh + 56px);
  }

  .home-stream-shell {
    justify-content: flex-start;
  }

  .home-stream-discovery {
    margin-top: 18px;
  }

  .home-stream-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .home-stream-kicker {
    display: none;
  }

  .home-stream-copy h1 {
    order: 1;
    margin-top: 2cm;
  }

  .home-stream-copy h1 span {
    display: block;
  }

  .home-stream-copy p {
    order: 2;
  }

  .home-mobile-copy-trim {
    display: none;
  }

  .home-copy-search {
    order: 3;
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  .home-stream-actions {
    order: 4;
    width: calc(100% - 32px);
    margin-top: 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .home-stream-actions .btn-primary,
  .home-stream-actions .btn-secondary {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 54px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.15;
    white-space: normal;
  }

  .home-trending-section-title {
    text-align: center;
  }

  .home-stream-category-panel .homepage-categories-track-wrap,
  .home-trending-jobs-track-wrap {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    flex-basis: 100vw;
  }

  .homepage-categories-rail {
    padding: 0;
  }

  .home-all-categories-link {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.2;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
  }

  .home-stream-category-panel .homepage-categories-track-wrap {
    overflow-x: auto;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .home-stream-category-panel .category-circles,
  .home-trending-jobs-track {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .home-category-desktop-row {
    display: none;
  }

  .home-mobile-category-rows {
    display: grid;
    gap: 8px;
    width: 100%;
    overflow: hidden;
  }

  .home-mobile-category-row-shell {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .home-mobile-category-row-shell::-webkit-scrollbar {
    display: none;
  }

  .home-mobile-category-row {
    display: flex;
    width: max-content;
    min-width: max-content;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: nowrap;
    animation: home-marquee-left 36s linear infinite;
    will-change: transform;
  }

  .home-mobile-category-row.is-reverse {
    animation-name: home-marquee-right;
    animation-duration: 42s;
  }

  .home-mobile-category-row-shell:nth-child(3) .home-mobile-category-row {
    animation-duration: 48s;
  }

  .home-trending-jobs-track {
    animation-name: home-marquee-left;
  }

  .homepage-categories-track-wrap:hover .home-category-desktop-row,
  .homepage-categories-track-wrap:focus-within .home-category-desktop-row,
  .homepage-categories-track-wrap:hover .home-mobile-category-row,
  .homepage-categories-track-wrap:focus-within .home-mobile-category-row,
  .home-mobile-category-row-shell:active .home-mobile-category-row,
  .home-mobile-category-row-shell.is-touching .home-mobile-category-row {
    animation-play-state: paused;
  }

  .home-trending-job-copy {
    padding: 10px 8px 10px 42px;
  }

  .home-trending-job-copy h3 {
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.08;
  }

  .home-trending-job-copy p {
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.35;
  }

  .home-trending-job-chips span {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
  }
}

.home-market-section {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 28px 0 54px;
  background: #ffffff;
}

.home-market-desktop {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) repeat(3, minmax(160px, 1fr)) minmax(260px, 1.35fr);
  gap: 10px;
  align-items: stretch;
}

.home-market-mobile {
  display: none;
}

.home-market-categories,
.home-market-card,
.home-market-promo,
.home-market-wide-promo,
.home-market-product-card,
.home-mobile-mini-card,
.home-mobile-supplier-card,
.home-mobile-large-card {
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
}

.home-market-categories {
  min-height: 250px;
  background: #f6f8fb;
  display: grid;
  align-content: start;
  padding: 8px 0;
  border: 1px solid rgba(26, 50, 99, 0.06);
}

.home-market-categories a {
  min-height: 46px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  color: #202124;
  font-size: 15px;
  font-weight: 800;
}

.home-market-categories a:hover,
.home-market-categories a:focus-visible {
  background: #eef4ff;
  color: var(--brand-ink);
}

.home-market-card,
.home-market-promo {
  min-height: 250px;
  background: #f8fafc;
  border: 1px solid rgba(26, 50, 99, 0.06);
}

.home-market-booked-shell {
  position: relative;
  grid-column: span 3;
  min-width: 0;
}

.home-market-booked-window {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-market-booked-window::-webkit-scrollbar {
  display: none;
}

.home-market-booked-track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.home-market-booked-track .home-market-search-card,
.home-market-booked-track .home-market-available-card {
  flex: 0 0 calc((min(100vw - 40px, 1440px) - 230px - 260px - 60px) / 3);
  min-width: 0;
}

.home-market-scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 50, 99, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
  box-shadow: 0 10px 22px rgba(26, 50, 99, 0.14);
  transform: translateY(-50%);
}

.home-market-scroll-btn.is-prev {
  left: 8px;
}

.home-market-scroll-btn.is-next {
  right: 8px;
}

.home-market-scroll-btn[disabled] {
  opacity: 0.42;
}

.home-market-search-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 18px;
  color: #202124;
}

.home-market-search-card span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.home-market-search-card strong {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #363f4d;
}

.home-market-search-card img {
  align-self: end;
  width: 100%;
  height: 150px;
  margin-top: 14px;
  object-fit: cover;
  border-radius: 8px;
}

.home-market-available-card {
  position: relative;
  display: grid;
  grid-template-rows: 126px 1fr auto;
  min-height: 250px;
  padding: 0;
  color: #202124;
  background: #ffffff;
}

.home-available-image-link {
  display: block;
  min-width: 0;
  overflow: hidden;
}

.home-available-category-image {
  width: 100%;
  height: 126px;
  object-fit: cover;
  background: #f3f4f6;
}

.home-available-avatar {
  position: absolute;
  top: 96px;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(17, 17, 17, 0.18);
  transform: translateX(-50%);
}

.home-available-avatar,
.home-available-avatar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-available-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-available-avatar span {
  width: 100%;
  height: 100%;
  font-size: 15px;
  font-weight: 900;
}

.home-guide-step {
  background: #DC143C;
  color: #111111;
}

.home-available-job-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 36px 14px 10px;
}

.home-available-job-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.home-available-job-meta span,
.home-available-job-meta strong {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.home-available-job-meta span {
  min-width: 0;
  overflow: hidden;
  color: #5f5f5f;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-available-job-meta strong {
  color: #15803d;
  white-space: nowrap;
}

.home-available-job-copy h3 {
  margin: 0;
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.home-available-job-copy p {
  margin: 0;
  color: #5f5f5f;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-available-job-copy small {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.2;
}

.home-available-job-copy small i {
  flex: 0 0 auto;
  color: #DC143C;
}

.home-available-job-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  margin: 0 12px 12px;
  padding: 0 12px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.home-available-job-cta:hover,
.home-available-job-cta:focus-visible {
  background: #DC143C;
  color: #111111;
}

.home-job-guide-card .home-available-job-meta strong {
  color: #DC143C;
}

.home-market-hot-picks {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  align-content: start;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(235, 244, 255, 0.96) 0%, rgba(209, 226, 248, 0.96) 100%);
}

.home-market-hot-picks::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.18) 42%, rgba(255, 255, 255, 0.7) 100%);
  pointer-events: none;
}

.home-market-hot-picks h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #121a46;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.home-carousel-slides {
  position: relative;
  width: 100%;
  min-height: 154px;
}

.home-market-hot-picks .home-carousel-slides {
  position: absolute;
  inset: 0;
  min-height: 0;
  z-index: 0;
}

.home-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.home-carousel-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.home-market-hot-picks img,
.home-carousel-slide img {
  width: min(78%, 260px);
  height: 118px;
  margin: 0;
  object-fit: cover;
  border-radius: 8px;
}

.home-market-hot-picks .home-carousel-slide img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.home-carousel-slide strong {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: var(--brand-ink);
  font-size: 17px;
  font-weight: 900;
}

.home-market-hot-picks .home-carousel-slide strong {
  align-self: end;
  margin: 0 0 56px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.home-market-hot-picks a,
.home-market-wide-promo a,
.home-mobile-supplier-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 28px;
  border-radius: 8px;
  background: var(--brand-ink);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.home-market-hot-picks a {
  align-self: end;
  margin-top: auto;
}

.home-carousel-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 10px;
  margin-top: 10px;
}

.home-carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 50, 99, 0.28);
  padding: 0;
}

.home-carousel-dot.is-active {
  width: 22px;
  background: var(--brand-ink);
}

.home-market-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 10px;
  color: #6b7280;
  font-size: 14px;
}

.home-market-divider::before,
.home-market-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(26, 50, 99, 0.12);
}

.home-market-recommendations {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 1.55fr) repeat(4, minmax(150px, 1fr));
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(26, 50, 99, 0.96) 0%, rgba(84, 119, 146, 0.92) 100%);
}

.home-market-wide-promo {
  min-height: 224px;
  padding: 32px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(26, 50, 99, 0.96), rgba(26, 50, 99, 0.42)),
    url("../images/categories/digital_converted.avif") center / cover no-repeat;
}

.home-market-wide-promo h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1;
}

.home-market-wide-promo p,
.home-market-wide-promo li {
  color: rgba(255, 255, 255, 0.9);
}

.home-market-wide-promo p {
  margin: 10px 0 18px;
  font-size: 16px;
}

.home-market-wide-promo ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.home-market-wide-promo li::before {
  content: "• ";
  color: var(--brand-gold);
}

.home-market-wide-promo a {
  background: #ffffff;
  color: var(--brand-ink);
}

.home-market-product-card {
  min-height: 224px;
  padding: 10px;
  display: grid;
  align-content: start;
  background: #ffffff;
  color: #202124;
}

.home-market-product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 8px;
}

.home-market-product-card span {
  width: fit-content;
  max-width: 100%;
  margin: -28px auto 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(26, 50, 99, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  position: relative;
}

.home-market-product-card strong {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.home-market-product-card small {
  margin-top: 6px;
  color: #4b5563;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .home-market-section {
    padding: 16px 0 42px;
  }

  .home-market-desktop {
    display: none;
  }

  .home-market-mobile {
    display: block;
    width: 100%;
    padding: 0 4px;
  }

  .home-market-mobile h2 {
    margin: 0 0 3px;
    padding: 0 0 0 2px;
    color: #202124;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
  }

  .home-market-mobile-subtitle {
    margin: 0 0 10px;
    padding-left: 2px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.3;
  }

  .home-mobile-arrivals {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    padding-bottom: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    background-image: linear-gradient(rgba(17, 17, 17, 0.14), rgba(17, 17, 17, 0.14));
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 80% 1px;
    -webkit-overflow-scrolling: touch;
  }

  .home-mobile-arrivals::-webkit-scrollbar {
    display: none;
  }

  .home-mobile-mini-card {
    display: grid;
    flex: 0 0 32%;
    min-width: 108px;
    color: #202124;
    background: #ffffff;
    scroll-snap-align: start;
  }

  .home-mobile-mini-card img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f4f6;
  }

  .home-mobile-mini-card strong {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.05;
    font-weight: 900;
    overflow-wrap: anywhere;
  }

  .home-mobile-mini-card span {
    margin-top: 3px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.2;
  }

  .home-mobile-arrivals .home-market-available-card {
    flex: 0 0 min(46vw, 176px);
    min-width: 158px;
    min-height: 0;
    scroll-snap-align: center;
  }

  .home-mobile-arrivals .home-available-category-image {
    height: 106px;
  }

  .home-mobile-arrivals .home-market-available-card {
    grid-template-rows: 106px 1fr auto;
  }

  .home-mobile-arrivals .home-available-avatar {
    top: 78px;
    width: 52px;
    height: 52px;
  }

  .home-mobile-arrivals .home-available-job-copy {
    padding: 32px 12px 9px;
    gap: 6px;
  }

  .home-mobile-arrivals .home-available-job-copy h3 {
    font-size: 16px;
  }

  .home-mobile-arrivals .home-available-job-copy p {
    font-size: 11px;
    line-height: 1.3;
  }

  .home-mobile-arrivals .home-available-job-cta {
    min-height: 36px;
    margin: 0 10px 10px;
    font-size: 12px;
  }

  .home-mobile-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-mobile-supplier-card {
    min-height: 246px;
    padding: 18px 14px 12px;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    align-content: stretch;
    justify-items: center;
    background:
      linear-gradient(180deg, rgba(204, 241, 255, 0.96) 0%, rgba(178, 226, 248, 0.96) 100%);
    color: #0b3b57;
  }

  .home-mobile-supplier-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.18;
    font-weight: 900;
    text-align: center;
  }

  .home-mobile-supplier-card img {
    width: 86%;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
  }

  .home-mobile-supplier-card .home-carousel-slides {
    align-self: stretch;
    min-height: 112px;
  }

  .home-mobile-supplier-card .home-carousel-slide strong {
    color: #0b3b57;
    font-size: 14px;
  }

  .home-mobile-supplier-card a {
    width: 100%;
    min-height: 38px;
  }

  .home-mobile-large-card {
    min-width: 0;
    display: grid;
    align-content: start;
    color: #202124;
    background: #ffffff;
  }

  .home-mobile-large-card img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f4f6;
  }

  .home-mobile-large-card span {
    margin-top: 8px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .home-mobile-large-card strong {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.05;
    font-weight: 900;
  }

  .home-mobile-large-card small {
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.2;
  }
}

/* Specialists search results mobile responsiveness */
@media (max-width: 768px) {
  .specialists-page {
    width: 100%;
    padding-bottom: 48px;
    overflow-x: hidden;
  }

  .specialists-layout,
  .specialists-layout.is-sidebar-collapsed {
    display: block;
    min-height: auto;
  }

  .specialists-main {
    width: 100%;
    min-height: auto;
    padding: 16px 12px 0;
    overflow-x: hidden;
  }

  .specialists-search-shell {
    gap: 12px;
  }

  .specialists-title-row {
    align-items: center;
    gap: 10px;
  }

  .specialists-page-title {
    min-width: 0;
    font-size: 24px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .specialists-title-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .specialists-icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .specialists-search-line,
  .specialists-search-line .search-bar {
    width: 100%;
    min-width: 0;
  }

  .specialists-search-line .search-bar {
    border-width: 1px;
  }

  .specialists-search-line .search-bar input {
    min-width: 0;
    min-height: 48px;
    font-size: 14px;
  }

  .specialists-results {
    padding-top: 18px;
  }

  .specialists-results-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    margin-bottom: 12px;
  }

  .specialists-results-head h3 {
    font-size: 21px;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .specialists-results-head p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
  }

  .specialists-results-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .specialist-card,
  .specialist-card-skeleton-card,
  .specialist-card-skeleton {
    width: 100%;
    min-width: 0;
    border-radius: 16px;
  }

  .specialist-card-banner {
    min-height: 184px;
  }

  .specialist-card-banner-copy {
    padding-top: 64px;
  }

  .specialist-card-banner-copy h3 {
    font-size: 20px;
  }

  .specialist-card-banner-copy p,
  .specialist-card-location span,
  .specialist-card-fact span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .specialist-card-body {
    padding: 14px;
  }

  .specialist-card-facts {
    gap: 8px;
  }

  .specialist-card-fact strong {
    display: inline;
  }

  .specialist-actions {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
  }

  .specialist-actions .provider-contact-btn,
  .specialist-actions .specialists-view-btn {
    min-height: 42px;
    font-size: 13px;
  }

  .specialist-actions .whatsapp-btn {
    width: 46px;
    padding: 0;
  }

  .specialist-actions .specialists-view-btn i {
    display: inline-flex;
  }

  .specialists-categories-track-wrap,
  .specialists-related-track-wrap {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-left: 12px;
    padding-right: 12px;
  }

  .specialists-empty-rich {
    padding: 34px 16px;
  }

  .specialists-empty-rich h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .specialists-empty-actions {
    width: 100%;
  }

  .specialists-empty-actions .btn-primary,
  .specialists-empty-actions .btn-secondary {
    width: 100%;
  }

  .providers-mobile-sheet-panel {
    width: min(100%, calc(100vw - 16px));
    max-height: min(78vh, 620px);
    padding: 12px 14px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
  }
}

@media (max-width: 380px) {
  .specialists-main {
    padding-right: 10px;
    padding-left: 10px;
  }

  .specialists-page-title {
    font-size: 22px;
  }

  .specialist-card-banner {
    min-height: 170px;
  }

  .specialist-card-banner-copy h3 {
    font-size: 18px;
  }
}

/* Dedicated search results page */
.search-results-body {
  background: #ffffff;
}

.search-results-page {
  width: min(100% - 36px, 1480px);
  margin: 0 auto;
  padding: 22px 0 72px;
}

.search-results-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(26, 50, 99, 0.1);
}

.search-results-summary p {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.search-results-summary h1 {
  margin: 10px 0 0;
  color: #111827;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.search-results-summary h1 span {
  color: #c2410c;
}

.search-results-filter-btn {
  width: 46px;
  height: 40px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 17px;
}

.search-results-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 16px;
}

.search-results-active-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  color: #374151;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.search-result-card {
  min-width: 0;
  display: grid;
  align-content: start;
  color: #111827;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.search-result-card-image {
  position: relative;
  background: #f6f7f9;
}

.search-result-card-image img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.search-result-card-image a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.search-result-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 10px;
  font-weight: 900;
}

.search-result-card-copy {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.search-result-card-copy h2 {
  margin: 0;
  color: #222222;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-card-copy p,
.search-result-card-copy small {
  margin: 0;
  color: #5f6368;
  font-size: 13px;
  line-height: 1.25;
}

.search-result-card-copy strong {
  color: #111827;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.search-result-card-copy strong i {
  color: #DC143C;
  font-size: 13px;
}

.search-result-card.is-loading {
  min-height: 300px;
  background: linear-gradient(90deg, #f3f4f6 25%, #ffffff 50%, #f3f4f6 75%);
  background-size: 220% 100%;
  animation: provider-skeleton 1.15s linear infinite;
}

.search-results-empty {
  grid-column: 1 / -1;
  padding: 54px 20px;
  border: 1px dashed rgba(17, 24, 39, 0.16);
  border-radius: 12px;
  text-align: center;
  color: #5f6368;
}

.search-results-empty i {
  color: #DC143C;
  font-size: 36px;
}

.search-results-empty h2 {
  margin: 12px 0 8px;
  color: #111827;
}

.search-filter-dialog[hidden] {
  display: none;
}

.search-filter-dialog {
  position: fixed;
  inset: 0;
  z-index: 1600;
  pointer-events: none;
}

.search-filter-dialog.is-visible {
  pointer-events: auto;
}

.search-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.36);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.search-filter-dialog.is-visible .search-filter-backdrop {
  opacity: 1;
}

.search-filter-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, calc(100vw - 20px));
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: -24px 0 50px rgba(17, 24, 39, 0.18);
  transform: translateX(104%);
  transition: transform 0.2s ease;
}

.search-filter-dialog.is-visible .search-filter-panel {
  transform: translateX(0);
}

.search-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-filter-panel-head span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-filter-panel-head strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 24px;
  line-height: 1;
}

.search-filter-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
}

.search-filter-group {
  min-width: 0;
}

.search-filter-group h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 16px;
}

.search-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-filter-options.is-scrollable {
  max-height: 100%;
  overflow-y: auto;
  align-content: flex-start;
}

.search-filter-options button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  font-weight: 800;
}

.search-filter-options button.is-active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.search-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.search-filter-reset,
.search-filter-apply {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 900;
}

.search-filter-reset {
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #ffffff;
  color: #111827;
}

.search-filter-apply {
  border: 0;
  background: #111827;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .search-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .search-results-page {
    width: 100%;
    padding: 10px 8px 48px;
  }

  .search-results-toolbar {
    padding: 6px 2px 12px;
    gap: 12px;
  }

  .search-results-summary p {
    font-size: 13px;
  }

  .search-results-summary h1 {
    margin-top: 6px;
    font-size: 22px;
  }

  .search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .search-result-card {
    border: 0;
    border-radius: 0;
  }

  .search-result-card-image img {
    aspect-ratio: 1 / 1.05;
  }

  .search-result-card-copy {
    padding: 8px 2px 10px;
  }

  .search-result-card-copy h2 {
    font-size: 15px;
    line-height: 1.22;
  }

  .search-result-card-copy p,
  .search-result-card-copy small {
    font-size: 12px;
  }

  .search-result-card-copy strong {
    font-size: 18px;
  }

  .search-filter-panel {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(82vh, 640px);
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
    transform: translateY(104%);
  }

  .search-filter-dialog.is-visible .search-filter-panel {
    transform: translateY(0);
  }
}

/* Home page white / black / gold palette */
body.home-page-body {
  --green: #DC143C;
  --green-dark: #111111;
  --black: #111111;
  --white: #ffffff;
  --light-gray: #f7f5f0;
  --mid-gray: #e6dfd0;
  --text-dark: #111111;
  --text-muted: #5f5f5f;
  --brand-ink: #111111;
  --brand-slate: #3f3f3f;
  --brand-gold: #DC143C;
  --brand-cream: #f5efe2;
  --brand-cream-soft: #fbfaf7;
  --brand-border: rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
}

.home-page-body #site-header > header,
.home-page-body #site-header > nav {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.home-page-body .nav-link,
.home-page-body .header-actions a,
.home-page-body .mobile-search-trigger {
  color: #111111;
}

.home-page-body .nav-link {
  font-weight: 700;
}

.home-page-body .nav-link:hover,
.home-page-body .nav-link.promo,
.home-page-body .header-actions a:hover,
.home-page-body .mobile-search-trigger:hover,
.home-page-body .search-match {
  color: #DC143C;
}

.home-page-body .nav-link::after,
.home-page-body .cart-badge {
  background: #DC143C;
}

.home-page-body .search-bar {
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

.home-page-body .search-bar:focus-within {
  border-color: rgba(220, 20, 60, 0.72);
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.16);
}

.home-page-body .a-plus-btn {
  background: #111111;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}

.home-page-body .a-plus-btn:hover,
.home-page-body .a-plus-btn:focus-visible {
  background: #DC143C !important;
  color: #111111 !important;
}

.home-page-body .account-trigger-icon,
.home-page-body .search-icon {
  color: #DC143C;
}

.home-page-body .mega-dropdown {
  border-bottom-color: rgba(17, 17, 17, 0.1);
}

.home-page-body .mega-col h4,
.home-page-body .mega-col ul li a:hover,
.home-page-body .mega-highlight-card h4 {
  color: #111111;
}

.home-page-body .mega-highlight-card {
  background: linear-gradient(135deg, #ffffff 0%, #fbf7ec 100%);
}

.categories-section.homepage-categories.home-stream-hero,
.home-page-body .home-stream-hero {
  color: #111111;
  background:
    radial-gradient(circle at 18% 18%, rgba(17, 17, 17, 0.06), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(220, 20, 60, 0.2), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 58%, #f6f0e3 100%);
}

.home-page-body .home-stream-hero::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.94) 56%, rgba(251, 250, 247, 0.98) 100%),
    url("../images/sections/findme.avif") center 24% / cover no-repeat;
}

.home-page-body .home-stream-kicker,
.home-page-body .home-stream-panel-kicker {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.home-page-body .home-stream-copy h1,
.home-page-body .home-stream-row-title,
.home-page-body .home-trending-section-title,
.home-page-body .home-stream-category-panel .home-category-circle,
.home-page-body .home-stream-category-panel .home-category-circle span {
  color: #111111;
  text-shadow: none;
}

.home-page-body .home-stream-copy p {
  color: #5f5f5f;
  text-shadow: none;
}

.home-page-body .home-stream-actions .btn-primary,
.home-page-body .home-job-cta .btn-primary.home-job-cta-btn {
  background: linear-gradient(180deg, #171717 0%, #050505 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.2);
}

.home-page-body .home-stream-actions .btn-primary:hover,
.home-page-body .home-stream-actions .btn-primary:focus-visible,
.home-page-body .home-job-cta .btn-primary.home-job-cta-btn:hover,
.home-page-body .home-job-cta .btn-primary.home-job-cta-btn:focus-visible {
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
  color: #111111;
}

.home-page-body .home-stream-actions .btn-secondary,
.home-page-body .home-job-cta .btn-secondary.home-job-cta-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.18);
  color: #111111;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}

.home-page-body .home-stream-actions .btn-secondary:hover,
.home-page-body .home-stream-actions .btn-secondary:focus-visible,
.home-page-body .home-job-cta .btn-secondary.home-job-cta-btn:hover,
.home-page-body .home-job-cta .btn-secondary.home-job-cta-btn:focus-visible {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

@property --rotation {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.home-page-body .home-copy-search {
  width: min(calc(100% - 48px), 760px);
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: block;
}

.home-page-body .home-copy-search:focus-within {
  border-color: transparent;
  box-shadow: none;
}

.home-page-body .home-gemini-search {
  --rotation: 0deg;
  --border-size: 4px;
  --gradient: conic-gradient(from var(--rotation) at 52% 49%, #4f7cff 0%, #f2876b 16%, #f5d96f 32%, #62d78c 48%, #4f7cff 66%, #66d2c5 84%, #4f7cff 100%);
  position: relative;
  width: 100%;
  border: 4px solid rgba(215, 215, 215, 0.88);
  border-radius: 999px;
  background: none;
  padding: 0;
  animation: home-gemini-rotate 5s linear infinite;
}

.home-page-body .home-gemini-search::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: var(--gradient);
  filter: blur(15px);
  z-index: -1;
  border-radius: inherit;
}

.home-page-body .home-gemini-search .inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0.35rem 0.4rem 0.35rem 1.1rem;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.98);
  color: #222222;
}

.home-page-body .home-gemini-search .border {
  position: absolute;
  inset: calc(var(--border-size) * -1);
  overflow: hidden;
  border-radius: inherit;
  mask: linear-gradient(#ffffff 0 0);
}

.home-page-body .home-gemini-search .border::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: var(--gradient);
  filter: blur(5px);
}

.home-page-body .home-gemini-search input,
.home-page-body .home-gemini-search button {
  border: 0;
  background: none;
  color: #222222;
}

.home-page-body .home-gemini-search input {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0;
  font-size: 1rem;
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  text-align: center;
}

.home-page-body .home-gemini-search input:focus {
  outline: none;
  text-align: left;
}

.home-page-body .home-gemini-search input::placeholder {
  color: rgba(82, 82, 82, 0.74);
}

.home-page-body .home-gemini-search input:not(:placeholder-shown) {
  text-align: left;
}

.home-page-body .home-gemini-search input:not(:placeholder-shown),
.home-page-body .home-gemini-search input:focus {
  color: #111111;
}

.home-page-body .home-hero-search-submit {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #171717 0%, #050505 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.18);
}

.home-page-body .home-hero-search-submit:hover,
.home-page-body .home-hero-search-submit:focus-visible {
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
  color: #111111;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(220, 20, 60, 0.26);
}

.home-page-body .home-hero-search-submit i {
  font-size: 16px;
}

.home-page-body .home-stream-hero .worklinkup-rail-arrow,
.home-page-body .home-market-scroll-btn {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 17, 17, 0.14);
  color: #111111;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.home-page-body .home-stream-category-panel .home-category-circle .category-circle-img {
  border-color: rgba(17, 17, 17, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ec 100%);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.1);
}

.home-page-body .home-stream-category-panel .home-category-circle:hover .category-circle-img {
  border-color: rgba(220, 20, 60, 0.64);
}

.home-page-body .home-trending-section {
  background:
    radial-gradient(circle at top right, rgba(220, 20, 60, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf7ec 0%, #ffffff 100%);
}

.home-page-body .home-trending-job-card {
  color: #111111;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.12);
}

.home-page-body .home-trending-job-card:hover,
.home-page-body .home-trending-job-card:focus-visible {
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.18);
}

.home-page-body .home-trending-job-icon {
  background:
    radial-gradient(circle at top, rgba(220, 20, 60, 0.26), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fbf7ec 100%);
  color: #111111;
}

.home-page-body .home-trending-job-rank {
  color: rgba(17, 17, 17, 0.08);
  -webkit-text-stroke-color: rgba(17, 17, 17, 0.38);
  text-shadow: none;
}

.home-page-body .home-trending-job-chips span {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
}

.home-page-body .home-trending-job-copy h3 {
  color: #111111;
}

.home-page-body .home-trending-job-copy p {
  color: #5f5f5f;
}

.home-page-body .home-market-section {
  background: #ffffff;
}

.home-page-body .home-market-categories {
  background: #fafafa;
  border-color: rgba(17, 17, 17, 0.08);
}

.home-page-body .home-market-categories a,
.home-page-body .home-market-search-card,
.home-page-body .home-market-product-card,
.home-page-body .home-market-mobile h2,
.home-page-body .home-mobile-mini-card,
.home-page-body .home-mobile-large-card {
  color: #111111;
}

.home-page-body .home-market-categories a:hover,
.home-page-body .home-market-categories a:focus-visible {
  background: #fbf7ec;
  color: #111111;
}

.home-page-body .home-market-card,
.home-page-body .home-market-promo {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.08);
}

.home-page-body .home-market-search-card strong,
.home-page-body .home-market-product-card small,
.home-page-body .home-market-mobile-subtitle,
.home-page-body .home-mobile-mini-card span,
.home-page-body .home-mobile-large-card span,
.home-page-body .home-mobile-large-card small,
.home-page-body .home-market-divider {
  color: #5f5f5f;
}

.home-page-body .home-market-hot-picks {
  background: linear-gradient(180deg, rgba(251, 247, 236, 0.98) 0%, rgba(235, 219, 180, 0.96) 100%);
}

.home-page-body .home-market-hot-picks::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0.72) 100%);
}

.home-page-body .home-market-hot-picks h2,
.home-page-body .home-carousel-slide strong {
  color: #111111;
}

.home-page-body .home-market-hot-picks .home-carousel-slide strong {
  background: rgba(255, 255, 255, 0.86);
}

.home-page-body .home-market-hot-picks a,
.home-page-body .home-market-wide-promo a,
.home-page-body .home-mobile-supplier-card a {
  background: #111111;
  color: #ffffff;
}

.home-page-body .home-carousel-dot {
  background: rgba(17, 17, 17, 0.28);
}

.home-page-body .home-carousel-dot.is-active,
.home-page-body .home-market-wide-promo a {
  background: #DC143C;
  color: #111111;
}

.home-page-body .home-market-divider::before,
.home-page-body .home-market-divider::after {
  background: rgba(17, 17, 17, 0.12);
}

.home-page-body .home-market-recommendations {
  background: linear-gradient(90deg, #111111 0%, #292929 100%);
}

.home-page-body .home-market-wide-promo {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.42)),
    url("../images/categories/digital_converted.avif") center / cover no-repeat;
}

.home-page-body .home-market-wide-promo p,
.home-page-body .home-market-wide-promo li {
  color: rgba(255, 255, 255, 0.9);
}

.home-page-body .home-market-wide-promo li::before {
  color: #DC143C;
}

.home-page-body .home-market-product-card {
  background: #ffffff;
}

.home-page-body .home-market-product-card span {
  background: rgba(17, 17, 17, 0.78);
  color: #ffffff;
}

.home-page-body .home-mobile-supplier-card {
  background: linear-gradient(180deg, #fbf7ec 0%, #eadbb4 100%);
  color: #111111;
}

.home-page-body .home-mobile-supplier-card .home-carousel-slide strong,
.home-page-body .home-mobile-supplier-card h3 {
  color: #111111;
}

.home-page-body .home-mobile-mini-card,
.home-page-body .home-mobile-large-card {
  background: #ffffff;
}

.home-page-body .home-mobile-mini-card img,
.home-page-body .home-mobile-large-card img {
  background: #f7f5f0;
}

.home-page-body .home-job-cta {
  border-color: rgba(17, 17, 17, 0.1);
  background:
    radial-gradient(circle at top left, rgba(220, 20, 60, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbf7ec 100%);
  color: #111111;
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.1);
}

.home-page-body .home-job-cta-kicker {
  background: rgba(220, 20, 60, 0.18);
  color: #111111;
}

.home-page-body .home-job-cta p {
  color: #5f5f5f;
}

.home-page-body footer {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  color: #5f5f5f;
  border-top-color: rgba(17, 17, 17, 0.1);
}

.home-page-body .footer-inner {
  border-bottom-color: rgba(17, 17, 17, 0.1);
}

.home-page-body .footer-col h4,
.home-page-body .newsletter-col h4 {
  color: #111111;
}

.home-page-body .footer-col ul li a,
.home-page-body .newsletter-col p,
.home-page-body .newsletter-col a,
.home-page-body .footer-links a {
  color: #5f5f5f !important;
}

.home-page-body .footer-col ul li a:hover,
.home-page-body .footer-links a:hover,
.home-page-body .newsletter-col a:hover {
  color: #DC143C !important;
}

.home-page-body .email-form {
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
}

.home-page-body .email-form input {
  color: #111111;
}

.home-page-body .email-form button,
.home-page-body .work-footer-highlight,
.home-page-body .social-links a,
.home-page-body .footer-admin-link {
  background: rgba(220, 20, 60, 0.18);
  color: #111111;
}

.home-page-body .social-links a:hover {
  background: #111111;
  color: #ffffff;
}

.pending-setup-panel {
  display: grid;
}

.pending-setup-frame {
  min-width: 0;
  min-height: 0;
}

body.account-embed-mode {
  min-height: 100dvh;
  overflow: hidden;
  background: #fff;
}

.account-embed-mode .account-page,
.account-embed-mode .account-setup-stage,
.account-embed-mode .account-setup-shell {
  min-height: 100dvh;
  height: 100dvh;
}

.account-embed-mode .account-setup-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.account-embed-mode .account-setup-split {
  min-height: 100%;
  height: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.account-embed-mode .account-setup-split-visual,
.account-embed-mode .account-setup-split-panel {
  min-height: 0;
  height: 100%;
}

.account-embed-mode .account-setup-split-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 60px);
  overflow-y: auto;
}

.account-embed-mode .account-setup-back-link {
  align-self: flex-start;
  margin-bottom: clamp(24px, 5vh, 48px);
}

.account-embed-mode .account-setup-content-block {
  width: min(100%, 520px);
  max-width: 520px;
  margin-top: 0;
}

.account-embed-mode .account-provider-setup-stage {
  min-height: 100dvh;
  align-content: center;
  padding: 24px;
}

.account-embed-mode .account-provider-form {
  width: min(100%, 680px);
  margin: 0 auto;
}

.account-embed-mode .account-provider-section-minimal {
  max-width: none;
}

.account-embed-mode .account-provider-form-actions {
  justify-content: center;
  margin-top: 14px;
}

.account-embed-mode .account-provider-form-actions .account-submit-btn {
  width: auto;
  min-width: min(100%, 320px);
  padding: 0 28px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  body.account-embed-mode {
    overflow: auto;
  }

  .account-embed-mode .account-page,
  .account-embed-mode .account-setup-stage,
  .account-embed-mode .account-setup-shell {
    min-height: 100dvh;
    height: auto;
  }

  .account-embed-mode .account-setup-split {
    min-height: 100dvh;
    height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .account-embed-mode .account-setup-split-visual {
    display: none;
  }

  .account-embed-mode .account-setup-split-panel {
    min-height: 100dvh;
    height: auto;
    justify-content: center;
    padding: 24px 16px calc(28px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .account-embed-mode .account-setup-back-link {
    margin-bottom: 26px;
  }

  .account-embed-mode .account-setup-content-block {
    width: 100%;
    max-width: none;
  }
}

/* Find specialists white / black / gold palette */
body.specialists-page-body {
  --green: #DC143C;
  --green-dark: #111111;
  --black: #111111;
  --white: #ffffff;
  --light-gray: #f7f5f0;
  --mid-gray: #e6dfd0;
  --text-dark: #111111;
  --text-muted: #5f5f5f;
  --brand-ink: #111111;
  --brand-slate: #3f3f3f;
  --brand-gold: #DC143C;
  --brand-cream: #f5efe2;
  --brand-cream-soft: #fbfaf7;
  --brand-border: rgba(17, 17, 17, 0.12);
  background:
    radial-gradient(circle at 82% 8%, rgba(220, 20, 60, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 56%, #f6f0e3 100%);
  color: #111111;
}

.specialists-page-body #site-header > header,
.specialists-page-body #site-header > nav {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.specialists-page-body .nav-link,
.specialists-page-body .header-actions a,
.specialists-page-body .mobile-search-trigger,
.specialists-page-body .specialists-page-title,
.specialists-page-body .specialists-sidebar h2,
.specialists-page-body .specialists-results-head h3,
.specialists-page-body .specialists-related-head h3,
.specialists-page-body .specialist-card-fact strong,
.specialists-page-body .specialists-suggested-card strong,
.specialists-page-body .specialists-related-card strong {
  color: #111111;
}

.specialists-page-body .nav-link:hover,
.specialists-page-body .nav-link.promo,
.specialists-page-body .header-actions a:hover,
.specialists-page-body .mobile-search-trigger:hover,
.specialists-page-body .search-match,
.specialists-page-body .search-icon,
.specialists-page-body .specialists-sidebar-label,
.specialists-page-body .specialists-related-kicker,
.specialists-page-body .specialists-suggested-all,
.specialists-page-body .specialist-card-location i,
.specialists-page-body .specialist-card-fact i {
  color: #DC143C;
}

.specialists-page-body .nav-link::after,
.specialists-page-body .cart-badge {
  background: #DC143C;
}

.specialists-page-body .specialists-page {
  background: transparent;
}

.specialists-page-body .specialists-sidebar,
.specialists-page-body .specialist-card,
.specialists-page-body .specialists-related-card,
.specialists-page-body .specialists-suggested-card,
.specialists-page-body .specialists-empty,
.specialists-page-body .providers-mobile-sheet-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 20px 42px rgba(17, 17, 17, 0.08);
}

.specialists-page-body .specialists-sidebar {
  box-shadow: none;
}

.specialists-page-body .search-bar,
.specialists-page-body .specialists-rating-chip,
.specialists-page-body .specialists-icon-btn,
.specialists-page-body .specialists-sidebar-toggle,
.specialists-page-body .worklinkup-rail-arrow,
.specialists-page-body .sheet-close-btn,
.specialists-page-body .specialists-rating-option {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
}

.specialists-page-body .search-bar:focus-within {
  border-color: rgba(220, 20, 60, 0.72);
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.16);
}

.specialists-page-body .specialists-search-line .search-bar input,
.specialists-page-body .search-bar input {
  color: #111111;
}

.specialists-page-body .specialists-search-line .search-bar input::placeholder,
.specialists-page-body .search-bar input::placeholder,
.specialists-page-body .specialists-results-head p,
.specialists-page-body .specialist-card-location,
.specialists-page-body .specialist-card-fact,
.specialists-page-body .specialist-card-bio,
.specialists-page-body .specialists-related-card span,
.specialists-page-body .specialists-suggested-meta,
.specialists-page-body .specialists-suggested-place,
.specialists-page-body .specialists-empty {
  color: #5f5f5f;
}

.specialists-page-body .specialists-rating-chip.is-active,
.specialists-page-body .specialists-view-btn,
.specialists-page-body .specialists-suggested-action,
.specialists-page-body .homepage-categories-view-more,
.specialists-page-body .specialists-rating-option.is-active,
.specialists-page-body .service-filter-toggle.is-active .service-filter-toggle-icon {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.specialists-page-body .specialists-icon-btn.is-active,
.specialists-page-body .specialists-icon-btn:hover,
.specialists-page-body .specialists-icon-btn:focus-visible {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.14);
}

.specialists-page-body .provider-contact-btn,
.specialists-page-body .whatsapp-btn {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

.specialists-page-body .provider-contact-btn:hover,
.specialists-page-body .whatsapp-btn:hover,
.specialists-page-body .specialists-view-btn:hover,
.specialists-page-body .specialists-view-btn:focus-visible,
.specialists-page-body .specialists-suggested-action:hover,
.specialists-page-body .specialists-suggested-action:focus-visible,
.specialists-page-body .homepage-categories-view-more:hover,
.specialists-page-body .homepage-categories-view-more:focus-visible {
  background: #DC143C;
  border-color: #DC143C;
  color: #111111;
}

.specialists-page-body .service-filter-group + .service-filter-group,
.specialists-page-body .specialists-related-shell {
  border-color: rgba(17, 17, 17, 0.1);
}

.specialists-page-body .service-filter-toggle,
.specialists-page-body .service-filter-links button {
  color: #111111;
}

.specialists-page-body .service-filter-toggle-icon,
.specialists-page-body .provider-meta-chip {
  background: rgba(220, 20, 60, 0.16);
  color: #111111;
}

.specialists-page-body .service-filter-links button.is-active,
.specialists-page-body .service-filter-links button:hover,
.specialists-page-body .specialists-rating-option.is-active {
  background: rgba(220, 20, 60, 0.18);
  color: #111111;
}

.specialists-page-body .category-circle-img,
.specialists-page-body .specialist-category-chip .category-circle-img,
.specialists-page-body .specialists-suggested-avatar {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ec 100%);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.specialists-page-body .category-circle-icon {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 34%, transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #fbf7ec 100%);
  color: #111111;
}

.specialists-page-body .category-circle span,
.specialists-page-body .specialist-category-chip span {
  color: #111111;
}

.specialists-page-body .specialist-category-chip:hover span,
.specialists-page-body .specialist-category-chip:focus-visible span {
  color: #DC143C;
}

.specialists-page-body .specialists-categories-row {
  gap: 8px;
  padding-bottom: 4px;
}

.specialists-page-body .specialist-category-chip {
  min-width: 66px;
  gap: 5px;
  padding: 4px 2px 6px;
  border-radius: 16px;
}

.specialists-page-body .specialist-category-chip .category-circle-img {
  width: 48px;
  height: 48px;
  border-width: 1px;
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.08);
}

.specialists-page-body .specialist-category-chip span {
  max-width: 62px;
  font-size: 10px;
  line-height: 1.15;
}

.specialists-page-body .home-all-categories-link {
  margin-top: 2px;
  color: #111111;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.specialists-page-body .home-all-categories-link:hover,
.specialists-page-body .home-all-categories-link:focus-visible {
  color: #DC143C;
}

.specialists-page-body .specialist-card-avatar {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.22);
}

.specialists-page-body .specialist-card-rating {
  background: rgba(220, 20, 60, 0.92);
  color: #111111;
}

.specialists-page-body .specialist-card-availability-label {
  color: #ffffff;
}

.specialists-page-body .specialist-card-skeleton {
  border-color: rgba(17, 17, 17, 0.1);
  background:
    linear-gradient(90deg, rgba(230, 223, 208, 0.4) 25%, rgba(255, 255, 255, 0.96) 50%, rgba(230, 223, 208, 0.4) 75%);
  background-size: 220% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .specialist-card.is-viewport-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.specialists-page-body .providers-mobile-sheet-backdrop {
  background: rgba(17, 17, 17, 0.5);
}

.specialists-page-body .providers-mobile-sheet-handle {
  background: rgba(17, 17, 17, 0.22);
}

.specialists-page-body footer {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  color: #5f5f5f;
  border-top-color: rgba(17, 17, 17, 0.1);
}

.specialists-page-body .footer-col h4,
.specialists-page-body .newsletter-col h4 {
  color: #111111;
}

.specialists-page-body .footer-col ul li a,
.specialists-page-body .newsletter-col p,
.specialists-page-body .newsletter-col a,
.specialists-page-body .footer-links a {
  color: #5f5f5f !important;
}

.specialists-page-body .footer-col ul li a:hover,
.specialists-page-body .footer-links a:hover,
.specialists-page-body .newsletter-col a:hover {
  color: #DC143C !important;
}

.specialists-page-body .email-form {
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
}

.specialists-page-body .email-form input {
  color: #111111;
}

.specialists-page-body .email-form button,
.specialists-page-body .work-footer-highlight,
.specialists-page-body .social-links a,
.specialists-page-body .footer-admin-link {
  background: rgba(220, 20, 60, 0.18);
  color: #111111;
}

.specialists-page-body .social-links a:hover {
  background: #111111;
  color: #ffffff;
}

@media (max-width: 768px) {
  .pending-setup-panel {
    width: calc(100vw - 18px);
    height: auto;
    max-height: min(86dvh, 680px);
    margin: auto;
    border-radius: 18px;
  }

  .pending-setup-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 22px;
  }

  body.account-embed-mode {
    overflow: hidden;
  }

  .account-embed-mode .account-page,
  .account-embed-mode .account-setup-stage,
  .account-embed-mode .account-setup-shell {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }

  .account-embed-mode .account-setup-split {
    min-height: 100%;
    height: 100%;
    overflow: hidden;
  }

  .account-embed-mode .account-setup-split-panel {
    min-height: 0;
    height: 100%;
    justify-content: flex-start;
    padding: 14px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
  }

  .account-embed-mode .account-provider-setup-stage {
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .account-embed-mode .account-provider-grid,
  .account-embed-mode .account-provider-minimal-fields,
  .account-embed-mode .account-setup-field,
  .account-embed-mode .account-typeahead-field {
    min-width: 0;
  }

  .account-embed-mode .account-provider-section {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .account-embed-mode .account-provider-section-head {
    gap: 4px;
    margin-bottom: 10px;
  }

  .account-embed-mode .account-provider-section-head strong {
    font-size: 17px;
  }

  .account-embed-mode .account-provider-section-head span,
  .account-embed-mode .account-setup-field small {
    font-size: 12px;
    line-height: 1.35;
  }

  .account-embed-mode .account-provider-form input,
  .account-embed-mode .account-provider-form select,
  .account-embed-mode .account-provider-form textarea,
  .account-embed-mode .account-setup-field input,
  .account-embed-mode .account-setup-field select,
  .account-embed-mode .account-setup-field textarea {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
  }

  .account-embed-mode .account-typeahead-list {
    max-height: min(208px, 42dvh);
    border-radius: 12px;
  }

  .account-embed-mode .account-typeahead-option {
    min-height: 34px;
    padding: 6px 8px;
  }

  .account-embed-mode .account-service-chip-list {
    min-height: 34px;
    padding: 6px;
  }

  .account-embed-mode .account-service-chip,
  .account-embed-mode .account-service-chip-empty {
    min-height: 28px;
    font-size: 11px;
  }

  .account-embed-mode .account-submit-btn {
    min-height: 46px;
    border-radius: 8px;
  }

  .account-embed-mode .account-provider-form-actions {
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .job-posts-page .job-posts-hero {
    padding: 18px 0 14px;
  }

  .job-page-hero-inner {
    width: calc(100% - 20px);
  }

  .job-posts-page .job-page-kicker,
  .job-posts-page .job-page-kicker-jobs-count {
    padding: 6px 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .job-posts-page .job-page-kicker-jobs-count strong {
    min-width: 24px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .job-posts-page .job-page-hero h1 {
    margin: 10px 0 6px;
    font-size: 24px;
    line-height: 1.05;
  }

  .job-posts-page .job-page-hero p {
    font-size: 12px;
    line-height: 1.35;
  }

  .job-posts-page .job-page-hero-actions {
    margin-top: 10px;
  }

  .job-posts-page .job-page-hero-actions > * {
    width: auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 8px;
  }

  .job-posts-page .job-posts-shell {
    width: 100%;
    margin: 0 auto 42px;
    display: block;
  }

  .job-posts-page .job-board-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 0;
    margin: 0 0 10px;
    padding: 10px 12px 12px;
    border: 0;
    border-bottom: 1px solid rgba(220, 20, 60, 0.22);
    border-radius: 0 0 22px 22px;
    background: rgba(0, 0, 0, 0.74);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  .job-board-toolbar-topline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
  }

  .job-board-search-toggle,
  .job-board-location-toggle,
  .job-board-time-toggle,
  .job-board-post-link {
    width: 100%;
    min-height: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 0;
    margin-left: 0;
  }

  .job-board-search-toggle {
    order: 1;
  }

  .job-board-location-toggle {
    order: 2;
  }

  .job-board-time-toggle {
    order: 3;
  }

  .job-board-post-link {
    order: 4;
  }

  .job-board-search-toggle {
    color: #f6c343;
  }

  .job-board-location-toggle,
  .job-board-time-toggle {
    color: #f6c343;
  }

  .job-board-post-link {
    color: #ffffff;
  }

  .job-board-search-toggle:hover,
  .job-board-search-toggle:focus-visible,
  .job-board-location-toggle:hover,
  .job-board-location-toggle:focus-visible,
  .job-board-time-toggle:hover,
  .job-board-time-toggle:focus-visible {
    background: rgba(246, 195, 67, 0.12);
    color: #f6c343;
  }

  .job-board-post-link:hover,
  .job-board-post-link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .job-board-search-toggle[aria-expanded="true"],
  .job-board-location-toggle[aria-expanded="true"],
  .job-board-time-toggle[aria-expanded="true"] {
    background: rgba(246, 195, 67, 0.16);
    color: #f6c343;
  }

  .job-board-search-toggle i,
  .job-board-location-toggle i,
  .job-board-time-toggle i,
  .job-board-post-link i {
    font-size: 17px;
  }

  .job-board-toolbar-summary {
    display: none;
  }

  .job-board-mobile-market-body {
    display: grid;
    gap: 10px;
    width: calc(100% - 20px);
    margin: 10px auto 14px;
  }

  .job-board-mobile-market-body .job-board-toolbar-summary {
    min-width: 0;
    display: grid;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .job-board-mobile-market-body .job-board-toolbar-summary > strong {
    color: #111827;
    font-size: 17px;
  }

  .job-board-mobile-market-body .job-board-toolbar-summary > span {
    color: #64748b;
    font-size: 12px;
  }

  .job-board-mobile-market-body .job-board-toolbar-summary > span strong {
    font-size: 26px;
  }

  .job-board-mobile-market-body .job-board-toolbar-summary > small {
    font-size: 12px;
  }

  .job-board-toolbar > .job-board-market-panel {
    display: none;
  }

  .job-board-market-panel {
    width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .job-board-mobile-market-body .job-board-market-panel {
    border-color: rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .job-board-mobile-market-body .job-market-overview,
  .job-board-mobile-market-body .job-market-metric-card {
    border-color: rgba(15, 23, 42, 0.08);
    background: #f8fafc;
  }

  .job-board-mobile-market-body .job-market-overview strong,
  .job-board-mobile-market-body .job-market-metric-card strong {
    color: #111827;
  }

  .job-board-mobile-market-body .job-market-overview small,
  .job-board-mobile-market-body .job-market-metric-card span,
  .job-board-mobile-market-body .job-market-metric-card small {
    color: #64748b;
  }

  .job-board-mobile-market-body .job-market-metric-card.is-loading strong,
  .job-board-mobile-market-body .job-market-metric-card.is-loading small b {
    background: rgba(100, 116, 139, 0.16);
  }

  .job-market-overview {
    min-height: 106px;
    padding: 10px;
  }

  .job-market-sparkline {
    height: 58px;
  }

  .job-market-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .job-market-metric-card {
    min-height: 86px;
    padding: 10px;
    gap: 6px;
  }

  .job-market-metric-card strong {
    font-size: 17px;
  }

  .job-market-metric-card span,
  .job-market-metric-card small {
    font-size: 10px;
  }

  .job-posts-page .job-board-search {
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .job-posts-page .job-board-search.job-board-search-main,
  .job-posts-page .job-board-location-search,
  .job-posts-page .job-board-time-panel {
    order: 7;
    display: none;
    grid-column: 1 / -1;
    animation: job-mobile-toolbar-panel-in 0.22s ease;
  }

  .job-posts-page .job-board-toolbar.is-search-open .job-board-search.job-board-search-main {
    display: grid;
  }

  .job-posts-page .job-board-toolbar.is-location-open .job-board-location-search {
    display: grid;
  }

  .job-posts-page .job-board-toolbar.is-time-open .job-board-time-panel {
    display: grid;
  }

  .job-posts-page .job-board-search.job-board-search-main > span {
    display: none;
  }

  .job-posts-page .job-board-search > span {
    font-size: 10px;
  }

  .job-board-search-box {
    min-height: 40px;
    grid-template-columns: 32px minmax(0, 1fr);
    border-radius: 999px;
    border-color: rgba(17, 17, 17, 0.08);
  }

  .job-board-search-box i {
    font-size: 11px;
  }

  .job-posts-page .job-board-search input {
    font-size: 12px;
  }

  .job-posts-page .job-board-time-panel {
    gap: 7px;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .job-posts-page .job-board-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .job-posts-page .job-board-filters::-webkit-scrollbar {
    display: none;
  }

  .job-posts-page .job-board-view-toggle {
    display: none;
  }

  .job-posts-page .job-board-filters button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    white-space: nowrap;
  }

  @keyframes job-mobile-toolbar-panel-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .job-board-content {
    padding: 10px;
  }

  .job-posts-page .job-group {
    padding: 10px;
    border-radius: 8px;
  }

  .job-posts-page .job-group-head {
    padding-bottom: 8px;
  }

  .job-posts-page .job-group-head h2 {
    font-size: 15px;
  }

  .job-posts-page .job-group-head > span {
    font-size: 11px;
  }

  .job-posts-page .job-card-grid,
  .job-posts-page .job-card-grid.is-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .job-posts-page .job-card {
    border-radius: 8px;
    padding: 7px;
    gap: 6px;
  }

  .job-posts-page .job-card-top {
    flex-direction: column;
    gap: 8px;
  }

  .job-posts-page .job-card-tag-row {
    gap: 5px;
  }

  .job-posts-page .job-card-tag,
  .job-posts-page .job-card-subtag {
    padding: 5px 7px;
    font-size: 9px;
  }

  .job-posts-page .job-card-price {
    font-size: 12px;
  }

  .job-posts-page .job-card h3 {
    font-size: 13px;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .job-posts-page .job-card-summary {
    min-height: 32px;
  }

  .job-posts-page .job-card p,
  .job-posts-page .job-card-meta {
    font-size: 11px;
    line-height: 1.35;
  }

  .job-posts-page .job-card-meta,
  .job-posts-page .job-card-actions {
    gap: 5px;
    margin-top: 4px;
    padding-top: 6px;
  }

  .job-posts-page .job-card-actions > * {
    flex: none;
    width: 100%;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
  }

  .job-posts-page .job-card-actions [data-job-bid] {
    background: #15803d;
    color: #ffffff;
    border-color: #15803d;
  }

  .job-posts-page .job-card-actions [data-job-bid]:hover {
    background: #166534;
    border-color: #166534;
  }

  .job-posts-page .job-card-meta-date {
    font-size: 10px;
  }

  .job-detail-modal-shell,
  .job-bid-modal-shell,
  .job-auth-modal-shell {
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .job-detail-modal-shell .job-modal-panel,
  .job-bid-modal-shell .job-modal-panel,
  .job-auth-modal-shell .job-modal-panel {
    width: 100%;
    max-height: 86dvh;
    min-height: 0;
    margin: auto 0 0;
    padding: 18px;
    overflow-y: auto;
    border-radius: 10px 10px 0 0;
    transform: translateY(110%);
  }

  .job-detail-modal-shell.is-visible .job-modal-panel,
  .job-bid-modal-shell.is-visible .job-modal-panel,
  .job-auth-modal-shell.is-visible .job-modal-panel {
    transform: translateY(0);
  }

  .job-posts-page .job-detail-modal-shell .job-modal-panel,
  .job-posts-page .job-bid-modal-shell .job-modal-panel,
  .job-posts-page .job-auth-modal-shell .job-modal-panel {
    border-radius: 10px 10px 0 0;
  }

  .job-posts-page .job-modal-close {
    top: 10px;
    right: 10px;
    width: auto !important;
    height: auto !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 18px !important;
    z-index: 1910;
  }

  .job-posts-page .job-modal-stats div {
    min-width: 118px;
    padding: 12px;
  }

  .job-posts-page .job-auth-head {
    flex-direction: column;
    gap: 12px;
  }

  .job-posts-page .job-auth-mode-switch,
  .job-posts-page .job-auth-id-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .job-posts-page .job-auth-mode-switch button,
  .job-posts-page .job-auth-id-switch button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 6px;
  }

  .job-posts-page .job-auth-fields {
    gap: 10px;
    margin-top: 14px;
  }

  .job-posts-page .job-auth-submit,
  .job-posts-page .job-auth-google-btn {
    min-height: 46px;
    font-size: 13px;
  }

  .job-post-page .job-posts-hero,
  .provider-posts-page .provider-posts-hero {
    padding: 18px 0 14px;
  }

  .job-post-page .job-posts-hero .job-page-hero-inner,
  .provider-posts-page .provider-posts-hero-inner {
    width: calc(100% - 20px);
  }

  .job-post-page .job-page-kicker,
  .provider-posts-page .provider-posts-kicker {
    padding: 6px 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .job-post-page .job-page-hero h1,
  .provider-posts-page .provider-posts-hero h1 {
    margin: 10px 0 6px;
    font-size: 24px;
    line-height: 1.05;
  }

  .job-post-page .job-page-hero p,
  .provider-posts-page .provider-posts-hero p {
    font-size: 12px;
    line-height: 1.35;
  }

  .job-post-create-shell,
  .provider-posts-page .provider-posts-board {
    width: 100%;
    margin: 0 auto 42px;
    display: block;
  }

  .job-post-page .job-post-create-shell {
    width: calc(100% - 16px);
    margin: 0 auto 34px;
    display: grid;
    gap: 12px;
  }

  .job-post-page .job-post-topbar {
    margin: 0 calc(50% - 50vw) 8px;
    min-height: 76px;
    padding: 12px 16px 14px;
    border-radius: 0 0 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .job-post-page .job-post-topbar-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 360px;
    align-items: start;
  }

  .job-post-page .job-post-topbar-link {
    min-height: auto;
    width: 100%;
    padding: 0;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .job-post-page .job-post-topbar-link i {
    font-size: 17px;
  }

  .job-post-page .job-post-topbar-link:hover,
  .job-post-page .job-post-topbar-link:focus-visible {
    background: transparent;
    transform: none;
  }

  .job-post-page .job-post-topbar-copy {
    display: none;
  }

  .job-post-page .job-post-composer-shell {
    width: 100%;
    gap: 12px;
  }

  .job-post-page .job-post-guide,
  .provider-posts-page .provider-post-composer {
    position: static;
    min-height: 0;
    padding: 14px;
    border-width: 1px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  }

  .job-post-page .job-post-guide-bar {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .job-post-page .job-post-guide-head strong {
    font-size: 16px;
  }

  .job-post-page .job-post-guide-head span {
    font-size: 12px;
  }

  .job-post-page .job-post-guide-content {
    margin-top: 12px;
  }

  .job-post-page .job-post-guide-list {
    display: grid;
    gap: 8px;
  }

  .job-post-page .job-post-guide-list li {
    padding: 8px 10px;
  }

  .job-post-page .job-post-form {
    margin: 0;
    padding: 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .job-post-page .job-post-form-section {
    padding: 14px;
    border-radius: 16px;
    gap: 12px;
  }

  .job-post-page .job-post-section-head {
    gap: 10px;
    align-items: flex-start;
  }

  .job-post-page .job-post-section-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    margin-top: 1px;
    border-radius: 12px;
    font-size: 14px;
  }

  .job-post-page .job-post-section-head strong {
    font-size: 15px;
  }

  .job-post-page .job-post-section-head span {
    font-size: 12px;
  }

  .job-post-page .job-form-grid {
    gap: 12px;
  }

  .job-post-page .job-form-input-shell,
  .job-post-page .job-form-textarea-shell {
    grid-template-columns: 38px minmax(0, 1fr);
    border-radius: 12px;
  }

  .job-post-page .job-form-input-shell {
    min-height: 44px;
  }

  .job-post-page .job-form-field-icon {
    min-height: 44px;
    font-size: 14px;
  }

  .job-post-page .job-form-textarea-shell textarea {
    min-height: 112px;
  }

  .job-post-page .job-form-textarea-shell.is-address textarea {
    min-height: 88px;
  }

  .job-post-page .job-combobox-shell {
    min-height: 44px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    border-radius: 12px;
  }

  .job-post-page .job-post-form-actions {
    grid-template-columns: 1fr;
  }

  .job-post-page .job-post-form-actions > * {
    width: 100%;
  }

  .job-post-page .job-auth-head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .job-post-page .job-auth-mode-switch,
  .job-post-page .job-auth-id-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .job-post-page .job-auth-mode-switch {
    margin-top: 6px;
  }

  .job-post-page .job-auth-id-switch {
    margin-top: 14px;
  }

  .job-post-page .job-auth-fields {
    gap: 12px;
    margin-top: 18px;
  }

  .provider-posts-page .provider-post-composer {
    gap: 10px;
  }

  .provider-posts-page .provider-post-preview {
    min-height: 128px;
  }

  .provider-posts-page .provider-post-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
  }

  .provider-posts-page .provider-post-feed-card {
    padding: 0;
    border-radius: 14px;
  }

  .provider-post-viewer-shell {
    padding: 0;
    align-items: end;
  }

  .provider-post-viewer-panel {
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
  }

  .provider-post-viewer-panel > img {
    max-height: 68dvh;
    border-radius: 18px;
  }
}
/* EOF anchor */

/* Messages page refresh */
.messages-page {
  background: #f6f8fb;
  color: #182230;
}

.messages-layout {
  grid-template-columns: 360px minmax(0, 1fr);
  border-top: 1px solid #e4e8f0;
}

.messages-sidebar {
  background: #ffffff;
  color: #182230;
  border-right: 1px solid #e4e8f0;
  padding: 22px 18px;
}

.messages-home-head {
  align-items: flex-start;
}

.messages-home-kicker {
  color: #0f766e;
  letter-spacing: 0;
  text-transform: none;
}

.messages-sidebar h1 {
  color: #182230;
  font-size: 30px;
  line-height: 1.1;
}

.messages-home-add,
.messages-thread-back,
.messages-thread-search-toggle,
.messages-attach-btn,
.messages-compose-preview-clear,
.messages-media-download,
.messages-media-close {
  border-radius: 8px;
}

.messages-home-add {
  background: #0f766e;
  color: #ffffff;
}

.messages-search-bar {
  min-height: 48px;
  border-radius: 8px;
  background: #f2f5f9;
  border: 1px solid #dce3ed;
}

.messages-search-bar i,
.messages-search-bar input::placeholder {
  color: #667085;
}

.messages-search-bar input {
  color: #182230;
}

.messages-filter-chip {
  min-height: 36px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dce3ed;
  color: #344054;
}

.messages-filter-chip strong {
  color: #0f766e;
}

.messages-filter-chip.is-active {
  background: #e7f4f2;
  border-color: #83c5bd;
  color: #0f4f4a;
}

.messages-suggestions-head strong,
.messages-chat-title strong,
.messages-suggestion-title strong {
  color: #182230;
}

.messages-suggestions-head span,
.messages-suggestion-role,
.messages-chat-role,
.messages-chat-time,
.messages-chat-preview,
.messages-suggestion-meta,
.messages-thread-head-copy span {
  color: #667085;
}

.messages-suggestion-card,
.messages-chat-item {
  border-radius: 8px;
}

.messages-suggestion-card {
  background: #ffffff;
  color: #182230;
  border: 1px solid #e4e8f0;
}

.messages-suggestion-skeleton {
  border-radius: 8px;
  background: #e4e8f0;
}

.messages-chat-item {
  padding: 12px 10px;
  color: #182230;
  border: 1px solid transparent;
}

.messages-chat-item.is-active {
  background: #e7f4f2;
  border-color: #b9ddd8;
}

.messages-chat-item:hover {
  background: #f2f5f9;
}

.messages-chat-avatar,
.messages-suggestion-avatar,
.messages-thread-avatar {
  background: linear-gradient(135deg, #0f766e 0%, #ec6f66 100%);
}

.messages-verified-tick,
.messages-chat-unread {
  background: #0f766e;
}

.messages-suggestion-cta {
  border-radius: 8px;
  background: #fff2e9;
  color: #b54708;
}

.messages-thread {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 248, 251, 0.96) 100%);
}

.messages-thread-head {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e4e8f0;
  backdrop-filter: blur(10px);
}

.messages-thread-search-toggle,
.messages-thread-back {
  background: #f2f5f9;
  color: #182230;
}

.messages-thread-name-row strong {
  color: #182230;
}

.messages-thread-body {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(236, 111, 102, 0.04) 0%, rgba(255, 255, 255, 0) 40%);
  background-size: 28px 28px, auto;
}

.messages-day-divider span {
  border-radius: 8px;
  background: #e9eef5;
  color: #667085;
}

.message-bubble {
  border-radius: 8px;
  box-shadow: none;
}

.message-bubble.is-mine {
  background: #0f766e;
  color: #ffffff;
  border-bottom-right-radius: 3px;
}

.message-bubble.is-theirs {
  background: #ffffff;
  color: #182230;
  border-color: #e4e8f0;
  border-bottom-left-radius: 3px;
}

.message-status.is-viewed {
  color: #9ff3df;
}

.messages-thread-compose {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e4e8f0;
  backdrop-filter: blur(10px);
}

.messages-compose-input {
  border-radius: 8px;
  border: 1px solid #dce3ed;
  background: #ffffff;
  color: #182230;
}

.messages-attach-btn {
  background: #f2f5f9;
  border-color: #dce3ed;
  color: #0f766e;
  box-shadow: none;
}

.messages-send-btn {
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
}

.messages-send-btn:disabled {
  background: #cdd5df;
  color: #667085;
}

.messages-compose-preview-card {
  border-radius: 8px;
  background: #f9fbfd;
  border-color: #dce3ed;
}

.messages-compose-preview-card img,
.message-bubble-image,
.message-bubble-image img {
  border-radius: 8px;
}

.messages-empty {
  color: #667085;
}

.messages-empty h2,
.messages-home-empty h2,
.messages-suggestion-empty h2 {
  color: #182230;
}

.messages-home-empty,
.messages-suggestion-empty {
  border-radius: 8px;
  background: #f2f5f9;
  color: #667085;
}

.messages-media-stage,
.messages-media-stage img {
  border-radius: 8px;
}

.messages-auth-empty {
  min-height: calc(100dvh - 86px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.messages-auth-empty-panel {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: 28px;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.messages-auth-empty-panel img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.messages-auth-empty-panel h1 {
  margin: 0;
  color: #182230;
  font-size: 24px;
  line-height: 1.2;
}

.messages-auth-empty-action {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

/* Skeletons */
.messages-chat-item-skeleton {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
}

.messages-chat-avatar-skeleton {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e4e8f0;
  position: relative;
  overflow: hidden;
}

.messages-chat-copy-skeleton {
  flex: 1;
  display: grid;
  gap: 8px;
}

.messages-chat-line-skeleton {
  height: 14px;
  background: #e4e8f0;
  border-radius: 4px;
  width: 70%;
  position: relative;
  overflow: hidden;
}

.messages-chat-line-skeleton.short {
  width: 40%;
}

.messages-chat-avatar-skeleton::after,
.messages-chat-line-skeleton::after,
.messages-thread-bubble-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: provider-work-wave 1.5s infinite;
}

/* Messages job action */
.messages-job-action-host {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e4e8f0;
}

.messages-job-action-btn {
  border-radius: 8px;
  background: #ec6f66;
  color: #ffffff;
}

.messages-job-action-btn:hover {
  background: #d95e55;
}

/* Messages white theme with black and gold accents */
.messages-page {
  --messages-header-offset: 72px;
  background: #f8f8f6;
  color: #0b0b0b;
  min-height: calc(100dvh - var(--messages-header-offset));
  height: calc(100dvh - var(--messages-header-offset));
  overflow: hidden;
}

.messages-layout {
  grid-template-columns: 390px minmax(0, 1fr);
  border-top: 1px solid rgba(11, 11, 11, 0.08);
  min-height: 100%;
  height: 100%;
}

.messages-sidebar {
  background: #ffffff;
  color: #0b0b0b;
  border-right: 1px solid rgba(11, 11, 11, 0.1);
  position: relative;
  top: auto;
  min-height: 100%;
  height: 100%;
}

.messages-home-kicker {
  color: #9c741f;
}

.messages-sidebar h1,
.messages-suggestions-head strong,
.messages-chat-title strong,
.messages-suggestion-title strong,
.messages-thread-name-row strong {
  color: #0b0b0b;
}

.messages-home-add,
.messages-send-btn,
.messages-auth-empty-action {
  background: #0b0b0b;
  color: #ffffff;
}

.messages-home-add:hover,
.messages-send-btn:hover,
.messages-auth-empty-action:hover {
  background: #9c741f;
}

.messages-search-bar,
.messages-thread-search,
.messages-compose-input {
  border: 1px solid rgba(220, 20, 60, 0.34);
  background: #ffffff;
  color: #0b0b0b;
  box-shadow: none;
}

.messages-search-bar:focus-within,
.messages-thread-search:focus-within,
.messages-compose-input:focus {
  border-color: #DC143C;
  box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.18);
}

.messages-search-bar input,
.messages-thread-search input,
.messages-compose-input {
  outline: none !important;
  box-shadow: none !important;
  caret-color: #0b0b0b;
}

.messages-search-bar input:focus,
.messages-thread-search input:focus,
.messages-compose-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.messages-search-bar input::selection,
.messages-thread-search input::selection,
.messages-compose-input::selection {
  background: rgba(220, 20, 60, 0.28);
}

.messages-search-bar i,
.messages-thread-search i,
.messages-search-bar input::placeholder,
.messages-thread-search input::placeholder,
.messages-compose-input::placeholder {
  color: rgba(11, 11, 11, 0.58);
}

.messages-thread-search {
  min-height: 46px;
  margin: 12px 18px 0;
  padding: 0 10px 0 14px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.messages-thread-search[hidden] {
  display: none !important;
}

.messages-thread-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #0b0b0b;
  font-family: 'Google Sans', sans-serif;
  font-size: 15px;
}

.messages-thread-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 11, 0.08);
  color: #0b0b0b;
}

.messages-filter-chip {
  background: #ffffff;
  border-color: rgba(11, 11, 11, 0.14);
  color: #0b0b0b;
}

.messages-filter-chip strong,
.messages-chat-preview.is-mine .message-status,
.message-status.is-viewed {
  color: #DC143C;
}

.messages-filter-chip.is-active {
  background: #DC143C;
  border-color: #DC143C;
  color: #0b0b0b;
}

.messages-filter-chip.is-active strong {
  color: #0b0b0b;
}

.messages-suggestions-head span,
.messages-suggestion-role,
.messages-chat-role,
.messages-chat-time,
.messages-chat-preview,
.messages-suggestion-meta,
.messages-thread-head-copy span {
  color: #6b7280;
}

.messages-suggestion-card,
.messages-chat-item {
  color: #0b0b0b;
}

.messages-suggestion-card {
  background: #ffffff;
  border-color: rgba(11, 11, 11, 0.08);
}

.messages-chat-item {
  border-color: transparent;
}

.messages-chat-item.is-active {
  background: rgba(220, 20, 60, 0.14);
  border-color: rgba(220, 20, 60, 0.42);
}

.messages-chat-item:hover {
  background: #f7f4ec;
}

.messages-chat-avatar,
.messages-suggestion-avatar,
.messages-thread-avatar {
  background: linear-gradient(135deg, #DC143C 0%, #ffffff 100%);
  color: #0b0b0b;
}

.messages-verified-tick,
.messages-chat-unread {
  background: #DC143C;
  color: #0b0b0b;
}

.messages-suggestion-cta {
  background: rgba(220, 20, 60, 0.16);
  color: #7c5815;
}

.messages-thread {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.82)),
    url('../images/sections/message-bg.avif') center / cover no-repeat;
}

.messages-thread-head,
.messages-thread-compose,
.messages-job-action-host {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(11, 11, 11, 0.08);
  backdrop-filter: blur(10px);
}

.messages-thread-search-toggle,
.messages-thread-back,
.messages-attach-btn {
  background: #ffffff;
  color: #0b0b0b;
  border-color: rgba(220, 20, 60, 0.28);
}

.messages-thread-body {
  background: transparent;
  min-height: 0;
  height: 100%;
}

.messages-day-divider span {
  background: rgba(255, 255, 255, 0.86);
  color: #7c5815;
  border: 1px solid rgba(220, 20, 60, 0.24);
}

.message-bubble.is-mine {
  background: #0b0b0b;
  color: #ffffff;
}

.message-bubble.is-theirs {
  background: #ffffff;
  color: #0b0b0b;
  border-color: rgba(11, 11, 11, 0.08);
}

.messages-send-btn:disabled {
  background: #d1d5db;
  color: #6b7280;
}

.messages-compose-preview-card,
.messages-home-empty,
.messages-suggestion-empty,
.messages-auth-empty-panel {
  background: #ffffff;
  border-color: rgba(11, 11, 11, 0.08);
  color: #6b7280;
}

.messages-empty {
  color: #6b7280;
}

.messages-empty h2,
.messages-home-empty h2,
.messages-suggestion-empty h2,
.messages-auth-empty-panel h1 {
  color: #0b0b0b;
}

.messages-job-action-btn {
  background: #0b0b0b;
  color: #ffffff;
}

.messages-job-action-btn:hover {
  background: #9c741f;
}

.message-search-highlight {
  padding: 0 3px;
  border-radius: 4px;
  background: #f5d887;
  color: #0b0b0b;
  font-weight: 900;
}

.message-bubble.is-mine .message-search-highlight {
  background: #ffffff;
  color: #0b0b0b;
}

@media (max-width: 980px) {
  .messages-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .messages-page {
    --messages-header-offset: 60px;
  }

  .messages-thread-search {
    margin: 10px 14px 0;
  }
}

/* Thread Skeletons */
.messages-thread-skeleton {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.messages-thread-bubble-skeleton {
  height: 44px;
  width: min(60%, 300px);
  background: #e4e8f0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.messages-thread-bubble-skeleton.is-mine {
  justify-self: end;
  background: #cde8e3;
}

@media (max-width: 980px) {
  .messages-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .messages-sidebar {
    padding: 16px;
  }

  .messages-sidebar h1 {
    font-size: 26px;
  }

  .messages-chat-item {
    padding: 10px 8px;
  }
}

/* Footer Gold & Black Theme */
footer {
  background: #0b0b0b !important;
  color: #efefef !important;
  border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.footer-inner {
  border-bottom-color: rgba(220, 20, 60, 0.15) !important;
}

.footer-col h4,
.newsletter-col h4 {
  color: #DC143C !important;
}

.footer-col ul li a,
.footer-links a,
.newsletter-col p {
  color: #ccc !important;
}

.footer-col ul li a:hover,
.footer-links a:hover {
  color: #DC143C !important;
}

.email-form {
  border-color: rgba(220, 20, 60, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.email-form input {
  color: #fff !important;
}

.email-form button {
  background: #DC143C !important;
  color: #0b0b0b !important;
}

.work-footer-highlight {
  background: rgba(220, 20, 60, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(220, 20, 60, 0.1);
}

.work-footer-highlight i {
  color: #DC143C;
}

.social-links a {
  background: rgba(220, 20, 60, 0.15) !important;
  color: #DC143C !important;
}

.social-links a:hover {
  background: #DC143C !important;
  color: #0b0b0b !important;
}

.footer-admin-link {
  border-color: rgba(220, 20, 60, 0.3) !important;
  background: rgba(220, 20, 60, 0.1) !important;
  color: #DC143C !important;
}

/* Homepage primary intent actions */
.home-page-body .home-intent-actions {
  width: min(calc(100% - 64px), 760px);
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.home-page-body .btn-31,
.home-page-body .btn-31 *,
.home-page-body .btn-31:after,
.home-page-body .btn-31:before,
.home-page-body .btn-31 :after,
.home-page-body .btn-31 :before {
  border: 0 solid;
  box-sizing: border-box;
}

.home-page-body .btn-31 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: "Google Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  mask-image: radial-gradient(#000, #fff);
  padding: 0;
}

.home-page-body .btn-31:disabled {
  cursor: default;
}

.home-page-body .btn-31:-moz-focusring {
  outline: auto;
}

.home-page-body .btn-31 [hidden] {
  display: none;
}

.home-page-body .home-intent-action.btn-31 {
  min-width: 0;
  min-height: 58px;
  flex: 1 1 0;
  max-width: 236px;
  border-width: 1px;
  padding: 1rem 1.45rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-page-body .home-intent-action.btn-31:before {
  --progress: 100%;
  background: #fff;
  -webkit-clip-path: polygon(100% 0, var(--progress) var(--progress), 0 100%, 100% 100%);
  clip-path: polygon(100% 0, var(--progress) var(--progress), 0 100%, 100% 100%);
  content: "";
  inset: 0;
  position: absolute;
  transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease;
}

.home-page-body .home-intent-action.btn-31:hover:before,
.home-page-body .home-intent-action.btn-31:focus-visible:before {
  --progress: 0%;
}

.home-page-body .home-intent-action.btn-31 .text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.home-page-body .home-intent-action.btn-31 .text {
  display: block;
  position: relative;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  color: inherit;
  mix-blend-mode: normal;
  white-space: nowrap;
}

.home-page-body .home-intent-action.btn-31:hover .text,
.home-page-body .home-intent-action.btn-31:focus-visible .text {
  -webkit-animation: home-hero-btn-move-up-alternate 0.3s ease forwards;
  animation: home-hero-btn-move-up-alternate 0.3s ease forwards;
}

.home-page-body .home-intent-action.btn-31:hover,
.home-page-body .home-intent-action.btn-31:focus-visible {
  transform: translateY(-2px);
}

.home-page-body .home-intent-action.btn-31.is-gold {
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
  color: #17110a;
  border-color: rgba(220, 20, 60, 0.32);
  box-shadow: 0 18px 34px rgba(220, 20, 60, 0.22);
}

.home-page-body .home-intent-action.btn-31.is-ink {
  background: linear-gradient(180deg, #202020 0%, #050505 100%);
  color: #ffffff;
  border-color: rgba(17, 17, 17, 0.88);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.home-page-body .home-intent-action.btn-31.is-emerald {
  background: linear-gradient(180deg, #f2d58c 0%, #deba5d 100%);
  color: #23180a;
  border-color: rgba(222, 186, 93, 0.34);
  box-shadow: 0 18px 34px rgba(222, 186, 93, 0.24);
}

.home-page-body .home-intent-action.btn-31.is-gold:before,
.home-page-body .home-intent-action.btn-31.is-emerald:before {
  background: rgba(255, 250, 241, 0.18);
}

.home-page-body .home-intent-action.btn-31.is-ink:before {
  background: rgba(255, 255, 255, 0.08);
}

@-webkit-keyframes home-hero-btn-move-up-alternate {
  0% { transform: translateY(0); }
  50% { transform: translateY(80%); }
  51% { transform: translateY(-80%); }
  to { transform: translateY(0); }
}

@keyframes home-hero-btn-move-up-alternate {
  0% { transform: translateY(0); }
  50% { transform: translateY(80%); }
  51% { transform: translateY(-80%); }
  to { transform: translateY(0); }
}

@media (max-width: 768px) {
  .home-page-body .home-stream-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-page-body .home-copy-search {
    order: 4;
    width: min(calc(100% - 28px), 360px);
    max-width: none;
    margin: 12px auto 0;
    padding: 0;
  }

  .home-page-body .home-intent-actions {
    order: 5;
    width: calc(100% - 32px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .home-page-body .home-intent-action.btn-31 {
    min-height: 48px;
    max-width: none;
    padding: 0.55rem 0.4rem;
    border-radius: 10px;
  }

  .home-page-body .home-intent-action.btn-31 .text-container {
    overflow: visible;
  }

  .home-page-body .home-intent-action.btn-31 .text {
    font-size: 11px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: normal;
    text-wrap: balance;
  }

  .home-page-body .home-hero-search-submit {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .home-page-body .home-gemini-search {
    --border-size: 3px;
  }

  .home-page-body .home-gemini-search .inner {
    gap: 10px;
    padding: 0.22rem 0.28rem 0.22rem 0.82rem;
  }

  .home-page-body .home-gemini-search input {
    min-height: 42px;
    font-size: 0.92rem;
  }
}

@keyframes home-gemini-rotate {
  to {
    --rotation: 360deg;
  }
}

/* Messages full-height chat canvas */
.messages-page {
  --messages-header-offset: 72px;
  min-height: calc(100dvh - var(--messages-header-offset)) !important;
  height: calc(100dvh - var(--messages-header-offset)) !important;
  overflow: hidden !important;
}

.messages-page,
.messages-layout,
.messages-sidebar,
.messages-thread,
.messages-thread-body,
.messages-thread-compose {
  box-sizing: border-box !important;
}

.messages-layout,
.messages-sidebar,
.messages-thread {
  min-height: 100% !important;
  height: 100% !important;
}

.messages-layout {
  align-items: stretch !important;
  overflow: hidden !important;
}

.messages-sidebar,
.messages-thread {
  min-height: 0 !important;
  overflow: hidden !important;
}

.messages-job-action-host:empty {
  display: none !important;
  padding: 0 !important;
  border: 0 !important;
}

.messages-thread {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
}

.messages-thread-body {
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
  overflow-y: auto !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.82)),
    url('../images/sections/message-bg.avif') center / cover no-repeat !important;
}

.messages-thread-compose {
  position: sticky !important;
  bottom: 0 !important;
  width: 100% !important;
}

.messages-compose-main,
.messages-compose-row,
.messages-compose-input {
  min-width: 0 !important;
}

.messages-compose-input {
  width: 100% !important;
}

@media (min-width: 769px) {
  .messages-thread {
    grid-template-rows: auto auto minmax(0, 1fr) minmax(76px, auto) !important;
  }

  .messages-thread-search[hidden] {
    display: none !important;
  }

  .messages-thread:not(.is-thread-search-open) {
    grid-template-rows: auto minmax(0, 1fr) minmax(76px, auto) !important;
  }

  .messages-thread-body {
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  .messages-thread-compose {
    position: relative !important;
    bottom: auto !important;
    min-height: 76px !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    flex-shrink: 0 !important;
  }

  .messages-compose-main,
  .messages-compose-row {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .messages-compose-input {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .messages-send-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 768px) {
  body.messages-page-body {
    overflow: hidden !important;
  }

  body.messages-page-body #site-header,
  body.messages-page-body .mobile-bottom-nav-shell {
    display: none !important;
  }

  body.messages-page-body .messages-page {
    --messages-header-offset: 0px;
    width: 100vw !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.messages-page-body .messages-layout {
    width: 100vw !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    display: block !important;
    overflow: hidden !important;
    border-top: 0 !important;
  }

  body.messages-page-body .messages-sidebar,
  body.messages-page-body .messages-thread {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
  }

  body.messages-page-body .messages-sidebar {
    display: flex !important;
    flex-direction: column !important;
    padding: max(14px, env(safe-area-inset-top, 0px)) 14px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: hidden !important;
  }

  body.messages-page-body .messages-chat-list {
    min-height: 0 !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding-bottom: 10px !important;
  }

  body.messages-page-body .messages-thread {
    display: none !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  }

  body.messages-page-body .messages-page.is-thread-open .messages-sidebar {
    display: none !important;
  }

  body.messages-page-body .messages-page.is-thread-open .messages-thread {
    display: grid !important;
  }

  body.messages-page-body .messages-thread-head {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px !important;
  }

  body.messages-page-body .messages-thread-body {
    min-height: 0 !important;
    height: auto !important;
    padding: 12px !important;
    overflow-y: auto !important;
  }

  body.messages-page-body .messages-thread-compose {
    position: static !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

.messages-caught-up {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 54px 16px 18px;
  text-align: center;
  color: #7b8190;
}

.messages-caught-up-icon {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffd8e5 0%, #ff0a55 72%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(255, 0, 64, 0.16);
}

.messages-caught-up-icon::before,
.messages-caught-up-icon::after,
.messages-caught-up-icon span {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #ffc0d3;
  border-radius: 2px;
  transform: rotate(35deg);
}

.messages-caught-up-icon::before {
  top: -6px;
  right: 8px;
}

.messages-caught-up-icon::after {
  left: -10px;
  top: 24px;
  border-color: #e478ff;
}

.messages-caught-up-icon span {
  right: -10px;
  top: 19px;
  border-color: #ff8cb0;
}

.messages-caught-up-icon i {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #ff0a55;
  font-size: 23px;
  line-height: 1;
}

.messages-caught-up strong {
  color: #151019;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.messages-caught-up p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 768px) {
  body.messages-page-body {
    padding-bottom: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body.messages-page-body #site-header {
    display: block !important;
    position: relative !important;
    z-index: 1200 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body.messages-page-body #site-header > header {
    display: block !important;
    height: 38px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    border-bottom: 1px solid #edf0f5 !important;
    background: #ffffff !important;
  }

  body.messages-page-body #site-header > nav,
  body.messages-page-body #site-header > .mobile-nav-overlay,
  body.messages-page-body #site-header > .mobile-search-overlay {
    display: none !important;
  }

  body.messages-page-body #site-header .header-inner {
    position: relative !important;
    height: 38px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 8px 0 4px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body.messages-page-body #site-header .mobile-header-left {
    gap: 6px !important;
    align-items: center !important;
  }

  body.messages-page-body #site-header .logo {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  body.messages-page-body .messages-mobile-back {
    width: 22px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    color: #101828;
    font-size: 16px;
    text-decoration: none;
    flex: 0 0 auto;
  }

  body.messages-page-body #site-header .logo-image {
    height: 22px !important;
    width: 86px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  body.messages-page-body #site-header .header-actions {
    position: fixed !important;
    top: 4px !important;
    right: 8px !important;
    z-index: 1215 !important;
    gap: 13px !important;
    margin-left: 0 !important;
    align-items: center !important;
  }

  body.messages-page-body #site-header .mobile-search-trigger,
  body.messages-page-body #site-header .a-plus-btn,
  body.messages-page-body #site-header .account-trigger-icon {
    display: none !important;
  }

  body.messages-page-body .messages-mobile-icon-btn {
    position: relative;
    width: 22px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    color: #424756;
    font-size: 18px !important;
    text-decoration: none;
  }

  body.messages-page-body .messages-mobile-icon-btn i {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.messages-page-body .messages-mobile-icon-badge,
  body.messages-page-body .mobile-bottom-nav-badge {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff0040;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
  }

  body.messages-page-body .messages-mobile-icon-badge[hidden],
  body.messages-page-body .mobile-bottom-nav-badge[hidden] {
    display: none !important;
  }

  body.messages-page-body .messages-mobile-icon-badge {
    top: 1px;
    right: -5px;
  }

  body.messages-page-body #site-header .account-menu-host {
    display: flex !important;
    align-items: center !important;
  }

  body.messages-page-body #site-header .account-link {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center !important;
    background: #f0f1f4 !important;
    color: #161b25 !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }

  body.messages-page-body .messages-mobile-account-initial {
    display: inline !important;
    color: #161b25 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  body.messages-page-body .messages-page {
    --messages-header-offset: 0px;
    width: 100vw !important;
    min-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #0d111c !important;
    overflow: hidden !important;
  }

  body.messages-page-body .messages-layout {
    width: 100vw !important;
    min-height: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: #ffffff !important;
  }

  body.messages-page-body .messages-sidebar {
    min-height: 100% !important;
    height: 100% !important;
    padding: 15px 14px 0 !important;
    background: #ffffff !important;
    color: #0d111c !important;
    border: 0 !important;
  }

  body.messages-page-body .messages-home-head {
    margin-bottom: 14px !important;
    align-items: flex-start !important;
  }

  body.messages-page-body .messages-home-kicker {
    margin: 0 0 3px !important;
    color: #ff0040 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  body.messages-page-body .messages-sidebar h1 {
    margin: 0 !important;
    color: #111018 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
  }

  body.messages-page-body .messages-home-add {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #ffd4de !important;
    border-radius: 10px !important;
    background: #fff0f4 !important;
    color: #111018 !important;
    box-shadow: none !important;
  }

  body.messages-page-body .messages-search-bar {
    min-height: 40px !important;
    margin-bottom: 16px !important;
    padding: 0 13px !important;
    border: 1px solid #e7e9ef !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 5px rgba(17, 24, 39, 0.04) !important;
  }

  body.messages-page-body .messages-search-bar i {
    color: #667085 !important;
    font-size: 14px !important;
  }

  body.messages-page-body .messages-search-bar input {
    color: #111827 !important;
    font-size: 12px !important;
  }

  body.messages-page-body .messages-search-bar input::placeholder {
    color: #9aa3b2 !important;
  }

  body.messages-page-body .messages-filter-row {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 17px !important;
  }

  body.messages-page-body .messages-filter-chip {
    min-height: 32px !important;
    padding: 0 13px !important;
    gap: 7px !important;
    border: 1px solid #eef0f5 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #111018 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03) !important;
  }

  body.messages-page-body .messages-filter-chip strong {
    color: #ff0040 !important;
    font-size: 11px !important;
  }

  body.messages-page-body .messages-filter-chip.is-active {
    background: #ff0040 !important;
    border-color: #ff0040 !important;
    color: #ffffff !important;
  }

  body.messages-page-body .messages-filter-chip.is-active strong {
    color: #ffffff !important;
  }

  body.messages-page-body .messages-chat-list {
    padding: 0 0 8px !important;
    gap: 0 !important;
  }

  body.messages-page-body .messages-chat-item {
    position: relative !important;
    min-height: 88px !important;
    padding: 12px 8px !important;
    display: grid !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 11px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #111018 !important;
  }

  body.messages-page-body .messages-chat-item:nth-of-type(even) {
    background: linear-gradient(90deg, rgba(255, 0, 64, 0.12), rgba(255, 247, 242, 0.2)) !important;
  }

  body.messages-page-body .messages-chat-item + .messages-chat-item {
    margin-top: 10px !important;
  }

  body.messages-page-body .messages-chat-avatar {
    width: 46px !important;
    height: 46px !important;
    align-self: center !important;
    background: linear-gradient(135deg, #ffc1cc 0%, #ff0040 100%) !important;
    color: #111018 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
  }

  body.messages-page-body .messages-chat-avatar::after {
    content: '';
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 9px;
    height: 9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #12c653;
  }

  body.messages-page-body .messages-chat-title strong {
    color: #080711 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body.messages-page-body .messages-verified-tick {
    width: 13px !important;
    height: 13px !important;
    background: #ff0040 !important;
    color: #ffffff !important;
    font-size: 7px !important;
  }

  body.messages-page-body .messages-chat-time {
    color: #6f7482 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  body.messages-page-body .messages-chat-role {
    margin-top: 2px !important;
    color: #3d4250 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  body.messages-page-body .messages-chat-preview-row {
    margin-top: 5px !important;
  }

  body.messages-page-body .messages-chat-preview {
    color: #4f5a70 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  body.messages-page-body .messages-chat-unread {
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 4px !important;
    background: #ff0040 !important;
    color: #ffffff !important;
    font-size: 9px !important;
  }

  body.messages-page-body .messages-caught-up {
    padding: 58px 16px 16px !important;
  }

  body.messages-page-body .mobile-bottom-nav-shell {
    display: block !important;
    padding: 0 !important;
    z-index: 1210 !important;
    background: #ffffff !important;
    border-top: 1px solid #eef0f5 !important;
  }

  body.messages-page-body .mobile-bottom-nav-list {
    width: 100% !important;
    max-width: none !important;
    min-height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 4px 7px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body.messages-page-body .mobile-bottom-nav-link {
    min-height: 50px !important;
    border-radius: 9px !important;
    color: #6f7482 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  body.messages-page-body .mobile-bottom-nav-link i {
    color: #777d8d !important;
    font-size: 16px !important;
  }

  body.messages-page-body .mobile-bottom-nav-link span:not(.mobile-bottom-nav-badge) {
    color: inherit !important;
    font-size: 9px !important;
  }

  body.messages-page-body .mobile-bottom-nav-link.is-active {
    background: #ffe8ef !important;
    border-color: transparent !important;
    color: #ff0040 !important;
    font-weight: 800 !important;
  }

  body.messages-page-body .mobile-bottom-nav-link.is-active i,
  body.messages-page-body .mobile-bottom-nav-link.is-active span:not(.mobile-bottom-nav-badge) {
    color: #ff0040 !important;
  }

  body.messages-page-body .mobile-bottom-nav-badge {
    top: 2px;
    right: 18px;
  }

  body.messages-page-body #site-header > header {
    display: none !important;
  }

  body.messages-page-body .messages-page {
    min-height: calc(100dvh - 58px - env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - 58px - env(safe-area-inset-bottom, 0px)) !important;
  }

  body.messages-page-body .messages-page.is-thread-open {
    min-height: calc(100dvh - 58px - env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - 58px - env(safe-area-inset-bottom, 0px)) !important;
  }

  body.messages-page-body .messages-page.is-thread-open .messages-thread {
    display: grid !important;
    grid-template-rows: 52px minmax(0, 1fr) auto !important;
    min-height: calc(100dvh - 58px - env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - 58px - env(safe-area-inset-bottom, 0px)) !important;
    background: #fbf8f6 !important;
  }

  body.messages-page-body .messages-thread-head {
    min-height: 52px !important;
    padding: 6px 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #eef0f4 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: none !important;
  }

  body.messages-page-body .messages-thread-head-main {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: grid !important;
    grid-template-columns: 24px 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
  }

  body.messages-page-body .messages-thread-back {
    width: 24px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #101828 !important;
    font-size: 17px !important;
  }

  body.messages-page-body .messages-thread-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ffe0df 0%, #ff0040 100%) !important;
    color: #111018 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  body.messages-page-body .messages-thread-avatar::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 9px;
    height: 9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #12c653;
  }

  body.messages-page-body .messages-thread-head-copy {
    min-width: 0 !important;
    gap: 1px !important;
  }

  body.messages-page-body .messages-thread-name-row {
    min-width: 0 !important;
    gap: 5px !important;
  }

  body.messages-page-body .messages-thread-name-row strong {
    max-width: 150px !important;
    overflow: hidden !important;
    color: #111018 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.messages-page-body .messages-thread-head-copy span:not(.messages-verified-tick) {
    max-width: 180px !important;
    overflow: hidden !important;
    color: #6b7280 !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.messages-page-body .messages-thread-search-toggle {
    width: 28px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 18px !important;
  }

  body.messages-page-body .messages-thread-search-toggle i {
    display: none !important;
  }

  body.messages-page-body .messages-thread-search-toggle::before {
    content: '\f142';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
  }

  body.messages-page-body .messages-thread-search {
    margin: 8px 10px 0 !important;
  }

  body.messages-page-body .messages-page.is-thread-open .messages-thread-search[hidden] {
    display: none !important;
  }

  body.messages-page-body .messages-page.is-thread-open.is-thread-search-open .messages-thread {
    grid-template-rows: 52px auto minmax(0, 1fr) auto !important;
  }

  body.messages-page-body .messages-thread-body {
    padding: 8px 8px 18px !important;
    background:
      linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.9)),
      url('../images/sections/message-bg.avif') center / cover no-repeat !important;
  }

  body.messages-page-body .messages-day-divider {
    margin: 2px 0 24px !important;
  }

  body.messages-page-body .messages-day-divider span {
    border: 0 !important;
    background: transparent !important;
    color: #ff0040 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
  }

  body.messages-page-body .message-row {
    margin: 0 0 12px !important;
  }

  body.messages-page-body .message-row.is-mine {
    justify-content: flex-end !important;
  }

  body.messages-page-body .message-bubble {
    min-width: 70px !important;
    max-width: min(76vw, 245px) !important;
    padding: 11px 12px 7px !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 9px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08) !important;
  }

  body.messages-page-body .message-bubble.is-theirs {
    background: #ffffff !important;
    color: #111827 !important;
    border-bottom-left-radius: 4px !important;
  }

  body.messages-page-body .message-bubble.is-mine {
    background: #ffe1ea !important;
    color: #111827 !important;
    border-color: rgba(255, 0, 64, 0.08) !important;
    border-bottom-right-radius: 4px !important;
  }

  body.messages-page-body .message-bubble-text {
    color: inherit !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body.messages-page-body .message-bubble-meta {
    margin-top: 8px !important;
    justify-content: flex-end !important;
    color: #98a2b3 !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }

  body.messages-page-body .message-bubble.is-mine .message-bubble-meta,
  body.messages-page-body .message-bubble.is-mine .message-status {
    color: #ff0040 !important;
  }

  body.messages-page-body .messages-thread-compose {
    position: static !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 58px !important;
    padding: 8px 10px !important;
    background: #ffffff !important;
    border-top: 1px solid #eef0f4 !important;
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: none !important;
  }

  body.messages-page-body .messages-compose-main {
    display: contents !important;
  }

  body.messages-page-body .messages-compose-row {
    display: contents !important;
  }

  body.messages-page-body .messages-attach-btn {
    grid-column: 1 !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ffe8ef !important;
    color: #ff0040 !important;
    font-size: 0 !important;
  }

  body.messages-page-body .messages-attach-btn i {
    display: none !important;
  }

  body.messages-page-body .messages-attach-btn::before {
    content: '+';
    color: #ff0040;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
  }

  body.messages-page-body .messages-compose-input {
    grid-column: 2 !important;
    min-height: 40px !important;
    width: 100% !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 12px !important;
    box-shadow: none !important;
  }

  body.messages-page-body .messages-compose-input::placeholder {
    color: #8b95a5 !important;
  }

  body.messages-page-body .messages-send-btn {
    position: absolute !important;
    right: 8px !important;
    bottom: 10px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #ff0040 !important;
    color: #ffffff !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.messages-page-body .messages-send-btn:not(:disabled) {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.messages-page-body .messages-send-btn span {
    display: none !important;
  }

  body.messages-page-body .messages-send-btn i {
    font-size: 14px !important;
  }

  body.messages-page-body .messages-compose-preview {
    grid-column: 1 / -1 !important;
  }
}

.app-install-sheet {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.app-install-sheet.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.app-install-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 50, 99, 0.42);
  backdrop-filter: blur(14px);
}

.app-install-sheet__panel {
  position: relative;
  width: min(100%, 390px);
  border-radius: 22px;
  padding: 26px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 239, 233, 0.98) 100%);
  border: 1px solid rgba(220, 20, 60, 0.28);
  box-shadow: 0 30px 70px rgba(26, 50, 99, 0.26);
  transform: translateY(22px) scale(0.96);
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
  text-align: center;
  overflow: hidden;
}

.app-install-sheet__panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #DC143C 0%, #F45C7D 100%);
}

.app-install-sheet.is-visible .app-install-sheet__panel {
  transform: translateY(0) scale(1);
}

.app-install-sheet__dismiss {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.12);
  color: var(--brand-ink);
}

.app-install-sheet__brand {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 14px;
  padding: 10px 18px 0;
}

.app-install-sheet__logo {
  width: 104px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 15px 22px rgba(26, 50, 99, 0.16));
}

.app-install-sheet__copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.app-install-sheet__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.12);
  color: #A30F2D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-install-sheet__copy h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 25px;
  font-weight: 900;
}

.app-install-sheet__copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.app-install-sheet__actions {
  margin-top: 22px;
}

.app-install-sheet__button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #DC143C 0%, #A30F2D 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(220, 20, 60, 0.28);
}

.app-install-sheet__button:hover,
.app-install-sheet__button:focus-visible {
  background: linear-gradient(135deg, #e48664 0%, #a85238 100%);
}

@media (max-width: 640px) {
  .app-install-sheet {
    align-items: flex-end;
    padding: 12px;
  }

  .app-install-sheet__panel {
    width: 100%;
    border-radius: 22px;
    padding: 24px 18px 18px;
  }

  .app-install-sheet__brand {
    gap: 12px;
  }

  .app-install-sheet__logo {
    width: 96px;
    max-height: 76px;
  }

  .app-install-sheet__copy h3 {
    font-size: 21px;
  }
}

/* Showcase card system for home jobs and provider cards */
.wl-showcase-card {
  --wl-card-bg: #111111;
  --wl-card-surface: rgba(255, 255, 255, 0.14);
  --wl-card-border: rgba(255, 255, 255, 0.14);
  --wl-card-text: #ffffff;
  --wl-card-muted: rgba(255, 255, 255, 0.74);
  --wl-card-soft: rgba(255, 255, 255, 0.9);
  --wl-card-shadow: 0 24px 44px rgba(17, 17, 17, 0.18);
  --wl-card-accent: #DC143C;
  position: relative;
  border: 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--wl-card-bg);
  box-shadow: var(--wl-card-shadow);
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.wl-showcase-card:hover,
.wl-showcase-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 30px 56px rgba(17, 17, 17, 0.22);
}

.wl-showcase-card__media {
  display: block;
  text-decoration: none;
}

.wl-showcase-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wl-showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0.18) 34%, rgba(10, 10, 10, 0.94) 100%);
}

.wl-showcase-card__badge-row,
.wl-showcase-card__content,
.wl-showcase-card__owner {
  z-index: 2;
}

.wl-showcase-card__badge-row {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 78px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wl-showcase-card__badge {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}

.wl-showcase-card__badge--accent {
  background: rgba(220, 20, 60, 0.24);
  border-color: rgba(220, 20, 60, 0.3);
}

.wl-showcase-card__owner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wl-showcase-card__owner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wl-showcase-card__owner span {
  font-size: 12px;
  font-weight: 800;
}

.wl-showcase-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
  color: var(--wl-card-text);
}

.wl-showcase-card__eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wl-showcase-card__eyebrow,
.wl-showcase-card__price {
  font-size: 12px;
  line-height: 1.2;
}

.wl-showcase-card__eyebrow {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.wl-showcase-card__price {
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
}

.wl-showcase-card__title {
  margin: 0;
  color: var(--wl-card-text);
  font-size: 28px;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wl-showcase-card__subtitle {
  margin: 0;
  color: var(--wl-card-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wl-showcase-card__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--wl-card-soft);
  font-size: 12px;
}

.wl-showcase-card__detail {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wl-showcase-card__detail i {
  color: rgba(255, 255, 255, 0.7);
}

.wl-showcase-card__detail span {
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wl-showcase-card__copy {
  margin: 0;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.5;
}

.wl-showcase-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wl-showcase-card__action,
.wl-showcase-card__icon-action {
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.wl-showcase-card__action {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
}

.wl-showcase-card__action:hover,
.wl-showcase-card__action:focus-visible,
.wl-showcase-card__icon-action:hover,
.wl-showcase-card__icon-action:focus-visible {
  transform: translateY(-1px);
}

.wl-showcase-card__icon-action {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.home-page-body .wl-showcase-card--home {
  min-height: 20rem;
  background: #111111;
  border-radius: 32px;
}

@media (min-width: 769px) {
  .home-page-body .home-market-booked-track .home-market-available-card {
    flex: 0 0 clamp(180px, 18.5vw, 210px);
  }
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__media {
  position: absolute;
  inset: 6px;
  border-radius: 26px;
  overflow: hidden;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__content {
  bottom: 64px;
  padding: 0 18px 12px;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__action {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__action:hover,
.home-page-body .wl-showcase-card--home .wl-showcase-card__action:focus-visible {
  background: #f1ebe0;
  color: #111111;
}

.home-page-body .wl-showcase-card--guide .wl-showcase-card__owner {
  background: rgba(220, 20, 60, 0.9);
  border-color: rgba(220, 20, 60, 0.96);
  color: #111111;
}

.home-page-body .wl-showcase-card--guide .wl-showcase-card__price {
  color: #f1d691;
}

.specialists-page-body .provider-showcase-card {
  --wl-card-bg: rgba(255, 255, 255, 0.96);
  --wl-card-text: #111111;
  --wl-card-muted: #5f5f5f;
  --wl-card-soft: #374151;
  --wl-card-shadow: 0 22px 42px rgba(17, 17, 17, 0.1);
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__media--split {
  position: relative;
  inset: auto;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(180deg, rgba(220, 20, 60, 0.12) 0%, rgba(17, 17, 17, 0.04) 100%);
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__content--split {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 16px 16px;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__eyebrow {
  color: #6b7280;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__price {
  color: #111111;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__title {
  font-size: 30px;
  line-height: 0.98;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__subtitle {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__details {
  color: #4b5563;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__detail span {
  white-space: normal;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__detail i {
  color: #DC143C;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__actions {
  margin-top: 2px;
}

.specialists-page-body .provider-showcase-card .specialist-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__action--split {
  background: #111111;
  color: #ffffff;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__action--split:hover,
.specialists-page-body .provider-showcase-card .wl-showcase-card__action--split:focus-visible {
  background: #DC143C;
  color: #111111;
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__icon-action {
  background: rgba(220, 20, 60, 0.14);
  color: #111111;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.specialists-page-body .provider-showcase-card .wl-showcase-card__icon-action:hover,
.specialists-page-body .provider-showcase-card .wl-showcase-card__icon-action:focus-visible {
  background: #DC143C;
  color: #111111;
  border-color: #DC143C;
}

.specialists-page-body .provider-showcase-card .specialists-view-btn,
.specialists-page-body .provider-showcase-card .provider-contact-btn,
.specialists-page-body .provider-showcase-card .whatsapp-btn {
  border: 0;
}

.specialists-page-body .provider-showcase-card--skeleton {
  padding: 6px;
  overflow: hidden;
}

.specialists-page-body .provider-showcase-card__skeleton-media {
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(180deg, rgba(230, 223, 208, 0.92) 0%, rgba(214, 205, 186, 0.96) 100%);
}

.specialists-page-body .provider-showcase-card__skeleton-content {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 16px 16px;
}

.specialists-page-body .provider-showcase-card__skeleton-row,
.specialists-page-body .provider-showcase-card__skeleton-details,
.specialists-page-body .provider-showcase-card__skeleton-copy {
  display: grid;
  gap: 8px;
}

.specialists-page-body .provider-showcase-card__skeleton-row {
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
}

.specialists-page-body .provider-showcase-card__skeleton-pill {
  height: 14px;
}

.specialists-page-body .provider-showcase-card__skeleton-pill--small {
  justify-self: end;
  width: 72px;
}

.specialists-page-body .provider-showcase-card__skeleton-title {
  width: 78%;
  height: 28px;
  border-radius: 14px;
}

.specialists-page-body .provider-showcase-card__skeleton-subtitle {
  width: 52%;
}

.specialists-page-body .provider-showcase-card__skeleton-detail {
  width: 100%;
}

.specialists-page-body .provider-showcase-card__skeleton-detail--short {
  width: 68%;
}

.specialists-page-body .provider-showcase-card__skeleton-line {
  width: 100%;
}

.specialists-page-body .provider-showcase-card__skeleton-line--short {
  width: 74%;
}

.specialists-page-body .provider-showcase-card__skeleton-actions {
  margin-top: 2px;
}

.specialists-page-body .provider-showcase-card__skeleton-action {
  min-height: 44px;
  border-radius: 18px;
}

.specialists-page-body .provider-showcase-card__skeleton-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.home-mobile-arrivals .wl-showcase-card--home {
  min-height: 17.5rem;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__badge-row {
  top: 14px;
  left: 14px;
  right: 68px;
  gap: 6px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__badge {
  min-height: 28px;
  padding: 0 10px;
  font-size: 10px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__owner {
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__content {
  gap: 6px;
  bottom: 52px;
  padding: 0 12px 10px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__eyebrow-row {
  order: 2;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__title {
  order: 1;
  font-size: 18px;
  line-height: 1.02;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__details {
  order: 3;
  display: grid;
  gap: 4px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__detail {
  gap: 6px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__detail span {
  white-space: normal;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__subtitle {
  order: 4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__subtitle,
.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__details {
  font-size: 10px;
}

.home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__action {
  right: 10px;
  bottom: 10px;
  left: 10px;
  min-height: 32px;
  border-radius: 14px;
  padding: 0 10px;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .specialists-page-body .provider-showcase-card .wl-showcase-card__title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .home-page-body .wl-showcase-card--home {
    border-radius: 24px;
  }

  .home-page-body .wl-showcase-card--home .wl-showcase-card__media {
    border-radius: 18px;
  }

  .specialists-page-body .provider-showcase-card {
    border-radius: 24px;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__media--split {
    border-radius: 18px;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__content--split {
    gap: 10px;
    padding: 16px 14px 14px;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__title {
    font-size: 24px;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__subtitle,
  .specialists-page-body .provider-showcase-card .wl-showcase-card__copy,
  .specialists-page-body .provider-showcase-card .wl-showcase-card__details {
    font-size: 12px;
  }

  .specialists-page-body .provider-showcase-card .specialist-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__action {
    min-height: 42px;
  }

  .specialists-page-body .provider-showcase-card__skeleton-media {
    border-radius: 18px;
  }

  .specialists-page-body .provider-showcase-card__skeleton-content {
    gap: 10px;
    padding: 16px 14px 14px;
  }
}

@media (max-width: 420px) {
  .home-page-body .wl-showcase-card--home {
    min-height: 18rem;
  }

  .wl-showcase-card__title {
    font-size: 24px;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__title {
    font-size: 21px;
  }
}

.home-available-section-head {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  margin-bottom: 2px;
}

.home-market-desktop .home-market-categories {
  grid-row: 1 / span 3;
}

.home-market-desktop .home-available-section-head,
.home-market-desktop .home-market-health,
.home-market-desktop .home-market-booked-shell {
  grid-column: 2 / span 3;
}

.home-market-desktop .home-market-hot-picks {
  grid-column: 5;
  grid-row: 1 / span 3;
}

.home-available-section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.home-available-section-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
}

.home-available-stat-pill {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.home-available-stat-pill strong,
.home-available-stat-pill span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #111827;
  font-size: 11px;
  line-height: 1;
}

.home-available-stat-pill strong {
  font-weight: 900;
}

.home-available-stat-pill span {
  color: #64748b;
  font-weight: 800;
}

.home-available-stat-pill b,
.home-available-stat-pill i {
  font-style: normal;
  font-weight: 950;
}

.home-available-stat-pill.is-up b,
.home-available-stat-pill.is-up i {
  color: #16a34a;
}

.home-available-stat-pill.is-down b,
.home-available-stat-pill.is-down i {
  color: #dc2626;
}

.home-market-health {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-health-card {
  min-width: 0;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  display: grid;
  align-content: center;
  gap: 5px;
}

.home-health-card span,
.home-health-card small {
  min-width: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 850;
}

.home-health-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 950;
}

.home-health-card small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-health-card small i,
.home-health-card small b {
  font-style: normal;
  font-weight: 950;
}

.home-health-card small.is-up i,
.home-health-card small.is-up b {
  color: #16a34a;
}

.home-health-card small.is-down i,
.home-health-card small.is-down b {
  color: #dc2626;
}

.home-page-body .wl-showcase-card--home {
  min-height: 18.75rem;
  border: 0 !important;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.home-page-body .wl-showcase-card--home:hover,
.home-page-body .wl-showcase-card--home:focus-within {
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__media {
  inset: 0;
  border-radius: inherit;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.08) 36%, rgba(0, 0, 0, 0.78) 72%, rgba(0, 0, 0, 0.94) 100%);
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__badge-row {
  top: 14px;
  left: 14px;
  right: 14px;
  gap: 6px;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__badge {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 900;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__badge--accent {
  background: rgba(220, 20, 60, 0.82);
  color: #ffffff;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__content {
  right: 0;
  bottom: 0;
  left: 0;
  gap: 5px;
  padding: 0 58px 18px 16px;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__title {
  color: #ffffff;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__action {
  left: auto;
  right: 14px;
  bottom: 14px;
  width: 38px;
  min-height: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.home-page-body .wl-showcase-card--home .wl-showcase-card__action:hover,
.home-page-body .wl-showcase-card--home .wl-showcase-card__action:focus-visible {
  background: #f6c343;
  color: #111111;
}

@media (max-width: 1100px) {
  .home-market-mobile .home-available-section-head {
    padding: 0 2px;
  }

  .home-available-section-head h2 {
    font-size: 23px;
  }

  .home-available-section-head p {
    font-size: 12px;
  }

  .home-available-stat-pill {
    min-height: 30px;
    padding: 4px 7px;
    gap: 6px;
  }

  .home-available-stat-pill strong,
  .home-available-stat-pill span {
    font-size: 10px;
  }

  .home-market-health {
    margin: 10px 0 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-health-card {
    min-height: 68px;
    padding: 9px 10px;
  }

  .home-health-card strong {
    font-size: 14px;
  }

  .home-health-card span,
  .home-health-card small {
    font-size: 10px;
  }

  .home-mobile-arrivals .wl-showcase-card--home {
    min-height: 17.5rem;
  }

  .home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__badge-row {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__content {
    bottom: 0;
    padding: 0 52px 16px 14px;
  }

  .home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__title {
    font-size: 19px;
  }

  .home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__subtitle {
    font-size: 11px;
  }

  .home-mobile-arrivals .wl-showcase-card--home .wl-showcase-card__action {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 36px;
    min-height: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .home-available-stat-pill span {
    display: none;
  }
}

.app-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(220, 20, 60, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #111827;
  opacity: 0;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.app-loader-overlay[hidden] {
  display: none !important;
}

.app-loader-overlay.is-visible {
  opacity: 1;
}

.app-loader-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.app-loader-overlay span {
  color: #475569;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-loader-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(58vw, 260px);
  min-height: 104px;
}

.app-loader-mark img {
  width: 100%;
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.14));
  animation: appLoaderLogoPulse 1.4s ease-in-out infinite;
}

.app-loader-spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(26, 50, 99, 0.14);
  border-top-color: #DC143C;
  border-radius: 999px;
  animation: appLoaderSpin 0.84s linear infinite;
}

@keyframes appLoaderLogoPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.035);
    opacity: 0.92;
  }
}

@keyframes appLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.wheel-and-hamster {
  --dur: 1s;
  position: relative;
  width: 12em;
  height: 12em;
  font-size: 14px;
}

.wheel,
.hamster,
.hamster div,
.spoke {
  position: absolute;
}

.wheel,
.spoke {
  border-radius: 50%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wheel {
  background: radial-gradient(100% 100% at center, hsla(0, 0%, 60%, 0) 47.8%, hsl(0, 0%, 60%) 48%);
  z-index: 2;
}

.hamster {
  animation: hamster var(--dur) ease-in-out infinite;
  top: 50%;
  left: calc(50% - 3.5em);
  width: 7em;
  height: 3.75em;
  transform: rotate(4deg) translate(-0.8em, 1.85em);
  transform-origin: 50% 0;
  z-index: 1;
}

.hamster__head {
  animation: hamsterHead var(--dur) ease-in-out infinite;
  background: hsl(30, 90%, 55%);
  border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
  box-shadow: 0 -0.25em 0 hsl(30, 90%, 80%) inset, 0.75em -1.55em 0 hsl(30, 90%, 90%) inset;
  top: 0;
  left: -2em;
  width: 2.75em;
  height: 2.5em;
  transform-origin: 100% 50%;
}

.hamster__ear {
  animation: hamsterEar var(--dur) ease-in-out infinite;
  background: hsl(0, 90%, 85%);
  border-radius: 50%;
  box-shadow: -0.25em 0 hsl(30, 90%, 55%) inset;
  top: -0.25em;
  right: -0.25em;
  width: 0.75em;
  height: 0.75em;
  transform-origin: 50% 75%;
}

.hamster__eye {
  animation: hamsterEye var(--dur) linear infinite;
  background-color: hsl(0, 0%, 0%);
  border-radius: 50%;
  top: 0.375em;
  left: 1.25em;
  width: 0.5em;
  height: 0.5em;
}

.hamster__nose {
  background: hsl(0, 90%, 75%);
  border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
  top: 0.75em;
  left: 0;
  width: 0.2em;
  height: 0.25em;
}

.hamster__body {
  animation: hamsterBody var(--dur) ease-in-out infinite;
  background: hsl(30, 90%, 90%);
  border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
  box-shadow: 0.1em 0.75em 0 hsl(30, 90%, 55%) inset, 0.15em -0.5em 0 hsl(30, 90%, 80%) inset;
  top: 0.25em;
  left: 2em;
  width: 4.5em;
  height: 3em;
  transform-origin: 17% 50%;
  transform-style: preserve-3d;
}

.hamster__limb--fr,
.hamster__limb--fl {
  clip-path: polygon(0 0, 100% 0, 70% 80%, 60% 100%, 0% 100%, 40% 80%);
  top: 2em;
  left: 0.5em;
  width: 1em;
  height: 1.5em;
  transform-origin: 50% 0;
}

.hamster__limb--fr {
  animation: hamsterFRLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30, 90%, 80%) 80%, hsl(0, 90%, 75%) 80%);
  transform: rotate(15deg) translateZ(-1px);
}

.hamster__limb--fl {
  animation: hamsterFLLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30, 90%, 90%) 80%, hsl(0, 90%, 85%) 80%);
  transform: rotate(15deg);
}

.hamster__limb--br,
.hamster__limb--bl {
  border-radius: 0.75em 0.75em 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 70% 90%, 70% 100%, 30% 100%, 40% 90%, 0% 30%);
  top: 1em;
  left: 2.8em;
  width: 1.5em;
  height: 2.5em;
  transform-origin: 50% 30%;
}

.hamster__limb--br {
  animation: hamsterBRLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30, 90%, 80%) 90%, hsl(0, 90%, 75%) 90%);
  transform: rotate(-25deg) translateZ(-1px);
}

.hamster__limb--bl {
  animation: hamsterBLLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30, 90%, 90%) 90%, hsl(0, 90%, 85%) 90%);
  transform: rotate(-25deg);
}

.hamster__tail {
  animation: hamsterTail var(--dur) linear infinite;
  background: hsl(0, 90%, 85%);
  border-radius: 0.25em 50% 50% 0.25em;
  box-shadow: 0 -0.2em 0 hsl(0, 90%, 75%) inset;
  top: 1.5em;
  right: -0.5em;
  width: 1em;
  height: 0.5em;
  transform: rotate(30deg) translateZ(-1px);
  transform-origin: 0.25em 0.25em;
}

.spoke {
  animation: spoke var(--dur) linear infinite;
  background:
    radial-gradient(100% 100% at center, hsl(0, 0%, 60%) 4.8%, hsla(0, 0%, 60%, 0) 5%),
    linear-gradient(hsla(0, 0%, 55%, 0) 46.9%, hsl(0, 0%, 65%) 47% 52.9%, hsla(0, 0%, 65%, 0) 53%) 50% 50% / 99% 99% no-repeat;
}

@keyframes hamster {
  from,
  to {
    transform: rotate(4deg) translate(-0.8em, 1.85em);
  }

  50% {
    transform: rotate(0) translate(-0.8em, 1.85em);
  }
}

@keyframes hamsterHead {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(0);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(8deg);
  }
}

@keyframes hamsterEye {
  from,
  90%,
  to {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0);
  }
}

@keyframes hamsterEar {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(0);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(12deg);
  }
}

@keyframes hamsterBody {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(0);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(-2deg);
  }
}

@keyframes hamsterFRLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(50deg) translateZ(-1px);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(-30deg) translateZ(-1px);
  }
}

@keyframes hamsterFLLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(-30deg);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(50deg);
  }
}

@keyframes hamsterBRLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(-60deg) translateZ(-1px);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(20deg) translateZ(-1px);
  }
}

@keyframes hamsterBLLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(20deg);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(-60deg);
  }
}

@keyframes hamsterTail {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(30deg) translateZ(-1px);
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(10deg) translateZ(-1px);
  }
}

@keyframes spoke {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(-1turn);
  }
}

@media (max-width: 520px) {
  .app-loader-mark {
    width: min(68vw, 220px);
    min-height: 86px;
  }

  .app-loader-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-loader-mark img,
  .app-loader-spinner {
    animation: none;
  }

  .hamster,
  .hamster__head,
  .hamster__ear,
  .hamster__eye,
  .hamster__body,
  .hamster__limb--fr,
  .hamster__limb--fl,
  .hamster__limb--br,
  .hamster__limb--bl,
  .hamster__tail,
  .spoke {
    animation: none;
  }
}

/* Minimal glass post-job refresh */
.job-post-page {
  min-height: 100dvh;
  padding: 0 0 54px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 197, 94, 0.10), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 58%);
}

.job-post-page .job-post-create-shell {
  width: calc(100% - 16px);
  max-width: none;
  margin: 0 auto 44px;
  gap: 12px;
}

.job-post-page .job-post-topbar {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 10px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.job-post-page .job-post-topbar-copy {
  display: none;
}

.job-post-page .job-post-topbar-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.job-post-page .job-post-topbar-link {
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: #111827;
  box-shadow: none;
}

.job-post-page .job-post-composer-shell {
  width: 100%;
  margin: 0;
  gap: 12px;
}

.job-post-page .job-post-guide,
.job-post-page .job-post-form,
.job-post-page .job-post-form-section,
.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.job-post-page .job-post-guide {
  border-radius: 18px;
}

.job-post-page .job-post-form {
  padding: 12px;
  border-radius: 22px;
  gap: 12px;
}

.job-post-page .job-post-form-section,
.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  padding: 14px;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.job-post-page .job-post-section-icon {
  background: rgba(34, 197, 94, 0.10);
  color: #15803d;
}

.job-post-page .job-form-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.job-post-page .job-form-input-shell,
.job-post-page .job-form-textarea-shell,
.job-post-page .job-combobox-shell {
  border-radius: 16px;
  border-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.76);
}

.job-post-page .job-form-input-shell:focus-within,
.job-post-page .job-form-textarea-shell:focus-within,
.job-post-page .job-combobox:focus-within .job-combobox-shell,
.job-post-page .job-combobox.is-open .job-combobox-shell {
  border-color: rgba(34, 197, 94, 0.62);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.job-post-page .job-combobox-menu {
  max-height: min(340px, 48dvh);
  padding: 8px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.job-post-page .job-combobox-option {
  min-height: 50px;
  padding: 8px 10px;
  border-radius: 16px;
  grid-template-columns: 38px minmax(0, 1fr);
}

.job-post-page .job-combobox-option:hover,
.job-post-page .job-combobox-option:focus-visible {
  background: rgba(15, 23, 42, 0.06);
}

.job-post-page .job-combobox-option + .job-combobox-option {
  margin-top: 2px;
}

.job-post-page .job-post-auth-compact {
  display: grid;
  gap: 14px;
}

.job-post-page .job-post-auth-compact > div:first-child,
.job-post-page .job-post-email-panel {
  display: grid;
  gap: 10px;
}

.job-post-page .job-post-auth-compact strong {
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.job-post-page .job-post-auth-compact span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.job-post-page .job-post-auth-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.job-post-page .job-post-auth-choice {
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 850;
}

.job-post-page .job-post-auth-choice.is-google {
  background: #ffffff;
}

.job-post-page .job-post-email-panel[hidden] {
  display: none;
}

.job-post-page .job-post-form-actions {
  grid-template-columns: 1fr;
}

.job-post-page .job-post-form .btn-primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.20);
}

.job-post-page .job-post-form .btn-primary:hover,
.job-post-page .job-post-form .btn-primary:focus-visible {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

@media (min-width: 769px) {
  .job-post-page .job-post-create-shell {
    width: calc(100% - 40px);
    margin: 0 20px 72px;
  }

  .job-post-page .job-post-topbar {
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 20px;
    border-radius: 0 0 24px 24px;
  }

  .job-post-page .job-post-topbar-copy {
    display: grid;
  }

  .job-post-page .job-post-topbar-actions {
    width: auto;
    min-width: 380px;
  }

  .job-post-page .job-post-form {
    padding: 20px;
  }

  .job-post-page .job-post-form-section,
  .job-post-page .job-post-auth-compact,
  .job-post-page .job-post-signed-in-card {
    padding: 18px;
  }

  .job-post-page .job-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-post-page .job-post-auth-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-post-page .job-post-form-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.job-posts-page .job-auth-modal-shell {
  align-items: center !important;
  justify-content: center !important;
}

.job-posts-page .job-auth-modal-shell .job-modal-panel.job-modal-auth-panel {
  margin: 0 !important;
  transform: translateY(16px) scale(0.96) !important;
}

.job-posts-page .job-auth-modal-shell.is-visible .job-modal-panel.job-modal-auth-panel {
  transform: translateY(0) scale(1) !important;
}

.job-posts-page .job-auth-modal-shell .job-modal-close {
  top: 8px !important;
  right: 8px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

@media (max-width: 480px) {
  .job-posts-page .job-auth-modal-shell {
    align-items: stretch !important;
    padding: 0 !important;
  }

  .job-posts-page .job-auth-modal-shell .job-modal-panel.job-modal-auth-panel {
    width: 100% !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
}

/* Jobs board redesign */
.job-posts-page {
  background: #ffffff;
}

.job-posts-page .job-posts-hero {
  display: none;
}

.job-posts-page .job-posts-shell {
  width: 100%;
  margin: 0 0 56px;
}

.job-posts-page .job-board-toolbar {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0 0 14px;
  padding: 6px 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.job-posts-page .job-board-toolbar-topline {
  display: grid;
  grid-template-columns: minmax(230px, 1.05fr) minmax(190px, 0.72fr) auto auto auto;
  gap: 10px;
  align-items: center;
}

.job-posts-page .job-board-toolbar-summary {
  display: none;
}

.job-posts-page .job-board-search.job-board-search-main,
.job-posts-page .job-board-location-search {
  min-width: 0;
  flex: none;
}

.job-posts-page .job-board-search-box {
  min-height: 40px;
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.job-posts-page .job-board-search-box i {
  color: #111827;
  font-size: 14px;
}

.job-posts-page .job-board-search input {
  color: #111827;
  font-size: 13px;
}

.job-posts-page .job-board-search input::placeholder {
  color: #8a9099;
}

.job-posts-page .job-board-time-panel {
  min-width: 0;
  flex: none;
}

.job-posts-page .job-board-filters {
  gap: 8px;
}

.job-posts-page .job-board-filters button,
.job-posts-page .job-board-view-toggle button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  font-weight: 850;
}

.job-posts-page .job-board-filters button.is-active {
  border-color: #DC143C;
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(220, 20, 60, 0.24);
}

.job-posts-page .job-board-view-toggle {
  justify-content: flex-end;
}

.job-posts-page .job-board-view-toggle button {
  gap: 8px;
}

.job-posts-page .job-board-view-toggle button.is-active {
  border-color: #DC143C;
  color: #111827;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(220, 20, 60, 0.48);
}

.job-posts-page .job-board-post-link {
  min-height: 38px;
  margin-left: 0;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(220, 20, 60, 0.22);
}

.job-posts-page .job-board-market-panel {
  width: 100%;
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  grid-template-columns: minmax(260px, 0.9fr) repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.job-posts-page .job-market-overview,
.job-posts-page .job-market-metric-card {
  min-height: 122px;
  border: 0;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.job-posts-page .job-market-overview {
  padding: 15px 18px 10px;
  grid-template-rows: auto minmax(54px, 1fr);
}

.job-posts-page .job-market-live-dot {
  background: #DC143C;
  box-shadow: 0 0 0 5px rgba(220, 20, 60, 0.14);
}

.job-posts-page .job-market-overview strong {
  color: #111827;
  font-size: 13px;
}

.job-posts-page .job-market-overview small {
  color: #6b7280;
  font-size: 11px;
}

.job-posts-page .job-market-sparkline {
  height: 62px;
}

.job-posts-page .job-market-metric-grid {
  display: contents;
}

.job-posts-page .job-market-metric-card {
  position: relative;
  min-height: 122px;
  padding: 18px 18px 16px 54px;
  align-content: center;
  gap: 11px;
}

.job-posts-page .job-market-metric-card:last-child {
  border-right: 0;
}

.job-posts-page .job-market-metric-card::before {
  content: "\f017";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.10);
  color: #DC143C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
  font-weight: 900;
}

.job-posts-page .job-market-metric-card:nth-child(2)::before {
  content: "\f058";
}

.job-posts-page .job-market-metric-card:nth-child(3)::before {
  content: "\e473";
}

.job-posts-page .job-market-metric-card:nth-child(4)::before {
  content: "\f0c0";
}

.job-posts-page .job-market-metric-card span {
  color: #5f6672;
  font-size: 12px;
  font-weight: 750;
}

.job-posts-page .job-market-metric-card strong {
  color: #111827;
  font-size: 22px;
  line-height: 1;
}

.job-posts-page .job-market-metric-card small {
  color: #64748b;
  font-size: 12px;
}

.job-posts-page .job-market-metric-card small.is-up i,
.job-posts-page .job-market-metric-card small.is-up b {
  color: #16a34a;
}

.job-posts-page .job-market-metric-card small.is-down i,
.job-posts-page .job-market-metric-card small.is-down b {
  color: #dc2626;
}

.job-posts-page .job-board-content {
  width: 100%;
  padding: 0 10px 28px;
}

.job-posts-page .job-board-groups {
  gap: 15px;
}

.job-posts-page .job-group {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.job-posts-page .job-group-head {
  padding: 8px 0 11px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.job-posts-page .job-group-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.job-posts-page .job-group-head h2::before {
  content: "\f073";
  color: #111827;
  font-family: "Font Awesome 6 Free";
  font-size: 13px;
  font-weight: 900;
}

.job-posts-page .job-group-head > span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.job-posts-page .job-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 0;
}

.job-posts-page .job-card {
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  gap: 9px;
}

.job-posts-page .job-card-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding-right: 72px;
}

.job-posts-page .job-card-tag-row {
  min-width: 0;
  gap: 6px;
}

.job-posts-page .job-card-tag,
.job-posts-page .job-card-subtag {
  min-height: 22px;
  padding: 0 9px;
  border-radius: 5px;
  font-size: 9px;
  line-height: 1;
}

.job-posts-page .job-card-subtag {
  background: rgba(220, 20, 60, 0.14);
  color: #111827;
}

.job-posts-page .job-card-quick-actions {
  position: absolute;
  top: -2px;
  right: 0;
  display: inline-flex;
  gap: 7px;
}

.job-posts-page .job-card-quick-actions span {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.job-posts-page .job-card-price {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin-top: 10px;
  color: #DC143C;
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
}

.job-posts-page .job-card h3 {
  margin: 1px 0 0;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.18;
}

.job-posts-page .job-card-owner {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
}

.job-posts-page .job-card-owner-avatar {
  width: 34px;
  height: 34px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.job-posts-page .job-card-owner-copy strong {
  color: #111827;
  font-size: 12px;
}

.job-posts-page .job-card-owner-meta {
  gap: 5px;
}

.job-posts-page .job-card-owner-copy > span,
.job-posts-page .job-card-owner-meta > span {
  color: #6b7280;
  font-size: 10px;
}

.job-posts-page .job-card-summary {
  min-height: 28px;
}

.job-posts-page .job-card p {
  color: #4b5563;
  font-size: 11px;
  line-height: 1.45;
}

.job-posts-page .job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1px;
  padding-top: 0;
  border-top: 0;
}

.job-posts-page .job-card-meta-item {
  min-height: 24px;
  max-width: 100%;
  padding: 0 9px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #4b5563;
  font-size: 10px;
}

.job-posts-page .job-card-meta-item i {
  color: #111827 !important;
}

.job-posts-page .job-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 2px;
  border-top: 0;
}

.job-posts-page .job-card-actions > * {
  width: 100%;
  min-height: 33px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.job-posts-page .job-card [data-job-bid] {
  background: #080808;
  border-color: #080808;
  color: #ffffff;
}

.job-posts-page .job-card [data-job-view-more] {
  border-color: rgba(220, 20, 60, 0.48);
  background: #ffffff;
  color: #DC143C;
}

@media (min-width: 1180px) {
  .job-posts-page .job-board-toolbar-topline {
    grid-template-columns: minmax(280px, 1.18fr) minmax(200px, 0.78fr) auto auto auto;
  }
}

@media (max-width: 980px) {
  .job-posts-page .job-board-toolbar-topline {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto;
  }

  .job-posts-page .job-board-view-toggle,
  .job-posts-page .job-board-post-link {
    grid-column: auto;
  }

  .job-posts-page .job-board-market-panel {
    grid-template-columns: 1fr 1fr;
  }

  .job-posts-page .job-market-overview {
    grid-column: 1 / -1;
  }

  .job-posts-page .job-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .job-posts-page .job-board-toolbar {
    padding: 8px 10px 10px;
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  }

  .job-posts-page .job-board-toolbar-topline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .job-posts-page .job-board-search-toggle,
  .job-posts-page .job-board-location-toggle,
  .job-posts-page .job-board-time-toggle,
  .job-posts-page .job-board-post-link {
    display: inline-flex;
    min-height: 46px;
    flex-direction: column;
    gap: 4px;
    padding: 4px 2px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    box-shadow: none;
    font-size: 10px;
  }

  .job-posts-page .job-board-post-link {
    background: linear-gradient(180deg, #DC143C 0%, #DC143C 100%);
    color: #ffffff;
  }

  .job-posts-page .job-board-search-toggle i,
  .job-posts-page .job-board-location-toggle i,
  .job-posts-page .job-board-time-toggle i,
  .job-posts-page .job-board-post-link i {
    color: currentColor;
    font-size: 15px;
  }

  .job-posts-page .job-board-search.job-board-search-main,
  .job-posts-page .job-board-location-search,
  .job-posts-page .job-board-time-panel {
    order: 7;
    display: none;
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .job-posts-page .job-board-toolbar.is-search-open .job-board-search.job-board-search-main,
  .job-posts-page .job-board-toolbar.is-location-open .job-board-location-search,
  .job-posts-page .job-board-toolbar.is-time-open .job-board-time-panel {
    display: grid;
  }

  .job-posts-page .job-board-time-panel {
    gap: 8px;
    padding-top: 2px;
  }

  .job-posts-page .job-board-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .job-posts-page .job-board-filters::-webkit-scrollbar {
    display: none;
  }

  .job-posts-page .job-board-filters button {
    flex: 0 0 auto;
    min-height: 34px;
    border-radius: 9px;
  }

  .job-posts-page .job-board-view-toggle {
    display: none;
  }

  .job-board-mobile-market-body {
    display: grid;
    width: calc(100% - 20px);
    margin: 10px auto 14px;
    gap: 10px;
  }

  .job-board-toolbar > .job-board-market-panel {
    display: none;
  }

  .job-board-mobile-market-body .job-board-toolbar-summary {
    display: grid;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  }

  .job-board-mobile-market-body .job-board-market-panel {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .job-board-mobile-market-body .job-market-overview,
  .job-board-mobile-market-body .job-market-metric-card {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .job-board-mobile-market-body .job-market-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-board-mobile-market-body .job-market-metric-card {
    padding: 14px 12px 12px 48px;
  }

  .job-posts-page .job-board-content {
    padding: 0 10px 24px;
  }

  .job-posts-page .job-card-grid,
  .job-posts-page .job-card-grid.is-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .job-posts-page .job-card {
    padding: 12px;
  }

  .job-posts-page .job-card-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .job-posts-page .job-market-metric-grid {
    grid-template-columns: 1fr;
  }

  .job-posts-page .job-card-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .job-posts-page {
    background: #f7f8fa;
  }

  .job-posts-page .job-posts-shell {
    margin-bottom: 84px;
  }

  .job-posts-page .job-board-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0;
    padding: 6px 6px 8px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  }

  .job-posts-page .job-board-toolbar-topline {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
  }

  .job-posts-page .job-board-search-toggle,
  .job-posts-page .job-board-location-toggle,
  .job-posts-page .job-board-time-toggle,
  .job-posts-page .job-board-toolbar-summary {
    display: none;
  }

  .job-posts-page .job-board-search.job-board-search-main,
  .job-posts-page .job-board-location-search {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .job-posts-page .job-board-search.job-board-search-main {
    order: 1;
  }

  .job-posts-page .job-board-location-search {
    order: 2;
  }

  .job-posts-page .job-board-search > span {
    display: none;
  }

  .job-posts-page .job-board-search-box {
    min-height: 30px;
    border-radius: 7px;
    border-color: rgba(17, 24, 39, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }

  .job-posts-page .job-board-search-box i {
    width: 30px;
    font-size: 11px;
    color: #111827;
  }

  .job-posts-page .job-board-search input {
    height: 30px;
    font-size: 11px;
  }

  .job-posts-page .job-board-time-panel {
    order: 3;
    display: block;
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .job-posts-page .job-board-toolbar.is-time-open .job-board-time-panel,
  .job-posts-page .job-board-toolbar.is-search-open .job-board-search.job-board-search-main,
  .job-posts-page .job-board-toolbar.is-location-open .job-board-location-search {
    display: block;
  }

  .job-posts-page .job-board-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .job-posts-page .job-board-filters button,
  .job-posts-page .job-board-view-toggle button {
    flex: 0 0 auto;
    min-height: 29px;
    padding: 0 11px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 850;
  }

  .job-posts-page .job-board-view-toggle {
    order: 4;
    grid-column: 1 / 3;
    display: inline-flex;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    width: max-content;
  }

  .job-posts-page .job-board-view-toggle button {
    gap: 5px;
  }

  .job-posts-page .job-board-view-toggle button i,
  .job-posts-page .job-board-post-link i {
    font-size: 10px;
  }

  .job-posts-page .job-board-post-link {
    order: 4;
    grid-column: 4;
    justify-self: end;
    display: inline-flex !important;
    margin-left: 0;
    min-height: 30px;
    padding: 0 13px;
    border-radius: 7px;
    gap: 6px;
    font-size: 10px;
    font-weight: 900;
  }

  .job-posts-page .job-board-toolbar > .job-board-market-panel {
    display: none;
  }

  .job-posts-page .job-board-content {
    padding: 6px 6px 18px;
  }

  .job-board-mobile-market-body {
    display: grid;
    width: 100%;
    margin: 0 0 8px;
    gap: 0;
  }

  .job-board-mobile-market-body .job-board-toolbar-summary {
    display: none;
  }

  .job-posts-page .job-board-mobile-market-body .job-board-market-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 7px;
    border-color: rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }

  .job-posts-page .job-board-mobile-market-body .job-market-overview,
  .job-posts-page .job-board-mobile-market-body .job-market-metric-card {
    min-width: 0 !important;
    min-height: 82px;
    border-right: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .job-posts-page .job-board-mobile-market-body .job-market-overview {
    grid-column: auto !important;
    padding: 11px 10px 7px;
    grid-template-rows: auto minmax(34px, 1fr);
    overflow: hidden;
  }

  .job-board-mobile-market-body .job-market-overview > div {
    min-width: 0;
  }

  .job-board-mobile-market-body .job-market-overview strong {
    font-size: 11px;
  }

  .job-board-mobile-market-body .job-market-overview small {
    font-size: 9px;
  }

  .job-board-mobile-market-body .job-market-live-dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.12);
  }

  .job-board-mobile-market-body .job-market-sparkline {
    width: 100%;
    min-width: 0;
    height: 42px;
  }

  .job-board-mobile-market-body .job-market-metric-grid {
    display: contents !important;
    min-width: 0;
  }

  .job-board-mobile-market-body .job-market-metric-card {
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 14px 10px 10px 38px;
    align-content: center;
    gap: 6px;
  }

  .job-board-mobile-market-body .job-market-metric-card::before {
    top: 13px;
    left: 10px;
    width: 18px;
    height: 18px;
    font-size: 8px;
  }

  .job-board-mobile-market-body .job-market-metric-card span {
    font-size: 10px;
    line-height: 1.15;
  }

  .job-board-mobile-market-body .job-market-metric-card strong {
    font-size: 15px;
  }

  .job-board-mobile-market-body .job-market-metric-card small {
    font-size: 9px;
  }

  .job-posts-page .job-board-groups {
    gap: 8px;
  }

  .job-posts-page .job-group-head {
    padding: 8px 4px;
    border-bottom: 0;
  }

  .job-posts-page .job-group-head h2 {
    gap: 7px;
    font-size: 11px;
  }

  .job-posts-page .job-group-head h2::before {
    font-size: 10px;
  }

  .job-posts-page .job-group-head > span {
    font-size: 10px;
  }

  .job-posts-page .job-card-grid,
  .job-posts-page .job-card-grid.is-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .job-posts-page .job-card {
    padding: 10px;
    border-radius: 7px;
    gap: 7px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
  }

  .job-posts-page .job-card-top {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 58px;
    gap: 6px;
  }

  .job-posts-page .job-card-tag,
  .job-posts-page .job-card-subtag {
    min-height: 18px;
    padding: 0 7px;
    border-radius: 5px;
    font-size: 7px;
  }

  .job-posts-page .job-card-quick-actions {
    gap: 5px;
  }

  .job-posts-page .job-card-quick-actions span {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .job-posts-page .job-card-price {
    margin-top: 8px;
    font-size: 13px;
  }

  .job-posts-page .job-card h3 {
    font-size: 13px;
  }

  .job-posts-page .job-card-owner {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
  }

  .job-posts-page .job-card-owner-avatar {
    width: 30px;
    height: 30px;
  }

  .job-posts-page .job-card-owner-copy strong {
    font-size: 10px;
  }

  .job-posts-page .job-card-owner-copy > span,
  .job-posts-page .job-card-owner-meta > span {
    font-size: 8px;
  }

  .job-posts-page .job-card-summary {
    min-height: 0;
  }

  .job-posts-page .job-card p {
    font-size: 9px;
    line-height: 1.35;
  }

  .job-posts-page .job-card-meta {
    gap: 5px;
  }

  .job-posts-page .job-card-meta-item {
    width: 100%;
    min-height: 22px;
    justify-content: flex-start;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 8px;
  }

  .job-posts-page .job-card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .job-posts-page .job-card-actions > * {
    min-height: 30px;
    border-radius: 5px;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .job-posts-page .job-market-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-posts-page .job-card-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 769px) {
  .job-post-page {
    padding: 18px 0 72px;
    background:
      radial-gradient(circle at 18% 0%, rgba(220, 20, 60, 0.10), transparent 28%),
      linear-gradient(180deg, #f8fafc 0%, #ffffff 62%);
  }

  .job-post-page .job-post-create-shell {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin: 0 auto 72px;
  }

  .job-post-page .job-post-topbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }

  .job-post-page .job-post-topbar-copy {
    display: grid !important;
    gap: 4px;
    min-width: 0;
  }

  .job-post-page .job-post-topbar-copy h1 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 950;
  }

  .job-post-page .job-post-topbar-copy p {
    margin: 0;
    max-width: 560px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
  }

  .job-post-page .job-post-topbar-kicker {
    color: #DC143C;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .job-post-page .job-post-topbar-actions {
    width: auto;
    min-width: 0;
    display: flex;
    grid-template-columns: none;
    flex: 0 0 auto;
    gap: 10px;
  }

  .job-post-page .job-post-topbar-link {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-size: 12px;
    font-weight: 850;
  }

  .job-post-page .job-post-topbar-link:hover,
  .job-post-page .job-post-topbar-link:focus-visible {
    border-color: rgba(220, 20, 60, 0.42);
    color: #111827;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.12);
  }

  .job-post-page .job-post-composer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    width: 100%;
  }

  .job-post-page .job-post-guide {
    display: block !important;
    position: sticky;
    top: 90px;
    border-radius: 16px;
  }

  .job-post-page .job-post-guide-bar {
    align-items: flex-start;
  }

  .job-post-page .job-post-guide-content {
    display: grid;
    gap: 14px;
  }

  .job-post-page .job-post-form {
    max-width: none;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  }

  .job-post-page .job-post-form-hero {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid rgba(220, 20, 60, 0.16);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08), rgba(255, 255, 255, 0.92));
  }

  .job-post-page .job-post-form-hero-icon {
    width: 64px;
    height: 64px;
    background: #111827;
    color: #DC143C;
    border-color: rgba(220, 20, 60, 0.28);
  }

  .job-post-page .job-post-form-hero h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.06;
    font-weight: 950;
  }

  .job-post-page .job-post-form-hero p {
    max-width: 520px;
    margin: 7px 0 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .job-post-page .job-post-form-dots {
    display: none;
  }

  .job-post-page .job-post-form-section:first-of-type .job-post-section-head {
    display: grid;
  }

  .job-post-page .job-post-form-section,
  .job-post-page .job-post-auth-compact,
  .job-post-page .job-post-signed-in-card {
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
  }

  .job-post-page .job-post-section-icon {
    background: rgba(220, 20, 60, 0.12);
    color: #DC143C;
  }

  .job-post-page .job-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 14px;
  }

  .job-post-page .job-form-field.is-wide {
    grid-column: 1 / -1;
  }

  .job-post-page .job-form-input-shell:focus-within,
  .job-post-page .job-form-textarea-shell:focus-within,
  .job-post-page .job-combobox:focus-within .job-combobox-shell,
  .job-post-page .job-combobox.is-open .job-combobox-shell {
    border-color: rgba(220, 20, 60, 0.62);
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.12);
  }

  .job-post-page .job-form-field-icon,
  .job-post-page .job-combobox-leading,
  .job-post-page .job-combobox-toggle {
    color: #DC143C;
  }

  .job-post-page .job-post-form-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .job-post-page .job-post-action-secondary {
    display: inline-flex;
  }

  .job-post-page .job-post-form .btn-primary {
    background: #DC143C;
    border-color: #DC143C;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(220, 20, 60, 0.24);
  }

  .job-post-page .job-post-form .btn-primary:hover,
  .job-post-page .job-post-form .btn-primary:focus-visible {
    background: #c86547;
    border-color: #c86547;
    color: #ffffff;
  }
}

/* Final WorkLinkUp profile override layer */
.search-results-section-title {
  grid-column: 1 / -1;
}

.search-results-section-title.is-related-only {
  padding: 16px;
  border: 1px solid rgba(255, 68, 56, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--worklink-soft-red) 100%);
}

/* Search results marketplace redesign */
.search-results-body {
  background: #f8fafc;
}

body.search-results-home-loading {
  overflow: hidden;
}

body.search-results-home-loading .search-results-page {
  opacity: 0;
  pointer-events: none;
}

.home-search-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(220, 20, 60, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.94);
}

body.search-results-home-loading .home-search-loader-overlay {
  display: grid;
}

.home-search-loader {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.08);
  box-shadow: 0 22px 54px rgba(220, 20, 60, 0.22);
}

.home-search-loader span {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 5px solid rgba(220, 20, 60, 0.16);
  border-top-color: #dc143c;
  border-right-color: #dc143c;
  animation: home-search-loader-spin 0.76s linear infinite;
}

@keyframes home-search-loader-spin {
  to { transform: rotate(360deg); }
}

.search-results-page {
  width: min(100% - 24px, 1480px);
  padding: 18px 0 92px;
}

.search-results-desktop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.search-results-refine-panel {
  position: sticky;
  top: 18px;
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.search-results-refine-panel h2 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 17px;
}

.search-results-refine-panel form,
.search-results-refine-field,
.search-results-refine-checks {
  display: grid;
  gap: 12px;
}

.search-results-refine-field,
.search-results-refine-checks {
  margin-bottom: 20px;
}

.search-results-refine-field span,
.search-results-refine-checks > span {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

.search-results-refine-field > div {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.search-results-refine-field input,
.search-results-refine-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 13px;
}

.search-results-refine-field input:focus,
.search-results-refine-field input:focus-visible,
.search-results-refine-field select:focus,
.search-results-refine-field select:focus-visible {
  outline: none;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.search-results-refine-field > div:focus-within {
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.search-results-refine-field > div input {
  min-height: 0;
  border: 0;
}

.search-results-refine-field > div input:focus,
.search-results-refine-field > div input:focus-visible {
  border: 0;
}

.search-results-refine-field > div i {
  color: #98a2b3;
  font-size: 13px;
}

.search-results-refine-field select,
.search-results-price-row input {
  padding: 0 12px;
}

.search-results-price-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
}

.search-results-refine-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475467;
  font-size: 13px;
}

.search-results-refine-checks input {
  width: 18px;
  height: 18px;
  accent-color: #ff0033;
}

.search-results-apply-desktop,
.search-results-clear-desktop {
  min-height: 42px;
  border-radius: 7px;
  font-weight: 900;
}

.search-results-apply-desktop {
  border: 0;
  background: #ff0033;
  color: #ffffff;
}

.search-results-clear-desktop {
  border: 1px solid #ff0033;
  background: #ffffff;
  color: #ff0033;
}

.search-results-mobile-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.search-results-back,
.search-results-filter-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.search-results-filter-btn {
  position: relative;
}

.search-results-filter-btn span {
  position: absolute;
  right: 9px;
  top: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff3b30;
}

.search-results-searchbar {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef0f4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-results-searchbar i {
  color: #8a93a3;
  font-size: 14px;
}

.search-results-searchbar input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 14px;
}

.search-results-searchbar input:focus {
  outline: none;
}

.search-results-toolbar {
  padding: 0 0 10px;
  border-bottom: 0;
  align-items: center;
}

.search-results-summary p {
  font-size: 14px;
  font-weight: 800;
}

.search-results-summary h1 {
  display: none;
}

.search-results-sort {
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.search-results-sort span {
  font-size: 13px;
  font-weight: 800;
}

.search-results-sort select {
  width: 18px;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.search-results-active-filters {
  padding: 0 0 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.search-results-active-filters span,
.search-results-clear-all {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef0f4;
  color: #111827;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.search-results-active-filters span button {
  margin-left: 6px;
  border: 0;
  background: transparent;
  color: #586174;
}

.search-results-clear-all {
  padding: 0 12px;
  color: #ff3b30;
}

.search-results-shell {
  display: grid;
  gap: 24px;
}

.search-result-featured {
  display: grid;
  grid-template-columns: minmax(230px, 0.46fr) minmax(0, 0.54fr);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.search-results-exact-carousel {
  position: relative;
}

.search-results-exact-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.search-results-exact-track .search-result-featured {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}

.search-results-exact-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  transform: translateY(-50%);
}

.search-results-exact-nav.is-prev {
  left: 8px;
}

.search-results-exact-nav.is-next {
  right: 8px;
}

.search-result-featured .search-result-card-image img {
  height: 100%;
  min-height: 260px;
  aspect-ratio: auto;
}

.search-result-featured-copy {
  min-width: 0;
  padding: 20px;
  display: grid;
  align-content: center;
  gap: 9px;
}

.search-result-provider-pill {
  width: fit-content;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffe8e6;
  color: #ff3b30;
  font-size: 11px;
  font-weight: 900;
}

.search-result-featured-copy h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.1;
}

.search-result-featured-copy h2 i {
  color: #ff3b30;
  font-size: 15px;
}

.search-result-featured-copy p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.search-result-rating-row,
.search-result-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.search-result-rating-row span {
  color: #ff3b30;
  font-size: 11px;
}

.search-result-rating-row small,
.search-result-location {
  color: #667085;
}

.search-result-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.search-result-service-chips span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #667085;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}

.search-result-featured-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.search-result-message,
.search-result-whatsapp,
.search-result-profile {
  min-height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.search-result-message {
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #111827;
  background: #ffffff;
}

.search-result-profile {
  color: #ffffff;
  background: #ff3b30;
}

.search-result-whatsapp,
.search-result-card-whatsapp,
.messages-thread-whatsapp,
.provider-profile-whatsapp-action {
  color: #ffffff;
  background: #25d366;
}

.search-result-whatsapp:hover,
.search-result-card-whatsapp:hover,
.messages-thread-whatsapp:hover,
.provider-profile-whatsapp-action:hover {
  background: #1ebe5d;
}

.search-results-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.search-results-section-head h2,
.search-results-popular h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.search-results-section-head button {
  border: 0;
  background: transparent;
  color: #ff3b30;
  font-size: 13px;
  font-weight: 800;
}

.search-results-related-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.search-result-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.search-result-related-image {
  position: relative;
}

.search-result-related-image img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  display: block;
}

.search-result-related-image button {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.search-result-related-image span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  min-height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 900;
}

.search-result-related-copy {
  padding: 9px;
  display: grid;
  gap: 4px;
}

.search-result-related-copy h3,
.search-result-related-copy p,
.search-result-related-copy strong,
.search-result-related-copy div,
.search-result-related-copy small {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-related-copy h3 {
  font-size: 13px;
  font-weight: 900;
}

.search-result-related-copy p,
.search-result-related-copy div {
  color: #667085;
  font-size: 11px;
}

.search-result-related-copy strong,
.search-result-related-copy small {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

.search-result-related-copy strong i {
  color: #ff3b30;
  font-size: 10px;
}

.search-results-popular {
  display: grid;
  gap: 12px;
}

.search-results-popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-results-popular-chips a {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.search-results-popular-chips i {
  color: #98a2b3;
  font-size: 11px;
}

.search-results-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.search-result-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-result-card {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.search-result-card-copy {
  padding: 12px;
}

.search-result-card-copy h2 {
  font-size: 14px;
  font-weight: 900;
}

.search-result-card-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.search-result-card-copy p {
  color: #667085;
  font-size: 12px;
}

.search-result-card-copy strong {
  font-size: 12px;
}

.search-result-card-copy strong i {
  color: #ff0033;
}

.search-result-card-copy strong small {
  color: #667085;
  font-weight: 700;
}

.search-result-card-copy small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #667085;
  font-size: 11px;
}

.search-result-card-copy em {
  color: #00b86b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.search-result-card-copy b {
  margin-top: 8px;
  color: #111827;
  font-size: 12px;
}

.search-result-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.search-result-card-message,
.search-result-card-whatsapp {
  min-height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

.search-result-card-message {
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #111827;
  background: #ffffff;
}

.search-results-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 10px 0 18px;
}

.search-results-pagination button,
.search-results-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 7px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.search-results-pagination button.is-active {
  border-color: #ff0033;
  color: #ff0033;
}

.search-results-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (min-width: 821px) {
  .search-results-best,
  .search-results-related-block {
    display: none !important;
  }

  .search-results-mobile-head {
    grid-template-columns: 42px minmax(320px, 560px) 42px;
    justify-content: center;
    margin-bottom: 22px;
  }

  .search-results-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-results-summary h1 {
    display: block;
    margin-top: 6px;
    font-size: 32px;
  }
}

@media (max-width: 820px) {
  .search-results-desktop-layout {
    display: block;
  }

  .search-results-refine-panel,
  .search-results-pagination {
    display: none;
  }

  .search-results-body {
    background: #ffffff;
  }

  .search-results-page {
    width: 100%;
    padding: 8px 8px calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .search-results-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0;
  }

  .search-results-sort {
    height: 36px;
    border-radius: 12px;
  }

  .search-results-summary p {
    font-size: 12px;
  }

  .search-results-shell {
    gap: 18px;
  }

  .search-result-featured {
    width: 100%;
    max-width: calc(100vw - 16px);
    grid-template-columns: 108px minmax(0, 1fr);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  }

  .search-result-featured .search-result-card-image img {
    min-height: 154px;
  }

  .search-result-featured-copy {
    padding: 9px;
    gap: 4px;
    min-width: 0;
  }

  .search-result-provider-pill {
    min-height: 18px;
    font-size: 9px;
  }

  .search-result-featured-copy h2 {
    font-size: 14px;
    line-height: 1.12;
  }

  .search-result-featured-copy p,
  .search-result-description {
    font-size: 9px;
    line-height: 1.25;
  }

  .search-result-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .search-result-rating-row,
  .search-result-location {
    font-size: 9px;
    gap: 4px;
  }

  .search-result-service-chips {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .search-result-service-chips span {
    min-height: 21px;
    padding: 0 7px;
    font-size: 8px;
  }

  .search-result-featured-actions {
    gap: 6px;
    margin-top: 3px;
  }

  .search-result-message,
  .search-result-whatsapp,
  .search-result-profile {
    min-height: 30px;
    border-radius: 7px;
    font-size: 9px;
    white-space: nowrap;
  }

  .search-results-exact-track,
  .search-results-exact-track .search-result-featured {
    max-width: calc(100vw - 16px);
  }

  .search-results-related-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 2px 4px;
    scroll-snap-type: x proximity;
    width: max-content;
    max-width: none;
    animation: search-related-rail 42s linear infinite;
  }

  .search-results-related-track:hover,
  .search-results-related-track:focus-within,
  .search-results-related-track:active {
    animation-play-state: paused;
  }

  .search-results-related-block {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .search-result-related-card {
    flex: 0 0 calc((100vw - 40px) / 3);
    width: calc((100vw - 40px) / 3);
    scroll-snap-align: start;
    border-radius: 6px;
  }

  .search-result-related-copy {
    padding: 7px;
  }

  .search-result-related-copy h3 {
    font-size: 10px;
  }

  .search-result-related-copy p,
  .search-result-related-copy div,
  .search-result-related-copy small {
    font-size: 8px;
  }

  .search-results-grid {
    display: none;
  }

  .search-results-exact-nav {
    width: 32px;
    height: 32px;
  }

  .search-results-exact-nav.is-prev {
    left: 4px;
  }

  .search-results-exact-nav.is-next {
    right: 4px;
  }

  .search-results-popular-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .search-results-popular-chips a {
    justify-content: center;
    min-height: 31px;
    padding: 0 9px;
    font-size: 10px;
  }
}

@keyframes search-related-rail {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.provider-profile-page .provider-profile-summary-main,
.provider-profile-page .provider-profile-gallery,
.provider-profile-page .provider-profile-gallery-head {
  width: min(1120px, calc(100% - 44px));
}

.provider-profile-page .provider-profile-summary-main {
  max-width: none;
  margin: 0 auto;
  gap: 18px;
}

.provider-profile-page .provider-profile-banner::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 16, 31, 0.62) 100%);
  pointer-events: none;
}

.provider-profile-page .provider-profile-handle,
.provider-profile-page .provider-profile-phone {
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.provider-profile-page .provider-profile-avatar-ring {
  background: #fff;
  box-shadow: 0 18px 36px rgba(20, 28, 45, 0.2);
}

.provider-profile-actions-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.provider-profile-action-compact,
.provider-profile-stats-row,
.provider-profile-services,
.provider-profile-location,
.provider-profile-skills-link,
.provider-profile-about-card,
.provider-profile-gallery-head,
.provider-profile-gallery {
  border: 1px solid var(--worklink-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 31, 50, 0.06);
}

.provider-profile-action-compact {
  min-height: 92px;
  padding: 18px;
  justify-content: flex-start;
}

.provider-profile-action-compact i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--worklink-red);
  color: #fff;
  font-size: 22px;
}

.provider-profile-stats-row {
  margin: 0;
  padding: 22px 0;
}

.provider-stat-item + .provider-stat-item {
  border-left: 1px solid var(--worklink-line);
}

.provider-stat-value {
  color: var(--worklink-ink);
  font-size: 25px;
}

[data-provider-rating] {
  color: var(--worklink-red);
}

.provider-profile-services,
.provider-profile-about-card,
.client-profile-info-panel {
  padding: 20px;
}

.provider-service-tag {
  background: var(--worklink-soft-red);
  color: var(--worklink-red-dark);
}

.provider-profile-location,
.provider-profile-skills-link {
  margin: 0;
  padding: 18px 20px;
}

.provider-profile-location i,
.provider-profile-skills-link i:first-child {
  color: var(--worklink-red);
}

.provider-profile-about-card .provider-profile-bio {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 12px 44px;
  border: 0;
}

.provider-profile-about-card .provider-profile-bio::before,
.provider-profile-about-card .provider-profile-bio::after {
  position: absolute;
  top: 4px;
  color: var(--worklink-red);
  font-family: 'Font Awesome 6 Free';
  font-size: 20px;
  font-weight: 900;
}

.provider-profile-about-card .provider-profile-bio::before {
  content: '\f10d';
  left: 0;
}

.provider-profile-about-card .provider-profile-bio::after {
  content: '\f10e';
  right: 0;
}

.provider-profile-edit-section .provider-profile-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--worklink-red);
  color: #fff;
  box-shadow: 0 14px 26px rgba(255, 68, 56, 0.22);
}

.provider-profile-gallery-tab.is-active {
  color: var(--worklink-red);
  border-bottom-color: var(--worklink-red);
}

.provider-profile-tab-badge {
  background: var(--worklink-red);
}

.client-profile-switch-provider {
  min-height: 62px;
  width: min(100%, 420px);
  margin: -6px auto 12px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--worklink-red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(255, 68, 56, 0.25);
}

.client-profile-action-card {
  min-height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.client-profile-action-card small {
  display: block;
  margin-top: 4px;
  color: var(--worklink-muted);
  font-size: 12px;
  line-height: 1.3;
}

.client-profile-action-card.is-primary {
  background: var(--worklink-red);
  color: #fff;
}

.client-profile-action-card.is-primary i {
  background: #fff;
  color: var(--worklink-red);
}

.client-profile-action-card.is-primary strong,
.client-profile-action-card.is-primary small {
  color: #fff;
}

.client-profile-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-profile-tool-row a {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--worklink-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--worklink-ink);
  font-weight: 800;
}

.client-profile-info-panel {
  border: 1px solid var(--worklink-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 31, 50, 0.06);
}

.client-profile-panel-head,
.client-profile-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.client-profile-panel-head button,
.client-profile-tool-row i {
  color: var(--worklink-red);
}

.client-profile-info-row {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--worklink-line);
  background: transparent;
  text-align: left;
}

.client-profile-info-row > i:first-child {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--worklink-soft-red);
  color: var(--worklink-red);
}

.client-profile-info-row span {
  flex: 1;
  display: grid;
  gap: 3px;
}

.client-profile-info-row small {
  color: var(--worklink-muted);
}

.client-profile-info-row em {
  padding: 6px 12px;
  border: 1px solid var(--worklink-red);
  border-radius: 8px;
  color: var(--worklink-red);
  font-style: normal;
  font-weight: 800;
}

.client-profile-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--worklink-soft-red);
  color: #4f5b6f;
}

.client-profile-note i {
  color: var(--worklink-red);
  font-size: 22px;
}

@media (min-width: 1024px) {
  .provider-profile-page .provider-profile-summary-main {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
    align-items: start;
  }

  .provider-profile-actions-compact,
  .provider-profile-stats-row,
  .provider-profile-about-card {
    grid-column: 1;
  }

  .provider-profile-services,
  .provider-profile-location,
  .provider-profile-skills-link {
    grid-column: 2;
  }

  .provider-profile-services {
    grid-row: 1 / span 2;
  }

  .provider-profile-location {
    grid-row: 3;
  }

  .provider-profile-skills-link {
    grid-row: 4;
  }

  .provider-profile-about-card {
    grid-row: 3 / span 2;
  }

  .client-profile-provider-style .provider-profile-summary-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    max-width: none;
    align-items: start;
  }

  .client-profile-provider-style .client-profile-switch-provider {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
  }

  .client-profile-provider-style .provider-profile-actions-compact {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
  }

  .client-profile-provider-style .provider-profile-services {
    grid-column: 1;
    grid-row: 2;
  }

  .client-profile-provider-style .client-profile-info-panel {
    grid-column: 2;
    grid-row: 2 / span 3;
  }

  .client-profile-provider-style .client-profile-location-card {
    grid-column: 1;
    grid-row: 3;
  }

  .client-profile-provider-style .client-profile-note {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width: 768px) {
  .provider-profile-page .provider-profile-banner {
    min-height: 188px;
  }

  .provider-profile-page .provider-profile-avatar-ring {
    width: 104px;
    height: 104px;
    left: 30px;
    bottom: -50px;
  }

  .provider-profile-page .provider-profile-banner-copy {
    left: 142px;
    bottom: 24px;
  }

  .provider-profile-page .provider-profile-banner-copy h1 {
    font-size: 24px;
  }

  .provider-profile-page .provider-profile-summary {
    width: 100%;
    padding: 66px 16px 0;
  }

  .provider-profile-page .provider-profile-summary-main,
  .provider-profile-page .provider-profile-gallery,
  .provider-profile-page .provider-profile-gallery-head {
    width: 100%;
  }

  .provider-profile-actions-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .provider-profile-action-compact {
    min-height: 76px;
    padding: 10px 8px;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    text-align: center;
  }

  .provider-profile-action-compact i {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .provider-profile-stats-row {
    padding: 14px 0;
  }

  .provider-stat-value {
    font-size: 20px;
  }

  .provider-profile-gallery {
    margin-top: 12px;
    padding: 14px;
    grid-template-columns: 1fr;
  }

  .client-profile-switch-provider {
    min-height: 56px;
    margin-top: -10px;
  }

  .client-profile-action-card {
    min-height: 104px;
  }
}

/* Final job dashboard/form overrides */
.job-dashboard-listing.is-jobs-posted {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.job-owner-posted-card {
  position: relative;
  margin: 0;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.job-owner-posted-code {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #3b4264;
  font-size: 12px;
  font-weight: 700;
}

.job-owner-posted-card .job-owner-card-head {
  padding-right: 180px;
}

.job-owner-posted-card .job-owner-card-head h3 {
  margin-top: 20px;
  font-size: 25px;
}

.job-owner-posted-card .job-owner-card-head > strong {
  color: #049851;
  font-size: 24px;
}

.job-owner-posted-card .job-card-meta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) minmax(260px, 360px);
  gap: 18px;
  align-items: center;
}

.job-owner-posted-card .job-card-bids-trigger {
  width: 100%;
  margin-left: 0;
  border-color: rgba(255, 0, 64, 0.18);
  background: rgba(255, 0, 64, 0.04);
}

.job-owner-posted-card .job-card-actions {
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.job-owner-posted-card .job-card-actions .btn-primary {
  background: #241052;
}

.job-owner-posted-card .job-card-actions .job-delete-btn {
  background: #ff0040;
  color: #fff;
  border-color: #ff0040;
}

.job-owner-posted-details {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.job-owner-posted-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 32px;
}

.job-owner-posted-detail-grid span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "icon label" "icon value";
  gap: 3px 14px;
  align-items: center;
}

.job-owner-posted-detail-grid i {
  grid-area: icon;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(113, 67, 255, 0.1);
  color: #6b38ff;
}

.job-owner-posted-detail-grid small {
  grid-area: label;
  color: #69718c;
  font-size: 12px;
}

.job-owner-posted-detail-grid b {
  grid-area: value;
  color: #111936;
  font-size: 13px;
}

.job-owner-posted-detail-grid b.is-active {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #0f9f58;
}

.job-owner-posted-tip {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 12px;
  background: #f2f7ff;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.job-owner-posted-tip > i {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #7143ff;
  font-size: 21px;
}

.job-owner-posted-tip div {
  display: grid;
  gap: 5px;
}

.job-owner-posted-tip span {
  color: #58627f;
  font-size: 13px;
}

.job-owner-posted-tip a {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(113, 67, 255, 0.18);
  background: #fff;
  color: #7143ff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.job-owner-posted-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
}

.job-owner-posted-section {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.job-owner-posted-main {
  position: relative;
  padding: 22px;
}

.job-owner-posted-actions-panel {
  padding: 14px;
}

.job-owner-posted-card .job-card-actions {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.job-owner-posted-card .job-card-meta {
  margin-top: 18px;
}

.job-owner-posted-details {
  margin-top: 0;
  padding: 18px;
}

.job-owner-posted-tip {
  margin-top: 0;
}

.job-post-page .job-post-form,
.job-post-page .job-post-composer-shell,
.job-post-page .job-post-form-section,
.job-post-page .job-form-grid,
.job-post-page .job-form-field,
.job-post-page .job-combobox {
  overflow: visible;
}

.job-post-page .job-form-field:has(.job-combobox.is-open) {
  position: relative;
  z-index: 90;
}

.job-post-page .job-combobox.is-open {
  z-index: 80;
}

.job-post-page .job-combobox-menu {
  z-index: 1000;
}

.job-post-page .job-form-textarea-shell {
  display: block;
  position: relative;
}

.job-post-page .job-form-textarea-shell .job-form-field-icon {
  display: none;
}

.job-post-page .job-form-textarea-shell textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
}

.job-post-page .job-form-textarea-shell.is-address textarea {
  min-height: 104px;
}

.job-post-page .job-form-count {
  position: absolute;
  right: 14px;
  bottom: 10px;
}

.job-bids-modal-card {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-bids-modal-card.is-selected {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(34, 197, 94, 0.42);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

.job-bids-modal-card.is-dimmed {
  opacity: 0.42;
  filter: blur(1px) grayscale(0.35);
}

.job-bids-modal-card:not(.is-selected):not(.is-accepted):not(.is-rejected) .job-bids-modal-actions {
  display: none;
}

.job-bids-modal-card.is-selected .job-bids-modal-actions,
.job-bids-modal-card.is-accepted .job-bids-modal-actions,
.job-bids-modal-card.is-rejected .job-bids-modal-actions {
  display: flex;
}

@media (max-width: 860px) {
  .job-giver-main {
    padding: 0;
  }

  .job-owner-posted-card {
    padding: 16px;
    border-radius: 12px;
  }

  .job-owner-posted-code {
    position: static;
    margin-bottom: 8px;
    text-align: right;
  }

  .job-owner-posted-card .job-owner-card-head {
    padding-right: 0;
  }

  .job-owner-posted-card .job-owner-card-head h3 {
    margin-top: 14px;
    font-size: 20px;
  }

  .job-owner-posted-card .job-owner-card-head > strong {
    font-size: 18px;
  }

  .job-owner-posted-card .job-card-meta,
  .job-owner-posted-card .job-card-actions,
  .job-owner-posted-detail-grid,
  .job-owner-posted-tip {
    grid-template-columns: 1fr;
  }

  .job-owner-posted-detail-grid {
    gap: 0;
  }

  .job-owner-posted-detail-grid span {
    padding: 11px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "icon label value";
  }

  .job-owner-posted-detail-grid i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 12px;
  }

  .job-owner-posted-detail-grid b {
    text-align: right;
  }

  .job-owner-posted-tip {
    text-align: center;
    justify-items: center;
  }

  .job-bids-modal-shell {
    padding: 0;
  }

  .job-bids-modal-panel {
    width: 100vw;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .job-bids-modal-hero,
  .job-bids-modal-summary,
  .job-bids-modal-toolbar,
  .job-bids-modal-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .job-bids-modal-header h2 {
    font-size: 22px;
  }
}

/* Mobile hiring review modal */
.job-bids-modal-mobile-actions {
  display: none;
}

@media (max-width: 640px) {
  .job-bids-modal-shell {
    align-items: flex-end;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.58);
    overflow: hidden;
  }

  .job-bids-modal-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto;
    min-height: 92dvh;
    max-height: 94dvh;
    border-radius: 28px 28px 0 0;
    border: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -24px 60px rgba(15, 23, 42, 0.26);
  }

  .job-bids-modal-panel::before {
    content: "";
    width: 54px;
    height: 5px;
    margin: 10px auto 2px;
    border-radius: 999px;
    background: #d7d7e4;
    flex: 0 0 auto;
  }

  .job-bids-modal-hero {
    padding: 14px 18px 8px;
    background: #fff;
    color: #19133a;
  }

  .job-bids-modal-header {
    gap: 6px;
  }

  .job-bids-modal-kicker {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: #ff0040;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .job-bids-modal-header h2 {
    color: #19133a;
    font-size: 20px;
    line-height: 1.12;
  }

  .job-bids-modal-header p {
    max-width: 92%;
    color: #5e6686;
    font-size: 11px;
    line-height: 1.55;
  }

  .job-bids-modal-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: #f5f5f8;
    color: #575b6d;
  }

  .job-bids-modal-summary {
    padding: 8px 18px 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .job-bids-modal-summary-card {
    min-height: 58px;
    padding: 10px 9px;
    border-radius: 10px;
    box-shadow: none;
  }

  .job-bids-modal-summary-card span {
    font-size: 8px;
    color: #ff0040;
  }

  .job-bids-modal-summary-card strong {
    font-size: 10px;
    line-height: 1.25;
  }

  .job-bids-modal-toolbar {
    padding: 4px 18px 8px;
  }

  .job-bids-modal-toolbar-copy strong {
    font-size: 15px;
  }

  .job-bids-modal-toolbar-copy span {
    font-size: 10px;
  }

  .job-bids-modal-content {
    flex: 1 1 auto;
    padding: 0 18px 88px;
    overflow-y: auto;
  }

  .job-bids-modal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .job-bids-modal-card {
    padding: 12px;
    border-radius: 14px;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  }

  .job-bids-modal-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    align-items: start;
    gap: 10px;
  }

  .job-bids-modal-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
  }

  .job-bids-modal-head strong {
    font-size: 13px;
  }

  .job-bids-modal-head span {
    font-size: 10px;
  }

  .job-bids-modal-price-block {
    min-width: 0;
    width: 82px;
    padding: 9px 7px;
    border-radius: 10px;
    justify-items: center;
    background: #fbfbff;
  }

  .job-bids-modal-price-block small {
    color: #787e98;
    font-size: 8px;
    text-align: center;
  }

  .job-bids-modal-price-block strong {
    font-size: 13px;
  }

  .job-bidder-status {
    padding: 0;
    background: transparent !important;
    color: #ff0040 !important;
    font-size: 9px;
  }

  .job-bids-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .job-bids-modal-meta-card {
    padding: 7px 8px;
    border-radius: 8px;
  }

  .job-bids-modal-meta-card small {
    display: none;
  }

  .job-bids-modal-meta-card span {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .job-bids-modal-note-block {
    gap: 0;
  }

  .job-bids-modal-note-label {
    display: none;
  }

  .job-bids-modal-note {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #626a86;
    font-size: 10px;
    line-height: 1.45;
  }

  .job-bids-modal-actions {
    display: none !important;
  }

  .job-bids-modal-card.is-selected {
    transform: translateY(-5px);
    border-color: rgba(36, 16, 82, 0.32);
  }

  .job-bids-modal-card.is-dimmed {
    opacity: 0.35;
    filter: blur(1px);
  }

  .job-bids-modal-mobile-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1.05fr 1fr;
    gap: 8px;
    padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  .job-bids-modal-mobile-actions button {
    min-width: 0;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 10px;
    gap: 6px;
  }

  .job-bids-modal-mobile-actions .btn-primary {
    background: #241052;
  }

  .job-bids-modal-mobile-actions .is-danger {
    color: #ff0040;
    border-color: rgba(255, 0, 64, 0.16);
    background: #fff;
  }
}

/* Final bid modal sizing and per-card actions */
.job-bids-modal-panel {
  width: min(1040px, calc(100vw - 48px));
  max-height: min(91vh, 820px);
  border-radius: 14px;
}

.job-bids-modal-hero {
  min-height: 112px;
  padding: 24px;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #8b143c 0%, #e40f49 56%, #ff315d 100%);
}

.job-bids-modal-kicker {
  min-height: 24px;
  padding: 0 10px;
  font-size: 10px;
}

.job-bids-modal-header h2 {
  font-size: 22px;
}

.job-bids-modal-header p {
  font-size: 12px;
  line-height: 1.5;
}

.job-bids-modal-summary {
  padding: 22px 22px 0;
}

.job-bids-modal-summary-card {
  min-height: 58px;
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.job-bids-modal-summary-card > i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(113, 67, 255, 0.1);
  color: #6b38ff;
  font-size: 13px;
}

.job-bids-modal-summary-card:first-child > i {
  background: rgba(255, 0, 64, 0.08);
  color: #ff0040;
}

.job-bids-modal-summary-card > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.job-bids-modal-summary-card span {
  font-size: 10px;
}

.job-bids-modal-summary-card strong {
  font-size: 13px;
}

.job-bids-modal-toolbar {
  padding: 18px 22px 0;
}

.job-bids-modal-toolbar-copy strong {
  font-size: 16px;
}

.job-bids-modal-toolbar-copy span {
  font-size: 12px;
}

.job-bids-modal-content {
  padding: 14px 22px 22px;
}

.job-bids-modal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.job-bids-modal-card {
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  cursor: default;
}

.job-bids-modal-card.is-dimmed,
.job-bids-modal-card.is-selected {
  opacity: 1;
  filter: none;
  transform: none;
}

.job-bids-modal-card-head {
  gap: 10px;
}

.job-bids-modal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.job-bids-modal-head strong {
  font-size: 15px;
}

.job-bids-modal-head span {
  font-size: 11px;
}

.job-bids-modal-price-block {
  min-width: 78px;
  padding: 10px 8px;
  border-radius: 10px;
  justify-items: center;
}

.job-bids-modal-price-block small {
  font-size: 8px;
  text-align: center;
}

.job-bids-modal-price-block strong {
  font-size: 14px;
}

.job-bids-modal-price-block .job-bidder-status {
  padding: 0;
  background: transparent;
  color: #ff0040;
  font-size: 9px;
}

.job-bids-modal-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.job-bids-modal-meta-card {
  padding: 8px 9px;
  border-radius: 8px;
}

.job-bids-modal-meta-card small {
  display: none;
}

.job-bids-modal-meta-card span {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-bids-modal-note-label {
  display: none;
}

.job-bids-modal-note {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
}

.job-bids-modal-card .job-bids-modal-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
}

.job-bids-modal-card .job-bids-modal-actions > * {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.job-bids-modal-card .job-bids-modal-actions .btn-primary {
  background: #241052;
}

.job-bids-modal-card .job-bids-modal-actions .is-danger {
  color: #ff0040;
  border-color: rgba(255, 0, 64, 0.18);
  background: #fff;
}

.job-bids-modal-mobile-actions {
  display: none !important;
}

@media (max-width: 860px) {
  .job-bids-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .job-bids-modal-panel {
    width: 100vw;
    min-height: 92dvh;
    max-height: 94dvh;
    border-radius: 28px 28px 0 0;
  }

  .job-bids-modal-hero {
    min-height: auto;
    padding: 14px 18px 8px;
    background: #fff;
    color: #19133a;
  }

  .job-bids-modal-kicker {
    padding: 0;
    background: transparent;
    color: #ff0040;
  }

  .job-bids-modal-header h2 {
    color: #19133a;
    font-size: 20px;
  }

  .job-bids-modal-header p {
    color: #5e6686;
    font-size: 11px;
  }

  .job-bids-modal-summary,
  .job-bids-modal-toolbar,
  .job-bids-modal-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .job-bids-modal-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .job-bids-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .job-bids-modal-content {
    padding-bottom: 18px;
  }

  .job-bids-modal-card {
    padding: 12px;
  }

  .job-bids-modal-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .job-bids-modal-card .job-bids-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }
}

/* Final mobile view-bids bottom sheet polish */
@media (max-width: 640px) {
  .job-bids-modal-shell.is-visible {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.58);
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-panel {
    width: 100vw;
    min-height: auto;
    height: min(92dvh, 760px);
    max-height: 92dvh;
    margin: auto 0 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 26px 26px 0 0 !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(0) !important;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-panel,
  .job-bids-modal-shell.is-visible .job-bids-modal-panel * {
    box-sizing: border-box;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-panel::before {
    content: "";
    width: 46px;
    height: 4px;
    margin: 9px auto 4px;
    border-radius: 999px;
    background: #d7d8e4;
    flex: 0 0 auto;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-hero {
    flex: 0 0 auto;
    min-height: auto;
    padding: 8px 14px 6px;
    background: #ffffff;
    color: #171134;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-header {
    gap: 4px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-kicker {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: #ff0040;
    font-size: 9px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-header h2 {
    color: #171134;
    font-size: 18px;
    line-height: 1.1;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-header p {
    max-width: calc(100vw - 68px);
    color: #5d6481;
    font-size: 10px;
    line-height: 1.45;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-close {
    width: 30px;
    height: 30px;
    border: 0;
    background: #f4f4f7;
    color: #5c6070;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary {
    flex: 0 0 auto;
    width: 100%;
    padding: 8px 14px 8px;
    display: flex;
    gap: 7px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary-card {
    min-width: 0;
    width: 0;
    flex: 1 1 0;
    min-height: 52px;
    padding: 8px 7px;
    border-radius: 9px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary-card > i {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 10px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary-card span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 7px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary-card strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
    line-height: 1.2;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-toolbar {
    flex: 0 0 auto;
    width: 100%;
    padding: 2px 14px 7px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-toolbar-copy {
    gap: 2px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-toolbar-copy strong {
    font-size: 14px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-toolbar-copy span {
    font-size: 9px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-content {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 0 14px 12px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card,
  .job-bids-modal-shell.is-visible .job-bids-modal-card.is-accepted,
  .job-bids-modal-shell.is-visible .job-bids-modal-card.is-rejected {
    width: 100%;
    max-width: 100%;
    padding: 9px;
    border-radius: 12px;
    gap: 7px;
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: 8px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-identity {
    gap: 9px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-avatar {
    width: 38px;
    height: 38px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-head strong {
    font-size: 12px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-head span {
    font-size: 9px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-price-block {
    width: 70px;
    min-width: 70px;
    padding: 7px 6px;
    border-radius: 9px;
    background: #fbfbfe;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-price-block small {
    font-size: 7px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-price-block strong {
    font-size: 12px;
  }

  .job-bids-modal-shell.is-visible .job-bidder-status {
    font-size: 8px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-meta-card {
    padding: 6px 7px;
    border-radius: 7px;
    background: #ffffff;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-meta-card span {
    font-size: 8px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-note {
    min-height: 18px;
    font-size: 9px;
    line-height: 1.35;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card .job-bids-modal-actions {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card .job-bids-modal-actions > * {
    min-width: 0;
    width: 0;
    max-width: 100%;
    flex: 1 1 0;
    min-height: 28px;
    padding: 0 5px;
    border-radius: 8px;
    font-size: 8px;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card .job-bids-modal-actions > * span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Compact mobile bid review sheet */
@media (max-width: 640px) {
  .job-bids-modal-shell.is-visible .job-bids-modal-panel {
    height: min(88dvh, 680px);
    max-height: 88dvh;
    border-radius: 18px 18px 0 0 !important;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-panel::before {
    margin: 5px auto 2px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-hero {
    padding: 6px 8px 4px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-header h2 {
    font-size: 18px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-header p {
    max-width: calc(100vw - 56px);
    font-size: 10px;
    line-height: 1.35;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-close {
    width: 30px;
    height: 30px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary {
    padding: 6px 8px;
    gap: 6px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary-card {
    min-height: 44px;
    padding: 7px 6px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 5px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-summary-card > i {
    width: 22px;
    height: 22px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-toolbar {
    padding: 2px 8px 6px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-content {
    padding: 0 8px 8px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card,
  .job-bids-modal-shell.is-visible .job-bids-modal-card.is-accepted,
  .job-bids-modal-shell.is-visible .job-bids-modal-card.is-rejected {
    min-height: 0 !important;
    padding: 10px !important;
    gap: 8px !important;
    display: grid !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: start !important;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card-head {
    grid-template-columns: minmax(0, 1fr) 72px;
    align-items: start;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-meta-grid {
    gap: 6px;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-meta-card {
    min-height: 0 !important;
    height: 34px !important;
    padding: 5px 6px !important;
    align-content: center !important;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-note-block {
    gap: 0;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-note {
    min-height: 0 !important;
    max-height: 34px;
    padding: 0 !important;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.3;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card .job-bids-modal-actions {
    gap: 7px !important;
    margin-top: 2px !important;
  }

  .job-bids-modal-shell.is-visible .job-bids-modal-card .job-bids-modal-actions > * {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
  }
}

body.marketplace-page-body #site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.marketplace-page-body .market-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 24px;
}

body.marketplace-page-body .market-sidebar {
  left: 0;
  top: 72px;
  min-height: calc(100vh - 72px);
}

body.marketplace-page-body .market-main {
  padding-right: 24px;
}

.market-add-product-card {
  width: min(920px, 100%);
  max-height: min(88vh, 860px);
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: start;
  gap: 18px 22px;
  padding: 28px;
  border-radius: 22px;
}

.market-add-product-card .market-modal-title,
.market-add-product-card .market-image-field {
  grid-column: 1;
}

.market-add-product-card .market-add-form-grid,
.market-add-product-card > label:not(.market-image-field),
.market-add-product-card > button[type="submit"] {
  grid-column: 2;
}

.market-modal-title span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f7ff;
  color: #0284c7;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-modal-title h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.market-modal-title p {
  max-width: 36rem;
  margin-top: 8px;
  line-height: 1.5;
}

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

.market-add-form-grid label:nth-child(3),
.market-add-form-grid label:nth-child(4) {
  grid-column: auto;
}

.market-image-field {
  gap: 10px;
}

.market-image-dropzone {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 14%, rgba(14, 165, 233, 0.24), transparent 28%),
    linear-gradient(180deg, #f8fdff 0%, #eaf8ff 56%, #dff4ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 38px rgba(2, 132, 199, 0.12);
  cursor: pointer;
}

.market-image-dropzone input {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  cursor: pointer;
}

.market-wave-layer {
  position: absolute;
  inset: auto -12% 0;
  height: 46%;
  pointer-events: none;
}

.market-wave-layer span {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -22%;
  height: 70%;
  border-radius: 48% 52% 0 0;
  background: rgba(14, 165, 233, 0.15);
  transform: rotate(-2deg);
}

.market-wave-layer span:nth-child(2) {
  bottom: -32%;
  background: rgba(56, 189, 248, 0.22);
  transform: rotate(3deg);
}

.market-wave-layer span:nth-child(3) {
  bottom: -44%;
  background: rgba(2, 132, 199, 0.18);
  transform: rotate(-4deg);
}

.market-image-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #174461;
  pointer-events: none;
}

.market-image-placeholder i {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #0284c7;
  font-size: 22px;
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.18);
}

.market-image-placeholder strong {
  font-size: 17px;
  color: #0f172a;
}

.market-image-placeholder small {
  max-width: 230px;
  color: #54708a;
  font-size: 12px;
  line-height: 1.45;
}

.market-image-preview {
  position: absolute;
  inset: 10px;
  z-index: 3;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.market-image-preview[hidden] {
  display: none;
}

.market-image-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  body.marketplace-page-body #site-header {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 1200;
  }

  body.marketplace-page-body #site-header > header {
    display: block !important;
  }

  body.marketplace-page-body #site-header nav.header-center-nav,
  body.marketplace-page-body #site-header > nav,
  body.marketplace-page-body #site-header > .mobile-nav-overlay,
  body.marketplace-page-body #site-header > .mobile-search-overlay {
    display: none !important;
  }

  body.marketplace-page-body .mobile-bottom-nav-shell {
    display: block !important;
  }

  body.marketplace-page-body .market-main {
    padding-right: 10px;
  }

  .market-add-product-card {
    width: 100%;
    max-height: 90dvh;
    display: grid;
    grid-template-columns: 1fr;
    padding: 22px 14px 18px;
    border-radius: 20px 20px 0 0;
  }

  .market-add-product-card .market-modal-title,
  .market-add-product-card .market-image-field,
  .market-add-product-card .market-add-form-grid,
  .market-add-product-card > label:not(.market-image-field),
  .market-add-product-card > button[type="submit"] {
    grid-column: 1;
  }

  .market-modal-title h2 {
    font-size: 20px;
  }

  .market-image-dropzone {
    min-height: 210px;
    border-radius: 18px;
  }

  .market-add-form-grid {
    grid-template-columns: 1fr;
  }

}

/* Marketplace account pages */
.market-account-page {
  background: #f6f8fb;
}

.market-account-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 96px;
}

.market-account-hero {
  min-height: 190px;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(255, 0, 64, 0.94), rgba(17, 24, 39, 0.92)),
    url('../images/sections/findme.avif') center/cover;
  color: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.market-account-hero span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-account-hero h1 {
  margin: 8px 0;
  font-size: 36px;
  line-height: 1.05;
}

.market-account-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.market-account-hero a,
.market-account-hero button,
.market-account-empty a {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #111827;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.market-account-summary,
.shop-metric-grid,
.shop-dashboard-grid {
  display: grid;
  gap: 16px;
}

.market-account-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.market-account-summary article,
.shop-metric-grid article,
.market-account-card,
.market-account-empty {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.market-account-summary article,
.shop-metric-grid article {
  padding: 18px;
}

.market-account-summary span,
.shop-metric-grid span,
.market-order-table-row span,
.shop-save-row span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.market-account-summary strong,
.shop-metric-grid strong {
  display: block;
  margin-top: 8px;
  color: #101828;
  font-size: 28px;
  line-height: 1;
}

.market-account-card {
  padding: 18px;
}

.market-account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.market-account-card-head h2 {
  margin: 0;
  font-size: 18px;
}

.market-account-card-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.market-account-grid {
  padding: 0;
}

.market-order-table {
  display: grid;
  gap: 10px;
}

.market-order-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) minmax(120px, 0.8fr) minmax(140px, 1fr) minmax(90px, 0.6fr) auto 74px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
}

.market-order-table-row strong {
  color: #101828;
}

.market-order-table-row small {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
}

.market-order-table-row em {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: capitalize;
}

.market-order-table-row em.is-accepted {
  background: #ecfdf3;
  color: #027a48;
}

.market-order-table-row em.is-completed {
  background: #eef4ff;
  color: #3538cd;
}

.market-order-table-row em.is-rejected {
  background: #fef3f2;
  color: #b42318;
}

.market-order-table-row img {
  width: 74px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.market-account-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  justify-items: center;
  padding: 36px;
  text-align: center;
}

.market-account-empty i {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0040;
  font-size: 26px;
}

.market-account-empty h1 {
  margin: 12px 0 0;
  font-size: 28px;
}

.market-account-empty p {
  max-width: 420px;
  margin: 0;
  color: #667085;
}

.shop-hero {
  background:
    linear-gradient(135deg, rgba(13, 18, 32, 0.94), rgba(255, 0, 64, 0.86)),
    url('../images/sections/addie.avif') center/cover;
}

.shop-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.shop-metric-grid article {
  display: grid;
  gap: 7px;
}

.shop-metric-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0040;
}

.shop-metric-grid small {
  color: #667085;
  font-size: 12px;
}

.shop-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.shop-bar-chart {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding-top: 12px;
}

.shop-bar-chart p {
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  color: #667085;
}

.shop-bar-item {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 8px;
}

.shop-bar-item span {
  width: 100%;
  max-width: 34px;
  align-self: end;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #ff0040, #111827);
}

.shop-bar-item small {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.market-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.market-account-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

.market-account-tabs button.is-active {
  border-color: #ff0040;
  background: #ff0040;
  color: #fff;
}

.shop-save-list {
  display: grid;
  gap: 10px;
}

.shop-save-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(160px, 0.7fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}

.shop-save-row img {
  width: 70px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.shop-save-row strong {
  display: block;
  color: #101828;
}

.shop-save-row small {
  color: #667085;
}

.shop-save-row em {
  color: #ff0040;
  font-style: normal;
  font-weight: 950;
}

@media (max-width: 900px) {
  .market-account-hero {
    min-height: 220px;
    align-items: flex-start;
    flex-direction: column;
  }

  .market-account-hero h1 {
    font-size: 30px;
  }

  .market-account-summary,
  .shop-metric-grid,
  .shop-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .market-order-table-row,
  .shop-save-row {
    grid-template-columns: 1fr 74px;
  }

  .market-order-table-row > *,
  .shop-save-row > * {
    grid-column: 1;
  }

  .market-order-table-row img,
  .shop-save-row img {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
  }
}

/* My Shop dashboard redesign */
.marketplace-page[data-my-shop-page] {
  max-width: none;
  min-height: calc(100vh - 72px);
  background: #f7f8fc;
}

.shop-app-shell {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

.shop-side-panel {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  padding: 32px 14px 22px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.shop-side-brand {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.shop-side-brand > span,
.shop-support-card i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0050;
}

.shop-side-brand strong,
.shop-side-brand a,
.shop-side-nav button,
.shop-side-nav a {
  letter-spacing: 0;
}

.shop-side-brand strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-side-brand a {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5b6477;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.shop-side-nav {
  display: grid;
  gap: 7px;
}

.shop-side-nav button,
.shop-side-nav a {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #3f4960;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.shop-side-nav button.is-active,
.shop-side-nav a:hover,
.shop-side-nav button:hover {
  background: #fff0f4;
  color: #e60046;
}

.shop-side-nav i {
  width: 18px;
  text-align: center;
}

.shop-support-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  display: grid;
  gap: 8px;
}

.shop-support-card strong {
  color: #111827;
}

.shop-support-card small {
  color: #667085;
  line-height: 1.4;
}

.shop-support-card a {
  min-height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0050;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.shop-main-panel {
  min-width: 0;
  padding: 18px 24px 36px;
}

.shop-hero-card {
  min-height: 148px;
  padding: 26px 28px;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(110deg, rgba(30, 0, 42, 0.94), rgba(255, 0, 80, 0.92)),
    url('../images/sections/addie.avif') center/cover;
  color: #fff;
  box-shadow: 0 18px 44px rgba(255, 0, 80, 0.12);
}

.shop-hero-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-hero-card h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1;
}

.shop-hero-card p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.45;
}

.shop-hero-card button,
.shop-data-tools button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #101828;
  font-weight: 950;
  cursor: pointer;
}

.shop-stat-row {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shop-stat-row article,
.shop-chart-grid article,
.shop-data-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.shop-stat-row article {
  min-height: 100px;
  padding: 18px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
}

.shop-stat-row i {
  grid-row: 1 / span 3;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: #fff0f4;
  color: #ff0050;
}

.shop-stat-row article:nth-child(2) i { background: #f5e8ff; color: #a200ff; }
.shop-stat-row article:nth-child(4) i { background: #e8fff6; color: #00b875; }

.shop-stat-row span,
.shop-stat-row small,
.shop-chart-grid small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.shop-stat-row strong {
  color: #101828;
  font-size: 25px;
  line-height: 1;
}

.shop-stat-row b,
.shop-chart-grid b {
  color: #00b875;
}

.shop-stat-row b.is-down,
.shop-chart-grid b.is-down {
  color: #e60046;
}

.shop-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.shop-chart-grid article {
  padding: 18px 18px 12px;
}

.shop-chart-grid article > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shop-chart-grid h2 {
  margin: 0;
  color: #111827;
  font-size: 15px;
}

.shop-chart-grid button {
  border: 0;
  background: transparent;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.shop-chart-grid article > strong {
  display: block;
  margin-top: 10px;
  color: #111827;
  font-size: 20px;
}

.shop-line-chart svg {
  width: 100%;
  height: 160px;
  display: block;
}

.shop-chart-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  color: #667085;
  font-size: 10px;
  text-align: center;
}

.shop-data-card {
  overflow: hidden;
}

.shop-data-tabs {
  padding: 0 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 24px;
}

.shop-data-tabs button {
  min-height: 54px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #667085;
  font-weight: 950;
  cursor: pointer;
}

.shop-data-tabs button.is-active {
  border-bottom-color: #ff0050;
  color: #ff0050;
}

.shop-data-tools {
  margin: -45px 18px 12px auto;
  width: min(520px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.shop-data-tools label {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-data-tools input,
.shop-data-tools select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
}

.shop-data-tools button,
.shop-data-tools select {
  min-height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
}

.shop-listing-table {
  display: grid;
}

.shop-listing-head,
.shop-listing-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) 110px 95px 80px 80px 80px 110px 96px;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
}

.shop-listing-head {
  min-height: 42px;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
}

.shop-listing-row {
  min-height: 66px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #344054;
  font-size: 12px;
}

.shop-listing-product {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.shop-listing-product img {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
}

.shop-listing-product strong {
  display: block;
  overflow: hidden;
  color: #101828;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-listing-product span {
  color: #667085;
}

.shop-listing-row b {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8fff6;
  color: #008f5a;
  font-size: 11px;
}

.shop-listing-row b.is-sold {
  background: #fff4d8;
  color: #b77900;
}

.shop-listing-actions {
  display: flex;
  gap: 8px;
}

.shop-listing-actions button,
.shop-table-foot button,
.shop-order-card-row > button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #475467;
  cursor: pointer;
}

.shop-table-foot {
  min-height: 58px;
  padding: 0 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #667085;
  font-size: 12px;
}

.shop-table-foot div {
  display: flex;
  gap: 8px;
}

.shop-table-foot button.is-active {
  border-color: #ffe0e9;
  background: #fff0f4;
  color: #ff0050;
}

.shop-mobile-order-stats {
  display: none;
}

.shop-orders-list {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.shop-order-card-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(130px, 0.4fr) 34px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.shop-order-card-row > img {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
}

.shop-order-main small,
.shop-order-main span,
.shop-order-main em,
.shop-order-meta span,
.shop-order-meta small {
  display: block;
  color: #667085;
  font-size: 11px;
  font-style: normal;
}

.shop-order-main strong {
  display: block;
  margin: 4px 0;
  color: #101828;
}

.shop-order-meta {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.shop-order-meta b {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff4d8;
  color: #b77900;
  font-size: 11px;
}

.shop-order-meta b.is-accepted,
.shop-order-meta b.is-completed,
.shop-order-meta b.is-shipped {
  background: #e8fff6;
  color: #008f5a;
}

.shop-order-meta b.is-cancelled,
.shop-order-meta b.is-rejected {
  background: #fff0f4;
  color: #e60046;
}

@media (max-width: 900px) {
  body.mobile-market-no-header #site-header {
    display: block !important;
    position: static !important;
    height: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.mobile-market-no-header #site-header > header,
  body.mobile-market-no-header #site-header > nav,
  body.mobile-market-no-header #site-header > .mobile-nav-overlay,
  body.mobile-market-no-header #site-header > .mobile-search-overlay {
    display: none !important;
  }

  body.mobile-market-no-header .mobile-bottom-nav-shell {
    display: block !important;
  }

  body.mobile-market-no-header {
    padding-top: 0 !important;
  }

  body.mobile-market-no-header .marketplace-page {
    min-height: 100dvh;
  }

  .marketplace-page[data-my-shop-page] {
    background: #f7f8fc;
  }

  .shop-app-shell {
    display: block;
    padding: 8px 8px 96px;
  }

  .shop-side-panel {
    display: none;
  }

  .shop-main-panel {
    padding: 0;
  }

  .shop-hero-card {
    min-height: 136px;
    padding: 18px;
    border-radius: 8px;
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-hero-card h1 {
    font-size: 23px;
  }

  .shop-hero-card p {
    font-size: 12px;
  }

  .shop-hero-card button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .shop-stat-row,
  .shop-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0;
  }

  .shop-stat-row article {
    min-height: 88px;
    padding: 12px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .shop-stat-row i {
    width: 30px;
    height: 30px;
  }

  .shop-stat-row strong {
    font-size: 22px;
  }

  .shop-chart-grid article {
    padding: 12px;
  }

  .shop-chart-grid h2 {
    font-size: 12px;
  }

  .shop-chart-grid article > strong {
    font-size: 16px;
  }

  .shop-line-chart svg {
    height: 96px;
  }

  .shop-data-card {
    border-radius: 8px;
  }

  .shop-data-tabs {
    padding: 0 10px;
    justify-content: space-around;
    gap: 0;
  }

  .shop-data-tabs button {
    min-height: 44px;
    font-size: 11px;
  }

  .shop-data-tools {
    margin: 10px;
    width: auto;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .shop-data-tools button,
  .shop-data-tools select {
    max-width: 86px;
    padding: 0 8px;
    font-size: 11px;
  }

  .shop-listing-head {
    display: none;
  }

  .shop-listing-table {
    gap: 7px;
    padding: 0 8px 10px;
  }

  .shop-listing-row {
    min-height: 76px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9px;
    grid-template-columns: minmax(0, 1fr) 46px 46px 46px 72px;
    gap: 8px;
    font-size: 10px;
  }

  .shop-listing-row > strong:first-of-type,
  .shop-listing-row > b {
    display: none;
  }

  .shop-listing-product {
    grid-column: 1 / -1;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .shop-listing-product img {
    width: 54px;
    height: 54px;
  }

  .shop-listing-row > span::before {
    display: block;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
  }

  .shop-listing-row > span:nth-of-type(1)::before { content: 'Views'; }
  .shop-listing-row > span:nth-of-type(2)::before { content: 'Saves'; }
  .shop-listing-row > span:nth-of-type(3)::before { content: 'Orders'; }

  .shop-listing-actions {
    justify-content: flex-end;
  }

  .shop-table-foot {
    min-height: 48px;
    padding: 0 8px;
  }

  .shop-table-foot span {
    display: none;
  }

  .shop-mobile-order-stats {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .shop-mobile-order-stats article {
    min-height: 82px;
    padding: 9px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9px;
    background: #fff;
  }

  .shop-mobile-order-stats i {
    color: #b000ff;
  }

  .shop-mobile-order-stats span,
  .shop-mobile-order-stats small {
    display: block;
    color: #667085;
    font-size: 9px;
  }

  .shop-mobile-order-stats strong {
    display: block;
    margin: 5px 0;
    color: #101828;
    font-size: 18px;
  }

  .shop-orders-list {
    padding: 8px;
  }

  .shop-order-card-row {
    grid-template-columns: 74px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 9px;
    background: #fff;
  }

  .shop-order-meta {
    grid-column: 2;
    justify-items: start;
  }

  .shop-order-card-row > button {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 28px;
    height: 28px;
    border: 0;
  }

  .shop-save-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .shop-save-row img {
    width: 58px;
    height: 58px;
  }
}

/* Final post-job beginner UX override: keep this at the end of the stylesheet. */
.job-post-page {
  --post-job-accent: #0f766e;
  --post-job-accent-dark: #115e59;
  --post-job-accent-soft: #ccfbf1;
  --post-job-warning: #f97316;
  --post-job-text: #111827;
  --post-job-muted: #667085;
  --post-job-line: #d8dee8;
  --post-job-surface: #ffffff;
  --post-job-page: #f4f7fb;
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(204, 251, 241, 0.58) 0%, rgba(244, 247, 251, 0.96) 260px), var(--post-job-page) !important;
  color: var(--post-job-text);
}

.job-post-page .job-post-create-shell,
.job-post-page .job-post-composer-shell,
.job-post-page .job-post-form,
.job-post-page .job-post-form-section,
.job-post-page .job-form-grid,
.job-post-page .job-form-field,
.job-post-page .job-combobox {
  overflow: visible !important;
}

.job-post-page .job-post-topbar,
.job-post-page .job-post-form,
.job-post-page .job-post-guide,
.job-post-page .job-post-form-section,
.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  border-color: var(--post-job-line) !important;
  background: var(--post-job-surface) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.job-post-page .job-post-topbar-kicker,
.job-post-page .job-post-section-icon,
.job-post-page .job-form-field-icon,
.job-post-page .job-combobox-leading,
.job-post-page .job-combobox-toggle {
  color: var(--post-job-accent) !important;
}

.job-post-page .job-post-form-hero {
  border-color: rgba(15, 118, 110, 0.22) !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%) !important;
}

.job-post-page .job-post-form-hero-icon,
.job-post-page .job-post-section-icon {
  background: var(--post-job-accent-soft) !important;
  color: var(--post-job-accent-dark) !important;
  border-color: rgba(15, 118, 110, 0.18) !important;
}

.job-post-page .job-post-form-section,
.job-post-page .job-form-field {
  position: relative;
  z-index: 1;
}

.job-post-page .job-post-form-section:has(.job-combobox.is-open),
.job-post-page .job-form-field:has(.job-combobox.is-open) {
  z-index: 5000 !important;
}

.job-post-page .job-post-section-head strong {
  color: var(--post-job-text);
  font-size: 18px;
  line-height: 1.15;
}

.job-post-page .job-post-form-section:first-of-type .job-post-section-head,
.job-post-page .job-post-section-head {
  display: flex !important;
  align-items: flex-start !important;
}

.job-post-page .job-post-section-head::after {
  display: none !important;
}

.job-post-page .job-post-section-head span,
.job-post-page .job-post-section-head span:not(.job-post-section-icon),
.job-post-page .job-post-topbar-copy p,
.job-post-page .job-post-form-hero p,
.job-post-page .job-post-guide-head span,
.job-post-page .job-post-signed-in-card span {
  display: block !important;
  color: var(--post-job-muted) !important;
}

.job-post-page .job-form-field > span,
.job-post-page .job-auth-field > span {
  color: var(--post-job-text) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
}

.job-post-page .job-form-field > span::after,
.job-post-page .job-auth-field > span::after {
  color: var(--post-job-warning) !important;
}

.job-post-page .job-form-input-shell,
.job-post-page .job-form-textarea-shell,
.job-post-page .job-combobox-shell {
  min-height: 54px !important;
  border-color: var(--post-job-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

.job-post-page .job-form-input-shell:focus-within,
.job-post-page .job-form-textarea-shell:focus-within,
.job-post-page .job-combobox:focus-within .job-combobox-shell,
.job-post-page .job-combobox.is-open .job-combobox-shell {
  border-color: var(--post-job-accent) !important;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12) !important;
}

.job-post-page .job-form-input-shell input,
.job-post-page .job-form-textarea-shell textarea,
.job-post-page .job-combobox-input {
  color: var(--post-job-text) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.job-post-page .job-form-input-shell input::placeholder,
.job-post-page .job-form-textarea-shell textarea::placeholder,
.job-post-page .job-combobox-input::placeholder {
  color: #98a2b3 !important;
}

.job-post-page .job-form-textarea-shell textarea {
  min-height: 150px !important;
  padding-bottom: 34px !important;
  resize: vertical !important;
}

.job-post-page .job-form-textarea-shell.is-address textarea {
  min-height: 84px !important;
  height: auto !important;
}

.job-post-page .job-combobox {
  position: relative !important;
  z-index: 2 !important;
}

.job-post-page .job-combobox.is-open {
  z-index: 10000 !important;
}

.job-post-page .job-combobox-menu {
  top: calc(100% + 8px) !important;
  z-index: 10020 !important;
  max-height: min(360px, 52dvh) !important;
  overflow-y: auto !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.24) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.job-post-page .job-combobox-option {
  min-height: 56px !important;
  border-radius: 10px !important;
}

.job-post-page .job-combobox-option:hover,
.job-post-page .job-combobox-option:focus-visible {
  background: #ecfdf5 !important;
}

.job-post-page .job-combobox-option-icon,
.job-post-page .job-post-guide-list strong {
  background: var(--post-job-accent-soft) !important;
  color: var(--post-job-accent-dark) !important;
}

.job-post-page .job-post-auth-compact,
.job-post-page .job-post-signed-in-card {
  border-left: 4px solid var(--post-job-accent) !important;
}

.job-post-page .job-post-form .btn-primary,
.job-post-page .job-post-action-primary {
  min-height: 54px !important;
  border-radius: 12px !important;
  background: var(--post-job-accent) !important;
  border-color: var(--post-job-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.2) !important;
}

.job-post-page .job-post-form .btn-primary:hover,
.job-post-page .job-post-form .btn-primary:focus-visible,
.job-post-page .job-post-action-primary:hover,
.job-post-page .job-post-action-primary:focus-visible {
  background: var(--post-job-accent-dark) !important;
  border-color: var(--post-job-accent-dark) !important;
}

@media (max-width: 768px) {
  .job-post-page .job-post-create-shell {
    width: calc(100% - 18px) !important;
  }

  .job-post-page .job-post-topbar {
    width: 100% !important;
    margin: 0 0 12px !important;
    border-radius: 12px !important;
  }

  .job-post-page .job-post-topbar-actions {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .job-post-page .job-post-topbar-link {
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  .job-post-page .job-post-form {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .job-post-page .job-post-create-shell,
  .job-post-page .job-post-composer-shell,
  .job-post-page .job-post-form,
  .job-post-page .job-post-form-hero,
  .job-post-page .job-post-form-section,
  .job-post-page .job-post-auth-compact,
  .job-post-page .job-post-signed-in-card,
  .job-post-page .job-form-grid,
  .job-post-page .job-form-field,
  .job-post-page .job-form-input-shell,
  .job-post-page .job-form-textarea-shell,
  .job-post-page .job-combobox,
  .job-post-page .job-combobox-shell {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .job-post-page .job-post-form-hero h1,
  .job-post-page .job-post-form-hero p,
  .job-post-page .job-post-section-head strong,
  .job-post-page .job-post-section-head span,
  .job-post-page .job-form-field > span {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .job-post-page .job-post-form-hero {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 14px !important;
  }

  .job-post-page .job-post-form-hero-icon {
    width: 44px !important;
    height: 44px !important;
  }

  .job-post-page .job-post-form-hero h1 {
    font-size: 21px !important;
  }

  .job-post-page .job-form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .job-post-page .job-form-input-shell,
  .job-post-page .job-form-textarea-shell,
  .job-post-page .job-combobox-shell {
    min-height: 52px !important;
    grid-template-columns: 38px minmax(0, 1fr) 36px !important;
  }

  .job-post-page .job-combobox-menu {
    max-height: min(300px, 46dvh) !important;
  }

  .job-post-page .job-post-form-actions {
    grid-template-columns: 1fr !important;
  }
}

.home-marketplace-section {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 34px 0 58px;
  background: #f5f7fb;
}

.home-marketplace-shell {
  width: auto;
  margin: 0 30px;
  display: grid;
  gap: 18px;
}

.home-marketplace-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.home-marketplace-head span,
.home-managed-panel-head span {
  color: #DC143C;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-marketplace-head h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 0.98;
  font-weight: 950;
}

.home-marketplace-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.home-marketplace-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-marketplace-actions a {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.home-marketplace-actions a:hover,
.home-marketplace-actions a:focus-visible {
  border-color: rgba(220, 20, 60, 0.28);
  color: #8f432c;
  transform: translateY(-1px);
}

.home-marketplace-actions span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.home-marketplace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.88fr);
  grid-template-areas:
    "products jobs"
    "products providers";
  gap: 14px;
  align-items: stretch;
}

.home-managed-panel {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.home-managed-products { grid-area: products; }
.home-managed-jobs { grid-area: jobs; }
.home-managed-providers { grid-area: providers; }

.home-managed-panel-head {
  min-height: 78px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.home-managed-panel-head h3 {
  margin: 3px 0 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
}

.home-managed-panel-head a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.home-managed-product-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-managed-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  display: grid;
  text-decoration: none;
}

.home-managed-product-card:hover,
.home-managed-product-card:focus-visible {
  border-color: rgba(220, 20, 60, 0.35);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
  transform: translateY(-2px);
}

.home-managed-product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  background: #e5e7eb;
}

.home-managed-product-card div {
  min-width: 0;
  padding: 11px;
  display: grid;
  gap: 5px;
}

.home-managed-product-card strong {
  color: #0f766e;
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
}

.home-managed-product-card h4 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.home-managed-product-card p,
.home-managed-product-card span,
.home-managed-job-row p,
.home-managed-provider-row p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.home-managed-product-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-managed-job-list,
.home-managed-provider-list {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.home-managed-job-row,
.home-managed-provider-row {
  min-width: 0;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.home-managed-job-row:hover,
.home-managed-provider-row:hover,
.home-managed-job-row:focus-visible,
.home-managed-provider-row:focus-visible {
  background: #f8fafc;
  border-color: rgba(220, 20, 60, 0.3);
}

.home-managed-job-row > span,
.home-managed-provider-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-managed-provider-avatar {
  border-radius: 999px;
  background: linear-gradient(135deg, #DC143C, #1f2937);
}

.home-managed-provider-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-managed-job-row div,
.home-managed-provider-row div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-managed-job-row strong,
.home-managed-provider-row strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.home-managed-job-row > i {
  color: #94a3b8;
  font-size: 12px;
}

.home-managed-provider-row small {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.home-managed-empty {
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 800;
}

.home-managed-skeleton {
  min-height: 128px;
  padding: 12px;
  border-radius: 8px;
  background: #f1f5f9;
  display: grid;
  gap: 9px;
  align-content: end;
}

.home-managed-skeleton span,
.home-managed-skeleton strong,
.home-managed-skeleton small {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
  background-size: 220% 100%;
  animation: marketProductSkeleton 1.1s linear infinite;
}

.home-managed-skeleton strong { width: 80%; }
.home-managed-skeleton small { width: 58%; }

.admin-homepage-manager {
  grid-column: 1 / -1;
}

.admin-homepage-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.admin-homepage-form .admin-form-actions {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .admin-homepage-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .home-marketplace-section {
    padding: 24px 0 44px;
  }

  .home-marketplace-head {
    align-items: start;
    flex-direction: column;
  }

  .home-marketplace-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "products"
      "jobs"
      "providers";
  }

  .home-managed-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-homepage-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-marketplace-shell {
    margin: 0 10px;
  }

  .home-marketplace-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-marketplace-actions a {
    min-width: 0;
    justify-content: center;
    padding: 0 8px;
    font-size: 11px;
  }

  .home-managed-product-grid {
    padding: 10px;
    gap: 8px;
  }

  .home-managed-panel-head {
    min-height: 70px;
    padding: 14px;
  }

  .home-managed-panel-head h3 {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .account-setup-modal {
    align-items: center;
  }

  .account-setup-modal-shell {
    width: min(360px, calc(100vw - 40px));
    max-height: 92dvh;
    margin: auto;
    border-radius: 14px;
  }

  .account-setup-modal-content,
  .account-setup-modal-content.is-role-choice {
    width: 100%;
    max-width: none;
    padding: 44px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .account-setup-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 22px;
  }

  .account-setup-role-stage,
  .account-setup-role-stage-modal {
    padding: 0;
  }

  .account-setup-role-copy {
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .account-setup-role-copy h2,
  .account-embed-mode .account-setup-role-copy h2 {
    font-size: 28px;
    line-height: 1.12;
    margin-bottom: 8px;
  }

  .account-setup-role-copy p,
  .account-embed-mode .account-setup-role-copy p {
    font-size: 14px;
    line-height: 1.45;
  }

  .account-setup-role-grid,
  .account-embed-mode .account-setup-role-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .account-setup-role-card,
  .account-embed-mode .account-setup-role-card {
    min-height: 0;
    padding: 14px;
    gap: 10px;
    border-radius: 8px;
  }

  .account-setup-role-card i,
  .account-embed-mode .account-setup-role-card i {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    font-size: 20px;
  }

  .account-setup-role-card strong,
  .account-embed-mode .account-setup-role-card strong {
    font-size: 18px;
    line-height: 1.2;
  }

  .account-setup-role-card span,
  .account-embed-mode .account-setup-role-card span {
    font-size: 13px;
    line-height: 1.4;
  }

  .pending-setup-overlay {
    align-items: center;
  }

  .pending-setup-panel {
    width: min(360px, calc(100vw - 40px));
    height: min(92dvh, 680px);
    max-height: 92dvh;
    margin: auto;
    border-radius: 14px;
  }

  .pending-setup-frame {
    height: 100%;
  }

  body.account-embed-mode {
    overflow: hidden;
  }

  .account-embed-mode .account-page,
  .account-embed-mode .account-setup-stage,
  .account-embed-mode .account-setup-shell {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }

  .account-embed-mode .account-setup-role-stage {
    min-height: 100dvh;
    display: grid;
    align-content: center;
    padding: 48px 14px 18px;
  }

  .provider-required-state {
    min-height: calc(100dvh - 72px);
    padding: 24px 12px;
  }

  .provider-required-card {
    gap: 10px;
    padding: 22px 16px;
    border-radius: 8px;
  }

  .provider-required-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .provider-required-card h1,
  .provider-required-card h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .provider-required-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .provider-required-action {
    width: 100%;
    min-height: 46px;
  }

  .job-bid-modal-shell .job-modal-panel.provider-required-modal,
  .job-posts-page .job-bid-modal-shell .job-modal-panel.provider-required-modal {
    width: 100%;
    max-height: 82dvh;
    min-height: 0;
    padding: 14px;
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
  }

  .provider-required-modal .provider-required-card {
    padding: 28px 16px 18px;
    box-shadow: none;
  }
}

@media (max-width: 380px) {
  .account-setup-role-copy h2,
  .account-embed-mode .account-setup-role-copy h2 {
    font-size: 24px;
  }

  .account-setup-role-card,
  .account-embed-mode .account-setup-role-card {
    padding: 12px;
  }

  .provider-required-card h1,
  .provider-required-card h2 {
    font-size: 22px;
  }
}

.account-setup-modal-content.is-role-choice {
  max-width: 980px;
  padding: 42px 44px 48px;
}

.account-role-choice-stage {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.42fr);
  gap: 46px;
  align-items: center;
  color: #15103f;
}

.account-role-choice-intro {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-content: center;
}

.account-role-choice-badge {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2e9ff;
  color: #7c00ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-role-choice-badge i {
  font-size: 11px;
}

.account-role-choice-intro h2 {
  margin: 0;
  color: #15103f;
  font-size: 31px;
  line-height: 1.18;
  font-weight: 950;
}

.account-role-choice-intro p {
  max-width: 250px;
  margin: 0;
  color: #7f7a9e;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
}

.account-role-choice-illustration {
  position: relative;
  width: 245px;
  max-width: 100%;
  aspect-ratio: 1.08;
  margin-top: 22px;
}

.account-role-orb {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 215px;
  height: 215px;
  border-radius: 999px;
  background: radial-gradient(circle at 36% 28%, rgba(153, 91, 255, 0.16), rgba(153, 91, 255, 0.08) 58%, rgba(153, 91, 255, 0));
}

.account-role-window {
  position: absolute;
  left: 34px;
  top: 36px;
  width: 168px;
  height: 146px;
  border: 2px solid rgba(124, 0, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 46px rgba(124, 0, 255, 0.12);
  overflow: hidden;
}

.account-role-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 20px;
  background: linear-gradient(90deg, #cda9ff, #a678ff);
}

.account-role-window > span {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 7px 0 0 6px;
  border-radius: 999px;
  background: #ffffff;
}

.account-role-window strong {
  position: absolute;
  left: 48px;
  top: 56px;
  width: 86px;
  height: 10px;
  border-radius: 999px;
  background: #ece7f9;
  box-shadow: 0 18px 0 #f2effa;
}

.account-role-window em {
  position: absolute;
  left: 16px;
  top: 72px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8a2cff, #6514dc);
}

.account-role-rating {
  position: absolute;
  right: 0;
  top: 112px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #9b54ff;
  box-shadow: 0 18px 38px rgba(85, 49, 138, 0.14);
}

.account-role-plane {
  position: absolute;
  right: 6px;
  top: 72px;
  color: #a875ff;
  font-size: 26px;
  transform: rotate(10deg);
}

.account-role-choice-main {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.account-role-choice-title {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 16px;
}

.account-role-choice-title span {
  height: 1px;
  background: #e5e2ee;
}

.account-role-choice-title strong {
  position: relative;
  color: #15103f;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-role-choice-title strong::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #7c00ff;
  transform: translateX(-50%);
}

.account-role-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.account-role-choice-card {
  width: 100%;
  min-width: 0;
  min-height: 486px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  padding: 30px 28px 24px;
  border: 1px solid #e7e4ef;
  border-radius: 8px;
  background: #ffffff;
  color: #15103f;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 20px 44px rgba(29, 17, 67, 0.04);
}

.account-role-choice-card.is-loading {
  pointer-events: none;
  opacity: 0.74;
}

.account-role-choice-card .account-role-icon {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 36px;
}

.account-role-choice-card.is-client .account-role-icon {
  background: #f0e4ff;
  color: #7c00ff;
}

.account-role-choice-card.is-provider .account-role-icon {
  background: #fff0ee;
  color: #ff5855;
}

.account-role-choice-card > strong {
  color: #15103f;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
}

.account-role-choice-card > small {
  min-height: 54px;
  max-width: 220px;
  color: #817b9e;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

.account-role-choice-card ul {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 10px 0 4px;
  padding: 18px 0 0;
  border-top: 1px solid #eeeaf5;
  list-style: none;
  text-align: left;
}

.account-role-choice-card li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #514b73;
  font-size: 13px;
  font-weight: 750;
}

.account-role-choice-card li i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
}

.account-role-choice-card.is-client li i {
  background: #f1e6ff;
  color: #7c00ff;
}

.account-role-choice-card.is-provider li i {
  background: #fff0ee;
  color: #ff5855;
}

.account-role-choice-cta {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: auto;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.account-role-choice-card.is-client .account-role-choice-cta {
  background: #7c00ff;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(124, 0, 255, 0.2);
}

.account-role-choice-card.is-provider .account-role-choice-cta {
  border: 1px solid #ff706d;
  background: #ffffff;
  color: #ff5855;
}

.account-role-choice-security {
  display: none;
}

.account-embed-mode .account-role-choice-stage {
  width: min(100%, 980px);
  margin: auto;
  padding: 34px;
}

@media (max-width: 760px) {
  .account-setup-modal-content.is-role-choice {
    padding: 28px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .account-role-choice-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-embed-mode .account-role-choice-stage {
    width: 100%;
    min-height: 100dvh;
    align-content: center;
    padding: 28px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
  }

  .account-role-choice-intro {
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .account-role-choice-intro h2 {
    font-size: 25px;
    line-height: 1.16;
  }

  .account-role-choice-intro p {
    max-width: 230px;
    font-size: 12px;
    line-height: 1.35;
  }

  .account-role-choice-badge {
    min-height: 24px;
    padding: 0 10px;
    font-size: 9px;
  }

  .account-role-choice-illustration,
  .account-role-choice-title {
    display: none;
  }

  .account-role-choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .account-role-choice-card {
    position: relative;
    min-height: 0;
    gap: 10px;
    padding: 18px 14px 14px;
    overflow: hidden;
  }

  .account-role-choice-card::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 22px;
    width: 40px;
    height: 40px;
    opacity: 0.28;
    background-image: radial-gradient(currentColor 1.2px, transparent 1.2px);
    background-size: 8px 8px;
  }

  .account-role-choice-card.is-client::after {
    color: #7c00ff;
  }

  .account-role-choice-card.is-provider::after {
    color: #ff5855;
  }

  .account-role-choice-card .account-role-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .account-role-choice-card > strong {
    font-size: 16px;
    line-height: 1.22;
  }

  .account-role-choice-card > small {
    min-height: 0;
    max-width: 210px;
    font-size: 11px;
    line-height: 1.35;
  }

  .account-role-choice-card ul {
    gap: 6px;
    margin: 4px 0 2px;
    padding-top: 10px;
  }

  .account-role-choice-card li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
    font-size: 10px;
  }

  .account-role-choice-card li i {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }

  .account-role-choice-cta {
    min-height: 38px;
    gap: 14px;
    font-size: 11px;
  }

  .account-role-choice-security {
    max-width: 240px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    margin: 2px auto 0;
    color: #7f7a9e;
    font-size: 10px;
    line-height: 1.35;
    text-align: left;
  }

  .account-role-choice-security i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0e4ff;
    color: #7c00ff;
  }

  .account-role-choice-security strong {
    color: #7c00ff;
  }
}

@media (max-width: 380px) {
  .account-setup-modal-content.is-role-choice {
    padding-inline: 14px;
  }

  .account-role-choice-card {
    padding: 15px 12px 12px;
  }
}

@media (max-width: 900px) {
  .provider-profile-gallery[data-gallery-content="current"].is-active-gallery {
    grid-template-columns: 1fr;
  }

  .provider-current-job-card-detailed {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .provider-current-job-card-detailed {
    padding: 22px;
    border-radius: 18px;
  }

  .provider-current-job-hero {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .provider-current-job-icon {
    width: 64px;
    height: 64px;
    font-size: 25px;
  }

  .provider-current-job-card .provider-gallery-card-copy > .provider-current-job-hero strong {
    font-size: 20px;
  }

  .provider-current-job-card .provider-gallery-card-copy > .provider-current-job-hero p {
    font-size: 14px;
  }

  .provider-job-actions {
    gap: 10px;
  }

  .provider-job-action-btn {
    flex: 1 1 100%;
    min-height: 50px;
    border-radius: 16px;
  }

  .provider-job-meta {
    display: grid;
    gap: 12px;
  }

  .provider-job-meta span {
    padding: 0;
    border-left: 0;
  }
}

#site-header,
#site-header > header,
#site-header > nav,
body.home-page-body #site-header > header,
body.home-page-body #site-header > nav,
body.specialists-page-body #site-header > header,
body.specialists-page-body #site-header > nav,
body.marketplace-page-body #site-header > header {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(26, 50, 99, 0.1) !important;
}

#site-header > header,
#site-header > nav {
  box-shadow: 0 10px 24px rgba(26, 50, 99, 0.08) !important;
  backdrop-filter: none !important;
}

@media (max-width: 768px) {
  .specialists-page-body .specialists-results-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .specialists-page-body .specialist-card,
  .specialists-page-body .specialist-card-skeleton-card,
  .specialists-page-body .specialist-card-skeleton {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 14px !important;
  }

  .specialists-page-body .provider-showcase-card.wl-showcase-card--split {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(26, 50, 99, 0.08) !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__media--split {
    grid-row: 1 / 2 !important;
    width: 108px !important;
    height: 132px !important;
    min-height: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    align-self: start !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__content--split {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0 8px !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__eyebrow-row {
    display: contents !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__eyebrow {
    grid-column: 1 / 2 !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 24px !important;
    padding: 0 9px !important;
    border-radius: 7px !important;
    background: rgba(220, 20, 60, 0.12) !important;
    color: #e04f54 !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__price {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 4 !important;
    align-self: start !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__title {
    grid-column: 1 / 2 !important;
    margin-top: 10px !important;
    color: #111827 !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__subtitle {
    grid-column: 1 / -1 !important;
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__details {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 10px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(26, 50, 99, 0.08) !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__detail {
    min-width: 0 !important;
    color: #111827 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__detail:last-child {
    grid-column: 1 / -1 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__detail i {
    color: #ff2f5f !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__copy {
    grid-column: 1 / -1 !important;
    min-height: 46px !important;
    margin-top: 10px !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    background: #f7f7fa !important;
    color: #111827 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__copy::before {
    content: "\201C";
    display: block;
    color: #c4c7cf;
    font-size: 20px;
    line-height: 0.7;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__actions--split {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 58px !important;
    gap: 10px !important;
    margin-top: 10px !important;
    align-items: center !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__action--split {
    min-height: 38px !important;
    border-radius: 8px !important;
    background: #0f1424 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .specialists-page-body .provider-showcase-card .wl-showcase-card__icon-action {
    min-height: 38px !important;
    width: 58px !important;
    border-radius: 8px !important;
    background: #fff6f5 !important;
    color: #111827 !important;
    border: 1px solid rgba(26, 50, 99, 0.1) !important;
  }
}
.account-help-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(31, 117, 103, 0.18);
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 800;
  cursor: pointer;
}

.account-help-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.account-help-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.account-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.54);
}

.account-help-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
  padding: 22px;
}

.account-help-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
}

.account-help-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-right: 42px;
}

.account-help-hero > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #14b8a6, #f59e0b);
  color: #ffffff;
  font-size: 22px;
}

.account-help-hero h2 {
  margin: 0;
  font-size: 1.45rem;
}

.account-help-hero p {
  margin: 4px 0 0;
  color: #64748b;
}

.account-help-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.account-help-steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.account-help-steps i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ecfeff;
  color: #0891b2;
}

.account-help-steps strong {
  color: #0f172a;
}

.account-help-steps span {
  color: #64748b;
  font-size: 0.92rem;
}

.account-help-done {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.admin-mini-role {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 800;
}

/* Final admin skin overrides: square corners and crimson accent. */
.admin-page-body {
  --yellow: #DC143C;
  --brand-gold: #DC143C;
}

.admin-page-body *,
.admin-page-body *::before,
.admin-page-body *::after,
.admin-dialog-shell *,
.admin-dialog-shell *::before,
.admin-dialog-shell *::after {
  border-radius: 0 !important;
}

.admin-page-body .admin-gate-submit,
.admin-page-body .admin-refresh-btn,
.admin-page-body .admin-nav-link.is-active,
.admin-page-body .admin-nav-link:hover,
.admin-page-body .admin-nav-link:focus-visible,
.admin-page-body .admin-avatar,
.admin-page-body .admin-bottom-nav-link.is-active {
  background: linear-gradient(135deg, #DC143C 0%, #A30F2D 100%) !important;
  color: #fff !important;
}

.admin-page-body .admin-gate-badge,
.admin-page-body .admin-gate-back,
.admin-page-body .admin-empty-state i,
.admin-page-body .admin-kpi-icon,
.admin-page-body .admin-activity-badge.is-provider,
.admin-page-body .admin-activity-badge.is-post,
.admin-page-body .admin-badge.is-unread,
.admin-page-body .admin-row-action {
  color: #F45C7D !important;
}

.admin-page-body .admin-kpi-icon,
.admin-page-body .admin-status-pill[data-state="loading"],
.admin-page-body .admin-badge.is-unread,
.admin-page-body .admin-row-action,
.admin-page-body .admin-gate-badge {
  background: rgba(220, 20, 60, 0.16) !important;
}

.admin-page-body .admin-gate-form input:focus,
.admin-page-body .admin-form-field input:focus,
.admin-page-body .admin-form-field select:focus,
.admin-page-body .admin-form-field textarea:focus {
  border-color: rgba(220, 20, 60, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.16) !important;
}

.admin-page-body .admin-bar-primary,
.admin-page-body .admin-legend-swatch.is-primary,
.admin-page-body .admin-bubble-bar,
.admin-page-body .admin-rank-meter span {
  background: linear-gradient(180deg, #DC143C 0%, #A30F2D 100%) !important;
}

.admin-page-body .admin-bar-secondary,
.admin-page-body .admin-legend-swatch.is-secondary,
.admin-page-body .admin-bubble-bars.is-cyan .admin-bubble-bar,
.admin-page-body .admin-rank-meter.is-cyan span {
  background: linear-gradient(180deg, #F45C7D 0%, #DC143C 100%) !important;
}

.admin-page-body .admin-table tbody tr:hover {
  background: rgba(220, 20, 60, 0.08) !important;
}

.admin-page-body .admin-row-action {
  background: linear-gradient(135deg, #DC143C 0%, #A30F2D 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(163, 15, 45, 0.28);
}

.admin-page-body .admin-row-action:hover,
.admin-page-body .admin-row-action:focus-visible {
  background: linear-gradient(135deg, #F21D4B 0%, #8F0D28 100%) !important;
}

.admin-page-body .admin-row-action.is-danger {
  background: #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.24);
}

.admin-page-body .admin-row-action.is-danger:hover,
.admin-page-body .admin-row-action.is-danger:focus-visible {
  background: #b91c1c !important;
}

.admin-page-body .admin-row-action:disabled {
  cursor: progress;
  opacity: 0.68;
}

.admin-dialog-icon {
  background: rgba(220, 20, 60, 0.14) !important;
  color: #A30F2D !important;
}

.admin-dialog-btn.is-primary {
  background: #DC143C !important;
}

.admin-dialog-input-wrap textarea:focus {
  border-color: #DC143C !important;
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.16) !important;
}

/* Jobs pages use the same crimson accent. */
.job-post-page {
  --post-job-accent: #DC143C;
  --post-job-accent-dark: #A30F2D;
  --post-job-accent-soft: #FFE4EA;
}

body:has(.job-posts-page),
body:has(.job-giver-page),
body:has(.job-post-page) {
  --brand-gold: #DC143C;
  --yellow: #DC143C;
}

.job-posts-page [class*="btn"]:not(.job-delete-btn),
.job-posts-page button[type="submit"],
.job-posts-page .job-card-actions a,
.job-giver-page [class*="btn"]:not(.job-delete-btn),
.job-giver-page button[type="submit"],
.job-post-page button[type="submit"],
.job-post-page .job-post-primary-action {
  border-color: #DC143C;
}

/* Job cards use the compact split provider-card layout on every device. */
.job-posts-page .job-card,
.job-giver-page .job-owner-posted-card {
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 14px !important;
  border: 1px solid rgba(26, 50, 99, 0.08) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(26, 50, 99, 0.08) !important;
  overflow: hidden !important;
}

.job-posts-page .job-card-media,
.job-giver-page .job-owner-posted-media {
  position: relative;
  width: 132px;
  height: 158px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7fa;
}

.job-posts-page .job-card-media img,
.job-giver-page .job-owner-posted-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-posts-page .job-card-media span,
.job-giver-page .job-owner-posted-media span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(15, 20, 36, 0.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.job-posts-page .job-card-content,
.job-giver-page .job-owner-posted-main {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.job-posts-page .job-card .job-card-top,
.job-giver-page .job-owner-posted-card .job-owner-card-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.job-posts-page .job-card .job-card-price,
.job-giver-page .job-owner-posted-card .job-owner-card-head > strong {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.job-posts-page .job-card h3,
.job-giver-page .job-owner-posted-card .job-owner-card-head h3 {
  margin: 4px 0 0 !important;
  color: #111827 !important;
  font-size: 20px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
}

.job-posts-page .job-card-tag,
.job-posts-page .job-card-subtag,
.job-giver-page .job-owner-posted-card .job-card-tag,
.job-giver-page .job-owner-posted-card .job-card-subtag {
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 7px !important;
  background: rgba(220, 20, 60, 0.12) !important;
  color: #DC143C !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.job-posts-page .job-card-summary,
.job-giver-page .job-owner-posted-main > p {
  min-height: 46px !important;
  margin: 0 !important;
  padding: 13px 14px !important;
  border-radius: 10px !important;
  background: #f7f7fa !important;
  color: #111827 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.job-posts-page .job-card-summary p {
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

.job-posts-page .job-card-owner,
.job-posts-page .job-card-meta,
.job-giver-page .job-owner-posted-card .job-card-meta {
  margin: 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(26, 50, 99, 0.08) !important;
}

.job-posts-page .job-card-meta,
.job-giver-page .job-owner-posted-card .job-card-meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px 10px !important;
}

.job-posts-page .job-card-meta-item,
.job-giver-page .job-owner-posted-card .job-card-meta > span {
  min-width: 0 !important;
  color: #111827 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

.job-posts-page .job-card-meta i,
.job-giver-page .job-owner-posted-card .job-card-meta i {
  color: #DC143C !important;
}

.job-posts-page .job-card-bids-trigger,
.job-giver-page .job-card-bids-trigger {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #fff6f8 !important;
  border-color: rgba(220, 20, 60, 0.18) !important;
}

.job-posts-page .job-card-actions,
.job-giver-page .job-owner-posted-card .job-card-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.job-posts-page .job-card-actions button,
.job-giver-page .job-owner-posted-card .job-card-actions button {
  min-height: 38px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.job-posts-page .job-card-actions .btn-primary,
.job-giver-page .job-owner-posted-card .job-card-actions .btn-primary {
  background: #0f1424 !important;
  color: #fff !important;
}

.job-giver-page .job-owner-posted-code,
.job-giver-page .job-owner-posted-actions-panel,
.job-giver-page .job-owner-posted-details,
.job-giver-page .job-owner-posted-tip {
  grid-column: 2 / -1;
}

.job-giver-page .job-owner-posted-code {
  position: static !important;
  justify-self: start;
  order: 3;
}

.job-giver-page .job-owner-posted-actions-panel {
  padding: 0 !important;
  margin: 0 !important;
}

.job-giver-page .job-owner-posted-details,
.job-giver-page .job-owner-posted-tip {
  margin-top: 0 !important;
}

@media (min-width: 900px) {
  .job-posts-page .job-card-grid.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .job-posts-page .job-card.is-list-item,
  .job-posts-page .job-card-grid.is-list .job-card {
    grid-template-columns: 160px minmax(0, 1fr) !important;
  }

  .job-posts-page .job-card.is-list-item .job-card-media,
  .job-posts-page .job-card-grid.is-list .job-card-media {
    width: 160px;
    height: 180px;
  }
}

@media (max-width: 560px) {
  .job-posts-page .job-card,
  .job-giver-page .job-owner-posted-card {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .job-posts-page .job-card-media,
  .job-giver-page .job-owner-posted-media {
    width: 108px;
    height: 132px;
  }

  .job-posts-page .job-card h3,
  .job-giver-page .job-owner-posted-card .job-owner-card-head h3 {
    font-size: 18px !important;
  }

  .job-posts-page .job-card-owner-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  .job-posts-page .job-card-actions,
  .job-giver-page .job-owner-posted-card .job-card-actions {
    grid-template-columns: 1fr !important;
  }

  .job-giver-page .job-owner-posted-code,
  .job-giver-page .job-owner-posted-actions-panel,
  .job-giver-page .job-owner-posted-details,
  .job-giver-page .job-owner-posted-tip {
    grid-column: 1 / -1;
  }
}

/* Available jobs: compact profile-led cards without category images. */
.job-posts-page .job-card-grid,
.job-posts-page .job-card-grid.is-grid,
.job-posts-page .job-card-grid.is-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.job-posts-page .job-card,
.job-posts-page .job-card.is-list-item,
.job-posts-page .job-card-grid.is-list .job-card {
  display: block !important;
  grid-template-columns: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 11px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07) !important;
}

.job-posts-page .job-card-media {
  display: none !important;
}

.job-posts-page .job-card-content {
  min-width: 0 !important;
  display: grid !important;
  gap: 7px !important;
}

.job-posts-page .job-card-profile-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.job-posts-page .job-card-profile-head .job-card-owner-avatar {
  width: 38px !important;
  height: 38px !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 7px 15px rgba(15, 23, 42, 0.16) !important;
}

.job-posts-page .job-card-profile-head .job-card-owner-copy {
  min-width: 0;
}

.job-posts-page .job-card-profile-head .job-card-owner-copy strong {
  overflow: hidden;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-posts-page .job-card-profile-head .job-card-owner-meta {
  min-width: 0;
  gap: 5px !important;
  flex-wrap: nowrap !important;
}

.job-posts-page .job-card-profile-head .job-card-owner-meta > span:not(.job-card-newtag) {
  overflow: hidden;
  color: #6b7280 !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-posts-page .job-card-profile-head .job-card-price {
  margin: 0 !important;
  color: #dc143c !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.job-posts-page .job-card-profile-head .job-card-newtag {
  position: static !important;
  min-height: 18px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  gap: 3px !important;
  font-size: 8px !important;
  box-shadow: none !important;
}

.job-posts-page .job-card-profile-head .job-card-newtag i {
  font-size: 8px !important;
}

.job-posts-page .job-card .job-card-top {
  display: block !important;
  padding: 0 !important;
}

.job-posts-page .job-card-tag-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.job-posts-page .job-card-tag,
.job-posts-page .job-card-subtag {
  min-width: 0 !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 5px !important;
  font-size: 8px !important;
  line-height: 1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.job-posts-page .job-card h3 {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.14 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-posts-page .job-card-summary {
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.job-posts-page .job-card-summary p {
  display: -webkit-box;
  overflow: hidden;
  color: #4b5563 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-posts-page .job-card-meta {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.job-posts-page .job-card-meta-item {
  min-width: 0 !important;
  min-height: 24px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  background: #f7f7fa !important;
  border: 1px solid rgba(17, 24, 39, 0.06) !important;
  color: #374151 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}

.job-posts-page .job-card-meta-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-posts-page .job-card-status-notice {
  padding: 4px 8px !important;
  font-size: 10px !important;
}

.job-posts-page .job-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.job-posts-page .job-card-actions button {
  min-height: 30px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-profile-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.job-posts-page .job-card-skeleton .job-skeleton-owner-name {
  width: 72% !important;
  height: 12px !important;
  border-radius: 999px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-owner-handle {
  width: 54% !important;
  height: 10px !important;
  border-radius: 999px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-price {
  width: 58px !important;
  height: 14px !important;
  border-radius: 999px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-pill {
  width: 70px !important;
  height: 20px !important;
  border-radius: 5px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-pill.light {
  width: 58px !important;
  height: 20px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-card-title {
  width: 86% !important;
  height: 32px !important;
  border-radius: 6px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-copy {
  width: 100% !important;
  height: 11px !important;
  margin: 0 !important;
  border-radius: 999px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-copy.short {
  width: 78% !important;
  margin: 0 !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-meta-line {
  width: 100% !important;
  height: 24px !important;
  border-radius: 6px !important;
}

.job-posts-page .job-card-skeleton .job-skeleton-button {
  width: 100% !important;
  height: 30px !important;
  border-radius: 6px !important;
}

@media (max-width: 899px) {
  .job-posts-page .job-card-grid,
  .job-posts-page .job-card-grid.is-grid,
  .job-posts-page .job-card-grid.is-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
}

@media (max-width: 560px) {
  .job-posts-page .job-card,
  .job-posts-page .job-card.is-list-item,
  .job-posts-page .job-card-grid.is-list .job-card {
    padding: 9px !important;
  }

  .job-posts-page .job-card-content {
    gap: 6px !important;
  }

  .job-posts-page .job-card-profile-head {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .job-posts-page .job-card-profile-head .job-card-owner-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  .job-posts-page .job-card-profile-head .job-card-price {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 13px !important;
  }

  .job-posts-page .job-card-profile-head .job-card-owner-meta > span:not(.job-card-newtag) {
    display: none;
  }

  .job-posts-page .job-card-tag-row {
    flex-wrap: wrap !important;
  }

  .job-posts-page .job-card h3 {
    font-size: 13px !important;
  }

  .job-posts-page .job-card-summary {
    min-height: 30px !important;
  }

  .job-posts-page .job-card-summary p {
    font-size: 10px !important;
  }

  .job-posts-page .job-card-meta {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }

  .job-posts-page .job-card-meta-item {
    min-height: 22px !important;
    font-size: 9px !important;
  }

  .job-posts-page .job-card-actions button {
    min-height: 28px !important;
    font-size: 10px !important;
  }

  .job-posts-page .job-card-skeleton .job-skeleton-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  .job-posts-page .job-card-skeleton .job-skeleton-price {
    grid-column: 1 / -1;
    width: 52px !important;
  }

  .job-posts-page .job-card-skeleton .job-skeleton-card-title {
    height: 30px !important;
  }

  .job-posts-page .job-card-skeleton .job-skeleton-button {
    height: 28px !important;
  }
}

/* Marketplace product detail interactions */
footer,
footer p,
footer span,
footer small,
footer li,
footer a,
.footer-col ul li a,
.footer-links a,
.footer-bottom,
.work-footer-highlight {
  color: #ffffff !important;
}

.market-product-card {
  cursor: pointer;
}

.market-product-detail-card {
  width: min(960px, calc(100vw - 32px)) !important;
  max-height: min(860px, calc(100vh - 32px)) !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr) !important;
  gap: 22px !important;
  border-radius: 0 !important;
  padding: 24px !important;
}

.market-product-detail-card > button[data-market-close] {
  border-radius: 0 !important;
}

.market-product-detail-media {
  min-height: 360px;
  background: #f1f3f6;
}

.market-product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.market-product-detail-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.market-product-detail-copy > span {
  color: #DC143C;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.market-product-detail-copy h2 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  line-height: 1.05;
}

.market-product-detail-copy > strong {
  color: #0b7a3b;
  font-size: 24px;
  font-weight: 950;
}

.market-product-detail-copy p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.6;
}

.market-product-detail-meta,
.market-product-detail-actions,
.market-product-share-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-product-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: #f6f7f9;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.market-product-detail-meta i,
.market-product-share-menu i {
  color: #DC143C;
}

.market-recommend-btn,
.market-share-toggle,
.market-product-share-menu a,
.market-product-share-menu button,
.market-product-comments form button {
  min-height: 40px;
  border: 1px solid rgba(220, 20, 60, 0.22);
  border-radius: 0;
  background: #fff6f8;
  color: #DC143C;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.market-recommend-btn,
.market-share-toggle,
.market-product-share-menu a,
.market-product-share-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  text-decoration: none;
}

.market-recommend-btn.is-active,
.market-recommend-btn:hover,
.market-share-toggle:hover,
.market-product-share-menu a:hover,
.market-product-share-menu button:hover,
.market-product-comments form button {
  background: #DC143C;
  color: #ffffff;
}

.market-recommend-btn.is-active i,
.market-recommend-btn:hover i,
.market-share-toggle:hover i,
.market-product-share-menu a:hover i,
.market-product-share-menu button:hover i,
.market-product-comments form button i {
  color: #ffffff;
}

.market-recommend-btn b {
  min-width: 22px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
  font-size: 11px;
}

.market-product-share-menu[hidden] {
  display: none;
}

.market-product-share-menu {
  padding-top: 2px;
}

.market-product-comments {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  padding-top: 18px;
}

.market-product-comments header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-product-comments h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.market-product-comments header span {
  min-width: 28px;
  padding: 4px 8px;
  background: #DC143C;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.market-comment-list {
  display: grid;
  gap: 10px;
  max-height: 240px;
  overflow: auto;
}

.market-comment-list > p {
  margin: 0;
  color: #667085;
}

.market-comment {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f8fafc;
}

.market-comment strong {
  color: #111827;
  font-size: 13px;
}

.market-comment p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.market-comment small {
  color: #667085;
  font-size: 11px;
}

.market-product-comments form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.market-product-comments textarea {
  min-height: 44px;
  max-height: 120px;
  resize: vertical;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0;
  padding: 12px;
  font: inherit;
}

.market-product-comments form button {
  padding: 0 18px;
}

@media (max-width: 760px) {
  .market-product-detail-card {
    grid-template-columns: 1fr !important;
    width: min(100%, calc(100vw - 20px)) !important;
    padding: 18px !important;
  }

  .market-product-detail-media,
  .market-product-detail-media img {
    min-height: 260px;
  }

  .market-product-detail-copy h2 {
    font-size: 24px;
  }

  .market-product-detail-actions,
  .market-product-share-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .market-product-comments form {
    grid-template-columns: 1fr;
  }
}

.guest-landing-actions .account-guest-open {
  width: auto;
  min-height: 50px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #102033;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
  .guest-landing-actions .account-guest-open {
    width: 100%;
  }
}
