.recovery-center-backdrop {
  position: fixed;
  inset: 0 0 0 110px;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: rgba(2, 4, 12, 0.68);
  backdrop-filter: blur(7px);
}

.recovery-center-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(90%, 1640px);
  height: min(90vh, 980px);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.72);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 92, 246, 0.08), transparent 28%),
    radial-gradient(circle at 82% 58%, rgba(6, 182, 212, 0.035), transparent 34%),
    linear-gradient(145deg, rgba(9, 13, 26, 0.99), rgba(4, 8, 18, 0.995));
  box-shadow:
    0 0 28px rgba(139, 92, 246, 0.14),
    0 30px 90px rgba(0, 0, 0, 0.56);
  color: #f8fafc;
}

.recovery-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px 14px;
}

.recovery-center-header h2,
.recovery-center-header p {
  margin: 0;
}

.recovery-center-header h2 {
  font-size: 24px;
  font-weight: 540;
  line-height: 1.15;
}

.recovery-center-header h2 span {
  color: #8b5cf6;
}

.recovery-center-header p {
  margin-top: 5px;
  color: #aab7ca;
  font-size: 13px;
  line-height: 1.4;
}

.recovery-center-header > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recovery-center-header button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 450;
}

.recovery-center-header .review-icon {
  width: 17px;
  height: 17px;
}

.recovery-center-close {
  width: 38px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #e2e8f0;
  font-size: 26px !important;
  font-weight: 300 !important;
  line-height: 1;
}

.recovery-center-close:hover,
.recovery-center-close:focus-visible {
  border-color: rgba(139, 92, 246, 0.34);
  background: rgba(139, 92, 246, 0.08);
}

.recovery-center-steps {
  display: grid;
  grid-template-columns: minmax(155px, 1fr) 48px minmax(155px, 1fr) 48px minmax(155px, 1fr) 48px minmax(155px, 1fr);
  align-items: center;
  margin: 0 24px 12px;
  padding: 14px 22px;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 9px;
  background: rgba(5, 9, 19, 0.62);
}

.recovery-step {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.recovery-step-marker {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(100, 116, 139, 0.42);
  border-radius: 50%;
  color: #cbd5e1;
  font-size: 14px;
}

.recovery-step-marker .review-icon {
  width: 18px;
  height: 18px;
}

.recovery-step > span:last-child {
  min-width: 0;
}

.recovery-step strong,
.recovery-step small {
  display: block;
}

.recovery-step strong {
  font-size: 14px;
  font-weight: 520;
}

.recovery-step small {
  margin-top: 3px;
  overflow: hidden;
  color: #8290a4;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recovery-step.active .recovery-step-marker {
  border-color: rgba(192, 132, 252, 0.76);
  background: linear-gradient(145deg, #7c3aed, #9333ea);
  color: #fff;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.48);
}

.recovery-step.done .recovery-step-marker {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(22, 101, 52, 0.2);
  color: #4ade80;
}

.recovery-step-connector {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.34) 0 5px, transparent 5px 9px);
}

.recovery-center-panel[data-stage="generating"] .recovery-step-connector:first-of-type,
.recovery-center-panel[data-stage="plan"] .recovery-step-connector:first-of-type,
.recovery-center-panel[data-stage="error"] .recovery-step-connector:first-of-type {
  background: repeating-linear-gradient(90deg, rgba(192, 132, 252, 0.72) 0 5px, transparent 5px 9px);
}

.recovery-center-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 40%) minmax(0, 60%);
  min-height: 0;
  margin: 0 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 10px;
  background: rgba(3, 7, 16, 0.54);
  transition: grid-template-columns 220ms ease;
}

.recovery-center-panel[data-stage="plan"] .recovery-center-workspace {
  grid-template-columns: minmax(280px, 30%) minmax(0, 70%);
}

.recovery-config-panel,
.recovery-plan-panel {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.recovery-config-panel {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 20px;
  border-right: 1px solid rgba(139, 92, 246, 0.17);
}

.recovery-plan-panel {
  padding: 24px 28px 20px;
}

.recovery-section-kicker {
  display: block;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 530;
  line-height: 1.25;
}

.recovery-config-copy {
  text-align: center;
}

.recovery-config-copy .recovery-section-kicker {
  text-align: left;
}

.recovery-clock-visual {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 28px auto 22px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), rgba(7, 10, 19, 0.72) 70%);
  color: #c084fc;
  box-shadow:
    0 0 8px rgba(217, 70, 239, 0.7),
    0 0 24px rgba(139, 92, 246, 0.34),
    inset 0 0 18px rgba(139, 92, 246, 0.13);
}

.recovery-clock-visual .review-icon {
  width: 96px;
  height: 96px;
}

.recovery-clock-visual .review-icon svg {
  overflow: visible;
  stroke-width: 0.7;
}

.recovery-config-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.65;
}

.recovery-time-form {
  margin-top: 18px;
}

.recovery-time-form h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 460;
}

