/* Big Sip Coffee Club (a sample business): a roaster's subscription page, the payment step laid out like a hosted
   checkout in subscription mode (the plan and its price on the left, the form on the right), the receipt with the
   plan the customer manages, and the owner's admin. Modeled on real products (Research/checkout-demos-2026-11-15/
   real/REAL.md): one system sans-serif, near-black buttons, one accent (cobalt), grey for everything else.
   The colors of the drawn bags are the product's packaging. store.js builds it. */
.bs {
  --ink: #1a1a1a; --muted: #6b6b6b; --line: #e6e6e6; --soft: #f6f6f7; --stage: #f3f1ec; --accent: #2443c9;
  --sys: -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif;
  --ck-font: var(--sys); --ck-text: var(--ink); --ck-label: #3a3a3a; --ck-muted: var(--muted); --ck-field: #fff; --ck-line: #d9d9de;
  --ck-accent: var(--accent); --ck-ring: rgba(36, 67, 201, 0.18); --ck-radius: 6px; --ck-wallet-radius: 6px;
  background: #fff; color: var(--ink); font: 400 15px/1.5 var(--sys); min-height: 80vh;
}
.bs h2, .bs h3 { margin: 0; }
.bs button { cursor: pointer; }
.bs :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bs-logo { margin: 0; font-size: 18px; font-weight: 700; }
.bs-head { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 16px 32px; }
.bs-samplenote { margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }

