:root{--bg:#f2f0eb;--panel:#fff;--ink:#202024;--muted:#777168;--line:#ded8cf;--dark:#28282c;--blue:#087cf1;--ok:#24a865;--warn:#aa6f1a}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit}button{cursor:pointer}.topbar{position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);padding:max(10px,env(safe-area-inset-top)) 12px 10px}.brand{display:flex;align-items:center;gap:8px;font-weight:950;letter-spacing:.02em}.brandmark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--dark);color:white;font-weight:950}.topchips{display:flex;gap:6px;align-items:center}.chip,.iconbtn{border:1px solid #ddd6cd;background:#f5f2ed;border-radius:12px;padding:9px 10px;font-weight:850;color:#45413d}.iconbtn{width:41px}.content{max-width:980px;margin:auto;padding:12px 12px 110px}.statusCard,.searchCard{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:13px;margin-bottom:10px}.statusCard{display:flex;align-items:center;justify-content:space-between;gap:10px}.eyebrow{font-size:10px;font-weight:950;letter-spacing:.1em;color:#8b847b}.destination{font-size:17px;font-weight:950;margin-top:3px}.dot{display:inline-block;width:8px;height:8px;background:var(--ok);border-radius:50%;margin-left:6px}.modeBadge{font-size:11px;font-weight:950;padding:8px 10px;border-radius:999px;background:#eee8df;color:#696159}.searchRow{display:grid;grid-template-columns:1fr auto;gap:8px}.searchRow input{width:100%;min-width:0;border:1px solid #d8d1c8;border-radius:14px;padding:13px 14px;font-size:17px;background:#fbfaf8}.clearSearch{width:52px;border:0;border-radius:14px;background:#ece7df;color:var(--blue);font-size:25px;font-weight:900}.quickRow{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin-top:9px}.softBtn,.darkBtn,.sendBtn,.followBtn{border:0;border-radius:13px;padding:12px 10px;font-weight:950}.softBtn{background:#ede9e2;color:#49443f}.darkBtn{background:var(--dark);color:#fff}.categoryBar{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:2px 0 9px}.categoryBar::-webkit-scrollbar{display:none}.catBtn{flex:0 0 auto;border:0;border-radius:999px;padding:9px 13px;color:white;font-weight:900}.catBtn.active{outline:3px solid #0002}.resultMeta{font-size:12px;font-weight:800;color:var(--muted);padding:0 2px 8px}.productGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.productBtn{border:1px solid var(--line);background:white;border-radius:14px;padding:11px;text-align:left;min-height:83px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.productBtn:active{transform:scale(.985)}.productName{font-size:14px;line-height:1.18;font-weight:850}.productFoot{display:flex;align-items:flex-end;justify-content:space-between;gap:7px}.productCat{font-size:10px;color:#8c857c;font-weight:800}.productPrice{font-size:13px;font-weight:950;white-space:nowrap}.ticketFab{position:fixed;right:14px;bottom:max(14px,env(safe-area-inset-bottom));z-index:30;border:0;background:var(--dark);color:#fff;border-radius:999px;padding:14px 17px;display:flex;align-items:center;gap:9px;font-weight:950;box-shadow:0 12px 35px #0004}.ticketFab b{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;background:white;color:var(--dark);border-radius:999px}.modal{display:none;position:fixed;inset:0;z-index:50;background:#0007;align-items:flex-end}.modal.open{display:flex}.sheet{width:100%;max-height:90dvh;overflow:auto;background:white;border-radius:22px 22px 0 0;padding:15px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.sheetHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.sheetHead h2{margin:0 0 10px;font-size:22px}.xbtn{border:0;background:#eee9e2;border-radius:999px;width:38px;height:38px;font-size:24px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fields label,.globalNote,.settingsBlock label{font-size:11px;color:#716a61;font-weight:900}.fields input,.globalNote textarea,.settingsBlock input{width:100%;margin-top:4px;border:1px solid #d9d1c8;border-radius:12px;padding:11px 12px;background:#fbfaf8;font-size:16px;color:var(--ink)}.globalNote{display:block;margin-top:9px}.ticketLines{margin-top:10px;border-top:1px solid #eee8df}.ticketLine{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #eee8df}.qtyCtl{display:flex;align-items:center;gap:5px}.qtyCtl button{width:30px;height:30px;border:1px solid #ddd;border-radius:9px;background:#fff;font-weight:950}.lineMain{min-width:0}.lineMain button{border:0;padding:0;background:none;text-align:left;font-weight:850;color:var(--ink)}.lineNote{font-size:11px;color:#925c1d;font-weight:800;margin-top:3px}.linePrice{font-size:13px;font-weight:950;white-space:nowrap}.ticketTotal{display:flex;justify-content:space-between;align-items:center;padding:14px 0 7px;font-size:21px;font-weight:950}.sendRow{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}.followBtn{background:#eee7dc;color:#473f37}.sendBtn{background:var(--dark);color:#fff}.sendBtn.full,.softBtn.full{width:100%;margin-top:10px}.sendHint{font-size:11px;color:#7d756b;font-weight:750;text-align:center;padding-top:8px}.modifierGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.modifierGrid button{border:1px solid #ddd6cd;background:#f7f4ef;border-radius:11px;padding:10px;font-weight:800}.historyCard{border:1px solid var(--line);border-radius:14px;padding:11px;margin-bottom:8px}.historyTop{display:flex;justify-content:space-between;gap:8px;font-weight:900}.historyMeta{font-size:11px;color:var(--muted);margin-top:3px}.historyItems{font-size:12px;line-height:1.4;margin-top:7px}.settingsBlock{border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:9px}.settingLabel{font-size:11px;font-weight:950;color:#777067;letter-spacing:.05em}.lockedSetting{font-size:18px;font-weight:950;margin-top:5px}.settingsBlock p{font-size:12px;color:#777067;line-height:1.4;margin:7px 0 0}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#eee9e2;padding:4px;border-radius:12px;margin-top:8px}.segmented button{border:0;background:transparent;border-radius:9px;padding:10px;font-weight:900}.segmented button.active{background:white;box-shadow:0 1px 5px #0002}.hidden{display:none}.warningBox{margin-top:10px;padding:10px;border-radius:11px;background:#fff3da;color:#7a5717;font-size:11px;font-weight:750;line-height:1.4}.toast{position:fixed;left:50%;bottom:88px;z-index:80;transform:translateX(-50%) translateY(18px);background:#202024;color:#fff;border-radius:12px;padding:11px 14px;font-weight:850;opacity:0;transition:.18s;pointer-events:none;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.empty{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;text-align:center;color:#8a837a;font-weight:800}
@media(min-width:760px){.productGrid{grid-template-columns:repeat(4,1fr)}.sheet{max-width:650px;margin:0 auto}.modal{justify-content:center}.quickRow{grid-template-columns:repeat(3,180px)}}
.ticketSeparator{display:grid;grid-template-columns:1fr auto auto;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #eee8df}
.ticketSeparator>span{height:2px;background:#2b292d;border-radius:999px}
.ticketSeparator strong{font-size:12px;letter-spacing:.12em;font-weight:950;color:#2b292d;white-space:nowrap}
.removeSeparator{width:30px;height:30px;border:0;border-radius:999px;background:#eee9e2;color:#4b4640;font-weight:950;font-size:18px}
