:root{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;line-height:1.45;color:#19191b;background:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink: #19191b;--muted: #68686e;--line: #e7e7ea;--surface: #f5f5f7;--card: #fff;--selected: #eeeef0;--inverse: #fff;color-scheme:light dark}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.5;cursor:not-allowed}button,a,summary{touch-action:manipulation}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:2.125rem;letter-spacing:-.055em;line-height:1.15;font-weight:700}h2{font-size:1.125rem;letter-spacing:-.025em;font-weight:600}h3{font-size:1rem;font-weight:600}strong,b{font-weight:600}.muted,.small,small{color:var(--muted)}small,.small{font-size:.875rem}.eyebrow{font-size:.875rem!important;letter-spacing:0;text-transform:none;font-weight:400}.loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:2rem;letter-spacing:-.05em;font-weight:600;gap:16px}.loading span{font-size:1rem;letter-spacing:0;font-weight:400;color:var(--muted)}.shell{max-width:1200px;margin:auto}.appheader{height:96px;margin:0 56px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.wordmark{background:none;padding:0;width:max-content;font-size:1.625rem;font-weight:700;letter-spacing:-.065em}.wordmark span{color:var(--muted)}.nav{display:flex;gap:8px}.nav button{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 18px;min-height:44px;border-radius:10px;background:none;color:var(--muted);font-size:.9375rem;font-weight:500}.nav button.active{background:var(--surface);color:var(--ink)}.nav button:hover,.iconbtn:hover{background:var(--surface)}.headerend{justify-self:end;display:flex;align-items:center;gap:20px}.saved{color:var(--muted);font-size:.8125rem}.iconbtn{width:44px;height:44px;display:inline-grid;place-items:center;flex-shrink:0;padding:0;background:transparent;border-radius:50%;color:var(--ink)}.main{padding:0 56px 64px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:43px 0 34px}.pagehead p{margin-top:8px;color:var(--muted);font-size:1rem}.actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:12px;background:var(--ink);color:var(--inverse);font-size:.9375rem;font-weight:600;line-height:1.4;white-space:nowrap}.btn:hover{opacity:.82}.btn.secondary{background:var(--surface);color:var(--ink)}.btn.ghost{color:var(--ink);background:none;padding:10px 0;font-size:.875rem;font-weight:500}.btn.danger{background:var(--surface);color:var(--ink)}.full{width:100%}.back{margin-top:24px}.back+.pagehead{margin-top:22px}.todaygrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px}.sectiontitle{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:.875rem}.distance{font-size:5rem;letter-spacing:-.065em;line-height:1.1;font-weight:600;margin-top:24px;font-variant-numeric:tabular-nums}.distance>span{font-size:1.5rem;font-weight:400;letter-spacing:-.03em;color:var(--muted);margin-left:10px}.summaryline{display:flex;justify-content:space-between;font-size:.875rem;color:var(--muted);gap:12px;margin-top:10px}.weekbars{display:flex;justify-content:space-between;gap:14px;margin-top:29px;padding-bottom:26px;border-bottom:1px solid var(--line)}.weekbar{background:none;padding:0;flex:1;min-width:0;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:.875rem;color:var(--muted)}.weekbar.current>span:not(.bartrack){color:var(--ink);font-weight:700}.weekbar small{font-size:.8125rem;margin-top:-5px}.bartrack{position:relative;height:66px;width:min(100%,27px);display:block;border-radius:5px;background:var(--surface);overflow:hidden}.bartrack i{position:absolute;bottom:0;left:0;right:0;border-radius:5px;min-height:0}.plannedbar{background:#dddde1}.actualbar{background:var(--ink)}.next{padding:27px 0 26px;border-bottom:1px solid var(--line)}.next h2{font-size:1.75rem;font-weight:600;letter-spacing:-.04em;margin-top:17px}.next p{font-size:.9375rem;color:var(--muted);margin-top:5px}.nextmeta{display:flex;gap:42px;margin:24px 0}.nextmeta b{font-size:1.75rem;letter-spacing:-.04em;line-height:1.1;font-variant-numeric:tabular-nums}.nextmeta b span{font-size:.9375rem;font-weight:400;letter-spacing:0;margin-left:5px;color:var(--muted)}.nextmeta small{display:block;font-size:.8125rem;margin-top:6px}.next .actions .btn:first-child{min-width:160px}.quietrow{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-height:63px;font-size:.9375rem}.goalrow{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:22px;font-size:.9375rem}.goalrow small{display:block;margin-top:3px;font-size:.8125rem}.goalrow>strong{text-align:right;font-size:1.5rem;line-height:1.3;letter-spacing:-.025em}.goalrow>strong small{font-size:.8125rem;letter-spacing:0;font-weight:400}.weeksection>.sectiontitle{min-height:44px;margin-top:-10px;margin-bottom:10px}.workoutlist{display:flex;flex-direction:column}.workoutrow{display:flex;align-items:center;gap:14px;min-height:92px;border-bottom:1px solid var(--line)}.workoutmain{display:flex;align-items:center;gap:24px;flex:1;min-width:0;min-height:90px;background:none;text-align:left;padding:15px 0}.workoutdate{display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:34px;font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums}.workoutdate b{font-size:1.125rem;font-weight:500;color:var(--ink);line-height:1.4}.istoday .workoutdate b{background:var(--ink);color:var(--inverse);border-radius:50%;height:29px;width:29px;text-align:center;line-height:29px;margin-top:2px}.workoutinfo{display:flex;flex-direction:column;min-width:0;gap:2px}.workoutinfo strong{font-size:1rem;font-weight:600;letter-spacing:-.015em}.workoutinfo>span{font-size:.875rem;color:var(--muted)}.workoutinfo small{font-size:.8125rem}.isrest .workoutinfo strong{font-weight:400;color:var(--muted)}.isrest{min-height:74px}.isrest .workoutmain{min-height:72px}.logbutton{width:44px;height:44px;border-radius:50%;background:var(--surface);display:grid;place-items:center;flex-shrink:0}.logbutton.complete{background:var(--ink);color:var(--inverse)}.weeksection>.btn{margin-top:22px}.panel{border:1px solid var(--line);background:var(--card);border-radius:18px;overflow:hidden}.panelhead{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.panelhead .small{margin-top:6px;font-size:.875rem}.schedulepanel>.workoutlist{padding:0 24px}.panelbottom{padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.weeknav{display:flex;align-items:center;gap:8px;font-weight:500;font-size:.9375rem}.weeknav>span{min-width:160px;text-align:center;font-variant-numeric:tabular-nums}.segmented{display:flex;padding:3px;background:var(--surface);border-radius:10px;gap:2px}.segmented button{background:none;min-height:36px;padding:5px 15px;border-radius:8px;color:var(--muted);font-size:.875rem}.segmented button.active{background:var(--card);box-shadow:0 1px 4px #00000012;color:var(--ink);font-weight:600}.plantools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.datejump{display:flex;flex-direction:row;align-items:center;gap:12px}.datejump input{width:163px}.trainingdetails{margin-top:32px;border-top:1px solid var(--line)}summary{cursor:pointer;min-height:48px;padding:18px 0;font-size:.9375rem;font-weight:500}summary .muted{font-weight:400;margin-left:16px}.phasebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px}.phasejump{background:var(--surface);padding:14px;text-align:left;border-radius:10px;font-size:.875rem;color:var(--muted)}.phasejump small{display:block;font-size:.8125rem;margin-top:6px}.phasejump.current{color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.notesgrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.notesgrid article{padding:24px 0;line-height:1.65}.notesgrid article.panel{padding:24px}.notesgrid p{margin-top:10px;color:var(--muted);font-size:.9375rem}.charts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}.chartbox{padding:0 20px 20px}.chartbox svg{width:100%;height:auto;display:block}.legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.8125rem;color:var(--muted)}.legend span:before{content:"";display:inline-block;width:8px;height:8px;background:#d1d1d6;border-radius:2px;margin-right:6px}.legend span+span:before{background:var(--ink)}.axis{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--muted);padding-top:6px}.emptytrend,.emptystate{min-height:215px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:26px;text-align:center}.emptytrend p,.emptystate p{color:var(--muted);font-size:.9375rem;max-width:275px}.emptytrend>svg{display:none}.historysummary{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:5px 0 35px}.historysummary strong{font-size:2.5rem;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.historysummary strong span{font-size:1rem;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:5px}.historysummary p{color:var(--muted);font-size:.875rem;margin-top:4px}.history{padding:0 24px 16px}.historyrow{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:18px 0;font-size:.9375rem}.historyrow:last-child{border:0}.historybutton{background:none;width:100%;text-align:left;min-height:84px}.historybutton>span:last-child{text-align:right}.historybutton small{display:block;font-size:.8125rem;margin-top:4px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line)}.calhead{font-size:.875rem;color:var(--muted);padding:12px 2px;text-align:center;border-bottom:1px solid var(--line)}.calday{padding:12px 8px;min-height:130px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);cursor:pointer;overflow:hidden}.calday:nth-child(7n){border-right:0}.calday:hover{background:var(--surface)}.calday.outside{background:var(--surface);color:var(--muted)}.calnum{font-size:.875rem;line-height:28px}.calday.today .calnum{background:var(--ink);color:var(--inverse);width:28px;text-align:center;border-radius:50%}.calevent{display:block;background:var(--surface);padding:7px 6px;margin-top:8px;border-radius:6px;font-size:.875rem;overflow-wrap:anywhere;line-height:1.5}.calday.outside .calevent{background:var(--card)}.calevent.rest{color:var(--muted);background:none;padding-left:0}.calpace{font-size:.8125rem;color:var(--muted)}.monthsum{display:flex;gap:24px;flex-wrap:wrap;padding:5px 24px 22px;font-size:.875rem;color:var(--muted)}.monthsum strong{color:var(--ink)}.templategrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.template{padding:24px;border:1px solid var(--line);border-radius:16px}.runtile{color:var(--muted);margin-bottom:18px}.template h3{font-size:1.125rem;letter-spacing:-.025em}.template p{margin:12px 0 18px;color:var(--muted);font-size:.9375rem;line-height:1.65}.template details p{font-size:.875rem}.template .actions{margin-top:18px;gap:14px}.badge{font-size:.875rem;color:var(--ink);background:var(--surface);border-radius:6px;padding:5px 8px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fields .wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;color:var(--muted);min-width:0}input,select,textarea{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:var(--card);color:var(--ink);font-size:1rem;line-height:1.4}input:focus,select:focus,textarea:focus{outline:2px solid var(--ink);outline-offset:2px}input[type=date]{min-height:48px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23737378' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:35px}textarea{min-height:100px;resize:vertical}.formpanel{padding:24px}.notice{background:var(--surface);color:var(--muted);font-size:.875rem;line-height:1.65;padding:16px;border-radius:10px;margin:20px 0}.notice.error{color:var(--ink);border:1px solid var(--ink)}.formtitle{font-size:1rem;font-weight:600;letter-spacing:0;text-transform:none;margin-bottom:20px;color:var(--ink)}.inline-result{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:.875rem;margin:20px 0}.inline-result b{color:var(--ink)}dialog{border:0;padding:0;border-radius:22px;width:min(620px,calc(100vw - 32px));max-height:88dvh;background:var(--card);color:var(--ink);box-shadow:0 24px 90px #0003;overscroll-behavior:contain}dialog::backdrop{background:#0005}body:has(dialog[open]){overflow:hidden}.dialoghead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--card);z-index:2}.dialoghead h2{font-size:1.25rem}.dialogbody{padding:24px}.dialogfoot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--card);z-index:2}.dialogfoot .actions{gap:12px}.editorDetails{border-top:1px solid var(--line);margin-top:24px}.editorDetails summary{padding:20px 0}.editorDetails .fields{padding-top:8px}.adjustpreview{font-size:.9375rem;line-height:1.65}.saveerror{margin-top:20px;padding:16px;border:1px solid var(--ink);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:.875rem}.saveerror .btn{flex-shrink:0}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%) translateY(150px);background:var(--ink);color:var(--inverse);padding:14px 22px;border-radius:14px;font-size:.9375rem;max-width:calc(100vw - 32px);width:max-content;z-index:100;pointer-events:none;box-shadow:0 6px 28px #0002}#toast.visible{transform:translate(-50%)}@media(max-width:1000px){.appheader{margin:0 32px}.main{padding-left:32px;padding-right:32px}.todaygrid{gap:40px}.templategrid{grid-template-columns:1fr 1fr}.calpace{display:none}.calday{padding:8px 5px}.charts .panelhead{align-items:flex-start;flex-direction:column}}@media(max-width:820px){.appheader{height:76px;margin:0 24px;padding-top:env(safe-area-inset-top);grid-template-columns:1fr auto;gap:16px;border:0}.wordmark{font-size:1.5rem}.headerend{gap:12px}.saved{font-size:.8125rem}.nav{position:fixed;inset:auto 0 0;z-index:10;justify-content:space-around;gap:0;padding:8px max(16px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--card)}.nav button{flex:1;flex-direction:column;gap:3px;padding:4px 12px;border-radius:0;min-height:48px;font-size:.8125rem;line-height:1.3;background:none!important}.nav button.active{font-weight:600}.nav button svg{width:22px;height:22px}.main{padding:0 max(24px,env(safe-area-inset-right)) calc(105px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.pagehead{margin:19px 0 30px;align-items:center;gap:12px}.pagehead .btn{font-size:.875rem;min-height:44px;padding:10px 14px;border-radius:11px}.pagehead .btn svg{width:17px;height:17px}h1{font-size:2.125rem}.pagehead p{font-size:.9375rem;margin-top:6px}.todaygrid{display:block}.distance{font-size:4.5rem;margin-top:23px}.weekbars{margin-top:25px}.todayprimary{margin-bottom:38px}.weeksection>.sectiontitle{margin-top:0}.goalrow{font-size:.875rem}.goalrow small{font-size:.8125rem}.nextmeta{gap:38px}.next h2{font-size:1.625rem}.next .actions .btn:first-child{flex:1}.workoutmain{gap:20px}.panel{border-radius:16px}.panelhead{padding:16px;gap:10px;flex-wrap:wrap}.schedulepanel>.panelhead{justify-content:center;flex-direction:column;padding-top:12px;gap:12px}.schedulepanel>.panelhead .segmented{width:100%}.segmented button{flex:1}.schedulepanel>.workoutlist{padding:0 16px}.panelbottom{padding:8px 16px}.plantools{margin-bottom:20px;gap:12px}.datejump{flex-direction:column;align-items:flex-start;gap:5px;font-size:.875rem}.datejump input{width:160px}.plantools .btn{align-self:flex-end;padding:11px 14px}.weeknav{justify-content:center;gap:10px;width:100%}.weeknav>span{min-width:160px}.trainingdetails{margin-top:24px}summary .muted{display:block;margin-left:17px;font-size:.875rem}.phasebar{grid-template-columns:1fr 1fr;padding:12px}.notesgrid,.charts,.templategrid{grid-template-columns:1fr}.notesgrid{gap:0}.charts{gap:20px}.charts .panelhead{gap:12px}.historysummary{gap:16px;padding-bottom:28px}.historysummary strong{font-size:2rem}.historysummary p{font-size:.8125rem}.history{padding:0 16px 12px}.historyrow{gap:16px}.historybutton small{font-size:.8125rem}.historybutton>span:last-child{flex-shrink:0}.calendar{grid-template-columns:1fr;border:0;padding:0 16px}.calhead{display:none}.calday{display:flex;align-items:flex-start;gap:10px;min-height:58px;border:0;border-bottom:1px solid var(--line);padding:12px 0;overflow:visible}.calday.outside{display:none}.calnum{flex:0 0 28px;line-height:28px;text-align:center;color:var(--muted);margin-top:2px}.calevent{font-size:.9375rem;background:none;padding:4px 0;margin:0;flex:1}.calevent br{display:initial}.calevent.rest{padding-top:4px}.calpace{display:none}.monthsum{padding:0 16px 20px;gap:10px 20px}.fields{gap:18px 14px}.formpanel{padding:20px}.fields input,.fields select{font-size:1rem}.fields label{font-size:.875rem}.formtitle{margin-bottom:18px}dialog{width:100%;max-width:620px;max-height:calc(100dvh - 14px - env(safe-area-inset-top));margin:auto auto 0;border-radius:22px 22px 0 0}.dialoghead{padding:16px 20px}.dialogbody{padding:22px 20px}.dialogfoot{padding:14px 20px calc(14px + env(safe-area-inset-bottom));gap:12px}.dialogfoot .btn{padding:10px 14px;font-size:.875rem}.dialogfoot .actions{gap:12px}.notice{padding:14px}.back{margin-top:8px}.back+.pagehead{margin-top:18px}#toast{bottom:calc(88px + env(safe-area-inset-bottom))}.saveerror{flex-wrap:wrap}}@media(max-width:370px){.main{padding-left:18px;padding-right:18px}.appheader{margin:0 18px}.pagehead .btn{padding:10px;font-size:.8125rem}.summaryline{font-size:.8125rem}.fields{grid-template-columns:1fr}.historysummary strong{font-size:1.75rem}}@media(prefers-color-scheme:dark){:root{--ink: #f5f5f7;--muted: #a2a2aa;--line: #303034;--surface: #232326;--card: #141416;--selected: #333337;--inverse: #141416;background:#141416;color:#f5f5f7}.plannedbar{background:#44444b}.chartbox svg{filter:invert(.8) grayscale(1)}.legend span:before{background:#66666b}.segmented button.active{box-shadow:0 1px 4px #0008}}@media(max-width:820px){.appheader{height:68px}.pagehead{margin:14px 0 26px}.distance{font-size:4rem;margin-top:18px}.weekbars{margin-top:20px;padding-bottom:20px}.bartrack{height:48px}.next{padding-top:23px;padding-bottom:22px}.nextmeta{margin:20px 0}.next h2{margin-top:14px}}.wordmark{min-height:44px}.weekbars{gap:10px}[hidden]{display:none!important}.authscreen{max-width:400px;margin:auto;padding:10vh 24px 40px}.authscreen .wordmark{display:block;margin-bottom:58px}.authscreen h1{font-size:2.5rem;line-height:1.15;letter-spacing:-.06em}.authscreen>p{margin:18px 0 32px;color:var(--muted)}.authscreen form{display:grid;gap:20px}.authscreen #authMessage{font-size:.875rem;color:var(--muted)}.draftbanner{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:10px 0;font-size:.875rem}.draftbanner span{margin-right:auto}.updatebutton{position:fixed;bottom:90px;right:24px;z-index:20;box-shadow:0 6px 30px #0002}.dialogbody>p+p{margin-top:12px}
