/* ─────────────────────────────────────────────
   NWA eCommanager — App Shell (product screens)
   Reutilizable en Hub, Stores, BI, Afiliados
───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sans:        'Archivo', sans-serif;
  --display:     'Archivo Black', sans-serif;
  --mono:        'JetBrains Mono', monospace;

  --orange:      #FF3D00;
  --orange-hover:#E53600;
  /* AA-compliant darker shade for orange used as TEXT on light backgrounds.
     Brand orange #FF3D00 has only 3.54:1 contrast on white (fails WCAG AA 4.5:1
     for small text). #CC3000 hits ~5.4:1 — passes AA while staying recognizably
     brand. Use --orange for fills/strokes/accents; use --orange-text for text. */
  --orange-text: #CC3000;
  --ink:         #0A0A0A;
  --cyan:        #29A8E4;
  --green:       #16a34a;
  --amber:       #f59e0b;
  --red:         #dc2626;
  --muted:       #6E6E6E;
  --paper:       #F5F5F5;
  --paper-2:     #E6E6E6;
  --gray-1:      #B3B3B3;

  /* ── AA-compliant TEXT variants of status colors ──
     The brand status colors (--green/--amber/--red) are tuned for fills,
     borders, and dots where contrast with adjacent text is not the issue.
     When used as TEXT on white/light backgrounds they fail WCAG AA 4.5:1
     (e.g. #16a34a on #fff = 3.29:1). These darker variants pass:
       --success-text  #166534 on #fff ≈ 7.74:1, on #e3f4e9 (.pill bg) ≈ 7.0:1
       --warning-text  #92400e on #fff ≈ 6.84:1, on #fef0da (.pill bg) ≈ 5.93:1
       --danger-text   #b91c1c on #fff ≈ 5.94:1
       --muted-text    #737373 on #fff ≈ 4.83:1
     Use these for any text/icon-as-text rendering. Keep --green/--amber/--red
     for solid fills, strokes, dots, and bar backgrounds.
     #166534 chosen over #15803d so the AA budget survives the lighter pill
     background tints (rgba(22,163,74,.12) over white ≈ #e3f4e9, where the
     foreground only has ~5.5:1 of contrast headroom). */
  --success-text: #166534;
  --warning-text: #92400e;
  --danger-text:  #b91c1c;
  --muted-text:   #737373;
}

html { font-size: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange-text); }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.05;
}

