:root{font-family:Inter,system-ui,Arial,sans-serif;color:#3b0a2a;background:#fff;--bg: #fff1f7;--panel: #ff2f92;--line: #e5e7eb;--text: #3b0a2a;--muted: #7c6b75;--primary: #e7ff3c;--primary-soft: #fce7f3;--success: #22c55e;--danger: #ef4444;--sidebar: #4a0033;--sidebar-text: #fbcfe8;--sidebar-active: #6b0f4a}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:var(--bg);color:#2a0020}button,input,select,textarea{font:inherit}.page{min-height:100vh;padding:24px}.topbar{width:min(2800px,100%);margin:0 auto 24px;display:flex;justify-content:space-between;align-items:end;gap:24px}.grid-8{width:min(2800px,100%);margin:0 auto;gap:24px;align-items:start;display:grid;grid-template-columns:repeat(8,1fr)}.bottom-grid{margin-top:24px}.card{background:var(--panel);border-radius:16px;padding:24px;box-shadow:0 10px 30px #00000014}h1,h2{margin-top:0}p{margin-bottom:0}.form{display:grid;gap:16px}label{display:grid;gap:8px}input,select,textarea{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;background:#fff}button{background:#e7ff3c;color:#3b0a2a;border-radius:10px;padding:8px 14px;border:none;transition:none;font-weight:600}button:hover{background:var(--primary)}button:disabled{opacity:.6;cursor:default}.mini-button{margin-top:8px;padding:8px 10px;font-size:14px;display:block;width:100%}.section-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.items-list{display:grid;gap:12px}.item-row{display:flex;justify-content:space-between;gap:16px;align-items:start;padding:14px 16px;border:1px solid #e5e7eb;border-radius:12px}.column-row{display:block}.muted{color:#6b7280;margin-top:4px;line-height:1.35}.badge{border-radius:999px;padding:6px 10px;background:#fce7f3;color:#9d174d;font-size:14px;white-space:nowrap}.counter{min-width:32px;height:32px;display:inline-grid;place-items:center;border-radius:999px;background:#111827;color:#fff;font-size:14px}.error{color:#b91c1c}.global-error{width:min(2800px,100%);margin:0 auto 24px}.gymnast-picker{display:grid;gap:10px}.picker-title{font-weight:600}.checkbox-list{display:grid;gap:8px;max-height:180px;overflow:auto;border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#fff}.checkbox-row{display:flex;align-items:center;gap:10px}.checkbox-row input{width:auto}.sub-list{display:grid;gap:6px;margin-top:10px}.sub-item{font-size:14px;color:#374151}@media(max-width:2400px){.grid-8{grid-template-columns:repeat(4,1fr)}}@media(max-width:1600px){.grid-8{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.grid-8{grid-template-columns:1fr}.topbar{display:grid;align-items:start}}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:var(--sidebar);color:#fff;padding:20px 16px}.sidebar-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.brand-logo{width:40px;height:40px;border-radius:12px;background:var(--primary);display:grid;place-items:center;font-weight:700}.brand-title{font-weight:700}.brand-subtitle{color:var(--sidebar-text);font-size:13px}.sidebar-nav{display:flex;flex-direction:column;gap:8px}.sidebar-user-box{margin-top:20px;padding-top:16px;border-top:1px solid rgba(203,213,225,.18);display:grid;gap:8px}.sidebar-user-name{color:#fff;font-weight:700;font-size:14px;word-break:break-word}.sidebar-user-role{color:var(--sidebar-text);font-size:12px;text-transform:uppercase}.sidebar-logout-btn{margin-top:4px;width:100%;border:1px solid rgba(203,213,225,.2);background:transparent;color:#fff;border-radius:12px;padding:10px 12px;cursor:pointer;font-weight:600;transition:none}.sidebar-logout-btn:hover{background:transparent}.sidebar-link{padding:12px 14px;border-radius:12px;color:var(--sidebar-text);transition:none}.sidebar-link.active{background:var(--sidebar-active);color:#fff}.app-main{display:flex;flex-direction:column}.header{background:var(--panel);border-bottom:1px solid var(--line);padding:18px 24px;display:flex;justify-content:space-between;align-items:center}.header-title{margin:0;font-size:22px}.header-subtitle{margin:4px 0 0;color:var(--muted);font-size:14px}.header-user{display:flex;align-items:center;gap:12px}.user-badge{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-weight:700}.user-name{font-weight:600}.user-role{color:var(--muted);font-size:13px}.app-content{padding:24px}.page-container{display:flex;flex-direction:column;gap:20px}.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.page-title{margin:0;font-size:28px}.page-subtitle{margin:6px 0 0;color:var(--muted)}.page-actions{display:flex;gap:12px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-label{color:var(--muted);font-size:14px;margin-bottom:10px}.stat-value{font-size:28px;font-weight:700}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.section-title{margin:0 0 14px;font-size:18px}.button-list{display:flex;flex-wrap:wrap;gap:12px}.stack-gap{display:flex;flex-direction:column;gap:12px}.btn{border:none;border-radius:12px;padding:10px 16px;cursor:pointer;transition:none}.status-badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:600}.status-draft{background:#f3f4f6;color:#374151}.status-ready,.status-exported,.status-imported{background:#dcfce7;color:#166534}.status-in_progress{background:#dbeafe;color:#1d4ed8}.status-not_exported,.status-not_imported{background:#fef3c7;color:#92400e}.cards-list{display:flex;flex-direction:column;gap:16px}.tournament-card{display:flex;justify-content:space-between;gap:20px;align-items:center}.tournament-card-top,.tournament-header-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tournament-card-stats{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);margin-top:10px}.tournament-card-side{min-width:120px;display:flex;justify-content:flex-end}.tournament-header{display:flex;justify-content:space-between;gap:20px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:20px}.tournament-name{margin:0;font-size:28px}.tournament-meta{margin:8px 0 0;color:var(--muted)}.tournament-header-actions{display:flex;gap:12px;flex-wrap:wrap}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tab{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 14px;cursor:pointer}.tab.active{background:var(--primary);color:#fff;border-color:var(--primary)}.checklist{display:flex;flex-direction:column;gap:12px}.check-item{display:flex;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}.check-ok{color:var(--success);font-weight:600}.check-no{color:var(--danger);font-weight:600}.empty-state{text-align:center;padding:24px 10px}.empty-state h3{margin-top:0;margin-bottom:10px}.empty-state p,.muted{color:var(--muted)}@media(max-width:1100px){.app-shell{grid-template-columns:220px 1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.stats-grid{grid-template-columns:1fr}.header,.page-title-row,.tournament-header,.tournament-card{flex-direction:column;align-items:flex-start}.tournament-card-side{justify-content:flex-start}}.data-table th,.data-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}.data-table th{color:var(--muted);font-size:14px;font-weight:600}.music-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f3f4f6;color:#374151;font-size:13px;font-weight:600}.music-ok{background:#dcfce7;color:#166534}.music-missing{background:#fee2e2;color:#991b1b}.music-problem{background:#fef3c7;color:#92400e}.tournament-page{padding:20px}.page-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.page-heading{margin:0;font-size:28px;font-weight:800}.page-subheading{margin-top:8px;color:#5f6b7a;font-size:15px}.page-topbar-actions{display:flex;gap:12px;flex-wrap:wrap}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{background:var(--panel);border:1px solid #e7ecf3;border-radius:16px;padding:18px}.stat-card-label{color:#657180;font-size:14px;margin-bottom:10px}.stat-card-value{font-size:34px;font-weight:800}.tabs-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.tab-btn{border:1px solid #dbe3ee;background:var(--panel);color:#1b2430;padding:10px 16px;border-radius:12px;cursor:pointer;font-weight:600}.tab-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.section-card{background:var(--panel);border:1px solid #e7ecf3;border-radius:18px;padding:18px}.section-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-card-header h3{margin:0;font-size:22px}.readiness-list{display:flex;flex-direction:column;gap:12px}.readiness-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #eef2f7}.action-grid{display:flex;flex-wrap:wrap;gap:12px}.table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th,.data-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #edf2f7;vertical-align:top}.data-table th{color:#6a7585;font-size:14px;font-weight:700}.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;background:#eef2ff;color:#334155;font-size:13px;font-weight:600}.pill-success{background:#dcfce7;color:#166534}.pill-danger{background:#fee2e2;color:#991b1b}.pill-neutral{background:#f1f5f9;color:#334155}.empty-box{padding:24px;border:1px dashed #d9e2ee;border-radius:14px;color:#6b7280;background:#fafcff}.btn{border:none;border-radius:12px;padding:10px 16px;cursor:pointer;font-weight:600}.btn-primary{background:#e7ff3c;color:#3b0a2a}.btn-primary:hover{background:var(--primary)}.btn-secondary{background:#e7ff3c;color:#3b0a2a}.btn-secondary:hover{background:#f9a8d4}@media(max-width:1100px){.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.two-columns{grid-template-columns:1fr}}@media(max-width:760px){.page-topbar{flex-direction:column}.stats-row{grid-template-columns:1fr}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}.modal-card{width:100%;max-width:720px;background:var(--panel);border-radius:18px;padding:20px;box-shadow:0 24px 80px #0f172a2e}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.modal-header h3{margin:0;font-size:22px}.icon-btn{border:none;background:#f1f5f9;width:36px;height:36px;border-radius:10px;cursor:pointer}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px;position:relative}.field span{font-size:14px;font-weight:600;color:#475569}.field input,.field select{height:44px;border:1px solid #dbe3ee;border-radius:12px;padding:0 12px;font-size:14px;background:#fff}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}@media(max-width:760px){.modal-grid{grid-template-columns:1fr}}.protocol-page{padding:24px;background:#f3f6fb;min-height:100vh}.protocol-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.protocol-sheet{background:#fff;border-radius:18px;padding:32px;box-shadow:0 10px 30px #00000014}.protocol-header{text-align:center;margin-bottom:28px}.protocol-header h1{margin:0 0 8px;font-size:34px;font-weight:800;letter-spacing:.3px}.protocol-subtitle{margin-top:4px;color:#5f6b7a;font-size:15px}.protocol-section{margin-top:28px;page-break-inside:avoid}.protocol-section h2{margin:0 0 12px;font-size:26px;font-weight:800}.protocol-table{width:100%;border-collapse:collapse;margin-top:10px}.protocol-table th,.protocol-table td{border:1px solid #111827;padding:8px 10px;font-size:14px}.protocol-table th{background:#f3f4f6;font-weight:800;text-align:center}.protocol-table td{vertical-align:middle}.protocol-table td:first-child,.protocol-table td:nth-child(2),.protocol-table td:nth-last-child(1),.protocol-table td:nth-last-child(2){text-align:center}.protocol-place-1 td:first-child{font-weight:800}.protocol-place-2 td:first-child,.protocol-place-3 td:first-child{font-weight:700}.protocol-score{font-weight:800}.protocol-footer{margin-top:32px;padding-top:16px;border-top:1px solid #cfd8e3;text-align:center;color:#5f6b7a;font-size:14px}.protocol-signatures{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:36px}.protocol-signature-block{display:flex;flex-direction:column;gap:8px}.protocol-signature-line{border-bottom:1px solid #111827;height:28px}.protocol-signature-label{color:#374151;font-size:14px}.protocol-empty{padding:20px 0;color:#6b7280;text-align:center}@media print{.no-print,.sidebar,.header{display:none!important}.app-shell{display:block}.app-main,.app-content,.protocol-page{padding:0!important;background:#fff!important}.protocol-sheet{box-shadow:none;border-radius:0;padding:0}body{background:#fff;margin:0}.protocol-section{break-inside:avoid}}.form-label{display:block;margin-bottom:8px;font-weight:600}.form-input{width:100%;min-height:42px;padding:10px 12px;border:1px solid #d8deea;border-radius:10px;font:inherit;background:#fff;box-sizing:border-box}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{color:#c62828;font-weight:600}.apparatus-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}.apparatus-tile{min-height:120px;border:2px solid #d8deea;border-radius:16px;background:#fff;cursor:pointer;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;transition:none;font:inherit}.apparatus-tile:hover{border-color:#d8deea}.apparatus-tile.active{border-color:#ec4899;box-shadow:0 0 0 3px #ec48991f;background:#ffe4f1;transform:none}.apparatus-tile-icon{font-size:20px;font-weight:700}.apparatus-tile-name{font-size:14px;font-weight:600;text-align:center}.apparatus-music-card{display:flex;flex-direction:column;gap:10px}.apparatus-music-fields{display:flex}.apparatus-music-fields input{width:100%;min-height:36px;padding:8px 10px;border:1px solid #d8deea;border-radius:8px;font:inherit}.gymnast-profile-page{padding:20px;display:grid;gap:20px}.profile-back-row{display:flex}.profile-back-link{color:#ec4899;text-decoration:none;font-weight:600}.profile-hero-card{display:grid;grid-template-columns:120px 1fr 260px;gap:20px;padding:26px;border-radius:20px;background:linear-gradient(135deg,#fffde8,#f4ff4d);border:1px solid #f4e87a;box-shadow:0 12px 30px #ec489914}.profile-avatar-block{display:flex;align-items:center;justify-content:center}.profile-avatar{width:96px;height:96px;border-radius:50%;background:#ec4899;color:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:700}.profile-hero-content{display:flex;flex-direction:column;justify-content:center;gap:10px}.profile-badge{display:inline-flex;width:fit-content;padding:6px 10px;border-radius:999px;background:#ec48991f;color:#ec4899;font-size:12px;font-weight:700}.profile-title{margin:0;font-size:34px;font-weight:800;line-height:1.1}.profile-meta-row{display:flex;flex-wrap:wrap;gap:16px;color:#5d667a;font-weight:500;font-size:14px}.profile-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.profile-stat-card{background:var(--panel);border:1px solid #e3e8f2;border-radius:16px;padding:18px;transition:none}.profile-stat-card:hover{transform:none;box-shadow:none}.profile-stat-label{color:#6f7890;font-size:13px;margin-bottom:8px}.profile-stat-value{font-size:30px;font-weight:800}.profile-sections-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-section-card{background:var(--panel);border:1px solid #e3e8f2;border-radius:18px;padding:20px}.profile-section-header{margin-bottom:14px}.profile-section-header h3{margin:0;font-size:20px}.profile-info-list{display:grid;gap:12px}.profile-info-row{display:flex;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid #eef2f8}.profile-info-label{color:#6f7890}.profile-info-value{font-weight:600;text-align:right}.profile-summary-text{color:#4f566b;line-height:1.5}.profile-history-list{display:grid;gap:14px}.profile-history-card{border:1px solid #e6ebf5;border-radius:16px;padding:16px;background:#fbfcff;transition:none}.profile-history-card:hover{box-shadow:none;transform:none}.profile-history-top{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}.profile-history-title{font-size:18px;font-weight:700}.profile-history-subtitle{color:#6f7890;margin-top:4px}.profile-history-apparatus-list{display:grid;gap:10px}.profile-history-apparatus-item{border:1px solid #edf1f7;border-radius:12px;padding:12px;background:var(--panel);transition:none}.profile-history-apparatus-item:hover{background:var(--panel)}.profile-history-apparatus-name{font-weight:700;margin-bottom:4px}.profile-history-apparatus-score{color:#6a7388;font-size:14px}.profile-history-empty{color:#8b93a8}@media(max-width:900px){.profile-hero-card{grid-template-columns:1fr}.profile-avatar-block{justify-content:flex-start}.profile-sections-grid{grid-template-columns:1fr}}.profile-avatar-image{width:96px;height:96px;border-radius:50%;object-fit:cover;display:block}.profile-favorite-list{display:grid;gap:10px}.profile-favorite-item{border:1px solid #edf1f7;border-radius:12px;padding:12px;background:#fbfcff;display:flex;justify-content:space-between;gap:12px;align-items:center}.profile-favorite-name{font-weight:700}.profile-favorite-count{color:#6f7890;font-size:14px}.profile-history-link,.profile-history-link:hover{color:inherit;text-decoration:none}.profile-inline-link{color:#ec4899;text-decoration:none;font-weight:600}.profile-inline-link:hover{text-decoration:none}.profile-history-allaround{margin-bottom:12px;padding:10px 12px;border-radius:12px;background:#fff7e8;border:1px solid #ffe0a6;font-weight:700;color:#8a5a00}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#fffde8,#f4ff4d)}.login-card{width:100%;max-width:420px;background:var(--panel);border:1px solid #e4e9f4;border-radius:20px;padding:28px;display:grid;gap:16px;box-shadow:0 10px 30px #14285a14}.login-logo{width:56px;height:56px;border-radius:16px;background:#ec4899;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700}.login-title{margin:0;font-size:28px}.login-error{padding:10px 12px;border-radius:10px;background:#fff1f1;border:1px solid #ffcaca;color:#b42318}.login-submit{min-height:44px}.admin-users-grid{display:grid;gap:20px}.admin-user-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-full{grid-column:1 / -1}.admin-users-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-users-filter{max-width:180px}.admin-users-list{display:grid;gap:14px}.admin-user-card{border:1px solid #e6ebf5;border-radius:16px;background:#fbfcff;overflow:hidden}.admin-user-main{padding:16px;display:grid;gap:12px}.admin-user-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.admin-user-email{font-size:18px;font-weight:700}.admin-user-sub{color:#6f7890;margin-top:4px}.admin-user-status{padding:6px 10px;border-radius:999px;background:#eef4ff;color:#2f6bff;font-size:12px;font-weight:700;white-space:nowrap}.admin-user-meta{display:flex;flex-wrap:wrap;gap:16px;color:#4f566b}.admin-user-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-user-editor{border-top:1px solid #e6ebf5;background:#fff;padding:16px;display:grid;gap:14px}.admin-user-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-user-editor-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:900px){.admin-user-form-grid,.admin-user-editor-grid{grid-template-columns:1fr}.admin-users-header,.admin-user-top{flex-direction:column;align-items:stretch}.admin-users-filter{max-width:none}}.search-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #d8deea;border-radius:10px;box-shadow:0 10px 24px #0f172a14;z-index:20;overflow:hidden}.search-dropdown-item{width:100%;text-align:left;border:0;background:#fff;padding:10px 12px;cursor:pointer}.search-dropdown-item:hover{background:#fff}.profile-hero-side{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;text-align:right;gap:6px}.profile-hero-side-label{font-size:12px;color:#6b7280;font-weight:600;text-transform:uppercase}.profile-hero-side-value{font-size:28px;font-weight:800}.profile-hero-side-text{font-size:13px;color:#6b7280}.profile-hero-side-medals{margin-top:6px;font-size:14px;font-weight:700}.profile-stat-card-accent{border:1px solid #f4d3e4;background:#ffe4f1}:root{--bg: #f5f5f5;--panel: #f0d77a;--panel-strong: #e6c55a;--accent: #d4af37;--accent-strong: #b8962e;--text: #1a1a1a}body{background:var(--bg)!important;color:var(--text)!important}.card,.stat-card,.section-card,.panel{background:var(--panel)!important;color:var(--text)!important;border-radius:14px}button,.btn,.btn-primary,.btn-secondary{background:var(--panel-strong)!important;color:#1a1a1a!important;border:none;font-weight:600;border-radius:10px}button:hover,.btn:hover{background:var(--panel-strong)!important}.sidebar{background:#1a1a1a!important}.sidebar-link,.sidebar-user-name,.sidebar-user-role,.brand-title{color:#f0d77a!important}.sidebar-link.active{background:#2a2a2a!important}h1,h2,h3{color:#1a1a1a!important}*{text-shadow:none!important}.mobile-topbar,.sidebar-mobile-header{display:none}.sidebar-close-btn{border:none;background:transparent!important;color:#f0d98a!important;font-size:24px;padding:4px 8px;cursor:pointer}.mobile-sidebar-backdrop{display:none}@media(max-width:760px){.header{display:none!important}.mobile-topbar{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#111;color:#f0d98a;border-bottom:1px solid rgba(240,217,138,.18);position:sticky;top:0;z-index:1200}.mobile-topbar-title{font-weight:700;font-size:18px}.mobile-menu-btn{background:#111!important;color:#f0d98a!important;border:1px solid rgba(240,217,138,.35)!important;border-radius:10px;padding:8px 12px;font-size:20px;line-height:1}.sidebar{display:block!important;position:fixed;top:0;left:0;width:260px;height:100vh;z-index:1400;transform:translate(-100%);transition:transform .25s ease;overflow-y:auto}.sidebar.sidebar-mobile-open{transform:translate(0)}.sidebar-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sidebar-brand-desktop{display:none}.mobile-sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:1300}.app-content{padding:16px}}@media(max-width:760px){.app-content{padding:14px!important;overflow-x:hidden}.page-container,.gymnast-profile-page,.tournament-page{width:100%;max-width:100%;padding:0!important}.card,.section-card,.profile-section-card,.stat-card{width:100%;max-width:100%;overflow-x:auto}.profile-section-card{padding:16px!important;border-radius:16px}.table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{min-width:620px;width:max-content}.data-table th,.data-table td{padding:10px 12px;font-size:14px;white-space:nowrap}.profile-section-header,.section-card-header{flex-direction:column;align-items:flex-start}.page-title{font-size:34px;line-height:1.1}.mobile-topbar{width:100%}.mobile-menu-btn{min-width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center}}@media(max-width:760px){.participants-category-card{width:100%;max-width:100%;overflow:hidden!important}.participants-grid{width:100%!important;min-width:0!important}.participants-grid-head{display:none!important}.participants-grid-row{display:grid!important;grid-template-columns:28px minmax(130px,1fr) 46px 78px!important;grid-template-areas:"num name year apparatus" ". club actions actions"!important;gap:8px 6px!important;align-items:center!important;padding:12px 8px!important;border-top:1px solid rgba(0,0,0,.08)}.participants-grid-row>div{min-width:0!important}.participants-grid-row>div:nth-child(1){grid-area:num;font-size:14px!important;font-weight:700}.participants-grid-row>div:nth-child(2){grid-area:name;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.15!important;font-size:15px!important;font-weight:800!important}.participants-grid-row>div:nth-child(3){grid-area:year;font-size:14px!important;color:#444}.participants-grid-row>div:nth-child(4){grid-area:apparatus;display:flex!important;flex-wrap:wrap;gap:4px;align-items:center;justify-content:flex-end}.participants-grid-row>div:nth-child(5){grid-area:club;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.15!important;font-size:12px!important;color:#444}.participants-grid-row>div:nth-child(6){grid-area:actions;justify-self:end;align-self:center;white-space:nowrap}.participants-grid-row span[title]{width:32px!important;height:32px!important;margin-right:0!important}.participants-grid-row span[title] img{width:24px!important;height:24px!important}.participants-grid-row button{padding:7px 10px!important;font-size:12px!important;white-space:nowrap}}@media(max-width:760px){.club-profile-summary-grid{grid-template-columns:1fr!important}.club-profile-table{min-width:0!important;width:100%!important}.club-profile-table th,.club-profile-table td{padding:10px 8px!important;font-size:13px!important}.club-profile-table th:first-child,.club-profile-table td:first-child{width:42px!important}.club-profile-table th:nth-child(3),.club-profile-table td:nth-child(3){width:82px!important;text-align:center}.club-profile-table .profile-inline-link{font-size:14px;font-weight:800;line-height:1.15}}.suggest-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:50;display:grid;gap:4px}.suggest-item{width:100%;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#e6c94f;padding:10px 12px;text-align:left;cursor:pointer}.suggest-item:hover{filter:brightness(.98)}.link-request-approve-btn{padding:7px 12px!important;border-radius:9px!important;border:none!important;background:#22c55e!important;color:#fff!important;font-weight:800!important;cursor:pointer!important}.link-request-reject-btn{padding:7px 12px!important;border-radius:9px!important;border:none!important;background:#ef4444!important;color:#fff!important;font-weight:800!important;cursor:pointer!important}.link-request-approve-btn:disabled,.link-request-reject-btn:disabled{opacity:.65!important;cursor:default!important}.request-action-btn{padding:8px 12px!important;border-radius:8px!important;border:none!important;color:#fff!important;font-weight:900!important;cursor:pointer!important}.request-action-approve{background:#22c55e!important}.request-action-reject{background:#ef4444!important}.modal-backdrop{overflow-y:auto;align-items:flex-start;padding-top:24px;padding-bottom:24px}.modal-card{max-height:calc(100vh - 48px);overflow-y:auto}.modal-card .modal-header{position:sticky;top:0;z-index:20;background:#f6d85f;padding-top:4px}@media(max-width:760px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}body{font-size:14px}.app-shell,.page,.page-content,.main-content,main,.tournament-page{width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.main-content,main{padding:10px!important}h1,.page-heading{font-size:21px!important;line-height:1.15!important;word-break:break-word}h2{font-size:18px!important}h3{font-size:16px!important}.card,.section-card,.profile-section-card,.stat-card,.participants-category-card{width:100%;max-width:100%;box-sizing:border-box;padding:12px!important;border-radius:14px!important;overflow-x:hidden}.page-topbar,.page-topbar-actions,.card-header,.section-card-header{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}.page-topbar-actions .btn,.card-header .btn,.section-card-header .btn{width:100%;justify-content:center}.btn,.primary-btn,.secondary-btn,button{min-height:42px;font-size:14px;border-radius:10px}input,select,textarea{width:100%;max-width:100%;min-height:42px;font-size:16px!important;box-sizing:border-box}.tabs-row{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:4px;-webkit-overflow-scrolling:touch}.tab-btn{flex:0 0 auto;white-space:nowrap;padding:10px 12px!important}.table-wrap{width:100%;max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.data-table{min-width:680px}.modal-backdrop{padding:8px!important;align-items:flex-start!important;overflow-y:auto!important}.modal-card{width:100%!important;max-width:100%!important;max-height:calc(100vh - 16px);overflow-y:auto;padding:14px!important;border-radius:14px!important;box-sizing:border-box}.modal-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.modal-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.apparatus-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.apparatus-tile,.apparatus-music-card{width:100%;min-width:0;padding:10px!important}.apparatus-tile-name{font-size:12px!important;line-height:1.15!important}.participants-category-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.participants-grid,.participants-grid-head,.participants-grid-row{min-width:660px;grid-template-columns:34px 145px 52px 110px 130px 130px 90px!important;gap:6px!important;padding:8px!important;font-size:12px!important}.participants-grid-row button{width:100%;padding:7px 8px!important;font-size:12px!important}.sidebar{width:82vw;max-width:320px}}@media(max-width:480px){.main-content,main{padding:8px!important}h1,.page-heading{font-size:20px!important}.card,.section-card,.profile-section-card,.stat-card{padding:10px!important}.apparatus-grid{grid-template-columns:1fr!important}.data-table{min-width:620px}.participants-grid,.participants-grid-head,.participants-grid-row{min-width:620px;grid-template-columns:30px 130px 48px 90px 110px 110px 80px!important}}@media(max-width:760px){*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;overflow-x:hidden!important}body{margin:0}.app-shell,.app-main,.main-content,.page-content,main,.tournament-page{width:100%!important;max-width:100vw!important;min-width:0!important;overflow-x:hidden!important}.app-main,.main-content,main{padding-left:14px!important;padding-right:14px!important}.page-topbar,.tournament-card,.tournament-card-top,.tournament-card-stats,.tournament-card-side,.card-header,.section-card-header{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:12px!important}.tournament-card{padding:14px!important;overflow:hidden!important}.tournament-card *{max-width:100%;min-width:0;word-break:break-word}.tournament-card img,.tournament-card-side img{max-width:100%!important;height:auto!important}.page-heading,h1{font-size:24px!important;line-height:1.15!important;max-width:100%;word-break:break-word}.page-subheading{font-size:15px!important;line-height:1.35!important;word-break:break-word}.btn,button,.primary-btn,.secondary-btn{max-width:100%;white-space:normal!important}.page-topbar-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important}.page-topbar-actions .btn,.page-topbar-actions a,.page-topbar-actions button{width:100%!important}.card,.section-card,.profile-section-card,.stat-card,.participants-category-card{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}.card>div,.section-card>div{max-width:100%;min-width:0}.card [style*=grid-template-columns]{grid-template-columns:1fr!important}.card [style*=minWidth],.section-card [style*=minWidth]{min-width:0!important}.tabs-row{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.tab-btn{flex:0 0 auto}.table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.data-table{width:max-content;min-width:560px}.data-table th,.data-table td{padding:8px 10px!important;font-size:13px!important;white-space:nowrap}.participants-category-card{overflow-x:auto!important}.participants-grid,.participants-grid-head,.participants-grid-row{width:max-content!important;min-width:620px!important}.modal-backdrop{width:100vw!important;max-width:100vw!important;overflow-x:hidden!important}.modal-card{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;min-width:0!important}.modal-grid{grid-template-columns:1fr!important}.login-card{width:calc(100vw - 32px)!important;max-width:520px!important;padding:28px!important}}@media(max-width:480px){.app-main,.main-content,main{padding-left:10px!important;padding-right:10px!important}.page-heading,h1{font-size:22px!important}.card,.section-card,.profile-section-card{padding:12px!important}.data-table{min-width:500px}.login-card{width:calc(100vw - 24px)!important;padding:24px!important}}.dashboard-tournament-card{display:grid;grid-template-columns:120px 180px 1fr;gap:16px;padding:16px 14px;border-bottom:1px solid rgba(0,0,0,.08);color:inherit;text-decoration:none;align-items:center;background:#fff6}.dashboard-tournament-dates{font-weight:700}.dashboard-tournament-cover{width:160px;height:90px;border-radius:10px;background:#fff9;display:flex;align-items:center;justify-content:center;overflow:hidden}.dashboard-tournament-title-row{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:700px){.dashboard-tournament-card{grid-template-columns:1fr;gap:12px;padding:18px}.dashboard-tournament-dates{order:2;font-size:18px;line-height:1.25}.dashboard-tournament-cover{order:1;width:100%;height:150px;border-radius:18px}.dashboard-tournament-info{order:3;min-width:0}.dashboard-tournament-title-row{display:grid;gap:8px}.dashboard-tournament-title-row strong{display:block;font-size:20px;line-height:1.2;overflow-wrap:anywhere}}@media(max-width:760px){.tournament-card{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:18px!important;box-sizing:border-box!important;overflow:hidden!important}.tournament-card>*{min-width:0!important;max-width:100%!important}.tournament-card-top,.tournament-card-stats,.tournament-card-side{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:10px!important;text-align:left!important}.tournament-card img,.tournament-card-side img{max-width:100%!important;height:auto!important}.tournament-card h3,.tournament-card h4,.tournament-card a,.tournament-card div,.tournament-card span,.tournament-card p{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important}.tournament-card-side{justify-items:stretch!important}.tournament-card-side .btn,.tournament-card .btn{width:100%!important;justify-content:center!important}}@media(max-width:760px){.page-topbar,.page-topbar-actions{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%!important;max-width:100%!important}.page-topbar-actions .btn,.page-topbar-actions a{width:100%!important;justify-content:center!important}}.profile-hero-card{align-items:center}.profile-avatar-block{width:112px;min-width:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.profile-avatar-block .profile-avatar,.profile-avatar-block .profile-avatar-image{width:88px;height:88px;min-width:88px;min-height:88px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center}.profile-avatar-block .profile-avatar-image{border:2px solid rgba(0,0,0,.14);background:#fff}.profile-avatar-block .profile-edit-btn{width:auto!important;min-width:96px;max-width:112px;padding:8px 10px!important;font-size:13px;line-height:1.15;border-radius:10px;text-align:center;white-space:normal}@media(max-width:700px){.profile-hero-card{align-items:flex-start}.profile-avatar-block{width:96px;min-width:96px}.profile-avatar-block .profile-avatar,.profile-avatar-block .profile-avatar-image{width:72px;height:72px;min-width:72px;min-height:72px}.profile-avatar-block .profile-edit-btn{min-width:86px;max-width:96px;font-size:12px;padding:7px 8px!important}}.coach-club-payments-block,.coach-club-payment-collection,.coach-club-payment-row{box-sizing:border-box;max-width:100%}.coach-club-payment-row>*{min-width:0}.coach-club-payment-gymnast{overflow-wrap:anywhere}.coach-club-payment-input{width:100%;box-sizing:border-box;min-width:0}.coach-club-payment-full-btn,.coach-club-payment-submit-btn{white-space:nowrap}@media(max-width:760px){.coach-club-payments-block,.coach-club-payment-collection{overflow:hidden!important}.coach-club-payment-row{grid-template-columns:minmax(0,1fr) minmax(72px,auto)!important;align-items:stretch!important;gap:10px!important;padding:12px!important}.coach-club-payment-gymnast{grid-column:1 / 2}.coach-club-payment-amount{grid-column:2 / 3;text-align:right;align-self:center;font-weight:800}.coach-club-payment-full-btn{grid-column:1 / 2;width:100%;min-height:44px}.coach-club-payment-input{grid-column:1 / 2;min-height:44px}.coach-club-payment-submit-btn{grid-column:2 / 3;width:100%;min-height:44px}}@media(max-width:430px){.coach-club-payment-row{grid-template-columns:1fr!important}.coach-club-payment-gymnast,.coach-club-payment-amount,.coach-club-payment-full-btn,.coach-club-payment-input,.coach-club-payment-submit-btn{grid-column:1 / -1}.coach-club-payment-amount{text-align:left}}@media(max-width:760px){.coach-club-payments-block,.coach-club-payment-collection{width:100%;max-width:100%;overflow-x:hidden}.coach-club-payment-row{grid-template-columns:1fr 1fr!important;width:100%;max-width:100%;box-sizing:border-box}.coach-club-payment-gymnast{grid-column:1 / -1;min-width:0}.coach-club-payment-amount{grid-column:1 / -1;font-size:18px}.coach-club-payment-full-btn,.coach-club-payment-input,.coach-club-payment-submit-btn{width:100%;min-width:0;box-sizing:border-box}}@media(max-width:760px){.coach-club-payments-block,.coach-club-payment-collection{width:100%;max-width:100%;overflow-x:hidden;box-sizing:border-box}.coach-club-payment-row{grid-template-columns:1fr 1fr!important;width:100%;max-width:100%;box-sizing:border-box}.coach-club-payment-gymnast{grid-column:1 / -1;min-width:0}.coach-club-payment-amount{grid-column:1 / -1;font-size:18px}.coach-club-payment-full-btn,.coach-club-payment-input,.coach-club-payment-submit-btn{width:100%;min-width:0;max-width:100%;box-sizing:border-box}}@media(max-width:430px){.coach-club-payment-row{grid-template-columns:1fr!important}.coach-club-payment-row>*{grid-column:1 / -1;width:100%;max-width:100%}.coach-club-payment-input,.coach-club-payment-submit-btn,.coach-club-payment-full-btn{min-height:42px;font-size:15px}}@media(max-width:430px){.coach-club-payment-row{padding:12px!important;gap:8px!important}.coach-club-payment-gymnast strong{display:block;font-size:14px;line-height:1.25}.coach-club-payment-amount{text-align:left;font-size:15px!important}.coach-club-payment-full-btn{margin-top:4px}.coach-club-payment-submit-btn{justify-self:stretch}}@media(max-width:430px){.coach-club-payment-full-btn{display:block!important;width:100%!important;border-radius:12px!important;overflow:hidden!important;border:0!important;margin:6px 0 4px!important;padding:12px 14px!important}.coach-club-payment-input{border-radius:10px!important;margin-top:4px!important}.coach-club-payment-submit-btn{border-radius:12px!important;width:auto!important;min-width:88px!important;padding:10px 16px!important}}@media(max-width:430px){.coach-club-payment-full-btn{width:auto!important;min-width:120px!important;max-width:100%!important;justify-self:end!important;border-radius:999px!important;padding:10px 18px!important;margin:6px 8px 4px auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.coach-club-payment-row{overflow:hidden!important;border-radius:12px!important}}@media(max-width:430px){.coach-club-payment-full-btn{grid-column:1 / -1!important;justify-self:stretch!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:6px 0 4px!important;padding:11px 14px!important;box-sizing:border-box!important;border-radius:12px!important;border:0!important;overflow:visible!important;transform:none!important}.coach-club-payment-row{overflow:visible!important}}@media(max-width:430px){.coach-club-payment-row{padding-right:10px!important}.coach-club-payment-full-btn{width:calc(100% - 10px)!important;margin-right:10px!important}}@media(max-width:430px){.coach-club-payment-row{grid-template-columns:1fr!important;gap:8px!important;padding:10px!important;box-sizing:border-box!important;overflow:visible!important}.coach-club-payment-row>*{grid-column:1 / -1!important;max-width:100%!important;box-sizing:border-box!important}.coach-club-payment-full-btn{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;justify-self:start!important;margin:6px 8px 4px!important;border-radius:14px!important;box-sizing:border-box!important;display:block!important;overflow:hidden!important}.coach-club-payment-input{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin:4px 8px 0!important;border-radius:12px!important;box-sizing:border-box!important}.coach-club-payment-submit-btn{width:auto!important;min-width:88px!important;justify-self:start!important;margin:4px 8px 0!important;border-radius:12px!important;box-sizing:border-box!important}}@media(max-width:430px){.coach-club-payment-full-btn{width:90%!important;max-width:90%!important;min-width:0!important;justify-self:center!important;margin:8px auto 6px!important;border-radius:999px!important;padding:11px 14px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}.coach-club-payment-input{width:90%!important;max-width:90%!important;justify-self:center!important;margin:4px auto 0!important}.coach-club-payment-submit-btn{margin-left:5%!important}}@media(max-width:430px){.coach-club-payment-full-btn{grid-column:1 / -1!important;width:78%!important;max-width:78%!important;min-width:0!important;justify-self:center!important;margin:8px auto 6px!important;border-radius:999px!important;padding:11px 16px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;transform:none!important}.coach-club-payment-row{overflow:visible!important}}@media(max-width:430px){.coach-club-payment-full-btn{grid-column:1 / -1!important;width:160px!important;max-width:calc(100% - 32px)!important;min-width:0!important;justify-self:center!important;margin:8px auto!important;border-radius:999px!important;padding:11px 16px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;transform:none!important}.coach-club-payment-input{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;justify-self:center!important;margin:4px auto 0!important}.coach-club-payment-submit-btn{justify-self:start!important;margin-left:16px!important}}@media(max-width:430px){.coach-club-payment-full-btn{width:150px!important;max-width:calc(100% - 40px)!important;justify-self:center!important;margin:8px auto!important;border-radius:999px!important}.coach-club-payment-input{width:calc(100% - 40px)!important;max-width:calc(100% - 40px)!important;justify-self:center!important;margin:4px auto 0!important;box-sizing:border-box!important;border-radius:12px!important}.coach-club-payment-submit-btn{width:92px!important;min-width:92px!important;justify-self:center!important;margin:6px auto 0!important;border-radius:12px!important}}@media(max-width:430px){.coach-club-payment-input{width:150px!important;max-width:calc(100% - 40px)!important;justify-self:center!important;margin:4px auto 0!important;display:block!important;box-sizing:border-box!important}.coach-club-payment-submit-btn{width:92px!important;min-width:92px!important;max-width:calc(100% - 40px)!important;justify-self:center!important;margin:6px auto 0!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}.coach-club-payment-full-btn{width:150px!important;max-width:calc(100% - 40px)!important;justify-self:center!important;margin-left:auto!important;margin-right:auto!important}}@media(max-width:430px){.coach-club-payment-submit-btn{width:110px!important;min-width:110px!important;max-width:110px!important;justify-self:center!important;margin:6px auto 0!important;border-radius:999px!important;padding:10px 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}}@media(max-width:430px){.coach-club-payment-submit-btn{grid-column:1 / -1!important;width:110px!important;min-width:110px!important;max-width:110px!important;justify-self:center!important;align-self:center!important;margin:6px auto 0!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px 14px!important;box-sizing:border-box!important}}
