/* Endurance Lab 13.0 · Cycling Performance Studio */
.cs-heading{margin-bottom:19px}.cs-heading h1{font-size:clamp(30px,3.5vw,43px)}
.cs-studio{display:grid;gap:17px;margin-bottom:24px}
.cs-feature-head{display:flex;justify-content:space-between;align-items:start;gap:15px;background:linear-gradient(135deg,#1b3d3e,#152c3d);
 border:1px solid rgba(164,208,186,.25);padding:20px 23px;border-radius:15px}
.cs-overline{font-size:10px;letter-spacing:.13em;font-weight:900;color:#c4ec9c;margin-bottom:8px}
.cs-feature-head h2{font-size:23px;color:#f4fff5;letter-spacing:-.03em;margin:0 0 6px}
.cs-feature-head p,.cs-section-top p{font-size:12px;color:#b4ced9;line-height:1.55;margin:0}
.cs-pill{font-size:10px;color:#c6edac;border:1px solid #548077;border-radius:100px;padding:8px 11px;white-space:nowrap;font-weight:850}
.cs-pill.subtle{border-color:#47606b;color:#bad6d6}
.cs-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cs-kpi{display:flex;flex-direction:column;gap:7px;padding:17px;border:1px solid rgba(154,188,204,.24);
 background:linear-gradient(135deg,#1c3741,#132a3b);border-radius:13px;min-width:0}
.cs-kpi small{font-size:11px;color:#b4cbd4;font-weight:800}
.cs-kpi strong{font-size:clamp(21px,2.2vw,27px);color:#f3fff4;letter-spacing:-.035em;overflow-wrap:anywhere}
.cs-kpi span{font-size:11px;line-height:1.4;color:#a0becb}
.cs-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cs-section{background:linear-gradient(150deg,#172f3f,#102332)!important;min-width:0;overflow:hidden}
.cs-section-top{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:15px}
.cs-section-top h3{font-size:18px;color:#f4fafc;margin:0 0 6px}
.cs-filter{display:flex;flex-direction:column;gap:6px;color:#a8c5d1;font-size:11px;font-weight:800}
.cs-filter select{min-height:39px;padding:8px 9px;background:#132c3c;color:#e9f5fb;border:1px solid #4e6979;border-radius:9px;font-size:12px;min-width:125px;max-width:100%}
.cs-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.cs-controls .cs-filter:first-child{flex:1 1 190px}
.cs-controls .cs-filter select{width:100%}
.cs-week-bars{display:grid;grid-template-columns:repeat(var(--col-count,12),minmax(0,1fr));grid-auto-flow:column;gap:4px;height:170px;
 border-bottom:1px solid #4a6777;padding:15px 6px 0;overflow-x:auto;align-items:end}
.cs-bar-cell{min-width:22px;display:flex;flex-direction:column;gap:5px;height:100%}
.cs-bar-cell>span{font-size:9px;color:#9cb8c7;text-align:center;white-space:nowrap}
.cs-bar-space{height:calc(100% - 22px);display:flex;align-items:end}
.cs-bar-fill{position:relative;display:block;background:linear-gradient(#d8f7a6,#83c1b2);
 width:100%;border-radius:5px 5px 1px 1px;min-height:0}
.cs-bar-fill.cs-incomplete{background:linear-gradient(#a8b7a2,#607a7a)}
.cs-bar-popup{display:none;position:absolute;bottom:105%;left:50%;transform:translateX(-50%);z-index:4;
 padding:6px 8px;border:1px solid #517487;background:#0e2a37;color:#eaf9fd;font-size:11px;border-radius:5px;white-space:nowrap}
.cs-bar-fill:hover .cs-bar-popup{display:block}
.cs-line-chart{display:block;width:100%;height:auto}
.cs-axis-line{stroke:#486777;stroke-width:1}
.cs-axis-text{fill:#accad3;font-size:11px}
.cs-line{fill:none;stroke:#c8ed91;stroke-width:3;stroke-linejoin:round}
.cs-point{fill:#cdf79d;stroke:#142c39;stroke-width:2}
.cs-note{color:#abc5d1;font-size:11px;line-height:1.6;margin:11px 0 0}
.cs-efficiency-result{margin-top:12px;border-top:1px solid #355464;padding-top:12px}
.cs-efficiency-result strong{display:block;font-size:12px;color:#d6f3cf}
.cs-efficiency-result span,.cs-efficiency-result p{font-size:11px;color:#b9ced6;margin:5px 0;line-height:1.6}
.cs-empty{padding:23px 15px;border:1px dashed rgba(161,202,211,.25);border-radius:9px;
 color:#afc8d5;font-size:12px;line-height:1.65;background:rgba(8,27,37,.4)}
.cs-zone-summary{font-size:12px;color:#d0e5df;margin:0 0 15px}
.cs-zone-row{margin:0 0 12px}
.cs-zone-top{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:700;color:#d7e6e9;margin-bottom:6px}
.cs-zone-track{height:11px;border-radius:100px;background:#263d49;overflow:hidden}
.cs-zone-track span{display:block;height:100%;border-radius:100px;background:var(--lime,#c2ef9e)}
.cs-zone-row:nth-of-type(3n) .cs-zone-track span{background:#7cd6d9}
.cs-zone-row:nth-of-type(4n) .cs-zone-track span{background:#ffbb85}
.cs-settings,.cs-legacy{border:1px solid rgba(165,200,207,.22);border-radius:14px;background:#152b3a;overflow:hidden}
.cs-settings>summary,.cs-legacy>summary{cursor:pointer;display:flex;align-items:center;gap:10px;justify-content:space-between;
 padding:19px 21px;list-style:none;color:#edfaf4}
.cs-settings>summary::-webkit-details-marker,.cs-legacy>summary::-webkit-details-marker{display:none}
.cs-settings>summary span{display:flex;flex-direction:column;gap:5px}
.cs-settings>summary small,.cs-legacy>summary span{font-size:11px;line-height:1.5;color:#a9c6d2}
.cs-settings>summary b,.cs-legacy>summary b{font-size:22px;color:#a9d6bb;transition:transform .15s}
.cs-settings[open]>summary b,.cs-legacy[open]>summary b{transform:rotate(180deg)}
.cs-settings-body{padding:15px 18px 22px;border-top:1px solid #36505b}
.cs-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.cs-setting-card{padding:18px;background:rgba(8,27,39,.5);border:1px solid #365562;border-radius:12px}
.cs-setting-card h3{font-size:16px;color:#eaf9ef;margin-bottom:8px}
.cs-setting-card p{font-size:12px;color:#a7c3cf;line-height:1.6}
.cs-setting-card label{display:flex;flex-direction:column;font-size:12px;color:#c7dce4;font-weight:800;gap:7px;margin-bottom:11px}
.cs-setting-card input{width:100%;min-height:40px;padding:9px 11px;border-radius:8px;
 border:1px solid #4b7180;background:#122b38;color:#f4ffff}
.cs-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cs-ftp-history{display:grid;gap:8px;margin-top:15px}
.cs-ftp-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #365665;
 border-radius:8px;padding:11px}
.cs-ftp-row>div{flex:1;display:flex;flex-direction:column;gap:3px;min-width:120px}
.cs-ftp-row strong{font-size:12px;color:#dff5df}
.cs-ftp-row span{font-size:11px;color:#adcad3}
.cs-ftp-row b{font-size:13px;color:#d8eaa1}
.cs-message{font-size:12px;color:#bdeeb7;margin:15px 0;line-height:1.55}
.cs-message.cs-error{color:#ffd0cc}
.cs-legacy{margin-bottom:15px}
.cs-legacy>summary{display:flex;flex-wrap:wrap;align-items:center}
.cs-legacy>summary span{margin-left:5px;flex:1 1 200px}
.cs-legacy-content{padding:19px;border-top:1px solid #334c5b}
.cs-legacy-content>.metrics,.cs-legacy-content>.grid{margin-bottom:17px}
.cs-legacy-content>.pl-section{margin-top:15px}
@media(max-width:950px){.cs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cs-split,.cs-setting-grid{grid-template-columns:1fr}}
@media(max-width:600px){.cs-feature-head{padding:17px}.cs-feature-head .cs-pill,.cs-section-top .cs-pill{display:none}
 .cs-kpi{padding:13px}.cs-kpi strong{font-size:20px}
 .cs-week-bars{overflow-x:auto}.cs-bar-cell{min-width:25px}
 .cs-two{grid-template-columns:1fr}.cs-legacy-content{padding:11px}
 .cs-settings>summary{padding:15px}.cs-setting-card{padding:13px}}
