/* Check-in components share the existing MPB brand tokens. */
.checkin-page [hidden], .admin-page [hidden], .staff-page [hidden] { display: none !important; }
.checkin-page { background: #f2f5fa; }
.checkin-shell { padding: 0 16px 28px; }
.checkin-brandbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -16px; padding: 17px 20px; background: #1248c8; color: #fff; }
.checkin-brandbar img { display: block; width: 119px; height: 34px; object-fit: contain; }
.checkin-brandbar > span { font-size: 12px; white-space: nowrap; color: #dfeaff; }
.checkin-event-head { position: relative; min-height: 144px; padding: 22px 90px 20px 2px; }
.checkin-event-head .mpb-kicker { margin: 0 0 8px; min-height: 23px; font-size: 11px; }
.checkin-event-head h1 { margin: 0 0 8px; font-size: 21px; line-height: 1.45; color: #1b2b46; overflow-wrap: anywhere; }
.checkin-event-head > p:last-of-type { margin: 0; color: #627087; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.checkin-mascot { position: absolute; right: 0; bottom: 16px; width: 78px; height: 110px; object-fit: contain; }
.checkin-panel { padding: 20px; border: 1px solid #e2e8f2; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px #20325108; }
.checkin-panel .field { margin: 0; }
.checkin-panel input { min-height: 50px; width: 100%; font-size: 16px; background: #f8faff; border-color: #ccd9ee; }
.checkin-company-results { display: grid; gap: 8px; margin-top: 12px; max-height: 224px; overflow-y: auto; }
.checkin-company-results .empty { margin: 0; padding: 14px; font-size: 12px; text-align: left; }
.checkin-company-option { display: flex; justify-content: space-between; align-items: center; min-height: 66px; width: 100%; gap: 12px; padding: 12px; border: 1px solid #e0e6ef; border-radius: 7px; text-align: left; background: #fff; box-shadow: none; color: #243853; font-weight: 400; }
.checkin-company-option:hover { background: #f6f9ff; border-color: #b8cdf2; }
.checkin-company-option.is-selected { background: #eff5ff; border-color: #175cd3; }
.checkin-company-option > span:first-child { min-width: 0; }
.checkin-company-option strong { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.checkin-company-option small { display: block; margin-top: 4px; font-size: 12px; color: #627087; }
.checkin-company-option .status-chip { flex-shrink: 0; }
.checkin-circle { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 192px; height: 192px; min-height: 192px; flex-shrink: 0; margin: 26px auto 0; padding: 12px; border: 9px solid #edf0f5; border-radius: 50%; background: #dce2eb; color: #758297; box-shadow: 0 0 0 1px #e8edf3; cursor: not-allowed; transform: none; }
.checkin-circle span { font-size: 32px; font-weight: 700; line-height: 1.4; }
.checkin-circle small { margin-top: 6px; font-size: 12px; font-weight: 400; }
.checkin-circle:disabled, .checkin-circle:disabled:hover { background: #dce2eb; color: #67758a; transform: none; opacity: 1; box-shadow: 0 0 0 1px #e8edf3; cursor: not-allowed; }
.checkin-circle.is-ready, .checkin-circle.is-ready:hover { border-color: #e5efff; background: #175cd3; color: #fff; box-shadow: 0 6px 22px #175cd32b; cursor: pointer; transform: none; }
.checkin-circle.is-ready:active { background: #1248b8; box-shadow: 0 0 0 4px #cddfff; }
.checkin-circle.is-complete:disabled { border-color: #e1f5ec; background: #087443; color: #fff; }
.checkin-clock { display: grid; justify-items: center; gap: 5px; margin: 16px 0 20px; font-variant-numeric: tabular-nums; }
.checkin-clock strong { font-size: 14px; font-weight: 500; color: #5f6d80; }
.checkin-clock > span { font-size: 25px; color: #253651; font-weight: 600; line-height: 1.3; }
.checkin-location-status { display: grid; gap: 6px; min-height: 79px; padding: 14px; border: 1px solid #e2e7ef; border-radius: 7px; text-align: center; background: #f7f9fc; }
.checkin-location-status strong { font-size: 14px; line-height: 1.5; }
.checkin-location-status span { font-size: 12px; color: #637086; line-height: 1.8; overflow-wrap: anywhere; }
.checkin-location-status.is-ready { background: #eff9f4; border-color: #c8e7d6; }
.checkin-location-status.is-ready strong { color: #087443; }
.checkin-location-status.is-outside { border-color: #efdfb7; background: #fffaf0; }
.checkin-location-status.is-outside strong { color: #8f6419; }
.checkin-location-status.is-error { border-color: #f1cece; background: #fff6f5; }
.checkin-location-status.is-error strong { color: #b42318; }
.checkin-retry { display: block; width: 100%; margin-top: 12px; min-height: 44px; font-size: 14px; }
.checkin-privacy { margin: 16px 0 0; font-size: 11px; color: #79869a; line-height: 1.8; text-align: center; }
.checkin-footer { padding: 22px 0 4px; color: #8691a3; text-align: center; font-size: 12px; }
.checkin-page button:focus-visible, .checkin-roster-host button:focus-visible { outline: 3px solid #e3b925; outline-offset: 3px; }
.checkin-summary .admin-metric { text-align: left; background: #fff; border: 1px solid #e3e8f0; color: #243853; box-shadow: none; cursor: pointer; }
.checkin-summary .admin-metric.is-active { border-color: #175cd3; background: #f4f8ff; }
.checkin-admin-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr); gap: 20px; margin-bottom: 20px; align-items: start; }
.checkin-admin-grid > .admin-panel { min-width: 0; margin: 0; }
.checkin-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkin-settings-grid > .field { min-width: 0; }
.checkin-settings-grid input, .checkin-settings-grid select { min-width: 0; width: 100%; }
.checkin-address-field { grid-column: 1 / -1; }
.checkin-setting-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.checkin-setting-actions button { padding: 10px 14px; }
.checkin-setting-actions .check-control { white-space: normal; font-size: 13px; }
.checkin-notice-panel { border-left: 3px solid #e4bb28; background: #fffdf5; }
.checkin-notice-panel h2 { margin-top: 8px; font-size: 18px; }
.checkin-notice-panel > p:not(.eyebrow) { margin: 12px 0; color: #647084; font-size: 13px; line-height: 1.9; }
.checkin-notice-panel > a { font-size: 14px; }
.checkin-filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.checkin-filter-bar > input, .checkin-filter-bar > select { width: 100%; min-width: 0; }
.checkin-roster-group { margin-top: 20px; }
.checkin-roster-group > h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 15px; }
.checkin-roster-group > h3 small { color: #79869a; font-size: 12px; font-weight: 400; }
.checkin-roster-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid #e9edf3; }
.checkin-booth { display: flex; align-items: center; justify-content: center; width: 60px; min-height: 45px; padding: 8px 3px; border-radius: 6px; background: #eef3fb; font-size: 15px; font-weight: 700; color: #1753ad; overflow-wrap: anywhere; }
.checkin-company-meta { display: grid; gap: 5px; min-width: 0; }
.checkin-company-meta strong { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.checkin-company-meta > span { font-size: 12px; color: #637086; overflow-wrap: anywhere; }
.checkin-company-meta > small { color: #8892a3; font-size: 11px; }
.checkin-roster-row .row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.checkin-roster-row .row-actions button, .checkin-roster-row .call-link { min-height: 38px; padding: 9px 12px; font-size: 12px; border-radius: 6px; white-space: nowrap; }
.checkin-roster-row .call-link { display: inline-flex; align-items: center; background: #175cd3; color: #fff; text-decoration: none; }
.checkin-roster-host .status { min-height: 20px; overflow-wrap: anywhere; }
.checkin-details-dialog { max-height: 88vh; overflow-y: auto; }
.checkin-detail-body { padding: 24px; }
.checkin-detail-body h3 { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.checkin-detail-body .admin-panel-head { margin-bottom: 16px; }
.checkin-detail-facts { display: grid; gap: 0; margin: 0; }
.checkin-detail-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf0f4; font-size: 13px; line-height: 1.7; }
.checkin-detail-facts dt { color: #788397; }
.checkin-detail-facts dd { margin: 0; overflow-wrap: anywhere; }
.checkin-audit-list article { padding: 12px 0; border-top: 1px solid #edf0f4; }
.checkin-audit-list article strong { display: block; font-size: 13px; }
.checkin-audit-list article span { display: block; margin-top: 5px; font-size: 11px; color: #788397; line-height: 1.7; }
.checkin-audit-list article p { font-size: 13px; line-height: 1.7; margin: 6px 0 0; overflow-wrap: anywhere; }
.checkin-details-dialog form { padding: 0; margin-top: 18px; border-top: 1px solid #dde5f1; gap: 12px; }
.checkin-details-dialog form .panel-description, .checkin-details-dialog form h3 { margin: 0; }
.checkin-details-dialog form h3 { margin-top: 15px; }
.checkin-details-dialog form .field { margin: 0; }
.checkin-internal-notice { padding: 10px 12px; margin: 0 0 16px; border-left: 3px solid #d5aa2b; font-size: 11px; line-height: 1.8; color: #7d681f; background: #fffbef; }
.staff-page .mobile-service-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.staff-page .mobile-service-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: start; min-width: 0; gap: 8px; padding: 10px; color: #41516b; background: #f7f9fd; text-align: left; box-shadow: none; border: 1px solid #e0e7f2; transform: none; }
.staff-page .mobile-service-card.is-active { color: #175cd3; background: #edf4ff; border-color: #a5c5f6; }
.staff-page .mobile-service-card strong { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.staff-page .mobile-service-card small { font-size: 10px; line-height: 1.5; }
.staff-page .mobile-service-card .service-icon { width: 25px; height: 25px; min-width: 25px; font-size: 10px; }
.staff-checkin-panel .admin-metric-grid { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.staff-checkin-panel .admin-metric { padding: 13px 10px; }
.staff-checkin-panel .admin-metric strong { font-size: 26px; }
.staff-checkin-panel .admin-metric span { font-size: 12px; }
.staff-checkin-panel .admin-metric small { font-size: 10px; }
.staff-checkin-panel .admin-panel { padding: 0; border: 0; box-shadow: none; background: transparent; }
.staff-checkin-panel .admin-panel-head h2 { font-size: 17px; }
.staff-checkin-panel .checkin-roster-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
.staff-checkin-panel .checkin-booth { width: 48px; font-size: 13px; }
.staff-checkin-panel .checkin-roster-row .row-actions { grid-column: 2 / -1; }
.staff-checkin-panel .checkin-company-meta strong { font-size: 13px; }
.staff-checkin-panel .checkin-filter-bar { grid-template-columns: minmax(0, 1fr) 100px; }
.staff-checkin-panel .checkin-filter-bar > input, .staff-checkin-panel .checkin-filter-bar > select { height: 44px; padding: 8px; font-size: 13px; }
.admin-page .admin-qr-dock > div:first-child { min-width: 130px; flex: 0 1 170px; }
.admin-page .admin-qr-dock > div:first-child small { white-space: normal; }
.admin-page .admin-qr-row { min-width: 0; overflow-x: auto; gap: 12px; }
.admin-page .admin-qr-row article { min-width: 128px; }
.admin-page .admin-qr-row article small { max-width: 110px; }

@media (max-width: 1180px) {
  .checkin-admin-grid { grid-template-columns: minmax(0, 1fr); }
  .checkin-notice-panel { padding: 16px 20px; }
  .checkin-roster-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .checkin-roster-row .row-actions { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .admin-page .admin-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-page .admin-nav-item { padding: 8px 4px; font-size: 12px; }
  .checkin-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .checkin-summary .admin-metric { padding: 15px 10px; }
  .checkin-summary .admin-metric strong { font-size: 28px; }
  .checkin-summary .admin-metric span { font-size: 12px; }
  .checkin-summary .admin-metric small { font-size: 10px; }
  .checkin-setting-actions { align-items: stretch; }
  .checkin-setting-actions button { flex: 1 1 45%; }
  .checkin-detail-body { padding: 18px; }
  .checkin-detail-facts > div { grid-template-columns: 84px minmax(0, 1fr); }
  .checkin-roster-row { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .checkin-booth { width: 48px; font-size: 13px; }
  .checkin-filter-bar { grid-template-columns: minmax(0, 1fr) 106px; }
  .admin-page .admin-qr-dock { flex-wrap: wrap; }
  .admin-page .admin-qr-row { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .checkin-settings-grid { grid-template-columns: minmax(0, 1fr); }
  .checkin-shell { padding-right: 10px; padding-left: 10px; }
  .checkin-brandbar { margin-right: -10px; margin-left: -10px; }
  .checkin-panel { padding: 16px; }
  .staff-page .mobile-service-card { padding: 8px 6px; }
  .staff-page .mobile-service-card small { display: none; }
  .staff-checkin-panel .checkin-roster-row { grid-template-columns: 44px minmax(0, 1fr); }
  .staff-checkin-panel .checkin-roster-row > .status-chip { grid-column: 2; justify-self: start; }
}
.venue-search-field { min-width: 0; }
.venue-search-field > .field { margin-bottom: 8px; }
.venue-search-row { display: flex; align-items: stretch; gap: 8px; }
.venue-search-row input { flex: 1; min-width: 0; }
.venue-search-row button { flex: 0 0 auto; min-width: 96px; white-space: nowrap; }
.venue-search-results { display: grid; gap: 0; max-height: 268px; margin-top: 8px; overflow-y: auto; border: 1px solid #dbe3ef; border-radius: 6px; }
.venue-candidate { display: grid; gap: 5px; padding: 12px 14px; background: #fff; color: #24344d; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; text-align: left; box-shadow: none; white-space: normal; transform: none; }
.venue-candidate:last-child { border-bottom: 0; }
.venue-candidate:hover, .venue-candidate[aria-pressed="true"] { background: #edf4ff; color: #175cd3; transform: none; }
.venue-candidate strong { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.venue-candidate span { color: #637086; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.venue-map-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 18px 0 10px; color: #41516b; font-size: 13px; }
.venue-map-toolbar button { padding: 6px 10px; font-size: 12px; }
.venue-map-canvas { width: 100%; height: 320px; min-width: 0; z-index: 0; border: 1px solid #dde5f1; border-radius: 6px; background: #f2f5f9; overflow: hidden; }
.venue-map-status { margin-top: 8px; font-size: 12px; }
@media (max-width: 760px) { .venue-map-canvas { height: 260px; } }
@media print {
  .admin-page .admin-qr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .admin-page .admin-qr-row article { break-inside: avoid; }
  .admin-page .admin-qr-row article small { max-width: none; }
}
