/* The two settled stylesheets are shared by every screen, proposal figure and print layout. */
@import url("../system/tokens.css");
@import url("../system/parts.css");
body.night { margin:0; background:#0e0e0e; color:var(--pq-text); font:14px/1.4 var(--pq-ui); }
.night *, .night *::before, .night *::after {box-sizing:border-box}
.stage {display:grid;grid-template-rows:minmax(0,1fr) 36px;width:min(100%,390px);height:100dvh;margin:auto;background:var(--pq-ground)}
#device {min-height:0}
.handset {height:100%;width:100%;min-width:0;display:flex;flex-direction:column;overflow:hidden;container:phone / size;isolation:isolate}
.phone-scroll {min-height:0;overflow-y:auto;overflow-x:clip;overscroll-behavior:contain;scrollbar-width:none;flex:1;padding-top:3px;padding-bottom:10px}
.phone-scroll::-webkit-scrollbar {display:none}
.phone-nav {flex:none;padding:4px 0 max(4px,env(safe-area-inset-bottom));background:var(--pq-ground)}
.phone-nav:has(.pq-action), .phone-nav:has(.line-button) {padding:5px var(--pq-gutter) 8px}
.handset[data-hero="narrow"] {--pq-display:var(--pq-display-narrow)}
.handset[data-page="explore"] .phone-scroll {padding-bottom:4px}
.handset :is(button,a):focus-visible,.night dialog :focus-visible {outline:2px solid currentColor;outline-offset:2px}
.handset :is(button,a):active {transform:translateY(1px)}
.handset button:not(.pq-action):hover {filter:brightness(1.14)}
.handset button:disabled {background:var(--pq-well);color:var(--pq-muted);cursor:default}
.handset [aria-busy="true"] {pointer-events:none}
.bill-title {padding:4px var(--pq-gutter) 7px;min-width:0}
.bill-title .pq-name--fit {font-size:clamp(34px,14cqw,72px);white-space:nowrap}
.venue-heart,.qty-line,.amount-line {display:flex;align-items:center;justify-content:space-between;gap:8px}
.venue-heart {padding:0 var(--pq-gutter)}
.venue-heart .pq-venue {font-size:21px}
.learn {padding:0 var(--pq-edge) 6px}
.handset .pq-feature {height:var(--pq-hero-h)}
.handset .pq-date--hero :is(.pq-date__d,.pq-date__m,.pq-date__t) {font-size:19px;font-weight:700}
.handset .pq-card {gap:6px;margin-bottom:5px}
.handset .pq-card__body {flex:1;min-width:0;text-align:left;overflow:hidden}
.handset .pq-card__text {gap:3px;padding-block:6px}
.handset .pq-card__photo {max-height:var(--pq-card-h)}
.handset .pq-card__body .pq-i {justify-self:center}
.handset .pq-action__label {display:inline-flex;align-items:center;gap:6px}
.handset .pq-action .pq-action__side:empty {display:none}
.handset .pq-action .pq-i:last-child {margin-left:auto}
.handset .pq-action__side+.pq-i:last-child {margin-left:0}
.handset .pq-topbar__end {gap:0;align-items:center}
.handset .pq-mat--page {height:210px;margin:8px 5px 8px 0}
.handset .pq-mat--page img {width:100%;height:100%;object-fit:cover;object-position:center 28%}
.inset {padding:10px var(--pq-gutter)}
.inset .venue-heart {padding:0}
.page-head {padding:12px var(--pq-gutter) 16px}
.page-head h1,.handset .form-title {font:650 40px/.99 var(--pq-display);text-transform:uppercase;margin:3px 0 5px}
.handset .detail-name {font-size:36px;margin:16px 0 2px}
.handset .media-dots {padding:0;gap:0}
.handset .media-dots button {display:grid;place-items:center;width:44px;height:44px}
.date-line,.poster-line {display:flex;align-items:center;gap:16px}
.date-line {margin:14px 0}
.handset .section-title {font:600 18px/1.2 var(--pq-display);text-transform:uppercase;letter-spacing:.045em;margin-block:14px 6px}
.handset .quiet,.handset small,.handset .empty {color:var(--pq-muted)}
.handset .quiet,.handset .empty {margin-block:10px}
.handset .field {display:grid;gap:5px;margin:12px 0 0;font-weight:600}
.handset input:not([type="checkbox"]) {font:400 16px/1.3 var(--pq-ui);width:100%;min-width:0;min-height:46px;border-radius:4px;border:1px solid var(--pq-muted);padding:8px 10px;color:var(--pq-text);background:var(--pq-well)}
.handset .check-row {display:flex;align-items:center;gap:10px;min-height:46px;margin:8px 0}
.check-row input {width:24px;height:24px;margin:0;accent-color:var(--pq-red);flex:none}
.handset .field-error,.handset .error-card {color:var(--pq-text);border-left:3px solid var(--pq-red);padding-left:10px}
.handset .field-error:empty {display:none}
.handset .field-error button {margin-top:5px}
.handset .summary-slip {padding:16px 18px;margin:13px 0;border-radius:4px;border-bottom:2px dashed var(--pq-ground)}
.handset .summary-slip h2,.gross {font:650 30px/1.05 var(--pq-display);text-transform:uppercase}
.handset .summary-slip small {color:var(--pq-ink-soft)}
.qty-line {margin:15px 0}
.stepper {display:inline-grid;grid-template-columns:44px 26px 44px;align-items:center;text-align:center;color:inherit;border:1px solid currentColor;border-radius:var(--pq-r)}
.stepper button {min-height:44px;font-size:21px}
.amount-line {border-top:1px dashed currentColor;padding-top:9px}
.amount-line strong {font:650 25px/1 var(--pq-display)}
.handset .apple-pay {min-height:46px;width:100%;display:flex;align-items:center;justify-content:space-between;background:#fff;color:#111;border-radius:4px;padding:0 13px;margin:6px 0 8px;font:600 19px/1 -apple-system,sans-serif}
.handset .apple-pay b {font:600 14px/1 var(--pq-ui)}
.handset .pq-ticket {margin-top:4px}
.handset .pq-ticket__paper h1 {font-size:36px}
.handset .pq-ticket__paper .pq-venue {font-size:18px}
.handset .pq-ticket__paper .pq-facts {margin:10px 0}
.handset .pq-code img {display:block;width:100%;height:100%;object-fit:contain}
.handset .ticket-ref {text-align:center;font:12px/1.4 var(--pq-mono)}
.handset .pq-pills {margin-block:12px}
.role-head {display:flex;align-items:center;justify-content:space-between;padding:0 var(--pq-gutter);min-height:46px;border-bottom:1px solid var(--pq-line-strong)}
.role-head>b {font:700 21px/1 var(--pq-display);letter-spacing:-.04em}
.role-head>b span {font-weight:400}
.role-button {display:inline-flex;align-items:center;gap:6px;min-height:44px}
.role-button svg {width:12px}
.strip-link,.list-link {min-height:48px;border-bottom:1px solid var(--pq-line-strong)!important;width:100%;display:flex;align-items:center;gap:8px;justify-content:space-between;text-align:left}
.strip-link .pq-i,.list-link .pq-i {width:12px}
.payout-strip {padding:0 var(--pq-gutter) 10px}
.payout-strip .strip-link {justify-content:flex-start}
.payout-strip .strip-link b {margin-left:auto}
.poster-line {padding:0 var(--pq-gutter);align-items:stretch;gap:8px}
.home-portrait {width:calc(100% - 76px);height:149px;object-fit:cover;object-position:center 23%;border:2px solid var(--pq-cream)}
.poster-line .pq-date {align-self:flex-end}
.handset .inset>.pq-name {font-size:36px}
.counts {margin:6px var(--pq-gutter);padding:12px 0}
.counts .pq-fill {margin:10px 0 5px}
.counts.pq-ledger-slip {padding:12px 16px}
.counts.pq-paper small {color:var(--pq-ink-soft)}
.line-button,.quiet-button,.handset .filters button {display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--pq-dim)!important;border-radius:4px;min-height:44px;min-width:44px;padding:6px 12px!important}
.handset .quiet-button {border-color:transparent!important;color:var(--pq-muted)}
.wide,.action-pair>.line-button {width:100%}
.action-pair {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:7px 0}
.action-pair .pq-action {padding-inline:8px}
.action-pair .pq-action__label {font-size:16px}
.handset .ledger-row {display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--pq-line-strong)}
.ledger-row dd {text-align:right;font-variant-numeric:tabular-nums}
.chart figcaption {margin-top:14px;font-weight:600}
.chart ol {display:flex;align-items:end;gap:7px;padding:0;list-style:none}
.chart li {flex:1;text-align:center;font:11px var(--pq-mono)}
.chart li i {display:block;background:var(--pq-red);margin:3px 0}
.handset .tap-target,.handset .door-code {display:grid;gap:12px;justify-items:center;position:relative;width:100%;padding:15px;font-size:19px;border:1px solid var(--pq-line-strong);border-radius:4px}
.tap-target .reader-photo {width:100%;height:185px;object-fit:contain}
.door-code img {width:min(100%,190px)}
.handset .door-code {background:var(--pq-cream);color:var(--pq-ink);margin:12px 0;text-align:center}
.finder-wrap {padding:4px var(--pq-gutter) 6px;text-align:center}
.handset .pq-finder {display:inline-grid;place-content:center;margin-bottom:10px}
.pq-finder i {display:block;width:145px;height:2px;background:var(--pq-red);margin:0 auto 12px}
.handset .pq-stub {margin:6px var(--pq-gutter)}
.handset .pq-nomatch {border:1px solid var(--pq-red-deep);margin:8px var(--pq-gutter);border-radius:4px}
.list-link small,.list-link b {display:block}
.list-link small {line-height:1.45}
.handset .filters {display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}
.handset .filters button {font-size:12px;padding:3px 8px!important}
.filters [aria-pressed="true"] {background:var(--pq-text);color:var(--pq-ink)}
.handset .gross {font-size:46px;margin:12px 0}
.preview-bar {position:relative;display:flex;align-items:center;gap:5px;padding:0 8px;background:#151515;color:#eee;border-top:1px solid #383838;font:11px/1.15 var(--pq-ui);z-index:1}
.preview-bar small {flex:1;color:#bfbfbf}
.preview-bar button {min-width:44px;height:36px;position:relative;border:0;background:transparent;color:#eee;font:600 11px var(--pq-ui);cursor:pointer;padding:0 4px}
.preview-bar button::before {content:"";position:absolute;inset:-8px 0 0}
.night dialog {color:var(--pq-text);background:var(--pq-card);border:1px solid #555;border-radius:8px;padding:18px;max-width:min(400px,calc(100vw - 26px));width:100%;max-height:86dvh;overflow:auto}
.night dialog::backdrop {background:rgba(0,0,0,.75)}
.dialog-head {display:flex;align-items:center;justify-content:space-between;gap:12px}
.dialog-head h2 {font:650 29px/1 var(--pq-display);text-transform:uppercase;margin:0}
.night dialog button,.night dialog select {min-width:44px;min-height:44px;padding:7px 10px;border:1px solid #666;background:#181818;color:#eee;border-radius:4px;font:inherit}
.night dialog label {display:grid;gap:4px;margin:9px 0}
.night dialog fieldset {border:0;margin:0;padding:0}
.night dialog .apply {width:100%;background:var(--pq-red);color:var(--pq-ink);font-weight:700}
.night dialog img {width:100%}
.night dialog .option-jumps {display:flex;flex-wrap:wrap;gap:4px}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:768px) {
 body.night {min-height:100dvh;display:grid;place-items:center;background:linear-gradient(rgb(0 0 0 / .79),rgb(0 0 0 / .84)),url("../system/assets/photos/venue-cellar.jpg") center/cover fixed}
 .stage {height:min(880px,100dvh);box-shadow:0 0 0 1px #484848,0 14px 70px #000}
 body.exhibit .stage {height:min(844px,100dvh)}
}
body.exhibit .stage {grid-template-rows:minmax(0,1fr)}
body.exhibit .preview-bar {display:none}
@container phone (max-height:839px) {
 .handset[data-page="explore"] .phone-scroll {padding-top:0}
 .explore-lead {display:grid;grid-template:"photo title" auto "photo venue" minmax(44px,auto) "photo learn" minmax(46px,auto) / 1.04fr 1fr;margin:1px var(--pq-edge) 7px;gap:0 10px;align-items:center}
 .explore-lead .pq-feature {grid-area:photo;padding:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 47px;gap:3px;align-items:center}
 .explore-lead .pq-date--hero {width:47px;height:110px}
 .explore-lead .pq-date--hero .pq-date__n {font-size:38px}
 .explore-lead .pq-date--hero .pq-date__t {font-size:19px}
 .explore-lead .pq-mat--feature {width:100%;min-width:0}
 .explore-lead .bill-title {grid-area:title;padding:0}
 .explore-lead .bill-title .pq-name {font-size:34px;white-space:normal;line-height:.96}
 .explore-lead .venue-heart {grid-area:venue;padding:0}
 .explore-lead .venue-heart .pq-venue {font-size:17px}
 .explore-lead .learn {grid-area:learn;padding:0;align-self:end}
 .explore-lead .learn .pq-action {padding:5px 8px;gap:3px}
 .explore-lead .learn .pq-action__label {font-size:15px}
 .explore-lead .learn .pq-action__side {font-size:11px}
 .explore-lead .learn .pq-i {display:none}
 .handset[data-page="explore"] .pq-tabbar {height:48px}
 .handset[data-page="explore"] .pq-sheet {padding-top:4px}
 .handset[data-page="explore"] .pq-sheet__handle {margin-bottom:3px}
}
@container phone (max-width:359px) {
 .handset .pq-pills {grid-auto-flow:row}
 .explore-lead {grid-template-columns:1fr 1fr}
 .handset .pq-card__body {grid-template-columns:72px minmax(0,1fr) 14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}


@supports (-webkit-appearance: -apple-pay-button) {
 .apple-pay .apple-mark {display:block;width:70px;height:27px;background:white;-webkit-appearance:-apple-pay-button;-apple-pay-button-type:plain;-apple-pay-button-style:white;color:transparent}
}

/* On a short screen, the venue shares the location row. The note shares the drawer handle row. */
@container phone (max-height:839px) {
 .handset[data-page="explore"] .phone-scroll {position:relative}
 .explore-lead {grid-template-areas:"photo title" "photo learn";grid-template-rows:minmax(0,1fr) 46px;min-height:var(--pq-hero-h);align-items:center}
 .explore-lead .venue-heart {position:absolute;top:0;left:clamp(110px,36cqw,155px);right:50px;height:44px;justify-content:flex-end;gap:5px}
 .explore-lead .pq-feature {grid-template-columns:minmax(0,1fr) 77px}
 .explore-lead .pq-date--hero {width:77px}
 .handset[data-page="explore"] .pq-sheet {display:grid;grid-template-columns:minmax(0,1fr);padding-top:1px}
 .handset[data-page="explore"] .pq-sheet__handle {grid-area:1/1;margin:7px 0 0 18px;align-self:start}
 .handset[data-page="explore"] .pq-note {grid-area:1/1;text-align:right;padding:1px 18px;font-size:11px;line-height:17px}
 .handset[data-page="explore"] .pq-seg {grid-area:2/1;margin-bottom:3px}
}
@container phone (max-width:359px) and (max-height:839px) {
 .explore-lead .pq-feature {grid-template-columns:minmax(0,1fr) 54px}.explore-lead .pq-date--hero {width:54px}
 .explore-lead .venue-heart .pq-venue {font-size:15px}
}
@media(min-width:880px) {
 .night dialog[data-sheet="options"] {margin-right:max(12px,calc((100vw - 1160px)/2));width:min(360px,calc((100vw - 420px)/2));max-height:92dvh}
}

.handset .pq-where__city::after {inset:0 -7px auto;height:44px}
.night dialog summary {display:flex;align-items:center;min-height:44px;cursor:pointer}
