:root{--bg: var(--tg-theme-bg-color, #fff);--text: var(--tg-theme-text-color, #111);--hint: var(--tg-theme-hint-color, #888);--accent: var(--tg-theme-button-color, #2481cc);--accent-text: var(--tg-theme-button-text-color, #fff);--card: var(--tg-theme-secondary-bg-color, #f2f2f5)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.4 system-ui,sans-serif}.screen{padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.error{color:#d33}header{display:flex;align-items:center;justify-content:space-between;gap:8px}h1{font-size:22px;margin:0 0 16px}h2{font-size:18px;margin:20px 0 10px}h3{font-size:16px;margin:0 0 4px}.hint{color:var(--hint);font-size:14px;margin:4px 0}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.stat{background:var(--card);border-radius:14px;padding:12px;display:flex;flex-direction:column}.stat b{font-size:22px}.card{background:var(--card);border-radius:14px;padding:14px;margin-bottom:10px}.card.cancelled{outline:2px solid #d33}.card.cancelled .status{color:#d33;font-weight:700}.status{font-weight:600;margin:4px 0}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.chip{background:var(--bg);border-radius:10px;padding:6px 10px;font-size:13px}.chip.off{opacity:.45}.screen{padding-bottom:calc(80px + env(safe-area-inset-bottom))}.tabbar{position:fixed;left:0;right:0;bottom:0;display:flex;background:var(--card);padding:6px 8px calc(6px + env(safe-area-inset-bottom));gap:4px}.tabbar button{flex:1;min-height:48px;border:0;border-radius:12px;background:none;color:var(--hint);font-size:14px}.tabbar button.on{color:var(--accent);font-weight:700}.chip{border:0;color:var(--text);min-height:40px}.chip.on{background:var(--accent);color:var(--accent-text)}.primary{width:100%;min-height:52px;border:0;border-radius:14px;background:var(--accent);color:var(--accent-text);font-size:16px;font-weight:700;margin:16px 0 8px}.primary:disabled{opacity:.45}.link{background:none;border:0;color:var(--accent);font-size:15px;padding:0;margin-bottom:8px}.qty{display:flex;align-items:center;gap:14px}.qty button{width:40px;height:40px;border-radius:12px;border:0;background:var(--bg);color:var(--text);font-size:20px}.row{display:flex;justify-content:space-between;align-items:center;gap:8px}.total{font-weight:700;font-size:18px;text-align:right}.upload{display:block;text-align:center;padding:18px;border:2px dashed var(--hint);border-radius:14px}.shot{width:100%;border-radius:12px;margin:8px 0}.actions{display:flex;flex-direction:column;gap:0}.actions .primary{margin:8px 0 0}.notice{background:var(--accent);color:var(--accent-text);padding:12px;border-radius:12px}.search{width:100%;min-height:44px;border-radius:12px;border:1px solid var(--hint);padding:0 12px;background:var(--bg);color:var(--text);font-size:16px;margin-bottom:12px}.badge{background:var(--accent);color:var(--accent-text);border-radius:8px;padding:2px 8px;font-size:12px;margin:0 4px}.grid{width:100%;border-collapse:collapse;margin-top:10px}.grid th,.grid td{text-align:left;padding:6px 4px;border-bottom:1px solid var(--bg)}.grid input{width:64px;min-height:40px;border-radius:10px;border:1px solid var(--hint);background:var(--bg);color:var(--text);font-size:16px;text-align:center}.delivery{background:var(--bg);border-radius:12px;padding:10px;margin:8px 0}.delivery p{margin:4px 0}.row .search{margin-bottom:0;min-width:0}.report{white-space:pre-wrap;font:14px/1.45 ui-monospace,Menlo,Consolas,monospace;margin:6px 0}
