:root{--bg: #f2f4f7;--surface: #ffffff;--border: #e1e5ea;--border-strong: #c3cad3;--text: #121a26;--text-2: #364152;--muted: #5b6575;--primary: #1d4ed8;--primary-dark: #1840b0;--primary-soft: #e7eefd;--good: #0d6b4f;--good-soft: #def4ea;--bad: #b42318;--bad-soft: #fde9e7;--warn: #93510a;--warn-soft: #fff1dc;--tabs-h: 68px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4;color:var(--text);background:var(--bg);-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0;background:var(--bg)}h1{margin:0;font-size:20px;font-weight:700;line-height:1.25}h2{margin:0;font-size:18px;font-weight:700}button,a,label{touch-action:manipulation}.app{min-height:100dvh;display:flex;flex-direction:column;max-width:560px;margin:0 auto}.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;background:var(--surface);border-bottom:1px solid var(--border);padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top));min-height:64px}.top .title{flex:1;min-width:0}.top .title h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top .title .sub{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iconbtn{position:relative;flex:none;width:48px;height:48px;border-radius:14px;border:0;background:#f0f2f5;color:var(--text);display:inline-flex;align-items:center;justify-content:center;font:inherit;text-decoration:none;cursor:pointer}.iconbtn:active{background:#e3e7ec}.iconbtn .dot{position:absolute;top:4px;right:4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--bad);color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center}.content{flex:1;padding:14px 14px 18px;display:flex;flex-direction:column;gap:12px}.tabs{position:sticky;bottom:0;z-index:5;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom)}.tabs button{min-height:var(--tabs-h);border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer}.tabs button.active{color:var(--primary)}.tabs button.active svg{stroke-width:2.4}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}.card.tap{text-align:left;font:inherit;color:inherit;cursor:pointer;width:100%}.card.tap:active{background:#f6f8fa}.card.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}.card.done{background:#f7faf9}.card.hero{background:var(--primary);border-color:var(--primary);color:#fff}.card.hero .muted{color:#ffffffd1}.card.hero .bar{background:#ffffff40}.card.hero .bar>div{background:#fff}.muted{color:var(--muted);font-size:14px}.big{font-size:26px;font-weight:800;letter-spacing:-.01em}.name{font-size:18px;font-weight:700;line-height:1.3}.note{background:var(--primary-soft);border-radius:14px;padding:14px 16px;font-size:15px;color:var(--text-2)}.region{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #e9ecf0;font-size:16px}.region:first-of-type{border-top:0}.section-title{margin:6px 2px -2px;font-size:14px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.stat.wide{grid-column:span 2}.stat{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px;min-width:0}.stat b{font-size:21px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat span{font-size:13px;color:var(--muted)}details.more{background:var(--surface);border:1px solid var(--border);border-radius:16px}details.more>summary{list-style:none;cursor:pointer;min-height:60px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:16px;font-weight:600}details.more>summary::-webkit-details-marker{display:none}details.more>summary:after{content:"›";font-size:26px;color:var(--muted);transition:transform .15s}details.more[open]>summary:after{transform:rotate(90deg)}details.more>.body{padding:0 16px 16px;display:flex;flex-direction:column;gap:10px}.btn{min-height:54px;padding:0 18px;border-radius:14px;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font:inherit;font-size:17px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;text-align:center}.btn:active{filter:brightness(.95)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.good{background:var(--good);border-color:var(--good);color:#fff}.btn.danger{color:var(--bad);border-color:#f0b9b3}.btn.danger.solid{background:var(--bad);border-color:var(--bad);color:#fff}.btn.ghost{border-color:transparent;background:transparent;color:var(--primary)}.btn.xl{min-height:64px;font-size:18px;border-radius:16px}.btn.small{min-height:46px;padding:0 14px;font-size:15px}.btn.block{width:100%}.btn:disabled{opacity:.5;cursor:default}.btn.hero-btn{background:#fff;color:var(--primary);border-color:#fff}.action{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;padding:10px 16px;border-radius:16px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:17px;font-weight:600;text-align:left;cursor:pointer;text-decoration:none}.action:active{background:#f6f8fa}.action .ic{flex:none;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary)}.action .tx{flex:1;min-width:0}.action .tx small{display:block;font-size:14px;font-weight:400;color:var(--muted)}.action.primary{background:var(--primary);border-color:var(--primary);color:#fff}.action.primary .ic{background:#ffffff2e;color:#fff}.action.primary .tx small{color:#ffffffd9}.row2,.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.link{border:0;background:none;color:var(--primary);font:inherit;font-size:16px;font-weight:600;padding:8px 0;text-align:left;min-height:48px;cursor:pointer}.actionbar{position:sticky;bottom:var(--tabs-h);z-index:4;margin:auto -14px -18px;padding:12px 14px;padding-bottom:calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -6px 18px #121a2612;display:flex;flex-direction:column;gap:10px}.actionbar .sum{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:15px;color:var(--text-2)}.actionbar .sum strong{font-size:22px;color:var(--text)}.field{display:flex;flex-direction:column;gap:6px;font-size:15px;color:var(--text-2);font-weight:500}.field input,.field select,.field textarea,input.plain{min-height:54px;padding:0 16px;border:1px solid var(--border-strong);border-radius:14px;font:inherit;font-size:17px;color:var(--text);background:var(--surface);width:100%}.field input:focus,.field select:focus,input.plain:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:var(--primary)}.field input.money{font-size:26px;font-weight:700;min-height:64px}form{display:flex;flex-direction:column;gap:14px}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:600;background:#eef0f3;color:var(--text-2);white-space:nowrap}.badge.good{background:var(--good-soft);color:var(--good)}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.bad{background:var(--bad-soft);color:var(--bad)}.badge.blue{background:var(--primary-soft);color:var(--primary)}.error{background:var(--bad-soft);color:var(--bad);border-radius:12px;padding:12px 14px;font-size:15px}.ok{background:var(--good-soft);color:var(--good);border-radius:12px;padding:14px;font-size:16px;font-weight:600}.warnbox{background:var(--warn-soft);color:var(--warn);border-radius:12px;padding:12px 14px;font-size:15px}.center{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:16px}.auth{width:100%;max-width:400px;padding:22px}.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;padding:4px;background:#e8ebef;border-radius:14px}.seg button{min-height:46px;border:0;border-radius:11px;background:transparent;font:inherit;font-size:16px;font-weight:600;color:var(--text-2);cursor:pointer;padding:0 6px}.seg button.on{background:var(--surface);color:var(--primary);box-shadow:0 1px 3px #121a2626}.seg.small button{min-height:40px;font-size:15px}.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--border-strong);background:var(--surface);font:inherit;font-size:15px;font-weight:500;color:var(--text);cursor:pointer}.chip.on{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.chips.wrap{flex-wrap:wrap}.choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{min-height:56px;padding:8px 12px;border-radius:14px;border:1px solid var(--border-strong);background:var(--surface);font:inherit;font-size:16px;font-weight:600;color:var(--text);cursor:pointer}.choice.on{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.spread{display:flex;justify-content:space-between;align-items:center;gap:10px}.bar{height:10px;background:#e8ebef;border-radius:5px;overflow:hidden}.bar>div{height:10px;background:var(--primary);border-radius:5px}.qty{display:grid;grid-template-columns:56px 1fr 56px;gap:8px;align-items:stretch}.qty button{min-height:56px;border:1px solid var(--border-strong);border-radius:14px;background:#f5f7f9;font:inherit;font-size:28px;font-weight:500;color:var(--text);cursor:pointer;line-height:1}.qty button:active{background:#e6eaee}.qty input{min-height:56px;min-width:0;width:100%;border:1px solid var(--border-strong);border-radius:14px;font:inherit;font-size:22px;font-weight:700;text-align:center;color:var(--text);background:var(--surface)}.qty input:focus{outline:2px solid var(--primary);outline-offset:-1px}.check{flex:none;width:34px;height:34px;border-radius:50%;border:2px solid var(--border-strong);display:flex;align-items:center;justify-content:center;color:#fff}.check.on{background:var(--good);border-color:var(--good)}.line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e9ecf0}.line:first-child{border-top:0;padding-top:0}
