:root{--ink:#164b43;--bg:#edf5ef;--white:#fff;--muted:#61706a;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #db952f;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}header{display:flex;gap:12px;align-items:center;padding:20px 0 12px}header img{width:54px;height:54px;object-fit:cover;border-radius:14px}h1{margin:0;font-size:26px;line-height:1.2;overflow-wrap:anywhere}h2{font-size:18px;margin:0 0 14px}h3{font-size:16px}p{line-height:1.5}small,.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.08em;margin-bottom:6px}.sub{font-size:12px;margin-top:7px;overflow-wrap:anywhere}.shell{max-width:800px;margin:auto;padding:max(10px,env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom))}.status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;margin:4px 0 14px}.pill{border:1px solid color-mix(in srgb,var(--ink) 25%,transparent);border-radius:99px;padding:5px 9px}.card{background:var(--white);border-radius:20px;padding:18px;margin:12px 0;box-shadow:0 3px 20px #10251a05}.card p:last-child{margin-bottom:0}.total{font-size:37px;font-weight:800;letter-spacing:-1px;margin:7px 0}.actions{display:flex;gap:8px;flex-wrap:wrap}.btn{padding:12px 15px;border-radius:12px;min-height:46px;background:var(--ink);color:#fff;font-weight:650}.btn.secondary{background:var(--bg);color:var(--ink)}.btn.danger{background:#fae8e5;color:#8a302b}.btn.full{width:100%;margin-top:10px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.product-tile{border-radius:20px;padding:14px;background:var(--ink);color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:155px;box-shadow:0 6px 16px #10251a13}.product-tile:active{transform:scale(.97);opacity:.85}.product-tile img{width:100%;height:100px;object-fit:cover;border-radius:12px;pointer-events:none}.product-tile .name{font-size:19px;font-weight:750;line-height:1.2;overflow-wrap:anywhere}.product-tile .price{font-size:18px}.product-tile .count{font-size:12px;opacity:.86}.product-photo{width:110px;height:110px;object-fit:cover;border-radius:14px;margin:5px 0 12px}.row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #e8ede9}.row:last-child{border-bottom:0}.row .title{font-weight:700;overflow-wrap:anywhere}.row small{display:block;margin-top:5px;overflow-wrap:anywhere}.row .amount{white-space:nowrap;font-weight:700}.void{opacity:.55}.notice{font-size:13px;color:var(--muted);line-height:1.5}.nav{position:fixed;z-index:5;left:0;right:0;bottom:0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #dce5dc;padding:7px 12px calc(7px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:5px}.nav button{max-width:150px;flex:1;min-height:49px;background:transparent;color:var(--ink);border-radius:14px;font-size:12px;font-weight:650;padding:6px 3px}.nav button.selected{background:var(--ink);color:white}.nav .navicon{font-size:18px;display:block;margin-bottom:3px}label{display:block;font-size:13px;font-weight:650;margin:14px 0 6px}input,select{width:100%;padding:12px;border:1px solid #c8d4ca;border-radius:11px;background:white;color:var(--ink);min-height:46px}input[type=file]{padding:8px}dialog{border:0;border-radius:22px;padding:22px;width:calc(100% - 28px);max-width:460px;color:var(--ink);background:white;max-height:85dvh;overflow:auto}dialog::backdrop{background:#102a24a0}dialog .actions{margin-top:20px}dialog .actions button{flex:1}dialog h2{margin-top:0}.preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.error{color:#9e352d;font-size:13px;min-height:18px;margin:12px 0}#toast{position:fixed;z-index:30;left:50%;transform:translateX(-50%);bottom:calc(90px + env(safe-area-inset-bottom));width:max-content;max-width:90%;border-radius:14px;background:#172c26;color:white;padding:13px 17px;box-shadow:0 5px 30px #0002;opacity:0;pointer-events:none;transition:opacity .15s;font-size:14px}#toast.show{opacity:1}.loading{text-align:center;padding:70px 20px}.settings-photo{max-width:170px;max-height:120px;object-fit:contain;border-radius:12px}.report-control{display:flex;gap:10px;align-items:end}.report-control>*{flex:1}.hero-note{font-size:12px;margin:7px 0 0}.product-edit{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.badge{font-size:11px;padding:4px 7px;background:var(--bg);border-radius:8px}.footer{font-size:11px;text-align:center;color:var(--muted);padding:18px 0}.empty{padding:20px 0;text-align:center;line-height:1.6;color:var(--muted)}@media(min-width:600px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-tile{min-height:180px}.shell{padding-left:24px;padding-right:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.product-tile:active{transform:none}}

.cash-choice{display:flex;align-items:center;gap:10px;font-size:18px}.cash-choice input[type=checkbox]{width:24px;height:24px;margin:0}

.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric{background:var(--bg);border-radius:16px;padding:20px 14px;font-size:18px;font-weight:750;overflow-wrap:anywhere}.metric.featured{grid-column:1/-1;background:var(--ink);color:white;font-size:28px}.card{border:1px solid color-mix(in srgb,var(--ink) 8%,white);box-shadow:0 5px 24px #10251a08}.btn{box-shadow:0 3px 8px #10251a12}.product-tile{background:white;color:var(--ink);border:1px solid color-mix(in srgb,var(--ink) 12%,white)}.product-tile .price{font-weight:800}.nav button.selected{box-shadow:0 3px 10px #10251a15}
