@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#243e39;background:#f4f6f2;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:#176b5b;color:white;padding:12px 18px;border-radius:9px;min-height:44px;font-weight:600}button:hover{filter:brightness(.94)}button.secondary{background:#edf2ed;color:#264c43}button:disabled{opacity:.45;cursor:default}input,select,textarea{padding:11px;border:1px solid #d8e1d9;border-radius:8px;background:white;color:#243e39;min-height:44px;max-width:100%}input[type=number]{width:95px}label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#61776c}h1,h2,h3{font-family:Manrope,system-ui;margin:0 0 12px}h1{font-size:29px}h2{font-size:21px}h3{font-size:17px}p{line-height:1.6}.muted{color:#78897e}.layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.side{background:#fff;border-right:1px solid #e3e9e1;padding:28px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-size:20px;font-weight:800;color:#176b5b;margin-bottom:36px}.brand small{display:block;font-size:11px;letter-spacing:2px;margin-top:7px;color:#94a59a}.logo{display:inline-grid;place-items:center;background:#e2f0e7;width:38px;height:38px;border-radius:12px;margin-right:8px}.nav{display:grid;gap:6px}.nav button{text-align:left;background:transparent;color:#6d8076;font-weight:500}.nav button.active{background:#e8f2eb;color:#176b5b}.profile{margin-top:auto;border-top:1px solid #e7ece5;padding-top:18px}.main{padding:30px 42px;max-width:1500px;width:100%;margin:auto}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;gap:20px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:11px;font-weight:700;color:#82958a;margin-bottom:8px}.row{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.spread{justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid #e0e7dc;border-radius:15px;padding:24px;margin-bottom:20px;box-shadow:0 3px 9px #203c2c03}.hero{background:#e6eee2;position:relative;border:0}.hero h2{font-size:25px}.metric{font-size:31px;font-weight:700}.tag{display:inline-block;border-radius:20px;padding:5px 10px;background:#e9f2e9;color:#31704d;font-size:12px}.tag.warn{background:#fff1da;color:#ac681a}.tag.done{background:#dcefe8;color:#176b5b}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#859489;padding:13px 10px;background:#f8faf6}td{padding:14px 10px;border-bottom:1px solid #edf0e9}td small{display:block;color:#88988c;margin-top:5px}.scroll{overflow-x:auto}.session{padding-top:20px}.session .num{font-size:11px;letter-spacing:1px;color:#9aab9d}.session button{width:100%;margin-top:15px}.session h3{margin-top:12px}.groups{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.groups label{flex:1}.groups input{width:100%}.requirements{font-size:13px}.requirements div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf0e9}.login{max-width:450px;margin:8vh auto}.login form{display:grid;gap:18px}.login input{width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243e39;color:white;border-radius:9px;padding:15px 25px;display:none;z-index:20;max-width:90vw}.danger{color:#b36b1c}.tabs{margin:18px 0;display:flex;gap:8px}.tabs button{background:white;color:#4d6859}.tabs button.active{background:#176b5b;color:white}textarea{width:100%;min-height:120px}.empty{text-align:center;padding:30px;color:#819387}a{color:#176b5b}.small{font-size:12px}.formstack{display:grid;gap:15px}.badge{background:#f4f7f0;border:1px solid #dce5d7;border-radius:8px;padding:10px}.actions{display:flex;gap:8px;flex-wrap:wrap}footer{font-size:12px;color:#8c9b8e;margin-top:30px} @media(max-width:1050px){.layout{grid-template-columns:200px 1fr}.main{padding:25px}.grid{grid-template-columns:1fr}.side{padding:24px 12px}}@media(max-width:650px){.layout{display:block}.side{height:auto;position:relative;padding:16px}.brand{margin-bottom:14px}.brand small{display:inline;margin-left:8px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap}.profile{display:none}.main{padding:20px 15px}.top{align-items:start;margin-bottom:20px}h1{font-size:25px}.card{padding:18px}.row{gap:10px}.groups input{width:100%}td,th{padding:10px 7px}.top .muted{display:none}}

.signin{display:block;text-align:center;background:#176b5b;color:white;padding:14px;border-radius:9px;text-decoration:none;font-weight:600;min-height:44px}

.package-row,.count-block,.shopping-row,.history-row{border-top:1px solid #e2e9dd;padding:20px 0}.package-row:first-child,.count-block:first-child,.shopping-row:first-child{border-top:0}.count-parts{display:grid;gap:12px;margin:10px 0 16px}.check-label{flex-direction:row;align-items:center;font-size:13px}.check-label input{width:22px;min-height:22px}.shopping-row small,.recommendation small{display:block;margin-top:6px}.negative-permission{padding:12px;background:#fff1da;border-radius:9px;margin-top:12px}.negative-permission input:not([type=checkbox]){width:100%;margin-top:10px}.package-row .row{align-items:end}.count-total{max-width:100%;white-space:normal}.count-block input[type=number]{width:130px}@media(max-width:650px){.count-block .row>label{flex:1;min-width:110px}.count-part select{width:100%}.package-row .row>label{width:100%}.shopping-row .row>label{width:100%}.shopping-row select{width:100%}.recommendation{width:100%}.count-block .count-loose{width:100%}.check-label{width:auto!important}}

.photo-wrap{position:relative;margin-bottom:16px}.record-photo,.photo-empty{width:100%;height:180px;border-radius:12px;object-fit:cover;background:#edf2ef}.photo-empty{display:flex;align-items:center;justify-content:center;color:#60746c;border:1px dashed #b9cbc2}.photo-control{margin-top:8px}.supply-photo{display:flex;align-items:center;gap:14px;min-width:230px}.photo-wrap.compact{width:96px;flex-shrink:0;margin:0}.compact .record-photo,.compact .photo-empty{height:72px;font-size:11px}.compact .photo-control{font-size:11px;padding:8px;width:100%}.meal-photo{width:100%;height:150px;object-fit:cover;border-radius:10px}.photo-dialog{border:0;border-radius:16px;padding:24px;max-width:460px;width:calc(100% - 32px)}.photo-dialog::backdrop{background:#18352d80}

.photo-default-label{position:absolute;top:8px;left:8px;padding:3px 6px;border-radius:5px;background:#fffdf3db;color:#50655b;font-size:10px}.compact .photo-default-label{top:4px;left:4px;font-size:8px}
