:root{--bg:#faf9f3;--muted:#5e6e62;--line:#e4e6db}main{max-width:900px}.simple-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:5px 0 30px}.simple-welcome h1{font-size:38px;margin-bottom:8px}.simple-welcome h1 span{font-size:24px;color:#bd8b45}.simple-welcome .eyebrow{letter-spacing:1px}.simple-welcome .subtitle{font-size:19px}.listen{border:1px solid #d9dfd2;background:#fffef9;color:var(--green);padding:11px 15px;border-radius:30px;font-size:14px;min-height:48px;white-space:nowrap;flex-shrink:0;font-weight:600}.listen:hover{background:#eaf0e5}.big-actions{display:grid;gap:15px}.big-action{display:flex;align-items:center;gap:23px;width:100%;border:1px solid transparent;border-radius:22px;text-align:left;padding:23px 27px;min-height:126px;transition:transform .15s,box-shadow .15s}.big-action:hover{transform:translateY(-2px);box-shadow:0 8px 25px #1e3a3010}.big-action strong{font-size:28px;display:block;font-weight:600;line-height:1.4}.big-action small{font-size:15px;display:block;margin-top:7px}.big-icon{width:74px;height:74px;flex-shrink:0;display:grid;place-items:center;font-size:42px;border-radius:20px}.big-arrow{margin-left:auto;font-size:26px}.incoming{background:#236044;color:#fff}.incoming small{color:#e3ecd9}.incoming .big-icon{background:#ffffff20}.outgoing{background:#fbedd9;border-color:#ecd6b9;color:#7d4b1d}.outgoing .big-icon{background:#f1dcc0}.outgoing small{color:#8b6441}.remaining{background:#eaf0e7;border-color:#d9e2d5;color:#2d5343}.remaining .big-icon{background:#d9e4d1}.remaining small{color:#546a55}.low-reminder{display:flex;align-items:center;gap:12px;width:100%;margin:20px 0 0;padding:17px 20px;border:1px solid #e6d5af;border-radius:14px;background:#fff6e4;color:#815b1e;text-align:left;font-size:15px;min-height:56px}.low-reminder span:last-child{margin-left:auto}.quiet-footer{font-size:12px;color:var(--muted);text-align:center;margin:27px 0 0}.start-tip{display:flex;gap:14px;align-items:center;background:#f0f1e9;border:1px dashed #d1d9c8;border-radius:16px;padding:17px 21px;margin-top:24px}.start-tip>span{font-size:25px}.start-tip p{font-size:14px;margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-tile{border:1px solid var(--line);background:#fffefb;padding:18px 12px 16px;border-radius:18px;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0;transition:border-color .15s}.product-tile:hover{border-color:#759477;background:#f3f6ec}.product-tile strong{font-size:17px;font-weight:600;overflow-wrap:anywhere;max-width:100%;line-height:1.5}.tile-picture{display:grid;place-items:center;height:82px;width:90px;border-radius:16px;background:#f5f2e9;font-size:46px;overflow:hidden}.tile-picture img{width:100%;height:100%;object-fit:cover}.tile-balance{font-size:14px;color:#4c6753;line-height:1.6}.tile-balance.is-low{color:#8f5b21;background:#fff1d9;border-radius:8px;padding:1px 7px}.home-products{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid>.empty{grid-column:1/-1}nav .nav-menu{display:flex;align-items:center;flex-direction:column;gap:3px;flex:1;padding:9px 4px;color:#718073;border:0;background:transparent;border-radius:13px}nav .nav-menu span{font-size:22px;line-height:1.2}nav .nav-menu b{font-size:12px;font-weight:500}nav .nav-menu.active{background:var(--soft);color:var(--green)}nav a b{font-size:12px}nav{width:360px}dialog{width:520px;background:#fffef9}.dialog-head{gap:10px}.dialog-head h2{font-size:21px;flex:1}.dialog-head .close{flex-shrink:0}.dialog-listen{font-size:12px;padding:9px 12px;min-height:44px}.step-label{display:flex;justify-content:space-between;gap:8px;color:#52745b;font-weight:600;font-size:12px;border-top:1px solid var(--line);padding-top:17px;margin-bottom:20px}.step-label span{color:var(--muted);font-weight:400}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:40dvh;overflow:auto;padding:2px}.picker-grid .tile-picture{height:64px;width:72px;font-size:36px}.picker-grid .product-tile{padding:12px;gap:7px}.menu-links{display:grid;gap:12px}.menu-links a{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:20px 16px;border-radius:14px;min-height:92px}.menu-links a>span{font-size:26px}.menu-links a>span:last-child{margin-left:auto;font-size:20px}.menu-links strong{display:block;font-size:18px}.menu-links small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.menu-stats{display:flex;justify-content:space-around;padding:22px 0 0;text-align:center}.menu-stats span{font-size:12px;color:var(--muted)}.menu-stats strong{display:block;font-size:26px;color:var(--ink);margin-bottom:3px;font-weight:500}.chosen-product{display:flex;align-items:center;gap:13px;border-radius:14px;background:#f0f3e9;padding:14px;margin-bottom:26px}.chosen-picture{height:60px;width:60px;flex-shrink:0;font-size:34px;display:grid;place-items:center;overflow:hidden;border-radius:10px}.chosen-picture img{height:100%;width:100%;object-fit:cover}.chosen-product>div{flex:1;min-width:0;overflow-wrap:anywhere}.chosen-product strong{font-size:19px;line-height:1.5}.chosen-product small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.chosen-product .text-link{min-height:44px}.quantity-label{font-size:15px;text-align:center}.quantity-label strong{display:block;font-size:21px;margin-top:8px;color:var(--green)}.quantity-stepper{display:flex;gap:12px;align-items:center;margin-top:15px}.quantity-stepper button{width:64px;height:64px;flex-shrink:0;border:1px solid #cdd9c6;border-radius:15px;background:#eaf0e5;font-size:32px;color:var(--green)}.quantity-stepper input#quantity{font-size:38px;text-align:center;min-width:0;height:82px;padding:10px;-moz-appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button{display:none}.quick-quantities{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.quick-quantities button{height:54px;border:1px solid #d4ddcd;border-radius:12px;background:#fff;font-size:22px;font-weight:600;color:var(--green)}.quick-quantities button.selected{background:var(--green);color:#fff;border-color:var(--green)}.optional-details{margin-top:23px;border:1px solid var(--line);border-radius:12px;padding:13px 15px}.optional-details summary{cursor:pointer;font-size:14px;min-height:30px;align-content:center}.new-photo-preview img{height:80px;width:80px;object-fit:cover;border-radius:12px;margin-top:15px}input[type=file]{font-size:13px;max-width:100%;line-height:2.3}input[type=file]::file-selector-button{border:1px solid #d1dbc9;border-radius:9px;background:#eaf0e5;color:var(--green);padding:10px;margin-right:12px}.product-detail{text-align:center;padding:8px 0 16px}.detail-picture{width:120px;height:120px;margin:0 auto 18px;border-radius:23px;background:#f4f0e5;overflow:hidden;display:grid;place-items:center;font-size:67px}.detail-picture img{width:100%;height:100%;object-fit:cover}.product-detail>strong{display:block;font-size:38px}.product-detail small{font-size:20px;font-weight:400}.product-detail p{color:var(--muted);margin:8px}.confirm-summary{text-align:center;background:#f0f3e9;border:1px solid #d8e1cf;border-radius:19px;padding:25px 18px}.confirm-picture{width:100px;height:100px;display:grid;place-items:center;overflow:hidden;margin:0 auto 18px;font-size:58px;border-radius:18px;background:#faf9ef}.confirm-picture img{width:100%;height:100%;object-fit:cover}.confirm-summary h3{font-size:25px;font-weight:600;line-height:1.6;margin:0 0 14px;overflow-wrap:anywhere}.confirm-summary p{font-size:15px;margin:8px 0}.saved-summary{text-align:center}.saved-tick{margin:20px auto;width:82px;height:82px;border-radius:50%;background:#e5efdc;color:var(--green);font-size:42px;display:grid;place-items:center}.ledger{background:repeating-linear-gradient(#fffcf1 0px,#fffcf1 35px,#e9e3d0 36px);border-color:#ded4ba;border-radius:6px;box-shadow:3px 4px 0 #eee7d4;position:relative}.ledger-row{background:#fffcf1d9;border-bottom:1px solid #d9d7c4;position:relative;padding-left:32px}.ledger-row:before{content:'';position:absolute;left:15px;top:0;bottom:0;border-left:1px solid #dfb9a2}.ledger-legend{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:20px 0;font-size:13px;color:#7d7059}.ledger-legend .listen{margin-left:auto}.ledger .row-name strong{font-size:18px}.ledger .row-name small{font-size:12px;line-height:1.7}.ledger .history-value{min-width:55px;text-align:right}.ledger .text-link{font-size:14px;min-height:44px}header .local-tag{color:#5c705c}.primary,.secondary{font-size:17px;min-height:58px}.card>.empty .secondary{font-size:15px}@media(min-width:1000px){.big-actions{grid-template-columns:repeat(3,1fr)}.big-action{flex-direction:column;align-items:flex-start;min-height:240px;padding:24px;gap:21px}.big-action strong{font-size:26px}.big-arrow{display:none}.big-action small{font-size:13px}.home-products .tile-picture{height:90px;width:105px}.simple-welcome{margin-bottom:35px}}@media(max-width:600px){main{padding:12px 20px 115px}.simple-welcome{margin:6px 0 24px}.simple-welcome h1{font-size:29px}.simple-welcome .subtitle{font-size:17px}.simple-welcome .eyebrow{font-size:10px}.listen{font-size:13px;padding:10px 13px}.big-action{padding:20px;min-height:112px;gap:18px;border-radius:18px}.big-action strong{font-size:25px}.big-action small{font-size:13px}.big-icon{width:61px;height:61px;font-size:36px;border-radius:16px}.big-arrow{font-size:23px}.big-actions{gap:12px}.home-products,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-tile strong{font-size:16px}.tile-balance{font-size:13px}.tile-picture{height:78px;width:84px}.section-head{margin-top:25px}.step-label{font-size:11px}.dialog-head h2{font-size:19px}.dialog-listen{font-size:11px;padding:9px}.quantity-stepper{gap:9px}.quantity-stepper button{width:54px;height:60px}.quantity-stepper input#quantity{font-size:32px;height:73px}.quick-quantities{gap:9px}.quick-quantities button{height:52px}.confirm-summary h3{font-size:22px}.ledger-row{padding-right:12px;gap:9px}.ledger .row-name strong{font-size:16px}.ledger .text-link{padding:8px}.ledger-legend .listen{margin-left:0}.start-tip{padding:15px}.quiet-footer{line-height:1.8}.page-top+.listen{margin-top:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.photo-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.photo-buttons button{font-size:15px;min-height:60px;padding:12px}.camera-dialog{width:540px}.camera-view{aspect-ratio:4/3;background:#16251d;border-radius:16px;overflow:hidden}.camera-view video{width:100%;height:100%;object-fit:contain}.camera-dialog #camera-status{font-size:14px;line-height:1.7}.native-camera{display:block;text-align:center;cursor:pointer;font-weight:600;margin-top:14px}.camera-dialog .primary{font-size:19px}.camera-dialog .dialog-head h2{font-size:20px}@media(max-width:380px){.photo-buttons{grid-template-columns:1fr}.photo-buttons button{min-height:54px}}

.stock-report-button{display:flex;align-items:center;gap:14px;width:100%;border:1px solid #d1ddca;border-radius:15px;padding:17px 19px;margin-top:20px;background:#eaf0e5;color:#236044;text-align:left;min-height:78px}.stock-report-button>span:first-child{font-size:30px}.stock-report-button>span:last-child{margin-left:auto;font-size:24px}.stock-report-button strong{display:block;font-size:18px;font-weight:600}.stock-report-button small{display:block;font-size:12px;margin-top:5px;color:#556b56}.report-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.report-summary{background:#eff3e9;border:1px solid #d5dfce;border-radius:15px;padding:18px}.report-summary strong{font-size:21px}.report-summary p{font-size:14px;margin:9px 0 0}.report-actions{display:grid;gap:12px;margin-top:21px}.report-actions button{min-height:54px}.report-print-frame{position:fixed;width:1px;height:1px;left:-9999px;top:0;border:0}#stock-message{min-height:280px;font-size:14px;line-height:1.7}
