:root{--primary-500:oklch(0.5 0.15 310);--primary-rgb:122 62 148;--accent-500:oklch(0.8 0.13 80)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);padding-bottom:84px}
h1,h2,h3{font-family:var(--font-display);margin:.2em 0}
.hd{position:sticky;top:0;z-index:5;display:flex;gap:8px;align-items:center;padding:10px 14px;background:var(--surface-1);border-bottom:1px solid var(--border)}
.hd img{width:30px;height:30px;border-radius:8px}.hd h1{font-size:1.1rem;flex:1}
.pill{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:999px;padding:6px 12px;font-weight:600;min-height:36px}
main{padding:14px;max-width:760px;margin:0 auto}
.tabsbar{position:fixed;bottom:0;left:0;right:0;display:flex;background:var(--surface-1);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);z-index:6}
.tabsbar button{flex:1;background:none;border:0;color:var(--text-muted);padding:10px 4px;font-size:.8rem;font-weight:600;min-height:56px}
.tabsbar button[aria-current=true]{color:var(--primary-500)}
.wa{position:fixed;right:14px;bottom:72px;background:#25d366;color:#fff;text-decoration:none;font-weight:700;padding:10px 14px;border-radius:999px;box-shadow:var(--shadow-2);z-index:7}
.hero{border-radius:16px;padding:18px;background:linear-gradient(135deg,rgb(var(--primary-rgb)/.9),rgb(var(--primary-rgb)/.6));color:#fff;margin-bottom:14px}
.hero p{margin:.3em 0 0;opacity:.9}
.chips{display:flex;gap:6px;overflow-x:auto;padding:4px 0 10px}
.chip{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:999px;padding:7px 12px;white-space:nowrap;font-weight:600;min-height:36px}
.chip[aria-pressed=true]{background:var(--primary-500);color:#fff;border-color:transparent}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sc{background:var(--surface-1);border:1px solid var(--border);border-radius:14px;overflow:hidden;cursor:pointer;text-align:left;padding:0;color:var(--text)}
.sc img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}.sc div{padding:8px 10px}.sc b{display:block;font-size:.95rem}.sc small{color:var(--text-muted)}
.price{font-family:var(--font-display);font-weight:700;color:var(--primary-500)}
.panel{background:var(--surface-1);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:12px}
.big{width:100%;max-height:360px;object-fit:cover;border-radius:12px}
label{display:block;font-weight:600;font-size:.85rem;margin:10px 0 4px}
input,select,textarea{width:100%;padding:11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font:inherit;min-height:44px}
.btnp{width:100%;background:var(--primary-500);color:#fff;border:0;border-radius:12px;padding:14px;font-weight:700;font-size:1rem;margin-top:14px;min-height:48px}
.btn2{background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:8px 12px;font-weight:600;min-height:40px}
.slots{display:flex;flex-wrap:wrap;gap:6px}.tot{display:flex;justify-content:space-between;font-weight:700;margin-top:10px}
.demo{background:var(--warning-bg);color:var(--warning-text);border-radius:8px;padding:6px 8px;font-size:.8rem}
.thumb{width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin-top:8px}
.bk{display:grid;grid-template-columns:72px 1fr;gap:10px}.bk img{width:72px;height:96px;object-fit:cover;border-radius:8px;background:var(--surface-3)}
.st{font-size:.75rem;padding:2px 8px;border-radius:999px;background:var(--surface-3)}
.err{color:var(--error-text)}.ok{color:var(--success-text)}
table{width:100%;border-collapse:collapse}td{padding:6px 4px;border-bottom:1px solid var(--border)}td input{min-height:38px;padding:6px}
html,body{overflow-x:hidden}.bk{grid-template-columns:72px minmax(0,1fr)}.bk .chips{flex-wrap:wrap}.bk>div{overflow-wrap:anywhere}
table td{vertical-align:top}.panel table{table-layout:fixed}
.vh{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}.filepick{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 8px}.filepick label.btn{cursor:pointer;min-height:44px;display:inline-flex;align-items:center}#bdatef{display:block;margin:4px 0 6px;opacity:.8}
.filepick label.btn{border:1.5px solid currentColor;border-radius:12px;padding:8px 14px;font-weight:600}
