:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f5f1;--surface:#fcfcfb;--surface-2:#efeee9;--border:#dddcd5;--text:#0b0b0b;--text-2:#52514e;--text-3:#6c6b66;--accent:#1c5cab;--accent-text:#fff;--accent-soft:#cde2fb;--series-1:#2a78d6;--series-2:#eb6834;--series-3:#1baf7a;--elevation:#8a8980;--zone-none:#d9d8d1;--grid:#e4e3dd;--ok:#1f7a3a;--ok-soft:#dcf0e2;--warn:#8a5a00;--warn-soft:#fbefd2;--error:#b3261e;--error-soft:#fbe1df;--kind-warmup:#d08a12;--kind-work:#d9482b;--kind-recovery:#1b9e6f;--kind-rest:#8e8c84;--kind-run:#2a78d6;--kind-cooldown:#7a5fc6;--kind-repeat:#52514e;--radius:14px;--shadow:0 1px 2px #0000000f;--nav-height:64px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.5}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#161615;--surface:#1f1f1e;--surface-2:#2a2a28;--border:#3a3a37;--text:#f0efec;--text-2:#c3c2b7;--text-3:#a3a29a;--accent:#5598e7;--accent-text:#0b0b0b;--accent-soft:#184f95;--series-1:#3987e5;--series-2:#d95926;--series-3:#199e70;--elevation:#8f8e86;--zone-none:#45453f;--grid:#33332f;--ok:#6fcf8a;--ok-soft:#1d3a26;--warn:#f0c060;--warn-soft:#3d3016;--error:#ff8a80;--error-soft:#47201d;--kind-warmup:#e6a33a;--kind-work:#f0694c;--kind-recovery:#2fbf8b;--kind-rest:#8f8e86;--kind-run:#4b93ea;--kind-cooldown:#9b83e0;--kind-repeat:#c3c2b7}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{min-height:100dvh;overflow-x:hidden}img,svg{max-width:100%}a{color:var(--accent)}h1,h2,h3,h4{margin:0 0 .5rem;line-height:1.25}h1{font-size:1.5rem}h2{font-size:1.1rem}h3{margin-top:.5rem;font-size:1rem}p{margin:0 0 .5rem}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--surface);padding:.5rem 1rem;position:absolute;top:0;left:-999px}.skip-link:focus{left:1rem}.app{min-height:100dvh}.topbar{z-index:20;padding:calc(.5rem + var(--safe-top)) calc(1rem + var(--safe-right)) .5rem calc(1rem + var(--safe-left));background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--border);align-items:center;gap:1rem;display:flex;position:sticky;top:0}.brand{color:var(--text);align-items:center;gap:.5rem;min-height:44px;font-weight:700;text-decoration:none;display:flex}.topnav{gap:.25rem;margin-left:1rem;display:none}.topnav a{color:var(--text-2);border-radius:999px;padding:.5rem .75rem;text-decoration:none}.topnav a.active{background:var(--accent-soft);color:var(--text)}.account-link{place-items:center;min-width:44px;min-height:44px;margin-left:auto;text-decoration:none;display:grid}.avatar{background:var(--accent);width:36px;height:36px;color:var(--accent-text);border-radius:50%;place-items:center;font-weight:700;display:grid}.main{padding:1rem calc(1rem + var(--safe-right)) calc(var(--nav-height) + var(--safe-bottom) + 1.5rem) calc(1rem + var(--safe-left));outline:none;max-width:1100px;margin:0 auto}.bottomnav{z-index:30;padding:0 var(--safe-right) var(--safe-bottom) var(--safe-left);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(5,1fr);transition:transform .15s;display:grid;position:fixed;bottom:0;left:0;right:0}.bottomnav-hidden{transform:translateY(110%)}.bottomnav a{min-height:var(--nav-height);color:var(--text-2);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.72rem;text-decoration:none;display:flex}.bottomnav a.active{color:var(--accent);font-weight:600}@media (width>=900px){.topnav{display:flex}.bottomnav{display:none}.main{padding-bottom:2rem}}.offline-banner,.update-banner{text-align:center;padding:.6rem 1rem;font-size:.9rem}.offline-banner{background:var(--warn-soft);color:var(--warn)}.update-banner{background:var(--accent-soft);flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;display:flex}.update-actions{gap:.5rem;display:flex}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem;display:flex}.page-header h1{overflow-wrap:anywhere;margin:0}.subtitle{color:var(--text-2)}.back-link{align-items:center;min-height:44px;text-decoration:none;display:inline-flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;margin-bottom:1rem;padding:1rem}.card-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.card-header a{align-items:center;min-height:44px;display:inline-flex}.stack>*+*{margin-top:.75rem}.grid-2{grid-template-columns:1fr;gap:0 .75rem;display:grid}@media (width>=560px){.grid-2{grid-template-columns:1fr 1fr}}.dashboard{gap:0 1rem;display:grid}@media (width>=900px){.dashboard{grid-template-columns:1fr 1fr}.dashboard .quick-actions,.dashboard .dash-recent{grid-column:1/-1}}.muted{color:var(--text-2)}.small{font-size:.875rem}.hint{color:var(--text-3);margin-top:.35rem;font-size:.85rem}.block{display:block}.center{text-align:center}.row-between{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.notes{white-space:pre-wrap;background:var(--surface-2);border-radius:10px;padding:.75rem}.button{border:1px solid var(--accent);background:var(--accent);min-height:44px;color:var(--accent-text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:10px;justify-content:center;align-items:center;padding:.5rem 1rem;font-weight:600;text-decoration:none;display:inline-flex}.button:disabled{opacity:.5;cursor:not-allowed}.button-secondary{color:var(--accent);background:0 0}.button-danger{color:var(--error);border-color:var(--error);background:0 0}.button-small{min-height:40px;padding:.3rem .8rem;font-size:.9rem}.button-block{width:100%}.button-row,.form-actions,.quick-actions{flex-wrap:wrap;gap:.5rem;display:flex}.quick-actions{margin-bottom:1rem}.quick-actions .button{flex:140px}.field{flex-direction:column;gap:.25rem;min-width:0;margin-bottom:.5rem;display:flex}.field label{font-size:.95rem;font-weight:600}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;max-width:100%;min-height:44px;padding:.6rem .75rem;font-size:16px}input[type=file]{padding:.5rem}input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--error)}.field-error{color:var(--error);margin:0;font-size:.875rem}.checkbox{align-items:flex-start;gap:.6rem;min-height:44px;padding:.25rem 0;display:flex}.checkbox input{flex:none;width:24px;height:24px;min-height:24px;margin-top:2px}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.inline-form .field{flex:200px;margin-bottom:0}.subform{background:var(--surface-2);border-radius:10px;margin-top:.75rem;padding:.75rem}fieldset.segment{border:1px solid var(--border);border-radius:10px;padding:.75rem}details>summary{cursor:pointer;min-height:44px;color:var(--accent);align-items:center;font-weight:600;display:flex}.filters{padding-top:.25rem;padding-bottom:.25rem}.filter-form{gap:0 .75rem;display:grid}@media (width>=700px){.filter-form{grid-template-columns:1fr 1fr 1fr auto;align-items:end}}.danger-zone{text-align:center;margin:2rem 0 1rem}.splash,.loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:2rem 1rem;display:flex}.splash{min-height:100dvh}.loading{color:var(--text-2);flex-direction:row}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.state{border-radius:var(--radius);text-align:center;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;display:flex}.state-error{background:var(--error-soft);color:var(--error)}.state-empty{background:var(--surface-2)}.notice{background:var(--surface-2);border-radius:10px;gap:.6rem;margin:.5rem 0;padding:.75rem;font-size:.95rem;display:flex}.notice-icon{text-align:center;flex:none;width:1.4rem;font-weight:700}.notice-info{background:var(--accent-soft)}.notice-success{background:var(--ok-soft);color:var(--ok)}.notice-warning{background:var(--warn-soft);color:var(--warn)}.notice-error{background:var(--error-soft);color:var(--error)}.notice a{color:inherit}.badge{background:var(--surface-2);color:var(--text-2);border-radius:999px;padding:.15rem .6rem;font-size:.8rem;font-weight:600;display:inline-block}.badge-ok{background:var(--ok-soft);color:var(--ok)}.badge-pending{background:var(--accent-soft);color:var(--text)}.badge-error{background:var(--error-soft);color:var(--error)}.tag{color:var(--text-3);border:1px solid var(--border);white-space:nowrap;border-radius:999px;padding:0 .4rem;font-size:.7rem;font-weight:500}.activity-list,.session-list,.plain-list,.import-list,.suggestions,.quality-list,.checks{margin:0;padding:0;list-style:none}.activity-item{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:12px;flex-direction:column;gap:.35rem;min-height:44px;margin-bottom:.5rem;padding:.75rem;text-decoration:none;display:flex}.card .activity-item{background:var(--surface-2);border-color:#0000}.activity-main{flex-direction:column;gap:.1rem;min-width:0;display:flex}.activity-title{overflow-wrap:anywhere;font-weight:600}.activity-meta{color:var(--text-2);font-size:.85rem}.activity-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0;display:grid}.activity-stats dt,.stats-grid dt,.equivalents dt{color:var(--text-2);font-size:.75rem}.activity-stats dd,.stats-grid dd,.equivalents dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.session-item{border-bottom:1px solid var(--border);color:var(--text);gap:.15rem;min-height:44px;padding:.75rem 0;text-decoration:none;display:grid}.session-date{color:var(--text-2);font-size:.85rem}.session-title{font-weight:600}.plain-list li{border-bottom:1px solid var(--border);padding:.5rem 0}.import-item{border-bottom:1px solid var(--border);padding:.6rem 0}.import-name{overflow-wrap:anywhere;font-weight:600}.quality-list li{padding:.35rem 0}.quality-warning{color:var(--warn)}.checks li{padding:.25rem 0}.check-ok{color:var(--ok)}.check-fail{color:var(--error)}.suggestion{border:1px solid var(--border);border-radius:12px;margin-bottom:.75rem;padding:.75rem}.metric-row{border-bottom:1px solid var(--border);padding:.75rem 0}.metric-label{color:var(--text-2);font-size:.85rem}.metric-value{font-size:1.2rem}.pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin:1rem 0;display:flex}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;display:grid}@media (width>=640px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.equivalents{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.5rem 0;display:grid}@media (width>=640px){.equivalents{grid-template-columns:repeat(4,minmax(0,1fr))}}.vdot-head{flex-wrap:wrap;align-items:baseline;gap:.75rem;display:flex}.vdot-value{font-size:1.6rem;font-weight:700}.kv{grid-template-columns:minmax(0,1fr);gap:.15rem;margin:0 0 .75rem;display:grid}.kv dt{color:var(--text-2);margin-top:.4rem;font-size:.8rem}.kv dd{overflow-wrap:anywhere;margin:0}@media (width>=640px){.kv{grid-template-columns:220px minmax(0,1fr)}.kv dt{margin-top:0}}.goal{margin-bottom:.75rem}.goal-line{flex-wrap:wrap;justify-content:space-between;gap:.5rem;display:flex}.goal-big .goal-value{font-size:1.4rem}.goal-compact{gap:0 1rem;display:grid}@media (width>=560px){.goal-compact{grid-template-columns:1fr 1fr}}.goal-tiles{gap:1rem;margin-bottom:1rem;display:grid}@media (width>=640px){.goal-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}.goal-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem}.goal-tile p{margin:0}.goal-tile-title{letter-spacing:.05em;text-transform:uppercase;color:var(--text-2);margin:0 0 .25rem;font-size:.8rem;font-weight:600}.goal-tile-value{font-variant-numeric:tabular-nums;font-size:2.25rem;font-weight:700;line-height:1.2;margin-bottom:.5rem!important}.goal-tile-value span{font-size:1rem}.grid-3{grid-template-columns:1fr;gap:0 .75rem;display:grid}@media (width>=560px){.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.goal-history li{padding:.4rem 0}.meter{background:var(--surface-2);border-radius:999px;height:12px;margin:.35rem 0;overflow:hidden}.meter-fill{background:var(--series-1);border-radius:999px;height:100%}.meter-done{background:var(--ok)}.table-scroll{-webkit-overflow-scrolling:touch;max-width:100%;position:relative;overflow-x:auto}.data-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.95rem}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:.5rem}.data-table th{color:var(--text-2);font-size:.8rem;font-weight:600}.row-muted td{color:var(--text-3)}.zone-bars{margin:0;padding:0;list-style:none}.zone-bars li{padding:.35rem 0}.zone-head{flex-wrap:wrap;justify-content:space-between;gap:.5rem;font-size:.85rem;display:flex}.zone-name{font-weight:600}.zone-range{color:var(--text-2)}.zone-row{align-items:center;gap:.5rem;display:flex}.zone-track{background:var(--surface-2);border-radius:4px;flex:1;min-width:0;height:10px;overflow:hidden}.zone-fill{background:var(--series-1);border-radius:0 4px 4px 0;height:100%}.zone-fill-muted{background:var(--text-3)}.zone-value{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;min-width:7.5rem;font-size:.85rem}.chart{margin:0 0 1rem}.chart figcaption{flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin-bottom:.25rem;font-weight:600;display:flex}.chart-readout{color:var(--text-2);font-variant-numeric:tabular-nums;font-size:.85rem;font-weight:400}.chart-canvas{width:100%;overflow:hidden}.chart-canvas svg{-webkit-user-select:none;user-select:none;display:block}.chart-grid{stroke:var(--grid);stroke-width:1px}.chart-label{fill:var(--text-2);font-size:11px}.chart-crosshair{stroke:var(--text-3);stroke-width:1px;stroke-dasharray:3 3}.chart-dot{stroke:var(--surface);stroke-width:2px}.chart-table summary{font-size:.9rem}.chart-table table{border-collapse:collapse;font-size:.85rem}.chart-table td,.chart-table th{text-align:left;font-variant-numeric:tabular-nums;padding:.2rem .75rem .2rem 0}.login{min-height:100dvh;padding:calc(1rem + var(--safe-top)) 1rem calc(1rem + var(--safe-bottom));place-items:center;display:grid}.login-card{width:100%;max-width:420px}.login-brand{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.login-brand h1{margin:0}.steps li{margin-bottom:.5rem}.epaper-preview{background:var(--surface-2);border-radius:8px;max-width:100%;padding:.5rem;overflow-x:auto}.epaper-preview img{image-rendering:pixelated;border:1px solid var(--border);background:#fff;display:block}.epaper-preview[data-zoom="2"] img{max-width:none}.epaper-preview[data-zoom="1"] img{max-width:100%;height:auto}.epaper-stats{gap:.75rem;display:grid}.device-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.device-item{border:1px solid var(--border);border-radius:10px;gap:.25rem;min-width:0;padding:.75rem;display:grid}.break,.token{overflow-wrap:anywhere;word-break:break-all}.token{background:var(--surface-2);border-radius:6px;margin:.5rem 0;padding:.5rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;display:block}.activity-subtitle{flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin-bottom:.75rem;display:flex}.run-type-chip{background:var(--accent-soft);color:var(--text);border-radius:999px;align-items:center;padding:.1rem .6rem;font-size:.85rem;font-weight:600;display:inline-flex}.run-type-chip.is-empty{background:var(--surface-2);color:var(--text-2);font-weight:500}.activity-layout{grid-template-columns:minmax(0,1fr);gap:0 1rem;display:grid}.activity-layout>*{min-width:0}@media (width>=900px){.activity-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-flow:dense;align-items:start}.area-overview,.area-chart,.area-insights,.area-tech{grid-column:1/-1}.area-route,.area-zones{grid-column:1}.area-segments{grid-area:span 2/2}.area-overview{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:0 1rem;display:grid}.area-overview>.overview{grid-row:span 3}.area-overview>.overview:only-child{grid-column:1/-1}}.hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0;display:grid}.hero-stats dt,.sub-stats dt,.kv-grid dt{color:var(--text-2);font-size:.75rem}.hero-stats dd{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:clamp(1.35rem,6vw,2rem);font-weight:700;line-height:1.15}.hero-stats .unit{color:var(--text-2);font-size:.85rem;font-weight:500}.sub-stats{border-top:1px solid var(--border);flex-wrap:wrap;gap:.5rem 1.25rem;margin:.85rem 0 0;padding-top:.75rem;display:flex}.sub-stats dd,.kv-grid dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.more-stats{margin-top:.5rem}.more-stats>summary,.explain>summary{color:var(--accent);font-size:.9rem}.kv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem .75rem;margin:.5rem 0 0;display:grid}@media (width>=640px){.kv-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.plan-head{flex-wrap:wrap;align-items:baseline;gap:.25rem .5rem;display:flex}.plan-kicker{text-transform:uppercase;letter-spacing:.04em;color:var(--text-2);font-size:.75rem;font-weight:700}.plan-notes{margin:.35rem 0 0}.impression{gap:.5rem;display:grid}.effort{align-items:center;gap:.75rem;margin:0;display:flex}.effort-value{background:var(--surface-2);border-radius:50%;place-items:center;width:2.5rem;height:2.5rem;font-size:1.1rem;font-weight:700;display:grid}.impression .notes{margin:0}.link-button{min-height:44px;color:var(--accent);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:.5rem 0;font-size:.9rem}.quality-details{background:var(--surface-2);border-radius:10px;margin:0 0 1rem;padding:.5rem .75rem;font-size:.9rem}.quality-details.has-warnings{background:var(--warn-soft)}.quality-details summary{color:var(--text);gap:.4rem;font-weight:600}.quality-details .quality-list{margin-top:.5rem}.segmented{background:var(--surface-2);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.segmented button{min-height:44px;color:var(--text-2);font:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:8px;padding:.25rem .85rem;font-size:.9rem;font-weight:600}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow), 0 0 0 1px var(--border)}.segmented button:disabled{opacity:.5;cursor:not-allowed}.segmented-wide{margin-bottom:.75rem;display:flex}.segmented-wide button{flex:1}.segmented .count{color:var(--text-3);margin-left:.2rem;font-weight:500}.chip{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-2);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:999px;padding:.25rem .75rem;font-size:.85rem}.chip[aria-pressed=true]{border-color:var(--accent);color:var(--text);background:var(--accent-soft)}.chip-active{border-style:dashed}.icon-button{width:44px;height:44px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;font-size:1.4rem}.seg-header,.seg-main{grid-template-columns:2.4rem minmax(0,1fr) 3.1rem 2.5rem 1.1rem;align-items:center;column-gap:.5rem;display:grid}.seg-main{grid-template-areas:"idx bar pace hr chev""idx meta meta meta meta";row-gap:.15rem}.seg-main .seg-idx{grid-area:idx}.seg-main .seg-track{grid-area:bar}.seg-main .seg-meta{grid-area:meta}.seg-main .seg-pace{grid-area:pace}.seg-main .seg-hr{grid-area:hr}.seg-main .seg-chevron{grid-area:chev}.seg-header{color:var(--text-2);padding:0 .4rem .25rem;font-size:.72rem}.seg-list,.seg-sub{margin:0;padding:0;list-style:none}.seg-row{border-top:1px solid var(--border)}.seg-row:first-child{border-top:0}.seg-main{width:100%;min-height:52px;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:10px;padding:.4rem}.seg-main:hover{background:var(--surface-2)}.seg-row.is-selected>.seg-main{background:var(--accent-soft)}.seg-idx{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.95rem;font-weight:700}.seg-track{background:var(--surface-2);border-radius:999px;height:10px;display:block;position:relative}.seg-bar{background:var(--series-1);border-radius:999px;height:100%;display:block}.seg-bar-muted{background:var(--elevation)}.seg-avg{background:var(--text);opacity:.55;width:2px;margin-left:-1px;position:absolute;top:-3px;bottom:-3px}.seg-meta{color:var(--text-2);font-variant-numeric:tabular-nums;font-size:.78rem}.seg-role{color:var(--text);margin-right:.35rem;font-weight:600}.seg-elev{white-space:nowrap;margin-left:.4rem}.seg-pace,.seg-hr{text-align:right;font-variant-numeric:tabular-nums}.seg-pace{font-weight:700}.seg-header .seg-pace{font-weight:400}.seg-hr{color:var(--text-2)}.seg-chevron.has-children:before{content:"";border-right:2px solid var(--text-2);border-bottom:2px solid var(--text-2);width:7px;height:7px;transition:transform .15s;display:block;transform:rotate(45deg)}.seg-row.is-open>.seg-main .seg-chevron.has-children:before{transform:rotate(-135deg)}.seg-sub{border-left:2px solid var(--border);margin:0 0 .5rem 1.2rem;padding-left:.6rem}.seg-row-sub .seg-main{min-height:46px;padding-top:.3rem;padding-bottom:.3rem}.seg-row-sub .seg-idx{font-size:.82rem;font-weight:600}.seg-row-sub .seg-track{height:7px}.tchart{margin:0}.tchart-controls{flex-wrap:wrap;gap:.5rem;margin-bottom:.6rem;display:flex}.tchart-readout{font-variant-numeric:tabular-nums;gap:.15rem;min-height:2.6rem;margin-bottom:.25rem;font-size:.85rem;display:grid}.tchart-pos{color:var(--text-2)}.tchart-values{flex-wrap:wrap;gap:0 .9rem;display:flex}.tchart-value{white-space:nowrap}.tchart-value-label,.tchart-unit{color:var(--text-2)}.swatch{vertical-align:middle;border-radius:2px;width:10px;height:3px;margin-right:.3rem;display:inline-block}.swatch-square{border-radius:3px;width:12px;height:12px;margin:0}.tchart-panel-title{fill:var(--text-2);font-size:11px;font-weight:600}.tchart-area{fill:var(--elevation);opacity:.22}.tchart-avg{stroke:var(--text-3);stroke-width:1px;stroke-dasharray:5 4}.tchart-marker{stroke:var(--border);stroke-width:1px}.tchart-selection{fill:var(--accent-soft);opacity:.7}svg.is-selecting{cursor:col-resize}.route{margin:0}.route svg{background:var(--surface-2);touch-action:pan-y;border-radius:10px;width:100%;height:auto;max-height:340px;display:block}.route-line-casing{fill:none;stroke:var(--surface);stroke-width:8px;stroke-linejoin:round;stroke-linecap:round}.route-line{fill:none;stroke:var(--series-1);stroke-width:4px;stroke-linejoin:round;stroke-linecap:round}.route-line.is-dimmed{stroke:var(--elevation);opacity:.6}.route-selected{fill:none;stroke:var(--series-1);stroke-width:6px;stroke-linejoin:round;stroke-linecap:round}.route-km circle{fill:var(--surface);stroke:var(--text-2);stroke-width:1.5px}.route-km text{fill:var(--text);font-size:10px;font-weight:700}.route-start{fill:var(--ok);stroke:var(--surface);stroke-width:3px}.route-end{fill:var(--text);stroke:var(--surface);stroke-width:3px}.route-cursor{fill:var(--series-2);stroke:var(--surface);stroke-width:3px}.route-scale line{stroke:var(--text-2);stroke-width:2px}.route-scale text{fill:var(--text-2);font-size:11px}.route-legend{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:.25rem 1rem;margin-top:.4rem;font-size:.8rem;display:flex}.route-legend .hint{flex-basis:100%;margin:0}.dot{vertical-align:-1px;border-radius:50%;width:10px;height:10px;display:inline-block}.dot-start{background:var(--ok)}.dot-end{background:var(--text)}.dot-km{background:var(--surface);border:1.5px solid var(--text-2)}.area-zones{container-type:inline-size}.donuts{gap:1.25rem;display:grid}@container (width>=620px){.donuts{grid-template-columns:repeat(2,minmax(0,1fr))}}.donut-card h3{margin:0 0 .5rem}.donut-wrap{grid-template-columns:7.5rem minmax(0,1fr);align-items:start;gap:.75rem;display:grid}.donut{width:100%;height:auto}.donut-bg{stroke:var(--surface-2)}.donut-center{fill:var(--text);font-size:15px;font-weight:700}.donut-sub{fill:var(--text-2);font-size:13px}.donut-legend{gap:.35rem;margin:0;padding:0;font-size:.85rem;list-style:none;display:grid}.donut-legend li{grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:.5rem;display:grid}.donut-legend li.is-zero,.donut-legend li.is-muted{color:var(--text-2)}.legend-name{min-width:0;display:grid}.legend-title{font-weight:600}.legend-range{color:var(--text-2);overflow-wrap:anywhere;font-size:.75rem}.legend-value{text-align:right;font-variant-numeric:tabular-nums;display:grid}.legend-time{color:var(--text-2);font-size:.75rem}.insights{gap:1rem;display:grid}@media (width>=700px){.insights{grid-template-columns:repeat(2,minmax(0,1fr))}}.insight h3{margin:0 0 .25rem}.insight-value{font-variant-numeric:tabular-nums;margin:0;font-size:1.6rem;font-weight:700}.halves{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.half{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:10px;gap:.1rem;min-height:44px;padding:.6rem .75rem;display:grid}.half-label{color:var(--text-2);font-size:.75rem}.half-pace{font-variant-numeric:tabular-nums;font-weight:700}.half-meta{color:var(--text-2);font-size:.8rem}.explain{margin-top:.5rem}.explain>summary{min-height:44px}.explain .checks li{padding:.15rem 0}.section-details{padding:0}.section-details>summary{color:var(--text);flex-direction:column;justify-content:center;align-items:flex-start;gap:.1rem;min-height:56px;padding:.85rem 1rem;font-size:1.05rem;font-weight:700;display:flex}.section-details>summary::-webkit-details-marker{display:none}.section-details>summary:after{content:"Aufklappen";color:var(--accent);font-size:.8rem;font-weight:500}.section-details[open]>summary:after{content:"Zuklappen"}.summary-hint{color:var(--text-2);font-size:.8rem;font-weight:400}.section-details>:not(summary){padding:0 1rem 1rem}.section-details h3{font-size:.95rem}.chart-canvas svg:focus-visible,.route svg:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.chart-canvas svg:focus:not(:focus-visible),.route svg:focus:not(:focus-visible){outline:none}.selection-dock{left:calc(.5rem + var(--safe-left));right:calc(.5rem + var(--safe-right));bottom:calc(var(--nav-height) + var(--safe-bottom) + .5rem);z-index:25;pointer-events:none;justify-content:center;display:flex;position:fixed}@media (width>=900px){.selection-dock{bottom:1rem}}.selection-bar{pointer-events:auto;background:var(--surface);border:2px solid var(--accent);font-variant-numeric:tabular-nums;border-radius:14px;gap:0;width:100%;max-width:1068px;padding:.15rem .25rem .5rem .85rem;font-size:.875rem;display:grid;box-shadow:0 6px 24px #0000002e}.selection-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.selection-values{color:var(--text-2);flex-wrap:wrap;gap:0 .6rem;padding-right:.5rem;display:flex}.selection-actions{flex:none;align-items:center;gap:.25rem;display:flex}.chip-small{min-height:36px;padding:.15rem .6rem;font-size:.8rem}.danger-zone.has-selection-dock{padding-bottom:6rem}.tchart-selection-edge{stroke:var(--accent);stroke-width:2px}.route-sel-end{fill:var(--surface);stroke:var(--series-1);stroke-width:3px}.insight-focus{color:var(--text-2);margin:-.25rem 0 .75rem;font-size:.9rem}.insights>.insight{min-width:0}.plan-line{border-top:1px solid var(--border);margin:.75rem 0 0;padding-top:.6rem;font-size:.9rem}.plan-line a{white-space:nowrap}.plan-items{gap:.5rem;margin:.25rem 0 0;padding:0;list-style:none;display:grid}.plan-items li{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label chip""values values";gap:.1rem .5rem;padding-bottom:.5rem;font-size:.9rem;display:grid}.plan-label{grid-area:label;font-weight:600}.plan-values{color:var(--text-2);grid-area:values}.plan-items .status-chip{grid-area:chip;justify-self:end}.status-chip{white-space:nowrap;border:1px solid var(--border);color:var(--text-2);border-radius:999px;align-items:center;gap:.25rem;padding:0 .5rem;font-size:.75rem;font-weight:600;display:inline-flex}.status-met{background:var(--ok-soft);color:var(--ok);border-color:#0000}.status-partial{background:var(--warn-soft);color:var(--warn);border-color:#0000}.status-deviation{background:var(--error-soft);color:var(--error);border-color:#0000}.observations{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.observations>li{border-left:3px solid var(--border);padding-left:.85rem;font-size:.92rem}.observations>li>p{margin:0 0 .5rem}.observation-link{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;text-decoration:underline;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border);text-underline-offset:3px;background:0 0;border:0;padding:.25rem 0;display:block}.observation-link.is-selected{-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);font-weight:600}.half.is-selected,.interval-col.is-selected{border-color:var(--accent);background:var(--accent-soft)}.impression .effort{margin-bottom:.5rem}.interval-chart{gap:4px;margin:.5rem 0;padding-bottom:.25rem;display:flex;overflow-x:auto}.interval-col{max-width:5rem;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;touch-action:manipulation;background:0 0;border:1px solid #0000;border-radius:10px;flex:1 0 2.6rem;grid-template-rows:auto 7rem auto auto auto auto;justify-items:center;gap:.15rem;padding:.35rem .15rem;display:grid}.interval-col:hover{background:var(--surface-2)}.interval-pace{font-size:.78rem;font-weight:700}.interval-track{background:var(--surface-2);border-radius:6px 6px 2px 2px;width:70%;max-width:2rem;height:100%;position:relative}.interval-bar{background:var(--series-1);border-radius:6px 6px 2px 2px;position:absolute;bottom:0;left:0;right:0}.interval-mean{border-top:2px dashed var(--text);opacity:.6;height:0;position:absolute;left:-3px;right:-3px}.interval-num{font-size:.85rem;font-weight:700}.interval-dev{color:var(--text-2);font-size:.75rem}.interval-dev.is-slower,.interval-dev.is-faster{color:var(--text);font-weight:600}.interval-hr{color:var(--text-2);font-size:.72rem}.interval-legend{margin:0 0 .75rem}.insights>.interval-block,.insights>.plan-block{grid-column:1/-1}.interval-size{color:var(--text-2);font-size:.72rem}#verlauf,#strecke,#einordnung{scroll-margin-top:calc(72px + var(--safe-top))}dialog.sheet{background:var(--surface);width:100%;max-width:560px;max-height:92dvh;color:var(--text);overscroll-behavior:contain;border:0;border-radius:18px 18px 0 0;margin:0 auto;padding:0;position:fixed;inset:auto 0 0;box-shadow:0 -8px 30px #0003}dialog.sheet::backdrop{background:#0006}@media (width>=700px){dialog.sheet{border-radius:18px;max-height:86dvh;margin:auto;inset:0}}.sheet-inner{max-height:inherit;flex-direction:column;display:flex}.sheet-head{justify-content:space-between;align-items:flex-start;gap:.5rem;padding:.75rem .5rem .25rem 1rem;display:flex}.sheet-head h2{margin:.55rem 0 .15rem}.sheet-titles p{margin:0}.sheet-body{-webkit-overflow-scrolling:touch;padding:.5rem 1rem 1rem;overflow-y:auto}.sheet-foot{padding:.75rem 1rem calc(.75rem + var(--safe-bottom));border-top:1px solid var(--border);background:var(--surface)}.sheet-actions{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.sheet fieldset,.session-form fieldset{border:0;min-width:0;margin:0 0 .75rem;padding:0}.sheet legend,.session-form legend,.field-label{margin-bottom:.35rem;padding:0;font-size:.95rem;font-weight:600}.chip-row{flex-wrap:wrap;gap:.4rem;margin:.35rem 0 .5rem;display:flex}.compact-grid .field{margin-bottom:.25rem}.compound-field{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.compound-field .field{margin-bottom:0}.compound-field .field label{color:var(--text-2);font-size:.8rem;font-weight:500}.value-with-unit{align-items:flex-end;gap:.5rem;display:flex}.value-with-unit .field{flex:1;margin-bottom:0}.unit-toggle{flex:none;margin-bottom:0}.segmented-wide{width:100%}.kind-warmup{--kind:var(--kind-warmup)}.kind-work{--kind:var(--kind-work)}.kind-recovery{--kind:var(--kind-recovery)}.kind-rest{--kind:var(--kind-rest)}.kind-run{--kind:var(--kind-run)}.kind-cooldown{--kind:var(--kind-cooldown)}.kind-repeat{--kind:var(--kind-repeat)}.kind-dot{background:var(--kind,var(--text-3));border-radius:50%;flex:none;width:12px;height:12px;display:inline-block}.kind-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.kind-option{text-align:left;border:1px solid var(--border);background:var(--surface);min-height:56px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:12px;align-items:flex-start;gap:.6rem;padding:.6rem .7rem;display:flex}.kind-option .kind-dot{margin-top:.3rem}.kind-option[aria-pressed=true]{border-color:var(--kind);box-shadow:inset 0 0 0 1px var(--kind);background:var(--surface-2)}.kind-option-label{font-weight:600;display:block}.kind-option-hint{color:var(--text-3);font-size:.78rem;line-height:1.3;display:block}.target-editor{margin-top:.5rem}.zone-options{gap:.35rem;display:grid}.zone-option{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem .75rem;display:flex}.zone-option[aria-checked=true]{border-color:var(--accent);background:var(--accent-soft)}.zone-option-name{font-weight:600}.zone-option-range{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text-2)}.zone-option[aria-checked=true] .zone-option-range{color:var(--text)}.zone-outdated{background:var(--warn-soft);border-radius:10px;margin-top:.5rem;padding:.6rem .75rem}.zone-outdated p{margin-bottom:.4rem}.workout-list{margin:0;padding:0;list-style:none}.workout-list>li+li{margin-top:.4rem}.workout-editor .workout-list>li+li{margin-top:0}.step-card{background:var(--surface-2);border-left:5px solid var(--kind);border-radius:12px;align-items:stretch;min-width:0;display:flex}.step-card.has-error{outline:2px solid var(--error)}.step-main{min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:0 12px 12px 0;flex-direction:column;flex:1;gap:.1rem;padding:.55rem .5rem .55rem .75rem;display:flex}div.step-main{cursor:default}.step-line{justify-content:space-between;align-items:baseline;gap:.5rem;min-width:0;display:flex}.step-kind{font-weight:700}.step-value{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.step-sub{font-size:.85rem}.step-target{overflow-wrap:anywhere}.step-extra{color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}.step-note{color:var(--text-3);font-size:.8rem;font-style:italic}.step-menu{align-self:center;margin-right:.15rem}.repeat-group{border:2px solid var(--border);border-left:5px solid var(--kind-repeat);background:var(--surface);border-radius:14px;padding:.35rem .5rem .5rem}.repeat-group.has-error{border-color:var(--error)}.repeat-head{align-items:center;gap:.5rem;min-height:44px;margin-bottom:.35rem;display:flex}.repeat-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.9rem;font-weight:700;overflow:hidden}.manual-totals>summary{min-height:44px;color:var(--accent);cursor:pointer;align-items:center;font-weight:600;display:flex}.repeat-foot{margin-top:.5rem}.repeat-foot .checkbox{margin-top:.25rem}.stepper{border:1px solid var(--border);background:var(--surface-2);border-radius:999px;align-items:center;display:inline-flex}.stepper button{width:40px;height:40px;color:var(--accent);cursor:pointer;touch-action:manipulation;background:0 0;border:0;font-size:1.3rem;font-weight:700}.stepper button:disabled{color:var(--text-3);opacity:.5}.stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:3ch;font-weight:700}.insert-point{justify-content:center;align-items:center;height:22px;display:flex;position:relative}.insert-button{border:1px dashed var(--text-3);background:var(--surface);width:28px;height:28px;color:var(--text-2);cursor:pointer;touch-action:manipulation;border-radius:50%;font-size:1.05rem;line-height:1;position:relative}.insert-button:after{content:"";position:absolute;inset:-8px -40px}.add-step{margin-top:.75rem}.action-list{padding-bottom:calc(.5rem + var(--safe-bottom));gap:.5rem;display:grid}.action-pair{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.workout-profile{margin:.5rem 0 .75rem}.profile-bars{border-bottom:1px solid var(--grid);align-items:flex-end;gap:2px;height:84px;padding-bottom:2px;display:flex}.profile-block{background:var(--kind);cursor:default;border:0;border-radius:3px 3px 0 0;flex-shrink:1;flex-basis:0;min-width:3px;padding:0}button.profile-block{cursor:pointer;touch-action:manipulation}.profile-block.is-unknown{background:repeating-linear-gradient(135deg, var(--kind) 0 4px, transparent 4px 8px);box-shadow:inset 0 0 0 1px var(--kind)}.profile-block.is-selected{outline:2px solid var(--text);outline-offset:1px}.profile-compact{border-bottom:0;gap:1px;height:22px;margin-top:.3rem}.profile-compact .profile-block{border-radius:2px 2px 0 0;min-width:2px}.profile-axis{justify-content:space-between;gap:.5rem;margin-top:.2rem;display:flex}.profile-legend{color:var(--text-2);flex-wrap:wrap;gap:.2rem .9rem;margin:.35rem 0 0;padding:0;list-style:none;display:flex}.profile-legend li{align-items:center;gap:.35rem;display:inline-flex}.plan-totals{margin-bottom:.5rem}.plan-totals .stat-note{color:var(--text-3);margin:.1rem 0 0;font-size:.75rem;line-height:1.3}.summary-lines{margin:.25rem 0 .5rem;padding-left:1.1rem}.summary-lines li+li{margin-top:.15rem}.structure-details>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.session-when{color:var(--text-2)}.session-structure{color:var(--text-2);text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.structure-cta{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}.structure-cta h3{margin-top:0}.template-list{gap:.5rem;display:grid}@media (width>=560px){.template-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.template-option{border:1px dashed var(--accent);min-height:56px;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;background:0 0;border-radius:12px;flex-direction:column;gap:.15rem;padding:.6rem .75rem;display:flex}.template-label{color:var(--accent);font-weight:600}.template-hint{color:var(--text-3);font-size:.8rem}.plain-bullets{margin:.25rem 0 .5rem;padding-left:1.1rem}.page-actions{flex-wrap:wrap;gap:.5rem;display:flex}.session-item .badge{justify-self:start}