.recovery-duration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.recovery-duration-choice {
  position: relative;
  display: grid;
  min-height: 74px;
  place-content: center;
  border: 1px solid rgba(100, 116, 139, 0.36);
  border-radius: 8px;
  background: rgba(7, 10, 19, 0.58);
  color: #f8fafc;
}

.recovery-duration-choice strong,
.recovery-duration-choice span {
  display: block;
}

.recovery-duration-choice strong {
  font-size: 24px;
  font-weight: 430;
  line-height: 1;
}

.recovery-duration-choice span {
  margin-top: 7px;
  color: #cbd5e1;
  font-size: 11px;
}

.recovery-duration-choice > i {
  position: absolute;
  top: -8px;
  right: -7px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #7c3aed;
  color: white;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.62);
}

.recovery-duration-choice > i .review-icon {
  width: 14px;
  height: 14px;
}

.recovery-duration-choice:hover,
.recovery-duration-choice:focus-visible,
.recovery-duration-choice.active {
  border-color: #a855f7;
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.34), rgba(7, 10, 19, 0.72));
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.18), 0 0 18px rgba(139, 92, 246, 0.16);
}

.recovery-custom-time {
  display: grid;
  grid-template-columns: auto 116px auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 13px;
}

.recovery-custom-time input {
  height: 40px;
  padding: 8px 10px;
  border-color: rgba(100, 116, 139, 0.36);
  text-align: center;
}

.recovery-custom-time.active input,
.recovery-custom-time:focus-within input {
  border-color: #a855f7;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.16);
}

.recovery-validation-message {
  min-height: 16px;
  margin: 3px 0 0 !important;
  color: #fb7185 !important;
  font-size: 11px !important;
  text-align: center;
}

.recovery-tip {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 8px;
  background: rgba(7, 10, 19, 0.5);
}

.recovery-tip .review-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #c084fc;
}

.recovery-tip p {
  margin: 0;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.55;
}

.recovery-tip strong {
  color: #e879f9;
  font-weight: 520;
}

.recovery-generate-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  white-space: normal;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 16px;
  text-align: left;
}

.recovery-generate-button > .review-icon {
  width: 28px;
  height: 28px;
}

.recovery-generate-button > .review-icon:first-child svg {
  stroke-width: 1.2;
}

.recovery-generate-button > .review-icon:last-child {
  width: 18px;
  height: 18px;
}

.recovery-generate-button span,
.recovery-generate-button small {
  display: block;
}

.recovery-generate-button span {
  font-size: 15px;
  font-weight: 500;
}

.recovery-generate-button small {
  margin-top: 3px;
  color: #ddd6fe;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.recovery-generate-button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.recovery-duration-choice:disabled,
.recovery-custom-time input:disabled {
  cursor: wait;
}

.recovery-plan-actions .primary:disabled {
  border-color: rgba(100, 116, 139, 0.24);
  background: rgba(51, 65, 85, 0.34);
  color: #718096;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.recovery-config-helper {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: #8290a4;
  font-size: 11px;
  line-height: 1.35;
}

.recovery-config-helper .review-icon {
  width: 14px;
  height: 14px;
}

.recovery-selected-time {
  margin: 32px 0 18px;
  text-align: center;
}

.recovery-selected-time span,
.recovery-selected-time strong {
  display: block;
}

.recovery-selected-time span {
  color: #cbd5e1;
  font-size: 13px;
}

.recovery-selected-time strong {
  margin-top: 8px;
  color: #c084fc;
  font-size: 30px;
  font-weight: 540;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.38);
}

.recovery-change-config {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(168, 85, 247, 0.5);
  color: #d8b4fe;
  font-weight: 400;
}

.recovery-change-config .review-icon {
  width: 28px;
  height: 28px;
}

.recovery-center-panel[data-stage="plan"] .recovery-config-panel .recovery-tip {
  margin-top: auto;
}

.recovery-center-panel[data-stage="plan"] .recovery-config-copy .recovery-section-kicker {
  text-align: center;
}

.recovery-plan-waiting-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.recovery-plan-waiting-head h2 {
  margin: 0;
  color: #8290a4;
  font-size: 18px;
  font-weight: 520;
}

.recovery-plan-waiting-head span {
  padding: 6px 14px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 99px;
  color: #a855f7;
  font-size: 12px;
}

.recovery-skeleton-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.recovery-skeleton-metrics > div,
.recovery-skeleton-list > div {
  border: 1px solid rgba(100, 116, 139, 0.14);
  background: rgba(7, 10, 19, 0.28);
}

.recovery-skeleton-metrics > div {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
}

.recovery-skeleton-metrics i,
.recovery-skeleton-list i {
  border-radius: 50%;
  background: #172033;
}

.recovery-skeleton-metrics i {
  width: 32px;
  height: 32px;
}

.recovery-skeleton-metrics span,
.recovery-skeleton-metrics b,
.recovery-skeleton-metrics small {
  display: block;
}