/* ── App topbar ── */
.app-top {
  background: var(--ink);
  color: #fff;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 24px;
}
.app-top .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.app-top .brand img { height: 22px; width: auto; }
.app-top .brand-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.18);
}
.app-top .store-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  /* Brand orange on dark topbar — #FF3D00 on near-black gives ~5.36:1 (passes AA).
     Do NOT use --orange-text here; the darker shade reduces contrast on dark bg. */
  color: var(--orange);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid rgba(255,61,0,.4);
  background: rgba(255,61,0,.08);
  transition: background .15s ease, border-color .15s ease;
}
.app-top .store-pick:hover { background: rgba(255,61,0,.18); border-color: var(--orange); }
.app-top .store-pick::after {
  content: "▾";
  color: var(--orange);
  font-size: 11px;
  margin-left: 2px;
  transition: transform .15s ease;
}
.app-top .store-pick-wrap { position: relative; }
.app-top .store-pick-wrap[open] .store-pick::after { transform: rotate(180deg); }
/* Hide the default disclosure marker on Safari/Firefox/Chromium. */
.app-top .store-pick::-webkit-details-marker { display: none; }
.app-top .store-pick { list-style: none; }
.app-top .store-pick-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: 4px;
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.app-top .store-pick-item {
  display: block;
  margin: 0;
  padding: 0;
}
.app-top .store-pick-item > button,
.app-top .store-pick-item > a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.app-top .store-pick-item > button:hover,
.app-top .store-pick-item > a:hover {
  background: rgba(255,61,0,.10);
  color: var(--orange);
}
.app-top .store-pick-item > button.active {
  color: var(--orange);
  background: rgba(255,61,0,.06);
}
.app-top .store-pick-item.store-pick-manage > a {
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 4px;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.app-top .store-pick-item.store-pick-manage > a:hover {
  color: var(--orange);
  background: transparent;
}
.app-top nav.main {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: auto;
}
.app-top nav.main a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 8px 14px;
  text-decoration: none;
  position: relative;
}
.app-top nav.main a:hover { color: #fff; }
.app-top nav.main a.active { color: #fff; }
.app-top nav.main a.active::after {
  content:""; position:absolute; left:14px; right:14px; bottom:-18px; height:3px;
  background: var(--orange);
}
.app-top .user-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 6px 10px;
  border-left: 1px solid rgba(255,255,255,.15);
  margin-left: 8px;
}
/* Logout button sits on the dark topbar — default ghost (ink text/border) would
   be invisible. Render it light instead. */
.app-top .btn.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.app-top .btn.ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ── Subnav ── */
.subnav {
  background: #fff;
  border-bottom: 2px solid var(--ink);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
}
.subnav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 11px 14px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.subnav a.active { font-weight: 700; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--orange); }
.subnav .freshness {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.subnav .freshness .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: dpulse 1.4s ease-in-out infinite;
}
@keyframes dpulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── Page shell — centered column with lateral borders, wraps every authenticated view ── */
.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  border-left: 1px solid var(--paper-2);
  border-right: 1px solid var(--paper-2);
  background: #fff;
  min-height: calc(100vh - 58px);
  padding: 32px 32px 80px;
}

