.generation-usage{border-top:1px solid var(--line);font-size:13px;color:var(--ink);min-width:0}
.usage-summary{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer;list-style:none;user-select:none}
.usage-summary::-webkit-details-marker{display:none}
.usage-summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.usage-heading{font-weight:650}.usage-headline{margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.usage-chevron{color:var(--muted);transition:transform .15s ease}.generation-usage[open] .usage-chevron{transform:rotate(180deg)}
.usage-body{padding:0 0 12px;min-width:0}.usage-note{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.6}.usage-body>.usage-note:last-child{margin:14px 0 0}
.usage-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:16px;margin:6px 0 20px}.usage-totals dt{color:var(--muted);font-size:12px}.usage-totals dd{margin:4px 0 0;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.usage-stage-scroll{max-height:360px;overflow:auto;overscroll-behavior:contain}.usage-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.5}.usage-table :is(th,td){padding:10px 8px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top;font-variant-numeric:tabular-nums}.usage-table th:first-child{text-align:left;width:44%;font-weight:500;overflow-wrap:anywhere}.usage-table thead th{color:var(--muted);font-weight:500;background:var(--surface);position:sticky;top:0}.usage-caption{text-align:left;font-weight:650;padding-bottom:8px}.usage-stage-context,.usage-partial{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:3px;line-height:1.4}
@media(max-width:420px){.usage-summary{gap:8px;font-size:12px}.usage-totals{grid-template-columns:1fr 1fr}.usage-table :is(th,td){padding:9px 4px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.usage-chevron{transition:none}}
