*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}:root{--accent: #1d4ed8;--ok: #1f7a3a;--danger: #b3261e;--line: #d8d8d4;--bar-h: 132px}body{margin:0;font-family:system-ui,PingFang TC,Noto Sans TC,sans-serif;background:#f4f4f2;color:#222;font-size:16px}.app{max-width:520px;margin:0 auto;padding:8px 10px 24px}h2,h3{margin:0 0 8px}p{margin:8px 0}.muted{color:#777}.center{text-align:center}.between{display:flex;justify-content:space-between;align-items:center;gap:8px}button{font:inherit;cursor:pointer;min-height:48px;min-width:48px;padding:0 14px;border-radius:10px;border:1px solid #aaa;background:#fff;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button.secondary{border-color:#888}button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}button.danger{background:var(--danger);border-color:var(--danger);color:#fff;font-weight:600}button.big{min-height:56px;font-size:1.05rem;flex:1}button.wide{width:100%;min-height:56px;margin:6px 0;font-size:1.05rem}button.icon{border:0;background:none;font-size:1.2rem;padding:0}button.link{border:0;background:none;color:var(--danger);text-decoration:underline;min-height:48px}header{display:flex;gap:6px;align-items:center;margin-bottom:6px}.vendor-name{border:0;background:none;font-weight:700;font-size:1.1rem;padding:0 4px;margin-right:auto}.open-switch{border-color:#999;color:#555}.open-switch.on{background:#e1f5e6;border-color:#8cc99a;color:var(--ok);font-weight:600}.vendors{display:grid;gap:10px;margin:12px 0}.vendor{min-height:72px;font-size:1.15rem;border:2px solid #bbb}.tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;position:sticky;top:0;background:#f4f4f2;z-index:5}.tab{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15;padding:4px 12px;min-height:52px}.tab small{font-size:.72rem;color:#777}.tab.preparing{border-color:#e0a437;background:#fff7e0}.tab.add{margin-left:auto;position:sticky;right:0;background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.tab.add.grey{background:#ccc;border-color:#ccc;color:#555}.tab.new{border-style:dashed}.panel{padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom) + 16px)}.bar{display:flex;gap:8px;align-items:center;margin:4px 0 8px}.order-no{font-size:1.3rem;margin-right:auto}.seg{display:inline-flex;border:1px solid #888;border-radius:10px;overflow:hidden}.seg button{border:0;border-radius:0;min-height:48px;padding:0 16px;background:#fff}.platform-no{margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em}.need-text{color:var(--danger);font-size:.92rem;margin:-2px 0 8px}.badge{padding:4px 10px;border-radius:999px;background:#eee;font-size:.85rem}.badge.preparing{background:#fff0c2}.badge.done{background:#dcefe0}.badge.cancelled{background:#f6d9d6}.list{display:flex;flex-direction:column;gap:8px;margin:8px 0}.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px}.card.static{display:flex;justify-content:space-between;gap:8px}.card.static.col{flex-direction:column}.card.line-btn,.card.line-row,.card.summary{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;min-height:56px}.card.summary{background:#fafaf8;flex-direction:column;align-items:stretch;gap:4px;padding-top:8px;padding-bottom:8px}.card.summary .head{display:flex;justify-content:space-between;align-items:center;gap:8px}.card.summary .items-line{font-size:.88rem;line-height:1.45;color:#444;white-space:normal;overflow-wrap:anywhere}.card.warn-border{border-color:var(--danger)}.card.open{border:2px solid var(--accent)}.bag-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.bag-head .link{margin-left:auto}.tag{background:var(--accent);color:#fff;border-radius:999px;padding:2px 10px;font-size:.8rem}.times{color:var(--accent)}em{color:var(--accent);font-style:normal}.warn{color:var(--danger);font-weight:600}.line{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 0;border-top:1px dashed #eee}.qty{display:inline-flex;align-items:center;gap:6px}.qty b{min-width:24px;text-align:center}.qty button{padding:0}.subtotal{text-align:right;color:#555;margin-top:4px}.total{text-align:right;font-size:1.2rem;margin:6px 0}.group{margin:8px 0}.group-title{font-size:.92rem;margin-bottom:4px}.group-title small{margin-left:8px;color:#777}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border-radius:999px;padding:0 18px}.chip.on{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.menu{margin-top:12px}.cats{display:flex;gap:6px;overflow-x:auto;margin-bottom:6px}.cat{flex:0 0 auto}.cat.on{background:#222;border-color:#222;color:#fff}.target{padding:6px 2px;color:#444}.problems{margin:10px 0}.problem{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;margin-bottom:6px;background:#fde2e2;border:1px solid #e08a8a;border-radius:10px}.print{display:block;width:100%;max-width:500px;margin:0 auto;min-height:64px;font-size:1.3rem;font-weight:700;background:var(--ok);border-color:var(--ok);color:#fff}.actions{position:fixed;left:0;right:0;bottom:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#f4f4f2f5;border-top:1px solid var(--line);z-index:10}.actions .print,.actions .row{max-width:500px;margin-left:auto;margin-right:auto}.actions .row{margin-top:8px}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center;z-index:20}.sheet{width:100%;max-width:520px;max-height:88vh;overflow:auto;background:#fff;border-radius:16px 16px 0 0;padding:14px 14px calc(14px + env(safe-area-inset-bottom))}.sheet-head{display:flex;justify-content:space-between;align-items:center}.row{display:flex;gap:10px;margin-top:12px}.reprint-list{display:flex;flex-direction:column}.notice{padding:8px 10px;margin:6px 0;background:#fff6d6;border:1px solid #e0c96a;border-radius:10px;font-size:.92rem}.error{padding:8px 10px;margin:6px 0;background:#fde2e2;border:1px solid #e08a8a;border-radius:10px}.ok{padding:8px 10px;margin:6px 0;background:#e1f5e6;border:1px solid #8cc99a;border-radius:10px}ul{margin:6px 0 0;padding-left:20px}section{margin:12px 0}.printed-mark{color:var(--ok);font-weight:600;font-size:.85rem}.linkbtn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;border:1px solid #888;border-radius:10px;background:#fff;color:inherit;text-decoration:none}.linkbtn.wide{width:100%;margin:10px 0}.small{font-size:.85rem}.row.wrap{flex-wrap:wrap}.sheet p{white-space:pre-line}.rec-status{display:flex;align-items:center;gap:12px;padding:12px;margin:10px 0;background:#fff;border:1px solid var(--line);border-radius:12px}.rec-status .counts{margin-left:auto;text-align:right}.dot{width:18px;height:18px;border-radius:50%;background:#bbb;flex:0 0 auto}.dot.on{background:var(--ok)}.dot.hot{background:var(--danger);box-shadow:0 0 0 6px #b3261e33}.big-time{font-size:2rem;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}.rec-buttons{display:flex;flex-direction:column;gap:10px;margin:12px 0}.big-btn{min-height:64px;font-size:1.2rem;font-weight:700;color:#fff;border:0}.big-btn.amber{background:#c98a00}.big-btn.red{background:var(--danger)}.seg{margin:8px 0;display:flex;flex-direction:column;gap:8px}.cols2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cols2 .col{background:#fafaf8;border-radius:8px;padding:6px 8px;overflow-wrap:anywhere}.field{width:100%;min-height:48px;padding:0 12px;border:1px solid #aaa;border-radius:10px;font:inherit}.stats{display:flex;flex-direction:column;gap:4px}button.link.plain{color:#1a5fb4;min-height:40px}.meter{height:14px;border-radius:7px;background:#e4e4e0;overflow:hidden;margin:6px 0 2px}.meter-fill{height:100%;background:var(--ok);transition:width .08s linear}.login{padding-top:16px}.vendor.picked{border-color:var(--accent);background:#eff6ff;font-weight:700}.role-toggle{display:flex;border:1px solid #888;border-radius:10px;overflow:hidden;margin:8px 0}.role-toggle button{flex:1;border:0;border-radius:0;min-height:52px;font-size:1.1rem;background:#fff}.role-toggle button.on{background:var(--accent);color:#fff;font-weight:600}.pinpad{max-width:320px;margin:8px auto}.pin-dots{display:flex;justify-content:center;gap:14px;margin:10px 0 14px}.pin-dot{width:18px;height:18px;border-radius:50%;border:2px solid #888;background:#fff}.pin-dot.on{background:var(--accent);border-color:var(--accent)}.pin-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pin-key{min-height:68px;font-size:1.6rem;font-weight:600;border-radius:14px;border:1px solid #aaa;background:#fff}.pin-key.alt{background:#f1f1ee;font-size:1.3rem}.pin-key:active:not(:disabled){background:#dbeafe}.pin-key:disabled{opacity:.45}.pin-field{display:block;margin:12px 0}.pin-field span{display:block;margin-bottom:4px}.pin-field input{width:100%;min-height:56px;padding:0 14px;font-size:1.5rem;letter-spacing:.4em;border:1px solid #aaa;border-radius:10px}.login-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;overflow:auto;background:#f7f6f2}.link-btn{display:block;text-align:center;padding:14px;text-decoration:none;border:1px solid #aaa;border-radius:10px;color:inherit;margin:12px 0}.sheet.rows-sheet{display:flex;flex-direction:column;overflow:hidden}.sheet-rows{flex:0 1 auto;min-height:0;max-height:min(300px,45vh);overflow-y:auto;margin:6px -4px 0;padding:0 4px;border-top:1px dashed #ddd;-webkit-overflow-scrolling:touch}.sheet-row{padding:6px 0;border-bottom:1px dashed #eee}.sheet-row-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.sheet-row .group.compact{margin:4px 0 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sheet-row .group.compact .group-title{margin:0;white-space:nowrap}.sheet-row .group.compact .chips{gap:6px}.sheet-foot{flex:0 0 auto;display:flex;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #eee;background:#fff}.sheet-foot .big{flex:1}:root{--blue: #1d4ed8;--blue-bg: #eff6ff;--blue-line: #bfdbfe;--blue-ink: #1e3a8a;--ink: #111827;--green: #22c55e;--green-ink: #052e12}.topbar{display:flex;align-items:center;gap:8px;margin:0 0 8px}.topbar .shop{margin-right:auto;display:flex;align-items:baseline;gap:8px;min-width:0}.shop-name{font-size:19px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-role{font-size:13px;color:#6b7280;flex:0 0 auto}.open-pill{min-height:44px;border-radius:22px;padding:0 14px;border:1px solid #d1d5db;background:#f3f4f6;color:#4b5563;font-weight:600;white-space:nowrap}.open-pill.on{background:#dcfce7;border-color:#86efac;color:#14532d}.menu-btn{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid #d1d5db;background:#fff;color:var(--ink)}.icon-svg{display:block;flex:0 0 auto}.tabs{gap:8px;padding-bottom:8px}.tabs .tab{flex-direction:row;gap:8px;min-height:48px;border-radius:14px;padding:0 14px;background:#fff;border:1px solid #d1d5db}.tabs .tab b{font-size:16px}.tabs .tab small{font-size:12px;color:#6b7280}.tabs .tab.preparing{background:#fff;border-color:#d1d5db}.tabs .tab.preparing small{color:#b45309}.tabs .tab.on{border:2px solid var(--blue);background:var(--blue-bg);padding:0 13px}.tabs .tab.new{border-style:dashed}.tabs .tab.add{background:var(--blue);border-color:var(--blue);color:#fff}.tabs .tab.add.grey{background:#e5e7eb;border-color:#e5e7eb;color:#6b7280}.src-seg{display:flex;gap:8px;border:0;border-radius:0;overflow:visible;margin:0 0 8px}.src-seg button{flex:1;position:relative;min-height:40px;height:40px;padding:0 8px;border:1px solid #d1d5db;border-radius:20px;background:#fff;color:#4b5563}.src-seg button+button{border-left:1px solid #d1d5db}.src-seg button:after{content:"";position:absolute;left:0;right:0;top:-3px;bottom:-3px}.src-seg button.seg-on{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}.platform-box{border:1px solid #fdba74;background:#fff7ed;border-radius:14px;padding:10px;margin:0 0 8px}.platform-box .src-seg{margin:0 0 8px;box-shadow:none}.platform-box .src-seg button{min-height:48px;height:48px;border-radius:12px}.platform-box .src-seg.need button:not(.seg-on){border-color:#fb923c}.platform-box .platform-no{margin:0}.platform-box .need-text{color:#9a3412;margin:8px 0 0;font-size:14px}.dishes{display:flex;flex-direction:column;gap:10px}.dish{position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px}.dish.on{border:2px solid var(--blue);padding:13px}.dish-head{display:flex;align-items:baseline;gap:10px;padding-right:44px}.dish-name{font-size:19px;font-weight:700}.dish-price{font-size:15px;color:#6b7280}.qty-badge-btn{position:absolute;top:4px;right:4px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;background:none;display:flex;align-items:center;justify-content:center}.qty-badge{min-width:28px;height:28px;padding:0 8px;border-radius:14px;background:var(--blue);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.add-btn{min-height:48px;border-radius:14px;border:1px solid var(--blue-line);background:var(--blue-bg);color:var(--blue-ink);font-weight:600}.qcell{border:1px solid #d1d5db;background:#f3f4f6;border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:6px;color:#4b5563;min-width:0;box-sizing:border-box}.qcell.on{border:2px solid #1D4ED8;background:#eff6ff;padding:7px;color:#1d4ed8;font-weight:700}.qcell-label{text-align:center;font-size:15px;line-height:1.3;min-height:20px;overflow-wrap:anywhere}.qcell-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.qcell-btns button{min-width:0;width:100%;box-sizing:border-box;height:44px;min-height:44px;padding:0;border-radius:10px;font-size:22px;font-weight:700;line-height:1}.qplus{border:1px solid #1D4ED8;background:#1d4ed8;color:#fff}.qminus{border:1px solid #1D4ED8;background:#fff;color:#1d4ed8}.qminus.off{border-color:#d1d5db;background:#e5e7eb;color:#9ca3af}.add-btn{width:100%;margin-top:10px}.bags{margin:8px 0}.bar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:14}.bottombar{position:fixed;left:0;right:0;margin:0 auto;bottom:calc(8px + env(safe-area-inset-bottom));width:min(504px,calc(100% - 16px));background:var(--ink);color:#fff;border-radius:22px;padding:8px 12px 12px;z-index:15;box-shadow:0 6px 24px #0000004d}.bottombar.bar-hidden{transform:translateY(calc(100% + 24px + env(safe-area-inset-bottom)))}.bar-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font-size:15px}.bar-summary-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-toggle{min-height:44px;padding:0 6px 0 10px;border:0;background:none;color:#fff;display:inline-flex;align-items:center;gap:2px;font-weight:600}.bar-actions{display:flex;gap:10px}.bar-undo{flex:0 0 auto;min-height:56px;padding:0 16px;border:1px solid #6b7280;border-radius:16px;background:transparent;color:#e5e7eb;display:inline-flex;align-items:center;gap:6px}.bar-undo:disabled{opacity:.4}.bar-print{flex:1;min-height:56px;border-radius:16px;border:0;background:var(--green);color:var(--green-ink);font-size:20px;font-weight:800}.bar-print.off{background:#374151;color:#d1d5db;font-size:16px;font-weight:600}.detail{max-height:min(52vh,400px);overflow-y:auto;margin:4px 0 8px;padding-bottom:4px;-webkit-overflow-scrolling:touch}.detail .detail-list{display:flex;flex-direction:column;gap:8px}.detail .card{background:#1f2937;border-color:#374151;color:#f9fafb}.detail .muted{color:#9ca3af}.detail em,.detail .times{color:#93c5fd}.detail .printed-mark{color:#86efac}.detail .problems{margin:8px 0 0}.detail .problem{background:#451a03;border-color:#92400e;color:#fde68a}.detail-total{text-align:right;font-size:18px;margin:10px 2px 8px}.detail-foot{display:flex;gap:10px}.detail-foot button{flex:1;min-height:48px;border-radius:14px;background:transparent}.detail-split{border:1px solid #6b7280;color:#e5e7eb}.detail-cancel{border:1px solid #7f1d1d;color:#fca5a5}.menu-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.menu-item{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 14px;border-radius:12px;border:1px solid #d1d5db;background:#fff;text-align:left;text-decoration:none;color:inherit}.menu-item.danger-text{color:#b91c1c;border-color:#fecaca}.switch-pill{min-width:44px;text-align:center;padding:4px 10px;border-radius:999px;background:#e5e7eb;color:#4b5563;font-weight:600}.switch-pill.on{background:#dcfce7;color:#14532d}.actions{left:0;right:0;margin:0 auto;bottom:calc(8px + env(safe-area-inset-bottom));width:min(504px,calc(100% - 16px));padding:10px 12px 12px;background:var(--ink);border-top:0;border-radius:22px;z-index:15;box-shadow:0 6px 24px #0000004d}.actions .print{background:var(--green);border-color:var(--green);color:var(--green-ink);border-radius:16px}.actions .secondary{background:transparent;color:#e5e7eb;border-color:#6b7280}.actions .danger{background:transparent;color:#fca5a5;border:1px solid #7f1d1d}.qplus,.qminus,.add-btn,.bar-print,.bar-undo{transition:transform .1s ease-out}.qplus:active,.qminus:not(.off):active,.add-btn:active,.bar-print:active:not(.off),.bar-undo:active:not(:disabled){transform:scale(.94)}.qty-badge.pop{animation:badge-pop .3s ease-out}@keyframes badge-pop{0%{transform:scale(1)}40%{transform:scale(1.35)}to{transform:scale(1)}}.qcell{position:relative}.float-fx{position:absolute;left:0;right:0;top:2px;text-align:center;font-weight:800;font-size:16px;color:#1d4ed8;pointer-events:none;animation:float-up .6s ease-out forwards}@keyframes float-up{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-22px)}}.undo-icon{display:inline-flex}.undo-icon.spin{animation:undo-spin .4s ease-in-out}@keyframes undo-spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}.bar-print{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 8px}.bar-print.shake{animation:bar-shake .35s ease-in-out}@keyframes bar-shake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}.spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.bar-print{position:relative}.bar-print.failed{box-shadow:inset 0 0 0 3px #dc2626}.fail-hint{flex-basis:100%;font-size:13px;font-weight:700;color:#fecaca}.chev{display:inline-flex;transition:transform .3s ease}.chev.flip{transform:rotate(180deg)}.detail{animation:detail-in .3s ease-out}@keyframes detail-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.bar-scrim{animation:fade-in .3s ease-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[role=status]{animation:toast-in .3s ease-out}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.qplus,.qminus,.add-btn,.bar-print,.bar-undo,.chev{transition:none}.qplus:active,.qminus:active,.add-btn:active,.bar-print:active,.bar-undo:active{transform:none}.qty-badge.pop,.undo-icon.spin,.bar-print.shake,.detail,.bar-scrim,[role=status]{animation:none}.float-fx{display:none}.spinner{animation:none}}.menu-settings{background:var(--blue-bg);border-color:var(--blue-line);color:var(--blue-ink)}.menu-settings small{font-size:12px}.app.settings{color:var(--ink)}.app.settings.has-savebar{padding-bottom:calc(150px + env(safe-area-inset-bottom))}.page-head{margin:0 0 12px;gap:8px}.page-back{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;color:inherit}.page-title{display:flex;flex-direction:column}.page-title b{font-size:19px}.page-title span{font-size:13px;color:#4b5563}.fresh-note{margin:0 0 8px;padding:10px 12px;border-radius:12px;background:var(--blue-bg);border:1px solid var(--blue-line);color:var(--blue-ink);font-size:14px}.set-section{display:flex;flex-direction:column;gap:8px;margin:16px 0 0}.set-section h2{margin:4px 4px 0;font-size:14px;font-weight:600;color:#4b5563}.set-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:12px}.set-line{flex-direction:row;align-items:center;gap:12px;display:flex}.perm-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.perm-name small{font-size:13px;color:#4b5563}.perm-name small.perm-dirty{font-size:12px;color:#b45309;font-weight:600}.state-pill{padding:4px 10px;border-radius:999px;background:#e5e7eb;color:#4b5563;font-size:13px;font-weight:600;white-space:nowrap}.state-pill.on{background:#dcfce7;color:#14532d}.set-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.set-btn{min-width:0;min-height:48px;border-radius:12px;border:1px solid #d1d5db;background:#fff;font-weight:600;padding:0 12px}.set-btn.solid{background:var(--blue);border-color:var(--blue);color:#fff}.set-btn.warn-btn{border-color:#fca5a5;color:#b91c1c}.set-hint{margin:0;font-size:13px;color:#4b5563;line-height:1.5}.perm-list{padding:0 16px;gap:0}.perm-list.later{background:#f9fafb;border:1px dashed #d1d5db;color:#4b5563}.perm-row{display:flex;align-items:center;gap:12px;min-height:60px}.perm-row+.perm-row{border-top:1px solid #f3f4f6}.perm-list.later .perm-row+.perm-row{border-top-color:#e5e7eb}.perm-later{font-size:12px;border:1px solid #d1d5db;border-radius:999px;padding:2px 8px;white-space:nowrap}.toggle{flex:0 0 auto;width:52px;min-width:52px;height:44px;min-height:44px;padding:0;border:0;background:none;display:inline-flex;align-items:center}.toggle-track{position:relative;display:block;width:52px;height:32px;border-radius:999px;background:#d1d5db;transition:background .15s ease-out}.toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;transition:transform .15s ease-out}.toggle[aria-checked=true] .toggle-track{background:var(--blue)}.toggle[aria-checked=true] .toggle-track:after{transform:translate(20px)}.savebar{position:fixed;left:0;right:0;margin:0 auto;bottom:calc(8px + env(safe-area-inset-bottom));width:min(504px,calc(100% - 16px));background:var(--ink);color:#d1d5db;border-radius:22px;padding:12px;z-index:15;box-shadow:0 6px 24px #0000004d;display:flex;flex-direction:column;gap:10px;font-size:14px}.savebar-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.savebar-actions button{min-width:0;min-height:56px;border-radius:14px}.savebar-discard{border:1px solid #4b5563;background:transparent;color:#e5e7eb;font-weight:600}.savebar-save{grid-column:span 2;border:0;background:var(--blue);color:#fff;font-size:18px;font-weight:700}.sheet.staff-pin-sheet{max-height:96vh}.pin-box{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:4px;margin:0 0 8px;padding:8px 12px;border-radius:14px;border:1px solid #e5e7eb;background:#fff;text-align:center}.pin-box:disabled{opacity:1;cursor:default}.pin-box.active{border:2px solid var(--blue);padding:7px 11px}.pin-box.bad{border:2px solid #dc2626;background:#fef2f2;padding:7px 11px}.pin-box.bad .pin-dot.on{background:#dc2626;border-color:#dc2626}.pin-box .pin-dots{margin:4px 0}.pin-box-label{font-size:14px;color:#4b5563}.pin-box-error{font-size:14px;color:#b91c1c;font-weight:600}.staff-pin-sheet .pin-keys{max-width:320px;margin:0 auto;gap:8px}.staff-pin-sheet .pin-key{min-height:52px}@media (prefers-reduced-motion: reduce){.toggle-track,.toggle-track:after{transition:none}}.today-card{display:flex;align-items:center;gap:12px;margin:0 0 8px;padding:14px 16px;border-radius:18px;background:var(--ink);color:#fff;text-decoration:none}.today-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.today-numbers{font-size:15px;color:#d1d5db;overflow-wrap:anywhere}.today-numbers b{font-size:28px;color:#fff}.today-go{flex:0 0 auto;min-height:44px;display:flex;align-items:center;padding:0 12px;border-radius:12px;background:var(--blue);font-size:15px;font-weight:600}.report-label{font-size:14px;color:#d1d5db}.report-refresh{margin-left:auto;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid #d1d5db;background:#fff}.app.report section{margin-bottom:0}.report-hero{margin:0;padding:18px 16px;border-radius:18px;background:var(--ink);color:#fff;display:flex;flex-direction:column;gap:12px}.report-revenue{font-size:40px;line-height:1.1;overflow-wrap:anywhere}.report-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-stats div{background:#1f2937;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}.report-stats span{font-size:13px;color:#d1d5db}.report-stats b{font-size:22px;overflow-wrap:anywhere}.report-pending{margin:10px 0 0;padding:12px 14px;border-radius:14px;background:#fffbeb;border:1px solid #fcd34d;color:#92400e;font-size:15px;line-height:1.5}.report-rows{padding:0 16px;gap:0}.report-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(72px,auto);align-items:center;gap:10px;min-height:48px;padding:6px 0}.report-row+.report-row{border-top:1px solid #f3f4f6}.report-name{overflow-wrap:anywhere}.report-middle{color:#4b5563;text-align:right;white-space:nowrap}.report-amount{text-align:right;white-space:nowrap}.report-empty{margin:0;color:#4b5563;text-align:center}.report-note{margin:0 4px;font-size:12px;color:#4b5563;line-height:1.5}.report-foot{margin-top:16px;font-size:13px}.report-chart{display:flex;align-items:flex-end;gap:6px;margin:0;padding:0;list-style:none;overflow-x:auto}.report-chart li{flex:1 0 28px;display:flex;flex-direction:column;align-items:center;gap:4px}.report-count,.report-hour{font-size:12px;color:#4b5563}.report-bar{display:block;width:100%;max-width:44px;background:var(--blue);border-radius:6px 6px 2px 2px}.report-hour{align-self:stretch;text-align:center;border-top:1px solid #e5e7eb;padding-top:4px}
