:root{--blue: #1d4ed8;--blue-soft: #dbeafe;--ink: #111827;--muted: #6b7280;--line: #e5e7eb;--bg: #ffffff;--card: #f9fafb;--green: #16a34a;--green-soft: #dcfce7;--amber: #d97706;--amber-soft: #fef3c7;--red: #dc2626;--red-soft: #fee2e2;--grey-soft: #f3f4f6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);font-size:17px;line-height:1.4;-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;padding-bottom:env(safe-area-inset-bottom)}.page{padding:12px 16px 96px;max-width:640px;margin:0 auto}.narrow{max-width:420px}h1{font-size:1.5rem;margin:8px 0 12px}h2{font-size:1.15rem;margin:16px 0 8px}a{color:var(--blue)}.stack{display:flex;flex-direction:column;gap:12px}label{display:flex;flex-direction:column;gap:4px;font-weight:600}input,textarea,select{font:inherit;padding:12px;border:1px solid #d1d5db;border-radius:10px;min-height:48px}button{font:inherit;min-height:48px;border-radius:12px;border:1px solid #d1d5db;background:#fff;padding:10px 14px;cursor:pointer}button.primary{background:var(--blue);color:#fff;border-color:var(--blue);font-weight:700;width:100%}button.secondary{width:100%}button:disabled{opacity:.6}.error{color:var(--red);margin:0}.note{background:var(--blue-soft);padding:10px 12px;border-radius:10px}.warn{background:var(--amber-soft);padding:10px 12px;border-radius:10px}.syncbar{position:sticky;top:0;z-index:10;width:100%;border:0;border-radius:0;min-height:36px;font-size:.9rem;font-weight:600}.syncbar-ok{background:var(--green-soft);color:#166534}.syncbar-busy{background:var(--amber-soft);color:#92400e}.syncbar-off{background:var(--grey-soft);color:#374151}.muted{color:var(--muted)}.row-between{display:flex;justify-content:space-between;align-items:center}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;margin:12px 0}.warn-card{background:var(--amber-soft);border-color:#fcd34d}.list{list-style:none;padding:0;margin:0 0 8px}.store-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none;min-height:56px}.store-num{font-weight:700;min-width:56px}.store-name{flex:1;display:flex;flex-direction:column}.store-name small{color:var(--muted)}.badge{font-size:.8rem;padding:3px 8px;border-radius:999px;background:var(--blue-soft);color:var(--blue);white-space:nowrap}.badge.red{background:var(--red-soft);color:var(--red)}.btn{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:12px;text-decoration:none;font-weight:700;border:1px solid #d1d5db;color:var(--ink);background:#fff}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.actions-bottom{margin-top:20px}.options{display:grid;gap:8px;margin:8px 0}.options.cols-2{grid-template-columns:1fr 1fr}.opt{text-align:left;font-weight:600}.opt.selected{background:var(--blue);color:#fff;border-color:var(--blue)}input[type=search]{width:100%}.counter{font-weight:700;margin:4px 0}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}.tile{min-height:64px;border-radius:12px;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px;font-weight:700}.tile-num{font-size:1.25rem}.tile-sub,.tile-hint{font-size:.7rem;font-weight:500}.tile-grey{background:var(--grey-soft)}.tile-green{background:var(--green-soft);color:#166534}.tile-amber{background:var(--amber-soft);color:#92400e}.tile-red{background:var(--red-soft);color:#991b1b}.tile-skip{background:#fff;border:2px dashed #9ca3af;color:var(--muted)}.tile-closed{border-color:#374151}.tile-add{background:#fff;border:2px dashed var(--blue);color:var(--blue);font-size:1.5rem}.sheet{position:fixed;left:0;right:0;bottom:0;max-height:85vh;overflow-y:auto;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -8px 30px #0003;padding:12px 16px calc(16px + env(safe-area-inset-bottom));z-index:20}.sheet h3{margin:12px 0 4px;font-size:1rem}.shortcuts{display:grid;gap:8px;grid-template-columns:1fr 1fr}.shortcuts button{min-height:60px}button.link{background:none;border:0;color:var(--blue);min-height:32px;padding:0 6px;text-decoration:underline}button.link.danger{color:var(--red)}.help{font-size:.9rem;background:var(--card);border-radius:8px;padding:8px 8px 8px 24px}details{margin:12px 0}summary{cursor:pointer;font-weight:600;min-height:32px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:8px 0 12px}.step{min-height:36px;font-size:.85rem;padding:4px}.step.active{background:var(--blue);color:#fff;border-color:var(--blue)}.layout-row{display:grid;grid-template-columns:auto 1fr 44px 44px 44px;gap:6px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}.layout-row input{min-width:0}.remove-reason{grid-column:1 / -1}.photo{display:flex;flex-direction:column;gap:6px;margin:10px 0}.photo-needed .photo-label b{color:var(--red)}.stepper{display:grid;grid-template-columns:1fr 48px 72px 48px;gap:6px;align-items:center;margin:6px 0}.stepper input{text-align:center;padding:8px}.reason{margin-top:8px}.warn-list{margin:4px 0;padding-left:20px;color:#92400e}button.big{min-height:60px;font-size:1.1rem}
