:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233c34;background:#f5f4ed;font-synthesis:none;--green:#284f42;--muted:#6a7870;--line:#dde2d8;--paper:#fffefa;--accent:#daedbd}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{border:0;background:var(--green);color:white;border-radius:10px;padding:11px 16px;cursor:pointer;font-weight:650}button:hover{filter:brightness(1.1)}button:disabled{opacity:.55;cursor:wait}button.secondary{background:#e9ede4;color:var(--green)}button.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}button.danger{background:#f3e3dd;color:#8b3830}a{color:var(--green)}:focus-visible{outline:3px solid #b28d38;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1.2px;line-height:1.15;margin-bottom:10px}h2{font-size:21px;letter-spacing:-.5px;margin-bottom:18px}h3{font-size:16px;margin-bottom:7px}p{line-height:1.6}small,.muted{color:var(--muted);font-size:13px}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:#fffefa;border-right:1px solid var(--line);padding:32px 22px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-family:Georgia,serif;font-size:33px;font-weight:bold;letter-spacing:-1.8px;display:flex;align-items:center;gap:10px}.brand span{color:#92a16c;font-family:system-ui;font-size:31px}.tagline{font-size:10px;letter-spacing:2px;text-transform:uppercase;margin:5px 0 38px;color:var(--muted)}nav{display:flex;flex-direction:column;gap:7px}nav a{text-decoration:none;padding:13px 12px;border-radius:10px;font-size:14px;font-weight:600;display:flex;gap:12px;align-items:center}nav a.active{background:var(--green);color:#fff}nav a:hover{background:#e8eedd;color:var(--green)}.navicon{width:22px;text-align:center;font-size:18px}.identity{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.identity strong{display:block;margin-bottom:8px}.main{padding:27px 40px 45px;max-width:1500px;width:100%;margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:29px}.live{display:flex;gap:8px;align-items:center}.dot{width:6px;height:6px;background:#6b8d50;border-radius:50%}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 25px}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:2px;color:#657746;margin-bottom:10px}.heading p{margin:0;color:var(--muted);font-size:14px}.hero{display:grid;grid-template-columns:1.7fr 1fr;background:var(--green);border-radius:18px;color:#fff;overflow:hidden;margin-bottom:22px}.hero-copy{padding:27px 30px}.hero h2{font-family:Georgia,serif;font-size:31px;font-weight:normal;margin-bottom:9px}.hero p{color:#d3dfcd;max-width:480px;font-size:14px}.hero .eyebrow{color:#c7dbaa}.hero-art{display:flex;align-items:center;justify-content:center;background:#365b46;min-height:170px}.plate{width:143px;height:143px;border-radius:50%;background:#f7f1dc;border:12px solid #d6e0bf;box-shadow:0 0 0 1px #47664e,0 0 0 23px #365b46,0 0 0 24px #5a7551;position:relative;transform:rotate(-15deg)}.plate:before{content:"";position:absolute;left:14px;top:16px;width:43px;height:76px;background:#789b56;border-radius:80% 20% 70% 30%;box-shadow:40px 12px 0 -5px #d6a85e}.plate:after{content:"";position:absolute;right:12px;top:18px;width:28px;height:28px;border-radius:50%;background:#c8674c;box-shadow:-15px 15px 0 -3px #d57953}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.stat,.card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:21px}.stat strong{display:block;font-size:27px;margin:7px 0;letter-spacing:-.8px}.stat small{font-size:11px}.stat .label{font-size:12px;color:var(--muted)}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 15px}.section-title h2{margin:0}.section-title a{font-size:12px}.meal-card{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;margin-bottom:10px;background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:17px}.meal-icon{height:42px;width:42px;border-radius:12px;background:#f0ebdc;display:grid;place-items:center;color:#876e3f;font-size:19px}.meal-card .eyebrow{font-size:9px;margin-bottom:5px}.meal-card p{margin:6px 0 0;font-size:12px;color:var(--muted)}.badge{display:inline-block;background:#eaf0df;color:#466331;font-size:10px;font-weight:650;padding:5px 8px;border-radius:6px;white-space:nowrap}.badge.warn{background:#f5e9d7;color:#886020}.badge.private{background:#e7eceb;color:#516d64}.badge.error{background:#f6e0da;color:#984b3c}.card+.card{margin-top:17px}.empty{padding:25px;text-align:center;color:var(--muted);border:1px dashed #cdd5c5;border-radius:12px;font-size:14px;line-height:1.7}.empty button{margin-top:12px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap{display:grid;gap:14px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.actions button{font-size:12px}.weekbar{display:flex;align-items:center;gap:12px;margin-bottom:22px}.weekbar input{width:auto}.weekgrid{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:10px;overflow-x:auto;padding-bottom:14px}.daycol{background:#ecefe5;border-radius:12px;padding:12px;min-width:145px}.daycol.today{background:#e1ebcf}.dayname{font-size:12px;font-weight:700;margin-bottom:15px}.slot{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:12px;margin-bottom:9px;min-height:118px}.slot h3{font-size:13px;line-height:1.4}.slot button{font-size:10px;padding:7px;margin-top:8px}.slot .muted{font-size:11px}.slot.empty-slot{background:transparent;border-style:dashed;min-height:88px}.recipes{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.recipe-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.recipe-art{height:125px;background:#e7eddd;display:grid;place-items:center;font-family:Georgia,serif;color:#718757;font-size:49px}.recipe-art img{width:100%;height:100%;object-fit:cover}.recipe-copy{padding:20px}.recipe-copy p{font-size:12px;color:var(--muted)}.recipe-copy .actions{margin-top:14px}.notice{background:#e9eddc;padding:14px 17px;border-radius:10px;font-size:12px;line-height:1.7;margin-bottom:20px;color:#51633e}.notice.warn{background:#f3e8d6;color:#7a6034}label{display:grid;gap:6px;font-size:12px;font-weight:600}input,select,textarea{padding:11px 12px;border:1px solid #ccd5c7;border-radius:8px;background:white;color:#243e32;width:100%;min-width:0;font-weight:400}textarea{resize:vertical;min-height:105px}input[type=checkbox]{width:auto;accent-color:var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:8px;line-height:1.6}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;font-weight:600;padding:12px 9px;border-bottom:1px solid var(--line)}td{padding:15px 9px;border-bottom:1px solid #edf0e6}td button{font-size:11px;padding:8px 10px}td small{display:block;margin-top:5px;max-width:320px;line-height:1.5}dialog{border:1px solid var(--line);border-radius:17px;padding:27px;background:var(--paper);width:min(650px,94vw);max-height:90vh;color:#243e32}dialog::backdrop{background:#1834278a;backdrop-filter:blur(2px)}dialog h2{margin-bottom:22px}.dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.dialog-head button{background:#e8ecdf;color:#33513d;padding:5px 11px}.ingredient-line{display:grid;grid-template-columns:1fr 110px 37px;gap:8px;margin-bottom:9px}.ingredient-line button{padding:7px}.error-text{color:#a44134;font-size:13px;margin:12px 0;line-height:1.5}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--green);color:#fff;padding:12vh 8vw;display:flex;flex-direction:column;justify-content:center}.login-story .brand{font-size:50px}.login-story h1{font-family:Georgia,serif;font-size:55px;font-weight:normal;margin-top:60px;max-width:480px}.login-story p{color:#d2dfc9;max-width:420px}.login-form{padding:50px;display:flex;align-items:center;justify-content:center}.login-form form{max-width:340px;width:100%}.login-form label{margin:19px 0}.login-form button{width:100%;margin-top:10px}.loading{display:grid;place-items:center;height:100vh}.spark{width:100%;height:100px;margin:10px 0}.spark polyline{stroke:#668646;stroke-width:3;fill:none}.spark circle{fill:#668646}.history{max-height:330px;overflow:auto}.workout{padding:15px 0;border-bottom:1px solid var(--line)}.workout:last-child{border:0}.workout p{font-size:13px;margin:7px 0}.password-box{margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#233f33;color:white;border-radius:10px;padding:13px 20px;font-size:13px;box-shadow:0 5px 20px #0002;z-index:100;max-width:90vw;display:none}#toast.show{display:block}.subpreview{white-space:pre-wrap;line-height:1.6;font-size:13px;background:#eef1e8;padding:15px;border-radius:9px;margin:15px 0}.recipe-steps{white-space:pre-wrap;line-height:1.8;font-size:14px}.photo-preview{max-height:190px;width:100%;object-fit:cover;border-radius:10px}.mini-list{font-size:12px;line-height:1.7;padding-left:18px}.plain-list{list-style:none;padding:0;margin:0}.plain-list li{padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.top-space{margin-top:22px}.receipt{color:#6b7b64;font-size:12px;margin:7px 0}
@media(min-width:1400px){.main{padding:30px 55px}.weekgrid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1050px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:27px 15px}.main{padding:25px}.columns{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:17px}.hero-copy{padding:25px}.hero-art{overflow:hidden}.heading{align-items:flex-start}.heading>button{white-space:nowrap}.weekgrid{grid-template-columns:repeat(7,155px)}}
@media(max-width:650px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:17px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:26px}.tagline,.identity{display:none}nav{flex-direction:row;overflow:auto;margin-top:15px;gap:4px;padding-bottom:10px}nav a{padding:9px 11px;font-size:11px;white-space:nowrap;gap:6px}.navicon{font-size:14px;width:16px}.main{padding:18px 16px 35px}.topbar{padding-bottom:14px;margin-bottom:24px;font-size:10px}.heading{gap:10px;margin-bottom:20px}.heading h1{font-size:28px}.heading p{font-size:12px}.heading>button{font-size:11px;padding:10px}.hero{grid-template-columns:1fr 100px}.hero-copy{padding:22px 18px}.hero h2{font-size:25px}.hero p{font-size:12px;margin-bottom:0}.hero-art{min-height:155px}.plate{width:112px;height:112px;min-width:112px;left:23px}.stats{gap:8px;margin-bottom:24px}.stat{padding:13px 10px}.stat strong{font-size:23px}.stat .label{font-size:10px}.stat small{font-size:9px}.meal-card{grid-template-columns:34px 1fr;gap:10px;padding:15px}.meal-icon{width:34px;height:34px;font-size:16px}.meal-card>button{grid-column:2;justify-self:start;padding:8px 12px;font-size:11px}.meal-card h3{font-size:14px}.card{padding:18px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.login{display:block}.login-story{padding:35px 27px}.login-story .brand{font-size:30px}.login-story h1{font-size:32px;margin-top:27px;margin-bottom:12px}.login-story p{font-size:13px;margin-bottom:0}.login-form{padding:35px 25px}.login-form h2{font-size:21px}.weekbar{flex-wrap:wrap;gap:8px}.weekbar input{max-width:160px}.weekbar button{padding:9px 12px}.ingredient-line{grid-template-columns:1fr 80px 33px}dialog{padding:20px}.table-wrap{margin:0 -6px}th,td{padding:12px 7px}.row.wrap button{font-size:11px}.recipes{grid-template-columns:1fr}.section-title h2{font-size:19px}.badge{font-size:9px}}
