@import"https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800&display=swap";.dark .phase-workspace:not(.coach-embedded-phase),.dark .phase-detail,.dark .phase-dialog:not(.coach-embedded-portal),.dark .coaching-workspace:not(.coach-embedded-phase),.dark .coaching-dialog:not(.coach-embedded-portal),.dark .coaching-popover:not(.coach-embedded-portal){--background: 240 4% 5%;--foreground: 210 20% 96%;--card: 205 37% 10%;--card-foreground: 210 20% 96%;--popover: 205 37% 10%;--popover-foreground: 210 20% 96%;--muted: 207 25% 15%;--muted-foreground: 210 15% 74%;--border: 207 18% 28%;--input: 207 18% 40%;--primary: 78 100% 42.16%;--primary-foreground: 240 4% 5%;--secondary: 207 25% 18%;--secondary-foreground: 210 20% 96%;--accent: 207 25% 22%;--accent-foreground: 210 20% 96%;--ring: 78 100% 42.16%;--destructive: 0 80% 72%;--destructive-foreground: 240 4% 5%;color:hsl(var(--foreground));background:#0b0b0c;font-family:Mulish,sans-serif;color-scheme:dark}.phase-workspace:not(.coach-embedded-phase),.phase-detail,.phase-dialog:not(.coach-embedded-portal),.coaching-workspace:not(.coach-embedded-phase),.coaching-dialog:not(.coach-embedded-portal),.coaching-popover:not(.coach-embedded-portal){--background: 0 0% 100%;--foreground: 205 37% 10%;--card: 0 0% 100%;--card-foreground: 205 37% 10%;--popover: 0 0% 100%;--popover-foreground: 205 37% 10%;--muted: 204 24% 94%;--muted-foreground: 205 20% 34%;--border: 205 20% 76%;--input: 205 20% 54%;--primary: 78 100% 42.16%;--primary-foreground: 240 4% 5%;--secondary: 204 24% 94%;--secondary-foreground: 205 37% 10%;--accent: 78 70% 90%;--accent-foreground: 205 37% 10%;--ring: 78 100% 42.16%;--destructive: 0 68% 42%;--destructive-foreground: 0 0% 100%;color:hsl(var(--foreground));background:#f4f7f8;font-family:Mulish,sans-serif;color-scheme:light}.phase-workspace{border-radius:20px}.phase-workspace>.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.phase-workspace>.grid>div{border-radius:14px;box-shadow:0 6px 20px #0002}.phase-workspace input,.phase-dialog input,.phase-dialog textarea{border-radius:8px;min-height:42px}.phase-workspace button,.phase-dialog button{font-weight:700}.phase-workspace button:focus-visible,.phase-workspace a:focus-visible,.phase-dialog :is(button,input,textarea):focus-visible{outline:2px solid #97d700;outline-offset:3px}.phase-workspace button.bg-secondary{background:#97d700;color:#0b0b0c}.phase-grid{background:#101b23;border-color:#34434e;border-radius:12px}.phase-grid-header,.phase-grid-header>*{background:#182832;color:#f3f6f8;border-color:#34434e}.phase-athlete{font-size:13px;font-weight:800}.phase-athlete:hover{background:#223744;color:#b5ee46}.phase-corner{font-size:12px;color:#bac9d3}.phase-row{border-color:#2a3a45}.phase-row:nth-child(2n){background:#13212b}.phase-week{background:#101b23;color:#d5e0e7;font-variant-numeric:tabular-nums;font-size:12px;border-color:#34434e}.phase-row:hover .phase-week{background:#1b2d39}.phase-current .phase-week{background:#233414;color:#c4f378;box-shadow:inset 3px 0 #97d700}.phase-current{background:#97d7000c}.phase-cell{padding:10px;gap:7px;min-height:70px;border-color:#2a3a45}.phase-cell:hover{background:#ffffff08}.phase-chip{--phase-ink: #d4dee7;--phase-surface: #263744;color:var(--phase-ink);background:var(--phase-surface);border:1px solid var(--phase-ink);border-left-width:4px;border-radius:7px;font-weight:800;font-size:12px;padding:8px 10px;line-height:1.4;box-shadow:0 2px 4px #0002}.phase-base{--phase-ink: #8cdbff;--phase-surface: #163848}.phase-build{--phase-ink: #c4ef81;--phase-surface: #2a3b1c}.phase-lead-in{--phase-ink: #ffe19a;--phase-surface: #44351b}.phase-taper{--phase-ink: #ffbf9e;--phase-surface: #452b21}.phase-race{--phase-ink: #ffaab7;--phase-surface: #45232d}.phase-ironman{--phase-ink: #000000;--phase-surface: #b4ff05}.phase-70\.3{--phase-ink: #000000;--phase-surface: #2db5ff}.phase-standard{--phase-ink: #000000;--phase-surface: #ff8a00}.phase-sprint{--phase-ink: #000000;--phase-surface: #d94cff}.phase-recovery{--phase-ink: #d6bbff;--phase-surface: #342747}.phase-break{--phase-ink: #cbd5e1;--phase-surface: #293440}.phase-custom{--phase-ink: #bce8e3;--phase-surface: #233b3c}.phase-empty{color:#a6b8c5;border:1px dashed #48606f;border-radius:7px}.phase-cell:hover .phase-empty,.phase-detail .phase-empty:hover{color:#c4ef81;border-color:#97d700;background:#97d70008}.phase-race-event{color:#e3eaf0;background:#243540;border-color:#69808f;font-size:11px;padding:5px 7px}.phase-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}.phase-legend-title{font-size:12px;font-weight:800;color:#e5edf3;margin-right:4px}.phase-legend .phase-chip{font-size:11px;padding:4px 9px;box-shadow:none}.phase-legend-hint{width:100%;color:#b6c6d1;font-size:12px;margin-top:4px}.phase-detail{border-color:#34434e;border-radius:14px}.phase-detail .text-\[9px\],.phase-detail .text-\[10px\]{font-size:11px}.phase-dialog{background:#101b23;border-color:#48606f;border-radius:14px}@media(max-width:640px){.phase-workspace>.grid{grid-template-columns:1fr}.phase-workspace .phase-week,.phase-workspace .phase-corner{width:120px;padding:12px}.phase-workspace .flex:has(>button>svg){flex-wrap:wrap}}.phase-cell .phase-chip,.phase-detail .phase-chip{padding:8px 10px}.phase-grid .phase-race-event{color:#e3eaf0;background:#243540;border-color:#69808f}.phase-colour-input{width:52px;padding:4px;cursor:pointer}:root:not(.dark) .phase-grid{background:#fff;border-color:#b4c4ce}:root:not(.dark) .phase-grid-header,:root:not(.dark) .phase-grid-header>*{background:#e7eef2;color:#182d3a;border-color:#b4c4ce}:root:not(.dark) .phase-athlete:hover{background:#d9e8cd;color:#284500}:root:not(.dark) .phase-row,:root:not(.dark) .phase-cell{border-color:#cbd7df}:root:not(.dark) .phase-row:nth-child(2n){background:#f2f6f8}:root:not(.dark) .phase-week{background:#edf3f6;color:#263d4c;border-color:#b4c4ce}:root:not(.dark) .phase-current{background:#f0f7df}:root:not(.dark) .phase-current .phase-week{background:#e4f2c8;color:#2c4800}:root:not(.dark) .phase-empty{color:#516775;border-color:#8da2b0}:root:not(.dark) .phase-empty:hover{color:#2c4800}:root:not(.dark) .phase-legend-title{color:#182d3a}:root:not(.dark) .phase-legend-hint{color:#516775}:root:not(.dark) .phase-dialog{background:#fff;border-color:#8da2b0}:root:not(.dark) .phase-base{--phase-ink: #075075;--phase-surface: #dff2fc}:root:not(.dark) .phase-build{--phase-ink: #335208;--phase-surface: #e7f2d4}:root:not(.dark) .phase-lead-in{--phase-ink: #684600;--phase-surface: #fff1cf}:root:not(.dark) .phase-taper{--phase-ink: #7e360e;--phase-surface: #ffeadf}:root:not(.dark) .phase-race{--phase-ink: #86283d;--phase-surface: #ffe5eb}:root:not(.dark) .phase-recovery{--phase-ink: #58368a;--phase-surface: #efe5ff}:root:not(.dark) .phase-break{--phase-ink: #36475c;--phase-surface: #e7edf4}:root:not(.dark) .phase-custom{--phase-ink: #285750;--phase-surface: #e0f2ef}.phase-dialog .phase-colour-input{width:52px;flex:0 0 52px}.phase-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.phase-dialog [aria-label="Block preview"]{overflow-wrap:anywhere}.dark .phase-dialog,.dark .phase-detail{background:#101b23}:root:not(.dark) .phase-workspace .text-amber-500{color:#8a5900}.dark .phase-workspace .text-amber-500{color:#ffd17a}:root:not(.dark) .phase-detail .text-emerald-500{color:#126348}.dark .phase-detail .text-emerald-500{color:#9fdbc3}.coaching-workspace .bg-card{border-radius:14px;box-shadow:0 4px 14px #0000000c}.coaching-workspace h1{font-size:clamp(1.4rem,3vw,1.8rem);line-height:1.25}.coaching-workspace :is(h1,h2,h3){font-weight:800}.coaching-workspace :is(.grid,.flex)>*{min-width:0}.coaching-workspace button,.coaching-dialog button{font-weight:700}.coaching-workspace :is(button,a,input,textarea,[tabindex]):focus-visible,.coaching-dialog :is(button,a,input,textarea):focus-visible{outline:2px solid #97d700;outline-offset:3px}.coaching-workspace :is(input,textarea),.coaching-dialog :is(input,textarea){border-radius:8px}.coaching-workspace label,.coaching-dialog label{font-size:12px;font-weight:700}.coaching-dashboard>.coaching-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.coaching-stats>div>div{padding:16px}.coaching-toolbar{background:hsl(var(--card))}.coaching-filters>.space-y-1{flex-basis:180px}.coaching-view-switch button[aria-pressed=true]{color:#0b0b0c;background:#97d700}.coaching-view-switch button{white-space:nowrap}.coaching-roster td,.coaching-roster th{padding:12px 16px}.coaching-roster th{font-size:12px;font-weight:800}.coaching-roster .coaching-risk-red{background:hsl(var(--destructive) / .06)}.coaching-roster .coaching-risk-amber{background:#d69a160b}.coaching-roster tbody tr:nth-child(2n):not(.coaching-risk-red,.coaching-risk-amber){background:hsl(var(--muted) / .25)}.coaching-empty{padding:32px 16px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:hsl(var(--muted-foreground))}.coaching-athlete-identity{flex:1 1 480px}.coaching-athlete-name{flex:1 1 220px;overflow-wrap:anywhere}.coaching-athlete .coaching-athlete-header{border-radius:0}.coaching-review-grid{grid-template-columns:minmax(0,1fr)}.coaching-review-notes{order:0}.coaching-review-phases{order:1}.coaching-review-context{order:2}.coaching-week-nav{flex:1 1 260px;max-width:350px}.coaching-week-nav button{flex-shrink:0}.coaching-review-actions{flex:1 1 340px;justify-content:flex-end}.coaching-dialog[role=dialog]{max-width:min(42rem,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border-radius:14px}.coaching-dialog :is(.grid,.flex)>*,.coaching-dialog[role=dialog]>*{min-width:0}.coaching-dialog,.coaching-popover{background:hsl(var(--popover));border-color:hsl(var(--border))}.coaching-dialog>button:last-child{min-height:36px;min-width:36px;top:8px;right:8px;display:grid;place-items:center}.coaching-dialog h2{padding-right:24px;line-height:1.4}.coaching-dialog [class*=justify-between]{gap:12px;flex-wrap:wrap}.coaching-popover [role=option],.coaching-popover [role=menuitem]{min-height:36px}@media(min-width:1280px){.coaching-workspace .coaching-review-grid{grid-template-columns:minmax(220px,1fr) minmax(340px,2fr) minmax(240px,1fr)}.coaching-review-context{order:0}.coaching-review-notes{order:1}.coaching-review-phases{order:2}}@media(min-width:768px)and (max-width:1279px){.coaching-workspace .coaching-review-grid{grid-template-columns:minmax(0,3fr) minmax(240px,2fr)}.coaching-review-context{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.coaching-review-context>*{margin:0!important}}@media(max-width:1023px){.coaching-workspace{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.coaching-dashboard .phase-grid>.w-max{width:100%;min-width:0}.coaching-dashboard .phase-corner,.coaching-dashboard .phase-week{width:104px;padding:12px 8px;font-size:11px}.coaching-dashboard .phase-athlete,.coaching-dashboard .phase-cell{width:calc(100% - 104px);flex-shrink:0;white-space:normal}.coaching-dashboard .phase-cell{padding:10px}.coaching-dashboard .phase-grid{max-height:65dvh;overflow-x:hidden}.coaching-view-actions{width:100%}.coaching-view-switch{flex:1}.coaching-view-switch button{flex:1;padding:10px 8px;font-size:12px;gap:5px}.coaching-workspace :is(button,[role=combobox]),.coaching-dialog :is(button,[role=combobox]){min-height:44px}.coaching-workspace button:has(>svg:only-child),.coaching-dialog button:has(>svg:only-child){min-width:44px;flex-shrink:0}.coaching-workspace :is(input,textarea),.coaching-dialog :is(input,textarea){font-size:16px;min-height:44px}.coaching-workspace button[role=checkbox],.coaching-dialog button[role=checkbox]{min-width:28px;min-height:28px;margin:8px;flex-shrink:0}.coaching-workspace [class*=opacity-0]:is(button,[role=button]),.coaching-workspace [class*=group-hover]:has(>svg){opacity:1}.coaching-popover [role=option],.coaching-popover [role=menuitem]{min-height:44px}.coaching-dialog{padding:20px 16px}.coaching-dialog [class*=flex-col-reverse]{gap:12px}.coaching-dialog [class*=flex-col-reverse]>div{flex-wrap:wrap;gap:8px}.coaching-dialog [class*=flex-col-reverse]>div>button{flex:1}.coaching-workspace :is(.text-\[8px\],.text-\[9px\],.text-\[10px\]),.coaching-dialog .text-\[10px\]{font-size:11px;height:auto}.coaching-review-actions{justify-content:flex-start}.coaching-review-actions>*{flex:1 1 140px;justify-content:center}}@media(max-width:767px){.coaching-dashboard{border-radius:0;padding:16px 12px 96px}.coaching-dashboard>.coaching-stats{gap:8px}.coaching-stats>div>div{padding:12px 10px}.coaching-stats p{font-size:11px;line-height:1.4}.coaching-stats svg{display:none}.coaching-stats .text-2xl{font-size:22px}.coaching-stats p{overflow-wrap:anywhere}.coaching-filters>.space-y-1{flex-basis:100%}.coaching-toolbar,.coaching-filters{padding:12px;gap:10px}.coaching-toolbar>.relative{flex-basis:100%}.coaching-view-actions>button:last-child{width:100%}.coaching-view-switch{flex-basis:100%}.coaching-athlete-header{padding:12px}.coaching-athlete-identity{display:grid;grid-template-columns:44px 44px 44px minmax(0,1fr);gap:6px;flex-basis:100%}.coaching-athlete-name{grid-column:1 / -1;margin-top:4px}.coaching-athlete-name h1{font-size:22px}.coaching-athlete-name .mt-1\.5{gap:12px;margin-top:6px}.coaching-athlete-actions{width:100%}.coaching-athlete-actions>a{flex:1}.coaching-mobile-tabs{position:sticky;top:0;z-index:20;background:hsl(var(--background))}.coaching-mobile-tabs [role=tablist]{height:auto}.coaching-athlete-body{padding:12px}.coaching-week-nav{max-width:none;flex-basis:100%}.coaching-review-actions>button{font-size:12px}.coaching-review-phases .phase-detail{max-height:480px}.coaching-workspace .p-6{padding:16px}.coaching-results-filters>*,.coaching-results-filters [role=combobox]{width:100%;flex-basis:100%;min-width:0}.coaching-dialog .grid-cols-2{grid-template-columns:minmax(0,1fr)}.coaching-dialog .col-span-2{grid-column:auto}.coaching-agenda-race{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.coaching-workspace *,.coaching-dialog *{animation:none!important;transition:none!important}}@media(max-width:1023px){.coaching-workspace .phase-cell>.coaching-cell-add-race{position:static;opacity:1;align-self:flex-end;display:grid;place-items:center}.coaching-workspace .phase-row .phase-cell{gap:8px}.coaching-dialog .rdp{margin:0}.coaching-popover .rdp button{min-height:36px;min-width:36px}.coaching-athlete-switch{min-width:160px}}.coaching-workspace [class*=text-amber-500]{color:#8a5900}.dark .coaching-workspace [class*=text-amber-500]{color:#ffd17a}@media(max-width:767px){.coaching-dashboard .coaching-view-actions .coaching-view-switch{flex-wrap:nowrap}.coaching-view-switch svg{display:none}.coaching-view-switch button{font-size:11px;padding-inline:6px}}.dark .coaching-dialog,.dark .coaching-popover{background:hsl(var(--popover))}@media(max-width:767px){.coaching-dialog .sm\:grid-cols-2{grid-template-columns:minmax(0,1fr)}.coaching-dialog .sm\:col-span-2,.coaching-dialog .sm\:col-span-3{grid-column:auto}.coaching-dialog .sm\:grid-cols-3{grid-template-columns:minmax(0,1fr)}.coaching-dialog button.w-full{white-space:normal;height:auto;min-height:44px}.coaching-dialog label{flex-shrink:0}}@media(max-width:1023px){.coaching-roster-wrap{overflow:visible}.coaching-roster,.coaching-roster tbody{display:block}.coaching-roster thead{display:none}.coaching-roster tbody{padding:12px}.coaching-roster tbody tr{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px;margin-bottom:12px;padding:12px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px}.coaching-roster tbody tr.coaching-risk-red{border-left:3px solid hsl(var(--destructive))}.coaching-roster tbody tr.coaching-risk-amber{border-left:3px solid #d69a16}.coaching-roster td{display:block;padding:8px 0;min-width:0;grid-column:1 / -1}.coaching-roster td[data-label=Athlete]{grid-column:1;grid-row:1}.coaching-roster td[data-label=Actions]{grid-column:2;grid-row:1}.coaching-roster td[data-label]:before{content:attr(data-label);display:block;font-size:11px;font-weight:800;color:hsl(var(--muted-foreground));margin-bottom:5px}.coaching-roster td[data-label=Actions]:before,.coaching-roster td[data-label=Athlete]:before{display:none}.coaching-roster td[data-label="Programmed to"]{border-top:1px solid hsl(var(--border));min-height:60px}.coaching-roster td[data-label="Next race"] .max-w-\[150px\]{max-width:none;white-space:normal}.coaching-roster td[data-label="Next race"] [class*=italic]{min-height:44px}.coaching-roster tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}.coaching-roster tbody tr{margin-bottom:0}}.coaching-race-calendar .coaching-race-month{flex:0 0 160px;width:160px;min-width:160px}.coaching-year-nav>button{flex-shrink:0}@media(max-width:767px){.coaching-year-nav{gap:6px}.coaching-year-nav [role=combobox]{width:92px}.coaching-year-nav>[role=status]{flex-basis:100%}}.coaching-race-calendar{min-width:0;max-width:100%;max-height:60dvh;overscroll-behavior-x:contain}.coaching-race-calendar:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.coaching-workspace .phase-cell>.coaching-cell-add-race{position:static;opacity:1;display:inline-flex;font-size:11px}@media(max-width:1023px){.coaching-race-calendar>.w-max>.flex>:first-child,.coaching-race-calendar>.w-max>.divide-y>.flex>:first-child{width:136px;padding:8px}.coaching-race-calendar{max-height:55dvh}}@media(max-width:639px){.coaching-race-calendar>.w-max>.flex>:first-child,.coaching-race-calendar>.w-max>.divide-y>.flex>:first-child{position:static}}.coaching-dashboard .phase-grid{min-width:0;max-width:100%;max-height:60dvh;overscroll-behavior-x:contain}.coaching-dashboard .phase-grid:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}@media(max-width:1023px){.coaching-dashboard .phase-grid.phase-grid-comparison{overflow-x:auto}.coaching-dashboard .phase-grid-comparison>.w-max{width:-moz-max-content;width:max-content;min-width:100%}.coaching-dashboard .phase-grid-comparison .phase-athlete,.coaching-dashboard .phase-grid-comparison .phase-cell{width:200px}}@media(max-width:639px){.coaching-dashboard .phase-grid-comparison .phase-corner,.coaching-dashboard .phase-grid-comparison .phase-week{position:static}}.coaching-scrollbar-wrap{padding:2px 0 8px}.coaching-horizontal-scrollbar{height:44px;padding:13px 0;cursor:pointer;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.coaching-scrollbar-track{position:relative;height:18px;border-radius:9px;background:hsl(var(--muted));border:1px solid hsl(var(--border));pointer-events:none}.coaching-scrollbar-thumb{position:absolute;top:1px;bottom:1px;min-width:28px;max-width:100%;border-radius:8px;background:hsl(var(--primary));pointer-events:auto;cursor:grab}.coaching-horizontal-scrollbar:active .coaching-scrollbar-thumb{cursor:grabbing}.coaching-horizontal-scrollbar:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px;border-radius:9px}.coaching-horizontal-scrollbar[aria-disabled=true]{opacity:.4;cursor:default}.coaching-horizontal-scrollbar[aria-disabled=true] .coaching-scrollbar-thumb{cursor:default}.coaching-dashboard .planner-scroll::-webkit-scrollbar:horizontal{height:0}[data-do3-card=tinted]{background-image:linear-gradient(145deg,hsl(var(--card)),color-mix(in srgb,hsl(var(--card)) 55%,hsl(var(--muted))))}[data-do3-card=image]{position:relative;isolation:isolate;overflow:hidden}[data-do3-card=image]>[data-card-media=image]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;z-index:-2}[data-do3-card=image]>[data-card-media=overlay]{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:-1;background:linear-gradient(105deg,hsl(var(--card) / .97),hsl(var(--card) / .92))}
