@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap";:root,[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--grey-1:#fafafa;--grey-2:#f0f0f0;--grey-3:#e4e4e4;--grey-4:#d1d1d1;--grey-5:#b0b0b0;--grey-6:#8a8a8a;--grey-7:#6b6b6b;--grey-8:#4a4a4a;--grey-9:#2e2e2e;--grey-10:#1a1a1a;--muted:#a8a8a8;--line:#3d3d3d;--shadow:0 8px 24px #00000047}[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--grey-1:#1a1a1a;--grey-2:#2e2e2e;--grey-3:#4a4a4a;--grey-4:#6b6b6b;--grey-5:#8a8a8a;--grey-6:#b0b0b0;--grey-7:#d1d1d1;--grey-8:#e4e4e4;--grey-9:#f0f0f0;--grey-10:#fafafa;--muted:#5f5f5f;--line:#dcdcdc;--shadow:0 8px 24px #00000014}:root{--accent:#e8873d;--accent-hover:#f09a58;--accent-tint:#e8873d38;--on-accent:#1d1308;--danger:#dc3c34;--radius:6px;--radius-sm:8px}*{scrollbar-width:thin;scrollbar-color:var(--grey-6) transparent;font-family:Inter,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{background-color:var(--grey-10);color:var(--grey-1);margin:0;padding:0}h1,h2,h3,h4,h5,h6{color:var(--grey-1);margin:0;font-family:Space Grotesk,system-ui,sans-serif}p{color:var(--muted);margin:0}button{font:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:var(--accent-tint)}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background-color:var(--grey-6);border-radius:999px}::-webkit-scrollbar-thumb:hover{background-color:var(--grey-5)}.content{justify-content:center;align-items:center;width:100%;min-height:100dvh;padding:24px;display:flex}.container{gap:20px;width:min(1100px,100%);height:min(860px,100dvh - 48px);display:flex}.left-panel{background-color:var(--grey-9);border:1px solid var(--line);border-radius:var(--radius);min-width:0;height:100%;box-shadow:var(--shadow);flex-direction:column;flex:1 1 0;padding:20px;display:flex}.right-panel{flex-direction:column;flex:1 1 0;gap:16px;min-width:0;height:100%;display:flex}.left-panel h3{color:var(--muted);font-size:16px;font-weight:500}#result-count{color:var(--grey-1);font-weight:700}.left-panel input[type=text]{width:100%;height:44px;color:var(--grey-1);background-color:var(--grey-10);border:1px solid var(--line);border-radius:var(--radius-sm);background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");background-position:13px;background-repeat:no-repeat;outline:none;margin:10px 0 14px;padding:0 12px 0 40px;font-size:15px;transition:border-color .15s,box-shadow .15s}.left-panel input[type=text]::placeholder{color:var(--grey-6);font-size:15px}.left-panel input[type=text]:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}.listing{flex-direction:column;flex:1;gap:2px;width:100%;min-height:0;padding-right:4px;display:flex;overflow-y:auto}.element{border-radius:var(--radius-sm);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 12px;transition:background-color .15s;display:flex}.element:hover{background-color:var(--grey-8);cursor:pointer}.info{flex-direction:column;gap:2px;min-width:0;display:flex}.info h4{font-size:14px;font-weight:500;line-height:1.3}.info p{font-size:12.5px}.button{flex:none;justify-content:center;align-items:center;display:flex}.button button{width:60px;height:30px;color:var(--grey-1);background-color:var(--grey-8);border:1px solid var(--line);border-radius:6px;justify-content:center;align-items:center;font-size:13px;font-weight:500;transition:background-color .15s,color .15s,border-color .15s;display:flex}.element:hover .button button,.button button:hover{cursor:pointer;color:var(--on-accent);background-color:var(--accent);border-color:var(--accent)}.button button:hover{background-color:var(--accent-hover)}.page-buttons{background-color:var(--grey-9);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:auto;padding-top:12px;display:flex;position:sticky;bottom:0}.page-buttons p{text-align:center;font-size:13px}.page-buttons button{width:100px;height:36px;color:var(--grey-1);border:1px solid var(--grey-7);background-color:#0000;border-radius:6px;font-size:14px;font-weight:500;transition:border-color .15s,background-color .15s}.page-buttons button:hover{cursor:pointer;border-color:var(--accent);background-color:var(--accent-tint)}.top-panel{background-color:var(--grey-9);border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:0;box-shadow:var(--shadow);flex-direction:column;flex:1;padding:18px 20px;display:flex}.top-panel h2{color:var(--muted);align-items:baseline;gap:8px;font-size:15px;font-weight:500;display:flex}.top-panel span{letter-spacing:-.02em;color:var(--grey-1);font-variant-numeric:tabular-nums;font-size:44px;font-weight:700;line-height:1}#total:after{content:" g";letter-spacing:0;color:var(--muted);font-size:16px;font-weight:500}.bar-track{background-color:var(--grey-8);border-radius:999px;width:100%;height:8px;margin:14px 0;overflow:hidden}.bar-fill{background-color:var(--accent);border-radius:999px;width:0%;height:100%;transition:width .4s}.cart{background-color:var(--grey-10);border:1px solid var(--line);border-radius:var(--radius-sm);flex:1;width:100%;min-height:0;overflow-y:auto}.cart:empty{text-align:center;color:var(--muted);justify-content:center;align-items:center;padding:20px;font-size:14px;display:flex}.cart:empty:before{content:"Your cart is empty. Pick a food from the list to start."}.item{justify-content:space-between;align-items:center;gap:10px;width:100%;padding:10px 14px;transition:background-color .15s;display:flex}.item+.item{border-top:1px solid var(--line)}.item:hover{background-color:var(--grey-9)}.item .info h4{font-size:14px}.remove{flex:none;align-items:center;gap:8px;display:flex}.remove p{font-size:13px}.item button{background-color:var(--grey-6);border:0;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;transition:background-color .15s;display:grid}.item button:hover{cursor:pointer;background-color:var(--danger)}input[type=number]{text-align:right;font-variant-numeric:tabular-nums;width:90px;height:34px;color:var(--grey-1);background-color:var(--grey-10);border:1px solid var(--line);border-radius:6px;outline:none;padding:0 10px;transition:border-color .15s,box-shadow .15s}input[type=number]:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}.carbs-input{width:76px}.carbs-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.carbs-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input::placeholder{font-size:12px}.bottom-panel{background-color:var(--grey-9);border:1px solid var(--line);border-radius:var(--radius);width:100%;box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:18px 20px;display:flex}.additionnal-info{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.additionnal-info h4{color:var(--grey-2);font-size:14px;font-weight:500}.bottom-panel button{width:100%;height:44px;color:var(--on-accent);background-color:var(--accent);border-radius:var(--radius-sm);border:0;margin-top:8px;font-size:15px;font-weight:600;transition:background-color .15s,transform .15s}.bottom-panel button:hover{cursor:pointer;background-color:var(--accent-hover)}.bottom-panel button:active{transform:translateY(1px)}.result-panel{background-color:var(--grey-9);border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:96px;box-shadow:var(--shadow);align-items:center;padding:18px 20px;display:flex;position:relative;overflow:hidden}.result{align-items:baseline;gap:10px;width:100%;display:flex}#result{letter-spacing:-.02em;color:var(--grey-1);font-variant-numeric:tabular-nums;font-family:Space Grotesk,system-ui,sans-serif;font-size:44px;font-weight:700;line-height:1}.result h3{color:var(--muted);font-size:15px;font-weight:500}.overlay,.overlay-disabled{border-radius:var(--radius);width:100%;height:100%;transition:opacity .4s;position:absolute;inset:0}.overlay{opacity:1;background-color:var(--grey-9);background-color:color-mix(in srgb, var(--grey-9) 72%, transparent);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.overlay-disabled{opacity:0;pointer-events:none}.message,.message-disabled{z-index:10;background-color:var(--accent);border-radius:999px;width:fit-content;height:fit-content;padding:9px 16px;transition:opacity .2s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.message h4,.message-disabled h4{white-space:nowrap;color:var(--on-accent);font-size:14px;font-weight:600}.message-disabled{opacity:0;pointer-events:none}.alert-module{z-index:11;background-color:var(--danger);border-radius:var(--radius-sm);width:max-content;max-width:min(420px,100vw - 32px);box-shadow:var(--shadow);opacity:0;pointer-events:none;flex-direction:column;gap:4px;padding:14px 18px;transition:opacity .3s,top .3s,transform .3s;display:flex;position:fixed;top:100%;left:50%;transform:translate(-50%)}.alert-module.show{opacity:1;top:calc(100% - 24px);transform:translate(-50%,-100%)}.alert-module h2{color:#fff;font-size:15px}.alert-module p{color:#fff;font-size:13px}.theme-button{z-index:20;background-color:var(--grey-1);width:42px;height:42px;box-shadow:var(--shadow);background-position:50%;background-repeat:no-repeat;background-size:55%;border:0;border-radius:50%;transition:background-color .2s,transform .2s;position:fixed;top:16px;right:16px}[data-theme=dark] .theme-button,:root:not([data-theme=light]) .theme-button{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='5'/><line x1='12' y1='1' x2='12' y2='3'/><line x1='12' y1='21' x2='12' y2='23'/><line x1='4.22' y1='4.22' x2='5.64' y2='5.64'/><line x1='18.36' y1='18.36' x2='19.78' y2='19.78'/><line x1='1' y1='12' x2='3' y2='12'/><line x1='21' y1='12' x2='23' y2='12'/><line x1='4.22' y1='19.78' x2='5.64' y2='18.36'/><line x1='18.36' y1='5.64' x2='19.78' y2='4.22'/></svg>")}[data-theme=light] .theme-button{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fafafa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/></svg>")}.theme-button:hover{cursor:pointer;background-color:var(--grey-3);transform:scale(1.06)}@media (width<=1240px){.content{align-items:flex-start;padding-top:72px}.container{height:calc(100dvh - 96px)}}@media (width<=880px){.content{padding:64px 14px 24px}.container{flex-direction:column;gap:16px;height:auto}.left-panel{height:70dvh;min-height:420px}.right-panel{height:auto}.top-panel{flex:none}.cart{flex:none;height:260px}.theme-button{width:40px;height:40px;top:12px;right:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
