/* ==========================================
   VivreFR Apartment Budget Planner — style.css
   Version: Benchmark Refactor (Prototype)

   Architecture:
   - Category A: framework.css / components.css (deleted from this file)
   - Category B: components.css (below; to be extracted in Phase 5)
   - Category C: This file only, all scoped under #ab-root
   - Category D: apartment-budget.js (never touched)
   ========================================== */


/* Base resets & fonts — allows standalone prototype to inherit variables correctly */
/* Scoped Module Container Protection & Hero Header Centering */
.vivrefr-tool.vivrefr-housing-planner {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  display: block !important;
}

.vivrefr-tool .pp-page-wrapper {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
}

.vivrefr-tool .pp-container {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.vivrefr-tool .pp-card {
  background: var(--vf-surface, #ffffff) !important;
  border: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
  border-radius: var(--vf-r-lg, 26px) !important;
  padding: 40px 32px !important;
  box-shadow: var(--vf-shadow-card, 0 10px 30px rgba(0,0,0,0.06)) !important;
}




/* Input Icon Prefix — Absolute Positioned Symbol & Padding Fix */
#ab-root .vf-input-icon-wrapper,
.vivrefr-tool .vf-input-icon-wrapper {
  position: relative !important;
  width: 100% !important;
}

#ab-root .vf-input-icon,
.vivrefr-tool .vf-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--vf-muted, #64748b) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  pointer-events: none !important;
  z-index: 10 !important;
  line-height: 1 !important;
}

#ab-root .vf-input-icon-wrapper .vf-input,
.vivrefr-tool .vf-input-icon-wrapper .vf-input,
.vivrefr-tool .vf-input-icon-wrapper input[type="number"],
.vivrefr-tool .vf-input-icon-wrapper input[type="text"] {
  padding-left: 36px !important;
}
/* Scoped Module Typography & Form Controls Protection */
.vivrefr-tool.vivrefr-housing-planner {
  font-family: var(--vf-body, "Plus Jakarta Sans", sans-serif) !important;
  color: var(--vf-ink, #080f1e) !important;
}

.vivrefr-tool .pp-intro {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--vf-muted, #64748b) !important;
  margin-bottom: 28px !important;
}

.vivrefr-tool .pp-section {
  margin-top: 36px !important;
  padding-top: 28px !important;
  border-top: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
}

.vivrefr-tool h2 {
  font-size: 1.75rem !important;
  font-weight: 500 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 20px !important;
}

.vivrefr-tool .vf-field {
  margin-bottom: 24px !important;
}

.vivrefr-tool label {
  display: block !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--vf-ink, #080f1e) !important;
  margin-bottom: 10px !important;
}

.vivrefr-tool select,
.vivrefr-tool input[type="text"],
.vivrefr-tool input[type="number"],
.vivrefr-tool .vf-input {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 16px !important;
  border: 1px solid var(--vf-line-strong, rgba(0,0,0,0.12)) !important;
  border-radius: var(--vf-r-sm, 10px) !important;
  background-color: var(--vf-surface, #ffffff) !important;
  font-family: var(--vf-body, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 15px !important;
  color: var(--vf-ink, #080f1e) !important;
  box-shadow: none !important;
  outline: none !important;
}

.vivrefr-tool select:focus,
.vivrefr-tool input[type="text"]:focus,
.vivrefr-tool input[type="number"]:focus,
.vivrefr-tool .vf-input:focus {
  border-color: var(--vf-navy, #1c3281) !important;
  box-shadow: 0 0 0 3px rgba(28, 50, 129, 0.15) !important;
}

/* Enforce Canonical Capsule Button Styling Parity */
.vivrefr-tool .vf-btn,
#ab-root .vf-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  height: 56px !important;
  padding: 16px 32px !important;
  border-radius: 999px !important;
  font-family: var(--vf-body, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.vivrefr-tool .vf-btn--full,
#ab-root .vf-btn-full {
  width: 100% !important;
  margin-bottom: 32px !important;
}

.vivrefr-tool .vf-btn--primary,
#ab-root .vf-btn--primary,
.vivrefr-tool .vf-btn-primary {
  background-color: var(--vf-primary, #2D3E8B) !important;
  color: #ffffff !important;
  border: none !important;
}

.vivrefr-tool .vf-btn--secondary,
#ab-root .vf-btn--secondary,
.vivrefr-tool .vf-btn-secondary {
  background-color: var(--vf-surface-soft, #ece6de) !important;
  color: var(--vf-ink, #080f1e) !important;
  border: 1px solid var(--vf-line-strong, rgba(0,0,0,0.12)) !important;
}

/* Enforce Trust Footer Typography Parity */
.vivrefr-tool .vf-trust-footer,
#ab-root .vf-trust-footer {
  margin-top: 32px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
  clear: both !important;
}

.vivrefr-tool .vf-trust-disclaimer,
#ab-root .vf-trust-disclaimer {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--vf-muted, #64748b) !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

.vivrefr-tool .vf-trust-meta,
#ab-root .vf-trust-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--vf-muted, #64748b) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vivrefr-tool .vf-trust-meta a,
#ab-root .vf-trust-meta a {
  font-size: 12px !important;
  color: var(--vf-navy, #1c3281) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

/* ======================================================
   CATEGORY B — Framework Composites
   These selectors will be promoted to components.css
   in Phase 5. They live here temporarily until that step.
   ====================================================== */


/* Inline & Grid Option Cards (Employment Status & Radio Options) */
#ab-root .vf-options-grid,
.vivrefr-tool .vf-options-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

#ab-root .vf-radio-card,
.vivrefr-tool .vf-radio-card {
  border: 1px solid var(--vf-line-strong, rgba(0,0,0,0.12)) !important;
  border-radius: var(--vf-r-sm, 10px) !important;
  padding: 14px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  background: var(--vf-surface, #ffffff) !important;
  transition: all 0.25s ease !important;
  user-select: none !important;
  margin: 0 !important;
}

#ab-root .vf-radio-card input[type="radio"],
.vivrefr-tool .vf-radio-card input[type="radio"] {
  display: none !important;
}

#ab-root .vf-radio-icon,
.vivrefr-tool .vf-radio-icon {
  font-size: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

#ab-root .vf-radio-card-label,
.vivrefr-tool .vf-radio-card-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--vf-muted, #64748b) !important;
}

#ab-root .vf-radio-card:hover,
.vivrefr-tool .vf-radio-card:hover {
  border-color: var(--vf-brand-beige, #dcd6cc) !important;
  background: rgba(0, 0, 0, 0.01) !important;
}

#ab-root .vf-radio-card:has(input[type="radio"]:checked),
.vivrefr-tool .vf-radio-card:has(input[type="radio"]:checked) {
  border-color: var(--vf-navy, #1c3281) !important;
  background: rgba(28, 50, 129, 0.04) !important;
  box-shadow: inset 0 0 0 1px var(--vf-navy, #1c3281), 0 4px 12px rgba(28, 50, 129, 0.08) !important;
}

#ab-root .vf-radio-card:has(input[type="radio"]:checked) .vf-radio-card-label,
.vivrefr-tool .vf-radio-card:has(input[type="radio"]:checked) .vf-radio-card-label {
  color: var(--vf-navy, #1c3281) !important;
  font-weight: 700 !important;
}

/* Inline Options */
#ab-root .vf-options-flex {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

#ab-root .vf-radio-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--vf-ink) !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
}

#ab-root .vf-radio-inline input[type="radio"] {
  accent-color: var(--vf-navy) !important;
  width: 18px !important;
  height: 18px !important;
}






/* ======================================================
   CATEGORY C — Module Layouts
   All scoped under #ab-root.
   These selectors are exclusive to the Housing Budget Planner.
   ====================================================== */

/* ----------------------
   Tabs Navigation (Category C — defer promotion until 2nd module needs it)
---------------------- */
#ab-root .ab-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--vf-line);
  padding-bottom: 10px;
}

#ab-root .ab-tab-intro {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  font-size: 15px !important;
  color: var(--vf-muted) !important;
  line-height: 1.5 !important;
}

#ab-root .ab-tab-btn {
  background: none;
  border: none;
  font-family: var(--vf-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--vf-muted);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: var(--vf-r-sm);
  transition: all 0.25s ease;
}

#ab-root .ab-tab-btn:hover {
  color: var(--vf-navy);
  background: rgba(28, 50, 129, 0.04);
}

#ab-root .ab-tab-active {
  color: var(--vf-navy) !important;
  background: rgba(28, 50, 129, 0.08) !important;
  box-shadow: inset 0 -2px 0 var(--vf-navy);
}

/* ----------------------
   Wizard Progress Bar (Category C — defer promotion until 2nd wizard exists)
---------------------- */
#ab-root .vc-progress {
  margin-bottom: 40px;
}

#ab-root .vc-field-hint {
  margin-top: 12px;
  font-size: 14px;
  color: var(--vf-muted);
  line-height: 1.5;
}

#ab-root .vc-step-header {
  margin-bottom: 24px;
}

#ab-root .vc-step-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vf-orange-ui);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

#ab-root .vc-step-title {
  font-family: var(--vf-display);
  font-size: 24px;
  font-weight: 750;
  color: var(--vf-navy-deep);
  margin: 0 0 10px 0;
  line-height: 1.25;
}

#ab-root .vc-step-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--vf-muted);
  margin: 0;
}

#ab-root .vc-progress-track {
  height: 6px;
  background: var(--vf-surface-soft);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

#ab-root .vc-progress-fill {
  height: 100%;
  background: var(--vf-navy);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#ab-root .vc-steps-list {
  display: flex;
  justify-content: space-between;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#ab-root .vc-step-marker {
  text-align: center;
  position: relative;
  flex: 1;
  list-style: none !important;
  list-style-type: none !important;
}

#ab-root .vc-step-marker::before {
  display: none !important;
}

