@font-face { font-family: Atkinson; src: url(/fonts/atkinson-hyperlegible-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Atkinson; src: url(/fonts/atkinson-hyperlegible-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Atkinson; src: url(/fonts/atkinson-hyperlegible-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/fonts/fraunces-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/fonts/fraunces-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --green: #1F4D3A; --green-2: #2E6B52; --green-soft: #E6EFEA;
  --gold: #C8962E; --gold-soft: #F6EFDF; --cream: #FBF8F1;
  --ink: #1f2a24; --muted: #5F5F5F; --line: #e4dccb; --card: #fff;
  --red: #a33a2b; --radius: 14px;
}
* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; }
body { margin: 0; font-family: Atkinson, system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; }
body.in-app { padding-bottom: 84px; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; color: var(--green); line-height: 1.2; margin: 1.4em 0 .5em; }
h1 { font-size: 2rem; margin-top: .6em; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; margin: .4em 0; }
a { color: var(--green); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.15rem; }

/* top bar */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Fraunces, serif; font-weight: 700; color: var(--green); font-size: 1.1rem; }
.link { background: none; border: 0; color: var(--green); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px; }
.chip-profile { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); background: var(--gold-soft); border: 1px solid #ead9b0; border-radius: 999px; padding: 4px 12px 4px 4px; }
.chip-profile:hover { border-color: var(--gold); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-family: Fraunces, serif; flex: none; }
.avatar.xl { width: 72px; height: 72px; font-size: 2rem; border: 3px solid var(--gold); }
.cp-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; }
.cp-text strong { font-size: .9rem; }
.cp-badges { font-size: 1.1rem; letter-spacing: 2px; }
@media (max-width: 480px) { .brand span { display: none; } .cp-badges { display: none; } }

