/* Ayarlar → AI maliyeti (ai-usage.js). Tablo temeli users.css (.ua-table), kartlar styles.css (.metric-card). */
.au-filter { flex: 0 0 auto; flex-wrap: nowrap; gap: 10px; }
.au-filter select { min-width: 140px; }
.au-filter .date-field-wrap { width: 132px; }
.au-run { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; min-width: 72px; padding: 0 16px; }
.au-run:disabled { opacity: .75; cursor: progress; }
.au-spinner { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: au-spin .7s linear infinite; }
.au-spinner.hidden { display: none; }
@keyframes au-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .au-filter { flex-wrap: wrap; } .au-filter .date-field-wrap { width: 100%; } .au-run { width: 100%; } }
.au-small-value { font-size: 18px; letter-spacing: -.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-table td.num, .au-table th.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.au-table td.au-total, .au-table tfoot td { font-weight: 700; color: var(--ink, #292d42); }
.au-table tfoot td { border-top: 2px solid var(--line, #eceef4); background: #fafbfd; }
.au-table td.au-model { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; word-break: break-all; }
.au-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 15px; margin-top: 15px; }
.au-grid > .panel { margin-bottom: 0; }
.au-note { margin-top: 14px; }
@media (max-width: 760px) { .au-grid { grid-template-columns: 1fr; } }

/* Günlük maliyet grafiği (yığılmış sütun). Metin hiçbir zaman seri rengini almaz; renk yalnızca işaretlerde ve anahtarlarda. */
.au-chart-panel { position: relative; margin-bottom: 15px; }
.au-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 10px; font-size: 11.5px; color: #52514e; }
.au-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.au-legend-item i { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }
.au-legend-item b { color: #292d42; font-weight: 600; font-variant-numeric: tabular-nums; }
.au-chart { width: 100%; }
.au-svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.au-grid-line { stroke: #ecebe6; stroke-width: 1; shape-rendering: crispEdges; }
.au-base { stroke: #c3c2b7; stroke-width: 1; shape-rendering: crispEdges; }
.au-axis { fill: #898781; font: 500 10.5px system-ui, -apple-system, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; }
.au-peak { fill: #292d42; font: 700 11px system-ui, -apple-system, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; }
.au-hover { fill: rgba(104, 87, 223, .06); }
.au-hover.hidden { display: none; }
.au-hit { fill: transparent; cursor: default; outline: none; }
.au-hit:focus-visible { stroke: var(--purple, #6857df); stroke-width: 1.5; }
.au-tip { position: absolute; z-index: 5; min-width: 190px; max-width: 300px; padding: 9px 11px; border: 1px solid rgba(11, 11, 11, .1);
  border-radius: 9px; background: #fff; box-shadow: 0 6px 18px rgba(40, 44, 66, .12); font-size: 11.5px; pointer-events: none; }
.au-tip.hidden { display: none; }
.au-tip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: #52514e; }
.au-tip-head b { color: #0b0b0b; font-size: 13px; font-variant-numeric: tabular-nums; }
.au-tip-row { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 7px; padding: 2px 0; color: #52514e; }
.au-tip-row i { width: 12px; height: 2px; border-radius: 1px; }
.au-tip-row b { color: #0b0b0b; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (forced-colors: active) { .au-seg { stroke: CanvasText; stroke-width: 1; } }
