:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#193b2d;background:#f5f3eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:740px;margin:auto;padding:30px 20px 22px}button,input,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d79017;outline-offset:4px}button:disabled{cursor:default;opacity:.45}.brand{font-size:14px;letter-spacing:2px;font-weight:850;display:flex;justify-content:space-between;align-items:center;padding-bottom:22px;border-bottom:1px solid #d9ded1}.brand span{font-size:9px;letter-spacing:1.3px;font-weight:650;color:#6e7b70}.heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:25px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#6b786c}h1{font-size:clamp(28px,7vw,46px);letter-spacing:-1.5px;line-height:1.2;margin:10px 0}.tag{border:1px solid #c9d6bd;border-radius:99px;padding:8px 13px;color:#426b38;background:#edf2df;font-size:12px;font-weight:700}.intro{color:#6d776e;font-size:14px;margin:8px 0 22px}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#e9eddf;border-radius:12px;padding:12px 14px;font-size:13px;font-weight:650}.toolbar button{background:none;border:0;text-decoration:underline;color:#2e573e;font-size:12px}#status{font-size:12px;color:#60745c;min-height:18px;margin:12px 2px}#status.error{color:#a12626;background:#ffe9e5;padding:12px;border-radius:8px}#products{display:grid;gap:14px}.product{background:white;border:1px solid #e3e5db;border-radius:20px;padding:20px;box-shadow:0 5px 15px #193b2d05}.product-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}h2{font-size:21px;letter-spacing:-.4px;margin:0;overflow-wrap:anywhere}.product-top>span{font-size:13px;color:#6e786f;white-space:nowrap}.controls{display:grid;grid-template-columns:1fr 76px 1fr;align-items:center;text-align:center;gap:12px}.controls button{height:66px;border-radius:13px;font-size:36px;font-weight:650;border:0}.minus{background:#edf0e9;color:#345440}.plus{background:#25844c;color:#fff;box-shadow:0 4px 8px #25844c18}.controls strong{font-size:27px;font-variant-numeric:tabular-nums}.subtotal{text-align:right;color:#647267;font-size:13px;margin:11px 2px 0}.checkout{margin-top:20px;border-radius:22px;background:#174c37;color:#fff;padding:24px;box-shadow:0 9px 24px #174c3714}.total-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.checkout .eyebrow{color:#c5d6bd}.total-row p{color:#cad6cd;font-size:13px;margin:6px 0}.total-row>strong{font-size:clamp(28px,7vw,42px);letter-spacing:-1px}fieldset{display:flex;flex-wrap:wrap;gap:10px;border:0;padding:0;margin:20px 0 0}legend{font-size:12px;margin-bottom:10px;color:#dbe6dc}fieldset label{flex:1;padding:12px 8px;border:1px solid #ffffff35;border-radius:9px;text-align:center;font-size:13px;white-space:nowrap}input{accent-color:#f8c857}.hint{font-size:11px;color:#c5d6c7;margin:14px 0}#save{border:0;border-radius:12px;background:#ffcd60;color:#283c22;width:100%;padding:18px;font-weight:800;font-size:17px;display:flex;justify-content:space-between}#clear{width:100%;border:0;background:transparent;color:#dae6d8;font-size:12px;margin-top:16px;padding:6px}footer{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:25px 4px;font-size:11px;color:#6b786c}footer a{color:#36583c}@media(min-width:650px){main{padding-top:40px}.product{padding:22px 26px}.controls button{height:72px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,opacity .15s}button:active:not(:disabled){transform:translateY(1px)}}

