/* Blue Hour Listening Room (a sample business): the ticket store and the box office behind it. store.js builds it.
   Modeled on real products (Research/checkout-demos-2026-11-15/real/REAL.md): an event page with the photo, title
   and date list; a white seat map with colored price levels and zoom; a hosted-checkout payment step with the
   summary on the left and the form on the right; wallet-style tickets; an admin dashboard for the owner.
   One sans-serif, one accent color, grey for everything else. */
.bh {
  --ink: #1a1a1a; --muted: #6b6b6b; --line: #e6e6e6; --soft: #f6f6f7; --accent: #3448c5; --accent-ink: #2a3aa8;
  --tA: #7b4fd6; --tB: #2f6fdf; --tC: #138a7c; --tD: #d9682b;
  --ck-font: -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; --ck-text: var(--ink); --ck-label: #3a3a3a; --ck-muted: var(--muted);
  --ck-field: #fff; --ck-line: #d9d9de; --ck-accent: var(--accent); --ck-ring: rgba(52, 72, 197, 0.18); --ck-radius: 6px; --ck-wallet-radius: 6px;
  background: #fff; color: var(--ink); font: 400 15px/1.5 -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; min-height: 80vh; padding-bottom: 56px;
}
.bh h2, .bh h3 { margin: 0; }
.bh button { cursor: pointer; }
.bh :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bh-logo { margin: 0; font-size: 18px; font-weight: 700; }
.bh-head { display: flex; align-items: center; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 16px 32px; }
.bh-where { margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }

