/* Weekly plan, session detail and setup; screen layout matches the supplied design. */
.p-app { background:var(--ground,#F1F1EE); color:var(--ink,#15171A); font-family:Barlow,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.p-app *, .p-app *::before, .p-app *::after { box-sizing:border-box; }
.p-app h1,.p-app h2,.p-app h3,.p-app p,.p-app blockquote { margin:0; }
.p-app button,.p-app a { -webkit-tap-highlight-color:transparent; }
.p-app button { cursor:pointer; }
.p-app button:disabled { opacity:.35; cursor:default; }
.p-app button:focus-visible,.p-app a:focus-visible { outline:3px solid var(--ink,#15171A); outline-offset:2px; }
.p-app [hidden] { display:none!important; }
.p-app h1,.p-app h2,.p-app h3,.p-app strong,.p-button,.p-audience,.p-pace-chip,.p-confidence,.p-part-label,.p-rest-week-label { font-family:"Barlow Condensed","Arial Narrow",sans-serif; }
.p-app svg { display:inline-block; width:18px; height:18px; vertical-align:middle; flex-shrink:0; }
.p-button { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:9px 13px; border:1px solid var(--line,#CFD0CB); border-radius:6px; background:#fff; color:var(--ink,#15171A); font-size:15px; font-weight:700; letter-spacing:.06em; line-height:1.15; text-transform:uppercase; text-decoration:none; }
.p-button:hover:not(:disabled) { border-color:var(--ink,#15171A); }
.p-button.is-primary { border-color:var(--ink,#15171A); background:var(--ink,#15171A); color:#fff; }
.p-button.is-white { background:#fff; border-color:#fff; color:var(--ink,#15171A); }
.p-button.is-dark { border-color:#55595E; background:transparent; color:#fff; }
.p-text-button { padding:0; border:0; background:transparent; text-decoration:underline; text-underline-offset:3px; }
.p-button.is-primary:focus-visible,.p-button.is-dark:focus-visible { outline-color:#fff; }
.p-section-title { display:flex; align-items:center; gap:8px; font-size:16px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.p-section-title::before { content:""; width:16px; height:4px; flex-shrink:0; background:var(--tartan,#B9442C); }
.p-help,.p-muted { color:var(--muted,#55595E); font-size:13px; line-height:1.5; }
.p-weekbar { padding:12px 16px 14px; border-bottom:1px solid var(--line-soft,#D9DAD5); }
.p-weekbar-line { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.p-week-nav { display:grid; align-items:center; grid-template-columns:44px minmax(66px,1fr) 44px; gap:6px; flex:1; min-width:0; }
.p-week-nav .p-icon-button { width:44px; height:44px; padding:0; }
.p-week-nav > div { display:flex; flex-direction:column; align-items:center; gap:2px; text-align:center; }
.p-week-nav > div > strong { font-size:21px; font-weight:800; line-height:1; text-transform:uppercase; white-space:nowrap; }
.p-week-nav > div > span { font-size:12px; line-height:1.2; color:var(--muted,#55595E); }
.p-profile-pill { flex-shrink:0; max-width:49%; min-width:0; display:flex; gap:7px; padding:10px 12px; border-radius:999px; font-family:Barlow,sans-serif; font-size:13px; font-weight:600; letter-spacing:0; text-transform:none; }
.p-profile-pill > span:not(.p-profile-dot) { min-width:0; text-align:left; }
.p-profile-pill svg { width:12px; height:12px; }
.p-profile-dot { display:inline-block; width:10px; height:10px; flex-shrink:0; border-radius:50%; background:var(--ink,#15171A); }
.p-profile-dot[data-group="A"] { background:#5B9A4A; }
.p-profile-dot[data-group="B"] { background:#E2B23A; }
.p-profile-dot[data-group="C"] { background:#4C7CC4; }
.p-profile-dot[data-group="D"] { background:#DE8A3E; }
.p-profile-dot[data-group="D/E"] { background:#8A2A1C; }
.p-profile-dot[data-group="E"] { background:#A65C82; }
.p-profile-dot[data-group="F"] { background:#457582; }
.p-profile-dot[data-group="G"] { background:#C23A2B; }
.p-week-notes { margin-top:10px!important; font-size:13px; line-height:1.45; color:var(--muted,#55595E); }
.p-onboarding { padding:12px 16px; border-bottom:1px solid var(--line-soft,#D9DAD5); background:#fff; font-size:14px; line-height:1.5; }
.p-onboarding .p-text-button { margin-left:4px; }
.p-demo-notice,.p-status-message { padding:10px 16px; font-size:13px; line-height:1.45; color:var(--alert-text,#9E3A25); background:var(--tartan-tint,#B9442C1F); }
.p-today { padding:20px 16px 22px; background:var(--ink,#15171A); color:#fff; }
.p-today-heading { display:flex; flex-direction:column; gap:10px; }
.p-today-heading > p:first-child { font-family:"Barlow Condensed",sans-serif; color:var(--on-dark-muted,#A9ACB0); font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.p-today-heading h1 { font-size:40px; font-weight:800; line-height:1; text-transform:uppercase; }
.p-place { display:flex; align-items:flex-start; gap:8px; color:var(--muted,#55595E); font-size:13px; line-height:1.5; }
.p-place svg { width:14px; height:18px; margin-top:1px; }
.p-today .p-place,.p-session-hero .p-place { color:var(--on-dark-soft,#C9CBCE); font-size:14px; }
.p-place.is-tba { color:var(--alert-text,#9E3A25); }
.p-hero-result { margin:14px 0 0; background:var(--tartan,#B9442C); border-top:2px solid #fff; border-bottom:2px solid #fff; color:#fff; }
.p-hero-title { padding:14px 16px 16px; }
.p-hero-title > div { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.p-audience { display:inline-flex; align-items:center; padding:5px 8px; border-radius:4px; background:var(--ink,#15171A); color:#fff; font-size:12px; font-weight:700; letter-spacing:.1em; line-height:1; text-transform:uppercase; }
.p-audience.is-club { background:var(--tartan,#B9442C); }
.p-audience.is-other { background:var(--line-faint,#E2E2DD); color:var(--ink,#15171A); }
.p-hero-title .p-audience { background:#fff; color:var(--ink,#15171A); }
.p-pace-chip { display:inline-block; padding:5px 8px; border-radius:4px; background:var(--tartan-chip,#B9442C24); color:var(--ink,#15171A); font-size:13px; font-weight:700; line-height:1.1; }
.p-hero-title .p-pace-chip { background:rgba(0,0,0,.2); color:#fff; }
.p-hero-title h2 { font-size:44px; font-weight:800; line-height:1; }
.p-hero-lane { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:88px; padding:14px 16px; border-top:2px solid #fff; }
.p-hero-lane > div { display:flex; flex-direction:column; gap:3px; }
.p-hero-lane > div:first-child > strong { font-size:17px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.p-hero-lane > div:first-child > span { font-size:12px; font-weight:500; }
.p-hero-lane > div:last-child { text-align:right; }
.p-hero-lane > div:last-child > strong { font-size:42px; font-weight:700; line-height:1; }
.p-hero-lane small { font-size:12px; font-weight:500; }
.p-hero-note { margin:14px 0 16px!important; color:var(--on-dark-soft,#C9CBCE); font-size:14px; font-style:italic; line-height:1.5; }
.p-hero-actions { display:flex; gap:8px; margin-top:14px; }
.p-hero-actions > .p-button:first-child { flex:1; }
.p-hero-actions > .p-button { min-height:50px; font-size:16px; }
.p-original-button { flex-shrink:0; }
.p-original-panel { padding:14px; border-radius:6px; background:var(--fill-muted,#E7E7E2); color:var(--text-soft,#3A3D41); }
.p-original-panel h3 { font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted,#55595E); margin-bottom:5px; }
.p-original-panel p { font-size:14px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.p-today > .p-original-panel { margin-top:14px; background:var(--dark-3,#24272B); color:var(--on-dark-soft,#C9CBCE); }
.p-today > .p-original-panel h3 { color:var(--on-dark-muted,#A9ACB0); }
.p-today-rest { padding:12px 16px 0; display:flex; flex-direction:column; gap:10px; }
.p-week-days { display:flex; flex-direction:column; gap:28px; padding:28px 16px 0; }
.p-rest-week-label { font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--muted,#55595E); margin-bottom:-14px!important; }
.p-day { display:flex; flex-direction:column; gap:10px; }
.p-day-heading { display:flex; flex-direction:column; gap:6px; }
.p-day-heading h2 { display:flex; align-items:center; gap:8px; font-size:24px; font-weight:800; line-height:1.15; text-transform:uppercase; }
.p-day-heading h2::before { content:""; display:inline-block; width:16px; height:4px; flex-shrink:0; background:var(--tartan,#B9442C); }
.p-event { color:var(--alert-text,#9E3A25); font-family:"Barlow Condensed",sans-serif; font-size:16px; font-weight:700; }
.p-no-own { color:var(--muted,#55595E); font-size:14px; line-height:1.5; }
.p-card { border:1px solid var(--line-soft,#D9DAD5); border-radius:10px; overflow:hidden; background:#fff; }
.p-card.is-coming { border:1px dashed #9C9E99; }
.p-card-header { display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:10px 14px; border-bottom:1px solid var(--line-faint,#E2E2DD); }
.p-card-header > h3 { font-size:17px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.p-card-header > .p-confidence { margin-left:auto; }
.p-confidence { display:inline-block; padding:4px 7px; border:1.5px solid var(--ink,#15171A); border-radius:4px; color:var(--ink,#15171A); background:#fff; font-size:12px; font-weight:700; line-height:1; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.p-card-body { display:flex; flex-direction:column; gap:14px; padding:14px; }
.p-part,.p-segment { display:flex; flex-direction:column; gap:8px; }
.p-part + .p-part { margin-top:12px; }
.p-part-label { font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted,#55595E); margin-bottom:6px!important; }
.p-part > .p-segment + .p-segment { margin-top:12px; }
.p-segment-heading { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.p-segment-heading > h3 { font-size:26px; font-weight:800; line-height:1; }
.p-segment-heading > strong { font-size:25px; font-weight:700; line-height:1; white-space:nowrap; }
.p-segment-heading > strong > small { font-family:Barlow,sans-serif; font-size:12px; font-weight:600; margin-left:2px; }
.p-missing-text { font-size:18px; }
.p-segment-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.p-segment-meta > span:last-child:not(.p-pace-chip) { color:var(--muted,#55595E); font-size:12px; line-height:1.3; text-align:right; }
.p-segment-meta .p-pace-chip { max-width:100%; overflow-wrap:anywhere; }
.p-segment-actions { display:flex; margin-top:6px; }
.p-segment-actions > .p-button { flex:1; }
.p-ladder-title { overflow-wrap:anywhere; font-size:24px!important; line-height:1.15!important; }
.p-plain-segment { font-size:16px; font-weight:600; line-height:1.45; }
.p-stats { display:flex; flex-wrap:wrap; gap:6px; }
.p-stat { display:flex; flex-direction:column; gap:3px; min-width:0; padding:9px; border-radius:6px; background:var(--ground,#F1F1EE); }
.p-stats > .p-stat { flex:1; min-width:76px; }
.p-stat > span { color:var(--muted,#55595E); font-size:11px; font-weight:600; line-height:1.2; text-transform:uppercase; }
.p-stat > strong { font-size:22px; font-weight:700; line-height:1.05; }
.p-stat > small { color:var(--muted,#55595E); font-size:11px; line-height:1.3; }
.p-card-actions { display:flex; align-items:stretch; gap:8px; }
.p-card-actions > .is-primary { flex:1; }
.p-coach-note,.p-aside { font-size:14px; line-height:1.5; color:var(--text-soft,#3A3D41); }
.p-coach-comment { padding:14px; background:#fff; border:1px solid var(--line-soft,#D9DAD5); border-radius:8px; }
.p-coach-comment h3 { font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted,#55595E); margin-bottom:6px; }
.p-coach-comment p { font-size:15px; line-height:1.5; font-style:italic; }
.p-card-body .p-coach-comment { background:var(--ground,#F1F1EE); border:0; }
.p-status-title { font-size:26px; font-weight:800; }
.p-card.is-race { background:var(--tartan,#B9442C); color:#fff; }
.p-card.is-race .p-button { background:#fff; color:var(--ink,#15171A); }
.p-unparsed .p-original-panel { margin-top:4px; }
.p-other { display:flex; flex-direction:column; gap:10px; }
.p-other-toggle { width:100%; min-height:48px; padding:12px 14px; justify-content:space-between; border-color:var(--line-soft,#D9DAD5); border-radius:8px; background:var(--fill-muted,#E7E7E2); text-align:left; }
.p-other-toggle > span { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.p-other-toggle strong { font-size:15px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.p-other-toggle > span > span { font-family:Barlow,sans-serif; font-size:13px; font-weight:400; letter-spacing:0; text-transform:none; color:var(--muted,#55595E); }
.p-other-toggle svg { transition:transform .15s; }
.p-other-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.p-other-panel { display:flex; flex-direction:column; gap:10px; }
.p-footer { padding:28px 16px 30px; font-size:12px; line-height:1.5; color:var(--muted,#55595E); }
.p-footer > strong { display:block; margin-top:6px; font-family:Barlow,sans-serif; font-size:13px; font-weight:600; color:var(--alert-text,#9E3A25); }
.p-unavailable { display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding:28px 16px; }
.p-unavailable h1 { font-size:40px; font-weight:800; text-transform:uppercase; }
.p-unavailable p { font-size:16px; line-height:1.5; }
.p-setup-intro { padding:24px 16px 8px; }
.p-setup-intro h1 { font-size:40px; line-height:1; font-weight:800; text-transform:uppercase; }
.p-setup-intro p { margin-top:6px; color:var(--muted,#55595E); font-size:14px; line-height:1.45; }
.p-setup-section { display:flex; flex-direction:column; gap:12px; padding:20px 16px 0; }
.p-setup-section + .p-setup-section { padding-top:32px; }
.p-setup-section > p { font-size:13px; line-height:1.5; color:var(--muted,#55595E); }
.p-race-list { display:flex; flex-direction:column; gap:8px; }
.p-race-choice { display:flex; align-items:center; justify-content:flex-start; gap:14px; min-height:64px; padding:10px 14px; border:2px solid var(--line-soft,#D9DAD5); border-radius:8px; text-align:left; letter-spacing:0; text-transform:none; }
.p-race-choice[aria-pressed="true"] { border-color:var(--ink,#15171A); }
.p-checkbox { width:26px; height:26px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border:2px solid var(--ink,#15171A); border-radius:5px; background:#fff; color:#fff; }
.p-checkbox svg { width:19px; height:19px; }
.p-race-choice[aria-pressed="true"] .p-checkbox { background:var(--ink,#15171A); }
.p-race-choice > span:last-child { display:flex; flex-direction:column; gap:3px; min-width:0; }
.p-race-choice strong { font-size:19px; line-height:1.05; font-weight:700; text-transform:uppercase; }
.p-race-choice small { color:var(--muted,#55595E); font-family:Barlow,sans-serif; font-size:13px; font-weight:400; line-height:1.35; }
.p-profile-card { display:flex; flex-direction:column; gap:12px; padding:14px; border:1px solid var(--line-soft,#D9DAD5); border-radius:10px; background:#fff; }
.p-profile-card > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.p-profile-card h3 { font-size:24px; line-height:1; font-weight:800; text-transform:uppercase; }
.p-profile-paces { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.p-profile-paces .p-stat { align-items:center; gap:2px; padding:8px 4px; }
.p-profile-paces .p-stat > span { color:var(--ink,#15171A); font-family:"Barlow Condensed",sans-serif; font-size:13px; font-weight:700; letter-spacing:.1em; }
.p-profile-paces .p-stat strong { font-size:22px; }
.p-extra-card { display:flex; flex-direction:column; gap:12px; padding:14px; border:1px solid var(--line-soft,#D9DAD5); border-radius:10px; background:#fff; }
.p-extra-card > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.p-extra-card h3 { font-size:20px; font-weight:700; text-transform:uppercase; }
.p-extra-card > div:first-child > strong { font-size:24px; color:var(--muted,#55595E); }
.p-extra-card small { margin-left:2px; font-family:Barlow,sans-serif; font-size:12px; }
.p-set-pace { width:100%; min-height:44px; border:2px solid var(--ink,#15171A); font-size:16px; font-weight:700; letter-spacing:.03em; }
.p-pace-stepper { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.p-pace-stepper > .p-button { font-size:18px; min-height:44px; }
.p-plan-status-card { display:flex; flex-direction:column; gap:14px; padding:14px; border:1px solid var(--line-soft,#D9DAD5); border-radius:10px; background:#fff; }
.p-plan-status-card > p { font-size:15px; line-height:1.5; }
.p-plan-status-card > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.p-plan-status-card > div > span { font-size:13px; line-height:1.4; color:var(--muted,#55595E); }
.p-plan-status-card .p-status-message { padding:10px; }
.p-session-hero { display:flex; flex-direction:column; align-items:flex-start; gap:14px; padding:20px 16px 24px; background:var(--ink,#15171A); color:#fff; }
.p-session-date { color:var(--on-dark-muted,#A9ACB0); font-family:"Barlow Condensed",sans-serif; font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.p-session-hero > .p-place { margin-top:-6px; }
.p-session-hero h1 { font-size:38px; line-height:1; font-weight:800; overflow-wrap:anywhere; }
.p-session-scoreboard { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; margin-top:2px; border-top:2px solid #fff; border-bottom:2px solid #fff; background:var(--tartan,#B9442C); }
.p-session-scoreboard > div { display:flex; flex-direction:column; gap:7px; padding:12px; border-right:2px solid #fff; min-width:0; }
.p-session-scoreboard > div:last-child { border:0; }
.p-session-scoreboard > div > span { font-family:"Barlow Condensed",sans-serif; font-size:14px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.p-session-scoreboard strong { font-size:34px; line-height:1; font-weight:700; white-space:nowrap; }
.p-session-scoreboard small { font-size:16px; font-weight:600; margin-left:2px; }
.p-session-content { display:flex; flex-direction:column; gap:16px; padding:20px 16px 28px; }
.p-warning { display:flex; align-items:flex-start; gap:12px; padding:16px; margin-bottom:0; border:2px solid var(--ink,#15171A); border-radius:8px; background:var(--tartan-tint,#B9442C1F); }
.p-warning > svg { width:22px; height:22px; margin-top:1px; }
.p-warning h2 { font-size:17px; font-weight:700; text-transform:uppercase; }
.p-warning p { font-size:14px; line-height:1.45; margin-top:6px; }
.p-step-card { display:flex; align-items:stretch; border:1px solid var(--line-soft,#D9DAD5); border-radius:8px; overflow:hidden; background:#fff; }
.p-step-card.is-missing { border-color:var(--ink,#15171A); }
.p-step-distance { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:72px; flex-shrink:0; background:var(--tartan,#B9442C); color:#fff; }
.p-step-distance > strong { font-size:30px; line-height:1; font-weight:800; }
.p-step-distance > span { font-family:"Barlow Condensed",sans-serif; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.p-step-body { display:flex; flex:1; min-width:0; flex-direction:column; gap:12px; padding:14px 12px; }
.p-step-heading { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.p-step-heading h2 { font-size:18px; font-weight:700; line-height:1.05; text-transform:uppercase; }
.p-step-heading > strong { font-size:26px; font-weight:700; white-space:nowrap; }
.p-step-heading small { font-family:Barlow,sans-serif; color:var(--muted,#55595E); font-size:12px; margin-left:2px; }
.p-step-body .p-stats { gap:6px; }
.p-step-body .p-stat { padding:8px; min-width:60px; flex:0 1 auto; }
.p-step-body .p-stat > strong { font-size:21px; }
.p-step-body .p-stat > span { font-size:11px; }
.p-step-body .p-text-button { justify-content:flex-start; text-align:left; font-size:16px; }
.p-missing-description { font-size:13px; line-height:1.45; color:var(--muted,#55595E); }
.p-rest-line { border-left:2px solid #B8BAB5; margin:-8px 0 -8px 36px!important; padding:4px 0 4px 10px; color:var(--muted,#55595E); font-size:13px; font-weight:600; }
.p-session-total { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 16px; border-radius:8px; background:var(--ink,#15171A); color:#fff; }
.p-session-total > strong { font-size:16px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.p-session-total > span { font-size:13px; line-height:1.4; text-align:right; }
.p-session-footnote { font-size:13px; line-height:1.5; color:var(--muted,#55595E); }
@media(max-width:360px) {
  .p-weekbar-line { flex-wrap:wrap; }
  .p-week-nav { min-width:100%; }
  .p-profile-pill { max-width:100%; width:100%; }
  .p-profile-pill > span:not(.p-profile-dot) { flex:1; }
  .p-hero-title { padding:12px; }
  .p-hero-title h2 { font-size:38px; }
  .p-hero-lane { padding:12px; gap:8px; }
  .p-hero-lane > div:last-child > strong { font-size:38px; }
  .p-segment-heading > h3 { font-size:23px; }
  .p-segment-heading > strong { font-size:23px; }
  .p-segment-meta { flex-wrap:wrap; }
  .p-stat > strong { font-size:21px; }
  .p-session-scoreboard > div { padding:10px; }
  .p-session-scoreboard strong { font-size:29px; }
  .p-step-distance { width:60px; }
  .p-step-distance > strong { font-size:27px; }
  .p-step-body { padding:12px 9px; gap:10px; }
  .p-step-heading > strong { font-size:23px; }
  .p-step-body .p-stat { padding:7px; }
  .p-step-body .p-stat > strong { font-size:20px; }
  .p-setup-intro h1 { font-size:38px; }
  .p-race-choice { gap:10px; padding:12px; }
  .p-race-choice strong { font-size:18px; }
  .p-race-choice small { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .p-other-toggle svg { transition:none; } }

.p-week-date-range { margin-top:8px!important; font-size:14px; font-weight:500; line-height:1.4; color:var(--muted,#55595E); }

.p-session-part { display:flex; flex-direction:column; gap:16px; }
.p-session-part > .p-part-label { font-size:17px; margin:4px 0 0!important; }

/* Readability update: practical choices first, numbers retain the track identity. */
.p-app { font-size:16px; line-height:1.5; }
.p-app h1,.p-app h2,.p-app h3,.p-app strong,.p-button,.p-audience,.p-pace-chip,.p-confidence,.p-part-label,.p-rest-week-label { font-family:Barlow,system-ui,sans-serif; letter-spacing:0; text-transform:none; }
.p-button { font-size:16px; font-weight:600; line-height:1.35; letter-spacing:0; text-transform:none; }
.p-section-title { font-size:20px; line-height:1.3; letter-spacing:0; text-transform:none; }
.p-help,.p-muted,.p-week-notes,.p-status-message,.p-place,.p-no-own,.p-footer,.p-original-panel h3,.p-original-panel p,.p-coach-comment h3,.p-missing-description,.p-rest-line,.p-session-footnote,.p-setup-section > p,.p-race-choice small,.p-plan-status-card > div > span { font-size:14px; line-height:1.5; }
.p-today-heading > p:first-child,.p-session-date,.p-rest-week-label,.p-part-label,.p-stat > span,.p-stat > small,.p-profile-paces .p-stat > span,.p-audience,.p-pace-chip,.p-confidence,.p-segment-meta > span:last-child:not(.p-pace-chip),.p-hero-lane small,.p-hero-lane > div:first-child > span { font-family:Barlow,system-ui,sans-serif; font-size:14px; line-height:1.5; letter-spacing:0; text-transform:none; }
.p-today-heading h1,.p-day-heading h2,.p-setup-intro h1,.p-session-hero h1,.p-unavailable h1 { font-family:Barlow,system-ui,sans-serif; font-size:28px; font-weight:700; line-height:1.2; letter-spacing:0; text-transform:none; }
.p-segment-heading > h3 { font-size:23px; line-height:1.25; }
.p-hero-title h2 { font-size:30px; line-height:1.2; }
.p-hero-lane > div:first-child > strong,.p-card-header > h3,.p-race-choice strong,.p-profile-card h3,.p-extra-card h3,.p-other-toggle strong,.p-step-heading h2,.p-warning h2,.p-original-panel h3 { font-family:Barlow,system-ui,sans-serif; letter-spacing:0; text-transform:none; }
.p-hero-lane > div:last-child > strong,.p-stat > strong,.p-segment-heading > strong,.p-step-heading > strong,.p-step-distance > strong,.p-session-scoreboard strong { font-family:"Barlow Condensed",sans-serif; }
.p-stat > span { font-size:14px; }
.p-stats { gap:0; border-top:1px solid var(--line-soft,#D9DAD5); padding-top:10px; }
.p-stats > .p-stat { background:transparent; border-radius:0; padding:4px 8px 4px 0; }
.p-card-body { gap:18px; padding:18px; }
.p-training-choice { padding:24px 16px; display:flex; flex-direction:column; gap:12px; background:#fff; border-bottom:1px solid var(--line-soft,#D9DAD5); }
.p-training-targets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:4px; }
.p-training-target { min-height:80px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; padding:12px; text-align:left; border:2px solid var(--line-soft,#D9DAD5); }
.p-training-target strong { font-size:18px; line-height:1.25; }
.p-training-target span { font-size:14px; font-weight:400; line-height:1.4; }
.p-training-target[aria-pressed="true"] { border-color:var(--ink,#15171A); background:var(--ink,#15171A); color:#fff; }
.p-level-picker { display:flex; flex-direction:column; gap:6px; padding-top:12px; margin-top:4px; border-top:1px solid var(--line-soft,#D9DAD5); }
.p-level-picker > div { display:flex; flex-direction:column; gap:6px; }
.p-level-picker label { font-size:16px; font-weight:600; }
.p-level-picker select { width:100%; min-height:46px; border:1px solid var(--line,#CFD0CB); border-radius:6px; padding:8px 12px; font:inherit; font-size:16px; background:#fff; color:var(--ink,#15171A); }
.p-level-picker > p { font-size:14px; color:var(--muted,#55595E); }
.p-level-picker .p-text-button { align-self:flex-start; min-height:44px; }
.p-week-nav > div > strong { font-size:22px; }
.p-weekbar-line { flex-wrap:wrap; }
.p-week-nav { flex-basis:100%; }
.p-profile-pill { display:none; }
.p-profile-paces { grid-template-columns:repeat(2,minmax(0,1fr)); }
.p-session-total { align-items:flex-start; flex-direction:column; }
.p-session-total > span { font-size:16px; text-align:left; }

.p-workout-summary { padding:18px; background:var(--tartan-tint,#B9442C1F); border:1px solid var(--tartan,#B9442C); border-radius:8px; display:flex; flex-direction:column; gap:8px; color:var(--ink,#15171A); }
.p-workout-summary > div:first-child { display:flex; flex-direction:column; gap:2px; }
.p-workout-summary > div:first-child > span { font-size:16px; font-weight:600; }
.p-workout-summary > div:first-child > strong { font-family:"Barlow Condensed",sans-serif; font-size:38px; line-height:1.1; }
.p-workout-summary p { font-size:16px; line-height:1.5; }
.p-workout-summary .p-workout-distance { padding-top:8px; border-top:1px solid #B9442C35; }
.p-today > .p-workout-summary { margin-top:16px; background:#fff; border-color:#fff; }
.p-estimate-notes { font-size:14px; }
.p-estimate-notes summary,.p-recovery-settings > summary { cursor:pointer; min-height:44px; display:flex; align-items:center; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.p-estimate-notes ul { padding-left:20px; margin:6px 0 0; }
.p-estimate-notes li + li { margin-top:6px; }
.p-estimated-label { font-size:14px; color:var(--alert-text,#9E3A25); }
.p-recovery-settings { padding:10px 16px; border:1px solid var(--line-soft,#D9DAD5); border-radius:8px; background:#fff; }
.p-recovery-settings > div { display:flex; flex-direction:column; gap:12px; padding:10px 0; }
.p-recovery-settings h3 { font-size:18px; }
.p-recovery-modes { display:flex; gap:8px; }
.p-recovery-modes > button { flex:1; }
.p-recovery-modes > button[aria-pressed="true"],.p-alternative-choice button[aria-pressed="true"] { background:var(--ink,#15171A); border-color:var(--ink,#15171A); color:#fff; }
.p-rest-input { display:flex; flex-direction:column; gap:6px; font-weight:600; }
.p-rest-input > span { display:flex; align-items:center; gap:8px; }
.p-rest-input input { min-height:44px; width:110px; padding:8px 10px; border:1px solid var(--line,#CFD0CB); border-radius:6px; font:inherit; font-size:18px; background:#fff; color:var(--ink,#15171A); }
.p-rest-input input[aria-invalid="true"] { border-color:var(--tartan,#B9442C); }
.p-reps-choice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border:1px solid var(--line-soft,#D9DAD5); border-radius:8px; background:#fff; }
.p-reps-choice p { display:flex; flex-direction:column; gap:2px; }
.p-reps-choice p > span { font-size:14px; color:var(--muted,#55595E); }
.p-reps-choice > div { display:flex; gap:6px; }
.p-reps-choice button { min-width:44px; font-size:22px; }
.p-alternative-choice { display:flex; flex-direction:column; gap:10px; }
.p-alternative-choice h2 { font-size:20px; }
.p-alternative-choice > div { display:flex; gap:8px; }
.p-alternative-choice button { flex:1; }

.p-hero-actions { flex-wrap:wrap; }
.p-hero-actions > .p-original-button { flex:0 0 auto; }
.p-hero-actions > .p-button:not(.p-original-button) { flex:1 1 40%; }
.p-today > .p-reps-choice,.p-today > .p-alternative-choice { margin-top:16px; color:var(--ink,#15171A); }

.p-training-targets { grid-template-columns:repeat(3,minmax(0,1fr)); }
.p-training-target { min-height:96px; padding:10px; }
.p-training-target strong { font-size:16px; }
.p-level-picker > div { flex-direction:row; align-items:center; gap:10px; }
.p-level-picker label { flex-shrink:0; }
.p-level-picker select { flex:1; min-width:0; }
@media(max-width:360px) { .p-training-targets { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.p-distance-choice { display:flex; flex-direction:column; gap:8px; }
.p-distance-choice h2 { font-size:18px; }
.p-distance-choice > div { display:flex; gap:8px; }
.p-distance-choice button { flex:1; }
.p-distance-choice button[aria-pressed="true"] { background:var(--ink,#15171A); color:#fff; border-color:var(--ink,#15171A); }

.p-recovery-settings > summary > span { display:flex; flex-direction:column; gap:3px; }
.p-recovery-settings > summary small { display:block; font-size:14px; font-weight:400; line-height:1.5; text-decoration:none; color:var(--muted,#55595E); }

.p-training-target { min-height:88px; }
.p-training-target span { font-size:14px; }
.p-workout-summary > div:first-child > span { font-size:14px; }

.p-level-picker > .p-level-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.p-level-actions > .p-button { min-height:44px; font-size:15px; }

.p-step-body .p-stat > span,.p-step-body .p-stat > small,.p-step-heading small,.p-step-distance > span,.p-extra-card small,.p-other-toggle > span > span { font-family:Barlow,system-ui,sans-serif; font-size:14px; line-height:1.5; letter-spacing:0; text-transform:none; }
.p-session-scoreboard > div > span { font-family:Barlow,system-ui,sans-serif; letter-spacing:0; text-transform:none; }
.p-workout-summary.is-incomplete { background:#fff; border-color:var(--line-soft,#D9DAD5); }
.p-workout-summary.is-incomplete > strong { font-size:18px; }
.p-workout-summary.is-incomplete > p { font-size:14px; }

.p-session-scoreboard strong { font-size:28px; }
.p-session-content > .p-level-picker { padding:16px; border:1px solid var(--line-soft,#D9DAD5); border-radius:8px; background:#fff; }

.p-distance-adaptation { font-size:14px; line-height:1.5; padding:10px 12px; border-left:3px solid var(--tartan,#B9442C); background:var(--tartan-tint,#B9442C1F); color:var(--ink,#15171A); }
.p-distance-adaptation.is-dark { margin-top:12px; background:#fff; }
