:root { --brand: #0f766e; --bg: #f2f5f4; --panel: #fff; --ink: #13202a; --muted: #5d6b74; --line: #e1e7e5; --bad: #b42318; --ok: #15803d; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
.top { background: var(--brand); color: #fff; padding: 22px 16px 46px; }
.top h1 { margin: 0; font-size: 22px; } .top .sub { opacity: .85; font-size: 14px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; }
.card { background: var(--panel); border-radius: 16px; padding: 16px; margin-top: 14px; box-shadow: 0 6px 18px rgba(16, 40, 36, .06); }
.first { margin-top: -30px; }
h2 { font-size: 16px; margin: 0 0 10px; } .muted { color: var(--muted); } .small { font-size: 13px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; cursor: pointer; font: inherit; color: inherit; min-width: 62px; }
.chip b { display: block; font-size: 17px; } .chip span { font-size: 12px; color: var(--muted); }
.chip.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); }
.chip:disabled { opacity: .4; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 4px; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.slot.on { border-color: var(--brand); background: var(--brand); color: #fff; } .slot:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.pk { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; width: 100%; font: inherit; color: inherit; text-align: left; }
.pk.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, #fff); } .pk b { font-size: 16px; } .pk .p { font-weight: 800; font-size: 17px; }
.step { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.step button { width: 46px; height: 42px; border: 0; background: #f6f8f7; font-size: 20px; cursor: pointer; } .step b { min-width: 52px; text-align: center; font-size: 18px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: inherit; }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: 14px; } .check input { width: auto; margin-top: 3px; }
.btn { display: block; width: 100%; border: 0; border-radius: 12px; padding: 14px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; background: var(--brand); color: #fff; margin-top: 14px; text-align: center; text-decoration: none; }
.btn.light { background: #eef2f1; color: var(--ink); } .btn:disabled { opacity: .5; }
.sum { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin-top: 12px; }
.err { color: var(--bad); font-weight: 600; min-height: 1em; }
.tag { display: inline-block; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 700; background: #eef2f1; }
.tag.ok { background: #dcfce7; color: var(--ok); } .tag.bad { background: #fee4e2; color: var(--bad); } .tag.warn { background: #fef3c7; color: #92400e; }
.kv { width: 100%; border-collapse: collapse; } .kv td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; } .kv td:first-child { color: var(--muted); width: 38%; }
.bk { text-align: center; } .bk .no { font-size: 30px; font-weight: 800; letter-spacing: 1px; } .bk svg { width: 100%; max-width: 320px; height: 70px; }
.test { background: #fff3cd; color: #8a5a00; border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 600; margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #1f2937; color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 9; max-width: 90vw; }
.toast.bad { background: var(--bad); } .hidden { display: none; }

.act { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); margin: 14px 0 6px; } /* v3.03 activity heading */
#pkgs .act:first-child { margin-top: 0; }

/* v3.39 choose your seats */
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.seg button { border: 0; background: #fff; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.seg button.on { background: var(--brand); color: #fff; }
.floor { border: 1px solid var(--line); border-radius: 12px; background: #fafcfb; padding: 6px; overflow-x: auto; }
.floor svg { width: 100%; min-width: 620px; height: auto; display: block; touch-action: manipulation; }   /* big enough to tap a seat; scroll sideways on a phone */
.floor .tb rect, .floor .tb ellipse { fill: #eef2f1; stroke: #c9d3d0; stroke-width: 2; }
.floor .tb.pick { cursor: pointer; } .floor .tb.pick rect, .floor .tb.pick ellipse { fill: #fff; stroke: var(--brand); }
.floor .tb.taken rect, .floor .tb.taken ellipse { fill: #e5e7eb; stroke: #d1d5db; }
.floor .tb.sel rect, .floor .tb.sel ellipse { fill: var(--brand); } .floor .tb.sel text { fill: #fff; }
.floor .tn { font-size: 17px; font-weight: 700; text-anchor: middle; fill: var(--ink); } .floor .tf { font-size: 12px; text-anchor: middle; fill: var(--muted); }
.floor .st circle { stroke-width: 2; } .floor .st text { font-size: 14px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.floor .st.free { cursor: pointer; } .floor .st.free circle { fill: #fff; stroke: var(--brand); } .floor .st.free text { fill: var(--brand); }
.floor .st.taken circle { fill: #e5e7eb; stroke: #d1d5db; } .floor .st.taken text { fill: #9ca3af; }
.floor .st.sel circle { fill: var(--brand); stroke: var(--brand); } .floor .st.sel text { fill: #fff; }
