/* --------------------------------------------------------------------------
 * IDSA master card system — reuse for info / status / billing-style surfaces
 * Markup: .idsa-card > [ __head | __meta | __body | __actions ] + .idsa-chip
 * Grid:  .idsa-card-grid
 * -------------------------------------------------------------------------- */
.idsa-card {
  box-sizing: border-box;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #dbe6ff);
  border-radius: var(--idsa-radius, 12px);
  padding: var(--sp-4, 16px);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
}

.idsa-card--stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
}

.idsa-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.idsa-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text, #0f172a);
  flex: 1;
  min-width: 0;
}

.idsa-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}

.idsa-card__meta > p {
  margin: 0;
}

.idsa-card__meta > p.idsa-card__meta-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, #64748b);
}

.idsa-card__body {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text, #0f172a);
}

.idsa-card__body > :first-child {
  margin-top: 0;
}

.idsa-card__body > :last-child {
  margin-bottom: 0;
}

.idsa-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.idsa-card__actions > .idsa-btn {
  flex: 1 1 auto;
}

.idsa-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

@media (max-width: 639px) {
  .idsa-card--stack .idsa-card__actions > .idsa-btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .idsa-card--stack .idsa-card__actions > .idsa-btn {
    flex: 0 1 auto;
    align-self: flex-start;
    min-width: 9.5rem;
  }
}

/* Status / label chips (directory, billing badges, etc.) */
.idsa-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  max-width: 44%;
  line-height: 1.2;
}