#ab-root .vc-step-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vf-surface-soft);
  color: var(--vf-muted);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

#ab-root .vc-step-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--vf-muted);
}

#ab-root .vc-step-active .vc-step-number {
  background: var(--vf-navy);
  color: #ffffff;
}

#ab-root .vc-step-active .vc-step-label {
  color: var(--vf-navy-deep);
}

#ab-root .vc-step-completed .vc-step-number {
  background: var(--vf-green-ui);
  color: #ffffff;
}

/* ----------------------
   Form Layout (2-col grid) — Module layout, not a framework primitive
---------------------- */
#ab-root .vf-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

#ab-root .vf-form-row .vf-field {
  margin-bottom: 0;
}

#ab-root .vf-col {
  flex: 1;
  min-width: 200px;
}

/* ----------------------
   Navigation Footer
---------------------- */
#ab-root .ab-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--vf-line);
}

/* ----------------------
   Outputs & Results
---------------------- */
#ab-root .ab-outputs-container {
  margin-top: 30px;
  animation: vf-ab-fadeIn 0.4s ease-out;
}

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

#ab-root .ab-grid-2col {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr !important;
  gap: 24px !important;
  margin-bottom: 30px !important;
  align-items: start !important;
}

/* ----------------------
   Affordability Gauge
---------------------- */
#ab-root .ab-afford-card {
  padding: 30px 20px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
}

