.storage-page { background: #f3f6ef; color: #203c32; }
.storage-page .site-header { background: #f3f6ef; position: static; }
.storage-page .brand-symbol { display: inline-flex; width: 32px; height: 32px; }
.storage-page .brand-symbol svg { width: 24px; height: 24px; }
.storage-main { padding-block: 18px 56px; }
.storage-crumb { font-size: 14px; margin: 0 0 18px; }
.storage-main h1 { font-family: Georgia, serif; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; max-width: 850px; margin: 0 0 14px; }
.storage-lead { max-width: 690px; font-size: 17px; line-height: 1.55; margin: 0 0 24px; }
.storage-answer { border-block: 2px solid #203c32; padding: 20px; background: #e8eee2; }
.storage-answer h2 { margin: 0; font-size: 18px; }
.storage-answer h2 + p { margin: 8px 0 12px; font-size: 13px; }
.storage-answer strong { display: block; font-size: clamp(27px, 4vw, 40px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.storage-answer #storage-remaining { margin: 8px 0; font-weight: 600; }
.storage-answer #storage-status { font-size: 14px; line-height: 1.5; max-width: 680px; }
.storage-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.storage-page button { font: inherit; font-weight: 600; border: 1px solid #203c32; border-radius: 3px; min-height: 44px; padding: 10px 14px; background: #203c32; color: #fffefa; cursor: pointer; }
.storage-page button:hover { background: #142a22; }
.storage-page button:focus-visible, .storage-page input:focus-visible, .storage-page select:focus-visible, .storage-page summary:focus-visible { outline: 3px solid #b55132; outline-offset: 3px; }
.storage-page .storage-secondary { background: transparent; color: #203c32; }
.storage-page .storage-secondary:hover { background: #d5e1cd; }
.storage-page button:disabled { opacity: .55; cursor: default; }
.storage-workspace { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; margin-top: 30px; align-items: start; }
.storage-form fieldset { border: 0; border-top: 1px solid #a2b29e; padding: 18px 0; margin: 0; }
.storage-form legend { font-size: 20px; font-weight: 600; padding-right: 12px; }
.storage-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.storage-form label { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; }
.storage-form label span { display: block; font-size: 13px; font-weight: 400; }
.storage-form fieldset:last-of-type label span { min-height: 39px; }
.storage-form input, .storage-form select { display: block; margin-top: 6px; width: 100%; min-height: 46px; border: 1px solid #849b7f; border-radius: 2px; background: #fffefa; color: #203c32; padding: 10px; font: inherit; font-size: 16px; }
.storage-form p, .storage-form small { display: block; font-size: 14px; line-height: 1.55; max-width: 65ch; }
.storage-error { color: #942f1e; font-size: 13px; font-weight: 400; }
.storage-error:empty { display: none; }
.storage-form [aria-invalid=true] { border-color: #942f1e; }
.storage-diagram-panel { border-left: 1px solid #a2b29e; padding-left: 26px; }
.storage-diagram-panel h2 { margin: 0 0 14px; font-size: 23px; font-family: Georgia, serif; }
.storage-diagram-panel svg { display: block; width: 100%; max-height: 420px; font-family: 'Segoe UI', Arial, sans-serif; }
.storage-diagram-panel p { font-size: 14px; line-height: 1.6; }
.storage-detail { margin-top: 30px; }
.storage-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 0 0 22px; }
.storage-detail dt { font-size: 14px; }
.storage-detail dd { margin: 6px 0 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.storage-table-wrap { overflow-x: auto; }
.storage-main table { border-collapse: collapse; width: 100%; font-size: 14px; }
.storage-main th, .storage-main td { padding: 12px 8px; text-align: left; border-bottom: 1px solid #bcc7b7; font-variant-numeric: tabular-nums; }
.storage-main thead { background: #e8eee2; }
.storage-main th { font-weight: 600; }
.storage-detail textarea { display: block; width: 100%; background: #fffefa; color: #203c32; font: 14px/1.5 'Segoe UI', sans-serif; padding: 12px; border: 1px solid #849b7f; margin-top: 14px; }
.storage-section, .storage-figure { margin: 36px 0 0; border-top: 1px solid #a2b29e; padding-top: 22px; }
.storage-section h2 { font: 27px/1.2 Georgia, serif; margin: 0 0 16px; }
.storage-section p, .storage-section li { font-size: 16px; line-height: 1.65; max-width: 78ch; }
.storage-section li + li { margin-top: 9px; }
.storage-formula { padding: 14px 16px; border-left: 3px solid #567369; background: #e8eee2; font-variant-numeric: tabular-nums; }
.storage-figure img { display: block; width: 100%; height: auto; max-width: 800px; }
.storage-figure figcaption { font-size: 14px; line-height: 1.55; max-width: 75ch; margin-top: 12px; }
.storage-faq details { border-bottom: 1px solid #bcc7b7; padding: 14px 0; }
.storage-faq summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.storage-faq details p { margin-bottom: 0; }
.storage-two-spaces { margin-top: 30px; padding-block: 18px; border-block: 1px solid #a2b29e; }
.storage-two-spaces > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: list-item; padding-block: 10px; }
.storage-two-spaces p { font-size: 15px; line-height: 1.6; max-width: 78ch; }
.storage-two-spaces h2 { font: 27px/1.2 Georgia, serif; }
.storage-two-spaces strong { overflow-wrap: anywhere; }
.storage-confirm { display: flex; align-items: start; gap: 12px; margin-block: 12px; }
.storage-confirm input { width: 22px; min-height: 22px; flex-shrink: 0; accent-color: #203c32; }
.storage-confirm label { padding-block: 5px; min-height: 44px; }
.storage-two-diagrams { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.storage-two-diagrams section { min-width: 0; border-top: 1px solid #a2b29e; margin-top: 18px; }
.storage-two-diagrams svg { width: 100%; max-height: 360px; font-family: 'Segoe UI', Arial, sans-serif; }
.storage-two-spaces textarea { width: 100%; font: 14px/1.5 'Segoe UI', sans-serif; padding: 12px; background: #fffefa; color: #203c32; }
.storage-page [hidden] { display: none !important; }
@media (max-width: 640px) {
  .storage-page .site-header.page-shell { gap: 6px; padding-block: 10px 6px; }
  .storage-page .site-nav { display: grid; grid-template-columns: repeat(5, auto); width: 100%; gap: 6px; }
  .storage-page .site-nav a { min-height: 44px; padding: 2px; font-size: 13px; white-space: nowrap; }
  .storage-main { padding-top: 12px; }
  .storage-lead { font-size: 16px; margin-bottom: 18px; }
  .storage-crumb { font-size: 13px; margin-bottom: 14px; }
  .storage-answer { padding: 16px; }
  .storage-workspace { grid-template-columns: 1fr; gap: 24px; }
  .storage-diagram-panel { border-left: 0; padding-left: 0; border-top: 1px solid #a2b29e; padding-top: 20px; }
  .storage-fields { gap: 14px 12px; }
  .storage-detail dl { grid-template-columns: 1fr; gap: 16px; }
  .storage-two-diagrams { grid-template-columns: 1fr; gap: 12px; }
  .storage-main table { font-size: 13px; }
  .storage-main th, .storage-main td { padding-inline: 5px; }
}
@media print {
  .storage-page .site-header, .storage-page .site-footer, .storage-form, .storage-actions, #storage-copy, #storage-copy-status, #storage-fallback, #storage-two-copy, #storage-two-copy-status, #storage-two-fallback { display: none !important; }
  .storage-workspace { display: block; }
  .storage-diagram-panel { padding: 0; border: 0; }
  .storage-answer { background: white; }
  .storage-figure { break-inside: avoid; }
}
