:root {
  --paper: #ffffff;
  --ink: #202126;
  --muted: #646873;
  --line: #e3e5ea;
  --surface: #f6f7f9;
  --accent: #4b46cf;
  --white: #ffffff;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 650; line-height: 1.13; letter-spacing: -1.5px; margin-bottom: 24px; }
h2 { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.7px; margin-bottom: 18px; }
h3 { font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; margin-bottom: 10px; }
p { margin-bottom: 18px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 10px; letter-spacing: 1.5px; font-weight: 700; line-height: 1.6; margin: 0 0 18px; color: var(--muted); }
.staging { background: var(--soft, #f1f0fc); color: var(--accent, #484292); text-align: center; font-size: 11px; font-weight: 650; letter-spacing: .03em; padding: 7px 16px; }
.staging span { padding: 0 8px; }
.booking-banner { background: var(--soft, #eeedf9); color: var(--accent, #423b8c); padding: 10px 20px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 18px; text-align: center; font-size: 12px; line-height: 1.6; }
.booking-banner strong { font-size: 11px; letter-spacing: .7px; }
.clear-event { display: block; margin-top: 20px; color: #a52e3b; font-size: 12px; text-align: left; }
.confirm-dialog { width: calc(100% - 32px); max-width: 580px; max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #18182466; overflow: auto; }
.confirm-dialog::backdrop { background: #15151ebd; }
.confirm-dialog h2 { font-size: 25px; }
.clear-event-name { font-size: 17px; font-weight: 650; margin-bottom: 10px; }
.clear-warning { background: var(--bad-bg, #fcecef); border: 1px solid var(--bad-line, #efd1d6); color: var(--bad, #7e2936); border-radius: 8px; padding: 16px; font-size: 13px; line-height: 1.6; }
.confirm-dialog .check-label { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
.confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.danger { background: #a52e3b; color: #fff; }
.danger:hover { background: #842331; color: #fff; }
.danger:disabled { cursor: not-allowed; }
.site-header { width: 100%; max-width: 1200px; padding: 14px 40px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; flex-shrink: 0; align-items: center; }
.brand-logo { width: 136px; height: auto; }
nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 24px; font-size: 13px; font-weight: 600; }
nav a { padding: 8px 0; }
nav a[aria-current="page"] { color: var(--accent); }
nav form { margin: 0; }
.nav-button { border: 0; background: transparent; padding: 0; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; }
.program { padding: 40px 40px 64px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-title .eyebrow { margin-bottom: 10px; }
.section-title h1, .section-title h2 { margin: 0; }
.program h1 { font-size: clamp(30px, 3.6vw, 38px); letter-spacing: -1px; }
.section-title p.muted { font-size: 12px; margin: 0; text-align: right; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; justify-content: center; }
.event-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.poster { display: block; position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 4.5; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.poster:hover img { transform: scale(1.02); }
.poster-placeholder { width: 100%; height: 100%; min-height: 260px; padding: 30px; background: #23232b; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.poster-placeholder span { font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; color: #c8c8d0; }
.poster-placeholder strong { display: block; font-size: clamp(28px, 3vw, 40px); line-height: 1.14; letter-spacing: -1px; font-weight: 550; overflow-wrap: anywhere; margin-bottom: 46px; }
.poster-tag { position: absolute; bottom: 18px; right: 18px; background: var(--card, #fff); color: var(--ink); padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 650; }
.event-card-body { padding: 22px; display: flex; flex-direction: column; }
.event-meta { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 17px; font-size: 12px; font-weight: 600; color: var(--muted); }
.event-card h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.6px; margin-bottom: 12px; }
.event-card .muted { font-size: 13px; margin-bottom: 24px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; font-size: 13px; font-weight: 650; }
.card-link span { font-size: 20px; line-height: 1; }
.single-event { grid-template-columns: minmax(0, 790px); }
.single-event .event-card { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.single-event .event-card-body { padding: 30px; }
.single-event .event-card h2 { font-size: 32px; }
.event-grid:not(.single-event) .poster { aspect-ratio: auto; min-height: 300px; }
.event-grid:not(.single-event) .poster img { object-fit: cover; object-position: center; }
.event-grid:not(.single-event) .poster-placeholder { min-height: 300px; padding: 20px; gap: 24px; }
.event-grid:not(.single-event) .poster-placeholder strong { font-size: 27px; }
.event-grid:not(.single-event) .event-card-body { padding: 20px; }
.event-grid:not(.single-event) .event-card h2 { font-size: 24px; }
.empty-program { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }
.site-footer { width: 100%; max-width: 1200px; margin: 0 auto; padding: 32px 40px 36px; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { display: inline-block; color: var(--ink); font-size: 14px; font-weight: 650; }
.footer-identity p { margin: 6px 0 0; font-size: 12px; }
.footer-contact h2 { color: var(--ink); font-size: 13px; font-weight: 650; letter-spacing: 0; margin-bottom: 9px; }
.footer-contact address, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-style: normal; }
.footer-links { font-size: 12px; gap: 8px; }
.auth-panel, .editor, .order-panel { max-width: 640px; margin: 54px auto; padding: 0 24px; }
.auth-panel h1, .editor h1, .order-panel h1 { font-size: 42px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack label, .event-select { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; }
.stack input, .stack select, .stack textarea, .event-select select { border: 1px solid var(--line, #d5d8e0); background: var(--white); color: var(--ink); padding: 12px 14px; min-height: 46px; border-radius: 7px; min-width: 0; width: 100%; }
.stack textarea { resize: vertical; }
.stack .check-label { flex-direction: row; align-items: flex-start; }
.stack .check-label input { width: 20px; min-height: 20px; padding: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 7px; border: 1px solid transparent; padding: 13px 20px; font-size: 13px; font-weight: 650; text-align: center; min-height: 46px; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: #3935ac; color: #fff; }
.secondary { background: var(--white); border-color: var(--line, #d5d8e0); color: var(--ink); }
.secondary:hover { background: var(--surface); color: var(--ink); }
.button span { margin-left: auto; }
.form-error { color: #a52e3b; font-size: 13px; margin: 0; min-height: 0; }
.form-error:empty { display: none; }
.event-detail { padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.detail-poster img { width: 100%; border-radius: var(--radius); }
.detail-poster .poster-placeholder { aspect-ratio: 4 / 4.5; border-radius: var(--radius); min-height: 360px; }
.detail-content h1 { font-size: 40px; margin: 18px 0 25px; }
.back { font-size: 12px; display: inline-block; margin-bottom: 24px; color: var(--muted); }
.event-facts { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; }
.event-facts strong { display: block; font-size: 14px; font-weight: 500; }
.label { font-size: 10px; letter-spacing: 1px; color: var(--muted); font-weight: 650; }
.description { font-size: 14px; color: var(--muted); line-height: 1.8; }
.checkout { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 22px; }
.checkout-top, .total { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.checkout-top { font-size: 13px; }
.checkout-top strong { font-size: 23px; font-weight: 650; white-space: nowrap; flex-shrink: 0; }
.availability { font-size: 12px; color: var(--accent); margin: 10px 0 20px; }
.availability span { color: var(--muted); }
.total { border-top: 1px solid var(--line); padding-top: 15px; font-size: 13px; }
.total strong { font-size: 22px; white-space: nowrap; }
.small { font-size: 12px; line-height: 1.7; }
.small a { text-decoration: underline; text-underline-offset: 3px; }
.centered { text-align: center; margin: 0; }
.sold-out, .status-box { background: var(--surface); padding: 20px; border-radius: 9px; font-size: 14px; border: 1px solid var(--line); }
.order-panel { max-width: 930px; }
.order-panel h1 { font-size: 46px; }
.status-box { margin: 25px 0; }
.status-box p:last-child { margin-bottom: 0; }
.demo-actions { padding: 20px; border: 1px dashed var(--line, #aeb2c3); margin: 20px 0; }
.demo-actions .button { margin-right: 10px; }
.pdf-link { margin: 5px 0 25px; }
.ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.digital-ticket { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.digital-ticket h2 { font-size: 26px; }
.digital-ticket p { font-size: 12px; }
.digital-ticket img { width: 200px; margin: 15px auto; }
.digital-ticket strong { display: block; letter-spacing: 1px; overflow-wrap: anywhere; }
.admin { padding: 42px 40px; }
.admin h1 { font-size: 40px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 32px 0; }
.metric-grid article { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.metric-grid span { display: block; font-size: 12px; color: var(--muted); }
.metric-grid strong { display: block; font-size: 36px; font-weight: 600; line-height: 1.2; margin-top: 12px; }
.admin-actions { display: flex; gap: 26px; font-size: 12px; font-weight: 650; flex-wrap: wrap; }
.group-title { font-size: 25px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 36px; }
.admin-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-event { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; min-width: 0; }
.admin-event .event-meta { margin-top: 0; }
.admin-event dl { font-size: 12px; margin: 24px 0; }
.admin-event dl div { display: flex; justify-content: space-between; padding: 5px 0; gap: 15px; }
.admin-event dt { color: var(--muted); }
.admin-event dd { margin: 0; font-weight: 600; text-align: right; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.table-wrap { overflow: auto; margin: 30px 0; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
th { text-align: left; padding: 14px; border-bottom: 2px solid var(--line); }
td { padding: 14px; border-bottom: 1px solid var(--line); }
td small { color: var(--muted); }
.badge { font-size: 10px; padding: 5px 8px; background: var(--soft, #eeedf9); color: var(--accent, #514b8b); border-radius: 4px; }
.email-notice { max-width: 320px; white-space: normal; margin: 8px 0; font-size: 12px; }
.email-notice:empty { display: none; }
.checkin { padding: 40px; max-width: 1100px; margin: auto; }
.checkin h1 { font-size: 40px; }
.event-select { max-width: 600px; margin: 30px 0; }
.scan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.scan-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.scan-panel > .button { width: 100%; margin: 10px 0; }
.scan-result { border-radius: var(--radius); padding: 40px 28px; display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 390px; text-align: center; background: var(--surface); }
.scan-result h2 { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: 0; margin: 20px 0 14px; }
.result-icon { font-size: 65px; line-height: 1; }
.scan-result.valid { background: var(--good-bg, #e4ebff); color: var(--good, #243985); }
.scan-result.used { background: var(--warn-bg, #fff1ce); color: var(--warn, #745415); }
.scan-result.invalid { background: var(--bad-bg, #fce7ea); color: var(--bad, #962c3b); }
.scan-result.unpaid { background: var(--warn-bg, #fff1ce); color: var(--warn, #745415); }
.scan-result strong { font-size: 13px; }
.scan-result p { font-size: 15px; }
.checkin #next-scan { margin: 25px 0; }
#reader video { border-radius: 7px; }
#reader { margin-bottom: 16px; }
#reader:empty { display: none; }
.qr-video { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
.scan-dialog { width: calc(100% - 32px); max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #18182466; overflow: auto; overscroll-behavior: contain; }
.scan-dialog::backdrop { background: #15151ed1; }
.scan-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; font-size: 10px; font-weight: 750; letter-spacing: 1.4px; }
.scan-dialog-close { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 28px; line-height: 1; }
.scan-dialog .scan-result { border-radius: 0; min-height: 270px; padding: 32px 24px; }
.scan-dialog .scan-result h2 { font-size: clamp(24px, 5vw, 32px); overflow-wrap: anywhere; }
.scan-dialog .scan-result strong { overflow-wrap: anywhere; }
.scan-dialog-actions { padding: 22px 24px; text-align: center; }
.scan-dialog-actions .button { width: 100%; min-height: 48px; }
.scan-dialog-actions p { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.scan-dialog-actions .check-label { display: flex; gap: 10px; text-align: left; align-items: flex-start; margin: 10px 0; }
.setup-panel { max-width: 780px; margin: 48px auto; padding: 0 28px 60px; }
.setup-panel h1 { font-size: 42px; }
.setup-note { background: var(--surface); padding: 18px; border: 1px solid var(--line); border-radius: 9px; margin: 24px 0; font-size: 14px; }
.setup-database { border: 1px solid var(--line); padding: 20px; border-radius: 9px; }
.setup-database legend { padding: 0 8px; font-weight: 600; }
.setup-checkbox { display: flex; align-items: center; gap: 10px; }
.setup-checkbox input { width: 18px; height: 18px; }
.setup-issues li { margin: 12px 0; }
.stack .setup-checkbox { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-size: 13px; }
.stack .setup-checkbox input { width: 18px; height: 18px; flex-shrink: 0; padding: 0; margin: 3px 0 0; }
.reservation-notice { background: var(--soft, #eeedf8); border: 1px solid var(--line, #d7d4ef); border-radius: 9px; padding: 18px; font-size: 13px; line-height: 1.6; }
.reservation-notice p { margin: 8px 0 14px; }
.reservation-notice .check-label { display: flex; gap: 10px; align-items: flex-start; }
.check-label input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accent); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 641px) and (max-width: 1000px) {
  .event-grid, .single-event { grid-template-columns: minmax(0, 790px); }
  .event-card, .single-event .event-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .site-header { padding: 12px 24px; }
  .program, .admin, .checkin { padding: 32px 24px 48px; }
  .event-grid { gap: 20px; }
  .single-event { grid-template-columns: minmax(0, 1fr); }
  .single-event .event-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .single-event .event-card-body { padding: 24px; }
  .single-event .event-card h2 { font-size: 28px; }
  .event-detail { padding: 32px 24px; gap: 28px; }
  .detail-content h1 { font-size: 34px; }
  .site-footer { padding: 28px 24px; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-links { grid-column: 1 / -1; flex-direction: row; gap: 24px; }
}
@media (max-width: 640px) {
  .staging { font-size: 9px; padding: 7px 10px; }
  .site-header { padding: 10px 20px; gap: 16px; }
  .brand-logo { width: 105px; }
  nav { gap: 8px 16px; font-size: 12px; }
  .nav-button { font-size: 12px; }
  .program { padding: 28px 20px 40px; }
  .section-title { align-items: start; margin-bottom: 22px; }
  .section-title p.muted { max-width: 130px; font-size: 11px; }
  .event-grid, .single-event { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .event-card, .single-event .event-card { display: block; }
  .single-event .event-card-body, .event-card-body { padding: 22px; }
  .poster { aspect-ratio: 4 / 4; }
  .poster-placeholder { padding: 28px; }
  .poster-placeholder strong { font-size: 36px; }
  .event-grid:not(.single-event) .poster { aspect-ratio: 4 / 4; min-height: 0; }
  .event-grid:not(.single-event) .poster-placeholder { min-height: 260px; padding: 28px; }
  .event-grid:not(.single-event) .poster-placeholder strong { font-size: 36px; }
  .event-grid:not(.single-event) .event-card-body { padding: 22px; }
  .event-grid:not(.single-event) .event-card h2 { font-size: 27px; }
  .single-event .event-card h2, .event-card h2 { font-size: 27px; }
  .event-detail { padding: 24px 20px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .detail-poster { width: 100%; max-width: 430px; }
  .detail-poster img { height: auto; }
  .detail-poster .poster-placeholder { min-height: 0; }
  .detail-content h1 { font-size: 36px; }
  .detail-content .back { margin-bottom: 18px; }
  .checkout { padding: 18px; }
  .auth-panel, .editor, .order-panel { margin: 36px auto; padding: 0 20px; }
  .auth-panel h1, .editor h1, .order-panel h1 { font-size: 35px; }
  .ticket-grid, .admin-event-grid, .scan-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .admin, .checkin { padding: 30px 20px; }
  .admin h1, .checkin h1 { font-size: 35px; }
  .admin .section-title { display: block; }
  .admin .section-title .button { margin-top: 20px; }
  .metric-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .metric-grid article { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px; }
  .metric-grid strong { margin: 0; font-size: 30px; }
  .admin-actions { gap: 14px; }
  .scan-result { min-height: 290px; padding: 30px 20px; }
  .scan-result h2 { font-size: 27px; }
  .scan-panel { padding: 20px; }
  .demo-actions .button { width: 100%; margin: 8px 0; }
  .form-row { gap: 16px; }
  .site-footer { padding: 28px 20px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-links { grid-column: auto; flex-wrap: wrap; gap: 12px 24px; }
  .setup-panel { margin-top: 32px; padding: 0 20px 40px; }
  .setup-panel h1 { font-size: 35px; }
  .desktop { display: none; }
}
@media (max-width: 380px) {
  .brand-logo { width: 91px; }
  nav { gap: 8px 12px; }
  .scan-dialog-header { padding: 12px 16px; }
  .scan-dialog .scan-result { padding: 24px 16px; min-height: 230px; }
  .scan-dialog-actions { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster img { transition: none; }
}

.accessibility-notice { background: var(--soft, #f3f2fc); border-left: 3px solid var(--accent, #4b46cf); border-radius: 8px; padding: 16px 20px; margin: 22px 0; }
.accessibility-notice ul { margin: 10px 0 0; padding-left: 20px; }
.accessibility-notice li + li { margin-top: 6px; }
.accessibility-notice p { margin-bottom: 0; }
.support-options { border: 1px solid var(--line, #dedee8); border-radius: 10px; min-width: 0; margin: 0; padding: 18px; }
.support-options > legend { font-weight: 600; padding: 0 6px; }
.support-options .check-label { margin-top: 14px; }
.ticket-support-row { border: 0; border-top: 1px solid var(--line, #dedee8); min-width: 0; padding: 14px 0; margin: 0; }
.ticket-support-row legend { font-size: 13px; font-weight: 600; padding: 0 8px 0 0; }
.ticket-support-row select { width: 100%; min-width: 0; }
.ticket-accessibility { font-size: 13px; line-height: 1.6; }
.ticket-support { background: var(--soft, #f3f2fc); border-radius: 6px; color: var(--accent, #343079); padding: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.checkin-support { background: var(--soft, #f3f2fc); border: 1px solid var(--line, #c9c5ef); border-radius: 8px; color: var(--accent, #343079); padding: 14px; font-size: 16px; line-height: 1.5; }
[hidden] { display: none !important; }

.event-accessibility { background: var(--soft, #f1f0ff); color: var(--accent, #30298a); border: 1px solid var(--line, #d5d0f6); border-left: 4px solid var(--accent, #4b46cf); border-radius: 8px; padding: 16px 18px; margin: 18px 0; line-height: 1.5; }
.event-accessibility .accessibility-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .6px; margin-bottom: 9px; }
.event-accessibility strong { display: block; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.event-accessibility strong + strong { margin-top: 5px; }

/* Seleção compacta dos apoios: apenas um bilhete visível de cada vez. */
#checkout-form .support-options { background: var(--card, #fff); border: 1px solid var(--line, #ddd9f0); border-radius: 14px; padding: 20px; box-shadow: 0 4px 18px rgba(34,29,70,.04); }
#checkout-form .support-options > legend { color: var(--accent, #343079); font-size: 16px; }
#checkout-form .support-options > p { margin: 0 0 18px; line-height: 1.65; }
.support-ticket-selector { display: grid; gap: 8px; font-weight: 600; }
.support-ticket-selector select { background: var(--soft, #f5f4fc); border-color: var(--line, #d9d5ef); color: var(--accent, #343079); }
#ticket-supports { margin-top: 18px; }
#ticket-supports .ticket-support-row { background: var(--surface, #fafafd); border: 1px solid var(--line, #eceaf4); border-radius: 10px; padding: 16px; }
#ticket-supports .ticket-support-row[hidden] { display: none; }
#ticket-supports .ticket-support-row legend { color: var(--accent, #343079); padding: 0 6px; }
#ticket-supports .check-label { margin: 0 0 16px; align-items: flex-start; line-height: 1.5; }
#ticket-supports .check-label input { margin-top: 2px; flex-shrink: 0; }
#ticket-supports label:not(.check-label) { display: grid; gap: 8px; }
#support-consent-label { border-top: 1px solid var(--line, #e8e5f2); padding-top: 16px; line-height: 1.6; }

#ticket-supports [data-attendee] { width: 100%; }
#ticket-supports label:not(.check-label) + .check-label { margin-top: 18px; }
#ticket-supports label:not(.check-label) + label:not(.check-label) { margin-top: 18px; }
.ticket-owner { background: var(--soft, #f5f4fc); border-radius: 6px; padding: 10px; overflow-wrap: anywhere; }
.checkin-owner { font-size: 22px; font-weight: 700; color: var(--ink, #292637); overflow-wrap: anywhere; }

#ticket-supports .form-row + .check-label { margin-top: 18px; }
#ticket-supports .form-row + label:not(.check-label) { margin-top: 18px; }
#ticket-supports [data-firstname], #ticket-supports [data-lastname] { width: 100%; min-width: 0; }

#order-ticket-manager label { display: grid; gap: 8px; }
#order-ticket-manager select { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line, #d9d5e8); border-radius: 8px; background: var(--card, #fff); color: var(--ink, #292637); font: inherit; }
#order-ticket-list { display: grid; gap: 12px; margin-top: 18px; }
.managed-ticket { background: var(--card, #fff); border: 1px solid var(--line, #dedbea); border-radius: 10px; padding: 16px; }
.managed-ticket h3 { margin: 0 0 10px; font-size: 16px; overflow-wrap: anywhere; }
.managed-ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.managed-ticket-actions .button { font-size: 13px; padding: 10px 14px; }

.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}.account-access{min-width:0;margin:0}.account-access h2,.account-access p{overflow-wrap:anywhere}.account-access select,#staff-form select{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--line, #d8d7e4);border-radius:8px;background:var(--card, #fff);color:inherit;font:inherit}

.listing-session-form{max-width:720px;margin:24px 0}.listing-session-form button{align-self:flex-start}.listing-summary{margin-top:32px}.listing-summary h2{margin-bottom:8px}.listing-table-wrap{border:1px solid var(--line, #d8d7e4);border-radius:10px;max-width:100%;background:var(--card, #fff)}.listing-table{width:100%;min-width:680px;border-collapse:collapse}.listing-table caption{text-align:left;padding:16px;font-weight:600;background:var(--soft, #f3f2fc)}.listing-table th,.listing-table td{border-right:1px solid var(--line, #e5e4ee);border-bottom:1px solid var(--line, #e5e4ee);padding:12px 14px;text-align:left;vertical-align:top}.listing-table th{background:var(--soft, #f3f2fc);font-size:13px}.listing-table tr:nth-child(even){background:var(--surface, #fafafe)}.listing-table .listing-name{min-width:220px;font-weight:600}.listing-table tbody tr:hover{background:var(--soft, #efedf9)}

#order-ticket-manager label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}#ticket-order-search{width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--line, #d9d5e8);border-radius:8px;background:var(--card, #fff);color:var(--ink, #292637);font:inherit}
.mail-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 32px}.mail-compose{max-width:760px}.notice-message{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:18px;background:var(--card, #fff);border:1px solid var(--line, #e5e4ee);border-radius:8px}#session-email-list{width:100%;padding:12px;box-sizing:border-box;border:1px solid var(--line, #d9d5e8);border-radius:8px;font:inherit}

/* Ferramentas da equipa: navegação separada do resumo dos espetáculos. */
.management-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:30px 0}
.management-actions a{display:flex;align-items:center;min-height:66px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-size:14px}
.management-actions a:hover{border-color:var(--accent);background:var(--surface, #f7f6fd)}
.security-alert-box>summary{cursor:pointer;font-weight:650}
.security-alert-box[open]>summary{margin-bottom:18px}
@media(max-width:800px){.management-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.management-actions{grid-template-columns:1fr}.management-actions a{min-height:54px;padding:14px 16px}}