#ab-root .ab-rating-badge {
  font-size: 32px;
  margin: 12px 0;
}

#ab-root .ab-afford-comfortable {
  background: linear-gradient(145deg, #15803d 0%, #166534 100%) !important;
}
#ab-root .ab-afford-tight {
  background: linear-gradient(145deg, #c2410c 0%, #9a3412 100%) !important;
}
#ab-root .ab-afford-highrisk {
  background: linear-gradient(145deg, #b91c1c 0%, #991b1b 100%) !important;
}
#ab-root .ab-afford-good {
  background: linear-gradient(145deg, #0f766e 0%, #155e75 100%) !important;
}

/* ----------------------
   Tiers Row — PA-005 Synchronized
---------------------- */
.vivrefr-tool .ab-tier-card,
#ab-root .ab-tier-card {
  background: var(--vf-surface, #ffffff) !important;
  border: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
  border-radius: var(--vf-r-lg, 26px) !important;
  padding: 24px 28px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: var(--vf-shadow-card, 0 10px 30px rgba(0,0,0,0.06)) !important;
}

#ab-root .ab-tier-card h3 {
  font-size: 18px !important;
  color: var(--vf-navy-deep) !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  font-weight: 650 !important;
}

#ab-root .ab-tier-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--vf-line) !important;
  gap: 16px !important;
}

