:root {
  color-scheme: light;
  --ink: #15191a;
  --muted: #565f61;
  --paper: #f7f7f3;
  --white: #fff;
  --catalog-banner: #c6f1ec;
  --line: #dfe2dc;
  --teal: #006d62;
  --pale: #e1f3ed;
  --error: #9a2b21;
  font-family: Inter, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
[data-catalog-theme="sakura"] {
  --catalog-paper: #fff5f8;
  --catalog-banner: #f9dce8;
  --catalog-accent: #8c2456;
  --catalog-tint: #fbe2ee;
  --catalog-line: #e9cbd9;
}
[data-catalog-theme="midnight"] {
  --catalog-paper: #f1f3fd;
  --catalog-banner: #232955;
  --catalog-banner-ink: #fff;
  --catalog-banner-copy: #e0e4ff;
  --catalog-accent: #393d8f;
  --catalog-tint: #e4e7fc;
  --catalog-line: #d5daf1;
}
[data-catalog-theme="citrus"] {
  --catalog-paper: #fff9eb;
  --catalog-banner: #ffe3a3;
  --catalog-accent: #813c05;
  --catalog-tint: #fcecc4;
  --catalog-line: #ebd7ab;
}
[data-catalog-theme="super-planet"] {
  --catalog-paper: #0c0d17;
  --catalog-banner: #171a31;
  --catalog-banner-ink: #f7f5ff;
  --catalog-banner-copy: #d7d3ee;
  --catalog-accent: #cbc1ff;
  --catalog-tint: #292744;
  --catalog-line: #393750;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body[data-catalog-theme] {
  min-height: 100vh;
  background: var(--catalog-paper, var(--paper));
  --teal: var(--catalog-accent, #006d62);
  --pale: var(--catalog-tint, #e1f3ed);
  --line: var(--catalog-line, #dfe2dc);
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--catalog-accent, #007d77); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.5; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topinner { max-width: 1280px; margin: auto; padding: 9px 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 60px; }
.brand { font-size: 22px; font-weight: 950; letter-spacing: -.09em; white-space: nowrap; text-decoration: none; }
.brand span { margin-left: .18em; color: var(--teal); }
nav { display: flex; gap: 6px; align-items: center; }
nav a, .segmented a { padding: 9px 13px; text-decoration: none; border-radius: 8px; font-size: .875rem; font-weight: 650; white-space: nowrap; }
nav a[aria-current], .segmented a[aria-current] { background: var(--pale); color: #00594f; }
nav a:hover, .segmented a:hover { background: var(--pale); }
.customer-orders-link { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 650; text-underline-offset: .2em; }
.demo-tag { margin-left: auto; color: var(--muted); letter-spacing: .12em; font: 650 .65rem ui-monospace, monospace; white-space: nowrap; }
.container { max-width: 1280px; margin: auto; padding: 24px 30px 115px; }
.site-legal-footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 20px; padding: 24px 20px 130px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.site-legal-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); }
.legal-content { max-width: 780px; margin: auto; padding: 32px 20px 48px; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; margin: 0 0 16px; }
.legal-content section { margin-top: 28px; scroll-margin-top: 24px; }
.legal-content h2 { font-size: 1.25rem; margin-bottom: 12px; }
.legal-content p, .legal-content li { line-height: 1.65; }
.legal-content li + li { margin-top: 8px; }
.legal-contents { display: grid; gap: 4px; padding: 16px; background: var(--pale); border-radius: 12px; }
.legal-contents a { min-width: 0; padding-block: 8px; color: var(--teal); white-space: normal; }
.legal-page .site-legal-footer { padding-bottom: 24px; }
.checkout-legal { margin-block: 16px; }
.checkout-legal .check { align-items: flex-start; line-height: 1.5; }
.checkout-legal input { flex: none; margin-top: 4px; }
.checkout-legal a, .privacy-note a { color: var(--teal); }
.privacy-note { color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media print { .site-legal-footer { display: none; } }
.booth-directory-title { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.045em; margin-bottom: 20px; }
.booth-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.booth-directory-card { min-height: 100px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-size: 1.1rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.booth-directory-card span[aria-hidden] { color: var(--teal); }
.booth-directory-action { display: block; margin-top: 7px; color: var(--teal); font-size: .875rem; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.booth-directory-card:hover { background: var(--pale); border-color: var(--teal); }
.public-directory-event { padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line); }
.public-directory-event h2 { margin: 0; }
.public-directory-event header { margin-bottom: 1rem; }
.directory-event-details { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; margin: .35rem 0 0; list-style: none; }
.public-directory-event .booth-directory-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); align-items: start; }
.public-directory-event .booth-directory-card { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; overflow: hidden; gap: 0; }
.public-directory-event .booth-directory-card > span { padding: 1rem 1.15rem; }
.public-directory-banner { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.public-directory-banner[hidden] { display: none; }
.setup-event-grid { margin-top: 14px; }
.setup-event-grid small { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; }
.shop-context, .shop-tools, .catalog-meta, .card-header, .order-total, .dialog-heading, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-context { margin-bottom: 16px; flex-wrap: wrap; }
.actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.segmented { display: flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: white; }
.segmented a { padding: 6px 10px; }
.button, .icon, .stepper button { min-height: 40px; border: 1px solid transparent; border-radius: 9px; padding: 8px 13px; font-size: .875rem; font-weight: 700; }
.button.primary { background: var(--catalog-accent, #142424); color: white; }
.button.primary:hover { background: var(--teal); }
.button.outline, .icon { background: white; border-color: #c8cfca; color: var(--ink); }
.button.outline:hover, .icon:hover, .button.plain:hover { background: var(--pale); }
.button.plain { background: transparent; color: var(--muted); }
.shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(16px, 3vw, 32px); background: var(--catalog-banner, var(--pale)); color: var(--catalog-banner-ink, var(--ink)); border-radius: 14px; }
.shop-heading h1 { font-size: clamp(1.55rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.shop-booth-name, .shop-payment { color: var(--catalog-banner-copy, #365753); font-size: .875rem; }
.shop-booth-name { margin-bottom: 5px; }
.shop-payment { margin-top: 6px; }
.shop-heading-art { flex: 0 0 auto; width: clamp(54px, 10vw, 104px); aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.eyebrow { color: #365753; font: 700 .72rem ui-monospace, monospace; letter-spacing: .12em; }
.tile { background-color: var(--tile-color); background-image: url("/merch.webp"); background-repeat: no-repeat; background-size: 300% 200%; }
.tile-0 { background-position: 0 0; }
.tile-1 { background-position: 50% 0; }
.tile-2 { background-position: 100% 0; }
.tile-3 { background-position: 0 100%; }
.tile-4 { background-position: 50% 100%; }
.tile-5 { background-position: 100% 100%; }
.shop-tools { margin: 14px 0 6px; }
.category-picker, .category-option { display: flex; align-items: center; gap: 10px; text-align: left; }
.category-picker { width: min(100%, 340px); }
.category-picker small { display: block; color: var(--muted); font-weight: 500; }
.category-thumbnail { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.category-placeholder { display: grid; place-items: center; background: var(--catalog-paper, var(--pale)); color: var(--ink); }
.fyj-demo-art { display: block; background: url("/fyj-demo-merch.webp") var(--art-x) var(--art-y) / 500% 500% no-repeat; }
.product-art.fyj-demo-art { aspect-ratio: 1; }
.category-arrow, .category-selected { margin-left: auto; }
.category-arrow { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-right: 3px; }
.category-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.category-option { width: 100%; overflow-wrap: anywhere; }
.category-option[aria-pressed="true"] { border-color: var(--catalog-accent, var(--teal)); background: var(--pale); }
.search input, .field input { width: 100%; border: 1px solid #bec8c1; border-radius: 9px; padding: 10px 12px; min-height: 42px; background: white; color: var(--ink); }
.search { width: min(100%, 280px); }
.shop-search { display: flex; align-items: center; gap: 8px; min-width: 0; }
.shop-search .search { flex: 1; min-width: 0; }
.shop-search .button { min-height: 44px; flex-shrink: 0; }
.catalog-meta { font-size: .85rem; margin-bottom: 11px; }
.check { display: flex; align-items: center; gap: 6px; color: var(--muted); }
input[type="checkbox"] { accent-color: var(--teal); width: 17px; height: 17px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.product-media { background: var(--catalog-paper, var(--paper)); }
.product-image-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; cursor: pointer; color: inherit; }
.product-image-button:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.product-detail-media { min-width: 0; width: 100%; }
.product-detail-media a { display: block; color: var(--teal); text-align: center; text-decoration: none; }
.product-detail-media a span { display: block; padding: 12px; text-decoration: underline; }
.product-art { aspect-ratio: 1; }
img.product-art { display: block; width: 100%; object-fit: contain; background: var(--catalog-paper, #f7f7f3); }
.product-copy { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stock-warning { margin-bottom: 14px; padding: 14px; border: 2px solid #ab3b2b; border-radius: 10px; background: #fff1ed; color: #68241a; }
.stock-warning h2 { margin: 0; font-size: 1.25rem; }
.stock-warning ul { padding-left: 1.25rem; }
.product h3 { font-size: 1rem; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.product-facts { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.product-facts strong, .detail-price { font-variant-numeric: tabular-nums; }
.product-facts small, .muted, small { color: var(--muted); }
.product-open { width: 100%; margin-top: auto; min-height: 44px; }
body[data-catalog-theme]:not([data-catalog-theme="classic"]) .button.primary:hover { filter: brightness(.92); }
.cart-dock { position: fixed; z-index: 1; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 450px); display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #bccac2; border-radius: 13px; background: white; padding: 10px 12px 10px 17px; box-shadow: 0 10px 36px #1a30232b; }
.cart-dock small, .lines small, .cart-line small, .pick small { display: block; margin-top: 3px; }
.panel { padding: 21px; background: white; border: 1px solid var(--line); border-radius: 13px; min-width: 0; }
.panel h2 { font-size: 1.2rem; letter-spacing: -.03em; }
.panel > p { margin-top: 12px; }
.station-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin: 16px 0 24px; }
.station-heading h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.065em; margin: 6px 0; }
.station-heading p { color: var(--muted); }
.workspace-page-heading { margin-top: 0; }
.workspace-page-heading h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.035em; }
#station-booth-switch select { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding-inline: .6rem; border: 1px solid #bec8c1; border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.station-picker > section { margin-top: 18px; }
.station-picker h2 { font-size: 1.1rem; }
.station-picker .actions { margin-top: 4px; }
.station-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.queue-lists { margin-top: 15px; }
.empty { text-align: center; color: var(--muted); padding: 24px 12px; }
.products > .empty { grid-column: 1 / -1; }
.queue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-items: start; }
.lane { background: #edeee9; border-radius: 12px; padding: 12px; }
.lane h2 { font-size: .97rem; margin: 2px 0 12px; display: flex; align-items: center; gap: 8px; }
.lane h2 span { background: #fff; padding: 3px 7px; border-radius: 6px; font-size: .75rem; }
.lane-empty { padding: 20px 0; color: var(--muted); text-align: center; }
.ticket { padding: 13px; margin-top: 9px; }
.ticket h3 { font-size: 1.25rem; letter-spacing: -.04em; }
.status { display: inline-block; font-size: .75rem; font-weight: 720; background: #edf1ee; border-radius: 99px; padding: 5px 9px; text-align: center; }
.status.ready, .status.paid { background: #d7f0e5; color: #005d4b; }
.status.unpaid { background: #fff0cc; color: #714509; }
.status.expired, .status.cancelled { background: #fbe7e0; color: var(--error); }
.lines { list-style: none; padding: 0; margin: 11px 0; text-align: left; }
.lines li { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lines li:last-child { border: 0; }
.storefront-order-list li { align-items: center; flex-wrap: wrap; }
.storefront-order-list li > div:first-child { flex: 1 1 13rem; }
.storefront-order-code { width: 6rem; margin: 0; }
.storefront-order-list button[aria-disabled="true"] { opacity: .45; cursor: default; }
.storefront-product-code { display: inline-block; padding: .12em .42em; border: 1px solid var(--line); border-radius: .4rem; font-size: .8em; }
.field { font-size: .88rem; font-weight: 650; display: block; margin: 13px 0; }
.field input { display: block; margin-top: 6px; }
.field span { color: var(--muted); font-size: .72rem; margin-left: 6px; }
.order-total { padding: 10px 0; border-top: 1px solid var(--line); }
.error { color: var(--error); background: #fff1eb; border-radius: 7px; padding: 9px; margin: 10px 0; }
.pick { display: flex; gap: 8px; align-items: start; padding: 8px 0; }
.pick input { flex: none; margin-top: 3px; }
.pick-scan .field { margin-bottom: 8px; }
.pick-count { flex: none; text-align: right; }
.pick-count button { display: block; margin-top: 4px; }
.bags input { width: 80px; }
.text-button { border: 0; background: transparent; color: var(--teal); text-decoration: underline; font-weight: 700; padding: 0; }
.order-page { max-width: 520px; margin: auto; }
.back { display: inline-block; margin-bottom: 12px; font-size: .9rem; color: var(--teal); }
.order-panel { text-align: center; padding: 24px; }
.order-panel h1 { font-size: 3.5rem; letter-spacing: -.06em; line-height: 1.1; margin: 7px 0; }
.order-main { display: grid; justify-items: center; gap: 8px; margin: 19px 0; }
.order-summary { text-align: left; }
.hold { color: #714509; }
.qr { display: block; width: min(100%, 180px); height: auto; aspect-ratio: 1; margin: 4px auto; }
.qr-dialog { text-align: center; }
.qr-dialog p { margin-top: 10px; }
.booth-sign {
  --sign-ink: #103c38; --sign-accent: #00665a; --sign-ribbon: #91e2cc; --sign-paper: #e9f5f0;
  display: grid; grid-template-rows: auto 1fr auto;
  border: 1px solid var(--sign-ribbon); border-radius: 12px; overflow: hidden;
  background: #fff; color: var(--sign-ink); text-align: center; overflow-wrap: anywhere;
}
.booth-sign[data-sign-theme="sakura"] { --sign-ink: #641f42; --sign-accent: #8c2456; --sign-ribbon: #f4acc9; --sign-paper: #fff0f6; }
.booth-sign[data-sign-theme="midnight"] { --sign-ink: #26336a; --sign-accent: #393d8f; --sign-ribbon: #afbaff; --sign-paper: #eff0ff; }
.booth-sign[data-sign-theme="super-planet"] { --sign-ink: #332254; --sign-accent: #552d88; --sign-ribbon: #cbb9ff; --sign-paper: #f3edff; }
.booth-sign[data-sign-theme="citrus"] { --sign-ink: #71320d; --sign-accent: #813c05; --sign-ribbon: #ffc767; --sign-paper: #fff4da; }
.booth-sign-header {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 30px 18px; background: var(--sign-ink); color: #fff; border-bottom: 5px solid var(--sign-ribbon);
}
.booth-sign-header::after {
  content: ""; position: absolute; inset: 0 0 0 55%; z-index: -1; pointer-events: none;
  background: var(--sign-accent); clip-path: polygon(75% 0, 88% 0, 29% 100%, 16% 100%, 75% 0, 100% 0, 100% 100%, 43% 100%);
}
.booth-sign .booth-sign-name { margin: 0; font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 850; line-height: 1; letter-spacing: -.035em; }
.booth-sign-main { display: grid; justify-items: center; align-content: center; gap: 14px; padding: 20px 16px; }
.booth-sign .booth-sign-invite { margin: 0; color: var(--sign-accent); font-size: 1.45rem; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.booth-sign .booth-sign-guide { margin: 5px 0 0; font-size: .85rem; line-height: 1.4; }
.booth-sign-code { width: min(100%, 210px); border: 1px solid var(--sign-ribbon); border-radius: 10px; background: #fff; }
.booth-sign .qr { width: 100%; margin: 0; image-rendering: pixelated; }
.booth-sign-address { display: grid; gap: 3px; padding: 11px 14px 13px; background: var(--sign-paper); }
.booth-sign-address span { font-size: .8rem; }
.booth-sign .booth-sign-url { color: var(--sign-ink); font-size: .87rem; line-height: 1.3; font-weight: 700; text-underline-offset: .14em; }
.booth-sign-tools { margin-top: 14px; flex-wrap: wrap; }
#print-booth-sign { display: none; }
dialog { width: min(calc(100% - 24px), 510px); max-height: 90vh; overflow: auto; border: 1px solid var(--line); padding: 20px; border-radius: 15px; color: var(--ink); }
dialog::backdrop { background: #1026248c; }
.dialog-heading { margin-bottom: 13px; }
.dialog-heading h2 { font-size: 1.3rem; }
.dialog-footer { margin-top: 17px; }
.icon { font-size: 1.3rem; padding: 0 11px; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stepper { display: flex; align-items: center; gap: 7px; }
dialog:has(#checkout-form) { width: min(calc(100% - 24px), 600px); max-height: 90dvh; padding: clamp(14px, 3vw, 24px); }
dialog:has(#checkout-form) .dialog-heading h2 { font-size: clamp(1.45rem, 4vw, 1.85rem); letter-spacing: -.035em; }
.checkout-context { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-weight: 700; overflow-wrap: anywhere; }
.checkout-context span { color: var(--teal); font-size: .82rem; font-weight: 650; }
.checkout-section { margin: 16px 0 0; min-inline-size: 0; }
.checkout-section h3, #checkout-form legend { font-size: 1rem; font-weight: 750; }
.checkout-section .cart-lines { list-style: none; margin: 2px 0 0; padding: 0; }
.checkout-section .cart-line strong { overflow-wrap: anywhere; }
.checkout-section .stepper { flex-shrink: 0; }
.checkout-section .stepper button { min-width: 44px; min-height: 44px; background: var(--pale); color: var(--ink); }
.checkout-fulfillment, .checkout-contact { border: 0; padding: 0; }
.checkout-fulfillment > legend, .checkout-contact > legend { padding: 0; }
.checkout-contact > p { font-size: .875rem; margin-top: 4px; }
.checkout-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-contact-fields .field { min-width: 0; }
.checkout-fulfillment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 8px 12px; }
.checkout-fulfillment-option { display: flex; align-items: start; gap: 10px; min-height: 58px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; cursor: pointer; }
.checkout-fulfillment-option:has(:checked) { border-color: var(--teal); background: var(--pale); }
.checkout-fulfillment-option input { flex: none; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--teal); }
.checkout-fulfillment-option small { display: block; margin-top: 2px; color: var(--muted); }
.checkout-fulfillment [data-checkout-pickup] section h3 { font-size: .875rem; }
.checkout-shipping-address { border: 0; padding: 0; margin: 12px 0 0; min-inline-size: 0; }
.checkout-shipping-address > legend { padding: 0; }
.checkout-shipping-address select { display: block; width: 100%; margin-top: 6px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.checkout-shipping-address .checkout-postal-label { font: inherit; color: inherit; margin: 0; }
.checkout-shipping-address .field small { color: var(--muted); font-weight: 400; }
.checkout-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-address-grid .field { min-width: 0; margin-block: 0; }
.checkout-shipping-fees { font-size: .875rem; }
.checkout-shipping-fees button { margin-block: 8px; }
[data-shipping-quote-status]:empty { display: none; }
@media (max-width: 440px) {
  .checkout-fulfillment-options, .checkout-address-grid, .checkout-contact-fields { grid-template-columns: 1fr; }
  .checkout-contact-fields { gap: 0; }
  .checkout-contact-fields .field { margin-block-end: 0; }
  .checkout-contact-fields { margin-bottom: 12px; }
}
#checkout-form > .check { margin-top: 14px; }
#checkout-form :is(.field input, .button) { min-height: 44px; }
#checkout-form .stock-warning { margin: 12px 0 0; }
.checkout-payment-preview { background: var(--pale); border-radius: 9px; padding: 12px 14px; }
.checkout-payment-preview p { color: var(--ink); font-size: .9rem; }
.checkout-total { display: grid; gap: 12px; margin-top: 17px; padding: 13px 14px; background: var(--paper); border-radius: 9px; }
.checkout-cost-breakdown { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.checkout-cost-breakdown > div, .checkout-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.checkout-cost-breakdown > div { color: var(--muted); font-size: .875rem; }
.checkout-cost-breakdown dd { margin: 0; font-variant-numeric: tabular-nums; }
.checkout-total-row span { font-weight: 700; }
.checkout-total strong, .customer-order-total dd { font-size: clamp(1.2rem, 3vw, 1.45rem); font-variant-numeric: tabular-nums; }
.checkout-order-page { max-width: 660px; }
.checkout-order-page .order-panel { padding: clamp(14px, 4vw, 28px); }
.checkout-order-page .order-panel h1 { font-size: clamp(2rem, 6vw, 2.85rem); }
.customer-order-prices { margin-block: 18px; }
.customer-order-prices h2, .order-payment > h2 { font-size: 1.125rem; }
.customer-order-items { list-style: none; margin: 6px 0 12px; padding: 0; }
.customer-order-items li, .customer-order-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.customer-order-items li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.customer-order-items li > strong, .customer-order-totals dd { flex: none; margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.customer-order-items small, .customer-order-totals small { display: block; color: var(--muted); }
.customer-order-totals { margin: 0; padding: 10px 13px; border-radius: 9px; background: var(--catalog-paper, var(--paper)); }
.customer-order-totals > div { padding-block: 4px; }
.customer-order-totals .customer-order-total { margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--line); font-weight: 750; }
.preorder-receipt-page { max-width: 620px; }
.preorder-receipt-page .order-panel { padding: clamp(16px, 4vw, 28px); }
.preorder-receipt-page .order-heading { text-align: left; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.preorder-receipt-page .order-heading h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); letter-spacing: -.035em; margin: 0; overflow-wrap: anywhere; }
.order-shop-name { margin: 6px 0 10px; color: var(--muted); }
.preorder-receipt-page .order-main { justify-items: start; text-align: left; }
.preorder-receipt-page .order-main h2, .receipt-section :is(h2, h3) { font-size: 1.125rem; }
.receipt-section { padding-block: 16px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.receipt-section :is(h2, h3) + p { margin-top: 4px; }
.receipt-section .button { min-height: 44px; margin-top: 10px; }
.receipt-delivery { display: grid; gap: 10px; }
.receipt-delivery-service p, .receipt-delivery-note { color: var(--muted); }
.receipt-delivery-payment {
  display: grid; gap: 8px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--catalog-paper, var(--paper));
}
.receipt-delivery-fee, .receipt-delivery-tracking dl {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0;
}
.receipt-delivery-fee dd, .receipt-delivery-tracking dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.receipt-delivery-payment .receipt-delivery-fee { font-weight: 700; }
.receipt-delivery-payment .receipt-delivery-fee dd { font-size: 1.2rem; }
.receipt-delivery-payment p { color: var(--muted); font-size: .875rem; }
.receipt-delivery .receipt-delivery-action {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; max-width: 100%; margin-top: 4px; text-align: center; text-decoration: none;
}
.receipt-delivery-tracking { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
  .receipt-delivery .receipt-delivery-action { width: 100%; }
}
.receipt-pickup-code summary {
  width: fit-content; min-height: 44px; align-content: center; color: var(--teal); font-weight: 650; cursor: pointer;
}
.delivery-choices, .delivery-rates { display: grid; gap: 8px; }
.delivery-choices { margin-top: 12px; }
.delivery-choice { border: 1px solid var(--line); border-radius: 10px; background: var(--catalog-paper, var(--paper)); }
.delivery-choice summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px;
  padding: 10px 14px; border-radius: 9px; cursor: pointer; list-style: none;
}
.delivery-choice summary::-webkit-details-marker { display: none; }
.delivery-choice summary::after {
  content: ""; flex: 0 0 8px; height: 8px; margin-right: 2px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.delivery-choice[open] summary::after { transform: rotate(225deg); }
.delivery-choice summary small { display: block; color: var(--muted); }
.delivery-choice-body { border-top: 1px solid var(--line); padding: 14px; }
.delivery-choice-body form { margin: 0; }
.delivery-choice-body :is(textarea, .field select) {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 6px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font: inherit;
}
.delivery-choice-body textarea { min-height: 76px; resize: vertical; }
.delivery-choice-body :is(#order-delivery, #overseas-pay) > .button { width: 100%; }
.delivery-choice-body #overseas-options:not(:empty) { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.delivery-rates { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.delivery-rates legend { padding: 0; margin-bottom: 6px; font-size: .88rem; font-weight: 650; }
.delivery-rate {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 10px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
}
label.delivery-rate { justify-content: flex-start; cursor: pointer; }
.delivery-rate input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--catalog-accent, var(--teal)); }
.delivery-rate strong { flex: none; margin-left: auto; font-variant-numeric: tabular-nums; }
.delivery-rate:has(:checked) { border-color: var(--catalog-accent, var(--teal)); }
.delivery-choice :is(summary, input, textarea, select, button):focus-visible {
  outline: 2px solid var(--catalog-accent, var(--teal)); outline-offset: 2px;
}
.order-cart-back { min-height: 44px; }
.order-payment {
  width: 100%;
  min-width: 0;
  padding: clamp(12px, 3vw, 20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--catalog-paper, var(--paper));
  text-align: left;
}
.order-payment > h2 { margin-bottom: 12px; }
.order-payment .payment-choices { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.payment-choices legend { margin-bottom: 8px; padding: 0; color: var(--muted); font-size: .88rem; font-weight: 600; }
.payment-choice { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
label.payment-choice { cursor: pointer; }
.payment-choice:has(input:checked) { border-color: var(--teal); background: var(--pale); }
.payment-choice:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.payment-choice input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--teal); }
.payment-choice small { display: block; margin-top: 3px; }
.payment-method-panel { margin-top: 12px; }
.payment-method-panel :is(.field input, .button) { min-height: 44px; }
#payment-online .button.primary { width: 100%; }
#payment-cashier { text-align: center; }
#payment-cashier p { color: var(--muted); }
#payment-cashier .qr { margin-block: 10px; }
.stepper button { background: var(--pale); color: var(--teal); min-width: 35px; padding: 4px; }
.scan-tools video { width: 100%; border-radius: 8px; background: #142424; }
.label-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.bag-label { width: 55mm; min-height: 29mm; display: grid; align-content: center; justify-items: center; gap: 3px; border: 1px solid #bbb; background: #fff; color: #000; }
.bag-label strong { font-size: 1.75rem; }
.kitchen-tools { margin-bottom: 16px; }
.kitchen-tools .actions { margin-top: 12px; }
.packing-focus { max-width: 640px; margin: 18px auto 0; }
.packing-slip { width: min(100%, 70mm); margin: 0 auto; padding: 3mm; color: #000; background: #fff; }
.packing-slip header, .packing-slip footer { text-align: center; break-inside: avoid; }
.packing-slip h2 { font-size: 24pt; margin-top: 2mm; overflow-wrap: anywhere; }
.packing-slip .lines li { break-inside: avoid; }
.packing-slip .lines li div { min-width: 0; overflow-wrap: anywhere; }
.packing-slip .lines li span { flex: none; font-weight: 700; }
.packing-slip .qr { width: 33mm; }
.collection-display-link { margin-bottom: 14px; }
.handover-proof { margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.handover-proof h3 { margin-bottom: 5px; color: var(--teal); }
.proof-preview { display: block; max-width: min(100%, 300px); max-height: 220px; object-fit: contain; border-radius: 6px; }
.collection-screen { min-height: 100vh; background: #142424; color: #fff; }
.collection-screen .topbar { display: none; }
.collection-screen .container { max-width: 1600px; padding: clamp(18px, 4vw, 56px); }
.display-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.display-header h1 { font-size: clamp(1.25rem, 3vw, 2.5rem); }
#display-orders { text-align: center; margin-top: clamp(24px, 5vh, 70px); }
#display-orders h2 { color: #b8f0dc; font-size: clamp(1.7rem, 5vw, 4.5rem); }
.ready-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px;
  padding: 0; margin: 24px 0; list-style: none; }
.ready-board li { padding: 12px 8px; border-radius: 10px; background: #e1f3ed; color: #142424;
  font-size: clamp(1.4rem, 4.2vw, 4.1rem); font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#display-location, #display-status { text-align: center; margin-top: 16px; font-size: clamp(1rem, 2vw, 1.6rem); }
#display-status { color: #ffd58d; }
#print-labels { display: none; }
#toast { position: fixed; z-index: 3; bottom: 89px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 9px 15px; border-radius: 8px; background: #142424; color: white; font-size: .875rem; }
.customer-entry nav, .customer-entry .shop-context .actions { display: none; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.stock-scroll { overflow-x: auto; }
.stock-photo-button { padding: 4px; width: 58px; white-space: normal; font-size: .75rem; }
.stock-photo-button img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.setup-image-guide { display: grid; gap: 6px; margin-bottom: 14px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; font-size: .82rem; }
.setup-image-guide p, .setup-image-guide figure { margin: 0; }
.setup-image-guide [data-preview-label] { font-weight: 650; margin-top: 4px; }
.setup-image-frames { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.setup-image-frames figure { flex: 0 1 auto; max-width: 100%; }
.setup-image-frame { width: 102px; max-width: 100%; height: 45px; border: 1px dashed var(--line); border-radius: 5px; overflow: hidden; background: var(--pale); }
.setup-image-frame.wide { width: 135px; }
.setup-image-frame.square { width: 45px; }
.setup-image-frame.favicon { width: 32px; height: 32px; }
.shop-favicon-button { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; text-align: left; }
.shop-favicon-button img { object-fit: contain; }
.shop-favicon-button small { display: block; margin-top: 2px; font-weight: 500; }
.setup-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.setup-image-frame img[hidden] { display: none; }
.setup-image-frames figcaption { margin-top: 3px; color: var(--muted); }
.setup-banner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: 10px; }
#banners h3 { margin: 14px 0 6px; font-size: .95rem; }
.banner-preview-button { display: grid; gap: 6px; width: 100%; max-width: 26rem; text-align: left; }
.banner-preview-button img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 5px; }
.banner-preview-action { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; }
.shop-heading-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 130px; padding: 20px; }
.shop-banner-image, .shop-heading-banner::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.shop-banner-image { object-fit: cover; z-index: -2; }
.shop-heading-banner::after { content: ""; background: #101819ad; z-index: -1; }
.shop-heading-banner h1, .shop-heading-banner .shop-payment, .shop-heading-banner .shop-booth-name { color: white; }
.stock-table small { display: block; }
.setup-grid textarea { width: 100%; min-height: 180px; margin-top: 6px; padding: 10px; resize: vertical; border: 1px solid #bec8c1; border-radius: 9px; }
.setup-grid select { display: block; margin-top: 6px; min-height: 44px; max-width: 100%; padding: 6px; }
.catalog-theme-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 260px;
  margin-bottom: 9px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--catalog-banner, #c6f1ec);
  color: var(--catalog-banner-ink, var(--ink));
}
.catalog-theme-preview span { flex: 0 0 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; background: var(--catalog-accent, #142424); }
.setup-grid table { border-collapse: collapse; width: 100%; margin: 12px 0; text-align: left; }
.setup-grid td, .setup-grid th { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.setup-grid .button { min-height: 44px; }
.staff-sign-in .button { width: 100%; min-height: 44px; }
.staff-sign-in input, .shop-tools input, .category-picker, .catalog-meta .check { min-height: 44px; }
.staff-setup-link, .staff-accounts-link, .station-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 9px; font-size: .875rem; font-weight: 650; text-underline-offset: .2em; }
:is(.staff-setup-link, .staff-accounts-link)[aria-current] { background: var(--pale); border-radius: 8px; }
.staff-setup-link { margin-left: auto; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; }
.station-links { margin: 8px 0; }
.setup-booth-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); align-items: start; gap: 16px; }
.setup-booth-controls .field { margin-top: 0; }
.setup-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.setup-breadcrumb a { padding: 4px 0; white-space: normal; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 900px) {
  .setup-grid:not(.setup-booth-grid) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
  .setup-grid:not(.setup-booth-grid) > :nth-child(n+3) { grid-column: 1 / -1; }
  .setup-event-detail-grid > :nth-child(2) { grid-column: 1; }
  .setup-event-detail-grid > #booth-details { grid-area: 1 / 2 / span 2; }
}
@media (max-width: 780px) {
  .shop-tools { margin-top: 10px; }
  .catalog-meta { margin-bottom: 5px; }
}
@media (max-width: 780px) {
  .topinner, .container { padding-left: 16px; padding-right: 16px; }
  .topinner { gap: 10px; flex-wrap: wrap; }
  .topbar nav { order: 3; width: 100%; flex-wrap: wrap; gap: 2px; }
  .topbar nav a { padding: 7px 9px; }
  .shop-tools { align-items: start; flex-direction: column; }
  .category-picker, .shop-search { width: 100%; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-copy { padding: 10px; gap: 8px; }
  .product-open { padding-inline: 5px; }
  .queue, .station-grid { grid-template-columns: 1fr; }
}
@media print {
  @page { size: 55mm 29mm; margin: 0; }
  @page packing-slip { size: auto; margin: 2mm; }
  @page booth-sign { size: A4 portrait; margin: 12mm; }
  body > :not(#print-labels) { display: none !important; }
  #print-labels { display: block; }
  .bag-label { border: 0; break-after: page; }
  .bag-label:last-child { break-after: auto; }
  .packing-slip { page: packing-slip; margin: 0; padding: 2mm; font-size: 10pt; }
  html:has(#print-booth-sign), body:has(#print-booth-sign) { background: #fff; }
  body:has(#print-booth-sign) { display: block; margin: 0; }
  body:has(#print-booth-sign) #print-labels,
  body:has(#print-booth-sign) #modal::backdrop { display: none !important; }
  body > #print-booth-sign { display: block !important; page: booth-sign; }
  #print-booth-sign .booth-sign {
    box-sizing: border-box; min-height: 269mm;
    border: 0.3mm solid var(--sign-ribbon); border-radius: 0;
    break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact;
  }
  #print-booth-sign .booth-sign-header { padding: 16mm 11mm; border-bottom-width: 2mm; }
  #print-booth-sign .booth-sign-name { font-size: 58pt; }
  #print-booth-sign .booth-sign-main { padding: 9mm; gap: 7mm; }
  #print-booth-sign .booth-sign-invite { font-size: 31pt; }
  #print-booth-sign .booth-sign-guide { margin-top: 2mm; font-size: 13pt; }
  #print-booth-sign .booth-sign-code { width: 94mm; border-radius: 3mm; border-width: 0.3mm; }
  #print-booth-sign .booth-sign-address { gap: 1.5mm; padding: 5mm 8mm 6mm; }
  #print-booth-sign .booth-sign-address span { font-size: 11pt; }
  #print-booth-sign .booth-sign-url { font-size: 14pt; }
}

.report-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); align-items: end; gap: 12px; margin-bottom: 14px; }
.report-filter label { display: grid; gap: 5px; min-width: 0; font-size: .875rem; font-weight: 650; }
.report-filter :is(input, select, button) { min-height: 44px; width: 100%; min-width: 0; }
.report-filter :is(input, select) { border: 1px solid #bec8c1; border-radius: 9px; padding: 8px 10px; background: var(--white); color: var(--ink); font: inherit; }
.report-tabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 16px 0; }
.report-tabs a { display: inline-flex; align-items: center; min-height: 44px; white-space: normal; }
.report-tabs a[aria-current="page"] { box-shadow: inset 0 -2px currentColor; }
.report-heading { gap: 12px 16px; }
.report-results-heading { margin-bottom: 14px; }
.report-exports { display: flex; flex-wrap: wrap; gap: 8px; }
.report-exports a { text-align: center; }
.report-views, .sales-interval { gap: 6px; }
.report-views a, .sales-interval a { font-size: .875rem; font-weight: 700; }
.report-views a:hover, .sales-interval a:hover { background: var(--paper); }
.report-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 14px; }
.report-pagination span { grid-column: 2; grid-row: 1; font-size: .875rem; color: var(--muted); }
.report-pagination .report-previous { grid-column: 1; grid-row: 1; justify-self: start; }
.report-pagination .report-next { grid-column: 3; grid-row: 1; justify-self: end; }
.report-table { overflow-x: auto; }
.report-table table { width: 100%; border-collapse: collapse; text-align: left; }
.report-table :is(th, td) { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.report-table th { font-size: .85rem; color: var(--muted); background: var(--paper); }
.report-table td { font-variant-numeric: tabular-nums; }
.sales-summary small, .sales-trends small, .sales-trends .card-header p { color: var(--muted); }
.sales-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0; gap: 8px; }
.sales-kpis > div { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.sales-kpis dt { color: var(--muted); font-size: .82rem; font-weight: 650; }
.sales-kpis dd { margin: 5px 0 0; font-weight: 800; font-size: clamp(1rem, 2.6vw, 1.65rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sales-kpis > div:first-child dd { color: var(--teal); }
.sales-summary summary, .sales-chart-values summary { width: fit-content; min-height: 44px; padding-block: 11px; color: var(--teal); font-weight: 650; font-size: .875rem; cursor: pointer; }
.sales-summary details p { margin-top: 4px; font-size: .875rem; color: var(--muted); max-width: 78ch; }
.sales-trends, .sales-breakdown { margin-bottom: 16px; }
.sales-trends .card-header p { margin-top: 4px; font-size: .875rem; }
nav.sales-interval { margin: 0; }
.sales-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 16px 0 8px; }
.sales-chart { --chart-color: #00786a; --plot-height: 142px; position: relative; margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 13px; }
.sales-chart-count { --chart-color: #355a93; }
.sales-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; }
.sales-chart h3 { font-size: .98rem; }
.sales-chart-frame { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 8px; }
.sales-axis { display: flex; flex-direction: column; justify-content: space-between; height: var(--plot-height); color: var(--muted); font-size: .72rem; text-align: right; }
.sales-chart-scroll { overflow-x: auto; }
.sales-plot { min-width: var(--plot-width); }
.sales-columns { display: grid; grid-template-columns: repeat(var(--periods), minmax(0,1fr)); }
.sales-column-track { height: var(--plot-height); position: relative; display: flex; align-items: end; justify-content: center; border-block: 1px solid var(--line); }
.sales-column-track::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid var(--line); }
.sales-column-bar { z-index: 1; width: min(66%,32px); height: var(--height); border-radius: 3px 3px 0 0; background: var(--chart-color); }
.sales-column-track[data-active] { background: color-mix(in srgb, var(--chart-color) 9%, transparent); }
.sales-column-track[data-active]::after { content: ""; position: absolute; inset: 0 50% 0 auto; border-inline-start: 1px dashed var(--chart-color); }
.sales-chart-tooltip { position: absolute; z-index: 2; width: max-content; max-width: calc(100% - 16px); padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 4px 14px #1225211f; font-size: .8125rem; line-height: 1.35; overflow-wrap: anywhere; }
.sales-tooltip-metric { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; }
.sales-tooltip-metric::before { content: ""; align-self: center; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--chart-color); }
.sales-tooltip-value { margin-inline-start: auto; padding-inline-start: 7px; font-variant-numeric: tabular-nums; }
.sales-chart-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sales-chart-labels { display: flex; justify-content: space-between; gap: 4px; padding-top: 4px; color: var(--muted); font-size: .71rem; }
.sales-chart-labels > :only-child { margin-inline: auto; }
.sales-peak { margin-top: 9px; font-size: .875rem; }
.sales-peak strong { color: var(--chart-color); font-variant-numeric: tabular-nums; }
.sales-no-data { padding: 12px; border-radius: 8px; background: var(--paper); }
.sales-breakdown ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.sales-breakdown li > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; overflow-wrap: anywhere; }
.sales-breakdown meter { display: block; width: 100%; height: .85rem; accent-color: var(--teal); }
.sales-breakdown meter::-webkit-meter-optimum-value { background: var(--teal); }
@media (max-width: 850px) {
  .sales-chart-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 620px) {
  .report-apply { grid-column: 1 / -1; }
  .report-exports { display: grid; width: 100%; }
  .sales-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.orders-back { margin-bottom: 12px; }
.orders-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 920px) {
  .orders-detail-grid.with-buyer { grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 1fr);
    grid-template-areas: "summary buyer" "timeline buyer"; grid-template-rows: auto 1fr; }
  .with-buyer .orders-summary { grid-area: summary; }
  .with-buyer .orders-buyer-tools { grid-area: buyer; }
  .with-buyer .orders-timeline { grid-area: timeline; }
}
.orders-timeline .card-header { gap: 8px; flex-wrap: wrap; }
.orders-timeline .card-header span, .timeline-events time { font-size: .875rem; }
.orders-timeline .timeline-date { margin: 20px 0 8px; font-size: .9rem; color: var(--muted); }
.timeline-events { margin: 0 0 0 4px; padding: 0; list-style: none; border-inline-start: 1px solid var(--line); }
.timeline-events li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px; padding: 9px 0 9px 17px; }
.timeline-events li::before { content: ""; position: absolute; inset-inline-start: -4px; top: 16px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.timeline-events :is(strong, p) { overflow-wrap: anywhere; }
.timeline-events p { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.timeline-events time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.orders-buyer-tools { display: grid; gap: 16px; min-width: 0; }
.orders-detail-grid h3 { margin-top: 20px; font-size: 1rem; }
.orders-fields { margin: 12px 0; }
.orders-fields > div { display: grid; grid-template-columns: minmax(5rem, .42fr) minmax(0, 1fr); gap: 12px; padding: 6px 0; }
.orders-fields dt { color: var(--muted); }
.orders-fields dd { margin: 0; overflow-wrap: anywhere; }
.orders-edit { border-top: 1px solid var(--line); }
.orders-edit summary { min-height: 44px; padding: 11px 4px; color: var(--teal); font-weight: 650; cursor: pointer; }
.orders-edit .settings-form-panel { padding-top: 6px; }
.orders-mail-history li { flex-wrap: wrap; align-items: center; overflow-wrap: anywhere; }
.orders-buyer-tools form .check { overflow-wrap: anywhere; }
.orders-list-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.orders-list-header p { margin: 4px 0 0; color: var(--muted); }
.orders-list-header .report-tabs, .orders-list-footer .report-tabs { margin: 0; gap: 8px; }
.orders-list-footer { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 12px; }
#transactions-filter { margin: 14px 0 22px; display: grid; gap: 12px; }
#transactions-filter label { display: grid; gap: 5px; min-width: 0; font-size: .875rem; font-weight: 650; }
#transactions-filter :is(input, select) { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 8px 10px;
  border: 1px solid #8d9b94; border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.transactions-list { container-type: inline-size; }
.transactions-filters { display: grid; gap: 8px 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.orders-list { list-style: none; padding: 0; margin: 0; }
.orders-list li { border-top: 1px solid var(--line); }
.transaction-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 8px 14px; align-items: center; padding: 10px 8px; }
.transaction-head { margin-top: 10px; background: var(--paper); color: var(--muted); font-size: .85rem; font-weight: 700; }
.transaction-head span:last-child { text-align: right; }
.orders-list a { color: var(--ink); text-decoration: none; min-height: 52px; }
.orders-list a:hover { background: var(--paper); }
.orders-list a:focus-visible { outline-offset: -2px; }
.orders-list-reference strong { display: block; color: var(--teal); }
.orders-list-reference small { display: block; margin-top: 2px; color: var(--muted); }
.transaction-type { font-size: .9rem; }
.transaction-row .status { justify-self: start; }
.orders-list-total { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@container (max-width: 570px) {
  .transaction-head { display: none; }
  .transaction-rows { margin-top: 10px; }
  .transaction-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline: 4px; }
  .transaction-type { grid-column: 1 / -1; }
  .orders-list-total { grid-column: 2; grid-row: 1; align-self: start; }
}
.booth-overview-storefront { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.booth-overview-storefront .card-header { justify-content: flex-start; gap: 10px; }
.booth-overview-storefront .actions { flex-wrap: wrap; }
.booth-tool-directory { display: grid; align-items: start; gap: 14px; }
@media (min-width: 920px) {
  .booth-tool-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.booth-tool-group { padding: 16px; min-width: 0; }
.booth-tool-group h2 { font-size: 1rem; padding: 0 8px 7px; color: var(--teal); }
.booth-tool-group ul { list-style: none; padding: 0; margin: 0; }
.booth-tool-group li + li { border-top: 1px solid var(--line); }
.booth-tool-group a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 9px 8px; white-space: normal; }
.booth-tool-group a:hover, .booth-tool-group a:focus-visible { background: var(--paper); }
.booth-tool-group small, .payment-option small, .settings-form-panel .field small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.settings-chevron { flex: none; width: 7px; height: 7px; border: solid var(--teal); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-right: 4px; }
.settings-form-panel > p { margin-top: 5px; }
.settings-form-panel select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #bec8c1; border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.settings-form-panel #setup-booth-details { max-width: 40rem; }
.delivery-panel > p, .delivery-panel form { max-width: 48rem; }
.delivery-panel .card-header { flex-wrap: wrap; margin-bottom: 6px; }
.delivery-panel .delivery-mode { max-width: 20rem; }
.delivery-mode select { display: block; margin-top: 6px; }
.delivery-rate-preview { max-width: 32rem; margin-bottom: 16px; padding: 12px 14px 4px; border-radius: 9px; background: var(--paper); }
.delivery-rate-preview h3 { font-size: .9rem; }
.delivery-rate-preview a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-size: .875rem; font-weight: 650; }
.delivery-rate-preview dl { margin: 4px 0 0; }
.delivery-rate-preview dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; }
.delivery-rate-preview dl div + div { border-top: 1px solid var(--line); }
.delivery-rate-preview dt { overflow-wrap: anywhere; }
.delivery-rate-preview dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.delivery-rate-fields { max-width: 34rem; min-width: 0; border: 0; padding: 0; margin: 16px 0; }
.delivery-rate-fields legend { padding: 0; font-weight: 700; }
.delivery-rate-fields p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.delivery-rate-row, .delivery-overseas-fields { display: grid; gap: 12px; }
.delivery-rate-row { grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 28%); }
.delivery-overseas-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin: 14px 0; }
fieldset.delivery-overseas-fields { min-width: 0; border: 0; padding: 0; }
.easyship-connection { margin-block: 12px 18px; }
.easyship-connection summary, .easyship-step summary { width: fit-content; color: var(--teal); cursor: pointer; }
.easyship-connection form { max-width: 34rem; padding-top: 4px; }
.easyship-connection .button { margin-top: 10px; }
.easyship-defaults { display: grid; gap: 18px; justify-items: start; }
.easyship-step { width: 100%; min-width: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.easyship-step h3 { margin-bottom: 4px; }
.easyship-step .field { max-width: 36rem; }
.easyship-step details summary { min-height: 44px; align-content: center; font-size: .9rem; }
.easyship-destinations { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0; }
.easyship-destinations .button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-align: left; }
.easyship-destinations .button span { font-size: 1.1rem; }
.delivery-rate-row .field { margin: 8px 0 0; }
.delivery-overseas-fields .field { margin: 0; }
.delivery-panel .delivery-paused { margin-block: 12px 0; font-weight: 650; }
.system-gateway-page p { max-width: 68ch; }
.system-gateway-page p + p { margin-top: .45rem; }
.system-gateways { padding: 0 clamp(12px, 2.15vw, 28px); container-type: inline-size; }
.system-gateway {
  min-width: 0;
  display: grid;
  gap: clamp(16px, 2.6vw, 36px);
  padding-block: clamp(20px, 3vw, 32px);
}
.system-gateway + .system-gateway { border-top: 1px solid var(--line); }
.system-gateway-heading h2 { margin-bottom: 4px; }
.system-gateway-heading p { margin: 0; }
.system-gateway-heading .system-gateway-state { display: grid; gap: 3px; margin-top: 14px; font-size: .9rem; }
.system-gateway-heading a { display: inline-block; margin-top: 12px; color: var(--teal); }
.system-gateway form, .system-gateway-endpoint { min-width: 0; }
.system-gateway-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.system-gateway-fields legend, .system-gateway-endpoint label { padding: 0; font-weight: 700; }
.system-gateway-fields p, .system-gateway-endpoint p { margin: 4px 0 8px; font-size: .9rem; }
.system-gateway-fields .field { margin: 8px 0; }
.system-gateway-fields .check { min-height: 44px; margin: 6px 0 0; }
.system-gateway .system-gateway-blocker {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff1db;
  color: #694209;
  font-size: .9rem;
}
.system-gateway-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.system-gateway-actions p { margin: 0; }
.system-gateway-endpoint { align-self: start; background: var(--paper); border-radius: 10px; padding: 14px; }
.system-gateway-endpoint textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  margin: 4px 0 8px;
  padding: 8px 10px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
  overflow-wrap: anywhere;
}
.system-gateway-feedback { color: var(--teal); font-weight: 600; font-size: .9rem; }
.system-gateway-feedback:empty { margin: 0; }
.gateway-review { grid-column: 1 / -1; min-width: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.gateway-review .card-header { gap: 8px 14px; flex-wrap: wrap; }
.gateway-review > p { margin-block: 6px; }
.gateway-review-list { list-style: none; padding: 0; margin: 8px 0 0; }
.gateway-review-list li {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  border-top: 1px solid var(--line); padding-block: 12px; overflow-wrap: anywhere;
}
.gateway-review-list code { font-size: .82rem; user-select: all; }
.gateway-review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gateway-review .button { min-height: 44px; }
@container (min-width: 600px) {
  .system-gateway { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .system-gateway-heading { grid-column: 1 / -1; }
}
@container (min-width: 860px) {
  .system-gateway { grid-template-columns: minmax(135px, .7fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .system-gateway-heading { grid-column: auto; }
}

#setup-sale-features .check { min-height: 44px; align-items: flex-start; gap: 12px; margin: 0; padding: 9px 0; cursor: pointer; }
#setup-sale-features .check input { margin-top: 4px; }
#setup-sale-features .check small { display: block; margin-top: 3px; line-height: 1.4; }
#setup-sale-features .check strong { color: var(--ink); }
#setup-sale-features > button { margin-top: 12px; }
.storefront-setting { display: grid; justify-items: start; align-content: start; gap: 10px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.storefront-setting .card-header { width: 100%; }
.storefront-setting .field { width: min(100%, 18rem); margin: 0; }
.storefront-setting h3 { font-size: 1rem; }
#payment-methods > form { display: grid; justify-items: start; gap: 12px; margin-top: 8px; }
.payment-options { width: 100%; }
.payment-option { display: flex; align-items: center; gap: 18px; min-height: 58px; padding: 0 10px; border-top: 1px solid var(--line); }
.payment-option:first-child { border-top: 0; }
.payment-option:has(input:checked) label > span { color: var(--teal); }
.payment-option label { flex: 1; padding: 9px 0; cursor: pointer; font-weight: 650; }
.payment-option input { flex: none; width: 20px; height: 20px; accent-color: var(--teal); }
.manual-payment-list form { display: flex; width: 100%; flex-wrap: wrap; }
.manual-payment-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.manual-payment-list li { flex-wrap: wrap; }
.manual-payment-details { width: 100%; }
.manual-payment-details summary { cursor: pointer; width: fit-content; padding-block: 12px; color: var(--teal); }
.manual-payment-list .error { width: 100%; }
.settings-inline-form, .settings-voucher-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 12px; }
.settings-inline-form .field { flex: 0 1 18rem; margin: 0; }
#manual-payment-methods select { display: block; margin-top: 6px; }
#manual-payment-methods [data-event-voucher-value][hidden] { display: none; }
.settings-voucher-form .field { flex: 1 1 10rem; min-width: 0; margin: 0; }
.settings-inline-form .error { flex-basis: 100%; }
.booth-workspace .topinner { display: grid; gap: 8px; padding-block: 12px; }
.workspace-context { min-width: 0; overflow-wrap: anywhere; }
.workspace-context p { color: var(--teal); font-size: .82rem; font-weight: 650; }
.workspace-context strong { display: block; font-size: 1.15rem; line-height: 1.2; margin-top: 2px; }
.workspace-menu-toggle { min-height: 44px; flex: none; }
.booth-workspace .workspace-nav { display: flex; flex-wrap: wrap; width: auto; gap: 4px; }
.booth-workspace .workspace-nav a { padding-inline: clamp(7px, 2vw, 13px); }
.booth-workspace .workspace-nav a[aria-current] { box-shadow: inset 0 -2px currentColor; }
.workspace-menu { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.workspace-utility { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.workspace-utility :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 10px; font-size: .875rem; text-underline-offset: .2em; }
.workspace-utility a[aria-current="page"] { background: var(--pale); color: var(--teal); border-radius: 8px; font-weight: 700; }
.workspace-operations-note { margin: 0; padding: 0 10px 6px; color: var(--muted); font-size: .8rem; }
.workspace-downloads { display: grid; justify-items: start; border-top: 1px solid var(--line); padding: 10px 10px 0; }
.workspace-downloads h2 { font-size: .85rem; color: var(--muted); }
.workspace-downloads a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; text-underline-offset: .2em; }
@media screen and (min-width: 900px) {
  body.booth-workspace { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); min-height: 100vh; }
  .booth-workspace .topbar { position: sticky; top: 0; height: 100dvh; overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .booth-workspace .topinner { padding: 20px 14px; gap: 12px; }
  .booth-workspace .workspace-operations { gap: 2px; }
  .workspace-context { background: var(--pale); padding: 12px; border-radius: 9px; }
  .booth-workspace .workspace-nav, .workspace-utility { display: grid; align-items: stretch; }
  .booth-workspace .workspace-nav a[aria-current] { box-shadow: none; }
  .booth-workspace #app { width: 100%; min-width: 0; margin-block: 0; padding-top: 26px; }
}
.booth-allocation { width: 100%; }
.booth-allocation .field { max-width: 15rem; }
#physical-stock { container-type: inline-size; }
.stock-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.stock-overview > div { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 10px clamp(6px, 1.5vw, 18px); }
.stock-overview > div + div { border-inline-start: 1px solid var(--line); }
:is(.stock-overview, .stock-figures) dt { color: var(--muted); font-size: .78rem; }
:is(.stock-overview, .stock-figures) dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stock-overview dd { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.stock-overview > div:nth-child(2) dd { color: var(--teal); }
.stock-tools .stock-filters { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
.stock-bulk-actions { padding-block: 4px; font-size: .875rem; }
.stock-bulk-actions .check { min-height: 44px; }
.stock-bulk-actions [role="status"] { color: var(--muted); }
.stock-empty { padding: 12px; background: var(--paper); border-radius: 7px; }
.stock-table { table-layout: fixed; }
.stock-table thead { background: var(--paper); }
.stock-table th { font-size: .83rem; }
.stock-table th:first-child { width: 44px; }
.stock-table th:nth-child(3) { width: 19%; }
.stock-table th:nth-child(4) { width: 13%; }
.stock-table th:nth-child(5) { width: 11%; }
.stock-table th:last-child { width: 18%; }
.setup-grid .stock-table td { padding-block: 8px; vertical-align: middle; overflow-wrap: anywhere; }
.stock-select input { width: 18px; height: 18px; margin: 0; }
.stock-table tr[data-shop-hidden="false"] [data-shop-visibility-status] { background: var(--pale); color: var(--teal); }
.stock-product-link { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; }
.stock-product-link small { margin-top: 3px; color: var(--muted); font-weight: 400; }
.stock-thumbnail { display: block; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.stock-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.stock-mobile-label { display: none; }
.stock-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0 0 8px; text-align: center; }
.stock-figures > div { padding: 5px 2px; border-radius: 6px; background: var(--paper); }
.stock-figures .stock-available { background: var(--pale); color: var(--teal); }
[data-stock-available="0"] .stock-available { background: #ffeed4; color: #714509; }
.product-editor-grid, .product-editor-column { display: grid; align-items: start; gap: 16px; min-width: 0; }
.product-editor-grid .panel { min-width: 0; }
.product-editor-grid .field { margin-block: 12px 0; }
.product-editor-grid :is(input:not([type="checkbox"]), textarea) { max-width: 100%; min-width: 0; }
.product-editor-grid textarea { width: 100%; border: 1px solid #8d9b94; border-radius: 9px; padding: 10px; font: inherit; resize: vertical; }
.product-editor-fields, .stock-shipping-measures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.product-editor-shipping label:not(.check) { display: grid; gap: 4px; margin-top: 10px; font-size: .85rem; }
.product-editor-shipping [type="checkbox"] { flex: none; }
.product-editor-shipping .check { min-height: 38px; }
.product-editor-id code { overflow-wrap: anywhere; }
#product-editor .stock-photo-button:has(img) { width: min(168px, 100%); height: 168px; }
#product-editor .stock-photo-button img { width: 100%; height: 100%; object-fit: contain; }
#product-editor :is(input, textarea) { scroll-margin-bottom: 96px; }
.setup-grid .product-editor-actions { position: sticky; bottom: 0; z-index: 2; margin-top: 16px; padding: 8px 12px; }
.product-editor-actions .actions { flex-wrap: wrap; }
.product-editor-actions .error { margin-bottom: 8px; }
@media (min-width: 1050px) {
  .product-editor-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
#import-panel { scroll-margin-top: 16px; }
#import-panel fieldset { margin: 12px 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
#import-panel input[type="file"] { min-width: 0; }
@container (max-width: 740px) {
  .stock-table, .stock-table tbody { display: block; }
  .stock-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stock-table tbody tr { display: grid; grid-template-columns: 24px repeat(3, minmax(0, 1fr)); align-items: center; gap: 7px 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; }
  .setup-grid .stock-table td { display: block; min-width: 0; border: 0; padding: 0; }
  .stock-table :is(.stock-product, .stock-category) { grid-column: 2 / -1; }
  .stock-table .stock-category { font-size: .83rem; color: var(--muted); }
  .stock-table .stock-price { grid-column: 2; }
  .stock-table .stock-visibility { justify-self: end; }
  .stock-table .stock-visibility .status { white-space: normal; }
  .stock-mobile-label { display: block; font-size: .75rem; color: var(--muted); }
}
@container (max-width: 430px) {
  .stock-tools .stock-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stock-filters > label:first-child { grid-column: 1 / -1; }
}

.receipt-preview { margin-block: 16px; white-space: pre-line; overflow-wrap: anywhere; }
.receipt-logo { max-width: min(100%, 160px); max-height: 96px; object-fit: contain; }

/* Keep variation selection in the product card, adjacent to its price and Add. */
.variant-picker { display: grid; gap: 5px; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.variant-picker select { width: 100%; min-width: 0; min-height: 44px; font: inherit; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; padding: 8px; }

.stock-description summary { cursor: pointer; padding-block: 8px; }
.stock-description textarea { display: block; min-height: 96px; font: inherit; }

.preorder-bulk-actions { padding-block: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.preorder-bulk-actions .actions { align-items: center; flex-wrap: wrap; }
[data-shop-visibility-filter] { min-height: 44px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; }

.preorder-management { min-width: 0; }
.preorder-scroll { width: 100%; }
.preorder-table { width: 100%; min-width: 900px; border-collapse: collapse; text-align: left; }
.preorder-table th, .preorder-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.preorder-table thead th { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.preorder-table th[scope="row"] { min-width: 170px; font-weight: 400; }
.preorder-table small { display: block; margin-top: 4px; }
.preorder-table code { white-space: nowrap; }
.preorder-row-form { display: grid; gap: 6px; margin: 0; }
.preorder-row-controls { display: flex; align-items: center; gap: 8px; }
.preorder-row-controls select { min-width: 140px; min-height: 44px; font: inherit; padding: 7px; }
.preorder-row-controls input[type="number"] { width: 100px; min-width: 100px; min-height: 44px; padding: 7px; font: inherit; border: 1px solid var(--line); border-radius: 7px; }
.preorder-row-controls .button { padding: 8px 12px; min-height: 44px; white-space: nowrap; }
.preorder-quantity { text-align: right; font-variant-numeric: tabular-nums; }

.preorder-select-cell { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.preorder-table thead th:nth-child(5), .preorder-table thead th:nth-child(6) { text-align: right; }

.product-size-chart img { display: block; width: 100%; height: auto; object-fit: contain; margin-block: 8px; }
.product-size-chart a { display: block; overflow-wrap: anywhere; }


.shop-catalog { margin-top: clamp(20px, 3vw, 36px); }
.vendor-contact {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 18px 30px; margin-top: clamp(24px, 4vw, 42px); padding: clamp(18px, 3vw, 28px);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow-wrap: anywhere;
}
.vendor-contact h2 { margin-bottom: 8px; font-size: 1.1rem; }
.vendor-contact-name { font-weight: 700; }
.vendor-contact-person { color: var(--muted); font-size: .9rem; }
.vendor-contact-links { display: flex; flex: 0 1 auto; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; min-width: 0; }
.vendor-contact-links li { flex: 1 1 150px; min-width: 0; }
.vendor-contact-links a {
  display: grid; gap: 4px; padding: 10px 14px; min-height: 44px; border-radius: 8px;
  color: var(--teal); background: var(--pale); text-decoration: none;
}
.vendor-contact-links a:hover span { text-decoration: underline; }
.vendor-contact-links span { color: var(--ink); font-size: .9rem; }
@media (max-width: 600px) {
  .vendor-contact-links { flex-basis: 100%; }
}
.shop-catalog > h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); letter-spacing: -.025em; }
.shop-fulfillment { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.shop-fulfillment details { flex: 1 1 14rem; min-width: 0; }
.shop-fulfillment :is(summary, a) { cursor: pointer; padding-block: 8px; font-size: .875rem; font-weight: 650; }
.shop-fulfillment p { max-width: 68ch; margin-block: 4px 8px; font-size: .875rem; overflow-wrap: anywhere; }
.shop-faq { margin-block: clamp(32px, 5vw, 64px); scroll-margin-top: 24px; }
.shop-faq h2 { margin: 0 0 16px; }
.shop-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 12px;
}
.shop-faq-card {
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--planet-edge, var(--line));
  border-radius: 10px;
  background: var(--white);
  overflow-wrap: anywhere;
}
.shop-faq-card h3 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--planet-edge, var(--line));
  font-size: 1rem;
}
.shop-faq-card p { margin: 12px 0 0; line-height: 1.5; }
.shop-faq-text { white-space: pre-line; }
.faq-card-editor {
  min-width: 0;
  margin: 18px 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.faq-card-editor legend { padding-inline: 6px; font-weight: 650; }
.faq-card-editor summary { padding-block: 10px; cursor: pointer; }
.faq-card-editor textarea { min-height: 100px; font-family: inherit; font-size: 1rem; font-weight: 400; }
.shop-event-details, .product-information p { white-space: pre-line; }
.products > .empty .button { margin-block: 6px; }
dialog:has(.product-detail) { width: min(calc(100% - 24px), 790px); max-height: min(90vh, 90dvh); }
.product-detail .dialog-heading { align-items: start; }
.product-detail .dialog-heading h2 { overflow-wrap: anywhere; }
.product-detail .dialog-heading .icon { flex: none; min-width: 44px; min-height: 44px; }
.product-detail-layout { display: grid; gap: 18px; align-items: start; }
.product-detail-layout .product-media { border-radius: 12px; overflow: hidden; }
.product-detail-copy { display: grid; gap: 12px; min-width: 0; }
.product-detail-copy .variant-picker { margin-top: 0; }
.product-detail .detail-price { font-size: 1.3rem; }
.product-detail .product-add { min-height: 46px; }
.product-information { border-top: 1px solid var(--line); padding-top: 12px; overflow-wrap: anywhere; }
.product-information h3 { font-size: 1rem; margin-bottom: 4px; }
.product-information a { text-underline-offset: .2em; }
@media (min-width: 640px) {
  .product-detail-layout:has(.product-media) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (max-width: 639px) {
  .product-detail-layout .product-media { width: 100%; }
}
.preorder-event-details { white-space: pre-line; overflow-wrap: anywhere; }

/* SUPER PLANET carries the tour artwork through the booth's customer pages. */
body[data-catalog-theme="super-planet"] {
  color-scheme: dark;
  --ink: #f5f2ff;
  --muted: #c0bdd3;
  --white: #181827;
  --paper: #0c0d17;
  --planet-control: #222238;
  --planet-edge: #65617e;
  color: var(--ink);
}
[data-catalog-theme="super-planet"] ::selection { background: var(--catalog-accent); color: #19132e; }
[data-catalog-theme="super-planet"] .topbar { background: #11111e; }
[data-catalog-theme="super-planet"] .customer-orders-link { color: var(--teal); }
.super-planet-heading {
  min-height: clamp(190px, 27vw, 315px);
  display: grid;
  align-content: center;
  justify-items: center;
  justify-content: stretch;
  gap: .45rem;
  text-align: center;
  background: linear-gradient(#09091715, #0a0b1f19 45%, #101124a3), url("/super-planet-horizon.webp") center bottom / cover;
  border: 1px solid #34334c;
}
.super-planet-heading h1 { width: min(82%, 310px); }
.super-planet-heading h1 img { display: block; width: 100%; height: auto; }
.super-planet-title {
  color: #f8f5ff;
  font-size: clamp(.78rem, 2.25vw, 1.05rem);
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.super-planet-heading .shop-payment { margin: 0; color: #eeebff; }
[data-catalog-theme="super-planet"] .shop-fulfillment summary { color: var(--teal); }
[data-catalog-theme="super-planet"] .shop-catalog { margin-top: clamp(22px, 3vw, 36px); }
[data-catalog-theme="super-planet"] .shop-catalog > h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
[data-catalog-theme="super-planet"] .product-media { background: var(--white); }
[data-catalog-theme="super-planet"] img.product-art { background: #f5f5f7; }
[data-catalog-theme="super-planet"] .storefront-product-code {
  min-width: 1.6em;
  color: #1a142f;
  background: #b5abd9;
  border-color: transparent;
  border-radius: 50%;
  line-height: 1.38;
  text-align: center;
}
[data-catalog-theme="super-planet"] :is(.panel, dialog, .cart-dock) { background: var(--white); }
[data-catalog-theme="super-planet"] dialog::backdrop { background: #060613cc; }
[data-catalog-theme="super-planet"] .cart-dock { border-color: var(--planet-edge); box-shadow: 0 8px 24px #05050c80; }
[data-catalog-theme="super-planet"] :is(.button.outline, .icon, .field input, .search input, .variant-picker select) {
  background: var(--planet-control);
  color: var(--ink);
  border-color: var(--planet-edge);
}
[data-catalog-theme="super-planet"] :is(.field input, .search input)::placeholder { color: var(--muted); opacity: 1; }
[data-catalog-theme="super-planet"] :is(.button.outline, .button.plain, .icon):hover { background: var(--pale); }
[data-catalog-theme="super-planet"] .button.primary { color: #18132c; }
[data-catalog-theme="super-planet"] .eyebrow { color: var(--muted); }
[data-catalog-theme="super-planet"] fieldset { border: 1px solid var(--planet-edge); border-radius: 9px; }
[data-catalog-theme="super-planet"] legend { color: var(--catalog-accent); }
[data-catalog-theme="super-planet"] .status:not(.ready, .paid, .unpaid, .expired, .cancelled) { color: #e6dcff; background: #332b52; }
[data-catalog-theme="super-planet"] .hold { color: #f4d58d; }
[data-catalog-theme="super-planet"] .qr { background: #fff; padding: 8px; border-radius: 5px; }
[data-catalog-theme="super-planet"] .order-panel [aria-label="Event pickup"] {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
[data-catalog-theme="super-planet"] .order-panel [aria-label="Event pickup"] p { color: var(--muted); }
[data-catalog-theme="super-planet"] .order-panel h1 { letter-spacing: -.035em; font-variant-numeric: tabular-nums; }

@media screen {
  .staff-ui {
    --staff-gap: clamp(12px, 2vw, 20px);
    --staff-inset: clamp(14px, 2.3vw, 24px);
    --staff-field-border: #8d9b94;
    --staff-sidebar: #f8faf8;
    background: var(--paper);
  }
  .staff-ui #app { min-width: 0; }
  .staff-ui .topbar { background: var(--staff-sidebar); }
  .staff-ui .station-heading {
    align-items: center;
    margin-block: 0 var(--staff-gap);
    padding-bottom: var(--staff-gap);
    border-bottom: 1px solid var(--line);
  }
  .staff-ui .station-heading h1, .staff-ui .staff-sign-in h1 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
  }
  .staff-ui .station-heading > div { min-width: 0; }
  .staff-ui .station-heading p { margin-top: 6px; }
  .staff-ui :is(.setup-grid, .station-grid, .orders-detail-grid, .orders-buyer-tools, .booth-tool-directory) { gap: var(--staff-gap); }
  .staff-ui .panel { padding: var(--staff-inset); }
  .staff-ui .ticket { padding: 12px; }
  .staff-ui .card-header { flex-wrap: wrap; }
  .staff-ui :is(.button, .setup-breadcrumb a) { min-height: 44px; }
  .staff-ui a.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
  .staff-ui :is(.field, .report-filter) :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"]), select, textarea) {
    max-width: 100%;
    min-height: 44px;
    border-color: var(--staff-field-border);
  }
  .staff-ui .setup-grid select { max-width: 100%; }
  .staff-ui .panel p { overflow-wrap: anywhere; }
  .staff-ui :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
  }
  .staff-ui .setup-breadcrumb a { display: inline-flex; align-items: center; color: var(--teal); font-size: .875rem; }
  .staff-ui .site-legal-footer { padding-bottom: 24px; }
  .staff-ui .staff-sign-in { max-width: 28rem; margin: clamp(20px, 5vw, 60px) auto; border-top: 4px solid var(--teal); }
  .staff-ui .staff-booth-list { list-style: none; padding: 0; margin: 8px 0 0; }
  .staff-ui .staff-booth-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-block: 10px;
    border-top: 1px solid var(--line);
  }
  .staff-ui .staff-booth-list li:last-child { padding-bottom: 0; }
  .staff-ui .staff-booth-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-weight: 650; }
  .staff-ui .workspace-context {
    border: 1px solid #bedbd2;
    border-inline-start: 4px solid var(--teal);
    border-radius: 10px;
    background: var(--pale);
    padding: 10px 12px;
  }
  .staff-ui .workspace-nav, .staff-ui .workspace-utility { order: 0; }
  .staff-ui .system-workspace-header { gap: 6px 16px; }
  .system-workspace-header .workspace-nav { width: auto; flex-wrap: wrap; gap: 4px; margin-inline-start: auto; }
  .system-workspace-header .workspace-menu { flex-basis: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
  .system-workspace-header .workspace-downloads { display: flex; flex-wrap: wrap; }
  .system-workspace-header .workspace-utility a { white-space: normal; }
  .staff-ui .workspace-downloads h2 {
    flex-basis: 100%;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    padding: 8px 10px 2px;
  }
  .staff-ui .workspace-downloads { padding-inline: 0; }
  .staff-ui .workspace-downloads a { padding-inline: 10px; overflow-wrap: anywhere; }
  .staff-ui .workspace-nav a[aria-current], .staff-ui .workspace-menu-toggle:is([aria-expanded="true"], [aria-current]) {
    background: var(--pale);
    color: var(--teal);
    font-weight: 750;
    box-shadow: inset 0 -2px var(--teal);
  }
  .staff-ui .workspace-utility :is(a, button) { justify-content: flex-start; }
  .staff-ui .workspace-menu-toggle { justify-self: stretch; text-align: left; padding-inline: 10px; }
  .staff-ui .workspace-menu-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .staff-ui .workspace-menu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-bottom: 0; }
  .staff-ui .report-tabs { gap: 6px; }
  .staff-ui .report-tabs a { padding-inline: 10px; border-radius: 8px; }
  .staff-ui .report-tabs a[aria-current] { background: var(--pale); color: var(--teal); }
  .staff-ui .report-table { border: 1px solid var(--line); border-radius: 8px; }
  .staff-ui .report-table tr:last-child td { border-bottom: 0; }
  .staff-ui .report-table tbody tr:nth-child(even) { background: var(--staff-sidebar); }
}

@media screen and (max-width: 699px) {
  .system-workspace-header .workspace-nav { flex-basis: 100%; margin-inline-start: 0; }
  .system-workspace-header .workspace-utility { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
}
@media screen and (min-width: 700px) {
  .system-workspace-header { position: relative; }
  .system-workspace-header .workspace-menu {
    position: absolute; z-index: 10; inset: calc(100% - 3px) 30px auto auto;
    width: min(21rem, calc(100% - 60px)); box-shadow: 0 8px 22px #163b3124;
  }
  .system-workspace-header .workspace-utility { display: grid; }
}
@media screen and (min-width: 900px) {
  .staff-ui.booth-workspace { grid-template-rows: 1fr auto; }
  .staff-ui.booth-workspace .topbar { grid-row: 1 / -1; }
  .staff-ui.booth-workspace .site-legal-footer { grid-column: 2; }
  .staff-ui .workspace-nav a[aria-current] { box-shadow: inset 3px 0 var(--teal); }
}
@media screen and (max-width: 899px) {
  .staff-ui .workspace-menu { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
}
@media screen and (max-width: 420px) {
  .staff-ui .workspace-context { padding-inline: 8px; }
  .staff-ui .workspace-context strong { font-size: 1rem; }
  .staff-ui .workspace-menu-toggle { padding-inline: 8px; }
}

/* Staff account directory */
.accounts-grid { display: grid; gap: 18px; align-items: start; }
.staff-ui .accounts-directory { padding: 0; }
.accounts-directory > .card-header { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.accounts-directory > .card-header span { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.account-list { list-style: none; margin: 0; padding: 0; }
.account-list > li + li { border-top: 1px solid var(--line); }
.account-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 14px 20px; }
summary.account-summary { list-style: none; cursor: pointer; min-height: 64px; }
summary.account-summary::-webkit-details-marker { display: none; }
summary.account-summary:focus-visible { outline-offset: -3px; }
summary.account-summary:hover, .account-list details[open] > summary { background: var(--pale); }
.account-identity { flex: 1 1 11rem; min-width: 0; overflow-wrap: anywhere; }
.account-identity small { display: block; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.account-separator { padding-inline: .2em; }
.account-edit { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 650; color: var(--teal); }
.account-edit::after { content: ""; inline-size: .42rem; block-size: .42rem;
  border-inline-end: 2px solid; border-block-end: 2px solid; transform: rotate(45deg); }
.account-list details[open] .account-edit::after { transform: rotate(225deg); }
.account-editor { padding: 4px 20px 16px; background: #f8faf8; }
.account-state-form { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.account-role-description, .account-field-help { color: var(--muted); font-size: .875rem; }
.account-field-help { margin: -8px 0 12px; }
.account-role-description { margin-bottom: 12px; }
.accounts-grid select { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 1px solid #bec8c1;
  border-radius: 9px; background: var(--white); color: var(--ink); padding: 8px; font: inherit; }
.account-booths { min-inline-size: 0; margin: 14px 0 16px; padding: 0 12px 4px;
  border: 1px solid var(--line); border-radius: 9px; }
.account-booths legend { margin-left: -4px; padding: 0 4px; font-size: .875rem; font-weight: 650; }
.account-booths .check { min-height: 44px; gap: 9px; padding-block: 6px; cursor: pointer; }
.account-booths .check + .check { border-top: 1px solid var(--line); }
.account-booths small { display: block; }
.account-booths input { flex: none; }
.account-booths .check span { overflow-wrap: anywhere; }
.accounts-grid .button { min-height: 44px; }
.account-create { scroll-margin-top: 1rem; }
@media (min-width: 800px) {
  .accounts-grid { grid-template-columns: minmax(0, 3fr) minmax(19rem, 2fr); }
  .accounts-create-link { display: none; }
}

/* Register workspace. The catalogue and ticket share space on wide screens. */
.web-register {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, .72fr);
  gap: var(--staff-gap);
  align-items: start;
}
.register-tools { display: grid; gap: var(--staff-gap); min-width: 0; }
.web-register .lookup form, .register-search {
  display: flex;
  gap: .6rem;
  align-items: end;
  flex-wrap: wrap;
}
.web-register .lookup form .field, .register-search .field { flex: 1 1 13rem; min-width: 0; margin: 0; }
.web-register .lookup form .actions { margin: 0; }
.web-register .lookup form .muted { flex-basis: 100%; margin: 0; }
.register-tabs { display: none; }
.register-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .75rem; }
.register-header h2 { margin: 0; }
.register-header p { margin: .25rem 0 0; color: var(--muted); }
.register-items > .field { display: flex; align-items: center; gap: .65rem; margin-top: .7rem; }
.register-items select { border: 1px solid var(--staff-field-border); border-radius: 8px; background: var(--white); color: var(--ink); padding-inline: .55rem; }
.register-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 3.5rem;
  padding: .55rem .35rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: start;
  overflow-wrap: anywhere;
}
.register-item:first-child { margin-top: .65rem; border-top: 1px solid var(--line); }
.register-item:not(:disabled):hover { background: var(--pale); cursor: pointer; }
.register-item img { border-radius: 5px; object-fit: contain; flex: none; }
.register-item:disabled { opacity: 1; color: var(--muted); }
.register-item small { display: block; color: var(--muted); }
.register-item-meta { margin-inline-start: auto; text-align: end; flex: none; font-variant-numeric: tabular-nums; }
.register-hint { color: var(--muted); margin: 1rem 0; }
.register-ticket { min-width: 0; overflow-wrap: anywhere; }
.register-ticket .order-total strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.register-lines > li { align-items: start; }
.register-stepper { display: flex; align-items: center; gap: .65rem; margin-top: .35rem; }
.register-stepper .button { min-width: 2.75rem; padding-inline: .45rem; }
.register-contact { margin-block: .85rem; }
.register-charge { width: 100%; }
.register-print { max-width: 72mm; margin-inline: auto; font-size: 10pt; }
.register-print h1 { font-size: 14pt; margin-block: 0 .5rem; }
.register-print .qr { width: 35mm; height: 35mm; }
@media (max-width: 760px) {
  .web-register { grid-template-columns: minmax(0, 1fr); }
  .register-tabs { display: flex; gap: .5rem; }
  .register-tabs .button { flex: 1; }
  .register-tabs [aria-pressed="true"] { background: var(--pale); border-color: var(--teal); color: var(--ink); }
  .web-register[data-switchable][data-pane="items"] > .register-ticket,
  .web-register[data-switchable][data-pane="ticket"] .register-items { display: none; }
}
@media (min-width: 761px) {
  .web-register[data-switchable] > .register-ticket { position: sticky; top: 1rem; }
}
@media (max-width: 760px) {
  .web-register[data-charging] .register-tools,
  .web-register[data-switchable][data-pane="ticket"] .lookup { display: none; }
}
.checkout-phone { min-inline-size: 0; padding: 0; border: 0; margin: 0 0 .85rem; }
.checkout-phone legend { padding: 0; font-weight: 750; margin-bottom: .35rem; }
.checkout-phone-fields { display: grid; grid-template-columns: min(38%, 9rem) minmax(0, 1fr); align-items: end; gap: .65rem; }
.checkout-phone-fields .field { display: grid; gap: .3rem; min-width: 0; margin: 0; }
.checkout-phone-fields :is(select, input) { width: 100%; min-width: 0; min-height: 44px; margin: 0; }
.checkout-phone-fields select { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding-inline: .55rem; color: var(--ink); }
.checkout-phone p { margin: .4rem 0 0; }
[data-catalog-theme="super-planet"] .checkout-phone { border: 0; }
[data-catalog-theme="super-planet"] .checkout-phone-fields select { background: var(--planet-control); border-color: var(--planet-edge); }
[data-catalog-theme="super-planet"] :is(.checkout-fulfillment, .checkout-shipping-address, .checkout-contact) { border: 0; }
[data-catalog-theme="super-planet"] .checkout-shipping-address select { background: var(--planet-control); border-color: var(--planet-edge); }

@media (max-width: 640px) and (min-height: 480px) {
  #checkout-form .checkout-total { position: sticky; bottom: 0; z-index: 1; border: 1px solid var(--line); }
  #checkout-form :is(input, select, textarea) { scroll-margin-bottom: 9rem; }
}

.catalog-scan { margin-block: .5rem; }
.catalog-scan summary { cursor: pointer; }
.catalog-scan[open] button { margin-top: .5rem; }