/* ── Page wrap — semantic only; shell owns centering + padding now ── */
.page-wrap { max-width: none; margin: 0; padding: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 24px; flex-wrap: wrap; }
.page-head .l .kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-text);
  font-weight: 700;
  margin-bottom: 8px;
}
.page-head .l h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: -.025em;
  line-height: 1;
}
.page-head .l h1 em {
  font-style: normal;
  color: var(--orange-text);
  font-family: var(--display);
  font-weight: 900;
}
.page-head .l p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 14px;
  max-width: 60ch;
}
.page-head .r { display:flex; gap:8px; align-items:center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  white-space: nowrap;
  padding-right: 32px;
}
.btn.primary { background: var(--orange); color: #fff; }
.btn.primary:hover { background: var(--orange-hover); color:#fff; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #000; color:#fff; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  clip-path: none;
  padding: 10px 22px;
}
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.sm { padding: 8px 18px; font-size: 10px; padding-right: 22px; }
.btn.sm.ghost { padding: 6px 16px; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--paper-2);
  padding: 22px 24px;
  position: relative;
}
.card.elev { box-shadow: 4px 4px 0 var(--paper-2); }
.card .card-head {
  display:flex; justify-content:space-between; align-items:flex-start;
  margin-bottom: 14px; gap: 12px;
}
.card .card-head .t {
  font-family: var(--display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card .card-head .s {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Section title ── */
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 40px 0 18px;
  gap: 16px;
  border-bottom: 1px solid var(--paper-2);
  padding-bottom: 10px;
}
.section-title h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -.02em;
}
.section-title h2 em { font-style:normal; color: var(--orange-text); font-family: var(--display); font-weight: 900; }
.section-title .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── KPI light ── */
.kpi-grid { display: grid; gap: 14px; }
.kpi {
  background: #fff;
  border: 1px solid var(--paper-2);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.kpi .accent { position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--orange); }
.kpi.acc-cyan .accent{ background: var(--cyan); }
.kpi.acc-green .accent{ background: var(--green); }
.kpi.acc-amber .accent{ background: var(--amber); }
.kpi.acc-red   .accent{ background: var(--red); }
.kpi .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi .val {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -.02em;
  line-height: 1;
  margin-top: 16px;
  color: var(--ink);
}
.kpi .val small { font-size: 14px; color: var(--muted); margin-left: 4px; font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.kpi .delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.kpi .delta.up { color: var(--success-text); }
.kpi .delta.down { color: var(--danger-text); }
.kpi .delta .vs { color: var(--muted); margin-left: 4px; }
.kpi .spark { margin-top: 14px; height: 32px; width: 100%; display:block; }

/* ── Tip ── */
.tip {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-1); color: var(--muted);
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  border-radius: 50%; cursor: help;
}
.tip:hover { border-color: var(--orange); color: var(--orange-text); }

/* ── Pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(22,163,74,.12);
  color: var(--success-text);
  font-weight: 600;
}
.pill.warn { background: rgba(245,158,11,.14); color: var(--warning-text); }
.pill.danger { background: rgba(239,68,68,.12); color: var(--danger-text); }
.pill.info { background: rgba(41,168,228,.14); color:#0369a1; }
.pill.dim { background: var(--paper-2); color: var(--muted); }
.pill .dot { width:6px; height:6px; border-radius:50%; background: currentColor; animation: dpulse 1.4s infinite; }

/* ── Bar ── */
.bar { position:relative; height:6px; background: var(--paper-2); overflow:hidden; }
.bar > i { position:absolute; left:0; top:0; bottom:0; background: var(--orange); }
.bar.cyan > i { background: var(--cyan); }
.bar.green > i { background: var(--green); }
.bar.red > i { background: var(--red); }

/* ── Table ── */
table.dk { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 13px; }
table.dk th {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  padding: 12px 14px; border-bottom: 2px solid var(--ink); font-weight: 500;
}
table.dk td { padding: 14px; border-bottom: 1px solid var(--paper-2); vertical-align: middle; }
table.dk tr:hover td { background: var(--paper); }
table.dk td.num { font-family: var(--mono); font-weight: 500; text-align: right; }
table.dk .row-num { font-family: var(--mono); font-size: 10px; color: var(--muted); width: 32px; }

/* ── Empty ── */
.empty {
  padding: 64px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--gray-1);
}
.empty .icon { font-family: var(--display); font-size: 40px; color: var(--paper-2); margin-bottom: 12px; }
.empty h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 8px; }
.empty p { color: var(--muted); font-size: 14px; }
.empty .cta { margin-top: 18px; }

/* ── Section label ── */
.lbl-mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

