:root {
    --navy: #1b365d;
    --navy-dark: #12243f;
    --gold: #c4a35a;
    --gold-dark: #9c7c32;
    --cream: #f7f1e3;
    --paper: #fffdf8;
    --ink: #222;
    --muted: #5c584f;
    --line: #e0d6c4;
    --ok: #2f6b3c;
    --bad: #8b1e1e;
    --sans: "Segoe UI", Tahoma, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    background: #fff;
    border-bottom: 4px solid var(--gold);
}
.header-inner, .staff-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 0;
}
.staff-top {
    background: var(--navy);
    color: #fff;
    padding: 12px 16px;
    border-bottom: 4px solid var(--gold);
}
.staff-top a { color: #fff; text-decoration: none; }
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.brand em { display: block; font-style: normal; color: var(--muted); font-size: 0.85rem; }
.nav, .staff-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; }
.nav-toggle {
    display: none;
    background: var(--navy);
    color: #fff;
    border: 0;
    padding: 8px 12px;
}
.hero {
    background: var(--navy);
    color: #fff;
    padding: 20px 0 22px;
    text-align: center;
    border-bottom: 5px solid var(--gold);
}
.hero h1 { font-family: var(--serif); font-size: clamp(1.55rem, 3.6vw, 2.35rem); margin: 2px 0 6px; }
.hero .tagline { font-size: 1.05rem; margin: 0; }
.hero .dates { color: var(--gold); font-weight: 700; letter-spacing: 0.04em; margin: 8px 0; }
.hero p { margin: 8px 0; }
.home-events { padding: 28px 0 48px; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--gold-dark); font-weight: 700; }
.hero .kicker { color: var(--gold); }
.page { padding: 32px 0 64px; }
.page.narrow, .narrow { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding-top: 32px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); }
.lede { font-size: 1.1rem; color: var(--muted); }
.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    text-decoration: none;
    border: 0;
    padding: 10px 18px;
    cursor: pointer;
    font-family: inherit;
}
.btn:hover { background: #d4b56e; }
.btn-small { padding: 6px 12px; font-size: 0.9rem; }
.btn-ghost { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.staff-top .btn-ghost, .staff-top .btn { }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px auto; }
.panel, .card, .ticket-card, .ticket-pass, .stat {
    background: var(--paper);
    border: 4px solid var(--line);
    padding: 20px;
}
.panel { text-decoration: none; color: inherit; display: block; }
.panel h2 { margin-top: 0; }
.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 16px 20px;
}
.form { display: grid; gap: 12px; }
.form label, fieldset { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea, .form button {
    font: inherit;
}
.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
    padding: 8px 10px;
    border: 1px solid #c9c0b0;
    background: #fff;
    font-weight: 400;
}
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row label { flex: 1; min-width: 140px; }
.address-row label:nth-child(1) { flex: 2; min-width: 140px; }
.address-row label:nth-child(2) { flex: 0 0 90px; min-width: 70px; }
.address-row label:nth-child(3) { flex: 0 0 100px; min-width: 80px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form label[hidden], .stock-day[hidden] { display: none !important; }
.form label.check {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.form label.check input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0 6px 0 0;
    padding: 0;
    border: 0;
    background: none;
}
.type-card { gap: 10px; padding: 16px; }
.type-help { margin: 0; }
.type-price { flex: 0 0 120px; min-width: 100px; }
.type-sort { flex: 0 0 88px; min-width: 72px; }
.event-form { gap: 10px; }
fieldset { border: 1px solid var(--line); padding: 16px; }
.pay-box { padding: 16px 16px 12px; }
.pay-box legend { padding: 0 6px; color: var(--navy); }
.pay-methods { display: grid; gap: 10px; }
.pay-choice { display: block; margin: 0; font-weight: 400; cursor: pointer; }
.pay-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.pay-choice-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid var(--line);
    background: #fff;
    min-height: 76px;
}
.pay-choice input:focus-visible + .pay-choice-card {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}
.pay-choice input:checked + .pay-choice-card {
    border-color: var(--navy);
    background: #f4efe3;
    box-shadow: inset 0 0 0 1px var(--gold);
}
.pay-logo {
    width: 88px;
    height: 32px;
    object-fit: contain;
    flex: 0 0 88px;
}
.pay-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-choice-card strong { display: block; color: var(--navy); font-size: 1.05rem; }
.pay-choice-card small { display: block; color: var(--muted); font-weight: 400; line-height: 1.35; }
.pay-choice-demo .pay-choice-card { background: #faf7f0; }
.muted { color: var(--muted); font-weight: 400; font-size: 0.92rem; }
.banner, .notice {
    padding: 10px 16px;
    text-align: center;
}
.banner.error, .notice.error { background: #f8e4e4; color: var(--bad); }
.banner.success, .notice.success { background: #e4f0e6; color: var(--ok); }
.site-footer {
    background: var(--navy-dark);
    color: #efe7d6;
    padding: 32px 0;
    margin-top: 48px;
}
.site-footer a { color: var(--gold); }
.site-footer h2 { color: var(--gold); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ticket-pass { text-align: center; }
.qr { display: flex; justify-content: center; margin: 12px 0; }
.qr svg, .qr img, .qr canvas, .qr table { margin: 0 auto; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.stat strong { display: block; font-size: 1.8rem; color: var(--navy); }
.staff-main { padding: 24px 0 64px; }
.pos-page .staff-main.wrap { width: min(1180px, calc(100% - 20px)); padding-top: 12px; }
.pos-event { margin-bottom: 12px; }
.pos-event select { min-width: 260px; }
.pos-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.pos-items { display: grid; gap: 8px; }
.pos-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px 132px 72px;
    gap: 8px 10px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
}
.pos-item-info strong { display: block; }
.pos-item-info span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.pos-price { font-weight: 700; color: var(--navy); text-align: right; }
.pos-qty { display: flex; align-items: center; gap: 4px; }
.pos-qty input { width: 52px; text-align: center; padding: 6px 4px; }
.pos-step {
    width: 32px;
    height: 32px;
    border: 0;
    background: var(--navy);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
}
.pos-park { font-size: 0.85rem; margin: 0; }
.pos-extra { grid-column: 1 / -1; font-size: 0.85rem; }
.pos-ticket {
    background: var(--navy);
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    border-bottom: 4px solid var(--gold);
    display: grid;
    gap: 8px;
    position: sticky;
    top: 12px;
}
.pos-ticket h2 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.pos-ticket label { color: #fff; font-size: 0.85rem; }
.pos-ticket input, .pos-ticket select {
    width: 100%;
    border: 0;
    padding: 7px 8px;
    border-radius: 4px;
}
.pos-city-row { display: grid; grid-template-columns: 1fr 58px 70px; gap: 6px; }
.pos-park-price { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.pos-total {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.25);
    font-size: 0.95rem;
}
.pos-total strong:last-of-type { font-size: 1.35rem; color: var(--gold); }
.pos-tender {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.2);
}
.pos-tender input {
    width: 100%;
}
.pos-discount-msg {
    margin: -4px 0 8px;
    min-height: 1.1em;
}
.pos-discount-msg.pos-discount-error {
    color: #f5b7b1;
}
.pos-change {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 6px;
    font-size: 0.95rem;
}
.pos-change strong { color: var(--gold); font-size: 1.1rem; }
.pos-pay { width: 100%; margin-top: 6px; font-size: 1.05rem; padding: 12px; }
.pos-pay-card { max-width: 640px; }
.pos-pay-box {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 16px;
    margin: 16px 0;
}
.pos-pay-link-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.pos-pay-link-input {
    flex: 1;
    min-width: 220px;
    font-family: Consolas, monospace;
    padding: 8px 10px;
}
.pos-card-mount {
    min-height: 120px;
    margin: 16px 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
}
.pos-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pos-terminal-status {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}
.pos-terminal-wait {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}
.pos-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-dark);
    animation: pos-pulse 1.4s infinite;
}
@keyframes pos-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
.pos-terminal-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.pos-terminal-meta li {
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) {
    .pos-shell { grid-template-columns: 1fr; }
    .pos-item { grid-template-columns: 1fr 70px; }
    .pos-qty, .pos-park { grid-column: 1 / -1; }
    .pos-ticket { position: static; }
}
.staff-body { background: #efe8d8; }
.scanner-page .staff-top { padding: 6px 10px; }
.scanner-page .brand em,
.scanner-page .brand strong { display: none; }
.scanner-page .brand { font-size: 0.95rem; }
.scanner-page .staff-main.wrap {
    width: 100%;
    max-width: none;
    padding: 8px 10px 12px;
}
.scanner-page .banner { padding: 6px 10px; }
.scan-app { display: flex; flex-direction: column; gap: 8px; }
.scan-status {
    margin: 0;
    padding: 8px 10px;
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.95rem;
}
.scan-actions { display: flex; gap: 8px; }
.scan-actions .btn { flex: 1; margin: 0; font-size: 1.1rem; padding: 12px 16px; }
#scan-start { display: block; width: 100%; margin: 0; font-size: 1.1rem; padding: 12px 16px; }
.scan-stage {
    position: relative;
    width: 100%;
    margin: 0;
    background: #000;
    overflow: hidden;
    border: 2px solid var(--navy);
}
.scan-video {
    display: block;
    width: 100%;
    height: min(48vh, 380px);
    object-fit: cover;
    background: #000;
}
.scan-manual {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.scan-manual input {
    flex: 1;
    min-width: 0;
    padding: 10px;
    font: inherit;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.scan-manual .btn { flex: 0 0 auto; }
.scan-result {
    padding: 8px 10px;
    text-align: center;
    font-size: 0.95rem;
}
.scan-result.ok { background: #e4f0e6; color: var(--ok); }
.scan-result.bad { background: #f8e4e4; color: var(--bad); }
.scan-flash {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.3;
}
.scan-flash strong {
    display: block;
    font-size: 2rem;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    font-family: var(--sans);
}
.scan-flash.ok { background: #15803d; }
.scan-flash.ok.is-sold { background: #1b365d; box-shadow: inset 0 0 0 10px #c4a35a; }
.scan-flash.bad { background: #b91c1c; }
.scan-sold {
    display: inline-block;
    margin: 6px 0 10px;
    padding: 4px 10px;
    background: #c4a35a;
    color: #12243f;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.scan-result.ok.is-sold { background: #e8e4d4; color: var(--navy); }
.scan-flash.ok.is-lifetime {
    box-shadow: inset 0 0 0 10px #c4a35a;
}
.scan-lifetime {
    display: inline-block;
    margin: 6px 0 10px;
    padding: 4px 10px;
    background: #c4a35a;
    color: #12243f;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.scan-flash.ok.has-parking {
    background: linear-gradient(180deg, #c4a35a 0 52px, #15803d 52px);
    padding-top: 28px;
}
.scan-parking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1b365d;
}
.scan-flash.ok.has-parking .scan-parking { color: #12243f; }
.scan-car { display: block; flex: 0 0 auto; }
.scan-result.has-parking { border-left: 8px solid var(--gold); }
.scan-flash-meta { margin-top: 10px; font-size: 0.95rem; opacity: 0.95; }
.scan-flash[hidden] { display: none !important; }
@media (max-width: 720px) {
    .scanner-page .scan-video { height: min(42vh, 320px); }
}
.plain { padding-left: 18px; }
.inline { display: inline-block; }
.print-body { background: #fff; }
.print-ticket { max-width: 420px; margin: 24px auto; }
.print-toolbar { padding: 16px; border-bottom: 1px solid var(--line); }
.a4-ticket {
    max-width: 8.5in;
    min-height: 10.1in;
    margin: 0 auto 16px;
    padding: 18px 22px;
    background: #fff;
    border: 3px solid var(--navy);
    box-shadow: inset 0 0 0 4px var(--gold);
    display: flex;
    flex-direction: column;
    page-break-after: always;
    break-after: page;
}
.a4-ticket:last-child { page-break-after: auto; break-after: auto; }
.a4-ticket-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.a4-ticket-head h1 { margin: 4px 0 8px; font-size: 1.8rem; }
.a4-ticket-type { font-size: 1.15rem; margin: 0; color: var(--navy); font-weight: 700; }
.a4-ticket-order {
    text-align: right;
    min-width: 180px;
}
.a4-ticket-order span, .a4-ticket-order em {
    display: block;
    color: var(--muted);
    font-style: normal;
    font-size: 0.85rem;
}
.a4-ticket-order strong {
    display: block;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--navy);
}
.a4-ticket-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
    flex: 1;
}
@media (max-width: 720px) {
    .a4-ticket { min-height: 0; }
    .a4-ticket-head { flex-direction: column; }
    .a4-ticket-order { text-align: left; }
    .a4-ticket-grid { grid-template-columns: 1fr; }
}
.a4-ticket-qr { text-align: center; }
.a4-ticket-qr .qr { margin: 0 auto 10px; }
.a4-ticket-code code { font-size: 1.15rem; letter-spacing: 0.06em; }
.a4-ticket-meta { margin: 0; }
.a4-ticket-meta div { margin-bottom: 12px; }
.a4-ticket-meta dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
    font-weight: 700;
}
.a4-ticket-meta dd { margin: 2px 0 0; }
.a4-ticket-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}
.ticket-terms {
    margin: 10px 0 8px;
    text-align: justify;
    font-size: 11px;
    line-height: 1.35;
    color: #333;
}
.ticket-terms-label {
    margin: 0 0 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555;
}
.ticket-terms p { margin: 0; }
.thermal-terms {
    font-size: 9px;
    line-height: 1.3;
    margin: 8px 2px 4px;
}
.thermal-toolbar { padding: 16px 20px 8px; max-width: 720px; border: 2px black solid; place-items: center;}
.thermal-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.thermal-stack { max-width: 80mm; margin: 0 auto 24px; }
.thermal-stack.receipt-first { display: flex; flex-direction: column; }
.thermal-stack.receipt-first .thermal-receipt { order: -1; }
.thermal-slip {
    width: 80mm;
    padding: 8px 6px 12px;
    text-align: center;
    border-bottom: 1px dashed var(--line);
    page-break-after: always;
    break-after: page;
}
.thermal-slip:last-child { page-break-after: auto; break-after: auto; }
.thermal-org { letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.thermal-slip h2 { font-size: 1.05rem; margin: 4px 0; }
.thermal-type { font-weight: 700; margin: 0 0 8px; }
.thermal-type-box {
    display: block;
    border: 3px solid #111;
    padding: 8px 6px 7px;
    margin: 8px 8px 12px;
    text-align: center;
    background: #fff;
}
.thermal-type-box strong {
    display: block;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    line-height: 1.1;
}
.thermal-type-box span {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}
.thermal-receipt { font-family: "Consolas", "Courier New", monospace; }
.thermal-store-meta { margin: 0; font-size: 0.8rem; }
.thermal-cashier {
    margin: 10px 0 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.thermal-receipt-title {
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 4px 0;
}
.thermal-rule { border-top: 1px dashed #111; margin: 8px 0; }
.thermal-thanks { font-weight: 700; margin: 8px 0 4px; }
.thermal-barcode { display: block; width: 100%; max-width: 72mm; height: 52px; margin: 8px auto 0; }
.thermal-code code { font-size: 1rem; letter-spacing: 0.05em; }
.thermal-lines { width: 100%; font-size: 0.85rem; text-align: left; border-collapse: collapse; }
.thermal-lines td { padding: 2px 0; vertical-align: top; }
.thermal-lines td:last-child { text-align: right; white-space: nowrap; }
.thermal-lines .total { font-weight: 700; font-size: 1rem; }
.thermal-cut { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; }
code { font-size: 0.95rem; }
@media (max-width: 720px) {
    .nav-toggle { display: inline-block; }
    .nav, .staff-nav { display: none; width: 100%; flex-direction: column; }
    .nav.is-open, .staff-nav.is-open { display: flex; }
    .event-row { flex-direction: column; align-items: flex-start; }
    .hero { padding: 14px 0 16px; }
}
.a4-stub-sheet {
    max-width: 8.5in;
    min-height: 10.1in;
    margin: 0 auto 16px;
    padding: 0;
    background: #fffdf8;
    border: 4px solid var(--navy);
    box-shadow: inset 0 0 0 6px var(--gold);
    display: flex;
    flex-direction: column;
    page-break-after: always;
    break-after: page;
    overflow: hidden;
}
.a4-stub-sheet:last-child { page-break-after: auto; break-after: auto; }
.a4-stub {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px 18px 16px;
}
.a4-stub.office { background: #f3ead3; }
.a4-stub-banner {
    display: block;
    align-self: stretch;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 8px 12px;
    margin: -14px -18px 12px;
    text-align: center;
}
.a4-stub-banner.office { background: var(--gold-dark); color: #fff; }
.a4-stub-body {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 20px;
    align-items: start;
    flex: 1;
}
.a4-stub h1 { margin: 4px 0 6px; font-size: 1.85rem; line-height: 1.15; }
.a4-stub h2 { margin: 4px 0 8px; font-size: 1.45rem; }
.a4-admit {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 10px;
    border: 2px solid var(--gold-dark);
    color: var(--gold-dark);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.a4-office-meta { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.a4-stub-no {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
}
.a4-stub-note { color: var(--muted); font-size: 0.95rem; }
.a4-stub-terms {
    margin-top: auto;
    padding-top: 10px;
}
.a4-stub-sign { margin-top: 22px; }
.a4-stub-sign p {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin: 14px 0;
}
.a4-stub-sign span {
    min-width: 70px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--gold-dark);
}
.a4-stub-sign em {
    flex: 1;
    border-bottom: 1px solid #111;
    font-style: normal;
    min-height: 26px;
}
.a4-stub-perf {
    margin: 0;
    padding: 8px 10px;
    border-top: 2px dashed var(--navy);
    border-bottom: 2px dashed var(--navy);
    background:
        repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 14px) top / 100% 2px no-repeat,
        #fff;
    text-align: center;
    color: var(--navy);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}
.thermal-admit {
    margin: 2px 0 8px;
    font-weight: 800;
    letter-spacing: 0.16em;
}
.thermal-copy-banner {
    margin: 0 0 8px;
    padding: 6px 4px;
    border: 3px solid #111;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.thermal-slip.is-office .thermal-copy-banner {
    background: #111;
    color: #fff;
}
.thermal-sign { margin-top: 10px; font-size: 0.9rem; }
@media (max-width: 720px) {
    .a4-stub-body { grid-template-columns: 1fr; }
}
.ltn8-sheet {
    position: relative;
    width: 11in;
    height: 8.5in;
    margin: 16px auto;
    background: #fff;
    box-shadow: 0 0 0 1px #c9c0b0;
    overflow: hidden;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
}
.ltn8-sheet:last-child { page-break-after: auto; break-after: auto; }
.ltn8-ticket {
    position: absolute;
    width: 5.5in;
    height: 2.125in;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
    page-break-after: auto;
    page-break-before: auto;
    page-break-inside: avoid;
    break-after: auto;
    break-before: auto;
    break-inside: avoid;
}
.ltn8-ticket:nth-child(1) { left: 0; top: 0; }
.ltn8-ticket:nth-child(2) { left: 5.5in; top: 0; }
.ltn8-ticket:nth-child(3) { left: 0; top: 2.125in; }
.ltn8-ticket:nth-child(4) { left: 5.5in; top: 2.125in; }
.ltn8-ticket:nth-child(5) { left: 0; top: 4.25in; }
.ltn8-ticket:nth-child(6) { left: 5.5in; top: 4.25in; }
.ltn8-ticket:nth-child(7) { left: 0; top: 6.375in; }
.ltn8-ticket:nth-child(8) { left: 5.5in; top: 6.375in; }
.ltn8-ticket.is-empty { background: transparent; }
.ltn8-stub {
    width: 2in;
    height: 2.125in;
    padding: 0.12in 0.1in 0.1in;
    box-sizing: border-box;
    text-align: center;
    background: #f3ead3;
    border-right: 1px dashed #1b365d;
    overflow: hidden;
}
.ltn8-body {
    width: 3.5in;
    height: 2.125in;
    padding: 0.1in 0.12in 0.08in;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ltn8-banner {
    margin: -0.1in -0.1in 0.06in;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}
.ltn8-banner.office { background: var(--gold-dark); color: #fff; }
.ltn8-banner.guest { background: var(--navy); color: #fff; }
.ltn8-stub .qr { width: 78px; height: 78px; margin: 0 auto; }
.ltn8-qr .qr { width: 92px; height: 92px; margin: 0 auto; }
.ltn8-stub .qr svg, .ltn8-qr .qr svg { width: 100%; height: 100%; display: block; }
.ltn8-no {
    margin: 2px 0 3px;
    font-family: var(--serif);
    font-size: 8px;
    font-weight: 700;
    color: var(--navy);
}
.ltn8-code { margin: 2px 0 0; }
.ltn8-code code { font-size: 7px; letter-spacing: 0.02em; }
.ltn8-sign { margin: 2px 0 0; font-size: 8px; color: #333; }
.ltn8-body-grid {
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 6px;
    flex: 1;
    min-height: 0;
}
.ltn8-org {
    margin: 0;
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-dark);
}
.ltn8-body h2 {
    margin: 1px 0 2px;
    font-size: 13px;
    line-height: 1.1;
}
.ltn8-admit {
    display: inline-block;
    margin: 0 0 2px;
    padding: 1px 5px;
    border: 1px solid var(--gold-dark);
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ltn8-type, .ltn8-slot, .ltn8-park, .ltn8-meta {
    margin: 0;
    font-size: 9px;
    line-height: 1.2;
}
.ltn8-terms {
    margin: 3px 0 0;
    font-size: 6.5px;
    line-height: 1.2;
    color: #444;
}
.ltn8-terms p { margin: 0; }
@media print {
    .site-header, .site-footer, .staff-top, .btn, .nav-toggle, .no-print, .print-toolbar, .thermal-toolbar { display: none !important; }
    body, .print-body, .print-a4-body, .print-ltn8-body, .thermal-body { background: #fff; }
    .a4-ticket { box-shadow: inset 0 0 0 4px #c4a35a; margin: 0; min-height: 10in; }
    .a4-stub-sheet { margin: 0; min-height: 10in; border-color: #1b365d; }
    .thermal-slip { border-bottom: 0; }
    .thermal-cut { display: none; }
    .a4-ticket-grid { grid-template-columns: 260px 1fr; }
    .a4-stub-body { grid-template-columns: 1fr 200px; }
    html, body.print-ltn8-body {
        width: 11in;
        height: auto;
        margin: 0 !important;
        padding: 0 !important;
    }
    .print-ltn8-body { margin: 0; }
    .ltn8-sheet {
        margin: 0;
        box-shadow: none;
        page-break-after: always;
        break-after: page;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    .ltn8-sheet:last-child { page-break-after: auto; break-after: auto; }
    .ltn8-ticket {
        page-break-after: auto !important;
        page-break-before: auto !important;
        break-after: auto !important;
        break-before: auto !important;
    }
    .ltn8-stub .qr, .ltn8-stub .qr img, .ltn8-stub .qr canvas {
        width: 78px !important;
        height: 78px !important;
        max-width: 78px !important;
    }
    .ltn8-qr .qr, .ltn8-qr .qr img, .ltn8-qr .qr canvas {
        width: 92px !important;
        height: 92px !important;
        max-width: 92px !important;
    }
}
