:root{color-scheme:light;--ink:#111719;--blue:#1658eb;--muted:#596269;--paper:#f7f8fa;--line:#d8dde2;font-family:Arial,Helvetica,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:wait;opacity:.65}button,input{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #547fff;outline-offset:3px}
.shell{min-height:100svh}main{width:100%;max-width:488px;margin:0 auto;min-height:100svh;display:flex;flex-direction:column;padding:24px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom));padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
.access{width:100%;margin:auto 0}.product-label{display:block}.access-logo{display:block;width:112px;height:112px;object-fit:contain;margin:-12px 0 -6px -16px}
h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.75rem,12vw,3.375rem);line-height:1.02;font-weight:400;letter-spacing:-.055em;margin:12px 0 14px;overflow-wrap:break-word}.period{color:var(--blue)}.value{font-size:1rem;line-height:1.5;color:var(--muted);margin:0}.welcome{margin:28px 0 24px}h2{font-size:1.1875rem;letter-spacing:-.025em;margin:0 0 9px}.welcome p{font-size:1rem;color:var(--muted);line-height:1.5;margin:0}
label{display:block;font-size:.875rem;font-weight:600;margin:0 0 10px}input{display:block;width:100%;height:56px;border:1px solid #bcc5cd;border-radius:5px;background:white;padding:0 16px;font-size:1rem;color:var(--ink);scroll-margin-block:24px}input::placeholder{color:#767f87}input:focus{border-color:var(--blue)}input[aria-invalid=true]{border-color:#b72a2a}.helper{font-size:.8125rem;line-height:1.55;color:var(--muted);margin:10px 0 22px}
.primary{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:56px;padding:15px 19px;border:0;background:var(--blue);color:white;border-radius:5px;font-size:1rem;font-weight:600}.primary:hover{background:#1045bd}.primary>span:last-child{font-size:24px;font-weight:400;line-height:1}.secondary{display:block;margin:12px auto 0;min-height:48px;padding:10px 4px;background:none;border:0;color:var(--muted);font-size:.875rem;line-height:1.5}.secondary span{color:var(--ink);text-decoration:underline;text-underline-offset:4px}.secondary:hover span{color:var(--blue)}
.reassurance{display:flex;gap:12px;border-top:1px solid var(--line);margin-top:20px;padding-top:20px;color:var(--muted)}.reassurance svg{width:18px;height:18px;flex-shrink:0;margin-top:2px}.reassurance p{font-size:.8125rem;line-height:1.65;margin:0}footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 12px;margin-top:28px;font-size:.75rem;color:#677079;line-height:1.5}footer>span:first-child{letter-spacing:.06em}
#feedback{border-left:3px solid var(--blue);background:#eaf0ff;padding:12px 14px;font-size:.875rem;line-height:1.5;margin:16px 0 0}#feedback.error{background:#fff0ef;border-color:#b72a2a;color:#902424}[hidden]{display:none!important}
@media(max-height:720px){.access{margin:0}.access-logo{width:96px;height:96px}.welcome{margin-top:22px}.reassurance{margin-top:16px}footer{margin-top:22px}}
@media(min-width:801px){main{padding-top:40px;padding-bottom:28px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Screen 2: a phone-first Home surface. */
.home{display:flex;flex-direction:column;flex:1;min-width:0}.showing-home{padding-top:max(16px,env(safe-area-inset-top))}.home-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 32px}.home-brand{display:flex;align-items:center;gap:8px;margin-left:-10px}.home-brand img{object-fit:contain}.home-brand>span{font-size:.75rem;font-weight:700;letter-spacing:.075em;line-height:1.5}.icon-button{display:grid;place-items:center;min-width:46px;min-height:46px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink)}.icon-button svg{width:22px;height:22px}.home-eyebrow{font-size:.75rem;letter-spacing:.105em;color:var(--blue);font-weight:600;margin:0 0 14px}.home-intro h1{font-size:clamp(2.75rem,12vw,3.375rem);margin:0 0 30px}.home-intro h1:focus{outline:none}.start-session{display:flex;align-items:center;gap:14px;background:var(--blue);color:white;width:100%;text-align:left;border:0;border-radius:8px;padding:23px 20px;min-height:100px}.start-session:hover{background:#1045bd}.start-icon{font-size:30px;font-weight:400;line-height:1}.start-session strong{display:block;font-size:1.125rem;line-height:1.4}.start-session small{display:block;font-size:.875rem;line-height:1.5;margin-top:3px;color:#e8efff}.start-arrow{font-size:27px;margin-left:auto}.home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.home-tile{display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid var(--line);background:white;border-radius:8px;padding:18px 14px;text-align:left;min-width:0;color:var(--ink)}.home-tile:hover,.latest-card:hover{border-color:var(--blue)}.home-tile svg{width:24px;height:24px;color:var(--blue);margin-bottom:15px}.home-tile strong{font-size:.9375rem;line-height:1.4}.home-tile>span{font-size:.8125rem;line-height:1.5;color:var(--muted)}.latest{margin-top:32px}.section-heading h2{font-size:1rem;margin:0 0 15px}.empty-session{border:1px dashed #c9d0d7;border-radius:8px;text-align:center;padding:24px 16px;color:var(--muted)}.empty-session svg{width:25px;height:25px;color:#7a8790;margin-bottom:10px}.empty-session p{font-size:.875rem;line-height:1.5;margin:0}.empty-session>span{font-size:.8125rem;display:block;margin-top:5px;color:#677079}.home-bottom{margin-top:auto;padding-top:28px;text-align:center}.home-bottom>p{font-size:.75rem;color:var(--muted);line-height:1.5;margin:0 0 14px}.preview-controls{text-align:left;border-top:1px solid var(--line);padding-top:12px;color:var(--muted)}.preview-controls summary{cursor:pointer;text-align:center;font-size:.75rem;min-height:32px}.preview-controls label{margin-top:12px}.preview-controls select{width:100%;min-height:46px;border:1px solid #bcc5cd;background:white;border-radius:5px;padding:8px;font:inherit;font-size:.875rem;color:var(--ink)}.preview-controls p{font-size:.8125rem;line-height:1.5}.preview-controls button{min-height:44px;border:0;background:none;padding:0;color:var(--blue);font-size:.875rem;text-decoration:underline}.home-notice{background:#eaf0ff;border-left:3px solid var(--blue);padding:14px;font-size:.875rem;line-height:1.5;margin:20px 0 0}.resume-card{border:1px solid #bed0fc;border-left:3px solid var(--blue);background:#edf3ff;border-radius:8px;padding:20px;margin-bottom:16px}.small-label{font-size:.75rem;letter-spacing:.06em;color:var(--muted);line-height:1.5}.resume-card h2{font-size:1.0625rem;line-height:1.4;margin-top:10px}.resume-card p{font-size:.875rem;line-height:1.5;margin:5px 0}.resume-card p.small-label{font-size:.75rem}.resume-card .primary{margin-top:16px}.latest-card{width:100%;display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:20px;text-align:left;color:var(--ink)}.latest-card strong{font-size:1rem;line-height:1.5}.latest-card>span{font-size:.875rem;line-height:1.5}.latest-card .small-label{font-size:.75rem}.summary-link{color:var(--blue);margin-top:6px;display:flex;justify-content:space-between;width:100%}@media(max-width:350px){.home-shortcuts{gap:8px}.home-tile{padding:16px 10px}.home-tile strong{font-size:.875rem}}@media(max-height:720px){.home-header{margin-bottom:22px}.home-intro h1{margin-bottom:24px}.latest{margin-top:24px}}
/* Screen 3: editable mixed training blocks. */
.setup-screen{width:100%}.setup-header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:-8px -6px 27px}.setup-header>span{font-size:.75rem;letter-spacing:.07em;font-weight:600}.setup-header>button{width:46px;height:46px;border:1px solid var(--line);background:#fff;border-radius:50%;font-size:24px;color:var(--ink)}.setup-header img{object-fit:contain}#setup-title{font-size:clamp(2.5rem,11vw,3rem);margin-bottom:12px}#setup-title:focus{outline:none}.setup-intro{color:var(--muted);font-size:1rem;line-height:1.6;margin:0 0 28px}.setup-field{display:block;font-size:.875rem;line-height:1.4;font-weight:600;margin:0 0 16px}.setup-field>span,.target-options summary>span,.block-options summary>span{font-size:.75rem;color:var(--muted);font-weight:400;margin-left:6px}.setup-field input,.setup-field select,.setup-field textarea{margin-top:8px}.setup-screen select,.setup-screen textarea{display:block;width:100%;min-height:52px;border:1px solid #bcc5cd;border-radius:5px;background:white;color:var(--ink);padding:12px;font:inherit;font-size:1rem;max-width:100%}.setup-screen textarea{resize:vertical;line-height:1.5}.setup-screen input:disabled{color:var(--muted);background:#edf0f3}.setup-screen button:disabled{cursor:default;opacity:.4}.setup-screen select:focus-visible,.setup-screen textarea:focus-visible,.setup-screen summary:focus-visible{outline:3px solid #547fff;outline-offset:3px}.training-block{border:1px solid #d2d9e0;border-radius:9px;margin:16px 0;background:#fff}.training-block>summary{display:flex;align-items:center;gap:12px;padding:18px 16px;cursor:pointer;list-style:none;min-height:78px}.training-block>summary::-webkit-details-marker{display:none}.block-number{font-size:.8125rem;color:var(--blue);font-weight:600}.training-block>summary strong{display:block;font-size:1rem;line-height:1.4}.training-block>summary small{display:block;font-size:.8125rem;font-weight:400;line-height:1.5;color:var(--muted);margin-top:4px}.block-chevron{margin-left:auto;font-size:20px}.training-block[open]>summary{border-bottom:1px solid var(--line)}.training-block[open] .block-chevron{transform:rotate(180deg)}.block-body{padding:18px 16px 10px}.type-definition{background:#edf3ff;border-left:3px solid var(--blue);padding:14px;margin:0 0 22px}.type-definition p{font-size:.875rem;line-height:1.6;margin:0}.type-definition summary{cursor:pointer;color:var(--blue);font-size:.875rem;min-height:44px;padding-top:14px}.type-definition dl{font-size:.875rem;line-height:1.5;margin:10px 0}.type-definition dt{font-weight:600;margin-top:14px}.type-definition dd{margin:4px 0 0;color:var(--muted)}.type-definition .definition-source{font-size:.75rem;color:var(--muted);border-top:1px solid #d1ddf8;padding-top:14px;margin-top:18px}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.setup-grid>*{min-width:0}.setup-grid input{padding:0 10px}.row-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;min-height:36px}.row-heading>span{font-size:.75rem;letter-spacing:.06em;color:var(--muted)}.row-heading button{background:none;border:0;color:#91412c;min-height:44px;font-size:.8125rem}.rep-row{border-top:1px solid var(--line);padding-top:8px;margin-top:12px}.target-options{margin:0 0 16px}.target-options>summary,.pb-target>summary,.block-options>summary{font-size:.875rem;min-height:44px;padding:10px 0;cursor:pointer}.target-options[open]>summary,.block-options[open]>summary{margin-bottom:10px}.pb-target{background:#f7f8fa;padding:0 12px;border-radius:5px}.pb-target .helper{margin-bottom:14px}.calculated-target{font-size:.875rem;line-height:1.5;color:var(--blue);font-weight:600}.text-action{min-height:44px;color:var(--blue);background:none;border:0;font-size:.875rem;padding:8px 0;text-align:left}.recovery-fields{margin-top:18px;border-top:1px solid var(--line);padding-top:22px}.recovery-fields h3{font-size:1rem;margin:0 0 8px}.recovery-fields>.helper{margin:0 0 18px}.block-options{border-top:1px solid var(--line);padding-top:10px}.block-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:16px;border-top:1px solid var(--line);padding-top:6px}.block-actions button{min-height:44px;border:0;background:none;padding:6px 4px;font-size:.8125rem;color:var(--muted)}.add-block{min-height:56px;width:100%;border:1px dashed #a8b9d9;border-radius:8px;background:#edf3ff;color:var(--blue);font-weight:600;font-size:1rem}.setup-overview{margin-top:28px;border-top:1px solid var(--line);padding-top:22px}.setup-overview h2{font-size:1rem}.setup-overview p{font-size:.875rem;line-height:1.5}.setup-overview .helper{font-size:.8125rem}#setup-notice{white-space:pre-line;background:#eaf0ff;border-left:3px solid var(--blue);padding:14px;font-size:.875rem;line-height:1.6}#setup-save-status{font-size:.75rem;color:var(--muted);line-height:1.5;text-align:center;margin:18px 0 12px}#setup-save-status.save-error{color:#a02525}.setup-footer{margin-top:16px}#setup-undo{font-size:.875rem;line-height:1.5;margin:16px 0}#setup-undo button{min-height:44px;border:0;background:none;color:var(--blue);text-decoration:underline}@media(max-width:350px){.block-body{padding:16px 12px 8px}.training-block>summary{padding:16px 12px}.setup-grid{gap:8px}}
.sequence-entry{background:#edf3ff;border:1px solid #d3dffc;border-radius:7px;padding:14px;margin:8px 0 20px}.sequence-entry .setup-field{margin-bottom:8px}.sequence-entry input{letter-spacing:.035em}.sequence-entry .helper{margin:8px 0 12px}.apply-sequence{width:100%;min-height:46px;border:1px solid var(--blue);border-radius:5px;background:var(--blue);color:white;font-size:.875rem;font-weight:600}.sequence-replace-note{font-size:.75rem;line-height:1.5;color:var(--muted);margin:10px 0 0}.sequence-error{font-size:.875rem;color:#992525;line-height:1.5}.sequence-preview{margin:16px 0;padding:14px 0;border-top:1px solid var(--line)}.sequence-preview>span{font-size:.75rem;letter-spacing:.06em;color:var(--muted)}.sequence-preview>p{font-size:1rem;line-height:1.7;font-weight:600;margin:8px 0 0;overflow-wrap:anywhere}.rep-order-actions{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-bottom:12px}.rep-order-actions button{min-height:44px;background:none;border:0;color:var(--blue);font-size:.8125rem;padding:4px}.rep-rest-note{margin-top:-6px}.rep-row{scroll-margin-top:20px}

/* Compact mobile session builder */
.distance-choice{display:flex;padding:4px;background:#eef1f5;border-radius:9px;margin:4px 0 20px;gap:4px}.distance-choice button{flex:1;min-height:48px;border:0;background:transparent;border-radius:6px;font:inherit;font-size:.84rem;color:var(--muted)}.distance-choice button[aria-pressed="true"]{background:#fff;color:var(--blue);box-shadow:0 1px 4px #12243a18;font-weight:600}.definition-disclosure{margin:-12px 0 16px}.definition-disclosure>summary{list-style:none;color:var(--blue);font-size:.8rem;padding:10px 0;min-height:44px;cursor:pointer}.definition-disclosure .type-definition{margin:0}.individual-recovery,.more-options{border-top:1px solid var(--line)}.individual-recovery>summary,.more-options>summary,.distance-editor>summary{cursor:pointer;padding:15px 0;min-height:48px;font-size:.875rem;font-weight:500}.distance-editor{scroll-margin-top:16px}.distance-editor>summary{color:var(--blue)}.sequence-preview{background:#f6f8fb;border:0;border-radius:8px;padding:16px}.sequence-preview small{display:block;color:var(--muted);font-size:.8rem;line-height:1.7;margin-top:5px}.sequence-preview .preview-hint{display:block;font-size:.72rem;letter-spacing:0;margin-top:12px}.distance-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.distance-chips button{background:#fff;border:1px solid #d7e0eb;border-radius:7px;min-height:56px;padding:8px 12px;color:var(--muted);font:inherit;font-size:.7rem}.distance-chips strong{display:block;color:var(--blue);font-size:.94rem;margin-top:4px}.done-block{width:100%;min-height:48px;margin:12px 0 6px;background:var(--blue);color:white;border:0;border-radius:6px;font:inherit;font-size:.875rem;font-weight:600}.sequence-entry{background:none;border:0;padding:0;margin:0 0 18px}.sequence-entry .apply-sequence{background:#edf3ff;color:var(--blue);border:0}.block-order{overflow-wrap:anywhere}.training-block>summary>span:nth-child(2){min-width:0}.block-body>.setup-grid{align-items:start}.more-options>.helper,.individual-recovery>.helper{margin:0 0 14px}.block-rest{font-size:.75rem!important}

/* Active session: a focused, thumb-friendly rep surface. */
.active-screen .setup-header{margin-bottom:24px}.live-topline{display:flex;justify-content:space-between;gap:12px;font-size:.8rem;font-weight:600;letter-spacing:.04em;color:var(--blue)}.live-progress{display:block;width:100%;height:4px;margin:14px 0 26px;border:0;appearance:none;background:#e1e7ef;border-radius:8px;overflow:hidden}.live-progress::-webkit-progress-bar{background:#e1e7ef}.live-progress::-webkit-progress-value{background:var(--blue)}.live-block{font-size:.875rem;line-height:1.6;color:var(--muted);margin:0 0 10px}.active-screen .live-title{font-size:clamp(3rem,15vw,4.5rem);line-height:1.06;margin:0 0 12px;letter-spacing:-.04em}.live-title small{font-size:2rem;letter-spacing:0}.live-subtitle{font-size:1rem;line-height:1.5;margin:0 0 24px;color:var(--muted)}.live-cue{border-left:3px solid var(--blue);padding:10px 14px;background:#edf3ff;line-height:1.6;font-size:.9375rem}.live-target{font-size:1rem;margin:16px 0}.live-target strong{color:var(--blue);margin-left:8px}#rep-time{font-size:2.6rem;font-variant-numeric:tabular-nums;height:88px;margin-bottom:18px;letter-spacing:.02em}#rep-form .primary{margin-top:0}.active-screen .primary{min-height:58px;font-size:1rem}.active-screen .secondary{font-size:.875rem;min-height:48px}.live-result{padding:20px;background:#edf3ff;border:1px solid #dce6ff;border-radius:10px;margin:24px 0}.live-result>span{font-size:.75rem;letter-spacing:.065em;font-weight:600;color:var(--blue)}.live-result>strong{display:block;font-size:1.75rem;line-height:1.45;margin-top:8px;font-variant-numeric:tabular-nums}.live-result p{font-size:.875rem;line-height:1.6;margin:8px 0 0}.live-result .result-speed{font-size:1.125rem;font-weight:600}.dropoff-note{border-left:3px solid #a56a17;padding-left:12px;color:#704512}.recovery-display{text-align:center;background:#f0f3f7;border-radius:10px;padding:22px 16px;margin-bottom:22px}.recovery-display>span{font-size:.875rem;color:var(--muted)}.recovery-display>strong{display:block;font-size:4.5rem;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums;margin:10px 0;letter-spacing:-.035em}.recovery-display p{font-size:1rem;margin:8px 0}.recovery-display small{font-size:.8rem;color:var(--muted)}.live-details{border-top:1px solid var(--line);margin-top:24px}.live-details>summary{padding:18px 0;font-size:.9375rem;cursor:pointer;min-height:52px}.live-block-results{border-top:1px solid var(--line);padding:16px 0}.live-block-results h2{font-size:1rem;margin:0 0 12px}.live-block-results p,.live-block-results li{font-size:.875rem;line-height:1.65}.live-block-results ol{list-style:none;padding:0}.live-block-results li{padding:10px 0;border-bottom:1px solid var(--line)}.live-block-results li strong{float:right}.set-average{color:var(--muted)}.live-save{text-align:center;font-size:.75rem;line-height:1.5;color:var(--muted);margin:24px 0}.end-confirm{padding:16px;border:1px solid var(--line);border-radius:8px}.end-confirm p{line-height:1.5;font-size:1rem}#active-notice{white-space:pre-line;background:#fff0e8;color:#843c18;padding:14px;border-radius:6px;font-size:.9375rem;line-height:1.5}.active-screen a.primary{text-decoration:none;display:block}

/* Session summary: an overview first, detail on demand. */
.summary-back{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;text-decoration:none;color:var(--ink);font-size:24px;background:#fff}.summary-screen .summary-title{font-size:3.2rem;margin:8px 0 16px;letter-spacing:-.04em}.summary-name{font-size:1.125rem;font-weight:500;line-height:1.5;margin:0 0 6px}.summary-date{font-size:.875rem;color:var(--muted);margin:0 0 24px}.summary-hero{background:var(--blue);color:#fff;padding:24px;border-radius:10px}.summary-hero>span{font-size:.75rem;letter-spacing:.08em}.summary-hero>strong{display:block;font-size:3.5rem;line-height:1.25;font-weight:500;font-variant-numeric:tabular-nums;margin:10px 0}.summary-hero strong small{font-size:1.5rem}.summary-hero p{font-size:.9375rem;margin:0 0 18px}.summary-hero progress{appearance:none;width:100%;height:4px;border:0;background:#ffffff50;border-radius:10px;overflow:hidden;display:block}.summary-hero progress::-webkit-progress-bar{background:#ffffff50}.summary-hero progress::-webkit-progress-value{background:white}.summary-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}.summary-metrics>div{min-width:0}.summary-metrics span{display:block;font-size:.875rem;color:var(--muted)}.summary-metrics strong{display:block;font-size:1.45rem;line-height:1.5;margin:6px 0;font-weight:600;font-variant-numeric:tabular-nums}.summary-metrics small{font-size:.8125rem;color:var(--muted)}.summary-status{font-size:.875rem;line-height:1.5;color:var(--muted)}.summary-method{font-size:.8125rem;line-height:1.6;margin:16px 0 30px}.summary-section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.summary-section-heading h2{font-size:1.125rem;margin:0}.summary-section-heading>span{font-size:.8125rem;color:var(--muted)}.summary-block{border:1px solid var(--line);background:white;border-radius:9px;margin:12px 0}.summary-block>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:18px 16px;min-height:80px}.summary-block>summary::-webkit-details-marker{display:none}.summary-block summary strong{font-size:1rem;line-height:1.5}.summary-block summary small{display:block;font-size:.8125rem;color:var(--muted);margin-top:5px;line-height:1.5}.summary-expand{margin-left:auto;color:var(--blue);font-size:1.5rem}.summary-block[open]>summary{border-bottom:1px solid var(--line)}.summary-block-body{padding:18px 16px}.summary-block-speed{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}.summary-block-speed>span{font-size:.875rem;color:var(--muted)}.summary-block-speed strong{font-size:1.25rem;margin-left:auto}.summary-block-speed small{width:100%;text-align:right;font-size:.8125rem;color:var(--muted)}.summary-bests{margin:20px 0;padding:14px;background:#edf3ff;border-radius:6px}.summary-bests h3{font-size:.875rem;margin:0 0 12px}.summary-bests p{display:flex;justify-content:space-between;font-size:.9375rem;margin:8px 0}.summary-bests small{display:block;font-size:.75rem;line-height:1.6;margin-top:12px;color:var(--muted)}.summary-set{border-top:1px solid var(--line)}.summary-set>summary{min-height:52px;cursor:pointer;padding:14px 0;font-size:.9375rem}.summary-set>summary small{display:block;font-size:.8125rem}.summary-set-total{font-size:.8125rem;color:var(--muted);line-height:1.5}.summary-reps{list-style:none;margin:0;padding:0}.summary-reps li{padding:16px 0;border-top:1px solid var(--line)}.summary-rep-line{display:flex;justify-content:space-between;gap:12px;font-size:.9375rem;line-height:1.5}.summary-rep-line strong{white-space:nowrap}.summary-reps p{font-size:.8125rem;line-height:1.6;margin:6px 0;color:var(--muted)}.summary-settings{margin-top:24px;border-top:1px solid var(--line)}.summary-settings>summary{min-height:52px;padding:18px 0;cursor:pointer;font-size:.875rem}.summary-settings p{font-size:.875rem;line-height:1.6}.summary-footer{margin-top:24px}.summary-link-button{text-decoration:none;display:flex;align-items:center;justify-content:space-between;font-size:1rem;min-height:58px}.summary-secondary{display:block;text-align:center;text-decoration:none;padding:18px 0}.summary-empty{font-size:1rem;line-height:1.6}

.library-title{font-size:2.8rem!important;line-height:1.1;margin:0 0 16px}.library-intro{font-size:1rem;line-height:1.5;color:var(--muted);margin-bottom:26px}.library-card{border:1px solid var(--line);border-radius:10px;background:white;margin:16px 0;overflow:hidden}.library-open{display:block;padding:20px;text-decoration:none;color:var(--ink)}.library-open h2{font-size:1.125rem;line-height:1.4;margin:10px 0}.library-open p{font-size:.875rem;line-height:1.6;color:var(--muted)}.library-open strong{font-size:.9375rem}.library-view{display:block;color:var(--blue);font-size:.875rem;margin-top:16px}.library-actions{display:flex;border-top:1px solid var(--line)}.library-actions button{flex:1;min-height:52px;padding:12px;border:0;background:none;color:var(--blue);font:inherit;font-size:.875rem}.library-actions button+button{border-left:1px solid var(--line)}.library-empty{padding:24px 0}.library-empty h2{font-size:1.25rem}.library-empty p{font-size:1rem;line-height:1.6;color:var(--muted)}#library-status{font-size:.875rem;line-height:1.6;color:var(--muted)}#library-confirm{padding:20px;border:1px solid #c7d8fa;border-radius:10px;background:#edf3ff;margin:20px 0}#library-confirm h2{font-size:1.125rem}#library-confirm p{font-size:.9375rem;line-height:1.6}

.settings-section{border-top:1px solid var(--line);padding:24px 0}.settings-section h2{font-size:1.125rem;margin:0 0 16px}.settings-section p{font-size:.9375rem;line-height:1.65}.settings-section .helper{font-size:.8125rem}.settings-section input[type=file]{height:auto;min-height:56px;padding:14px 10px;font-size:.875rem;max-width:100%}#settings-notice{font-size:.875rem;line-height:1.6;color:var(--blue);overflow-wrap:anywhere}#settings-notice:empty{display:none}#import-preview{padding:16px;background:#edf3ff;border:1px solid #cfddfa;border-radius:8px;margin:16px 0}#import-preview h3{font-size:1rem}.settings-section button{font-size:.9375rem}

.athlete-checkin,.training-insights{border-top:1px solid var(--line);padding:24px 0;margin-top:20px}.athlete-checkin h2,.training-insights h2{font-size:1.2rem;margin:0 0 16px}.athlete-checkin p,.training-insights li{font-size:.9375rem;line-height:1.65}.training-insights ul{padding-left:20px}.training-insights li{margin:12px 0}.baseline-status{padding:14px;background:#eef3fa;border-radius:7px}.baseline-status strong,.baseline-status span{display:block;font-size:.875rem;line-height:1.6}.baseline-status span{color:var(--muted)}.insight-suggestion{border-left:3px solid var(--blue);background:#edf3ff;padding:16px;font-size:.9375rem;line-height:1.65}#feedback-status{font-size:.875rem;color:var(--blue)}
.post-rep{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.post-rep>span{font-size:.9375rem;color:var(--ink);margin:0}.post-rep input{margin:0}.post-rep input::placeholder{font-size:.8125rem}
.rep-comparison{border-top:1px solid #cfdbf1;margin-top:14px;padding-top:14px}.rep-comparison>strong{font-size:.9375rem;color:var(--blue)}.rep-comparison small{display:block;font-size:.8125rem;line-height:1.6;margin-top:10px}

.result-editor{margin:12px 0}.result-editor form{padding:12px 0}.result-editor fieldset{border:0;padding:0;margin:16px 0}.rep-tag{display:flex;align-items:center;gap:10px;min-height:44px;text-transform:capitalize}.rep-tag input{width:22px;height:22px}.editor-status{color:#a52c2c}.result-editor textarea{width:100%;box-sizing:border-box}

.save-confirmation{color:var(--blue);font-weight:600;margin:8px 0 0}.save-confirmation:empty{display:none}.install-access{margin-top:8px}.install-access>.secondary{width:100%;min-height:48px;color:var(--blue)}.install-help{background:#edf3ff;border:1px solid #cfddfa;border-radius:8px;padding:16px;margin:8px 0 20px;text-align:left;font-size:.875rem;line-height:1.6}.install-help p{margin:0 0 12px}.install-help ol{padding-left:22px}.install-help li{margin-bottom:10px}.icon-button svg{width:24px;height:24px;display:block}

.split-entry{border:1px solid var(--line);border-radius:8px;padding:14px;margin:18px 0}.split-entry legend{font-size:.9rem;font-weight:600}.split-analysis{margin:16px 0}.split-analysis svg{width:100%;height:auto}.split-analysis figure{margin:0}.split-analysis figcaption{font-size:.75rem;color:var(--muted)}.split-analysis table{width:100%;font-size:.8rem;border-collapse:collapse}.split-analysis td,.split-analysis th{text-align:left;padding:8px 4px;border-bottom:1px solid var(--line)}.split-setup{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}

.split-range-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:10px;align-items:end;margin:12px 0}.split-range-row button{min-height:48px;border:0;background:transparent;font-size:24px}.split-range-row input{width:100%;min-width:0}.split-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.split-time-grid input{min-width:0;width:100%}.split-setup>summary{padding:14px 0;cursor:pointer}.split-setup>summary span{color:#657080}.library-actions{flex-wrap:wrap}.library-actions button{min-height:44px}.library-delete{color:#a32222}

.warmup-card{min-width:0;border:1px solid var(--line);background:#f5f8ff;border-radius:10px;margin:20px 0;padding:16px}.warmup-card legend{font-weight:700;padding:0 6px}.warmup-card p{margin:8px 0}.warmup-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.warmup-actions button{min-height:44px}.warmup-activities{border:0;margin:12px 0;padding:0}.warmup-activities legend{font-size:.875rem;color:var(--muted)}.warmup-status{font-size:.875rem;line-height:1.5;color:var(--blue)}[data-warmup-editor]{border-top:1px solid var(--line);padding-top:16px}.warmup-card .rep-tag{font-size:.9375rem}.warmup-card input[type=checkbox],#usual-warmup-form input[type=checkbox]{flex-shrink:0}.warmup-overview{border-top:1px solid var(--line);padding-top:20px;margin:24px 0}.duration-editor{margin:20px 0}.duration-editor summary{min-height:44px;display:flex;align-items:center}

/* Performance review form: bounded controls, including native iOS date inputs. */
.review-builder{margin:20px 0 28px;padding:16px;border:1px solid #dce3ed;border-radius:12px;background:#fff;min-width:0;max-width:100%}
.review-builder>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;min-height:44px;color:#243954;font-size:1rem;font-weight:700;line-height:1.4}
.review-builder>summary::-webkit-details-marker{display:none}
.review-builder>summary::after{content:'+';flex:none;color:#5471ad;font-size:1.3rem;font-weight:400}
.review-builder[open]>summary::after{content:'−'}
.review-builder>summary:focus-visible{outline:3px solid #547fff;outline-offset:3px;border-radius:4px}
.review-builder .review-intro{font-size:.875rem;line-height:1.55;color:#586779;margin:8px 0 20px}
.review-builder form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}
.review-builder .setup-field{margin:0;min-width:0;max-width:100%;color:#293b53}
.review-builder [data-review-custom]{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}
.review-builder [hidden]{display:none!important}
.review-builder input,.review-builder select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:52px;min-height:52px;margin-top:8px;border:1px solid #cbd4df;border-radius:6px;padding:10px 12px;background:#fff;color:#182d49;font:inherit;font-size:1rem;text-align:left}
.review-builder input[type=date],.review-builder input[type=month]{-webkit-appearance:none;appearance:none}
.review-builder input::-webkit-date-and-time-value{min-width:0;text-align:left;margin:0}
.review-builder input::-webkit-datetime-edit{display:block;padding:0}
.review-builder .helper{font-size:.8125rem;line-height:1.55;margin:0;color:#637187}
.review-builder .primary{justify-content:center;margin:0;min-height:52px;border-radius:6px}
.review-builder button:disabled{opacity:.65;cursor:wait}
#review-status{font-size:.875rem;line-height:1.5;margin:0;overflow-wrap:anywhere}
#review-status:empty{display:none}


.block-card{border:1px solid #d2d9e0;border-radius:9px;margin:16px 0;background:#fff;overflow:hidden}.block-card>.training-block{border:0;margin:0;border-radius:0}.block-quick-actions{display:grid;grid-template-columns:1fr 1fr .8fr;gap:4px;border-top:1px solid var(--line);padding:4px 8px}.block-quick-actions button{min-height:44px;padding:8px 4px;background:none;border:0;border-radius:5px;color:var(--muted);font:inherit;font-size:.875rem}.block-quick-actions button[data-action="remove"]{color:#a02525}.block-quick-actions button:focus-visible{outline:3px solid #547fff;outline-offset:-3px}.block-quick-actions button:not(:disabled):hover{background:#edf3ff}

.summary-hero strong.work-value{font-size:32px;line-height:1.2;margin-top:14px}.summary-hero .work-value small{display:block;font-size:12px;line-height:1.4;font-weight:500;margin-top:4px}

.update-confirmation{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:1000;background:#162334;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:0 4px 20px #0002;font-size:14px;pointer-events:none;max-width:90vw;text-align:center}.update-confirmation[hidden]{display:none}.resistance-set{border-top:1px solid #d5dde6;padding:12px 0}.resistance-set>summary{padding:8px 0;font-weight:650;cursor:pointer}.resistance-set .setup-grid{margin-top:12px}

/* Session setup visual trial — remove this block to restore the prior design. */
#setup-screen .block-card{border-color:#dce3ed}
#setup-screen .training-block>summary strong{font-weight:700;color:#182d49}
#setup-screen .block-number{color:#2851d5;font-weight:700}
#setup-screen .training-block[open]>summary{border-bottom-color:#e5eaf2}
#setup-screen .sequence-preview{background:#eef4ff;box-shadow:inset 3px 0 #5071e8}
#setup-screen .sequence-preview>span:first-child{color:#405a83;font-weight:600}
#setup-screen .sequence-preview>p{color:#1d3b69}
#setup-screen .sequence-preview small{color:#50627b}
#setup-screen .distance-chips button{border-color:#d5e0f3}
#setup-screen .distance-chips strong{color:#2851d5;font-weight:700}
#setup-screen .distance-choice{background:#f0f3f8}
#setup-screen .distance-choice button[aria-pressed="true"]{background:#e8efff;color:#244ac8;box-shadow:none}
#setup-screen .split-setup,#setup-screen .progressive-intensity,#setup-screen .individual-recovery,#setup-screen .more-options{border-top:1px solid #e4e9f1}
#setup-screen .split-setup>summary,#setup-screen .progressive-intensity>summary,#setup-screen .individual-recovery>summary,#setup-screen .more-options>summary{font-size:.875rem;font-weight:600;line-height:1.5;color:#243954;padding:16px 0;min-height:48px;cursor:pointer}
#setup-screen .split-setup>summary span,#setup-screen .progressive-intensity>summary span{color:#647187;font-weight:400}
#setup-screen .split-setup>summary::marker,#setup-screen .progressive-intensity>summary::marker,#setup-screen .individual-recovery>summary::marker,#setup-screen .more-options>summary::marker{color:#5471ad}
#setup-screen .setup-field{color:#293b53}
#setup-screen .setup-overview h2{color:#1d3555;font-weight:700}
#setup-screen #setup-total{font-weight:600;color:#244572}
/* End session setup visual trial. */

#setup-screen .setting-star{color:#2858df;font-size:.875rem;font-weight:700;margin-left:5px;letter-spacing:0}#setup-screen [data-needs-attention]{border-color:#4268dc;outline:2px solid #c9d8ff;outline-offset:2px}#setup-screen .setting-error{font-size:.875rem;font-weight:400;line-height:1.5;color:#244a98;background:#eef4ff;border-radius:6px;padding:10px 12px;margin:0 0 16px}#setup-screen label:has([data-needs-attention]){scroll-margin-block:24px}

.segment-only [data-split-row]{margin:12px 0}.segment-only [data-split-row]:last-child .setup-field{margin-bottom:0}.segment-only .helper{margin-bottom:14px}

/* Group related block settings in a predictable mobile reading order. */
.setup-category{border-top:1px solid #dce2ec;padding-top:22px;margin-top:24px;min-width:0}
.setup-category>h3{font-family:inherit;font-size:1.05rem;font-weight:750;letter-spacing:-.01em;margin:0 0 18px;color:#16243b}
.setup-category>details>summary{font-size:1.05rem;font-weight:700}
.setup-category .setup-field{min-width:0}
.setup-category .sequence-preview{margin-bottom:16px}
.setup-category .split-setup,.setup-category .more-options{margin:0;border:0;padding:0}
.individual-targets,.distance-options{margin-top:20px}
.target-editor{margin-top:14px;border-top:1px solid #e3e7ef;padding-top:12px}
.target-editor .rep-row{border:0;padding:12px 0 0;margin:0}

.resume-card{position:relative}.resume-card .small-label{padding-right:40px}.clear-saved-setup{position:absolute;top:8px;right:8px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#49607e;font:28px/1 system-ui;cursor:pointer}.clear-saved-setup:hover{background:#dce7ff}.clear-saved-setup:focus-visible{outline:2px solid #1658eb;outline-offset:2px}.clear-saved-setup[hidden],.setup-cleared[hidden]{display:none}.setup-cleared{margin:12px 0;padding:12px 16px;background:#eef3fc;border-radius:10px}.setup-cleared button{min-height:44px;padding:8px 12px}
/* Quick post-session logging: all core results visible, ordered by block and set. */
.log-session-home{display:flex;align-items:center;gap:16px;width:100%;text-align:left;margin:12px 0 20px;padding:20px;border:1px solid #cad8f5;border-radius:12px;background:#edf3ff;color:#15376c;font:inherit;cursor:pointer}.log-session-home>span:nth-child(2){flex:1}.log-session-home strong,.log-session-home small{display:block}.log-session-home strong{font-size:1.05rem}.log-session-home small{margin-top:4px;color:#586373}.post-block{margin:28px 0;border-top:2px solid #dbe5fa;padding-top:12px}.post-result-row{padding:16px 0;border-top:1px solid #dce2ec}.post-rep-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.post-rep-heading small{color:#586373;font-size:.85rem}.post-result-choices{display:flex;gap:6px;margin-bottom:12px}.post-result-choices button{min-height:44px;flex:1;padding:8px;border:1px solid #cbd5e5;border-radius:8px;background:white;color:#34465f;font:inherit;font-size:.9rem}.post-result-choices button[aria-pressed=true]{border-color:#1658eb;background:#eaf0ff;color:#1244b6;font-weight:700}.post-result-row .setup-field{margin-bottom:12px}.post-result-row input{min-width:0;box-sizing:border-box}.post-result-row .split-entry{margin:8px 0;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.post-result-row .split-entry .helper{grid-column:1/-1;margin:0 0 6px}.post-result-row .split-entry label{font-size:.85rem}.post-rep-notes summary{font-size:.85rem;color:#586373}.post-tags{display:flex;flex-wrap:wrap;gap:12px}.post-tags label{display:flex;gap:6px;align-items:center;min-height:44px}.post-tags input{width:auto}.post-feedback{border-top:2px solid #dbe5fa;padding-top:12px}.post-save-bar{padding:16px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid #dce2ec}.post-save-bar>span{color:#586373}.post-result-row [aria-invalid=true]{outline:2px solid #1658eb}.post-skipped .post-rep-heading{color:#687587}#post-session-screen input[type=datetime-local],#setup-session-date{width:100%;max-width:100%;min-width:0;box-sizing:border-box}#post-session-screen [data-post-timing][hidden]{display:none}

.post-result-row .split-entry .helper{display:none}

/* Keep native iOS date controls within the same box as other form inputs. */
.setup-field{min-width:0;max-width:100%}
.setup-screen input[type="datetime-local"]{display:block;-webkit-appearance:none;appearance:none;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:56px;min-height:56px;padding:0 16px;font-family:inherit;font-size:1rem;font-weight:400;line-height:normal;text-align:left}
.setup-screen input[type="datetime-local"]::-webkit-date-and-time-value{display:flex;align-items:center;min-width:0;height:100%;margin:0;text-align:left}
.setup-screen input[type="datetime-local"]::-webkit-datetime-edit{display:inline-flex;align-items:center;min-width:0;padding:0}

.account-status{margin:16px 0 24px;padding:16px;border:1px solid #c7d5f9;border-left:4px solid #1955ef;border-radius:12px;background:#eef3ff;font-size:1rem;overflow-wrap:anywhere}.account-status p{margin:8px 0;line-height:1.5}.account-status button{min-height:44px;margin-right:12px}.account-status[hidden]{display:none}

/* First paint stays branded while saved authentication is checked. */
#main[hidden]{display:none}
.startup-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;text-align:center;gap:0}
.startup-screen img{width:112px;height:112px;object-fit:contain}
.startup-brand{font-size:.8rem;font-weight:700;letter-spacing:.14em;margin:24px 0 12px}
.startup-message{font-size:1.25rem;color:var(--muted);margin:0 0 24px;line-height:1.5}
.startup-track{width:112px;height:3px;background:#dce5fc;border-radius:3px;overflow:hidden}
.startup-track span{display:block;width:40%;height:100%;background:var(--blue);border-radius:3px;animation:startup-speed 1.2s ease-in-out infinite}
@keyframes startup-speed{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
@media(prefers-reduced-motion:reduce){.startup-track span{animation:none;width:100%}}

.trial-card{position:relative;margin:0 0 28px;padding:16px 48px 16px 18px;background:#fff;border:1px solid #dce3ef;border-radius:14px;box-shadow:inset 3px 0 var(--blue);font-size:.875rem;line-height:1.5}
.trial-card[hidden]{display:none}.trial-card-title{display:block;color:#17385c;font-size:.9375rem}.trial-card-detail{margin:6px 0 0;color:var(--muted)}
.trial-close{position:absolute;right:4px;top:4px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--muted);font-size:24px;border-radius:50%;line-height:1}.trial-close:hover{background:#eef3ff;color:var(--blue)}

/* Age declarations use the same readable form controls as sign-in. */
#signup-age,#account-age{display:block;width:100%;min-height:52px;margin:8px 0 16px;padding:12px;font:inherit;color:#10191d;background:#fff;border:1px solid #9da8b6;border-radius:8px;}
#signup-age:focus-visible,#account-age:focus-visible{outline:3px solid #1951ef;outline-offset:3px;}
.withdrawal-dialog{width:min(92vw,520px);max-height:85dvh;overflow:auto;border:1px solid #d5dce5;border-radius:16px;padding:24px;color:#102238;background:white;font-size:1rem;line-height:1.5}.withdrawal-dialog::backdrop{background:#10223866}.withdrawal-dialog h2{font-size:1.25rem;margin:0 0 12px}.withdrawal-dialog label{display:block;margin:16px 0 8px}.withdrawal-dialog input:not([type=checkbox]){width:100%;padding:12px;font:inherit;border:1px solid #8693a3;border-radius:8px}.withdrawal-dialog .notice-confirm{display:flex;align-items:flex-start;gap:10px}.withdrawal-dialog .notice-confirm input{width:20px;height:20px;margin:3px 0;flex-shrink:0}.withdrawal-dialog button{min-height:44px}.withdrawal-entry{min-height:44px;background:transparent;color:#1951ef;font-weight:400;font-size:.875rem;padding:8px 0}.withdrawal-dialog [hidden]{display:none!important}
