@font-face { font-family: Outfit; src: url("/fonts/outfit-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url("/fonts/outfit-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Outfit; src: url("/fonts/outfit-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Fraunces; src: url("/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #10140f;
  --card: #1b2218;
  --text: #f4f1e8;
  --muted: #b7c0aa;
  --line: #2c3528;
  --accent: #d6f25c;
  --copper: #e7a15a;
  --ink: #14200c;
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; background: #0c0f0b; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent); }
.phone { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding: 16px 16px 96px; }
.top, .split, .water-head, .inline, .quick { display: flex; align-items: center; gap: 10px; }
.top, .split, .water-head { justify-content: space-between; }
.mark { font-weight: 700; letter-spacing: 0.18em; margin: 0; }
.tag, .muted, .date { color: var(--muted); }
h1, h2, .big { font-family: Fraunces, Georgia, serif; font-weight: 600; margin: 0 0 8px; }
.big { font-size: 56px; }
.card, form.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 12px 0; }
.water-card { background: linear-gradient(180deg, #24301c, #1b2218); border-color: #3c4a2c; }
.water-left, .jugs { font-size: 20px; margin: 4px 0 12px; }
.jugs { color: var(--accent); font-size: 16px; }
.jug-primary { width: 100%; min-height: 56px; border: 0; border-radius: 16px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 18px; margin: 8px 0; }
.containers { margin-top: 12px; }
.container-row { margin: 10px 0; }
.ring-wrap { position: relative; width: 148px; height: 148px; }
.ring { width: 148px; height: 148px; transform: rotate(-90deg); }
.ring-track, .ring-arc { fill: none; stroke-width: 10; }
.ring-track { stroke: #2c3528; }
.ring-arc { stroke: var(--copper); stroke-linecap: round; }
.ring-arc.done { stroke: var(--accent); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label strong { font-family: Outfit, "Segoe UI", sans-serif; font-size: 32px; font-weight: 650; }
.quick { flex-wrap: wrap; margin: 8px 0; }
.chip, .primary, .ghost { border: 0; border-radius: 999px; min-height: 44px; padding: 0 16px; }
.chip { background: #2a3324; }
.chip.on, .check.on { background: var(--accent); color: var(--ink); }
.primary { background: var(--accent); color: var(--ink); font-weight: 650; }
.ghost { background: transparent; border: 1px solid var(--line); }
.field, .stack { display: grid; gap: 6px; }
.stack { gap: 12px; }
input, select { background: #121710; border: 1px solid var(--line); border-radius: 12px; padding: 12px; width: 100%; }
.inline input { flex: 1; }
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(480px, 100%); display: grid; grid-template-columns: repeat(5, 1fr); background: #161b14; border-top: 1px solid var(--line); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
.tabbar a { text-align: center; text-decoration: none; color: var(--muted); font-size: 13px; padding: 10px 0; }
.tabbar a.on { color: var(--accent); }
.grid75 { display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; margin: 10px 0; }
.cell { aspect-ratio: 1; border-radius: 2px; background: #2a3326; }
.cell.done, .cell.today.done { background: var(--accent); }
.cell.miss { background: #8d4b3a; }
.cell.today { outline: 1px solid var(--copper); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.check { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bar { height: 8px; background: #2a3326; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); }
.cover, .exercise img, .hero { width: 100%; border-radius: 12px; background: #111; }
.exercise { display: grid; grid-template-columns: 96px 1fr; gap: 12px; cursor: pointer; }
.exercise img { height: 72px; object-fit: cover; }
.sheet { position: fixed; inset: 0; background: #10140fe6; overflow: auto; padding: 16px 16px 40px; z-index: 5; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--accent); color: var(--ink); padding: 10px 14px; border-radius: 999px; }
.login { padding-top: 18vh; }
.text-link { display: inline-block; margin-top: 8px; }
.vitamin { margin: 10px 0; }
.stat strong { font-size: 28px; font-family: Fraunces, Georgia, serif; }
.chart { width: 100%; height: auto; }
.chart-line { fill: none; stroke: #d6f25c; stroke-width: 2.5; }
.goal-line { stroke: #e7a15a; stroke-dasharray: 4 4; }
.bar-col { fill: #d6f25c; }
.macro-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.macro-row .ring-wrap, .macro-row .ring { width: 78px; height: 78px; margin: 0 auto; }
.review { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.timer { position: sticky; bottom: 72px; background: #d6f25c; color: #14200c; border-radius: 14px; padding: 12px; font-weight: 700; text-align: center; }
