:root{--paper:#f4f1e8;--ink:#1b2522;--muted:#6e756f;--line:#d9d6cc;--green:#1f6a50;--lime:#c9e45b;--coral:#ee765f;--amber:#e4ad45;--white:#fffdf8}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,sans-serif}.shell{max-width:1440px;margin:auto;padding:0 4vw 50px}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--lime);font-family:"DM Mono";font-size:12px}.header-actions,.tools,.modal-actions{display:flex;align-items:center;gap:10px}button{font:inherit;cursor:pointer}.ghost,.icon-btn{background:transparent;border:1px solid var(--line);border-radius:10px;padding:10px 15px;color:var(--ink);font-weight:600}.avatar{border:0;border-radius:50%;width:38px;height:38px;background:#d9e3d4;color:var(--green);font-weight:800}.hero{display:flex;align-items:flex-end;justify-content:space-between;padding:66px 0 50px;gap:30px}.eyebrow{font-family:"DM Mono";font-size:11px;letter-spacing:.14em;color:var(--green);font-weight:500;margin:0 0 18px}.hero h1{font-size:clamp(48px,6.5vw,88px);line-height:.92;letter-spacing:-.065em;margin:0;max-width:780px;font-weight:700}.hero h1 em{color:var(--green);font-family:Georgia,serif;font-weight:400}.intro{color:var(--muted);max-width:610px;line-height:1.65;font-size:16px;margin:28px 0 0}.primary{background:var(--ink);color:white;border:0;border-radius:12px;padding:15px 19px;font-weight:700;box-shadow:0 5px 0 #abc443;white-space:nowrap}.primary:hover{transform:translateY(-1px)}.summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.28);overflow:hidden;margin-bottom:42px}.stat{padding:22px 24px;border-right:1px solid var(--line);position:relative}.stat:last-child{border:0}.stat .dot{position:absolute;right:22px;top:24px;width:10px;height:10px;border-radius:50%;background:currentColor}.stat div{display:flex;align-items:baseline;gap:12px}.stat strong{font-family:"DM Mono";font-size:30px}.stat p{font-weight:700;margin:0}.stat small{color:var(--muted);font-size:11px}.under{color:var(--coral)}.track{color:var(--green)}.over{color:var(--amber)}.total{color:var(--ink)}.stat p,.stat small{color:var(--ink)}.controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.tabs{display:flex;gap:5px}.tab{border:0;background:transparent;color:var(--muted);padding:10px 13px;border-radius:9px;font-weight:650}.tab.active{background:var(--ink);color:white}.tab span{opacity:.65;margin-left:5px}.search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--white);border-radius:10px;padding:9px 12px}.search input{border:0;outline:0;background:transparent;width:150px}.icon-btn{padding:9px 12px}.table-card{background:var(--white);border:1px solid var(--line);border-radius:16px;overflow:hidden}.grid-row{display:grid;grid-template-columns:1.45fr 2fr .65fr .65fr .8fr;align-items:center;gap:22px}.table-head{padding:13px 20px;background:#e9e5da;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-family:"DM Mono"}.member-row{padding:18px 20px;border-top:1px solid #e5e2da}.member{display:flex;align-items:center;gap:12px;font-weight:700}.member-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e2eadc;color:var(--green);font-size:11px;font-family:"DM Mono"}.rhythm{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.week{height:8px;background:#e4e2da;border-radius:6px;position:relative;overflow:hidden}.week i{display:block;height:100%;background:var(--green);border-radius:6px}.week.zero i{width:0!important}.number{font-family:"DM Mono";font-weight:500}.target{color:var(--muted)}.badge{justify-self:start;padding:6px 9px;border-radius:20px;font-size:11px;font-weight:800}.badge.under{background:#fde3dc}.badge.track{background:#dcebd9}.badge.over{background:#f6e7c7}.empty{text-align:center;padding:65px}.empty span{font-size:35px;color:var(--line)}.empty h3{margin:8px 0}.empty p,.privacy-note{color:var(--muted)}.privacy-note{text-align:center;font-size:11px;margin:17px}dialog{border:0;padding:0;border-radius:18px;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #17231d4a;max-width:600px;width:calc(100% - 30px)}dialog::backdrop{background:#14201bb0;backdrop-filter:blur(3px)}.modal{padding:28px}.modal.compact{max-width:100%}.modal-head{display:flex;justify-content:space-between;align-items:flex-start}.modal h2{font-size:30px;letter-spacing:-.04em;margin:0}.close{border:0;background:#ece9df;border-radius:50%;width:34px;height:34px;font-size:22px}.help{color:var(--muted);line-height:1.55;font-size:14px}.field{display:grid;gap:7px;margin:18px 0}.field span{font-size:12px;font-weight:800}.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;background:white;font:inherit;outline:0}.field textarea{font-family:"DM Mono";font-size:12px;resize:vertical}.field input:focus,.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #1f6a5018}.preview-line{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.text-btn,.danger-text{border:0;background:transparent;color:var(--green);font-weight:800}.modal-actions{justify-content:flex-end;margin-top:24px}.spread{justify-content:space-between}.danger-text{color:var(--coral)}.range-note{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.range-note span{padding:10px;background:#eeeae0;border-radius:8px;font-size:10px;color:var(--muted)}.range-note b{color:var(--ink)}
@media(max-width:850px){.summary{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.hero{align-items:flex-start;flex-direction:column}.controls{align-items:flex-start;gap:12px;flex-direction:column}.tabs{max-width:100%;overflow:auto}.grid-row{grid-template-columns:1.3fr 1.5fr .6fr .8fr}.grid-row>span:nth-child(4),.member-row>span:nth-child(4){display:none}}
@media(max-width:560px){.shell{padding:0 18px 35px}.topbar{height:68px}.header-actions .ghost{display:none}.hero{padding:42px 0 35px}.hero h1{font-size:52px}.primary{width:100%}.summary{grid-template-columns:1fr 1fr}.stat{padding:17px 14px}.stat div{display:block}.stat p{font-size:12px}.stat small{display:none}.tools{width:100%}.search{flex:1}.search input{width:100%}.table-card{overflow-x:auto}.grid-row{min-width:610px}.privacy-note{text-align:left}}
