.delivery-insights{max-width:100%;min-width:0}.delivery-insights p{line-height:1.5}.delivery-metrics,.delivery-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.delivery-metrics>div,.delivery-plan-grid>article{border:1px solid var(--border-color,#d9d4e3);border-radius:14px;padding:18px}.delivery-metrics strong{display:block;font-size:1.6rem;margin-top:8px}.delivery-metrics small{font-size:.85rem}.delivery-plan-grid h3{margin:0 0 8px}.delivery-chart{margin:14px 0}.delivery-chart span{display:flex;gap:10px;justify-content:space-between;font-size:.8rem}.delivery-chart [role=meter]{height:8px;background:#dedbe7;border-radius:20px;margin-top:6px;overflow:hidden}.delivery-chart i{display:block;height:100%;background:#bc8a21}.delivery-chart .urgent{background:#dd7733}.delivery-chart .maxed{background:#ca405b}.delivery-filters,.delivery-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0}.delivery-filters label,.delivery-actions label{display:grid;gap:6px;min-width:130px;flex:1}.delivery-filters input,.delivery-filters select,.delivery-actions select{box-sizing:border-box;min-width:0;width:100%;padding:9px;border-radius:8px;border:1px solid #bfb8cc;background:var(--surface,#fff);color:inherit}.delivery-table-scroll{overflow:auto;max-height:520px}.delivery-table-scroll table{width:100%;min-width:760px;border-collapse:collapse}.delivery-table-scroll th,.delivery-table-scroll td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #ddd7e5}.delivery-table-scroll small{display:block;max-width:260px;overflow-wrap:anywhere;margin-top:5px}.delivery-user-link{border:0;background:transparent;color:#6950bb;text-align:left;cursor:pointer;padding:0;font:inherit;text-decoration:underline}.delivery-reset-all{background:#2166d3!important;color:#fff!important;border-color:#2166d3!important}.delivery-email-preview{width:100%;height:650px;border:1px solid #d5cede;border-radius:12px}.delivery-insights fieldset{border:1px solid #d5cede;border-radius:12px;margin:18px 0;padding:16px}.delivery-insights [role=status]{min-height:1.5em}@media(max-width:1050px){.delivery-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.delivery-plan-grid,.delivery-metrics{grid-template-columns:1fr}.delivery-actions>button{width:100%}.delivery-filters label{flex-basis:100%}}

.delivery-distribution-toolbar,.delivery-distribution-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.delivery-distribution-toolbar{margin:26px 0 18px}.delivery-distribution-toolbar h3{margin:0}
.delivery-distribution{margin:16px 0}.delivery-distribution-heading{font-size:.9rem;margin-bottom:10px}
.delivery-usage-stack{display:flex;height:30px;overflow:hidden;border-radius:10px;background:#e8e9ee}
.delivery-usage-stack>span{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;color:#101827;font-size:13px;font-weight:750;box-shadow:inset -1px 0 #ffffff55}
.delivery-band-low{background:#62a7f4}.delivery-band-comfortable{background:#63c8a0}.delivery-band-watch{background:#f1cd62}.delivery-band-near{background:#f3a05c}.delivery-band-full{background:#ef7b86}.delivery-band-unknown{background:#d5d8df}
.delivery-usage-legend{list-style:none;padding:0;margin:16px 0;display:flex;flex-wrap:wrap;gap:16px 26px}
.delivery-usage-legend li{display:flex;gap:8px;align-items:flex-start;font-size:.8rem;line-height:1.45}
.delivery-usage-legend i{width:10px;height:10px;border-radius:3px;flex:none;margin-top:4px}
.delivery-usage-legend strong{display:block;font-weight:600}.delivery-plan-grid[hidden]{display:none!important}
.delivery-plan-grid .delivery-usage-stack{height:24px}
.cache-admin-report .cache-retention-stack{height:24px;background:#e8e9ee;border-radius:8px}
.cache-admin-report .cache-retained{background:#4c93e6}
.cache-admin-report .cache-expiring{background:#e4b447}
.cache-admin-report .cache-expired{background:#df6370}
@media(max-width:650px){.delivery-distribution-toolbar{align-items:flex-start}.delivery-usage-legend{gap:12px 18px}.delivery-usage-legend li{flex-basis:calc(50% - 18px)}}
