:root{--ink: #16232b;--muted: #5d6c74;--paper: #f4f7f6;--panel: #fff;--line: #d9e2df;--green: #0e7a5c;--green-d: #0a5a44;--amber: #b26a00;--red: #b3261e;font-family:IBM Plex Sans Arabic,Tahoma,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.6;padding-bottom:env(safe-area-inset-bottom)}h1,h2,p,ul,ol,dl{margin:0;padding:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--green-d)}:focus-visible{outline:3px solid #7fd1b8;outline-offset:2px}.grow{flex:1;min-width:0}.empty{max-width:28rem;margin:20vh auto 0;padding:0 1.25rem;text-align:center}.empty h1{font-size:1.4rem;margin-bottom:.5rem}.top{position:sticky;top:0;z-index:5;background:var(--panel);border-bottom:1px solid var(--line);padding:.75rem 1rem}.top-in{display:flex;align-items:center;gap:.75rem;max-width:42rem;margin:0 auto .6rem}.top h1{font-size:1.15rem;font-weight:700}.logo{width:2.75rem;height:2.75rem;object-fit:contain;border-radius:.5rem}.tag{font-size:.8rem;font-weight:600}.tag.ok{color:var(--green-d)}.tag.off{color:var(--red)}.call{border:1.5px solid var(--green);color:var(--green-d);padding:.35rem .9rem;border-radius:2rem;text-decoration:none;font-weight:600}.call.wide{display:block;text-align:center;margin:.75rem 0;padding:.7rem}.search{display:block;width:100%;max-width:42rem;margin:0 auto;padding:.7rem .9rem;border:1.5px solid var(--line);border-radius:.6rem;background:var(--paper)}.list{max-width:42rem;margin:0 auto;padding:.5rem 1rem 7rem}.hint{color:var(--muted);font-size:.88rem;padding:.5rem 0}.note{background:#fff4e0;border-inline-start:4px solid var(--amber);padding:.6rem .8rem;margin:.5rem 0;font-size:.92rem}.note.err{background:#fdecea;border-color:var(--red)}.row{display:flex;align-items:center;gap:.75rem;padding:.85rem 0;border-bottom:1px solid var(--line)}.row img{width:3.5rem;height:3.5rem;object-fit:contain;border-radius:.4rem;background:#fff}.row h2{font-size:1rem;font-weight:600}.meta{color:var(--muted);font-size:.82rem}.price{font-weight:700}.price small{font-weight:400;color:var(--muted);font-size:.75rem}.add{background:var(--green);color:#fff;border:0;border-radius:.5rem;padding:.5rem 1rem;font-weight:600}.step{display:flex;align-items:center;border:1.5px solid var(--green);border-radius:.5rem;overflow:hidden}.step button{width:2.25rem;height:2.25rem;border:0;background:var(--green);color:#fff;font-size:1.2rem}.step button:disabled{background:#9bc9bb;cursor:not-allowed}.step b{min-width:2rem;text-align:center}.step.small button{width:2rem;height:2rem}.more{display:block;margin:1rem auto;padding:.6rem 1.5rem;border:1.5px solid var(--line);background:var(--panel);border-radius:.5rem}.bar{position:fixed;inset-inline:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom));max-width:40rem;margin:0 auto;z-index:6;display:flex;justify-content:space-between;align-items:center;gap:.5rem;background:var(--green-d);color:#fff;border:0;border-radius:.8rem;padding:.85rem 1rem;font-weight:600;box-shadow:0 6px 20px #0a5a4459}.sheet-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a191480;z-index:10;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--panel);width:100%;max-width:42rem;max-height:92vh;overflow-y:auto;border-radius:1rem 1rem 0 0;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom))}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.sheet-head h2{font-size:1.1rem}.x{background:none;border:0;font-size:1.8rem;line-height:1}.lines{list-style:none}.lines li{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;border-bottom:1px dashed var(--line)}.lines small{display:block;color:var(--muted);font-size:.78rem}.lines.flat li{padding:.45rem 0}.seg{display:flex;gap:.5rem;margin:.9rem 0}.seg button{flex:1;padding:.6rem;border:1.5px solid var(--line);background:var(--panel);border-radius:.5rem;font-weight:500}.seg button.on{border-color:var(--green);background:#e6f4ef;color:var(--green-d);font-weight:700}label{display:block;font-size:.88rem;font-weight:600;margin-top:.7rem}input,textarea{display:block;width:100%;margin-top:.25rem;padding:.65rem .8rem;border:1.5px solid var(--line);border-radius:.5rem;background:#fff;font-weight:400}.sum{margin:1rem 0 .5rem}.sum div{display:flex;justify-content:space-between;padding:.2rem 0}.sum dd{margin:0}.sum .tot{border-top:2px solid var(--ink);margin-top:.35rem;padding-top:.5rem;font-weight:700;font-size:1.1rem}.primary{width:100%;margin-top:.75rem;padding:.85rem;border:0;border-radius:.6rem;background:var(--green);color:#fff;font-weight:700;font-size:1.05rem}.primary:disabled{background:#8bbcad}.ghost{display:block;width:100%;margin-top:.5rem;padding:.65rem;border:1.5px solid var(--line);background:transparent;border-radius:.5rem}.receipt{max-width:26rem;margin:1.25rem auto;background:var(--panel);padding:1.25rem 1.25rem 1rem;border:1px solid var(--line);border-radius:.3rem;box-shadow:0 1px 0 var(--line)}.receipt .store{color:var(--muted);font-size:.9rem}.receipt h1{font-size:1.35rem}.state{font-weight:700;color:var(--green-d);margin:.25rem 0 1rem}.state.bad{color:var(--red)}.steps{list-style:none;margin-bottom:1.25rem;border-inline-start:2px solid var(--line);padding-inline-start:1rem}.steps li{position:relative;padding:.25rem 0;color:var(--muted)}.steps li:before{content:"";position:absolute;inset-inline-start:calc(-1rem - 6px);top:.7rem;width:10px;height:10px;border-radius:50%;background:var(--line)}.steps li.done{color:var(--ink)}.steps li.done:before{background:var(--green)}.steps li.now{color:var(--green-d);font-weight:700}.steps li.now:before{background:var(--green);box-shadow:0 0 0 4px #bfe5d8}.code{text-align:center;border:2px dashed var(--green);border-radius:.5rem;padding:.75rem;margin-bottom:1rem}.code b{display:block;font-size:2.2rem;letter-spacing:.35rem;color:var(--green-d)}.code span,.code small{display:block;color:var(--muted);font-size:.85rem}@media (prefers-reduced-motion: no-preference){.bar{transition:transform .15s}.bar:active{transform:scale(.98)}}