#save{margin-top:22px}
/* Shared, configurable brand palette. */
:root{background:var(--shb-background,#f5f3eb);color:var(--shb-background-ink,#111)}.brand,h1{color:var(--shb-primary,#174c37)}.product{color:#193b2d}.plus{background:var(--shb-button,#25844c);color:var(--shb-button-ink,#fff);box-shadow:none}.checkout{background:var(--shb-primary,#174c37);color:var(--shb-primary-ink,#fff)}.checkout .eyebrow,.checkout .total-row p{color:inherit;opacity:.8}#save{background:var(--shb-accent,#ffcd60);color:var(--shb-accent-ink,#111)}.view-nav{display:flex;gap:8px;align-items:center;margin:18px 0;flex-wrap:wrap}.view-nav a,.view-nav>span,.view-nav button{padding:10px 15px;border-radius:99px;font-size:13px;text-decoration:none;border:1px solid #cbd1c6;background:#fff;color:#24392e}.view-nav .active{background:var(--shb-primary,#174c37);color:var(--shb-primary-ink,#fff);border-color:transparent}.view-nav button{margin-left:auto}.report{max-width:980px}.date-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:white;border-radius:16px;padding:18px;color:#28382f}.date-filter label{display:flex;flex-direction:column;gap:7px;flex:1;font-size:13px;min-width:130px}.date-filter input{width:100%;min-width:0;padding:12px;border:1px solid #cbd1c6;border-radius:9px;font:inherit;background:white;color:#24392e}.date-filter button{padding:13px 17px;border:0;border-radius:9px;background:var(--shb-primary,#174c37);color:var(--shb-primary-ink,#fff)}.period-links{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 24px}.period-links a{font-size:13px;color:inherit}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metrics article{background:white;border:1px solid #e3e5db;padding:22px;border-radius:16px;color:#193b2d}.metrics article:first-child{background:var(--shb-primary,#174c37);color:var(--shb-primary-ink,#fff)}.metrics span{display:block;font-size:12px;margin-bottom:10px}.metrics strong{font-size:clamp(20px,4vw,31px);overflow-wrap:anywhere}.report-panel{margin-top:22px;padding:22px;background:white;border:1px solid #e3e5db;border-radius:18px;color:#193b2d}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;margin-top:16px;font-size:14px}th,td{padding:13px 8px;border-bottom:1px solid #e7eae3;text-align:left}th{font-size:12px;color:#607064}td:not(:first-child),th:not(:first-child){text-align:right;white-space:nowrap}.empty-state{padding:24px;border:1px dashed #9aab90;border-radius:15px;line-height:1.6}.report-note{color:inherit;opacity:.7;line-height:1.6}.report-error{padding:20px;background:#ffe9e5;color:#9d2424;border-radius:12px}@media(max-width:420px){.metrics article{padding:16px}.date-filter button{width:100%}.report-panel{padding:16px}}

.lock-form{display:flex;justify-content:flex-end;margin:0 0 16px}.lock-form button{border:1px solid #cbd1c6;border-radius:9px;padding:10px 14px;background:white;color:#24392e}

/* Fixed bottom navigation, including iPhone safe area. */
body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}.shb-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:1000;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#fff;border-top:1px solid #e2e6dc;padding:8px max(8px,calc((100vw - 740px)/2)) calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 -4px 20px #00000008}.shb-bottom-nav a{display:flex;min-height:60px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px 3px;text-align:center;color:#526158;text-decoration:none;border-radius:11px;font-size:11px;font-weight:650;line-height:1.2}.shb-bottom-nav .selected{background:var(--shb-primary,#174c37);color:var(--shb-primary-ink,#fff)}.sound-row{display:flex;justify-content:flex-end;margin:0 0 12px}.sound-row button{background:white;border:1px solid #cbd1c6;color:#24392e;border-radius:99px;padding:8px 13px;font-size:12px}html{scroll-padding-bottom:100px}@media(max-width:360px){.shb-bottom-nav a{font-size:10px}}

/* Touchscreen: repeated taps do not trigger double-tap zoom. Keep scrolling
   and deliberate pinch zoom available. Apply to ancestors too, since a
   temporarily disabled button or updated counter may become the tap target. */
html,body,main,.product,.controls,.controls *,button,a,.checkout,.shb-bottom-nav{touch-action:manipulation}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{width:100%;overflow-x:hidden}.controls,.checkout button,.shb-bottom-nav{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.controls button{min-height:66px}.date-filter input{font-size:16px}.shb-bottom-nav a{min-height:60px}
.editor-row{background:white;color:#193b2d;border:1px solid #e3e5db;border-radius:16px;padding:18px;margin:14px 0}.editor-row h2{font-size:17px;margin-bottom:15px}.editor-fields{display:grid;grid-template-columns:65px minmax(0,1fr) 100px;gap:12px}.editor-fields label{font-size:12px;display:flex;flex-direction:column;gap:6px}.editor-fields input{font:inherit;font-size:16px;min-width:0;width:100%;border:1px solid #cbd1c6;border-radius:9px;padding:11px 8px;background:white;color:#193b2d}.save-products{background:var(--shb-primary,#174c37);color:var(--shb-primary-ink,#fff);width:100%;border:0;border-radius:12px;font-size:17px;font-weight:700;padding:17px}.success-message{padding:16px;border-radius:12px;background:#e7f3e7;color:#205626}@media(max-width:420px){.editor-fields{grid-template-columns:55px minmax(0,1fr)}.editor-fields label:last-child{grid-column:2}}
/* 1.4.0: simple sales screen; controls live under Settings. */
.shb-bottom-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-screen main{padding-top:18px}.sale-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sale-heading h1{font-size:28px;margin:0;letter-spacing:-1px}.sale-heading>span{font-size:11px;color:inherit;opacity:.65}.sale-screen #status:not(.error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.settings-links{display:grid;gap:12px;margin:22px 0}.settings-links a{display:flex;flex-direction:column;gap:7px;text-decoration:none;background:white;border:1px solid #e3e5db;border-radius:15px;padding:20px;color:#193b2d}.settings-links span{font-size:13px;color:#627064}.settings-form h2{margin-bottom:15px}.sound-setting{display:flex;align-items:center;gap:12px;font-size:15px}.sound-setting input{width:22px;height:22px}.color-setting{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #e7eae3;font-size:14px}.color-setting input{width:60px;height:40px;border:1px solid #cbd1c6;background:white;border-radius:8px}.settings-form .save-products{margin-top:20px}.new-password{display:block;width:100%;font-size:16px;border:1px solid #cbd1c6;border-radius:9px;padding:13px;margin-top:10px}.lock-form{margin-top:22px}
.booth-list{display:grid;gap:12px}.booth-list article{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #dce3d6;border-radius:10px;padding:13px}.booth-list strong{flex:1;min-width:90px}.booth-list a{color:#235d3e;font-size:13px}.booth-list input{width:100%;min-width:0;border:1px solid #dce3d6;border-radius:7px;padding:9px;font-size:16px;color:#526158;background:#fafbf8}
.reset-panel{border-color:#dfc6bd}.reset-button{margin-top:18px;border:1px solid #a94a32;background:#fff3ed;color:#81311e;border-radius:10px;padding:13px 18px;font-weight:700}.reset-panel .sound-setting{align-items:flex-start}.reset-panel input{flex-shrink:0}