.bh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; background: var(--accent); color: #fff; border: 0; border-radius: 6px; font: inherit; font-weight: 600; font-size: 16px; }
.bh-btn:hover:not(:disabled) { background: var(--accent-ink); }
.bh-btn:disabled { background: #e9e9ec; color: #9a9aa0; cursor: not-allowed; }
.bh-btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; background: #fff; color: var(--ink); border: 1px solid #d9d9de; border-radius: 6px; font: inherit; font-weight: 500; font-size: 14px; }
.bh-btn2:hover { border-color: #a8a8ae; }

/* the event and the seats */
.bh-view[data-v="seats"] { max-width: 1240px; margin: 0 auto; padding: 8px 32px 0; }
.bh-event { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 40px; align-items: start; }
.bh-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #222; }
.bh-info h2 { font-size: 32px; font-weight: 700; line-height: 1.15; }
.bh-date { margin: 8px 0 0; color: var(--accent); font-weight: 600; font-size: 16px; }
.bh-meta { margin: 2px 0 0; color: var(--muted); }
.bh-sub { margin: 12px 0 0; max-width: 36rem; color: #3a3a3a; }
.bh-times { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 460px; }
.bh-times legend { padding: 0; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
.bh-time { position: relative; display: block; cursor: pointer; border-bottom: 1px solid var(--line); }
.bh-time input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bh-time > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 0 12px 26px; position: relative; }
.bh-time > span::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border: 1.5px solid #b5b5bb; border-radius: 50%; background: #fff; }
.bh-time b { font-weight: 500; }
.bh-time small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.bh-time input:checked + span::before { border: 5px solid var(--accent); }
.bh-time input:checked + span b { font-weight: 600; }
.bh-time input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.bh-pick { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 36px; }
.bh-room { min-width: 0; }
.bh-roomhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bh-roomhead h3 { font-size: 20px; font-weight: 700; }
.bh-best { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.bh-best select { min-height: 40px; padding: 0 28px 0 10px; background: #fff; color: var(--ink); border: 1px solid #d9d9de; border-radius: 6px; font: inherit; }
.bh-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 12px 0 10px; padding: 0; font-size: 13.5px; color: #3a3a3a; }
.bh-legend li { display: flex; align-items: center; gap: 6px; }
.bh-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.bh-legend .tA { --tc: var(--tA); } .bh-legend .tB { --tc: var(--tB); } .bh-legend .tC { --tc: var(--tC); } .bh-legend .tD { --tc: var(--tD); }
.bh-legend .sold i { background: #d4d4d8; }
.bh-legend b { font-weight: 600; color: var(--ink); }
.bh-legend .acc .bh-wc { width: 14px; height: 14px; color: var(--muted); }
.bh-mapwrap { position: relative; }
.bh-scroll { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: auto; max-height: 680px; overscroll-behavior: contain; }
.bh-plan { position: relative; width: 100%; aspect-ratio: 1000 / 820; }
.bh-floor { position: absolute; inset: 0; width: 100%; height: 100%; }
.bh-fl { fill: #8a8a90; font: 500 19px -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; }
.bh-fs { font-size: 15px; }
.bh-tn { fill: #a8a8ae; font: 500 15px -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; }
.bh-seat { position: absolute; width: 2.6%; aspect-ratio: 1; transform: translate(-50%, -50%); padding: 0; border-radius: 50%; border: 0; background: var(--tc); color: #fff; display: grid; place-items: center; }
.bh-seat::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; }
.bh-seat.tA { --tc: var(--tA); } .bh-seat.tB { --tc: var(--tB); } .bh-seat.tC { --tc: var(--tC); } .bh-seat.tD { --tc: var(--tD); }
.bh-seat:hover:not(.is-sold) { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tc); }
.bh-seat.is-mine { background: var(--ink); }
.bh-seat.is-mine::after { content: ''; width: 34%; height: 18%; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-20%) rotate(-45deg); }
.bh-seat.is-sold { background: #dcdce0; cursor: not-allowed; transform: translate(-50%, -50%) scale(0.6); }
.bh-seat.is-acc.is-mine::after { display: none; }
.bh-wc { width: 66%; height: 66%; }
.bh-seat:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; z-index: 2; }
.bh-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; background: #fff; border: 1px solid #d9d9de; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.bh-zoom button { width: 36px; height: 36px; display: grid; place-items: center; background: #fff; border: 0; color: var(--ink); }
.bh-zoom button + button { border-top: 1px solid #e6e6e6; }
.bh-zoom button:disabled { color: #c4c4c8; cursor: default; }
.bh-zoom svg { width: 14px; height: 14px; }

.bh-side { position: sticky; top: 52px; padding-top: 2px; }
.bh-side h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.bh-none { margin: 0; color: var(--muted); font-size: 14px; }
.bh-list, .bh-lines { list-style: none; margin: 0; padding: 0; }
.bh-list li { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.bh-list small, .bh-lines small { display: block; color: var(--muted); font-size: 13px; }
.bh-list b { font-weight: 500; }
.bh-list button { width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); border-radius: 6px; }
.bh-list button:hover { color: var(--ink); background: var(--soft); }
.bh-list svg { width: 14px; height: 14px; }
.bh-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.bh-dot.tA { --tc: var(--tA); } .bh-dot.tB { --tc: var(--tB); } .bh-dot.tC { --tc: var(--tC); } .bh-dot.tD { --tc: var(--tD); }
.bh-hold { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.bh-hold b { color: var(--ink); font-weight: 600; }
.bh-hold.is-low b { color: #c4321f; }
.bh-go { margin-top: 14px; display: grid; gap: 10px; }
.bh-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 0; color: var(--muted); font-size: 14.5px; }
.bh-sum b { font-size: 20px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bh-go .bh-btn { width: 100%; }
.bh-pnote { margin: 0; color: var(--muted); font-size: 13px; }

/* the payment step: the summary on the left, the form on the right */
.bh-view[data-v="pay"] { border-top: 1px solid var(--line); }
.bh-paygrid { display: grid; grid-template-columns: 1fr 1fr; min-height: 76vh; }
.bh-summary { background: var(--soft); padding: 40px 56px 48px; display: flex; flex-direction: column; align-items: flex-end; }
.bh-summary > * { width: 100%; max-width: 400px; }
.bh-back { min-height: 32px; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-align: left; }
.bh-back:hover { color: var(--ink); }
.bh-paylabel { margin: 26px 0 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.bh-big { margin: 2px 0 0; font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bh-toggle { display: none; }
.bh-sumbody { margin-top: 26px; }
.bh-sumshow { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding-bottom: 16px; }
.bh-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.bh-sumshow p { margin: 0; display: grid; font-size: 13.5px; color: var(--muted); }
.bh-sumshow b { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.bh-lines li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.bh-totals { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #dedee2; font-size: 14px; }
.bh-totals div { display: flex; justify-content: space-between; padding: 4px 0; color: #3a3a3a; }
.bh-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.bh-totals .bh-grand { margin-top: 8px; padding-top: 12px; border-top: 1px solid #dedee2; color: var(--ink); font-size: 15px; font-weight: 600; }
.bh-form { padding: 40px 56px 48px; display: grid; gap: 26px; align-content: start; max-width: 520px; }
.bh-form .bh-hold { margin: 0; padding: 10px 12px; background: var(--soft); border-radius: 6px; }
.bh-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; min-width: 0; }
.bh-form legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.bh .ck-field label, .bh .ck-jlabel { font-size: 13.5px; font-weight: 500; }
.bh .ck-field input { min-height: 44px; font-size: 15px; }
.bh-note { margin: 0; color: var(--muted); font-size: 13px; }
.bh-fill { padding: 0; background: none; border: 0; color: var(--accent); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.bh-opt { color: var(--muted); font-weight: 400; }
.bh-check { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid #d9d9de; border-radius: 6px; background: #fff; cursor: pointer; }
.bh-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.bh-check > span { display: grid; gap: 1px; font-size: 13.5px; color: var(--muted); }
.bh-check > span b { color: var(--ink); font-size: 14.5px; font-weight: 500; }
.bh-addp { font-size: 14.5px; font-weight: 500; }
.bh-check:has(input:checked) { border-color: var(--accent); }
.bh-paybar { padding-top: 4px; }
.bh-pay { width: 100%; }
.bh-terms { margin: -10px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }

/* after paying */
.bh-done { max-width: 1240px; margin: 0 auto; padding: 32px 32px 0; }
.bh-done h2 { font-size: 30px; font-weight: 700; line-height: 1.2; }
.bh-done-sub { margin: 6px 0 18px; color: #3a3a3a; }
.bh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.bh-actions .bh-btn { min-height: 40px; font-size: 14px; padding: 0 16px; }
.bh-tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 320px)); gap: 20px; }
/* a wallet pass: the venue's color, label and value pairs, the code in a white box */
.bh-ticket { background: #1d2547; color: #fff; border-radius: 14px; padding: 16px 18px 18px; box-shadow: 0 10px 30px rgba(20, 24, 50, 0.18); }
.bh-tk-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bh-ticket .bh-logo { font-size: 16px; }
.bh-ticket dl { margin: 0; }
.bh-ticket dt { color: #aeb6d9; font-size: 11.5px; }
.bh-ticket dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.bh-tk-top dl { text-align: right; }
.bh-tk-head { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: center; margin: 14px 0; }
.bh-tk-head img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.bh-tk-show { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; }
.bh-tk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.bh-tk-code { margin: 18px auto 0; width: 168px; padding: 10px 10px 6px; background: #fff; border-radius: 8px; text-align: center; color: #1a1a1a; }
.bh-tk-code .ck-qr { width: 148px; height: 148px; }
.bh-tk-code p { margin: 4px 0 0; font-size: 11.5px; font-variant-numeric: tabular-nums; color: #3a3a3a; }
.bh-tk-foot { display: flex; justify-content: space-between; margin: 14px 0 0; color: #aeb6d9; font-size: 12.5px; }
.bh-paid { margin: 22px 0 0; color: var(--muted); font-size: 13.5px; }

/* the receipt email (inside the kit's mail frame) */
.bh-mail { background: #fff; color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; }
.bhm-head { padding: 8px 0 18px; }
.bhm-in { padding: 0 0 8px; }
.bhm-in h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.bhm-in p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #3a3a3a; }
.bhm-show { padding: 12px 14px; background: #f6f6f7; border-radius: 6px; }
.bhm-show b { color: #1a1a1a; }
.bhm-t { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; }
.bhm-t td { padding: 9px 0; border-bottom: 1px solid #ececef; vertical-align: top; }
.bhm-t td:last-child { text-align: right; }
.bhm-t small { color: #6b6b6b; }
.bhm-tot td { font-weight: 600; border-bottom: 0; }
.bhm-meta { font-size: 13px !important; color: #6b6b6b !important; }
.bhm-codes { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.bhm-codes figure { margin: 0; width: 120px; font-size: 12px; color: #6b6b6b; }
.bhm-codes figcaption { margin-top: 6px; }
.bhm-foot { margin: 0; padding: 14px 0 6px; color: #8a8a90; font-size: 12.5px; border-top: 1px solid #ececef; }

/* ---- the box office (owner): an admin dashboard ---- */
.ow { --accent: #3448c5; background: #f1f1f1; color: #1a1a1a; font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; padding-bottom: 56px; }
.ow-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 32px; }
.ow-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 16px; }
.ow-head .bh-logo { font-size: 15px; color: #6b6b6b; font-weight: 600; }
.ow-head h2 { margin: 0 auto 0 0; font-size: 20px; font-weight: 700; }
.ow-head h2:focus { outline: none; }
.ow-date { margin: 0; color: #6b6b6b; font-size: 13.5px; }
.ow-wait { margin: 0 0 14px; padding: 12px 14px; background: #fff; border-radius: 10px; color: #4a4a4a; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.ow-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.ow-stats > div, .ow-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.ow-stats > div { padding: 14px 16px; }
.ow-stats p { margin: 0; color: #4a4a4a; font-size: 13px; font-weight: 500; }
.ow-stats b { display: block; margin: 4px 0 2px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ow-stats span { color: #6b6b6b; font-size: 13px; }
.ow-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; align-items: start; }
.ow-card { padding: 16px; min-width: 0; }
.ow-card h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.ow-card h3 span { color: #6b6b6b; font-weight: 400; font-size: 13px; }
.ow-roomcard { grid-row: span 2; }
.ow-room { width: 100%; height: auto; }
.ow-room .s { fill: #3448c5; } .ow-room .o { fill: #fff; stroke: #c4c4c8; stroke-width: 3; } .ow-room .n { fill: #e5a400; stroke: #1a1a1a; stroke-width: 3; }
.ow-legend { display: flex; gap: 14px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; color: #4a4a4a; }
.ow-legend li { display: flex; gap: 6px; align-items: center; }
.ow-legend i { width: 10px; height: 10px; border-radius: 50%; }
.ow-legend .s i { background: #3448c5; } .ow-legend .n i { background: #e5a400; box-shadow: 0 0 0 1.5px #1a1a1a; } .ow-legend .o i { border: 1.5px solid #c4c4c8; }
.ow-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ow-table th { text-align: left; font-weight: 500; color: #6b6b6b; font-size: 12.5px; padding: 8px 10px; background: #f7f7f7; }
.ow-table td { padding: 10px; border-top: 1px solid #ebebeb; white-space: nowrap; }
.ow-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.ow-table tr.is-new td { background: #f3f5ff; }
.ow-new { margin-left: 6px; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.ow-st { display: inline-flex; align-items: center; gap: 6px; color: #1a1a1a; }
.ow-st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2e9d5b; }
.ow-st.is-ref::before { background: #a8a8ae; }
.ow-st.is-ref { color: #6b6b6b; }
.ow-detail p { margin: 0 0 10px; color: #4a4a4a; }
.ow-money { margin: 10px 0 14px; padding: 0; }
.ow-money div { display: flex; justify-content: space-between; padding: 3px 0; }
.ow-money dd { margin: 0; font-variant-numeric: tabular-nums; }
.ow-money div:last-child { font-weight: 600; border-top: 1px solid #ebebeb; margin-top: 4px; padding-top: 7px; }
.ow .ck-tl { color: #1a1a1a; }

@media (max-width: 1100px) {
  .bh-event { grid-template-columns: 380px minmax(0, 1fr); gap: 28px; }
  .bh-times { grid-template-columns: minmax(0, 1fr); }
  .bh-pick { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .bh-summary, .bh-form { padding-left: 32px; padding-right: 32px; }
  .ow-grid { grid-template-columns: minmax(0, 1fr); }
  .ow-roomcard { grid-row: auto; }
  .ow-room { max-width: 420px; }
}
@media (max-width: 860px) {
  .bh { padding-bottom: 0; }
  .bh-head { padding: 12px 16px; gap: 12px; }
  .bh-where { font-size: 12px; }
  .bh-view[data-v="seats"] { padding: 0; }
  .bh-event { display: block; }
  .bh-photo { border-radius: 0; }
  .bh-info { padding: 16px 16px 0; }
  .bh-info h2 { font-size: 26px; }
  .bh-times { grid-template-columns: minmax(0, 1fr); }
  .bh-pick { display: block; margin-top: 28px; padding: 0 16px; }
  .bh-roomhead { flex-wrap: wrap; gap: 8px; }
  .bh-scroll { max-height: 70vh; }
  .bh-plan { min-width: 780px; }
  .bh-side { position: static; margin-top: 20px; padding-bottom: 12px; }
  .bh.has-picks [data-v="seats"] { padding-bottom: 92px; }
  .bh.has-picks .bh-go { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; margin: 0; grid-template-columns: 1fr auto; align-items: center; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bh.has-picks .bh-pnote { display: none; }
  .bh-sum { display: grid; gap: 0; }
  .bh.has-picks .bh-go .bh-btn { width: auto; min-width: 140px; }
  .bh-paygrid { display: block; min-height: 0; }
  .bh-summary { display: block; padding: 14px 16px 16px; }
  .bh-summary > * { max-width: none; }
  .bh-paylabel { margin-top: 14px; font-size: 14px; }
  .bh-big { font-size: 28px; }
  .bh-toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin-top: 4px; padding: 0; background: none; border: 0; color: var(--accent); font: inherit; font-size: 14px; width: auto; }
  .bh-toggle svg { width: 11px; height: 11px; }
  .bh-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .bh-sumbody { display: none; margin-top: 14px; }
  .bh-summary.is-open .bh-sumbody { display: block; }
  .bh-form { padding: 20px 16px 0; max-width: none; }
  .bh-paybar { position: sticky; bottom: 0; margin: 0 -16px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bh-terms { padding-bottom: 20px; }
  .bh-done { padding: 22px 16px 36px; }
  .bh-done h2 { font-size: 24px; }
  .bh-tickets { grid-template-columns: minmax(0, 1fr); }
  .bh-actions .bh-btn, .bh-actions .bh-btn2 { flex: 1 1 100%; }
  .ow-wrap { padding: 16px 12px; }
  .ow-head { flex-wrap: wrap; gap: 4px 12px; }
  .ow-head h2 { margin-right: 0; }
  .ow-date { width: 100%; }
  .ow-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ow-stats > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
  .ow-stats b { grid-row: span 2; grid-column: 2; font-size: 20px; }
  .ow-table thead { display: none; }
  .ow-table tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-top: 1px solid #ebebeb; }
  .ow-table td { padding: 1px 0; border: 0; white-space: normal; }
  .ow-table td:nth-child(1) { font-weight: 600; }
  .ow-table td:nth-child(2) { grid-column: 1; }
  .ow-table td:nth-child(3) { grid-column: 1; color: #6b6b6b; }
  .ow-table td:nth-child(4) { grid-row: 1; grid-column: 2; }
  .ow-table td:nth-child(5) { grid-column: 2; grid-row: 2; text-align: right; }
  .ow-table tr.is-new { background: #f3f5ff; margin: 0 -16px; padding: 10px 16px; }
  .ow-table tr.is-new td { background: none; }
}

/* the owner notification icon for this store */
.ck-toast-icon { background: #3448c5; font-size: 13px; }
