@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap');
:root{
  --theme-primary:#2563EB;--theme-primary-dark:#1D4ED8;--theme-primary-soft:#DBEAFE;--theme-primary-rgb:37,99,235;--theme-secondary:#F97316;--theme-secondary-dark:#C2410C;--theme-secondary-soft:#FFEDD5;--theme-secondary-rgb:249,115,22;
  --blue:var(--theme-primary);--blue2:var(--theme-primary);--orange:var(--theme-secondary);--green:#16a34a;--red:#ef4444;--amber:#f59e0b;--slate:#0f172a;--muted:#64748b;--bg:#f8fafc;--border:#e5e7eb;--card:#fff;
  --shadow:0 12px 30px rgba(15,23,42,.06);
}
*{box-sizing:border-box} body{margin:0;font-family:'Noto Sans Thai',system-ui,sans-serif;background:var(--bg);color:var(--slate);font-size:14px}
a{color:inherit;text-decoration:none} img{object-fit:cover}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;left:0;top:0;width:228px;height:100vh;background:#fff;border-right:1px solid var(--border);padding:86px 16px 18px;display:flex;flex-direction:column;z-index:20}
.app-main{margin-left:228px;width:calc(100% - 228px)}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:15}
.brand{display:flex;align-items:center;gap:14px}.brand-logo{width:50px;height:50px;border-radius:999px}.brand-title{font-size:24px;font-weight:800;line-height:1.1}.brand-subtitle{font-size:13px;color:var(--muted);margin-top:3px}
.topbar-actions{display:flex;align-items:center;gap:12px}.ghost-icon,.icon-btn{border:0;background:transparent;font-size:20px;position:relative}.has-badge span{position:absolute;right:-4px;top:-6px;background:#ef4444;color:#fff;border-radius:99px;font-size:11px;line-height:16px;min-width:16px}
.user-chip{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:999px}.user-chip img{width:42px;height:42px;border-radius:999px}.user-chip b{display:block;font-size:14px}.user-chip small{color:var(--muted)}
.side-nav{display:grid;gap:8px}.side-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;color:#64748b;font-weight:600}.side-link:hover{background:#eff6ff;color:var(--theme-primary-dark)}.side-link.is-active{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark));color:white;box-shadow:0 10px 18px rgba(var(--theme-primary-rgb),.22)}.side-link span{width:22px;text-align:center}.system-card{margin-top:auto;border:1px solid var(--border);border-radius:16px;padding:16px;color:#64748b;background:#fff}.system-card b,.system-card small{display:block;margin-top:5px}.shield{font-size:22px}.page-wrap{padding:28px 26px 36px;max-width:1600px;margin:0 auto}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.page-head h1{font-size:24px;margin:0 0 4px;font-weight:800}.page-head p{margin:0;color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 16px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark));border-color:var(--theme-primary);color:white;box-shadow:0 8px 16px rgba(var(--theme-primary-rgb),.2)}.btn-secondary{background:#fff;color:var(--theme-primary)}.btn-light{background:white;color:var(--theme-primary);border:0}.btn.full{width:100%}
.kpi-grid{display:grid;gap:14px;margin-bottom:22px}.kpi-grid.four{grid-template-columns:repeat(4,1fr)}.kpi-grid.five{grid-template-columns:repeat(5,1fr)}.kpi{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:58px 1fr;align-items:center;column-gap:14px;min-height:112px}.kpi-icon{grid-row:1/4;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:25px}.kpi-icon.blue{background:#dbeafe;color:var(--theme-primary)}.kpi-icon.orange{background:#ffedd5;color:var(--theme-secondary)}.kpi-icon.green{background:#dcfce7}.kpi-icon.red{background:#fee2e2}.kpi-icon.purple{background:#f3e8ff}.kpi span{color:#475569}.kpi strong{font-size:28px;line-height:1;font-weight:800}.kpi small{color:var(--muted)}.trend{color:#059669!important}
.section-title,.card h2{font-size:18px;font-weight:800;margin:0 0 14px}.sport-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.sport-card{border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.sport-head{display:flex;justify-content:space-between;align-items:center;color:#fff;padding:14px 16px}.theme-blue .sport-head{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark))}.theme-orange .sport-head{background:linear-gradient(135deg,var(--theme-secondary-dark),var(--theme-secondary))}.sport-head h3{margin:0;font-size:18px}.fake-chart{height:145px;margin:16px;display:flex;align-items:end;gap:14px;border-bottom:1px solid #e2e8f0}.fake-chart i{flex:1;background:linear-gradient(180deg,var(--theme-primary),var(--theme-primary-soft));border-radius:4px 4px 0 0}.theme-orange .fake-chart i:nth-child(odd){background:linear-gradient(180deg,var(--theme-secondary),var(--theme-secondary-soft))}.sport-card h4{margin:0 16px 8px;color:#475569}.mini-row,.rank-row,.event-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f1f5f9}.mini-row img,.rank-row img,.person img{width:32px;height:32px;border-radius:999px;background:#e2e8f0}.mini-row span{flex:1}.mini-row small{display:block;color:var(--muted)}.mini-row b{margin-left:auto}.sport-card .mini-row{margin:0 16px}
.card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:16px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.card-head a,.link-more{color:var(--theme-primary);font-weight:700}.dashboard-lower{display:grid;grid-template-columns:1.3fr .75fr 1.15fr;gap:14px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid #edf2f7;text-align:left;vertical-align:middle}th{font-size:12px;color:#64748b;background:#f8fafc}td small{display:block;color:var(--muted)}.badge{border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;white-space:nowrap}.badge-success{background:#dcfce7;color:#15803d}.badge-danger{background:#fee2e2;color:#dc2626}.badge-muted{background:#f1f5f9;color:#64748b}.badge-blue{background:#dbeafe;color:var(--theme-primary-dark)}.badge-warning{background:#fef3c7;color:#b45309}.badge-slate{background:#e2e8f0;color:#334155}
.cta-card{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-dark));color:white;border-radius:16px;box-shadow:0 20px 30px rgba(var(--theme-primary-rgb),.24);padding:32px 18px;display:grid;place-items:center;text-align:center}.cta-card h2{font-size:24px;margin:8px 0}.mini-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:10px}.mini-calendar span{height:28px;display:grid;place-items:center;border-radius:8px;color:#475569}.mini-calendar .selected{background:var(--theme-primary);color:white}.event-list a{display:block;padding:8px;border-left:3px solid var(--theme-secondary);margin:7px 0;background:#fff7ed;border-radius:8px}.event-list span{display:block;color:#64748b}
.filter-card{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:10px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:14px;margin-bottom:16px}.filter-card.compact{grid-template-columns:1.5fr 1fr 1fr auto;box-shadow:none;border:0;padding:0;margin:0 0 14px}input,select,textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:10px 12px;font:inherit;background:#fff}textarea{min-height:80px}.content-two{display:grid;grid-template-columns:1fr 300px;gap:14px}.right-stack{display:grid;gap:14px;align-content:start}.person{display:inline-flex;align-items:center;gap:10px;font-weight:700}.person.small img{width:28px;height:28px}.icon-mini{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--border);border-radius:9px;color:var(--theme-primary)}.pagination{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding-top:12px}.pagination span{margin-right:auto;color:#64748b}.pagination b,.pagination a{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:9px}.pagination b{background:var(--theme-primary);color:#fff}
.rank-row b:first-child{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#f59e0b;color:white}.rank-row span{flex:1}.rank-row small{display:block;color:#64748b}.action-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #f1f5f9;color:var(--theme-primary);font-weight:700}.action-list small{display:block;color:#64748b;font-weight:400}.breadcrumb{color:var(--theme-primary);font-weight:700;margin-bottom:12px}.profile-hero{display:flex;gap:24px;margin-bottom:14px}.profile-photo{width:130px;height:150px;border-radius:14px}.profile-info{flex:1}.profile-info h2{font-size:28px;margin:10px 0 28px}.pill{font-size:12px;background:#dbeafe;color:var(--theme-primary);border-radius:999px;padding:6px 10px}.profile-meta{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.profile-meta small{display:block;color:#64748b}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.info-list p{display:flex;justify-content:space-between;border-bottom:1px solid #f1f5f9;padding:8px 0;margin:0}.text-green{color:#16a34a}.countdown{border:1px solid var(--theme-secondary-soft);background:#fff7ed;border-radius:12px;padding:14px;text-align:center}.countdown b{font-size:32px;color:var(--theme-secondary)}
.training-layout{display:grid;grid-template-columns:280px 1fr 310px;gap:14px}.day-row{display:grid;grid-template-columns:50px 1fr;gap:4px;padding:12px;border-bottom:1px solid #f1f5f9}.day-row b{font-size:24px}.day-row small{grid-column:2;color:#64748b}.day-row.selected{background:var(--theme-primary);color:white;border-radius:14px}.form-card label{display:block;font-weight:700;margin:10px 0 4px}.competition-layout{display:grid;grid-template-columns:1fr 380px;gap:14px}.calendar-card{margin-bottom:14px}.tabs{display:flex;gap:6px}.tabs span,.tabs b{padding:8px 12px;border-radius:9px;border:1px solid var(--border)}.tabs b{background:var(--theme-primary);color:#fff}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #edf2f7;border-radius:14px;overflow:hidden}.calendar-grid div{min-height:86px;border:1px solid #edf2f7;padding:8px}.calendar-grid .today b{display:inline-grid;place-items:center;width:30px;height:30px;background:var(--theme-primary);color:#fff;border-radius:999px}.calendar-grid small{display:block;background:#dbeafe;color:var(--theme-primary);border-radius:6px;margin-top:8px;padding:3px 5px}.event-row{padding:12px}.event-icon,.big-icon{width:42px;height:42px;border-radius:999px;background:#dbeafe;display:grid;place-items:center}.event-row div:nth-child(2){flex:1}.event-row small{display:block;color:#64748b}.detail-panel p{line-height:1.6;color:#475569}.progress{height:10px;border-radius:999px;background:#f1f5f9;display:flex;overflow:hidden}.progress i{background:var(--theme-primary)}.progress em{background:#ec4899}.doc-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}
.report-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.chart-card{min-height:260px}.line-chart,.bar-chart{height:200px;display:flex;align-items:end;gap:10px;border-bottom:1px solid #e2e8f0}.line-chart i,.bar-chart i{flex:1;background:linear-gradient(180deg,var(--theme-primary),var(--theme-primary-soft));border-radius:5px 5px 0 0;position:relative}.line-chart i b{position:absolute;top:-22px;font-size:10px;color:#64748b}.donut{width:170px;height:170px;border-radius:50%;background:conic-gradient(#facc15 0 36%,#d1d5db 36% 68%,var(--theme-secondary) 68% 100%);display:grid;place-items:center;margin:16px auto}.donut b{background:#fff;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;font-size:24px}.donut small{display:block;font-size:12px}.heatmap{grid-column:span 2}.heatmap span{display:inline-grid;place-items:center;width:46px;height:30px;margin:2px;border-radius:4px;background:hsl(calc(var(--v)*1.2),75%,70%);font-size:12px}.facility-layout{display:grid;grid-template-columns:330px 1fr 330px;gap:14px}.venue{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}.venue img{width:110px;height:82px;border-radius:12px}.venue b,.venue small{display:block;margin:5px 0}.settings-layout{display:grid;grid-template-columns:1fr 440px;gap:14px}.tabs-wide{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;background:#fff;border:1px solid var(--border);padding:8px;border-radius:16px;margin-bottom:14px}.tabs-wide span,.tabs-wide b{text-align:center;padding:12px;border-radius:12px}.tabs-wide b{background:#eff6ff;color:var(--theme-primary)}.org-form label{display:block;margin:10px 0;font-weight:700}.logo-box{border:1px dashed #cbd5e1;border-radius:14px;padding:18px;text-align:center}.logo-box img{width:80px;height:80px;border-radius:999px;display:block;margin:0 auto 8px}.settings-bottom{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.toggle{width:44px;height:24px;border-radius:99px;border:0;background:#cbd5e1}.toggle.on{background:var(--theme-primary)}
@media(max-width:1200px){.kpi-grid.four,.sport-grid{grid-template-columns:repeat(2,1fr)}.kpi-grid.five{grid-template-columns:repeat(3,1fr)}.dashboard-lower,.training-layout,.competition-layout,.facility-layout,.settings-layout{grid-template-columns:1fr}.content-two{grid-template-columns:1fr}.profile-meta{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.app-main{margin-left:0;width:100%}.brand-title{font-size:16px}.brand-logo{width:42px;height:42px}.topbar{padding:0 12px}.topbar-actions .ghost-icon{display:none}.user-chip div{display:none}.page-wrap{padding:16px}.kpi-grid.four,.kpi-grid.five,.sport-grid,.profile-grid,.report-grid,.settings-bottom{grid-template-columns:1fr}.profile-hero{display:block}.profile-meta{grid-template-columns:1fr 1fr}.filter-card{grid-template-columns:1fr}.calendar-grid div{min-height:62px}.mobile-menu{display:block}}
.alert{border-radius:14px;padding:12px 16px;margin-bottom:14px;border:1px solid #e5e7eb;background:#fff}.alert-success{background:#dcfce7;color:#166534}.alert-danger{background:#fee2e2;color:#991b1b}.guest-body{min-height:100vh;background:linear-gradient(135deg,#0f172a,var(--theme-primary));display:grid;place-items:center;padding:20px}.login-card,.error-box{width:min(520px,100%);background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.25);padding:28px}.login-brand{text-align:center}.login-brand img{width:86px;height:86px;border-radius:999px;background:#dbeafe}.login-brand h1{font-size:24px;margin:12px 0 4px}.login-brand p{color:#64748b}.login-card form{display:grid;gap:14px}.login-card label{font-weight:800}.hint{color:#64748b;text-align:center}.full{width:100%}.row-actions{display:flex;gap:6px}.row-actions form{display:inline}.icon-mini.danger{color:#dc2626}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-actions{grid-column:1/-1;display:flex;gap:10px}.span-2{grid-column:span 2}.perm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}


/* v4 production admin */
.row-actions{display:flex;align-items:center;gap:6px}
.row-actions form{display:inline-flex;margin:0}
.icon-mini.danger{color:#dc2626}
.muted{color:#64748b;margin-top:-6px}
.role-box{border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin:10px 0;background:#fff}
.role-box summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.role-box summary small{color:#64748b}
.perm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.perm-grid label{border:1px solid #eef2f7;border-radius:10px;padding:8px;background:#f8fafc;font-size:12px}
.logo-box input[type=file]{margin-top:10px}
.org-form form{display:grid;gap:8px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.form-grid label{font-weight:800}
.form-actions{grid-column:1/-1;display:flex;gap:10px}
@media(max-width:760px){.perm-grid,.form-grid{grid-template-columns:1fr}}


/* v5 workflow UI */
.stack-form{display:grid;gap:10px;margin-top:14px}
.form-compact form{display:grid;gap:8px}
.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.download-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #eef2f7;padding:12px 0}
.report-downloads{margin-top:14px}
.report-downloads .btn{padding:7px 10px}
@media(max-width:760px){.two-cols,.download-row{grid-template-columns:1fr}}


/* v6 calendar / notifications / import */
.calendar-full{margin-bottom:14px}
.calendar-legend{display:flex;gap:10px;align-items:center;color:#64748b;font-size:13px;flex-wrap:wrap}
.dot{display:inline-block;width:10px;height:10px;border-radius:99px}
.dot.training{background:var(--theme-primary)}.dot.competition{background:var(--theme-secondary)}.dot.booking{background:#7c3aed}
.real-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff}
.weekday{background:#f8fafc;color:#64748b;padding:10px;text-align:center;border-bottom:1px solid #e5e7eb}
.calendar-cell{min-height:136px;border-right:1px solid #eef2f7;border-bottom:1px solid #eef2f7;padding:8px;position:relative}
.calendar-cell strong{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px}
.calendar-cell.is-today strong{background:var(--theme-primary);color:#fff}
.calendar-cell.is-muted{background:#f8fafc}
.calendar-event{display:block;margin-top:6px;border-radius:8px;padding:5px 7px;font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calendar-event span{font-weight:800;margin-right:4px}
.calendar-event.training{background:#dbeafe;color:var(--theme-primary-dark)}
.calendar-event.competition{background:#ffedd5;color:#c2410c}
.calendar-event.booking{background:#f3e8ff;color:#7e22ce}
.more{display:block;color:#64748b;margin-top:5px}
.filter-card.compact{grid-template-columns:1fr 1fr auto;margin-bottom:14px;box-shadow:none}
.import-help{margin-top:18px;padding:14px;background:#f8fafc;border-radius:14px}
.import-help code{display:block;background:#0f172a;color:#e2e8f0;padding:10px;border-radius:10px;white-space:normal}
@media(max-width:900px){.real-calendar{grid-template-columns:1fr}.weekday{display:none}.calendar-cell{min-height:auto}.filter-card.compact{grid-template-columns:1fr}}



/* v6.6 SaaS template polish — match provided reference screens */
:root{
  --src-blue:var(--theme-primary);
  --src-blue-2:#0052e8;
  --src-orange:#ff7a18;
  --src-ink:#0f172a;
  --src-muted:#718096;
  --src-border:#e9eef7;
  --src-card:#ffffff;
  --src-bg:#f7faff;
  --src-shadow:0 14px 40px rgba(15,23,42,.06);
  --src-shadow-sm:0 6px 22px rgba(15,23,42,.055);
}
html,body{background:var(--src-bg)!important;color:var(--src-ink);font-synthesis-weight:none}
.app-shell,.layout,.main-layout{min-height:100vh;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 24%,#f7faff 100%)}
.topbar,.app-header{
  height:76px!important;background:rgba(255,255,255,.93)!important;
  border-bottom:1px solid var(--src-border)!important;backdrop-filter:blur(16px);
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
.sidebar,.app-sidebar{
  background:rgba(255,255,255,.94)!important;border-right:1px solid var(--src-border)!important;
  box-shadow:4px 0 30px rgba(15,23,42,.025)!important;
}
.sidebar a,.nav-link{
  min-height:46px;border-radius:12px!important;color:#64748b!important;font-weight:650!important;
  transition:.18s ease;
}
.sidebar a:hover,.nav-link:hover{background:#f1f6ff!important;color:var(--theme-primary)!important}
.sidebar a.active,.nav-link.active{
  background:linear-gradient(135deg,var(--src-blue),var(--src-blue-2))!important;color:#fff!important;
  box-shadow:0 12px 26px rgba(var(--theme-primary-rgb),.22)!important;
}
.content,.main-content,.page-content{padding:26px 28px 34px!important}
.page-head{margin-bottom:18px!important;align-items:center!important}
.page-head h1{font-size:28px!important;font-weight:850!important;letter-spacing:-.03em;color:#0f172a!important}
.page-head p{font-size:14px!important;color:#8a96aa!important;margin-top:4px!important}
.card,.kpi,.filter-card{
  background:rgba(255,255,255,.96)!important;border:1px solid var(--src-border)!important;
  border-radius:18px!important;box-shadow:var(--src-shadow-sm)!important;
}
.card{padding:20px!important}
.kpi{min-height:116px!important;padding:20px 22px!important;display:flex;align-items:center;gap:16px}
.kpi strong{font-size:28px!important;line-height:1;color:#1f2a44!important;font-weight:850!important}
.kpi span{font-size:13px!important;color:#6b7890!important;font-weight:650!important}
.kpi-icon{width:56px!important;height:56px!important;border-radius:999px!important;font-size:27px!important}
.btn,.button,button{
  border-radius:12px!important;font-weight:750!important;min-height:42px;
}
.btn-primary{
  background:linear-gradient(135deg,var(--src-blue),#064de2)!important;border:0!important;
  box-shadow:0 14px 28px rgba(var(--theme-primary-rgb),.22)!important;color:#fff!important;
}
.btn-secondary{background:#fff!important;border:1px solid var(--src-border)!important;color:#3362b7!important}
input,select,textarea{
  border:1px solid var(--src-border)!important;border-radius:12px!important;background:#fff!important;
  min-height:42px!important;color:#25324b!important;
}
table{border-collapse:separate!important;border-spacing:0!important}
thead th{
  background:#f8fbff!important;color:#64748b!important;font-size:12px!important;
  font-weight:800!important;border-bottom:1px solid var(--src-border)!important;
}
tbody td{border-bottom:1px solid #eef2f8!important;color:#334155!important}
.badge{border-radius:999px!important;padding:5px 10px!important;font-weight:750!important}
.person img,.mini-row img{
  object-fit:cover!important;background:#edf3ff!important;border:2px solid #fff!important;
  box-shadow:0 2px 8px rgba(15,23,42,.12)!important;
}
.venue img{
  object-fit:cover!important;border-radius:14px!important;box-shadow:0 6px 18px rgba(15,23,42,.09)!important;
}
.calendar-card,.calendar-full{box-shadow:var(--src-shadow)!important}
.real-calendar,.calendar-grid{border-color:var(--src-border)!important}
.calendar-cell,.calendar-grid>div{background:#fff}
.calendar-cell:hover,.calendar-grid>div:hover{background:#f8fbff}
.report-grid .card,.facility-layout .card,.training-layout .card,.competition-layout .card{
  box-shadow:var(--src-shadow-sm)!important;
}
@media (min-width:1200px){
  .content,.main-content,.page-content{padding-left:30px!important;padding-right:30px!important}
}
@media (max-width:900px){
  .content,.main-content,.page-content{padding:16px!important}
  .kpi{min-height:96px!important}
}


/* v6.7 dashboard exact reference polish */
:root{
  --ref-blue:#005BFF;
  --ref-blue2:#0A67F5;
  --ref-orange:#FF6B00;
  --ref-ink:#16223A;
  --ref-muted:#8793A8;
  --ref-border:#E9EEF7;
  --ref-bg:#F8FAFD;
  --ref-card:#FFFFFF;
  --ref-radius:18px;
  --ref-shadow:0 10px 26px rgba(19,31,55,.055),0 1px 2px rgba(19,31,55,.04);
}
body{background:var(--ref-bg)!important;color:var(--ref-ink)!important;font-size:14px!important}
.app-shell{background:var(--ref-bg)!important}
.sidebar.src-ref-sidebar{
  width:230px!important;padding:84px 16px 18px!important;background:#fff!important;border-right:1px solid #edf1f7!important;
  box-shadow:0 0 0 rgba(0,0,0,0)!important;
}
.app-main{margin-left:230px!important;width:calc(100% - 230px)!important}
.topbar.src-ref-topbar{
  height:74px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #edf1f7!important;
  padding:0 26px 0 28px!important;box-shadow:none!important;position:sticky;top:0;z-index:30;
}
.src-ref-brand{gap:14px!important}
.src-ref-menu{width:28px;height:28px;display:grid!important;gap:4px;align-content:center;padding:0!important;margin-right:14px}
.src-ref-menu span{display:block;width:18px;height:2px;background:#91A0B7;border-radius:99px;margin-left:4px}
.src-ref-logo{width:58px!important;height:58px!important;border-radius:999px!important;box-shadow:0 3px 12px rgba(15,23,42,.08)}
.brand-title{font-size:27px!important;font-weight:900!important;letter-spacing:-.04em!important;color:#111D35!important;line-height:1.05!important}
.brand-subtitle{font-size:14px!important;color:#8B97AA!important;font-weight:600!important;margin-top:5px!important}
.src-ref-top-actions{gap:18px!important}
.src-ref-top-icon{
  width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;
  color:#8A97AF!important;padding:0!important
}
.src-ref-top-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.has-badge span{right:-3px!important;top:-5px!important;background:#ff1e2d!important;color:#fff!important;border:2px solid #fff!important;min-width:20px!important;height:20px!important;line-height:16px!important;font-size:11px!important;font-weight:800!important}
.src-ref-user{border-radius:0!important;background:transparent!important;padding:0!important;gap:12px!important;margin-left:8px}
.src-ref-user img{width:52px!important;height:52px!important;border:0!important;box-shadow:0 6px 18px rgba(15,23,42,.1)!important}
.src-ref-user b{font-size:15px!important;color:#1B2A44!important;font-weight:850!important;line-height:1.1}
.src-ref-user small{font-size:12px!important;color:#8B97AA!important;font-weight:650!important}
.src-ref-user-caret{display:grid;place-items:center;width:22px;height:22px;color:#A0AAC0}
.src-ref-user-caret svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.page-wrap{padding:28px 28px 36px!important;max-width:none!important;margin:0!important}
.src-ref-side-nav{gap:9px!important}
.side-link{height:48px!important;border-radius:10px!important;padding:0 13px!important;color:#8693AA!important;gap:13px!important;font-size:15px!important;font-weight:700!important}
.side-link b{font-weight:750!important}
.src-ref-side-icon{width:24px!important;height:24px!important;display:grid!important;place-items:center!important}
.src-ref-side-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.side-link.is-active{background:linear-gradient(135deg,#005BFF 0%,#006BFF 100%)!important;color:#fff!important;box-shadow:0 10px 24px rgba(0,91,255,.22)!important}
.side-link:hover:not(.is-active){background:#F3F7FF!important;color:#2665D8!important}
.src-ref-system-card{
  margin-top:auto!important;border:1px solid #edf1f7!important;border-radius:18px!important;padding:18px!important;background:#fff!important;
  color:#8996AA!important;box-shadow:0 6px 22px rgba(19,31,55,.035)!important
}
.src-ref-system-card .shield{width:32px;height:32px;display:grid;place-items:center;color:#94A3B8}
.src-ref-system-card .shield svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8}
.src-ref-system-card b{font-size:14px!important;color:#5B6A83!important;margin:7px 0 6px!important}
.src-ref-system-card small{font-size:12px!important;line-height:1.55!important}
.src-dashboard-head{margin:0 0 16px!important}
.src-dashboard-head h1{font-size:25px!important;font-weight:900!important;letter-spacing:-.03em!important;color:#111D35!important}
.src-update-btn{min-width:132px!important;height:46px!important;border-radius:11px!important;box-shadow:0 10px 22px rgba(0,91,255,.2)!important;padding:0 18px!important}
.src-update-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.src-kpi-grid{gap:14px!important;margin-bottom:18px!important}
.kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.src-kpi{
  height:118px!important;min-height:118px!important;border-radius:16px!important;border:1px solid var(--ref-border)!important;background:#fff!important;
  box-shadow:var(--ref-shadow)!important;padding:20px 24px!important;gap:17px!important
}
.src-kpi .kpi-icon{width:58px!important;height:58px!important;background:#EAF2FF!important;position:relative;flex:0 0 auto}
.src-kpi .kpi-icon.orange{background:#FFF0E3!important}
.src-kpi .kpi-icon::before{content:"";position:absolute;inset:15px;background:currentColor;mask:center/contain no-repeat}
.src-icon-users{color:#0B63FF}.src-icon-users::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-8 0a4 4 0 0 0 8 0Zm-4-7a3 3 0 0 1 3 3a3 3 0 0 1-6 0a3 3 0 0 1 3-3ZM4 20c0-3.5 3.5-6 8-6s8 2.5 8 6v1H4v-1Z'/%3E%3C/svg%3E")}
.src-icon-timer{color:#0B63FF}.src-icon-timer::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 2h6v2H9V2Zm2 9V6h2v6l4 2l-1 1.7l-5-3V11Zm1-5a8 8 0 1 0 0 16a8 8 0 0 0 0-16Z'/%3E%3C/svg%3E")}
.src-icon-magic{color:#FF6B00}.src-icon-magic::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 14l9-9l2 2l-9 9H4v-2Zm13-12l1 3l3 1l-3 1l-1 3l-1-3l-3-1l3-1l1-3Zm1 11l.8 2.2L21 16l-2.2.8L18 19l-.8-2.2L15 16l2.2-.8L18 13Z'/%3E%3C/svg%3E")}
.src-icon-calendar{color:#FF6B00}.src-icon-calendar::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm11 8H6v10h12V10Z'/%3E%3C/svg%3E")}
.src-kpi span{font-size:14px!important;color:#7A879B!important;font-weight:700!important}
.src-kpi strong{font-size:30px!important;font-weight:900!important;color:#1E2B44!important;margin:2px 0 4px!important;display:block}
.src-kpi small{font-size:12px!important;color:#8C98AA!important;font-weight:600!important}
.src-kpi .trend{color:#14B87A!important}
.src-section-title{font-size:24px!important;letter-spacing:-.03em!important;margin:18px 0 12px!important;color:#111D35!important;font-weight:900!important}
.src-sport-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important;margin-bottom:17px!important}
.src-sport-card{
  border-radius:16px!important;background:#fff!important;border:1px solid var(--ref-border)!important;box-shadow:var(--ref-shadow)!important;overflow:hidden!important;
  min-height:318px!important;padding:0 0 14px!important
}
.src-sport-head{height:63px!important;padding:0 18px!important;color:#fff!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
.src-sport-card.theme-blue .src-sport-head{background:linear-gradient(135deg,#005BFF,#006CFF)!important}
.src-sport-card.theme-orange .src-sport-head{background:linear-gradient(135deg,#FF6B00,#FF7F18)!important}
.src-sport-card.theme-navy .src-sport-head{background:linear-gradient(135deg,#0061A8,#00548B)!important}
.src-sport-head h3{font-size:21px!important;font-weight:900!important;margin:0!important;color:#fff!important}
.src-sport-icon{width:46px;height:46px;display:block;background:rgba(255,255,255,.9);border-radius:12px;position:relative}
.src-sport-icon::before{content:"";position:absolute;inset:8px;background:currentColor;mask:center/contain no-repeat;color:#fff}
.src-sport-icon.run::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13 5a2 2 0 1 0-4 0a2 2 0 0 0 4 0Zm-2 3l-3 4H4v2h5l2-2l1.5 2.5L9 22h3l3-7l-2-4l2.5 1.5H20v-2h-4l-3-2.5H11Z'/%3E%3C/svg%3E")}
.src-sport-icon.jump::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 18h16v2H4v-2Zm12-13l4 1l-.5 2l-2.7-.7l-3.1 3.1l2.7 2.6L15 14.4l-3-2.9l-2 2V17H8v-4.3l4.7-4.7L10 6H7V4h4l5 1Z'/%3E%3C/svg%3E")}
.src-sport-icon.weight{border-radius:50%;background:#313A49;box-shadow:inset -8px -10px 18px rgba(0,0,0,.32)}
.src-sport-icon.weight::before{display:none}
.src-sport-icon.longjump::before{mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13 5a2 2 0 1 0-4 0a2 2 0 0 0 4 0ZM3 18h18v2H3v-2Zm8-10l-3 4H4v2h5l2-2l2 3h4v-2h-3l-2-3l2-2h4V6h-5l-2 2Z'/%3E%3C/svg%3E")}
.src-chart-title{font-size:12px;font-weight:800;color:#64748b;margin:12px 18px 0}
.src-fake-chart{height:108px!important;margin:8px 18px 10px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;border-bottom:1px solid #edf2f8;position:relative}
.fake-chart.line i{background:linear-gradient(180deg,rgba(0,91,255,.55),rgba(0,91,255,.08))!important;border-radius:8px 8px 0 0!important;width:10px!important}
.fake-chart.bar i:nth-child(odd){background:#FF6B00!important}
.fake-chart.bar i:nth-child(even){background:#005BFF!important}
.src-radar{width:104px;height:104px;margin:0 auto;position:relative;background:rgba(0,91,255,.08);clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)}
.src-radar::after{content:"";position:absolute;inset:18px;background:rgba(0,91,255,.22);clip-path:polygon(50% 0,90% 40%,74% 86%,25% 86%,10% 40%)}
.src-sport-card h4{font-size:12px!important;color:#334155!important;margin:8px 18px 6px!important}
.src-athlete-row{margin:6px 18px!important;display:grid!important;grid-template-columns:26px 1fr auto!important;gap:8px!important;align-items:center!important}
.src-athlete-row img{width:26px!important;height:26px!important;border-radius:999px!important}
.src-athlete-row span{font-size:12px!important;color:#334155!important}
.src-athlete-row b{font-size:12px!important;color:#334155!important;font-weight:800!important}
.src-dashboard-lower{display:grid!important;grid-template-columns:1.25fr .72fr 1.25fr!important;gap:16px!important;align-items:stretch!important}
.src-recent-card,.src-calendar-card{border-radius:16px!important;border:1px solid var(--ref-border)!important;box-shadow:var(--ref-shadow)!important;padding:0!important;overflow:hidden!important}
.card-head{height:55px!important;padding:0 18px!important;border-bottom:1px solid #edf2f8!important;display:flex!important;align-items:center!important}
.card-head h2{font-size:19px!important;color:#111D35!important;font-weight:900!important;margin:0!important}
.src-dashboard-table th{font-size:11px!important;padding:10px 13px!important;background:#fbfcff!important}
.src-dashboard-table td{font-size:12px!important;padding:9px 13px!important;border-bottom:1px solid #edf2f8!important}
.src-mini-person{display:flex;align-items:center;gap:8px;white-space:nowrap}
.src-mini-person img{width:26px;height:26px;border-radius:999px}
.link-more{display:block;text-align:center;color:#0B5CFF!important;font-weight:800!important;font-size:13px!important;padding:12px 0!important}
.src-cta-card{
  border-radius:16px!important;min-height:100%!important;background:linear-gradient(160deg,#005BFF 0%,#0058F0 62%,#0144BB 100%)!important;
  box-shadow:0 16px 36px rgba(0,91,255,.24)!important;color:#fff!important;padding:34px 22px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;position:relative;overflow:hidden!important
}
.src-cta-card::after{content:"";position:absolute;inset:auto 0 0 0;height:90px;background:url('/chachoengsao_sports_club/uploads/facilities/running-track.jpg') center/cover;opacity:.12}
.src-cta-icon{width:52px;height:52px;display:grid;place-items:center;border:2px solid rgba(255,255,255,.75);border-radius:14px;margin-bottom:16px}
.src-cta-icon svg{width:31px;height:31px;fill:none;stroke:#fff;stroke-width:2}
.src-cta-card h2{font-size:25px!important;margin:0 0 8px!important;color:#fff!important;font-weight:900!important}
.src-cta-card p{font-size:14px!important;opacity:.9;margin:0 0 22px!important}
.src-cta-card .btn-light{height:48px!important;border-radius:18px!important;background:#fff!important;color:#0B5CFF!important;border:0!important;padding:0 24px!important;box-shadow:0 10px 20px rgba(15,23,42,.18)!important}
.src-month-head{display:flex;align-items:center;justify-content:space-between;padding:13px 18px 6px}
.src-month-head button{width:30px;height:30px;border-radius:8px!important;border:0!important;background:#fff!important;color:#64748b!important;font-size:26px!important;line-height:1!important}
.src-month-head b{font-size:13px!important;color:#1e293b!important}
.src-mini-calendar{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:7px!important;padding:0 18px 10px!important}
.src-mini-calendar span{height:26px!important;display:grid!important;place-items:center!important;border-radius:8px!important;font-size:12px!important;color:#64748b!important}
.src-mini-calendar .day-name{font-size:11px!important;font-weight:800!important;color:#94a3b8!important}
.src-mini-calendar .selected{background:#0B5CFF!important;color:#fff!important;border-radius:999px!important;box-shadow:0 8px 18px rgba(0,91,255,.22)}
.src-event-list{padding:0 18px 5px!important;display:grid!important;gap:9px!important}
.src-event-list a{display:grid!important;grid-template-columns:80px 1fr!important;gap:9px!important;align-items:start!important;color:#334155!important}
.src-event-list b{font-size:12px!important;color:#FF6B00!important}
.src-event-list span{font-size:12px!important;color:#475569!important;line-height:1.35}
@media(max-width:1280px){
  .src-sport-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .src-dashboard-lower{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  .app-main{margin-left:0!important;width:100%!important}
  .sidebar.src-ref-sidebar{transform:translateX(-100%);transition:.2s}
  .sidebar.is-open{transform:translateX(0)}
  .brand-title{font-size:19px!important}
  .src-ref-logo{width:44px!important;height:44px!important}
  .src-kpi-grid,.kpi-grid.four{grid-template-columns:1fr!important}
  .src-sport-grid{grid-template-columns:1fr!important}
  .topbar.src-ref-topbar{padding:0 14px!important}
  .src-ref-user div{display:none}
}



/* v6.8 REAL FIX: global topbar + exact dashboard layout; placed last intentionally */
html,body{
  width:100%;
  min-height:100%;
  overflow-x:hidden;
  background:#f7f9fd !important;
}
body{
  margin:0 !important;
  font-family:'Noto Sans Thai',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  color:#16223a !important;
}
.src-app-frame{
  min-height:100vh !important;
  width:100% !important;
  background:#f7f9fd !important;
}
.app-shell{display:block!important;background:#f7f9fd!important}
.topbar.src-ref-topbar{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100vw !important;
  height:88px !important;
  z-index:1000 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:0 28px 0 31px !important;
  background:#fff !important;
  border-bottom:1px solid #e9eef6 !important;
  box-shadow:none !important;
}
.src-ref-brand{
  height:88px !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  min-width:0 !important;
}
.src-ref-menu{
  width:28px !important;
  height:28px !important;
  margin:0 20px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  display:grid !important;
  place-content:center !important;
  gap:4px !important;
  flex:0 0 28px !important;
}
.src-ref-menu span{
  display:block !important;
  width:18px !important;
  height:2px !important;
  background:#91a0b7 !important;
  border-radius:999px !important;
}
.src-ref-logo{
  width:64px !important;
  height:64px !important;
  flex:0 0 64px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  box-shadow:0 3px 11px rgba(15,23,42,.08) !important;
}
.src-ref-brand-text{
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
}
.brand-title{
  margin:0 !important;
  font-size:27px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  letter-spacing:-.045em !important;
  color:#101a31 !important;
  white-space:nowrap !important;
}
.brand-subtitle{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.2 !important;
  color:#8c98aa !important;
  font-weight:600 !important;
  white-space:nowrap !important;
}
.src-ref-top-actions{
  height:88px !important;
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  flex:0 0 auto !important;
}
.src-ref-top-icon{
  width:35px !important;
  height:35px !important;
  display:grid !important;
  place-items:center !important;
  color:#8b98ad !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  border-radius:10px !important;
  position:relative !important;
}
.src-ref-top-icon svg{
  width:25px !important;
  height:25px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.9 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.src-ref-top-icon.has-badge span{
  position:absolute !important;
  top:-5px !important;
  right:-4px !important;
  display:grid !important;
  place-items:center !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 !important;
  border-radius:999px !important;
  background:#ff1d2e !important;
  color:#fff !important;
  border:2px solid #fff !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
}
.src-ref-user{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  margin-left:10px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
}
.src-ref-user img{
  width:52px !important;
  height:52px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  border:0 !important;
  box-shadow:0 6px 18px rgba(15,23,42,.1) !important;
}
.src-ref-user b{
  display:block !important;
  font-size:15px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
  color:#1b2a44 !important;
  white-space:nowrap !important;
}
.src-ref-user small{
  display:block !important;
  margin-top:3px !important;
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:650 !important;
  color:#8b97aa !important;
  white-space:nowrap !important;
}
.src-ref-user-caret{
  display:grid !important;
  place-items:center !important;
  width:22px !important;
  height:22px !important;
  color:#a0aac0 !important;
}
.src-ref-user-caret svg{
  width:18px !important;
  height:18px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2.1 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.sidebar.src-ref-sidebar{
  position:fixed !important;
  left:0 !important;
  top:88px !important;
  bottom:0 !important;
  width:230px !important;
  height:calc(100vh - 88px) !important;
  padding:18px 16px 18px !important;
  background:#fff !important;
  border-right:1px solid #edf1f7 !important;
  box-shadow:none !important;
  z-index:900 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:auto !important;
}
.src-app-main,.app-main{
  margin-left:230px !important;
  width:calc(100% - 230px) !important;
  min-height:100vh !important;
  padding-top:88px !important;
  background:#f7f9fd !important;
}
.page-wrap.src-page-wrap,.page-wrap{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:25px 28px 36px 26px !important;
}
.src-ref-side-nav{
  display:grid !important;
  gap:9px !important;
}
.side-link{
  height:48px !important;
  min-height:48px !important;
  display:flex !important;
  align-items:center !important;
  gap:13px !important;
  padding:0 13px !important;
  border-radius:10px !important;
  color:#8794aa !important;
  background:transparent !important;
  font-size:15px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
.side-link b{
  font-weight:750 !important;
  color:inherit !important;
}
.src-ref-side-icon{
  width:24px !important;
  height:24px !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 24px !important;
}
.src-ref-side-icon svg{
  width:23px !important;
  height:23px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.85 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.side-link.is-active{
  background:linear-gradient(135deg,#005bff 0%,#006bff 100%) !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(0,91,255,.22) !important;
}
.side-link:hover:not(.is-active){
  background:#f3f7ff !important;
  color:#2665d8 !important;
}
.src-ref-system-card{
  margin-top:auto !important;
  min-height:118px !important;
  border:1px solid #edf1f7 !important;
  border-radius:18px !important;
  padding:18px !important;
  background:#fff !important;
  color:#8996aa !important;
  box-shadow:0 6px 22px rgba(19,31,55,.035) !important;
}
.src-ref-system-card .shield{
  width:32px !important;
  height:32px !important;
  color:#94a3b8 !important;
}
.src-ref-system-card .shield svg{
  width:28px !important;
  height:28px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.8 !important;
}
.src-ref-system-card b{
  margin:7px 0 6px !important;
  color:#5b6a83 !important;
  font-size:14px !important;
}
.src-ref-system-card small{
  display:block !important;
  margin:0 !important;
  color:#98a4b5 !important;
  font-size:12px !important;
  line-height:1.55 !important;
}

/* dashboard exact dimensions */
.src-dashboard-head{
  height:45px !important;
  margin:0 0 15px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}
.src-dashboard-head h1{
  margin:0 !important;
  color:#111d35 !important;
  font-size:25px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.03em !important;
}
.src-update-btn{
  width:151px !important;
  height:47px !important;
  min-height:47px !important;
  border-radius:11px !important;
  background:linear-gradient(135deg,#005bff,#006bff) !important;
  color:#fff !important;
  border:0 !important;
  font-size:14px !important;
  font-weight:800 !important;
  box-shadow:0 10px 22px rgba(0,91,255,.2) !important;
}
.src-update-btn svg{
  width:20px !important;
  height:20px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.kpi-grid.four.src-kpi-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
  margin:0 0 17px !important;
}
.src-kpi{
  height:116px !important;
  min-height:116px !important;
  padding:20px 23px !important;
  display:flex !important;
  align-items:center !important;
  gap:17px !important;
  border:1px solid #e9eef7 !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(19,31,55,.055),0 1px 2px rgba(19,31,55,.04) !important;
}
.src-kpi .kpi-icon{
  width:58px !important;
  height:58px !important;
  border-radius:999px !important;
  flex:0 0 58px !important;
}
.src-kpi span{
  display:block !important;
  color:#7a879b !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.1 !important;
  margin:0 0 4px !important;
}
.src-kpi strong{
  display:block !important;
  margin:0 0 5px !important;
  color:#1e2b44 !important;
  font-size:30px !important;
  font-weight:900 !important;
  line-height:1 !important;
}
.src-kpi small{
  display:block !important;
  color:#8c98aa !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.1 !important;
}
.src-kpi .trend{color:#14b87a !important}
.src-section-title{
  margin:0 0 12px !important;
  color:#111d35 !important;
  font-size:24px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.03em !important;
}
.src-sport-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:15px !important;
  margin:0 0 17px !important;
}
.src-sport-card{
  height:342px !important;
  min-height:342px !important;
  padding:0 0 14px !important;
  overflow:hidden !important;
  border:1px solid #e9eef7 !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(19,31,55,.055),0 1px 2px rgba(19,31,55,.04) !important;
}
.src-sport-head{
  height:63px !important;
  margin:0 !important;
  padding:0 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  color:#fff !important;
}
.src-sport-head h3{
  margin:0 !important;
  color:#fff !important;
  font-size:21px !important;
  font-weight:900 !important;
  line-height:1 !important;
}
.src-chart-title{
  margin:12px 18px 0 !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:800 !important;
}
.src-fake-chart{
  height:110px !important;
  margin:8px 18px 10px !important;
}
.src-sport-card h4{
  margin:8px 18px 6px !important;
  color:#334155 !important;
  font-size:12px !important;
  font-weight:800 !important;
}
.src-athlete-row{
  height:28px !important;
  margin:5px 18px !important;
}
.src-dashboard-lower{
  display:grid !important;
  grid-template-columns:1.23fr .71fr 1.31fr !important;
  gap:16px !important;
  align-items:stretch !important;
}
.src-recent-card,.src-calendar-card{
  min-height:306px !important;
}
.src-cta-card{
  min-height:306px !important;
}
@media(max-width:1280px){
  .src-sport-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .src-dashboard-lower{grid-template-columns:1fr !important}
}
@media(max-width:900px){
  .topbar.src-ref-topbar{height:72px !important;padding:0 14px !important}
  .sidebar.src-ref-sidebar{
    top:72px !important;
    height:calc(100vh - 72px) !important;
    transform:translateX(-105%) !important;
    transition:.22s ease !important;
  }
  .sidebar.src-ref-sidebar.open,.sidebar.src-ref-sidebar.is-open{transform:translateX(0) !important}
  .src-app-main,.app-main{margin-left:0 !important;width:100% !important;padding-top:72px !important}
  .brand-title{font-size:19px !important}
  .brand-subtitle{font-size:11px !important}
  .src-ref-logo{width:46px !important;height:46px !important;flex-basis:46px !important}
  .src-ref-menu{margin-right:8px !important}
  .src-ref-user div{display:none !important}
  .src-ref-top-actions{gap:7px !important}
  .page-wrap.src-page-wrap,.page-wrap{padding:16px !important}
  .kpi-grid.four.src-kpi-grid{grid-template-columns:1fr !important}
  .src-sport-grid{grid-template-columns:1fr !important}
}



/* v6.13 training form */
.src-form-card{
  border:1px solid #e9eef7!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(19,31,55,.055),0 1px 2px rgba(19,31,55,.04)!important;
}
.form-section-title{margin:0 0 18px}
.form-section-title h2{margin:0;color:#111d35;font-size:20px;font-weight:900}
.form-section-title p{margin:6px 0 0;color:#8793a8;font-size:13px;font-weight:600}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.field{display:grid;gap:7px;font-weight:800;color:#24324a}
.field span{font-size:13px}
.field b{color:#ef4444}
.field input,.field select,.field textarea{
  width:100%;
  border:1px solid #e7edf7!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#172033!important;
  padding:10px 12px!important;
  min-height:44px!important;
  outline:none;
}
.field textarea{resize:vertical;line-height:1.55}
.col-span-2{grid-column:span 2}
.form-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:20px;padding-top:18px;border-top:1px solid #eef2f8}
@media(max-width:760px){.form-grid{grid-template-columns:1fr}.col-span-2{grid-column:span 1}.form-actions{justify-content:stretch;flex-direction:column}.form-actions .btn{width:100%}}


/* v6.15 dashboard clarity + real notifications */
.src-top-dropdown{position:relative;display:flex;align-items:center}
.src-notify-dropdown{position:absolute;top:calc(100% + 12px);right:-8px;width:380px;background:#fff;border:1px solid #e8eef7;border-radius:18px;box-shadow:0 22px 48px rgba(15,23,42,.14);padding:14px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;z-index:80}
.src-top-dropdown:hover .src-notify-dropdown,.src-top-dropdown:focus-within .src-notify-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.src-notify-head{padding:2px 2px 10px;border-bottom:1px solid #eef2f8}
.src-notify-head strong{display:block;font-size:15px;color:#15233c}
.src-notify-head small{display:block;margin-top:3px;color:#8793a8;font-size:12px}
.src-notify-list{max-height:330px;overflow:auto;padding-top:8px}
.src-notify-item{display:flex;gap:10px;align-items:flex-start;padding:10px 8px;border-radius:12px}
.src-notify-item:hover{background:#f8fbff}
.src-notify-item b{display:block;font-size:13px;line-height:1.4;color:#16223a;font-weight:800}
.src-notify-item small{display:block;margin-top:3px;font-size:11px;color:#8490a5;line-height:1.45}
.src-notify-dot{width:10px;height:10px;border-radius:999px;display:inline-block;flex:0 0 auto;margin-top:6px;background:#aab6c8}
.src-notify-dot.pending{background:#f59e0b}.src-notify-dot.failed{background:#ef4444}.src-notify-dot.sent{background:#22c55e}.src-notify-dot.cancelled{background:#94a3b8}
.src-notify-empty{padding:18px 10px;text-align:center;color:#8a97af;font-size:13px}
.src-notify-footer{display:block;margin-top:10px;padding-top:10px;border-top:1px solid #eef2f8;color:var(--theme-primary);font-weight:800;text-align:right}
.src-kpi .kpi-icon,.src-sport-icon{display:grid!important;place-items:center!important;overflow:hidden!important}
.src-kpi .kpi-icon::before,.src-sport-icon::before{display:none!important}
.src-kpi .kpi-icon svg{width:28px!important;height:28px!important;color:currentColor;display:block}
.src-sport-icon svg{width:28px!important;height:28px!important;color:#fff;display:block}
.src-sport-icon.weight svg{width:46px!important;height:46px!important}
.src-athlete-row img,.src-mini-person img,.src-recent-card img,.src-calendar-card img,.sport-card img,.card img,.venue img,.person img,.mini-row img{image-rendering:auto!important;object-fit:cover!important;filter:contrast(1.03) saturate(1.03)!important}
.ghost-icon.has-badge span{display:grid;place-items:center}
@media (max-width: 991px){.src-notify-dropdown{right:-80px;width:320px}}



/* v6.16 real dashboard sport data */
.src-real-chart{
  position:relative!important;
  height:110px!important;
  margin:8px 18px 10px!important;
  border-bottom:1px solid #edf2f8!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
  overflow:hidden!important;
}
.src-real-chart svg{
  position:absolute!important;
  inset:0 0 18px 0!important;
  width:100%!important;
  height:92px!important;
  z-index:2!important;
}
.src-real-chart polyline{
  fill:none!important;
  stroke:var(--theme-primary)!important;
  stroke-width:2.2!important;
  vector-effect:non-scaling-stroke!important;
}
.theme-orange .src-real-chart polyline{stroke:#ff6b00!important}
.src-real-chart circle{fill:#fff!important;stroke:var(--theme-primary)!important;stroke-width:1.6!important;vector-effect:non-scaling-stroke!important}
.theme-orange .src-real-chart circle{stroke:#ff6b00!important}
.src-chart-bars{
  position:absolute!important;
  inset:0 0 0 0!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:end!important;
  gap:14px!important;
  padding:12px 0 0!important;
  z-index:1!important;
}
.src-chart-bar-wrap{
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:4px!important;
}
.src-chart-bar-wrap i{
  width:100%!important;
  min-height:8px!important;
  border-radius:7px 7px 0 0!important;
  background:linear-gradient(180deg,var(--theme-primary) 0%,#9fc0ff 100%)!important;
  display:block!important;
}
.theme-orange .src-chart-bar-wrap i:nth-child(n),
.theme-orange .src-chart-bar-wrap:nth-child(odd) i{background:linear-gradient(180deg,#ff6b00 0%,#ffd0a8 100%)!important}
.theme-orange .src-chart-bar-wrap:nth-child(even) i{background:linear-gradient(180deg,var(--theme-primary) 0%,var(--theme-primary-soft) 100%)!important}
.theme-navy .src-chart-bar-wrap i{background:linear-gradient(180deg,#0b669a 0%,#b7ddff 100%)!important}
.src-chart-bar-wrap small{
  height:14px!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
}
.src-real-chart.is-line .src-chart-bars{opacity:.48!important}
.src-real-radar-chart{
  display:grid!important;
  grid-template-columns:110px 1fr!important;
  align-items:center!important;
  gap:10px!important;
  height:110px!important;
  margin:8px 18px 10px!important;
  border-bottom:1px solid #edf2f8!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
}
.src-real-radar-chart svg{
  width:104px!important;
  height:104px!important;
}
.src-real-radar-chart .radar-bg{
  fill:rgba(var(--theme-primary-rgb),.09)!important;
  stroke:rgba(var(--theme-primary-rgb),.15)!important;
  stroke-width:1!important;
}
.src-real-radar-chart .radar-mid{
  fill:rgba(var(--theme-primary-rgb),.10)!important;
  stroke:rgba(var(--theme-primary-rgb),.18)!important;
  stroke-width:1!important;
}
.src-real-radar-chart .radar-data{
  fill:rgba(var(--theme-primary-rgb),.28)!important;
  stroke:#ff6b00!important;
  stroke-width:2!important;
}
.src-radar-labels{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:3px!important;
}
.src-radar-labels span{
  color:#64748b!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.src-real-chart-empty{
  height:110px!important;
  margin:8px 18px 10px!important;
  border-bottom:1px solid #edf2f8!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#f8fbff,#fff)!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:4px!important;
  color:#7c8aa1!important;
  text-align:center!important;
}
.src-real-chart-empty span{font-size:13px!important;font-weight:900!important;color:#52627a!important}
.src-real-chart-empty small{font-size:11px!important;font-weight:700!important;color:#9aa6b8!important}
.src-no-athlete{
  margin:12px 18px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  color:#7c8aa1!important;
  font-size:12px!important;
  font-weight:800!important;
  text-align:center!important;
}


/* v6.18 all sports slider + clearer icons */
.src-sport-slider{display:block!important;margin-bottom:18px!important}
.src-sport-slider-head{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 2px 14px!important;gap:12px!important}
.src-sport-slider-summary{font-size:13px!important;font-weight:800!important;color:#75839a!important}
.src-sport-slider-actions{display:flex!important;gap:8px!important}
.src-sport-nav{width:36px!important;height:36px!important;border-radius:12px!important;border:1px solid #dbe5f2!important;background:#fff!important;color:#193252!important;font-size:24px!important;line-height:1!important;font-weight:900!important;display:grid!important;place-items:center!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important;cursor:pointer}
.src-sport-nav:hover{background:#f7faff!important;border-color:#c4d7f7!important;color:var(--theme-primary)!important}
.src-sport-viewport{overflow-x:auto!important;overflow-y:hidden!important;scroll-behavior:smooth!important;scroll-snap-type:x mandatory!important;padding-bottom:6px!important}
.src-sport-viewport::-webkit-scrollbar{height:10px}
.src-sport-viewport::-webkit-scrollbar-thumb{background:#d8e2f0;border-radius:999px}
.src-sport-track{display:flex!important;flex-wrap:nowrap!important;gap:16px!important;min-width:max-content!important}
.src-sport-track .src-sport-card{width:calc((100vw - 380px)/4)!important;min-width:295px!important;max-width:335px!important;scroll-snap-align:start!important;flex:0 0 auto!important}
@media(max-width:1400px){.src-sport-track .src-sport-card{width:calc((100vw - 320px)/3)!important}}
@media(max-width:1100px){.src-sport-track .src-sport-card{width:calc((100vw - 120px)/2)!important}}
@media(max-width:700px){.src-sport-track .src-sport-card{width:calc(100vw - 48px)!important;min-width:260px!important}.src-sport-slider-head{align-items:flex-start!important;flex-direction:column!important}}
.src-sport-card .src-sport-head{display:flex!important;align-items:center!important;justify-content:space-between!important}
.src-sport-card .src-sport-head h3{padding-right:10px!important;line-height:1.2!important}
.src-sport-icon{width:54px!important;height:54px!important;border-radius:16px!important;background:rgba(255,255,255,.22)!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.15)!important;backdrop-filter:blur(2px)!important}
.src-sport-icon svg{width:30px!important;height:30px!important;color:#fff!important;display:block!important;stroke:currentColor!important;filter:drop-shadow(0 1px 0 rgba(0,0,0,.12))!important}
.theme-blue .src-sport-icon,.theme-orange .src-sport-icon,.theme-navy .src-sport-icon{background:rgba(255,255,255,.18)!important}
.theme-navy .src-sport-head{background:#0e639e!important}
.theme-blue .src-sport-head{background:#1662f0!important}
.theme-orange .src-sport-head{background:#ff7a0d!important}


/* v6.19 sport type management + Font Awesome style icons */
.src-sport-type-filter{
  display:grid!important;
  grid-template-columns:1.2fr .7fr auto!important;
  gap:14px!important;
  align-items:end!important;
  margin-bottom:16px!important;
}
.src-sport-type-filter label,.src-sport-type-form .field{display:grid!important;gap:7px!important}
.src-sport-type-filter span,.src-sport-type-form .field span{font-weight:800!important;color:#334155!important;font-size:13px!important}
.src-sport-type-filter input,.src-sport-type-filter select,.src-sport-type-form input{
  height:44px!important;border:1px solid #e7edf7!important;border-radius:13px!important;padding:0 12px!important;background:#fff!important;color:#172033!important;
}
.src-filter-actions{display:flex!important;gap:8px!important}
.src-sport-type-card{overflow:hidden!important}
.src-sport-type-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;padding:16px!important}
.src-sport-type-item{
  border:1px solid #e9eef7!important;border-radius:18px!important;background:#fff!important;padding:16px!important;
  box-shadow:0 10px 26px rgba(19,31,55,.045)!important;display:grid!important;gap:13px!important
}
.src-sport-type-top{display:flex!important;align-items:center!important;gap:12px!important}
.src-sport-type-top h3{margin:0!important;color:#111d35!important;font-size:18px!important;font-weight:900!important}
.src-sport-type-top span{display:block!important;margin-top:3px!important;color:#8793a8!important;font-size:12px!important;font-weight:700!important}
.src-sport-type-icon,.src-sport-preview-icon{
  width:58px!important;height:58px!important;border-radius:18px!important;display:grid!important;place-items:center!important;
  background:color-mix(in srgb, var(--sport-color,#0B5CFF) 16%, white)!important;color:var(--sport-color,#0B5CFF)!important;
  border:1px solid color-mix(in srgb, var(--sport-color,#0B5CFF) 22%, white)!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important
}
.src-sport-type-icon i,.src-sport-preview-icon i{font-size:28px!important;line-height:1!important}
.src-sport-type-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.src-sport-type-meta span{font-size:11px!important;color:#64748b!important;background:#f8fbff!important;border:1px solid #edf2f8!important;border-radius:999px!important;padding:6px 9px!important}
.src-sport-type-meta b{color:#24324a!important}
.src-sport-type-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
.src-sport-type-stats div{border:1px solid #edf2f8!important;background:#f8fbff!important;border-radius:13px!important;padding:9px!important;text-align:center!important}
.src-sport-type-stats b{display:block!important;color:var(--theme-primary)!important;font-size:18px!important;font-weight:900!important}
.src-sport-type-stats span{display:block!important;color:#7b879a!important;font-size:11px!important;font-weight:700!important}
.src-sport-type-actions{display:flex!important;gap:8px!important;align-items:center!important}
.src-sport-type-actions form{margin:0!important}
.src-empty-wide{grid-column:1/-1!important;text-align:center!important;color:#8793a8!important;padding:28px!important}
.src-sport-preview{
  display:flex!important;gap:15px!important;align-items:center!important;background:linear-gradient(135deg,#f8fbff,#fff)!important;
  border:1px solid #e9eef7!important;border-radius:18px!important;padding:16px!important;margin-bottom:18px!important
}
.src-sport-preview h2{margin:0!important;color:#111d35!important;font-size:22px!important;font-weight:900!important}
.src-sport-preview p{margin:4px 0 0!important;color:#8793a8!important;font-weight:700!important}
.src-icon-picker{margin-top:18px!important}
.src-icon-picker-head h2{margin:0!important;color:#111d35!important;font-size:18px!important;font-weight:900!important}
.src-icon-picker-head p{margin:4px 0 12px!important;color:#8793a8!important;font-size:13px!important}
.src-icon-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.src-icon-choice{
  cursor:pointer!important;border:1px solid #e7edf7!important;border-radius:16px!important;background:#fff!important;padding:12px!important;
  display:grid!important;grid-template-columns:42px 1fr!important;gap:8px 10px!important;align-items:center!important
}
.src-icon-choice input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.src-icon-choice span{width:42px!important;height:42px!important;border-radius:14px!important;background:#eef5ff!important;color:var(--theme-primary)!important;display:grid!important;place-items:center!important;grid-row:span 2!important}
.src-icon-choice span i{font-size:22px!important}
.src-icon-choice b{font-size:13px!important;color:#24324a!important;font-weight:900!important}
.src-icon-choice small{font-size:11px!important;color:#8793a8!important;font-weight:700!important}
.src-icon-choice.is-selected{border-color:var(--theme-primary)!important;box-shadow:0 0 0 3px rgba(var(--theme-primary-rgb),.11)!important;background:#f8fbff!important}
.src-icon-choice.is-selected span{background:var(--theme-primary)!important;color:#fff!important}
@media(max-width:1200px){.src-sport-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.src-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.src-sport-type-filter{grid-template-columns:1fr!important}.src-sport-type-grid{grid-template-columns:1fr!important}.src-icon-grid{grid-template-columns:1fr!important}.src-filter-actions{flex-direction:column!important}.src-filter-actions .btn{width:100%!important}}



/* v6.20 dashboard sport cards use fa-sport icons from sport type */
.src-sport-card .src-sport-icon{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  border-radius:17px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.22)!important;
  border:1px solid rgba(255,255,255,.30)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.18),0 8px 18px rgba(15,23,42,.12)!important;
  overflow:visible!important;
}
.src-sport-card .src-sport-icon::before,
.src-sport-card .src-sport-icon svg{
  display:none!important;
}
.src-sport-card .src-sport-icon i{
  font-size:30px!important;
  line-height:1!important;
  color:#fff!important;
  text-shadow:0 2px 8px rgba(0,0,0,.18)!important;
  filter:none!important;
}
.src-sport-card .src-sport-icon .fa-dumbbell::before,
.src-sport-card .src-sport-icon .fa-weight-hanging::before{
  font-size:29px!important;
}
.src-sport-card .src-sport-icon .fa-futbol::before,
.src-sport-card .src-sport-icon .fa-volleyball::before,
.src-sport-card .src-sport-icon .fa-basketball::before{
  font-size:31px!important;
}
.src-sport-card .src-sport-head h3{
  max-width:calc(100% - 68px)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}



/* v6.21 reports page matching reference */
.report-page{display:grid!important;gap:16px!important}
.report-head{margin-bottom:2px!important}
.report-head h1{font-size:24px!important;color:#111d35!important;font-weight:900!important}
.report-filter-card{
  display:grid!important;grid-template-columns:1.1fr .75fr .75fr .75fr auto!important;gap:12px!important;align-items:end!important;
  background:#fff!important;border:1px solid #e9eef7!important;border-radius:16px!important;padding:14px!important;
  box-shadow:0 10px 26px rgba(19,31,55,.04)!important
}
.report-filter-card label{display:grid!important;gap:6px!important}
.report-filter-card span{font-size:12px!important;font-weight:800!important;color:#7b879a!important}
.report-filter-card input,.report-filter-card select{
  height:44px!important;border:1px solid #e7edf7!important;border-radius:12px!important;background:#fff!important;color:#172033!important;padding:0 12px!important;font-weight:700!important
}
.report-date-range{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.report-kpi-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
.report-kpi{
  min-height:106px!important;background:#fff!important;border:1px solid #e9eef7!important;border-radius:16px!important;
  box-shadow:0 10px 26px rgba(19,31,55,.045)!important;padding:18px!important;display:grid!important;
  grid-template-columns:58px 1fr!important;grid-template-rows:auto auto auto!important;column-gap:14px!important;align-items:center!important
}
.report-kpi-icon{grid-row:1/4!important;width:54px!important;height:54px!important;border-radius:999px!important;display:grid!important;place-items:center!important}
.report-kpi-icon i{font-size:28px!important}
.report-kpi-icon.blue{background:#eaf2ff!important;color:var(--theme-primary)!important}
.report-kpi-icon.orange{background:#fff1e3!important;color:#ff7a0d!important}
.report-kpi-icon.red{background:#fff0f0!important;color:#ff4d4f!important}
.report-kpi span{font-size:13px!important;font-weight:800!important;color:#748198!important}
.report-kpi strong{font-size:26px!important;line-height:1.05!important;color:#1e2b44!important;font-weight:950!important}
.report-kpi small{font-size:11px!important;color:#08a86b!important;font-weight:800!important}
.report-grid-top{display:grid!important;grid-template-columns:1.1fr 1fr 1.2fr!important;gap:14px!important}
.report-grid-mid{display:grid!important;grid-template-columns:.8fr 1fr 1fr!important;gap:14px!important}
.report-grid-bottom{display:grid!important;grid-template-columns:.9fr 1.35fr .9fr!important;gap:14px!important}
.report-card{
  background:#fff!important;border:1px solid #e9eef7!important;border-radius:16px!important;padding:16px!important;
  box-shadow:0 10px 26px rgba(19,31,55,.045)!important;overflow:hidden!important
}
.report-card h2{margin:0 0 12px!important;color:#111d35!important;font-size:17px!important;font-weight:900!important}
.report-chart-line,.report-chart-bars,.report-comparison-chart,.report-participation{
  height:170px!important;border-left:1px solid #e8eef7!important;border-bottom:1px solid #e8eef7!important;
  display:flex!important;align-items:end!important;gap:16px!important;padding:16px 10px 18px!important;position:relative!important
}
.report-chart-line i,.report-participation i{
  flex:1!important;min-width:18px!important;background:linear-gradient(180deg,rgba(var(--theme-primary-rgb),.28),rgba(var(--theme-primary-rgb),.08))!important;
  border-radius:999px 999px 0 0!important;position:relative!important;border-top:3px solid var(--theme-primary)!important
}
.report-chart-line i b,.report-participation i b{
  position:absolute!important;top:-19px!important;left:50%!important;transform:translateX(-50%)!important;font-size:10px!important;color:#516078!important
}
.report-chart-line i small,.report-chart-bars i small,.report-participation i small{
  position:absolute!important;bottom:-17px!important;left:50%!important;transform:translateX(-50%)!important;font-size:10px!important;color:#7b879a!important;font-style:normal!important
}
.report-chart-bars i{
  flex:1!important;min-width:18px!important;background:linear-gradient(180deg,var(--theme-primary),var(--theme-primary-soft))!important;border-radius:7px 7px 0 0!important;position:relative!important
}
.report-comparison-chart{gap:13px!important}
.report-comparison-chart div{flex:1!important;height:100%!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:center!important;gap:4px!important}
.report-comparison-chart span{font-size:10px!important;color:#64748b!important;font-weight:800!important;display:grid!important;gap:2px!important;justify-items:center!important;order:3!important}
.report-comparison-chart span i{font-size:14px!important;color:#4f7ee8!important}
.report-comparison-chart b{width:34px!important;background:linear-gradient(180deg,var(--theme-primary),var(--theme-primary-dark))!important;border-radius:7px 7px 0 0!important;display:block!important}
.report-comparison-chart em{font-size:10px!important;color:#ff7a0d!important;font-weight:900!important;font-style:normal!important}
.medal-content{display:grid!important;grid-template-columns:150px 1fr!important;align-items:center!important;gap:18px!important}
.report-donut{
  width:140px!important;height:140px!important;border-radius:999px!important;display:grid!important;place-items:center!important;
  background:conic-gradient(#f8bd00 0 calc(var(--gold)*1%), #c6c8cc calc(var(--gold)*1%) calc((var(--gold) + var(--silver))*1%), var(--theme-secondary) calc((var(--gold) + var(--silver))*1%) 100%)!important
}
.report-donut::before{content:"";position:absolute}
.report-donut b{width:86px!important;height:86px!important;border-radius:999px!important;background:#fff!important;display:grid!important;place-items:center!important;align-content:center!important;font-size:26px!important;color:#1e2b44!important}
.report-donut small{display:block!important;font-size:12px!important;color:#64748b!important}
.medal-legend{display:grid!important;gap:10px!important}
.medal-legend span{display:flex!important;justify-content:space-between!important;align-items:center!important;color:#64748b!important;font-weight:800!important}
.medal-legend span::before{content:"";width:12px;height:12px;border-radius:999px;margin-right:8px;display:inline-block}
.medal-legend .gold::before{background:#f8bd00}.medal-legend .silver::before{background:#c6c8cc}.medal-legend .bronze::before{background:var(--theme-secondary)}
.mini-report-table{width:100%!important;border-collapse:collapse!important}
.mini-report-table th,.mini-report-table td{padding:9px 8px!important;border-bottom:1px solid #edf2f8!important;font-size:12px!important;color:#48576d!important}
.mini-report-table th{text-align:left!important;color:#7b879a!important;font-weight:900!important}
.mini-report-table td span{display:inline-block!important;width:var(--w)!important;height:4px!important;background:var(--theme-primary)!important;border-radius:999px!important;margin-right:8px!important;vertical-align:middle!important}
.top-athlete-row{display:grid!important;grid-template-columns:28px 34px 1fr auto!important;align-items:center!important;gap:10px!important;padding:9px 0!important;border-bottom:1px solid #edf2f8!important}
.top-athlete-row img{width:34px!important;height:34px!important;border-radius:999px!important}
.top-athlete-row strong{display:block!important;color:#1e2b44!important;font-size:12px!important;font-weight:900!important}
.top-athlete-row span{display:block!important;color:#8793a8!important;font-size:11px!important;font-weight:700!important}
.top-athlete-row em{font-style:normal!important;color:#1e2b44!important;font-size:12px!important;font-weight:900!important}
.rank-badge{width:24px!important;height:24px!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:#edf2f8!important;color:#64748b!important;font-size:12px!important}
.rank-1{background:#f8bd00!important;color:#fff!important}.rank-2{background:#c6c8cc!important;color:#fff!important}.rank-3{background:#e6782e!important;color:#fff!important}
.performance-matrix{display:grid!important;grid-template-columns:repeat(12,1fr)!important;gap:3px!important}
.performance-matrix span{height:22px!important;border-radius:4px!important;display:grid!important;place-items:center!important;font-size:10px!important;font-weight:800!important;color:#263241!important}
.performance-matrix .good{background:#70db85!important}.performance-matrix .mid{background:#ffe574!important}.performance-matrix .warn{background:#ffa85e!important}.performance-matrix .bad{background:#ff7f7f!important}
.download-report-row{display:grid!important;grid-template-columns:48px 1fr auto!important;gap:12px!important;align-items:center!important;border:1px solid #edf2f8!important;border-radius:14px!important;padding:12px!important;margin-bottom:10px!important}
.download-icon{width:42px!important;height:42px!important;border-radius:10px!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:950!important;border:2px solid currentColor!important}
.download-report-row.pdf .download-icon{color:#ff4d4f!important}.download-report-row.excel .download-icon{color:#19a463!important}.download-report-row.ppt .download-icon{color:var(--theme-secondary)!important}
.download-report-row b{display:block!important;color:#1e2b44!important;font-size:13px!important;font-weight:900!important}
.download-report-row span{display:block!important;color:#8793a8!important;font-size:11px!important;font-weight:700!important;margin-top:3px!important}
.report-more-link{display:block!important;text-align:center!important;color:var(--theme-primary)!important;font-weight:900!important;padding-top:6px!important}
.report-empty{height:120px!important;display:grid!important;place-items:center!important;color:#8793a8!important;font-weight:800!important}
@media(max-width:1300px){.report-kpi-grid{grid-template-columns:repeat(2,1fr)!important}.report-grid-top,.report-grid-mid,.report-grid-bottom{grid-template-columns:1fr!important}.report-filter-card{grid-template-columns:1fr 1fr!important}}
@media(max-width:720px){.report-filter-card,.report-kpi-grid{grid-template-columns:1fr!important}.report-date-range{grid-template-columns:1fr!important}.download-report-row{grid-template-columns:42px 1fr!important}.download-report-row .btn{grid-column:1/-1!important}}

/* V6.22: organization logo is loaded from Settings > Organization */
.brand-logo,
.login-brand img,
.logo-box img{
  object-fit:contain!important;
  background:rgba(255,255,255,.92)!important;
}
.brand-logo{
  padding:3px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.14)!important;
}
.login-brand img{
  padding:6px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.16)!important;
}
.logo-box img{
  width:96px!important;
  height:96px!important;
  border-radius:24px!important;
  padding:8px!important;
  border:1px solid rgba(148,163,184,.35)!important;
}
.logo-box small{font-size:12px!important;color:#64748b!important;font-weight:700!important}

/* V6.23: complete settings page tabs, role CRUD, notification/system settings */
.src-settings-head{align-items:flex-start!important}.src-real-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;background:#fff!important;border:1px solid #e9eef7!important;border-radius:18px!important;padding:8px!important;margin:0 0 16px!important;box-shadow:0 10px 26px rgba(19,31,55,.04)!important}.src-real-tabs a{padding:11px 14px!important;border-radius:13px!important;color:#64748b!important;font-weight:900!important;text-decoration:none!important}.src-real-tabs a.active{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary))!important;color:#fff!important;box-shadow:0 8px 18px rgba(var(--theme-primary-rgb),.18)!important}.src-settings-card{border-radius:20px!important}.src-table-wrap{overflow:auto!important}.src-settings-grid-roles{display:grid!important;grid-template-columns:.85fr 1.35fr!important;gap:16px!important;align-items:start!important}.src-role-form{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:12px!important;align-items:end!important;margin:12px 0!important}.src-role-form.compact{grid-template-columns:1fr 1fr!important}.src-role-form label,.src-form-grid label{display:grid!important;gap:6px!important;color:#64748b!important;font-size:12px!important;font-weight:900!important}.src-role-form input,.src-role-form textarea,.src-form-grid input,.src-form-grid textarea,.src-system-panel input{border:1px solid #e7edf7!important;border-radius:13px!important;background:#fff!important;color:#172033!important;padding:11px 12px!important;font-weight:800!important;min-height:44px!important}.src-role-form textarea,.src-form-grid textarea{min-height:84px!important;resize:vertical!important}.src-role-form .wide,.src-form-grid .wide{grid-column:1/-1!important}.src-role-list{display:grid!important;gap:10px!important;margin-top:12px!important}.src-role-actions{display:flex!important;gap:8px!important}.danger-soft{color:#b42318!important;background:#fff5f5!important;border-color:#ffd0d0!important}.src-perm-box summary{position:sticky!important;top:0!important;background:#fff!important;z-index:2!important}.src-perm-module{border:1px solid #edf2f8!important;border-radius:16px!important;padding:12px!important;margin:12px 0!important;background:#fbfdff!important}.src-perm-module h3{margin:0 0 10px!important;color:#111d35!important;font-size:15px!important;font-weight:950!important}.src-perm-grid3{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.src-perm-row{display:grid!important;grid-template-columns:1fr auto auto auto!important;gap:8px!important;align-items:center!important;background:#fff!important;border:1px solid #edf2f8!important;border-radius:14px!important;padding:10px!important}.src-perm-row b{color:#1e2b44!important;font-size:12px!important}.src-perm-row small{display:block!important;color:#8793a8!important;font-size:10px!important;grid-column:1/2!important}.src-perm-row label{font-size:11px!important;font-weight:900!important;padding:6px 8px!important;border-radius:999px!important;border:1px solid #e7edf7!important;background:#fff!important}.src-perm-row .allow{color:#0f8f5f!important;background:#ecfdf5!important}.src-perm-row .deny{color:#b42318!important;background:#fff5f5!important}.src-perm-row .inherit{color:#64748b!important;background:#f8fafc!important}.src-org-wide{max-width:980px!important}.src-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.src-notification-panel,.src-system-panel{max-width:980px!important}.src-switch-row{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:14px!important;align-items:center!important;border:1px solid #edf2f8!important;border-radius:16px!important;background:#fff!important;padding:14px!important;margin:10px 0!important;color:#1e2b44!important}.src-switch-row b{display:block!important;font-size:14px!important;color:#172033!important}.src-switch-row small{display:block!important;font-size:12px!important;color:#8793a8!important;font-weight:700!important;margin-top:2px!important}.src-switch-row input[type=checkbox]{appearance:none!important;width:54px!important;height:30px!important;border-radius:999px!important;background:#cbd5e1!important;position:relative!important;cursor:pointer!important;transition:.2s!important}.src-switch-row input[type=checkbox]::after{content:""!important;position:absolute!important;width:24px!important;height:24px!important;left:3px!important;top:3px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.18)!important;transition:.2s!important}.src-switch-row input[type=checkbox]:checked{background:var(--theme-primary)!important}.src-switch-row input[type=checkbox]:checked::after{transform:translateX(24px)!important}.src-system-toggles{margin:12px 0!important}.card-head p.muted,.muted{color:#8793a8!important;font-weight:700!important}.src-empty-wide{border:1px dashed #cbd5e1!important;border-radius:16px!important;background:#f8fafc!important}.org-form .logo-box{cursor:pointer!important}
@media(max-width:1100px){.src-settings-grid-roles{grid-template-columns:1fr!important}.src-perm-grid3{grid-template-columns:1fr!important}.src-role-form{grid-template-columns:1fr!important}.src-form-grid{grid-template-columns:1fr!important}}

/* v6.25 premium toast alerts */
.src-toast-stack{position:fixed;top:88px;right:22px;z-index:9999;display:grid;gap:12px;width:min(420px,calc(100vw - 32px));pointer-events:none}.src-toast{--toast-accent:var(--theme-primary);display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:flex-start;padding:14px 14px 14px 12px;border:1px solid rgba(226,232,240,.92);border-left:5px solid var(--toast-accent);border-radius:18px;background:rgba(255,255,255,.94);color:#0f172a;box-shadow:0 20px 55px rgba(15,23,42,.16),0 2px 10px rgba(15,23,42,.06);backdrop-filter:blur(16px);pointer-events:auto;transform:translateX(22px) scale(.98);opacity:0;transition:transform .24s ease,opacity .24s ease,filter .24s ease;overflow:hidden}.src-toast::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(var(--theme-primary-rgb),.08),transparent 48%);pointer-events:none}.src-toast.is-show{transform:translateX(0) scale(1);opacity:1}.src-toast.is-hide{transform:translateX(28px) scale(.98);opacity:0;filter:blur(1px)}.src-toast__icon{position:relative;width:38px;height:38px;border-radius:14px;display:grid;place-items:center;color:#fff;background:var(--toast-accent);box-shadow:0 10px 22px rgba(15,23,42,.13)}.src-toast__icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.src-toast__body{position:relative;min-width:0;padding-top:1px}.src-toast__title{display:block;font-size:14px;font-weight:900;margin-bottom:3px;color:#0f172a}.src-toast__message{font-size:13px;line-height:1.55;color:#475569;white-space:pre-line;overflow-wrap:anywhere}.src-toast__close{position:relative;border:0;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#64748b;background:rgba(248,250,252,.85);cursor:pointer;transition:.18s ease}.src-toast__close:hover{background:#f1f5f9;color:#0f172a;transform:rotate(90deg)}.src-toast__bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:linear-gradient(90deg,var(--toast-accent),rgba(255,255,255,.7));transform-origin:left center;animation:srcToastBar var(--toast-duration,5200ms) linear forwards}.src-toast--success{--toast-accent:#16a34a}.src-toast--danger{--toast-accent:#ef4444}.src-toast--warning{--toast-accent:#f59e0b}.src-toast--info{--toast-accent:var(--theme-primary)}@keyframes srcToastBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}@media(max-width:760px){.src-toast-stack{top:76px;right:12px;left:12px;width:auto}.src-toast{grid-template-columns:40px 1fr auto;border-radius:16px}.src-toast__icon{width:34px;height:34px;border-radius:12px}}

/* V6.26: Settings > Organization color picker */
.src-color-field{gap:8px!important}
.src-color-field>span{font-weight:950!important;color:#172033!important}
.src-color-field small{display:block!important;color:#8793a8!important;font-size:11px!important;font-weight:800!important;line-height:1.45!important}
.src-color-picker{display:grid!important;grid-template-columns:54px minmax(0,1fr) 36px!important;gap:10px!important;align-items:center!important;border:1px solid #e7edf7!important;border-radius:16px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;padding:8px!important;box-shadow:0 8px 20px rgba(19,31,55,.04)!important}
.src-color-picker input[type=color]{width:46px!important;height:46px!important;border:0!important;border-radius:14px!important;background:transparent!important;padding:0!important;cursor:pointer!important;overflow:hidden!important}
.src-color-picker input[type=color]::-webkit-color-swatch-wrapper{padding:0!important}
.src-color-picker input[type=color]::-webkit-color-swatch{border:0!important;border-radius:14px!important}
.src-color-picker input[type=color]::-moz-color-swatch{border:0!important;border-radius:14px!important}
.src-color-picker input[type=text]{min-height:46px!important;border:0!important;background:transparent!important;padding:0 4px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;font-weight:950!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#172033!important}
.src-color-picker input[type=text]:focus{outline:none!important}
.src-color-picker:focus-within{border-color:var(--theme-primary)!important;box-shadow:0 0 0 4px rgba(var(--theme-primary-rgb),.10)!important}
.src-color-swatch{width:36px!important;height:36px!important;border-radius:999px!important;background:var(--picked-color,#2563EB)!important;border:4px solid #fff!important;box-shadow:0 6px 16px rgba(15,23,42,.18)!important}
body.dark .src-color-field>span{color:#f8fafc!important}
body.dark .src-color-picker{background:linear-gradient(180deg,#172033,#111827)!important;border-color:rgba(148,163,184,.28)!important}
body.dark .src-color-picker input[type=text]{color:#f8fafc!important}
body.dark .src-color-field small{color:#cbd5e1!important}


/* V6.29: dynamic organization theme tokens */
[data-theme-preview], .src-app-frame, .guest-body { accent-color: var(--theme-primary); }
.btn-primary,
.side-link.is-active,
.cta-card,
.tabs b,
.day-row.selected,
.calendar-grid .today b,
.src-real-tabs a.active {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)) !important;
  border-color: var(--theme-primary) !important;
}
.btn-secondary,
.btn-light,
.card-head a,
.link-more,
.icon-mini,
.action-list a,
.breadcrumb,
.report-more-link,
.src-sport-nav:hover {
  color: var(--theme-primary) !important;
}
.side-link:hover,
.pill,
.badge-blue,
.calendar-grid small,
.kpi-icon.blue,
.src-icon-choice span,
.report-kpi-icon.blue {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary) !important;
}
.event-list a,
.countdown {
  border-left-color: var(--theme-secondary) !important;
  background: var(--theme-secondary-soft) !important;
}
.countdown b,
.kpi-icon.orange,
.download-report-row.ppt .download-icon {
  color: var(--theme-secondary) !important;
}
.theme-blue .sport-head,
.theme-orange .sport-head {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)) !important;
}
.fake-chart i,
.report-bar-wrap:nth-child(even) i,
.report-comparison-chart b,
.mini-report-table td span {
  background: linear-gradient(180deg, var(--theme-primary), var(--theme-primary-soft)) !important;
}
.theme-orange .fake-chart i:nth-child(odd) {
  background: linear-gradient(180deg, var(--theme-secondary), var(--theme-secondary-soft)) !important;
}
.src-switch-row input[type=checkbox]:checked,
.src-icon-choice.is-selected span,
.pagination b {
  background: var(--theme-primary) !important;
}
.src-icon-choice.is-selected,
.src-color-picker:focus-within {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb), .10) !important;
}
.src-toast--info { --toast-accent: var(--theme-primary); }

/* V6.30 Coach management */
.row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.inline-form{display:inline-flex;margin:0}.icon-mini.danger{border-color:rgba(239,68,68,.25);color:#dc2626;background:rgba(239,68,68,.08)}.btn-ghost{background:rgba(148,163,184,.12);border:1px solid rgba(148,163,184,.24);color:var(--text)}.form-card{max-width:960px}.form-grid{display:grid;gap:16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label{display:grid;gap:8px;font-weight:700;color:var(--text)}.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:14px;padding:12px 14px;outline:none}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:var(--theme-primary);box-shadow:0 0 0 4px rgba(var(--theme-primary-rgb),.12)}.span-2{grid-column:1/-1}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.logo-preview{width:96px;height:96px;border-radius:24px;border:1px solid var(--border);background:var(--panel-soft);display:grid;place-items:center;overflow:hidden;margin-bottom:8px}.logo-preview img{width:100%;height:100%;object-fit:cover}.profile-head{display:flex;gap:18px;align-items:center;padding:10px 0 22px}.profile-avatar{width:96px;height:96px;border-radius:28px;object-fit:cover;border:1px solid var(--border);box-shadow:var(--shadow)}.profile-head h2{margin:0 0 4px;font-size:28px}.profile-head p{margin:0 0 12px;color:var(--muted)}.profile-chips{display:flex;gap:8px;flex-wrap:wrap}.mini-event{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid var(--border)}.mini-event:last-child{border-bottom:0}.mini-event small{color:var(--muted)}.muted{color:var(--muted)}
@media(max-width:760px){.form-grid.two{grid-template-columns:1fr}.profile-head{align-items:flex-start;flex-direction:column}.row-actions{gap:4px}.form-actions{justify-content:stretch;flex-direction:column}.form-actions .btn{width:100%}}

/* V6.32 real dashboard data states */
.src-mini-calendar .is-empty {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
}
.src-mini-calendar .today {
    outline: 2px solid var(--theme-primary, #2563eb);
    outline-offset: 2px;
    font-weight: 800;
}
.src-dashboard-table .text-center {
    text-align: center;
    color: var(--muted, #64748b);
    padding: 1rem;
}

/* V6.33 dashboard competition calendar navigation */
.src-month-head .src-month-nav{
    width:34px;height:34px;border-radius:12px!important;border:1px solid rgba(var(--theme-primary-rgb),.18)!important;
    background:rgba(var(--theme-primary-rgb),.08)!important;color:var(--theme-primary)!important;
    font-size:28px!important;line-height:1!important;display:grid!important;place-items:center!important;
    text-decoration:none!important;font-weight:900!important;transition:.18s ease!important;
}
.src-month-head .src-month-nav:hover{background:var(--theme-primary)!important;color:#fff!important;transform:translateY(-1px)}
.src-month-title{display:grid!important;place-items:center!important;gap:2px!important;text-align:center!important}
.src-month-title a{font-size:11px!important;color:var(--theme-primary)!important;text-decoration:none!important;font-weight:800!important}
.src-month-title a:hover{text-decoration:underline!important}
.src-mini-calendar span{position:relative!important}
.src-mini-calendar span i{position:absolute!important;right:-4px!important;top:-4px!important;min-width:14px!important;height:14px!important;padding:0 3px!important;border-radius:999px!important;background:var(--theme-secondary)!important;color:#fff!important;font-size:9px!important;font-style:normal!important;font-weight:900!important;display:grid!important;place-items:center!important;box-shadow:0 4px 10px rgba(var(--theme-secondary-rgb),.28)!important}

/* V6.34 Competition real workflow */
.src-competition-layout{align-items:start}.src-card-head-wrap{gap:14px;align-items:flex-start}.src-comp-month-nav{display:flex;align-items:center;gap:10px;padding:6px;border:1px solid var(--border);border-radius:16px;background:var(--panel-soft)}.src-comp-month-nav a{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;text-decoration:none;background:rgba(var(--theme-primary-rgb),.1);color:var(--theme-primary);font-size:26px;font-weight:900;line-height:1}.src-comp-month-nav a:hover{background:var(--theme-primary);color:#fff}.src-comp-month-nav b{min-width:150px;text-align:center;color:var(--text)}.src-calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:0;margin-top:12px;border:1px solid var(--border);border-bottom:0;border-radius:14px 14px 0 0;overflow:hidden}.src-calendar-weekdays span{padding:10px;text-align:center;font-weight:900;font-size:12px;color:var(--muted);background:var(--panel-soft)}.src-competition-calendar-grid{border-radius:0 0 14px 14px!important}.src-competition-calendar-grid>div{background:var(--panel);border-color:var(--border)!important}.src-competition-calendar-grid>div.is-empty{background:var(--panel-soft);opacity:.48}.src-competition-calendar-grid>div.has-event{background:rgba(var(--theme-primary-rgb),.045)}.src-competition-calendar-grid .src-calendar-event{display:block;margin-top:8px;padding:5px 7px;border-radius:9px;background:rgba(var(--theme-primary-rgb),.1);color:var(--theme-primary);font-size:11px;font-weight:800;text-decoration:none;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.src-competition-calendar-grid .src-calendar-event:hover{background:var(--theme-primary);color:#fff}.src-filter-row{display:grid;grid-template-columns:1.4fr 180px 170px auto auto;gap:10px;margin:12px 0 16px}.src-filter-row input,.src-filter-row select,.stack-form select,.form-compact input,.form-compact select,.form-compact textarea{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:14px;padding:11px 13px;outline:none}.src-filter-row input:focus,.src-filter-row select:focus,.stack-form select:focus,.form-compact input:focus,.form-compact select:focus,.form-compact textarea:focus{border-color:var(--theme-primary);box-shadow:0 0 0 4px rgba(var(--theme-primary-rgb),.1)}.src-event-list-block{display:grid;gap:8px}.src-event-row{border:1px solid var(--border);border-radius:16px;padding:12px!important;text-decoration:none;color:var(--text);background:var(--panel)}.src-event-row:hover,.src-event-row.is-active{border-color:rgba(var(--theme-primary-rgb),.35);background:rgba(var(--theme-primary-rgb),.055);transform:translateY(-1px)}.src-empty-state,.src-empty-mini{padding:18px;border:1px dashed var(--border);border-radius:16px;background:var(--panel-soft);color:var(--muted);text-align:center}.src-empty-mini{padding:12px;text-align:left}.src-detail-panel .big-icon{margin-bottom:10px;background:linear-gradient(135deg,var(--theme-primary),var(--theme-secondary));color:#fff}.src-detail-panel h3{margin:8px 0 10px}.src-side-actions{display:grid;gap:8px;margin:14px 0}.btn-danger{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}.btn-danger:hover{background:#b91c1c!important}.stack-form{display:grid;gap:10px;margin:14px 0}.stack-form label,.form-compact label{display:grid;gap:7px;font-weight:800;color:var(--text)}.form-compact form{display:grid;gap:10px}.form-compact textarea{min-height:74px;resize:vertical}.table-wrap table .text-center{text-align:center;padding:16px}.src-cover-preview img{object-fit:cover}.src-competition-form-card textarea{resize:vertical}.src-competition-form-card small{font-weight:500}.src-competition-kpi .kpi strong{font-variant-numeric:tabular-nums}@media(max-width:980px){.src-filter-row{grid-template-columns:1fr 1fr}.src-filter-row input[name=q]{grid-column:1/-1}.src-comp-month-nav{width:100%;justify-content:space-between}.src-card-head-wrap{flex-direction:column}}@media(max-width:760px){.src-filter-row{grid-template-columns:1fr}.src-competition-calendar-grid>div{min-height:72px}.src-competition-calendar-grid .src-calendar-event{font-size:10px}.src-calendar-weekdays span{font-size:11px;padding:8px 4px}.src-comp-month-nav b{min-width:auto}}

/* V6.35 Competitions Calendar UI Refresh */
.src-calendar-head{margin-bottom:12px}
.src-calendar-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.src-cal-stat{padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,var(--panel),var(--panel-soft));box-shadow:0 10px 24px rgba(15,23,42,.04)}
.src-cal-stat span{display:block;font-size:12px;font-weight:800;color:var(--muted);margin-bottom:6px}
.src-cal-stat strong{display:block;font-size:22px;line-height:1.1;color:var(--text);font-variant-numeric:tabular-nums}
.src-calendar-legend{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-bottom:14px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--panel-soft)}
.src-calendar-legend span{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--muted)}
.src-calendar-legend .dot{width:10px;height:10px;border-radius:999px;display:inline-block}
.src-calendar-legend .dot.is-today{background:var(--theme-primary)}
.src-calendar-legend .dot.is-event{background:rgba(var(--theme-primary-rgb),.20);border:1px solid rgba(var(--theme-primary-rgb),.35)}
.src-calendar-legend .dot.is-pending{background:#f59e0b}
.src-calendar-shell{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
.src-calendar-main{min-width:0}
.src-calendar-agenda{border:1px solid var(--border);border-radius:18px;background:var(--panel);padding:14px;position:sticky;top:16px}
.src-calendar-agenda-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--border)}
.src-calendar-agenda-head h3{margin:0;font-size:17px}
.src-calendar-agenda-head span{font-size:12px;font-weight:800;color:var(--theme-primary);background:rgba(var(--theme-primary-rgb),.10);padding:6px 10px;border-radius:999px}
.src-calendar-agenda-list{display:grid;gap:10px;max-height:640px;overflow:auto;padding-right:2px}
.src-agenda-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;text-decoration:none;color:var(--text);padding:12px;border:1px solid var(--border);border-radius:16px;background:var(--panel-soft);transition:.18s ease}
.src-agenda-item:hover{transform:translateY(-1px);border-color:rgba(var(--theme-primary-rgb),.35);background:rgba(var(--theme-primary-rgb),.06)}
.src-agenda-date{width:56px;height:56px;border-radius:16px;background:linear-gradient(180deg,rgba(var(--theme-primary-rgb),.12),rgba(var(--theme-secondary-rgb),.10));display:grid;place-items:center;text-align:center;border:1px solid rgba(var(--theme-primary-rgb),.12)}
.src-agenda-date strong{font-size:20px;line-height:1;color:var(--text)}
.src-agenda-date small{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase}
.src-agenda-body{min-width:0}
.src-agenda-body b{display:block;font-size:14px;line-height:1.35;color:var(--text);margin-bottom:4px}
.src-agenda-body small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.src-competition-calendar-card .src-calendar-weekdays{margin-top:0}
.src-competition-calendar-grid{border-radius:0 0 18px 18px!important}
.src-competition-calendar-grid>div{min-height:132px;padding:10px!important}
.src-cal-cell{display:flex;flex-direction:column;gap:10px;position:relative}
.src-cal-cell-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.src-cal-cell-top b{font-size:18px;line-height:1;color:var(--text)}
.src-competition-calendar-grid .today .src-cal-cell-top b,.src-cal-cell.today .src-cal-cell-top b{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:999px;background:var(--theme-primary);color:#fff;box-shadow:0 8px 18px rgba(var(--theme-primary-rgb),.24)}
.src-cal-count{font-size:11px;font-weight:800;color:var(--theme-primary);background:rgba(var(--theme-primary-rgb),.10);padding:5px 8px;border-radius:999px;white-space:nowrap}
.src-cal-events{display:grid;gap:6px;align-content:start;min-height:74px}
.src-calendar-empty{font-size:12px;color:var(--muted);opacity:.8;padding-top:4px}
.src-competition-calendar-grid .src-calendar-event{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:0;padding:8px 9px;border-radius:12px;border:1px solid transparent;background:rgba(var(--theme-primary-rgb),.08);color:var(--text);font-size:12px;font-weight:700;line-height:1.25;white-space:normal;overflow:hidden;text-overflow:clip}
.src-competition-calendar-grid .src-calendar-event:hover{transform:translateY(-1px);border-color:rgba(var(--theme-primary-rgb),.20);background:rgba(var(--theme-primary-rgb),.13);color:var(--text)}
.src-calendar-event-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.src-competition-calendar-grid .src-calendar-event small{margin:0;background:none;padding:0;color:var(--muted);font-size:11px;white-space:nowrap;flex:0 0 auto}
.src-calendar-event.status-upcoming,.src-calendar-event.status-in_progress{border-color:rgba(245,158,11,.18);background:rgba(245,158,11,.10)}
.src-calendar-event.status-completed{border-color:rgba(16,185,129,.16);background:rgba(16,185,129,.10)}
.src-calendar-event.status-cancelled{border-color:rgba(239,68,68,.16);background:rgba(239,68,68,.10)}
.src-cal-cell.has-pending::after{content:"";position:absolute;top:12px;left:12px;width:8px;height:8px;border-radius:999px;background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.15)}
.src-cal-cell.today.has-pending::after{left:42px}
.src-calendar-more{display:block;font-size:11px;font-weight:800;color:var(--muted);padding:2px 2px 0}
.src-competition-list-card .card-head,.src-registration-card .card-head,.src-results-card .card-head{align-items:center}
@media(max-width:1200px){.src-calendar-shell{grid-template-columns:1fr}.src-calendar-agenda{position:static}.src-calendar-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.src-calendar-summary{grid-template-columns:1fr 1fr}.src-cal-stat{padding:11px 12px}.src-cal-stat strong{font-size:18px}.src-calendar-legend{gap:8px 12px}.src-competition-calendar-grid>div{min-height:108px;padding:8px!important}.src-cal-cell-top{align-items:center}.src-cal-cell-top b{font-size:16px}.src-cal-count{font-size:10px;padding:4px 7px}.src-cal-events{gap:5px;min-height:56px}.src-competition-calendar-grid .src-calendar-event{padding:6px 7px;border-radius:10px;font-size:11px}.src-competition-calendar-grid .src-calendar-event small{display:none}.src-agenda-item{grid-template-columns:48px minmax(0,1fr);align-items:start}.src-agenda-item .badge,.src-agenda-item [class*="badge-"]{grid-column:2/3;justify-self:start}.src-agenda-date{width:48px;height:48px;border-radius:14px}}
@media(max-width:560px){.src-calendar-summary{grid-template-columns:1fr}.src-calendar-weekdays span{font-size:10px}.src-competition-calendar-grid>div{min-height:92px}.src-cal-cell-top{margin-bottom:0}.src-calendar-empty{font-size:10px}}


/* V6.37 Athletics SVG icons */
.src-athletics-svg{width:1.35em;height:1.35em;display:block;stroke:currentColor;fill:none;vector-effect:non-scaling-stroke}
.src-athletics-svg--inline{width:1.1em;height:1.1em;display:inline-block;vertical-align:-.18em;margin-right:.45rem}
.src-athletics-svg--dashboard{width:1.55em;height:1.55em}
.src-sport-type-icon .src-athletics-svg,
.src-sport-preview-icon .src-athletics-svg,
.src-icon-choice .src-athletics-svg{width:34px;height:34px;color:var(--sport-color,var(--theme-primary));stroke-width:1.8}
.src-sport-type-icon,.src-sport-preview-icon{display:grid!important;place-items:center!important;color:var(--sport-color,var(--theme-primary))!important}
.src-icon-choice span{display:grid;place-items:center}
.src-icon-choice span .src-athletics-svg{width:30px;height:30px;color:var(--theme-primary)}
.src-icon-choice.is-selected span .src-athletics-svg{color:#fff}
.src-sport-icon .src-athletics-svg{width:28px;height:28px;color:currentColor}
.src-sport-card .src-sport-icon{display:grid!important;place-items:center}
.report-grid .src-athletics-svg--inline{color:var(--theme-primary)}

/* V6.38 clearer athletics SVG picker */
.src-sport-type-top{align-items:flex-start!important}
.src-sport-type-top .src-sport-type-hint{display:block!important;margin-top:6px!important;color:#5b6b82!important;font-size:12px!important;line-height:1.45!important;font-weight:700!important}
.src-sport-type-meta{row-gap:6px!important}
.src-sport-preview{align-items:center!important}
.src-sport-preview-icon{width:86px!important;height:86px!important;border-radius:24px!important;background:linear-gradient(180deg,#f8fbff,#eef5ff)!important;border:1px solid #d7e4f8!important;box-shadow:0 18px 34px rgba(37,99,235,.12)!important}
.src-sport-preview-meta{display:grid!important;gap:4px!important;margin-top:10px!important}
.src-sport-preview-meta span{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;padding:6px 10px!important;border-radius:999px!important;background:rgba(var(--theme-primary-rgb),.08)!important;color:var(--theme-primary)!important;font-size:12px!important;font-weight:900!important}
.src-sport-preview-meta small{display:block!important;color:#64748b!important;font-size:12px!important;line-height:1.45!important;font-weight:700!important}
.src-icon-group{margin-top:18px!important}
.src-icon-group:first-child{margin-top:0!important}
.src-icon-group-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-bottom:10px!important}
.src-icon-group-head h3{margin:0!important;font-size:15px!important;color:#0f172a!important;font-weight:900!important}
.src-icon-group-head small{display:inline-flex!important;align-items:center!important;padding:4px 9px!important;border-radius:999px!important;background:#eef5ff!important;color:#45638c!important;font-size:11px!important;font-weight:800!important}
.src-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.src-icon-choice{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:start!important;gap:12px!important;padding:14px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dbe5f3!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important;transition:.18s ease!important}
.src-icon-choice:hover{transform:translateY(-1px)!important;border-color:#b7c9e4!important;box-shadow:0 14px 26px rgba(15,23,42,.08)!important}
.src-icon-choice span{width:64px!important;height:64px!important;border-radius:18px!important;background:linear-gradient(180deg,#f8fbff,#eaf2ff)!important;border:1px solid #d7e4f8!important;color:var(--theme-primary)!important;display:grid!important;place-items:center!important;grid-row:auto!important}
.src-icon-choice span .src-athletics-svg{width:38px!important;height:38px!important;stroke-width:2.1!important}
.src-icon-choice-text{display:grid!important;gap:4px!important;min-width:0!important}
.src-icon-choice b{font-size:14px!important;line-height:1.35!important;color:#111d35!important;font-weight:900!important}
.src-icon-choice .src-icon-choice-hint{display:block!important;font-size:12px!important;line-height:1.45!important;color:#5b6b82!important;font-weight:700!important}
.src-icon-choice em{font-style:normal!important;font-size:11px!important;color:#8b99ad!important;font-weight:800!important}
.src-icon-choice.is-selected{border-color:var(--theme-primary)!important;box-shadow:0 0 0 3px rgba(var(--theme-primary-rgb),.12)!important;background:#f8fbff!important}
.src-icon-choice.is-selected span{background:linear-gradient(180deg,var(--theme-primary),var(--theme-primary-dark))!important;color:#fff!important;border-color:transparent!important}
.src-icon-choice.is-selected span .src-athletics-svg{color:#fff!important}
.src-sport-type-icon,.src-sport-preview-icon{color:var(--sport-color,var(--theme-primary))!important}
.src-sport-type-icon .src-athletics-svg,.src-sport-preview-icon .src-athletics-svg{width:42px!important;height:42px!important;stroke-width:2.05!important}
@media(max-width:1200px){.src-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.src-sport-preview{grid-template-columns:1fr!important}.src-icon-grid{grid-template-columns:1fr!important}.src-icon-choice{grid-template-columns:56px minmax(0,1fr)!important}.src-icon-choice span{width:56px!important;height:56px!important}.src-icon-choice span .src-athletics-svg{width:34px!important;height:34px!important}}

/* V6.39 sport type SVG picker layout like provided reference */
.src-icon-picker--showcase{padding:18px!important;border:1px solid #e6edf7!important;background:#fff!important;border-radius:24px!important;box-shadow:0 18px 44px rgba(15,23,42,.05)!important}
.src-icon-picker--showcase .src-icon-picker-head{padding-bottom:14px!important;margin-bottom:18px!important;border-bottom:1px solid #e8eef7!important}
.src-icon-picker--showcase .src-icon-picker-head h2{margin:0 0 6px!important;font-size:19px!important;font-weight:900!important;color:#0f172a!important}
.src-icon-picker--showcase .src-icon-picker-head p{margin:0!important;font-size:13px!important;color:#7a8799!important;font-weight:700!important}
.src-icon-group-shell{padding:16px!important;border-radius:22px!important;background:linear-gradient(180deg,#f8fbff,#f3f7fd)!important;border:1px solid #e5edf8!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}
.src-icon-group + .src-icon-group{margin-top:18px!important}
.src-icon-group-titlebar{margin-bottom:14px!important}
.src-icon-group-title{display:flex!important;align-items:center!important;gap:10px!important}
.src-icon-group-mark{width:36px!important;height:36px!important;border-radius:12px!important;background:#edf4ff!important;border:1px solid #d7e5fb!important;display:grid!important;place-items:center!important;color:#1f4fbf!important;flex:0 0 36px!important}
.src-athletics-svg--group{width:22px!important;height:22px!important;stroke-width:2.1!important}
.src-icon-group-titlebar h3{font-size:16px!important;font-weight:900!important;color:#14326d!important}
.src-icon-group-titlebar small{padding:6px 10px!important;border-radius:999px!important;background:#eff5ff!important;border:1px solid #d7e4fa!important;color:#5f7bb0!important;font-size:11px!important;font-weight:800!important}
.src-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.src-icon-choice{position:relative!important;display:flex!important;align-items:center!important;gap:16px!important;min-height:116px!important;padding:18px 18px 18px 16px!important;border-radius:18px!important;background:#fff!important;border:1px solid #d8e3f1!important;box-shadow:0 8px 20px rgba(15,23,42,.05)!important;overflow:hidden!important}
.src-icon-choice:hover{transform:translateY(-2px)!important;border-color:#bfd0e8!important;box-shadow:0 14px 28px rgba(15,23,42,.09)!important}
.src-icon-choice::after{content:'✓';position:absolute;right:12px;top:12px;width:28px;height:28px;border-radius:999px;background:#2f63ea;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:900;box-shadow:0 10px 18px rgba(47,99,234,.24);opacity:0;transform:scale(.82);transition:.18s ease}
.src-icon-choice.is-selected::after{opacity:1;transform:scale(1)}
.src-icon-visual{width:68px!important;height:68px!important;border-radius:0!important;background:transparent!important;border:none!important;display:grid!important;place-items:center!important;flex:0 0 68px!important}
.src-icon-choice .src-icon-visual .src-athletics-svg{width:54px!important;height:54px!important;color:#1d4fb8!important;stroke-width:1.95!important}
.src-icon-choice-text{gap:2px!important}
.src-icon-choice b{font-size:15px!important;line-height:1.35!important;color:#14213d!important;font-weight:900!important}
.src-icon-choice em{font-style:normal!important;font-size:12px!important;line-height:1.4!important;color:#7e8ea7!important;font-weight:800!important}
.src-icon-choice .src-icon-choice-hint{display:none!important}
.src-icon-choice.is-selected{border:2px solid #2f63ea!important;background:linear-gradient(180deg,#ffffff,#f5f9ff)!important;box-shadow:0 0 0 3px rgba(47,99,234,.08)!important}
.src-icon-choice.is-selected .src-icon-visual .src-athletics-svg{color:#2455d4!important}
.src-icon-picker-note{margin-top:18px!important;padding:14px 16px!important;border-radius:16px!important;background:#f4f8ff!important;border:1px solid #e1eafb!important;display:flex!important;align-items:flex-start!important;gap:12px!important}
.src-icon-picker-note-mark{width:26px!important;height:26px!important;border-radius:999px!important;background:#e7efff!important;border:1px solid #ccdbfb!important;color:#2959d6!important;display:grid!important;place-items:center!important;font-weight:900!important;flex:0 0 26px!important}
.src-icon-picker-note p{margin:2px 0 0!important;font-size:13px!important;line-height:1.55!important;color:#6b7b93!important;font-weight:700!important}
@media(max-width:1280px){.src-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.src-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.src-icon-grid{grid-template-columns:1fr!important}.src-icon-choice{min-height:100px!important;padding:14px!important;gap:12px!important}.src-icon-visual{width:58px!important;height:58px!important;flex-basis:58px!important}.src-icon-choice .src-icon-visual .src-athletics-svg{width:44px!important;height:44px!important}.src-icon-group-shell{padding:14px!important}}


/* V6.43 premium 64x64 athletics pictogram icons */
.src-icon-choice .src-icon-visual .src-athletics-svg{width:64px!important;height:64px!important;stroke-width:3.4!important;color:#123f97!important}
.src-icon-choice span .src-athletics-svg{width:44px!important;height:44px!important;stroke-width:3.4!important}
.src-sport-type-icon .src-athletics-svg,.src-sport-preview-icon .src-athletics-svg{width:50px!important;height:50px!important;stroke-width:3.4!important}
.src-sport-icon .src-athletics-svg{width:34px!important;height:34px!important;stroke-width:3.4!important}
.src-athletics-svg--group{width:26px!important;height:26px!important;stroke-width:3.4!important}
.src-athletics-svg--inline{width:1.3em!important;height:1.3em!important;stroke-width:3.4!important}
@media(max-width:640px){.src-icon-choice .src-icon-visual .src-athletics-svg{width:52px!important;height:52px!important}}


/* V6.45 use user-provided athletics SVG set */
.src-athletics-svg{width:64px;height:64px;display:block;color:currentColor;fill:none}
.src-icon-choice .src-icon-visual .src-athletics-svg{width:64px!important;height:64px!important;color:#12489f!important}
.src-icon-choice span .src-athletics-svg{width:48px!important;height:48px!important;color:#12489f!important}
.src-sport-type-icon .src-athletics-svg,
.src-sport-preview-icon .src-athletics-svg{width:52px!important;height:52px!important;color:var(--sport-color,var(--theme-primary))!important}
.src-sport-icon .src-athletics-svg{width:36px!important;height:36px!important}
.src-athletics-svg--group{width:28px!important;height:28px!important}
.src-athletics-svg--inline{width:1.35em!important;height:1.35em!important}
.src-icon-choice.is-selected .src-icon-visual .src-athletics-svg,
.src-icon-choice.is-selected span .src-athletics-svg{color:#12489f!important}


/* V6.46 Dashboard layout fix after SVG icon picker changes */
html,body{max-width:100%!important;overflow-x:hidden!important}
.app-main,.content,.page-content,.dashboard-page{min-width:0!important;max-width:100%!important}
.src-sport-slider{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;margin-bottom:18px!important}
.src-sport-slider-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin:0 0 12px!important}
.src-sport-slider-summary{font-size:13px!important;font-weight:800!important;color:#74839a!important}
.src-sport-slider-actions{display:flex!important;gap:8px!important;flex:0 0 auto!important}
.src-sport-nav{width:38px!important;height:38px!important;border-radius:12px!important;border:1px solid #dbe5f0!important;background:#fff!important;color:#0d3b8e!important;font-size:28px!important;font-weight:900!important;line-height:1!important;display:grid!important;place-items:center!important;box-shadow:0 8px 18px rgba(15,23,42,.06)!important}
.src-sport-nav:hover{background:var(--theme-primary)!important;color:#fff!important}
.src-sport-viewport{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth!important;
  scroll-snap-type:x mandatory!important;
  padding:0 0 14px!important;
  overscroll-behavior-x:contain!important;
}
.src-sport-viewport::-webkit-scrollbar{height:10px!important}
.src-sport-viewport::-webkit-scrollbar-track{background:#e8eef7!important;border-radius:999px!important}
.src-sport-viewport::-webkit-scrollbar-thumb{background:#c8d5e8!important;border-radius:999px!important}
.src-sport-track{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:16px!important;
  width:max-content!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.src-sport-track .src-sport-card{
  flex:0 0 336px!important;
  width:336px!important;
  min-width:336px!important;
  max-width:336px!important;
  scroll-snap-align:start!important;
  box-sizing:border-box!important;
}
.src-sport-card{min-height:342px!important;border-radius:18px!important;overflow:hidden!important}
.src-sport-card .src-sport-head{height:70px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 16px!important}
.src-sport-card .src-sport-head h3{font-size:21px!important;font-weight:900!important;line-height:1.15!important;margin:0!important;padding:0 8px 0 0!important;white-space:normal!important}
.src-sport-card .src-sport-icon{
  width:54px!important;
  height:54px!important;
  flex:0 0 54px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.22)!important;
  border:1px solid rgba(255,255,255,.25)!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.src-sport-card .src-sport-icon svg,
.src-sport-card .src-sport-icon .src-athletics-svg{
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  max-height:38px!important;
  stroke-width:4!important;
  color:#fff!important;
}
.src-real-chart{height:114px!important;margin:8px 18px 8px!important;padding:10px 10px 0!important;background:#f8fbff!important;border-bottom:1px solid #e8eef7!important;overflow:hidden!important}
.src-real-chart-empty{height:114px!important;margin:8px 18px 8px!important;padding:18px!important;border-radius:0!important;background:#f8fbff!important;border-bottom:1px solid #e8eef7!important;display:grid!important;place-items:center!important;text-align:center!important}
.src-dashboard-lower{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(380px,520px)!important;gap:16px!important;align-items:start!important}
.src-dashboard-lower>*{min-width:0!important}
.src-recent-card,.src-calendar-card,.calendar-card{min-width:0!important;max-width:100%!important}
@media(max-width:1500px){.src-sport-track .src-sport-card{flex-basis:320px!important;width:320px!important;min-width:320px!important;max-width:320px!important}}
@media(max-width:1200px){.src-dashboard-lower{grid-template-columns:1fr!important}.src-sport-track .src-sport-card{flex-basis:310px!important;width:310px!important;min-width:310px!important;max-width:310px!important}}
@media(max-width:760px){.src-sport-track .src-sport-card{flex-basis:calc(100vw - 48px)!important;width:calc(100vw - 48px)!important;min-width:260px!important;max-width:calc(100vw - 48px)!important}.src-sport-slider-head{align-items:flex-start!important;flex-direction:column!important}.src-sport-card .src-sport-head h3{font-size:19px!important}}


/* V6.47 KPI summary panel SVG isolation fix */
.src-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
.src-kpi{
  min-width:0!important;
  min-height:118px!important;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  padding:20px 22px!important;
  overflow:hidden!important;
}
.src-kpi > div:last-child{
  min-width:0!important;
}
.src-kpi .kpi-icon{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  flex:0 0 58px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  position:relative!important;
  font-size:0!important;
  line-height:1!important;
}
.src-kpi .kpi-icon::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:17px!important;
  background:currentColor!important;
  mask:center/contain no-repeat!important;
  -webkit-mask:center/contain no-repeat!important;
}
.src-kpi .src-icon-users::before{
  mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-8 0a4 4 0 0 0 8 0Zm-4-7a3 3 0 0 1 3 3a3 3 0 0 1-6 0a3 3 0 0 1 3-3ZM4 21c0-4 3.6-7 8-7s8 3 8 7h-2c0-2.8-2.7-5-6-5s-6 2.2-6 5H4Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-8 0a4 4 0 0 0 8 0Zm-4-7a3 3 0 0 1 3 3a3 3 0 0 1-6 0a3 3 0 0 1 3-3ZM4 21c0-4 3.6-7 8-7s8 3 8 7h-2c0-2.8-2.7-5-6-5s-6 2.2-6 5H4Z'/%3E%3C/svg%3E")!important;
}
.src-kpi .src-icon-timer::before{
  mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 2h6v2H9V2Zm2 9V6h2v6l4 2l-1 1.7l-5-3V11Zm1-5a8 8 0 1 0 0 16a8 8 0 0 0 0-16Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 2h6v2H9V2Zm2 9V6h2v6l4 2l-1 1.7l-5-3V11Zm1-5a8 8 0 1 0 0 16a8 8 0 0 0 0-16Z'/%3E%3C/svg%3E")!important;
}
.src-kpi .src-icon-magic::before{
  mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 14l9-9l2 2l-9 9H4v-2Zm13-12l1 3l3 1l-3 1l-1 3l-1-3l-3-1l3-1l1-3Zm1 11l.8 2.2L21 16l-2.2.8L18 19l-.8-2.2L15 16l2.2-.8L18 13Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 14l9-9l2 2l-9 9H4v-2Zm13-12l1 3l3 1l-3 1l-1 3l-1-3l-3-1l3-1l1-3Zm1 11l.8 2.2L21 16l-2.2.8L18 19l-.8-2.2L15 16l2.2-.8L18 13Z'/%3E%3C/svg%3E")!important;
}
.src-kpi .src-icon-calendar::before{
  mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm11 8H6v10h12V10Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm11 8H6v10h12V10Z'/%3E%3C/svg%3E")!important;
}
.src-kpi .kpi-icon svg,
.src-kpi .kpi-icon .src-athletics-svg,
.src-kpi .kpi-icon > *:not(::before){
  display:none!important;
  width:0!important;
  height:0!important;
  max-width:0!important;
  max-height:0!important;
}
.src-kpi span{
  display:block!important;
  font-size:14px!important;
  color:#7A879B!important;
  font-weight:700!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.src-kpi strong{
  display:block!important;
  font-size:30px!important;
  font-weight:900!important;
  line-height:1.05!important;
  color:#1E2B44!important;
  margin:2px 0 4px!important;
}
.src-kpi small{
  display:block!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#8C98AA!important;
  font-weight:600!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:1200px){
  .src-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .src-kpi-grid{grid-template-columns:1fr!important}
  .src-kpi{min-height:104px!important;padding:18px!important}
}


/* V6.48 sport stats cards richer UI + dynamic per-sport color */
.src-sport-card{
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%)!important;
  border:1px solid var(--sport-border, rgba(37,99,235,.14))!important;
  box-shadow:0 14px 36px rgba(15,23,42,.06)!important;
  position:relative!important;
}
.src-sport-card::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:4px;
  background:linear-gradient(90deg,var(--sport-primary,#2563EB),var(--sport-secondary,#60A5FA));
  opacity:.9;
}
.src-sport-card .src-sport-head{
  background:linear-gradient(135deg,var(--sport-primary,#2563EB),var(--sport-secondary,#60A5FA))!important;
  position:relative!important;
}
.src-sport-card .src-sport-head::before{
  content:"";
  position:absolute;
  right:-18px; top:-18px;
  width:96px; height:96px;
  border-radius:28px;
  background:rgba(255,255,255,.14);
  transform:rotate(14deg);
}
.src-sport-card .src-sport-head::after{
  content:"";
  position:absolute;
  right:48px; top:10px;
  width:44px; height:44px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
}
.src-sport-card .src-sport-icon{
  background:rgba(255,255,255,.18)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.src-sport-card .src-chart-title{color:var(--sport-deep,#1d4ed8)!important;font-size:12px!important;letter-spacing:.01em}
.src-sport-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:10px 18px 2px!important;
}
.src-sport-meta span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:var(--sport-soft,#eff6ff)!important;
  border:1px solid var(--sport-border,rgba(37,99,235,.16))!important;
  color:var(--sport-deep,#1e3a8a)!important;
  font-size:11px!important;
  font-weight:800!important;
}
.src-sport-meta b{font-size:12px!important;font-weight:900!important;color:var(--sport-primary,#2563EB)!important}
.src-real-chart,
.src-real-chart-empty,
.src-real-radar-chart{
  background:linear-gradient(180deg,#ffffff 0%, color-mix(in srgb, var(--sport-soft,#eff6ff) 70%, #ffffff 30%) 100%)!important;
  border:1px solid color-mix(in srgb, var(--sport-border,rgba(37,99,235,.14)) 75%, #ffffff 25%)!important;
  border-radius:16px!important;
  margin:10px 18px 8px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;
}
.src-real-chart{padding:12px 12px 0!important}
.src-real-chart.is-line svg polyline{stroke:var(--sport-primary,#2563EB)!important}
.src-real-chart circle{stroke:var(--sport-primary,#2563EB)!important}
.src-chart-bar-wrap i,
.src-real-chart .src-chart-bar-wrap i{background:linear-gradient(180deg,var(--sport-secondary,#60A5FA),var(--sport-primary,#2563EB))!important;border-radius:10px 10px 4px 4px!important;box-shadow:0 10px 20px color-mix(in srgb, var(--sport-soft-strong, rgba(37,99,235,.18)) 85%, transparent)!important}
.src-real-radar-chart .radar-data{fill:color-mix(in srgb, var(--sport-primary,#2563EB) 28%, transparent)!important;stroke:var(--sport-primary,#2563EB)!important}
.src-real-radar-chart .radar-bg{fill:color-mix(in srgb, var(--sport-soft,#eff6ff) 72%, #ffffff 28%)!important;stroke:var(--sport-border, rgba(37,99,235,.16))!important}
.src-real-radar-chart .radar-mid{fill:color-mix(in srgb, var(--sport-soft-strong,#dbeafe) 65%, #ffffff 35%)!important;stroke:var(--sport-border, rgba(37,99,235,.22))!important}
.src-sport-highlight{
  margin:8px 18px 10px!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,color-mix(in srgb, var(--sport-soft,#eff6ff) 80%, #ffffff 20%), #ffffff)!important;
  border:1px solid var(--sport-border,rgba(37,99,235,.16))!important;
}
.src-sport-highlight small{display:block!important;font-size:11px!important;font-weight:800!important;color:#78879d!important;margin-bottom:3px!important}
.src-sport-highlight strong{display:block!important;font-size:18px!important;line-height:1.1!important;font-weight:900!important;color:var(--sport-deep,#1e3a8a)!important}
.src-sport-highlight span{display:inline-flex!important;align-items:center!important;padding:7px 10px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--sport-border,rgba(37,99,235,.16))!important;color:var(--sport-primary,#2563EB)!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important}
.src-sport-card h4{margin:8px 18px 8px!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#6b7b93!important}
.src-athlete-row{
  margin:0 18px 8px!important;
  padding:10px 10px!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:14px!important;
  background:#fff!important;
}
.src-athlete-row:last-child{margin-bottom:14px!important}
.src-athlete-row b{color:var(--sport-deep,#1e3a8a)!important}
.src-no-athlete{margin:0 18px 14px!important;padding:14px!important;border-radius:14px!important;background:var(--sport-soft,#eff6ff)!important;border:1px dashed var(--sport-border,rgba(37,99,235,.18))!important;color:#66768f!important;text-align:center!important;font-size:12px!important;font-weight:700!important}
@media(max-width:760px){
  .src-sport-highlight{flex-direction:column!important;align-items:flex-start!important}
}


/* V6.49 dashboard layout refinement */
.src-dashboard-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-bottom:20px!important;
}
.src-dashboard-head > div{min-width:0!important}
.src-dashboard-head h1{
  font-size:34px!important;
  line-height:1.06!important;
  letter-spacing:-.03em!important;
  margin:0 0 8px!important;
}
.src-dashboard-subtitle{
  margin:0!important;
  max-width:760px!important;
  color:#8794a8!important;
  font-size:14px!important;
  line-height:1.6!important;
  font-weight:700!important;
}
.src-update-btn{
  min-width:156px!important;
  min-height:48px!important;
  padding:0 18px!important;
  border-radius:14px!important;
  align-self:flex-start!important;
}
.src-update-btn svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}

.src-kpi-grid{margin-bottom:26px!important}
.src-kpi{
  position:relative!important;
  overflow:hidden!important;
  border-radius:20px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.06)!important;
}
.src-kpi::after{
  content:"";
  position:absolute;inset:auto 0 0 0;height:4px;
  background:linear-gradient(90deg, rgba(var(--theme-primary-rgb),.85), rgba(var(--theme-secondary-rgb),.65));
  opacity:.9;
}
.src-kpi .kpi-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}
.src-kpi .trend{font-weight:800!important}

.src-dashboard-section-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:2px 0 14px!important;
}
.src-dashboard-section-head .src-section-title{
  margin:0 0 6px!important;
  font-size:28px!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
}
.src-dashboard-section-head p{
  margin:0!important;
  color:#8a97aa!important;
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:700!important;
}
.src-dashboard-section-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#f7fbff,#eef5ff)!important;
  border:1px solid #dfe8f7!important;
  color:#2d5ed6!important;
  font-size:12px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
}

.src-sport-slider{
  padding:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:1px solid #e7eef8!important;
  border-radius:22px!important;
  box-shadow:0 16px 34px rgba(15,23,42,.055)!important;
}
.src-sport-slider-head{margin:0 0 14px!important}
.src-sport-slider-summary{font-size:13px!important;color:#7a8798!important;font-weight:800!important}
.src-sport-nav{box-shadow:0 10px 20px rgba(15,23,42,.06)!important}

.src-dashboard-lower{
  margin-top:8px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(380px,.95fr)!important;
  grid-template-areas:
    "recent cta"
    "recent calendar"!important;
  gap:18px!important;
  align-items:start!important;
}
.src-recent-card{grid-area:recent!important}
.src-cta-card{grid-area:cta!important}
.src-calendar-card{grid-area:calendar!important}

.src-recent-card,
.src-calendar-card,
.src-cta-card{
  border-radius:22px!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06)!important;
}
.src-recent-card .card-head,
.src-calendar-card .card-head{margin-bottom:12px!important}
.src-recent-card .card-head h2,
.src-calendar-card .card-head h2{
  font-size:28px!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
  margin:0!important;
}
.src-dashboard-table thead th{padding-top:14px!important;padding-bottom:14px!important}
.src-dashboard-table tbody td{padding-top:14px!important;padding-bottom:14px!important}
.src-mini-person{display:inline-flex!important;align-items:center!important;gap:10px!important;font-weight:800!important;color:#26354d!important}
.src-mini-person img{width:34px!important;height:34px!important;border-radius:999px!important}

.src-cta-card{
  min-height:230px!important;
  display:grid!important;
  place-items:start!important;
  align-content:space-between!important;
  justify-items:start!important;
  padding:28px!important;
  text-align:left!important;
  position:relative!important;
  overflow:hidden!important;
}
.src-cta-card::before{
  content:"";
  position:absolute;right:-38px;top:-34px;
  width:180px;height:180px;border-radius:36px;
  background:rgba(255,255,255,.1);transform:rotate(18deg);
}
.src-cta-card::after{
  content:"";
  position:absolute;right:24px;bottom:-18px;width:120px;height:120px;border-radius:999px;background:rgba(255,255,255,.08);
}
.src-cta-icon{
  width:72px!important;height:72px!important;border-radius:22px!important;
  display:grid!important;place-items:center!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.src-cta-icon svg{width:34px!important;height:34px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.src-cta-card h2{font-size:30px!important;line-height:1.04!important;margin:10px 0 6px!important}
.src-cta-card p{font-size:14px!important;line-height:1.6!important;max-width:28ch!important;margin:0 0 18px!important;color:rgba(255,255,255,.86)!important;font-weight:700!important}
.src-cta-card .btn{min-height:46px!important;padding:0 16px!important;border-radius:14px!important;box-shadow:0 10px 18px rgba(0,0,0,.12)!important}

.src-calendar-card{padding:20px!important}
.src-month-head{margin-bottom:12px!important}
.src-month-title b{font-size:18px!important;color:#162544!important}
.src-month-title a{font-size:13px!important;color:#6b7b93!important;font-weight:800!important}
.src-month-nav{box-shadow:0 8px 18px rgba(15,23,42,.05)!important}
.src-mini-calendar{gap:8px!important;margin-bottom:14px!important}
.src-mini-calendar .day-name{font-size:12px!important;font-weight:800!important;color:#8b97aa!important}
.src-mini-calendar span:not(.day-name){height:42px!important;border-radius:14px!important;font-weight:800!important}
.src-event-list{display:grid!important;gap:10px!important}
.src-event-list a{
  padding:12px 14px!important;
  border:1px solid #ebf0f7!important;
  border-left:4px solid var(--theme-primary)!important;
  border-radius:14px!important;
  background:#fbfdff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
}
.src-event-list a b{display:block!important;color:#2150c2!important;margin-bottom:4px!important}
.src-event-list a span{display:block!important;color:#63748c!important;line-height:1.5!important}
.link-more{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:14px!important;font-size:13px!important}

@media(max-width:1280px){
  .src-dashboard-lower{
    grid-template-columns:1fr!important;
    grid-template-areas:"recent" "cta" "calendar"!important;
  }
}
@media(max-width:900px){
  .src-dashboard-head,
  .src-dashboard-section-head{flex-direction:column!important;align-items:flex-start!important}
  .src-dashboard-head h1,
  .src-dashboard-section-head .src-section-title,
  .src-recent-card .card-head h2,
  .src-calendar-card .card-head h2,
  .src-cta-card h2{font-size:24px!important}
}


/* V6.51 dashboard sport stats: data-driven icons + chart types */
.src-sport-card .src-sport-icon{
  color:#fff!important;
}
.src-sport-card .src-sport-icon .src-athletics-svg,
.src-sport-card .src-sport-icon svg{
  display:block!important;
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  max-height:38px!important;
  opacity:1!important;
  visibility:visible!important;
  color:#fff!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:3.2!important;
}
.src-sport-card .src-sport-icon::before{display:none!important}
.src-chart-hint{
  margin:2px 18px 10px!important;
  color:#7d8aa0!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:700!important;
}
.src-real-chart.is-line{
  background:linear-gradient(180deg,#ffffff 0%, color-mix(in srgb, var(--sport-soft,#eff6ff) 58%, #ffffff 42%) 100%)!important;
}
.src-real-chart.is-line svg{height:68px!important;margin-bottom:8px!important}
.src-real-chart.is-line svg polyline{fill:none!important;stroke-width:3.2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.src-real-chart.is-line svg circle{fill:#fff!important;stroke-width:2.6!important}
.src-real-chart.is-bar .src-chart-bars{align-items:flex-end!important}
.src-real-chart.is-bar .src-chart-bar-wrap{gap:8px!important}
.src-real-radar-chart{
  padding:12px 14px 10px!important;
}
.src-real-radar-chart svg{display:block!important;width:100%!important;height:120px!important;margin:0 auto 8px!important}
.src-radar-labels{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:center!important}
.src-radar-labels span{display:inline-flex!important;align-items:center!important;padding:5px 8px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--sport-border,rgba(37,99,235,.16))!important;color:var(--sport-deep,#1e3a8a)!important;font-size:11px!important;font-weight:800!important}


/* V6.52 Dashboard sport card content overflow fix */
.src-sport-track{
  align-items:stretch!important;
}
.src-sport-track .src-sport-card,
.src-sport-card{
  min-height:460px!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding-bottom:14px!important;
}
.src-sport-card::after{
  pointer-events:none!important;
}
.src-sport-card .src-sport-head{
  flex:0 0 70px!important;
}
.src-chart-title{
  flex:0 0 auto!important;
  margin:14px 18px 2px!important;
}
.src-chart-hint{
  flex:0 0 auto!important;
  margin:0 18px 10px!important;
  min-height:32px!important;
}
.src-sport-meta{
  flex:0 0 auto!important;
  margin:8px 18px 10px!important;
}
.src-real-chart,
.src-real-radar-chart,
.src-real-chart-empty{
  flex:0 0 auto!important;
  height:122px!important;
  min-height:122px!important;
  max-height:122px!important;
  margin:0 18px 10px!important;
  overflow:hidden!important;
}
.src-real-chart.is-line svg{
  height:62px!important;
}
.src-real-chart .src-chart-bars{
  min-height:92px!important;
  max-height:92px!important;
}
.src-sport-highlight{
  flex:0 0 auto!important;
  margin:0 18px 12px!important;
  min-height:66px!important;
}
.src-sport-card h4{
  flex:0 0 auto!important;
  margin:0 18px 8px!important;
}
.src-athlete-row{
  flex:0 0 auto!important;
}
.src-no-athlete{
  flex:0 0 auto!important;
}
.src-sport-highlight strong{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:170px!important;
}
.src-sport-highlight span{
  flex:0 0 auto!important;
}
@media(max-width:1500px){
  .src-sport-track .src-sport-card,
  .src-sport-card{
    min-height:470px!important;
  }
}
@media(max-width:760px){
  .src-sport-track .src-sport-card,
  .src-sport-card{
    min-height:450px!important;
  }
  .src-chart-hint{
    min-height:auto!important;
  }
}


/* V6.53 premium toast-style confirm dialog */
body.src-confirm-open{overflow:hidden!important}
.src-confirm{
  position:fixed!important;
  inset:0!important;
  z-index:10050!important;
  display:grid!important;
  place-items:center!important;
  padding:22px!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .18s ease!important;
}
.src-confirm.is-open{
  opacity:1!important;
  pointer-events:auto!important;
}
.src-confirm__backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(15,23,42,.36)!important;
  backdrop-filter:blur(10px)!important;
}
.src-confirm__card{
  position:relative!important;
  width:min(520px,calc(100vw - 32px))!important;
  display:grid!important;
  grid-template-columns:58px 1fr!important;
  gap:16px!important;
  align-items:start!important;
  padding:22px!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:0 28px 80px rgba(15,23,42,.22),0 4px 16px rgba(15,23,42,.08)!important;
  transform:translateY(12px) scale(.98)!important;
  transition:transform .2s ease!important;
  overflow:hidden!important;
}
.src-confirm.is-open .src-confirm__card{
  transform:translateY(0) scale(1)!important;
}
.src-confirm__card::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:6px!important;
  background:var(--src-confirm-accent,#f59e0b)!important;
}
.src-confirm__icon{
  width:58px!important;
  height:58px!important;
  border-radius:18px!important;
  display:grid!important;
  place-items:center!important;
  color:var(--src-confirm-accent,#f59e0b)!important;
  background:var(--src-confirm-soft,#fff7ed)!important;
  border:1px solid var(--src-confirm-border,#fed7aa)!important;
}
.src-confirm__icon svg{
  width:30px!important;
  height:30px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.src-confirm__content{
  min-width:0!important;
  padding-right:4px!important;
}
.src-confirm__title{
  display:block!important;
  margin:2px 0 8px!important;
  color:#111827!important;
  font-size:21px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.src-confirm__message{
  margin:0!important;
  color:#64748b!important;
  font-size:14px!important;
  line-height:1.65!important;
  font-weight:700!important;
}
.src-confirm__actions{
  grid-column:1 / -1!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:4px!important;
}
.src-confirm__btn{
  min-height:44px!important;
  border-radius:14px!important;
  padding:0 18px!important;
  border:1px solid #dbe5f0!important;
  font-weight:900!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.src-confirm__btn--ghost{
  background:#fff!important;
  color:#52627a!important;
}
.src-confirm__btn--ghost:hover{
  background:#f8fafc!important;
  color:#111827!important;
}
.src-confirm__btn--primary{
  background:linear-gradient(135deg,var(--src-confirm-accent,#f59e0b),var(--src-confirm-accent-dark,#d97706))!important;
  color:#fff!important;
  border-color:var(--src-confirm-accent,#f59e0b)!important;
  box-shadow:0 12px 24px var(--src-confirm-shadow,rgba(245,158,11,.26))!important;
}
.src-confirm__btn--primary:hover{
  transform:translateY(-1px)!important;
}
.src-confirm--danger{
  --src-confirm-accent:#ef4444;
  --src-confirm-accent-dark:#dc2626;
  --src-confirm-soft:#fee2e2;
  --src-confirm-border:#fecaca;
  --src-confirm-shadow:rgba(239,68,68,.28);
}
.src-confirm--warning{
  --src-confirm-accent:#f59e0b;
  --src-confirm-accent-dark:#d97706;
  --src-confirm-soft:#fff7ed;
  --src-confirm-border:#fed7aa;
  --src-confirm-shadow:rgba(245,158,11,.28);
}
.src-confirm--info{
  --src-confirm-accent:var(--theme-primary,#2563EB);
  --src-confirm-accent-dark:var(--theme-primary-dark,#1D4ED8);
  --src-confirm-soft:#dbeafe;
  --src-confirm-border:#bfdbfe;
  --src-confirm-shadow:rgba(var(--theme-primary-rgb,37,99,235),.25);
}
@media(max-width:560px){
  .src-confirm__card{
    grid-template-columns:1fr!important;
    padding:20px!important;
  }
  .src-confirm__actions{
    flex-direction:column-reverse!important;
  }
  .src-confirm__btn{
    width:100%!important;
  }
}


/* V6.54 sport type image icon picker */
.src-sport-type-icon,
.src-sport-preview-icon,
.src-icon-visual,
.src-icon-group-mark{
  overflow:hidden!important;
}
.src-sport-icon-image{
  display:block!important;
  width:52px!important;
  height:52px!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:drop-shadow(0 10px 18px rgba(37,99,235,.10))!important;
}
.src-sport-icon-image--group{
  width:34px!important;
  height:34px!important;
  filter:none!important;
}
.src-sport-icon-image--choice{
  width:64px!important;
  height:64px!important;
}
.src-sport-type-icon .src-sport-icon-image,
.src-sport-preview-icon .src-sport-icon-image{
  width:54px!important;
  height:54px!important;
}
.src-icon-choice .src-icon-visual{
  width:78px!important;
  height:78px!important;
  flex:0 0 78px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#f8fbff,#edf4ff)!important;
  border:1px solid #dbe6f7!important;
}
.src-icon-choice.is-selected .src-icon-visual{
  background:linear-gradient(180deg,#eef5ff,#e3edff)!important;
  border-color:#cdddfd!important;
}
.src-icon-group-mark{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
}
.src-sport-type-icon,.src-sport-preview-icon{
  background:linear-gradient(180deg,#f8fbff,#eef4ff)!important;
}
@media(max-width:640px){
  .src-icon-choice .src-icon-visual{width:64px!important;height:64px!important;flex-basis:64px!important}
  .src-sport-icon-image--choice{width:52px!important;height:52px!important}
}


/* V6.55 replace athletics SVG with image icons system-wide */
.src-sport-icon-image{display:block!important;object-fit:contain!important;object-position:center!important;max-width:100%!important;max-height:100%!important;background:transparent!important}
.src-sport-icon-image--dashboard{width:42px!important;height:42px!important;filter:brightness(0) invert(1) drop-shadow(0 8px 14px rgba(0,0,0,.12))!important}
.src-sport-card .src-sport-icon img.src-sport-icon-image,.src-sport-card .src-sport-icon .src-sport-icon-image--dashboard{width:42px!important;height:42px!important}
.src-sport-icon-image--inline{width:22px!important;height:22px!important;display:inline-block!important;vertical-align:middle!important;margin-right:8px!important;filter:drop-shadow(0 5px 8px rgba(37,99,235,.10))!important}
.src-sport-icon-image--choice{width:68px!important;height:68px!important}
.src-sport-icon-image--group{width:34px!important;height:34px!important}
.src-sport-type-icon .src-sport-icon-image,.src-sport-preview-icon .src-sport-icon-image{width:58px!important;height:58px!important}
.src-icon-choice .src-icon-visual{background:linear-gradient(180deg,#fbfdff,#edf4ff)!important}
.src-icon-choice.is-selected .src-icon-visual{background:linear-gradient(180deg,#eff6ff,#e0ebff)!important}
.src-sport-card .src-sport-icon::before{display:none!important}
.src-sport-card .src-sport-icon svg{display:none!important}


/* V6.57 athletes real data layout */
.src-athlete-head{
  align-items:flex-start!important;
  gap:18px!important;
}
.src-athlete-head h1{
  margin-bottom:8px!important;
  font-size:34px!important;
  letter-spacing:-.03em!important;
}
.src-athlete-head p{
  margin:0!important;
  color:#8794a8!important;
  font-weight:700!important;
  line-height:1.55!important;
}
.src-athlete-filter{
  display:grid!important;
  grid-template-columns:minmax(260px,1.4fr) minmax(170px,.75fr) minmax(150px,.65fr) minmax(150px,.65fr) auto auto!important;
  gap:12px!important;
  align-items:center!important;
  margin-bottom:18px!important;
  padding:16px!important;
}
.src-athlete-filter input,
.src-athlete-filter select{
  width:100%!important;
  min-height:44px!important;
  border:1px solid #dce6f2!important;
  border-radius:14px!important;
  padding:0 14px!important;
  background:#fff!important;
  color:#24324a!important;
  font-weight:700!important;
}
.src-athlete-kpi{
  margin-bottom:18px!important;
}
.src-athlete-kpi .kpi{
  min-height:120px!important;
  border-radius:20px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.06)!important;
}
.src-athlete-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(340px,420px)!important;
  gap:18px!important;
  align-items:start!important;
}
.src-athlete-table-card,
.src-top-athletes-card,
.src-sport-distribution-card{
  border-radius:22px!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06)!important;
}
.src-athlete-table-card .card-head{
  margin-bottom:12px!important;
}
.src-athlete-table-card .card-head h2,
.src-top-athletes-card .card-head h2,
.src-sport-distribution-card .card-head h2{
  margin:0!important;
  font-size:24px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.src-athlete-table-card .card-head .muted{
  display:block!important;
  margin-top:6px!important;
  color:#8794a8!important;
  font-size:13px!important;
  font-weight:700!important;
}
.src-athlete-table-card table th{
  white-space:nowrap!important;
  font-size:12px!important;
  color:#66758c!important;
  font-weight:900!important;
}
.src-athlete-table-card table td{
  vertical-align:middle!important;
}
.src-athlete-table-card .person{
  min-width:220px!important;
}
.src-athlete-table-card .person span{
  display:grid!important;
  gap:3px!important;
}
.src-athlete-table-card .person small{
  display:block!important;
  color:#8b97aa!important;
  font-size:12px!important;
  font-weight:700!important;
}
.src-athlete-sport{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:150px!important;
  color:var(--sport-color,#2563EB)!important;
}
.src-athlete-sport b{
  color:#26354d!important;
  font-size:13px!important;
  font-weight:900!important;
}
.src-sport-icon-image--table{
  width:32px!important;
  height:32px!important;
  object-fit:contain!important;
  background:rgba(37,99,235,.06)!important;
  border:1px solid rgba(37,99,235,.12)!important;
  border-radius:10px!important;
  padding:4px!important;
}
.src-score-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:64px!important;
  height:30px!important;
  border-radius:999px!important;
  padding:0 10px!important;
  font-size:12px!important;
  font-weight:900!important;
  border:1px solid #e2e8f0!important;
  background:#f8fafc!important;
  color:#64748b!important;
}
.src-score-pill.is-good{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#047857!important}
.src-score-pill.is-mid{background:#fff7ed!important;border-color:#fed7aa!important;color:#c2410c!important}
.src-score-pill.is-low{background:#fef2f2!important;border-color:#fecaca!important;color:#b91c1c!important}
.src-top-athletes-card .rank-row{
  display:grid!important;
  grid-template-columns:34px 42px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:11px 0!important;
  border-bottom:1px solid #edf2f7!important;
  color:inherit!important;
  text-decoration:none!important;
}
.src-top-athletes-card .rank-row:last-child{border-bottom:0!important}
.src-top-athletes-card .rank-row>b{
  width:30px!important;
  height:30px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef5ff!important;
  color:var(--theme-primary)!important;
  font-weight:900!important;
}
.src-top-athletes-card .rank-row img{
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  object-fit:cover!important;
}
.src-top-athletes-card .rank-row span{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
  font-weight:900!important;
  color:#26354d!important;
}
.src-top-athletes-card .rank-row small{
  color:#8794a8!important;
  font-size:12px!important;
  font-weight:700!important;
}
.src-top-athletes-card .rank-row strong{
  color:#0f3e9a!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
.src-sport-dist-list{
  display:grid!important;
  gap:12px!important;
}
.src-sport-dist-row{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
}
.src-sport-dist-row > span{
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:color-mix(in srgb, var(--sport-color,#2563EB) 10%, #ffffff 90%)!important;
  border:1px solid color-mix(in srgb, var(--sport-color,#2563EB) 20%, #ffffff 80%)!important;
}
.src-sport-icon-image--dist{
  width:34px!important;
  height:34px!important;
  object-fit:contain!important;
}
.src-sport-dist-row div{
  min-width:0!important;
  display:grid!important;
  gap:7px!important;
}
.src-sport-dist-row b{
  color:#26354d!important;
  font-size:13px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.src-sport-dist-row i{
  display:block!important;
  width:100%!important;
  height:8px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,var(--sport-color,#2563EB) var(--percent,0%),#eef2f7 var(--percent,0%))!important;
}
.src-sport-dist-row strong{
  color:var(--sport-color,#2563EB)!important;
  font-size:14px!important;
  font-weight:900!important;
}
.action-list a{
  text-decoration:none!important;
}
@media(max-width:1280px){
  .src-athlete-layout{grid-template-columns:1fr!important}
  .src-athlete-filter{grid-template-columns:1fr 1fr!important}
}
@media(max-width:760px){
  .src-athlete-filter{grid-template-columns:1fr!important}
  .src-athlete-head{flex-direction:column!important}
  .src-athlete-head .actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important}
  .src-athlete-head .actions .btn{width:100%!important}
}


/* V6.58 topbar real usable dropdowns */
.src-ref-brand{
  text-decoration:none!important;
  color:inherit!important;
}
.src-ref-brand:hover .brand-title{
  color:var(--theme-primary)!important;
}
.src-ref-top-icon,
.src-ref-user{
  border:0!important;
  cursor:pointer!important;
}
.src-top-dropdown.is-open .src-notify-dropdown,
.src-top-dropdown.is-open .src-user-menu{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important;
  pointer-events:auto!important;
}
.src-notify-dropdown,
.src-user-menu{
  pointer-events:none!important;
}
.src-user-dropdown{position:relative!important;display:flex!important;align-items:center!important}
.src-ref-user{
  appearance:none!important;
  background:transparent!important;
  border:0!important;
  display:flex!important;
  align-items:center!important;
}
.src-user-menu{
  position:absolute!important;
  top:calc(100% + 12px)!important;
  right:0!important;
  width:300px!important;
  background:#fff!important;
  border:1px solid #e8eef7!important;
  border-radius:18px!important;
  box-shadow:0 22px 48px rgba(15,23,42,.14)!important;
  padding:12px!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(8px)!important;
  transition:.18s ease!important;
  z-index:60!important;
}
.src-user-menu-head{
  display:flex!important;
  gap:12px!important;
  align-items:center!important;
  padding:8px 8px 12px!important;
  border-bottom:1px solid #eef2f8!important;
  margin-bottom:8px!important;
}
.src-user-menu-head img{
  width:46px!important;
  height:46px!important;
  border-radius:999px!important;
  object-fit:cover!important;
}
.src-user-menu-head strong{
  display:block!important;
  font-size:14px!important;
  font-weight:900!important;
  color:#17233a!important;
  line-height:1.25!important;
}
.src-user-menu-head small{
  display:block!important;
  margin-top:3px!important;
  font-size:12px!important;
  color:#7d8ba1!important;
  font-weight:700!important;
  max-width:190px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.src-user-menu a,
.src-user-menu button{
  width:100%!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px 10px!important;
  border-radius:12px!important;
  border:0!important;
  background:transparent!important;
  color:#24324a!important;
  font-size:13px!important;
  font-weight:800!important;
  text-decoration:none!important;
  cursor:pointer!important;
  text-align:left!important;
}
.src-user-menu a:hover,
.src-user-menu button:hover{
  background:#f8fbff!important;
  color:var(--theme-primary)!important;
}
.src-user-menu svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  flex:0 0 18px!important;
}
.src-user-menu form{
  margin:8px 0 0!important;
  padding-top:8px!important;
  border-top:1px solid #eef2f8!important;
}
.src-user-menu form button{
  color:#ef4444!important;
}
.src-user-menu form button:hover{
  background:#fff1f2!important;
  color:#dc2626!important;
}
.src-notify-dropdown{
  z-index:60!important;
}
.src-notify-item{
  text-decoration:none!important;
}
.src-notify-footer{
  text-decoration:none!important;
}
.src-ref-top-icon[aria-expanded="true"],
.src-ref-user[aria-expanded="true"]{
  background:#f2f7ff!important;
  color:var(--theme-primary)!important;
}
@media(max-width:760px){
  .src-user-menu{
    right:-8px!important;
    width:min(300px,calc(100vw - 28px))!important;
  }
  .src-notify-dropdown{
    right:-118px!important;
    width:min(340px,calc(100vw - 28px))!important;
  }
}


/* V6.60 athlete create edit form rebuilt from uploaded zip */
.src-athlete-form-head h1{
  margin-bottom:8px!important;
  font-size:34px!important;
  letter-spacing:-.03em!important;
}
.src-athlete-form-head p{
  margin:0!important;
  color:#8794a8!important;
  font-weight:700!important;
  line-height:1.55!important;
}
.src-athlete-form{
  padding:22px!important;
  border-radius:24px!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06)!important;
}
.src-athlete-form-hero{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:center!important;
  padding:18px!important;
  border:1px solid #e7eef8!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#f8fbff,#eef5ff)!important;
  margin-bottom:18px!important;
}
.src-athlete-form-avatar{
  width:92px!important;
  height:92px!important;
  border-radius:26px!important;
  background:#fff!important;
  border:1px solid #dce7f7!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  box-shadow:0 14px 28px rgba(15,23,42,.08)!important;
}
.src-athlete-form-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.src-athlete-form-hero h2{
  margin:0 0 6px!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:900!important;
  color:#15233c!important;
}
.src-athlete-form-hero p{
  margin:0 0 6px!important;
  color:var(--theme-primary)!important;
  font-weight:900!important;
}
.src-athlete-form-hero small{
  color:#7d8ba1!important;
  font-weight:700!important;
  line-height:1.45!important;
}
.src-form-section{
  margin-top:18px!important;
  padding:18px!important;
  border:1px solid #edf2f8!important;
  border-radius:20px!important;
  background:#fff!important;
}
.src-form-section h3{
  margin:0 0 14px!important;
  font-size:17px!important;
  font-weight:900!important;
  color:#14213d!important;
}
.src-athlete-form .form-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.src-athlete-form .field{
  display:grid!important;
  gap:7px!important;
}
.src-athlete-form .field span{
  font-size:13px!important;
  font-weight:900!important;
  color:#334155!important;
}
.src-athlete-form .field b{
  color:#ef4444!important;
}
.src-athlete-form input,
.src-athlete-form select,
.src-athlete-form textarea{
  width:100%!important;
  min-height:44px!important;
  border:1px solid #dce6f2!important;
  border-radius:14px!important;
  padding:0 14px!important;
  background:#fff!important;
  color:#24324a!important;
  font-weight:700!important;
  outline:none!important;
}
.src-athlete-form textarea{
  padding:12px 14px!important;
  resize:vertical!important;
}
.src-athlete-form input:focus,
.src-athlete-form select:focus,
.src-athlete-form textarea:focus{
  border-color:var(--theme-primary)!important;
  box-shadow:0 0 0 3px rgba(var(--theme-primary-rgb),.12)!important;
}
.src-athlete-form .field-wide{
  grid-column:span 2!important;
}
.src-athlete-form .form-actions{
  margin-top:20px!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
}
@media(max-width:1200px){
  .src-athlete-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .src-athlete-form{padding:16px!important}
  .src-athlete-form-hero{grid-template-columns:1fr!important;text-align:center!important}
  .src-athlete-form-avatar{margin:auto!important}
  .src-athlete-form .form-grid{grid-template-columns:1fr!important}
  .src-athlete-form .field-wide{grid-column:auto!important}
  .src-athlete-form .form-actions{display:grid!important;grid-template-columns:1fr!important}
}


/* V6.61 athlete upload bmi age auto */
.src-upload-row{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px 12px!important;
  margin-top:10px!important;
}
.src-upload-btn{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 15px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,var(--theme-primary,#2563eb),var(--theme-secondary,#60a5fa))!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 12px 22px rgba(var(--theme-primary-rgb,37,99,235),.22)!important;
}
.src-upload-btn input[type=file]{
  position:absolute!important;
  inset:0!important;
  opacity:0!important;
  cursor:pointer!important;
  width:100%!important;
  height:100%!important;
}
.src-athlete-form input[readonly]{
  background:#f8fafc!important;
  color:#0f3e9a!important;
  font-weight:900!important;
  cursor:not-allowed!important;
}
.src-bmi-category{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin-top:3px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  border:1px solid #dbeafe!important;
  color:#1d4ed8!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
.src-bmi-category[data-bmi-level="low"]{
  background:#fefce8!important;
  border-color:#fde68a!important;
  color:#a16207!important;
}
.src-bmi-category[data-bmi-level="normal"]{
  background:#ecfdf5!important;
  border-color:#bbf7d0!important;
  color:#047857!important;
}
.src-bmi-category[data-bmi-level="over"]{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
  color:#c2410c!important;
}
.src-bmi-category[data-bmi-level="high"]{
  background:#fef2f2!important;
  border-color:#fecaca!important;
  color:#b91c1c!important;
}
.src-athlete-form-avatar{
  position:relative!important;
}
.src-athlete-form-avatar::after{
  content:"อัปโหลด"!important;
  position:absolute!important;
  inset:auto 8px 8px 8px!important;
  display:grid!important;
  place-items:center!important;
  min-height:24px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.72)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  opacity:0!important;
  transform:translateY(4px)!important;
  transition:.18s ease!important;
  pointer-events:none!important;
}
.src-athlete-form-avatar:hover::after{
  opacity:1!important;
  transform:translateY(0)!important;
}