.idsa-chip--success {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.idsa-chip--warning {
  background: #ffedd5;
  border-color: #fdba74;
  color: #9a3412;
}

.idsa-chip--neutral {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.idsa-chip--danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.idsa-chip--info {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
}

.idsa-title {
  margin: 0 0 var(--sp-2, 8px);
  color: var(--text, #0f172a);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.idsa-muted {
  color: var(--muted, #64748b);
}

/* Universal button system */
.idsa-btn {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--idsa-radius-sm, 10px);
  border: 1px solid var(--border, #dbe6ff);
  background: transparent;
  color: var(--text, #0f172a);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}

.idsa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(2, 6, 23, .12);
}

.idsa-btn:focus-visible {
  outline: 2px solid var(--focus, #93c5fd);
  outline-offset: 2px;
}

.idsa-btn[disabled],
.idsa-btn[aria-disabled="true"],
.idsa-btn.is-disabled {
  opacity: .65;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.idsa-btn.is-loading::after,
.idsa-btn[data-loading="1"]::after {
  content: " ...";
  font-weight: 700;
}

.idsa-btn-primary {
  background: var(--primary, #2563eb);
  color: var(--primaryText, #fff);
  border-color: var(--primary, #2563eb);
}

.idsa-btn-secondary {
  background: color-mix(in srgb, var(--surface, #fff) 70%, var(--primary, #2563eb) 30%);
  color: var(--text, #0f172a);
  border-color: color-mix(in srgb, var(--primary, #2563eb) 35%, var(--border, #dbe6ff) 65%);
}

.idsa-btn-outline {
  background: transparent;
  color: var(--text, #0f172a);
  border-color: var(--border, #dbe6ff);
}

.idsa-btn-danger {
  background: var(--danger, #dc2626);
  color: #fff;
  border-color: var(--danger, #dc2626);
}

.idsa-btn-success {
  background: var(--success, #16a34a);
  color: #fff;
  border-color: var(--success, #16a34a);
}

.idsa-btn-link {
  border-color: transparent;
  background: transparent;
  color: var(--link, #1d4ed8);
  min-height: 24px;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.idsa-btn-link:hover {
  transform: none;
  text-decoration: underline;
  box-shadow: none;
}

/* Compatibility shim for legacy button classes (no HTML rewrite needed) */
button.btn,
input[type="button"].btn,
input[type="submit"].btn,
a.btn,
button.btn-primary,
input[type="button"].btn-primary,
input[type="submit"].btn-primary,
a.btn-primary,
button.btn-secondary,
input[type="button"].btn-secondary,
input[type="submit"].btn-secondary,
a.btn-secondary,
button.btn-outline,
input[type="button"].btn-outline,
input[type="submit"].btn-outline,
a.btn-outline,
button.btn-danger,
input[type="button"].btn-danger,
input[type="submit"].btn-danger,
a.btn-danger,
button.btn-link,
input[type="button"].btn-link,
input[type="submit"].btn-link,
a.btn-link {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--idsa-radius-sm, 10px);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

button.btn,
input[type="button"].btn,
input[type="submit"].btn,
a.btn,
button.btn-secondary,
input[type="button"].btn-secondary,
input[type="submit"].btn-secondary,
a.btn-secondary {
  border: 1px solid color-mix(in srgb, var(--primary, #2563eb) 35%, var(--border, #dbe6ff) 65%);
  background: color-mix(in srgb, var(--surface, #fff) 70%, var(--primary, #2563eb) 30%);
  color: var(--text, #0f172a);
}

button.btn-primary,
input[type="button"].btn-primary,
input[type="submit"].btn-primary,
a.btn-primary {
  border: 1px solid var(--primary, #2563eb);
  background: var(--primary, #2563eb);
  color: var(--primaryText, #fff);
}

button.btn-outline,
input[type="button"].btn-outline,
input[type="submit"].btn-outline,
a.btn-outline {
  border: 1px solid var(--border, #dbe6ff);
  background: transparent;
  color: var(--text, #0f172a);
}

button.btn-danger,
input[type="button"].btn-danger,
input[type="submit"].btn-danger,
a.btn-danger {
  border: 1px solid var(--danger, #dc2626);
  background: var(--danger, #dc2626);
  color: #fff;
}

button.btn-success,
input[type="button"].btn-success,
input[type="submit"].btn-success,
a.btn-success {
  border: 1px solid var(--success, #16a34a);
  background: var(--success, #16a34a);
  color: #fff;
}

button.btn-link,
input[type="button"].btn-link,
input[type="submit"].btn-link,
a.btn-link {
  border: 0;
  background: transparent;
  color: var(--link, #1d4ed8);
  min-height: 24px;
  padding: 0;
}

button.btn:focus-visible,
input[type="button"].btn:focus-visible,
input[type="submit"].btn:focus-visible,
a.btn:focus-visible,
button.btn-primary:focus-visible,
input[type="button"].btn-primary:focus-visible,
input[type="submit"].btn-primary:focus-visible,
a.btn-primary:focus-visible,
button.btn-secondary:focus-visible,
input[type="button"].btn-secondary:focus-visible,
input[type="submit"].btn-secondary:focus-visible,
a.btn-secondary:focus-visible,
button.btn-outline:focus-visible,
input[type="button"].btn-outline:focus-visible,
input[type="submit"].btn-outline:focus-visible,
a.btn-outline:focus-visible,
button.btn-danger:focus-visible,
input[type="button"].btn-danger:focus-visible,
input[type="submit"].btn-danger:focus-visible,
a.btn-danger:focus-visible,
button.btn-link:focus-visible,
input[type="button"].btn-link:focus-visible,
input[type="submit"].btn-link:focus-visible,
a.btn-link:focus-visible {
  outline: 2px solid var(--focus, #93c5fd);
  outline-offset: 2px;
}

/* Forms */
.idsa-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3, 12px);
}

.idsa-input,
.idsa-select,
.idsa-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--idsa-radius-sm, 10px);
  border: 1px solid var(--border, #dbe6ff);
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  box-sizing: border-box;
}

.idsa-input:focus-visible,
.idsa-select:focus-visible,
.idsa-textarea:focus-visible {
  outline: 2px solid var(--focus, #93c5fd);
  outline-offset: 2px;
}

/* Toast */
.idsa-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10001;
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #dbe6ff);
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
}

.idsa-toast-success {
  border-color: rgba(22, 163, 74, .45);
}

.idsa-toast-error {
  border-color: rgba(220, 38, 38, .45);
}

/* Full-screen success modal */
.idsa-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, .45);
  backdrop-filter: blur(2px);
}

.idsa-success-overlay.is-open {
  display: flex;
}

.idsa-success-modal {
  width: min(520px, 100%);
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  border: 1px solid var(--border, #dbe6ff);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .28);
}

.idsa-success-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.idsa-success-body {
  margin: 0;
  color: var(--muted, #64748b);
}

/* Shared inline alert presets used in legacy pages */
.idsa-u-alert-danger {
  padding: 12px;
  border: 1px solid #f5c2c7;
  background: #f8d7da;
  border-radius: 10px;
  color: #842029;
}

.idsa-u-alert-danger-soft {
  padding: 12px;
  border: 1px solid #fecaca;
  background: #fee2e2;
  border-radius: 10px;
  color: #7f1d1d;
}

/* Shared legacy inline combos */
.idsa-u-label-dim {
  font-size: 12px;
  opacity: .8;
}

.idsa-u-field-dark {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: #0f172a;
  color: #e5e7eb;
}

.idsa-u-td-soft {
  padding: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.idsa-u-td-head {
  padding: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, .2);
}

.idsa-u-th-lite {
  text-align: left;
  padding: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.idsa-u-td-lite {
  padding: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.idsa-u-flex-gap10-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.idsa-u-flex-gap10-wrap-center-m0 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

.idsa-u-block-mb6 {
  display: block;
  margin-bottom: 6px;
}

.idsa-u-muted-13 {
  color: #64748b;
  font-size: 13px;
}

.idsa-u-input-dark-min140 {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: #0f172a;
  color: #e5e7eb;
  min-width: 140px;
}

.idsa-u-btn-dark {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: #1f2937;
  color: #e5e7eb;
  cursor: pointer;
}

.idsa-u-link-outline {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: transparent;
  color: #93c5fd;
  text-decoration: none;
}

.idsa-u-input-min36 {
  min-height: 36px;
  padding: 8px 10px;
}

.idsa-u-input-min36-grow {
  min-height: 36px;
  padding: 8px 10px;
  min-width: 160px;
  flex: 1;
}

.idsa-u-input-min36-grow200 {
  min-height: 36px;
  padding: 8px 10px;
  min-width: 200px;
  flex: 1;
}

.idsa-u-inline-ml8 {
  display: inline;
  margin-left: 8px;
}

.idsa-u-pad6x10 {
  padding: 6px 10px;
}

.idsa-u-link-ml8 {
  margin-left: 8px;
}

.idsa-u-note-box {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  border-radius: 10px;
}

.idsa-u-note-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.idsa-u-input-lite {
  width: 100%;
  padding: 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.idsa-u-btn-mt8 {
  margin-top: 8px;
}

.idsa-success-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted, #64748b);
}

@media (max-width: 768px) {
  .idsa-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   Shared Profile + Business Form Layer (SSOT)
   Source migrated from user_shell_patch.css (Phase 4)
   =========================================== */
/* ===========================================
   Shared Profile + Business Form Layer
   Pages:
   profile_type, profile_basic, profile_address, profile_business,
   business_profile, business_kyc
   =========================================== */

/* Shared wizard form shell (.idsa-step*) */
body.idsa-user-root .idsa-step {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  color: var(--idsa-text, #0f172a);
}
body.idsa-user-root .idsa-step__card {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
body.idsa-user-root .idsa-step__h {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.25;
  color: #0f172a;
}
body.idsa-user-root .idsa-step__muted {
  margin: 0 0 14px;
  color: #475569;
  font-size: 13px;
}
body.idsa-user-root .idsa-step__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
body.idsa-user-root .idsa-step__col6 {
  grid-column: span 6;
}
body.idsa-user-root .idsa-step__col3 {
  grid-column: span 3;
  min-width: 0;
}
body.idsa-user-root .idsa-step__col4 {
  grid-column: span 4;
  min-width: 0;
}
body.idsa-user-root .idsa-step__col12 {
  grid-column: span 12;
}
@media (max-width: 767.98px) {
  body.idsa-user-root .idsa-step__col3,
  body.idsa-user-root .idsa-step__col4,
  body.idsa-user-root .idsa-step__col6 {
    grid-column: span 12;
  }
}
body.idsa-user-root .idsa-step label {
  display: block;
  font-size: 12px;
  color: #334155;
  margin: 0 0 6px;
  font-weight: 700;
}
body.idsa-user-root .idsa-step input,
body.idsa-user-root .idsa-step select,
body.idsa-user-root .idsa-step textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  outline: none;
}
body.idsa-user-root .idsa-step input::placeholder,
body.idsa-user-root .idsa-step textarea::placeholder {
  color: #94a3b8;
}
body.idsa-user-root .idsa-step textarea {
  min-height: 92px;
  resize: vertical;
}
body.idsa-user-root .idsa-step input:focus,
body.idsa-user-root .idsa-step select:focus,
body.idsa-user-root .idsa-step textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
body.idsa-user-root .idsa-step__wizard-head {
  margin: 8px 0 10px;
  display: grid;
  gap: 10px;
}
body.idsa-user-root .idsa-step__wizard-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
body.idsa-user-root .idsa-step__wizard-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #22c55e);
}
body.idsa-user-root .idsa-step__wizard-fill--33 {
  width: 33%;
}
body.idsa-user-root .idsa-step__wizard-fill--67 {
  width: 67%;
}
body.idsa-user-root .idsa-step__wizard-fill--100 {
  width: 100%;
}
body.idsa-user-root .idsa-step__wizard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.idsa-user-root .idsa-step__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
body.idsa-user-root .idsa-step__btn {
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #1d4ed8;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
body.idsa-user-root .idsa-step__btn.secondary {
  background: #fff;
  color: #334155;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-step__btn.secondary:hover {
  background: #f8fafc;
  color: #1e293b;
}
body.idsa-user-root .idsa-step__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
}
body.idsa-user-root .idsa-step__chips {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
body.idsa-user-root .idsa-step__chips--address-tools {
  margin: 8px 0 14px;
}
body.idsa-user-root .idsa-step__inline-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.idsa-user-root .idsa-step__trail {
  margin-bottom: 8px;
}
body.idsa-user-root .idsa-step__trail .idsa-step__btn {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
}
body.idsa-user-root .idsa-step__chip-link {
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}
body.idsa-user-root .idsa-step__alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: #fffbeb;
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-step__ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 12px;
}

/* profile_type (.idsa-pt*) */
body.idsa-user-root .idsa-pt {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
  color: var(--idsa-text-primary, #0f172a);
}
body.idsa-user-root .idsa-pt__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
body.idsa-user-root .idsa-pt__h {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.25;
  color: var(--idsa-text-primary, #0f172a);
}
body.idsa-user-root .idsa-pt__muted {
  margin: 0;
  color: var(--idsa-text-secondary, #475569);
  font-size: 13px;
}
body.idsa-user-root .idsa-pt__hint {
  margin: 8px 0 0;
  color: var(--idsa-text-secondary, #475569);
  font-size: 13px;
}
body.idsa-user-root .idsa-pt__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
body.idsa-user-root .idsa-pt__row1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
body.idsa-user-root .idsa-pt__field label {
  display: block;
  font-size: 12px;
  color: #334155;
  margin: 0 0 6px;
  font-weight: 700;
}
body.idsa-user-root .idsa-pt__field select,
body.idsa-user-root .idsa-pt__field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}
body.idsa-user-root .idsa-pt__field select:focus,
body.idsa-user-root .idsa-pt__field input:focus {
  border-color: var(--idsa-primary, #2563eb);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
body.idsa-user-root .idsa-pt__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.idsa-user-root .idsa-pt__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
}
body.idsa-user-root .idsa-pt__tag input {
  margin: 0;
}
body.idsa-user-root .idsa-pt__tag input[type="checkbox"] {
  accent-color: var(--idsa-primary, #2563eb);
}
body.idsa-user-root .idsa-pt__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
body.idsa-user-root .idsa-pt__btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--idsa-primary, #2563eb);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
body.idsa-user-root .idsa-pt__btn.secondary {
  background: #fff;
  color: #1e293b;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-pt__btn:hover {
  filter: brightness(0.98);
}
body.idsa-user-root .idsa-pt__alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-pt__ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-pt__warn {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-pt__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
body.idsa-user-root .idsa-pt__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  font-size: 12px;
  color: #0f172a;
}

/* business_profile (.idsa-biz*) */
body.idsa-user-root .idsa-biz {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 24px;
}
body.idsa-user-root .idsa-biz__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
body.idsa-user-root .idsa-biz__col12 {
  grid-column: span 12;
}
body.idsa-user-root .idsa-biz__col6 {
  grid-column: span 6;
}
body.idsa-user-root .idsa-biz__col4 {
  grid-column: span 4;
}
body.idsa-user-root .idsa-biz__col8 {
  grid-column: span 8;
}
body.idsa-user-root .idsa-biz__card {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 16px;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
body.idsa-user-root .idsa-biz__h {
  margin: 0 0 10px;
  font-size: 28px;
  color: #0f172a;
  line-height: 1.25;
}
body.idsa-user-root .idsa-biz__muted {
  color: #475569;
  font-size: 13px;
  margin: 0;
  line-height: 1.45;
}
body.idsa-user-root .idsa-biz__alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: #fffbeb;
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-biz__ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-biz__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
body.idsa-user-root .idsa-biz__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
}
body.idsa-user-root .idsa-biz__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid #1d4ed8;
}
body.idsa-user-root .idsa-biz__btn.secondary {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-biz a.idsa-biz__btn {
  color: #fff;
  text-decoration: none;
}
body.idsa-user-root .idsa-biz a.idsa-biz__btn.secondary {
  color: #334155;
}
body.idsa-user-root .idsa-biz__btn:hover {
  background: #1d4ed8;
  color: #fff;
  text-decoration: none;
}
body.idsa-user-root .idsa-biz__btn.secondary:hover {
  background: #eef2f7;
  color: #1e293b;
}
body.idsa-user-root .idsa-biz__field label {
  display: block;
  font-size: 12px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 800;
}
body.idsa-user-root .idsa-biz__field input,
body.idsa-user-root .idsa-biz__field textarea,
body.idsa-user-root .idsa-biz__field select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
body.idsa-user-root .idsa-biz__field input:focus,
body.idsa-user-root .idsa-biz__field textarea:focus,
body.idsa-user-root .idsa-biz__field select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
body.idsa-user-root .idsa-biz__field textarea {
  min-height: 96px;
  resize: vertical;
}
body.idsa-user-root .idsa-biz__field input::placeholder,
body.idsa-user-root .idsa-biz__field textarea::placeholder {
  color: #94a3b8;
}
body.idsa-user-root .idsa-biz__checkgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
body.idsa-user-root .idsa-biz__check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  margin-bottom: 8px;
  cursor: pointer;
}
body.idsa-user-root .idsa-biz__check-input {
  margin: 0;
}
body.idsa-user-root .idsa-biz__header-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
body.idsa-user-root .idsa-biz__notice {
  margin-top: 12px;
}
body.idsa-user-root .idsa-biz__hint {
  margin-top: 6px;
}
body.idsa-user-root .idsa-biz__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* business_kyc (.idsa-bk*) */
body.idsa-user-root .idsa-bk {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px;
  color: var(--idsa-text-primary, #0f172a);
}
body.idsa-user-root .idsa-bk__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
body.idsa-user-root .idsa-bk__card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
body.idsa-user-root .idsa-bk__col6 {
  grid-column: span 6;
}
body.idsa-user-root .idsa-bk__h {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--idsa-text-primary, #0f172a);
  line-height: 1.25;
}
body.idsa-user-root .idsa-bk__h-sm {
  font-size: 18px;
}
body.idsa-user-root .idsa-bk__muted {
  margin: 0;
  color: var(--idsa-text-secondary, #475569);
  font-size: 13px;
}
body.idsa-user-root .idsa-bk__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
body.idsa-user-root .idsa-bk__row-start {
  margin-top: 12px;
  justify-content: flex-start;
}
body.idsa-user-root .idsa-bk__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid #dbe3ee;
  color: #0f172a;
}
body.idsa-user-root .idsa-bk__status-pill {
  background: var(--idsa-bk-status-bg, rgba(148, 163, 184, 0.22));
}
body.idsa-user-root .idsa-bk__status-pill.is-not-started {
  background: rgba(148, 163, 184, 0.22);
}
body.idsa-user-root .idsa-bk__status-pill.is-submitted {
  background: rgba(251, 191, 36, 0.18);
}
body.idsa-user-root .idsa-bk__status-pill.is-under-review {
  background: rgba(59, 130, 246, 0.18);
}
body.idsa-user-root .idsa-bk__status-pill.is-verified {
  background: rgba(34, 197, 94, 0.18);
}
body.idsa-user-root .idsa-bk__status-pill.is-rejected {
  background: rgba(239, 68, 68, 0.18);
}
body.idsa-user-root .idsa-bk__btn {
  display: inline-block;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.idsa-user-root .idsa-bk__btn.secondary {
  background: #fff;
  color: #1e293b;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-bk__btn:hover {
  filter: brightness(0.98);
}
body.idsa-user-root .idsa-bk__alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-bk__ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-bk__warn {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-bk__field label {
  display: block;
  font-size: 12px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 900;
}
body.idsa-user-root .idsa-bk__field input,
body.idsa-user-root .idsa-bk__field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
body.idsa-user-root .idsa-bk__field input:focus,
body.idsa-user-root .idsa-bk__field textarea:focus {
  border-color: var(--idsa-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
body.idsa-user-root .idsa-bk__field textarea {
  min-height: 96px;
  resize: vertical;
}
body.idsa-user-root .idsa-bk__field input[type="file"] {
  padding: 9px 10px;
}
body.idsa-user-root .idsa-bk__col12 {
  grid-column: span 12;
}
body.idsa-user-root .idsa-bk__grid-top14 {
  margin-top: 14px;
}
body.idsa-user-root .idsa-bk__mt10 {
  margin-top: 10px;
}
body.idsa-user-root .idsa-bk__mt12 {
  margin-top: 12px;
}
body.idsa-user-root .idsa-bk__docname {
  color: #64748b;
}
body.idsa-user-root .idsa-bk__doclist {
  margin: 0;
  padding-left: 18px;
  color: #0f172a;
}

/* verify_mobile (.idsa-verify-mobile) */
body.idsa-user-root .idsa-verify-mobile {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 0;
}
body.idsa-user-root .idsa-verify-mobile .idsa-vm__container {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  color: #0f172a;
}
body.idsa-user-root .idsa-verify-mobile h1 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.2;
  color: #0f172a;
}
body.idsa-user-root .idsa-verify-mobile .subtitle {
  margin: 0 0 20px;
  font-size: 13px;
  color: #64748b;
}
body.idsa-user-root .idsa-verify-mobile .alert {
  border-radius: 10px;
  border: 1px solid #facc15;
  background: #fffbeb;
  color: #92400e;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
}
body.idsa-user-root .idsa-verify-mobile .alert-success {
  border-color: #86efac;
  background: #dcfce7;
  color: #166534;
}
body.idsa-user-root .idsa-verify-mobile .alert-error {
  border-color: #fca5a5;
  background: #fee2e2;
  color: #991b1b;
}
body.idsa-user-root .idsa-verify-mobile .alert-info {
  border-color: #93c5fd;
  background: #e0f2fe;
  color: #0c4a6e;
}
body.idsa-user-root .idsa-verify-mobile .status-box {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-left: 4px solid #22c55e;
  border-radius: 10px;
  padding: 14px;
  margin: 0 0 16px;
}
body.idsa-user-root .idsa-verify-mobile .status-box.unverified {
  border-left-color: #f59e0b;
}
body.idsa-user-root .idsa-verify-mobile .status-box--hint {
  margin-top: 8px;
  background: #eef6ff;
  border-color: #c7dcff;
  border-left-color: #3b82f6;
}
body.idsa-user-root .idsa-verify-mobile .status-label {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
body.idsa-user-root .idsa-verify-mobile .status-value {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
body.idsa-user-root .idsa-verify-mobile .form-group {
  margin: 0 0 14px;
}
body.idsa-user-root .idsa-verify-mobile label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
}
body.idsa-user-root .idsa-verify-mobile input[type="text"],
body.idsa-user-root .idsa-verify-mobile input[type="tel"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}
body.idsa-user-root .idsa-verify-mobile input:focus {
  outline: none;
  border-color: var(--idsa-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
body.idsa-user-root .idsa-verify-mobile .button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
body.idsa-user-root .idsa-verify-mobile .button-group--footer {
  margin-top: 12px;
}
body.idsa-user-root .idsa-verify-mobile .help-text {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
body.idsa-user-root .idsa-verify-mobile .attempts-remaining {
  margin: 0 0 12px;
  border-radius: 10px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  padding: 9px 10px;
}
body.idsa-user-root .idsa-verify-mobile .otp-display {
  margin: 0 0 14px;
  border: 1px dashed #f59e0b;
  background: #fffbeb;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
body.idsa-user-root .idsa-verify-mobile .otp-code {
  margin: 8px 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #0f172a;
}
body.idsa-user-root .idsa-verify-mobile .idsa-vm-clear-form {
  margin-top: 10px;
}
body.idsa-user-root .idsa-verify-mobile .idsa-vm-divider {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
}
body.idsa-user-root .idsa-verify-mobile .idsa-vm-help {
  margin-top: 16px;
}
body.idsa-user-root .idsa-verify-mobile .idsa-vm-help-list {
  margin: 10px 0 0 18px;
}

/* profile/business shared flow baseline */
body.idsa-user-root .idsa-profile-flow {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}
/* Full work-area width for profile/business flow pages */
body.idsa-user-root[data-idsa-work="profile_type"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_basic"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_address"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_business"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_home"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="business_profile"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="business_kyc"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="business_home"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="business_card"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="verify_mobile"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="job_profile"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="job_profile_preview"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_edit"] .idsa-profile-flow {
  max-width: 100%;
  margin: 0;
  padding: 12px 0;
}
body.idsa-user-root[data-idsa-work="business_home"] .idsa-bh,
body.idsa-user-root[data-idsa-work="business_card"] .idsa-bc,
body.idsa-user-root[data-idsa-work="job_profile"] .idsa-job-profile .idsa-resume,
body.idsa-user-root[data-idsa-work="job_profile_preview"] .idsa-resume-prev,
body.idsa-user-root[data-idsa-work="verify_mobile"] .idsa-verify-mobile {
  max-width: 100%;
  margin: 0;
  padding: 12px 0;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__card,
body.idsa-user-root .idsa-profile-flow .idsa-pt__card,
body.idsa-user-root .idsa-profile-flow .idsa-biz__card,
body.idsa-user-root .idsa-profile-flow .idsa-bk__card,
body.idsa-user-root .idsa-profile-flow .card {
  border-radius: 14px;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__h,
body.idsa-user-root .idsa-profile-flow .idsa-pt__h,
body.idsa-user-root .idsa-profile-flow .idsa-biz__h,
body.idsa-user-root .idsa-profile-flow .idsa-bk__h,
body.idsa-user-root .idsa-profile-flow .idsa-pe-title {
  letter-spacing: -0.01em;
}
body.idsa-user-root .idsa-profile-flow input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([disabled]),
body.idsa-user-root .idsa-profile-flow textarea:not([disabled]),
body.idsa-user-root .idsa-profile-flow select:not([disabled]) {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
body.idsa-user-root .idsa-profile-flow input[disabled],
body.idsa-user-root .idsa-profile-flow textarea[disabled],
body.idsa-user-root .idsa-profile-flow select[disabled] {
  background: #f1f5f9 !important;
  color: #64748b !important;
}
body.idsa-user-root .idsa-profile-flow input::placeholder,
body.idsa-user-root .idsa-profile-flow textarea::placeholder {
  color: #94a3b8 !important;
}
/* Phase 4 final polish: keep profile/business pages visually consistent */
body.idsa-user-root[data-idsa-work="profile_type"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_basic"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_address"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_business"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_home"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="business_profile"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="business_kyc"] .idsa-profile-flow,
body.idsa-user-root[data-idsa-work="profile_edit"] .idsa-profile-flow {
  padding: 14px 4px 18px;
}
/* Phase 4 width lock: keep profile/business pages full work-area width */
body.idsa-user-root[data-idsa-work="profile_type"] .idsa-profile-flow.idsa-step,
body.idsa-user-root[data-idsa-work="profile_basic"] .idsa-profile-flow.idsa-step,
body.idsa-user-root[data-idsa-work="profile_address"] .idsa-profile-flow.idsa-step,
body.idsa-user-root[data-idsa-work="profile_business"] .idsa-profile-flow.idsa-step,
body.idsa-user-root[data-idsa-work="profile_type"] .idsa-profile-flow.idsa-pt,
body.idsa-user-root[data-idsa-work="business_profile"] .idsa-profile-flow.idsa-biz,
body.idsa-user-root[data-idsa-work="business_kyc"] .idsa-profile-flow.idsa-bk,
body.idsa-user-root[data-idsa-work="profile_home"] .idsa-profile-flow.idsa-profile-home,
body.idsa-user-root[data-idsa-work="profile_edit"] .idsa-profile-flow.idsa-profile-edit {
  max-width: 100%;
  margin: 0;
  padding: 14px 0 18px;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__card,
body.idsa-user-root .idsa-profile-flow .idsa-pt__card,
body.idsa-user-root .idsa-profile-flow .idsa-biz__card,
body.idsa-user-root .idsa-profile-flow .idsa-bk__card {
  margin-bottom: 14px;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__card,
body.idsa-user-root .idsa-profile-flow .idsa-pt__card,
body.idsa-user-root .idsa-profile-flow .idsa-biz__card,
body.idsa-user-root .idsa-profile-flow .idsa-bk__card,
body.idsa-user-root .idsa-profile-flow .idsa-profile-home__card,
body.idsa-user-root .idsa-profile-flow .idsa-pe-card {
  width: 100%;
  box-sizing: border-box;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__grid,
body.idsa-user-root .idsa-profile-flow .idsa-biz__grid,
body.idsa-user-root .idsa-profile-flow .idsa-bk__grid {
  gap: 14px;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__trail {
  margin-bottom: 10px;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__btn,
body.idsa-user-root .idsa-profile-flow .idsa-pt__btn,
body.idsa-user-root .idsa-profile-flow .idsa-biz__btn,
body.idsa-user-root .idsa-profile-flow .idsa-bk__btn {
  min-height: 42px;
}
body.idsa-user-root .idsa-profile-flow .idsa-step__alert,
body.idsa-user-root .idsa-profile-flow .idsa-step__ok,
body.idsa-user-root .idsa-profile-flow .idsa-pt__alert,
body.idsa-user-root .idsa-profile-flow .idsa-pt__ok,
body.idsa-user-root .idsa-profile-flow .idsa-pt__warn,
body.idsa-user-root .idsa-profile-flow .idsa-biz__alert,
body.idsa-user-root .idsa-profile-flow .idsa-biz__ok,
body.idsa-user-root .idsa-profile-flow .idsa-bk__alert,
body.idsa-user-root .idsa-profile-flow .idsa-bk__ok,
body.idsa-user-root .idsa-profile-flow .idsa-bk__warn {
  line-height: 1.45;
}
body.idsa-user-root[data-idsa-work="profile_edit"] .idsa-profile-edit .wrap {
  padding: 14px 4px 18px;
}

/* profile_home (.idsa-profile-home) */
body.idsa-user-root .idsa-profile-home {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 24px;
}
body.idsa-user-root .idsa-profile-home__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
body.idsa-user-root .idsa-profile-home__col6 {
  grid-column: span 6;
}
body.idsa-user-root .idsa-profile-home__col12 {
  grid-column: span 12;
}
body.idsa-user-root .idsa-profile-home__card {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 18px;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
body.idsa-user-root .idsa-profile-home__step {
  display: flex;
  flex-direction: column;
  min-height: 168px;
}
body.idsa-user-root .idsa-profile-home__h {
  margin: 0 0 8px;
  font-size: 28px;
  color: #0f172a;
  line-height: 1.25;
}
body.idsa-user-root .idsa-profile-home__step-h {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
  line-height: 1.25;
}
body.idsa-user-root .idsa-profile-home__muted {
  color: #475569;
  font-size: 13px;
  margin: 0;
  line-height: 1.45;
}
body.idsa-user-root .idsa-profile-home__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
}
body.idsa-user-root .idsa-profile-home__bar {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 10px;
}
body.idsa-user-root .idsa-profile-home__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #22c55e);
  width: 0;
  transition: width 0.25s ease;
}
body.idsa-user-root .idsa-profile-home__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
}
body.idsa-user-root .idsa-profile-home__actions--backnav {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 10px;
}
body.idsa-user-root .idsa-profile-home__more.idsa-profile-home__more--grow {
  margin: 0;
  flex: 1 1 260px;
}
body.idsa-user-root .idsa-profile-home__muted--note {
  margin: 8px 0 0;
  font-size: 13px;
}
body.idsa-user-root .idsa-profile-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid #1d4ed8;
}
body.idsa-user-root .idsa-profile-home__btn.secondary {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-profile-home a.idsa-profile-home__btn {
  color: #fff !important;
  text-decoration: none !important;
}
body.idsa-user-root .idsa-profile-home a.idsa-profile-home__btn:hover {
  color: #fff !important;
  text-decoration: none !important;
  background: #1d4ed8;
}
body.idsa-user-root .idsa-profile-home a.idsa-profile-home__btn.secondary {
  color: #334155 !important;
  background: #f8fafc;
}
body.idsa-user-root .idsa-profile-home a.idsa-profile-home__btn.secondary:hover {
  color: #1e293b !important;
  background: #eef2f7;
}
body.idsa-user-root .idsa-profile-home__alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: #fffbeb;
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-profile-home__ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-profile-home__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
body.idsa-user-root .idsa-profile-home__chips {
  gap: 8px;
  margin-top: 10px;
}
body.idsa-user-root .idsa-profile-home__notes {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.5;
}
body.idsa-user-root .idsa-profile-home__mt12 {
  margin-top: 12px;
}
body.idsa-user-root .idsa-profile-home__mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
body.idsa-user-root .idsa-profile-home__mini-card {
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
}
body.idsa-user-root .idsa-profile-home__mini-h {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
body.idsa-user-root .idsa-profile-home__mini-muted {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

/* business_home (.idsa-bh*) */
body.idsa-user-root .idsa-bh {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 24px;
  color: #0f172a;
}
body.idsa-user-root .idsa-bh__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
body.idsa-user-root .idsa-bh__card {
  grid-column: span 12;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
body.idsa-user-root .idsa-bh__col6 {
  grid-column: span 6;
}
body.idsa-user-root .idsa-bh__h {
  margin: 0 0 8px;
  font-size: 28px;
  color: #0f172a;
  line-height: 1.25;
}
body.idsa-user-root .idsa-bh__subh {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
  line-height: 1.25;
}
body.idsa-user-root .idsa-bh__muted {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
body.idsa-user-root .idsa-bh__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
body.idsa-user-root .idsa-bh__row-start {
  margin-top: 12px;
  justify-content: flex-start;
}
body.idsa-user-root .idsa-bh__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
}
body.idsa-user-root .idsa-bh__status-pill {
  background: #f8fafc;
}
body.idsa-user-root .idsa-bh__status-pill.idsa-bh__status-not-started {
  background: #f1f5f9;
}
body.idsa-user-root .idsa-bh__status-pill.idsa-bh__status-submitted {
  background: #fef3c7;
}
body.idsa-user-root .idsa-bh__status-pill.idsa-bh__status-under-review {
  background: #dbeafe;
}
body.idsa-user-root .idsa-bh__status-pill.idsa-bh__status-verified {
  background: #dcfce7;
}
body.idsa-user-root .idsa-bh__status-pill.idsa-bh__status-rejected {
  background: #fee2e2;
}
body.idsa-user-root .idsa-bh__progress {
  width: 100%;
  height: 10px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: #e2e8f0;
}
body.idsa-user-root .idsa-bh__progress::-webkit-progress-bar {
  background: #e2e8f0;
  border-radius: 999px;
}
body.idsa-user-root .idsa-bh__progress::-webkit-progress-value {
  background: linear-gradient(90deg, #60a5fa, #22c55e);
  border-radius: 999px;
}
body.idsa-user-root .idsa-bh__progress::-moz-progress-bar {
  background: linear-gradient(90deg, #60a5fa, #22c55e);
  border-radius: 999px;
}
body.idsa-user-root .idsa-bh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid #1d4ed8;
}
body.idsa-user-root .idsa-bh__btn.secondary {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-bh a.idsa-bh__btn {
  color: #fff;
  text-decoration: none;
}
body.idsa-user-root .idsa-bh a.idsa-bh__btn.secondary {
  color: #334155;
}
body.idsa-user-root .idsa-bh__btn:hover {
  background: #1d4ed8;
  color: #fff;
  text-decoration: none;
}
body.idsa-user-root .idsa-bh__btn.secondary:hover {
  background: #eef2f7;
  color: #1e293b;
}
body.idsa-user-root .idsa-bh__alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: #fffbeb;
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-bh__ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-bh__mt10 {
  margin-top: 10px;
}
body.idsa-user-root .idsa-bh__danger {
  color: #991b1b;
}

/* business_card (.idsa-bc*) */
body.idsa-user-root .idsa-bc {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  color: #e2e8f0;
}
body.idsa-user-root .idsa-bc__card {
  background: linear-gradient(145deg, #0f172a, #1f2937);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 18px;
}
body.idsa-user-root .idsa-bc__top {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
body.idsa-user-root .idsa-bc__top-main {
  flex: 1;
  min-width: 240px;
}
body.idsa-user-root .idsa-bc__logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.idsa-user-root .idsa-bc__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.idsa-user-root .idsa-bc__logo-fallback {
  font-weight: 900;
  color: #9ca3af;
}
body.idsa-user-root .idsa-bc__h {
  margin: 0;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
}
body.idsa-user-root .idsa-bc__muted {
  margin: 6px 0 0;
  color: #9ca3af;
  font-size: 13px;
}
body.idsa-user-root .idsa-bc__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  color: #e5e7eb;
}
body.idsa-user-root .idsa-bc__pill.ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}
body.idsa-user-root .idsa-bc__pill.warn {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
}
body.idsa-user-root .idsa-bc__btnrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
body.idsa-user-root .idsa-bc__btn {
  display: inline-block;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.idsa-user-root .idsa-bc__btn.secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.35);
}
body.idsa-user-root .idsa-bc__mt12 {
  margin-top: 12px;
}

/* profile_edit (.idsa-profile-edit) */
body.idsa-user-root .idsa-profile-edit {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--idsa-text-primary, #0f172a);
}
body.idsa-user-root .idsa-profile-edit .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}
/* Use full work-area width for legacy profile editor when opened via user shell */
body.idsa-user-root[data-idsa-work="profile_edit"] .idsa-profile-edit .wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 14px 4px 18px;
}
/* Keep profile/business action rows consistent across flows */
body.idsa-user-root .idsa-profile-flow .idsa-step__actions,
body.idsa-user-root .idsa-profile-flow .idsa-biz__actions,
body.idsa-user-root .idsa-profile-flow .idsa-bk__row-start {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
/* Prevent desktop topbar title wrapping/clipping glitches */
body.idsa-user-root .topbar-left {
  min-width: 190px;
  max-width: 420px;
}
body.idsa-user-root .topbar-left .page-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}
body.idsa-user-root .topbar-left .breadcrumb {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}
body.idsa-user-root .idsa-profile-edit .card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}
body.idsa-user-root .idsa-profile-edit .muted {
  color: #64748b;
  font-size: 13px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav-link[href^="#"] {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav-link:hover {
  background: #dbeafe;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav > summary.idsa-pe-quicknav-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav__panel {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
body.idsa-user-root .idsa-profile-edit .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
body.idsa-user-root .idsa-profile-edit label {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
  margin: 10px 0 6px;
}
body.idsa-user-root .idsa-profile-edit input,
body.idsa-user-root .idsa-profile-edit select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
}
body.idsa-user-root .idsa-profile-edit .readonly {
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
}
body.idsa-user-root .idsa-profile-edit .idsa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
body.idsa-user-root .idsa-profile-edit .note {
  padding: 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
  margin-top: 12px;
}
body.idsa-user-root .idsa-profile-edit .ok {
  padding: 12px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 13px;
  margin-top: 12px;
}
body.idsa-user-root .idsa-profile-edit details {
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  padding: 10px 12px 12px;
}
body.idsa-user-root .idsa-profile-edit details[open] {
  background: #fff;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-profile-edit summary {
  cursor: pointer;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
body.idsa-user-root .idsa-profile-edit summary::-webkit-details-marker {
  display: none;
}
body.idsa-user-root .idsa-profile-edit .pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12px;
  color: #334155;
  margin-left: auto;
}
body.idsa-user-root .idsa-profile-edit .small {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-title {
  margin: 0 0 6px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-card {
  margin-top: 12px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-grid-summary {
  margin-bottom: 10px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-grid-section {
  margin-top: 8px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-note-section {
  margin-top: 10px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-warning-list {
  margin: 8px 0 0 16px;
  padding: 0;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-warning-list li {
  margin: 0 0 4px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  background: #f8fafc;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-head {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-value {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-link:hover {
  background: #dbeafe;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-link-alt {
  background: #fff;
}

/* job_profile (.idsa-job-profile) */
body.idsa-user-root .idsa-job-profile .idsa-resume {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px;
  color: var(--idsa-text-primary, #0f172a);
}
body.idsa-user-root .idsa-job-profile .idsa-resume__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}
body.idsa-user-root .idsa-job-profile .idsa-resume__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
body.idsa-user-root .idsa-job-profile .idsa-resume__h {
  margin: 0 0 6px;
  font-size: 18px;
  color: #0f172a;
}
body.idsa-user-root .idsa-job-profile .idsa-resume__muted {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13px;
}
body.idsa-user-root .idsa-job-profile .idsa-resume__meta {
  margin-top: -6px;
}
body.idsa-user-root .idsa-job-profile .idsa-resume__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}
body.idsa-user-root .idsa-job-profile .idsa-resume__actions-end {
  margin-top: 18px;
}
body.idsa-user-root .idsa-job-profile .idsa-btn {
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.idsa-user-root .idsa-job-profile .idsa-btn.idsa-btn-secondary {
  background: #fff;
  color: #1e293b;
  border-color: #cbd5e1;
}
body.idsa-user-root .idsa-job-profile .idsa-alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
  color: #92400e;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-job-profile .idsa-alert-list {
  margin: 6px 0 0 18px;
  padding: 0;
}
body.idsa-user-root .idsa-job-profile .idsa-ok {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  margin-bottom: 12px;
}
body.idsa-user-root .idsa-job-profile .idsa-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
body.idsa-user-root .idsa-job-profile .idsa-col12 { grid-column: span 12; }
body.idsa-user-root .idsa-job-profile .idsa-col6 { grid-column: span 6; }
body.idsa-user-root .idsa-job-profile .idsa-col4 { grid-column: span 4; }
body.idsa-user-root .idsa-job-profile .idsa-field label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin: 0 0 6px;
}
body.idsa-user-root .idsa-job-profile .idsa-field input,
body.idsa-user-root .idsa-job-profile .idsa-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  outline: none;
}
body.idsa-user-root .idsa-job-profile .idsa-field textarea {
  min-height: 90px;
  resize: vertical;
}
body.idsa-user-root .idsa-job-profile .idsa-field input:focus,
body.idsa-user-root .idsa-job-profile .idsa-field textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
/* job_profile_preview (.idsa-resume-prev) */
body.idsa-user-root .idsa-resume-prev {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  color: #0f172a;
}
body.idsa-user-root .idsa-resume-prev__paper {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  padding: 22px;
}
body.idsa-user-root .idsa-resume-prev__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
body.idsa-user-root .idsa-resume-prev__name {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}
body.idsa-user-root .idsa-resume-prev__meta {
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}
body.idsa-user-root .idsa-resume-prev__h {
  margin: 18px 0 8px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #334155;
}
body.idsa-user-root .idsa-resume-prev__p {
  margin: 0;
  color: #0f172a;
  line-height: 1.6;
}
body.idsa-user-root .idsa-resume-prev__list {
  margin: 0;
  padding-left: 18px;
  color: #0f172a;
  line-height: 1.6;
}
body.idsa-user-root .idsa-resume-prev__row {
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
body.idsa-user-root .idsa-resume-prev__row:first-child {
  border-top: 0;
}
body.idsa-user-root .idsa-resume-prev__row b {
  color: #0f172a;
}
body.idsa-user-root .idsa-resume-prev .idsa-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
body.idsa-user-root .idsa-resume-prev .idsa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(191, 219, 254, 1);
  background: #2563eb;
  color: #fff;
}
body.idsa-user-root .idsa-resume-prev .idsa-btn.idsa-btn-secondary {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.18);
}
body.idsa-user-root .idsa-resume-prev .idsa-note {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}
body.idsa-user-root .idsa-job-profile .idsa-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
body.idsa-user-root .idsa-job-profile .idsa-row {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  margin-bottom: 10px;
}
body.idsa-user-root .idsa-job-profile .idsa-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
body.idsa-user-root .idsa-job-profile .idsa-row__title {
  font-weight: 900;
  color: #0f172a;
  font-size: 13px;
}
body.idsa-user-root .idsa-job-profile .idsa-mini {
  font-size: 12px;
  color: #64748b;
}
body.idsa-user-root .idsa-job-profile .idsa-link {
  color: #2563eb;
  text-decoration: none;
}
body.idsa-user-root .idsa-job-profile .idsa-link:hover {
  text-decoration: underline;
}

/* business_directory (.biz-dir / .biz-card) */
.biz-dir {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  color: #0f172a;
}
.biz-dir__header {
  margin-bottom: 30px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 15px;
}
.biz-dir__header h1 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #0f172a;
}
.biz-dir__header p {
  margin: 0;
  color: #475569;
}
.biz-dir__filters {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid #e2e8f0;
}
.biz-dir__filter-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.biz-dir__filter-group {
  flex: 1;
  min-width: 200px;
}
.biz-dir__filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
  color: #475569;
}
.biz-dir__filter-group input,
.biz-dir__filter-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
}
.biz-dir__checkgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}
.biz-dir__checkgroup label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.biz-dir__checkgroup label:hover {
  background: #eff6ff;
  border-color: #2563eb;
}
.biz-dir__checkgroup input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.biz-dir__actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.biz-dir__btn {
  min-height: 44px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.biz-dir__btn--primary {
  background: #2563eb;
  color: #fff;
}
.biz-dir__btn--primary:hover {
  background: #1d4ed8;
}
.biz-dir__btn--secondary {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.biz-dir__btn--secondary:hover {
  background: #e2e8f0;
}
.biz-dir__btn--secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.biz-dir #nearMeBtn {
  width: 100%;
  min-width: 150px;
}
.biz-dir__status-msg {
  display: block;
  color: #64748b;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  min-height: 14px;
}
.biz-dir__status-msg--success {
  color: #15803d;
}
.biz-dir__status-msg--error {
  color: #b91c1c;
}
.biz-dir__results {
  margin-top: 30px;
}
.biz-dir__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #eff6ff;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
}
.biz-dir__hidden {
  display: none !important;
}
.biz-dir__meta-info {
  font-size: 14px;
  color: #334155;
}
.biz-dir__meta-badge {
  padding: 4px 8px;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.biz-dir__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.biz-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s ease;
}
.biz-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  border-color: #93c5fd;
}
.biz-card__header {
  margin-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}
.biz-card__name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 5px;
}
.biz-card__category {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
}
.biz-card__location {
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
}
.biz-card__memberships {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}
.biz-card__badge {
  padding: 4px 10px;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.biz-card__badge--verified {
  background: #ecfdf3;
  color: #15803d;
}
.biz-card__badge--distance {
  background: #fff7ed;
  color: #c2410c;
}
.biz-card__contact {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}
.biz-card__actions {
  display: flex;
  gap: 10px;
}
.biz-card__btn {
  flex: 1;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.biz-card__btn--view {
  background: #2563eb;
  color: #fff;
}
.biz-card__btn--view:hover {
  background: #1d4ed8;
}
.biz-dir__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 20px;
  flex-wrap: wrap;
}
.biz-dir__page-btn {
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #0f172a;
}
.biz-dir__page-btn:hover {
  background: #eff6ff;
  border-color: #60a5fa;
}
.biz-dir__page-btn--active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.biz-dir__page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.biz-dir__loading {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #64748b;
}
.biz-dir__empty {
  text-align: center;
  padding: 60px 20px;
}
.biz-dir__empty-icon {
  font-size: 40px;
  color: #94a3b8;
  margin-bottom: 15px;
  font-weight: 800;
}
.biz-dir__empty-text {
  font-size: 16px;
  color: #475569;
  margin-bottom: 10px;
}
.biz-dir__ellipsis {
  padding: 8px;
  color: #64748b;
}

/* ------------------------------------------------------------------
   Legacy inline-style cleanup utilities (SSOT class replacements)
   ------------------------------------------------------------------ */
.idsa-u-m0 { margin: 0; }
.idsa-u-mt4 { margin-top: 4px; }
.idsa-u-mt6 { margin-top: 6px; }
.idsa-u-mt8 { margin-top: 8px; }
.idsa-u-mt10 { margin-top: 10px; }
.idsa-u-mt12 { margin-top: 12px; }
.idsa-u-mb6 { margin-bottom: 6px; }
.idsa-u-mb10 { margin-bottom: 10px; }
.idsa-u-mb12 { margin-bottom: 12px; }
.idsa-u-mb6only { margin: 0 0 6px; }
.idsa-u-fs14 { font-size: 14px; }
.idsa-u-fs16 { font-size: 16px; }
.idsa-u-fs13 { font-size: 13px; }
.idsa-u-fs18 { font-size: 18px; }
.idsa-u-fw600 { font-weight: 600; }
.idsa-u-fw800 { font-weight: 800; }
.idsa-u-fw900 { font-weight: 900; }
.idsa-u-fw900-mb10 {
  font-weight: 900;
  margin-bottom: 10px;
}
.idsa-u-text-right { text-align: right; }

.idsa-csc-route-warn {
  padding: 12px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 10px;
  margin: 12px 0;
}
.idsa-csc-route-warn__title {
  font-weight: 600;
  margin-bottom: 6px;
}
.idsa-csc-route-warn__text {
  opacity: 0.9;
}
.idsa-u-text-center { text-align: center; }
.idsa-u-text-default { color: #0f172a; }
.idsa-u-text-666 { color: #666; }
.idsa-u-text-6c757d { color: #6c757d; }
.idsa-u-text-999 { color: #999; }
.idsa-u-text-danger { color: #721c24; }
.idsa-u-text-brand { color: #0c4da2; }
.idsa-u-m0-text-default {
  margin: 0;
  color: #0f172a;
}
.idsa-u-text-muted { color: #64748b; }
.idsa-u-lh16 { line-height: 1.6; }
.idsa-u-lh18 { line-height: 1.8; }
.idsa-u-block { display: block; }
.idsa-u-inline { display: inline; }
.idsa-u-block-mb6 {
  display: block;
  margin: 0 0 6px;
}
.idsa-u-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}
.idsa-u-flex-wrap-gap8 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.idsa-u-flex-wrap-gap8-mt8 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.idsa-u-flex-wrap-gap10 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.idsa-u-flex-wrap-gap10-center {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.idsa-u-flex-wrap-gap10-mt10 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.idsa-u-flex-between-wrap-gap10 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.idsa-u-flex-between-wrap-gap12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.idsa-u-flex-between-center-gap10 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.idsa-u-flex-end-mt4 {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.idsa-u-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.idsa-u-checkline {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.idsa-u-grid-gap16 {
  display: grid;
  gap: 16px;
}
.idsa-u-grid-2col16 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.idsa-u-w100 { width: 100%; }
.idsa-u-w60 { width: 60px; }
.idsa-u-w120 { width: 120px; }
.idsa-u-w160 { width: 160px; }
.idsa-u-w200 { width: 200px; }
.idsa-u-w280 { width: 280px; }
.idsa-u-w20-right {
  width: 20%;
  text-align: right;
}
.idsa-u-input-std {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}
.idsa-u-input-soft {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}
.idsa-u-input-soft-lg {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  min-height: 80px;
}
.idsa-u-input-soft-md {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  min-height: 60px;
}
.idsa-u-box-ok {
  background: #dcfce7;
  color: #166534;
  padding: 12px;
  border-radius: 8px;
  margin: 16px 0;
}
.idsa-u-box-err {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  margin: 16px 0;
}
.idsa-u-btn-sm120 {
  width: 120px;
  padding: 8px 10px;
}
.idsa-u-btn-full-lg {
  width: 100%;
  font-size: 16px;
  padding: 14px;
}
.idsa-u-row-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.idsa-u-list-copy {
  color: #666;
  line-height: 1.8;
  margin: 10px 0 0 20px;
}
.idsa-u-copy-p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}
.idsa-u-copy-p-mt20 {
  color: #666;
  line-height: 1.6;
  margin: 20px 0 0 0;
}
.idsa-u-h2-brand {
  margin: 0 0 10px 0;
  color: #0c4da2;
}
.idsa-u-p-qr {
  color: #666;
  margin: 0 0 20px 0;
}
.idsa-u-p-meta {
  color: #999;
  font-size: 13px;
  margin: 20px 0 0 0;
}
.idsa-u-ml10 { margin-left: 10px; }
.idsa-u-mt15 { margin-top: 15px; }
.idsa-u-mt20 { margin-top: 20px; }
.idsa-u-h18-m0 {
  margin: 0;
  font-size: 18px;
}
.idsa-u-h18-m0mb6 {
  margin: 0 0 6px;
  font-size: 18px;
}

/* Admin: demo bill format */
.idsa-bill {
  display: grid;
  gap: 16px;
}
.idsa-bill__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.idsa-bill__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #334155;
  font-size: 13px;
}
.idsa-bill__input,
.idsa-bill__textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
}
.idsa-bill__textarea {
  min-height: 84px;
  resize: vertical;
}
.idsa-bill__items-wrap {
  overflow-x: auto;
}
.idsa-bill__items {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.idsa-bill__items th,
.idsa-bill__items td {
  border: 1px solid #dbe4f5;
  padding: 8px;
  text-align: left;
  font-size: 13px;
}
.idsa-bill__items th {
  background: #f8fafc;
  color: #334155;
}
.idsa-bill__th-desc { width: 44%; }
.idsa-bill__th-qty { width: 14%; }
.idsa-bill__th-rate { width: 18%; }
.idsa-bill__th-amount { width: 24%; }
.idsa-bill__items input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  box-sizing: border-box;
}
.idsa-bill__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.idsa-bill__preview {
  border: 1px solid #dbe4f5;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.idsa-bill__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.idsa-bill__h {
  margin: 0 0 4px;
  font-size: 20px;
  color: #0f172a;
}
.idsa-bill__meta {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}
.idsa-bill__totals {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  justify-content: end;
  max-width: 260px;
  margin-left: auto;
}
.idsa-bill__total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.idsa-bill__total-row strong {
  color: #0f172a;
}
.idsa-bill__grid-span2 {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .idsa-bill__grid {
    grid-template-columns: 1fr;
  }
  .idsa-bill__grid-span2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .biz-dir__filter-row {
    flex-direction: column;
  }
  .biz-dir__grid {
    grid-template-columns: 1fr;
  }
  .biz-dir__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 900px) {
  body.idsa-user-root .idsa-step,
  body.idsa-user-root .idsa-pt {
    padding: 14px 12px 18px;
  }
  body.idsa-user-root .idsa-step__h,
  body.idsa-user-root .idsa-pt__h,
  body.idsa-user-root .idsa-biz__h,
  body.idsa-user-root .idsa-bk__h {
    font-size: 24px;
  }
  body.idsa-user-root .idsa-step__col6,
  body.idsa-user-root .idsa-pt__row {
    grid-column: span 12;
  }
  body.idsa-user-root .idsa-pt__row {
    grid-template-columns: 1fr;
  }
  body.idsa-user-root .idsa-biz {
    padding: 12px 12px 20px;
  }
  body.idsa-user-root .idsa-biz__col6,
  body.idsa-user-root .idsa-biz__col4,
  body.idsa-user-root .idsa-biz__col8,
  body.idsa-user-root .idsa-bk__col6,
  body.idsa-user-root .idsa-bk__col12 {
    grid-column: span 12;
  }
  body.idsa-user-root .idsa-biz__card {
    padding: 14px;
  }
  body.idsa-user-root .idsa-bk {
    padding: 12px 12px 20px;
  }
  body.idsa-user-root .idsa-bk__h-sm {
    font-size: 16px;
  }
  body.idsa-user-root .idsa-profile-flow {
    max-width: 100%;
    padding: 12px;
  }
  body.idsa-user-root .idsa-profile-home__col6 {
    grid-column: span 12;
  }
  body.idsa-user-root .idsa-profile-home__card {
    padding: 14px;
  }
  body.idsa-user-root .idsa-profile-home__h {
    font-size: 24px;
  }
  body.idsa-user-root .idsa-profile-home__step-h {
    font-size: 16px;
  }
  body.idsa-user-root .idsa-bh {
    padding: 12px 12px 20px;
  }
  body.idsa-user-root .idsa-bh__col6 {
    grid-column: span 12;
  }
  body.idsa-user-root .idsa-bh__card {
    padding: 14px;
  }
  body.idsa-user-root .idsa-bh__h {
    font-size: 24px;
  }
  body.idsa-user-root .idsa-bh__subh {
    font-size: 16px;
  }
  body.idsa-user-root .idsa-bc {
    padding: 14px 12px 20px;
  }
  body.idsa-user-root .idsa-profile-edit .wrap {
    max-width: 100%;
    padding: 12px;
  }
  body.idsa-user-root .idsa-profile-edit .idsa-pe-plan-grid {
    grid-template-columns: 1fr;
  }
  body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav {
    gap: 6px;
  }
  body.idsa-user-root .idsa-profile-edit .idsa-pe-quicknav-link {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 11px;
  }
  body.idsa-user-root .idsa-profile-edit summary {
    font-size: 14px;
    line-height: 1.35;
  }
  body.idsa-user-root .idsa-job-profile .idsa-col6,
  body.idsa-user-root .idsa-job-profile .idsa-col4 {
    grid-column: span 12;
  }
  body.idsa-user-root .idsa-job-profile .idsa-resume {
    max-width: 100%;
    padding: 12px;
  }
}

/* Fast inline-style debt cleanup helpers */
.idsa-stub-card {
  max-width: 860px;
  margin: 20px auto;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}
.idsa-stub-title {
  margin: 0 0 8px 0;
}
.idsa-stub-text-1 {
  margin: 0 0 8px 0;
  color: #334155;
}
.idsa-stub-text-2 {
  margin: 0 0 8px 0;
  color: #475569;
}
.idsa-stub-text-3 {
  margin: 0;
  color: #64748b;
}
.idsa-link-btn-sm {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.idsa-warn-box {
  background: #fff4e5;
  border: 1px solid #f59e0b;
  color: #b45309;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.idsa-warn-box-alt {
  background: #fff4e5;
  border: 1px solid #f1c40f;
  color: #78350f;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.idsa-form-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: end;
}
.idsa-form-row-compact {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  max-width: 520px;
  align-items: center;
  flex-wrap: wrap;
}
.idsa-input-compact {
  flex: 1;
  min-height: 36px;
  padding: 8px 10px;
}
.idsa-btn-sm {
  min-width: 90px;
  padding: 9px 12px;
}
.idsa-btn-neutral {
  background: #e2e8f0;
  color: #0f172a;
}
.idsa-btn-dark-neutral {
  background: #888888;
  color: #ffffff;
}
.idsa-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.idsa-modal-panel {
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  width: 92%;
  max-width: 420px;
}
.idsa-modal-note {
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}
.idsa-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.idsa-textarea-compact {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  box-sizing: border-box;
  min-height: 80px;
  font-size: 14px;
}
.idsa-overflow-x-auto {
  overflow-x: auto;
}
.idsa-table-min-760 {
  min-width: 760px;
}
.idsa-table-min-840 {
  min-width: 840px;
}
.idsa-nowrap {
  white-space: nowrap;
}

/* Inline-style cleanup utilities (shared high-traffic pages) */
.idsa-inlinefix-title-sm {
  font-size: 19px;
}
.idsa-inlinefix-pad16 {
  padding: 16px;
}
.idsa-inlinefix-error-text {
  color: #b91c1c;
}
.idsa-inlinefix-icon-gap {
  margin-right: 8px;
}
.idsa-inlinefix-empty {
  text-align: center;
  padding: 40px 20px;
  color: #667781;
}
.idsa-inlinefix-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}
.idsa-inlinefix-empty-sub {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}
.idsa-inlinefix-file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.idsa-inlinefix-file-row-md {
  margin-bottom: 8px;
}
.idsa-inlinefix-link-underline {
  color: inherit;
  text-decoration: underline;
}
.idsa-inlinefix-broadcast-sender-icon {
  margin-right: 6px;
}

.idsa-crm-route-note {
  max-width: 980px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 14px;
  color: #e5e7eb;
}
.idsa-crm-route-note__title {
  font-weight: 900;
  margin-bottom: 6px;
}
.idsa-crm-route-note__text {
  color: rgba(226, 232, 240, 0.85);
}
.idsa-crm-workmeta {
  color: var(--uish-muted);
  font-size: 12px;
}

.idsa-ui-fail-card {
  padding: 16px;
  border: 1px solid #f5c2c7;
  border-radius: 10px;
  background: #fff5f5;
  margin: 16px;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}
.idsa-ui-fail-title {
  margin: 0 0 8px 0;
  color: #991b1b;
}
.idsa-ui-fail-text {
  color: #7f1d1d;
}

/* Shared utility helpers for inline-style migration */
.idsa-u-m0 {
  margin: 0;
}

.idsa-u-mt8 {
  margin-top: 8px;
}

.idsa-u-mt16 {
  margin-top: 16px;
}

.idsa-u-mt8-mb0 {
  margin: 8px 0 0;
}

.idsa-u-mt8-mb10 {
  margin: 8px 0 10px;
}

.idsa-u-pl18 {
  padding-left: 18px;
}

.idsa-u-flex-wrap-gap8 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.idsa-u-center-gap8 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.idsa-u-text-center-m16 {
  text-align: center;
  margin: 16px 0;
}

.idsa-u-py24 {
  padding: 24px 0;
}

.idsa-u-hidden {
  display: none;
}

.idsa-u-maxw170 {
  max-width: 170px;
}

.idsa-u-uppercase {
  text-transform: uppercase;
}