#ab-root .ab-tier-row:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

#ab-root .ab-tier-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-size: 14px !important;
  color: var(--vf-muted) !important;
  line-height: 1.4 !important;
}

#ab-root .ab-tier-label strong {
  color: var(--vf-ink) !important;
  font-weight: 600 !important;
}

#ab-root .ab-tier-value {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--vf-navy-deep) !important;
}

#ab-root .ab-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  margin-top: 5px !important;
  display: inline-block !important;
}
#ab-root .dot-green { background-color: var(--vf-green-ui) !important; }
#ab-root .dot-orange { background-color: var(--vf-orange-ui) !important; }
#ab-root .dot-blue { background-color: var(--vf-navy) !important; }

/* Upfront Cost Breakdown Card Container & Table Parity */
.vivrefr-tool .vf-cost-breakdown-calc,
#ab-root .vf-cost-breakdown-calc {
  background: var(--vf-surface, #ffffff) !important;
  border: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
  border-radius: var(--vf-r-lg, 26px) !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  box-shadow: var(--vf-shadow-card, 0 10px 30px rgba(0,0,0,0.06)) !important;
  height: auto !important;
}

#ab-root .ab-breakdown-header {
  padding: 24px 24px 20px !important;
  border-bottom: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent !important;
}

#ab-root .ab-breakdown-header h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
  margin: 0 !important;
  padding: 0 !important;
}

#ab-root .ab-header-amount {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.vivrefr-tool .vf-cost-row-calc,
#ab-root .vf-cost-row-calc {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 24px !important;
  border-bottom: 1px solid var(--vf-line, rgba(0,0,0,0.08)) !important;
  transition: background-color 0.2s ease !important;
  gap: 16px !important;
}

.vivrefr-tool .vf-cost-row-calc:last-child,
#ab-root .vf-cost-row-calc:last-child {
  border-bottom: none !important;
}

.vivrefr-tool .vf-label-group,
#ab-root .vf-label-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.vivrefr-tool .vf-label-group > span:first-child,
#ab-root .vf-label-group > span:first-child {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--vf-ink, #080f1e) !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

.vivrefr-tool .vf-row-subtext,
#ab-root .vf-row-subtext {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--vf-muted, #64748b) !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

.vivrefr-tool .vf-row-right,
#ab-root .vf-row-right {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.vivrefr-tool .vf-row-right strong,
#ab-root .vf-row-right strong {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
}

/* Step 4 Checkbox List Card Parity */
.vivrefr-tool .vf-checkbox-list,
#ab-root .vf-checkbox-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

.vivrefr-tool .vf-checkbox-card,
#ab-root .vf-checkbox-card {
  border: 1px solid var(--vf-line-strong, rgba(0,0,0,0.12)) !important;
  border-radius: var(--vf-r-sm, 10px) !important;
  padding: 16px 20px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  background: var(--vf-surface, #ffffff) !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.vivrefr-tool .vf-checkbox-card input[type="checkbox"],
#ab-root .vf-checkbox-card input[type="checkbox"] {
  accent-color: var(--vf-navy, #1c3281) !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: 2px !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

.vivrefr-tool .vf-checkbox-content,
#ab-root .vf-checkbox-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.vivrefr-tool .vf-checkbox-title,
#ab-root .vf-checkbox-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
}

.vivrefr-tool .vf-checkbox-desc,
#ab-root .vf-checkbox-desc {
  font-size: 13px !important;
  color: var(--vf-muted, #64748b) !important;
  line-height: 1.4 !important;
}

/* ============================================================
   Checklist — Computed-Style Parity Fix (V1.08.179)
   Root causes: theme h4/p margin resets, icon width collapse,
   list-style leakage past isolation layer, line-height conflict.
   All fixes scoped under .vivrefr-tool #ab-root for max specificity.
   ============================================================ */

/* -- Rental Readiness section card h2 heading -- */
.vivrefr-tool #ab-root .vf-card h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

/* -- Checklist wrapper -- */
.vivrefr-tool #ab-root .ab-checklist {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* -- Individual checklist cards -- */
.vivrefr-tool #ab-root .ab-checklist-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 20px 24px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.vivrefr-tool #ab-root .ab-checklist-item.pass {
  background: rgba(22, 163, 74, 0.04) !important;
  border-color: rgba(22, 163, 74, 0.16) !important;
}
.vivrefr-tool #ab-root .ab-checklist-item.warning {
  background: rgba(234, 88, 12, 0.04) !important;
  border-color: rgba(234, 88, 12, 0.16) !important;
}
.vivrefr-tool #ab-root .ab-checklist-item.fail {
  background: rgba(200, 50, 26, 0.04) !important;
  border-color: rgba(200, 50, 26, 0.16) !important;
}

