*{box-sizing:border-box}:root{--club-primary:#0b3d2e;--club-secondary:#0b6b4f;--club-primary-contrast:#fff;--club-secondary-contrast:#fff;--button-secondary-bg:#e5e7eb;--button-secondary-hover:#d0d7de;--button-secondary-text:#17202a;--button-danger:#b42318;--button-danger-hover:#912018;--button-focus:#2563eb}body{color:#17202a;background:#f4f6f8;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button{background:var(--button-secondary-bg);min-height:40px;color:var(--button-secondary-text);font:inherit;text-align:center;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:10px 16px;font-weight:700;line-height:1.2;transition:background-color .12s,border-color .12s,box-shadow .12s;display:inline-flex}button:hover:not(:disabled){background:var(--button-secondary-hover)}button:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible,.danger-button:focus-visible,.table-action-link:focus-visible{outline:3px solid color-mix(in srgb, var(--button-focus) 35%, transparent);outline-offset:2px}button:disabled,.primary-button[aria-disabled=true],.secondary-button[aria-disabled=true],.danger-button[aria-disabled=true]{cursor:not-allowed;opacity:.55}.login-page{background:linear-gradient(135deg, var(--club-primary), var(--club-secondary));justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:16px;width:380px;padding:32px;box-shadow:0 20px 50px #00000040}.login-card h1{margin:0 0 8px}.login-card p{color:#607080;margin:0 0 24px}.login-card form{flex-direction:column;gap:10px;display:flex}.login-card input{border:1px solid #d0d7de;border-radius:8px;padding:12px}.login-card button{background:var(--club-secondary);color:var(--club-secondary-contrast);margin-top:12px}.login-card button:hover:not(:disabled){background:color-mix(in srgb, var(--club-secondary) 84%, black)}.error{color:#b00020;background:#ffecec;border-radius:8px;padding:10px}.app-layout{min-height:100vh;display:flex}.sidebar{background:var(--club-primary);width:240px;color:var(--club-primary-contrast);border-right:1px solid #1118272e;padding:24px}.sidebar-title{flex-direction:column;align-items:center;margin-bottom:32px;display:flex}.sidebar-title strong{font-size:28px}.club-logo{object-fit:contain;background:#fff;border-radius:12px;width:76px;height:76px;margin-bottom:10px;padding:6px}.club-logo-settings{align-items:center;gap:18px;display:flex}.club-logo-settings img,.club-logo-settings>div:first-child{object-fit:contain;background:#fff;border:1px solid #e5e7eb;border-radius:14px;justify-content:center;align-items:center;width:140px;height:140px;padding:8px;display:flex}.sidebar-title span{color:var(--club-primary-contrast);opacity:.8}.sidebar nav{flex-direction:column;gap:8px;display:flex}.nav-section{flex-direction:column;gap:3px;margin-bottom:14px;display:flex}.nav-section>span{letter-spacing:.08em;text-transform:uppercase;opacity:.65;padding:0 12px 4px;font-size:11px;font-weight:800}.sidebar nav a{border-radius:8px;padding:12px}.sidebar nav a:hover{background:#ffffff1f}.sidebar nav a.active{background:#fff3;font-weight:750}.main-content{flex-direction:column;flex:1;display:flex}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;height:72px;padding:0 32px;display:grid}.topbar-user,.topbar-club{flex-direction:column;display:flex}.topbar-club{text-align:center;align-items:center}.topbar-club strong{font-size:18px}.topbar span{color:#607080;font-size:14px}.topbar button{justify-self:end}.page-content{padding:32px}.stats-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:16px;margin:24px 0;display:grid}.stat-card,.dashboard-section{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.bar-chart{flex-direction:column;gap:10px;display:flex}.bar-row{grid-template-columns:100px 1fr 32px;align-items:center;gap:10px;display:grid}.bar-row>div{background:#e5e7eb;border-radius:999px;height:14px;overflow:hidden}.bar-row i{background:var(--club-secondary);border-radius:inherit;height:100%;display:block}.scroll-table{max-height:360px;overflow:auto}.scroll-table thead{z-index:1;position:sticky;top:0}.stat-card span{color:#607080;margin-bottom:8px;display:block}.stat-card strong{font-size:32px}.dashboard-section{margin-bottom:16px}table{border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;overflow:hidden}th,td{text-align:left;border-bottom:1px solid #e5e7eb;padding:14px}th{color:#52616f;background:#f8fafc;font-size:14px}tr:last-child td{border-bottom:none}.page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.primary-button,button[type=submit]{background:var(--club-secondary);min-height:40px;color:var(--club-secondary-contrast);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;padding:10px 16px;font-weight:700;transition:background-color .12s,box-shadow .12s;display:inline-flex}.primary-button:hover,button[type=submit]:hover:not(:disabled){background:color-mix(in srgb, var(--club-secondary) 84%, black)}.form-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:18px;padding:24px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;display:grid}.form-card label{flex-direction:column;gap:8px;font-weight:600;display:flex}.form-card input,.form-card select,.form-card textarea{font:inherit;border:1px solid #d0d7de;border-radius:8px;padding:10px}.form-card textarea{min-height:90px}.form-actions{justify-content:flex-end;gap:12px;display:flex}.detail-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:16px;margin-bottom:16px;display:grid}.detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:16px;padding:20px}.filter-bar{align-items:end;gap:16px;margin-bottom:18px;display:flex}.filter-bar label{flex-direction:column;gap:6px;font-weight:600;display:flex}.filter-bar select{background:#fff;border:1px solid #d0d7de;border-radius:8px;min-width:190px;padding:10px}.date-input{align-items:stretch;gap:8px;display:flex}.date-input>input{flex:1;min-width:0}.date-picker-button{cursor:pointer;background:#f8fafc;border:1px solid #d0d7de;border-radius:8px;place-items:center;width:44px;min-width:44px;position:relative;overflow:hidden;display:grid!important}.date-picker-native{opacity:0;cursor:pointer;height:100%;position:absolute;inset:0;width:100%!important}.status-badge{background:#e5e7eb;border-radius:999px;padding:4px 8px;font-size:13px;font-weight:700;display:inline-flex}.status-active{color:var(--club-secondary);background:#d9fbe8}.status-injured{color:#b42318;background:#ffe4e0}.status-recovery,.status-conditioned{color:#8a5a00;background:#fff3cd}.status-suspended,.status-inactive{color:#52616f;background:#e5e7eb}.header-actions{align-items:center;gap:10px;display:flex}.secondary-button{background:var(--button-secondary-bg);min-height:40px;color:var(--button-secondary-text);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;padding:10px 16px;font-weight:700;transition:background-color .12s,box-shadow .12s;display:inline-flex}.secondary-button:hover{background:var(--button-secondary-hover)}.table-actions{flex-wrap:wrap;gap:6px;display:flex}.table-actions .table-action-link,.table-actions button{background:var(--button-secondary-bg);min-height:32px;color:var(--button-secondary-text);border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px 8px;font-size:13px;font-weight:600;display:inline-flex}.table-actions .danger-button,.danger-button{background:var(--button-danger);color:#fff;border:none;border-radius:8px;justify-content:center;align-items:center;min-height:40px;padding:10px 16px;font-weight:700;display:inline-flex}.table-actions .danger-button{border-radius:6px;min-height:32px;padding:6px 8px;font-size:13px}.table-actions .danger-button:hover,.danger-button:hover:not(:disabled){background:var(--button-danger-hover)}.table-actions button:hover:not(:disabled),.table-actions .table-action-link:hover{background:var(--button-secondary-hover)}.table-actions .danger-button:hover:not(:disabled){background:var(--button-danger-hover)}td>button{border-radius:6px;min-height:32px;padding:6px 8px;font-size:13px}.selection-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:18px}.selection-card h2{margin-top:0}.month-calendar-card{background:#fff;border:1px solid #dfe5eb;border-radius:14px;width:min(100%,680px);margin-bottom:24px;padding:18px;box-shadow:0 4px 16px #0f172a0f}.tournament-program{margin-top:1rem}.tournament-day-group+.tournament-day-group{margin-top:1.5rem}.tournament-day-group h3{text-transform:capitalize}.month-calendar-header{grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-bottom:14px;display:grid}.month-calendar-header h2{text-align:center;text-transform:capitalize;margin:0;font-size:20px}.month-calendar-header button{color:#17202a;background:#f8fafc;border:1px solid #d0d7de;border-radius:8px;width:42px;height:38px;padding:0;font-size:26px;line-height:1}.calendar-weekdays,.calendar-month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays span{color:#52616f;text-align:center;padding:5px 2px 9px;font-size:12px;font-weight:700}.calendar-day{background:#fff;border-top:1px solid #edf0f3;border-left:1px solid #edf0f3;min-height:62px;padding:6px}.calendar-day:nth-child(7n){border-right:1px solid #edf0f3}.calendar-day:nth-last-child(-n+7){border-bottom:1px solid #edf0f3}.calendar-day.outside-month{color:#9aa5b1;background:#f8fafc}.calendar-day.today .calendar-day-number{background:var(--club-primary);width:24px;height:24px;color:var(--club-primary-contrast);border-radius:50%;place-items:center;display:inline-grid}.calendar-day-number{font-size:13px;font-weight:700}.calendar-day-dots{flex-wrap:wrap;gap:4px;margin-top:7px;display:flex}.calendar-event-dot{border-radius:50%;width:9px;min-width:9px;height:9px;display:inline-block}.calendar-more-events{color:var(--muted-text,#64748b);font-size:.7rem;font-weight:700;line-height:1}a.calendar-event-dot:hover{outline-offset:1px;outline:2px solid #0f172a40}.dot-blue{background:#2563eb}.dot-orange{background:#f97316}.dot-purple{background:#9333ea}.dot-teal{background:#0d9488}.dot-green{background:#16a34a}.dot-gray{background:#64748b}.calendar-legend{border-top:1px solid #edf0f3;flex-wrap:wrap;gap:10px 18px;margin-top:16px;padding-top:14px;display:flex}.calendar-legend span,.event-type-cell{align-items:center;gap:7px;font-size:13px;font-weight:600;display:inline-flex}.month-events h2{text-transform:capitalize}.clickable-event-row{cursor:pointer}.clickable-event-row:hover,.clickable-event-row:focus{background:#f1f5f9;outline:none}@media (width<=700px){.month-calendar-card{padding:10px}.calendar-day{min-height:52px;padding:4px}.calendar-event-dot{width:8px;min-width:8px;height:8px}.month-events{overflow-x:auto}}.athlete-profile-header{grid-template-columns:260px 1fr;align-items:stretch;gap:20px;margin-bottom:20px;display:grid}.athlete-photo-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:12px;padding:18px;display:flex}.athlete-profile-photo,.athlete-profile-photo-placeholder{aspect-ratio:1;object-fit:cover;background:#e5e7eb;border-radius:14px;width:100%}.athlete-profile-photo-placeholder{color:#6b7280;justify-content:center;align-items:center;font-size:72px;font-weight:800;display:flex}.photo-upload-button{cursor:pointer;box-sizing:border-box;width:100%}.photo-upload-button input{display:none}.athlete-main-info{margin:0}.athlete-photo-cell{width:76px;min-width:76px;max-width:76px}.athlete-table-photo,.athlete-table-photo-placeholder{object-fit:cover;background:#e5e7eb;border-radius:50%;width:60px;height:60px;max-height:60px;display:block}.athlete-table-photo-placeholder{color:#6b7280;justify-content:center;align-items:center;font-size:22px;font-weight:800;display:flex}@media (width<=800px){.athlete-profile-header{grid-template-columns:1fr}}.info-box{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-bottom:16px;padding:12px 14px;font-weight:600}.section-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.section-header h2{margin-top:0}.selection-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;margin-top:16px;padding:18px}.checkbox-list{grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px;display:grid}.checkbox-row{background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:10px;padding:10px;flex-direction:row!important;font-weight:500!important;display:flex!important}.checkbox-row input{width:auto}.wide-table-wrapper{width:100%;overflow-x:auto}.stats-number-input{width:68px;min-width:68px}.stats-notes-input{width:180px;min-width:180px}.stats-save-button{white-space:nowrap;justify-content:center;min-width:92px}.success{color:#027a48;background:#ecfdf3;border:1px solid #abefc6;border-radius:10px;margin-bottom:16px;padding:12px 14px;font-weight:600}@media (width<=900px){.section-header{flex-direction:column}.checkbox-list{grid-template-columns:1fr}}.embedded-form{flex-direction:column;gap:16px;display:flex}.embedded-form label{flex-direction:column;gap:6px;font-weight:600;display:flex}.embedded-form input,.embedded-form select,.embedded-form textarea{width:100%}.embedded-form textarea{min-height:90px}.embedded-form .form-actions{margin-top:4px}.match-result-card{align-self:start}.match-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.match-result-grid label:last-child{grid-column:1/-1}.match-result-card .form-actions{justify-content:flex-end}@media (width<=720px){.match-result-grid{grid-template-columns:1fr}.match-result-grid label:last-child{grid-column:auto}}
