.quota-panel { container-type: inline-size; margin-top: 24px; padding: 26px 24px; background: #f6f7f9; border-radius: 16px; }
.quota-panel[hidden], .quota-context[hidden] { display: none; }
.quota-panel .bar-actions { margin-bottom: 4px; }
.quota-panel h3 { margin: 0; font-size: 20px; }
.quota-description { margin: 0 0 18px; color: #627084; font-size: 14px; line-height: 1.8; }
.quota-context { color: #627084; font-size: 12px; margin: -8px 0 16px; overflow-wrap: anywhere; }
.quota-context .quota-metrics { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.quota-context .quota-metrics > div { display: flex; flex-wrap: wrap; gap: 0 6px; padding: 0; background: transparent; }
.quota-context .quota-metrics dd { margin: 0; }
.quota-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }
.quota-card { box-sizing: border-box; min-width: 0; min-height: 0; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 4%); }
.quota-card h4 { margin: 0 0 8px; color: #536174; font-size: 15px; font-weight: 500; line-height: 1.4; }
.quota-used-count { margin: 0; color: #101820; font-size: clamp(26px, 2.8vw, 32px); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quota-progress { width: 100%; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #e9e9e9; }
.quota-progress-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0dc5a3, #118657); }
.quota-progress-exhausted .quota-progress-fill { background: linear-gradient(90deg, #f59b1b, #e86a29); }
.quota-usage-summary { margin: 8px 0 0; color: #536174; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.quota-loading, .quota-empty, .quota-err { grid-column: 1 / -1; text-align: center; color: #627084; padding: 24px; }
.quota-err { color: #c13b32; }
.quota-retry { display: block; margin: 12px auto 0; padding: 6px 16px; border: 1px solid #dce3df; border-radius: 8px; background: #fff; color: #24966d; cursor: pointer; }
@container (max-width: 740px) { .quota-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 480px) { .quota-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 540px) { .quota-panel { padding: 18px 12px; } .quota-card { padding: 20px 16px; } }

.quota-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.quota-metrics > div { min-width: 0; padding: 8px 9px; background: #f6f7f9; border-radius: 7px; }
.quota-metrics dt { font-size: 12px; color: #627084; }
.quota-metrics dd { margin: 4px 0 0; color: #38516f; font-weight: 600; overflow-wrap: anywhere; }