/* -- Check icon: explicit width prevents flex collapse -- */
.vivrefr-tool #ab-root .ab-check-icon {
  font-size: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* -- Check content block -- */
.vivrefr-tool #ab-root .ab-check-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

/* Delta fix: theme heading resets zero h4 margin — restore here */
.vivrefr-tool #ab-root .ab-check-content h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--vf-navy-deep, #0c1a40) !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

/* Delta fix: theme p { line-height: 1.4 } overrides our 1.6 — use doubled selector */
.vivrefr-tool #ab-root .ab-check-content p {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   Dossier Documents List — Maximum-Specificity Bullet Reset
   Root cause: Elementor/theme ul { list-style: square } loads
   at body-level specificity that beats .vivrefr-tool ul.
   This .vivrefr-tool #ab-root chain wins in cascade order.
   ============================================================ */

.vivrefr-tool #ab-root .ab-doc-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  padding: 0 !important;
  margin: 12px 0 0 0 !important;
}

.vivrefr-tool #ab-root .ab-doc-list li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  position: relative !important;
  padding: 0 0 0 20px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--vf-ink, #080f1e) !important;
}

/* Orange bullet via ::before — explicit content and position */
.vivrefr-tool #ab-root .ab-doc-list li::before {
  content: "\2022" !important;
  color: #ea580c !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.1 !important;
  position: absolute !important;
  left: 4px !important;
  top: 0px !important;
}

/* ----------------------
   Next Steps Cards
---------------------- */
#ab-root .ab-next-steps {
  margin-top: 40px;
}

#ab-root .ab-next-steps h3 {
  font-size: 18px;
  font-weight: 650;
  color: var(--vf-navy-deep);
  margin-bottom: 20px;
}

#ab-root .ab-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

#ab-root .ab-step-card {
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-r-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  background: var(--vf-surface);
  transition: all 0.25s ease;
  display: block;
}

#ab-root .ab-step-card:hover {
  border-color: var(--vf-navy);
  box-shadow: 0 6px 18px rgba(28, 50, 129, 0.05);
  transform: translateY(-2px);
}

#ab-root .ab-step-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

#ab-root .ab-step-card h4 {
  font-size: 15px;
  font-weight: 650;
  color: var(--vf-navy-deep);
  margin-bottom: 6px;
}

#ab-root .ab-step-card p {
  font-size: 13px;
  color: var(--vf-muted);
  line-height: 1.45;
  margin: 0;
}

#ab-root .ab-restart-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ----------------------
   Summary Card
---------------------- */
#ab-root .ab-summary-card {
  background: var(--vf-surface-soft);
  border: 1px solid var(--vf-brand-beige);
  margin-bottom: 24px;
  padding: 20px 24px;
  border-radius: var(--vf-r-md);
}

#ab-root .ab-summary-card h3 {
  font-family: var(--vf-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vf-navy-deep);
  margin-bottom: 12px;
}

#ab-root .ab-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px 18px;
}

#ab-root .ab-summary-item {
  font-size: 14px;
  color: var(--vf-muted);
}

#ab-root .ab-summary-item strong {
  color: var(--vf-ink);
  font-weight: 600;
}

#ab-root .ab-summary-item span {
  color: var(--vf-navy-deep);
  font-weight: 600;
}

/* ----------------------
   Dossier Score
---------------------- */
#ab-root .ab-dossier-score-value {
  font-family: var(--vf-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
}

#ab-root .ab-star-rating {
  font-size: 20px;
  letter-spacing: 2px;
  color: #fbbf24;
  margin-top: 6px;
}

