
/* Read-only credit catalogue. Layout follows its page or detached window. */
:root body #usagePrices{container:price-catalog / inline-size;padding:0;border:0;background:transparent;min-width:0}
:root body #usagePrices .usage-totals{margin:0 0 14px;gap:12px}
:root body #usagePrices .usage-totals>div{display:grid;justify-items:start;text-align:start;padding:18px 20px;background:var(--panel);border-radius:12px;gap:8px}
:root body #usagePrices .usage-totals>div:first-child{border-color:color-mix(in srgb,var(--accent) 36%,var(--ui-border,var(--line)));background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 9%,var(--panel)),var(--panel))}
:root body #usagePrices .usage-totals strong{font-size:22px;line-height:1.4;overflow-wrap:anywhere}
:root body #usagePrices .price-allowance{padding:0 2px 18px;border:0;border-bottom:1px solid var(--ui-border,var(--line));margin:0 0 26px;background:transparent}
:root body #usagePrices .price-allowance>summary{font-size:12px;font-weight:400;color:var(--muted);padding:6px 0;border:0}
:root body #usagePrices .price-allowance>p{font-size:12px;color:var(--muted);max-width:100ch;line-height:1.7}
:root body #usagePrices .price-explorer{display:grid;grid-template-columns:200px minmax(0,1fr);gap:26px;align-items:start;min-width:0}
:root body #usagePrices .price-tools{display:grid;gap:4px;min-width:0}
:root body #usagePrices .price-tools h3{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:5px 12px 13px}
:root body #usagePrices .price-tools>button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:start;width:100%;padding:10px 12px;min-height:40px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}
:root body #usagePrices .price-tools>button>span:first-child{min-width:0;overflow-wrap:anywhere}
:root body #usagePrices .price-tools>button>span:last-child{font-size:10px;min-width:24px;flex:none;text-align:center;padding:2px 5px;border-radius:5px;background:var(--field);font-variant-numeric:tabular-nums}
:root body #usagePrices .price-tools>button:hover{background:var(--field);color:var(--text)}
:root body #usagePrices .price-tools>button[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 10%,var(--panel));border-color:color-mix(in srgb,var(--accent) 30%,var(--ui-border,var(--line)));color:var(--text);font-weight:550}
:root body #usagePrices .price-tools>button[aria-pressed=true]>span:last-child{color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
:root body #usagePrices .price-catalog{min-width:0}
:root body #usagePrices .price-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
:root body #usagePrices .price-heading>div{min-width:0;overflow-wrap:anywhere}
:root body #usagePrices .price-heading h2{font-size:22px;letter-spacing:-.03em;margin:5px 0 8px}
:root body #usagePrices .price-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.65;max-width:70ch}
:root body #usagePrices .price-heading p:first-child{color:var(--accent);font-size:9px;letter-spacing:.14em;font-weight:600}
:root body #usagePrices .price-heading>button{flex:none;font-size:11px;min-height:34px}
:root body #usagePrices .price-filters{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:12px;background:var(--panel);border:1px solid var(--ui-border,var(--line));border-radius:12px;padding:16px}
:root body #usagePrices .price-filters>label{display:grid;gap:7px;min-width:0;margin:0;font-size:11px;font-weight:400;color:var(--muted)}
:root body #usagePrices .price-filters>.price-search{grid-column:1/-1}
:root body #usagePrices .price-filters input,:root body #usagePrices .price-filters select{width:100%;max-width:100%;min-width:0;min-height:38px;font-size:12px;font-weight:400;color:var(--text);border-radius:7px}
:root body #usagePrices .price-filters input[type=search]{padding-inline:12px;font-size:13px}
:root body #usagePrices .price-results-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px}
:root body #usagePrices .price-results-bar p{font-size:11px;color:var(--muted);margin:0;font-variant-numeric:tabular-nums}
:root body #usagePrices .price-results-bar>button{font-size:11px;padding:5px 9px;min-height:30px}
:root body #usagePrices .price-catalog .usage-table-scroll{overflow:hidden;background:var(--panel);border-radius:12px;border:1px solid var(--ui-border,var(--line))}
:root body #usagePrices .price-catalog .usage-matrix{table-layout:fixed;font-size:12px;width:100%}
:root body #usagePrices .price-catalog .usage-matrix th{font-size:9px;font-weight:500;letter-spacing:.08em;padding:12px 18px;white-space:normal}
:root body #usagePrices .price-catalog .usage-matrix th:first-child{width:40%}
:root body #usagePrices .price-catalog .usage-matrix th:nth-child(2){width:16%}
:root body #usagePrices .price-catalog .usage-matrix th:nth-child(3){width:26%}
:root body #usagePrices .price-catalog .usage-matrix th:last-child{width:18%}
:root body #usagePrices .price-catalog .usage-matrix td{padding:13px 18px;vertical-align:middle;white-space:normal;font-weight:400;overflow-wrap:anywhere}
:root body #usagePrices .price-catalog .usage-matrix .price-group-row th{padding:9px 18px;background:color-mix(in srgb,var(--accent) 5%,var(--field));color:var(--muted);border-top:1px solid var(--ui-border,var(--line));font-size:10px;text-transform:none;letter-spacing:.02em}
:root body #usagePrices .price-group-row th>span{display:inline-block;margin-inline-start:9px;color:var(--accent);font-variant-numeric:tabular-nums;font-size:9px}
:root body #usagePrices .price-model strong{display:block;font-size:12px;line-height:1.5;font-weight:500;color:var(--text)}
:root body #usagePrices .price-model small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:3px}
:root body #usagePrices .price-credit strong{display:block;color:var(--text);font-size:17px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums}
:root body #usagePrices .price-credit small{display:block;color:var(--muted);font-size:10px;line-height:1.5}
:root body #usagePrices .price-unit{color:var(--muted);font-size:11px;line-height:1.65}
:root body #usagePrices .price-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border-radius:5px;background:var(--field);font-size:11px;line-height:1.5;color:var(--muted)}
:root body #usagePrices .price-status-badge:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
:root body #usagePrices [data-enabled=true]>.price-status>.price-status-badge{color:var(--success,#79bda2);background:color-mix(in srgb,var(--success,#79bda2) 9%,var(--panel))}
:root body #usagePrices .price-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:16px 0;font-size:11px;color:var(--muted)}
:root body #usagePrices .price-pagination>span{margin-inline-end:auto;font-variant-numeric:tabular-nums}
:root body #usagePrices .price-pagination>button{font-size:11px;min-height:32px;padding:6px 12px}
:root body #usagePrices .price-catalog>p{font-size:11px;line-height:1.7;color:var(--muted);margin:4px 0 0}
:root body #usagePrices .price-empty{padding:46px 20px;text-align:center;background:var(--panel);border:1px dashed var(--ui-border,var(--line));border-radius:12px}
:root body #usagePrices .price-empty h3{font-size:15px;margin:0 0 8px}
:root body #usagePrices .price-empty p{font-size:12px;color:var(--muted);margin:0}
@container price-catalog (max-width:1050px){
:root body #usagePrices .price-explorer{grid-template-columns:160px minmax(0,1fr);gap:18px}
:root body #usagePrices .price-catalog .usage-matrix td,:root body #usagePrices .price-catalog .usage-matrix th{padding-inline:12px}
}
@container price-catalog (max-width:800px){
:root body #usagePrices .price-explorer{grid-template-columns:minmax(0,1fr);gap:20px}
:root body #usagePrices .price-tools{display:flex;overflow:auto;gap:6px;padding-bottom:5px;scrollbar-width:thin}
:root body #usagePrices .price-tools h3{display:none}
:root body #usagePrices .price-tools>button{width:auto;flex:none;white-space:nowrap;padding:8px 10px;min-height:38px;border-color:var(--ui-border,var(--line))}
:root body #usagePrices .price-heading{margin-bottom:16px}
}
@container price-catalog (max-width:540px){
:root body #usagePrices .usage-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
:root body #usagePrices .usage-totals>div{padding:14px}
:root body #usagePrices .usage-totals>div:last-child{grid-column:1/-1}
:root body #usagePrices .usage-totals strong{font-size:18px}
:root body #usagePrices .price-heading{align-items:flex-start;gap:12px}
:root body #usagePrices .price-heading h2{font-size:19px}
:root body #usagePrices .price-heading p{font-size:11px}
:root body #usagePrices .price-heading>button{font-size:10px;padding:6px 8px;max-width:100px}
:root body #usagePrices .price-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}
:root body #usagePrices .price-filters>label:has(#priceModel){grid-column:1/-1}
:root body #usagePrices .price-filters input,:root body #usagePrices .price-filters select{font-size:16px;min-height:42px}
:root body #usagePrices .price-catalog .usage-matrix thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
:root body #usagePrices .price-catalog .usage-matrix,:root body #usagePrices .price-catalog .usage-matrix tbody{display:block}
:root body #usagePrices .price-catalog .usage-matrix tr[data-kind]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px;gap:12px;border-top:1px solid var(--ui-border,var(--line))}
:root body #usagePrices .price-catalog .usage-matrix td{display:block;padding:0;border:0;min-width:0}
:root body #usagePrices .price-catalog .price-model{grid-column:1/-1}
:root body #usagePrices .price-catalog .price-status{grid-column:1/-1}
:root body #usagePrices .price-catalog .price-credit:before,:root body #usagePrices .price-catalog .price-unit:before{content:attr(data-label);display:block;font-size:9px;color:var(--muted);margin-bottom:5px}
:root body #usagePrices .price-catalog .price-group-row{display:block}
:root body #usagePrices .price-catalog .price-group-row th{display:block;width:auto!important;text-align:start}
:root body #usagePrices .price-pagination{flex-wrap:wrap}
:root body #usagePrices .price-pagination>span{width:100%;margin:0 0 2px}
:root body #usagePrices .price-pagination>button{min-height:40px}
}

:root[data-resolved-theme=light] body #usagePrices [data-enabled=true]>.price-status>.price-status-badge{color:#26724f;background:#edf7f0}
