/* Locked Blue & Alpine card system — workspace only.
   Standard cards are white; pale blue marks featured results and selections.
   Green, amber, and red remain limited to compact status indicators. */
:root{
  --fc-card-surface:#ffffff;
  --fc-card-border:#dbe5f1;
  --fc-card-ink:#172d4a;
  --fc-card-muted:#62748b;
  --fc-card-tint:#edf4ff;
  --fc-card-tint-border:#c9dcfb;
  --fc-card-accent:#2563eb;
  --fc-card-shadow:0 4px 16px rgba(24,51,86,.06);
  --fc-card-radius:16px;
}

/* One neutral card surface across the workspace. */
body .app-shell :is(
  .panel,.workspace-card,.start-here,.deadline-board,.change-explorer,
  .hero-card,.route-card,.utility-card,.question-card,.action-card,
  .command-card,.ask-answer-card,.start-card-primary,.deadline-card,
  .source-card,.handoff-card,.case-summary-card,.job-source-card,
  .housing-source-card,.admin-money-card,.money-reality-card,.money-answer,
  .money-comparison,.money-example-card,.daily-spending-card,
  .mobility-compare-card,.beta-today-card,.beta-money-card,.beta-action-card,
  .money-input-group,.simulator-extra,.simulator-method,.smart-simulators,
  .simulator-choice,.unemployment-option,.scenario-result,
  .situation-summary,.situation-summary-item,.daily-life-focus,
  .daily-life-focus-primary,[data-sim-result]
){
  background:var(--fc-card-surface)!important;
  background-image:none!important;
  border:1px solid var(--fc-card-border)!important;
  border-radius:var(--fc-card-radius)!important;
  box-shadow:var(--fc-card-shadow)!important;
  color:var(--fc-card-ink)!important;
}

/* Pale blue is the single featured and selected-card treatment. */
body .app-shell :is(
  .hero-card,.start-card-primary,.money-answer,.money-reality-card,
  .money-comparison,.beta-money-card,[data-sim-result],
  .change-explorer .preview-outcome,.change-explorer .radar-check-line,
  .change-explorer .radar-next-step,.change-explorer .scenario-visual
){
  background:var(--fc-card-tint)!important;
  border-color:var(--fc-card-tint-border)!important;
}
body .app-shell :is(
  .simulator-choice:hover,.simulator-choice:focus-visible,
  .unemployment-option:hover,.unemployment-option.is-selected,
  .mobility-compare-card.is-current,.scenario-tab.active,
  .scenario-choice-grid button.active
){
  background:var(--fc-card-tint)!important;
  border-color:var(--fc-card-accent)!important;
  color:var(--fc-card-accent)!important;
}

/* Shared text colors also neutralize legacy mint, violet, and white-on-dark
   overrides inside cards. */
body .app-shell :is(
  .hero-card h2,.hero-card h3,.hero-card p,.hero-card small,
  .route-card h2,.route-card h3,.route-card p,.route-card strong,
  .money-answer h2,.money-answer h3,.money-answer h4,
  .money-answer p,.money-answer small,.money-answer span,
  .money-reality-card h2,.money-reality-card h3,.money-reality-card p,
  .start-card-primary h2,.start-card-primary h3,.start-card-primary p,
  .question-card h3,.question-card strong,.case-summary-card h3,
  .case-summary-card p,.beta-today-card h3,.beta-today-card p,
  .beta-action-card h3,.beta-action-card p,.daily-life-panel h2,
  .daily-life-panel h3,.daily-life-panel p,
  .change-explorer-heading h2,.change-explorer-heading p:not(.eyebrow),
  .change-explorer .scenario-result h3,
  .change-explorer .scenario-lead,.change-explorer .scenario-current,
  .change-explorer .scenario-current strong,
  .change-explorer .scenario-columns,
  .change-explorer .scenario-columns ul,
  .change-explorer .scenario-controls p,
  .change-explorer .radar-check-line strong,
  .change-explorer .radar-next-step strong,
  .change-explorer .radar-next-step p
){
  color:var(--fc-card-ink)!important;
}
body .app-shell :is(
  .hero-card p,.route-card p,.money-answer p,.money-answer small,
  .money-reality-card p,.start-card-primary p,.case-summary-card p,
  .beta-today-card p,.beta-action-card p,.daily-life-panel .muted,
  .change-explorer-heading p:not(.eyebrow),
  .change-explorer .scenario-lead,.change-explorer .scenario-current,
  .change-explorer .scenario-columns ul,.change-explorer .scenario-controls p,
  .change-explorer .radar-next-step p
){
  color:var(--fc-card-muted)!important;
}
body .app-shell :is(
  .money-answer h3,.money-answer h4,[data-sim-result] h4,
  .simulator-health-totals strong,.change-explorer-heading .eyebrow,
  .change-explorer .scenario-label,
  .change-explorer .scenario-result .section-kicker,
  .change-explorer .scenario-controls .section-kicker,
  .change-explorer .radar-check-line .section-kicker,
  .change-explorer .radar-next-step .section-kicker,
  .change-explorer .scenario-sources-details summary,
  .change-explorer .radar-more-details summary
){
  color:var(--fc-card-accent)!important;
}