.recovery-skeleton-metrics b,
.recovery-skeleton-metrics small,
.recovery-skeleton-list span,
.recovery-skeleton-list b,
.recovery-skeleton-list small {
  height: 8px;
  border-radius: 99px;
  background: #172033;
}

.recovery-skeleton-metrics b {
  width: 74px;
}

.recovery-skeleton-metrics small {
  width: 48px;
  margin-top: 7px;
}

.recovery-skeleton-list {
  margin-top: 14px;
  border: 1px solid rgba(100, 116, 139, 0.12);
  border-radius: 8px;
}

.recovery-skeleton-list > div {
  display: grid;
  grid-template-columns: 24px minmax(120px, 1fr) 72px 50px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-width: 0 0 1px;
}

.recovery-skeleton-list > div:last-child {
  border-bottom: 0;
}

.recovery-skeleton-list i {
  width: 20px;
  height: 20px;
}

.recovery-waiting-message {
  display: grid;
  max-width: 520px;
  margin: 24px auto 0;
  justify-items: center;
  color: #718096;
  text-align: center;
}

.recovery-waiting-message > .review-icon {
  width: 72px;
  height: 72px;
  color: #7c3aed;
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.34));
}

.recovery-waiting-message h3 {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 520;
}

.recovery-waiting-message p {
  margin: 9px 0 0;
  font-size: 12px;
}

.recovery-waiting-message ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.recovery-waiting-message li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.recovery-waiting-message li .review-icon {
  width: 16px;
  height: 16px;
  color: #8b5cf6;
}

.recovery-generating-state,
.recovery-error-state {
  display: grid;
  height: 100%;
  align-content: center;
  justify-items: center;
  padding: 30px;
  text-align: center;
}

.recovery-generating-state {
  width: min(570px, 100%);
  margin: 0 auto;
}

.recovery-generating-orbit {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 50%;
  color: #d8b4fe;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), rgba(7, 10, 19, 0.2) 68%);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.24);
  animation: recoveryGeneratingGlow 1.55s ease-in-out infinite alternate;
}

.recovery-generating-orbit .review-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.46));
}

.recovery-generating-orbit .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.8);
  animation: recoveryGenerationParticle 1.8s ease-in-out infinite;
}

.recovery-generating-orbit .particle.one { top: 2px; right: 10px; }
.recovery-generating-orbit .particle.two { right: -2px; bottom: 19px; animation-delay: 420ms; }
.recovery-generating-orbit .particle.three { bottom: 5px; left: 8px; animation-delay: 830ms; }

.recovery-generating-state > .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.recovery-generating-state h2,
.recovery-error-state h2 {
  margin: 17px 0 0;
  font-size: 24px;
  font-weight: 540;
}

.recovery-generating-state p,
.recovery-error-state p {
  max-width: 560px;
  margin: 9px 0 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
}

.recovery-generation-checklist {
  display: grid;
  width: min(440px, 100%);
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  transition: opacity 180ms ease;
}

.recovery-generation-checklist.waiting {
  visibility: hidden;
  opacity: 0;
}

.recovery-generation-checklist li {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 10px;
  color: #68758a;
  font-size: 12.5px;
  line-height: 1.35;
  transition: color 180ms ease, opacity 180ms ease;
}

.recovery-generation-checklist li.active {
  color: #fbbf24;
}

.recovery-generation-checklist li.done {
  color: #b9e7cf;
}

.recovery-generation-step-icon {
  position: relative;
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border: 1px solid rgba(100, 116, 139, 0.46);
  border-radius: 50%;
}

.recovery-generation-checklist li.active .recovery-generation-step-icon {
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.2);
  animation: recoveryGenerationStepPulse 850ms ease-in-out infinite alternate;
}

.recovery-generation-checklist li.active .recovery-generation-step-icon::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
}

.recovery-generation-checklist li.done .recovery-generation-step-icon {
  border-color: rgba(34, 197, 94, 0.65);
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  animation: recoveryGenerationStepDone 220ms ease-out both;
}

.recovery-generation-step-icon .review-icon {
  width: 11px;
  height: 11px;
  color: currentColor;
}

.recovery-generation-footer {
  width: min(460px, 100%);
  margin-top: 17px;
  text-align: left;
}

.recovery-generation-footer > span {
  display: block;
  margin-bottom: 7px;
  color: #cbd5e1;
  font-size: 11.5px;
  line-height: 1.35;
}

.recovery-generation-progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.34);
}

.recovery-generation-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #c026d3);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
  transform: scaleX(var(--generation-progress));
  transform-origin: left center;
  animation: recoveryGenerationProgress 300ms ease-out both;
}

.recovery-generating-state.ready {
  align-content: center;
  animation: recoveryGenerationReadyIn 240ms ease-out both;
}

.recovery-generating-state.ready h2 {
  margin-top: 17px;
}

.recovery-generating-state.ready .recovery-generation-progress {
  width: min(460px, 100%);
  margin-top: 25px;
}

