/* Studio > Spend (A-140). Loaded after race.css and studio-dashboard.css: the tiles, cards and lines are the dashboard's own
   (db*), so Spend looks like the Dashboard. Only what the dashboard has no class for is here, prefixed "sp". */
.sptiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sptile { min-height: 150px; }
@media (max-width: 1360px) { .sptile { min-height: 160px; } }
.spgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spattn { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--hb-line); }
.spattn:first-of-type { border-top: 0; padding-top: 0; }
.spattn b { font-weight: 600; color: var(--hb-ink); }
.spattn .small { grid-column: 2; }
.spattn .chip { justify-self: start; font-size: 11.5px; font-weight: 600; padding: 2px 10px; }
.spok { margin: 0; color: var(--hb-ok); font-weight: 500; }
.spdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--hb-line); }
.spdot.ok { background: var(--hb-ok); } .spdot.bad { background: var(--hb-bad); } .spdot.warn { background: #C27A00; }
.sptopup { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hb-line); }
.sptopup > div { min-width: 0; }
.sptopup label { display: block; font-size: 12px; color: var(--hb-slate); margin: 0 0 4px; }
.sptopup input { width: 150px; }
.sptopup .msg { flex-basis: 100%; margin: 0; }
@media (max-width: 1100px) { .sptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spgrid { grid-template-columns: minmax(0, 1fr); } }

/* The Dashboards drop-down (A-140) is gone (A-158): the menu has a Dashboards heading of its own. */

/* A-175 (UX-19): skeleton tiles, and Studio's one pop-up drawn as a drawer at the right for "Set up Google billing". */
.skel-num { height: 30px; width: 55%; margin: 6px 0; }
#dlg.spdrawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(480px, 96vw); border-radius: 0; overflow: auto; }
