:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:#202124;background:#f5f5f7;font-synthesis:none;--red:#c8272d;--muted:#74747c;--border:#e9e9ee}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{border:1px solid #dedee4;background:#fff;color:#303037;border-radius:12px;padding:12px 17px;min-height:44px;cursor:pointer;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#f2f2f5}button:disabled{opacity:.45;cursor:not-allowed}button.primary,#loginBtn,#saveStock,#saveRecipe,#prepare,#savePack,#recordSale,#saveCost{color:#fff;background:var(--red);border-color:var(--red)}button.primary:hover,#loginBtn:hover{background:#a51f25}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}:focus-visible{outline:3px solid #ca7f85;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{max-width:100%}.shell{max-width:1320px;margin:auto;padding:0 36px}.review{font-size:11px;text-align:center;padding:7px;color:#7b7b83;border-bottom:1px solid var(--border);background:#fafafa}.header{background:#ffffffec;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10;backdrop-filter:blur(20px)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:90px}.brand{display:flex;gap:12px;align-items:center}.brand img{height:52px;width:52px;object-fit:contain}.brand span{font-size:19px;font-weight:700;letter-spacing:-.6px}.brand small{display:block;font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-top:5px}.nav{display:flex;padding:5px;background:#f1f1f4;border-radius:14px;gap:4px}.nav button{border:0;background:transparent;color:#71717a;font-size:13px;min-height:40px;padding:10px 17px}.nav button.active{background:white;box-shadow:0 2px 6px #18182b0b;color:#202124}.session{display:flex;gap:14px;align-items:center;font-size:13px}.session-label{text-transform:capitalize}.session-label svg{width:13px;vertical-align:middle;margin-right:5px}.logout{font-size:12px;min-height:36px;padding:8px 12px}.hidden,[hidden]{display:none!important}body:not(.signed-in) .nav,body:not(.signed-in) .session{display:none}.login-card{max-width:420px;margin:65px auto!important;padding:34px!important;text-align:center}.login-logo{width:82px;height:82px;object-fit:contain;margin-bottom:16px}.eyebrow{color:var(--muted);font-size:10px;letter-spacing:1.6px;font-weight:650;margin:0 0 12px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font-size:44px;line-height:1.06;letter-spacing:-1.9px;font-weight:700;margin-bottom:14px}h2{font-size:22px;letter-spacing:-.7px;line-height:1.25;margin-bottom:14px}p{font-size:14px;line-height:1.65;color:var(--muted)}.login-card h1{font-size:30px;letter-spacing:-1px}.login-card>p:not(.eyebrow){font-size:13px}.login-card form{text-align:left;margin:25px 0 20px}.login-card label{margin:15px 0}.login-card button{width:100%;margin-top:8px}.back-link{font-size:12px;color:#6d6d76}.card,.weekly-card,.action-card,.snapshot{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:0 4px 18px #14141c03}.card{margin:22px 0;padding:28px}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:42px 0 30px;gap:20px}.page-heading p:last-child{margin-bottom:0}.house-link{font-size:10px;letter-spacing:1px;display:flex;gap:12px;align-items:center;color:#67676f}.house-link svg{width:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.section-heading h2{font-size:18px;margin:0}.section-heading>span{font-size:12px;color:var(--muted)}.weekly-section{margin-bottom:24px}.weekly-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:18px}.weekly-card{padding:24px 26px;min-width:0}.weekly-value{font-size:36px;letter-spacing:-1.4px;font-weight:650;display:block;line-height:1.2;margin:8px 0}.weekly-card .muted{font-size:12px;margin:10px 0 0}.weekly-card .eyebrow{margin:0}.quiet{font-size:11px;padding:6px 10px;min-height:32px;color:var(--red);border:0;background:#fcf1f2}.chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin:22px 0 14px}.chart-day{text-align:center;min-width:0}.chart-day>span{font-size:11px;font-variant-numeric:tabular-nums;display:block;min-height:28px;color:#595961;overflow-wrap:anywhere}.chart-day small{font-size:10px;color:var(--muted);display:block;margin-top:8px}.bar-track{height:76px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #eeeef2}.order-bar,.profit-bar{width:60%;max-width:36px;background:#202124;border-radius:6px 6px 0 0;min-height:2px}.profit .profit-bar{background:#2e9960}.loss .profit-bar{background:#d54a54}.break-even .profit-bar{background:#82848b}.incomplete .profit-bar{background:repeating-linear-gradient(135deg,#eeeef2,#eeeef2 4px,#f9f9fb 4px,#f9f9fb 8px)}.future .profit-bar{display:none}.profit-chart .chart-day>span{font-size:9px;min-height:34px}.chart-note{font-size:10px;line-height:1.6;margin:0;color:#8b8b94}.good{color:#22834e!important}.bad{color:#b52e3b!important}.stock-overview{display:grid;grid-template-columns:1.05fr 1fr;gap:18px;margin-bottom:34px}.action-card,.snapshot{padding:26px}.action-card h2{font-size:30px;letter-spacing:-1px}.action-card p{font-size:13px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.hero-actions button{display:flex;align-items:center;gap:9px;font-size:12px}.hero-actions svg{width:17px}.snapshot-title{display:flex;align-items:center;justify-content:space-between}.snapshot-title h2{font-size:16px;margin:0}.snapshot-title>span{color:#27804b;background:#eef8f0;padding:5px 8px;border-radius:20px;font-size:9px;letter-spacing:.5px}.snapshot-note{font-size:11px;margin:8px 0 12px}.snapshot-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #f0f0f4;font-size:12px}.snapshot-row strong{font-weight:600}.snapshot-row small{font-size:10px;color:#96969f;display:block;margin-top:3px}.snapshot-value{text-align:right;font-variant-numeric:tabular-nums}.snapshot-count{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:14px}.snapshot-count b{font-weight:500}.inventory-title{display:flex;justify-content:space-between;align-items:center}.inventory-title h2{font-size:24px;margin:0}.inventory-title p{display:flex;gap:7px;align-items:center;font-size:11px;margin:0}.inventory-title svg{width:14px}.inventory-tools{display:flex;justify-content:flex-end;margin-top:8px;margin-bottom:16px}#retry,#resetDemo{font-size:10px;padding:6px 10px;min-height:30px;margin-left:8px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:15px}.search{display:flex;gap:10px;align-items:center;background:white;border:1px solid var(--border);border-radius:12px;padding:0 14px;flex:1;min-width:210px;margin:0}.search svg{width:17px;color:#8a8a93}.search input{border:0;background:none;padding:12px 0;min-height:44px;min-width:0}.categories{display:flex;gap:3px;background:#eaeaf0;padding:4px;border-radius:12px}.categories button{border:0;background:none;font-size:11px;min-height:36px;padding:8px 12px}.categories button.active{background:white;box-shadow:0 2px 4px #00000008}.low-filter{font-size:11px;display:flex;gap:6px;align-items:center}.low-filter svg{width:14px;color:#b17b21}.low-filter.active{background:#fff4de;border-color:#edd5a6}#resultCount{font-size:11px;margin-bottom:12px}.desktop-table{background:white;border:1px solid var(--border);border-radius:18px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;font-weight:600;color:#878791;padding:17px 15px;border-bottom:1px solid var(--border);white-space:nowrap}td{font-size:12px;padding:16px 15px;border-bottom:1px solid #f0f0f5;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}.sub{display:block;font-size:10px;color:#9999a1;margin-top:5px}.item{font-size:12px;font-weight:600}.stock-status{font-size:10px;border-radius:20px;padding:5px 8px;background:#f3f3f6;color:#80808b;display:inline-block;white-space:nowrap}.stock-status.ok{color:#2a774c;background:#eff8f0}.stock-status.low{color:#92691e;background:#fff7e5}.stock-status.out{color:#b43a48;background:#fdf0f2}.row-count{min-height:36px;padding:8px 12px;font-size:11px;border-color:#e7e7ee}.inventory-note{font-size:11px;margin:15px 0 0}.advanced{margin:26px 0 34px;border-top:1px solid var(--border);padding-top:18px}.advanced>summary{font-size:12px;color:#74747d;cursor:pointer;min-height:44px;padding:12px 0}.muted{color:var(--muted)}.row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.row label{flex:1;min-width:120px}label{display:block;font-size:12px;color:#555560;font-weight:500}input,select{display:block;background:#fafafb;border:1px solid #e2e2e9;border-radius:10px;color:#303038;padding:12px 13px;min-height:44px;max-width:100%;width:100%;margin-top:8px;font-size:14px}input:disabled{background:#eeeef2}.card p{max-width:780px}.card label{margin-bottom:4px}.card .status{margin:14px 0 0}.notes{padding:16px;background:#f6f6f9;border-radius:12px;margin:18px 0;font-size:12px;line-height:1.7}.recipe-row{display:grid;grid-template-columns:minmax(130px,1fr) 90px 100px 44px;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}.recipe-row input{margin:0}.recipe-row button{padding:8px;font-size:18px}.recipe-row span{font-size:11px;color:var(--muted)}.badge{font-size:11px;color:#518064;align-self:center}.pending{color:#ad7820}.sale-line{border-bottom:1px solid var(--border);padding:14px 0;margin-bottom:14px}.table-wrap{overflow:auto}.table-wrap th,.table-wrap td{white-space:normal}.summary{display:flex;gap:40px;margin:25px 0}.summary b{display:block;font-size:20px;margin-bottom:6px}.summary span{font-size:12px;color:var(--muted)}.status,#notice,#weekStatus,#loginStatus{font-size:12px;line-height:1.6}.error{color:#b52e3b!important}#notice:not(:empty){background:#fff;border:1px solid var(--border);padding:14px 18px;border-radius:12px;margin:20px 0}#emptyStock{padding:35px;border:1px dashed #d4d4de;border-radius:18px;color:var(--muted);font-size:13px}.foot{border-top:1px solid var(--border);padding:24px 0 34px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.6px;color:#8a8a94}.mobile-rows{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{border:1px solid var(--border);border-radius:22px;padding:28px;width:min(520px,calc(100vw - 28px));max-height:90dvh;overflow:auto;color:#202124;background:white;box-shadow:0 25px 100px #0002}dialog::backdrop{background:#17171c66;backdrop-filter:blur(6px)}dialog .row{display:grid;grid-template-columns:1fr}dialog label{width:100%;margin:16px 0}dialog h2{padding-right:30px;font-size:24px}#closeStock,.dialog-close{float:right;width:36px;padding:0;font-size:22px;min-height:36px;border:0;background:#f3f3f6;border-radius:50%}#dialogMode{font-size:10px;color:#8c8c96}#stockHelp{font-size:12px}.privacy-copy{font-size:11px;max-height:38dvh;overflow:auto;padding:16px;background:#f6f6f9;border-radius:12px}.privacy-copy p{font-size:11px;color:#6b6b75}.privacy-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6}.privacy-check input{width:18px;min-height:18px;flex-shrink:0;margin:2px 0}.form-help{font-size:11px}.form-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.form-actions button{font-size:12px}#costForm>button{width:100%}#costDialog>p{font-size:12px}
@media(min-width:1100px){.desktop-table table{table-layout:fixed}th:first-child{width:21%}th:nth-child(2),th:nth-child(3){width:14%}th:nth-child(4){width:12%}th:nth-child(5){width:15%}th:nth-child(6){width:15%}th:last-child{width:9%}.snapshot-row{padding:8px 0}}
@media(max-width:900px){.shell{padding:0 22px}.header-inner{gap:16px}.nav button{padding:10px 12px}.session-label{display:none}.stock-overview{grid-template-columns:1fr 1fr}.chart{gap:8px}.weekly-card{padding:22px}}
@media(max-width:650px){.shell{padding:0 18px}.review{font-size:10px;padding:6px}.header-inner{display:grid;grid-template-columns:1fr auto;gap:12px;min-height:0;padding-top:12px;padding-bottom:12px}.brand img{width:42px;height:42px}.brand span{font-size:17px}.brand small{font-size:8px}.nav{grid-column:1/-1;grid-row:2;justify-content:stretch}.nav button{flex:1;font-size:12px;padding:10px}.session{grid-column:2;grid-row:1}.logout{font-size:11px}.login-card{margin:35px auto!important;padding:28px!important}.page-heading{padding:28px 0 24px;display:block}.page-heading h1{font-size:34px;letter-spacing:-1.3px}.page-heading p:last-child{font-size:12px}.house-link{margin-top:15px;font-size:9px}.weekly-grid{grid-template-columns:1fr}.weekly-card{padding:22px}.weekly-value{font-size:32px}.chart{gap:7px}.chart-day>span{font-size:10px}.profit-chart .chart-day>span{font-size:8px}.stock-overview{grid-template-columns:1fr;margin-bottom:28px}.action-card{padding:24px}.action-card h2{font-size:27px}.action-card h2 br{display:none}.action-card>p:not(.eyebrow){font-size:12px}.action-card>p br{display:none}.hero-actions{margin-top:18px;gap:8px}.hero-actions button{flex:1;justify-content:center;padding:12px 8px}.snapshot{padding:22px}.snapshot-row{padding:10px 0}.snapshot-value{font-size:12px}.inventory-title h2{font-size:22px}.inventory-title p{font-size:10px;max-width:160px}.inventory-tools{margin-bottom:12px}.toolbar{gap:10px}.search{flex-basis:100%}.categories{flex:1}.categories button{flex:1;font-size:10px;padding:8px 9px}.low-filter{font-size:10px;padding:10px}.desktop-table{display:none}.mobile-rows{display:grid;gap:12px}.mobile-row{background:#fff;border:1px solid var(--border);border-radius:17px;padding:19px}.mobile-top{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:14px}.mobile-top b{font-weight:600}.mobile-top .stock-status{font-size:9px;white-space:normal;text-align:right}.mobile-values{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 0 12px}.mobile-values small{display:block;color:#95959f;font-size:10px;margin-bottom:6px}.mobile-values span{font-size:14px;font-weight:500}.mobile-meta{font-size:10px;color:#9b9ba4;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.mobile-row .row-count{width:100%;margin-top:15px;font-size:11px;background:#f8f8fa}.card{padding:22px;margin:18px 0}.card h2{font-size:21px}.card p{font-size:12px}.row{gap:12px}.row label{min-width:100%;flex-basis:100%}.row>button{flex:1}.recipe-row{grid-template-columns:minmax(85px,1fr) 62px 64px 36px;gap:8px}.recipe-row label{font-size:11px}.recipe-row input{padding:10px 6px;font-size:13px}.recipe-row button{min-height:36px;width:36px}.recipe-row span{font-size:10px}.summary{gap:20px}.summary b{font-size:19px}.foot{font-size:8px;gap:15px}.table-wrap th,.table-wrap td{padding:12px 8px;font-size:10px}dialog{padding:22px}.form-actions{justify-content:stretch}.form-actions button{flex:1;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){#view-stock{display:flex;flex-direction:column}.page-heading{order:1}.stock-overview{order:2}.weekly-section{order:3}section[aria-labelledby="inventory-title"]{order:4}.advanced{order:5}.stock-overview .snapshot{padding:17px 22px}.stock-overview #snapshotRows{display:none}.stock-overview .snapshot-note{margin-bottom:0}.stock-overview .snapshot-count{margin-top:9px}}