/* My Changes uses the same blue accent for tabs, choices, chips, and action. */
body .app-shell .change-explorer{
  background:var(--fc-card-surface)!important;
  border-color:var(--fc-card-border)!important;
  box-shadow:var(--fc-card-shadow)!important;
}
body .app-shell .change-explorer .scenario-tabs{scrollbar-color:#93b9ff transparent}
body .app-shell .change-explorer .scenario-tab{
  border:1px solid var(--fc-card-border)!important;
  background:var(--fc-card-surface)!important;
  color:var(--fc-card-muted)!important;
}
body .app-shell .change-explorer .scenario-tab:hover,
body .app-shell .change-explorer .scenario-tab.active{
  border-color:var(--fc-card-accent)!important;
  background:var(--fc-card-tint)!important;
  color:var(--fc-card-accent)!important;
  box-shadow:inset 0 -3px 0 var(--fc-card-accent)!important;
}
body .app-shell .change-explorer .scenario-result{
  border:1px solid var(--fc-card-border)!important;
  border-left:4px solid var(--fc-card-accent)!important;
  background:var(--fc-card-surface)!important;
}
body .app-shell .change-explorer .scenario-choice-grid button{
  border:1px solid var(--fc-card-border)!important;
  border-radius:10px!important;
  background:var(--fc-card-surface)!important;
  color:var(--fc-card-ink)!important;
}
body .app-shell .change-explorer .scenario-choice-grid button.active{
  border-color:var(--fc-card-accent)!important;
  background:var(--fc-card-tint)!important;
  color:var(--fc-card-accent)!important;
}
body .app-shell .change-explorer .radar-keep-line{
  background:var(--fc-card-surface)!important;
  border-color:var(--fc-card-border)!important;
}
body .app-shell .change-explorer .scenario-visual{
  background:var(--fc-card-tint)!important;
  color:var(--fc-card-accent)!important;
}
body .app-shell .change-explorer .scenario-visual-label{color:var(--fc-card-muted)!important}
body .app-shell .change-explorer :is(.explorer-badge,.scenario-impact-chips>span,.scenario-rules .tag.rule){
  background:var(--fc-card-tint)!important;
  color:var(--fc-card-accent)!important;
  border-color:var(--fc-card-tint-border)!important;
}
body .app-shell .change-explorer .radar-next-step{
  background:var(--fc-card-tint)!important;
  border-color:var(--fc-card-tint-border)!important;
}
body .app-shell .change-explorer .radar-next-step .scenario-link{
  background:var(--fc-card-accent)!important;
  color:#fff!important;
}

/* Reusable simulator choices use the same selected and focused blue state. */
body .app-shell :is(.simulator-choice,.unemployment-option){
  border:1px solid var(--fc-card-border)!important;
  border-radius:14px!important;
  background:var(--fc-card-surface)!important;
  color:var(--fc-card-ink)!important;
  box-shadow:var(--fc-card-shadow)!important;
}
body .app-shell :is(.simulator-choice:focus-visible,.unemployment-option:focus-visible){
  outline:3px solid #93b9ff!important;
  outline-offset:2px!important;
}
body .app-shell .simulator-budget-start{
  background:var(--fc-card-tint)!important;
  border:1px solid var(--fc-card-tint-border)!important;
  border-radius:16px!important;
  box-shadow:var(--fc-card-shadow)!important;
  color:var(--fc-card-ink)!important;
}
body .app-shell .simulator-budget-start:hover{
  background:#e3eeff!important;
  border-color:var(--fc-card-accent)!important;
}

/* Green/amber state variants keep neutral card surfaces; status dots and labels
   retain their semantic state color. */
body .app-shell :is(
  .deadline-card.recorded,.deadline-card.attention,
  .source-card.research,.handoff-card.green,.handoff-card.amber,
  .handoff-card.violet,.action-card.required,.action-card.normal,
  .action-card.confirm,.mobility-compare-card
){
  background:var(--fc-card-surface)!important;
  background-image:none!important;
  border-color:var(--fc-card-border)!important;
  color:var(--fc-card-ink)!important;
}


/* Keep the approved wordmark visible on the navy workspace at every size.
   The horizontal lockup has dark lettering, so it needs its own white field. */
.app-shell .sidebar .brand{
  display:flex!important;
  width:100%!important;
  height:auto!important;
  min-height:58px;
  align-items:center;
  overflow:visible!important;
  padding:6px 7px;
  border:1px solid rgba(219,229,241,.9);
  border-radius:10px;
  background:#fff!important;
  color:var(--fc-card-ink)!important;
}
.app-shell .sidebar .brand .brand-logo-official{
  display:block;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain;
  object-position:center;
  transform:none!important;
  border-radius:0!important;
  mix-blend-mode:normal!important;
}
.app-shell .mobile-brand img{
  flex:0 1 150px;
  width:150px!important;
  height:auto!important;
  max-height:46px;
  object-fit:contain;
  object-position:left center;
  padding:4px 6px;
  border-radius:8px;
  background:#fff;
  mix-blend-mode:normal!important;
}
@media(max-width:380px){
  .app-shell .mobile-brand img{width:132px!important}
}
