:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh}button,input,select,textarea{font:inherit}#root{min-height:100vh}.page{max-width:1200px;margin:0 auto;padding:48px 32px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:48px;display:flex}.eyebrow{color:#2563eb;letter-spacing:.16em;margin:0 0 8px;font-size:.8rem;font-weight:800}h1{color:#0f172a;margin:0;font-size:2.5rem;line-height:1.1}.subtitle{color:#64748b;margin:10px 0 0;font-size:1rem;line-height:1.5}.primary-button,.secondary-button{font:inherit;cursor:pointer;border-radius:8px;padding:12px 18px;font-weight:700;transition:background .15s,border-color .15s,opacity .15s}.primary-button{color:#fff;background:#1d4ed8;border:0}.primary-button:hover:not(:disabled){background:#1e40af}.secondary-button{color:#334155;background:#fff;border:1px solid #cbd5e1}.secondary-button:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.55}.text-button{color:#64748b;font:inherit;cursor:pointer;background:0 0;border:0;margin:0 0 24px;padding:0;font-size:.9rem;font-weight:700}.text-button:hover{color:#1d4ed8}.empty-state{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:64px 32px}.empty-state h2{color:#0f172a;margin:0 0 10px}.empty-state p{color:#64748b;max-width:600px;margin:0 auto 24px;line-height:1.6}.tournament-list-message{color:#64748b;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:32px;font-weight:600}.tournament-list{flex-direction:column;gap:14px;display:flex}.tournament-list-card{text-align:left;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:24px;padding:24px;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex;box-shadow:0 4px 14px #0f172a06}.tournament-list-card:hover{border-color:#bfdbfe;transform:translateY(-1px);box-shadow:0 8px 22px #0f172a12}.tournament-list-card:focus-visible{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.tournament-list-main{flex:1;min-width:0}.tournament-list-heading{align-items:center;gap:12px;margin-bottom:8px;display:flex}.tournament-list-heading h2{color:#0f172a;margin:0;font-size:1.15rem}.tournament-list-meta{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px;font-size:.9rem;display:flex}.tournament-list-arrow{color:#94a3b8;flex-shrink:0;font-size:1.4rem;font-weight:700;transition:color .15s,transform .15s}.tournament-list-card:hover .tournament-list-arrow{color:#2563eb;transform:translate(3px)}.form-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-width:1000px;padding:32px;box-shadow:0 8px 24px #0f172a0a}.tournament-form{flex-direction:column;gap:30px;display:flex}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.form-row-location{grid-template-columns:minmax(0,1fr) 120px}.form-row-three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-field{flex-direction:column;gap:7px;display:flex}.form-field span{color:#334155;font-size:.9rem;font-weight:700}.form-field input,.form-field select,.form-field textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:11px 12px;transition:border-color .15s,box-shadow .15s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.form-field input::placeholder,.form-field textarea::placeholder{color:#94a3b8}.form-field select:disabled{color:#475569;cursor:not-allowed;background:#f8fafc}.form-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:12px;margin-top:10px;padding-top:24px;display:flex}.form-section{border-bottom:1px solid #e2e8f0;flex-direction:column;gap:20px;padding-bottom:30px;display:flex}.form-section:last-of-type{border-bottom:0}.form-section-heading h2{color:#0f172a;margin:0;font-size:1.2rem}.form-section-heading p{color:#64748b;margin:5px 0 0;font-size:.9rem;line-height:1.5}.form-section-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.form-empty-row{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:20px;font-size:.9rem}.repeatable-list{flex-direction:column;gap:14px;display:flex}.repeatable-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:end;gap:12px;padding:16px;display:grid}.range-row{grid-template-columns:minmax(180px,2fr) minmax(100px,1fr) minmax(100px,1fr) minmax(100px,1fr) auto}.timeslot-row{grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) minmax(130px,1fr) auto}.remove-row-button{color:#b91c1c;height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:0 14px;font-size:.85rem;font-weight:700;transition:background .15s,border-color .15s}.remove-row-button:hover{background:#fef2f2;border-color:#fca5a5}.tournament-dashboard-header{justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:36px;display:flex}.tournament-meta{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:.95rem;display:flex}.meta-divider{color:#cbd5e1}.status-badge{color:#1d4ed8;letter-spacing:.05em;text-transform:uppercase;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;flex-shrink:0;padding:7px 12px;font-size:.75rem;font-weight:800}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.dashboard-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0;padding:24px;box-shadow:0 4px 14px #0f172a09}.dashboard-card-wide{grid-column:1/-1}.dashboard-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.dashboard-card-header h2{color:#0f172a;margin:0;font-size:1.15rem}.dashboard-card-header p{color:#64748b;margin:5px 0 0;font-size:.88rem;line-height:1.45}.dashboard-list{flex-direction:column;display:flex}.dashboard-list-row{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;display:flex}.dashboard-list-row:first-child{border-top:0;padding-top:0}.dashboard-list-row:last-child{padding-bottom:0}.dashboard-list-row>div:first-child{flex-direction:column;gap:4px;min-width:0;display:flex}.dashboard-list-row strong{color:#0f172a;font-size:.95rem}.dashboard-list-row span{color:#64748b;font-size:.85rem;line-height:1.4}.dashboard-list-value{color:#334155;flex-shrink:0;font-size:.85rem;font-weight:700}.dashboard-empty{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:24px;font-size:.9rem}.dashboard-section-heading{margin-top:42px;margin-bottom:18px}.dashboard-section-heading h2{color:#0f172a;margin:0;font-size:1.3rem}.dashboard-section-heading p{color:#64748b;margin:6px 0 0;font-size:.9rem}.operations-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.operation-card{text-align:left;min-height:120px;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;padding:22px;display:flex}.operation-card strong{color:#0f172a;font-size:1rem}.operation-card span{color:#64748b;font-size:.85rem;line-height:1.45}.operation-card:disabled{cursor:default;opacity:.72}.dashboard-back-action{margin-top:20px}.auth-page{background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:32px 20px;display:flex}.auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:440px;padding:36px;box-shadow:0 20px 45px #0f172a14}.auth-brand{margin-bottom:28px}.auth-brand h1{font-size:2rem}.auth-tabs{background:#f1f5f9;border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:28px;padding:4px;display:grid}.auth-tab{color:#64748b;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:10px 12px;font-weight:700}.auth-tab-active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #0f172a1f}.auth-form{flex-direction:column;gap:18px;display:flex}.auth-submit{width:100%;margin-top:4px}.auth-message{border-radius:8px;padding:11px 12px;font-size:.9rem;line-height:1.45}.auth-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.auth-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.auth-loading{color:#64748b;justify-content:center;align-items:center;min-height:100vh;font-weight:600;display:flex}@media (width<=900px){.dashboard-grid{grid-template-columns:1fr}.dashboard-card-wide{grid-column:auto}.operations-grid,.range-row,.timeslot-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.page{padding:28px 20px}.page-header,.tournament-dashboard-header{flex-direction:column;margin-bottom:32px}h1{font-size:2rem}.form-card{padding:24px 20px}.form-row,.form-row-location,.form-row-three{grid-template-columns:1fr}.form-section-header{flex-direction:column}.form-section-header .secondary-button{width:100%}.range-row,.timeslot-row{grid-template-columns:1fr}.remove-row-button{width:100%}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.tournament-list-card{align-items:flex-start;padding:20px}.tournament-list-heading{flex-direction:column;align-items:flex-start}.tournament-list-arrow{align-self:center}.dashboard-card{padding:20px}.dashboard-card-header{flex-direction:column}.dashboard-card-header .secondary-button{width:100%}.dashboard-list-row{flex-direction:column;align-items:flex-start;gap:8px}.operations-grid{grid-template-columns:1fr}.operation-card{min-height:105px}.status-badge{align-self:flex-start}.auth-card{padding:28px 22px}.auth-brand h1{font-size:1.75rem}}
