.booking-dashboard { padding: 30px 84px 36px 20px; color: #213347; font-family: Tahoma, sans-serif; font-size: 16px; scroll-margin-top: 120px; }
.dashboard-back-to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 5; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 8px 12px; color: #fff; background: #235cab; border: 1px solid #1d4f94; border-radius: 12px; box-shadow: 0 3px 12px #21334733; font: 700 14px/1.5 Tahoma, sans-serif; text-decoration: none; }
.dashboard-back-to-top:hover { color: #fff; background: #1d4f94; }
.dashboard-back-to-top:focus-visible { outline: 3px solid #f2b72d; outline-offset: 4px; }
.dashboard-back-to-top-arrow { font-size: 24px; line-height: 1; }
.dashboard-back-to-top-text { display: none; }
@media (min-width: 1800px) {
    .booking-dashboard { padding-right: 20px; }
    .dashboard-back-to-top-text { display: inline; }
}
@media print {
    .dashboard-back-to-top { display: none; }
    .booking-dashboard { padding-right: 20px; }
}
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: #eff6ff; border: 1px solid #d8e6fb; border-radius: 12px; }
.dashboard-eyebrow { margin: 0 0 8px; color: #3f587a; font-size: 14px; }
.dashboard-heading h1 { margin: 0; color: #163e78; font-size: 28px; font-weight: 700; line-height: 1.4; }
.dashboard-event { margin-top: 8px; font-size: 18px; }
.dashboard-description { margin-top: 8px; color: #4d6179; font-size: 14px; line-height: 1.7; }
.dashboard-refresh { flex-shrink: 0; padding: 10px 16px; color: #164e9b; background: #fff; border: 1px solid #9dbce2; border-radius: 6px; font-size: 16px; white-space: nowrap; }
.dashboard-refresh:hover { color: #123f80; background: #e1edff; }
.dashboard-updated { margin: 12px 0 24px; color: #53677b; font-size: 14px; line-height: 1.7; }
.dashboard-zone-notice { margin: 0 0 24px; padding: 14px 18px; color: #46556b; background: #f0f3f7; border: 1px solid #c8d1dc; border-radius: 8px; font-size: 14px; line-height: 1.7; }
.dashboard-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.dashboard-stat { padding: 18px; background: #fff; border: 1px solid #dce4ed; border-top: 4px solid #8e9eb3; border-radius: 8px; }
.dashboard-stat--total { background: #eff6ff; border-color: #c4d8f4; border-top-color: #2864b7; }
.dashboard-stat--closed { background: #f5f6f8; border-top-color: #8a96a6; }
.dashboard-stat--pending { border-top-color: #c08c14; }
.dashboard-stat--complete { border-top-color: #16804a; }
.dashboard-stat--unknown { border-top-color: #687186; }
.dashboard-stat-label { display: block; min-height: 42px; color: #43576e; font-size: 14px; line-height: 1.5; }
.dashboard-stat strong { display: block; margin-top: 8px; color: #213347; font-size: 34px; font-weight: 700; line-height: 1.2; }
.dashboard-stat--total strong { color: #163e78; }
.dashboard-stat-unit { display: block; margin-top: 5px; color: #62748a; font-size: 14px; }
.dashboard-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; padding: 20px; background: #f7f9fc; border: 1px solid #dce4ed; border-radius: 10px; }
.dashboard-filter-field { flex: 1 1 245px; min-width: 0; }
.dashboard-filter-field--search { flex-grow: 2; }
.dashboard-filter-field label { display: block; margin-bottom: 8px; color: #283e56; font-size: 16px; font-weight: 700; }
.dashboard-filter-field input, .dashboard-filter-field select { display: block; box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px; color: #213347; background: #fff; border: 1px solid #9aacbf; border-radius: 6px; font-family: inherit; font-size: 16px; }
.dashboard-filter-field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%234d6179' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.dashboard-filter-field input::placeholder { color: #71839a; opacity: 1; }
.dashboard-filter-field input:focus, .dashboard-filter-field select:focus { outline: 3px solid #c7ddff; outline-offset: 1px; border-color: #245bba; }
.dashboard-filter-actions { display: flex; align-items: center; gap: 14px; min-height: 46px; }
.dashboard-filter-actions button { min-height: 46px; padding: 10px 22px; color: #fff; background: #235cab; border: 1px solid #1d4f94; border-radius: 6px; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.dashboard-filter-actions button:hover { background: #1d4f94; }
.dashboard-filter-actions a { color: #164e9b; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dashboard-results-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 8px; }
.dashboard-results-heading h2 { margin: 0; color: #213347; font-size: 22px; font-weight: 700; }
.dashboard-results-heading p { color: #53677b; font-size: 14px; }
.dashboard-table-help { margin: 0 0 12px; color: #53677b; font-size: 14px; line-height: 1.7; }
.dashboard-table-scroll { max-height: none; overflow: visible; border: 1px solid #cbd7e5; border-radius: 10px; background: #fff; }
.dashboard-table-scroll:focus-visible, .dashboard-refresh:focus-visible, .dashboard-filter-actions button:focus-visible, .dashboard-filter-actions a:focus-visible { outline: 3px solid #245bba; outline-offset: 3px; }
.dashboard-table { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0; border: 0; font-size: 16px; line-height: 1.6; }
.dashboard-table th, .dashboard-table td { padding: 14px 16px; text-align: left; vertical-align: middle; border: 0; border-bottom: 1px solid #e3eaf1; }
.dashboard-table thead th { position: sticky; top: 0; z-index: 1; color: #294c77; background: #eaf2fd; box-shadow: 0 1px 0 #cbd7e5; font-size: 14px; font-weight: 700; white-space: nowrap; }
.dashboard-table tbody tr:last-child > * { border-bottom: 0; }
.dashboard-table tbody tr:nth-child(even) { background: #f8fafc; }
.dashboard-table tbody tr:hover { background: #eff6ff; }
.dashboard-order { width: 78px; color: #62748a; }
.dashboard-seat { width: 140px; color: #164e9b; font-weight: 700; white-space: nowrap; }
.dashboard-zone { width: 75px; }
.dashboard-booker { min-width: 0; max-width: 360px; overflow-wrap: anywhere; }
.dashboard-no-booker { color: #7a899b; }
.dashboard-status { display: inline-block; max-width: 100%; padding: 5px 10px; border: 1px solid; border-radius: 6px; font-size: 14px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.dashboard-status--available { color: #4e6077; background: #eef2f6; border-color: #d0dae5; }
.dashboard-status--closed { color: #46556b; background: #dce1e8; border-color: #8a96a6; }
.dashboard-status--pending { color: #755100; background: #fff4d3; border-color: #e8cb7c; }
.dashboard-status--complete { color: #17633c; background: #e5f5eb; border-color: #aed7bf; }
.dashboard-status--unknown { color: #4f586b; background: #f0f1f5; border-color: #a3adbd; border-style: dashed; }
.dashboard-empty { padding: 36px 20px !important; color: #53677b; text-align: center !important; }
.dashboard-empty a { margin-left: 8px; color: #164e9b; text-decoration: underline; text-underline-offset: 3px; }
.dashboard-summary-note { margin: 14px 0 0; color: #53677b; font-size: 14px; line-height: 1.7; }
.dashboard-error { padding: 20px; color: #9c233b; background: #fff0f3; border: 1px solid #efbbc5; border-radius: 8px; }
.dashboard-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dashboard-table--finance { table-layout: fixed; }
.dashboard-table--finance .dashboard-order, .dashboard-table--finance .dashboard-seat, .dashboard-table--finance .dashboard-zone { width: auto; }
.dashboard-table--finance thead th:nth-child(1) { width: 7%; }
.dashboard-table--finance thead th:nth-child(2) { width: 12%; }
.dashboard-table--finance thead th:nth-child(3) { width: 7%; }
.dashboard-table--finance thead th:nth-child(4) { width: 30%; }
.dashboard-table--finance thead th:nth-child(5) { width: 28%; }
.dashboard-table--finance thead th:nth-child(6) { width: 16%; }
.dashboard-slip-link { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; color: #164e9b; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.dashboard-slip-link:hover { color: #123f80; }
.dashboard-slip-link:focus-visible { outline: 3px solid #245bba; outline-offset: 3px; }
.dashboard-slip-thumbnail { display: block; flex: 0 0 auto; width: 56px; max-width: 100%; height: 70px; object-fit: contain; background: #fff; border: 1px solid #cbd7e5; border-radius: 4px; }
.dashboard-no-slip { color: #7a899b; font-size: 14px; }
@media (max-width: 700px) {
    .booking-dashboard { padding: 16px 76px 24px 10px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px; }
    .dashboard-heading h1 { font-size: 24px; }
    .dashboard-event { font-size: 16px; }
    .dashboard-summary { gap: 12px; }
    .dashboard-stat { padding: 16px; }
    .dashboard-filters { padding: 18px; }
    .dashboard-filter-field { flex-basis: 100%; }
    .dashboard-filter-actions { width: 100%; }
    .dashboard-filter-actions button { flex: 1; }
    .dashboard-table { table-layout: fixed; font-size: 14px; }
    .dashboard-table th, .dashboard-table td { padding: 10px 6px; overflow-wrap: anywhere; }
    .dashboard-table thead th { white-space: normal; }
    .dashboard-table thead th:nth-child(1) { width: 13%; }
    .dashboard-table thead th:nth-child(2) { width: 18%; }
    .dashboard-table thead th:nth-child(3) { width: 9%; }
    .dashboard-table thead th:nth-child(4) { width: 29%; }
    .dashboard-table thead th:nth-child(5) { width: 31%; }
    .dashboard-order, .dashboard-seat, .dashboard-zone { width: auto; }
    .dashboard-status { padding: 4px 6px; }
    .dashboard-table--finance th, .dashboard-table--finance td { padding: 10px 4px; }
    .dashboard-table--finance .dashboard-zone { display: none; }
    .dashboard-table--finance thead th:nth-child(1) { width: 13%; }
    .dashboard-table--finance thead th:nth-child(2) { width: 15%; }
    .dashboard-table--finance thead th:nth-child(3) { display: none; }
    .dashboard-table--finance thead th:nth-child(4) { width: 25%; }
    .dashboard-table--finance thead th:nth-child(5) { width: 27%; }
    .dashboard-table--finance thead th:nth-child(6) { width: 20%; }
    .dashboard-table--finance .dashboard-slip-link { flex-direction: column; gap: 4px; }
    .dashboard-table--finance .dashboard-slip-thumbnail { width: 48px; height: 60px; }
}