/* buttons + forms */
.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--green-2); }
.btn.big { font-size: 1.1rem; padding: 16px 32px; min-width: 220px; }
.btn.ghost { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn.pay { background: var(--gold); color: #fff; width: 100%; }
.btn.pay:hover { background: #b5841f; }
.btn:disabled { background: #bbb; cursor: not-allowed; }
.danger-btn { background: var(--red); }
.form { display: grid; gap: 16px; margin: 16px 0; }
.form.inline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.field { display: grid; gap: 6px; font-weight: 700; }
input[type=text], input[type=email], input[type=password], input[type=number], select { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.form.inline select { width: auto; }
input:focus, select:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--green); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 700; font-family: Fraunces, serif; color: var(--green); font-size: 1.15rem; margin-bottom: 8px; }
.option { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.option input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); flex: none; }
.option span { display: grid; gap: 2px; }
.flash { padding: 12px 16px; border-radius: 10px; background: var(--green-soft); }
.flash.error { background: #f8e3df; color: var(--red); }
.flash.warn { background: var(--gold-soft); }
.narrow { max-width: 520px; margin: 0 auto; }
.steps-mini { font-size: .9rem; color: var(--muted); margin-top: 24px; }
.steps-mini b { color: var(--green); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* landing */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 32px 0 8px; }
.hero h1 { font-size: 2.8rem; margin: .1em 0 .3em; }
.hero-img { border-radius: 20px; box-shadow: 0 10px 30px rgba(31, 77, 58, .15); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--gold); font-weight: 700; margin: 0; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } .hero-img { order: -1; } .hero h1 { font-size: 2.2rem; } }
.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card p { margin: 0; font-size: .95rem; }
.card .ic { font-size: 1.8rem; }
.phases { list-style: none; padding: 0; counter-reset: ph; display: grid; gap: 10px; }
.phases li { background: #fff; border-left: 5px solid var(--gold); border-radius: 8px; padding: 12px 16px; display: grid; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 32px; position: relative; margin: 8px 0; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 8px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.cta-end { text-align: center; background: var(--green); color: #fff; border-radius: 20px; padding: 24px 16px 32px; margin: 40px 0; }
.cta-end h2 { color: #fff; margin-top: .3em; }
.cta-end .btn { background: var(--gold); }
.foot { padding: 24px 16px 40px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 40px; }

/* checkout */
.order { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.order div:first-child { display: grid; }
.order span { color: var(--muted); font-size: .9rem; }
.price { font-family: Fraunces, serif; font-size: 2rem; color: var(--green); font-weight: 700; }
.devbox { border: 2px dashed var(--gold); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; margin-top: 16px; background: #fffaf0; }
.devbox p { margin: 0; font-size: .9rem; }

/* timeline */
.hello h1 { margin-bottom: .2em; }
.meter { appearance: none; -webkit-appearance: none; width: 100%; height: 12px; border: 0; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter::-webkit-progress-bar { background: var(--line); border-radius: 99px; }
.meter::-webkit-progress-value { background: var(--green); border-radius: 99px; }
.meter::-moz-progress-bar { background: var(--green); border-radius: 99px; }
.meter.gold::-webkit-progress-value { background: var(--gold); }
.meter.gold::-moz-progress-bar { background: var(--gold); }
.timeline { list-style: none; margin: 24px 0; padding: 0 0 0 34px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--line); }
.timeline.inner { margin: 8px 0 0; padding-left: 0; }
.timeline.inner::before { display: none; }
.t-item { position: relative; margin: 0 0 12px; }
.t-item .dot { position: absolute; left: -34px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); font-weight: 700; color: #fff; font-size: .9rem; z-index: 1; }
.t-item.done .dot { background: var(--gold); border-color: var(--gold); }
.t-item.today .dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 6px rgba(31, 77, 58, .18); animation: pulse 2s infinite; }
.t-item.missed .dot { border-color: var(--gold); }
.t-item.finish .dot { background: var(--gold-soft); border-color: var(--gold); font-size: 1rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(31, 77, 58, .06); } }
@media (prefers-reduced-motion: reduce) { .t-item.today .dot, .confetti i { animation: none !important; } html { scroll-behavior: auto; } }
.t-card { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; text-decoration: none; color: var(--ink); }
a.t-card:hover { border-color: var(--green); }
.t-item.today .t-card { border: 2px solid var(--green); box-shadow: 0 6px 20px rgba(31, 77, 58, .12); padding: 16px 18px; }
.t-item.locked .t-card { background: transparent; border-style: dashed; color: var(--muted); }
.t-item.done .t-card { background: #fffdf7; }
.t-date { font-size: .8rem; color: var(--muted); }
.t-date b { color: var(--green); text-transform: uppercase; }
.t-title { font-weight: 700; font-size: 1.05rem; }
.t-item.today .t-title { font-family: Fraunces, serif; font-size: 1.35rem; color: var(--green); }
.t-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .85rem; color: var(--muted); }
.t-intro { font-size: .95rem; margin-top: 4px; }
.small-btn { justify-self: start; padding: 8px 18px; margin-top: 8px; font-size: .95rem; }
.pts { color: #8a6516; font-weight: 700; }
.kind { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--green-soft); color: var(--green); }
.k-kracht { background: #e9eefc; color: #2a4aa0; }
.k-wandelen { background: #e6f3ea; color: #23633d; }
.k-soepel { background: #f1e9f7; color: #6b3d8a; }
.k-balans { background: #fdf0e1; color: #92561a; }
.k-rust { background: #eee; color: #555; }
.k-test, .k-start { background: var(--gold-soft); color: #8a6516; }
.t-phase { margin: 28px 0 8px -34px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.t-phase span { background: var(--green); color: #fff; padding: 4px 14px; border-radius: 99px; font-weight: 700; font-family: Fraunces, serif; position: relative; z-index: 1; }
.t-phase small { color: var(--muted); }
.t-week { margin: 0 0 10px; }
.t-week > details > summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 14px; background: var(--gold-soft); border-radius: 10px; display: flex; gap: 8px; align-items: center; }
.t-week > details > summary::-webkit-details-marker { display: none; }
.t-week > details > summary::after { content: '▾'; margin-left: 4px; color: var(--muted); }
.t-week > details:not([open]) > summary::after { content: '▸'; }
.wk { color: var(--green); font-family: Fraunces, serif; }
.wk-count { margin-left: auto; font-size: .85rem; color: var(--muted); }
.wk-count.full { color: #8a6516; }
.focus { background: #fff; border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 6px; font-size: .95rem; }
.t-card.plain { border-style: dashed; }

/* day page */
.daynav { display: flex; justify-content: space-between; padding: 14px 0 0; font-size: .95rem; }
.day h1 { margin-top: .2em; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 16px 0; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
.video.ph { aspect-ratio: 21 / 9; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 16px; font-size: .95rem; }
.video .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 1.6rem; }
.needs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs li { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; font-size: .9rem; }
.plain { padding-left: 1.2em; }
.plain li { margin: 6px 0; }
.exlist { list-style: none; padding: 0; display: grid; gap: 8px; }
.ex details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ex summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; }
.ex summary::-webkit-details-marker { display: none; }
.ex-n { width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 700; }
.ex-name { font-weight: 700; }
.ex-dose { font-size: .85rem; color: var(--muted); text-align: right; max-width: 14em; }
.ex-body { padding: 0 16px 12px; }
.ex-body .video { margin-top: 0; }
.tip { background: var(--green-soft); border-radius: 8px; padding: 8px 12px; font-size: .95rem; }
.done-btn { width: 100%; margin-top: 24px; background: var(--gold); }
.done-btn:hover { background: #b5841f; }
.day > .btn[disabled] { width: 100%; margin-top: 24px; }
.done-note { background: var(--gold-soft); border-radius: var(--radius); padding: 16px; font-weight: 700; text-align: center; margin-top: 24px; }
.safety { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 480px) { .ex summary { grid-template-columns: 36px 1fr; } .ex-dose { grid-column: 2; text-align: left; } }

/* celebration */
.celebrate { position: fixed; inset: 0; background: rgba(20, 40, 30, .55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.cel-box { position: relative; background: #fff; border-radius: 22px; padding: 28px 24px; max-width: 420px; width: 100%; text-align: center; overflow: hidden; animation: pop .35s ease-out; }
.cel-big { font-size: 3rem; margin: 0; }
.cel-box h2 { margin: .2em 0; }
.cel-pts { font-family: Fraunces, serif; font-size: 2rem; color: var(--gold); font-weight: 700; margin: 0 0 12px; }
.cel-badge { display: flex; gap: 12px; align-items: center; text-align: left; background: var(--gold-soft); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.cel-badge > span { font-size: 2rem; }
.cel-badge p { margin: 0; font-size: .9rem; }
.cel-box .btn { margin-top: 12px; }
@keyframes pop { from { transform: scale(.8); opacity: 0; } }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; opacity: .9; animation: fall 1.6s ease-in forwards; }
.confetti .c0 { background: var(--gold); } .confetti .c1 { background: var(--green); } .confetti .c2 { background: #e57b5a; }
.confetti .c3 { background: #6b9be0; } .confetti .c4 { background: #f2c94c; } .confetti .c5 { background: #9b6bcf; }
@keyframes fall { to { transform: translateY(460px) rotate(540deg); opacity: 0; } }

/* profile */
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-top: 20px; }
.profile-card h1 { margin: 0; }
.profile-card .rank { margin: 0; font-weight: 700; color: #8a6516; }
.pc-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin: 8px 0; }
.pc-stats div { background: var(--cream); border-radius: 12px; padding: 10px 4px; display: grid; }
.pc-stats b { font-size: 1.3rem; font-family: Fraunces, serif; color: var(--green); }
.pc-stats span { font-size: .8rem; color: var(--muted); }
.profile-card .meter, .profile-card .small { grid-column: 1 / -1; margin: 0; }
.badges { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.badges li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; display: grid; gap: 2px; }
.badges li.on { border-color: var(--gold); background: var(--gold-soft); }
.badges li.off { opacity: .55; }
.b-ic { font-size: 2rem; }
.badges small { color: var(--muted); font-size: .78rem; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 10px; overflow: hidden; font-size: .95rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--green); color: #fff; }
.danger { margin: 24px 0 40px; }
.danger summary { cursor: pointer; color: var(--red); }
.gear { list-style: none; padding: 0; display: grid; gap: 8px; }
.gear li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: grid; }

/* bottom nav */
.bottom { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: center; z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.bottom a { flex: 1; max-width: 140px; display: grid; justify-items: center; gap: 2px; padding: 8px 4px 10px; font-size: .75rem; text-decoration: none; color: var(--muted); }
.bottom a span { font-size: 1.35rem; }
.bottom a[aria-current] { color: var(--green); font-weight: 700; box-shadow: inset 0 3px 0 var(--gold); }

/* dev bar */
.devbar { position: fixed; right: 12px; bottom: 92px; z-index: 40; display: flex; gap: 6px; align-items: center; background: #222; color: #fff; padding: 6px 8px; border-radius: 10px; font-size: .75rem; opacity: .85; }
.devbar button { font: inherit; background: #444; color: #fff; border: 0; border-radius: 6px; padding: 4px 8px; cursor: pointer; }

/* landing: who it's not for, how it works */
.crosses { list-style: none; padding: 0; }
.crosses li { padding-left: 32px; position: relative; margin: 8px 0; }
.crosses li::before { content: '✕'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #f8e3df; color: var(--red); display: grid; place-items: center; font-weight: 700; font-size: .75rem; }
.howto { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 12px; margin-bottom: 20px; }
.howto li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.howto li::before { content: counter(st); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: Fraunces, serif; }

/* shopping list */
.shop { list-style: none; padding: 0; display: grid; gap: 10px; }
.shop li { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.shop li.must { border: 2px solid var(--gold); }
.shop li > div { display: grid; gap: 2px; }
.shop p { margin: 4px 0 0; font-size: .92rem; }
.shop .btn { flex: none; margin: 0; }
.tag { display: inline-block; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; vertical-align: middle; }
.tag.light { background: var(--line); color: var(--ink); }
@media (max-width: 560px) { .shop li { flex-direction: column; align-items: stretch; } .shop .btn { justify-self: start; } }
.buy { background: var(--gold-soft); border-radius: var(--radius); padding: 10px 14px; margin: 8px 0 0; }
.buy summary { cursor: pointer; font-weight: 700; color: #8a6516; }

/* doing a day early */
.early { margin-top: 24px; background: var(--green-soft); border-radius: var(--radius); padding: 14px 16px; }
p.early { background: transparent; padding: 0; }
.early p { margin: 0 0 10px; }
.t-more { display: block; margin: 8px 0 0; padding: 10px 16px; border: 2px dashed var(--gold); border-radius: var(--radius); color: #8a6516; font-weight: 700; text-decoration: none; text-align: center; }
.t-more:hover { background: var(--gold-soft); }
.celebrate.static { position: static; background: none; padding: 32px 0; }
.celebrate.static .cel-box { box-shadow: 0 10px 30px rgba(31, 77, 58, .15); text-align: left; }
.celebrate.static .cel-box .cel-big { text-align: center; }
.celebrate.static .btn { width: 100%; }

/* dev mail viewer */
.devbar a { color: #fff; }

/* admin */
.admin { padding-bottom: 40px; }
.admin-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; margin: 16px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; }
.stat b { font-family: Fraunces, serif; font-size: 1.45rem; color: var(--green); white-space: nowrap; }
.stat span { font-size: .8rem; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.panel h2 { margin: 0 0 4px; font-size: 1.15rem; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 10px; }
.panel-head p { margin: 0; }
.hbars { display: grid; gap: 6px; }
.hb-row { display: grid; grid-template-columns: minmax(120px, 210px) 1fr minmax(70px, auto); gap: 10px; align-items: center; font-size: .9rem; }
.hb-bar { width: 100%; height: 16px; }
.hb-bg { fill: var(--cream); }
.hb-fg { fill: var(--green); }
.hbars.funnel .hb-fg { fill: var(--gold); }
.hbars.bad .hb-fg { fill: var(--red); }
.hb-val { text-align: right; font-weight: 700; white-space: nowrap; }
.hb-val small { font-weight: 400; color: var(--muted); }
.c-ok { fill: var(--green); background: var(--green); } .c-warn { fill: var(--gold); background: var(--gold); } .c-bad { fill: var(--red); background: var(--red); }
.c-green { fill: var(--green); background: var(--green); } .c-gold { fill: var(--gold); background: var(--gold); } .c-blue { fill: #6b9be0; background: #6b9be0; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.vbars { width: 100%; height: auto; margin-top: 8px; }
.vbars .axis { stroke: var(--line); }
.vbars .tick { font-size: 11px; fill: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.seg a { padding: 6px 14px; font-size: .85rem; text-decoration: none; color: var(--ink); }
.seg a.on { background: var(--green); color: #fff; }
@media (max-width: 560px) { .hb-row { grid-template-columns: 1fr auto; } .hb-bar { grid-column: 1 / -1; grid-row: 2; } }
