:root{color-scheme:light;background:#f6f7f9;color:#1f2933;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f6f7f9}.page-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:48px 0}.intro{padding-bottom:28px}.eyebrow{margin:0 0 12px;color:#006f61;font-size:.82rem;font-weight:700;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{max-width:760px;margin-bottom:16px;font-size:3.4rem;line-height:1.02;letter-spacing:0}.intro p:last-child{max-width:680px;color:#52616b;font-size:1.05rem;line-height:1.7}.developer-section,.events-panel,.health-panel{border-top:1px solid #d7dde3}.events-panel{display:grid;gap:24px;padding:28px 0 32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.section-heading h2{margin-bottom:8px;font-size:1.35rem}.section-heading p{margin-bottom:0;color:#52616b}.event-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,180px) minmax(150px,180px) auto;gap:12px;align-items:end}.event-filters label{display:grid;gap:6px;min-width:0;color:#33414a;font-size:.92rem;font-weight:700}.event-filters input{width:100%;min-height:42px;border:1px solid #c8d2da;border-radius:8px;background:#ffffff;color:#1f2933;font:inherit;padding:0 12px}.dev-auth-controls button:focus,.dev-auth-controls select:focus,.event-filters button:focus,.event-filters input:focus,.pagination a:focus,.secondary-action:focus{outline:3px solid #80bfff;outline-offset:2px}.filter-actions{display:flex;gap:8px;align-items:center}.event-filters button,.pagination a,.pagination span,.secondary-action{min-height:42px;border:1px solid #0b6f61;border-radius:8px;padding:10px 14px;background:#0b6f61;color:#ffffff;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.secondary-action{border-color:#c8d2da;background:#ffffff;color:#1f2933}.empty-panel,.notice-panel{border:1px solid #d7dde3;border-radius:8px;background:#ffffff;padding:18px}.notice-panel{border-color:#eed38a;background:#fff8df;color:#654500;font-weight:700}.empty-panel h3{margin:0 0 8px}.empty-panel p{margin-bottom:0;color:#52616b}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.event-card{display:grid;grid-template-rows:auto auto auto 1fr;gap:14px;min-width:0;border:1px solid #d7dde3;border-radius:8px;background:#ffffff;padding:18px}.event-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.event-card-header p{margin-bottom:0;color:#0b6f61;font-size:.9rem;font-weight:800;overflow-wrap:anywhere}.event-card h3{margin:0;font-size:1.15rem;line-height:1.28;overflow-wrap:anywhere}.event-card-link{color:#1f2933;text-decoration-color:#0b6f61;text-decoration-thickness:2px;text-underline-offset:4px}.event-card-link:focus{outline:3px solid #80bfff;outline-offset:3px}.event-meta{display:grid;gap:10px;margin:0}.event-meta div{display:grid;gap:3px}.event-meta dt{color:#52616b;font-size:.78rem;font-weight:800;text-transform:uppercase}.event-meta dd{margin:0;color:#1f2933;line-height:1.35;overflow-wrap:anywhere}.event-description{display:-webkit-box;margin:0;color:#52616b;line-height:1.55;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:4}.pagination{display:flex;align-items:center;justify-content:center;gap:12px}.pagination p{margin:0;color:#52616b;font-weight:700}.pagination span{border-color:#d7dde3;background:#eef2f5;color:#7c8993;cursor:not-allowed}.health-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:24px}.detail-heading{display:grid;gap:16px;padding-bottom:28px}.detail-heading h1{margin-bottom:0;overflow-wrap:anywhere}.detail-heading .secondary-action{width:fit-content}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:24px;border-top:1px solid #d7dde3;padding-top:28px}.detail-content,.detail-summary{min-width:0;border:1px solid #d7dde3;border-radius:8px;background:#ffffff;padding:22px}.detail-content h2{margin-bottom:14px;font-size:1.2rem}.detail-content p{margin-bottom:0;color:#33414a;font-size:1.02rem;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.detail-meta{gap:16px}.attendance-qr-panel,.attendance-summary-panel,.registration-panel{display:grid;gap:12px;margin-top:20px;border-top:1px solid #d7dde3;padding-top:18px}.attendance-qr-panel h2,.attendance-summary-panel h2,.registration-panel h2{margin-bottom:0;font-size:1rem}.attendance-qr-panel p,.attendance-summary-panel p,.registration-panel p{margin-bottom:0;color:#52616b;line-height:1.45}.attendance-qr-panel button,.attendance-summary-panel button,.registration-panel button{min-height:42px;border:1px solid #0b6f61;border-radius:8px;background:#0b6f61;color:#ffffff;font:inherit;font-weight:800;cursor:pointer}.attendance-qr-panel button:focus,.attendance-summary-panel button:focus,.registration-panel button:focus{outline:3px solid #80bfff;outline-offset:2px}.attendance-qr-panel button:disabled,.attendance-summary-panel button:disabled,.registration-panel button:disabled{cursor:not-allowed;opacity:.65}.attendance-qr-heading,.attendance-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.attendance-summary-heading{flex-wrap:wrap}.attendance-qr-status{display:grid;gap:6px}.attendance-qr-code{display:grid;justify-content:center;border:1px solid #d7dde3;border-radius:8px;background:#ffffff;padding:18px}.attendance-qr-code svg{width:min(100%,220px);height:auto}.attendance-summary-status{border:1px solid #eed38a;border-radius:8px;background:#fff8df;color:#654500;padding:10px 12px;font-weight:700}.attendance-live-screen{display:grid;gap:20px;max-width:800px;margin:0 auto;padding:20px 0}.attendance-live-card{display:grid;gap:20px;border:1px solid #d7dde3;border-radius:12px;background:#ffffff;padding:24px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.05)}.attendance-live-qr-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#ffffff;border:2px solid #0b6f61;border-radius:12px;padding:24px;margin:12px 0}.attendance-live-qr-container svg{width:min(100%,280px);height:auto}.attendance-live-timer{font-size:1.15rem;font-weight:700;color:#0b6f61}.attendance-live-info{font-size:.95rem;color:#52616b}.attendance-summary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.attendance-summary-metrics div{min-width:0;border:1px solid #d7dde3;border-radius:8px;background:#f8fafb;padding:12px}.attendance-summary-metrics dt{color:#52616b;font-size:.75rem;font-weight:800;text-transform:uppercase}.attendance-summary-metrics dd{margin:4px 0 0;color:#1f2933;font-size:1.35rem;font-weight:850;overflow-wrap:anywhere}.attendance-summary-progress{display:grid;gap:8px}.attendance-summary-progress>div{width:100%;height:12px;overflow:hidden;border-radius:999px;background:#d7dde3}.attendance-summary-progress span{display:block;height:100%;border-radius:inherit;background:#0b6f61}.attendance-summary-updated{font-size:.9rem}.check-in-panel{display:grid;gap:20px;border-top:1px solid #d7dde3;padding-top:28px}.camera-shell,.check-in-status,.manual-check-in{border:1px solid #d7dde3;border-radius:8px;background:#ffffff;padding:18px}.check-in-status{display:grid;gap:8px}.camera-shell p,.check-in-status p{margin-bottom:0;color:#52616b;line-height:1.45}.camera-preview{display:grid;place-items:center;width:min(100%,420px);min-height:260px;margin-top:14px;overflow:hidden;border:1px dashed #9aa8b3;border-radius:8px;background:#eef2f5}.camera-preview video{max-width:100%;height:auto}.check-in-actions{display:flex;flex-wrap:wrap;gap:10px}.check-in-actions button,.manual-check-in button{min-height:42px;border:1px solid #0b6f61;border-radius:8px;background:#0b6f61;color:#ffffff;font:inherit;font-weight:800;cursor:pointer}.check-in-actions button{padding:0 14px}.check-in-actions button:focus,.manual-check-in button:focus,.manual-check-in textarea:focus{outline:3px solid #80bfff;outline-offset:2px}.check-in-actions button:disabled,.manual-check-in button:disabled{cursor:not-allowed;opacity:.65}.manual-check-in{display:grid;gap:12px}.manual-check-in label{display:grid;gap:6px;color:#33414a;font-weight:800}.manual-check-in textarea{width:100%;resize:vertical;border:1px solid #c8d2da;border-radius:8px;color:#1f2933;font:inherit;line-height:1.45;padding:10px 12px}.health-panel h2{margin-bottom:8px;font-size:1rem}.health-panel p{margin-bottom:0;color:#52616b}.developer-section{margin-top:24px}.dev-auth-panel{display:grid;gap:16px;padding-top:24px}.dev-auth-panel h2{margin-bottom:8px;font-size:1rem}.dev-auth-panel p{margin-bottom:0;color:#52616b}.dev-auth-controls{display:flex;flex-wrap:wrap;gap:8px}.dev-auth-controls button,.dev-auth-controls select{min-height:40px;border:1px solid #cfd8df;border-radius:8px;background:#ffffff;color:#1f2933;font:inherit}.dev-auth-controls select{min-width:min(100%,280px);padding:0 10px}.dev-auth-controls button{padding:0 14px;font-weight:700;cursor:pointer}.dev-auth-controls button:disabled{cursor:not-allowed;opacity:.65}[data-tone]{display:inline-flex;align-items:center;min-height:36px;border:1px solid #cfd8df;border-radius:8px;padding:8px 12px;background:#ffffff;color:#1f2933;font-size:.92rem;font-weight:700;white-space:normal}[data-tone=success]{border-color:#a7d8c5;background:#ecf8f2;color:#006f61}[data-tone=warning]{border-color:#eed38a;background:#fff8df;color:#7a5600}@media (max-width:700px){.page-shell{padding:40px 0}h1{font-size:2.25rem}.health-panel,.section-heading{align-items:flex-start;flex-direction:column}.event-filters{grid-template-columns:1fr}.filter-actions{align-items:stretch;flex-direction:column}.attendance-summary-metrics,.detail-layout,.event-grid{grid-template-columns:1fr}.pagination{align-items:stretch;flex-direction:column}.pagination a,.pagination p,.pagination span{text-align:center}}@media (min-width:701px) and (max-width:1040px){.event-filters,.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.club-selector{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:1rem}.club-selector-item{padding:.5rem 1rem;border-radius:.5rem;border:1px solid var(--border,#e2e8f0);text-decoration:none;color:inherit;font-size:.875rem;transition:background-color .15s,border-color .15s}.club-selector-item:hover{background-color:var(--surface-hover,#f1f5f9)}.club-selector-item[data-active=true]{background-color:var(--accent-bg,#dbeafe);border-color:var(--accent,#3b82f6);font-weight:600}.status-counts{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-block:1rem}.status-count-card{padding:.75rem;border-radius:.5rem;border:1px solid var(--border,#e2e8f0);text-align:center}.status-count-value{font-size:1.5rem;font-weight:700;line-height:1}.status-count-label{font-size:.75rem;color:var(--text-muted,#64748b);margin-top:.25rem}.dashboard-nav{margin-bottom:1rem}