:root{--ink:#173f33;--muted:#57685f;--green:#285b42;--paper:#f7f5ee;--line:#dce2d7;--accent:#efbd55;--water:#e8f1ef;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:4px}button,input,select{font:inherit}.file-button,button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:12px 16px;background:#fff;color:var(--ink);font-weight:600;min-height:44px}.file-button:hover,button:hover{background:#edf2e8}button:disabled{opacity:.5;cursor:not-allowed}.file-button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a56813;outline-offset:3px}input,select{width:100%;padding:12px;border:1px solid #adb9ae;border-radius:8px;background:#fff;color:var(--ink);min-height:46px}input[type=date]{width:170px}label{display:block;font-size:.88rem;font-weight:600;margin:0 0 7px}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(2.8rem,5.5vw,4.7rem);line-height:1.06;letter-spacing:-2px;margin:18px 0 24px;font-weight:500}h2{font-family:Georgia,serif;font-size:1.9rem;font-weight:500;margin-bottom:22px}h3{font-size:1.02rem;line-height:1.5}.top{max-width:1160px;margin:auto;padding:28px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.top a{text-decoration:none;font-size:.9rem}.top .family{font-size:1.3rem;font-weight:800;letter-spacing:-.5px}.family span{font-size:.82rem;font-weight:400;letter-spacing:0;color:var(--muted)}main{max-width:1160px;margin:auto;padding:0 30px}.hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;padding:56px 0 38px;gap:25px}.hero p{color:var(--muted)}.eyebrow{font-size:.68rem;font-weight:700;letter-spacing:1.7px;line-height:1.6;margin-bottom:10px;color:var(--green)}.badge{border:1px solid #c7cebd;padding:5px 8px;border-radius:5px;margin-left:8px;white-space:nowrap}.hero-art{position:relative;background:#e4e9dc;border-radius:50% 50% 10% 50%;height:270px;max-width:370px;display:grid;place-items:center;justify-self:end;width:100%;transform:rotate(-4deg)}.plate{height:185px;width:185px;background:#fbfcf5;border:13px solid #fff;border-radius:50%;box-shadow:0 10px 0 #ccd6c1,0 20px 30px #34563720;position:relative}.leaf{position:absolute;width:70px;height:90px;left:12px;top:25px;border-radius:80% 10% 80% 10%;background:#729267;transform:rotate(15deg);border-right:4px solid #496b47}.tomato{position:absolute;width:66px;height:66px;background:#cd755c;border-radius:50%;right:12px;bottom:15px;border:7px solid #dd8d72}.grain{position:absolute;width:62px;height:35px;background:#edc978;right:13px;top:26px;border-radius:50%;transform:rotate(-15deg);box-shadow:0 12px 0 #e7bd65}.art-label{position:absolute;right:-4px;bottom:0;background:var(--accent);border-radius:8px;padding:16px 22px;transform:rotate(9deg);font-family:Georgia,serif;font-size:1.05rem;line-height:1.4}.daybar{display:flex;gap:16px;align-items:end;padding:20px 0 26px;border-top:1px solid var(--line)}#save-state{font-size:.8rem;color:var(--muted);margin-left:auto;padding:14px 0}.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:24px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;margin-bottom:24px;box-shadow:0 3px 0 #25483203}.hint{font-size:.83rem;line-height:1.6;color:var(--muted);margin:12px 0}.searchbox{position:relative}.searchbox span{position:absolute;font-size:1.8rem;top:4px;left:14px}.searchbox input{padding-left:46px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.chips button{padding:7px 11px;font-size:.75rem;border-radius:30px;min-height:36px;background:#f7f8f2}.results{max-height:270px;overflow-y:auto;scrollbar-width:thin}.result{display:flex;text-align:left;flex-direction:column;width:100%;border-radius:0;padding:13px 5px;border:0;border-bottom:1px solid var(--line);font-size:.9rem;font-weight:400}.result small{font-size:.75rem;color:var(--muted);margin-top:5px}.selection{background:#f3f5ed;border-radius:10px;padding:16px;margin:22px 0 18px}.selection h3{margin:5px 0 10px}.selection a{font-size:.78rem}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end;margin-bottom:15px}.calculation{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding:22px 0}.calculation span:first-child{font-size:1.3rem;font-weight:700}.calculation span:last-child{font-size:.8rem;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#174630}.quiet{background:#f8f9f3}.water-card{background:var(--water)}.water-head{display:flex;justify-content:space-between}.drop{font-size:3.5rem;color:#6c9c9a}.water-total{font-size:2.6rem;letter-spacing:-1px;margin-bottom:10px}.water-total small{font-size:.88rem;letter-spacing:0;color:var(--muted)}.water-buttons button{background:#fff;font-size:.9rem;flex:1}.water-card details{border-top:1px solid #c9dad6;padding-top:16px}.water-card summary{font-size:.85rem}.local-note{display:flex;gap:15px;padding:0 10px 20px;font-size:.82rem}.local-note>span{font-size:2rem}.local-note p{margin:8px 0;color:var(--muted)}progress{width:100%;height:12px;accent-color:#477c72}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.energy-total{font-size:1.1rem;text-align:right}.energy-total strong{font-size:2.1rem;font-weight:500}.energy-total span{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}.meal-block{margin-top:12px;border-top:1px solid var(--line);padding-top:17px}.meal-block h3{display:flex;justify-content:space-between;gap:10px}.meal-block h3 span{font-weight:400;color:var(--muted);font-size:.85rem}.diary-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0e8}.diary-row p{margin:0;font-size:.9rem;overflow-wrap:anywhere}.diary-row small{color:var(--muted);font-size:.8rem}.row-actions{display:flex;gap:8px;flex-shrink:0}.row-actions button{font-size:.73rem;padding:8px 11px}.empty{background:#f7f8f3;padding:25px;border-radius:12px;color:var(--muted)}.water-log{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.water-log .diary-row{padding:7px 0}.summary-card{border-radius:18px;background:#e7eadb;padding:30px;display:flex;gap:30px;align-items:center;margin-bottom:24px}.summary-card>div{flex:1}.summary-card h2{margin-bottom:15px}.summary-card>button{flex-shrink:0}.summary-card p{margin-bottom:0}.file-button{display:inline-block;font-size:1rem}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.help{padding:32px 0}.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.help p{font-size:.87rem;color:var(--muted)}details{padding:18px 0}summary{cursor:pointer;line-height:1.5;font-weight:600;padding:6px 0}details p:first-of-type{margin-top:14px}footer{display:flex;align-items:center;gap:18px;padding:30px 0;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted)}footer strong{color:var(--ink);font-size:1rem}footer a{margin-left:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;background:#fff;padding:10px;z-index:10}#status:not(:empty){padding:14px 18px;background:#edf0d9;border:1px solid #c9d5b4;border-radius:10px;margin-bottom:20px;line-height:1.5}#undo-box{background:#fff0ce;border-radius:10px;padding:15px;margin-top:18px}#import-preview{background:#f2f5e9;margin-top:18px;border-radius:10px;padding:18px}[hidden]{display:none!important}.checkbox-label{display:flex;align-items:center;gap:10px;margin-bottom:18px}.checkbox-label input{width:20px;min-height:20px;height:20px;accent-color:var(--green)}.actions:has(#import-file:focus-visible) .file-button{outline:3px solid #a56813;outline-offset:3px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:740px){main{padding:0 18px}.top{padding:22px 18px}.family span{display:none}.hero{padding-top:34px;grid-template-columns:1fr}.hero-art{display:none}.hero h1{font-size:3.5rem}.daybar{flex-wrap:wrap;gap:10px}#save-state{width:100%;padding:0;margin:0}.workspace{grid-template-columns:1fr;gap:0}.card{padding:22px;border-radius:14px}.section-head{align-items:start}.energy-total strong{font-size:1.6rem}.energy-total{font-size:.85rem;min-width:112px}.section-head h2{font-size:1.6rem}.diary-row{align-items:start;flex-wrap:wrap}.row-actions{width:100%;justify-content:flex-end}.water-log .diary-row .row-actions{width:auto}.summary-card{padding:24px;display:block}.summary-card>button{margin-top:20px}.help-grid{grid-template-columns:1fr;gap:10px}footer{flex-wrap:wrap}footer a{margin-left:0}h2{font-size:1.7rem}.two{gap:10px}.calculation{flex-wrap:wrap}.badge{display:inline-block;margin-left:0;margin-top:8px}.hero .eyebrow{max-width:280px}}.food-column{min-width:0}.week-card{padding:22px 26px;background:#fbfcf7}.week-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px}.week-heading h2{font-size:1.65rem;margin-bottom:0}.week-heading>span{font-size:.8rem;color:var(--muted)}.week-labels,.week-row{display:grid;grid-template-columns:80px 1.5fr 1fr;gap:14px}.week-labels{font-size:.7rem;color:var(--muted);margin:18px 0 7px}.week-row{width:100%;border:0;border-top:1px solid var(--line);border-radius:0;background:0 0;text-align:left;padding:11px 0;font-size:.8rem;font-weight:400;align-items:center}.week-row:hover{background:#eef2e4}.week-row[aria-current]{background:#f0f3e7}.week-day{font-weight:600;line-height:1.5}.week-cell{font-size:.75rem;min-width:0}.week-missing{color:var(--muted);font-size:.69rem}.week-track{display:block;height:4px;background:#e6eada;border-radius:8px;margin-top:6px;overflow:hidden}.week-track>span{display:block;background:#50744b;height:100%;border-radius:8px}.week-cell.water .week-track>span{background:#719e9b}.week-note{font-size:.75rem;margin-bottom:0}@media(max-width:740px){.week-card{padding:20px}.week-labels,.week-row{grid-template-columns:65px 1.4fr 1fr;gap:9px}.week-row{padding:12px 0}.week-heading h2{font-size:1.5rem}}