/* ----------------------
   Salary Crosslink Tip
---------------------- */
#ab-root .ab-salary-tip {
  font-size: 13px;
  color: var(--vf-orange-ui);
  margin-top: 8px;
  background: rgba(234, 88, 12, 0.04);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--vf-orange-ui);
}

#ab-root .ab-salary-tip a {
  color: var(--vf-navy);
  text-decoration: underline;
  font-weight: 600;
}

/* ----------------------
   Collapsible Score Details
---------------------- */
#ab-root .ab-score-explanation {
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  text-align: left;
}

#ab-root .ab-score-explanation summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  user-select: none;
  outline: none;
  display: list-item;
}

#ab-root .ab-score-breakdown-details {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#ab-root .ab-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

#ab-root .ab-breakdown-row strong {
  color: #ffffff;
  font-weight: 700;
}

/* ----------------------
   Cost Row Label Match
---------------------- */
#ab-root .vf-cost-row-calc .vf-label-group > span:first-child {
  color: var(--vf-ink);
  font-weight: 600;
}

/* ----------------------
   Mobile Responsive Alignment — PO-Approved Module Parity
---------------------- */
@media (max-width: 768px) {
  #ab-root .pp-hero {
    margin-bottom: 28px !important;
  }

  #ab-root .ab-grid-2col {
    grid-template-columns: 1fr;
  }

  #ab-root .vf-form-row {
    flex-direction: column !important;
    gap: 20px !important;
  }

  #ab-root .vf-label-spacer {
    display: none !important;
  }
}

/* ----------------------
   Responsive Overrides
   Note: body/pp-card responsive rules live in vivrefr-tools.css
---------------------- */
@media (max-width: 600px) {

  #ab-root .ab-tabs {
    flex-direction: column;
    gap: 4px !important;
  }

  #ab-root .ab-tab-btn {
    width: 100%;
    text-align: center;
  }

  #ab-root .vc-steps-list {
    display: none;
  }

  #ab-root .vc-progress {
    margin-bottom: 24px;
  }

  #ab-root .ab-steps-grid {
    grid-template-columns: 1fr;
  }

  #ab-root .vf-form-row {
    flex-direction: column;
    gap: 32px;
  }

}

/* ============================================================
   Rental Readiness — ID-Level Elementor Override (V1.08.182)
   Problem: Elementor global typography injects h2 font-size
   via its own stylesheet AFTER module CSS loads, overriding
   class-level !important rules.
   Fix: #id selector has specificity 1,0,0 — higher than any
   Elementor class chain. Cannot be beaten without inline styles.
   ============================================================ */

#ab-checklist-card {
  padding: 32px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 26px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
  margin-bottom: 32px !important;
}

#ab-checklist-heading {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #0c1a40 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
}


/* ==========================================================================
   VivreFR Design System — Hero Title Single Source of Truth (COLC Standard V1.08.248)
   ========================================================================== */

.pp-hero,
.vf-hero,
.vivrefr-tool .pp-hero,
.vivrefr-tool .vf-hero {
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 32px !important;
  width: 100% !important;
}

.pp-main-title,
.vf-main-title,
.vivrefr-tool h1.pp-main-title,
.vivrefr-tool h1.vf-main-title,
.vivrefr-tool .pp-main-title,
.vivrefr-tool .vf-main-title {
  color: var(--vf-navy, #1c3281) !important;
  font-family: var(--vf-display, "Plus Jakarta Sans", -apple-system, sans-serif) !important;
  font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  max-width: 850px !important;
  margin: 0 auto 12px auto !important;
  text-align: center !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.pp-meta,
.vf-meta,
.vivrefr-tool .pp-meta,
.vivrefr-tool .vf-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: var(--vf-muted, #64748b) !important;
  font-weight: 500 !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.pp-brand,
.vf-brand,
.vivrefr-tool .pp-brand,
.vivrefr-tool .vf-brand {
  font-weight: 700 !important;
  color: var(--vf-navy, #1c3281) !important;
}

.pp-divider,
.vf-divider,
.vivrefr-tool .pp-divider,
.vivrefr-tool .vf-divider {
  color: var(--vf-muted, #64748b) !important;
  opacity: 0.6 !important;
}