.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; background: var(--ink); color: #fff; border: 0; border-radius: 6px; font: 600 16px/1.2 var(--sys); }
.bs-btn:hover:not(:disabled) { background: #000; }
.bs-btn:disabled { background: #e9e9ec; color: #9a9aa0; cursor: not-allowed; }
.bs-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: 500 14px/1.2 var(--sys); }
.bs-btn2:hover { border-color: #a8a8ae; }

/* the subscription page: the product on the left, the plan on the right */
.bs-view[data-v="plan"] { max-width: 1180px; margin: 0 auto; padding: 8px 32px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: start; }
.bs-stage { position: sticky; top: 52px; }
.bs-art { aspect-ratio: 1; background: var(--stage); border-radius: 4px; overflow: hidden; }
.bs-bag { width: 100%; height: auto; }
.bs-art.is-pop .bs-photo { animation: bs-fade 0.25s ease-out; }
@keyframes bs-fade { from { opacity: 0.35; } }
@keyframes bs-pop { from { opacity: 0.4; } }
.bs-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.bs-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.bs-thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: var(--stage); overflow: hidden; cursor: pointer; }
.bs-thumbs button[aria-pressed="true"] { border-color: var(--ink, #141414); box-shadow: inset 0 0 0 1px var(--ink, #141414); }
.bs-thumbs button:focus-visible { outline: 2px solid var(--accent, #2443c9); outline-offset: 2px; }
.bs-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
img.bs-ph { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.bs-art-cap { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }
.bs-build h2 { font-size: 32px; font-weight: 700; line-height: 1.15; }
.bs-lede { margin: 10px 0 24px; color: #3a3a3a; font-size: 15px; }
.bs-move { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.bs-move legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.bs-coffees { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bs-sizes { display: grid; gap: 8px; }
.bs-freqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bs-opt { position: relative; display: block; cursor: pointer; }
.bs-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bs-opt > span { display: grid; gap: 1px; height: 100%; padding: 11px 13px; border: 1px solid #d9d9de; border-radius: 6px; background: #fff; }
.bs-opt b { font-weight: 500; font-size: 14.5px; }
.bs-opt small { color: var(--muted); font-size: 13px; }
.bs-opt:hover > span { border-color: #a8a8ae; }
.bs-opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bs-opt input:checked + span b { font-weight: 600; }
.bs-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.bs-coffee > span { grid-template-columns: 22px 1fr; column-gap: 10px; }
.bs-coffee b, .bs-coffee small { grid-column: 2; }
.bs-sw { grid-row: span 2; width: 16px; height: 22px; border-radius: 2px; margin-top: 3px; display: inline-block; vertical-align: middle; }
.bs-sw[data-c="loud"] { background: #141414; box-shadow: inset 0 -8px 0 #e8432e; }
.bs-sw[data-c="bright"] { background: #e8432e; box-shadow: inset 0 -8px 0 #fffaf0; }
.bs-sw[data-c="pick"] { background: #2443c9; box-shadow: inset 0 -8px 0 #f3c74d; }
.bs-sw[data-c="decaf"] { background: #fffaf0; box-shadow: inset 0 0 0 1px #d9cfbd, inset 0 -8px 0 #2443c9; }
.bs-sizes .bs-opt > span { grid-template-columns: 1fr auto; align-items: center; }
.bs-sizes small { text-align: right; }
.bs-freqs .bs-opt > span { text-align: center; }
.bs-grind { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.bs-grind label { font-weight: 600; font-size: 14px; }
.bs-grind select, .bs-row3 select { flex: 1; min-height: 44px; padding: 0 10px; background: #fff; border: 1px solid #d9d9de; border-radius: 6px; font: inherit; color: var(--ink); }
.bs-price { margin: 4px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.bs-price p { margin: 0; }
.bs-price-main { display: flex; align-items: baseline; gap: 8px; }
.bs-per { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bs-price-main small { color: var(--muted); font-size: 14.5px; }
.bs-price-first { margin-top: 2px !important; font-size: 14px; color: #3a3a3a; }
.bs-price-first b { font-weight: 600; }
.bs-price-first s { color: var(--muted); }
.bs-price-note { margin-top: 2px !important; color: var(--muted); font-size: 13.5px; }
.bs-gobar .bs-btn { width: 100%; }
.bs-buy { margin: 0; padding: 0; }
.bs-gosum { display: none; }

/* the payment step */
.bs-view[data-v="pay"] { border-top: 1px solid var(--line); }
.bs-paygrid { display: grid; grid-template-columns: 1fr 1fr; min-height: 76vh; }
.bs-summary { background: var(--soft); padding: 40px 56px 48px; display: flex; flex-direction: column; align-items: flex-end; }
.bs-summary > * { width: 100%; max-width: 400px; }
.bs-back { min-height: 32px; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-align: left; }
.bs-back:hover { color: var(--ink); }
.bs-paylabel { margin: 26px 0 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.bs-big { margin: 2px 0 0; }
.bs-big-amt { font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bs-big-per { color: var(--muted); font-size: 15px; }
.bs-big-first { margin: 2px 0 0; color: #3a3a3a; font-size: 14px; }
.bs-toggle { display: none; }
.bs-sumbody { margin-top: 26px; }
.bs-sumplan { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; padding-bottom: 16px; }
.bs-sumart { display: block; width: 44px; height: 44px; padding: 3px; background: #fff; border-radius: 6px; }
.bs-sumart svg { width: 100%; height: 100%; }
.bs-sumplan p { margin: 0; display: grid; font-size: 13.5px; color: var(--muted); }
.bs-sumplan b { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.bs-sumprice { font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bs-totals { margin: 0; padding-top: 12px; border-top: 1px solid #dedee2; font-size: 14px; }
.bs-totals div { display: flex; justify-content: space-between; padding: 4px 0; color: #3a3a3a; }
.bs-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.bs-totals .bs-grand { margin-top: 8px; padding-top: 12px; border-top: 1px solid #dedee2; color: var(--ink); font-size: 15px; font-weight: 600; }
.bs-then { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.bs-form { padding: 40px 56px 48px; display: grid; gap: 26px; align-content: start; max-width: 520px; }
.bs-wnote { margin: -14px 0 0; color: var(--muted); font-size: 12.5px; }
.bs .ck-or { margin-top: 12px; }
.bs-box { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; min-width: 0; }
.bs-box legend, .bs-terms h3 { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.bs .ck-field label, .bs .ck-jlabel { font-size: 13.5px; font-weight: 500; }
.bs .ck-field input { min-height: 44px; font-size: 15px; }
.bs-note { margin: 0; }
.bs-fill, .bs-manual { justify-self: start; padding: 0; min-height: 28px; background: none; border: 0; color: var(--accent); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.bs-combo { position: relative; }
.bs-combo ul { position: absolute; z-index: 10; left: 0; right: 0; top: 72px; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #d9d9de; border-radius: 6px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12); }
.bs-combo li { display: grid; padding: 8px 12px; cursor: pointer; }
.bs-combo li span { color: var(--muted); font-size: 13px; }
.bs-combo li.is-cur, .bs-combo li:hover { background: #f1f3fc; }
.bs-combo li.bs-none { cursor: default; color: var(--muted); }
.bs-more { display: grid; gap: 12px; }
.bs-row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.bs-row3 select { width: 100%; }
.bs-arrives { margin: 0; color: var(--muted); font-size: 13.5px; }
.bs-terms { display: grid; gap: 10px; }
.bs-terms h3 { margin: 0; }
.bs-terms-t { margin: 0; font-size: 13.5px; line-height: 1.55; color: #3a3a3a; }
.bs-agree { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border: 1px solid #d9d9de; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }
.bs-agree:has(input:checked) { border-color: var(--accent); }
.bs-agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.bs-agree.is-bad { border-color: var(--ck-err, #c0262d); }
.bs-paybar { margin-top: -6px; }
.bs-pay { width: 100%; }
.bs-foot { margin: -14px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }

/* done: the receipt and the plan, the way a customer portal shows it */
.bs-done { max-width: 1100px; margin: 0 auto; padding: 32px 32px 72px; }
.bs-done-top { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 32px; align-items: center; }
.bs-done h2 { font-size: 30px; font-weight: 700; line-height: 1.2; }
.bs-done-sub { margin: 6px 0 18px; color: #3a3a3a; }
.bs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-actions .bs-btn { min-height: 40px; font-size: 14px; padding: 0 16px; }
.bs-done-art { background: var(--stage); border-radius: 4px; padding: 16px; }
.bs-done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.bs-card2 h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.bs-sched { list-style: none; margin: 0; padding: 0; }
.bs-sched li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bs-sched li:first-child { border-top: 0; }
.bs-sdate { display: grid; line-height: 1.25; }
.bs-sdate small { color: var(--muted); font-size: 12.5px; }
.bs-samt { font-variant-numeric: tabular-nums; font-weight: 500; }
.bs-sched .is-skipped, .bs-sched .is-paused { color: var(--muted); }
.bs-sched .is-skipped > span:nth-child(2), .bs-sched .is-paused > span:nth-child(2) { text-decoration: line-through; text-decoration-thickness: 1px; }
.bs-paid { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.bs-mnote { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.bs-status { display: grid; gap: 1px; margin: 0 0 14px; font-size: 14.5px; }
.bs-status span { color: var(--muted); font-size: 13.5px; }
.bs-mbtns { display: grid; gap: 10px; justify-items: start; }
.bs-mbtns > .bs-btn2 { min-width: 220px; }
.bs-pausebox { display: flex; gap: 10px; align-items: center; }
.bs-pausebox label { font-weight: 500; font-size: 14px; }
.bs-pausebox select { min-height: 40px; padding: 0 10px; border: 1px solid #d9d9de; border-radius: 6px; background: #fff; font: inherit; }
.bs-cancelbtn { color: #b42318; }
.bs-mbtns .bs-btn { min-height: 40px; font-size: 14px; }

/* the cancel confirm (a kit dialog) */
.bs-confirm-d { width: 420px; max-width: calc(100vw - 24px); margin: auto; }
.bs-confirm { padding: 22px; background: #fff; border-radius: 10px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3); font-family: -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; color: #1a1a1a; }
.bs-confirm h2 { margin: 0 0 8px; font-size: 18px; }
.bs-confirm p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; color: #3a3a3a; }
.bs-cbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bs-cbtns button { min-height: 44px; background: #fff; border: 1px solid #d9d9de; border-radius: 6px; font: 600 14.5px/1.2 inherit; color: #1a1a1a; cursor: pointer; }
.bs-cbtns button:focus-visible { outline: 2px solid #2443c9; outline-offset: 2px; }

/* the receipt email */
.bs-mail { background: #fff; color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; }
.bsm-head { padding: 8px 0 18px; }
.bsm-in { padding: 0 0 6px; }
.bsm-in h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.bsm-in h4 { margin: 18px 0 6px; font-size: 15px; }
.bsm-in p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #3a3a3a; }
.bsm-plan { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 10px; background: #f6f6f7; border-radius: 6px; margin-bottom: 12px; }
.bsm-plan p { margin: 0; }
.bsm-bag { width: 72px; height: auto; }
.bsm-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bsm-t td { padding: 7px 0; border-bottom: 1px solid #ececef; }
.bsm-t td:last-child { text-align: right; }
.bsm-tot td { font-weight: 600; border-bottom: 0; }
.bsm-meta { font-size: 13px !important; color: #6b6b6b !important; }
.bsm-s { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; }
.bsm-s li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #ececef; }
.bsm-terms { font-size: 13px !important; color: #555 !important; }
.bsm-btn span { display: inline-block; padding: 11px 18px; background: #1a1a1a; color: #fff; border-radius: 6px; font-weight: 600; }
.bsm-foot { margin: 0; padding: 14px 0 6px; color: #8a8a90; font-size: 12.5px; border-top: 1px solid #ececef; }

/* ---- the owner's admin ---- */
.bo { background: #f1f1f1; color: #1a1a1a; font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, 'Geist', system-ui, sans-serif; padding-bottom: 56px; }
.bo-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 32px; }
.bo-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 16px; }
.bo-head .bs-logo { font-size: 15px; color: #6b6b6b; font-weight: 600; }
.bo-head h2 { margin: 0 auto 0 0; font-size: 20px; font-weight: 700; }
.bo-head h2:focus { outline: none; }
.bo-date { margin: 0; color: #6b6b6b; font-size: 13.5px; }
.bo-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); }
.bo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.bo-stats > div, .bo-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); }
.bo-stats > div { padding: 14px 16px; }
.bo-stats p { margin: 0; color: #4a4a4a; font-size: 13px; font-weight: 500; }
.bo-stats b { display: block; margin: 4px 0 2px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bo-stats span { color: #1d7a3e; font-size: 13px; }
.bo-stats > div:not(.bo-mrr) span { color: #6b6b6b; }
.bo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.bo-card { padding: 16px; min-width: 0; }
.bo-card h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.bo-subs { grid-row: span 3; }
.bo-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bo-table th { text-align: left; font-weight: 500; color: #6b6b6b; font-size: 12.5px; padding: 8px 10px; background: #f7f7f7; }
.bo-table th:first-child { border-radius: 6px 0 0 6px; } .bo-table th:last-child { border-radius: 0 6px 6px 0; }
.bo-table td { padding: 10px; border-top: 1px solid #ebebeb; vertical-align: middle; }
.bo-table tr:first-child td { border-top: 0; }
.bo-table td small { display: block; color: #6b6b6b; font-size: 12.5px; }
.bo-table td b { font-weight: 500; }
.bo-table td:nth-child(2) { display: grid; grid-template-columns: 14px 1fr; column-gap: 8px; }
.bo-table td:nth-child(2) .bs-sw { width: 10px; height: 14px; grid-row: span 2; }
.bo-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.bo-table tr.is-new td { background: #f3f5ff; }
.bo-new { margin-left: 6px; color: #2443c9; font-weight: 600; font-size: 12.5px; }
.bo-st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bo-st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2e9d5b; }
.bo-st.is-paused::before { background: #c58a00; }
.bo-st.is-cancelled { color: #6b6b6b; }
.bo-st.is-cancelled::before { background: #a8a8ae; }
.bo-chart { width: 100%; height: auto; }
.bo-ax { fill: #6b6b6b; font-size: 12px; font-family: inherit; }
.bo-val { fill: #1a1a1a; font-size: 11.5px; font-weight: 600; font-family: inherit; }
.bo-note { margin: -6px 0 8px; color: #6b6b6b; font-size: 13px; }
.bo-pack ul { list-style: none; margin: 0; padding: 0; }
.bo-pack li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #ebebeb; }
.bo-pack li .bs-sw { width: 10px; height: 14px; }
.bo-pack li > span:nth-child(2) { display: grid; }
.bo-pack li b { font-weight: 500; }
.bo-pack small { color: #6b6b6b; font-size: 12.5px; }
.bo-pack li.is-new { background: #f3f5ff; margin: 0 -16px; padding: 8px 16px; }
.bo-n { font-size: 15px; font-variant-numeric: tabular-nums; }
.bo-detail p { margin: 0 0 10px; color: #4a4a4a; }
.bo-money { margin: 10px 0 14px; padding: 0; }
.bo-money div { display: flex; justify-content: space-between; padding: 3px 0; }
.bo-money dd { margin: 0; font-variant-numeric: tabular-nums; }
.bo-money div:last-child { font-weight: 600; border-top: 1px solid #ebebeb; margin-top: 4px; padding-top: 7px; }
.bo .ck-tl { color: #1a1a1a; }
/* the owner notification icon for this store */
.ck-toast-icon { background: #1a1a1a; font-size: 13px; }

@media (max-width: 1000px) {
  .bs-view[data-v="plan"] { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
  .bs-summary, .bs-form { padding-left: 32px; padding-right: 32px; }
  .bo-grid { grid-template-columns: minmax(0, 1fr); }
  .bo-subs { grid-row: auto; }
}
@media (max-width: 760px) {
  .bs-head { padding: 12px 16px; gap: 12px; }
  .bs-samplenote { font-size: 12px; }
  .bs-view[data-v="plan"] { display: block; padding: 0 16px 112px; }
  .bs-stage { position: static; margin: 0 -16px 18px; }
  .bs-art { border-radius: 0; }
  .bs-thumbs { padding: 0 16px; }
  .bs-art-cap { padding: 0 16px; margin-top: 10px; font-size: 13px; }
  .bs-build h2 { font-size: 26px; }
  .bs-lede { margin-bottom: 20px; }
  .bs-coffees { grid-template-columns: minmax(0, 1fr); }
  .bs-freqs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bs-freqs .bs-opt b { font-size: 14px; }
  .bs-sizes .bs-opt > span { grid-template-columns: 1fr; }
  .bs-sizes small { text-align: left; }
  .bs-buy { position: static; padding-bottom: 0; }
  .bs-gobar { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bs:not(.on-plan) .bs-gobar { display: none; }
  .bs-gosum { display: grid; margin: 0; line-height: 1.25; }
  .bs-gosum b { font-size: 16px; font-weight: 600; }
  .bs-gosum span { color: var(--muted); font-size: 12.5px; }
  .bs-gobar .bs-btn { width: auto; padding: 0 18px; }
  .bs-paygrid { display: block; min-height: 0; }
  .bs-summary { display: block; padding: 14px 16px 16px; }
  .bs-summary > * { max-width: none; }
  .bs-paylabel { margin-top: 14px; font-size: 14px; }
  .bs-big-amt { font-size: 28px; }
  .bs-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; }
  .bs-toggle svg { width: 11px; height: 11px; }
  .bs-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .bs-sumbody { display: none; margin-top: 14px; }
  .bs-summary.is-open .bs-sumbody { display: block; }
  .bs-form { padding: 20px 16px 0; max-width: none; }
  .bs-row3 { grid-template-columns: 1fr 1fr; }
  .bs-row3 > :first-child { grid-column: 1 / -1; }
  .bs-paybar { position: sticky; bottom: 0; z-index: 5; margin: -6px -16px 0; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bs-foot { margin-top: 0; padding-bottom: 20px; }
  .bs-done { padding: 22px 16px 48px; }
  .bs-done-top { grid-template-columns: minmax(0, 1fr); }
  .bs-done-art { order: -1; max-width: 180px; }
  .bs-done h2 { font-size: 24px; }
  .bs-actions .bs-btn, .bs-actions .bs-btn2 { flex: 1 1 100%; }
  .bs-done-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bs-mbtns > .bs-btn2 { min-width: 0; width: 100%; }
  .bs-pausebox { width: 100%; }
  .bs-pausebox select { flex: 1; }
  .bo-wrap { padding: 16px 12px; }
  .bo-head { flex-wrap: wrap; gap: 4px 12px; }
  .bo-head h2 { margin-right: 0; }
  .bo-date { width: 100%; }
  .bo-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bo-stats > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
  .bo-stats b { grid-row: span 2; grid-column: 2; font-size: 20px; }
  .bo-table thead { display: none; }
  .bo-table tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-top: 1px solid #ebebeb; }
  .bo-table td { padding: 1px 0; border: 0; }
  .bo-table td:nth-child(1) { grid-column: 1; }
  .bo-table td:nth-child(2) { grid-column: 1; }
  .bo-table td:nth-child(3) { grid-column: 2; grid-row: 2; text-align: right; color: #6b6b6b; }
  .bo-table td:nth-child(4) { grid-column: 2; grid-row: 1; }
  .bo-table td:nth-child(5) { grid-column: 1; }
  .bo-table tr.is-new { background: #f3f5ff; margin: 0 -16px; padding: 10px 16px; }
  .bo-table tr.is-new td { background: none; }
}
