/* Look and feel of artofliving.sg: warm cream page, white rounded cards, Plus Jakarta Sans,
   charcoal text, the logo's sunrise orange as the accent, a floating white pill header.
   Light only, like the main site (the logo's charcoal lettering needs a light ground). */
:root { --bg:#fffaf2; --card:#fff; --ink:#333; --muted:#757575; --line:#ece4d6; --soft:#fbf4e8;
  --accent:#d94b04; --accent-2:#f37021; --accent-ink:#fff; --sage:#c4d8c5; --sage-ink:#2f5b3a;
  --ok:#2f7d4f; --warn:#9a6700; --bad:#c0362c; --seat:#2f7d5b; --seat-bg:#eef7f2;
  --radius:20px; --shadow:0 2px 6px rgba(74,45,18,.05), 0 10px 30px rgba(74,45,18,.06);
  color-scheme:light; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--ink); -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-underline-offset:2px; }
/* header: white pill floating over the page, logo on the left, tabs on the right */
.top { position:sticky; top:10px; z-index:20; max-width:1100px; margin:14px auto 0; width:calc(100% - 24px); display:flex; flex-wrap:wrap; gap:6px 18px; align-items:center; justify-content:space-between; padding:8px 12px 8px 20px; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); border-radius:999px; box-shadow:var(--shadow); }
.brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); font-weight:600; font-size:.85rem; }
.brand img { height:40px; width:auto; display:block; }
.brand a { display:block; }
.brand .portal-name { padding-left:10px; border-left:1px solid var(--line); color:var(--muted); letter-spacing:.02em; text-decoration:none; }
.site-foot { max-width:1100px; margin:0 auto; padding:16px 16px 32px; border-top:1px solid var(--line); text-align:center; font-size:.85rem; color:var(--muted); }
.site-foot a { color:inherit; font-weight:600; }
nav { display:flex; flex-wrap:wrap; gap:2px; }
nav a { text-decoration:none; color:var(--ink); font-weight:500; font-size:.9rem; padding:7px 13px; border-radius:999px; transition:background .15s; }
nav a:hover { background:var(--soft); }
nav a.on { background:var(--ink); color:#fff; }
@media (max-width:720px) {
  .top { border-radius:22px; justify-content:center; padding:10px 12px; }
  nav { justify-content:center; } nav a { padding:6px 10px; font-size:.85rem; }
  .brand img { height:34px; }
}
main { max-width:1100px; margin:0 auto; padding:24px 16px 48px; }
h1, h2, h3 { color:var(--ink); letter-spacing:-.01em; }
h1 { font-size:1.75rem; font-weight:700; margin:.3em 0 .4em; line-height:1.25; } h2 { font-size:1.2rem; font-weight:700; margin:.3em 0; }
.card { background:var(--card); border:1px solid rgba(74,45,18,.06); border-radius:var(--radius); padding:20px 22px; margin:14px 0; box-shadow:var(--shadow); }
.narrow { max-width:540px; margin:32px auto; }
.muted { color:var(--muted); } .small { font-size:.85rem; }
.flash { padding:12px 16px; border-radius:14px; margin-bottom:14px; background:#eaf4ec; color:var(--ok); border:1px solid #cfe5d4; }
.flash.error { background:#fdf0ee; color:var(--bad); border-color:#f3d2cd; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; background:var(--accent); color:var(--accent-ink); border:0; border-radius:999px; padding:10px 20px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; transition:background .15s, transform .1s; }
.btn:hover { background:var(--accent-2); } .btn:active { transform:translateY(1px); }
.btn.ghost { background:transparent; color:var(--accent); box-shadow:inset 0 0 0 1.5px var(--accent); }
.btn.ghost:hover { background:#fdeee4; }
.btn.danger { background:transparent; color:var(--bad); box-shadow:inset 0 0 0 1.5px currentColor; margin-top:10px; }
.btn.danger:hover { background:#fdf0ee; }
.btn.big { font-size:1.05rem; padding:13px 22px; width:100%; }
.btn:disabled { opacity:.45; cursor:not-allowed; } .btn:disabled:hover { background:var(--accent); }
.btn.busy::before { content:""; width:14px; height:14px; border-radius:50%; border:2px solid currentColor; border-right-color:transparent; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
button.link { background:none; border:0; color:var(--muted); text-decoration:underline; cursor:pointer; padding:0; font:inherit; font-size:.85rem; }
input, select, textarea { font:inherit; padding:9px 12px; border:1px solid #e3dacb; border-radius:12px; background:#fff; color:var(--ink); max-width:100%; transition:border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--accent-2); box-shadow:0 0 0 3px rgba(243,112,33,.15); }
input[type=checkbox] { accent-color:var(--accent); width:16px; height:16px; }
input[type=number] { width:70px; }
input[type=file] { padding:7px; background:var(--soft); }
.inline { display:inline-flex; flex-wrap:wrap; gap:6px; align-items:center; }
.stack { display:flex; flex-direction:column; gap:8px; } .stack label { display:flex; flex-direction:column; gap:3px; }
.table-wrap { overflow-x:auto; border-radius:14px; } table { width:100%; border-collapse:collapse; background:var(--card); }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; } th { font-size:.78rem; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.04em; background:var(--soft); }
tbody tr:hover td { background:#fffdf9; } tfoot th { background:transparent; color:var(--ink); }
.num { text-align:right; font-variant-numeric:tabular-nums; }
.tag { font-size:.75rem; padding:2px 9px; border-radius:99px; background:var(--soft); color:var(--muted); }
.state { font-size:.78rem; font-weight:600; padding:3px 10px; border-radius:99px; background:color-mix(in srgb, currentColor 10%, #fff); white-space:nowrap; }
.state.held { color:var(--muted); } .state.assigned { color:var(--warn); } .state.checkout { color:var(--accent); } .state.sold { color:var(--ok); }
.stats { display:flex; gap:12px; flex-wrap:wrap; } .stat { flex:1 1 140px; background:var(--card); border-radius:var(--radius); padding:16px 18px; text-decoration:none; color:var(--ink); box-shadow:var(--shadow); }
.stat b { display:block; font-size:1.8rem; font-weight:700; color:var(--accent); } .stat span { color:var(--muted); font-size:.85rem; }
.list { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:12px; }
.list li a { display:flex; flex-direction:column; gap:2px; height:100%; padding:18px 20px; background:var(--card); border-radius:var(--radius); text-decoration:none; color:var(--ink); box-shadow:var(--shadow); border:1px solid transparent; transition:transform .15s, border-color .15s; }
.list li a:hover { transform:translateY(-2px); border-color:var(--accent-2); } .list li a b { font-size:1.05rem; }
.row-between { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; align-items:center; }
.copy { display:flex; gap:4px; } .copy input { width:180px; font-size:.8rem; }
details summary { cursor:pointer; color:var(--accent); }
.pair { display:flex; gap:6px; } .pair input { flex:1; min-width:0; }
fieldset { border:1px solid var(--line); border-radius:14px; padding:12px 14px; } legend { font-weight:600; padding:0 4px; }
.req { color:var(--bad); font-size:.8rem; }
.avatar { width:28px; height:28px; border-radius:50%; object-fit:cover; vertical-align:middle; margin-right:8px; background:var(--line); display:inline-block; }
.avatar.lg { width:72px; height:72px; margin:0; } .avatar.empty { border:1px dashed var(--muted); background:transparent; }
.profile-head { display:flex; gap:12px; align-items:center; margin-bottom:12px; }
.who { white-space:nowrap; }
.bar { display:inline-block; width:110px; height:8px; background:var(--line); border-radius:99px; overflow:hidden; vertical-align:middle; margin-right:6px; }
.bar span { display:block; height:100%; background:var(--ok); }
tr.group-start td { border-top:2px solid var(--line); }
td input[type=number] { width:64px; text-align:right; }
.note { padding:12px 16px; background:var(--sage); color:var(--sage-ink); border-radius:14px; }
.warn { color:var(--warn); font-weight:600; }
.tag.ok { color:var(--ok); border-color:currentColor; }
.btn.disabled { opacity:.4; pointer-events:none; }
.sticky-actions { position:sticky; top:0; z-index:1; background:var(--bg); padding:8px 0; }
.sankalpa td input[type=number] { width:56px; }
/* seat map: round seats sized by seatmap.js (--s), blocks side by side with an aisle */
.seatmap { --s:26px; overflow-x:auto; padding:4px 2px 2px; }
.stage { text-align:center; font-size:.75rem; letter-spacing:.2em; text-transform:uppercase; color:#7a5a3a; background:#f6dfc0; border:1px solid #ecd0aa; border-radius:6px 6px 60px 60px; padding:8px; margin:0 auto 18px; width:min(420px, 70%); }
.seatgrid { display:flex; flex-direction:column; gap:calc(var(--s) * .2); width:max-content; margin:0 auto; }
.seatrow { display:flex; align-items:center; gap:calc(var(--s) * .5); }
.seatrow .rowlabel { width:calc(var(--s) * 1.2); min-width:14px; font-size:.75rem; line-height:1; font-weight:600; color:var(--muted); text-align:center; }
.seatblock { display:flex; gap:calc(var(--s) * .2); }
.seatblock + .seatblock { margin-left:var(--s); } /* the aisle */
.blockhead, .blabel { display:none; }
.seatmap.stacked .seatrow { display:contents; }
.seatmap.stacked .rowlabel { display:none; }
.seatmap.stacked .seatblock { order:var(--o); margin-left:0; }
.seatmap.stacked .blabel { display:inline-flex; align-items:center; justify-content:center; flex:none; width:calc(var(--s) * 1.2); font-size:.75rem; font-weight:600; color:var(--muted); }
.seatmap.stacked .blockhead { display:block; order:var(--o); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); text-align:center; margin-top:10px; }
.seatmap.stacked .blockhead:first-child { margin-top:0; }
.seat { display:inline-flex; align-items:center; justify-content:center; flex:none; width:var(--s); height:var(--s); border-radius:50%; font-size:calc(var(--s) * .4); line-height:1; border:1.5px solid var(--line); color:var(--muted); background:var(--card); position:relative; box-sizing:border-box; transition:transform .1s, background .1s; }
.seat.gap { visibility:hidden; }
.seatmap.tiny .seat span { visibility:hidden; }
.swipe { display:none; position:sticky; left:0; margin:-10px 0 10px; text-align:center; }
.seatmap.scrolls .swipe { display:block; }
.seat.free { border-color:var(--seat); color:var(--seat); background:var(--seat-bg); }
.seat.mine { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.seat.held { background:var(--warn); border-color:var(--warn); color:var(--card); }
.seat.sold { background:var(--ok); border-color:var(--ok); color:var(--card); }
.seat.taken { background:var(--line); border-color:var(--line); color:transparent; }
.seat.taken span { visibility:hidden; }
.seat.picked { background:var(--accent); border-color:var(--accent); }
label.seat { cursor:pointer; } label.seat input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
label.seat:hover { transform:scale(1.15); z-index:1; }
label.seat:has(input:checked) { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); font-weight:600; }
label.seat:has(input:focus-visible) { outline:2px solid var(--accent); outline-offset:2px; }
.legend { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 6px; margin:16px 0 0; color:var(--muted); }
.legend .seat { --s:14px; margin-left:10px; }

.group { border-top:4px solid var(--accent-2); }
.big-left { color:var(--muted); } .big-left b { font-size:1.6rem; color:var(--accent); }
.big-left .clicks { white-space:nowrap; } .big-left .clicks b { font-size:1.15rem; color:var(--ink); }
.bar.wide { width:100%; margin:4px 0 8px; }
.done { color:var(--ok); }
.members { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 0; }
.member { padding:2px 8px 2px 2px; border:1px solid var(--line); border-radius:99px; display:inline-flex; align-items:center; }
.member .avatar { width:22px; height:22px; margin-right:6px; } .member.me { border-color:var(--accent); }
.group-wrap { margin-bottom:8px; } .group-actions { margin-top:-6px; } .group-actions .btn.danger { margin-top:0; }
.targets { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; }
.targets label { display:flex; flex-direction:column; gap:3px; }
.picks { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:4px 12px; max-height:340px; overflow-y:auto; margin-top:8px; }
.stack .pick { flex-direction:row; align-items:center; gap:6px; }
.buy { max-width:980px; margin:0 auto; }
.hero { display:flex; flex-wrap:wrap; gap:0; align-items:stretch; padding:0; overflow:hidden; }
.poster { display:block; flex:1 1 300px; width:100%; max-width:420px; height:auto; align-self:flex-start; margin:0 auto; }
.hero-text { flex:1.4 1 300px; padding:20px; }
.hero .meta { display:flex; gap:10px; margin:8px 0; } .hero .meta > span:first-child { flex:none; }
.hero .meta .muted { display:block; }
.lead { margin:14px 0 10px; white-space:pre-line; }
.about { margin:4px 0 16px; } .rich { margin-top:8px; font-size:.92rem; } .rich h3 { font-size:1rem; margin:16px 0 6px; }
.rich p { margin:0 0 8px; } .rich blockquote { margin:8px 0; padding:4px 0 4px 12px; border-left:3px solid var(--line); color:var(--muted); }
/* venue map, drawn like the Wix seating map: stage on top, then rows of sections left to
   right; numbered seats show their seat map (flex-grow 3), free-seating areas are tiles */
.venue { display:flex; flex-direction:column; gap:12px; padding:6px 0 4px; }
.venue > .stage { margin-bottom:4px; }
.venue-row { display:flex; gap:12px; align-items:stretch; }
.zone { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; text-align:center; padding:14px 6px; border-radius:14px; text-decoration:none; color:var(--ink); border:2px solid var(--zc); background:color-mix(in srgb, var(--zc) 16%, var(--card)); transition:transform .1s, box-shadow .1s; }
a.zone:hover, a.zone:focus-visible { transform:translateY(-2px); box-shadow:0 4px 14px color-mix(in srgb, var(--zc) 35%, transparent); }
.zone b { color:var(--zc); } .zone span { font-size:.85rem; } .zone .small { color:var(--muted); font-size:.75rem; }
.zone.soldout { filter:grayscale(1); opacity:.5; }
.seats-zone { --seat:var(--zc); --seat-bg:color-mix(in srgb, var(--zc) 14%, var(--card)); background:var(--card); border-width:1px; border-color:var(--line); padding:8px 4px; justify-content:flex-start; align-items:stretch; }
.zone-head { margin:0 0 6px; font-size:.85rem; }
.venue-row > .pillar { flex:0 0 52px; align-self:center; padding:10px 0; text-align:center; font-size:.72rem; color:var(--muted); border:1px solid var(--line); border-radius:4px; background:var(--card); }
.seat.pillar { border:0; background:none; overflow:visible; z-index:1; }
.seatmap .seat.pillar span { visibility:visible; position:absolute; top:0; left:0; width:calc(var(--s) * 3.4); height:calc(var(--s) * 3.4); box-sizing:border-box; display:flex; align-items:center; justify-content:center; font-size:.68rem; color:var(--muted); background:var(--card); border:1px solid var(--muted); border-radius:3px; }
.seats-zone .legend { margin-bottom:0; }
@media (max-width:720px) {
  /* not enough room beside the seats: they take the full width, their neighbours go below */
  .venue-row.has-seats { flex-wrap:wrap; }
  .venue-row.has-seats .seats-zone { flex-basis:100%; order:-1; }
  .sides { display:flex; justify-content:space-between; gap:8px; margin:-2px 2px 8px; font-size:.75rem; font-weight:600; color:var(--muted); }
  .zone .side { display:block; margin-top:4px; padding:2px 8px; border-radius:999px; font-size:.72rem; font-weight:600; color:var(--zc); background:var(--card); }
}
@media (min-width:721px) { .sides, .zone .side, .hint-phone, .back, .seats-open { display:none; } }
/* a hall drawn to the shape of its Wix map: boxes placed in % (tickets.VENUE_PLANS) */
.hall { position:relative; display:block; aspect-ratio:1; padding:0; --x:20; --y:0; --w:60; --h:6.5; --px:18; --py:0; --pw:64; --ph:5.8; }
.hall > * { position:absolute; box-sizing:border-box; margin:0; left:calc(var(--x) * 1%); top:calc(var(--y) * 1%); width:calc(var(--w) * 1%); height:calc(var(--h) * 1%); }
.hall > .stage { display:flex; align-items:center; justify-content:center; padding:0; }
.hall > .pillar { display:flex; align-items:center; justify-content:center; font-size:.72rem; color:var(--muted); border:1px solid var(--muted); border-radius:3px; background:var(--card); }
.hall > .seats-zone { border:0; background:none; padding:0; }
.hall .seat-pick { flex:none; } .hall .seatmap { overflow:visible; padding-bottom:0; } .hall .legend { margin-top:8px; }
.hall > .seats-zone .zone-head { margin-bottom:6px; }
.cat-strip, .tile-pillar { display:none; }
/* phones, step by step (link.html's data-view): "map" shows the categories only, the
   numbered-seat section as a tile too; "seats" shows that section's seats alone; "area"
   shows the map with the chosen free-seating section lit and only its ticket count */
@media (max-width:720px) {
  #buy:not([data-view]) .hint-phone, #buy:not([data-view]) .seats-open, #buy:not([data-view]) .back { display:none; }
  #buy[data-view] .hint-wide, #buy[data-view] .side, #buy[data-view=map] .back, #buy[data-view]:not([data-view=map]) .hint-phone { display:none; }
  .back { align-self:flex-start; min-height:44px; padding:0 4px; margin:-6px 0 4px; border:0; background:none; font:inherit; font-weight:600; color:var(--accent); cursor:pointer; }
  #buy[data-view] .venue-row.has-seats { flex-wrap:nowrap; gap:8px; }
  #buy[data-view] .venue-row.has-seats .zone.area { flex:0 0 76px; padding:14px 2px; }
  #buy[data-view] .venue-row.has-seats .zone.area b { font-size:.72rem; overflow-wrap:anywhere; }
  #buy[data-view] .venue-row { gap:8px; } #buy[data-view] .venue-row > .pillar { display:none; }
  #buy[data-view] .venue-row:not(.has-seats) .zone { flex-grow:1 !important; padding:12px 4px; }
  #buy[data-view] .venue-row.has-seats .seats-zone { flex:1 1 auto; order:0; }
  #buy[data-view]:not([data-view=seats]) .seats-zone { justify-content:center; align-items:center; min-height:200px; padding:16px 8px; cursor:pointer; border:2px solid var(--zc); background:color-mix(in srgb, var(--zc) 10%, var(--card)); }
  #buy[data-view]:not([data-view=seats]) :is(.seat-pick, .sides) { display:none; }
  .seats-open { display:inline-block; margin-top:8px; padding:8px 16px; border-radius:999px; background:var(--zc); color:#fff; font-size:.85rem; font-weight:600; }
  #buy[data-view=seats] .seats-open { display:none; }
  #buy[data-view=seats] :is(.venue-row:not(.has-seats), .zone.area, .seats-zone:not(.on), .others) { display:none; }
  #buy[data-view=area] .zone:not(.on) { opacity:.35; filter:grayscale(1); }
  #buy[data-view=area] .ticket-list li:not(.on) { display:none; }
  .hall { aspect-ratio:358/520; }
  .hall > * { left:calc(var(--px) * 1%); top:calc(var(--py) * 1%); width:calc(var(--pw) * 1%); height:calc(var(--ph) * 1%); }
  .hall > .pillar { writing-mode:vertical-rl; font-size:.62rem; border-radius:2px; }
  #buy[data-view=seats] .hall > .pillar { display:none; }
  .hall > .seats-zone .tile-pillar { display:flex; align-items:center; justify-content:center; position:absolute; bottom:7px; width:34px; height:30px; font-size:.62rem; color:var(--muted); background:var(--card); border:1px solid var(--muted); border-radius:2px; }
  .hall > .seats-zone .tile-pillar.left { left:7px; } .hall > .seats-zone .tile-pillar.right { right:7px; }
  #buy[data-view=seats] .hall > .seats-zone .tile-pillar { display:none; }
  .hall > .zone { min-height:0 !important; padding:4px 2px; border-radius:8px; }
  .hall > .zone b { font-size:.72rem; } .hall > .zone span { font-size:.72rem; } .hall > .zone.area .small { display:none; }
  .hall > .seats-zone .zone-head { font-size:.76rem; line-height:1.3; margin:0; } .hall > .seats-zone .zone-head b { font-size:.85rem; display:block; } .hall > .seats-zone .zone-head .dot { display:none; }
  .hall > .seats-zone .seats-open { font-size:.8rem; padding:7px 14px; margin-top:6px; color:#fff; }
  #buy[data-view=seats] .hall { aspect-ratio:auto; }
  #buy[data-view=seats] .hall > * { position:static; width:auto; height:auto; }
  #buy[data-view=seats] .hall > .stage { width:min(420px, 70%); margin:0 auto 14px; padding:8px; }
  #buy[data-view=seats] .hall > .seats-zone { padding:8px 4px; }
  #buy[data-view=seats] .hall > .seats-zone .zone-head { font-size:.85rem; margin-bottom:8px; } #buy[data-view=seats] .hall > .seats-zone .zone-head b { display:inline; } #buy[data-view=seats] .hall > .seats-zone .zone-head .dot { display:inline; }
  .seatmap.stacked .seatgrid { position:relative; }
  .seatmap.stacked .cat-strip { display:flex; align-items:center; justify-content:center; position:absolute; width:26px; padding:0; font:inherit; font-size:.72rem; font-weight:700; color:#8a5f14; background:#f7ecd8; border:2px solid #c98a12; border-radius:6px; writing-mode:vertical-rl; cursor:pointer; }
  .seatmap.stacked .cat-strip.left { left:0; top:22px; height:calc(50% - 30px); transform:rotate(180deg); }
  .seatmap.stacked .cat-strip.right { right:0; bottom:0; height:calc(50% - 30px); }
  .seatmap.stacked:has(.cat-strip) .seatblock.b0 { margin-left:32px; }
  .seatmap.stacked:has(.cat-strip) .seatblock.b1 { margin-right:32px; }
}
.cat { scroll-margin:16px; }
.dot { display:inline-block; width:10px; height:10px; border-radius:50%; vertical-align:middle; }
.flash-cat { animation:flashcat 1.2s ease-out; } @keyframes flashcat { from { box-shadow:0 0 0 4px var(--accent); } to { box-shadow:0 0 0 4px transparent; } }
/* profile */
.profile-view { display:grid; grid-template-columns:minmax(110px, auto) 1fr; gap:8px 16px; margin:16px 0 0; }
.profile-view dt { color:var(--muted); font-size:.85rem; } .profile-view dd { margin:0; }
.pre { white-space:pre-line; }
[hidden] { display:none !important; }
.hero h1 { margin:2px 0 8px; font-size:1.7rem; }
.eyebrow { margin:0; font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); font-weight:600; }
.meta { margin:4px 0; }
.price-chip { display:inline-flex; align-items:center; gap:6px; font-weight:600; padding:3px 10px; border:1px solid var(--line); border-radius:99px; }
.price-chip .dot { width:10px; height:10px; border-radius:50%; border:1.5px solid var(--seat); background:var(--seat-bg); }
.ticket-list { list-style:none; padding:0; margin:0; }
.ticket-list li { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.ticket-list li:last-child { border-bottom:0; }
.stepper { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:99px; overflow:hidden; flex:none; }
.stepper .step { width:38px; height:38px; border:0; background:transparent; color:var(--accent); font-size:1.25rem; cursor:pointer; }
.stepper .step:hover { background:var(--bg); }
.stepper input { width:44px; text-align:center; border:0; border-radius:0; padding:6px 0; -moz-appearance:textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.checkout-bar { position:sticky; bottom:0; z-index:5; background:var(--card); border:1px solid var(--line); border-radius:20px 20px 0 0; padding:12px 16px; margin-top:12px; box-shadow:0 -6px 20px rgba(0,0,0,.08); }
.checkout-bar .btn { padding:12px 22px; font-size:1rem; }
.picked { display:flex; flex-wrap:wrap; gap:6px; }
.picked:not(:empty) { margin-bottom:10px; }
.chip { font:inherit; font-size:.8rem; padding:3px 10px; border-radius:99px; border:1px solid var(--accent); color:var(--accent); background:transparent; }
button.chip { cursor:pointer; }
.grouplink { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; margin-top:8px; padding-top:8px; border-top:1px dashed var(--line); }
.grouplink .copy input { width:260px; }
.users td { vertical-align:middle; }
.events-pick summary { white-space:nowrap; }
.events-pick[open] { display:flex; flex-direction:column; gap:4px; padding:8px 10px; background:var(--soft); border-radius:12px; min-width:240px; }
.top.solo { justify-content:center; max-width:420px; }

/* overview: tickets sold by day */
.daily h2 { margin:0; }
.daily-head { margin:0; }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 8px; }
.chip { font:inherit; font-size:.82rem; font-weight:500; padding:5px 12px; border-radius:999px; border:1px solid var(--line); background:var(--card); color:var(--ink); cursor:pointer; }
.chip:hover { border-color:var(--muted); }
.chip.on { background:var(--ink); border-color:var(--ink); color:#fff; }
.daily-plot { position:relative; width:100%; }
.daily-plot svg { display:block; }
.daily-plot .grid { stroke:var(--line); stroke-width:1; }
.daily-plot .ax { fill:var(--muted); font-size:11px; }
.daily-plot .bar { fill:var(--accent); }
.daily-plot .hit { fill:transparent; cursor:default; }
.daily-plot .hit.on { fill:rgba(0,0,0,.04); }
.daily-tip { position:absolute; top:0; pointer-events:none; background:var(--ink); color:#fff; font-size:.8rem; line-height:1.4; padding:6px 10px; border-radius:8px; white-space:nowrap; z-index:2; }

.env-banner { background:#b45309; color:#fff; text-align:center; font-size:13px; font-weight:600; padding:6px 16px; }

/* analytics */
.ana-tabs { margin:4px 0 12px; display:flex; flex-wrap:wrap; gap:8px; }
.ana-tabs .chip { font-size:.9rem; padding:6px 14px; text-decoration:none; }
.ana-tabs .chip.on { background:var(--accent); color:var(--accent-ink); }
.ana-filters { display:flex; flex-wrap:wrap; gap:10px 14px; align-items:end; margin:8px 0 14px; }
.ana-filters label { display:flex; flex-direction:column; font-size:.8rem; color:var(--muted); gap:2px; min-width:150px; flex:1 1 150px; max-width:260px; }
.ana-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap:0 14px; align-items:start; }
.ana-grid.wide-right { grid-template-columns:repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (min-width:900px) { .ana-grid.wide-right { grid-template-columns:1fr 2fr; } }
.ana-grid > .card { min-width:0; }
.ana-plot { position:relative; width:100%; }
.ana-plot svg { display:block; }
.ana-plot .grid { stroke:var(--line); stroke-width:1; }
.ana-plot .ax { fill:var(--muted); font-size:11px; }
.ana-plot .val { fill:var(--ink); font-size:10px; }
.ana-plot .reg { fill:var(--accent); }
.ana-plot .par { fill:var(--sage-ink); }
.ana-plot .hit { fill:transparent; }
.ana-plot .hit.on { fill:rgba(0,0,0,.04); }
.legend { margin:0; color:var(--muted); }
.legend .key { display:inline-block; width:10px; height:10px; border-radius:3px; margin:0 4px 0 10px; vertical-align:-1px; }
.legend .key.reg { background:var(--accent); } .legend .key.par { background:var(--sage-ink); }
.table-wrap.tall { max-height:420px; overflow:auto; }
.ana-top { margin:4px 0 0; padding-left:20px; } .ana-top li { margin:2px 0; }
.stat .up { color:var(--ok); } .stat .down { color:var(--warn); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* customer 360 */
.ana-filters label.grow { flex:2 1 260px; max-width:none; }
.ana-filters .btn { align-self:end; }
.journey { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap:12px; margin:10px 0 14px; }
.journey .jstage { display:flex; flex-direction:column; gap:4px; padding:14px; border:1.5px solid var(--line); border-radius:14px; color:var(--ink); text-decoration:none; background:var(--card); }
.journey a.jstage:hover, .journey .jstage.on { border-color:var(--accent); }
.journey .jstage strong { font-size:1.8rem; color:var(--accent); line-height:1.1; }
.stage-bar { display:flex; align-items:flex-end; height:70px; margin-top:auto; }
.stage-bar span { display:block; width:100%; background:var(--accent-2); border-radius:6px 6px 0 0; min-height:2px; }
.journey.steps .jstage.done { background:rgba(47,91,58,.06); border-color:var(--sage); }
.journey.steps .jstage.now { border-color:var(--accent); box-shadow:0 0 0 2px rgba(217,75,4,.15); }
.stats.conv .stat b { font-size:1.4rem; }
.ana-plot .s1 { fill:#f2b48c; } .ana-plot .s2 { fill:var(--accent-2); } .ana-plot .s3 { fill:var(--accent); } .ana-plot .s4 { fill:var(--sage-ink); }
.legend .key.s1 { background:#f2b48c; } .legend .key.s2 { background:var(--accent-2); } .legend .key.s3 { background:var(--accent); } .legend .key.s4 { background:var(--sage-ink); }
.dots { display:inline-flex; gap:3px; vertical-align:middle; } .dots i { width:9px; height:9px; border-radius:50%; background:var(--line); } .dots i.on { background:var(--accent); }
tr.sel-row td { background:rgba(243,112,33,.08); }
.person-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:center; }
.person-head h2 { margin:0; } .person-head p { margin:4px 0; }
.person-head .now { text-align:right; } .person-head .now b { display:block; font-size:1.3rem; color:var(--accent); }
.next-step { background:rgba(243,112,33,.08); border-radius:10px; padding:10px 14px; margin:0; }
.timeline { list-style:none; margin:8px 0 0; padding:0; }
.timeline li { display:grid; grid-template-columns:110px 1fr; gap:14px; padding:10px 0 10px 16px; border-left:3px solid var(--line); position:relative; }
.timeline li::before { content:""; position:absolute; left:-7px; top:15px; width:11px; height:11px; border-radius:50%; background:var(--muted); }
.timeline li.k-introduction::before { background:#f2b48c; } .timeline li.k-level-1::before { background:var(--accent-2); }
.timeline li.k-follow-up::before { background:var(--accent); } .timeline li.k-level-2::before { background:var(--sage-ink); }
.timeline li.future { opacity:.75; }
.timeline .what { display:flex; flex-direction:column; }
@media (max-width:560px) { .timeline li { grid-template-columns:1fr; gap:2px; } .person-head .now { text-align:left; } }

/* course requests */
.list-card { display:flex; flex-direction:column; gap:6px; text-decoration:none; color:var(--ink); }
.list-card:hover { border-color:var(--accent-2); } .list-card b { color:var(--accent); font-size:1.05rem; }
.stack { display:flex; flex-direction:column; gap:12px; }
.stack label { display:flex; flex-direction:column; gap:4px; }
.stack label.inline, .checks label.inline { flex-direction:row; align-items:center; gap:6px; }
.grid2 { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap:12px; }
.checks { display:flex; flex-wrap:wrap; gap:6px 16px; margin:10px 0; }
fieldset { border:1px solid var(--line); border-radius:10px; padding:8px 12px; display:flex; flex-wrap:wrap; gap:8px 18px; }
.facts { display:grid; grid-template-columns:max-content 1fr; gap:6px 16px; margin:0; } .facts dt { color:var(--muted); } .facts dd { margin:0; }
p.error { color:var(--warn); }
@media (max-width:560px) { .facts { grid-template-columns:1fr; } .facts dd { margin-bottom:6px; } }
.facts-box { background:rgba(47,91,58,.05); border:1px solid var(--sage); border-radius:12px; padding:12px 16px; }
.facts-box h3 { margin:0 0 8px; }

/* UAT menu: Events sub-tabs */
nav.subnav { display:flex; flex-wrap:wrap; gap:4px 14px; width:100%; padding:8px 4px 0; margin-top:8px; border-top:1px solid var(--line); font-size:.9rem; }
nav.subnav a { color:var(--muted); text-decoration:none; padding:2px 10px; border-radius:999px; }
nav.subnav a.on { background:var(--accent); color:var(--accent-ink); }
.top:has(nav.subnav) { border-radius:22px; }
