* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --rich-primary: #1f2a8a;
  --rich-accent: #a61d24;
  --rich-surface: #ffffff;
  --rich-surface-soft: #f3f5fa;
  --rich-text: #111827;
  --rich-muted: #5b6475;
  --rich-highlight: rgba(31, 42, 138, 0.14);
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--rich-surface-soft);
  color: var(--rich-text);
}

body.jam-theme-dark {
  --rich-surface: #111827;
  --rich-surface-soft: #07111f;
  --rich-text: #e5edf8;
  --rich-muted: #9fb0c8;
  --rich-highlight: rgba(96, 165, 250, 0.18);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(41, 66, 128, 0.28), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(18, 112, 110, 0.18), transparent 55%),
    #07111f;
  color: var(--rich-text);
}

body.jam-theme-dark,
body.jam-theme-dark main,
body.jam-theme-dark .jam-home-main,
body.jam-theme-dark .jam-settings-main,
body.jam-theme-dark .jam-jobs-main,
body.jam-theme-dark .jam-profile-main,
body.jam-theme-dark .jam-company-main,
body.jam-theme-dark .jam-appdash-main,
body.jam-theme-dark .jam-category-main,
body.jam-theme-dark .jam-post-main,
body.jam-theme-dark .jam-service-main,
body.jam-theme-dark .jam-services-main {
  background-color: #07111f !important;
}

body.jam-theme-dark .jam-home-upgrade,
body.jam-theme-dark .jam-settings-page,
body.jam-theme-dark .jam-categories-page,
body.jam-theme-dark .jam-jobs-page,
body.jam-theme-dark .jam-applicant-profile-page,
body.jam-theme-dark .jam-company-page {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(41, 66, 128, 0.22), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(18, 112, 110, 0.14), transparent 55%),
    #07111f !important;
}

body.jam-theme-dark .rich-page,
body.jam-theme-dark .jam-category-main,
body.jam-theme-dark .jam-company-page,
body.jam-theme-dark .jam-settings-page,
body.jam-theme-dark .jam-jobs-page,
body.jam-theme-dark .jam-categories-page {
  background:
    radial-gradient(1000px 540px at 8% -8%, rgba(48, 73, 138, 0.2), transparent 60%),
    radial-gradient(820px 460px at 100% -6%, rgba(11, 118, 110, 0.14), transparent 58%),
    #07111f !important;
}

body.jam-theme-dark .rich-top-header,
body.jam-theme-dark .rich-sidebar,
body.jam-theme-dark .rich-notif-box,
body.jam-theme-dark .rich-card,
body.jam-theme-dark .jam-home-section,
body.jam-theme-dark .jam-home-shortcut-card,
body.jam-theme-dark .jam-settings-card,
body.jam-theme-dark .jam-jobs-shell,
body.jam-theme-dark .jam-service-card,
body.jam-theme-dark .jam-job-item,
body.jam-theme-dark .jam-profile-card,
body.jam-theme-dark .jam-company-card,
body.jam-theme-dark .jam-appdash-card,
body.jam-theme-dark .jam-settings-action,
body.jam-theme-dark .jam-settings-tool {
  background: rgba(10, 20, 36, 0.9) !important;
  color: #e5edf8 !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32) !important;
}

body.jam-theme-dark .jam-home-hero {
  background:
    radial-gradient(900px 420px at 10% 16%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(640px 320px at 88% 22%, rgba(16, 185, 129, 0.12), transparent 60%),
    linear-gradient(135deg, #050b17 0%, #0c1f45 46%, #123167 100%) !important;
}

body.jam-theme-dark .jam-home-search-card {
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.96), rgba(15, 26, 46, 0.92)) !important;
  border-color: rgba(119, 150, 207, 0.18) !important;
}