.recovery-generation-ready-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(74, 222, 128, 0.72);
  border-radius: 50%;
  color: #4ade80;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15), rgba(7, 10, 19, 0.1) 70%);
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.22);
}

.recovery-generation-ready-icon .review-icon {
  width: 36px;
  height: 36px;
}

.recovery-plan-panel.recovery-plan-reveal {
  animation: recoveryPlanReveal 320ms ease-out both;
}

.recovery-error-state > .review-icon {
  width: 58px;
  height: 58px;
  color: #fb7185;
}

.recovery-error-state > div {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.recovery-error-state button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
}

.recovery-error-state button .review-icon {
  width: 17px;
  height: 17px;
}

.recovery-error-state > small {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 11px;
}

@keyframes recoveryGenerationParticle {
  0%, 100% { opacity: 0.18; transform: scale(0.7); }
  45% { opacity: 0.85; transform: scale(1); }
}

@keyframes recoveryGenerationStepPulse {
  from { opacity: 0.72; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes recoveryGenerationStepDone {
  from { opacity: 0.45; transform: scale(0.76); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes recoveryGenerationProgress {
  from { transform: scaleX(var(--generation-progress-from)); }
  to { transform: scaleX(var(--generation-progress)); }
}

@keyframes recoveryGenerationReadyIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

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

.recovery-plan-success-head {
  text-align: center;
}

.recovery-plan-success-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 550;
}

.recovery-plan-success-head p {
  margin: 6px 0 0;
  color: #aab7ca;
  font-size: 13px;
}

.recovery-plan-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  margin-top: 15px;
}

.recovery-plan-summary > div:not(.recovery-impact-summary),
.recovery-impact-summary > div {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, 0.17);
  border-radius: 8px;
  background: rgba(7, 10, 19, 0.52);
}

.recovery-plan-summary .review-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #a855f7;
}

.recovery-plan-summary .review-icon svg {
  stroke-width: 1.5;
}

.recovery-plan-summary > div:nth-child(2) > .review-icon {
  color: #22d3ee;
}

.recovery-plan-summary > div:nth-child(3) > .review-icon {
  color: #fbbf24;
}

.recovery-plan-summary span,
.recovery-plan-summary strong,
.recovery-plan-summary small {
  display: block;
}

.recovery-plan-summary strong {
  font-size: 23px;
  font-weight: 540;
  line-height: 1;
}

.recovery-plan-summary small {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.35;
}

.recovery-plan-summary > div:not(.recovery-impact-summary) > .review-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.recovery-plan-summary > div:not(.recovery-impact-summary) > span > strong {
  font-size: 25px;
}

.recovery-plan-reorder-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 20px;
  margin: 8px 2px 0;
  color: #8290a4;
  font-size: 11px;
  line-height: 1.3;
}

.recovery-plan-reorder-hint .review-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #8290a4;
}

.recovery-impact-summary > div .review-icon {
  color: #c084fc;
}

.recovery-impact-summary > div span > small {
  margin: 0;
}

.recovery-impact-summary > div span > strong {
  margin-top: 6px;
  font-size: 15px;
}

.recovery-plan-list {
  display: grid;
  margin-top: 5px;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 8px;
}

.recovery-plan-row {
  display: grid;
  grid-template-columns: 28px 68px minmax(130px, 0.9fr) minmax(180px, 1.2fr) 74px 48px 68px 28px 28px;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.14);
  background: rgba(7, 10, 19, 0.36);
  transition: border-color 140ms ease, background 140ms ease, opacity 140ms ease;
}

.recovery-plan-row:last-child {
  border-bottom: 0;
}

.recovery-plan-row:hover,
.recovery-plan-row.drag-over {
  background: rgba(76, 29, 149, 0.13);
}

.recovery-plan-row.drag-over {
  box-shadow: inset 0 2px 0 #a855f7;
}

.recovery-plan-row.dragging {
  opacity: 0.44;
}

.recovery-plan-position {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.22);
  font-size: 11px;
}

.recovery-plan-row .review-level-badge {
  min-width: 0;
}

.recovery-plan-subject { display: none; }

.recovery-plan-discipline {
  overflow: hidden;
  padding-left: 6px;
  font-size: 13px;
  font-weight: 470;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recovery-plan-content {
  min-width: 0;
}

.recovery-plan-content strong,
.recovery-plan-content span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recovery-plan-content strong {
  font-size: 13px;
  font-weight: 470;
  line-height: 1.15;
}

.recovery-plan-content span {
  margin-top: 4px;
  color: #8290a4;
  font-size: 11px;
  line-height: 1.15;
}

.recovery-plan-row .review-type-badge {
  justify-content: center;
  min-width: 0;
}

.recovery-plan-iur strong,
.recovery-plan-iur small {
  display: block;
}

.recovery-plan-iur strong {
  font-size: 17px;
  font-weight: 520;
}

.recovery-plan-iur small {
  margin-top: 1px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 450;
}

.recovery-plan-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
  font-size: 11px;
  white-space: nowrap;
}