/* ── Chart frame ── */
.chart-frame { background:#fff; border:1px solid var(--paper-2); padding: 22px 24px; }
.chart-frame .head { display:flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; gap: 14px; }
.chart-frame .head .t { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.chart-frame .head .s { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── Leaderboard ── */
.lb { display:flex; flex-direction:column; gap:6px; }
.lb .row { display:grid; grid-template-columns: 28px 1fr auto auto; gap:14px; align-items:center; padding:10px 14px; background: var(--paper); border-left: 3px solid transparent; }
.lb .row.top { background:#fff; border:1px solid var(--paper-2); border-left:3px solid var(--orange); }
.lb .row .pos { font-family: var(--display); font-weight:900; font-size: 16px; color: var(--muted); }
.lb .row.top .pos { color: var(--orange-text); }
.lb .row .name { font-weight:500; font-size:13px; }
.lb .row .val { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.lb .row .delta { font-family: var(--mono); font-size: 10px; color: var(--success-text); }
.lb .row .delta.down { color: var(--danger-text); }

/* ───── Legacy bridge — until non-mockup pages migrate ───── */
.demo-badge {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; background: rgba(245,158,11,.15); color: var(--warning-text);
  border-left: 2px solid var(--amber);
}
/* Compatibility shims for legacy class names used in non-migrated views.
   These keep Hub/MCP/Cuenta/Afiliados readable until each page migrates. */
.topbar.module { /* layout.ejs uses this — neutralize, app-top supplies real styles */ }
.tb-row1, .tb-row2 { display: contents; }
.page-inner > .text-mono { font-family: var(--mono); color: var(--muted); }
.bi-subnav { /* legacy class kept as alias of .subnav until views migrate */ }
.page-header { padding: 24px 0 16px; }
.page-header h1 { font-family: var(--display); font-weight: 900; font-size: 28px; }

/* Force NWA logo to render light on dark topbar (SVG has dark text portion) */
.app-top .brand img { filter: brightness(0) invert(1); }

/* Fallback wrapper for legacy pages without .page-wrap */
main:not(.auth-wrap) > *:first-child:not(.page-wrap):not(.app-top):not(.subnav-wrap) {
  max-width: 1320px; margin: 0 auto; padding: 32px;
}

/* Disabled-button variant — same shape as .btn but visually muted, non-interactive. */
.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 2px dashed var(--gray-1);
  background: transparent;
  /* AA: --muted-text (#737373) keeps disabled visually distinct without opacity
     (opacity .65 dropped #6E6E6E to ~#a1a1a1, failing 4.5:1 on white). */
  color: var(--muted-text);
  cursor: not-allowed;
  white-space: nowrap;
  user-select: none;
}
.btn-disabled.sm { padding: 6px 14px; font-size: 10px; }

/* ───── Alerts (used by login, stores, account, login-error) ───── */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--paper-2);
  border-left: 3px solid var(--red);
  font-size: 13px;
  line-height: 1.5;
}
.alert .ico {
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
}
.alert .body { flex: 1; color: var(--ink); }
.alert.green { border-left-color: var(--success-text); }
.alert.green .ico { background: var(--green); }
.alert.info { border-left-color: var(--cyan); }
.alert.info .ico { background: var(--cyan); }
.alert.warn { border-left-color: var(--warning-text); }
.alert.warn .ico { background: var(--amber); }

/* ── Page header (used by /mcp/usage and others) ── */
.page-header { margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 40px;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.page-header p { color: var(--muted); font-size: 14px; max-width: 60ch; }

/* ── Section label (alias for .lbl-mono used in EJS templates) ── */
.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

/* ── Divider ── */
.divider { height: 1px; background: var(--paper-2); margin: 32px 0; }

/* ──────────────────────────────────────────────
   /mcp/usage — KPI row, usage grid, daily chart
   FIX: previously these classes were undefined,
   causing two black cards (kpi.dark) to render
   with black text inherited from body — invisible.
   The .kpi.dark variant now explicitly forces
   white text inside the dark cockpit cards.
   ────────────────────────────────────────────── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.kpi-row .kpi.dark {
  /* Dark cockpit variant — black bg with explicit white fg */
  color: #fff;
  border: 1px solid var(--ink);
  padding: 22px 24px;
  background: var(--ink); /* fallback if inline style is removed */
}
.kpi-row .kpi.dark .kpi-value {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -.02em;
  line-height: 1;
  color: #fff;
}
.kpi-row .kpi.dark .kpi-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 12px;
}

/* Generic kpi-value/kpi-label fallbacks for non-dark contexts */
.kpi-value {
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
}
.kpi-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .usage-grid { grid-template-columns: 1fr; }
}

/* Daily bar chart */
.daily-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding-top: 18px;
}
.daily-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.daily-bar-value {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}
.daily-bar-outer {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  background: var(--paper);
  position: relative;
  min-height: 1px;
}
.daily-bar-fill {
  width: 100%;
  background: var(--orange);
  min-height: 2px;
  transition: height .2s ease;
}
.daily-bar-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* Meter (used in usage top-tools rows) */
.meter {
  display: inline-block;
  width: 80px;
  height: 6px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}
.meter-fill {
  display: block;
  height: 100%;
  background: var(--orange);
}

/* Generic helpers used by usage.ejs */
.text-muted { color: var(--muted); }
