header nav,.officeLinks {display:flex;align-items:center;gap:14px;flex-wrap:wrap}
header nav form {margin:0}
a {color:#234f43}
header a,.officeLinks a,.eventLink {text-decoration:none}
.eventList {display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));margin-top:18px}
.eventLink,.officeLinks a {background:white;border:1px solid #d4dcd6;border-radius:14px;padding:14px}
.eventLink strong,.eventLink small {display:block}
.liveForm {max-width:590px}
.liveForm input:not([type=checkbox]),.liveForm select {width:100%}
#purchase .purchaseNotice {grid-column:1/-1}
#purchase fieldset {border:0;padding:0;margin:12px 0}
#purchase .cashPaymentChoices{display:flex;flex-wrap:wrap;gap:8px}
.cashPaymentChoices label{position:relative;margin:0;cursor:pointer}
.cashPaymentChoices input{position:absolute;opacity:0;width:1px;height:1px}
.cashModes button,.cashPaymentChoices span{margin:0;font:inherit;display:grid;place-items:center;min-height:44px;padding:6px 16px;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}
.cashModes button:hover,.cashPaymentChoices label:hover span{border-color:var(--accent)}
.cashModes button[aria-pressed=true],.cashPaymentChoices input:checked+span{background:var(--action-fill);border-color:var(--action-fill);color:var(--action-ink)}
.cashPaymentChoices input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
#purchase .stepper input {width:44px}
#purchase textarea {width:100%;font:inherit}
.errorlist {color:#82462f;font-size:14px;padding-left:18px}
video:not([hidden]) {width:100%;max-height:280px}
.stub [data-qr] {display:block;max-width:145px;margin:auto}
[data-qr] svg {display:block;width:100%}
.passcard .art {background:var(--ticket-surface);color:var(--ink)}
.passcard .art small {color:inherit}
@media print {header,nav,button{display:none!important}.passcard{break-inside:avoid;print-color-adjust:exact}}
.passcard .art:has(.ticket-image){padding:0;min-width:0;background:white}
.passcard .ticket-image{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.art-preview{display:block;width:min(100%,320px);aspect-ratio:132/84;object-fit:contain;background:white;border-radius:8px}
.gateLookup{max-width:590px;margin-block:24px;padding:16px 20px;border:1px solid #d4dcd6;border-radius:14px;background:white}
.gateLookup summary{cursor:pointer;font-weight:600}
.gateLookup fieldset{margin-block:16px;padding:12px 16px;border:1px solid #d4dcd6;border-radius:12px}
.gateLookup .gateChoice{display:flex;align-items:center;gap:10px;min-height:44px}
.gateLookup .gateChoice input[type=radio]{width:auto}
.promoHead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-block:20px}
.promoHead h1{margin:0}
.promoAction{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border-radius:22px;background:#232429;color:#fff;text-decoration:none}
.promoScroll{overflow-x:auto;border:1px solid #dedde1;border-radius:16px;background:#fff}
.promoReport{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.promoReport :is(td,th){padding:15px 18px;text-align:right;white-space:nowrap}
.promoReport :is(td,th):nth-child(-n+2){text-align:left}
.promoReport thead th{background:#f7f6f8;font-size:.87em}
.promoReport tbody tr+tr{border-top:1px solid #dedde1}
.promoReport small{display:block;font-weight:400;color:#57555d;margin-top:3px}
.salesFilters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.salesFilters label{margin:0;display:grid;gap:4px;font-size:.92em}
.salesFilters label:first-child{flex:1 1 260px}
.salesFilters :is(input,select){max-width:100%;min-width:0}
.salesFilters button{margin:0}
.promoReport details form{white-space:normal;min-width:190px;max-width:260px}
.statMetrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:12px;margin:20px 0 28px}
.statMetrics div{padding:18px 20px;background:white;border:1px solid #dedde1;border-radius:16px}
.statMetrics dd{margin:4px 0 0;font-size:2rem;font-variant-numeric:tabular-nums}
.statMetrics dd small{font-size:1rem}
.statRange{display:flex;gap:4px}
.statRange a{padding:9px 14px;border-radius:18px;text-decoration:none}
.statRange a[aria-current]{background:#25272a;color:#fff}
.statReport :is(td,th):nth-child(2){text-align:right}
.statReport tfoot{font-weight:600;border-top:1px solid #dedde1}
.journalTable :is(th,td){text-align:left}
.journalTable td:last-child{min-width:12em;max-width:25em;white-space:normal;overflow-wrap:anywhere}
.journalFilters label{margin:0}
.journalFilters label:first-child{flex:0 1 18rem;min-width:0}
.journalFilters label:nth-child(2){min-width:min(12rem,100%)}
@media(max-width:600px){
  .journalFilters{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .journalFilters label:first-child{grid-column:1/-1}
  .journalFilters label:nth-child(2){min-width:0}
}
.liveCabinet .cabinetLayout{margin-block-start:0}
.liveCabinet .cabinetContent{min-width:0}
.liveCabinet #view .adminNav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;color:#57535d;line-height:1.25;text-decoration:none}
.liveCabinet #view .adminNav a:hover{background:#f0edf2}
.liveCabinet #view .adminNav a[aria-current]{background:#eae7ee;color:#25212e;font-weight:600}
.liveCabinet .adminNav svg{width:19px;height:19px;flex:none}
.liveCabinet a{color:#48424f}
@media print{.liveCabinet .cabinetLayout{display:block}.liveCabinet .mobileSections,.liveCabinet #view .adminNav{display:none}}
.liveCabinet .cabinetCover + .cabinetLayout{margin-block-start:clamp(20px,3vw,32px)}
.liveCabinet .eventHeading{display:flex;align-items:center;gap:12px}
.liveCabinet .eventHeading .gear{padding:6px 10px;text-decoration:none}
.liveCabinet .hallTabs{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.hallTabs a{padding:8px 10px;border-radius:10px;text-decoration:none}
.hallTabs [aria-current]{background:#eae7ee;font-weight:600}

/* Shared page surfaces and controls. See DESIGN.md. */
body.liveCabinet{background:var(--canvas);color:var(--ink)}
body.liveCabinet :is(header,main){max-width:1280px}
body.compactPage main{max-width:600px}
body.orderPage:not(.liveCabinet) main{max-width:924px}
body.liveCabinet .profile summary,body.liveCabinet .profile button{color:var(--ink)}
body.liveCabinet .profile button{background:var(--paper);border:1px solid var(--line)}
.liveCabinet :is(.eventLink,.officeLinks a,.statMetrics div,.gateLookup,.promoScroll,.art-preview){background:var(--paper);border-color:var(--line)}
.liveCabinet .promoAction,.liveCabinet .statRange [aria-current]{background:var(--action-fill);color:var(--action-ink)}
.liveCabinet .gateLookup .gateChoice input[type=radio]{width:auto}
.liveCabinet .liveForm :is(input,select,textarea){font-family:inherit;max-width:100%}
.liveForm .errorlist,.checkoutBody .errorlist{color:var(--error-ink);background:var(--error-fill);border-radius:10px;list-style:none;padding:6px 10px}
body :is(.cabinetContent,.passcard,.promoScroll) {min-width:0}
.liveCabinet .promoReport :is(td,th),.liveCabinet .salesTable :is(td,th){font-variant-numeric:tabular-nums}
.liveCabinet .eventLink strong,.liveCabinet .eventHeading h1{overflow-wrap:anywhere}
@media print{
  .orderPage main,.liveCabinet main{max-width:none}
  .passcard a,#view>a[href^="?pdf="]{display:none}
}
#purchase.checkoutBody>.cashDetails{grid-column:1/-1;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:16px 20px}
#purchase .cashDetails details{margin-top:12px}
.passcard .stub>b,.passcard .stub>a{display:block}
.passcard .stub>a{font-size:.85em}
@media(max-width:759px){
 #purchase.checkoutBody:has(.cashDetails){grid-template-rows:auto auto auto auto}
}
@media print{.passcard .stub>a{display:none}}
#purchase .contactFields label:has(.contactHint)::before{content:"!";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;background:var(--error-fill);color:var(--error-ink);font:600 13px/18px Onest,system-ui;text-align:center}
#purchase .contactFields label:has(.contactHint) .fieldIcon{visibility:hidden}
#purchase .contactFields .contactHint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#purchase .contactFields input[aria-invalid=true]::placeholder{color:var(--error-ink);opacity:1}
#purchase .contactFields label[data-error-hint]:has(input:not(:placeholder-shown))::after{content:attr(data-error-hint);position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--error-ink);font-size:12px;line-height:1.3}
#purchase .contactFields label[data-error-hint] input:not(:placeholder-shown){padding-inline-end:6rem}
.liveCabinet #view:has(#purchase){max-width:none}
.cashScan{margin:0 clamp(18px,4vw,36px) 12px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.cashScan details{margin-block-start:6px}
.cashScan textarea{display:block;width:100%;font:inherit}
.cashScan [data-camera-note]:not(:empty){display:block}
.cashModes,.cashScan [data-paper-list]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cashScan [data-paper-list] button{background:var(--paper);color:inherit;border:1px solid var(--line);font:inherit}
.cashScan #paperLookup:not([hidden]),.cashScan [data-paper-list]:not(:empty),.cashScan [data-camera-note]:not(:empty){margin-top:12px}
#purchase .cashDetails legend{padding:0;margin-bottom:8px}

#purchase.checkoutBody[hidden],#purchase .stepper[hidden]{display:none}

.refundTicket{display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.refundTicket span{color:var(--muted)}
@media print{.orderPage #view>:not(.passcard){display:none!important}}

@media screen {
  body:is(.checkoutPage,.orderPage):not(.liveCabinet) > main {
    padding-block-start:clamp(16px,3vw,36px);
  }
}

.liveCabinet #purchase #applyPromo,.liveCabinet #purchase .promo[open] summary{color:var(--accent)}
.liveCabinet #purchase #applyPromo:focus-visible{background:var(--panel)}
.liveCabinet #view :is(button,summary):focus-visible{outline-color:var(--accent)}

@media(max-width:600px){
  .cashScan{margin-inline:0}
}

.orderPage .gateLookup .liveForm > small{display:block;margin-block:6px 12px}

.saleSearch{margin-block:16px}
@media(max-width:600px){
  .saleSearch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .saleSearch label{min-width:0}
  .saleSearch label:first-child{grid-column:1/-1}
  .saleSearch button{justify-self:start}
}

#orderDialog {
  box-sizing: border-box;
  width: min(46rem, calc(100% - 24px));
  height: min(46rem, calc(100dvh - 32px));
  max-height: none;
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid #dedce2;
  border-radius: 20px;
  color: #292732;
  background: #faf9fb;
  overflow: hidden;
}
#orderDialog[open] { display: flex; flex-direction: column; }
#orderDialog::backdrop { background: rgb(29 26 36 / 40%); }
body:has(#orderDialog[open]) { overflow: hidden; }
.orderDialogBar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-bottom: 1px solid #dedce2; }
.orderDialogBar button { min-height: 44px; margin: 0; }
#orderDialog iframe { flex: 1; width: 100%; min-height: 0; border: 0; }
body.embeddedOrder main { margin: 0; padding: 0; width: 100%; }
body.embeddedOrder #view { margin: 0; padding: clamp(16px, 4vw, 28px); border: 0; border-radius: 0; }

.orderBuyer { display: grid; gap: 4px; margin-block: 18px; overflow-wrap: anywhere; }
.orderBuyer h2, .orderActions h2 { margin: 0 0 8px; }
.orderActions > details { padding-block: 10px; }

.officeActions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.officeActions a { display:inline-flex; align-items:center; min-height:44px; padding:8px 16px; border:1px solid var(--line); border-radius:24px; text-decoration:none; font-weight:550; }
.officeActions a:not(.promoAction) { background:var(--paper); }
.eventList .eventLink { display:grid; align-content:start; gap:4px; overflow-wrap:anywhere; }
.eventLink > span { color:var(--muted); font-size:.9em; font-variant-numeric:tabular-nums; }
.staffFormTitle { margin-top:28px; }
.assignmentList { border:0; padding:0; margin:16px 0; }
.assignmentList legend { font-weight:600; margin-bottom:4px; }
#view .assignmentList label { display:flex; align-items:center; gap:10px; min-height:44px; margin:0; color:var(--ink); overflow-wrap:anywhere; }
#view .assignmentList input[type=checkbox] { flex:none; width:18px; height:18px; min-height:0; margin:0; padding:0; accent-color:var(--action-fill); }
.liveCabinet header nav { min-width:0; }
.liveCabinet header .profile { min-width:0; }
.liveCabinet header .profile summary { overflow-wrap:anywhere; }
.liveCabinet .profile > div { border-color:var(--line); border-radius:14px; box-shadow:0 8px 28px #25242a14; }
.liveCabinet .profile > div a { display:flex; align-items:center; min-height:44px; }
.liveCabinet .profile > div button { margin:0; width:100%; }
.liveCabinet #view [data-scan] { min-height:44px; background:var(--action-fill); color:var(--action-ink); padding-inline:18px; }
/* Event details share the checkout grid and retain the cabinet palette at the till. */
.eventLecturer { display:flex; align-items:center; gap:10px; margin:0; font-size:clamp(18px,2vw,21px); font-weight:520; overflow-wrap:anywhere; }
.eventLecturer svg,.eventFacts svg { width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.eventFacts {
  --short-section:clamp(124px,18%,152px);
  display:grid; grid-template-columns:repeat(2,var(--short-section)) minmax(0,1fr);
  gap:0; margin:20px 0 0; padding:0; border-radius:15px;
  background:linear-gradient(105deg,#f8eee9,#f6f4ed 45%,#f9faf5);
  box-shadow:inset 0 0 0 1px #cad5cc; color:var(--ink);
}
.eventFacts > div { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; padding:16px 10px; }
.eventFacts > div + div { border-left:1px dashed #abb9af; }
.eventFacts > div + div::before,.eventFacts > div + div::after { content:""; position:absolute; left:-7px; width:12px; height:6px; background:var(--panel); }
.eventFacts > div + div::before { top:0; border-radius:0 0 8px 8px; }
.eventFacts > div + div::after { bottom:0; border-radius:8px 8px 0 0; }
.eventFacts dt { display:contents; }
.eventFacts svg { width:19px; height:19px; }
.eventFacts dd { margin:0; font-size:clamp(16px,1.6vw,18px); font-weight:550; line-height:1.25; }
.eventFacts time { white-space:nowrap; font-size:inherit; font-variant-numeric:proportional-nums; letter-spacing:normal; }
.eventFacts .eventVenue { justify-content:flex-start; padding-inline:clamp(12px,2.5vw,28px); overflow-wrap:anywhere; }
.eventFacts dd small { display:block; margin-top:3px; font-size:14px; font-weight:400; }
@media(max-width:600px){
  .eventFacts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .eventFacts > div { justify-content:flex-start; gap:8px; padding:14px clamp(10px,3.6vw,18px); }
  .eventFacts dd { font-size:16px; }
  .eventFacts .eventVenue { grid-column:1/-1; align-items:flex-start; border-left:0; border-top:1px dashed #abb9af; }
  .eventFacts .eventVenue svg { margin-top:1px; }
  .eventFacts > div:nth-child(2)::after { display:none; }
  .eventFacts .eventVenue::before,.eventFacts .eventVenue::after { width:6px; height:12px; top:-7px; bottom:auto; }
  .eventFacts .eventVenue::before { left:0; border-radius:0 8px 8px 0; }
  .eventFacts .eventVenue::after { left:auto; right:0; border-radius:8px 0 0 8px; }
}
.liveCabinet .eventEditor { max-width:54rem; }
.eventEditor .requiredNote { color:var(--muted); font-size:.875rem; }
.eventEditor fieldset { min-width:0; margin:18px 0 24px; padding:16px clamp(12px,2vw,24px) 22px; background:var(--paper); border:1px solid var(--line); border-radius:16px; }
.eventEditor legend { padding:0 6px; color:var(--ink); font-size:1.12rem; font-weight:600; }
.eventFields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; }
.eventField { min-width:0; }
.eventField label { margin:0 0 5px; }
.eventField small { display:block; margin-top:4px; }
.eventField :is(input,select) { min-width:0; max-width:100%; box-sizing:border-box; }
.eventField:is(.field-title,.field-artwork,.field-opened,.field-remove_artwork) { grid-column:1/-1; }
.eventField:has(input[type=checkbox]) label { display:flex; align-items:center; gap:10px; min-height:44px; margin:0; }
#view .eventEditor input[type=checkbox] { width:18px; height:18px; min-height:0; margin:0; padding:0; accent-color:var(--accent); }
.eventEditor input[type=file] { padding:6px; font-size:.9rem; }
.eventEditor input::file-selector-button { font:inherit; padding:6px 12px; margin-right:10px; color:var(--ink); background:var(--panel); border:1px solid var(--line); border-radius:8px; }
.statNotice:empty { display:none; }
.statNotice { color:var(--error-ink); }
.statRange a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; white-space:nowrap; }
@media(max-width:640px){.eventFields{grid-template-columns:minmax(0,1fr)}}

html { scrollbar-gutter:stable; }
#view .cabinetCover .eventHeading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; }
.eventTools { display:flex; align-items:center; gap:4px; position:relative; }
#view .cabinetCover .eventTools .gear { display:grid; place-items:center; width:44px; height:44px; padding:0; margin:0; border:0; border-radius:50%; background:#ffffffb3; color:var(--ink); }
.eventTools svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.copyNotice:not(:empty) { position:absolute; top:100%; right:0; z-index:2; border-radius:8px; padding:4px 8px; background:var(--action-fill); color:var(--action-ink); white-space:nowrap; font-size:.85rem; }
.cabinetContent > :is(h1,h2):first-child,.cabinetContent > .promoHead:first-child { margin-top:0; }
#view select:not([multiple]):not([size]) { appearance:none; padding-inline-end:36px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2363616a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-size:16px; background-position:right 12px center; background-repeat:no-repeat; }
@supports (appearance:base-select) {
  #view select:not([multiple]):not([size]),select::picker(select) { appearance:base-select; }
  #view select::picker-icon { display:none; }
  select::picker(select) { margin-block:4px; padding:4px; border:1px solid var(--line); border-radius:13px; background:var(--paper); color:var(--ink); box-shadow:0 8px 24px #25242a1c; font:inherit; }
  select option { padding:9px 12px; min-height:38px; border-radius:8px; font:inherit; }
  select option:is(:checked,:hover,:focus-visible) { background:var(--panel); color:var(--ink); outline:none; }
}
/* Text inputs can match :focus-visible even after a tap. Suppress only the
   pointer focus ring, including control-specific rules and styled radio labels. */
body.pointerNav :is(input,textarea,select,button,a,summary,[tabindex]):focus,
body.pointerNav :is(.choices,.cashPaymentChoices,.speakerChoices) input:focus + span {outline:none!important}
body.keyboardNav #view :is(select,button,a,summary):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media(max-width:600px){#view .cabinetCover .eventHeading{grid-template-columns:1fr}.eventTools{justify-self:start}.copyNotice:not(:empty){top:50%;left:100%;right:auto;transform:translateY(-50%)}}
.copyNotice input[readonly] { width:min(15rem,55vw); font:inherit; }

.eventFacts .factLabel { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.field-lecturer_icon { grid-column:1/-1; }
.speakerChoices { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.speakerChoices label { position:relative; cursor:pointer; }
.speakerChoices input { position:absolute; opacity:0; }
.speakerChoices label > span { display:flex; align-items:center; gap:7px; min-height:44px; padding:6px 12px; border:1px solid var(--line); border-radius:12px; color:var(--ink); }
.speakerChoices svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.speakerChoices input:checked + span { background:var(--action-fill); color:var(--action-ink); }
.speakerChoices input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }

#purchase .lineAmount [hidden] { display:none; }
#purchase #retryQuote { font:inherit; font-size:.875rem; }

#purchase .stepper input, [data-payment-countdown] {font-variant-numeric:tabular-nums}
#purchase .checkoutAction:disabled[data-calculating] {opacity:1;cursor:progress}

/* Gate work surface */
.cabinetLayout:has(.gateOperator){display:block}
.cabinetLayout:has(.gateOperator) > :is(.adminNav,.mobileSections){display:none}
.gateDesk{max-width:38rem;margin-inline:auto}
#view .gateDesk h1{margin:0;font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.08;letter-spacing:-.035em}
#view .gateEvent{margin:8px 0 0;color:var(--muted,#63616a);line-height:1.4}
.gateDesk .gateCamera{margin:20px 0 0;max-width:none}
#view .gateDesk output{margin:18px 0 0}
.gateDesk [hidden]{display:none!important}
#view .gateStart:not([hidden]){display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:0;border-radius:14px}
.gateFinder{position:relative;isolation:isolate;width:100%;height:clamp(230px,59svh,560px);border-radius:18px;overflow:hidden;background:#25242a}
#view .gateFinder video{display:block;width:100%;height:100%;max-height:none;object-fit:cover}
.gateAim{position:absolute;inset:0;margin:auto;width:min(65%,32svh);aspect-ratio:1;height:auto;align-self:center;top:50%;bottom:auto;transform:translateY(-50%);border:3px solid white;border-radius:18px;box-shadow:0 0 0 100vmax #13111745;pointer-events:none}
#view .gateStop{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);white-space:nowrap;margin:0;min-height:44px;padding:0 18px;background:#fff;color:#302d36;border:0;border-radius:24px}
[data-camera-note]:empty{display:none}
.gateCamera small:not(:empty){display:block;margin-top:8px;color:var(--muted,#63616a);text-align:center}
.gateManual{margin-top:16px;border-top:1px solid var(--line)}
#view .gateManual summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;cursor:pointer;color:var(--ink);list-style:none}
.gateManual summary::-webkit-details-marker{display:none}
.gateManual summary::after{content:'';width:8px;height:8px;margin-right:5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.gateManual[open] summary::after{transform:rotate(225deg)}
.gateManual input,.gateManual form button{width:100%}
@media(max-width:600px){
  body.liveCabinet main:has(.gateDesk){padding-inline:12px}
  body.liveCabinet #view:has(.gateDesk){padding:18px 12px;border-radius:20px}
  .gateFinder{height:clamp(230px,56svh,510px)}
}

#view .gateEvent a{color:inherit;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.gateCounts{display:flex;gap:22px;margin:16px 0 0;padding:0;font-variant-numeric:tabular-nums}
.gateCounts div{display:flex;align-items:baseline;gap:7px}
.gateCounts dt{color:var(--muted,#63616a);font-size:.9rem}
.gateCounts dd{margin:0;font-weight:650;font-size:1.15rem}
.gateFeedback{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:16px 20px 65px;text-align:center;background:#eae8ef;color:#383244;line-height:1.3}
.gateFeedback[data-state=pass]{background:var(--brand-lime);color:var(--brand-lime-ink)}
.gateFeedback:is([data-state=repeat],[data-state=replaced]){background:#ffedce;color:#643d11}
.gateFeedback[data-state=blocked]{background:#f8e5e4;color:#6a2a30}
.gateFeedback[data-state=missing]{background:#eee8fa;color:#483565}
.gateFeedback strong,.gateDetail{display:block}
.gateFeedback strong{font-size:clamp(22px,4vw,34px);letter-spacing:-.035em;line-height:1.12}
.gateDetail{margin:8px auto 0;max-width:32ch}
.gateSymbol{box-sizing:content-box;width:30px;height:30px;padding:12px;border:2px solid currentColor;border-radius:50%}
#view .gateResume:not([hidden]){position:absolute;inset:auto 14px 14px;min-height:46px;margin:0;background:var(--action-fill);color:white;border-radius:12px}
.gateFeedback:not([hidden]) ~ .gateStop{display:none}
@media(max-height:520px){.gateFeedback{gap:4px;padding-block:42px 58px}.gateSymbol{width:22px;height:22px;padding:5px}}

.gateDesk{position:relative}
.gateNumber{display:flex;align-items:center;gap:8px;margin:10px 0 0}
#view form.gateNumber :is(input:not([type=hidden]),button[type=submit]){box-sizing:border-box;height:46px;min-height:46px;margin:0;border-radius:12px;font-family:inherit;font-size:16px;line-height:1.25;appearance:none}
#view form.gateNumber input:not([type=hidden]){flex:1;min-width:0;padding:0 14px;border:1px solid var(--line);background:#fff;color:var(--ink);box-shadow:none}
#view form.gateNumber button[type=submit]{flex:none;padding:0 18px;border:0;background:var(--action-fill);color:var(--action-ink);font-weight:600}
#view form.gateNumber button[type=submit]:hover{background:var(--action-hover)}
body.liveCabinet #view:has(.gateOperator){background:transparent;border:0;box-shadow:none;padding:0}
.gateHistory{margin-top:32px}
#view .gateHistory h2{margin:0;font-size:1.35rem}
.historyFilter{margin:4px 0 8px}
.historyFilter summary{width:fit-content;cursor:pointer;color:var(--muted);line-height:44px}
.entrySearch,.entryFace{display:flex;align-items:center;gap:10px}
.entrySearch input{min-width:0;flex:1}
#view .entrySearch button{margin:0}
.entryRow{margin:8px 0 0;background:white;border-radius:14px;overflow:hidden}
.entryTrack{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.entryTrack::-webkit-scrollbar{display:none}
.entryFace{box-sizing:border-box;flex:0 0 100%;min-height:60px;padding:8px 12px 8px 16px;scroll-snap-align:start}
.entryFace time{margin-left:auto;color:var(--muted);font-size:.83rem;font-variant-numeric:tabular-nums}
#view .entryReveal{margin:0;border:0;min-height:44px;border-radius:0}
#view .entryReveal{align-self:stretch;flex:0 0 108px;padding:8px;color:#77382f;background:#f8e5e4;scroll-snap-align:end}
.entryUndo{padding:12px 16px 16px;border-top:1px solid var(--line)}
#view .keepEntry{background:transparent;color:var(--ink)}

.gateBuyer{display:grid;gap:2px;margin-top:12px}
.gateBuyer small{font-size:.8rem}
.gateDecisions{position:absolute;inset:auto 14px 14px;display:flex;justify-content:center;gap:8px}
#view .gateDecisions :is(.gateConfirm,.gateResume):not([hidden]){position:static;margin:0;min-height:44px;padding:8px 16px;border-radius:12px}
#view .entryInfo{flex:1;text-align:left;background:transparent;color:inherit;padding:0;margin:0;min-height:44px;font-weight:650}
.entryInfo{display:flex;align-items:center;gap:12px}
.entryInfo time{font-weight:400}
.entryInfo svg{flex:none;color:var(--muted)}
.entryInfo[aria-expanded=true] svg{transform:rotate(180deg)}
#view .entryReveal{display:grid;place-content:center;justify-items:center;gap:2px;font-size:.85rem}
@media (hover:hover) and (pointer:fine){
  .entryRow:has(.entryInfo[aria-expanded=true]) .entryFace:has(+.entryReveal){flex-basis:calc(100% - 108px)}
}
#view .entryBuyer{border-top:1px solid var(--line);margin:0;padding:12px 16px}

.gateResume svg{display:none}
.gateFeedback[data-state=available] .gateDecisions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#view .gateFeedback[data-state=available] #gateDecisions :is(.gateConfirm,.gateResume):not([hidden]){display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:46px;padding:0 4px;border:1px solid transparent;border-radius:12px;font-family:inherit;font-size:clamp(13px,3.7vw,16px);font-weight:600;line-height:1.2;background:var(--action-fill);color:var(--action-ink)}
#view .gateFeedback[data-state=available] #gateDecisions .gateResume:not([hidden]){background:white;border-color:var(--line);color:var(--ink)}
.gateFeedback[data-state=available] .gateResume svg{display:block}

/* The cashier works in one column of actions, with no enclosing checkout card. */
body.cashierPage #view{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
.cashEvent{margin-bottom:24px;padding:0;border:0;background:transparent}
body.cashierPage #view .cashEvent h1{margin:0 0 6px;font-size:clamp(26px,4vw,40px);line-height:1.12}
.cashEvent p{margin:0;color:var(--muted)}
.cashierPage .cashScan{margin:0 0 20px;padding:0;background:transparent;border:0}
.cashierPage .cashModes{display:flex;gap:6px;flex-wrap:nowrap}
.cashierPage #view .cashModes button{width:auto;white-space:nowrap;min-height:44px;min-width:0;margin:0;padding:7px clamp(8px,2vw,14px);font:inherit;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink)}
body.cashierPage #purchase.checkoutBody{padding:0;--checkout-inset:0px}
.cashierPage #purchase.checkoutBody>.cashDetails{padding:12px 0;border:0;border-radius:0;background:transparent}
.cashierPage #purchase .cashDetails fieldset{border:0;padding:0;margin:0}

.cashScan .gateFinder{margin-top:14px}
.cashScan [hidden]{display:none!important}
.cashierPage #view .cashModes button[aria-pressed=true]{color:white;background:var(--action-fill);border-color:var(--action-fill)}
.cashReview{box-sizing:border-box;width:min(410px,calc(100% - 32px));max-height:90svh;margin:auto;padding:24px;border:1px solid var(--line);border-radius:20px;background:#faf9fa;color:var(--ink);font:inherit}
.cashReview::backdrop{background:rgb(30 27 35 / 45%)}
#view .cashReview h2{margin:0;font-size:1.65rem}
.cashReview p{color:var(--muted)}
.cashReview dl div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.cashReview dd{margin:0;text-align:right;font-weight:650}
#view .cashReview button{width:100%;min-height:46px;margin:5px 0 0;border-radius:24px}
#view .cashReview [data-review-confirm]{background:var(--action-fill);color:var(--action-ink);font-weight:600}
#view .cashReview [data-review-confirm]:is(:hover,:active){background:var(--action-hover)}
#view .cashReview [data-review-back]{background:white;color:var(--ink);border:1px solid var(--line)}
.cashScan:has(.gateFeedback:not([hidden])) [data-camera-note]{display:none}

/* Customer details use the public purchase palette in every sale channel. */
#purchase .checkoutContacts{--ink:#172722;--muted:#53655e;color:var(--ink)}
#purchase .contactHeading small{color:var(--muted)}

.cashScan [data-paper-list]{display:grid;gap:8px}
.paperTicket{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px 8px 18px;color:#172722}
.paperTicket strong{min-width:0;overflow-wrap:anywhere}
.paperTicket::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:14px;background:var(--ticket-surface);
  --ticket-cutouts:radial-gradient(circle at left,transparent 5.5px,#000 6.5px) left / 51% 100% no-repeat,
                   radial-gradient(circle at right,transparent 5.5px,#000 6.5px) right / 51% 100% no-repeat;
  -webkit-mask:var(--ticket-cutouts);mask:var(--ticket-cutouts);
}
#view .paperTicket button{flex:none;display:grid;place-items:center;margin:0;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;font-size:24px;line-height:1}
#view .paperTicket button:hover{background:#ffffff70}
#purchase.paperSale .fareHead,#purchase.paperSale .fareHead+div{display:none}
#purchase.paperSale .fare{display:block;min-height:0;padding:0;margin:0;background:none;border:0;border-radius:0;overflow:visible;isolation:auto}
#purchase.paperSale .ticketStub{margin:0;padding:0;background:none;border:0}
#purchase.paperSale .ticketStub::before,#purchase.paperSale .ticketStub::after{display:none}
#purchase.paperSale>.lineAmount{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:14px 0;margin:0;border-top:1px solid var(--line)}

#paperResult:not(:empty){margin-top:8px;padding:12px 14px;border-radius:12px;font-size:17px;line-height:1.35;font-weight:600;background:#f8e5e4;color:#6a2a30}
#paperResult[data-state=pass]:not(:empty){background:var(--brand-lime);color:var(--brand-lime-ink)}
#paperResult[data-state=repeat]:not(:empty){background:#ffedce;color:#643d11}
.cashScan:has(#paperResult:not(:empty)) [data-camera-note]{display:none}

.cashTabs,.cashPeriods,.cashSearch,.cashMetrics{display:flex;align-items:center;gap:10px}
.cashTabs{gap:20px;margin:0 0 20px;border-bottom:1px solid var(--line)}
.cashTabs a,.cashPeriods a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none}
.cashTabs [aria-current]{box-shadow:inset 0 -2px var(--action-fill);font-weight:650;color:var(--ink)}
.cashReport{max-width:720px}.cashReport h2{margin:0 0 12px}
.cashPeriods a{padding:0 12px;border-radius:10px;border:1px solid var(--line);background:white}
.cashPeriods [aria-current]{background:var(--action-fill);color:var(--action-ink)}
.cashSearch,.cashMetrics{margin:18px 0}.cashSearch input[type=search]{flex:1;min-width:0;height:44px}
#view .cashSearch button{min-height:44px;margin:0}
#view .cashTicketRow{width:100%;margin:0;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:transparent;color:var(--ink);border-radius:0;border-bottom:1px solid var(--line)}
.cashTicketRow small{display:block;color:var(--muted)}.cashTicketRow span:first-child{min-width:0;overflow-wrap:anywhere}.cashTicketRow span:last-child{flex:none}
.cashMetrics{gap:24px;align-items:flex-start;color:var(--muted)}.cashMetrics strong{display:block;font-size:clamp(24px,6vw,36px);color:var(--ink)}
.cashReport dl div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.cashReport dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
.cashRefund{margin:14px 0}.cashRefund summary{cursor:pointer;font-weight:650;padding-block:8px}
.cashRefund textarea{display:block;width:100%;font:inherit;border:1px solid var(--line);border-radius:10px;padding:10px}
.cashReceived{display:flex;align-items:center;gap:8px}.cashReceived input{width:18px;height:18px;margin:0;flex:none}
.ticketCard:has(.cashRefund) form[method=dialog] button{background:white;color:var(--ink);border:1px solid var(--line)}

.cashCameraIdle{position:absolute;inset:0;z-index:3;display:grid;place-items:center;background:#eeecf1}
#view .gateFinder button[data-camera-close]{position:absolute;inset:4px 4px auto auto;z-index:4;display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:50%;color:#fff;background:radial-gradient(circle,#302d36 0 14px,transparent 15px)}
#view .gateFinder button[data-camera-close][hidden],#view .gateFinder:has(.gateFeedback:not([hidden])) button[data-camera-close]{display:none}
#view .gateFinder .gateStart:not([hidden]){width:auto;min-height:44px;padding:10px 18px;border-radius:24px;background:#302d36;color:white}
.cashScan [data-camera-close],.cashCameraIdle button{border:0;border-radius:99px;padding:12px 18px;background:#302d36;color:#fff;font:inherit;cursor:pointer}
.cashCameraIdle[hidden],.cashScan [data-camera-close][hidden]{display:none}
#view .employeeEvents .eventLink{background:linear-gradient(110deg,#f4e4ed,#e8e4f2 52%,#dcefed);border-radius:16px;padding:18px 20px}
#view .workSections{display:flex;flex-wrap:wrap;gap:10px;margin-block:20px}
#view .workSections a{padding:12px 18px;border-radius:12px;background:#ebe8ef;color:#302c36;text-decoration:none}
#view .workBack{display:inline-block;margin-bottom:16px}
#view .sectionAccess :is(#id_sections,#id_scope){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#view .sectionAccess label{display:flex;align-items:center;gap:8px;min-height:40px}
#view .sectionAccess input:is([type=checkbox],[type=radio]){width:18px;height:18px;min-height:0;margin:0;accent-color:#35313c}
@media(max-width:520px){#view .sectionAccess :is(#id_sections,#id_scope){grid-template-columns:1fr}}
@media(max-width:520px){.cashTabs{gap:12px;justify-content:space-between}.cashTabs a{font-size:.9rem;text-align:center}}
#view .workSections a[aria-current="page"]{background:#332f39;color:#fff}
body.liveCabinet main:has(.employeeEventHead){padding:0 clamp(12px,2vw,22px) 24px}
body.liveCabinet #view:has(>.employeeEventHead){padding:0;border:0;background:transparent;box-shadow:none}
#view .employeeEventHead{margin:0 0 20px;padding:0;border:0;background:transparent;font:16px/1.5 Onest,system-ui,sans-serif}
#view .employeeEventHead #employeeEventTitle{margin:0 0 6px;max-width:none;font:500 clamp(26px,4vw,40px)/1.12 Onest,system-ui,sans-serif;letter-spacing:-.035em;overflow-wrap:anywhere}
#view .employeeEventHead p{margin:0;color:var(--muted)}
#view .employeeEventHead .workSections{margin:16px 0 0}
body:has(.employeeEventHead)>header{font:16px/1.5 Onest,system-ui,sans-serif;padding-inline:clamp(12px,2vw,22px)}

.paymentWait { display: inline-block; vertical-align: -.12em; width: .9em; height: .9em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: paymentWaitTurn .8s linear infinite; }
@keyframes paymentWaitTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .paymentWait { animation: none; } }

/* Shared identity and reservation clock along the buyer journey. */
.buyerBrand {display:grid;justify-items:center;color:#23392d;font:400 12px/1.3 Onest,sans-serif}
.buyerBrand svg {width:120px;height:auto;fill:currentColor;font-family:Onest,sans-serif}
.checkoutPage .buyerBrand {margin:0 var(--checkout-inset) 16px}
.buyerTimer {position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;padding:9px 16px;margin:0 0 16px;border-radius:12px;background:#334b40;color:white;font:400 14px/1.35 Onest,sans-serif}
.buyerTimer svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.buyerTimer [role=timer] {margin-left:auto;font-size:16px;font-variant-numeric:tabular-nums}
body:has(.buyerTimer) :is(main,#view) {overflow:visible}
.checkoutPage:not(.cashierPage) #purchase .contactHeading h2 {font-weight:500}
#purchase .publicFareGroup {min-width:0;align-self:start}
#purchase.checkoutBody .publicFare {display:grid;grid-template: auto auto / minmax(0,1fr) auto;align-items:center;gap:16px 8px;padding:16px;margin:0}
.unitFare {display:grid;gap:4px}
.unitFare strong {font-size:20px;line-height:1.2}
.unitFare small {font-size:13px;font-weight:400}
#purchase .quantityLabel {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#purchase .publicFare .lineAmount {position:relative;grid-column:1/-1;display:grid;grid-template-columns:subgrid;text-align:left;align-items:center;margin:0 -16px;padding:18px 16px 0;border-top:1px dashed #56706699}
#purchase .publicFare .lineAmount::before,#purchase .publicFare .lineAmount::after {content:"";position:absolute;top:-7px;width:14px;height:14px;background:var(--buyer-paper,#eff4ef);border-radius:50%}
.publicFare .lineAmount::before {left:-7px}.publicFare .lineAmount::after {right:-7px}
#purchase .publicFare .stepper {margin-inline:auto}
#purchase .publicFare .lineAmount output {min-height:0;justify-self:center}
#purchase .publicFare :is(#quoteError,#retryQuote) {grid-column:1/-1}
#purchase .publicFareGroup>.ticketStub {margin:0;padding:12px 0;background:none}
#purchase .publicFareGroup .promo:not([open]) summary {margin-inline-start:16px}
#purchase .publicFareGroup>.ticketStub::before,#purchase .publicFareGroup>.ticketStub::after {display:none}
#purchase .publicFareGroup .ticketStub #discountNote:not(:empty) {position:static}
.checkoutPage .buyerBrand {padding-top:18px;margin-bottom:0}
.checkoutPage:not(.cashierPage) #purchase.checkoutBody {grid-template-rows:auto}
@media (min-width:760px) {
  #purchase.checkoutBody > .publicFareGroup {grid-column:1;grid-row:1}
}
#purchase .publicFare {--buyer-paper:var(--panel,#eff4ef)}
#purchase.checkoutBody>.buyerTerms {grid-column:1/-1}
.buyerTerms {font-size:14px;line-height:1.45;color:#354c40}
.buyerTerms label {display:flex;align-items:flex-start;gap:10px;margin:0;padding:8px 0;cursor:pointer}
.buyerTerms label input {width:18px;height:18px;min-width:18px;margin:1px 0;accent-color:#304a3a}
.buyerTerms p,.buyerTerms small {display:block;margin:2px 0 2px 28px}
.buyerTerms a {color:inherit;text-underline-offset:3px}
#purchase .promoBreakdown:not([hidden]) {grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:baseline;row-gap:6px;margin-bottom:12px}
#purchase .promoBreakdown :is(b,del) {justify-self:center;inline-size:var(--total-width,auto);display:flex;justify-content:flex-end;white-space:nowrap;font-size:15px;font-variant-numeric:tabular-nums}
#purchase .promoBreakdown small {margin:0}
#purchase .promoCheck:not([hidden]) {display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;color:#244728;background:#d6edb6}
#purchase .promoEntry [hidden] {display:none}
@media (min-width:760px) {
  body.checkoutPage:not(.cashierPage) main {max-width:1080px}
  .checkoutPage:not(.cashierPage) .eventCover {padding-top:24px}
  .checkoutPage:not(.cashierPage) .eventCover h1 {max-width:28ch;text-wrap:balance}
  .checkoutPage:not(.cashierPage) #purchase.checkoutBody {grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(24px,3vw,44px);row-gap:12px}
  #purchase.checkoutBody>.publicFareGroup {display:contents}
  #purchase .publicFareGroup>.ticketStub {grid-column:1;grid-row:2;align-self:start;padding-block:0}
  #purchase .publicFare .lineAmount {align-self:start;padding-top:10px}
  .checkoutPage:not(.cashierPage) #purchase :is(.checkoutAction,.purchaseNotice) {grid-column:2}
  .checkoutPage:not(.cashierPage) #purchase .checkoutContacts {padding:16px 24px}
  .checkoutPage:not(.cashierPage) #purchase .contactHeading h2 {font-size:18px;line-height:1.2}
  .checkoutPage:not(.cashierPage) #purchase .contactFields {margin:8px 0 0}
  #purchase.checkoutBody .publicFare {grid-row:1;grid-column:1;grid-template-rows:auto 1fr;align-self:stretch;padding-block:16px 8px;row-gap:32px}
}

/* Announce promo success to screen readers; the checkmark conveys it visually. */
#purchase .publicFareGroup .ticketStub #discountNote[data-state="success"] {
  position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}

#purchase .publicFare .promoSlot {grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;min-height:60px}
#purchase .promoSlot .ticketStub {grid-column:1/-1;margin:0;padding:0;background:none}
#purchase .promoSlot .ticketStub::before,#purchase .promoSlot .ticketStub::after {display:none}
#purchase .promoSlot .promo:not([open]) summary {margin:0;font-size:13px}
#purchase .promoSlot [hidden] {display:none}
#purchase .promoSlot .promoBreakdown {margin:0;row-gap:2px}
#purchase .promoSlot .appliedCode {display:flex;align-items:center;gap:5px;justify-self:start;max-width:100%;min-width:0;padding:3px 0;margin:0;border:0;background:none;color:#254334;font:500 14px/20px Onest,sans-serif}
#purchase .appliedCode [data-code-label] {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline dotted;text-underline-offset:3px}
#purchase .appliedCode .promoCheck {width:20px;height:20px;flex:none;font-size:13px}

.checkoutPage:not(.cashierPage) #purchase .checkoutAction {
  grid-column:1/-1;width:100%;
  background:#d4ed9f;color:#213a27;justify-content:center;gap:12px;
}
.checkoutPage:not(.cashierPage) #purchase .checkoutAction:hover:enabled {background:#c8e68e}
.checkoutPage:not(.cashierPage) #purchase .checkoutAction:focus-visible {outline:2px solid #416349;outline-offset:3px}
#view .buyerTerms input[type=checkbox] {
  appearance:none; display:grid; place-content:center; flex:none;
  width:16px; min-width:16px; height:16px; min-height:0; margin:0; padding:0;
  border:1px solid #7c8981; border-radius:5px; background:#fff; cursor:pointer;
}
#view .buyerTerms input[type=checkbox]:checked {background:#d4ed9f; border-color:#657d53}
#view .buyerTerms input:checked::after {content:""; width:7px; height:4px; border:solid #213a27; border-width:0 0 2px 2px; transform:translateY(-1px) rotate(-45deg)}
#view .buyerTerms input:focus-visible {outline:2px solid #416349; outline-offset:2px}
@media (forced-colors:active) {
  #view .buyerTerms input[type=checkbox] {appearance:auto}
  #view .buyerTerms input:checked::after {content:none}
}

.checkoutPage #purchase .buyerTerms {grid-column:1/-1;width:100%;font-size:12px}
.checkoutPage #purchase .buyerTerms label {min-height:32px;align-items:center;gap:8px;padding-block:3px}
.checkoutPage #purchase .buyerTerms p {margin-top:0}
#purchase .publicFare .promoEntry input {font-size:14px}
#purchase .publicFare .promoEntry input::placeholder {font-size:14px}
@media (max-width:759px) {
  #purchase .publicFare .promoEntry input {font-size:16px}
}

.buyerLegalFooter { margin: 1.25rem clamp(16px, 3vw, 32px) 1.5rem; padding-top: .65rem; border-top: 1px solid #c9d6cf; display: grid; color: #475b52; font-size: .8125rem; }
.buyerLegalFooter > a, .buyerLegalFooter details { grid-area: 1 / 1; }
.buyerLegalFooter > a { align-self: start; justify-self: start; z-index: 1; }
.buyerLegalFooter a, .buyerLegalFooter summary { color: inherit; line-height: 1.5; padding-block: .7rem; cursor: pointer; text-underline-offset: .18em; }
.buyerLegalFooter summary { width: fit-content; margin-inline-start: auto; }
.organizerDetails { margin-top: .4rem; padding: 1rem 1.2rem; background: #f8fbf8; border-radius: 1rem; }
.organizerDetails small { color: #53665c; font-size: .75rem; }
.organizerDetails dl { display: grid; gap: .75rem; margin: .85rem 0 0; }
.organizerDetails dl > div { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: .5rem; align-items: baseline; }
.organizerDetails dt { color: #526359; font-size: .75rem; }
.organizerDetails dd { margin: .15rem 0 0; color: #21392e; overflow-wrap: anywhere; }
@media (max-width: 759px) {
  .buyerLegalFooter > a, .buyerLegalFooter details { grid-area: auto; }
  .buyerLegalFooter summary { margin-inline-start: 0; }
  .organizerDetails dl > div { grid-template-columns: 1fr; gap: 0; }
}

#purchase .ticketDeliveryNote { grid-column: 1 / -1; margin: 0; text-align: center; color: #475b52; font-size: .8125rem; line-height: 1.45; }

.ticketProof { grid-column:1/-1; min-width:0; margin:0; }
.ticketProof figcaption,.field-artwork small { color:var(--muted); font-size:.875rem; line-height:1.45; }
.ticketProof img { display:block; width:100%; height:auto; margin-top:8px; }
.ticketProof img[hidden] { display:none; }
.ticketProof small:not(:empty) { display:block; margin-top:8px; }

@font-face { font-family:RadozaPoster; src:url('/assets/fonts/bebas/bold.otf') format('opentype'); font-weight:700; font-display:swap; }
.eventField:is(.field-cover,.field-remove_cover) {grid-column:1/-1}
.purchasePoster {container-type:inline-size;position:relative;isolation:isolate;overflow:hidden;border-radius:16px;background:#092a3a;color:white}
.posterBackground {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:75% center;z-index:-2}
.purchasePoster::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#042331a8 0%,#04233143 56%,transparent 80%)}
.posterCopy {box-sizing:border-box;min-height:50cqw;padding:5cqw 4cqw;display:flex;align-items:flex-start;flex-direction:column}
.purchasePoster .posterFormat {font:600 clamp(.7rem,2cqw,.95rem)/1.3 Onest,sans-serif;color:white;margin-bottom:1.4cqw}
#view .eventCover .purchasePoster h1 {font:700 clamp(1.9rem,9.8cqw,6.4rem)/.94 RadozaPoster,Onest,sans-serif;letter-spacing:0;text-transform:uppercase;text-wrap:balance;color:white;max-width:72%;margin:0 0 .4em;overflow-wrap:anywhere}
.purchasePoster h1::first-line {color:#ffce09}
#view .purchasePoster .posterSpeaker {align-self:flex-start;width:fit-content;max-width:69%;box-sizing:border-box;margin:auto 0 0;padding:.16em .35em .08em;background:#ffce09;color:#062635;font:700 clamp(1.1rem,4.6cqw,2.7rem)/1 RadozaPoster,Onest,sans-serif;text-transform:uppercase;overflow-wrap:anywhere}