.recovery-plan-duration .review-icon,
.recovery-plan-drag .review-icon,
.recovery-plan-exclude .review-icon {
  width: 16px;
  height: 16px;
}

.recovery-plan-drag {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #94a3b8;
  cursor: grab;
}

.recovery-plan-drag:active {
  cursor: grabbing;
}

.recovery-plan-exclude {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.recovery-plan-exclude:hover,
.recovery-plan-exclude:focus-visible {
  border-color: rgba(244, 63, 94, 0.28);
  background: rgba(244, 63, 94, 0.09);
  color: #fb7185;
  outline: none;
}

.recovery-plan-empty {
  display: flex;
  min-height: 122px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
}

.recovery-plan-empty > .review-icon {
  width: 28px;
  height: 28px;
  color: #c084fc;
}

.recovery-plan-empty strong,
.recovery-plan-empty span {
  display: block;
}

.recovery-plan-empty strong {
  color: #f8fafc;
  font-size: 13px;
}

.recovery-plan-empty span {
  margin-top: 4px;
  font-size: 11px;
}

.recovery-plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 92, 246, 0.14);
}

.recovery-plan-note {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  color: #aab7ca;
  font-size: 10.5px;
  line-height: 1.1;
}

.recovery-plan-note .review-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.recovery-plan-note span,
.recovery-plan-note small {
  display: block;
}

.recovery-plan-note small {
  margin-top: 4px;
  color: #718096;
  font-size: 10px;
}

.recovery-plan-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.recovery-plan-actions .ghost {
  min-height: 52px;
  align-self: center;
}

.recovery-plan-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
}

.recovery-plan-actions button > .review-icon {
  width: 19px;
  height: 19px;
}

.recovery-plan-actions .primary {
  min-height: 64px;
}

.recovery-plan-actions .primary > .review-icon {
  width: 28px;
  height: 28px;
}

.recovery-plan-actions button span,
.recovery-plan-actions button small {
  display: block;
  text-align: left;
}

.recovery-plan-actions button span {
  font-weight: 400;
}

.recovery-plan-actions button small {
  margin-top: 2px;
  color: #ddd6fe;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.recovery-auxiliary-panel {
  position: absolute;
  top: 66px;
  right: 24px;
  z-index: 4;
  width: min(395px, calc(100% - 48px));
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 9px;
  background: rgba(9, 13, 26, 0.98);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.52);
}

.recovery-auxiliary-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recovery-auxiliary-panel h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 520;
}

.recovery-auxiliary-panel header button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 22px;
}

.recovery-auxiliary-panel ol {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}

.recovery-auxiliary-panel p {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.5;
}

.recovery-current-plan {
  display: grid;
  gap: 4px;
  margin: 14px 0 10px;
  padding: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 7px;
  background: rgba(7, 10, 19, 0.48);
}

.recovery-current-plan strong {
  font-size: 13px;
}

.recovery-current-plan span,
.recovery-current-plan small {
  color: #aab7ca;
  font-size: 11px;
}

.recovery-aux-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 16px;
  border: 1px solid rgba(100, 116, 139, 0.16);
  border-radius: 7px;
}

.recovery-aux-empty .review-icon {
  width: 24px;
  height: 24px;
  color: #a855f7;
}

.recovery-aux-note {
  padding-top: 10px;
  border-top: 1px solid rgba(139, 92, 246, 0.13);
}

body.recovery-center-open {
  overflow: hidden;
}

@keyframes recoveryGeneratingGlow {
  from {
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.18);
    color: #a855f7;
  }
  to {
    box-shadow: 0 0 34px rgba(217, 70, 239, 0.36);
    color: #e879f9;
  }
}

@media (max-width: 1380px) {
  .recovery-center-panel {
    width: 95%;
    height: 94vh;
  }

  .recovery-center-steps {
    grid-template-columns: minmax(130px, 1fr) 30px minmax(130px, 1fr) 30px minmax(130px, 1fr) 30px minmax(130px, 1fr);
  }

  .recovery-step small {
    font-size: 10px;
  }

  .recovery-center-workspace {
    grid-template-columns: minmax(300px, 37%) minmax(0, 63%);
  }

  .recovery-center-panel[data-stage="plan"] .recovery-center-workspace {
    grid-template-columns: minmax(260px, 29%) minmax(0, 71%);
  }

  .recovery-config-panel,
  .recovery-plan-panel {
    padding: 20px;
  }

  .recovery-plan-row {
    grid-template-columns: 26px 70px minmax(110px, 0.8fr) minmax(150px, 1.2fr) 66px 44px 62px 24px 26px;
    gap: 7px;
    padding-inline: 8px;
  }
}

