:root {
  /* colors sampled from the Curiosity logo + curiosityone.square.site */
  --blue: #3e7c95;        /* "ACADEMY" steel blue — primary */
  --teal: #36a8b2;        /* logo teal tree */
  --btn: #2f98a1;         /* site button teal */
  --olive: #8a8b49;       /* "CAMP" olive green */
  --lime: #a7bf4f;        /* logo light-green tree */
  --camp: #8a8b49;
  --camp-lt: #eff3dd;
  --camp-ink: #5c5e2a;
  --teal-dk: #3e7c95;
  --sky: #36a8b2;
  --sky-lt: #e9f3f6;
  --ink: #231f20;
  --text: #343b42;
  --muted: #5f6b73;
  --line: #dde7eb;
  --bg: #f4f8fa;
  --card: #fff;
  --danger: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,45,60,.06), 0 6px 18px rgba(20,45,60,.07);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: "Poppins", "Inter", sans-serif; color: var(--ink); }
.btn, .tab, .chip, .pill, .icon-btn, .section-h { font-family: "Poppins", "Inter", sans-serif; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.sm { font-size: .85rem; }

.app { max-width: 760px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.boot { margin: auto; color: var(--muted); font-weight: 700; }

/* ── header ── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: #fff; color: var(--text); border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(20,45,60,.05);
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  display: flex; align-items: center; gap: 10px;
}
.top .logo { flex: none; }
.top .logo img { height: 46px; width: auto; }
.top .brand { flex: 1; min-width: 0; }
.app-label { display: inline-block; font-family: "Poppins", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 420px) { .app-label { display: none; } .top .logo img { height: 40px; } }
.top .who { text-align: right; font-size: .8rem; line-height: 1.25; }
.top .who b { display: block; font-size: .88rem; color: var(--ink); }
.top .who { color: var(--muted); }
.icon-btn { background: rgba(255,255,255,.18); border: 0; color: #fff; border-radius: 10px; padding: 7px 10px; cursor: pointer; font-weight: 600; font-size: .8rem; text-decoration: none; }
.icon-btn:hover { background: rgba(255,255,255,.3); }
.top .icon-btn { background: var(--blue); color: #fff; border-radius: 999px; padding: 7px 14px; }
.top .icon-btn:hover { background: var(--btn); }

.demo-bar { background: #fff8d6; color: #5b4a00; font-size: .85rem; padding: 8px 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #f0e3a0; }
.demo-bar label { display: inline-flex; gap: 6px; align-items: center; }
.demo-bar select { width: auto;  padding: 4px 8px; border-radius: 8px; border: 1px solid #e3d48a; background: #fff; font-weight: 700; }

/* ── main / tabs ── */
main { flex: 1; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); }
.page-title { font-size: 1.45rem; font-weight: 700; margin: 6px 2px 18px; color: var(--blue); }
.wavy { position: relative; padding-bottom: 12px; }
.wavy::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 8'%3E%3Cpath d='M2 5c6-4 11-4 17 0s11 4 17 0 11-4 17 0 11 4 17 0' fill='none' stroke='%23a7bf4f' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.auth .wavy::after, .empty .wavy::after { left: 50%; transform: translateX(-50%); }
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 20;
  width: 100%; max-width: 760px; background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tab { background: none; border: 0; padding: 6px 2px; border-radius: 12px; cursor: pointer; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; font-weight: 700; position: relative; }
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--blue); background: var(--sky-lt); }
.badge[hidden] { display: none; }
.badge { position: absolute; top: 2px; left: calc(50% + 6px); background: var(--danger); color: #fff; border-radius: 999px; font-size: .68rem; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; }

/* ── cards & forms ── */
.stack { display: grid; gap: 12px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 600; }
.compose { display: grid; gap: 10px; margin-bottom: 18px; border-top: 4px solid var(--lime); }
input[type=text], input[type=email], input[type=password], textarea, select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(54,168,178,.2); }
textarea { resize: vertical; }
.row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.row > * { flex: 1; }
.row > .btn { flex: none; }
.lbl { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.btn { background: var(--btn); color: #fff; border: 0; border-radius: 0 10px 10px 0; padding: 10px 20px; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--blue); }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line); border-radius: 999px; }
.btn.sm { padding: 6px 12px; font-size: .85rem; }
.link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; }
.link.danger { color: var(--danger); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.pill-camp { background: var(--camp-lt); color: var(--camp-ink); }
.pill-group { background: var(--sky-lt); color: var(--blue); }
.pill { font-weight: 600; }
.pill-warn { background: #fdecea; color: var(--danger); }

.ann .ann-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ann p { white-space: pre-wrap; margin: 6px 0 10px; line-height: 1.5; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.empty svg { width: 44px; height: 44px; margin: 0 auto 8px; color: var(--teal); display: block; }

/* ── photos ── */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 4px; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.chip { font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ph { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ph:hover img { transform: scale(1.04); }
.ph-tag { position: absolute; left: 6px; bottom: 6px; background: rgba(255,255,255,.94); color: var(--blue); font-size: .7rem; font-weight: 600; font-family: "Poppins", sans-serif; border-radius: 999px; padding: 2px 8px; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal), var(--lime)); transition: width .2s; }
.file-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; color: var(--muted); font-weight: 700; cursor: pointer; }
.file-drop:hover { border-color: var(--teal); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,25,30,.92); display: flex; flex-direction: column; color: #fff; }
.lightbox .lb-img { flex: 1; display: grid; place-items: center; padding: 16px; min-height: 0; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 10px; object-fit: contain; }
.lightbox .lb-bar { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lightbox .lb-bar .grow { flex: 1; min-width: 160px; }
.lightbox .icon-btn { font-size: .9rem; }
.lb-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; }

/* ── chat ── */
.chat-wrap { display: flex; flex-direction: column; min-height: calc(100dvh - 230px); }
.bubbles { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.bubble .meta { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; white-space: normal; }
.bubble.mine { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble.mine .meta { color: rgba(255,255,255,.85); }
.bubble.theirs { align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.office { border-left: 4px solid var(--lime); }
.composer { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; gap: 8px; background: var(--bg); padding: 8px 0; }
.composer input { flex: 1; border-radius: 999px; padding: 11px 16px; }
.composer .btn { border-radius: 999px; padding: 10px 22px; }
.note { background: var(--sky-lt); border-left: 4px solid var(--teal); border-radius: 10px; padding: 10px 14px; font-size: .88rem; color: var(--blue); margin-bottom: 12px; font-weight: 500; }

.thread-item { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; cursor: pointer; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sky-lt); color: var(--blue); font-family: "Poppins", sans-serif; display: grid; place-items: center; font-weight: 800; flex: none; }
.thread-item .t-body { flex: 1; min-width: 0; }
.thread-item .t-body b { display: block; }
.thread-item .t-body span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); flex: none; }
.thread-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

/* ── people ── */
.person { display: grid; gap: 10px; }
.person.pending { border-left: 4px solid var(--danger); }
.person .p-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.checks[hidden] { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; cursor: pointer; }
.checks input { accent-color: var(--blue); }
.section-h { font-weight: 700; margin: 24px 2px 10px; color: var(--blue); text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; }
.group-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.group-row:last-child { border-bottom: 0; }

/* ── auth ── */
.auth { margin: auto; width: 100%; max-width: 400px; padding: 24px 16px; }
.auth .hero { text-align: center; margin-bottom: 18px; }
.hero-logo img { width: 260px; max-width: 80%; margin: 0 auto 18px; }
.auth .hero h1 { font-size: 1.45rem; font-weight: 700; color: var(--blue); display: inline-block; margin-bottom: 8px; }
.pending-mark img { width: 70px; margin: 0 auto 12px; }
.auth form { display: grid; gap: 12px; }
.auth .switch { text-align: center; margin-top: 14px; font-size: .92rem; }
.err { color: var(--danger); font-weight: 700; font-size: .88rem; min-height: 1em; }

.toast { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top)); box-shadow: var(--shadow); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 700; z-index: 60; max-width: 90vw; }

@media (min-width: 700px) {
  main { padding-left: 24px; padding-right: 24px; }
}

/* ══════════ Snack Bar additions ══════════ */
.app.wide { max-width: 1180px; }
.app.wide .tabbar { max-width: 1180px; }
.toast.bad { background: var(--danger); }
.stack-sm { display: grid; gap: 10px; }
input[type=number], input[type=date] { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.pill-alg { background: #fdecea; color: var(--danger); }
.pill-open { background: #e8f5e3; color: #3d6b1f; }
.pill-closed { background: #eef1f3; color: var(--muted); }
.pill-low { background: #fff3d6; color: #8a5a00; }
.warn { background: #fff3d6; color: #6b4a00; border-left: 4px solid #ffae00; border-radius: 10px; padding: 9px 12px; font-size: .88rem; font-weight: 600; margin: 8px 0; }
.warn.alg { background: #fdecea; color: var(--danger); border-color: var(--danger); }
.grow { flex: 1; min-width: 0; }
details.add-box > summary { cursor: pointer; font-family: Poppins, sans-serif; font-weight: 600; color: var(--blue); list-style: none; }
details.add-box > summary::-webkit-details-marker { display: none; }
details.add-box[open] > summary { margin-bottom: 10px; }
.pill-btn { border-radius: 999px; margin-left: 6px; display: inline-block; text-decoration: none; }
.note .btn { color: #fff; }

/* parent: camper cards */
.kid .kid-top, .reg-head, .lday-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.kid h3 { margin-bottom: 6px; }
.kid.low { border-left: 4px solid #ffae00; }
.bal { text-align: right; }
.bal small { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.bal b { font-family: Poppins, sans-serif; font-size: 1.7rem; color: var(--blue); }
.bal.sm b, .bal.sm { font-size: 1rem; font-weight: 700; font-family: Poppins, sans-serif; color: var(--blue); }
.lowtxt, .kid.low .bal b { color: #c07a00 !important; }
.kid-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 6px; }
.kid-stats > div { background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.kid-stats small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.kid-stats b { font-family: Poppins, sans-serif; color: var(--ink); }
.alg-row { margin: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
details.settings { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
details.settings summary { cursor: pointer; font-weight: 700; color: var(--blue); }
details.settings[open] summary { margin-bottom: 10px; }

/* lunch */
.lday h3 { font-size: 1rem; }
.lrow { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.done { color: #3d6b1f; font-weight: 600; }
.prod { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prod-i { flex: 1 1 110px; background: var(--bg); border-radius: 12px; padding: 10px; text-align: center; }
.prod-i span { font-size: 1.4rem; display: block; }
.prod-i b { font-family: Poppins, sans-serif; font-size: 1.5rem; color: var(--blue); display: block; }
.prod-i small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.prod-i.tot { background: var(--sky-lt); }
.pick { padding: 4px 16px; }
.pick-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.pick-row:last-child { border-bottom: 0; }
.pick-row input { width: 22px; height: 22px; accent-color: var(--blue); }
.pick-row.served { opacity: .55; }
.pick-row.served b { text-decoration: line-through; }

/* register */
.reg { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .reg { grid-template-columns: 1fr; } .reg-left { position: static; } .kid-list { max-height: 260px; } .cart { position: static; } }
.reg-left { display: grid; gap: 10px; position: sticky; top: 90px; }
.kid-list { display: grid; gap: 6px; max-height: calc(100dvh - 330px); overflow-y: auto; padding-right: 2px; }
.kid-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 12px; cursor: pointer; }
.kid-btn span { font-weight: 600; color: var(--ink); }
.kid-btn small { color: var(--muted); font-size: .8rem; }
.kid-btn.on { border-color: var(--blue); background: var(--sky-lt); box-shadow: 0 0 0 2px rgba(62,124,149,.25); }
.kid-btn.cash { border-style: dashed; }
.kid-btn.lowb small { color: #c07a00; }
.alg-dot { color: var(--danger); font-style: normal; font-weight: 800; }
.reg-right { display: grid; gap: 12px; }
.alg-banner { background: var(--danger); color: #fff; font-weight: 700; border-radius: 10px; padding: 9px 12px; margin-top: 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.tile { position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: var(--shadow); min-height: 112px; }
.tile:active { transform: scale(.97); }
.tile b { font-size: .9rem; color: var(--ink); text-align: center; line-height: 1.2; }
.tile span:not(.t-emoji) { color: var(--blue); font-weight: 700; font-family: Poppins, sans-serif; }
.tile:disabled { opacity: .45; cursor: not-allowed; }
.tile.t-alg { border-color: var(--danger); background: #fff6f5; }
.tile.t-blk { border-color: #ffae00; background: #fffaf0; }
.t-emoji { font-size: 2rem; line-height: 1; }
.t-emoji.sm { font-size: 1.5rem; }
.t-tag { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: .68rem; font-weight: 800; background: var(--danger); color: #fff; border-radius: 999px; padding: 1px 7px; }
.t-tag.lo { background: #ffae00; }
.t-qty { position: absolute; top: 6px; right: 6px; font-style: normal; background: var(--blue); color: #fff; border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.cart { display: grid; gap: 8px; border-top: 4px solid var(--lime); position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); }
.cline { display: flex; align-items: center; gap: 10px; }
.cline span:first-child { flex: 1; }
.qty { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.qbtn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; }
.ctotal { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; font-family: Poppins, sans-serif; font-size: 1.15rem; }
.ctotal b { color: var(--blue); }
.override { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .88rem; }
.override input { width: 20px; height: 20px; accent-color: var(--danger); }
.cart .row .btn, .row .btn.ghost { border-radius: 999px; }
.cart .row .btn { flex: 1; padding: 13px 16px; }

/* transactions */
.tx-list { padding: 4px 16px; }
.tx { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tx:last-child { border-bottom: 0; }
.tx-ic { font-size: 1.25rem; width: 28px; text-align: center; }
.tx-body { flex: 1; min-width: 0; }
.tx-body b { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-body small { color: var(--muted); font-size: .8rem; }
.tx-amt { font-family: Poppins, sans-serif; font-weight: 700; color: var(--ink); }
.tx-amt.pos { color: #3d6b1f; }
.tx.voided { opacity: .45; }
.tx.voided .tx-amt { text-decoration: line-through; }

/* stock */
.srow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.srow:last-child { border-bottom: 0; }
.srow.off { opacity: .5; }
.srow .grow b { display: block; }
.srow .grow small { color: var(--muted); font-size: .8rem; }
.restock { display: flex; gap: 6px; }
.restock input { width: 80px; padding: 6px 8px; }
.restock .btn { border-radius: 999px; }
.itemForm { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* accounts */
.acct { padding: 0; overflow: hidden; }
.acct-top { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 14px 16px; text-align: left; cursor: pointer; }
.acct-top .grow b { display: block; color: var(--ink); }
.acct-top .grow small { color: var(--muted); font-size: .82rem; }
.acct.open { border-left: 4px solid var(--blue); }
.acct-body { padding: 0 16px 16px; display: grid; gap: 16px; }
.acct-body form { border-top: 1px solid var(--line); padding-top: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; }
.kpi small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.kpi b { font-family: Poppins, sans-serif; font-size: 1.4rem; color: var(--blue); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.tbl th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; }
.badge { left: calc(50% + 8px); }
