/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4
 * Existing Entria design system. Public profile, event and order; in-place polish.
 * No added animation. Real content and media; shared typography and brand tokens.
 */
html:has(.sales-public),body:has(.sales-public){overflow-x:clip}
.sales-public{--public-space-xs:8px;--public-space-sm:16px;--public-space-md:24px;--public-space-lg:32px;--public-space-xl:48px}
.sales-public h1,.sales-public h2,.sales-public h3{min-width:0;overflow-wrap:anywhere;font-style:normal}
.sales-public .sales-header{margin-bottom:var(--public-space-lg);padding-bottom:var(--public-space-sm);border-bottom:1px solid var(--sales-border);flex-wrap:nowrap}
.sales-public .sales-header a{white-space:nowrap;text-decoration:none}
.sales-public .sales-header>a:last-child{font-size:14px;color:var(--sales-muted)}
.sales-public .sales-button{white-space:nowrap}
.sales-public .sales-button:hover{filter:brightness(.94)}
.sales-public .sales-button:active{filter:brightness(.88)}
.sales-public .sales-button-secondary:hover{background:var(--brand-surface-soft);border-color:var(--brand-primary)}
.sales-public .public-contact{border-top:1px solid var(--sales-border);margin-top:var(--public-space-lg);padding-top:var(--public-space-md);text-align:center}
.sales-public .public-contact>p{font-size:14px;color:var(--sales-muted);margin:0 0 12px}
.sales-public .public-contact .sales-button{font-size:14px}
.promoter-page{max-width:920px;margin:0 auto}
.public-profile-heading{display:flex;align-items:center;gap:var(--public-space-md);margin:var(--public-space-xl) 0}
.public-profile-heading>div{min-width:0;max-width:680px}
.public-profile-heading .sales-eyebrow{margin:0 0 12px;overflow-wrap:anywhere}
.public-profile-heading h1{font-size:clamp(28px,4vw,42px);margin:0 0 var(--public-space-sm)}
.profile-bio{color:var(--sales-muted);overflow-wrap:anywhere;max-width:62ch}
.public-profile-heading .sales-avatar,.profile-monogram{width:88px;height:88px;flex-shrink:0;border-radius:var(--k-radius-md)}
.profile-monogram{display:grid;place-items:center;background:var(--sales-surface);border:1px solid var(--sales-border);font-size:36px;font-weight:700;color:var(--sales-muted)}
.profile-events .event-section-heading{margin-bottom:var(--public-space-md)}
.profile-event-list{border-top:1px solid var(--sales-border)}
.sales .profile-event-link{display:flex;align-items:center;gap:var(--public-space-md);min-height:144px;padding:var(--public-space-md) 12px;border-bottom:1px solid var(--sales-border);text-decoration:none}
.profile-event-image{display:block;width:164px;aspect-ratio:8/5;object-fit:contain;background:var(--sales-surface);border-radius:var(--k-radius-sm);flex-shrink:0}
.profile-event-copy{min-width:0;flex:1}
.profile-event-copy h3{font-size:21px;margin:6px 0}
.profile-event-copy p{margin:6px 0}
.public-test-label{display:inline-block;font-size:12px;color:var(--sales-muted)}
.profile-event-action{white-space:nowrap;flex-shrink:0;font-size:14px;font-weight:600}
.profile-event-action span{margin-left:6px;color:var(--brand-primary)}
.profile-event-link:hover,.profile-event-link:active{background:var(--brand-surface-soft);text-decoration:none!important}
.profile-event-link:focus-visible{outline-offset:-3px}
.public-empty{padding:var(--public-space-lg) 0;color:var(--sales-muted)}
.public-empty h3{color:var(--sales-text)}
.sales-public .event-banner{aspect-ratio:1032/336}
.sales-public .event-heading{margin-bottom:var(--public-space-lg)}
.sales-public .event-ticket-price{font-variant-numeric:tabular-nums}
.sales-public .event-ticket-end{gap:var(--public-space-sm)}
.sales-public .event-payment-note{margin-bottom:0}
.checkout-guidance{font-size:14px;line-height:1.65;color:var(--sales-text)}
.checkout-conditions{margin-top:var(--public-space-sm)!important}
.sales-public .checkout-ticket-heading{flex-wrap:wrap;row-gap:8px}
.sales-public .checkout-ticket-heading>strong{font-variant-numeric:tabular-nums}
.sales .checkout-selection .sales-quantity-control input[type=number]{width:56px;max-width:56px;min-width:0;flex:0 0 56px;padding:6px}
.checkout-selection .checkout-quantity>label{white-space:nowrap;flex-shrink:0}
.order-page{max-width:760px;margin:0 auto}
.order-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--public-space-md);margin-bottom:var(--public-space-md)}
.order-heading>div{min-width:0}
.order-heading h1{font-size:clamp(28px,4vw,36px);margin:8px 0 12px}
.order-heading p{margin:0}
.order-state{display:inline-block;font-size:13px;line-height:1.4;padding:8px 12px;border:1px solid var(--sales-border);border-radius:var(--k-radius-pill);white-space:nowrap;flex-shrink:0}
.order-state[data-status=PENDING]{background:color-mix(in srgb,var(--brand-primary) 8%,var(--sales-surface));border-color:color-mix(in srgb,var(--brand-primary) 25%,var(--sales-border))}
.order-guidance{padding:4px 0 var(--public-space-md);max-width:68ch}
.order-guidance h2{font-size:22px;margin-bottom:12px}
.order-guidance>p{margin:8px 0}
.order-card{border:1px solid var(--sales-border);background:var(--sales-surface);border-radius:var(--k-radius-md);padding:var(--public-space-md);margin-bottom:var(--public-space-sm);min-width:0;overflow-wrap:anywhere}
.order-card h2{font-size:18px;margin:0 0 var(--public-space-sm)}
.order-item{display:flex;justify-content:space-between;align-items:start;gap:var(--public-space-sm);padding:var(--public-space-sm) 0;border-bottom:1px solid var(--sales-border)}
.order-item:first-child{padding-top:0}
.order-item:last-child{border-bottom:0}
.order-item>div{min-width:0}
.order-item h3{font-size:16px;margin:0 0 6px}
.order-item p{font-size:13px;color:var(--sales-muted);margin:0}
.order-item>strong{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-summary .sales-total{margin-bottom:0;align-items:baseline}
.order-summary .sales-total strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.order-payment .checkout-transfer-details{padding-top:0;border-top:0}
.order-payment .checkout-transfer-details h3{font-weight:500;color:var(--sales-muted)}
.order-payment .checkout-transfer-details p{font-size:16px}
.order-payment>.sales-help{margin-bottom:0}
.order-buyer dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--public-space-sm) var(--public-space-md);margin:0}
.order-buyer dl>div{min-width:0}
.order-buyer dt{font-size:12px;color:var(--sales-muted);margin-bottom:4px}
.order-buyer dd{font-size:15px;margin:0;overflow-wrap:anywhere}
.order-portal{padding:8px 0 var(--public-space-md)}
.order-portal p{font-size:14px;color:var(--sales-muted);margin:0 0 12px}
.order-team h3{font-size:15px}
.order-team details{border-top:1px solid var(--sales-border);padding-top:var(--public-space-sm);margin-top:var(--public-space-sm)}
.order-team summary{min-height:44px;display:flex;align-items:center;font-weight:600;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.order-back{font-size:14px}
@media(max-width:767px){
 .sales-public{padding:20px 16px}
 .public-profile-heading{align-items:start;margin:var(--public-space-lg) 0;gap:var(--public-space-sm)}
 .public-profile-heading .sales-avatar,.profile-monogram{width:64px;height:64px;font-size:28px}
 .public-profile-heading h1{font-size:28px}
 .public-profile-heading .sales-eyebrow{font-size:12px}
 .profile-bio{font-size:14px}
 .sales .profile-event-link{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px var(--public-space-sm);padding:20px 0;align-items:start}
 .profile-event-image{width:88px;aspect-ratio:1;grid-row:1 / span 2}
 .profile-event-copy{grid-column:2}
 .profile-event-copy h3{font-size:18px}
 .profile-event-action{grid-column:2;justify-self:start;margin-left:0;font-size:13px}
 .sales .profile-event-link:not(:has(.profile-event-image)){grid-template-columns:minmax(0,1fr)}
 .profile-event-link:not(:has(.profile-event-image)) .profile-event-copy,.profile-event-link:not(:has(.profile-event-image)) .profile-event-action{grid-column:1}
 .order-heading{align-items:start;flex-direction:column;gap:var(--public-space-sm)}
 .order-card{padding:20px}
 .order-buyer dl{grid-template-columns:minmax(0,1fr)}
 .order-guidance h2{font-size:21px}
 .order-item>strong{font-size:14px}
 .order-summary .sales-total{font-size:18px;gap:12px}
}
@media(max-width:374px){
 .sales-public .sales-header{gap:12px}
 .sales-public .sales-header>a:last-child{font-size:12px}
 .public-profile-heading{flex-direction:column}
 .sales-public .event-ticket-price{font-size:14px}
 .sales-public .event-ticket-end{gap:8px}
 .sales-public .event-ticket-row{gap:12px}
 .order-item{flex-wrap:wrap}
 .order-item>strong{margin-left:auto}
}