@media (max-width: 1120px) {
  body.recovery-center-open .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    width: 110px !important;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.recovery-center-open #nav {
    grid-template-columns: 1fr;
  }

  .recovery-center-backdrop {
    inset: 0 0 0 110px;
    padding: 12px;
  }

  .recovery-center-panel {
    width: 100%;
    height: calc(100vh - 24px);
    min-height: 0;
  }

  .recovery-center-steps {
    overflow-x: auto;
  }

  .recovery-center-workspace,
  .recovery-center-panel[data-stage="plan"] .recovery-center-workspace {
    grid-template-columns: minmax(270px, 34%) minmax(0, 66%);
  }

  .recovery-duration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recovery-plan-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recovery-plan-row {
    grid-template-columns: 26px 68px minmax(120px, 1fr) 66px 44px 60px 24px 26px;
  }

  .recovery-plan-content {
    grid-column: 3;
  }

  .recovery-plan-discipline {
    display: none;
  }
}

@media (max-width: 820px) {
  .recovery-center-header {
    align-items: flex-start;
  }

  .recovery-center-header > div:last-child .ghost {
    width: 38px;
    padding: 0;
    font-size: 0;
  }

  .recovery-center-header > div:last-child .ghost .review-icon {
    width: 18px;
    height: 18px;
  }

  .recovery-center-steps {
    grid-template-columns: repeat(4, minmax(94px, 1fr));
    gap: 8px;
  }

  .recovery-step-connector,
  .recovery-step small {
    display: none;
  }

  .recovery-step {
    gap: 7px;
  }

  .recovery-center-workspace,
  .recovery-center-panel[data-stage="plan"] .recovery-center-workspace {
    display: block;
    overflow: auto;
  }

  .recovery-config-panel,
  .recovery-plan-panel {
    overflow: visible;
  }

  .recovery-config-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.17);
  }

  .recovery-center-panel[data-stage="plan"] .recovery-config-panel {
    min-height: 330px;
  }

  .recovery-plan-row {
    grid-template-columns: 26px 70px minmax(140px, 1fr) 60px 44px 24px 26px;
  }

  .recovery-plan-row .review-type-badge {
    display: none;
  }

  .recovery-plan-duration {
    display: none;
  }

  .recovery-plan-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .recovery-plan-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  .review-hub-summary-grid .review-recovery-card {
    height: auto !important;
    min-height: 0 !important;
  }

  body.recovery-center-open .sidebar {
    width: 82px !important;
    padding-inline: 6px !important;
  }

  body.recovery-center-open .nav-btn {
    width: 68px !important;
  }

  .recovery-center-backdrop {
    inset: 0 0 0 82px;
    padding: 0;
  }

  .recovery-center-panel {
    height: 100vh;
    border-radius: 0;
  }

  .recovery-center-header {
    padding: 14px;
  }

  .recovery-center-header h2 {
    font-size: 18px;
  }

  .recovery-center-header p {
    display: none;
  }

  .recovery-center-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 12px 10px;
    padding: 10px;
    overflow-x: hidden;
  }

  .recovery-step {
    justify-content: center;
  }

  .recovery-step > span:last-child {
    display: none;
  }

  .recovery-config-panel,
  .recovery-plan-panel {
    padding: 16px;
  }

  .recovery-center-workspace,
  .recovery-center-panel[data-stage="plan"] .recovery-center-workspace {
    margin: 0 10px 10px;
    overflow-x: hidden;
  }

  .recovery-duration-grid,
  .recovery-skeleton-metrics,
  .recovery-plan-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recovery-custom-time {
    grid-template-columns: minmax(0, 1fr) 78px auto;
    gap: 7px;
  }

  .recovery-skeleton-list,
  .recovery-plan-reorder-hint {
    display: none;
  }

  .recovery-plan-row {
    grid-template-columns: 26px 64px minmax(0, 1fr) 38px 24px 26px;
  }

  .recovery-plan-iur small {
    display: none;
  }

  .recovery-plan-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .recovery-plan-actions button {
    width: 100%;
  }

  .recovery-generating-state {
    width: 100%;
    padding: 20px 12px;
  }

  .recovery-generating-orbit {
    width: 66px;
    height: 66px;
  }

  .recovery-generating-orbit .review-icon {
    width: 34px;
    height: 34px;
  }

  .recovery-generating-state h2 {
    margin-top: 14px;
    font-size: 20px;
  }

  .recovery-generating-state p {
    font-size: 12px;
  }

  .recovery-generation-checklist {
    gap: 8px;
    margin-top: 16px;
  }

  .recovery-generation-checklist li {
    font-size: 12px;
  }

  .recovery-generation-footer {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recovery-center-panel *,
  .recovery-center-workspace {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .recovery-generating-orbit .particle {
    display: none;
  }
}

/* ==========================================================================
   Tema claro — Centro de Recuperação
   Escopado em html[data-theme="light"]; o tema escuro não é afetado. Só cor, via tokens de design-system.css.
   ========================================================================== */
html[data-theme="light"] .recovery-center-backdrop { background: var(--drawer-backdrop); }
html[data-theme="light"] .recovery-center-panel {
  border-color: rgba(124, 58, 237, 0.42);
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 92, 246, 0.07), transparent 28%),
    linear-gradient(145deg, var(--drawer-1), var(--drawer-2));
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.06), 0 30px 80px rgba(57, 44, 89, 0.24);
  color: var(--ink);
}
html[data-theme="light"] .recovery-center-header h2 span { color: var(--primary); }
html[data-theme="light"] .recovery-center-close { color: var(--text-secondary); }
html[data-theme="light"] .recovery-center-close:hover,
html[data-theme="light"] .recovery-center-close:focus-visible { border-color: rgba(124, 58, 237, 0.4); background: var(--primary-2); }
html[data-theme="light"] .recovery-center-steps { border-color: var(--card-border); background: var(--surface-soft); }
html[data-theme="light"] .recovery-center-workspace { border-color: var(--card-border); background: var(--surface-soft); }
html[data-theme="light"] .recovery-config-panel { border-color: var(--card-border); }