body.jam-theme-dark .jam-home-search-card-head h2,
body.jam-theme-dark .jam-home-search-card-head p,
body.jam-theme-dark .jam-home-search-field span,
body.jam-theme-dark .jam-home-copy h1,
body.jam-theme-dark .jam-home-copy p,
body.jam-theme-dark .jam-settings-card h2,
body.jam-theme-dark .jam-settings-card strong,
body.jam-theme-dark .jam-settings-note,
body.jam-theme-dark .jam-profile-key,
body.jam-theme-dark .jam-profile-value,
body.jam-theme-dark .jam-job-meta,
body.jam-theme-dark .jam-job-summary,
body.jam-theme-dark .jam-service-summary,
body.jam-theme-dark .jam-service-provider,
body.jam-theme-dark .jam-service-contact,
body.jam-theme-dark .rich-switch,
body.jam-theme-dark .rich-notif-empty,
body.jam-theme-dark .rich-notif-title,
body.jam-theme-dark .rich-footer-column ul li a,
body.jam-theme-dark nav a,
body.jam-theme-dark .rich-sidebar li,
body.jam-theme-dark .jam-home-shortcut-card p {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-home-section-head p,
body.jam-theme-dark .jam-home-shortcut-card p,
body.jam-theme-dark .jam-job-section p,
body.jam-theme-dark .jam-settings-toggle span,
body.jam-theme-dark .jam-settings-action span,
body.jam-theme-dark .jam-settings-tool span,
body.jam-theme-dark .rich-hint,
body.jam-theme-dark .rich-notif-item-body,
body.jam-theme-dark .rich-notif-item-time {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-input,
body.jam-theme-dark .jam-select,
body.jam-theme-dark .jam-textarea,
body.jam-theme-dark input,
body.jam-theme-dark select,
body.jam-theme-dark textarea {
  background: #0c1728 !important;
  color: #e5edf8 !important;
  border-color: rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-input::placeholder,
body.jam-theme-dark .jam-textarea::placeholder {
  color: #8fa2bf !important;
}

body.jam-theme-dark .jam-submit,
body.jam-theme-dark .jam-jobs-cta {
  background: linear-gradient(90deg, #3156d3, #0f9d76) !important;
  color: #f8fbff !important;
}

body.jam-theme-dark .jam-profile-secondary,
body.jam-theme-dark .jam-market-clear {
  background: #16253e !important;
  color: #e5edf8 !important;
  border-color: rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-job-detail-grid p,
body.jam-theme-dark .jam-service-detail-grid p,
body.jam-theme-dark .jam-job-section,
body.jam-theme-dark .jam-home-metric-card,
body.jam-theme-dark .jam-home-journey-card,
body.jam-theme-dark .jam-home-process-step {
  background: rgba(12, 23, 40, 0.96) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .rich-footer {
  background: linear-gradient(180deg, #060d18, #040913) !important;
}

body.jam-theme-dark .jam-home-section,
body.jam-theme-dark .jam-settings-shell,
body.jam-theme-dark .jam-category-shell,
body.jam-theme-dark .jam-company-shell,
body.jam-theme-dark .jam-profile-shell {
  background: transparent !important;
  box-shadow: none !important;
  border-color: rgba(120, 146, 192, 0.12) !important;
}

body.jam-theme-dark .jam-home-section-kicker,
body.jam-theme-dark .jam-home-section-head .jam-home-section-kicker,
body.jam-theme-dark .jam-home-cta-strip .jam-home-section-kicker,
body.jam-theme-dark .jam-home-search-kicker,
body.jam-theme-dark .jam-settings-role-badge,
body.jam-theme-dark .jam-company-eyebrow,
body.jam-theme-dark .jam-company-section-kicker,
body.jam-theme-dark .jam-category-eyebrow,
body.jam-theme-dark .jam-category-section-kicker,
body.jam-theme-dark .jam-category-tag {
  background: rgba(32, 50, 86, 0.92) !important;
  color: #dbe7ff !important;
  border: 1px solid rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-settings-head,
body.jam-theme-dark .jam-settings-card-primary,
body.jam-theme-dark .jam-settings-card-soft,
body.jam-theme-dark .jam-settings-meta-grid > div,
body.jam-theme-dark .jam-settings-access-list li,
body.jam-theme-dark .jam-settings-toggle,
body.jam-theme-dark .jam-profile-status,
body.jam-theme-dark .jam-provider-empty-card,
body.jam-theme-dark .jam-category-hero,
body.jam-theme-dark .jam-category-highlight,
body.jam-theme-dark .jam-category-stat-card,
body.jam-theme-dark .jam-category-feedback,
body.jam-theme-dark .jam-category-card,
body.jam-theme-dark .jam-category-sector-card,
body.jam-theme-dark .jam-category-route-card,
body.jam-theme-dark .jam-category-chip {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
  color: #e5edf8 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

body.jam-theme-dark .jam-category-chip.is-active {
  background: linear-gradient(135deg, #2142b3 0%, #3156d3 60%, #0f9d76 100%) !important;
  border-color: rgba(77, 113, 218, 0.4) !important;
  color: #f8fbff !important;
}

body.jam-theme-dark .jam-settings-head-copy h1,
body.jam-theme-dark .jam-settings-card-head h2,
body.jam-theme-dark .jam-settings-action strong,
body.jam-theme-dark .jam-settings-toggle strong,
body.jam-theme-dark .jam-settings-tool strong,
body.jam-theme-dark .jam-settings-access-list li,
body.jam-theme-dark .jam-profile-head-left h1,
body.jam-theme-dark .jam-category-hero h1,
body.jam-theme-dark .jam-category-highlight strong,
body.jam-theme-dark .jam-category-stat-card strong,
body.jam-theme-dark .jam-category-section-head h2,
body.jam-theme-dark .jam-category-cta-copy h2,
body.jam-theme-dark .jam-category-card h3,
body.jam-theme-dark .jam-category-sector-card h3,
body.jam-theme-dark .jam-category-route-card h3,
body.jam-theme-dark .jam-provider-empty-card h3 {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-settings-head-copy p,
body.jam-theme-dark .jam-settings-key,
body.jam-theme-dark .jam-settings-meta-grid strong,
body.jam-theme-dark .jam-settings-tips li,
body.jam-theme-dark .jam-profile-head-left p,
body.jam-theme-dark .jam-profile-note,
body.jam-theme-dark .jam-profile-block p,
body.jam-theme-dark .jam-category-hero p,
body.jam-theme-dark .jam-category-section-head p,
body.jam-theme-dark .jam-category-card p,
body.jam-theme-dark .jam-category-sector-card p,
body.jam-theme-dark .jam-category-route-card p,
body.jam-theme-dark .jam-category-highlight p,
body.jam-theme-dark .jam-category-feedback p,
body.jam-theme-dark .jam-category-stat-card span,
body.jam-theme-dark .jam-provider-empty-card p {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-category-clear {
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-verification-banner-actions .jam-profile-secondary,
body.jam-theme-dark .jam-profile-secondary,
body.jam-theme-dark .jam-modal-close,
body.jam-theme-dark .rich-notif-head,
body.jam-theme-dark .rich-notif-clear {
  background: #0f1b2f !important;
  color: #e5edf8 !important;
  border-color: rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .rich-notif-head {
  border-bottom-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .rich-notif-item,
body.jam-theme-dark .rich-notif-item-title,
body.jam-theme-dark .rich-notif-item-body,
body.jam-theme-dark .rich-notif-item-time {
  color: #e5edf8 !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-home-section-head h2,
body.jam-theme-dark .jam-home-shortcut-card strong,
body.jam-theme-dark .jam-home-metric-card strong,
body.jam-theme-dark .jam-home-journey-card h3,
body.jam-theme-dark .jam-home-process-step h3,
body.jam-theme-dark .jam-home-journey-card a,
body.jam-theme-dark .jam-home-preview-item h3,
body.jam-theme-dark .jam-home-cta-copy h2 {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-home-section-head p,
body.jam-theme-dark .jam-home-metric-card p,
body.jam-theme-dark .jam-home-journey-card p,
body.jam-theme-dark .jam-home-process-step p,
body.jam-theme-dark .jam-home-preview-item p,
body.jam-theme-dark .jam-home-cta-copy p {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-company-head,
body.jam-theme-dark .jam-company-stat-card,
body.jam-theme-dark .jam-company-meta-item,
body.jam-theme-dark .jam-company-job-card,
body.jam-theme-dark .jam-company-app-card,
body.jam-theme-dark .jam-appdash-shell,
body.jam-theme-dark .jam-appdash-stat,
body.jam-theme-dark .jam-app-table-wrap,
body.jam-theme-dark .jam-app-table,
body.jam-theme-dark .jam-app-table th,
body.jam-theme-dark .jam-app-table td,
body.jam-theme-dark .jam-post-head,
body.jam-theme-dark .jam-post-card,
body.jam-theme-dark .jam-market-clear,
body.jam-theme-dark .jam-service-order-notice {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  color: #e5edf8 !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

body.jam-theme-dark .jam-company-shell,
body.jam-theme-dark .jam-settings-shell,
body.jam-theme-dark .jam-profile-shell,
body.jam-theme-dark .jam-appdash-shell {
  background: transparent !important;
}

body.jam-theme-dark .jam-company-page .jam-company-shell,
body.jam-theme-dark .jam-settings-page .jam-settings-shell,
body.jam-theme-dark .jam-profile-main .jam-profile-shell,
body.jam-theme-dark .jam-appdash-main .jam-appdash-shell {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.jam-theme-dark .jam-company-page,
body.jam-theme-dark .jam-post-main-job,
body.jam-theme-dark .jam-post-main-service,
body.jam-theme-dark .jam-appdash-main {
  background:
    radial-gradient(900px 430px at 8% -10%, rgba(59, 130, 246, 0.12), transparent 58%),
    radial-gradient(980px 440px at 95% -18%, rgba(16, 185, 129, 0.08), transparent 62%),
    #07111f !important;
}

body.jam-theme-dark .jam-company-eyebrow,
body.jam-theme-dark .jam-company-section-kicker,
body.jam-theme-dark .jam-company-stat-label,
body.jam-theme-dark .jam-post-eyebrow,
body.jam-theme-dark .jam-post-section-kicker {
  background: rgba(32, 50, 86, 0.92) !important;
  color: #dbe7ff !important;
  border: 1px solid rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-company-head h1,
body.jam-theme-dark .jam-company-card-head h2,
body.jam-theme-dark .jam-company-stat-card strong,
body.jam-theme-dark .jam-appdash-head h1,
body.jam-theme-dark .jam-appdash-stat strong,
body.jam-theme-dark .jam-appdash-card-head h2,
body.jam-theme-dark .jam-appdash-job h3,
body.jam-theme-dark .jam-post-head h1,
body.jam-theme-dark .jam-post-card-head h2 {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-company-head p,
body.jam-theme-dark .jam-company-stat-card p,
body.jam-theme-dark .jam-company-job-meta,
body.jam-theme-dark .jam-company-app-headline,
body.jam-theme-dark .jam-company-empty,
body.jam-theme-dark .jam-appdash-head p,
body.jam-theme-dark .jam-appdash-stat span,
body.jam-theme-dark .jam-appdash-card-head p,
body.jam-theme-dark .jam-appdash-job p,
body.jam-theme-dark .jam-appdash-tips li,
body.jam-theme-dark .jam-market-results-copy,
body.jam-theme-dark .jam-post-head p,
body.jam-theme-dark .jam-post-form-card .rich-field span,
body.jam-theme-dark .jam-post-side-list,
body.jam-theme-dark .jam-service-order-inline-note {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-company-meta-item .jam-profile-key,
body.jam-theme-dark .jam-company-meta-item .jam-profile-value,
body.jam-theme-dark .jam-settings-meta-grid .jam-settings-key,
body.jam-theme-dark .jam-settings-meta-grid .jam-profile-value,
body.jam-theme-dark .jam-settings-meta-grid strong,
body.jam-theme-dark .jam-company-stat-label,
body.jam-theme-dark .jam-appdash-stat span,
body.jam-theme-dark .jam-app-table th,
body.jam-theme-dark .jam-app-table td,
body.jam-theme-dark .jam-settings-toggle input[type="checkbox"] + span,
body.jam-theme-dark .jam-settings-toggle input[type="checkbox"] ~ span {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-company-meta-item,
body.jam-theme-dark .jam-settings-meta-grid > div,
body.jam-theme-dark .jam-settings-action,
body.jam-theme-dark .jam-settings-toggle,
body.jam-theme-dark .jam-settings-tool,
body.jam-theme-dark .jam-appdash-stat {
  background: #0f1b2f !important;
}

body.jam-theme-dark .jam-company-page .jam-company-stat-card,
body.jam-theme-dark .jam-company-page .jam-company-card,
body.jam-theme-dark .jam-company-page .jam-company-meta-item,
body.jam-theme-dark .jam-company-page .jam-company-job-card,
body.jam-theme-dark .jam-company-page .jam-company-app-card,
body.jam-theme-dark .jam-settings-page .jam-settings-card,
body.jam-theme-dark .jam-settings-page .jam-settings-card-primary,
body.jam-theme-dark .jam-settings-page .jam-settings-card-soft,
body.jam-theme-dark .jam-settings-page .jam-settings-meta-grid > div,
body.jam-theme-dark .jam-settings-page .jam-settings-action,
body.jam-theme-dark .jam-settings-page .jam-settings-toggle,
body.jam-theme-dark .jam-settings-page .jam-settings-tool,
body.jam-theme-dark .jam-settings-page .jam-settings-access-list li,
body.jam-theme-dark .jam-appdash-main .jam-appdash-shell,
body.jam-theme-dark .jam-appdash-main .jam-appdash-card,
body.jam-theme-dark .jam-appdash-main .jam-appdash-stat,
body.jam-theme-dark .jam-appdash-main .jam-app-table-wrap,
body.jam-theme-dark .jam-appdash-main .jam-app-table,
body.jam-theme-dark .jam-appdash-main .jam-app-table th,
body.jam-theme-dark .jam-appdash-main .jam-app-table td,
body.jam-theme-dark .jam-company-main .jam-company-shell,
body.jam-theme-dark .jam-company-main .jam-company-head,
body.jam-theme-dark .jam-company-main .jam-company-stat-card,
body.jam-theme-dark .jam-company-main .jam-company-card,
body.jam-theme-dark .jam-company-main .jam-company-meta-item,
body.jam-theme-dark .jam-company-main .jam-company-job-card,
body.jam-theme-dark .jam-company-main .jam-company-app-card,
body.jam-theme-dark .jam-settings-main .jam-settings-shell,
body.jam-theme-dark .jam-settings-main .jam-settings-head,
body.jam-theme-dark .jam-settings-main .jam-settings-card,
body.jam-theme-dark .jam-settings-main .jam-settings-card-primary,
body.jam-theme-dark .jam-settings-main .jam-settings-card-soft {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-company-page .jam-company-meta-item .jam-profile-key,
body.jam-theme-dark .jam-company-page .jam-company-meta-item .jam-profile-value,
body.jam-theme-dark .jam-company-page .jam-company-empty,
body.jam-theme-dark .jam-settings-page .jam-settings-key,
body.jam-theme-dark .jam-settings-page .jam-settings-meta-grid strong,
body.jam-theme-dark .jam-settings-page .jam-settings-note,
body.jam-theme-dark .jam-settings-page .jam-settings-action strong,
body.jam-theme-dark .jam-settings-page .jam-settings-action span,
body.jam-theme-dark .jam-settings-page .jam-settings-toggle strong,
body.jam-theme-dark .jam-settings-page .jam-settings-toggle span,
body.jam-theme-dark .jam-settings-page .jam-settings-tool strong,
body.jam-theme-dark .jam-settings-page .jam-settings-tool span,
body.jam-theme-dark .jam-settings-page .jam-settings-access-list li,
body.jam-theme-dark .jam-settings-page .jam-settings-tips li,
body.jam-theme-dark .jam-appdash-main .jam-appdash-head h1,
body.jam-theme-dark .jam-appdash-main .jam-appdash-head p,
body.jam-theme-dark .jam-appdash-main .jam-appdash-card h2,
body.jam-theme-dark .jam-appdash-main .jam-appdash-card p,
body.jam-theme-dark .jam-appdash-main .jam-appdash-stat span,
body.jam-theme-dark .jam-appdash-main .jam-appdash-stat strong,
body.jam-theme-dark .jam-appdash-main .jam-app-table th,
body.jam-theme-dark .jam-appdash-main .jam-app-table td,
body.jam-theme-dark .jam-company-main .jam-company-head h1,
body.jam-theme-dark .jam-company-main .jam-company-head p,
body.jam-theme-dark .jam-company-main .jam-company-card h2,
body.jam-theme-dark .jam-company-main .jam-company-card p,
body.jam-theme-dark .jam-company-main .jam-company-stat-card strong,
body.jam-theme-dark .jam-company-main .jam-company-stat-card p,
body.jam-theme-dark .jam-settings-main .jam-settings-head h1,
body.jam-theme-dark .jam-settings-main .jam-settings-head p,
body.jam-theme-dark .jam-settings-main .jam-settings-card h2,
body.jam-theme-dark .jam-settings-main .jam-settings-card p,
body.jam-theme-dark .jam-settings-main .jam-settings-key,
body.jam-theme-dark .jam-settings-main .jam-settings-note,
body.jam-theme-dark .jam-settings-main .jam-settings-action strong,
body.jam-theme-dark .jam-settings-main .jam-settings-action span,
body.jam-theme-dark .jam-settings-main .jam-settings-toggle strong,
body.jam-theme-dark .jam-settings-main .jam-settings-toggle span,
body.jam-theme-dark .jam-settings-main .jam-settings-tool strong,
body.jam-theme-dark .jam-settings-main .jam-settings-tool span {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-service-order-notice.is-ok,
body.jam-theme-dark .jam-post-status.is-ok,
body.jam-theme-dark .jam-form-message.is-ok {
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(66, 98, 191, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(19, 35, 61, 0.98), rgba(11, 24, 43, 0.96)) !important;
  border-color: rgba(127, 183, 232, 0.34) !important;
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-service-order-notice.is-error,
body.jam-theme-dark .jam-post-status.is-error,
body.jam-theme-dark .jam-form-message.is-error {
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(248, 113, 113, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(49, 22, 28, 0.96), rgba(32, 17, 22, 0.94)) !important;
  border-color: rgba(248, 113, 113, 0.26) !important;
  color: #fecaca !important;
}

body.jam-theme-dark .jam-home-shortcut-card,
body.jam-theme-dark .jam-home-journey-card,
body.jam-theme-dark .jam-home-process-step,
body.jam-theme-dark .jam-home-metric-card,
body.jam-theme-dark .jam-jobs-shell,
body.jam-theme-dark .jam-job-item,
body.jam-theme-dark .jam-service-card,
body.jam-theme-dark .jam-profile-card,
body.jam-theme-dark .jam-company-card,
body.jam-theme-dark .jam-appdash-card,
body.jam-theme-dark .jam-settings-card,
body.jam-theme-dark .jam-settings-card-primary,
body.jam-theme-dark .jam-settings-card-soft,
body.jam-theme-dark .jam-settings-action,
body.jam-theme-dark .jam-settings-toggle,
body.jam-theme-dark .jam-settings-tool,
body.jam-theme-dark .jam-settings-meta-grid > div,
body.jam-theme-dark .jam-settings-access-list li,
body.jam-theme-dark .jam-category-hero,
body.jam-theme-dark .jam-category-highlight,
body.jam-theme-dark .jam-category-stat-card,
body.jam-theme-dark .jam-category-feedback,
body.jam-theme-dark .jam-category-card,
body.jam-theme-dark .jam-category-sector-card,
body.jam-theme-dark .jam-category-route-card,
body.jam-theme-dark .jam-provider-empty-card,
body.jam-theme-dark .rich-card,
body.jam-theme-dark .rich-notif-box {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-home-shortcut-card *,
body.jam-theme-dark .jam-home-journey-card *,
body.jam-theme-dark .jam-home-process-step *,
body.jam-theme-dark .jam-home-metric-card *,
body.jam-theme-dark .jam-jobs-shell *,
body.jam-theme-dark .jam-job-item *,
body.jam-theme-dark .jam-service-card *,
body.jam-theme-dark .jam-profile-card *,
body.jam-theme-dark .jam-company-card *,
body.jam-theme-dark .jam-appdash-card *,
body.jam-theme-dark .jam-settings-card *,
body.jam-theme-dark .jam-settings-action *,
body.jam-theme-dark .jam-settings-toggle *,
body.jam-theme-dark .jam-settings-tool *,
body.jam-theme-dark .jam-settings-meta-grid > div *,
body.jam-theme-dark .jam-category-hero *,
body.jam-theme-dark .jam-category-highlight *,
body.jam-theme-dark .jam-category-stat-card *,
body.jam-theme-dark .jam-category-feedback *,
body.jam-theme-dark .jam-category-card *,
body.jam-theme-dark .jam-category-sector-card *,
body.jam-theme-dark .jam-category-route-card *,
body.jam-theme-dark .jam-provider-empty-card *,
body.jam-theme-dark .rich-card *,
body.jam-theme-dark .rich-notif-box * {
  border-color: rgba(120, 146, 192, 0.18);
}

body.jam-theme-dark .jam-home-shortcut-card h2,
body.jam-theme-dark .jam-home-shortcut-card h3,
body.jam-theme-dark .jam-home-journey-card h2,
body.jam-theme-dark .jam-home-journey-card h3,
body.jam-theme-dark .jam-home-process-step h2,
body.jam-theme-dark .jam-home-process-step h3,
body.jam-theme-dark .jam-home-metric-card h2,
body.jam-theme-dark .jam-home-metric-card h3,
body.jam-theme-dark .jam-jobs-shell h1,
body.jam-theme-dark .jam-jobs-shell h2,
body.jam-theme-dark .jam-jobs-shell h3,
body.jam-theme-dark .jam-job-item h2,
body.jam-theme-dark .jam-job-item h3,
body.jam-theme-dark .jam-service-card h2,
body.jam-theme-dark .jam-service-card h3,
body.jam-theme-dark .jam-profile-card h2,
body.jam-theme-dark .jam-profile-card h3,
body.jam-theme-dark .jam-company-card h2,
body.jam-theme-dark .jam-company-card h3,
body.jam-theme-dark .jam-appdash-card h2,
body.jam-theme-dark .jam-appdash-card h3,
body.jam-theme-dark .rich-card h1,
body.jam-theme-dark .rich-card h2,
body.jam-theme-dark .rich-card h3,
body.jam-theme-dark .rich-notif-box h1,
body.jam-theme-dark .rich-notif-box h2,
body.jam-theme-dark .rich-notif-box h3,
body.jam-theme-dark strong,
body.jam-theme-dark label {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-home-shortcut-card p,
body.jam-theme-dark .jam-home-journey-card p,
body.jam-theme-dark .jam-home-process-step p,
body.jam-theme-dark .jam-home-metric-card p,
body.jam-theme-dark .jam-jobs-shell p,
body.jam-theme-dark .jam-job-item p,
body.jam-theme-dark .jam-service-card p,
body.jam-theme-dark .jam-profile-card p,
body.jam-theme-dark .jam-company-card p,
body.jam-theme-dark .jam-appdash-card p,
body.jam-theme-dark .rich-card p,
body.jam-theme-dark .rich-card span,
body.jam-theme-dark .rich-card li,
body.jam-theme-dark .rich-notif-box p,
body.jam-theme-dark .rich-notif-box span,
body.jam-theme-dark .rich-notif-box li,
body.jam-theme-dark small {
  color: #9fb0c8 !important;
}

/* NAV/HEADER */
.rich-top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(72px, 10vw, 90px);
  padding: 0 clamp(16px, 5vw, 32px);
  background: linear-gradient(135deg, #f7f8fc, #e7eaf4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.rich-logo a {
  display: flex;
  align-items: center;
}

.rich-logo img {
  height: clamp(48px, 7.2vw, 68px);
  width: auto;
}

.rich-right-section {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 18px);
}

.jam-icon-btn {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
}

.jam-icon-btn:hover {
  background-color: var(--rich-highlight);
}

.jam-btn-img {
  width: clamp(20px, 2.8vw, 26px);
  height: clamp(20px, 2.8vw, 26px);
  object-fit: contain;
  display: block;
}

body.jam-theme-dark .jam-btn-img {
  filter: brightness(0) invert(1);
}

.rich-notif {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rich-notif-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(90vw, 380px);
  min-height: 120px;
  background: var(--rich-surface);
  border: 1px solid rgba(0, 56, 168, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 16px 32px rgba(12, 24, 46, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1001;
}

.rich-notif:hover .rich-notif-box,
.rich-notif:focus-within .rich-notif-box {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rich-notif-title {
  font-weight: 600;
  color: var(--rich-primary);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.rich-notif-empty {
  color: var(--rich-muted);
  font-size: 0.9rem;
}

.rich-right-section input {
  padding: 10px 16px;
  border-radius: 24px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  outline: none;
  width: clamp(140px, 20vw, 200px);
}

.rich-right-section input::placeholder {
  color: #9ca3af;
}

nav a {
  text-decoration: none;
  color: var(--rich-text);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a:hover {
  background-color: var(--rich-highlight);
}

.jam-auth-trigger {
  background: none;
  border: none;
  color: var(--rich-text);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  min-width: 120px;
  flex: 0 0 auto;
}

.jam-auth-trigger:hover {
  background-color: var(--rich-highlight);
}

.jam-auth-trigger.jam-auth-has-image {
  padding: 4px 6px;
  min-width: 0;
  min-height: 0;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jam-auth-trigger.jam-auth-has-image:hover {
  background: transparent;
}

.jam-auth-img {
  height: clamp(24px, 2.4vw, 30px);
  width: auto;
  display: block;
  pointer-events: none;
}

.jam-auth-img-inline {
  height: clamp(24px, 4vw, 30px);
  width: auto;
}

.jam-auth-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.jam-profile-pfp {
  width: clamp(30px, 3.1vw, 38px);
  height: clamp(30px, 3.1vw, 38px);
  border-radius: 50%;
  border: 2px solid rgba(27, 35, 126, 0.38);
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 14px rgba(24, 37, 80, 0.18);
}

body.jam-theme-dark .jam-auth-trigger:not(.jam-auth-has-image) {
  background: rgba(219, 231, 255, 0.08);
  border: 1px solid rgba(120, 146, 192, 0.22);
  color: #e5edf8;
}

body.jam-theme-dark .jam-auth-trigger:not(.jam-auth-has-image):hover {
  background: rgba(219, 231, 255, 0.14);
}

@media (max-width: 1024px) {
  .jam-auth-trigger {
    min-width: 108px;
    min-height: 42px;
    padding: 6px 8px;
  }

  .jam-auth-img {
    height: clamp(23px, 3.2vw, 28px);
    width: auto;
  }
}

main {
  padding-top: clamp(90px, 12vw, 110px);
}

.jam-home-main {
  padding-top: 0;
}

/* SIDEBAR */
.rich-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.rich-sidebar {
  position: fixed;
  top: clamp(70px, 12vw, 90px);
  right: -320px;
  width: min(90vw, 300px);
  height: calc(100% - clamp(90px, 12vw, 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: var(--rich-surface);
  border-radius: 20px 0 0 20px;
  padding: 20px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease;
  z-index: 999;
}

.rich-sidebar.jam-open {
  right: 0;
}

.rich-sidebar-overlay.jam-active {
  opacity: 1;
  pointer-events: auto;
}

.rich-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  min-height: min-content;
}

.rich-sidebar a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.rich-sidebar-section-title {
  margin: 10px 0 4px;
  padding: 0 12px;
  color: #7a88a6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-auth-inline {
  background: none;
  border: none;
  color: inherit;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.jam-mobile-only {
  display: none;
}

.rich-sidebar li {
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  color: var(--rich-text);
}

.rich-sidebar li:hover {
  background: rgba(31, 42, 138, 0.12);
  font-weight: 600;
}

.rich-sidebar-item.jam-active {
  background: linear-gradient(135deg, rgba(48, 72, 146, 0.18), rgba(66, 98, 191, 0.08));
  border: 1px solid rgba(66, 98, 191, 0.18);
}

body.jam-theme-dark .rich-sidebar-section-title {
  color: #8ea1c7;
}

body.jam-theme-dark .rich-sidebar-item.jam-active {
  background: linear-gradient(135deg, rgba(66, 98, 191, 0.22), rgba(24, 39, 84, 0.58));
  border: 1px solid rgba(120, 146, 192, 0.22);
}

/* HERO */
.rich-hero {
  position: relative;
  width: 100%;
  height: clamp(60vh, 80vh, 90vh);
  margin-top: clamp(64px, 10vw, 80px);
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

.rich-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(9, 14, 30, 0.72),
    rgba(11, 60, 168, 0.42)
  );
}

.rich-hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(20px, 6vw, 60px) clamp(78px, 10vh, 120px);
  gap: clamp(16px, 4vw, 48px);
  z-index: 2;
}

.rich-hero-brand {
  flex: 0 0 auto;
  margin-left: auto;
}

.rich-hero-copy {
  width: min(52vw, 620px);
  color: #f8fafc;
  display: grid;
  gap: 12px;
  text-align: left;
  margin-right: auto;
}

.rich-hero-copy h1 {
  font-size: clamp(1.8rem, 4.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: 0.4px;
}

.rich-hero-copy p {
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  color: rgba(241, 245, 249, 0.95);
  max-width: 58ch;
}

.rich-hero-logo {
  height: clamp(118px, 19vw, 230px);
  width: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.jam-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
}

.jam-hero-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: 16px;
}

.jam-secondary-btn {
  background: linear-gradient(135deg, #1b237e 0%, #2d3aa8 72%, #3146c7 100%);
  border: 1px solid rgba(27, 35, 126, 0.45);
  color: #ffffff !important;
}

@media (min-width: 1440px) {
  .rich-top-header {
    padding-inline: clamp(32px, 6vw, 84px);
  }

  .rich-hero {
    height: min(88vh, 980px);
  }

  .rich-hero-content {
    padding-inline: clamp(48px, 8vw, 120px);
    gap: clamp(30px, 5vw, 84px);
  }

  .rich-hero-copy {
    width: min(52vw, 860px);
  }

  .rich-hero-copy h1 {
    font-size: clamp(2.4rem, 3vw, 3.7rem);
  }

  .rich-hero-copy p {
    font-size: clamp(1.1rem, 1.2vw, 1.35rem);
  }

  .rich-hero-logo {
    height: clamp(120px, 12vw, 230px);
  }
}

@media (min-width: 1920px) {
  .rich-hero-content {
    max-width: 1800px;
    margin-inline: auto;
    width: 100%;
  }

  .rich-hero-bottom {
    max-width: 1700px;
    padding-inline: clamp(48px, 5vw, 100px);
  }
}

.rich-hero-search {
  position: absolute;
  bottom: clamp(40px, 8vw, 80px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: white;
  padding: clamp(10px, 3vw, 14px) clamp(14px, 4vw, 18px);
  border-radius: 30px;
  width: min(90%, 600px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.jam-search-icon {
  margin-right: 10px;
  font-size: 1.1rem;
  color: var(--rich-muted);
}

.jam-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.rich-hero-bottom {
  position: relative;
  margin-top: -60px;
  background: white;
  border-radius: 30px 30px 0 0;
  padding: clamp(50px, 10vw, 80px) clamp(20px, 6vw, 40px) clamp(100px, 15vw, 140px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 5vw, 32px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

.rich-hero-bottom,
.rich-footer .rich-container {
  width: min(100%, 1600px);
  margin-inline: auto;
}

.rich-hero-card {
  background: #f9fafb;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 30px);
  min-height: clamp(240px, 40vw, 320px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
  color: var(--rich-text);
}

.jam-card-media {
  width: 100%;
  height: clamp(132px, 16vw, 188px);
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 8px;
}

.rich-hero-card h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}

.rich-hero-card p {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.45;
}

.jam-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jam-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(12, 24, 46, 0.12);
  background: var(--rich-surface);
}

.jam-card-link:active {
  transform: translateY(-2px);
}

.rich-hero-cta {
  display: grid;
  place-items: center;
  margin: 12px 0 40px;
  grid-column: 1 / -1;
}

.jam-cta-btn {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 24px;
}

@media (max-width: 1024px) {
  .rich-hero-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rich-right-section input {
    display: none;
  }

  .rich-hero-bottom {
    grid-template-columns: 1fr;
  }

  .rich-hero-content {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-bottom: 92px;
  }

  .rich-hero-brand {
    display: grid;
    place-items: center;
    margin-left: 0;
  }

  .rich-hero-copy {
    width: min(92vw, 680px);
    justify-items: center;
  }

  .jam-hero-actions {
    justify-content: center;
  }

  .jam-hero-btn {
    width: 100%;
    max-width: 360px;
  }

  .jam-card-media {
    height: clamp(140px, 34vw, 210px);
  }

  .rich-hero-card {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .rich-top-header {
    height: auto;
    padding: 10px 12px;
    border-radius: 0 0 20px 20px;
  }

  .rich-right-section {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .rich-right-section nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
  }

  nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .jam-auth-img {
    height: 24px;
    width: auto;
  }

  .jam-icon-btn {
    padding: 6px 8px;
  }

  main:not(.jam-home-main) {
    padding-top: 120px;
  }

  .rich-hero {
    height: 70vh;
    border-radius: 0 0 20px 20px;
  }

  .rich-hero-search {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 28px;
    transform: translateX(-50%);
    width: 92%;
    padding: 10px 12px;
    z-index: 4;
  }

  .rich-hero-card {
    min-height: 200px;
  }

  .rich-card {
    width: min(94vw, 500px);
    padding: 22px;
    border-radius: 22px;
  }

  .rich-footer {
    padding: 50px 0;
  }

  .rich-footer-column {
    width: 100%;
  }

  .rich-row {
    gap: 16px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .rich-logo img {
    height: 52px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 7px 9px;
  }

  .jam-icon-btn {
    font-size: 1rem;
    padding: 7px 8px;
  }

  .rich-hero-search {
    border-radius: 20px;
  }

  .jam-search-input,
  .jam-input,
  .jam-select {
    font-size: 0.95rem;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .rich-header h2 {
    font-size: 1.35rem;
  }

  .jam-submit {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .rich-hero-card {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .rich-top-header {
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(135deg, #fdfefe, #eef3ff);
    box-shadow: 0 12px 28px rgba(12, 24, 46, 0.12);
  }

  .rich-logo img {
    height: 50px;
  }

  .rich-left-section {
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .rich-right-section {
    width: auto;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .rich-right-section nav {
    width: auto;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .rich-right-section nav a,
  .jam-auth-trigger {
    font-size: 0.88rem;
    padding: 6px 8px;
    white-space: nowrap;
  }

  .jam-auth-trigger {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    min-width: 78px;
    min-height: 34px;
  }

  .rich-notif,
  #jam-sidebar-btn {
    flex: 0 0 auto;
  }

  .rich-right-section nav {
    display: none;
  }

  .jam-mobile-only {
    display: block;
  }

  .rich-hero {
    display: grid;
    align-items: center;
    padding: 0 12px;
    height: 76vh;
  }

  .rich-hero-content {
    padding-inline: 10px;
    gap: 12px;
    justify-content: center;
    text-align: center;
    padding-bottom: 94px;
  }

  .rich-hero-copy {
    width: min(92vw, 520px);
    justify-items: center;
  }

  .jam-hero-actions {
    justify-content: center;
  }

  .rich-hero-copy h1 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .rich-hero-copy p {
    font-size: 0.88rem;
    max-width: 34ch;
  }

  .rich-hero-search {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(92%, 520px);
    z-index: 4;
  }

  .rich-hero-bottom {
    margin-top: 0;
    padding: 32px 14px 70px;
    border-radius: 22px 22px 0 0;
  }

  .rich-hero-card {
    min-height: 180px;
    padding: 16px;
    gap: 8px;
  }

  .jam-card-media {
    height: clamp(130px, 46vw, 190px);
    border-radius: 12px;
  }

  .rich-hero-logo {
    height: clamp(84px, 34vw, 130px);
  }

  .rich-notif-box {
    left: auto;
    right: 0;
    transform: translateY(-6px);
    width: min(92vw, 320px);
  }

  .rich-notif:hover .rich-notif-box,
  .rich-notif:focus-within .rich-notif-box {
    transform: translateY(0);
  }

  .rich-hero-cta {
    margin: 10px 0 30px;
  }

  .jam-cta-btn {
    width: min(92vw, 320px);
    text-align: center;
  }

  .rich-carousel-wrap {
    padding: 120px 12px 60px;
    display: grid;
    justify-items: center;
  }

  .rich-carousel-card {
    min-width: 100%;
  }

  .rich-carousel {
    width: 100%;
    overflow: visible;
    scroll-snap-type: none;
    cursor: pointer;
  }

  .rich-carousel-track {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 4px 0 10px;
  }

  .rich-carousel-track > .rich-carousel-card:nth-child(n + 5) {
    display: none;
  }

  .rich-modal-card {
    width: 92vw;
    padding: 20px;
  }

  .jam-modal-close {
    width: 32px;
    height: 32px;
  }

  .rich-footer {
    padding: 40px 0;
  }
}

@media (max-width: 390px) {
  .rich-logo img {
    height: 46px;
  }

  .rich-hero {
    height: 78vh;
  }

  .rich-hero-copy h1 {
    font-size: clamp(1.3rem, 7.5vw, 1.75rem);
  }

  .rich-hero-copy p {
    font-size: 0.92rem;
  }

  .jam-hero-btn {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .rich-hero-search {
    bottom: 16px;
    padding: 8px 10px;
  }

  .jam-card-media {
    height: 124px;
  }

  .rich-hero-card h3 {
    font-size: 1rem;
  }

  .rich-hero-card p {
    font-size: 0.9rem;
  }
}

/* Log IN */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.rich-page {
  font-family: 'Outfit', sans-serif;
  background: radial-gradient(circle at 15% 10%, #fff3e4 0%, #e8f2ff 45%, #f8f9fb 80%);
  min-height: 100vh;
}

.rich-auth {
  padding-top: clamp(100px, 14vw, 130px);
  display: grid;
  place-items: center;
}

.rich-card {
  width: min(92vw, 500px);
  background: var(--rich-surface);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(12, 24, 46, 0.14);
  display: grid;
  gap: 18px;
  border: 1px solid rgba(0, 56, 168, 0.08);
}

.rich-header {
  display: grid;
  gap: 6px;
}

.rich-header h2 {
  font-size: 1.45rem;
  color: var(--rich-primary);
  letter-spacing: 0.2px;
}

.rich-switch {
  font-size: 0.95rem;
  color: #51607a;
}

.rich-switch a {
  color: #d1322b;
  text-decoration: none;
  font-weight: 600;
}

.rich-switch a:hover {
  text-decoration: underline;
}

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

.rich-field {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: #475569;
}

.jam-form .jam-signup-only {
  display: none;
}

.jam-form.is-signup .jam-signup-only {
  display: grid;
}

.jam-select {
  appearance: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 36px 12px 14px;
  font-size: 1rem;
  outline: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.jam-select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
}

.jam-input {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jam-input:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
}

.jam-submit {
  border: none;
  background: linear-gradient(90deg, var(--rich-primary), var(--rich-accent));
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.jam-submit:hover {
  box-shadow: 0 12px 24px rgba(31, 42, 138, 0.28);
}

.jam-submit:active {
  transform: translateY(1px);
}

.jam-verify-btn {
  border: 1px solid rgba(27, 35, 126, 0.45);
  background: linear-gradient(135deg, #1b237e 0%, #2d3aa8 100%);
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.jam-verify-btn:hover {
  box-shadow: 0 10px 20px rgba(31, 42, 138, 0.24);
}

.rich-hint {
  text-align: center;
  color: var(--rich-muted);
  font-size: 0.9rem;
}

.rich-hint a {
  color: inherit;
  text-decoration: none;
}

.rich-hint a:hover {
  text-decoration: underline;
}

.rich-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  align-items: start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
  padding: 18px 12px;
  overflow-y: auto;
}

.rich-modal.jam-open {
  opacity: 1;
  pointer-events: auto;
}

.rich-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 46, 0.45);
  backdrop-filter: blur(2px);
}

.rich-modal-card {
  position: relative;
  width: min(92vw, 520px);
  background: var(--rich-surface);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(12, 24, 46, 0.2);
  z-index: 1;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  margin: auto 0;
}

.rich-modal-card .rich-header {
  margin-bottom: 10px;
}

.rich-modal-card .rich-header h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.2;
}

.rich-modal-card .jam-form {
  gap: 12px;
}

.rich-modal-card .rich-field span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

.rich-modal-card .jam-input,
.rich-modal-card .jam-select {
  min-height: 44px;
}

.rich-modal-card .rich-switch {
  margin-top: 2px;
}

.rich-modal-card .jam-submit,
.rich-modal-card .jam-verify-btn {
  min-height: 44px;
}

.rich-modal-card .jam-form-message {
  margin-top: 6px;
}

.rich-modal-card .jam-signup-security {
  display: none;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #dce4ef;
}

.rich-modal-card .jam-form.is-signup .jam-signup-security {
  display: grid;
}

.jam-signup-security-title {
  color: #1f2e46;
  font-weight: 800;
}

.jam-signup-welcome {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.jam-signup-welcome-kicker {
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jam-signup-welcome h3 {
  color: #1f2e46;
  font-size: 1rem;
}

.jam-signup-welcome p {
  color: #5b6475;
  line-height: 1.5;
  font-size: 0.92rem;
}

.jam-signup-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.jam-signup-checklist li {
  position: relative;
  padding-left: 22px;
  color: #5b6475;
  line-height: 1.45;
  font-size: 0.92rem;
}

.jam-signup-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.jam-signup-checklist li.is-passed {
  color: #166534;
}

.jam-signup-checklist li.is-passed::before {
  background: #22c55e;
}

.jam-verification-banner {
  width: min(96vw, 1600px);
  margin: calc(clamp(90px, 12vw, 110px) + 8px) auto 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid #dbe3f2;
  background: linear-gradient(135deg, #fff8eb 0%, #fffdf7 100%);
  box-shadow: 0 16px 34px rgba(15, 30, 68, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.jam-verification-banner-copy {
  display: grid;
  gap: 6px;
}

.jam-verification-banner-copy strong {
  color: #7c2d12;
  font-size: 1rem;
}

.jam-verification-banner-copy p {
  color: #6b4f2c;
  line-height: 1.5;
}

.jam-verification-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.jam-verification-banner-actions .jam-submit,
.jam-verification-banner-actions .jam-profile-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 18px;
  white-space: nowrap;
}

.jam-verification-banner-actions .jam-profile-secondary {
  min-width: 110px;
  background: #ffffff !important;
  color: #1f2e46 !important;
  border: 1px solid #d6deef !important;
  box-shadow: none;
}

.jam-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #f1f5fb;
  color: var(--rich-primary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
}

.jam-modal-close:hover {
  background: #e8eef8;
}

.jam-modal-open {
  overflow: hidden;
}

.rich-carousel-wrap {
  padding: clamp(110px, 16vw, 140px) clamp(16px, 6vw, 40px) 80px;
}

.rich-carousel-title {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--rich-primary);
  margin: 0 auto 18px;
  text-align: center;
  width: fit-content;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid rgba(0, 56, 168, 0.6);
  box-shadow:
    0 0 16px rgba(0, 56, 168, 0.45),
    0 0 20px rgba(206, 17, 38, 0.35);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.rich-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 16px 14px;
  scrollbar-width: none;
  cursor: grab;
  scroll-padding: 0 16px;
}

.rich-carousel.is-dragging {
  cursor: grabbing;
}

.rich-carousel-track {
  display: flex;
  gap: 20px;
  padding: 4px 0 10px;
}

.rich-carousel-card {
  min-width: clamp(220px, 60vw, 320px);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(120deg, #0038a8, #ce1126, #ffd200) border-box;
  background-size: 100% 100%, 200% 200%;
  border-radius: 18px;
  padding: 22px;
  border: 2px solid transparent;
  box-shadow:
    0 10px 20px rgba(12, 24, 46, 0.08),
    0 0 18px rgba(0, 56, 168, 0.22);
  display: grid;
  gap: 8px;
  color: var(--rich-text);
  scroll-snap-align: center;
  animation: jam-card-gradient 6s ease infinite;
}

@keyframes jam-card-gradient {
  0% {
    background-position: 0% 50%, 0% 50%;
  }
  50% {
    background-position: 0% 50%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 0% 50%;
  }
}

.rich-carousel-card h3 {
  color: var(--rich-primary);
}

.rich-carousel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Only update the heading shown in the screenshot */
.rich-carousel-wrap.jam-reveal-section .rich-carousel-title {
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  letter-spacing: 0.4px;
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 56, 168, 0.24);
  box-shadow: 0 8px 18px rgba(12, 24, 46, 0.1);
}

@media (max-width: 640px) {
  .rich-carousel-wrap {
    padding-top: 140px;
  }
}

/* FOOTER */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
.rich-container {
    max-width: 1170px;
    
    margin: auto;
}
.rich-row {
    display: flex;
    flex-wrap: wrap;
}
ul {
    list-style: none;

}
.rich-footer {
    background-color: #24262b;
    padding: 70px 0;
}
.rich-footer-column {
width: 25%;
padding: 0 15px;
}
.rich-footer-column h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
    
}
.rich-footer-column h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #302bd8;
    height: 2px;
    box-sizing: border-box;
    width: 50px;

}.rich-footer-column ul li:not(:last-child) {
    margin-bottom: 10px;
}
.rich-footer-column ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}
.rich-footer-column ul li a:hover{
    color: #ffffff;
    padding-left: 10px;
}
.rich-footer-column .jam-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2 );
  margin: 0 10px 0 10px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color:#ffffff;  
  transition: all 0.5s ease;
}
.rich-footer-column .jam-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}
.rich-footer-column .jam-social a:hover {
    color: #24262b;
    background-color: #ffffff;
}
@media (max-width: 767px) {
    .rich-footer-column{
        width: 50%;
        margin-bottom: 30px;
    }
    
}
@media (max-width: 574px){
    .rich-footer-column {
        width: 100%;
        
    }
}

.jam-reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.jam-reveal-up.jam-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Keep hero search centered even when reveal classes are applied */
.rich-hero-search.jam-reveal-up,
.rich-hero-search.jam-reveal-up.jam-in-view {
  opacity: 1;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .rich-hero-search.jam-reveal-up,
  .rich-hero-search.jam-reveal-up.jam-in-view {
    transform: translateX(-50%);
  }
}

/* Final mobile overrides (must stay at end) */
@media (max-width: 640px) {
  .rich-top-header {
    padding: 10px 12px !important;
    border-radius: 0 0 14px 14px !important;
  }

  .rich-logo img {
    height: 52px !important;
  }

  .rich-right-section {
    gap: 6px !important;
  }

  .rich-right-section nav a {
    font-size: 0.9rem !important;
    padding: 7px 9px !important;
  }

  .jam-auth-trigger {
    min-width: 82px !important;
    min-height: 34px !important;
    padding: 5px 7px !important;
  }

  .jam-auth-img {
    height: 22px !important;
    width: auto !important;
  }

  .jam-auth-img-inline {
    height: 22px !important;
    width: auto !important;
  }

  .jam-profile-pfp {
    width: 32px !important;
    height: 32px !important;
  }

  .jam-btn-img {
    width: 20px !important;
    height: 20px !important;
  }

  .jam-icon-btn {
    font-size: 1rem !important;
    padding: 7px 8px !important;
  }

  .jam-card-media {
    height: 118px !important;
  }
}

@media (max-width: 430px) {
  .rich-logo img {
    height: 46px !important;
  }

  .rich-right-section nav a {
    font-size: 0.82rem !important;
    padding: 6px 7px !important;
  }

  .jam-auth-img,
  .jam-auth-img-inline {
    height: 19px !important;
  }

  .jam-profile-pfp {
    width: 30px !important;
    height: 30px !important;
  }

  .jam-btn-img {
    width: 18px !important;
    height: 18px !important;
  }

  .jam-card-media {
    height: 104px !important;
  }
}

/* Strict media sizing for uploaded assets */
@media (max-width: 768px) {
  .rich-hero {
    height: 58vh !important;
    min-height: 300px !important;
  }

  .rich-hero-video {
    object-fit: cover !important;
    object-position: center center !important;
  }

  .jam-card-media {
    width: 100% !important;
    height: 128px !important;
    max-height: 128px !important;
  }

  .jam-btn-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }

  .jam-auth-img,
  .jam-auth-img-inline {
    height: 20px !important;
    max-height: 20px !important;
    width: auto !important;
  }
}

@media (max-width: 520px) {
  .rich-hero {
    height: 52vh !important;
    min-height: 260px !important;
  }

  .jam-card-media {
    height: 112px !important;
    max-height: 112px !important;
  }

  .jam-btn-img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }

  .jam-auth-img,
  .jam-auth-img-inline {
    height: 18px !important;
    max-height: 18px !important;
  }
}

/* Header + Notification polish */
.rich-top-header {
  min-height: clamp(74px, 10vw, 90px);
}

.rich-left-section,
.rich-right-section,
.rich-right-section nav {
  display: flex;
  align-items: center;
}

.rich-right-section {
  gap: clamp(8px, 1.8vw, 16px);
  flex-wrap: nowrap;
}

.rich-right-section nav {
  gap: clamp(4px, 1vw, 10px);
  flex-wrap: nowrap;
}

.jam-icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rich-notif-box {
  width: min(92vw, 380px);
  max-height: min(58vh, 420px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(30, 64, 175, 0.16);
  box-shadow: 0 18px 36px rgba(12, 24, 46, 0.2);
}

.rich-notif-head {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: -12px -14px 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rich-notif-head .rich-notif-title {
  margin: 0;
}

.rich-notif-clear {
  border: 1px solid rgba(27, 35, 126, 0.35);
  background: #eef2ff;
  color: #1b237e;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.76rem;
  line-height: 1;
  cursor: pointer;
}

.rich-notif-clear:hover {
  background: #dfe7ff;
}

.rich-notif-item {
  padding: 10px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.rich-notif-item-title {
  font-weight: 600;
  color: #0b3ca8;
  font-size: 0.9rem;
}

.rich-notif-item-body {
  font-size: 0.86rem;
  color: #334155;
  margin-top: 3px;
}

.rich-notif-item-time {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .rich-top-header {
    padding: 10px 12px !important;
  }

  .rich-right-section {
    gap: 6px !important;
  }

  .jam-icon-btn {
    width: 38px;
    height: 38px;
  }

  .rich-notif-box {
    width: min(94vw, 350px);
    max-height: 52vh;
  }

  .rich-notif-head {
    margin: -10px -12px 8px;
    padding: 9px 10px;
  }

  .rich-modal-card {
    width: min(94vw, 460px);
    padding: 18px;
    border-radius: 16px;
  }

  .rich-modal-card .rich-header {
    margin-bottom: 8px;
  }

  .rich-modal-card .jam-form {
    gap: 10px;
  }

  .rich-modal-card .jam-input,
  .rich-modal-card .jam-select,
  .rich-modal-card .jam-submit,
  .rich-modal-card .jam-verify-btn {
    min-height: 42px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .rich-modal-card .rich-switch,
  .rich-modal-card .rich-hint {
    font-size: 0.88rem;
  }
}

/* Jobs apply flow */
.jam-jobs-main {
  min-height: 100vh;
  padding-top: clamp(92px, 10vw, 118px);
  padding-bottom: clamp(40px, 8vw, 70px);
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(11, 60, 168, 0.1), transparent 60%),
    radial-gradient(1100px 520px at 96% -20%, rgba(206, 17, 38, 0.08), transparent 62%),
    #f5f7fb;
}

.jam-jobs-shell {
  width: min(96vw, 1720px);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 38px);
  box-shadow: 0 18px 40px rgba(12, 24, 46, 0.08);
}

.jam-jobs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.jam-jobs-copy h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  color: #102a54;
}

.jam-jobs-copy p {
  margin-top: 8px;
  color: #334155;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
}

.jam-jobs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  min-height: 48px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #0b3ca8, #154ec7);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(11, 60, 168, 0.24);
}

.jam-jobs-status {
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.93rem;
}

.jam-job-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 22px);
  margin: 10px 0 14px;
}

.jam-job-item {
  border: 1px solid #d4dce8;
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jam-job-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(12, 24, 46, 0.1);
}

.jam-job-brand {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #123f9f, #1e5ad5);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.jam-job-item h3 {
  margin-top: 2px;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.35;
  color: #1f2e46;
}

.jam-job-meta {
  font-size: 0.94rem;
  color: #334155;
}

.jam-job-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jam-job-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0b3ca8;
  font-size: 0.85rem;
  font-weight: 600;
}

.jam-job-item .jam-submit {
  margin-top: 0;
  min-height: 42px;
  border-radius: 11px;
  padding-inline: 14px;
}

.jam-apply-btn.jam-job-applied {
  background: linear-gradient(135deg, #1b237e 0%, #2d3aa8 72%, #3146c7 100%);
}

.jam-jobs-links {
  margin-top: 14px;
}

@media (max-width: 1280px) {
  .jam-job-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .jam-job-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-jobs-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .jam-jobs-main {
    padding-top: 92px;
    padding-bottom: 34px;
  }

  .jam-jobs-shell {
    width: min(96vw, 680px);
    border-radius: 18px;
    padding: 14px;
  }

  .jam-job-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jam-job-item {
    min-height: 220px;
    border-radius: 16px;
    padding: 14px;
  }

  .jam-jobs-cta,
  .jam-job-item .jam-submit {
    width: 100%;
  }

  .jam-job-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Applicant profile */
.jam-profile-main {
  min-height: 100vh;
  padding-top: clamp(92px, 10vw, 118px);
  padding-bottom: clamp(36px, 6vw, 70px);
  background:
    radial-gradient(1000px 460px at 4% -12%, rgba(11, 60, 168, 0.1), transparent 58%),
    radial-gradient(950px 430px at 95% -20%, rgba(206, 17, 38, 0.09), transparent 60%),
    #f4f7fb;
}

.jam-settings-main {
  min-height: 100vh;
  padding-top: clamp(92px, 10vw, 118px);
  padding-bottom: clamp(36px, 6vw, 70px);
  background:
    radial-gradient(900px 430px at 8% -10%, rgba(11, 60, 168, 0.1), transparent 58%),
    radial-gradient(980px 440px at 95% -18%, rgba(206, 17, 38, 0.09), transparent 62%),
    #f4f7fb;
}

.jam-profile-shell {
  width: min(96vw, 1720px);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(16px, 2.8vw, 36px);
  box-shadow: 0 18px 40px rgba(12, 24, 46, 0.08);
}

.jam-settings-shell {
  width: min(96vw, 1720px);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(16px, 2.8vw, 36px);
  box-shadow: 0 18px 40px rgba(12, 24, 46, 0.08);
}

.jam-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.jam-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.jam-settings-head-copy {
  max-width: 760px;
}

.jam-settings-head-copy h1 {
  font-size: clamp(1.45rem, 2.8vw, 2.45rem);
  color: #102a54;
}

.jam-settings-head-copy p {
  margin-top: 8px;
  color: #475569;
  line-height: 1.55;
}

.jam-settings-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.jam-profile-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jam-profile-head-left h1 {
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  color: #102a54;
}

.jam-profile-head-left p {
  color: #475569;
  margin-top: 2px;
}

.jam-profile-head-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.jam-profile-secondary {
  background: #ffffff;
  color: #0b3ca8;
  border: 1px solid rgba(11, 60, 168, 0.4);
}

.jam-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(11, 60, 168, 0.2);
  background: #eef2ff;
}

.jam-avatar-fallback {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(145deg, #0b3ca8, #164cc0);
}

.jam-profile-status {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.jam-profile-status.is-ok {
  color: #123d68;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(41, 65, 127, 0.14), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid #9bb6ef;
}

.jam-profile-status.is-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.jam-profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(12px, 2vw, 22px);
}

.jam-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.jam-profile-card {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  padding: clamp(14px, 2vw, 20px);
}

.jam-settings-card {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  padding: clamp(14px, 2vw, 20px);
}

.jam-settings-card-primary {
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(11, 60, 168, 0.08), transparent 62%),
    #ffffff;
}

.jam-settings-card-soft {
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(59, 130, 246, 0.08), transparent 62%),
    #f8fbff;
}

.jam-profile-card h2 {
  color: #1f2e46;
  margin-bottom: 4px;
}

.jam-settings-card h2 {
  color: #1f2e46;
  margin-bottom: 4px;
}

.jam-settings-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.jam-settings-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid rgba(11, 60, 168, 0.18);
  color: #1d4ed8;
  font-weight: 800;
}

#jam-settings-verification-card.is-verified {
  background:
    radial-gradient(280px 150px at 100% 0%, rgba(22, 119, 200, 0.14), transparent 60%),
    linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
  border-color: #9bb6ef;
}

#jam-settings-verification-card.is-verified .jam-settings-card-head {
  align-items: center;
}

#jam-settings-verification-card.is-verified .jam-settings-role-badge {
  background: linear-gradient(135deg, #1b237e, #2d3aa8);
  color: #ffffff;
  border-color: rgba(27, 35, 126, 0.35);
}

#jam-settings-verification-card.is-verified .jam-settings-inline-actions {
  display: flex;
}

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

.jam-settings-meta-grid > div,
.jam-settings-action,
.jam-settings-access-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dce4ef;
}

.jam-settings-key {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #64748b;
}

.jam-settings-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: #1f2937;
  word-break: break-word;
}

.jam-settings-note {
  margin-top: 12px;
  color: #475569;
  line-height: 1.52;
}

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

.jam-settings-action {
  display: grid;
  gap: 5px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.jam-settings-action strong {
  color: #1f2e46;
}

.jam-settings-action span {
  color: #475569;
  line-height: 1.5;
}

.jam-settings-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(12, 24, 46, 0.08);
  border-color: rgba(11, 60, 168, 0.2);
}

.jam-settings-toggle-list {
  display: grid;
  gap: 10px;
}

.jam-settings-toggle,
.jam-settings-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dce4ef;
}

.jam-settings-toggle strong,
.jam-settings-tool strong {
  display: block;
  color: #1f2e46;
}

.jam-settings-toggle span,
.jam-settings-tool span {
  display: block;
  margin-top: 4px;
  color: #475569;
  line-height: 1.5;
}

.jam-settings-toggle input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #1d4ed8;
  flex: 0 0 auto;
}

.jam-settings-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.jam-settings-verification-actions {
  align-items: stretch;
}

.jam-settings-verification-actions .jam-submit,
.jam-settings-verification-actions .jam-profile-secondary {
  min-height: 48px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.jam-settings-verification-link {
  flex: 1 1 220px;
  min-height: 56px;
  padding: 14px 18px !important;
  line-height: 1.2;
  white-space: normal;
  word-break: keep-all;
}

.jam-settings-upload-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.jam-settings-upload-block {
  display: grid;
  gap: 8px;
}

.jam-settings-upload-status {
  align-self: center;
  color: #5c6a84;
  font-size: 0.9rem;
  line-height: 1.4;
}

.jam-upload-hidden-input {
  display: none !important;
}

.jam-settings-registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.jam-settings-tool {
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.jam-settings-tool:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(12, 24, 46, 0.08);
  border-color: rgba(11, 60, 168, 0.2);
}

.jam-settings-access-list,
.jam-settings-tips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.jam-settings-access-list li {
  color: #1f2937;
  font-weight: 600;
}

.jam-settings-tips li {
  position: relative;
  padding-left: 18px;
  color: #475569;
  line-height: 1.55;
}

.jam-settings-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1d4ed8;
}

.jam-profile-note {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.jam-profile-block + .jam-profile-block {
  margin-top: 12px;
}

.jam-profile-block h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: #1e3a8a;
}

.jam-profile-block p {
  color: #334155;
  line-height: 1.48;
}

.jam-profile-mini-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jam-profile-key {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #64748b;
}

.jam-profile-value {
  display: block;
  margin-top: 2px;
  color: #1f2937;
}

/* Force the homepage feature cards into a vertical stack on every screen size. */
.jam-home-feature-band,
.rich-hero-bottom.jam-home-feature-band {
  grid-template-columns: 1fr !important;
  width: min(92vw, 760px) !important;
  gap: 18px !important;
  margin-inline: auto !important;
}

.jam-home-feature-band > * {
  width: 100% !important;
  max-width: none !important;
}

.jam-feature-card,
.jam-home-highlight-card {
  min-height: 0 !important;
}

.jam-profile-form {
  display: grid;
  gap: 10px;
}

.jam-profile-form label {
  display: grid;
  gap: 5px;
}

.jam-profile-form label span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.jam-textarea {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.96rem;
  outline: none;
  resize: vertical;
  min-height: 90px;
}

.jam-textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
}

.jam-profile-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jam-profile-private-title {
  margin-top: 8px;
  font-size: 1rem;
  color: #1e3a8a;
}

.jam-profile-private-box {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: #f8fafc;
}

.jam-profile-private-note {
  color: #475569;
  font-size: 0.86rem;
}

/* Company dashboard + applicant viewer */
.jam-company-main {
  min-height: 100vh;
  padding: 28px 0;
  background: #f4f7fb;
}

.jam-company-shell {
  width: min(95vw, 1500px);
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.jam-company-head {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.jam-company-head h1 {
  color: #102a54;
}

.jam-company-head p {
  color: #475569;
  margin-top: 2px;
}

.jam-company-card {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  padding: 14px;
}

.jam-company-cap-list {
  list-style: disc;
  margin-left: 20px;
  color: #334155;
}

.jam-company-card-head {
  margin-bottom: 10px;
}

.jam-company-card-head p {
  color: #64748b;
}

.jam-company-empty {
  color: #64748b;
}

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

.jam-company-app-card {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
}

.jam-company-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

.jam-company-avatar-fallback {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, #0b3ca8, #1e5ad5);
}

.jam-company-app-body h3 {
  color: #1f2e46;
  margin-bottom: 3px;
}

.jam-company-app-body p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.jam-company-app-body .jam-submit {
  margin-top: 7px;
}

.jam-company-resume-shell {
  width: 100%;
}

@media (max-width: 1024px) {
  .jam-profile-grid {
    grid-template-columns: 1fr;
  }

  .jam-settings-grid {
    grid-template-columns: 1fr;
  }

  .jam-company-app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .jam-profile-shell {
    width: min(96vw, 700px);
    border-radius: 16px;
    padding: 12px;
  }

  .jam-settings-shell {
    width: min(96vw, 700px);
    border-radius: 16px;
    padding: 12px;
  }

  .jam-profile-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-settings-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-profile-head-right {
    width: 100%;
  }

  .jam-settings-head-actions {
    width: 100%;
  }

  .jam-profile-head-right .jam-submit {
    width: 100%;
    text-align: center;
  }

  .jam-settings-head-actions .jam-submit {
    width: 100%;
    text-align: center;
  }

  .jam-profile-mini-grid,
  .jam-profile-two-col {
    grid-template-columns: 1fr;
  }

  .jam-settings-meta-grid,
  .jam-settings-action-grid,
  .jam-settings-registration-grid,
  .jam-settings-tool-grid {
    grid-template-columns: 1fr;
  }

  .jam-settings-toggle,
  .jam-settings-tool,
  .jam-settings-inline-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-settings-inline-actions .jam-submit,
  .jam-settings-inline-actions .jam-profile-secondary {
    width: 100%;
    text-align: center;
  }

  .jam-settings-verification-actions .jam-submit,
  .jam-settings-verification-actions .jam-profile-secondary {
    min-width: 0;
  }

  .jam-verification-banner {
    width: min(96vw, 700px);
    margin-top: calc(clamp(108px, 14vw, 132px) + 8px);
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-verification-banner-actions {
    width: 100%;
  }

  .jam-verification-banner-actions .jam-submit,
  .jam-verification-banner-actions .jam-profile-secondary {
    width: 100%;
    text-align: center;
  }

  .jam-company-main {
    padding: 14px 0;
  }

  .jam-company-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-company-head .jam-submit {
    width: 100%;
    text-align: center;
  }
}

/* Applicant dashboard full page */
.jam-appdash-main {
  min-height: 100vh;
  padding-top: clamp(92px, 10vw, 118px);
  padding-bottom: clamp(36px, 6vw, 70px);
  background:
    radial-gradient(900px 430px at 8% -10%, rgba(11, 60, 168, 0.1), transparent 58%),
    radial-gradient(980px 440px at 95% -18%, rgba(206, 17, 38, 0.09), transparent 62%),
    #f4f7fb;
}

.jam-appdash-shell {
  width: min(96vw, 1720px);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(14px, 2.7vw, 34px);
  box-shadow: 0 18px 40px rgba(12, 24, 46, 0.08);
}

.jam-appdash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.jam-appdash-head h1 {
  color: #102a54;
  font-size: clamp(1.4rem, 2.7vw, 2.1rem);
}

.jam-appdash-head p {
  color: #475569;
  margin-top: 3px;
}

.jam-appdash-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jam-appdash-head-actions .jam-submit {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.jam-appdash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.jam-appdash-stat {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

.jam-appdash-stat span {
  color: #64748b;
  font-size: 0.86rem;
}

.jam-appdash-stat strong {
  color: #1e293b;
  font-size: 1.45rem;
}

.jam-appdash-card {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 14px;
}

.jam-appdash-card + .jam-appdash-card {
  margin-top: 12px;
}

.jam-appdash-card-head h2 {
  color: #1f2e46;
}

.jam-appdash-card-head p {
  color: #64748b;
  margin-top: 2px;
}

.jam-app-table-wrap {
  overflow: auto;
  margin-top: 10px;
}

.jam-app-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.92rem;
}

.jam-app-table th,
.jam-app-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.jam-app-table th {
  color: #475569;
  font-weight: 700;
  background: #f8fafc;
}

.jam-app-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.jam-status-submitted {
  background: #e2e8f0;
  color: #334155;
}

.jam-status-reviewed {
  background: #dbeafe;
  color: #1e3a8a;
}

.jam-status-accepted {
  background: #dcfce7;
  color: #166534;
}

.jam-status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.jam-app-delete-form {
  margin: 0;
  display: inline-block;
}

.jam-app-delete-btn {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #b91c1c;
  border-radius: 10px;
  min-height: 36px;
  min-width: 82px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.jam-app-delete-btn:hover {
  background: #ffe4e6;
}

.jam-appdash-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
}

.jam-appdash-jobs {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.jam-appdash-job {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 10px;
}

.jam-appdash-job h3 {
  color: #1f2e46;
  margin-bottom: 2px;
}

.jam-appdash-job p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.jam-appdash-job .jam-submit {
  margin-top: 8px;
  min-height: 40px;
  border-radius: 10px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: fit-content;
}

.jam-appdash-tips {
  margin-top: 10px;
  margin-left: 18px;
  color: #334155;
  display: grid;
  gap: 7px;
}

@media (max-width: 1100px) {
  .jam-appdash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-appdash-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .jam-appdash-shell {
    width: min(96vw, 700px);
    border-radius: 16px;
    padding: 12px;
  }

  .jam-appdash-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-appdash-head-actions {
    width: 100%;
  }

  .jam-appdash-head-actions .jam-submit {
    width: 100%;
    text-align: center;
    min-height: 44px;
  }

  .jam-appdash-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Logo + colorway final overrides */
.rich-logo img {
  height: clamp(48px, 7.2vw, 68px) !important;
  width: auto;
}

.rich-hero-logo {
  height: clamp(118px, 19vw, 230px);
}

nav a:hover,
.jam-auth-trigger:hover,
.jam-icon-btn:hover {
  background-color: var(--rich-highlight);
}

.jam-submit,
.jam-jobs-cta {
  background: linear-gradient(135deg, #1b237e 0%, #2d3aa8 72%, #b51d28 100%);
  color: #ffffff !important;
  border: 1px solid rgba(27, 35, 126, 0.35);
  text-decoration: none !important;
}

.jam-profile-secondary,
.jam-app-delete-btn {
  text-decoration: none !important;
}

.jam-profile-secondary {
  background: linear-gradient(135deg, #1b237e 0%, #2d3aa8 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(27, 35, 126, 0.45) !important;
}

.jam-app-delete-btn {
  background: linear-gradient(135deg, #1b237e 0%, #2d3aa8 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(27, 35, 126, 0.45) !important;
}

.jam-submit:hover,
.jam-jobs-cta:hover {
  box-shadow: 0 12px 24px rgba(27, 35, 126, 0.28);
  filter: saturate(1.05);
}

.jam-submit:focus-visible,
.jam-jobs-cta:focus-visible,
.jam-profile-secondary:focus-visible,
.jam-app-delete-btn:focus-visible {
  outline: 2px solid rgba(27, 35, 126, 0.45);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .rich-logo img {
    height: 52px !important;
  }
}

@media (max-width: 430px) {
  .rich-logo img {
    height: 46px !important;
  }
}

/* =========================================================
   Full UI Visual Revamp (2026-03-01)
   Goal: modern, calm, readable, brand-aligned interface
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --rev-bg: #f5f7fb;
  --rev-surface: #ffffff;
  --rev-surface-soft: #f9fbff;
  --rev-text: #162033;
  --rev-muted: #5f6b82;
  --rev-line: #dbe3f2;
  --rev-primary-1: #1f2d66;
  --rev-primary-2: #304892;
  --rev-primary-3: #4262bf;
  --rev-danger: #b24349;
  --rev-shadow: 0 10px 28px rgba(15, 30, 68, 0.11);
}

html,
body {
  font-family: 'Manrope', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--rev-text);
  background: radial-gradient(1000px 560px at 6% -8%, #e9eefb 0%, transparent 58%), var(--rev-bg);
}

body {
  line-height: 1.45;
}

.rich-top-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(48, 72, 146, 0.14);
  box-shadow: 0 12px 30px rgba(20, 38, 82, 0.12);
}

.rich-logo img {
  filter: drop-shadow(0 6px 10px rgba(24, 37, 80, 0.12));
}

nav a {
  font-weight: 700;
  letter-spacing: 0.1px;
}

nav a:hover {
  background: rgba(66, 98, 191, 0.12);
}

.rich-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-left: 1px solid rgba(48, 72, 146, 0.12);
}

.rich-sidebar li:hover {
  background: rgba(66, 98, 191, 0.12);
}

.rich-hero-overlay {
  background:
    linear-gradient(110deg, rgba(11, 19, 40, 0.72), rgba(31, 45, 102, 0.55));
}

.rich-hero-copy h1 {
  letter-spacing: 0.2px;
  text-wrap: balance;
}

.rich-hero-copy p {
  color: rgba(246, 249, 255, 0.94);
}

.rich-hero-search {
  border: 1px solid rgba(48, 72, 146, 0.18);
  box-shadow: 0 16px 34px rgba(18, 33, 72, 0.16);
}

.rich-hero-bottom,
.jam-jobs-shell,
.jam-profile-shell,
.jam-company-shell,
.jam-appdash-shell,
.rich-card,
.jam-appdash-card,
.jam-profile-card,
.jam-company-card,
.jam-job-item,
.rich-hero-card,
.jam-company-app-card {
  background: var(--rev-surface);
  border: 1px solid var(--rev-line);
  border-radius: 18px;
  box-shadow: var(--rev-shadow);
}

.rich-hero-card,
.jam-job-item,
.jam-company-app-card,
.jam-appdash-card,
.jam-profile-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rich-hero-card:hover,
.jam-job-item:hover,
.jam-company-app-card:hover,
.jam-appdash-card:hover,
.jam-profile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(48, 72, 146, 0.26);
  box-shadow: 0 16px 34px rgba(15, 30, 68, 0.16);
}

.jam-submit,
.jam-jobs-cta,
.jam-secondary-btn,
.jam-verify-btn,
.jam-profile-secondary,
.jam-appdash-job .jam-submit,
.jam-app-delete-btn {
  background: linear-gradient(135deg, var(--rev-primary-1), var(--rev-primary-2) 68%, var(--rev-primary-3)) !important;
  color: #ffffff !important;
  border: 1px solid rgba(32, 49, 108, 0.46) !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.jam-submit:hover,
.jam-jobs-cta:hover,
.jam-secondary-btn:hover,
.jam-verify-btn:hover,
.jam-profile-secondary:hover,
.jam-appdash-job .jam-submit:hover,
.jam-app-delete-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(31, 45, 102, 0.28);
}

.jam-submit:focus-visible,
.jam-jobs-cta:focus-visible,
.jam-secondary-btn:focus-visible,
.jam-verify-btn:focus-visible,
.jam-profile-secondary:focus-visible,
.jam-app-delete-btn:focus-visible,
.jam-appdash-job .jam-submit:focus-visible {
  outline: 2px solid rgba(66, 98, 191, 0.55);
  outline-offset: 2px;
}

.jam-job-chip {
  background: #e8efff;
  color: #22367c;
  border: 1px solid rgba(48, 72, 146, 0.24);
}

.jam-app-status {
  border: 1px solid transparent;
}

.jam-status-submitted {
  background: #eef2fa;
  color: #334155;
  border-color: #d7deec;
}

.jam-status-reviewed {
  background: #e9efff;
  color: #1f3b83;
  border-color: #ccdaf7;
}

.jam-status-accepted {
  background: #e8f8ee;
  color: #206340;
  border-color: #cbead7;
}

.jam-status-rejected {
  background: #fdeff1;
  color: #8e2e34;
  border-color: #f4cfd4;
}

.jam-app-table th,
.jam-app-table td {
  border-bottom-color: #e3e9f5;
}

.jam-app-table th {
  background: #f6f9ff;
  color: #33415f;
}

.jam-input,
.jam-select,
.jam-textarea {
  border-color: #d5deed;
  background: #ffffff;
}

.jam-input:focus,
.jam-select:focus,
.jam-textarea:focus {
  border-color: #7e96d6;
  box-shadow: 0 0 0 3px rgba(66, 98, 191, 0.2);
}

.rich-modal-card {
  border: 1px solid #dbe3f2;
  box-shadow: 0 24px 60px rgba(14, 29, 67, 0.22);
}

/* Kakayahan app-style auth/profile/settings refresh */
.rich-modal-card {
  max-height: min(92vh, 780px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  border-radius: 28px !important;
  background:
    radial-gradient(360px 190px at 100% 0%, rgba(32, 151, 173, 0.16), transparent 58%),
    radial-gradient(380px 220px at 0% 0%, rgba(27, 35, 126, 0.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.rich-modal-card::before {
  content: "Kakayahan";
  display: block;
  margin: -6px -4px 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1b237e 0%, #2466b7 58%, #22a6a8 100%);
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 18px 34px rgba(27, 35, 126, 0.22);
}

.rich-modal-card .rich-header h2 {
  color: #102a54;
  font-weight: 900;
}

.rich-modal-card .rich-field {
  gap: 7px;
}

.rich-modal-card .jam-input,
.rich-modal-card .jam-select {
  border-radius: 14px;
  background: #ffffff;
  border-color: #d6deef;
}

.rich-modal-card .jam-submit,
.rich-modal-card .jam-verify-btn {
  background: linear-gradient(135deg, #1b237e, #1677c8) !important;
  border-color: rgba(27, 35, 126, 0.2) !important;
  box-shadow: 0 14px 28px rgba(27, 35, 126, 0.2);
}

.rich-modal-card .jam-submit:hover,
.rich-modal-card .jam-verify-btn:hover {
  background: linear-gradient(135deg, #13206f, #0f6daf) !important;
  box-shadow: 0 18px 34px rgba(27, 35, 126, 0.26);
}

.rich-modal-card .jam-auth-role-select-source {
  display: none !important;
}

.rich-modal-card .jam-auth-role-options {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rich-modal-card .jam-form.is-signup .jam-auth-role-options {
  display: grid;
}

.jam-auth-role-card {
  width: 100%;
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d7e0f1;
  border-radius: 18px;
  background:
    radial-gradient(160px 90px at 100% 0%, rgba(34, 166, 168, 0.1), transparent 62%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  color: #18345f;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.jam-auth-role-card:hover,
.jam-auth-role-card:focus-visible {
  border-color: #8fb3e7;
  box-shadow: 0 14px 26px rgba(24, 52, 95, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.jam-auth-role-card.is-selected {
  border-color: #1b7fc1;
  background:
    radial-gradient(170px 94px at 100% 0%, rgba(34, 166, 168, 0.18), transparent 62%),
    linear-gradient(180deg, #eef8ff, #ffffff);
  box-shadow: 0 16px 30px rgba(27, 127, 193, 0.18);
}

.jam-auth-role-dot {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid #b8c7dd;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #ffffff;
  margin-top: 2px;
}

.jam-auth-role-card.is-selected .jam-auth-role-dot {
  border-color: #1677c8;
  background: #1677c8;
}

.jam-auth-role-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.jam-auth-role-copy strong {
  font-size: 0.98rem;
  font-weight: 900;
  color: #102a54;
}

.jam-auth-role-copy small {
  color: #526a8d;
  font-size: 0.82rem;
  line-height: 1.35;
}

.rich-top-header {
  background:
    radial-gradient(360px 120px at 100% 0%, rgba(34, 166, 168, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 249, 255, 0.58)) !important;
  border: 1px solid rgba(211, 221, 238, 0.58);
  border-top: 0;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.rich-top-header nav {
  padding: 6px;
  border: 1px solid rgba(211, 221, 238, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.rich-top-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 999px;
  color: #243b63;
}

.rich-top-header nav a:hover {
  background: rgba(34, 118, 198, 0.11);
  color: #102a54;
}

.rich-top-header .jam-icon-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(211, 221, 238, 0.88);
  border-radius: 16px;
  background:
    radial-gradient(72px 44px at 100% 0%, rgba(34, 166, 168, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 248, 255, 0.58));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 24px rgba(15, 30, 68, 0.09);
}

.rich-top-header .jam-icon-btn:hover,
.rich-top-header .jam-icon-btn.has-notifications {
  border-color: rgba(34, 118, 198, 0.38);
  background:
    radial-gradient(72px 44px at 100% 0%, rgba(34, 166, 168, 0.2), transparent 62%),
    linear-gradient(180deg, #eef8ff, #ffffff);
  transform: translateY(-1px);
}

.jam-nav-icon-frame {
  display: inline-grid;
  place-items: center;
}

.jam-notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: #1677c8;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(22, 119, 200, 0.28);
}

.rich-notif-box {
  border-radius: 22px !important;
  padding: 14px !important;
  border-color: rgba(211, 221, 238, 0.86) !important;
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(34, 166, 168, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff, #f7fbff) !important;
}

.rich-notif-head {
  border-radius: 16px;
  padding: 10px 10px 12px;
  background: rgba(238, 246, 255, 0.76);
}

.rich-notif-item {
  border-radius: 16px !important;
  background: #ffffff;
  border: 1px solid #e0e8f5;
  box-shadow: 0 10px 22px rgba(15, 30, 68, 0.07);
}

.rich-notif-empty {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1px dashed #cdd9ec;
}

.jam-auth-trigger:not(.jam-auth-has-image) {
  gap: 9px;
  min-width: 0;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  background:
    radial-gradient(80px 42px at 100% 0%, rgba(34, 166, 168, 0.18), transparent 62%),
    linear-gradient(135deg, #1b237e, #1677c8) !important;
  color: #ffffff !important;
  border: 1px solid rgba(27, 35, 126, 0.24);
  box-shadow: 0 14px 26px rgba(27, 35, 126, 0.18);
}

.jam-auth-trigger:not(.jam-auth-has-image):hover {
  background:
    radial-gradient(80px 42px at 100% 0%, rgba(34, 166, 168, 0.24), transparent 62%),
    linear-gradient(135deg, #142073, #0e70b7) !important;
  transform: translateY(-1px);
}

.jam-auth-spark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.jam-auth-spark::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.rich-modal-card .jam-submit,
.rich-modal-card .jam-verify-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px !important;
  font-weight: 900;
  letter-spacing: 0;
}

.rich-modal-card .jam-submit::after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-left: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

body.jam-theme-dark .rich-top-header {
  background:
    radial-gradient(360px 120px at 100% 0%, rgba(34, 166, 168, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(14, 24, 42, 0.78), rgba(9, 17, 31, 0.62)) !important;
  border-color: rgba(120, 146, 192, 0.16);
}

body.jam-theme-dark .rich-top-header nav {
  background: rgba(15, 23, 42, 0.44);
  border-color: rgba(120, 146, 192, 0.16);
}

body.jam-theme-dark .rich-top-header nav a {
  color: #dbe7ff;
}

body.jam-theme-dark .rich-top-header .jam-icon-btn,
body.jam-theme-dark .rich-notif-box,
body.jam-theme-dark .rich-notif-item,
body.jam-theme-dark .rich-notif-empty,
body.jam-theme-dark .rich-notif-head {
  background: linear-gradient(180deg, rgba(20, 31, 52, 0.98), rgba(12, 21, 38, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

@media (max-width: 900px) {
  .rich-top-header nav a {
    gap: 6px;
    padding-inline: 10px;
  }
}

.jam-home-process-step,
.jam-home-journey-card,
.jam-home-shortcut-card {
  position: relative;
  overflow: hidden;
}


body.jam-theme-dark .jam-home-step-icon {
  border-color: rgba(127, 183, 232, 0.24);
  color: #d8e9ff;
}

body.jam-theme-dark .jam-home-process-step {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96));
  border-color: rgba(120, 146, 192, 0.18);
}

body.jam-theme-dark .jam-home-step-chip {
  background: rgba(34, 49, 88, 0.94);
  border-color: rgba(120, 146, 192, 0.2);
  color: #dbe7ff;
}

body.jam-theme-dark .jam-home-card-visual,
body.jam-theme-dark .jam-home-shortcut-icon {
  border-color: rgba(127, 183, 232, 0.24);
}

body.jam-theme-dark .jam-home-shortcut-icon {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

body.jam-theme-dark .rich-modal-card {
  background:
    radial-gradient(360px 190px at 100% 0%, rgba(34, 166, 168, 0.16), transparent 58%),
    radial-gradient(380px 220px at 0% 0%, rgba(94, 111, 217, 0.16), transparent 60%),
    linear-gradient(180deg, #101827 0%, #121b2d 100%) !important;
}

body.jam-theme-dark .jam-auth-role-card {
  border-color: rgba(148, 163, 184, 0.28);
  background:
    radial-gradient(160px 90px at 100% 0%, rgba(34, 166, 168, 0.1), transparent 62%),
    linear-gradient(180deg, #162238, #111b2d);
  color: #e8eef8;
}

body.jam-theme-dark .jam-auth-role-card.is-selected {
  border-color: #35b7c4;
  box-shadow: 0 16px 30px rgba(34, 166, 168, 0.14);
}

body.jam-theme-dark .jam-auth-role-copy strong {
  color: #f6f9ff;
}

body.jam-theme-dark .jam-auth-role-copy small {
  color: #b9c7dc;
}

@media (max-width: 640px) {
  .rich-modal-card {
    width: min(94vw, 520px);
    max-height: 88vh;
    border-radius: 22px !important;
  }

  .rich-modal-card .jam-form.is-signup .jam-auth-role-options {
    grid-template-columns: 1fr;
  }

  .jam-auth-role-card {
    min-height: 96px;
    padding: 13px;
  }
}

.jam-profile-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-verified-badge {
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f2ff;
  border: 1px solid #9bb6ef;
  color: #123d68;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jam-profile-head,
.jam-settings-head {
  background:
    radial-gradient(420px 210px at 100% 0%, rgba(181, 29, 40, 0.1), transparent 60%),
    radial-gradient(460px 240px at 0% 0%, rgba(27, 35, 126, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
  border: 1px solid rgba(219, 227, 242, 0.92);
  border-radius: 28px;
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: 0 18px 42px rgba(15, 30, 68, 0.09);
}

.jam-profile-card,
.jam-settings-card {
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 30, 68, 0.08);
}

.jam-settings-toggle {
  position: relative;
  border-radius: 18px;
  padding: 16px 18px;
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(41, 65, 127, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.jam-settings-toggle input[type="checkbox"] {
  appearance: none;
  width: 52px;
  height: 30px;
  flex: 0 0 52px;
  border-radius: 999px;
  border: 1px solid #c9d6eb;
  background: #e8eef8;
  cursor: pointer;
  position: relative;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.jam-settings-toggle input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 30, 68, 0.22);
  transition: transform 0.18s ease;
}

.jam-settings-toggle input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #1b237e, #2d3aa8);
  border-color: #2d3aa8;
}

.jam-settings-toggle input[type="checkbox"]:checked::before {
  transform: translateX(22px);
}

.jam-verification-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.jam-verification-steps {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.jam-verification-steps div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbe3f2;
}

.jam-verification-steps strong {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b237e, #2d3aa8);
  color: #ffffff;
}

.jam-verification-subhead {
  margin-top: 12px;
  color: #102a54;
}

.jam-verification-id-list {
  columns: 2;
  column-gap: 24px;
}

.jam-phone-verify-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7ff 100%);
  border: 1px solid #dbe3f2;
  grid-column: 1 / -1;
}

.jam-phone-verify-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.jam-phone-verify-head strong {
  display: block;
  margin-top: 2px;
  color: #102a54;
}

.jam-phone-verify-actions {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.jam-phone-otp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 14px;
  align-items: end;
}

.jam-phone-verify-actions .jam-profile-secondary,
.jam-phone-otp-grid .jam-submit {
  min-height: 48px;
  white-space: nowrap;
  width: 100%;
}

.jam-phone-verify-actions .jam-profile-secondary {
  padding-inline: 18px;
}

.jam-settings-inline-actions {
  align-items: stretch;
}

#jam-settings-complete-registration {
  min-height: 50px;
  min-width: 220px;
}

.jam-verification-shell .jam-settings-head-actions {
  flex-wrap: wrap;
  align-items: stretch;
}

.jam-verification-shell .jam-settings-head-actions .jam-submit,
.jam-verification-shell .jam-settings-head-actions .jam-profile-secondary {
  min-height: 48px;
  min-width: 176px;
  justify-content: center;
}

#jam-verification-form {
  display: grid;
  gap: 18px;
}

#jam-verification-form .jam-settings-registration-grid {
  gap: 16px;
  align-items: start;
}

#jam-verification-form .jam-settings-registration-grid > .jam-upload-panel,
#jam-verification-form .jam-settings-registration-grid > .jam-settings-upload-block {
  grid-column: 1 / -1;
}

#jam-verification-form .jam-settings-registration-grid > .rich-field,
#jam-verification-form .jam-settings-registration-grid > .jam-phone-verify-card {
  min-width: 0;
}

#jam-verification-form .jam-upload-panel {
  padding: 18px;
}

#jam-verification-form .jam-upload-panel-actions {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

#jam-verification-form .jam-upload-panel-actions .jam-profile-secondary,
#jam-verification-form .jam-upload-panel-actions .jam-submit {
  width: 100%;
}

#jam-verification-form .jam-settings-inline-actions {
  justify-content: flex-start;
}

.jam-phone-recaptcha {
  min-height: 1px;
}

body.jam-theme-dark .rich-modal-card,
body.jam-theme-dark .jam-profile-head,
body.jam-theme-dark .jam-settings-head,
body.jam-theme-dark .jam-settings-toggle,
body.jam-theme-dark .jam-verification-steps div,
body.jam-theme-dark .jam-phone-verify-card {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-phone-verify-head strong {
  color: #f3f7ff;
}

body.jam-theme-dark .jam-verified-badge {
  background: rgba(66, 98, 191, 0.22) !important;
  color: #dbe7ff !important;
  border-color: rgba(127, 183, 232, 0.34) !important;
}

body.jam-theme-dark #jam-settings-verification-card.is-verified {
  background:
    radial-gradient(280px 150px at 100% 0%, rgba(66, 98, 191, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
}

@media (max-width: 900px) {
  .jam-verification-layout {
    grid-template-columns: 1fr;
  }

  .jam-verification-id-list {
    columns: 1;
  }

  .jam-phone-otp-grid {
    grid-template-columns: 1fr;
  }

  .jam-phone-verify-actions {
    grid-template-columns: 1fr;
  }

  #jam-verification-form .jam-upload-panel-actions {
    grid-template-columns: 1fr;
  }

  .jam-verification-shell .jam-settings-head-actions .jam-submit,
  .jam-verification-shell .jam-settings-head-actions .jam-profile-secondary,
  #jam-settings-complete-registration {
    width: 100%;
    min-width: 0;
  }

  .jam-service-order-shell,
  .jam-service-order-summary-card .jam-company-meta-grid {
    grid-template-columns: 1fr;
  }

  .jam-service-order-summary-card,
  .jam-service-order-receipt-card,
  .jam-service-workroom {
    grid-column: 1 / -1;
  }

  .jam-service-workroom-layout {
    grid-template-columns: 1fr;
  }
}

.rich-footer {
  background: linear-gradient(180deg, #121a31, #0e1528);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rich-footer-column h4 {
  color: #f4f7ff;
  letter-spacing: 0.35px;
}

.rich-footer-column ul li a {
  color: #b5c1db;
}

.rich-footer-column ul li a:hover {
  color: #ffffff;
}

.rich-footer-column .jam-social a {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rich-footer-column .jam-social a:hover {
  background: #ffffff;
  color: #122045;
}

/* More obvious but still soft motion */
body.jam-page-ready .rich-top-header {
  animation: jamFadeDown 0.45s ease both;
}

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

.jam-reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.jam-reveal-target.jam-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .rich-top-header {
    border-radius: 0 0 18px 18px;
  }

  .rich-hero-copy h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .rich-hero-copy p {
    font-size: 0.95rem;
  }
}

/* Final smooth scroll reveal overrides */
.jam-reveal-target {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(2px);
  transition:
    opacity 0.62s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--jam-reveal-delay, 0s);
  will-change: opacity, transform, filter;
}

.jam-reveal-target.jam-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes jamSoftFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.jam-page-ready .rich-hero-copy,
body.jam-page-ready .rich-hero-brand {
  animation: jamSoftFloatIn 0.6s ease both;
}

@keyframes jamHeroGlow {
  0%,
  100% {
    box-shadow: 0 24px 60px rgba(7, 15, 34, 0.18);
  }
  50% {
    box-shadow: 0 28px 70px rgba(40, 76, 166, 0.24);
  }
}

@keyframes jamButtonRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jamGradientShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 50%;
  }
  50% {
    background-position: 8% 4%, 92% 8%, 50% 50%;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 50% 50%;
  }
}

body.jam-page-ready .jam-home-hero {
  animation: jamGradientShift 11s ease-in-out infinite;
}

body.jam-page-ready .rich-hero-search,
body.jam-page-ready .jam-home-search-card {
  animation: jamSoftFloatIn 0.7s ease both, jamHeroGlow 6.5s ease-in-out 0.8s infinite;
}

body.jam-page-ready .jam-hero-actions .jam-submit {
  animation: jamButtonRise 0.5s ease both;
}

body.jam-page-ready .jam-hero-actions .jam-submit:nth-child(2) {
  animation-delay: 0.08s;
}

.jam-home-shortcut-card,
.jam-home-journey-card,
.jam-home-search-card,
.jam-home-cta-strip,
.jam-home-welcome {
  transform-origin: center;
}

.jam-home-search-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 68px rgba(20, 40, 92, 0.22);
}

.jam-home-shortcut-card:hover .jam-home-shortcut-icon {
  transform: translateY(-2px) scale(1.06);
}

.jam-home-shortcut-icon {
  transition: transform 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
  .jam-reveal-target,
  .jam-reveal-target.jam-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Motion + UI consistency pass */
body {
  opacity: 1;
  transition: opacity 0.26s ease;
}

body.jam-page-ready {
  opacity: 1;
}

.rich-top-header,
.rich-footer,
.jam-jobs-shell,
.jam-profile-shell,
.jam-company-shell,
.jam-appdash-shell {
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.rich-top-header:hover {
  box-shadow: 0 14px 34px rgba(27, 35, 126, 0.13);
}

.jam-reveal-target {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--jam-reveal-delay, 0s);
}

.jam-reveal-target.jam-visible {
  opacity: 1;
  transform: translateY(0);
}

.rich-hero-card,
.jam-job-item,
.jam-appdash-card,
.jam-company-app-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rich-hero-card:hover,
.jam-job-item:hover,
.jam-appdash-card:hover,
.jam-company-app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 35, 126, 0.22);
  box-shadow: 0 14px 28px rgba(27, 35, 126, 0.12);
}

.rich-top-header nav a,
.rich-sidebar li,
.jam-submit,
.jam-jobs-cta,
.jam-app-delete-btn,
.jam-profile-secondary {
  transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.jam-submit:active,
.jam-jobs-cta:active,
.jam-app-delete-btn:active,
.jam-profile-secondary:active {
  transform: translateY(1px);
}

.jam-service-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #29406f;
  font-size: 0.92rem;
}

.jam-service-card-rating strong {
  font-size: 0.95rem;
}

.jam-service-card-rating small {
  color: #5f6f92;
}

.jam-service-card-rating-stars,
.jam-service-review-stars {
  display: inline-flex;
  gap: 3px;
}

.jam-review-star {
  color: #cbd7f0;
  font-size: 0.95rem;
}

.jam-review-star.is-filled {
  color: #f4b63f;
}

.jam-service-modal-tabs {
  display: inline-flex;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 6px;
  border-radius: 16px;
  background: #eef4ff;
  border: 1px solid rgba(64, 99, 195, 0.14);
}

.jam-service-modal-tab {
  border: 0;
  background: transparent;
  color: #496188;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jam-service-modal-tab.is-active {
  background: linear-gradient(135deg, #1b237e 0%, #2d64c8 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 56, 134, 0.2);
}

.jam-service-modal-pane {
  display: none;
}

.jam-service-modal-pane.is-active {
  display: block;
}

.jam-service-modal-detail-card-static {
  margin-bottom: 0;
}

.jam-service-modal-detail-head-static {
  cursor: default;
}

.jam-service-reviews-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(80, 118, 199, 0.14);
}

.jam-service-reviews-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.jam-service-reviews-head p,
.jam-service-review-status,
.jam-service-review-item p,
.jam-service-reviews-empty,
.jam-service-reviews-loading {
  color: #5d6f90;
}

.jam-service-reviews-summary {
  text-align: right;
}

.jam-service-reviews-average {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.jam-service-reviews-average strong {
  font-size: 1.4rem;
  color: #18284c;
}

.jam-service-review-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(80, 118, 199, 0.12);
}

.jam-service-review-field {
  display: grid;
  gap: 8px;
}

.jam-service-review-field span {
  color: #20345c;
  font-weight: 700;
}

.jam-service-review-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jam-service-review-actions .jam-submit {
  min-width: 180px;
}

.jam-service-reviews-list {
  display: grid;
  gap: 12px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
}

.jam-service-review-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(80, 118, 199, 0.12);
}

.jam-service-review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.jam-settings-employer-modal {
  max-width: min(92vw, 840px);
}

.jam-settings-employer-form {
  margin-top: 14px;
}

#jam-settings-employer-card .jam-settings-role-badge {
  min-width: 108px;
  text-align: center;
}

@media (max-width: 840px) {
  .jam-service-reviews-head {
    flex-direction: column;
  }

  .jam-service-reviews-summary {
    text-align: left;
  }

  .jam-service-modal-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-service-modal-tab {
    width: 100%;
  }
}

.rich-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rich-footer-column ul li a {
  letter-spacing: 0.15px;
}

.rich-footer-column .jam-social a {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  body {
    opacity: 1;
  }
}

/* Homepage upgrade 2026-03-08 */
.jam-home-upgrade {
  padding-bottom: clamp(56px, 6vw, 96px);
}

.jam-home-hero {
  min-height: min(96vh, 980px);
  overflow: visible;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  background:
    radial-gradient(900px 420px at 10% 16%, rgba(104, 142, 255, 0.18), transparent 60%),
    radial-gradient(640px 320px at 88% 22%, rgba(255, 145, 77, 0.16), transparent 60%),
    linear-gradient(135deg, #091224 0%, #132a59 46%, #183973 100%);
}

.jam-hero-grid {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 100%;
  padding: clamp(34px, 4vw, 48px) clamp(18px, 5vw, 56px) clamp(46px, 7vw, 68px);
  padding-bottom: clamp(90px, 12vw, 140px);
  display: grid;
  gap: 20px;
}

.jam-home-hero-content {
  width: min(100%, 1560px);
  margin: 0 auto;
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(18px, 3vw, 40px);
  padding: 0;
}

.jam-home-copy {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  justify-items: start;
  text-align: left;
  padding-bottom: 12px;
}

.jam-home-eyebrow,
.jam-home-section-kicker,
.jam-feature-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f6f8ff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.jam-home-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.96;
  word-break: break-word;
}

.jam-home-copy p {
  max-width: 60ch;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.jam-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.jam-hero-stat {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.jam-hero-stat strong,
.jam-home-metric-card strong,
.jam-home-floating strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.jam-hero-stat span {
  display: block;
  margin-top: 4px;
  color: rgba(240, 244, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.4;
}

.jam-home-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: stretch;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  width: min(100%, 520px);
  margin-left: auto;
}

.jam-home-brand-card {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 430px;
  padding: 34px 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(7, 15, 34, 0.28);
  backdrop-filter: blur(14px);
  overflow: hidden;
  display: grid;
  align-content: end;
  justify-items: center;
  text-align: center;
}

.jam-home-brand-copy {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  color: #edf2ff;
  text-align: center;
  width: 100%;
}

.jam-home-brand-copy p {
  font-size: 1rem;
}

.jam-home-brand-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.jam-home-brand-pills span,
.jam-home-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 700;
}

.jam-home-search-card {
  width: min(100%, 520px);
  margin-left: auto;
  margin-top: clamp(92px, 9vw, 132px);
  padding: 20px 20px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(7, 15, 34, 0.24);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 14px;
  min-width: 0;
  align-self: start;
}

.jam-home-search-card-head,
.jam-home-search-copy {
  display: grid;
  gap: 6px;
  justify-items: start;
  text-align: left;
}

.jam-home-search-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(237, 243, 255, 0.96);
  color: #27408b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-home-search-card-head h2,
.jam-home-search-copy h2 {
  color: #f7f9ff;
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.1;
}

.jam-home-search-card-head p {
  color: rgba(239, 244, 255, 0.82);
  line-height: 1.55;
  max-width: 42ch;
}

.jam-home-search-card-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.jam-home-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.jam-home-search-grid-tight {
  gap: 10px;
}

.jam-home-search-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.jam-home-search-field span {
  color: #eef4ff;
  font-size: 0.85rem;
  font-weight: 700;
}

.jam-home-search-field .jam-input,
.jam-home-search-field .jam-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border-color: rgba(217, 227, 242, 0.88);
  background: rgba(255, 255, 255, 0.97);
}

.jam-home-search-submit {
  min-height: 46px;
  border-radius: 16px;
}

.jam-home-hero-actions {
  margin-top: 6px;
  margin-bottom: 2px;
}

.jam-home-feature-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1280px);
  margin: 28px auto 0 !important;
  padding-top: 28px !important;
  position: relative;
  z-index: 1;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}

.rich-hero-bottom.jam-home-feature-band {
  margin-top: 22px !important;
  padding-top: 24px !important;
}

@media (max-width: 1200px) {
  .jam-home-feature-band {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .jam-home-feature-band > * {
    scroll-snap-align: start;
  }
}

.jam-feature-card {
  min-height: 280px;
  justify-content: flex-start;
  align-items: flex-start;
}

.jam-home-card-media {
  width: 100%;
  height: clamp(170px, 15vw, 220px);
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 14px;
}

.jam-home-feature-band[data-visible-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.jam-home-feature-band[data-visible-count="2"] {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  max-width: 1040px;
  justify-content: center;
}

.jam-home-feature-band[data-visible-count="3"] {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  max-width: 1040px;
  justify-content: center;
}

.jam-home-feature-band[data-visible-count="3"] .jam-home-highlight-card {
  grid-column: 1 / -1;
  width: min(100%, 860px);
  justify-self: center;
}

.jam-home-feature-wide {
  grid-column: span 2;
}

.jam-home-feature-emphasis {
  min-height: 280px;
}

.jam-home-highlight-card {
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(66, 98, 191, 0.18), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.jam-home-highlight-card .jam-feature-kicker,
.jam-home-section-head .jam-home-section-kicker {
  background: #e9efff;
  border-color: rgba(48, 72, 146, 0.14);
  color: #27408b;
}

.jam-home-cta-strip .jam-home-section-kicker {
  background: #e9efff;
  border-color: rgba(48, 72, 146, 0.14);
  color: #27408b;
}

.jam-feature-card .jam-feature-kicker {
  background: #eef3ff;
  border-color: rgba(39, 64, 139, 0.16);
  color: #334f97;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.jam-home-section {
  width: min(94vw, 1560px);
  margin: 26px auto 0;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 227, 242, 0.88);
  box-shadow: 0 18px 42px rgba(15, 30, 68, 0.08);
  backdrop-filter: blur(10px);
}

.jam-home-section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 24px;
}

.jam-home-section-head h2 {
  color: #13213f;
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.jam-home-section-head p {
  color: #5a6984;
  font-size: 1rem;
}

.jam-home-metric-grid,
.jam-home-shortcut-grid,
.jam-home-journey-grid,
.jam-home-process-grid {
  display: grid;
  gap: 14px;
}

.jam-home-shortcut-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jam-home-shortcut-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.jam-home-shortcut-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 30, 68, 0.12);
  border-color: #c8d6ef;
}

.jam-home-shortcut-icon {
  position: relative;
  width: 100%;
  min-height: 82px;
  display: block;
  border-radius: 16px;
  border: 1px solid #d7e2fb;
  background: #eef4ff;
  box-shadow: 0 10px 22px rgba(15, 30, 68, 0.08);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.jam-home-shortcut-icon-jobs {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 110'%3E%3Crect x='20' y='42' width='54' height='54' rx='18' fill='white' fill-opacity='.24'/%3E%3Crect x='118' y='30' width='82' height='18' rx='9' fill='white' fill-opacity='.22'/%3E%3Crect x='128' y='58' width='62' height='12' rx='6' fill='white' fill-opacity='.16'/%3E%3C/svg%3E"), linear-gradient(135deg, #eef3ff, #e1ebff);
}

.jam-home-shortcut-icon-services {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 110'%3E%3Crect x='20' y='42' width='54' height='54' rx='18' fill='white' fill-opacity='.24'/%3E%3Crect x='126' y='26' width='56' height='56' rx='18' fill='white' fill-opacity='.18'/%3E%3C/svg%3E"), linear-gradient(135deg, #ebfbf7, #ddf7f1);
}

.jam-home-shortcut-icon-categories {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 110'%3E%3Crect x='20' y='38' width='52' height='52' rx='18' fill='white' fill-opacity='.24'/%3E%3Crect x='114' y='22' width='88' height='16' rx='8' fill='white' fill-opacity='.2'/%3E%3Crect x='126' y='48' width='68' height='12' rx='6' fill='white' fill-opacity='.16'/%3E%3Crect x='114' y='72' width='88' height='12' rx='6' fill='white' fill-opacity='.14'/%3E%3C/svg%3E"), linear-gradient(135deg, #f3efff, #e9e1ff);
}

.jam-home-shortcut-icon-settings {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 110'%3E%3Crect x='20' y='42' width='54' height='54' rx='18' fill='white' fill-opacity='.24'/%3E%3Crect x='124' y='28' width='74' height='18' rx='9' fill='white' fill-opacity='.2'/%3E%3Crect x='138' y='58' width='50' height='12' rx='6' fill='white' fill-opacity='.16'/%3E%3C/svg%3E"), linear-gradient(135deg, #f5f7fb, #e8eef8);
}

.jam-home-shortcut-card strong {
  color: #152645;
  font-size: 1rem;
}

.jam-home-shortcut-card p {
  color: #5c6a84;
  line-height: 1.55;
}

.jam-home-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jam-home-metric-card,
.jam-home-journey-card,
.jam-home-process-step {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
}

.jam-home-metric-card strong,
.jam-home-journey-card h3,
.jam-home-process-step h3 {
  color: #152645;
}

.jam-home-metric-card p,
.jam-home-journey-card p,
.jam-home-process-step p,
.jam-feature-card p,
.jam-home-highlight-card p {
  margin-top: 8px;
  color: #5c6a84;
  line-height: 1.55;
}

.jam-home-journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jam-home-journey-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.jam-home-card-visual {
  position: relative;
  width: 100%;
  min-height: 104px;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(37, 67, 173, 0.18);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.jam-home-card-visual-applicant {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Crect x='20' y='54' width='66' height='46' rx='16' fill='white' fill-opacity='.22'/%3E%3Crect x='108' y='28' width='90' height='20' rx='10' fill='white' fill-opacity='.18'/%3E%3Crect x='108' y='60' width='72' height='16' rx='8' fill='white' fill-opacity='.14'/%3E%3Ccircle cx='146' cy='90' r='14' fill='white' fill-opacity='.16'/%3E%3C/svg%3E"), linear-gradient(135deg, #3655da, #1f2d8b);
}

.jam-home-card-visual-client {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Ccircle cx='60' cy='78' r='22' fill='white' fill-opacity='.2'/%3E%3Ccircle cx='90' cy='88' r='18' fill='white' fill-opacity='.16'/%3E%3Crect x='120' y='30' width='78' height='18' rx='9' fill='white' fill-opacity='.18'/%3E%3Crect x='128' y='60' width='64' height='14' rx='7' fill='white' fill-opacity='.14'/%3E%3Crect x='110' y='84' width='92' height='10' rx='5' fill='white' fill-opacity='.12'/%3E%3C/svg%3E"), linear-gradient(135deg, #0f766e, #1677c8);
}

.jam-home-card-visual-provider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Crect x='22' y='44' width='74' height='56' rx='18' fill='white' fill-opacity='.22'/%3E%3Crect x='116' y='26' width='84' height='20' rx='10' fill='white' fill-opacity='.18'/%3E%3Crect x='126' y='56' width='66' height='14' rx='7' fill='white' fill-opacity='.14'/%3E%3Crect x='118' y='80' width='82' height='12' rx='6' fill='white' fill-opacity='.12'/%3E%3C/svg%3E"), linear-gradient(135deg, #7c3aed, #3655da);
}

.jam-home-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jam-home-process-step {
  display: grid;
  gap: 12px;
  min-height: 172px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
  align-content: start;
}

.jam-home-process-top {
  position: relative;
  display: block;
}

.jam-home-step-icon {
  position: relative;
  width: 100%;
  min-height: 94px;
  display: block;
  border-radius: 18px;
  background:
    radial-gradient(50px 34px at 100% 0%, rgba(255, 255, 255, 0.32), transparent 64%),
    linear-gradient(135deg, #3655da, #1d2b87);
  border: 1px solid rgba(48, 77, 182, 0.24);
  box-shadow: 0 14px 30px rgba(37, 67, 173, 0.22);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.jam-home-step-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d8e2fb;
  color: #3650b1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jam-home-process-step h3,
.jam-home-process-step p {
  margin: 0;
}

.jam-home-process-step-login .jam-home-step-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Crect x='22' y='52' width='68' height='48' rx='16' fill='white' fill-opacity='.22'/%3E%3Crect x='118' y='34' width='78' height='14' rx='7' fill='white' fill-opacity='.72'/%3E%3Crect x='128' y='64' width='58' height='10' rx='5' fill='white' fill-opacity='.18'/%3E%3C/svg%3E"), linear-gradient(135deg, #405fe6, #1f2d8b);
}

.jam-home-process-step-browse .jam-home-step-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Ccircle cx='60' cy='78' r='28' fill='white' fill-opacity='.22'/%3E%3Crect x='120' y='34' width='76' height='18' rx='9' fill='white' fill-opacity='.2'/%3E%3Crect x='128' y='62' width='60' height='12' rx='6' fill='white' fill-opacity='.16'/%3E%3C/svg%3E"), linear-gradient(135deg, #2563eb, #0f4da8);
}

.jam-home-process-step-hire .jam-home-step-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Crect x='20' y='66' width='74' height='26' rx='13' fill='white' fill-opacity='.22'/%3E%3Crect x='130' y='22' width='66' height='66' rx='22' fill='white' fill-opacity='.18'/%3E%3C/svg%3E"), linear-gradient(135deg, #0f766e, #1677c8);
}

.jam-home-process-step-track .jam-home-step-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Crect x='18' y='62' width='88' height='34' rx='16' fill='white' fill-opacity='.18'/%3E%3Crect x='166' y='24' width='18' height='58' rx='9' fill='white' fill-opacity='.22'/%3E%3Crect x='134' y='38' width='18' height='44' rx='9' fill='white' fill-opacity='.18'/%3E%3Crect x='102' y='52' width='18' height='30' rx='9' fill='white' fill-opacity='.14'/%3E%3C/svg%3E"), linear-gradient(135deg, #7c3aed, #3655da);
}

.jam-home-step-icon i,
.jam-home-card-visual i,
.jam-home-shortcut-icon i {
  display: none;
}

.jam-home-step-icon::before,
.jam-home-step-icon::after,
.jam-home-card-visual::before,
.jam-home-card-visual::after,
.jam-home-shortcut-icon::before,
.jam-home-shortcut-icon::after {
  content: "";
  position: absolute;
}

.jam-home-step-icon::before,
.jam-home-card-visual::before,
.jam-home-shortcut-icon::before {
  inset: auto auto 18px 18px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.jam-home-step-icon::after,
.jam-home-card-visual::after,
.jam-home-shortcut-icon::after {
  right: 18px;
  top: 18px;
  width: 112px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.jam-home-process-step-login .jam-home-step-icon::before {
  border-radius: 16px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18) inset,
    0 14px 24px rgba(15, 23, 42, 0.12);
}

.jam-home-process-step-login .jam-home-step-icon::after {
  width: 78px;
  height: 14px;
  top: 40px;
  right: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.jam-home-process-step-browse .jam-home-step-icon::before {
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

.jam-home-process-step-browse .jam-home-step-icon::after {
  width: 94px;
  height: 28px;
  top: 28px;
  right: 20px;
  border-radius: 999px;
}

.jam-home-process-step-hire .jam-home-step-icon::before {
  width: 74px;
  height: 34px;
  border-radius: 18px;
}

.jam-home-process-step-hire .jam-home-step-icon::after {
  width: 70px;
  height: 70px;
  top: 12px;
  right: 16px;
  border-radius: 22px;
}

.jam-home-process-step-track .jam-home-step-icon::before {
  width: 92px;
  height: 38px;
  border-radius: 18px;
}

.jam-home-process-step-track .jam-home-step-icon::after {
  width: 18px;
  height: 58px;
  top: 18px;
  right: 22px;
  border-radius: 999px;
  box-shadow:
    -28px 14px 0 0 rgba(255, 255, 255, 0.22),
    -56px -2px 0 0 rgba(255, 255, 255, 0.16);
}

.jam-home-card-visual-applicant::before {
  width: 68px;
  height: 48px;
}

.jam-home-card-visual-applicant::after {
  width: 96px;
  height: 30px;
  top: 26px;
}

.jam-home-card-visual-client::before {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow:
    26px 10px 0 0 rgba(255, 255, 255, 0.22),
    0 14px 24px rgba(15, 23, 42, 0.12);
}

.jam-home-card-visual-client::after {
  width: 82px;
  height: 20px;
  top: 34px;
  right: 18px;
  border-radius: 999px;
}

.jam-home-card-visual-provider::before {
  width: 76px;
  height: 56px;
}

.jam-home-card-visual-provider::after {
  width: 90px;
  height: 24px;
  top: 24px;
}

.jam-home-shortcut-icon-jobs::before,
.jam-home-shortcut-icon-services::before,
.jam-home-shortcut-icon-categories::before,
.jam-home-shortcut-icon-settings::before {
  width: 54px;
  height: 54px;
}

.jam-home-shortcut-icon-jobs::after {
  width: 88px;
  height: 18px;
  top: 30px;
}

.jam-home-shortcut-icon-services::after {
  width: 72px;
  height: 42px;
  top: 20px;
}

.jam-home-shortcut-icon-categories::after {
  width: 92px;
  height: 16px;
  top: 18px;
  box-shadow: 0 24px 0 0 rgba(255, 255, 255, 0.18);
}

.jam-home-shortcut-icon-settings::after {
  width: 84px;
  height: 22px;
  top: 28px;
  border-radius: 999px;
}

.jam-home-journey-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #27408b;
  font-weight: 800;
  text-decoration: none;
}

.jam-home-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jam-home-preview-panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 14px 32px rgba(15, 30, 68, 0.07);
  display: grid;
  gap: 16px;
}

.jam-home-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.jam-home-preview-head a {
  color: #27408b;
  font-weight: 800;
  text-decoration: none;
}

.jam-home-preview-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-home-preview-list {
  display: grid;
  gap: 12px;
}

.jam-home-preview-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dde5f2;
  box-shadow: 0 10px 22px rgba(15, 30, 68, 0.06);
  display: grid;
  gap: 10px;
}

.jam-home-preview-card h4 {
  color: #1f2e46;
}

.jam-home-preview-card p {
  color: #5b6475;
  line-height: 1.5;
}

.jam-home-preview-meta,
.jam-home-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jam-home-preview-meta span,
.jam-home-preview-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #29417f;
  font-size: 0.82rem;
  font-weight: 700;
}

.jam-home-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jam-home-process-step span:not(.jam-home-step-icon):not(.jam-home-step-chip) {
  margin-bottom: 0;
}

.jam-home-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(66, 98, 191, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.96) 100%);
}

.jam-home-welcome-copy {
  max-width: 760px;
}

.jam-home-welcome-copy h2 {
  color: #13213f;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.1;
}

.jam-home-welcome-copy p {
  margin-top: 10px;
  color: #5c6a84;
}

.jam-home-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-home-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(440px 220px at 100% 0%, rgba(66, 98, 191, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.jam-home-cta-copy {
  max-width: 780px;
}

.jam-home-cta-copy h2 {
  margin-top: 10px;
  color: #13213f;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.1;
}

.jam-home-cta-copy p {
  margin-top: 10px;
  color: #5c6a84;
}

.jam-home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1600px) {
  .jam-home-hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .jam-hero-grid {
    align-content: start;
    padding-bottom: clamp(110px, 14vw, 160px);
  }

  .jam-home-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
    align-items: start;
  }

  .jam-home-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  }

  .jam-home-brand-card {
    min-height: 290px;
    padding: 22px 20px 18px;
  }

  .jam-home-search-card {
    width: min(100%, 420px);
  }

  .jam-home-feature-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }

  .rich-hero-bottom.jam-home-feature-band {
    margin-top: 18px !important;
    padding-top: 22px !important;
  }

  .jam-home-highlight-card {
    grid-column: span 2;
  }

  .jam-home-welcome {
    flex-direction: column;
    align-items: flex-start;
  }

  .jam-home-welcome-actions {
    width: 100%;
  }
}

@media (max-width: 1366px) {
  .jam-home-hero {
    margin-top: 76px;
    padding-bottom: 36px;
    margin-bottom: 18px;
  }

  .jam-hero-grid {
    gap: 16px;
    padding: 24px 28px 56px;
    padding-bottom: 180px;
  }

  .jam-home-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 18px;
  }

  .jam-home-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 0.96;
  }

  .jam-home-copy p {
    max-width: 48ch;
    font-size: 0.98rem;
  }

  .jam-home-search-card {
    width: min(100%, 460px);
    margin-top: 72px;
    padding: 18px;
    gap: 14px;
  }

  .jam-home-search-card-head h2 {
    font-size: 1.28rem;
  }

  .jam-home-search-card-head p {
    font-size: 0.95rem;
  }

  .jam-hero-actions {
    margin-bottom: 18px;
  }

  .jam-hero-stats {
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 14px;
  }

  .jam-hero-stat {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .jam-hero-stat strong {
    font-size: 0.94rem;
  }

  .jam-hero-stat span {
    font-size: 0.84rem;
  }

  .jam-hero-btn {
    min-height: 44px;
    padding-inline: 14px;
  }

  .jam-home-brand-card {
    min-height: 320px;
    padding: 22px 20px 18px;
    border-radius: 24px;
  }

  .rich-hero-logo {
    height: clamp(80px, 9vw, 132px);
  }

  .jam-home-brand-copy {
    gap: 10px;
    margin-top: 12px;
  }

  .jam-home-brand-copy p {
    font-size: 0.95rem;
  }

  .jam-home-brand-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-home-brand-pills span:last-child {
    grid-column: 1 / -1;
  }

  .jam-home-floating {
    padding: 12px 14px;
  }

  .jam-home-search-form {
    width: min(100%, 760px);
  }

  .jam-home-chip-row {
    width: min(100%, 760px);
  }

  .jam-home-feature-band {
    margin-top: 16px !important;
    padding-top: 22px !important;
  }

  .rich-hero-bottom.jam-home-feature-band {
    margin-top: 14px !important;
    padding-top: 20px !important;
  }

  .jam-home-section {
    padding: 24px;
  }
}

@media (max-width: 1200px) {
  .jam-home-hero-content {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .jam-home-search-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 22px;
  }

  .jam-home-feature-band,
  .jam-home-metric-grid,
  .jam-home-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-home-journey-grid {
    grid-template-columns: 1fr;
  }

  .jam-home-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-hero-stats {
    grid-template-columns: 1fr;
  }

  .jam-home-floating-a,
  .jam-home-floating-b {
    position: static;
    max-width: none;
  }

  .jam-home-hero-panel {
    justify-items: stretch;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .jam-home-brand-card {
    width: 100%;
    max-width: none;
  }

  .jam-home-feature-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .jam-home-highlight-card {
    grid-column: auto;
  }

  .jam-home-feature-wide {
    grid-column: auto;
  }

  .jam-home-feature-band[data-visible-count="3"] .jam-home-highlight-card {
    grid-column: 1 / -1;
    width: min(100%, 760px);
    justify-self: center;
  }

  .jam-home-copy h1 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .jam-home-copy h1 {
    max-width: 14ch;
  }

  .jam-home-search-grid {
    grid-template-columns: 1fr;
  }

  .jam-home-search-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jam-home-cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .jam-home-hero {
    min-height: auto;
    padding-top: 28px;
    margin-bottom: 12px;
  }

  .jam-hero-grid {
    padding: 26px 14px 32px;
    gap: 16px;
  }

  .jam-home-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .jam-home-copy,
  .jam-home-hero-panel,
  .jam-home-brand-copy {
    text-align: left;
    justify-items: stretch;
  }

  .jam-home-copy p {
    max-width: none;
  }

  .jam-home-eyebrow,
  .jam-feature-kicker,
  .jam-home-section-kicker {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }

  .jam-home-feature-band,
  .jam-home-metric-grid,
  .jam-home-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .jam-home-journey-grid,
  .jam-home-process-grid {
    grid-template-columns: 1fr;
  }

  .jam-home-card-media {
    height: 170px;
  }

  .jam-home-section {
    width: min(94vw, 700px);
    padding: 20px 16px;
    border-radius: 22px;
  }

  .jam-hero-btn,
  .jam-home-cta-actions .jam-submit {
    width: 100%;
  }

  .jam-home-search-card {
    padding: 18px 14px;
    border-radius: 22px;
  }

  .jam-home-search-chip-row {
    grid-template-columns: 1fr;
  }

  .jam-home-brand-card,
  .jam-home-floating {
    width: 100%;
  }

  .jam-home-floating {
    position: static;
    max-width: none;
  }

  .jam-home-cta-actions {
    width: 100%;
  }

  .jam-home-hero-panel {
    grid-template-columns: 1fr;
  }

  .jam-home-brand-card {
    min-height: 0;
    text-align: left;
    justify-items: start;
  }

  .jam-home-brand-pills {
    grid-template-columns: 1fr;
  }

  .jam-home-brand-pills span:last-child {
    grid-column: auto;
  }

  .jam-home-highlight-card {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .jam-home-hero {
    margin-top: 72px;
  }

  .jam-home-copy h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.6rem);
    line-height: 1.02;
  }

  .jam-home-copy p {
    font-size: 0.95rem;
  }

  .jam-home-brand-card {
    padding: 18px;
    border-radius: 22px;
  }

  .jam-home-brand-pills {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .jam-home-brand-pills span {
    width: 100%;
    justify-content: flex-start;
  }

  .jam-hero-stat {
    padding: 14px;
    width: 100%;
  }

  .jam-home-search-form {
    padding: 12px;
    border-radius: 20px;
  }

  .jam-home-search-btn {
    min-width: 0;
  }

  .jam-home-feature-band {
    padding: 20px 14px 40px;
    border-radius: 22px 22px 0 0;
  }

.jam-feature-card,
.jam-home-highlight-card,
.jam-home-metric-card,
.jam-home-journey-card,
.jam-home-process-step {
  padding: 16px;
  border-radius: 18px;
}
}

/* Final homepage override: keep the feature band vertical on every screen size. */
body .jam-home-feature-band,
body .rich-hero-bottom.jam-home-feature-band,
body .jam-home-feature-band[data-visible-count="1"],
body .jam-home-feature-band[data-visible-count="2"],
body .jam-home-feature-band[data-visible-count="3"] {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  overflow: visible !important;
  gap: 18px !important;
  margin: 40px auto 0 !important;
  padding: 32px clamp(20px, 4vw, 36px) 40px !important;
  padding-bottom: 40px !important;
}

body .jam-home-feature-band > *,
body .jam-home-feature-band[data-visible-count="3"] .jam-home-highlight-card {
  grid-column: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  scroll-snap-align: none !important;
}

/* Company dashboard refresh 2026-03-08 */
.jam-company-page {
  background:
    radial-gradient(920px 420px at 6% -8%, rgba(66, 98, 191, 0.12), transparent 60%),
    radial-gradient(880px 380px at 96% -10%, rgba(241, 109, 67, 0.1), transparent 58%),
    #f4f7fb;
}

.jam-company-main {
  padding-top: clamp(96px, 10vw, 120px);
  padding-bottom: clamp(34px, 6vw, 72px);
  background: transparent;
}

.jam-company-shell {
  width: min(96vw, 1600px);
  gap: 18px;
}

.jam-company-head {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background:
    radial-gradient(460px 220px at 100% 0%, rgba(66, 98, 191, 0.18), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  align-items: flex-start;
}

.jam-company-head-copy {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.jam-company-eyebrow,
.jam-company-section-kicker,
.jam-company-stat-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9efff;
  color: #27408b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-company-head h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.06;
}

.jam-company-head p {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.55;
}

.jam-company-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-service-payment-shell .jam-company-head-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 12px;
  min-width: min(100%, 410px);
}

.jam-service-payment-shell .jam-company-head-actions .jam-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.jam-company-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jam-company-stat-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
}

.jam-company-stat-card strong {
  display: block;
  margin-top: 10px;
  color: #16284d;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.jam-company-stat-card p {
  margin-top: 8px;
  color: #5c6a84;
  font-size: 0.92rem;
  line-height: 1.5;
}

.jam-company-card {
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 24px;
}

.jam-company-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.jam-company-card-head h2 {
  color: #152645;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.jam-company-card-head p {
  margin-top: 5px;
  line-height: 1.5;
}

.jam-company-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jam-company-meta-item,
.jam-company-job-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3ef;
}

.jam-company-meta-description {
  margin-top: 14px;
  max-width: 78ch;
}

.jam-company-jobs-grid,
.jam-company-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.jam-company-app-card {
  gap: 16px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 20px;
}

.jam-company-job-top,
.jam-company-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.jam-company-job-title-group {
  min-width: 0;
}

.jam-company-job-title-group h3,
.jam-company-app-body h3 {
  margin-bottom: 4px;
}

.jam-company-job-meta,
.jam-company-app-headline {
  color: #5a6984;
}

.jam-company-job-details,
.jam-company-app-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.jam-company-job-details .jam-profile-value,
.jam-company-app-meta-grid .jam-profile-value {
  margin-top: 4px;
}

.jam-company-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jam-danger-action {
  background: linear-gradient(135deg, #991b1b, #dc2626) !important;
  border-color: rgba(153, 27, 27, 0.5) !important;
  color: #ffffff !important;
}

.jam-danger-action:hover {
  box-shadow: 0 12px 24px rgba(153, 27, 27, 0.22) !important;
}

.jam-company-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.jam-company-status-active,
.jam-company-status-reviewed {
  background: #e9efff;
  color: #1f3b83;
  border-color: #ccdaf7;
}

.jam-company-status-archived,
.jam-company-status-submitted {
  background: #eef2fa;
  color: #334155;
  border-color: #d7deec;
}

.jam-company-status-accepted {
  background: #e8f8ee;
  color: #206340;
  border-color: #cbead7;
}

.jam-company-status-rejected {
  background: #fdeff1;
  color: #8e2e34;
  border-color: #f4cfd4;
}

.jam-order-view-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.jam-order-view-card {
  padding: 14px 16px;
}

.jam-order-view-card .jam-company-card-head,
.jam-order-view-card .jam-appdash-card-head {
  margin-bottom: 10px;
}

.jam-order-view-card .jam-company-card-head h2,
.jam-order-view-card .jam-appdash-card-head h2 {
  font-size: 1.12rem;
}

.jam-order-view-card .jam-company-card-head p,
.jam-order-view-card .jam-appdash-card-head p {
  margin-top: 2px;
  font-size: 0.92rem;
  max-width: none;
}

.jam-order-view-btn {
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #d8e1f1;
  background: #f7faff;
  color: #33508f;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.jam-order-view-btn:hover {
  border-color: #b7c9ed;
  background: #eef4ff;
}

.jam-order-view-btn.is-active {
  background: linear-gradient(135deg, #2f4aa4 0%, #4561c8 100%);
  border-color: #3653b4;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(47, 74, 164, 0.18);
}

.jam-order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
  align-items: start;
}

.jam-service-order-shell > .jam-order-view-card,
.jam-appdash-shell > .jam-order-view-card,
.jam-company-shell > .jam-order-view-card {
  max-width: none;
  width: 100%;
}

.jam-order-panel > .jam-company-card {
  height: 100%;
}

@media (max-width: 1100px) {
  .jam-order-panel {
    grid-template-columns: 1fr;
  }
}

.jam-appdash-shell-quiet,
.jam-company-shell-quiet {
  gap: 14px;
}

.jam-dashboard-balance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.jam-dashboard-panel {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 30, 68, 0.06);
}

.jam-dashboard-view-panel {
  display: block;
  width: 100%;
}

.jam-dashboard-panel-muted {
  background: linear-gradient(180deg, #fcfdff 0%, #f7f9fd 100%);
}

.jam-dashboard-stat-band {
  gap: 10px;
}

.jam-dashboard-stat-band .jam-company-stat-card,
.jam-appdash-shell-quiet .jam-appdash-stat {
  padding: 14px 15px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(15, 30, 68, 0.05);
}

.jam-dashboard-secondary-stat {
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%);
  border-color: #e4ebf5;
}

.jam-appdash-shell-quiet .jam-appdash-head,
.jam-company-shell-quiet .jam-company-head {
  margin-bottom: 10px;
}

.jam-appdash-shell-quiet .jam-appdash-card,
.jam-company-shell-quiet .jam-company-card {
  padding: 16px 18px;
  border-radius: 20px;
}

.jam-appdash-shell-quiet .jam-appdash-card + .jam-appdash-card {
  margin-top: 0;
}

.jam-appdash-shell-quiet .jam-appdash-card-head p,
.jam-company-shell-quiet .jam-company-card-head p {
  max-width: 62ch;
}

.jam-appdash-shell-quiet .jam-app-table th,
.jam-appdash-shell-quiet .jam-app-table td {
  padding-top: 9px;
  padding-bottom: 9px;
}

.jam-appdash-shell-quiet .jam-company-app-grid,
.jam-company-shell-quiet .jam-company-app-grid,
.jam-company-shell-quiet .jam-company-jobs-grid {
  gap: 14px;
}

.jam-company-shell-quiet .jam-company-stat-card p,
.jam-appdash-shell-quiet .jam-appdash-stat span {
  font-size: 0.84rem;
}

.jam-company-shell-quiet .jam-company-stat-card strong,
.jam-appdash-shell-quiet .jam-appdash-stat strong {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

@media (max-width: 1180px) {
  .jam-dashboard-balance-grid {
    grid-template-columns: 1fr;
  }
}

.jam-company-filter {
  display: block;
  max-width: 260px;
  margin-bottom: 16px;
}

.jam-company-filter-label {
  display: block;
  margin-bottom: 8px;
}

.jam-company-status-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: #334155;
  font-weight: 700;
}

.jam-company-resume-btn {
  margin-top: 10px !important;
}

.jam-service-order-notice,
.jam-post-status,
.jam-form-message {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #9bb6ef;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(41, 65, 127, 0.14), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(15, 30, 68, 0.1);
  color: #152645;
  font-weight: 800;
  line-height: 1.45;
}

.jam-service-order-notice.is-ok,
.jam-post-status.is-ok,
.jam-form-message.is-ok {
  border-color: #7fb7e8;
  color: #123d68;
}

.jam-service-order-notice.is-error,
.jam-post-status.is-error,
.jam-form-message.is-error {
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(220, 38, 38, 0.1), transparent 60%),
    linear-gradient(180deg, #fff7f7 0%, #fffafa 100%);
  border-color: #f3b4b4;
  color: #991b1b;
}

.jam-service-order-notice.is-loading,
.jam-post-status.is-loading,
.jam-form-message.is-loading {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

.jam-service-order-notice.is-loading::before,
.jam-post-status.is-loading::before,
.jam-form-message.is-loading::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 999px;
  border: 3px solid rgba(41, 65, 127, 0.18);
  border-top-color: #29417f;
  animation: jamPaymongoSpin 0.8s linear infinite;
}

.jam-service-order-inline-note {
  align-self: center;
  color: #5a6984;
  font-weight: 700;
}

.jam-provider-empty-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px dashed #ccdaf7;
}

.jam-provider-empty-card h3 {
  color: #152645;
  margin-bottom: 8px;
}

.jam-provider-empty-card p {
  color: #5a6984;
  max-width: 60ch;
}

@media (max-width: 1200px) {
  .jam-company-stats,
  .jam-company-meta-grid,
  .jam-company-jobs-grid,
  .jam-company-app-grid,
  .jam-company-job-details,
  .jam-company-app-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .jam-company-head,
  .jam-company-card-head,
  .jam-company-job-top,
  .jam-company-app-head {
    flex-direction: column;
  }

  .jam-company-head-actions {
    width: 100%;
  }

  .jam-company-head-actions .jam-submit,
  .jam-company-job-actions .jam-submit,
  .jam-company-job-actions button {
    width: 100%;
    text-align: center;
  }

  .jam-service-pricing-grid .jam-client-total-panel,
  .jam-service-pricing-grid .jam-fee-total-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .jam-service-payment-shell .jam-company-head-actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .jam-company-shell {
    width: min(96vw, 760px);
  }

  .jam-company-stats,
  .jam-company-meta-grid,
  .jam-company-jobs-grid,
  .jam-company-app-grid,
  .jam-company-job-details,
  .jam-company-app-meta-grid {
    grid-template-columns: 1fr;
  }

  .jam-company-filter {
    max-width: none;
  }
}

/* Job + service posting workspace refresh 2026-03-08 */
.jam-post-main {
  min-height: 100vh;
  padding-top: clamp(96px, 10vw, 120px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.jam-post-main-job,
.jam-post-main-service {
  background:
    radial-gradient(900px 430px at 8% -10%, rgba(11, 60, 168, 0.1), transparent 58%),
    radial-gradient(980px 440px at 95% -18%, rgba(206, 17, 38, 0.09), transparent 62%),
    #f4f7fb;
}

.jam-post-shell {
  width: min(96vw, 1650px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.jam-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background:
    radial-gradient(460px 220px at 100% 0%, rgba(66, 98, 191, 0.18), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(219, 227, 242, 0.88);
  box-shadow: 0 18px 42px rgba(15, 30, 68, 0.08);
}

.jam-post-head-copy {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.jam-post-eyebrow,
.jam-post-section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9efff;
  color: #27408b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-post-head h1 {
  color: #13213f;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.05;
}

.jam-post-head p {
  color: #5c6a84;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 64ch;
}

.jam-post-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 16px;
}

.jam-post-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 227, 242, 0.88);
  border-radius: 26px;
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: 0 18px 42px rgba(15, 30, 68, 0.08);
}

.jam-post-card-head {
  margin-bottom: 16px;
}

.jam-post-card-head h2 {
  margin-top: 8px;
  color: #152645;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.jam-post-form {
  gap: 16px;
}

.jam-post-grid {
  display: grid;
  gap: 12px;
}

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

.jam-post-form-card .rich-field {
  gap: 7px;
}

.jam-post-form-card .rich-field span {
  font-weight: 700;
  color: #475569;
}

.jam-post-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jam-post-status {
  margin: 0;
}

.jam-post-side-card {
  align-self: start;
  position: sticky;
  top: 112px;
}

.jam-post-side-list {
  margin-left: 20px;
  color: #44526d;
  display: grid;
  gap: 12px;
  line-height: 1.55;
}

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

  .jam-post-side-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .jam-post-head {
    flex-direction: column;
  }

  .jam-post-head-actions {
    width: 100%;
  }

  .jam-post-head-actions .jam-submit {
    width: 100%;
    text-align: center;
  }

  .jam-post-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .jam-post-shell {
    width: min(96vw, 760px);
  }

  .jam-post-card,
  .jam-post-head {
    border-radius: 22px;
    padding: 18px 16px;
  }

  .jam-post-actions .jam-submit {
    width: 100%;
    text-align: center;
  }
}

/* Jobs + services listing upgrade 2026-03-09 */
.jam-jobs-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(180px, 0.75fr));
  gap: 12px;
  margin: 14px 0 10px;
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(66, 98, 191, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 10px 24px rgba(15, 30, 68, 0.06);
}

.jam-market-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 16px;
  margin: 10px 0 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(66, 98, 191, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 14px 30px rgba(15, 30, 68, 0.08);
}

.jam-market-intro-card {
  display: grid;
  gap: 8px;
}

.jam-market-intro-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e9efff;
  border: 1px solid rgba(48, 72, 146, 0.14);
  color: #27408b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jam-market-intro-card h2 {
  color: #13213f;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.12;
}

.jam-market-intro-card p {
  color: #5c6a84;
  line-height: 1.6;
  max-width: 62ch;
}

.jam-market-intro-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.jam-market-intro-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #12274e;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jam-market-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.jam-market-results-copy {
  color: #51607a;
  font-weight: 700;
}

.jam-market-clear {
  border: 1px solid #d8e1ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #1f2e46;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}

.jam-market-clear:hover {
  background: #f8fbff;
}

.jam-market-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2600;
}

.jam-market-modal.is-open {
  display: grid;
  place-items: center;
}

.jam-market-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.64);
  backdrop-filter: blur(6px);
}

.jam-market-modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 26px 70px rgba(12, 24, 46, 0.26);
}

.jam-market-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #eef3ff;
  color: #1d4ed8;
  cursor: pointer;
  font-size: 1rem;
}

.jam-market-modal-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-right: 56px;
}

.jam-market-modal-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9efff;
  color: #27408b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-market-modal-head h2 {
  color: #13213f;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.08;
}

.jam-market-modal-head p,
.jam-market-modal-copy p,
.jam-market-modal-note {
  color: #5c6a84;
  line-height: 1.6;
}

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

.jam-market-modal-hero {
  margin: -4px 0 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(66, 98, 191, 0.12), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #dbe3f2;
}

.jam-market-modal-hero-copy {
  display: grid;
  gap: 10px;
}

.jam-market-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jam-market-modal-section {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #dbe3f2;
}

.jam-market-modal-section h3 {
  color: #152645;
  margin-bottom: 12px;
}

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

.jam-market-modal-stats p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbe3f2;
}

.jam-market-modal-stats span {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jam-market-modal-stats strong {
  display: block;
  margin-top: 6px;
  color: #152645;
  line-height: 1.4;
}

.jam-market-modal-copy {
  display: grid;
  gap: 10px;
}

.jam-market-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.jam-market-modal-footer-note {
  margin-top: 14px;
  color: #5c6a84;
  font-weight: 700;
}

.jam-market-card {
  cursor: pointer;
}

.jam-market-card:focus-visible {
  outline: 3px solid rgba(66, 98, 191, 0.28);
  outline-offset: 2px;
}

.jam-market-card-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(90deg, #eef4ff 0%, #f6faff 100%);
  border: 1px solid #dbe3f2;
}

.jam-market-card-label {
  color: #51607a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.jam-market-card-link {
  color: #29417f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.jam-service-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jam-service-payment-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(41, 65, 127, 0.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #cfdcf0;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
  display: grid;
  gap: 12px;
}

.jam-service-payment-card::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #29417f;
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.jam-service-payment-card:hover,
.jam-service-payment-card:focus-within,
.jam-service-payment-card.is-selected {
  border-color: #29417f;
  box-shadow: 0 18px 38px rgba(15, 30, 68, 0.14);
  transform: translateY(-1px);
}

.jam-service-payment-card.is-selected::before {
  background: #29417f;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.jam-payment-type-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #29417f, #1677c8);
  font-weight: 900;
  letter-spacing: 0;
}

.jam-paymongo-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #9bb6ef;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(41, 65, 127, 0.16), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(15, 30, 68, 0.12);
  color: #152645;
}

.jam-paymongo-loading[hidden] {
  display: none;
}

.jam-paymongo-loading strong {
  display: block;
  font-size: 1rem;
}

.jam-paymongo-loading p {
  margin-top: 3px;
  color: #475569;
  font-weight: 700;
  line-height: 1.45;
}

.jam-paymongo-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  border: 4px solid rgba(41, 65, 127, 0.18);
  border-top-color: #29417f;
  animation: jamPaymongoSpin 0.8s linear infinite;
}

@keyframes jamPaymongoSpin {
  to {
    transform: rotate(360deg);
  }
}

.jam-service-payment-card h3 {
  color: #152645;
}

.jam-service-payment-card p {
  color: #5c6a84;
  line-height: 1.55;
}

.jam-payment-type-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jam-payment-type-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #29417f;
  font-size: 0.78rem;
  font-weight: 900;
}

.jam-service-payment-flow-card {
  margin-top: 16px;
}

.jam-service-payment-steps {
  margin-top: 12px;
  justify-content: flex-start;
}

.jam-service-payment-disclaimer {
  margin-top: 16px;
  color: #5c6a84;
  font-weight: 700;
}

.jam-service-order-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jam-service-progress-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(20, 184, 166, .18);
  border-radius: 16px;
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(20, 184, 166, .12), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fffd);
}

.jam-service-progress-copy span {
  display: block;
  color: #0f766e;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.jam-service-progress-copy strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 1.15rem;
}

.jam-service-progress-copy p {
  margin: 4px 0 0;
  color: #64748b;
}

.jam-service-progress-meter {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}

.jam-service-progress-meter span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #2563eb);
  transition: width .25s ease;
}

.jam-service-order-step {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #dbe3f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  display: grid;
  gap: 10px;
  justify-items: start;
}

.jam-service-order-step-visual {
  position: relative;
  width: 100%;
  min-height: 96px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.jam-service-order-step-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 70px at 100% 0%, rgba(255, 255, 255, 0.42), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(15, 23, 42, 0.02));
}

.jam-service-order-step-visual-main,
.jam-service-order-step-visual-badge {
  position: relative;
  z-index: 1;
}

.jam-service-order-step-visual-main {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 1.45rem;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.jam-service-order-step-visual-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e3a8a;
  font-size: 0.9rem;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.jam-service-order-step-visual-requested {
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(255, 255, 255, 0.26), transparent 60%),
    linear-gradient(135deg, #4060e7, #24388f);
}

.jam-service-order-step-visual-in-progress {
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(255, 255, 255, 0.24), transparent 60%),
    linear-gradient(135deg, #0f766e, #1677c8);
}

.jam-service-order-step-visual-completed {
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(255, 255, 255, 0.24), transparent 60%),
    linear-gradient(135deg, #7c3aed, #3655da);
}

.jam-service-order-step strong {
  display: block;
  color: #152645;
  margin: 0;
}

.jam-service-order-step p {
  margin: 0;
  color: #5c6a84;
  line-height: 1.4;
}

.jam-service-order-step-done {
  background: linear-gradient(180deg, #effaf4 0%, #e6f7ee 100%);
  border-color: #bbf7d0;
}

.jam-service-order-step-done .jam-service-order-step-icon {
  background: #14b8a6;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .18);
}

.jam-service-order-step-current {
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(66, 98, 191, 0.12), transparent 58%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  border-color: #c6d7fb;
}

.jam-service-order-step-current .jam-service-order-step-icon {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}

.jam-service-order-step-done .jam-service-order-step-visual {
  border-color: rgba(20, 184, 166, .22);
}

.jam-service-order-step-current .jam-service-order-step-visual {
  border-color: rgba(37, 99, 235, .24);
  box-shadow: 0 18px 34px rgba(66, 98, 191, 0.14);
}

.jam-service-order-step-next .jam-service-order-step-visual,
.jam-service-order-step-muted .jam-service-order-step-visual {
  filter: saturate(.92);
}

.jam-service-order-step-next,
.jam-service-order-step-muted {
  opacity: 0.95;
}

.jam-service-order-tracking {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 14px;
}

.jam-service-workroom {
  grid-column: 1 / -1;
  border-color: rgba(20, 184, 166, .24);
}

.jam-service-workroom-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.jam-service-workroom-brief,
.jam-service-workroom-output {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
}

.jam-service-workroom-brief h3,
.jam-service-workroom-output h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 1rem;
}

.jam-service-output-list {
  display: grid;
  gap: 12px;
}

.jam-service-output-card {
  border: 1px solid rgba(20, 184, 166, .22);
  border-radius: 14px;
  padding: 14px;
  background: #f8fffd;
}

.jam-service-output-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.jam-service-output-head strong {
  color: #0f172a;
}

.jam-service-output-head span,
.jam-service-output-card p {
  color: #64748b;
}

.jam-service-output-card p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.jam-service-output-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.jam-service-output-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: #334155;
  font-size: .9rem;
}

.jam-service-order-shell {
  grid-template-columns: 1fr;
}

.jam-service-order-shell > .jam-company-head,
.jam-service-order-shell > .jam-service-order-notice,
.jam-service-order-shell > .jam-company-stats,
.jam-service-order-shell > .jam-company-card:nth-last-child(1),
.jam-service-order-shell > .jam-order-view-card,
.jam-service-order-shell > .jam-order-panel {
  grid-column: 1 / -1;
}

.jam-service-order-summary-card,
.jam-service-order-receipt-card {
  align-self: start;
}

.jam-service-order-summary-card .jam-company-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jam-service-order-summary-card .jam-company-meta-description {
  display: none;
}

.jam-service-order-receipt-card {
  border-color: rgba(127, 183, 232, 0.5);
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(22, 119, 200, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

@media (max-width: 900px) {
  .jam-service-order-shell,
  .jam-service-order-summary-card .jam-company-meta-grid {
    grid-template-columns: 1fr;
  }

  .jam-order-view-switch,
  .jam-order-panel {
    grid-template-columns: 1fr;
  }

  .jam-service-order-summary-card,
  .jam-service-order-receipt-card {
    grid-column: 1 / -1;
  }
}

.jam-service-receipt {
  display: grid;
  gap: 10px;
}

.jam-service-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
}

.jam-service-receipt-row span {
  color: #5c6a84;
  font-weight: 800;
}

.jam-service-receipt-row strong {
  color: #9a4b00;
  font-size: 1.02rem;
}

.jam-service-receipt-total {
  padding: 18px 20px;
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(22, 119, 200, 0.16), transparent 60%),
    linear-gradient(180deg, #eef7ff 0%, #e7f2ff 100%);
  border-color: #7fb7e8;
  box-shadow: 0 16px 30px rgba(20, 82, 142, 0.12);
}

.jam-service-receipt-total span,
.jam-service-receipt-total strong {
  color: #123d68;
}

.jam-service-receipt-total strong {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.jam-service-refund-note {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dbe3f2;
  background: #f8fbff;
  color: #475569;
  font-weight: 800;
  line-height: 1.5;
}

.jam-service-order-map-placeholder,
.jam-service-order-tracking-notes {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
}

.jam-service-order-map-placeholder {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: grid;
  text-align: center;
  background:
    linear-gradient(rgba(219, 227, 242, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 227, 242, 0.6) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

.jam-service-order-map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

.jam-service-order-map-placeholder iframe[hidden] {
  display: none;
}

.jam-service-order-map-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 227, 242, 0.9);
  box-shadow: 0 12px 26px rgba(15, 30, 68, 0.12);
  text-align: left;
}

.jam-service-order-map-placeholder strong {
  color: #152645;
  font-size: 1.05rem;
}

.jam-service-order-map-placeholder p,
.jam-service-order-tracking-notes p {
  color: #5c6a84;
  line-height: 1.6;
}

.jam-jobs-search,
.jam-jobs-filter {
  display: grid;
  gap: 6px;
}

.jam-jobs-search .jam-profile-key,
.jam-jobs-filter .jam-profile-key {
  color: #51607a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jam-jobs-search .jam-input,
.jam-jobs-filter .jam-input {
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.jam-jobs-search .jam-input:focus,
.jam-jobs-filter .jam-input:focus {
  border-color: #b8c9ea;
  box-shadow: 0 0 0 4px rgba(66, 98, 191, 0.12);
}

.jam-job-item-rich {
  min-height: 0;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.jam-job-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}

.jam-job-title-block {
  min-width: 0;
}

.jam-job-company {
  font-weight: 700;
  color: #1f2e46;
}

.jam-job-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jam-job-inline-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #29417f;
  font-size: 0.82rem;
  font-weight: 700;
}

.jam-job-inline-pill-strong {
  background: linear-gradient(135deg, #fff2df 0%, #ffe0b8 100%);
  color: #9a4b00;
  border: 1px solid #f6c987;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.jam-job-detail-grid,
.jam-service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.jam-job-detail-grid p,
.jam-service-detail-grid p {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbe3f2;
}

.jam-price-panel {
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(245, 158, 11, 0.14), transparent 60%),
    linear-gradient(180deg, #fff8ef 0%, #fff2df 100%) !important;
  border-color: #f6d49c !important;
}

.jam-price-value {
  color: #9a4b00 !important;
  font-weight: 900;
  font-size: 1.02rem;
}

.jam-service-pricing-grid .jam-client-total-panel,
.jam-service-pricing-grid .jam-fee-total-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(22, 119, 200, 0.16), transparent 60%),
    linear-gradient(180deg, #eef7ff 0%, #e7f2ff 100%);
  border-color: #7fb7e8;
  box-shadow: 0 16px 30px rgba(20, 82, 142, 0.12);
}

.jam-service-pricing-grid .jam-client-total-panel .jam-profile-key,
.jam-service-pricing-grid .jam-fee-total-panel .jam-profile-key {
  color: #123d68;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.jam-service-pricing-grid .jam-client-total-panel .jam-price-value,
.jam-service-pricing-grid .jam-fee-total-panel .jam-price-value {
  color: #123d68 !important;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.jam-job-summary,
.jam-service-summary {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.jam-job-sections,
.jam-service-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jam-job-section {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
}

.jam-job-section h4 {
  color: #1f2e46;
  margin-bottom: 6px;
}

.jam-job-section p {
  color: #53627f;
  line-height: 1.55;
}

.jam-job-item-rich .jam-job-foot {
  justify-content: flex-end;
}

.jam-services-main .jam-jobs-shell {
  background: rgba(255, 255, 255, 0.94);
}

.jam-services-list,
.jam-service-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.jam-service-card {
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbe3f2;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: grid;
  gap: 0;
  align-content: start;
}

.jam-market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 30, 68, 0.12);
  border-color: #c8d6ef;
}

.jam-service-card-media-wrap {
  position: relative;
}

.jam-service-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #edf3ff 0%, #dbe8ff 100%);
}

.jam-service-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jam-service-card-media-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f2a8a 0%, #4156c8 100%);
}

.jam-service-card-media-fallback span {
  color: #ffffff;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.jam-service-card-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: #61718e;
  box-shadow: 0 10px 20px rgba(9, 17, 31, 0.12);
}

.jam-service-card-body {
  display: grid;
  gap: 14px;
  padding: 16px 16px 14px;
}

.jam-service-card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.jam-service-card-provider-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f2a8a 0%, #4156c8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
}

.jam-service-card-provider-photo {
  overflow: hidden;
  background: #dfe8ff;
}

.jam-service-card-provider-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jam-service-modal-head {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-right: 56px;
}

.jam-service-modal-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jam-service-modal-provider-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f2a8a 0%, #4156c8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  overflow: hidden;
}

.jam-service-modal-provider-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jam-service-modal-title-copy h2 {
  margin: 0 0 2px;
  color: #162544;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.jam-service-modal-title-copy p {
  margin: 0;
  color: #64748b;
}

.jam-service-modal-title-copy span {
  color: #2563eb;
}

.jam-service-modal-top {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(18px, 2.5vw, 28px);
  margin-bottom: 22px;
}

.jam-service-modal-media-panel {
  display: grid;
  gap: 12px;
}

.jam-service-modal-media {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #dbe3f2;
  background: linear-gradient(135deg, #edf3ff 0%, #dbe8ff 100%);
  aspect-ratio: 4 / 3;
}

.jam-service-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jam-service-modal-media-fallback {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 2.1rem;
  background: linear-gradient(135deg, #1f2a8a 0%, #4156c8 100%);
}

.jam-service-modal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.jam-service-modal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d7deef;
}

.jam-service-modal-dots span.is-active {
  background: #4362bf;
}

.jam-service-modal-summary {
  display: grid;
  align-content: start;
  gap: 18px;
}

.jam-service-modal-price {
  color: #2143d9;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.jam-service-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jam-service-modal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d7e2ff;
  color: #3753bf;
  font-size: 0.86rem;
}

.jam-service-modal-facts {
  display: grid;
  gap: 14px;
}

.jam-service-modal-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 6px 0 14px;
  border-bottom: 1px solid #e7edf8;
}

.jam-service-modal-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.jam-service-modal-fact-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.jam-service-modal-fact-icon-clock {
  background: #edf2ff;
  color: #4863d5;
}

.jam-service-modal-fact-icon-pin {
  background: #edfdf6;
  color: #0f766e;
}

.jam-service-modal-fact-icon-check {
  background: #f6efff;
  color: #7c3aed;
}

.jam-service-modal-fact strong {
  display: block;
  color: #1f2e46;
  margin-bottom: 2px;
}

.jam-service-modal-fact p {
  margin: 0;
  color: #5c6a84;
  line-height: 1.5;
}

.jam-service-modal-info-card,
.jam-service-modal-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  margin-top: 18px;
}

.jam-service-modal-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff1f7;
  color: #ec4899;
}

.jam-service-modal-info-copy strong,
.jam-service-modal-detail-head strong {
  color: #1f2e46;
  display: block;
  margin-bottom: 4px;
}

.jam-service-modal-info-copy p,
.jam-service-modal-detail-head p,
.jam-service-modal-detail-body p {
  margin: 0;
  color: #5c6a84;
  line-height: 1.6;
}

.jam-service-modal-detail-card {
  grid-template-columns: 1fr;
}

.jam-service-modal-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jam-service-modal-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #edf2ff;
  color: #4863d5;
  flex: 0 0 auto;
}

.jam-service-modal-detail-head i {
  color: #64748b;
  font-size: 1.1rem;
}

.jam-service-modal-detail-head > div {
  flex: 1 1 auto;
}

.jam-service-modal-detail-body {
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

.jam-service-modal-shell {
  display: grid;
  gap: 18px;
}

.jam-service-modal-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(67, 98, 191, 0.1);
  color: #3551b5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jam-service-modal-price-card {
  margin-left: auto;
  min-width: 184px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7faff 0%, #ecf3ff 100%);
  border: 1px solid rgba(73, 97, 160, 0.14);
  box-shadow: 0 18px 40px rgba(25, 52, 120, 0.08);
}

.jam-service-modal-price-card small {
  color: #607291;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jam-service-modal-price-card strong {
  color: #16328e;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.jam-service-modal-price-card span {
  color: #5d6f90;
  font-size: 0.9rem;
}

.jam-service-modal-detail-grid {
  display: grid;
  gap: 12px;
}

.jam-service-modal-detail-row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fbfdff;
  border: 1px solid rgba(154, 176, 223, 0.18);
}

.jam-service-modal-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #28406f;
  font-size: 0.84rem;
  font-weight: 800;
}

.jam-service-modal-detail-label i {
  color: #4562c4;
}

.jam-service-modal-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 4px;
}

.jam-service-modal-sticky-bar {
  position: sticky;
  bottom: -32px;
  margin: 22px -30px -30px;
  padding: 18px clamp(18px, 3vw, 30px) 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff 24%);
  border-top: 1px solid #e4ebf7;
  backdrop-filter: blur(12px);
  z-index: 3;
}

.jam-service-modal-order,
.jam-service-chat-provider,
.jam-service-modal-pay {
  min-height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 16px;
  white-space: normal;
  text-align: center;
}

.jam-service-modal-order {
  background: linear-gradient(135deg, #1f2a8a 0%, #3553d8 100%) !important;
  border: 0 !important;
  color: #ffffff !important;
}

.jam-service-chat-provider {
  border: 1px solid #c8d4eb !important;
  background: #ffffff !important;
  color: #29417f !important;
}

.jam-service-modal-pay {
  background:
    radial-gradient(120px 70px at 100% 0%, rgba(34, 166, 168, 0.22), transparent 64%),
    linear-gradient(135deg, #0f766e, #1677c8) !important;
  border: 0 !important;
  color: #ffffff !important;
}

.jam-service-modal-footer-note {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #7b8aa4;
  font-size: 0.9rem;
}

.jam-service-modal-inline-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.jam-service-modal-inline-status.is-ok {
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #bbf7d0;
}

.jam-service-modal-inline-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.jam-service-modal-head {
  margin-bottom: 4px;
}

.jam-service-modal-title-row {
  align-items: flex-start;
}

.jam-service-modal-top {
  align-items: stretch;
  margin-bottom: 0;
}

.jam-service-modal-media {
  border-radius: 24px;
  border: 1px solid rgba(154, 176, 223, 0.42);
  box-shadow: 0 26px 56px rgba(29, 52, 120, 0.12);
}

.jam-service-modal-summary {
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(154, 176, 223, 0.32);
  box-shadow: 0 18px 44px rgba(23, 43, 97, 0.08);
}

.jam-service-modal-chip.is-soft {
  background: rgba(255, 255, 255, 0.72);
  color: #5d6f90;
}

.jam-service-modal-info-card,
.jam-service-modal-detail-card,
.jam-service-reviews-card {
  margin-top: 0;
  border-radius: 24px;
  border: 1px solid rgba(154, 176, 223, 0.22);
  box-shadow: 0 18px 48px rgba(23, 43, 97, 0.07);
}

.jam-service-modal-tabs {
  margin: 0;
  width: fit-content;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.jam-service-modal-tab {
  min-height: 44px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.jam-service-modal-tab:hover {
  color: #203c9e;
  transform: translateY(-1px);
}

.jam-service-modal-tab-panels {
  display: grid;
  gap: 18px;
}

.jam-service-reviews-card {
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
}

.jam-service-review-form {
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.jam-service-review-form.is-muted {
  opacity: 0.7;
}

.jam-service-review-field .jam-select,
.jam-service-review-field .jam-textarea {
  border-radius: 16px;
  border: 1px solid rgba(154, 176, 223, 0.32);
  background: #fcfdff;
}

.jam-service-review-actions {
  justify-content: space-between;
}

.jam-service-review-status {
  flex: 1 1 260px;
  margin: 0;
}

.jam-service-review-item {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(23, 43, 97, 0.04);
}

.jam-service-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jam-service-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1b237e 0%, #2d64c8 100%);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.jam-service-review-time {
  color: #6d7f9d;
  font-size: 0.84rem;
}

.jam-service-modal-sticky-bar {
  bottom: -18px;
  margin: 10px -30px -30px;
  border-top: 1px solid rgba(154, 176, 223, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(23, 43, 97, 0.12);
}

.jam-service-modal-actions .jam-submit {
  min-height: 54px;
}

.jam-service-modal-order {
  box-shadow: 0 14px 36px rgba(29, 62, 184, 0.24);
}

.jam-provider-work-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.jam-provider-work-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jam-provider-fund-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #52627d;
  font-size: 0.78rem;
  font-weight: 800;
}

.jam-provider-fund-pill.is-funded {
  background: #dbeafe;
  color: #1d4ed8;
}

.jam-provider-work-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 12px;
}

.jam-provider-work-summary p,
.jam-provider-work-summary strong {
  margin: 0;
}

.jam-provider-work-summary p {
  display: grid;
  gap: 4px;
}

.jam-provider-work-warning {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 700;
}

.jam-provider-work-actions {
  margin-top: 16px;
}

.jam-workspace-shell {
  padding-bottom: 40px;
}

.jam-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.jam-workspace-main,
.jam-workspace-sidebar {
  display: grid;
  gap: 20px;
}

.jam-workspace-status-card {
  gap: 18px;
}

.jam-workspace-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.jam-workspace-step {
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
  display: grid;
  gap: 8px;
  align-content: start;
}

.jam-workspace-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #cbd5e1;
}

.jam-workspace-step.is-done .jam-workspace-step-dot {
  background: #2563eb;
}

.jam-workspace-step.is-current {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.08);
}

.jam-workspace-step.is-current .jam-workspace-step-dot {
  background: #f59e0b;
}

.jam-workspace-primary-action {
  display: grid;
  gap: 12px;
}

.jam-workspace-action-note {
  margin: 0;
  color: #5b6a81;
}

.jam-workspace-action-note.is-rich {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.jam-workspace-activity {
  display: grid;
  gap: 14px;
}

.jam-workspace-activity-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #fff;
}

.jam-workspace-activity-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.jam-workspace-activity-item p {
  margin: 0;
  color: #5b6a81;
}

.jam-workspace-activity-sub {
  margin-top: 8px !important;
}

.jam-workspace-form {
  display: grid;
  gap: 14px;
}

.jam-workspace-form label {
  display: grid;
  gap: 8px;
}

.jam-workspace-form label span {
  color: #20345c;
  font-weight: 700;
}

.jam-workspace-side-card {
  position: sticky;
  top: 96px;
}

.jam-workspace-side-list {
  display: grid;
  gap: 12px;
}

.jam-workspace-side-list div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.jam-workspace-side-list span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.jam-workspace-files {
  display: grid;
  gap: 10px;
}

.jam-workspace-file {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: inherit;
  text-decoration: none;
}

body.jam-theme-dark .jam-provider-work-card,
body.jam-theme-dark .jam-workspace-step,
body.jam-theme-dark .jam-workspace-activity-item,
body.jam-theme-dark .jam-workspace-side-list div,
body.jam-theme-dark .jam-workspace-file,
body.jam-theme-dark .jam-workspace-action-note.is-rich {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-provider-work-warning {
  background: rgba(124, 45, 18, 0.22);
  color: #fdba74;
}

.jam-service-card-title-block {
  min-width: 0;
}

.jam-service-card-title-block h3 {
  color: #1f2e46;
  margin: 0 0 2px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.jam-service-provider,
.jam-service-contact {
  color: #64748b;
}

.jam-service-provider {
  margin: 0;
  font-size: 0.95rem;
}

.jam-service-provider span {
  color: #2563eb;
}

.jam-service-provider i {
  color: #2563eb;
  margin-left: 4px;
  font-size: 0.88rem;
}

.jam-service-card-price {
  color: #2143d9;
  font-weight: 900;
  font-size: 1.95rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.jam-service-card-dash {
  min-height: 0;
}

.jam-service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.jam-service-card-tag,
.jam-service-card-delivery {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  line-height: 1;
}

.jam-service-card-tag {
  background: #eef4ff;
  color: #3753bf;
  border: 1px solid #d7e2ff;
}

.jam-service-card-delivery {
  gap: 7px;
  background: #f7f9ff;
  color: #5a6884;
  border: 1px solid #dbe3f2;
}

.jam-service-card-delivery i {
  color: #4965d5;
}

.jam-service-card-actions {
  margin: 0;
  padding: 0 16px 16px;
}

.jam-service-card-cta {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 1rem;
}

.jam-service-main .jam-company-shell {
  width: min(96vw, 1600px);
}

body.jam-theme-dark .jam-market-modal-card,
body.jam-theme-dark .jam-market-modal-hero,
body.jam-theme-dark .jam-market-modal-section,
body.jam-theme-dark .jam-market-modal-stats p,
body.jam-theme-dark .jam-service-payment-card,
body.jam-theme-dark .jam-service-order-step,
body.jam-theme-dark .jam-service-progress-panel,
body.jam-theme-dark .jam-service-order-map-placeholder,
body.jam-theme-dark .jam-service-order-tracking-notes,
body.jam-theme-dark .jam-service-workroom-brief,
body.jam-theme-dark .jam-service-workroom-output,
body.jam-theme-dark .jam-service-output-card {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-market-modal-close {
  background: #0f1b2f !important;
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-service-order-step-icon {
  background: rgba(25, 42, 83, 0.92) !important;
  color: #dbe7ff !important;
  box-shadow: 0 0 0 4px rgba(120, 146, 192, 0.16) !important;
}

body.jam-theme-dark .jam-service-order-step-visual {
  border-color: rgba(127, 183, 232, 0.2) !important;
}

body.jam-theme-dark .jam-service-order-step-visual-main {
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22) !important;
}

body.jam-theme-dark .jam-service-order-step-visual-badge {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #dbeafe !important;
}

body.jam-theme-dark .jam-market-modal-kicker {
  background: rgba(32, 50, 86, 0.92) !important;
  color: #dbe7ff !important;
  border: 1px solid rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-market-modal-head h2,
body.jam-theme-dark .jam-market-modal-section h3,
body.jam-theme-dark .jam-market-modal-stats strong,
body.jam-theme-dark .jam-service-payment-card h3,
body.jam-theme-dark .jam-service-order-step strong,
body.jam-theme-dark .jam-service-order-map-placeholder strong {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-market-modal-head p,
body.jam-theme-dark .jam-market-modal-copy p,
body.jam-theme-dark .jam-market-modal-note,
body.jam-theme-dark .jam-market-modal-stats span,
body.jam-theme-dark .jam-service-payment-card p,
body.jam-theme-dark .jam-market-modal-footer-note,
body.jam-theme-dark .jam-service-payment-disclaimer,
body.jam-theme-dark .jam-service-order-step p,
body.jam-theme-dark .jam-service-order-map-placeholder p,
body.jam-theme-dark .jam-service-order-tracking-notes p,
body.jam-theme-dark .jam-service-output-card p,
body.jam-theme-dark .jam-service-output-head span {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-service-workroom-brief h3,
body.jam-theme-dark .jam-service-workroom-output h3,
body.jam-theme-dark .jam-service-output-head strong,
body.jam-theme-dark .jam-service-output-form label,
body.jam-theme-dark .jam-service-progress-copy strong {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-service-progress-copy p {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-job-inline-pill-strong {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.42), rgba(99, 45, 12, 0.34)) !important;
  color: #ffd59a !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
}

body.jam-theme-dark .jam-price-panel {
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(245, 158, 11, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(48, 30, 14, 0.9), rgba(31, 20, 10, 0.86)) !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
}

body.jam-theme-dark .jam-price-value {
  color: #ffd59a !important;
}

body.jam-theme-dark .jam-service-payment-card::before {
  background: #0f1b2f !important;
  border-color: #9fbaf7 !important;
  box-shadow: inset 0 0 0 4px #0f1b2f !important;
}

body.jam-theme-dark .jam-service-payment-card.is-selected::before {
  background: #9fbaf7 !important;
  box-shadow: inset 0 0 0 4px #0f1b2f !important;
}

body.jam-theme-dark .jam-payment-type-icon {
  background: linear-gradient(135deg, #4262bf, #0e7490) !important;
  color: #ffffff !important;
}

body.jam-theme-dark .jam-payment-type-meta span {
  background: rgba(66, 98, 191, 0.2) !important;
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-paymongo-loading {
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(66, 98, 191, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(19, 35, 61, 0.98), rgba(11, 24, 43, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.3) !important;
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-paymongo-loading p {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-paymongo-spinner {
  border-color: rgba(159, 186, 247, 0.18) !important;
  border-top-color: #9fbaf7 !important;
}

body.jam-theme-dark .jam-service-order-notice.is-loading::before,
body.jam-theme-dark .jam-post-status.is-loading::before,
body.jam-theme-dark .jam-form-message.is-loading::before {
  border-color: rgba(159, 186, 247, 0.18) !important;
  border-top-color: #9fbaf7 !important;
}

body.jam-theme-dark .jam-service-pricing-grid .jam-client-total-panel,
body.jam-theme-dark .jam-service-pricing-grid .jam-fee-total-panel {
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(66, 98, 191, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(24, 44, 76, 0.98), rgba(14, 30, 54, 0.96)) !important;
  border-color: rgba(127, 183, 232, 0.34) !important;
}

body.jam-theme-dark .jam-service-pricing-grid .jam-client-total-panel .jam-profile-key,
body.jam-theme-dark .jam-service-pricing-grid .jam-client-total-panel .jam-price-value,
body.jam-theme-dark .jam-service-pricing-grid .jam-fee-total-panel .jam-profile-key,
body.jam-theme-dark .jam-service-pricing-grid .jam-fee-total-panel .jam-price-value {
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-service-order-step-done {
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.22), rgba(9, 50, 39, 0.22)) !important;
  border-color: rgba(52, 211, 153, 0.2) !important;
}

body.jam-theme-dark .jam-service-order-step-current {
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(66, 98, 191, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.28) !important;
}

body.jam-theme-dark .jam-service-order-map-placeholder {
  background:
    linear-gradient(rgba(120, 146, 192, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 146, 192, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  background-size: 28px 28px, 28px 28px, auto !important;
}

body.jam-theme-dark .jam-service-receipt-row,
body.jam-theme-dark .jam-service-refund-note {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-service-receipt-row span,
body.jam-theme-dark .jam-service-refund-note {
  color: #9fb0c8 !important;
}

.jam-provider-request-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px !important;
  background:
    radial-gradient(320px 150px at 100% 0%, rgba(34, 166, 168, 0.1), transparent 62%),
    linear-gradient(180deg, #ffffff, #f8fbff) !important;
}

.jam-provider-request-card.is-funded {
  border-color: rgba(22, 119, 200, 0.34) !important;
  box-shadow: 0 18px 38px rgba(22, 119, 200, 0.13);
}

.jam-provider-request-rail {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 14px 8px;
  background:
    radial-gradient(120px 80px at 50% 0%, rgba(34, 166, 168, 0.18), transparent 68%),
    linear-gradient(180deg, #eef7ff, #e9fafa);
  border-right: 1px solid #dbe7f3;
}

.jam-provider-request-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #1c5d91;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-provider-request-card.is-funded .jam-provider-request-rail {
  background:
    radial-gradient(120px 80px at 50% 0%, rgba(255, 255, 255, 0.22), transparent 68%),
    linear-gradient(180deg, #1677c8, #20a6aa);
  border-right-color: rgba(22, 119, 200, 0.24);
}

.jam-provider-request-card.is-funded .jam-provider-request-rail span {
  color: #ffffff;
}

.jam-provider-request-note {
  margin: 4px 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f2f7ff;
  border: 1px solid #dbe7f3;
  color: #405574;
  line-height: 1.5;
}

.jam-provider-request-card.is-funded .jam-provider-request-note {
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(34, 166, 168, 0.1), transparent 62%),
    linear-gradient(180deg, #eef8ff, #ffffff);
  border-color: rgba(22, 119, 200, 0.22);
  color: #183f69;
}

.jam-provider-danger {
  background: #ffffff !important;
  color: #8e2e34 !important;
  border: 1px solid #f0c5cb !important;
  box-shadow: none !important;
}

.jam-provider-danger:hover {
  background: #fff5f6 !important;
  box-shadow: 0 12px 22px rgba(142, 46, 52, 0.1) !important;
}

.jam-service-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #dbe7f3;
  background:
    radial-gradient(220px 100px at 100% 0%, rgba(34, 166, 168, 0.11), transparent 62%),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.jam-service-contact-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.jam-service-contact-copy span {
  color: #1d5f9e;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jam-service-contact-copy strong {
  color: #102a54;
  font-size: 1rem;
}

.jam-service-contact-copy p {
  margin: 0;
  color: #526a8d;
  overflow-wrap: anywhere;
}

.jam-company-status-refund_pending,
.jam-company-status-refund-pending {
  background: #fff7ed !important;
  color: #9a5216 !important;
  border-color: #fed7aa !important;
}

body.jam-theme-dark .jam-provider-request-card,
body.jam-theme-dark .jam-provider-request-note {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-provider-request-rail {
  background: linear-gradient(180deg, rgba(31, 47, 77, 0.98), rgba(20, 35, 60, 0.96)) !important;
  border-right-color: rgba(120, 146, 192, 0.18);
}

body.jam-theme-dark .jam-provider-request-rail span,
body.jam-theme-dark .jam-provider-request-note {
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-provider-danger {
  background: rgba(127, 29, 29, 0.16) !important;
  color: #fecdd3 !important;
  border-color: rgba(248, 113, 113, 0.28) !important;
}

body.jam-theme-dark .jam-service-contact-panel {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-service-contact-copy strong {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-service-contact-copy p {
  color: #9fb0c8 !important;
}

@media (max-width: 720px) {
  .jam-provider-request-card {
    grid-template-columns: 1fr;
  }

  .jam-provider-request-rail {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #dbe7f3;
    justify-content: start;
  }

  .jam-provider-request-rail span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .jam-service-contact-panel {
    align-items: stretch;
    flex-direction: column;
  }

}

body.jam-theme-dark .jam-service-receipt-row strong {
  color: #ffd59a !important;
}

body.jam-theme-dark .jam-service-receipt-total {
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(66, 98, 191, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(24, 44, 76, 0.98), rgba(14, 30, 54, 0.96)) !important;
  border-color: rgba(127, 183, 232, 0.34) !important;
}

body.jam-theme-dark .jam-service-receipt-total span,
body.jam-theme-dark .jam-service-receipt-total strong {
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-service-order-map-overlay {
  background: rgba(10, 20, 36, 0.92) !important;
  border-color: rgba(120, 146, 192, 0.22) !important;
}

body.jam-theme-dark .jam-market-intro {
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(66, 98, 191, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-jobs-toolbar {
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(66, 98, 191, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-jobs-search .jam-profile-key,
body.jam-theme-dark .jam-jobs-filter .jam-profile-key,
body.jam-theme-dark .jam-market-results-copy {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-jobs-search .jam-input,
body.jam-theme-dark .jam-jobs-filter .jam-input,
body.jam-theme-dark .jam-market-clear {
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.98), rgba(11, 22, 39, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-market-intro-card h2,
body.jam-theme-dark .jam-market-card-link {
  color: #e5edf8 !important;
}

body.jam-theme-dark .jam-market-intro-card p,
body.jam-theme-dark .jam-market-card-label {
  color: #9fb0c8 !important;
}

body.jam-theme-dark .jam-market-intro-kicker {
  background: rgba(32, 50, 86, 0.92) !important;
  color: #dbe7ff !important;
  border-color: rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-market-intro-steps span {
  background: linear-gradient(135deg, #2142b3 0%, #3156d3 60%, #0f9d76 100%) !important;
  color: #f8fbff !important;
}

body.jam-theme-dark .jam-market-card-banner {
  background: linear-gradient(90deg, rgba(16, 28, 48, 0.98), rgba(11, 22, 39, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

@media (max-width: 1200px) {
  .jam-job-detail-grid,
  .jam-service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .jam-home-preview-grid,
  .jam-services-list,
  .jam-service-list-grid,
  .jam-job-sections,
  .jam-service-sections,
  .jam-market-modal-grid,
  .jam-service-payment-grid,
  .jam-service-order-timeline,
  .jam-service-order-tracking {
    grid-template-columns: 1fr;
  }

  .jam-market-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .jam-market-intro-steps {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .jam-jobs-toolbar {
    grid-template-columns: 1fr;
  }

  .jam-job-top,
  .jam-service-card-heading {
    grid-template-columns: 1fr;
  }

  .jam-service-card-price {
    white-space: normal;
  }

  .jam-service-card-actions,
  .jam-service-card .jam-submit {
    width: 100%;
  }

  .jam-home-chip-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .jam-provider-work-summary,
  .jam-workspace-progress,
  .jam-workspace-grid {
    grid-template-columns: 1fr;
  }

  .jam-workspace-side-card {
    position: static;
    top: auto;
  }

  .jam-service-modal-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .jam-service-modal-top {
    grid-template-columns: 1fr;
  }

  .jam-service-modal-price-card {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .jam-service-modal-sticky-bar {
    margin-inline: -18px;
    padding-inline: 16px;
  }

  .jam-service-modal-actions {
    grid-template-columns: 1fr;
  }

  .jam-service-modal-detail-head {
    align-items: flex-start;
  }

  .jam-service-modal-tabs {
    width: 100%;
  }

  .jam-job-detail-grid,
  .jam-service-detail-grid,
  .jam-services-list,
  .jam-service-list-grid {
    grid-template-columns: 1fr;
  }

  .jam-job-item-rich .jam-job-foot {
    justify-content: stretch;
  }
}

/* Categories hub refresh 2026-03-09 */
.jam-category-main {
  min-height: 100vh;
  padding-top: clamp(96px, 10vw, 120px);
  padding-bottom: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(920px 420px at 6% -8%, rgba(66, 98, 191, 0.12), transparent 60%),
    radial-gradient(880px 380px at 96% -10%, rgba(241, 109, 67, 0.1), transparent 58%),
    #f4f7fb;
}

.jam-category-shell {
  width: min(96vw, 1650px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.jam-category-hero,
.jam-category-section {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 227, 242, 0.88);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 42px rgba(15, 30, 68, 0.08);
}

.jam-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  background:
    radial-gradient(460px 220px at 100% 0%, rgba(66, 98, 191, 0.18), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
}

.jam-category-hero-copy {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.jam-category-eyebrow,
.jam-category-section-kicker,
.jam-category-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9efff;
  color: #27408b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jam-category-hero h1 {
  color: #13213f;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  max-width: 14ch;
}

.jam-category-hero p,
.jam-category-section-head p,
.jam-category-card p,
.jam-category-sector-card p,
.jam-category-route-card p,
.jam-category-highlight p,
.jam-category-cta-copy p {
  color: #5c6a84;
  line-height: 1.58;
}

.jam-category-hero-actions,
.jam-category-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-category-hero-actions .jam-submit,
.jam-category-card-actions .jam-submit,
.jam-category-card-actions .jam-category-inline-link,
.jam-category-sector-link,
.jam-category-shortcut {
  text-decoration: none;
}

.jam-category-hero-panel {
  display: grid;
  gap: 12px;
  align-content: center;
}

.jam-category-highlight {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #dbe3f2;
}

.jam-category-highlight strong {
  display: block;
  margin-bottom: 8px;
  color: #152645;
  font-size: 1.1rem;
}

.jam-category-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-category-pill-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #12274e;
  color: #ffffff;
  font-weight: 700;
}

.jam-category-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jam-category-stat-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
}

.jam-category-stat-card span {
  display: block;
  color: #5c6a84;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jam-category-stat-card strong {
  display: block;
  margin-top: 10px;
  color: #13213f;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.jam-category-section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 22px;
}

.jam-category-finder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap: 16px;
  align-items: end;
}

.jam-category-search {
  display: grid;
  gap: 8px;
}

.jam-category-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jam-category-chip {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #cbd8f1;
  background: #ffffff;
  color: #244078;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.jam-category-chip:hover,
.jam-category-chip:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 30, 68, 0.1);
}

.jam-category-chip.is-active {
  background: linear-gradient(135deg, #1b237e 0%, #3146c7 100%);
  border-color: rgba(27, 35, 126, 0.35);
  color: #ffffff;
}

.jam-category-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #dbe3f2;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jam-category-feedback p {
  color: #44526d;
  line-height: 1.5;
}

.jam-category-clear {
  border: 0;
  background: transparent;
  color: #244078;
  font-weight: 800;
  cursor: pointer;
}

.jam-category-section-head h2,
.jam-category-cta-copy h2 {
  color: #13213f;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.08;
}

.jam-category-grid {
  display: grid;
  gap: 14px;
}

.jam-category-grid-primary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jam-category-grid-sectors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jam-category-card,
.jam-category-sector-card,
.jam-category-route-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
}

.jam-category-card h3,
.jam-category-sector-card h3,
.jam-category-route-card h3 {
  margin-top: 10px;
  color: #152645;
}

.jam-category-card,
.jam-category-sector-card,
.jam-category-route-card,
.jam-category-shortcut {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jam-category-card:hover,
.jam-category-sector-card:hover,
.jam-category-route-card:hover,
.jam-category-shortcut:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 30, 68, 0.12);
  border-color: #c5d5f3;
}

.jam-category-card.is-hidden,
.jam-category-sector-card.is-hidden,
.jam-category-route-card.is-hidden,
.jam-category-shortcut.is-hidden {
  display: none;
}

.jam-category-list {
  margin-top: 14px;
  margin-left: 18px;
  color: #44526d;
  display: grid;
  gap: 8px;
}

.jam-category-card-actions,
.jam-category-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jam-category-inline-link,
.jam-category-sector-link,
.jam-category-route-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #244078;
  font-weight: 800;
  text-decoration: none;
}

.jam-category-inline-link:hover,
.jam-category-sector-link:hover,
.jam-category-route-card a:hover {
  background: #eef4ff;
}

.jam-category-route-strip {
  background:
    radial-gradient(440px 220px at 100% 0%, rgba(66, 98, 191, 0.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.jam-category-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.jam-category-spotlight {
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(241, 109, 67, 0.08), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.jam-category-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.jam-category-shortcut {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f2;
  box-shadow: 0 12px 28px rgba(15, 30, 68, 0.08);
  display: grid;
  gap: 10px;
  color: inherit;
}

.jam-category-shortcut strong {
  color: #152645;
  font-size: 1.02rem;
}

.jam-category-shortcut span {
  color: #5c6a84;
  line-height: 1.55;
}

.jam-category-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jam-category-cta-copy {
  max-width: 780px;
}

@media (max-width: 1200px) {
  .jam-category-hero,
  .jam-category-grid-primary {
    grid-template-columns: 1fr 1fr;
  }

  .jam-category-finder-layout,
  .jam-category-grid-sectors,
  .jam-category-route-grid,
  .jam-category-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .jam-category-hero,
  .jam-category-finder-layout,
  .jam-category-grid-primary,
  .jam-category-grid-sectors,
  .jam-category-route-grid,
  .jam-category-shortcut-grid,
  .jam-category-cta {
    grid-template-columns: 1fr;
  }

  .jam-category-hero,
  .jam-category-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  .jam-category-shell {
    width: min(96vw, 760px);
  }

  .jam-category-hero,
  .jam-category-section {
    border-radius: 22px;
    padding: 18px 16px;
  }

  .jam-category-hero h1 {
    max-width: none;
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .jam-category-hero-actions .jam-submit,
  .jam-category-cta-actions .jam-submit {
    width: 100%;
    text-align: center;
  }

  .jam-category-grid-primary,
  .jam-category-grid-sectors,
  .jam-category-route-grid {
    grid-template-columns: 1fr;
  }

  .jam-category-card,
  .jam-category-sector-card,
  .jam-category-route-card,
  .jam-category-shortcut {
    padding: 18px;
    border-radius: 18px;
  }

  .jam-category-pill-row,
  .jam-category-stat-grid,
  .jam-category-feedback,
  .jam-category-card-actions,
  .jam-category-route-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jam-category-chip-group {
    gap: 8px;
  }

  .jam-category-chip {
    width: 100%;
  }

  .jam-category-inline-link,
  .jam-category-sector-link,
  .jam-category-route-card a {
    justify-content: center;
    text-align: center;
  }
}

/* Homepage feature cards: keep the outer band wide, but stack the cards vertically. */
html body .jam-home-feature-band,
html body .rich-hero-bottom.jam-home-feature-band,
html body .jam-home-feature-band[data-visible-count="1"],
html body .jam-home-feature-band[data-visible-count="2"],
html body .jam-home-feature-band[data-visible-count="3"] {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin: 40px auto 0 !important;
  padding: 32px clamp(20px, 4vw, 36px) 40px !important;
  overflow: visible !important;
  gap: 18px !important;
}

html body .jam-home-feature-band > *,
html body .jam-home-feature-band[data-visible-count="3"] .jam-home-highlight-card {
  grid-column: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Homepage hero spacing fix 2026-04-10 */
html body .jam-home-main .jam-home-hero {
  padding-bottom: 20px !important;
}

html body .jam-home-main .jam-hero-grid {
  padding-bottom: 56px !important;
  gap: 18px !important;
}

html body .jam-home-main .jam-home-search-deck {
  width: min(100%, 920px) !important;
  margin: 0 auto !important;
  padding: 16px 16px 12px !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 22px rgba(7, 15, 34, 0.12) !important;
}

html body .jam-home-main .jam-home-search-form {
  width: min(100%, 820px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

html body .jam-home-main .jam-home-chip-row {
  width: min(100%, 820px) !important;
  gap: 8px !important;
  justify-content: center !important;
}

html body .jam-home-main .jam-home-chip {
  width: auto !important;
  flex: 0 1 auto !important;
  padding: 8px 12px !important;
}

html body .jam-home-main .rich-hero-bottom.jam-home-feature-band,
html body .jam-home-main .jam-home-feature-band,
html body .jam-home-main .jam-home-feature-band[data-visible-count="1"],
html body .jam-home-main .jam-home-feature-band[data-visible-count="2"],
html body .jam-home-main .jam-home-feature-band[data-visible-count="3"] {
  margin: 18px auto 0 !important;
  padding: 24px clamp(20px, 4vw, 36px) 36px !important;
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  border-radius: 24px 24px 0 0 !important;
}

@media (max-width: 900px) {
  html body .jam-home-main .jam-home-search-deck {
    padding: 16px 14px 12px !important;
  }

  html body .jam-home-main .jam-home-search-form {
    width: 100% !important;
    border-radius: 22px !important;
  }

  html body .jam-home-main .jam-home-chip-row {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  html body .jam-home-main .jam-hero-grid {
    padding-bottom: 32px !important;
  }

  html body .jam-home-main .rich-hero-bottom.jam-home-feature-band,
  html body .jam-home-main .jam-home-feature-band,
  html body .jam-home-main .jam-home-feature-band[data-visible-count="1"],
  html body .jam-home-main .jam-home-feature-band[data-visible-count="2"],
  html body .jam-home-main .jam-home-feature-band[data-visible-count="3"] {
    margin-top: 12px !important;
    padding: 20px 14px 32px !important;
  }
}

/* Homepage hero responsive fix for current right-side search card */
html body .jam-home-main .jam-home-hero {
  margin-bottom: 20px !important;
}

html body .jam-home-main .jam-hero-grid {
  padding-bottom: 36px !important;
}

html body .jam-home-main .jam-home-hero-content {
  align-items: start !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px) !important;
}

html body .jam-home-main .jam-home-search-card {
  position: relative;
  z-index: 2;
  align-self: start !important;
}

html body .jam-home-main .jam-home-section:first-of-type {
  margin-top: 0 !important;
}

@media (max-width: 1440px) {
  html body .jam-home-main .jam-home-hero {
    min-height: auto !important;
    margin-bottom: 24px !important;
  }

  html body .jam-home-main .jam-hero-grid {
    padding-bottom: 28px !important;
  }

  html body .jam-home-main .jam-home-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) !important;
    gap: 18px !important;
  }

  html body .jam-home-main .jam-home-search-card {
    width: min(100%, 380px) !important;
    margin-top: 68px !important;
  }
}

@media (max-width: 980px) {
  html body .jam-home-main .jam-home-hero {
    margin-bottom: 28px !important;
  }

  html body .jam-home-main .jam-home-hero-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  html body .jam-home-main .jam-home-search-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 900px) {
  html body .jam-home-main .jam-home-hero {
    margin-bottom: 22px !important;
  }

  html body .jam-home-main .jam-hero-grid {
    padding-bottom: 24px !important;
  }
}

/* Final homepage hero layout rule 2026-04-10 */
html body .jam-home-main .jam-home-hero {
  height: auto !important;
  min-height: min(96vh, 980px) !important;
  overflow: visible !important;
}

html body .jam-home-main .jam-hero-grid {
  height: auto !important;
  min-height: 0 !important;
  align-content: start !important;
}

html body .jam-home-main .jam-home-hero-content {
  align-items: start !important;
}

/* Upload + media UI cleanup 2026-04-23 */
.jam-home-hero {
  isolation: isolate;
}

.jam-home-hero-video {
  z-index: 0;
  object-position: center center;
  filter: saturate(0.96) brightness(0.6);
}

.jam-home-hero .rich-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(8, 14, 32, 0.78), rgba(17, 34, 84, 0.56)),
    radial-gradient(circle at 72% 34%, rgba(76, 111, 224, 0.2), transparent 42%);
}

.jam-home-main .jam-hero-grid,
.jam-home-main .jam-home-hero-content,
.jam-home-main .jam-home-copy,
.jam-home-main .jam-home-search-card {
  position: relative;
  z-index: 2;
}

.jam-profile-upload-panel {
  margin-bottom: 14px;
}

.jam-settings-upload-block {
  gap: 12px;
}

.jam-settings-upload-status {
  color: #5c6a84;
  font-size: 0.9rem;
  line-height: 1.4;
}

.jam-upload-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(11, 60, 168, 0.14);
  background: linear-gradient(180deg, rgba(239, 245, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.jam-upload-panel-head {
  display: grid;
  gap: 4px;
}

.jam-upload-panel-title {
  font-weight: 700;
  color: #16346d;
}

.jam-upload-panel-copy {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5c6a84;
}

.jam-upload-input-wrap {
  display: grid;
  gap: 8px;
}

.jam-upload-input-label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #35558c;
}

.jam-upload-input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11, 60, 168, 0.18);
  background: #ffffff;
  color: #16346d;
}

.jam-upload-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.jam-upload-grid {
  align-items: start;
}

.jam-post-media-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(11, 60, 168, 0.12);
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.9), rgba(255, 255, 255, 0.98));
}

.jam-post-media-head {
  display: grid;
  gap: 8px;
}

.jam-post-media-head h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #17356a;
}

.jam-post-media-head p {
  margin: 0;
  color: #5c6a84;
  line-height: 1.55;
}

.jam-market-modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
}

.jam-market-modal-media,
.jam-market-card-media {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(11, 60, 168, 0.12);
  background: rgba(230, 238, 255, 0.7);
}

.jam-market-modal-media {
  min-height: 180px;
}

.jam-market-card-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.jam-market-modal-media img,
.jam-market-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jam-market-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.jam-market-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(11, 60, 168, 0.12);
  background: #e8eefc;
}

.jam-market-card-copy,
.jam-job-title-block {
  display: grid;
  gap: 6px;
}

.jam-market-card-inline-thumb {
  width: min(100%, 270px);
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(11, 60, 168, 0.12);
  background: rgba(230, 238, 255, 0.7);
  box-shadow: 0 10px 20px rgba(16, 33, 76, 0.08);
}

.jam-market-card-inline-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.jam-market-card-price-row {
  display: flex;
  justify-content: flex-start;
}

.jam-market-card-price-row .jam-price-panel {
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 18px;
}

.jam-market-card-price-row .jam-profile-key {
  font-size: 0.76rem;
  letter-spacing: 0.09em;
}

.jam-market-card-price-row .jam-price-value {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.jam-market-modal-price-stat {
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(245, 158, 11, 0.16), transparent 60%),
    linear-gradient(180deg, #fff8ef 0%, #fff2df 100%) !important;
  border-color: #f6d49c !important;
}

.jam-market-modal-price-stat span {
  color: #9a4b00;
}

.jam-market-modal-price-stat strong {
  color: #b15b00;
  font-size: 1.08rem;
  font-weight: 900;
}

body.jam-theme-dark .jam-upload-panel,
body.jam-theme-dark .jam-post-media-card,
body.jam-theme-dark .jam-market-modal-media,
body.jam-theme-dark .jam-market-card-media,
body.jam-theme-dark .jam-market-card-inline-thumb {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-upload-panel-title,
body.jam-theme-dark .jam-upload-input-label,
body.jam-theme-dark .jam-post-media-head h3 {
  color: #e8efff !important;
}

body.jam-theme-dark .jam-upload-panel-copy,
body.jam-theme-dark .jam-post-media-head p {
  color: #b9c8eb !important;
}

body.jam-theme-dark .jam-service-card-media {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
}

body.jam-theme-dark .jam-service-card-fav {
  background: rgba(12, 22, 38, 0.94);
  color: #dbe7ff;
}

body.jam-theme-dark .jam-service-card-title-block h3,
body.jam-theme-dark .jam-service-card-price {
  color: #e8efff;
}

body.jam-theme-dark .jam-service-card-tag {
  background: rgba(25, 42, 83, 0.92);
  color: #dbe7ff;
  border-color: rgba(120, 146, 192, 0.24);
}

body.jam-theme-dark .jam-service-card-delivery {
  background: rgba(14, 24, 42, 0.98);
  color: #b9c8eb;
  border-color: rgba(120, 146, 192, 0.18);
}

body.jam-theme-dark .jam-service-modal-provider-mark,
body.jam-theme-dark .jam-service-modal-media {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-service-modal-title-copy h2,
body.jam-theme-dark .jam-service-modal-price,
body.jam-theme-dark .jam-service-modal-fact strong,
body.jam-theme-dark .jam-service-modal-info-copy strong,
body.jam-theme-dark .jam-service-modal-detail-head strong {
  color: #e8efff !important;
}

body.jam-theme-dark .jam-service-modal-title-copy p,
body.jam-theme-dark .jam-service-modal-fact p,
body.jam-theme-dark .jam-service-modal-info-copy p,
body.jam-theme-dark .jam-service-modal-detail-head p,
body.jam-theme-dark .jam-service-modal-detail-body p,
body.jam-theme-dark .jam-service-modal-footer-note {
  color: #b9c8eb !important;
}

body.jam-theme-dark .jam-service-modal-chip {
  background: rgba(25, 42, 83, 0.92) !important;
  color: #dbe7ff !important;
  border-color: rgba(120, 146, 192, 0.24) !important;
}

body.jam-theme-dark .jam-service-modal-price-card,
body.jam-theme-dark .jam-service-modal-summary,
body.jam-theme-dark .jam-service-reviews-card,
body.jam-theme-dark .jam-service-review-form,
body.jam-theme-dark .jam-service-review-item,
body.jam-theme-dark .jam-service-modal-detail-row {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-service-modal-kicker,
body.jam-theme-dark .jam-service-modal-detail-label,
body.jam-theme-dark .jam-service-review-time {
  color: #b9c8eb !important;
}

body.jam-theme-dark .jam-service-modal-price-card small,
body.jam-theme-dark .jam-service-modal-price-card span {
  color: #9fb3de !important;
}

body.jam-theme-dark .jam-service-modal-price-card strong,
body.jam-theme-dark .jam-service-review-author strong {
  color: #f4f7ff !important;
}

.jam-job-modal-shell .jam-service-modal-price {
  font-size: clamp(1.65rem, 2.6vw, 2.05rem);
}

body.jam-theme-dark .jam-service-modal-fact {
  border-bottom-color: rgba(120, 146, 192, 0.14);
}

body.jam-theme-dark .jam-service-modal-info-card,
body.jam-theme-dark .jam-service-modal-detail-card {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.98), rgba(9, 17, 31, 0.96)) !important;
  border-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-service-modal-sticky-bar {
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.92), rgba(9, 17, 31, 0.98) 24%) !important;
  border-top-color: rgba(120, 146, 192, 0.18) !important;
}

body.jam-theme-dark .jam-service-modal-detail-icon {
  background: rgba(25, 42, 83, 0.92) !important;
  color: #dbe7ff !important;
}

body.jam-theme-dark .jam-service-modal-detail-head i {
  color: #b9c8eb !important;
}

body.jam-theme-dark .jam-market-modal-price-stat {
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(245, 158, 11, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(48, 30, 14, 0.9), rgba(31, 20, 10, 0.86)) !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
}

.jam-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 3000;
  max-width: calc(100vw - 24px);
}

.jam-chat-fab {
  min-width: 116px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1b237e, #1677c8);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(15, 30, 68, 0.22);
  cursor: pointer;
  padding: 0 18px;
}

.jam-chat-fab strong {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
}

.jam-chat-drawer {
  position: absolute;
  right: 0;
  bottom: 60px;
  width: min(94vw, 680px);
  max-height: min(78vh, 700px);
  padding: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #dbe7f3;
  border-radius: 22px;
  background:
    radial-gradient(240px 140px at 100% 0%, rgba(70, 127, 207, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: 0 24px 58px rgba(15, 30, 68, 0.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  overflow: hidden;
}

.jam-chat-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.jam-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5edf8;
}

.jam-chat-head-copy {
  min-width: 0;
}

.jam-chat-head span,
.jam-chat-thread-btn span {
  color: #2563eb;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jam-chat-head strong {
  display: block;
  color: #102a54;
  font-size: 1.2rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jam-chat-head-copy p {
  margin: 5px 0 0;
  color: #6b7a92;
  font-size: 0.84rem;
}

.jam-chat-close {
  border: 1px solid #d5deed;
  border-radius: 999px;
  background: #ffffff;
  color: #405574;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 auto;
}

.jam-chat-body {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 14px;
  padding-top: 14px;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

.jam-chat-threads {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  min-width: 0;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.jam-chat-thread-btn {
  border: 1px solid #dbe3f2;
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.92);
  padding: 12px 13px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 30, 68, 0.05);
}

.jam-chat-thread-btn.is-active {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.jam-chat-thread-btn strong,
.jam-chat-thread-btn p {
  display: block;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jam-chat-thread-btn strong {
  color: #102a54;
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.jam-chat-thread-btn span {
  display: block;
  margin-bottom: 6px;
}

.jam-chat-thread-btn p,
.jam-chat-empty {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.jam-chat-empty.is-error {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-weight: 800;
}

.jam-chat-thread {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: visible;
}

.jam-chat-messages {
  flex: 1 1 auto;
  min-height: 220px;
  max-height: none;
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 14px 14px 18px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.jam-chat-messages.is-empty {
  display: none;
}

.jam-chat-message {
  display: flex;
}

.jam-chat-message.is-mine {
  justify-content: flex-end;
}

.jam-chat-message > div {
  width: min(82%, 440px);
  padding: 12px 13px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe7f3;
  box-shadow: 0 10px 20px rgba(15, 30, 68, 0.04);
}

.jam-chat-message.is-mine > div {
  background: linear-gradient(135deg, #1b237e, #1677c8);
  color: #ffffff;
}

.jam-chat-message strong,
.jam-chat-message span {
  display: block;
}

.jam-chat-message strong {
  font-size: 0.88rem;
}

.jam-chat-message span {
  margin-top: 2px;
  color: #7a8ba7;
  font-size: 0.72rem;
}

.jam-chat-message.is-mine span {
  color: rgba(255, 255, 255, 0.8);
}

.jam-chat-message p {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.jam-chat-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 20px rgba(15, 30, 68, 0.06);
  margin-top: 2px;
  flex: 0 0 auto;
}

.jam-chat-form .jam-textarea {
  min-height: 88px;
  max-height: 160px;
  resize: vertical;
  margin: 0;
}

.jam-chat-form .jam-submit {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(27, 35, 126, 0.2);
}

@media (max-width: 1366px) and (max-height: 900px) and (min-width: 721px) {
  .jam-chat-panel {
    right: 16px;
    bottom: 16px;
  }

  .jam-chat-drawer {
    width: min(94vw, 620px);
    max-height: min(72vh, 610px);
    padding: 14px;
    bottom: 56px;
  }

  .jam-chat-body {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 12px;
    padding-top: 12px;
  }

  .jam-chat-threads {
    max-height: 390px;
  }

  .jam-chat-thread {
    gap: 10px;
  }

  .jam-chat-messages {
    min-height: 160px;
    padding: 12px;
  }

  .jam-chat-message > div {
    width: min(88%, 400px);
    padding: 11px 12px;
  }

  .jam-chat-form {
    padding: 10px;
    gap: 8px;
  }

  .jam-chat-form .jam-textarea {
    min-height: 72px;
    max-height: 120px;
  }

  .jam-chat-form .jam-submit {
    min-height: 44px;
  }
}

@media (max-width: 720px) {
  .jam-chat-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .jam-chat-fab {
    width: 100%;
  }

  .jam-chat-drawer {
    left: 0;
    right: 0;
    width: 100%;
    max-height: 74vh;
    padding: 14px;
    bottom: 58px;
    overflow: hidden;
  }

  .jam-chat-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jam-chat-head {
    align-items: flex-start;
  }

  .jam-chat-head strong {
    font-size: 1.08rem;
    white-space: normal;
  }

  .jam-chat-threads {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .jam-chat-thread-btn {
    flex: 0 0 220px;
  }

  .jam-chat-messages {
    min-height: 180px;
  }

  .jam-chat-message > div {
    width: min(92%, 100%);
  }

  .jam-chat-form .jam-textarea {
    min-height: 76px;
  }

  .jam-chat-form {
    padding: 10px;
    border-radius: 16px;
  }
}

body.jam-theme-dark .jam-market-modal-price-stat span {
  color: #ffcf8a !important;
}

body.jam-theme-dark .jam-market-modal-price-stat strong {
  color: #ffdcae !important;
}

body.jam-theme-dark .jam-upload-input {
  background: #101a2f;
  border-color: rgba(147, 197, 253, 0.16);
  color: #e8efff;
}

@media (max-width: 640px) {
  .jam-upload-panel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jam-market-modal-hero {
    grid-template-columns: 1fr;
  }
}

.jam-upload-panel-actions .jam-profile-secondary,
.jam-upload-panel-actions .jam-submit {
  min-height: 46px;
  padding: 0 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px !important;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .jam-upload-panel-actions .jam-profile-secondary,
  .jam-upload-panel-actions .jam-submit {
    width: 100%;
  }
}

html body .jam-home-main .jam-home-search-card {
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-top: clamp(1px, 9vw, 10px) !important;
}

@media (min-width: 1101px) {
  html body .jam-home-main .jam-home-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px) !important;
  }
}

@media (max-width: 980px) {
  html body .jam-home-main .jam-home-hero {
    min-height: auto !important;
    margin-bottom: 28px !important;
  }

  html body .jam-home-main .jam-home-hero-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  html body .jam-home-main .jam-home-search-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
}
