.storage-calculator {
  color: #22252b;
  padding-bottom: 40px;
}
.storage-intro {
  display: block;
  padding: 0;
  border: 0;
  max-width: 820px;
  margin: 30px 0 32px;
}
.storage-kicker {
  color: #a8212d;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  margin: 0 0 14px;
}
.storage-intro h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.storage-intro > p:last-child {
  color: #565b64;
  max-width: 650px;
  font-size: 17px;
  line-height: 1.6;
}
.storage-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.storage-form, .storage-summary {
  border-radius: 20px;
  padding: 30px;
  min-width: 0;
}
.storage-form {
  background: #fff;
  border: 1px solid #dadde2;
}
.storage-form h2, .storage-summary h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.storage-muted {
  font-size: 14px;
  color: #565b64;
  line-height: 1.5;
  margin: 0 0 24px;
}
.storage-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}
.storage-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.storage-field[hidden], .storage-summary [hidden] {
  display: none;
}
.storage-field label {
  font-weight: 650;
  font-size: 14px;
}
.storage-field input, .storage-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  background: #fff;
  border: 1px solid #818791;
  border-radius: 9px;
  padding: 11px 12px;
  color: #22252b;
  font: inherit;
}
.storage-field small {
  color: #565b64;
  font-size: 12px;
  line-height: 1.5;
}
.storage-error {
  color: #ae1727;
  font-size: 13px;
}
.storage-error:empty {
  display: none;
}
.storage-field [aria-invalid="true"] {
  border: 2px solid #ae1727;
}
.storage-mode {
  grid-column: 1 / -1;
}
.storage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.storage-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  padding: 12px 20px;
  background: #c72b3a;
  color: #fff;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.storage-primary:hover {
  background: #a91d2a;
  color: #fff;
}
.storage-reset {
  border: 0;
  padding: 12px 16px;
  min-height: 48px;
  font: inherit;
  color: #565b64;
  background: transparent;
  cursor: pointer;
}
.storage-calculator :is(input, select, button, a):focus-visible {
  outline: 3px solid #244db5;
  outline-offset: 3px;
}
.storage-summary {
  background: #f1f3f5;
  border: 1px solid #e0e3e7;
}
.storage-capacity {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.storage-capacity > span:last-child {
  font-size: .5em;
  letter-spacing: 0;
  color: #565b64;
}
.storage-summary h2 {
  display: block;
  font-size: 18px;
  line-height: 1.5;
}
.storage-summary dl {
  margin: 26px 0 20px;
}
.storage-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #cdd1d8;
  font-size: 14px;
}
.storage-summary dt {
  color: #565b64;
}
.storage-summary dd {
  font-weight: 650;
  margin: 0;
  text-align: right;
}
.storage-note, .storage-compatibility {
  font-size: 13px;
  line-height: 1.6;
  color: #565b64;
}
.storage-summary .storage-primary {
  display: flex;
  margin: 22px 0 14px;
}
.storage-compatibility {
  margin-bottom: 0;
}
.storage-guide {
  margin-top: 48px;
}
.storage-guide h2 {
  font-size: 26px;
  letter-spacing: -.02em;
}
.storage-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.storage-guide h3 {
  font-size: 16px;
  margin: 8px 0;
}
.storage-guide p {
  color: #565b64;
  font-size: 14px;
  line-height: 1.7;
}
.storage-guide a {
  color: #a8212d;
  text-underline-offset: 3px;
}
.storage-footnote {
  border-top: 1px solid #dadde2;
  padding-top: 20px;
}
.storage-system-link {
  display: inline-block;
  padding-block: 12px;
  font-weight: 650;
}
@media (max-width: 900px) {
  .storage-workspace {
    grid-template-columns: 1fr;
  }
  .storage-guide-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 520px) {
  .storage-intro {
    margin-top: 22px;
  }
  .storage-form, .storage-summary {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .storage-fields {
    grid-template-columns: 1fr;
  }
  .storage-actions .storage-primary {
    width: 100%;
  }
  .storage-workspace {
    gap: 16px;
  }
}