/* Texto */
html[data-theme="light"] .recovery-section-kicker,
html[data-theme="light"] .recovery-duration-choice,
html[data-theme="light"] .recovery-plan-empty strong { color: var(--ink); }
html[data-theme="light"] .recovery-step-marker,
html[data-theme="light"] .recovery-config-copy p,
html[data-theme="light"] .recovery-duration-choice span,
html[data-theme="light"] .recovery-custom-time,
html[data-theme="light"] .recovery-tip p,
html[data-theme="light"] .recovery-selected-time span,
html[data-theme="light"] .recovery-generation-footer > span,
html[data-theme="light"] .recovery-plan-summary small,
html[data-theme="light"] .recovery-plan-duration,
html[data-theme="light"] .recovery-auxiliary-panel header button,
html[data-theme="light"] .recovery-auxiliary-panel ol { color: var(--text-secondary); }
html[data-theme="light"] .recovery-center-header p,
html[data-theme="light"] .recovery-step small,
html[data-theme="light"] .recovery-config-helper,
html[data-theme="light"] .recovery-plan-waiting-head h2,
html[data-theme="light"] .recovery-generating-state p,
html[data-theme="light"] .recovery-error-state p,
html[data-theme="light"] .recovery-error-state > small,
html[data-theme="light"] .recovery-plan-success-head p,
html[data-theme="light"] .recovery-plan-reorder-hint,
html[data-theme="light"] .recovery-plan-reorder-hint .review-icon,
html[data-theme="light"] .recovery-plan-content span,
html[data-theme="light"] .recovery-plan-iur small,
html[data-theme="light"] .recovery-plan-drag,
html[data-theme="light"] .recovery-plan-empty,
html[data-theme="light"] .recovery-plan-note,
html[data-theme="light"] .recovery-auxiliary-panel p,
html[data-theme="light"] .recovery-current-plan span,
html[data-theme="light"] .recovery-current-plan small { color: var(--muted); }
html[data-theme="light"] .recovery-generation-checklist li,
html[data-theme="light"] .recovery-waiting-message,
html[data-theme="light"] .recovery-plan-note small,
html[data-theme="light"] .recovery-plan-exclude { color: var(--text-muted); }
html[data-theme="light"] .recovery-tip .review-icon,
html[data-theme="light"] .recovery-selected-time strong,
html[data-theme="light"] .recovery-change-config,
html[data-theme="light"] .recovery-plan-waiting-head span,
html[data-theme="light"] .recovery-waiting-message > .review-icon,
html[data-theme="light"] .recovery-waiting-message li .review-icon,
html[data-theme="light"] .recovery-generating-orbit,
html[data-theme="light"] .recovery-plan-summary .review-icon,
html[data-theme="light"] .recovery-impact-summary > div .review-icon,
html[data-theme="light"] .recovery-plan-empty > .review-icon,
html[data-theme="light"] .recovery-aux-empty .review-icon,
html[data-theme="light"] .recovery-clock-visual { color: var(--primary); text-shadow: none; }
html[data-theme="light"] .recovery-tip strong { color: var(--magenta); }
html[data-theme="light"] .recovery-plan-summary > div:nth-child(2) > .review-icon { color: var(--cyan); }
html[data-theme="light"] .recovery-plan-summary > div:nth-child(3) > .review-icon,
html[data-theme="light"] .recovery-generation-checklist li.active { color: var(--warning); }
html[data-theme="light"] .recovery-step.done .recovery-step-marker,
html[data-theme="light"] .recovery-generation-checklist li.done,
html[data-theme="light"] .recovery-generation-checklist li.done .recovery-generation-step-icon,
html[data-theme="light"] .recovery-generation-ready-icon { color: var(--success); }
html[data-theme="light"] .recovery-validation-message,
html[data-theme="light"] .recovery-error-state > .review-icon,
html[data-theme="light"] .recovery-plan-exclude:hover,
html[data-theme="light"] .recovery-plan-exclude:focus-visible { color: var(--danger) !important; }

