.safety-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.safety-heading .safety-copy > p { max-width: 500px; }
.safety-explainer { padding-top: 4px; }
.safety-explainer h3 { font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.safety-explainer p { color: #bcbcbc; font-size: 13px; line-height: 1.85; margin-top: 18px; max-width: 540px; }
.safety-explainer .inline-link { margin-top: 21px; }
.storage-calculator { margin-top: 42px; border: 1px solid #5c3822; border-radius: 17px; background: radial-gradient(ellipse at 100% 0%, #ff590014, transparent 55%), #111; padding: 28px; scroll-margin-top: 25px; }
.storage-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 26px; border-bottom: 1px solid #382b23; }
.storage-heading .eyebrow { font-size: 9px; color: #d59c7b; }
.storage-heading h3 { font-size: 31px; line-height: 1.15; letter-spacing: -.04em; margin-top: 14px; }
.storage-heading > .mono { font-size: 8px; color: #aa9384; border: 1px solid #61412e; padding: 8px 10px; border-radius: 4px; white-space: nowrap; }
.storage-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; margin-top: 22px; }
.storage-controls { display: grid; gap: 16px; align-content: start; min-width: 0; }
.storage-field > label, .storage-field > .storage-label { display: block; color: #dfd8d3; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.storage-field select, .storage-field input { width: 100%; padding: 11px 14px; border: 1px solid #514033; border-radius: 7px; background: #090909; color: #fff; font: inherit; font-size: 13px; min-width: 0; }
.storage-field select { color-scheme: dark; }
.storage-field > p { color: #96908b; font-size: 10px; line-height: 1.7; margin-top: 9px; }
.storage-target { display: grid; grid-template-columns: 1fr 90px; gap: 9px; }
.storage-unit { display: flex; align-items: center; justify-content: center; color: #c7b9ae; font-size: 13px; border: 1px solid #514033; border-radius: 7px; background: #090909; }
.storage-server-toggle { display: flex; gap: 12px; align-items: start; padding: 15px; border: 1px solid #4b3426; border-radius: 7px; background: #ff590007; cursor: pointer; }
.storage-server-toggle > input { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--accent); margin-top: 2px; }
.storage-server-toggle strong { display: block; font-size: 12px; line-height: 1.6; font-weight: 600; }
.storage-server-toggle small { display: block; font-size: 10px; color: #a9a09a; line-height: 1.7; margin-top: 4px; }
.storage-result { min-width: 0; }
.storage-disks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.storage-disk { background: linear-gradient(145deg, #2b231e, #161412); border: 1px solid #815034; border-radius: 7px; padding: 11px; box-shadow: 0 5px #080808; min-width: 0; }
.storage-disks[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.storage-disk > span { display: block; font-size: 8px; color: #ad9788; }
.storage-disk > strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.04em; margin-top: 12px; }
.storage-disk > i { display: block; width: 15px; height: 3px; margin-top: 13px; background: var(--accent); border-radius: 3px; }
.storage-drive-note { color: #a58e7e; font-size: 9px; line-height: 1.7; margin-top: 13px; }
.storage-capacity { margin-top: 23px; }
.storage-capacity > .mono { color: #bfa18f; font-size: 8px; }
.storage-capacity > div { display: flex; align-items: baseline; gap: 18px; margin-top: 9px; flex-wrap: wrap; }
.storage-capacity output { font-size: clamp(37px, 4vw, 58px); letter-spacing: -.06em; color: #fff; line-height: 1; font-weight: 800; }
.storage-capacity small { font-size: 12px; color: #b09d90; }
.storage-formula { font-size: 11px; color: #c5b6ac; margin-top: 13px; line-height: 1.7; }
.storage-bar { display: flex; height: 7px; border-radius: 6px; overflow: hidden; background: #4e3930; margin-top: 22px; }
.storage-bar > span { background: var(--accent); transition: width .2s; }
.storage-result[data-status=insufficient] .storage-bar > span { background: #ff8787; }
.storage-split { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; }
.storage-split > span { font-size: 10px; color: #b6a79c; line-height: 1.7; }
.storage-split strong { font-weight: 600; color: #e6d4c8; display: block; }
.storage-status { margin-top: 18px; padding: 14px 16px; border-left: 2px solid #ca875e; background: #ff59000a; }
.storage-status > strong { display: block; color: #ffb582; font-size: 12px; line-height: 1.6; }
.storage-status > p { font-size: 10px; color: #b2a79f; line-height: 1.8; margin-top: 7px; }
.storage-result[data-status=insufficient] .storage-status { border-color: #f38a8a; background: #ff888808; }
.storage-result[data-status=insufficient] .storage-status > strong { color: #ffa4a4; }
.storage-system { display: flex; align-items: center; gap: 14px; border-block: 1px solid #382b23; padding: 16px 0; margin-top: 23px; }
.storage-system > span { color: var(--accent); font-size: 25px; }
.storage-system strong { font-size: 14px; font-weight: 600; }
.storage-system p { font-size: 10px; line-height: 1.7; color: #aaa; margin-top: 5px; }
.storage-system > .mono { color: #a78b79; font-size: 8px; margin-left: auto; padding-left: 20px; }
.storage-bom { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; padding-top: 18px; }
.storage-bom .mono { font-size: 8px; color: #a58e7e; }
.storage-bom strong { display: block; font-size: 20px; line-height: 1.4; letter-spacing: -.025em; margin-top: 9px; }
.storage-bom p { color: #a99e96; font-size: 10px; line-height: 1.8; margin-top: 8px; }
.storage-bom .button { font-size: 14px; padding: 17px 21px; gap: 20px; }
.storage-assumptions { color: #8d837c; font-size: 9px; line-height: 1.8; margin-top: 14px; }
.request-storage-summary { border: 1px solid #64402b; border-radius: 8px; padding: 14px; margin-top: 5px; }
.request-storage-summary > span { color: #db9e79; font-size: 10px; font-weight: 600; }
.request-storage-summary p { color: #bcbcbc; font-size: 11px; line-height: 1.8; margin-top: 8px; }
.request-storage-summary .dialog-back { margin-top: 10px; text-align: left; font-size: 11px; }
@media (max-width: 1000px) {
  .safety-heading { gap: 45px; }
  .storage-grid { gap: 30px; }
  .storage-calculator { padding: 27px; }
  .storage-disk { padding: 9px; }
  .storage-disk > strong { font-size: 19px; }
}
@media (max-width: 700px) {
  .safety-heading { grid-template-columns: 1fr; gap: 27px; }
  .safety-explainer h3 { font-size: 26px; }
  .safety-explainer p { font-size: 12px; }
  .storage-calculator { padding: 21px; margin-top: 29px; }
  .storage-heading { align-items: start; padding-bottom: 22px; }
  .storage-heading h3 { font-size: 26px; }
  .storage-heading > .mono { display: none; }
  .storage-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 23px; }
  .storage-controls { gap: 20px; }
  .storage-result { border-top: 1px solid #382b23; padding-top: 24px; }
  .storage-disks { gap: 8px; }
  .storage-disk { padding: 10px; }
  .storage-disk > span { font-size: 7px; }
  .storage-disk > strong { font-size: 19px; }
  .storage-capacity output { font-size: 47px; }
  .storage-capacity > div { gap: 12px; }
  .storage-capacity small { font-size: 11px; }
  .storage-status > p { font-size: 11px; }
  .storage-system { align-items: start; }
  .storage-system > .mono { display: none; }
  .storage-system strong { font-size: 13px; }
  .storage-bom { grid-template-columns: 1fr; gap: 20px; }
  .storage-bom strong { font-size: 20px; }
  .storage-bom .button { justify-content: space-between; font-size: 15px; }
  .storage-assumptions { font-size: 9px; }
}
@media (max-width: 365px) {
  .storage-calculator { padding: 16px; }
  .storage-heading .eyebrow { font-size: 8px; }
  .storage-heading h3 { font-size: 23px; }
  .storage-field > label { font-size: 11px; }
  .storage-disk { padding: 8px; }
  .storage-disk > strong { font-size: 16px; }
  .storage-disk > span { font-size: 6px; }
  .storage-capacity output { font-size: 41px; }
  .storage-capacity small { font-size: 10px; }
  .storage-split { gap: 13px; }
  .storage-bom strong { font-size: 18px; }
}
