:root {
  --bg: #f4f6f3;
  --card: #ffffff;
  --text: #17211f;
  --muted: #6c7774;
  --primary: #1f6f5f;
  --primary-2: #e4f2ed;
  --accent: #e59c36;
  --danger: #b44444;
  --border: #dfe6e2;
  --shadow: 0 8px 24px rgba(26,55,48,.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { width: 100%; min-height: 100%; background: var(--bg); }
body { width: 100%; min-width: 0; min-height: 100dvh; margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); padding-bottom: calc(84px + env(safe-area-inset-bottom)); overflow-x: hidden; }
button, input { font: inherit; }
button { cursor: pointer; min-height: 44px; }
.app-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; width: 100vw; max-width: none; margin: 0; padding: calc(12px + env(safe-area-inset-top)) 14px 10px; background: rgba(244,246,243,.96); backdrop-filter: blur(12px); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 1.55rem; line-height: 1.1; }
h2 { margin-bottom: 0; font-size: 1.22rem; }
h3 { font-size: 1.05rem; }
main { display: block; width: 100vw; max-width: none; margin: 0; padding: 0 12px 20px; }
.screen { display: none; width: 100%; max-width: none; animation: fade .18s ease; }
.screen.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.card { width: 100%; max-width: none; background: var(--card); border: 1px solid rgba(223,230,226,.8); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 116px; background: linear-gradient(135deg,#ffffff 0%,#edf7f3 100%); }
.hero-weight { font-size: clamp(2rem,9vw,2.5rem); line-height: 1; font-weight: 800; margin-bottom: 6px; }
.progress-ring { flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; background: conic-gradient(var(--primary) 0deg,#dce8e3 0deg); position: relative; }
.progress-ring::after { content: ""; position: absolute; inset: 8px; background: white; border-radius: 50%; }
.progress-ring span { position: relative; z-index: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric { display: flex; flex-direction: column; gap: 5px; min-height: 78px; justify-content: center; }
.metric strong { font-size: 1.2rem; }
.metric-label, .label, .muted { color: var(--muted); }
.muted { margin-bottom: 0; font-size: .9rem; }
.eyebrow { color: var(--primary); font-size: .68rem; letter-spacing: .13em; font-weight: 800; margin-bottom: 4px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sticky-title { padding-top: 4px; }
.pill { background: var(--primary-2); color: var(--primary); padding: 7px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.today-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.today-row > div { min-width: 0; }
.today-row p { margin: 4px 0 0; font-weight: 700; line-height: 1.3; }
.border-top { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.primary, .secondary, .ghost, .danger-outline { border: 0; border-radius: 12px; padding: 11px 15px; font-weight: 800; }
.primary { background: var(--primary); color: white; }
.quick-register { margin: 0 0 12px; min-height: 50px; font-size: .98rem; }
