#aiUsagePanel { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: clamp(16px, 3vw, 28px); min-width: 0; scroll-margin-top: 110px; }
#aiUsagePanel .aiu-heading, #aiUsagePanel .aiu-controls, #aiUsagePanel .aiu-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#aiUsagePanel h2 { font-size: 24px; font-weight: 750; margin: 4px 0 8px; }
#aiUsagePanel h3 { font-size: 17px; font-weight: 700; margin: 26px 0 12px; }
#aiUsagePanel p { margin: 10px 0; line-height: 1.55; }
#aiUsagePanel .aiu-muted, #aiUsagePanel small { color: var(--ink-3); font-size: 13px; }
#aiUsagePanel small { display: block; line-height: 1.5; margin-top: 4px; }
#aiUsagePanel .aiu-controls { justify-content: flex-start; margin: 18px 0; }
#aiUsagePanel label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
#aiUsagePanel button, #aiUsagePanel select, #aiUsagePanel input { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 9px 13px; font: inherit; font-size: 14px; max-width: 100%; }
#aiUsagePanel button { cursor: pointer; font-weight: 600; }
#aiUsagePanel button:hover { background: var(--surface-2); }
#aiUsagePanel button:disabled { opacity: .5; cursor: default; }
#aiUsagePanel :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
#aiUsagePanel [hidden] { display: none !important; }
#aiUsagePanel .aiu-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
#aiUsagePanel .aiu-kpi { background: var(--surface-2); border-radius: 18px; padding: 18px; border-top: 3px solid var(--blue); }
#aiUsagePanel .aiu-kpi > span { color: var(--ink-2); font-size: 13px; }
#aiUsagePanel .aiu-kpi strong { display: block; font-size: clamp(22px, 2.3vw, 32px); font-variant-numeric: tabular-nums; margin: 8px 0; overflow-wrap: anywhere; }
#aiUsagePanel .aiu-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
#aiUsagePanel table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
#aiUsagePanel th { background: var(--surface-2); font-size: 12px; color: var(--ink-2); }
#aiUsagePanel th, #aiUsagePanel td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
#aiUsagePanel td { min-width: 85px; }
#aiUsagePanel td:first-child { min-width: 180px; overflow-wrap: anywhere; }
#aiUsagePanel .aiu-cost span, #aiUsageCostDetails span { display: block; font-size: 13px; white-space: nowrap; line-height: 1.6; }
#aiUsagePanel .aiu-warning { color: var(--warn); }
#aiUsagePanel .aiu-empty { padding: 20px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); }
#aiUsagePanel .aiu-operation { border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; }
#aiUsagePanel .aiu-operation > summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px; cursor: pointer; }
#aiUsagePanel .aiu-operation > summary::before { content: '+'; color: var(--blue); font-weight: 700; }
#aiUsagePanel .aiu-operation[open] > summary::before { content: '−'; }
#aiUsagePanel .aiu-operation > summary > span:first-of-type { flex: 1; }
#aiUsagePanel .aiu-result { text-align: right; font-size: 14px; }
#aiUsagePanel .aiu-operation-body { padding: 0 16px 16px; }
#aiUsagePanel .aiu-link { color: var(--blue); border: 0; padding: 0 4px; text-align: left; background: transparent; }
#aiUsagePanel .aiu-pagination { margin: 16px 0; }
#aiUsagePanel .aiu-rates { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
#aiUsagePanel .aiu-rates > summary { cursor: pointer; font-weight: 700; min-height: 44px; }
#aiUsagePanel form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
#aiUsagePanel form .aiu-wide { grid-column: 1/-1; }
#aiUsagePanel form button { background: var(--blue); color: white; align-self: end; }
@media(max-width: 950px) { #aiUsagePanel .aiu-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 550px) { #aiUsagePanel form { grid-template-columns: 1fr; } #aiUsagePanel .aiu-kpi { padding: 12px; } #aiUsagePanel .aiu-operation > summary { flex-wrap: wrap; gap: 8px; } #aiUsagePanel .aiu-result { text-align: left; margin-left: 20px; } }
