:root{--ink:#1e2d2f;--muted:#657575;--line:#e4e9e7;--canvas:#f4f6f5;--green:#44895d;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.5 Inter,system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:11px 16px;background:var(--ink);color:white;font-weight:600}button.secondary{background:#edf1ef;color:var(--ink)}button.ghost{background:transparent;color:var(--muted);padding:9px}button:hover{filter:brightness(.95)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #78ab91;outline-offset:2px}input,select,textarea{border:1px solid #ccd5d1;border-radius:9px;padding:10px;background:white;color:var(--ink);max-width:100%;width:100%}input[type=checkbox]{width:auto;accent-color:var(--ink)}label{display:grid;gap:5px;font-size:13px;font-weight:600}textarea{min-height:90px}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.3px;line-height:1.2}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:16px}small,.muted{color:var(--muted)}.shell{min-height:100vh;display:grid;grid-template-columns:235px 1fr}.sidebar{background:white;border-right:1px solid var(--line);padding:27px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:8px}.brand{font-size:34px;font-weight:850;letter-spacing:-2px;margin:0 12px 24px}.eyebrow{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:700;color:var(--muted)}.nav{display:flex;align-items:center;gap:12px;background:transparent;color:var(--muted);text-align:left;width:100%;font-weight:500}.nav.active{background:#e5efea;color:var(--ink);font-weight:700}.nav svg{width:20px;height:20px;flex:none}.sidebottom{margin-top:auto}.main{min-width:0}.topbar{height:70px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:12px}.topbar .right{display:flex;gap:10px;align-items:center}.topbar select{width:auto}.content{max-width:1240px;margin:auto;padding:32px;display:grid;gap:22px}.heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:21px;min-width:0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:8px}.stack{display:grid;gap:12px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.line{padding:13px 0;border-bottom:1px solid var(--line)}.line:last-child{border-bottom:0}.avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#e3eee8;font-weight:700;color:#35654a}.pill{display:inline-block;background:#e8f2eb;color:#306745;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:650}.hero{background:linear-gradient(115deg,#203335,#365b50);color:white;border-radius:18px;padding:30px;min-height:175px;display:grid;align-content:space-between;gap:16px}.hero .muted{color:#d5e4dc}.hero button{background:white;color:var(--ink);justify-self:start}.tabs{display:flex;gap:8px;overflow:auto;padding-bottom:3px}.tabs button{white-space:nowrap}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.week button{padding:10px 3px}.bar{height:8px;border-radius:9px;background:#e5ece8;overflow:hidden}.bar i{display:block;height:100%;background:var(--green)}.macro{display:flex;height:9px;border-radius:10px;overflow:hidden;margin:12px 0}.macro i:nth-child(1){background:#e5b341}.macro i:nth-child(2){background:#8186dc}.macro i:nth-child(3){background:#b579ab}.chart{width:100%;height:160px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px 9px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:12px;color:var(--muted);font-weight:600}.chat{display:grid;gap:10px;min-height:210px;align-content:start}.bubble{max-width:82%;background:#edf1ef;border-radius:14px;padding:12px;justify-self:start;white-space:pre-wrap}.bubble.mine{background:#dcebf9;justify-self:end}.composer{display:flex;gap:8px}.recipecover{height:95px;border-radius:12px;background:linear-gradient(130deg,#dce8df,#a9c2ad);display:grid;place-items:center;font-size:32px;color:#365b50}.setrow{display:grid;grid-template-columns:35px 1fr 1fr 45px;gap:9px;align-items:center}.setrow.done{background:#e7f3e9;border-radius:8px}.setrow input{min-width:0}.timer{position:sticky;bottom:10px;background:var(--ink);color:white;padding:13px;border-radius:12px;z-index:2}.photo{width:100%;max-height:300px;object-fit:contain;background:#edf1ef;border-radius:10px}.mobilebar{display:none}dialog{border:0;border-radius:18px;width:min(600px,calc(100% - 24px));max-height:90vh;padding:24px;color:var(--ink);overflow:auto}dialog::backdrop{background:#14252288}#toast{position:fixed;bottom:20px;right:20px;background:#203335;color:white;border-radius:12px;padding:12px 20px;display:none;z-index:10}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.danger{color:#a03939!important}.clientview .content{max-width:960px}.clientview .sidebar{width:235px}.empty{padding:20px;text-align:center;color:var(--muted);border:1px dashed #cbd6d0;border-radius:12px}.spacer{flex:1}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:0 15px;height:62px}.content{padding:20px 15px 95px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);z-index:5;justify-content:space-around;padding:5px 2px env(safe-area-inset-bottom,5px);overflow:auto}.mobilebar .nav{display:grid;justify-items:center;gap:2px;font-size:10px;padding:8px 5px;width:auto;min-width:60px}.metrics{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.heading{align-items:flex-start}h1{font-size:27px}.hero{padding:22px}.topbar .eyebrow{display:none}.timer{bottom:72px}.card{padding:16px}}@media(max-width:430px){.formgrid{grid-template-columns:1fr}.topbar button{font-size:12px;padding:9px}.topbar select{max-width:120px;font-size:12px}.metric strong{font-size:25px}}
.cover-image{width:100%;height:180px;object-fit:cover;border-radius:12px;display:block}.avatar-img{object-fit:cover;width:42px;height:42px}.dropzone{border:2px dashed #9caeaa;background:#f4f7f5;padding:25px;border-radius:12px;text-align:center;cursor:pointer}.dropzone input{margin-top:12px}.brand-preview{color:white;border-radius:14px;padding:24px;display:grid;align-content:center;gap:12px}.brand-preview img,.logo{max-width:160px;max-height:70px;object-fit:contain}.asset{display:flex;align-items:center;gap:14px}.asset .cover-image,.asset .recipecover{width:76px;height:58px;min-height:0;flex:none}.asset .recipecover small{display:none}.compare{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:#eee}.compare img{position:absolute;width:100%;height:100%;object-fit:contain}.recipecover small{font-size:12px}
