@layer refinement {
  .storage-capacity-alert{display:flex;gap:7px;align-items:flex-start;background:var(--accent-soft);color:var(--speg-charcoal);padding:10px 12px;border-radius:7px;margin-top:14px;font-size:11px;line-height:1.6}.storage-capacity-alert>.icon{width:14px;height:14px;flex-shrink:0;margin-top:2px}
  .storage-preview-line{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-secondary);margin:-4px 0 20px}.storage-preview-line>.icon{width:14px;height:14px;flex-shrink:0}.storage-preview-line>.mini-chip{margin-left:auto;white-space:nowrap}
  .storage-access-note{display:flex;gap:10px;align-items:center;border-left:2px solid var(--speg-accent);padding:11px 15px;margin-bottom:20px;background:var(--accent-soft);font-size:12px;line-height:1.6}.storage-access-note>.icon{width:16px;height:16px;flex-shrink:0}.storage-access-note button{color:var(--speg-accent);text-decoration:underline;text-underline-offset:3px}
  .tier-topology{display:grid;grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);align-items:stretch}.tier-card{border:1px solid var(--line);border-radius:12px;background:var(--speg-white);padding:24px;min-width:0;box-shadow:0 3px 8px color-mix(in srgb,var(--speg-charcoal) 2%,transparent)}.tier-card-title{display:flex;align-items:center;gap:12px;margin-bottom:25px}.tier-symbol{display:flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--speg-accent);border:1px solid color-mix(in srgb,var(--speg-accent) 15%,transparent);width:40px;height:40px;border-radius:10px;flex-shrink:0}.tier-symbol>.icon{width:19px;height:19px}.tier-card-title>div{min-width:0}.tier-card-title>div>span{display:block;font-size:9px;letter-spacing:1.7px;color:var(--text-secondary);font-weight:600;margin-bottom:5px}.tier-card-title h2{font-size:17px;font-weight:600;letter-spacing:-.3px}.tier-card-title>.mini-chip{margin-left:auto;font-size:9px;white-space:nowrap}.tier-amount{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.tier-amount>strong{font-size:39px;font-weight:550;line-height:1.15;letter-spacing:-1.4px;font-variant-numeric:tabular-nums}.tier-amount>span{font-size:12px;color:var(--text-secondary)}.tier-meter{height:8px;border-radius:5px;background:var(--line);overflow:hidden;margin-top:20px}.tier-meter>span{height:100%;display:block;background:var(--speg-accent);border-radius:5px;transition:width .45s ease}.tier-card.remote .tier-meter>span{background:var(--speg-charcoal)}.tier-markers{display:flex;justify-content:space-between;gap:8px;margin-top:10px;color:var(--text-secondary);font-size:10px}.tier-copy{font-size:12px;line-height:1.8;color:var(--text-secondary);margin-top:20px;max-width:380px;min-height:43px}.tier-card-bottom{display:flex;gap:7px;align-items:center;font-size:10px;line-height:1.6;padding-top:18px;margin-top:18px;border-top:1px solid var(--line);color:var(--text-secondary)}.tier-card-bottom>.icon{width:14px;height:14px;flex-shrink:0}
  .tier-bridge{display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;color:var(--speg-accent);gap:5px}.tier-bridge>span{background:var(--canvas);z-index:1;padding:8px}.tier-bridge>span>.icon{width:17px;height:17px}.tier-bridge>i{position:absolute;top:41%;left:0;width:100%;border-top:1px dashed var(--speg-muted)}.tier-bridge>.icon{width:18px;height:18px}.tier-bridge>small{text-align:center;font-size:8px;line-height:1.6;color:var(--text-secondary)}
  .storage-continuity{display:flex;align-items:center;gap:16px;padding:22px 5px 26px;margin-bottom:5px}.storage-continuity .tier-symbol{background:transparent;border:0;color:var(--text-secondary);width:28px}.storage-continuity h2{font-size:13px;font-weight:600;margin-bottom:5px}.storage-continuity p{font-size:11px;color:var(--text-secondary);line-height:1.6}.storage-continuity>strong{font-size:17px;font-weight:550;margin-left:auto;white-space:nowrap;text-align:right}.storage-continuity small{display:block;font-size:10px;color:var(--text-secondary);font-weight:400;margin-top:4px}
  .storage-work-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}.storage-work-grid>.panel{min-width:0}.storage-policy-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-bottom:24px}.storage-policy-metrics>div>span,.storage-review-totals>div>span{display:block;font-size:11px;color:var(--text-secondary)}.storage-policy-metrics strong,.storage-review-totals strong{display:block;font-size:26px;font-weight:550;letter-spacing:-.6px;margin:9px 0 5px}.storage-policy-metrics em,.storage-review-totals em{font-size:12px;font-style:normal;font-weight:400;letter-spacing:0}.storage-policy-metrics small,.storage-review-totals small{font-size:10px;color:var(--text-secondary)}.storage-details>div{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:13px 0;font-size:11px;line-height:1.6}.storage-details dt{color:var(--text-secondary);flex-shrink:0}.storage-details dd{text-align:right;overflow-wrap:anywhere}.storage-details dd>.icon{width:12px;height:12px;vertical-align:-2px}.storage-policy-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.storage-policy-actions .button{font-size:11px;min-height:37px;padding-inline:12px}.storage-footnote{font-size:10px;color:var(--text-secondary);line-height:1.7;margin-top:12px}.storage-destination{display:flex;gap:11px;align-items:center;margin-bottom:19px}.storage-destination>div{min-width:0}.storage-destination strong{display:block;font-size:12px;overflow-wrap:anywhere}.storage-destination small{display:block;color:var(--text-secondary);font-size:10px;line-height:1.6;margin-top:5px}.storage-rule{display:flex;gap:10px;margin-top:20px}.storage-rule>.icon{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--speg-accent)}.storage-rule p{font-size:11px;line-height:1.75;color:var(--text-secondary)}.storage-rule strong{display:block;font-size:11px;font-weight:600;color:var(--speg-charcoal);margin-bottom:3px}.storage-rule.backup-separate{border-top:1px solid var(--line);padding-top:18px}
  .storage-history{margin-top:20px}.storage-history .panel-header p{font-size:11px;color:var(--text-secondary);margin-top:5px}.storage-history-empty{display:flex;align-items:center;gap:14px;padding:8px 0}.storage-history-empty>.icon{width:24px;height:24px;color:var(--speg-muted)}.storage-history-empty strong{font-size:12px;font-weight:550}.storage-history-empty p{font-size:11px;color:var(--text-secondary);margin-top:5px;line-height:1.7}.storage-events{list-style:none;margin:0;padding:0}.storage-events li{display:flex;gap:13px;padding:14px 0;border-bottom:1px solid var(--line)}.storage-events li:first-child{padding-top:0}.storage-events li:last-child{padding-bottom:0;border:0}.storage-events li>.icon{width:15px;height:15px;color:var(--speg-accent);flex-shrink:0;margin-top:2px}.storage-events strong{font-size:12px;font-weight:550}.storage-events p{font-size:11px;color:var(--text-secondary);line-height:1.6;margin-top:4px}.storage-events li>small{margin-left:auto;white-space:nowrap;color:var(--text-secondary);font-size:10px;padding-top:3px}.storage-lab{margin-top:22px;padding:16px 0;border-top:1px solid var(--line)}.storage-lab summary{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-secondary);cursor:pointer;list-style:none}.storage-lab summary>.icon{width:14px;height:14px}.storage-lab summary>.icon:last-child{margin-left:auto;transition:transform .2s}.storage-lab[open] summary>.icon:last-child{transform:rotate(180deg)}.storage-lab p{font-size:11px;color:var(--text-secondary);margin:13px 0}.storage-scenarios{display:flex;gap:9px}.storage-scenarios .selected{border-color:var(--speg-accent);color:var(--speg-accent);background:var(--accent-soft)}
  .storage-settings-form fieldset{border:0;border-top:1px solid var(--line);padding:21px 0 8px;min-width:0}.storage-settings-form legend{font-size:12px;font-weight:600;padding-right:12px}.storage-form-note{font-size:12px;color:var(--text-secondary);line-height:1.8;margin-bottom:24px}.storage-field-help{font-size:11px;line-height:1.8;color:var(--text-secondary);margin:-6px 0 20px}.storage-domain-options{display:grid;gap:12px;padding-bottom:17px}.storage-domain-options label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}.storage-domain-options input{margin-top:2px;accent-color:var(--speg-accent)}.storage-domain-options small{display:block;font-size:10px;color:var(--text-secondary);margin-top:3px}.storage-domain-options .icon{width:13px;height:13px;margin-left:auto}.storage-review-totals{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:24px 0}.storage-review-totals strong{font-size:20px}.storage-review-table{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-bottom:22px}.storage-review-table th,.storage-review-table td{padding:10px;text-align:left;font-size:11px;border-bottom:1px solid var(--line);white-space:nowrap}.storage-review-table th{font-weight:500}.storage-review-table thead{background:var(--canvas)}.storage-review-confirm{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8;color:var(--text-secondary);margin-top:18px}.storage-review-confirm input{accent-color:var(--speg-accent);margin-top:4px;flex-shrink:0}
  @media(max-width:1100px){.tier-topology{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)}.tier-card{padding:20px}.tier-card-title{gap:9px;flex-wrap:wrap}.tier-card-title>.mini-chip{margin-left:0}.tier-bridge small{display:none}.storage-work-grid{gap:16px;grid-template-columns:1fr 1fr}.storage-policy-metrics{gap:8px}.storage-policy-metrics strong{font-size:23px}.storage-policy-actions .button{flex:1;justify-content:center}}
  @media(max-width:760px){.storage-work-grid{grid-template-columns:1fr}.tier-card-title>.mini-chip{display:none}.tier-amount{gap:5px;flex-direction:column}.tier-amount>strong{font-size:34px}.tier-copy{min-height:65px}.tier-markers{flex-direction:column;gap:5px}.storage-continuity{gap:10px}.storage-continuity>strong{font-size:15px}.storage-continuity .tier-symbol{display:none}}
  @media(max-width:550px){.tier-topology{grid-template-columns:1fr;gap:0}.tier-card{padding:20px}.tier-card-title{flex-wrap:nowrap;margin-bottom:20px}.tier-card-title>.mini-chip{display:inline-flex;margin-left:auto}.tier-amount{flex-direction:row;align-items:baseline;gap:10px}.tier-copy{min-height:0;margin-top:15px}.tier-markers{flex-direction:row}.tier-bridge{height:37px;flex-direction:row;gap:7px}.tier-bridge>i{width:1px;height:100%;border:0;border-left:1px dashed var(--speg-muted);left:50%;top:0}.tier-bridge>span{padding:3px 5px}.tier-bridge>span>.icon{width:13px;height:13px}.tier-bridge>.icon{display:none}.tier-bridge small{display:none}.storage-continuity{flex-wrap:wrap;padding:22px 0}.storage-continuity>strong{margin-left:0;text-align:left;font-size:14px}.storage-continuity small{display:inline;margin-left:7px}.storage-preview-line{align-items:flex-start;line-height:1.7}.storage-preview-line>.icon{margin-top:3px}.storage-preview-line>.mini-chip{display:none}.storage-policy-metrics{gap:9px}.storage-policy-metrics strong{font-size:24px}.storage-events li{gap:8px}.storage-events li>small{font-size:9px}.storage-events strong{font-size:11px}.storage-review-totals{gap:10px}.storage-review-totals strong{font-size:18px}.storage-settings-form .field-row{grid-template-columns:1fr}.storage-access-note{align-items:flex-start}.storage-access-note>.icon{margin-top:2px}.storage-policy-actions .button{flex:initial}.storage-history-empty{align-items:flex-start}}
  @media(prefers-reduced-motion:reduce){.tier-meter>span,.storage-lab summary>.icon:last-child{transition:none}}
}
