:root{--brand-navy:#0b1a5c;--brand-navy-deep:#0a1447;--brand-blue:#1736b8;--brand-yellow:#ffd60a;--on-yellow:#0b1a5c;--background:#f3f5fb;--surface:#fff;--surface-hover:#eef1fa;--surface-sunken:#f3f5fb;--foreground:#0b1230;--heading:#0b1a5c;--muted:#5d6585;--border:#e2e6f2;--border-strong:#c9cfe3;--accent:#1736b8;--accent-2:#2a4fd6;--accent-hover:#122c99;--accent-soft:#1736b814;--accent-soft-strong:#1736b829;--accent-gradient:linear-gradient(135deg, var(--accent), var(--accent-2));--link:#1736b8;--hero-from:#1736b8;--hero-to:#0b1a5c;--sidebar-bg:linear-gradient(180deg, #0b1a5c, #0a1447);--sidebar-fg:#ffffffb8;--sidebar-fg-strong:#fff;--sidebar-hover:#ffffff14;--sidebar-line:#ffffff1a;--danger:#e5484d;--danger-soft:#e5484d1a;--success:#1b8a4b;--success-soft:#1b8a4b1a;--warning:#b35c00;--panel-bg:#0b1230;--shadow-xs:0 1px 2px #0b1a5c0d;--shadow-sm:0 2px 8px #0b1a5c12, 0 1px 2px #0b1a5c0d;--shadow-md:0 14px 32px #0b1a5c1f, 0 2px 8px #0b1a5c0f;--shadow-lg:0 28px 60px #0b1a5c33, 0 6px 16px #0b1a5c1a;--shadow-accent:0 8px 20px #1736b847;--radius-sm:10px;--radius:18px;--radius-lg:24px;--font-display:var(--font-unbounded), var(--font-onest), system-ui, sans-serif;--font-body:var(--font-onest), system-ui, -apple-system, "Segoe UI", sans-serif;--tip-bg:#0a1447;--tip-fg:#fff;--tip-kbd-bg:#ffd60a2e;--tip-kbd-fg:#ffd60a;--tint-bg:14%;--tint-lighten:0%;--sidebar-width:248px;--sidebar-width-collapsed:76px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--background:#070d2e;--surface:#0f1745;--surface-hover:#16205a;--surface-sunken:#0b1238;--foreground:#eef1ff;--heading:#fff;--muted:#9aa5d6;--border:#1f2a66;--border-strong:#2e3b80;--accent:#6d88ff;--accent-2:#9aabff;--accent-hover:#a3b3ff;--accent-soft:#7d93ff24;--accent-soft-strong:#7d93ff3d;--accent-gradient:linear-gradient(135deg, #2f4fe0, #1736b8);--link:#ffd60a;--hero-from:#1d3ad0;--hero-to:#0c1757;--sidebar-bg:#050a24;--sidebar-line:#ffffff12;--danger:#ff7b7f;--danger-soft:#ff7b7f24;--success:#4ade80;--success-soft:#4ade8024;--warning:#ffb35c;--panel-bg:#050a24;--shadow-xs:0 1px 2px #0006;--shadow-sm:0 2px 8px #00000073;--shadow-md:0 16px 40px #0000008c, 0 2px 10px #0006;--shadow-lg:0 30px 70px #0009, 0 6px 18px #00000073;--shadow-accent:0 10px 26px #2f4fe073;--tip-bg:#eef1ff;--tip-fg:#0b1a5c;--tip-kbd-bg:#0b1a5c1a;--tip-kbd-fg:#1736b8;--tint-bg:24%;--tint-lighten:50%;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--background:#070d2e;--surface:#0f1745;--surface-hover:#16205a;--surface-sunken:#0b1238;--foreground:#eef1ff;--heading:#fff;--muted:#9aa5d6;--border:#1f2a66;--border-strong:#2e3b80;--accent:#6d88ff;--accent-2:#9aabff;--accent-hover:#a3b3ff;--accent-soft:#7d93ff24;--accent-soft-strong:#7d93ff3d;--accent-gradient:linear-gradient(135deg, #2f4fe0, #1736b8);--link:#ffd60a;--hero-from:#1d3ad0;--hero-to:#0c1757;--sidebar-bg:#050a24;--sidebar-line:#ffffff12;--danger:#ff7b7f;--danger-soft:#ff7b7f24;--success:#4ade80;--success-soft:#4ade8024;--warning:#ffb35c;--panel-bg:#050a24;--shadow-xs:0 1px 2px #0006;--shadow-sm:0 2px 8px #00000073;--shadow-md:0 16px 40px #0000008c, 0 2px 10px #0006;--shadow-lg:0 30px 70px #0009, 0 6px 18px #00000073;--shadow-accent:0 10px 26px #2f4fe073;--tip-bg:#eef1ff;--tip-fg:#0b1a5c;--tip-kbd-bg:#0b1a5c1a;--tip-kbd-fg:#1736b8;--tint-bg:24%;--tint-lighten:50%;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}
html{height:100%}html,body{max-width:100vw}html{overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:var(--background);font-family:var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;font-size:15px;line-height:1.5;display:flex}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}::selection{background:var(--accent-soft-strong)}h1,h2,h3{letter-spacing:-.02em;color:var(--heading);text-wrap:balance;font-weight:700}h1{font-family:var(--font-display);letter-spacing:-.03em}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button,input,select,textarea{font-family:inherit}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--border-strong);border:3px solid var(--background);border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:var(--muted)}.container{width:100%;max-width:1600px;margin:0 auto;padding:40px 40px 56px}@media (max-width:640px){.container{padding:20px 16px 40px}}.muted{color:var(--muted)}
@media (max-width:720px){:root{--tab-bar-height:64px}.container{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}
::view-transition-old(root){animation:none}::view-transition-new(root){animation:none}@media (prefers-reduced-motion:no-preference){::view-transition-old(.page-out){animation:.11s ease-in both page-out}::view-transition-new(.page-in){animation:.24s cubic-bezier(.2,.8,.2,1) 70ms both page-in}}@media (prefers-reduced-motion:reduce){::view-transition-group(*){animation:none!important}::view-transition-old(*){animation:none!important}::view-transition-new(*){animation:none!important}}@keyframes page-out{to{opacity:0;transform:translateY(-6px)}}@keyframes page-in{0%{opacity:0;filter:blur(3px);transform:translateY(12px)}}
.pageHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:30px;display:flex}.pageHeader h1{margin-bottom:6px;font-size:32px;line-height:1.15}@media (max-width:560px){.pageHeader h1{font-size:25px}}.pageHeader p{color:var(--muted);font-size:14.5px}.pageTitle{margin-bottom:24px;font-size:32px}@media (max-width:560px){.pageHeader{flex-direction:column;align-items:stretch}.pageHeader>:not(:only-child):first-child{margin-bottom:4px}}
.emptyState{border:1.5px dashed var(--border-strong);border-radius:var(--radius);text-align:center;color:var(--muted);background:var(--surface-sunken);padding:52px 24px;font-size:14px}.emptyStateRich{border:1.5px dashed var(--border-strong);border-radius:var(--radius);text-align:center;background:var(--surface-sunken);flex-direction:column;align-items:center;gap:6px;padding:56px 24px;display:flex}.emptyStateIcon{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:999px;justify-content:center;align-items:center;margin-bottom:12px;display:flex}.emptyStateIcon svg{width:24px;height:24px}.emptyStateRich h3{font-size:16px;font-weight:700}.emptyStateRich p{color:var(--muted);max-width:360px;font-size:13.5px}.emptyStateForm{gap:8px;width:100%;max-width:360px;margin-top:18px;display:flex}.emptyStateForm .inlineInput{flex:1;min-width:0}
.badge{text-transform:uppercase;letter-spacing:.04em;background:var(--accent);color:#fff;border-radius:999px;align-items:center;padding:3px 9px;font-size:11px;font-weight:700;display:inline-flex}.badge.muted{background:var(--surface-hover);color:var(--muted);border:1px solid var(--border)}
.teamAvatar{color:#fff;letter-spacing:.01em;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.teamAvatar.lg{width:42px;height:42px;font-size:15px}.teamAvatar.sm{border:2px solid var(--surface);width:26px;height:26px;font-size:10.5px}.avatarStack{align-items:center;display:flex}.avatarStack .teamAvatar.sm{margin-left:-8px}.avatarStack .teamAvatar.sm:first-child{margin-left:0}.avatarStatusDot{background:var(--muted);border:2px solid var(--surface-sunken);border-radius:50%;width:10px;height:10px;position:absolute;bottom:-2px;right:-2px}
.statusChip{border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:4px 11px;font-size:12.5px;font-weight:700;transition:box-shadow .15s,opacity .15s;display:inline-flex}.statusChipDot{border-radius:50%;flex-shrink:0;width:8px;height:8px}button.statusChip{cursor:pointer;font:inherit}button.statusChip.active{box-shadow:0 0 0 2px var(--surface) inset, 0 0 0 3.5px currentColor}button.statusChip.dimmed{opacity:.45}.avatarStackMore{border:2px solid var(--surface);background:var(--surface-sunken);width:26px;height:26px;color:var(--muted);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;margin-left:-8px;font-size:10px;font-weight:700;display:inline-flex}
.statsRow{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.statPill{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-xs);align-items:baseline;gap:7px;padding:10px 16px;display:flex}.statPill strong{letter-spacing:-.01em;font-size:18px;font-weight:800}.statPill span{color:var(--muted);font-size:12.5px;font-weight:600}
.modalOverlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:100;background:#0806109e;justify-content:center;align-items:center;padding:24px;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.modalCard{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-lg);flex-direction:column;width:100%;max-width:640px;max-height:85vh;animation:.15s scaleIn;display:flex;overflow:hidden}.previewModalCard{width:70vw;max-width:none;height:98vh;max-height:none;margin-top:0}@media (max-width:720px){.previewModalCard{border-radius:0;width:100vw;height:100vh}.previewModalOverlay{padding:0}}@keyframes fadeIn{0%{opacity:0}}@keyframes scaleIn{0%{opacity:0;transform:scale(.97)translateY(4px)}}.modalHeader{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modalHeader strong{font-size:16.5px;font-weight:700}.modalBody{flex:1;padding:22px 24px;overflow-y:auto}.modalFooter{border-top:1px solid var(--border);background:var(--surface-sunken);justify-content:flex-end;gap:8px;padding:16px 24px;display:flex}
.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-xs);padding:28px}@media (max-width:640px){.card{padding:18px}}.card.tight{padding:18px 20px}.tile{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-xs);transition:box-shadow .18s,transform .18s,border-color .18s;position:relative;overflow:hidden}.tile img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.tile:before{content:"";z-index:1;background:var(--brand-yellow);opacity:0;height:4px;transition:opacity .18s;position:absolute;inset:0 0 auto}.tile:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-3px)}.tile:hover:before{opacity:1}.tile .teamAvatar{transition:transform .18s}.tile:hover .teamAvatar{transform:scale(1.06)}.tile:hover .avatarStack .teamAvatar.sm{border-color:var(--surface-hover)}
.field{flex-direction:column;gap:6px;margin-bottom:18px;display:flex}.field label{color:var(--muted);font-size:13px;font-weight:700}.field input,.field textarea,.field select{font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--foreground);padding:11px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s}.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--muted)}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 4px var(--accent-soft);outline:none}.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:.75}.field input[type=file]{background:0 0;border:none;padding:8px}.inlineInput{font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--foreground);padding:11px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s}.inlineInput:hover{border-color:var(--muted)}.inlineInput:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 4px var(--accent-soft);outline:none}.inlineInput::placeholder{color:var(--muted);opacity:.75}.niceSelectTrigger{cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.niceSelectTrigger svg{color:var(--muted);flex-shrink:0}.niceSelectTrigger:disabled{opacity:.6;cursor:not-allowed}.folderToolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px;display:flex}.folderToolbar .inlineInput{width:240px}@media (max-width:560px){.folderToolbar .inlineInput{width:100%}}.fieldHint{color:var(--muted);font-size:12.5px}.fieldHint .linkButton{color:var(--link);font-weight:700}.fieldHint .linkButton:hover{text-decoration:underline}
.btn{font:inherit;background:var(--accent-gradient);color:#fff;cursor:pointer;min-height:42px;box-shadow:var(--shadow-accent);white-space:nowrap;border:1px solid #0000;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:700;transition:filter .15s,transform .15s,box-shadow .15s,background-color .15s;display:inline-flex}.btn:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.btn:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.btn:focus-visible{box-shadow:0 0 0 3px var(--accent-soft-strong);outline:none}.btn.secondary{background:var(--surface);color:var(--heading);border:1px solid var(--border-strong);box-shadow:var(--shadow-xs)}.btn.secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--muted);filter:none}.btn.danger{background:var(--danger);box-shadow:none}.btn.danger:focus-visible{box-shadow:0 0 0 3px var(--danger-soft)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn.compact{border-radius:9px;min-height:0;padding:6px 12px;font-size:12.5px}.btn.brand{background:var(--brand-yellow);color:var(--on-yellow);box-shadow:none}.btn.onHero{color:#fff;box-shadow:none;background:#ffffff1f;border:1px solid #ffffff3d}.error-text{color:var(--danger);background:var(--danger-soft);border-radius:var(--radius-sm);padding:9px 13px;font-size:13px;font-weight:600}
.authShell{grid-template-columns:1.1fr 1fr;width:100%;min-height:100vh;display:grid}.authPanel{background:linear-gradient(150deg, var(--brand-blue), var(--brand-navy) 55%, var(--brand-navy-deep));color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:64px;display:flex;position:relative;overflow:hidden}.authPanel:before{content:"";background:linear-gradient(105deg, transparent 0 34%, var(--brand-yellow) 34% 44%, transparent 44% 56%, #ffd60a59 56% 60%, transparent 60%);pointer-events:none;width:320px;position:absolute;top:0;bottom:0;right:-120px}.authPanel:after{content:"";pointer-events:none;background:repeating-linear-gradient(135deg,#ffd60a12 0 14px,#0000 14px 28px);border-radius:50%;width:340px;height:340px;position:absolute;bottom:-90px;left:-90px}.authPanel img{z-index:1;width:auto;height:96px;margin-bottom:32px;position:relative}.authPanel h2{color:#fff;z-index:1;max-width:420px;font-size:34px;line-height:1.2;position:relative}.authPanel p{color:#ffffffa6;z-index:1;max-width:400px;margin-top:14px;font-size:15px;position:relative}.authFormSide{justify-content:center;align-items:center;padding:40px 24px;display:flex}.authFormCard{width:100%;max-width:380px}.authFormCard h1{margin-bottom:6px;font-size:26px}.authFormCard>p{color:var(--muted);margin-bottom:28px;font-size:14.5px}@media (max-width:860px){.authShell{grid-template-columns:1fr}.authPanel{display:none}}
.sectionLabel{text-transform:uppercase;letter-spacing:.06em;color:var(--accent);align-items:center;gap:8px;margin:28px 0 14px;font-size:12.5px;font-weight:800;display:flex}.sectionLabel:first-child{margin-top:0}.sectionLabel svg{width:15px;height:15px}.sectionLabel:after{content:"";background:var(--border);flex:1;height:1px}
.exerciseRow{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-sunken);align-items:center;gap:12px;padding:8px 10px;transition:border-color .15s,background-color .15s;display:flex}.exerciseRow:hover{border-color:var(--border-strong)}.exerciseRow.dragOver{background:var(--accent-soft);border-color:var(--accent)}.exerciseRow.dragging{opacity:.5}.exerciseRow .dragHandle{cursor:grab;color:var(--muted);-webkit-user-select:none;user-select:none;flex-shrink:0;font-size:15px;line-height:1}.exerciseRow .thumb{object-fit:cover;background:var(--surface-hover);border:1px solid var(--border);border-radius:8px;flex-shrink:0;width:40px;height:40px}.exerciseRow .thumbPlaceholder{background:var(--accent-gradient);opacity:.7;border-radius:8px;flex-shrink:0;width:40px;height:40px}.exerciseRow .name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13.5px;font-weight:600;overflow:hidden}.iconBtn{border:1px solid var(--border-strong);background:var(--surface);width:30px;height:30px;color:var(--foreground);cursor:pointer;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.iconBtn svg{width:14px;height:14px}.iconBtn:hover:not(:disabled){background:var(--surface-hover);border-color:var(--muted)}.iconBtn:disabled{opacity:.35;cursor:not-allowed}.iconBtn.danger:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger);color:var(--danger)}.sessionAttendanceLinks{flex-wrap:wrap;align-items:center;gap:8px;margin:-8px 0 20px;font-size:13px;display:flex}.sessionAttendanceChip{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:5px 12px;font-size:12.5px;text-decoration:none}.sessionAttendanceChip:hover{background:var(--accent-soft-strong)}
.datePicker{position:relative}.datePickerTrigger{width:100%;font:inherit;border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--foreground);cursor:pointer;align-items:center;gap:10px;padding:11px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s;display:flex}.datePickerTrigger svg{width:17px;height:17px;color:var(--accent);flex-shrink:0}.datePickerTrigger:hover{border-color:var(--muted)}.datePickerPopover{z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:280px;box-shadow:var(--shadow-lg);padding:14px;animation:.12s scaleIn;position:absolute;top:calc(100% + 8px);left:0}.datePickerHeader{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13.5px;display:flex}.datePickerHeader button{width:26px;height:26px;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:999px;font-size:16px}.datePickerHeader button:hover{background:var(--surface-hover)}.datePickerWeekdays{grid-template-columns:repeat(7,1fr);margin-bottom:4px;display:grid}.datePickerWeekdays span{text-align:center;color:var(--muted);font-size:11px;font-weight:700}.datePickerGrid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.datePickerDay{aspect-ratio:1;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:8px;font-size:13px}.datePickerDay:hover{background:var(--surface-hover)}.datePickerDay.today{color:var(--accent);font-weight:700}.datePickerDay.selected{background:var(--accent-gradient);color:#fff;font-weight:700}.datePickerToday{border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;color:var(--accent);cursor:pointer;background:0 0;margin-top:10px;padding:7px;font-size:12.5px;font-weight:700}.datePickerToday:hover{background:var(--accent-soft)}
.paramsGrid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}@media (max-width:560px){.paramsGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:340px){.paramsGrid{grid-template-columns:1fr}}
.teamRosterGrid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}@media (max-width:1100px){.teamRosterGrid{grid-template-columns:minmax(0,1fr)}}.rosterAddSplit{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (max-width:640px){.rosterAddSplit{grid-template-columns:minmax(0,1fr)}}.rosterAddForm{background:var(--surface-sunken);border-radius:var(--radius-sm);flex-direction:column;gap:8px;padding:12px;display:flex}.rosterAddForm label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:11.5px;font-weight:700}
.tileGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}
.teamTabs{background:var(--surface-sunken);border:1px solid var(--border);border-radius:999px;gap:2px;margin-bottom:20px;padding:4px;display:inline-flex;position:relative}.teamTabsIndicator{background:var(--accent-gradient);box-shadow:var(--shadow-accent);z-index:0;border-radius:999px;transition:transform .28s cubic-bezier(.4,0,.2,1),width .28s cubic-bezier(.4,0,.2,1);position:absolute;top:4px;bottom:4px;left:0}.teamTabs a{z-index:1;color:var(--muted);border-radius:999px;align-items:center;gap:7px;padding:8px 16px;font-size:13.5px;font-weight:700;transition:color .2s;display:inline-flex;position:relative}.teamTabs a:hover{color:var(--foreground)}.teamTabs a.active{color:#fff}.teamTabs a .tabCount{background:#0000001f;border-radius:999px;padding:1px 6px;font-size:11px;font-weight:700;transition:background-color .2s}.teamTabs a:not(.active) .tabCount{background:var(--surface-hover)}
.attendanceTable{border:1px solid var(--border);border-radius:var(--radius-sm);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;overflow-x:auto}.attendanceTable table{border-collapse:collapse;width:100%}.attendanceNameHeader,.attendanceNameCell{z-index:1;background:var(--surface);text-align:left;white-space:nowrap;border-right:1px solid var(--border);min-width:120px;padding:8px 12px;font-size:13px;position:sticky;left:0}.attendanceNameHeader{color:var(--muted);z-index:2;font-weight:700}.attendanceHeaderCell{text-align:center;width:30px;min-width:30px;color:var(--muted);border-left:1px solid var(--border);padding:6px 2px;font-size:11px;display:table-cell}.attendanceHeaderCell span{display:block}.attendanceWeekday{text-transform:uppercase;opacity:.7;font-size:9px}.attendanceHeaderCell.marked{color:var(--accent);background:var(--accent-soft);font-weight:700}.attendanceHeaderCell.editable{cursor:pointer}.attendanceHeaderCell.editable:hover{background:var(--accent-soft-strong)}.attendanceHeaderCell.today{box-shadow:inset 0 3px 0 var(--accent)}.attendanceCell.today{box-shadow:inset 0 0 0 1.5px var(--accent-soft-strong)}.attendanceCell.dimmed{opacity:.3}.attendanceRateHeader,.attendanceRateCell{text-align:center;border-left:1px solid var(--border);background:var(--surface);width:54px;min-width:54px;padding:6px 8px;font-size:12px;position:sticky;right:0}.attendanceRateHeader{color:var(--muted);z-index:2;font-weight:700}.attendanceRateCell{background:var(--surface-sunken);color:var(--muted);font-weight:700}.attendanceRateCell.good,.statPill strong.good{color:var(--success)}.attendanceRateCell.mid,.statPill strong.mid{color:#d97706}.attendanceRateCell.low,.statPill strong.low{color:var(--danger)}.attendanceHeaderCell.weekStart,.attendanceCell.weekStart{border-left:1.5px solid var(--border-strong)}.attendanceHeaderCell.weekend,.attendanceCell.weekend{background:var(--surface-hover)}.attendanceCell.weekend.disabled{background:repeating-linear-gradient(45deg, var(--surface-hover), var(--surface-hover) 4px, var(--border) 4px, var(--border) 5px)}.attendanceCell.today.weekend{box-shadow:inset 0 0 0 1.5px var(--accent-soft-strong);background:var(--surface-hover)}.attendanceTable tbody tr{transition:opacity .12s}.attendanceTable tbody:has(tr:hover) tr:not(:hover){opacity:.4}.attendanceTable tbody tr:hover td:not([style]):not(.disabled),.attendanceTable tbody tr:hover .attendanceNameCell,.attendanceTable tbody tr:hover .attendanceRateCell{background:var(--surface-hover)}.attendanceRow.inactive,tr.inactive{opacity:.45}.attendanceCell{border-left:1px solid var(--border);border-top:1px solid var(--border);cursor:pointer;background:var(--surface-sunken);width:30px;min-width:30px;height:30px}.attendanceCell:hover{filter:brightness(.95)}.attendanceCell.disabled{cursor:default;background:repeating-linear-gradient(45deg, var(--surface-sunken), var(--surface-sunken) 4px, var(--border) 4px, var(--border) 5px)}.attendanceTable tfoot td{border-top:1.5px solid var(--border-strong)}.attendanceFootLabel{color:var(--muted);font-weight:700}.attendanceCountCell{text-align:center;width:30px;min-width:30px;color:var(--foreground);border-left:1px solid var(--border);background:var(--surface-sunken);padding:5px 0;font-size:11px;font-weight:700;line-height:1.15}.attendanceCountCell span{display:block}.attendanceCountTotal{opacity:.7;font-size:9px;font-weight:600}.attendanceDayCount{color:var(--muted);margin-left:auto;font-size:13px}.attendanceDayCount strong{color:var(--foreground)}.sessionLinkBar{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;font-size:13px;display:flex}.sessionLinkBar>svg{width:18px;height:18px;color:var(--accent);flex-shrink:0}.sessionLinkLabel{color:var(--muted)}.sessionLinkName{color:var(--foreground);font-weight:700}button.sessionLinkName,.linkButton{font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0}button.sessionLinkName{color:var(--foreground);font-weight:700}button.sessionLinkName:hover{color:var(--accent);text-decoration:underline}.sessionOptionList{flex-direction:column;gap:4px;max-height:50vh;display:flex;overflow-y:auto}.sessionOption{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font:inherit;text-align:left;cursor:pointer;color:var(--foreground);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;font-size:13.5px;display:flex}.sessionOption:hover{background:var(--surface-hover)}.sessionOption.active{border-color:var(--accent);background:var(--accent-soft)}.sessionOptionName{font-weight:700}.sessionOptionDate{margin-left:auto;font-size:12px}.calendarDaySession{width:12px;height:12px}.attendanceTable.trainingOnly .attendanceHeaderCell,.attendanceTable.trainingOnly .attendanceCell{width:52px;min-width:52px}.attendanceTable.trainingOnly .attendanceNameHeader,.attendanceTable.trainingOnly .attendanceNameCell{width:240px}.attendanceTable.trainingOnly table{width:auto}.attendanceCell.goneDay{background:repeating-linear-gradient(-45deg, var(--surface-sunken) 0 4px, color-mix(in srgb, var(--muted) 35%, transparent) 4px 5.5px);cursor:not-allowed}
.skeleton{background:linear-gradient(90deg, var(--surface-sunken) 0%, var(--surface-hover) 40%, var(--surface-sunken) 80%);background-size:300% 100%;border-radius:6px;animation:1.4s ease-in-out infinite skeletonShimmer;display:block}@keyframes skeletonShimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}
.folderChoiceList{flex-direction:column;gap:4px;max-height:40vh;display:flex;overflow-y:auto}.folderChoice{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font:inherit;text-align:left;cursor:pointer;color:var(--foreground);align-items:center;gap:10px;padding:9px 12px;font-size:13.5px;display:flex}.folderChoice svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}.folderChoice span:first-of-type{flex:1;min-width:0}.folderChoice:hover{background:var(--surface-hover)}.folderChoice.active{border-color:var(--accent);background:var(--accent-soft);font-weight:700}.folderChoice.active svg{color:var(--accent)}.folderBrowser{flex-direction:column;gap:8px;display:flex}.folderBrowserPath{flex-wrap:wrap;align-items:center;font-size:13px;display:flex}.folderBrowserPath button{font:inherit;color:var(--accent);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 4px;font-weight:600}.folderBrowserPath button:hover{background:var(--accent-soft)}.folderBrowserPath button.current{color:var(--foreground);cursor:default;background:0 0;font-weight:700}.folderBrowserSep{color:var(--muted);margin:0 2px}.folderChoiceChevron{margin-left:auto;width:14px!important;height:14px!important}.folderBrowserTarget{border-radius:var(--radius-sm);background:var(--accent-soft);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}
.playerHeader{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.playerStatsGrid{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;display:grid}@media (max-width:720px){.playerStatsGrid{grid-template-columns:minmax(0,1fr)}}.monthBars{flex-direction:column;gap:10px;display:flex}.monthBar{grid-template-columns:52px 1fr 44px;align-items:center;gap:10px;font-size:12.5px;display:grid}.monthBarLabel{color:var(--muted);font-weight:600}.monthBarTrack{background:var(--surface-sunken);border-radius:999px;height:10px;overflow:hidden}.monthBarFill{border-radius:999px;height:100%}.monthBarValue{text-align:right;font-weight:700}.playerHistory{flex-direction:column;display:flex}.playerHistoryRow{border-top:1px solid var(--border);color:var(--foreground);align-items:center;gap:12px;padding:9px 4px;font-size:13px;text-decoration:none;display:flex}.playerHistoryRow:first-child{border-top:none}.playerHistoryRow:hover{background:var(--surface-hover)}.playerHistoryDate{flex-shrink:0;width:110px;font-weight:600}.playerHistorySession{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.statusChip.muted{background:var(--surface-sunken);color:var(--muted)}a.playerLink,button.playerLink{color:inherit;text-decoration:none}a.playerLink:hover,button.playerLink:hover{color:var(--accent);text-decoration:underline}
.weekdayToggles{flex-wrap:wrap;gap:6px;display:flex}.weekdayToggles button{border:1.5px solid var(--border-strong);background:var(--surface);width:40px;height:40px;color:var(--foreground);font:inherit;cursor:pointer;border-radius:50%;font-size:12.5px;font-weight:700;transition:background .12s,border-color .12s,color .12s}.weekdayToggles button:hover{background:var(--surface-hover)}.weekdayToggles button.active{background:var(--accent);border-color:var(--accent);color:#fff}.attendanceLegend{flex-wrap:wrap;gap:14px;margin-top:14px;display:flex}.attendanceLegendItem{color:var(--muted);align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.attendanceLegendSwatch{border-radius:4px;flex-shrink:0;width:12px;height:12px}
.segmentedToggle{background:var(--surface-sunken);border:1px solid var(--border);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.segmentedToggle button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;padding:7px 13px;font-size:12.5px;font-weight:700;transition:color .15s,background-color .15s;display:inline-flex}.segmentedToggle button svg{width:14px;height:14px}.segmentedToggle button:hover{color:var(--foreground)}.segmentedToggle button.active{color:#fff;background:var(--accent-gradient);box-shadow:var(--shadow-accent)}
.calendarWrap{max-width:420px;margin:0 auto}.calendarWeekdays{grid-template-columns:repeat(7,1fr);margin-bottom:6px;display:grid}.calendarWeekdays span{text-align:center;color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:700}.calendarGrid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.calendarDay{aspect-ratio:1;font:inherit;color:var(--muted);background:var(--surface-sunken);border-radius:var(--radius-sm);cursor:default;border:1.5px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s,transform .1s;display:flex}.calendarDay.empty{visibility:hidden}.calendarDay.marked{color:var(--foreground);background:var(--accent-soft);border-color:var(--accent-soft-strong);cursor:pointer}.calendarDay.marked:hover{background:var(--accent-soft-strong);transform:translateY(-1px)}.calendarDay:not(.marked):not(.disabled){cursor:pointer}.calendarDay:not(.marked):not(.disabled):hover{border-color:var(--border-strong)}.calendarDay.disabled{opacity:.4;cursor:default}.calendarDay.today{box-shadow:inset 0 0 0 2px var(--accent)}.calendarDayDot{background:var(--accent);border-radius:50%;width:5px;height:5px}.calendarDay.marked .calendarDayDot{background:var(--accent)}.popoverMenuOverlay{z-index:90;position:fixed;inset:0}.popoverMenu{z-index:91;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);flex-direction:column;min-width:160px;padding:6px;animation:.12s scaleIn;display:flex;position:fixed;transform:translate(-50%,8px)}.popoverMenu button{font:inherit;text-align:left;cursor:pointer;color:var(--foreground);background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.popoverMenu button:hover{background:var(--surface-hover)}.popoverMenuTitle{color:var(--muted);white-space:nowrap;padding:6px 10px 4px;font-size:11.5px;font-weight:700}.popoverMenuSeparator{background:var(--border);height:1px;margin:4px 6px}.popoverMenu button.danger{color:var(--danger)}.popoverMenu button.danger:hover{background:var(--danger-soft)}@media (max-width:640px){.attendanceNameHeader,.attendanceNameCell{min-width:96px}}.inactiveFromForm{flex-direction:column;gap:8px;width:250px;padding:6px;display:flex}.inactiveFromQuick{flex-wrap:wrap;gap:4px;display:flex}.popoverMenu .inactiveFromQuick button{border:1px solid var(--border);border-radius:999px;width:auto;padding:5px 9px;font-size:12px}.popoverMenu .inactiveFromQuick button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.inactiveFromActions{justify-content:flex-end;gap:4px;display:flex}.popoverMenu .inactiveFromActions button{width:auto}
.editorSplit{grid-template-columns:var(--editor-cols,minmax(0, 640px) 1fr);column-gap:var(--editor-gap,60px);align-items:start;row-gap:24px;display:grid}@media (max-width:1150px){.editorSplit{grid-template-columns:minmax(0,1fr)!important}}
.scaledPreviewSpinner{justify-content:center;align-items:center;min-height:200px;display:flex;position:absolute;inset:0}.scaledPreviewSpinner span{border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:999px;width:32px;height:32px;animation:.7s linear infinite scaledPreviewSpin}@keyframes scaledPreviewSpin{to{transform:rotate(360deg)}}
.cardMenuTrigger{color:#fff;cursor:pointer;z-index:2;background:#00000073;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;line-height:1;transition:background-color .15s;display:flex}.cardMenuTrigger:hover{background:#000000a6}.cardMenuTrigger.onSurface{background:var(--surface-hover);color:var(--foreground)}.cardMenuTrigger.onSurface:hover{background:var(--border-strong)}.cardMenuDropdown{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-md);flex-direction:column;gap:1px;padding:6px;display:flex}.cardMenuItem{border-radius:calc(var(--radius-sm) - 4px);width:100%;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;padding:9px 10px;font-size:13.5px;transition:background-color .12s;display:flex}.cardMenuItem svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}.cardMenuItem:hover:not(:disabled){background:var(--surface-hover)}.cardMenuItem:disabled{opacity:.5;cursor:not-allowed}.cardMenuItem.danger,.cardMenuItem.danger svg{color:var(--danger)}.cardMenuItem.danger:hover:not(:disabled){background:var(--danger-soft)}.cardMenuSeparator{background:var(--border);height:1px;margin:4px 2px}.cardActions{border:1px solid var(--border-strong);border-radius:var(--radius-sm);display:flex;overflow:hidden}.cardActionBtn{color:var(--foreground);font:inherit;cursor:pointer;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:7px;padding:9px 10px;font-size:13px;font-weight:600;transition:background-color .12s;display:flex}.cardActionBtn+.cardActionBtn{border-left:1px solid var(--border-strong)}.cardActionBtn svg{width:15px;height:15px;color:var(--muted);flex-shrink:0}.cardActionBtn:hover{background:var(--surface-hover)}
.planView{box-sizing:border-box;width:100%;max-width:680px;color:var(--foreground);margin:0 auto;padding:20px 16px 40px;font-size:16px;line-height:1.5}.planHeader h1{margin:0 0 6px;font-size:24px;line-height:1.2}.planMeta{color:var(--muted);margin:0;font-size:14px;font-weight:600}.planObjective{border-radius:var(--radius-sm);background:var(--accent-soft);margin-top:14px;padding:12px 14px;font-weight:600}.planObjective span{text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:2px;font-size:11.5px;font-weight:800;display:block}.planJump{scrollbar-width:none;gap:8px;margin:16px -16px 0;padding:0 16px 4px;display:flex;overflow-x:auto}.planJump a{border:1px solid var(--border-strong);background:var(--surface);max-width:220px;color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;flex-shrink:0;padding:7px 12px;font-size:13px;font-weight:700;text-decoration:none;overflow:hidden}.planExercise{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-xs);margin-top:20px;padding:16px;scroll-margin-top:12px}.planExerciseHead{align-items:flex-start;gap:10px;display:flex}.planExerciseHead h2{margin:0;font-size:19px;line-height:1.25}.planExerciseNum{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:800;display:inline-flex}.planChips{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.planChips span{background:var(--surface-sunken);color:var(--muted);border-radius:999px;padding:3px 10px;font-size:13px;font-weight:700}.planImage{margin:14px -16px 0;display:block}.planImage img{width:100%;height:auto;display:block}.planSection{margin-top:14px}.planSection h3{text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin:0 0 4px;font-size:12px;font-weight:800}.planSection p{white-space:pre-line;margin:0}.planFooter{text-align:center;margin-top:28px;font-size:13.5px}.planFooter a{color:var(--muted)}
.tagChip{font:inherit;white-space:nowrap;border:1.5px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:4px 11px;font-size:12.5px;font-weight:700;line-height:1.3;display:inline-flex}.tagChip.small{padding:2px 8px;font-size:11px}.tagChip.toggle{cursor:pointer;transition:filter .12s}.tagChip.toggle:hover{filter:brightness(.95)}.tagRow{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.tagFilter{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:18px;display:flex}.tagPicker .tagFilter{margin-bottom:0}.tagFilterClear{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;padding:4px 6px;font-size:12.5px;font-weight:700}.tagFilterClear:hover{color:var(--foreground)}.tagPickerInput.tagPickerInput{width:150px;height:auto;min-height:0;box-shadow:none;border:1.5px dashed var(--border-strong);font:inherit;color:var(--foreground);background:0 0;border-radius:999px;padding:5px 12px;font-size:12.5px}.tagPickerInput.tagPickerInput:focus{border-style:solid;border-color:var(--accent);outline:none}.tagManagerRow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tagManagerName{min-width:0;font:inherit;cursor:text;text-align:left;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:0;display:flex}.tagColorDots{gap:4px;display:flex}.tagColorDots button{cursor:pointer;border:2px solid #0000;border-radius:50%;width:16px;height:16px;padding:0}.tagColorDots button.active{border-color:var(--foreground)}
.folderTeamChip{white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:2px 9px;font-size:11.5px;font-weight:700;display:inline-flex}.folderTeamDot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.cardMenuHint{color:var(--muted);padding:6px 10px;font-size:12px;display:block}
.toastStack{left:50%;bottom:calc(var(--tab-bar-height,0px) + 20px + env(safe-area-inset-bottom));z-index:200;pointer-events:none;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:flex;position:fixed;transform:translate(-50%)}.toast{color:#f4f4f8;box-shadow:var(--shadow-lg);pointer-events:auto;background:#1c1c28;border-radius:12px;align-items:center;gap:12px;padding:10px 10px 10px 16px;font-size:14px;animation:.18s toastIn;display:flex}.toast.error{background:var(--danger);color:#fff}.toastMessage{min-width:0}.toastAction{color:#8fb6ff;font:inherit;cursor:pointer;white-space:nowrap;background:#ffffff1f;border:none;border-radius:8px;padding:5px 10px;font-size:13px;font-weight:700}.toast.error .toastAction{color:#fff}.toastAction:hover{background:#fff3}.toastClose{width:26px;height:26px;color:inherit;opacity:.6;cursor:pointer;background:0 0;border:none;border-radius:6px;font-size:18px;line-height:1}.toastClose:hover{opacity:1}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}}