/* Superfícies e controles */
html[data-theme="light"] .recovery-step.done .recovery-step-marker { border-color: rgba(22, 138, 80, 0.42); background: rgba(22, 138, 80, 0.1); }
html[data-theme="light"] .recovery-step-connector { background: repeating-linear-gradient(90deg, rgba(57, 44, 89, 0.3) 0 5px, transparent 5px 9px); }
html[data-theme="light"] .recovery-clock-visual {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), rgba(255, 255, 255, 0.6) 70%);
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.22), inset 0 0 14px rgba(124, 58, 237, 0.08);
}
html[data-theme="light"] .recovery-duration-choice { border-color: var(--card-border); background: var(--surface-soft); }
html[data-theme="light"] .recovery-duration-choice:hover,
html[data-theme="light"] .recovery-duration-choice:focus-visible,
html[data-theme="light"] .recovery-duration-choice.active {
  border-color: rgba(124, 58, 237, 0.7);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.12), rgba(255, 255, 255, 0.7));
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.14), 0 6px 16px rgba(124, 58, 237, 0.12);
}
html[data-theme="light"] .recovery-custom-time input { border-color: var(--input-border); }
html[data-theme="light"] .recovery-custom-time.active input,
html[data-theme="light"] .recovery-custom-time:focus-within input { border-color: rgba(124, 58, 237, 0.7); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12); }
html[data-theme="light"] .recovery-tip,
html[data-theme="light"] .recovery-plan-summary > div:not(.recovery-impact-summary),
html[data-theme="light"] .recovery-impact-summary > div,
html[data-theme="light"] .recovery-current-plan,
html[data-theme="light"] .recovery-skeleton-metrics > div,
html[data-theme="light"] .recovery-skeleton-list > div { border-color: var(--card-border); background: var(--surface-soft); }
html[data-theme="light"] .recovery-plan-actions .primary:disabled { border-color: var(--card-border); background: rgba(57, 44, 89, 0.08); color: var(--text-muted); }
html[data-theme="light"] .recovery-change-config { border-color: rgba(124, 58, 237, 0.5); }
html[data-theme="light"] .recovery-plan-waiting-head span { border-color: rgba(124, 58, 237, 0.34); }
html[data-theme="light"] .recovery-skeleton-metrics i,
html[data-theme="light"] .recovery-skeleton-list i,
html[data-theme="light"] .recovery-skeleton-metrics b,
html[data-theme="light"] .recovery-skeleton-metrics small,
html[data-theme="light"] .recovery-skeleton-list span,
html[data-theme="light"] .recovery-skeleton-list b { background: rgba(57, 44, 89, 0.1); }
html[data-theme="light"] .recovery-generating-orbit { border-color: rgba(124, 58, 237, 0.4); background: radial-gradient(circle, rgba(139, 92, 246, 0.12), rgba(255, 255, 255, 0.3) 68%); box-shadow: 0 0 22px rgba(124, 58, 237, 0.16); }
html[data-theme="light"] .recovery-generation-progress { background: var(--progress-track-bg); }
html[data-theme="light"] .recovery-generation-ready-icon { border-color: rgba(22, 138, 80, 0.6); background: radial-gradient(circle, rgba(22, 138, 80, 0.12), rgba(255, 255, 255, 0.3) 70%); box-shadow: 0 0 22px rgba(22, 138, 80, 0.16); }
html[data-theme="light"] .recovery-generation-checklist li.done .recovery-generation-step-icon { border-color: rgba(22, 138, 80, 0.6); background: rgba(22, 138, 80, 0.1); }
html[data-theme="light"] .recovery-generation-checklist li.active .recovery-generation-step-icon::after { background: var(--warning); }
html[data-theme="light"] .recovery-generation-checklist li.active .recovery-generation-step-icon { border-color: rgba(161, 98, 7, 0.7); box-shadow: none; }
html[data-theme="light"] .recovery-plan-list,
html[data-theme="light"] .recovery-aux-empty { border-color: var(--card-border); }
html[data-theme="light"] .recovery-plan-row { border-bottom-color: var(--card-border); background: var(--surface-soft); }
html[data-theme="light"] .recovery-plan-row:hover,
html[data-theme="light"] .recovery-plan-row.drag-over { background: rgba(124, 58, 237, 0.08); }
html[data-theme="light"] .recovery-plan-position { background: var(--surface-soft-strong); }
html[data-theme="light"] .recovery-plan-exclude:hover,
html[data-theme="light"] .recovery-plan-exclude:focus-visible { border-color: rgba(217, 45, 78, 0.34); background: rgba(217, 45, 78, 0.08); }
html[data-theme="light"] .recovery-plan-footer,
html[data-theme="light"] .recovery-aux-note { border-color: var(--card-border); }
html[data-theme="light"] .recovery-auxiliary-panel { border-color: rgba(124, 58, 237, 0.34); background: var(--panel); box-shadow: 0 22px 46px rgba(57, 44, 89, 0.2); }
