/* === EVOLUTION MODAL === */
.cab-evolve {
  position: fixed;
  inset: 0;
  z-index: 25000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.cab-evolve.is-open { display: flex; }
.cab-evolve__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 48, 0.42);
  backdrop-filter: blur(6px);
}
.cab-evolve__box {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 48px 44px;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(13, 18, 48, 0.12);
}
.cab-evolve__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a93a8;
  margin: 0 0 20px;
}
.cab-evolve__box h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d1230;
  margin: 0 0 18px;
  line-height: 1.25;
}
.cab-evolve__box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5a6482;
  margin: 0 0 36px;
}
.cab-evolve__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.cab-evolve__actions .btn--sm {
  background: transparent;
  border-color: #d8dce8;
  color: #5a6482;
}

/* === MANUAL STATUS === */
.prof-status { margin-top: 8px; }
.prof-status--highlight {
  outline: 2px solid rgba(26, 38, 128, 0.22);
  outline-offset: 4px;
  transition: outline 0.3s ease;
}
.prof-status__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.prof-status__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border: 1.5px solid #e8eaf2;
  border-radius: 12px;
  background: #fafbfc;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.prof-status__card:hover { border-color: #c5cae0; background: #fff; }
.prof-status__card--active {
  border-color: #1a2680;
  background: rgba(26, 38, 128, 0.04);
}
.prof-status__icon { font-size: 1.4rem; line-height: 1; }
.prof-status__card strong { font-size: 0.92rem; color: #0d1230; }
.prof-status__card span:last-child { font-size: 0.78rem; color: #5a6482; line-height: 1.5; }

/* === WARN MODAL === */
.cab-warn {
  position: fixed;
  inset: 0;
  z-index: 26000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 18, 48, 0.38);
}
.cab-warn.is-open { display: flex; }
.cab-warn__box {
  width: min(420px, 100%);
  padding: 36px 32px;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 4px;
}
.cab-warn__box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 14px;
  color: #0d1230;
}
.cab-warn__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #5a6482;
  margin: 0 0 24px;
}
.cab-warn__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cab-warn__cancel {
  padding: 12px 24px;
  border: 1.5px solid #d8dce8;
  border-radius: 50px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #5a6482;
}

@media (max-width: 600px) {
  .prof-status__grid { grid-template-columns: 1fr; }
  .cab-evolve__box { padding: 36px 28px; }
}

/* Crisis mode: hide income visuals */
body.cab-crisis-mode .finance-barometer,
body.cab-crisis-mode .prof-habit,
body.cab-crisis-mode .prof-goals { display: none !important; }
