/* Settings › Ask Jade (js/settings/askJade.js, 2026-11-21): spend bar, per-day bars, the log and the test set. */
.aja-card .page-h { gap: 8px; flex-wrap: wrap; }
.aja-card .page-h select { width: auto; max-width: 100%; min-width: 0; height: var(--ctl-h-sm); margin: 0; }
.aja-spend { font-size: var(--fs-lg); margin: 4px 0 6px; }
.aja-bar { height: 12px; border-radius: var(--r-pill); background: var(--bg-2); overflow: hidden; }
.aja-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); min-width: 2px; }
.aja-bar.warn > span { background: var(--warn); }
.aja-bar.bad > span { background: var(--bad); }
.aja-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 4px; }
.aja-stats .aja-flag { color: var(--warn); }
.aja-days { display: flex; align-items: flex-end; gap: 3px; height: 72px; margin-top: 10px; padding-bottom: 16px; position: relative; }
.aja-day { flex: 1 1 0; min-width: 0; max-width: 28px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.aja-day i { display: block; width: 100%; background: var(--brand); opacity: .75; border-radius: 3px 3px 0 0; }
.aja-day em { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 10px; color: var(--muted); overflow: hidden; }
.aja-filters { gap: 6px; flex-wrap: wrap; }
.aja-filters select { width: auto; max-width: 100%; min-width: 0; height: var(--ctl-h-sm); margin: 0; }
.aja-log td.aja-q { min-width: 220px; max-width: 520px; overflow-wrap: anywhere; }
.aja-note { color: var(--ink); font-style: italic; margin-top: 2px; }
.aja-err { color: var(--bad); margin-top: 2px; overflow-wrap: anywhere; }
.aja-set-row { border-top: 1px solid var(--line); padding: 10px 0; }
.aja-set-row:first-of-type { border-top: 0; }
.aja-set-row.kept { border-left: 3px solid var(--brand); padding-left: 10px; }
.aja-set-q { margin: 4px 0; overflow-wrap: anywhere; }
.aja-set-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
@media (max-width: 640px) {
  .aja-log td.aja-q { min-width: 0; max-width: none; }
  .aja-days { gap: 1px; }
  .aja-day em { display: none; }
  .aja-days { padding-bottom: 0; }
}
