.step5-d1 {
  padding: 16px;
  margin-block: 20px 0;
  border: 1px solid #35503b;
  border-radius: 13px;
  background: linear-gradient(145deg, #101713, #080b09);
  box-shadow: inset 0 1px rgb(186 255 166 / .035);
}
.step5-d1-title { margin: 0 0 14px; color: #ebf1eb; font-size: 14px; font-weight: 700; }
.step5-d1-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.step5-d1-field { display: grid; gap: 7px; min-width: 0; color: #b9c5bc; font-size: 11px; line-height: 1.5; }
.step5-d1-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #3c4940;
  border-radius: 9px;
  background: #080c09;
  color: #f3f6f3;
  font: 600 17px / 1.3 Inter, sans-serif;
  font-variant-numeric: tabular-nums;
}
.step5-d1-field input:focus-visible { outline: 2px solid #b0d9a6; outline-offset: 2px; }
.step5-d1-field input[aria-invalid="true"] { border-color: #bc9987; }
.step5-d1-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; margin-top: 18px; }
.step5-d1-result-label { color: #aebdb1; font-size: 12px; }
.step5-d1-value { color: #e8f5e3; font: 800 34px / 1.2 Inter, sans-serif; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.step5-d1-formula { grid-column: 1 / -1; color: #9faa9f; font: 400 11px / 1.65 Inter, sans-serif; }
.step5-d1-track { grid-column: 1 / -1; height: 3px; overflow: hidden; margin-top: 10px; border-radius: 2px; background: #26342a; }
.step5-d1-track > span { display: block; width: 100%; height: 100%; border-radius: inherit; background: #a7d990; transform-origin: left; }
.roblox-paid-codex .step5-d1-note,
.roblox-paid-codex .step5-d1-error { margin: 12px 0 0; font-size: 11px; line-height: 1.65; }
.step5-d1-note { color: #9fab9f; }
.step5-d1-error { color: #e3ba9e; }
.step5-d1-error[hidden] { display: none; }

.step5-readiness { margin-block: 28px; padding: 18px 16px 14px; border: 1px solid #303330; border-radius: 15px; background: linear-gradient(135deg, #121412, #080908); }
.roblox-paid-codex .step5-readiness-title { margin: 0 0 12px; }
.roblox-paid-codex .step5-readiness-note { margin: 0 0 16px; color: #aeb5ae; font-size: 12px; line-height: 1.65; }
.step5-readiness-items { display: grid; gap: 0; }
.step5-readiness-item { display: flex; align-items: flex-start; gap: 11px; padding-block: 13px; color: #e4e7e4; font-size: 14px; line-height: 1.5; cursor: pointer; }
.step5-readiness-item + .step5-readiness-item { border-top: 1px solid #242824; }
.step5-readiness-item input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #a2cc93; cursor: pointer; }
.step5-readiness-item input:focus-visible { outline: 2px solid #d8ebd1; outline-offset: 4px; }
.step5-readiness-item span { min-width: 0; overflow-wrap: anywhere; }
.step5-readiness-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.roblox-paid-codex .step5-readiness-count { margin: 0; color: #d4dfd0; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step5-readiness-reset { min-height: 44px; padding: 9px 12px; border: 1px solid #3b413b; border-radius: 9px; background: linear-gradient(#202520, #121612); color: #dce4d9; font: 600 11px / 1.4 Inter, sans-serif; cursor: pointer; touch-action: manipulation; }
.step5-readiness-reset:active { background: #0c100c; }
.step5-readiness-reset:focus-visible { outline: 2px solid #d8ebd1; outline-offset: 3px; }
.roblox-paid-codex .step5-readiness-storage { margin: 12px 0 0; color: #9ca79c; font-size: 11px; line-height: 1.65; }
.step5-readiness-report { margin-block: 18px 0; }
@media (max-width: 360px) {
  .step5-d1 { padding: 13px; }
  .step5-d1-fields { gap: 9px; }
  .step5-readiness { padding-inline: 13px; }
}
