@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}*,:before,:after{box-sizing:border-box}html{width:100%;min-width:0;min-height:100%;overflow-x:clip}body{width:100%;min-width:0;min-height:100vh;margin:0;font-family:Inter,sans-serif;overflow-x:clip}button{font:inherit;cursor:pointer}button:disabled{cursor:default}input,select,textarea{font:inherit}#root{width:100%;min-width:0;min-height:100vh;overflow-x:clip}.app{--bg:#0b1120;--surface:#111b2e;--surface2:#17243a;--panel:#17243a;--border:#25344d;--text:#e8eef8;--muted:#91a2bb;--accent:#60a5fa;--accent-bg:#19365b;--green:#34d399;--shadow:0 12px 35px #00000026;background:var(--bg);min-height:100vh;color:var(--text);transition:background .2s,color .2s}.app.light{--bg:#f1f5f9;--surface:#fff;--surface2:#f8fafc;--panel:#f8fafc;--border:#e2e8f0;--text:#172033;--muted:#64748b;--accent:#2563eb;--accent-bg:#dbeafe;--green:#059669;--shadow:0 12px 35px #0f172a0f}@media (prefers-color-scheme:light){.app.system{--bg:#f1f5f9;--surface:#fff;--surface2:#f8fafc;--panel:#f8fafc;--border:#e2e8f0;--text:#172033;--muted:#64748b;--accent:#2563eb;--accent-bg:#dbeafe;--green:#059669;--shadow:0 12px 35px #0f172a0f}}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;height:76px;padding:0 max(50% - 690px,5%);display:flex}.brand,.top-actions,.brand-icon{align-items:center;display:flex}.brand{gap:12px}.brand-icon{background:var(--accent-bg);width:43px;height:43px;color:var(--accent);border-radius:13px;justify-content:center}.brand-name{letter-spacing:1px;font-size:19px;font-weight:800}.brand-name span{color:var(--accent)}.brand-subtitle{color:var(--muted);margin-top:3px;font-size:11px}.top-actions{gap:12px}.icon-button{border:1px solid var(--border);background:var(--surface2);width:38px;height:38px;color:var(--text);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{border-color:var(--accent);color:var(--accent)}.avatar{background:var(--accent-bg);width:37px;height:37px;color:var(--accent);border-radius:50%;place-items:center;font-weight:700;display:grid}.main{max-width:1380px;margin:auto;padding:35px 5% 55px}.welcome{justify-content:space-between;align-items:center;gap:25px;margin-bottom:35px;display:flex}.eyebrow{color:var(--accent);letter-spacing:1.6px;font-size:11px;font-weight:700}.welcome h1{letter-spacing:-1.5px;margin:12px 0 8px;font-size:clamp(27px,4vw,39px)}.welcome h1 span{color:var(--accent)}.welcome p{color:var(--muted);margin:0;font-size:14px}.progress-card{background:var(--surface);border:1px solid var(--border);width:255px;box-shadow:var(--shadow);border-radius:15px;flex-shrink:0;padding:19px}.progress-top{color:var(--muted);justify-content:space-between;font-size:12px;display:flex}.progress-number{margin:10px 0;font-size:31px;font-weight:800}.progress-number small{color:var(--muted);font-size:17px}.progress-track{background:var(--surface2);border-radius:20px;height:7px;overflow:hidden}.progress-track div{background:var(--green);border-radius:inherit;height:100%}.progress-caption{color:var(--muted);margin-top:9px;font-size:11px}.program-bar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.program-select{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:4px;display:flex}.program{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:10px 17px;font-size:13px}.program.active{background:var(--accent-bg);color:var(--accent);font-weight:700}.add-button,.primary-button,.secondary-button{box-sizing:border-box;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:11px 16px;font-size:13px;font-weight:600;line-height:1.2;display:inline-flex}.add-button,.primary-button{background:var(--accent);color:#fff;border:1px solid var(--accent)}.secondary-button{background:var(--surface2);color:var(--text);border:1px solid var(--border)}.add-button:hover,.primary-button:hover{filter:brightness(1.1)}.content-grid{grid-template-columns:minmax(0,1.8fr) minmax(270px,.85fr);align-items:start;gap:20px;display:grid}.calendar-card,.details-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:23px}.calendar-heading,.details-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px;display:flex}.calendar-heading h2{align-items:center;gap:10px;margin:0;font-size:18px;display:flex}.calendar-heading h2 svg{color:var(--accent)}.calendar-heading p{color:var(--muted);margin:6px 0 0;font-size:12px}.month-controls{align-items:center;gap:12px;display:flex}.month-controls strong{text-align:center;min-width:125px;font-size:14px}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;display:grid}.weekday{text-align:center;color:var(--muted);padding:8px 0;font-size:12px;font-weight:600}.day-cell{border:1px solid var(--border);background:var(--surface2);min-width:0;min-height:91px;color:var(--text);text-align:left;border-radius:9px;flex-direction:column;align-items:flex-start;gap:5px;padding:8px;transition:border .15s,background .15s;display:flex}.day-cell:disabled{visibility:hidden}.day-cell:not(:disabled):hover{border-color:var(--accent)}.day-cell.selected{border:2px solid var(--accent);background:var(--accent-bg)}.day-number{font-size:13px;font-weight:700}.day-dot{border-radius:50%;width:6px;height:6px}.day-type{color:var(--muted);overflow-wrap:anywhere;font-size:10px;line-height:1.3}.day-distance{font-size:11px;font-weight:700}.has-easy .day-dot{background:#34d399}.has-interval .day-dot{background:#f59e0b}.has-long .day-dot{background:#60a5fa}.has-tempo .day-dot{background:#c084fc}.status-done .day-distance{color:var(--green)}.status-progress .day-distance{color:#f59e0b}.calendar-legend{border-top:1px solid var(--border);flex-wrap:wrap;gap:17px;margin-top:20px;padding-top:16px;display:flex}.calendar-legend span{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.dot{border-radius:50%;width:7px;height:7px}.dot.easy{background:#34d399}.dot.interval{background:#f59e0b}.dot.long{background:#60a5fa}.dot.tempo{background:#c084fc}.details-heading{margin-bottom:24px}.details-heading h2{margin:8px 0 0;font-size:21px}.workout-icon{background:var(--accent-bg);width:52px;height:52px;color:var(--accent);border-radius:13px;place-items:center;display:grid}.workout-icon.interval{color:#f59e0b;background:#f59e0b18}.workout-icon.long{color:#60a5fa;background:#60a5fa18}.workout-icon.tempo{color:#c084fc;background:#c084fc18}.workout-title{margin-top:17px;font-size:19px;font-weight:700}.workout-distance{margin-top:5px;font-size:29px;font-weight:800}.workout-description{color:var(--muted);font-size:13px;line-height:1.6}.status-label{border-radius:8px;align-items:center;gap:7px;margin-top:10px;padding:8px 11px;font-size:12px;font-weight:600;display:inline-flex}.status-label.done{color:#34d399;background:#10b98118}.status-label.progress{color:#fbbf24;background:#f59e0b18}.status-label.planned{background:var(--accent-bg);color:var(--accent)}.status-label.missed{color:#f87171;background:#ef444418}.detail-divider{background:var(--border);height:1px;margin:22px 0}.detail-label{font-size:12px;font-weight:700}.detail-text{color:var(--muted);font-size:13px;line-height:1.6}.primary-button{width:100%;margin-top:18px}.empty-day{text-align:center;min-height:250px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-day h3{color:var(--text);margin-bottom:0}.empty-day p{font-size:12px;line-height:1.5}.details-card>.secondary-button{width:100%}.footer{text-align:center;color:var(--muted);border-top:1px solid var(--border);padding:22px;font-size:11px}.footer span{color:var(--accent)}@media (width<=850px){.main{padding-top:25px}.content-grid{grid-template-columns:1fr}.details-card{min-height:300px}}@media (width<=600px){.topbar{height:65px;padding:0 16px}.main{padding:23px 13px 35px}.welcome{flex-direction:column;align-items:stretch;gap:20px}.progress-card{width:100%}.welcome h1{font-size:29px}.program-bar{flex-direction:column;align-items:stretch}.program-select{width:100%}.program{flex:1;padding:10px 5px;font-size:11px}.add-button{width:100%}.calendar-card,.details-card{padding:14px}.calendar-heading{flex-direction:column;align-items:flex-start}.month-controls{justify-content:space-between;width:100%}.calendar-grid{gap:3px}.day-cell{border-radius:6px;gap:3px;min-height:68px;padding:5px 3px}.day-number{font-size:11px}.day-type{font-size:8px}.day-distance{font-size:9px}.weekday{font-size:10px}.calendar-legend{gap:10px}.calendar-legend span{font-size:9px}}.empty-cell{visibility:hidden;box-shadow:none;background:0 0;border:0}.workout-actions{flex-direction:column;gap:9px;display:flex}.workout-actions .primary-button{margin-top:8px}.delete-button{color:#f87171;background:0 0;border:1px solid #ef444455;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px;font-size:13px;font-weight:600;display:flex}.delete-button:hover{background:#ef444415}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.workout-modal{border:1px solid var(--border);background:var(--surface);width:100%;max-width:510px;max-height:calc(100vh - 40px);color:var(--text);border-radius:17px;padding:25px;overflow-y:auto;box-shadow:0 25px 80px #00000059}.modal-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:23px;display:flex}.modal-heading h2{margin:8px 0 0;font-size:21px}.form-field{flex-direction:column;gap:8px;min-width:0;margin-bottom:17px;display:flex}.form-field>span{color:var(--muted);font-size:12px;font-weight:600}.form-field input,.form-field select,.form-field textarea{border:1px solid var(--border);background:var(--surface2);width:100%;min-width:0;color:var(--text);border-radius:9px;outline:none;padding:12px;font-family:inherit;font-size:13px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--accent)}.form-field textarea{resize:vertical;line-height:1.5}.form-field input::placeholder,.form-field textarea::placeholder{color:var(--muted);opacity:.7}.form-field input[type=date]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app.light .form-field input[type=date],.app.system .form-field input[type=date]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.modal-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;margin-top:22px;padding-top:17px;display:flex}.modal-actions .primary-button{width:auto;margin:0}@media (width<=600px){.modal-overlay{align-items:flex-end;padding:10px}.workout-modal{border-radius:17px 17px 10px 10px;max-height:90vh;padding:19px}.form-row{grid-template-columns:1fr;gap:0}.modal-actions{background:var(--surface);padding-bottom:8px;position:sticky;bottom:-19px}.modal-actions button{flex:1}}.program-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px;display:grid}.program-summary>div{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;padding:15px 17px;display:flex}.program-summary span{color:var(--muted);letter-spacing:1px;font-size:10px;font-weight:700}.program-summary strong{color:var(--text);font-size:14px}.has-rest .day-dot{background:var(--muted)}.has-race .day-dot{background:#f87171}.has-activation .day-dot{background:#c084fc}.has-cross .day-dot{background:#fbbf24}.workout-icon.rest{color:var(--muted)}.workout-icon.race{color:#f87171;background:#ef444418}.workout-icon.activation{color:#c084fc;background:#c084fc18}.workout-icon.cross{color:#fbbf24;background:#fbbf2418}@media (width<=600px){.program-summary{grid-template-columns:1fr}.program-summary>div{padding:12px 14px}}.program-toolbar{justify-content:space-between;align-items:flex-end;gap:16px;margin:4px 0 18px;display:flex}.program-filter{flex-direction:column;gap:7px;min-width:260px;display:flex}.program-filter label{color:var(--muted);letter-spacing:1px;font-size:10px;font-weight:700}.program-filter select{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;border-radius:10px;padding:11px 13px;font-size:13px}.toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.toolbar-actions .secondary-button,.toolbar-actions .add-button{width:auto;margin:0}.program-manager{border:1px solid var(--border);background:var(--surface);border-radius:15px;margin-bottom:18px;padding:19px}.manager-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.manager-heading h2{margin:6px 0 0;font-size:18px}.manager-heading .add-button{width:auto}.program-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.program-card{border:1px solid var(--border);background:var(--surface2);border-radius:11px;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:13px;display:flex}.program-card-active{border-color:var(--accent);background:var(--accent-bg)}.program-card-main{flex-direction:column;gap:5px;min-width:0;display:flex}.program-card-main strong{font-size:13px}.program-card-main span,.program-card-main small{color:var(--muted);font-size:11px}.program-card-main small{overflow-wrap:anywhere}.program-card-actions{flex-wrap:wrap;flex-shrink:0;gap:5px;display:flex}.program-card-actions .icon-button{width:32px;height:32px}.danger-icon{color:#f87171}.day-workout-list{flex-direction:column;gap:12px;display:flex}.day-workout{border:1px solid var(--border);background:var(--surface2);border-radius:11px;padding:13px}.day-workout-selected{border-color:var(--accent)}.day-workout-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.day-workout h3{margin:12px 0 8px;font-size:16px}.day-workout .status-label{margin:0}.calendar-event{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.5;display:block;overflow:hidden}.calendar-event i{background:var(--accent);border-radius:50%;width:6px;height:6px;margin-right:4px;display:inline-block}.calendar-event.interval i{background:#f59e0b}.calendar-event.long i{background:#60a5fa}.calendar-event.tempo i{background:#c084fc}.calendar-event.race i{background:#f87171}.calendar-event.rest i{background:var(--muted)}.calendar-event.done{color:var(--green)}.more-events{color:var(--accent);font-size:9px}.day-cell.has-workout{gap:4px}.empty-day .secondary-button{margin-top:12px}@media (width<=850px){.program-list{grid-template-columns:1fr}.program-toolbar{flex-direction:column;align-items:stretch}.program-filter{min-width:0}.toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.toolbar-actions button{width:100%}.toolbar-actions .add-button{grid-column:1/-1}}@media (width<=600px){.program-card{flex-direction:column;align-items:flex-start}.program-card-actions{justify-content:flex-end;width:100%}.manager-heading{flex-direction:column;align-items:flex-start}.manager-heading .add-button{width:100%}}.app{width:100%;min-width:0;overflow-x:clip}.topbar,.main{box-sizing:border-box;width:100%;min-width:0}.main>*,.content-grid>*,.welcome>*,.program-toolbar>*,.program-manager,.calendar-card,.details-card{min-width:0}@media (width<=600px){.main{padding:20px 13px 35px}.program-summary{grid-template-columns:1fr}.program-summary>div{padding:12px 14px}.calendar-card,.details-card{min-width:0;padding:14px}.calendar-grid{width:100%;min-width:0}.day-cell{min-width:0;overflow:hidden}.modal-overlay{align-items:flex-end;padding:10px}.workout-modal{border-radius:17px 17px 10px 10px;width:100%;max-height:90dvh;padding:19px}.form-row{grid-template-columns:1fr;gap:0}.modal-actions{background:var(--surface);padding-bottom:8px;position:sticky;bottom:-19px}.modal-actions button{flex:1}}@media (width<=380px){.top-actions{gap:4px}.top-actions .icon-button,.top-actions .avatar{flex-basis:33px;width:33px;height:33px}.workspace-switcher{font-size:9px}.main{padding-left:10px;padding-right:10px}}.auth-page{background:radial-gradient(ellipse at 50% 0%, #60a5fa1f, transparent 55%), var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:30px 16px;display:flex}.auth-card{border:1px solid var(--border);background:var(--surface);width:100%;max-width:440px;box-shadow:var(--shadow);border-radius:20px;padding:36px}.auth-brand{align-items:center;gap:12px;margin-bottom:42px;display:flex}.auth-heading{margin-bottom:27px}.auth-heading h1{letter-spacing:-1px;margin:11px 0 8px;font-size:29px}.auth-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.auth-form{flex-direction:column;gap:3px;display:flex}.auth-input-wrap{align-items:center;display:flex;position:relative}.auth-input-wrap>svg{color:var(--muted);pointer-events:none;position:absolute;left:13px}.auth-input-wrap input{border:1px solid var(--border);background:var(--surface2);width:100%;min-width:0;color:var(--text);border-radius:10px;outline:none;padding:13px 43px;font-family:inherit;font-size:14px}.auth-input-wrap input:focus{border-color:var(--accent)}.auth-input-wrap input::placeholder{color:var(--muted);opacity:.7}.auth-password-toggle{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid;position:absolute;right:10px}.auth-password-toggle:hover{color:var(--accent)}.auth-submit{width:100%;min-height:46px;margin-top:10px}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-message{overflow-wrap:anywhere;border-radius:9px;padding:12px;font-size:12px;line-height:1.5}.auth-error{color:#f87171;background:#ef444417;border:1px solid #f871714d}.auth-success{color:var(--green);background:#10b98117;border:1px solid #34d3994d}.auth-links{color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:17px;margin-top:23px;font-size:12px;display:flex}.auth-links button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.auth-links button:hover{text-decoration:underline}.auth-footer{border-top:1px solid var(--border);color:var(--muted);text-align:center;margin-top:32px;padding-top:19px;font-size:10px}.auth-footer span{color:var(--accent)}@media (width<=500px){.auth-card{border-radius:16px;padding:27px 21px}.auth-brand{margin-bottom:34px}.auth-heading h1{font-size:26px}}.auth-loading{color:var(--text);letter-spacing:1px;text-align:center;font-size:22px;font-weight:800}.auth-loading span{color:var(--accent)}.auth-loading p{color:var(--muted);font-size:13px;font-weight:400}.workspace-switcher-wrap{flex-direction:column;gap:4px;min-width:150px;max-width:260px;display:flex}.workspace-switcher{border:1px solid var(--border);background:var(--surface2);width:100%;min-width:0;color:var(--text);cursor:pointer;border-radius:10px;outline:none;padding:9px 30px 9px 11px;font-family:inherit;font-size:12px}.workspace-switcher:focus{border-color:var(--accent)}.workspace-switcher:disabled{opacity:.6;cursor:wait}.workspace-error{color:#f87171;font-size:10px}@media (width<=600px){.top-actions{gap:6px}.workspace-switcher-wrap{min-width:105px;max-width:145px}.workspace-switcher{padding:8px 5px;font-size:10px}.topbar{flex-wrap:wrap;justify-content:flex-start;gap:10px;height:auto;min-height:65px;padding:10px 12px}.brand{flex:100%;min-width:0}.top-actions{flex-wrap:nowrap;flex:100%;justify-content:space-between;gap:6px;width:100%;min-width:0}.workspace-switcher-wrap{flex:105px;min-width:0;max-width:none}.workspace-switcher{width:100%;min-width:0;padding:8px 7px;font-size:10px}.top-actions .icon-button,.top-actions .avatar{flex:0 0 36px;width:36px;height:36px}}@media (width<=380px){.top-actions{gap:4px}.top-actions .icon-button,.top-actions .avatar{flex-basis:33px;width:33px;height:33px}}.workspace-people-modal{max-width:680px;max-height:min(88vh,900px);overflow-y:auto}.workspace-person-row,.workspace-invite-row{border-bottom:1px solid var(--border-color,#ffffff1a);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.workspace-person-row>div:first-child,.workspace-invite-row>div:first-child{flex-direction:column;gap:4px;min-width:0;display:flex}.workspace-person-row small,.workspace-invite-row small{color:var(--muted,#8b93a7);font-size:12px}.workspace-person-actions,.invite-link-row{align-items:center;gap:8px;display:flex}.workspace-person-actions select{max-width:145px}.invite-link-row input{flex:1;min-width:0}.workspace-people-modal>.eyebrow{margin-top:18px}.settings-modal{max-width:620px}.settings-section{border:1px solid var(--border);background:var(--surface2);border-radius:12px;flex-direction:column;gap:14px;margin:18px 0;padding:16px;display:flex}.settings-check{cursor:pointer;align-items:flex-start;gap:11px;display:flex}.settings-check input{width:17px;height:17px;accent-color:var(--accent);flex:none;margin-top:2px}.settings-check span{flex-direction:column;gap:4px;display:flex}.settings-check strong{color:var(--text);font-size:13px}.settings-check small{color:var(--muted);font-size:12px;line-height:1.5}.shared-results-list{flex-direction:column;gap:9px;margin:8px 0 14px;display:flex}.shared-result-row{border:1px solid var(--border);background:var(--surface2);border-radius:10px;padding:10px 12px}.shared-result-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px;display:flex}.shared-result-heading strong{font-size:12px}.shared-result-row .detail-text{margin:0}.settings-password-form{flex-direction:column;gap:10px;display:flex}.settings-feedback{color:var(--muted);margin:2px 0 0;font-size:12px;line-height:1.5}.settings-modal{max-height:min(88vh,900px);overflow-y:auto}.realtime-indicator{border:1px solid var(--border);color:var(--muted);letter-spacing:.06em;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:10px;font-weight:700;display:inline-flex}.realtime-indicator-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.realtime-indicator.connected{color:#34d399;border-color:#34d39940}.realtime-indicator.error{color:#fb7185;border-color:#fb71854d}@media (width<=640px){.realtime-indicator{padding:6px;font-size:9px}}.top-icon-actions{align-items:center;gap:8px;display:flex}.workspace-add-button{flex:0 0 38px}@media (width<=600px){.topbar{flex-direction:column;align-items:stretch;gap:12px;height:auto;min-height:0;padding:12px 14px;display:flex}.brand{flex:none;gap:10px;width:100%}.brand-icon{border-radius:11px;width:38px;height:38px}.brand-name{font-size:18px;line-height:1.1}.brand-subtitle{margin-top:2px;font-size:10px}.top-actions{grid-template-columns:minmax(0,1fr) 36px auto;align-items:center;gap:8px;width:100%;display:grid}.workspace-switcher-wrap{width:100%;min-width:0;max-width:none;display:block}.workspace-switcher{text-overflow:ellipsis;width:100%;min-width:0;height:36px;padding:0 26px 0 10px;font-size:12px;display:block}.workspace-add-button{flex:none;width:36px;height:36px}.realtime-indicator{justify-content:center;min-height:34px;padding:0 9px;font-size:9px}.top-icon-actions{grid-column:1/-1;justify-content:flex-end;gap:7px}.top-icon-actions .icon-button,.top-icon-actions .avatar{flex:0 0 34px;width:34px;height:34px}.main{padding:18px 14px 30px}.welcome{gap:14px;margin-bottom:22px}.welcome h1{letter-spacing:-1px;margin:8px 0 6px;font-size:clamp(25px,7vw,29px);line-height:1.12}.welcome p{font-size:13px;line-height:1.45}.progress-card{border-radius:14px;padding:15px}.progress-number{margin:7px 0;font-size:28px}.program-toolbar{gap:12px;margin-bottom:14px}.program-manager{padding:15px}}@media (width<=380px){.topbar{padding-left:11px;padding-right:11px}.top-actions{grid-template-columns:minmax(0,1fr) 34px auto;gap:6px}.workspace-add-button{width:34px;height:34px}.top-icon-actions{gap:5px}.top-icon-actions .icon-button,.top-icon-actions .avatar{flex-basis:32px;width:32px;height:32px}.main{padding-left:11px;padding-right:11px}}@media (width<=600px){.main{padding-top:14px;padding-bottom:24px}.welcome{gap:10px;margin-bottom:15px}.welcome h1{letter-spacing:-.8px;max-width:100%;margin:6px 0 4px;font-size:clamp(23px,6.3vw,27px);line-height:1.08}.welcome p{font-size:12px}.progress-card{padding:12px 14px}.progress-top{font-size:11px}.progress-number{margin:5px 0;font-size:25px}.progress-track{height:6px}.progress-caption{margin-top:6px;font-size:10px}.program-toolbar{gap:9px;margin-bottom:12px}.program-filter{gap:5px}.program-filter select{padding:9px 11px}.toolbar-actions{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7px;display:grid}.toolbar-actions button,.toolbar-actions .add-button{grid-column:auto;width:100%;min-height:38px;padding:8px 9px;font-size:12px}.program-manager{margin-bottom:12px;padding:13px}.manager-heading{flex-direction:row;align-items:center;gap:8px;margin-bottom:11px}.manager-heading .eyebrow{letter-spacing:1.1px;font-size:9px}.manager-heading h2{margin-top:4px;font-size:17px}.manager-heading .add-button{white-space:nowrap;flex:none;width:auto;min-height:36px;padding:8px 10px;font-size:11px}.program-list{gap:8px}.program-card{flex-direction:column;align-items:stretch;gap:8px;padding:10px}.program-card-main{gap:3px}.program-card-main strong{font-size:12px}.program-card-main span,.program-card-main small{font-size:10px;line-height:1.35}.program-card-actions{justify-content:flex-start;gap:6px;width:100%}.program-card-actions .icon-button{border-radius:9px;width:30px;height:30px}.program-card-actions .icon-button svg{width:15px;height:15px}}@media (width<=380px){.manager-heading .add-button{padding:7px 8px;font-size:10px}.manager-heading .eyebrow{letter-spacing:.8px}.toolbar-actions button,.toolbar-actions .add-button{padding-left:6px;padding-right:6px;font-size:11px}}.program-menu-wrap{width:100%;position:relative}.program-menu-trigger{border:1px solid var(--border,#2a3c59);background:var(--surface,#121d31);width:100%;min-height:44px;color:var(--text,#f3f6ff);font:inherit;text-align:left;cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.program-menu-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.program-menu-trigger.is-open{border-color:var(--accent,#579bfa)}.program-menu{z-index:40;border:1px solid var(--border,#2a3c59);background:var(--panel,#111c30);border-radius:14px;max-height:min(62vh,430px);padding:8px;position:absolute;top:calc(100% + 7px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 38px #00000061}.program-menu-heading{color:var(--text,#f3f6ff);justify-content:space-between;align-items:center;gap:8px;padding:5px 6px 9px;font-size:13px;display:flex}.program-menu-create{color:var(--accent,#69aaff);font:inherit;cursor:pointer;background:#539af629;border:0;border-radius:8px;align-items:center;gap:4px;padding:6px 8px;font-size:11px;display:inline-flex}.program-menu-row{border-radius:10px;align-items:center;gap:6px;padding:3px;display:flex}.program-menu-row.active{background:#539af617}.program-menu-item{width:100%;min-width:0;color:var(--text,#f3f6ff);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:9px 8px;display:flex}.program-menu-item>span{flex-direction:column;gap:3px;min-width:0;display:flex}.program-menu-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.program-menu-item small{color:var(--muted,#98a8c1);font-size:10px}.program-menu-item>svg{color:var(--accent,#69aaff);flex:none}.program-menu-actions{flex:none;gap:4px;display:flex}.program-menu-actions .icon-button{width:30px;height:30px}.program-menu-empty{color:var(--muted,#98a8c1);margin:0;padding:12px 8px;font-size:12px}@media (width<=600px){.program-toolbar{gap:8px;margin-bottom:12px}.program-filter{gap:5px}.program-menu-trigger{min-height:40px;padding:8px 11px;font-size:12px}.program-menu{max-height:55vh}.program-menu-item{padding:8px 7px}.program-menu-actions .icon-button{width:28px;height:28px}}.program-archive-modal,.selected-date-modal{max-width:620px}.archive-empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:28px 12px;display:flex}.archive-empty svg{color:var(--accent)}.archive-empty h3{color:var(--text);margin:3px 0 0;font-size:16px}.archive-empty p{margin:0;font-size:12px}.archive-program-list,.selected-date-workouts{flex-direction:column;gap:9px;max-height:min(58vh,480px);display:flex;overflow-y:auto}.archive-program-card{border:1px solid var(--border);background:var(--surface2);border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.archive-program-card>div{flex-direction:column;gap:4px;min-width:0;display:flex}.archive-program-card strong{color:var(--text);font-size:13px}.archive-program-card small{color:var(--muted);font-size:11px}.archive-program-card .secondary-button{flex:none;width:auto;margin:0;padding:8px 10px;font-size:11px}.archive-status{color:var(--muted);font-size:11px}.selected-date-workouts .day-workout{margin:0}.selected-date-modal>.modal-actions{margin-top:14px}.selected-date-modal>.modal-actions .primary-button{width:100%}@media (width<=600px){.program-archive-modal,.selected-date-modal{width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 28px);padding:16px;overflow-y:auto}.archive-program-card{flex-direction:column;align-items:flex-start}.archive-program-card .secondary-button{justify-content:center;width:100%}.archive-program-list,.selected-date-workouts{max-height:52dvh}}@media (width>=601px){.program-filter{width:min(420px,48%);min-width:320px}.program-menu{min-width:340px;max-width:min(460px,100vw - 40px)}.program-menu-row{align-items:center}.program-menu-item strong,.program-menu-item small{white-space:nowrap}.program-menu-item small{text-overflow:ellipsis;overflow:hidden}.program-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.program-filter{width:100%;min-width:0}.program-menu{min-width:0;max-width:none}}@media (width>=601px){.topbar{min-height:76px;padding-left:max(50% - 740px,3.5%);padding-right:max(50% - 740px,3.5%)}.workspace-switcher-wrap{min-width:230px;max-width:310px}.workspace-switcher{background:var(--surface2);border-color:var(--border);border-radius:12px;min-height:44px;padding:0 38px 0 14px;font-size:13px;font-weight:600;transition:border-color .18s,background .18s}.workspace-switcher:hover,.workspace-switcher:focus-visible{border-color:var(--accent);background:var(--surface)}.main{max-width:1480px;padding:38px 4.5% 56px}.welcome{margin-bottom:38px}.program-toolbar{margin-bottom:16px}.content-grid{grid-template-columns:minmax(0,1fr);gap:18px}.calendar-card{width:100%;padding:25px}.calendar-grid{gap:9px}.day-cell{min-height:94px}.program-summary{margin-bottom:18px}}@media (width<=600px){.welcome{gap:0;margin-top:0;margin-bottom:16px}.welcome>div:first-child{display:none}.progress-card{width:100%}.workspace-switcher{border-radius:11px;min-height:38px;padding:0 28px 0 11px;font-size:11px;font-weight:600}}.brand{align-items:center;gap:clamp(14px,2vw,30px);min-width:0;display:flex}.brand-identity{flex:none;align-items:center;gap:12px;display:flex}.brand .workspace-switcher-wrap{width:clamp(190px,20vw,280px);min-width:0;max-width:280px}.brand .workspace-switcher{border:1px solid var(--border);background:var(--surface2);width:100%;min-height:42px;color:var(--text);border-radius:12px;padding:0 36px 0 13px;font-size:12px;font-weight:600;transition:border-color .18s,background .18s,box-shadow .18s;box-shadow:inset 0 1px #ffffff06}.brand .workspace-switcher:hover,.brand .workspace-switcher:focus-visible{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent)}.top-actions{white-space:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:9px;display:flex}@media (width>=601px){.topbar{gap:22px;padding-left:max(50% - 790px,2.5%);padding-right:max(50% - 790px,2.5%)}.main{box-sizing:border-box;width:100%;max-width:1640px;padding:34px clamp(28px,4vw,64px) 56px}.content-grid{width:100%;display:block}.calendar-card{box-sizing:border-box;width:100%}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.day-cell{min-height:clamp(86px,7vw,112px)}}@media (width<=600px){.topbar{align-items:center;gap:9px;height:auto;min-height:0;padding:10px 12px}.brand{flex:100%;gap:12px;width:100%}.brand-identity{flex:none;gap:9px}.brand-icon{width:38px;height:38px}.brand-name{font-size:17px}.brand-subtitle{font-size:9px}.brand .workspace-switcher-wrap{flex:1 1 0;width:auto;min-width:0;max-width:none}.brand .workspace-switcher{min-height:38px;padding:0 25px 0 9px;font-size:10px}.top-actions{flex:100%;justify-content:space-between;gap:6px;width:100%}.top-actions .icon-button,.top-actions .avatar{flex:0 0 34px;width:34px;height:34px}.top-actions .realtime-indicator{min-height:32px;padding:0 8px;font-size:9px}}@media (width<=380px){.brand,.brand-identity{gap:7px}.brand-name{font-size:15px}.brand-subtitle{font-size:8px}.brand .workspace-switcher{padding-left:7px;font-size:9px}.top-actions{gap:4px}.top-actions .icon-button,.top-actions .avatar{flex-basis:31px;width:31px;height:31px}}.workspace-switcher-wrap,.workspace-type-picker{position:relative}.workspace-switcher{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:10px;display:flex}.workspace-switcher>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-switcher>svg{color:var(--muted);flex:none;transition:transform .18s}.workspace-switcher.is-open>svg,.workspace-type-trigger.is-open>svg{transform:rotate(180deg)}.workspace-dropdown,.workspace-type-menu{z-index:1200;border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:6px;animation:.14s ease-out workspace-menu-in;position:absolute;top:calc(100% + 7px);left:0;right:0;box-shadow:0 16px 38px #00000061}@keyframes workspace-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.workspace-dropdown-item,.workspace-type-menu>button{width:100%;min-width:0;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;transition:background .15s,color .15s;display:flex}.workspace-dropdown-item:hover,.workspace-type-menu>button:hover{background:var(--surface2)}.workspace-dropdown-item.active,.workspace-type-menu>button.active{background:var(--accent-bg);color:var(--accent)}.workspace-dropdown-item>span,.workspace-type-menu>button>span{flex-direction:column;gap:3px;min-width:0;display:flex}.workspace-dropdown-item strong,.workspace-type-menu strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.workspace-dropdown-item small,.workspace-type-menu small{color:var(--muted);font-size:10px}.workspace-dropdown-item>svg,.workspace-type-menu>button>svg{color:var(--accent);flex:none}.workspace-dropdown-empty{color:var(--muted);text-align:center;margin:0;padding:12px;font-size:12px}.workspace-type-trigger{border:1px solid var(--border);background:var(--surface2);width:100%;min-height:43px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;display:flex}.workspace-type-trigger:hover,.workspace-type-trigger.is-open{border-color:var(--accent)}.workspace-type-trigger svg{color:var(--muted);transition:transform .18s}.workspace-type-menu{top:calc(100% + 5px)}@media (width<=600px){.workspace-dropdown{min-width:min(260px,100vw - 30px)}.workspace-switcher{min-height:38px}}.training-analytics,.training-diary{margin:26px 0}.section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px;display:flex}.section-heading h2{margin:5px 0 4px;font-size:22px}.section-heading p{color:var(--muted);margin:0;font-size:13px}.analytics-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.analytics-card,.analytics-chart-card,.diary-entry,.diary-empty{background:var(--surface);border:1px solid var(--border);border-radius:14px}.analytics-card{min-width:0;padding:17px}.analytics-card>span{color:var(--muted);margin-bottom:9px;font-size:12px;display:block}.analytics-card>strong{overflow-wrap:anywhere;font-size:clamp(19px,2.3vw,27px);display:block}.analytics-card>strong small{color:var(--muted);font-size:13px}.analytics-chart-card{padding:18px}.analytics-card-heading{color:var(--text);justify-content:space-between;gap:12px;font-size:14px;display:flex}.analytics-card-heading span{color:var(--muted);font-size:12px}.weekly-distance-chart{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;height:170px;padding-top:16px;display:grid}.weekly-distance-column{min-width:0;color:var(--muted);flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;font-size:10px;display:flex}.weekly-distance-column>strong{color:var(--text);font-size:10px;font-weight:600}.weekly-distance-track{background:var(--surface2);border-radius:8px;flex:1;align-items:flex-end;width:min(100%,30px);min-height:5px;display:flex;overflow:hidden}.weekly-distance-track i{background:var(--accent);border-radius:8px;width:100%;min-height:2px;display:block}.weekly-distance-column>span{white-space:nowrap}.diary-list{gap:9px;display:grid}.diary-entry{grid-template-columns:66px minmax(0,1fr) auto;align-items:start;gap:14px;padding:15px;display:grid}.diary-date{color:var(--accent);padding-top:2px;font-size:13px;font-weight:700}.diary-main{min-width:0}.diary-main>strong{font-size:14px;display:block}.diary-main>span{color:var(--muted);margin-top:4px;font-size:11px;display:block}.diary-main p{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:13px}.diary-main .diary-comment{color:var(--muted)}.diary-metrics{color:var(--muted);white-space:nowrap;flex-direction:column;align-items:flex-end;gap:5px;font-size:12px;display:flex}.diary-metrics strong{color:var(--text);font-size:14px}.diary-empty{color:var(--muted);text-align:center;padding:24px;font-size:13px}.form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}@media (width<=760px){.analytics-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.diary-entry{grid-template-columns:52px minmax(0,1fr);gap:10px}.diary-metrics{flex-flow:wrap;grid-column:2;align-items:center;gap:10px}}@media (width<=420px){.form-grid-two{grid-template-columns:1fr;gap:0}.weekly-distance-chart{gap:5px}.weekly-distance-column>span{font-size:9px}}.page-switcher{border:1px solid var(--border,#263750);background:var(--panel,#111d30);border-radius:14px;gap:8px;margin:0 0 20px;padding:5px;display:flex}.page-switcher button{min-height:42px;color:var(--muted,#a9bdd7);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;padding:9px 14px;font-weight:700;transition:background .18s,color .18s}.page-switcher button.active{color:#fff;background:var(--accent,#579cf4)}.analytics-page-heading{margin:8px 0 22px}.analytics-page-heading h1{margin:7px 0 5px;font-size:clamp(26px,4vw,34px)}.analytics-page-heading p{color:var(--muted,#a9bdd7);margin:0}@media (width<=520px){.page-switcher{margin-bottom:16px}.page-switcher button{min-height:40px;padding:8px 6px;font-size:13px}}.notification-wrap{align-items:center;display:flex;position:relative}.notification-trigger{position:relative}.notification-badge{border:2px solid var(--surface,#101b2e);color:#fff;background:#e45b68;border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:800;line-height:1;display:grid;position:absolute;top:-4px;right:-4px}.notification-panel{z-index:1500;border:1px solid var(--border);background:var(--surface);border-radius:15px;flex-direction:column;width:min(360px,100vw - 24px);max-height:min(520px,100dvh - 100px);display:flex;position:absolute;top:calc(100% + 12px);right:0;overflow:hidden;box-shadow:0 18px 48px #0006}.notification-panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 15px;display:flex}.notification-panel-heading strong{color:var(--text);font-size:14px}.notification-panel-heading button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:650}.notification-list{overflow-y:auto}.notification-item{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.notification-item:hover{background:var(--surface2)}.notification-item.unread{background:color-mix(in srgb, var(--accent) 7%, transparent)}.notification-item-dot{background:0 0;border-radius:50%;flex:0 0 7px;width:7px;height:7px;margin-top:6px}.notification-item.unread .notification-item-dot{background:var(--accent)}.notification-item-content{flex-direction:column;gap:4px;min-width:0;display:flex}.notification-item-content strong{font-size:12px;font-weight:700}.notification-item-content small{color:var(--muted);font-size:11px;line-height:1.4}.notification-item-content time{color:var(--muted);font-size:10px}.notification-empty,.notification-error{color:var(--muted);text-align:center;margin:0;padding:24px 16px;font-size:12px}.notification-error{color:#e87979;padding:8px 14px}@media (width<=600px){.notification-panel{width:min(360px,100vw - 20px);position:fixed;top:108px;right:10px}}.offline-status{border:1px solid var(--border);color:var(--muted);background:var(--surface2);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:11px;display:inline-flex}.offline-status-dot{background:var(--green);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.offline-status.offline{color:#f59e0b;border-color:#f59e0b55}.offline-status.offline .offline-status-dot{background:#f59e0b}@media (width<=600px){.offline-status{padding:6px 8px;font-size:10px}.top-actions{gap:7px}}.offline-sync-note{max-width:1380px;color:var(--muted);margin:12px auto 0;padding:10px 5%;font-size:12px;line-height:1.5}.offline-sync-note.has-pending{color:#f59e0b}@media (width<=600px){.offline-sync-note{padding:10px 13px 0;font-size:11px}.topbar{flex-wrap:wrap;gap:9px;height:auto;min-height:65px;padding:9px 13px}.topbar>.brand{justify-content:space-between;gap:8px;width:100%}.topbar>.top-actions{justify-content:space-between;gap:6px;width:100%}.brand-identity{gap:8px}.workspace-switcher-wrap{min-width:0;max-width:55%}.workspace-switcher{max-width:100%}.top-icon-actions{gap:5px}}@media (width<=380px){.topbar>.top-actions{gap:4px}.offline-status{gap:5px;padding:5px 7px}.top-icon-actions{gap:3px}.top-actions .realtime-indicator{font-size:8px}}.role-picker{z-index:1;width:100%;min-width:0;position:relative}.role-picker:has(.role-picker-menu){z-index:1301}.role-picker-trigger{border:1px solid var(--border);background:var(--surface2);width:100%;min-height:43px;color:var(--text);font:inherit;text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;transition:border-color .16s,box-shadow .16s,background .16s;display:flex}.role-picker-trigger:hover,.role-picker-trigger.is-open,.role-picker-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);outline:none}.role-picker-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.role-picker-trigger>svg{color:var(--muted);flex:none;transition:transform .16s}.role-picker-trigger.is-open>svg{transform:rotate(180deg)}.role-picker-backdrop{z-index:1299;cursor:default;background:0 0;border:0;width:100%;height:100%;padding:0;position:fixed;inset:0}.role-picker-menu{z-index:1300;border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:3px;padding:5px;animation:.14s ease-out workspace-menu-in;display:grid;position:absolute;top:calc(100% + 7px);left:0;right:0;box-shadow:0 16px 38px #0000005c}.role-picker-option{width:100%;min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;transition:background .14s,color .14s;display:flex}.role-picker-option:hover,.role-picker-option:focus-visible{background:var(--surface2);outline:none}.role-picker-option.active{background:var(--accent-bg);color:var(--accent)}.role-picker-option>span{flex-direction:column;gap:3px;min-width:0;display:flex}.role-picker-option strong{font-size:12px;font-weight:700}.role-picker-option small{color:var(--muted);font-size:10px;line-height:1.35}.role-picker-option>svg{flex:none}.workspace-person-actions .role-picker{width:min(154px,42vw)}.workspace-person-actions .role-picker-trigger{min-height:39px;padding:8px 10px;font-size:12px}@media (width<=420px){.workspace-person-row{align-items:flex-start;gap:9px}.workspace-person-actions{flex:none;gap:6px}.workspace-person-actions .role-picker{width:min(142px,39vw)}.workspace-person-actions .icon-button{flex:0 0 38px;width:38px;height:38px}.role-picker-option{padding:11px 10px}}.role-picker-menu.opens-up{top:auto;bottom:calc(100% + 7px)}.feedback-toast-stack{z-index:3000;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));pointer-events:none;gap:9px;width:min(390px,100vw - 32px);display:grid;position:fixed}.feedback-toast{border:1px solid var(--border);border-left:3px solid var(--accent);background:var(--surface);color:var(--text);pointer-events:auto;overflow-wrap:anywhere;border-radius:12px;grid-template-columns:20px minmax(0,1fr) 28px;align-items:start;gap:10px;padding:13px 12px;font-size:13px;line-height:1.45;animation:.18s ease-out feedback-toast-in;display:grid;box-shadow:0 12px 34px #00000047}.feedback-toast>svg{color:var(--accent);margin-top:1px}.feedback-toast-success{border-left-color:#36b37e}.feedback-toast-success>svg{color:#36b37e}.feedback-toast-info{border-left-color:var(--accent)}.feedback-toast-warning{border-left-color:#d99a36}.feedback-toast-warning>svg{color:#d99a36}.feedback-toast-error{border-left-color:#e05b62}.feedback-toast-error>svg{color:#e05b62}.feedback-toast-close{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;margin:-4px -3px 0 0;padding:0;display:grid}.feedback-toast-close:hover,.feedback-toast-close:focus-visible{background:var(--surface2);color:var(--text);outline:none}.feedback-dialog-backdrop{z-index:3100;padding:max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#040810ad;place-items:center;display:grid;position:fixed;inset:0}.feedback-dialog{border:1px solid var(--border);background:var(--surface);width:min(440px,100%);color:var(--text);border-radius:18px;padding:24px;animation:.16s ease-out feedback-dialog-in;box-shadow:0 24px 70px #0000006b}.feedback-dialog-icon{background:var(--accent-bg);width:44px;height:44px;color:var(--accent);border-radius:13px;place-items:center;margin-bottom:15px;display:grid}.feedback-dialog-icon.is-danger{color:#e05b62;background:#e05b6221}.feedback-dialog h2{margin:0;font-size:19px;line-height:1.3}.feedback-dialog p{color:var(--muted);overflow-wrap:anywhere;margin:10px 0 22px;font-size:14px;line-height:1.55}.feedback-dialog-actions{justify-content:flex-end;gap:9px;display:flex}.feedback-dialog-actions>button{box-sizing:border-box;white-space:nowrap;vertical-align:middle;flex:1 1 0;justify-content:center;align-items:center;width:auto;min-width:0;height:48px;min-height:48px;max-height:48px;margin:0;padding:0 14px;line-height:1.2;display:inline-flex}.danger-button{box-sizing:border-box;color:#fff;min-height:42px;font:inherit;cursor:pointer;background:#d84e58;border:1px solid #d84e58;border-radius:9px;justify-content:center;align-items:center;padding:11px 16px;font-size:13px;font-weight:650;line-height:1.2;transition:background .15s,transform .15s;display:inline-flex}.danger-button:hover{background:#bd3e48}.danger-button:focus-visible{outline-offset:2px;outline:3px solid #e05b624d}@keyframes feedback-toast-in{0%{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}@keyframes feedback-dialog-in{0%{opacity:0;transform:translateY(7px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=480px){.feedback-toast-stack{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));width:calc(100vw - 20px)}.feedback-dialog{border-radius:16px;padding:20px}.feedback-dialog-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.feedback-dialog-actions>button{width:100%;min-width:0;min-height:48px;margin:0}}@media (prefers-reduced-motion:reduce){.feedback-toast,.feedback-dialog{animation:none}}@media (width>=601px) and (width<=900px){.topbar{flex-wrap:wrap;gap:10px 18px;height:auto;min-height:76px;padding:12px 24px}.brand{flex:100%;justify-content:space-between;min-width:0}.brand .workspace-switcher-wrap{flex:0 300px;width:auto;min-width:0}.top-actions{justify-content:flex-end;gap:10px;width:100%}}@media (width<=600px){.topbar{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;padding:10px 12px;display:flex}.topbar>.brand{justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.brand-identity{flex:none;gap:8px;min-width:0}.brand-identity>div:last-child{min-width:0}.brand .workspace-switcher-wrap{flex:1 1 0;width:auto;min-width:0;max-width:none}.brand .workspace-switcher{width:100%;min-width:0;min-height:38px;padding:0 25px 0 9px;font-size:10px}.topbar>.top-actions{justify-content:space-between;align-items:center;gap:7px;width:100%;min-width:0;display:flex}.top-actions .workspace-add-button,.top-actions .icon-button,.top-actions .avatar{flex:0 0 34px;width:34px;height:34px}.top-icon-actions{justify-content:flex-end;align-items:center;gap:5px;min-width:0;display:flex}.top-icon-actions .icon-button,.top-icon-actions .avatar{flex:0 0 32px;width:32px;height:32px}.realtime-indicator{flex:none;min-height:32px;padding:0 8px;font-size:9px}.notification-panel{top:max(104px, env(safe-area-inset-top) + 92px);width:auto;max-height:min(60dvh,520px);position:fixed;left:10px;right:10px}.calendar-card{padding:12px}.calendar-heading{flex-direction:row;align-items:center;gap:8px;margin-bottom:14px}.calendar-heading h2{font-size:16px}.calendar-heading p{display:none}.month-controls{flex:none;gap:5px;width:auto}.month-controls strong{min-width:104px;font-size:12px}.month-controls .icon-button{width:34px;height:34px}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.weekday{padding:6px 0;font-size:10px}.day-cell{gap:4px;min-width:0;min-height:70px;padding:5px 4px;overflow:hidden}.day-number{font-size:12px}.calendar-event{font-size:8px;line-height:1.25}.calendar-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin-top:14px;padding-top:12px;display:grid}.calendar-legend span{min-width:0;font-size:10px}.program-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.program-summary>div{min-width:0;padding:11px 12px}.program-summary span{font-size:9px;line-height:1.35}.program-summary strong{overflow-wrap:anywhere;font-size:13px}.program-toolbar{gap:10px}.toolbar-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.toolbar-actions .add-button{grid-column:1/-1}.page-switcher{z-index:20;background:var(--bg);position:sticky;top:0}}@media (width<=380px){.topbar{padding-left:10px;padding-right:10px}.brand-name{font-size:15px}.brand-subtitle{font-size:8px}.topbar>.top-actions{grid-template-columns:34px minmax(0,1fr);gap:7px;display:grid}.top-actions .realtime-indicator{justify-self:end}.top-icon-actions{grid-column:1/-1;justify-content:flex-end;gap:5px}.top-icon-actions .icon-button,.top-icon-actions .avatar{flex-basis:34px;width:34px;height:34px}.calendar-grid{gap:3px}.day-cell{gap:3px;min-height:62px;padding:4px 2px}.day-cell .calendar-event{display:none}.day-number{font-size:11px}.more-events{font-size:8px}.weekday{font-size:9px}.month-controls strong{min-width:94px;font-size:11px}.calendar-legend{gap:8px}.calendar-legend span{font-size:9px}}@media (width<=340px){.brand-icon{width:34px;height:34px}.brand-identity{gap:6px}.brand-name{font-size:14px}.brand-subtitle{display:none}.brand .workspace-switcher{padding-left:7px;font-size:9px}.top-icon-actions{gap:4px}.top-icon-actions .icon-button,.top-icon-actions .avatar{flex-basis:32px;width:32px;height:32px}.day-cell{min-height:58px}}@media (width<=600px){.page-switcher{border-radius:12px;gap:5px;margin-bottom:14px;padding:4px}.page-switcher button{min-width:0;min-height:44px;padding:8px 6px;font-size:12px;line-height:1.25}.form-field input,.form-field select,.form-field textarea,.program-filter select{box-sizing:border-box;min-height:44px;font-size:16px}.form-field textarea{min-height:104px}.settings-section{padding:13px}.settings-check{align-items:center;min-height:44px}.settings-check input{width:20px;height:20px}.modal-overlay{padding:8px 8px max(8px, env(safe-area-inset-bottom))}.workout-modal{width:100%;max-width:none;max-height:calc(100dvh - max(16px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));overscroll-behavior:contain;padding:16px}.modal-heading{gap:10px;margin-bottom:18px}.modal-heading h2{font-size:19px;line-height:1.3}.modal-actions{bottom:calc(-16px + env(safe-area-inset-bottom));padding-bottom:max(10px, env(safe-area-inset-bottom))}.modal-actions button,.workout-actions button,.archive-program-card button,.role-picker-trigger,.role-picker-option{min-height:44px}.feedback-dialog-backdrop{padding:max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));align-items:end}.feedback-dialog{width:100%;max-width:440px;margin:0 auto}.feedback-dialog-actions>button{min-height:48px}.program-menu{overscroll-behavior:contain;width:100%;max-height:min(60dvh,440px);overflow-y:auto}.workspace-dropdown,.notification-panel{overscroll-behavior:contain}}@media (width<=380px){.page-switcher button{font-size:11px}.toolbar-actions{grid-template-columns:minmax(0,1fr)}.toolbar-actions .add-button{grid-column:auto}.feedback-dialog-actions{gap:7px}.feedback-dialog-actions>button{padding-left:8px;padding-right:8px;font-size:12px}}@media (width<=600px){.toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-actions .add-button{grid-column:auto;width:100%}}.workspace-delete-action{border:0;border-top:1px solid var(--border);color:#f87171;width:100%;min-height:44px;font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:9px;margin-top:6px;padding:10px 12px;font-size:12px;font-weight:650;display:flex}.workspace-delete-action:hover,.workspace-delete-action:focus-visible{background:#f871711a;outline:none}.calendar-event small{opacity:.82;margin-left:10px;font-size:8px;line-height:1.15;display:block}.day-cell.today:not(.selected){border-color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent)}.day-cell.today .day-number:after{content:" · сегодня";color:var(--accent);font-size:8px;font-weight:700}.workout-type-picker{width:100%;position:relative}.workout-type-trigger{border:1px solid var(--border);background:var(--surface,#172338);width:100%;min-height:48px;color:var(--text,#f4f7ff);font:inherit;text-align:left;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-size:14px;display:flex}.workout-type-trigger:hover,.workout-type-trigger.is-open{border-color:var(--accent)}.workout-type-trigger svg{color:var(--muted);flex:none;transition:transform .16s}.workout-type-trigger.is-open svg{transform:rotate(180deg)}.workout-type-menu{z-index:80;border:1px solid var(--border);background:var(--panel,#101b2e);border-radius:12px;gap:3px;max-height:min(320px,42vh);padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 16px 36px #00000059}.workout-type-menu button{width:100%;min-height:42px;color:var(--text,#f4f7ff);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;font-size:13px;display:flex}.workout-type-menu button:hover,.workout-type-menu button:focus-visible{background:#63a6ff1f;outline:none}.workout-type-menu button.active{color:var(--accent);background:#63a6ff33;font-weight:700}.workout-type-menu button svg{color:var(--accent)}.app-dropdown{width:100%;position:relative}.app-dropdown-trigger,.workout-type-trigger,.role-picker-trigger{border:1px solid var(--border);background:var(--surface,#172338);width:100%;min-height:48px;color:var(--text,#f4f7ff);font:inherit;text-align:left;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-size:14px;display:flex}.app-dropdown-trigger:hover,.app-dropdown-trigger.is-open,.workout-type-trigger:hover,.workout-type-trigger.is-open,.role-picker-trigger:hover,.role-picker-trigger.is-open{border-color:var(--accent)}.app-dropdown-trigger svg,.role-picker-trigger svg{color:var(--muted);flex:none;transition:transform .16s}.app-dropdown-trigger.is-open svg,.role-picker-trigger.is-open svg{transform:rotate(180deg)}.app-dropdown-backdrop,.role-picker-backdrop{z-index:89;cursor:default;background:0 0;border:0;padding:0;position:fixed;inset:0}.app-dropdown-menu,.workout-type-menu,.role-picker-menu{z-index:90;border:1px solid var(--border);background:var(--panel,#101b2e);border-radius:12px;gap:3px;max-height:min(320px,42vh);padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 16px 36px #00000059}.app-dropdown.opens-up .app-dropdown-menu,.role-picker-menu.opens-up{top:auto;bottom:calc(100% + 6px)}.app-dropdown-option,.role-picker-option,.workout-type-menu button{width:100%;min-height:44px;color:var(--text,#f4f7ff);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;font-size:13px;display:flex}.app-dropdown-option:hover,.app-dropdown-option:focus-visible,.app-dropdown-option.active,.role-picker-option:hover,.role-picker-option.active,.workout-type-menu button:hover,.workout-type-menu button.active{background:#63a6ff29;outline:none}.app-dropdown-option.active,.role-picker-option.active,.workout-type-menu button.active{color:var(--accent);font-weight:700}.app-dropdown-option>span,.role-picker-option>span{gap:3px;display:grid}.app-dropdown-option small,.role-picker-option small{color:var(--muted);font-size:11px;font-weight:400}.app-dropdown-option svg,.role-picker-option svg,.workout-type-menu button svg{color:var(--accent);flex:none}.duration-field input{font-variant-numeric:tabular-nums;letter-spacing:.06em}.program-menu-trigger,.workspace-switcher,.workspace-type-trigger{border:1px solid var(--border);background:var(--surface2,var(--surface));min-height:48px;color:var(--text);font:inherit;border-radius:10px}.program-menu-trigger:hover,.program-menu-trigger.is-open,.workspace-switcher:hover,.workspace-switcher.is-open,.workspace-type-trigger:hover,.workspace-type-trigger.is-open{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent)}.program-menu,.workspace-dropdown,.workspace-type-menu{border:1px solid var(--border);background:var(--panel,var(--surface));border-radius:12px;padding:6px;box-shadow:0 16px 36px #00000059}.program-menu-item,.workspace-dropdown-item,.workspace-type-menu>button{min-height:44px;color:var(--text);border-radius:8px}.program-menu-item:hover,.workspace-dropdown-item:hover,.workspace-type-menu>button:hover{background:var(--accent-bg,var(--surface2))}.program-menu-item.active,.workspace-dropdown-item.active,.workspace-type-menu>button.active{background:var(--accent-bg,var(--surface2));color:var(--accent)}.app-dropdown-option:focus-visible,.role-picker-option:focus-visible,.workspace-dropdown-item:focus-visible,.workspace-type-menu>button:focus-visible,.program-menu-item:focus-visible,.program-menu-create:focus-visible,.profile-menu button:focus-visible,.invite-group-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.profile-menu-wrap{position:relative}.profile-avatar-trigger{cursor:pointer;font:inherit;border:0}.profile-menu{z-index:120;border:1px solid var(--border);background:var(--panel,var(--surface));border-radius:12px;gap:4px;min-width:205px;padding:6px;display:grid;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 16px 36px #0000004d}.profile-menu button{width:100%;min-height:42px;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:9px 11px;font-size:13px;display:flex}.profile-menu button:hover{background:var(--accent-bg);color:var(--accent)}.workspace-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:4px 0 18px;display:grid}.workspace-settings-tabs button{border:1px solid var(--border);background:var(--surface2);min-height:43px;color:var(--muted);font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 10px;font-size:12px;font-weight:650;display:inline-flex}.workspace-settings-tabs button.active{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.invite-groups{gap:8px;margin-top:18px;display:grid}.invite-group{border:1px solid var(--border);border-radius:11px;overflow:hidden}.invite-group-trigger{background:var(--surface2);width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;border:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;display:flex}.invite-group-trigger>span{align-items:center;gap:9px;display:flex}.invite-group-trigger strong{font-size:13px}.invite-group-trigger small{background:var(--accent-bg);min-width:22px;height:22px;color:var(--accent);border-radius:20px;place-items:center;padding:0 6px;font-size:11px;font-weight:700;display:inline-grid}.invite-group-trigger svg{color:var(--muted);transition:transform .16s}.invite-group-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.invite-group-items{gap:0;padding:4px 10px;display:grid}.invite-group-items .workspace-invite-row{border-bottom:1px solid var(--border)}.invite-group-items .workspace-invite-row:last-child{border-bottom:0}@media (width<=380px){.calendar-card,.details-card{padding:11px}.calendar-grid{gap:2px}.day-cell{gap:2px;min-height:58px;padding:4px 2px}.day-type{display:none}.day-distance{font-size:8px}.weekday{font-size:9px}.workspace-settings-tabs button{gap:4px;padding:7px 5px;font-size:11px}.profile-menu{right:-4px}}@media (prefers-reduced-motion:reduce){.invite-group-trigger svg{transition:none}}.auth-divider{color:var(--muted);align-items:center;gap:12px;margin:18px 0 13px;font-size:11px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.google-auth-button{border:1px solid var(--border);background:var(--surface);width:100%;min-height:46px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:11px;padding:10px 14px;font-size:13px;font-weight:650;display:flex}.google-auth-button:hover:not(:disabled){border-color:var(--accent);background:var(--surface2)}.google-auth-button:disabled{opacity:.6;cursor:not-allowed}.google-auth-mark{color:#4285f4;background:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:16px;font-weight:800;display:grid}.profile-avatar-trigger{padding:0;overflow:hidden}.profile-avatar-trigger img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.workspace-member-identity{align-items:center;gap:10px;min-width:0;display:flex}.workspace-member-identity>img{object-fit:cover;background:var(--surface2);border-radius:50%;flex:0 0 36px;width:36px;height:36px}.workspace-member-identity>span{flex-direction:column;gap:4px;min-width:0;display:flex}.workspace-modal-overlay{overscroll-behavior:contain;padding:24px;overflow:hidden}.workspace-members-dialog,.workspace-settings-dialog{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100dvh - 48px);overflow-y:auto}.workspace-members-dialog{width:min(760px,100%);max-width:760px}.workspace-settings-dialog{width:min(960px,100%);max-width:960px}.workspace-settings-dialog>form{display:block}.workspace-settings-dialog .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width>=601px) and (width<=850px){.program-toolbar{flex-direction:row;align-items:flex-end;gap:14px}.program-filter{flex:1 1 0;min-width:0}.toolbar-actions{flex-wrap:nowrap;flex:none;gap:8px;display:flex}.toolbar-actions .secondary-button,.toolbar-actions .add-button{white-space:nowrap;grid-column:auto;width:auto}.toolbar-actions .add-button{flex:none}}@media (width<=600px){.workspace-modal-overlay{align-items:flex-end;padding:10px}.workspace-members-dialog,.workspace-settings-dialog{border-radius:17px 17px 10px 10px;width:100%;max-height:90dvh;padding:19px}.workspace-settings-dialog .form-row{grid-template-columns:1fr;gap:0}.workspace-settings-dialog .modal-actions{z-index:1;position:sticky;bottom:-19px}}.calendar-legend{align-items:center;gap:10px 16px}.calendar-legend span{white-space:nowrap}.dot.easy,.calendar-event.easy i{background:#34d399}.dot.interval,.calendar-event.interval i{background:#f59e0b}.dot.long,.calendar-event.long i{background:#60a5fa}.dot.tempo,.calendar-event.tempo i{background:#c084fc}.dot.rest,.calendar-event.rest i{background:#94a3b8}.dot.race,.calendar-event.race i{background:#f87171}.dot.activation,.calendar-event.activation i{background:#fbbf24}.dot.cross,.calendar-event.cross i{background:#2dd4bf}.dot.strength,.calendar-event.strength i{background:#fb923c}.dot.mobility,.calendar-event.mobility i{background:#a3e635}.dot.technique,.calendar-event.technique i{background:#38bdf8}.dot.recovery,.calendar-event.recovery i{background:#86efac}.dot.hills,.calendar-event.hills i{background:#e879f9}.dot.fartlek,.calendar-event.fartlek i{background:#f472b6}.dot.test,.calendar-event.test i{background:#facc15}.workout-type-menu{overscroll-behavior:contain;max-height:min(60vh,460px);overflow-y:auto}.workout-type-menu button{align-items:flex-start}.workout-type-menu button>span{text-align:left;flex-direction:column;gap:3px;display:flex}.workout-type-menu button small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.35}@media (width<=600px){.calendar-legend{gap:9px 12px}.calendar-legend span{font-size:10px}}.avatar-settings-row{align-items:center;gap:16px;display:flex}.avatar-settings-preview{border:1px solid var(--border);background:var(--surface);width:68px;height:68px;color:var(--accent);border-radius:50%;flex:0 0 68px;place-items:center;font-size:22px;font-weight:800;display:grid;overflow:hidden}.avatar-settings-preview img{object-fit:cover;width:100%;height:100%}.avatar-settings-actions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.avatar-settings-actions small{color:var(--muted);flex:100%;font-size:11px;line-height:1.45}@media (width<=420px){.avatar-settings-row{align-items:flex-start}.avatar-settings-preview{flex-basis:54px;width:54px;height:54px}.avatar-settings-actions{flex-direction:column;align-items:stretch}}.modal-overlay{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:100dvh}.workout-modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;max-height:calc(100dvh - 40px)}@media (width<=600px){.modal-overlay{max-height:100dvh;padding-top:max(10px, env(safe-area-inset-top));padding-bottom:max(10px, env(safe-area-inset-bottom))}.workout-modal{max-height:calc(100dvh - 20px)}}.duration-fields{border:1px solid var(--border);background:var(--surface2);border-radius:9px;align-items:center;gap:7px;min-height:44px;padding:5px 9px;display:flex}.duration-fields:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent)}.duration-fields>div{align-items:baseline;gap:3px;min-width:0;display:flex}.duration-fields input{width:2.5em;min-width:0;color:var(--text);text-align:center;font:inherit;font-variant-numeric:tabular-nums;background:0 0;border:0;outline:0;padding:4px 0}.duration-fields>div:first-child input{width:3.2em}.duration-fields>div span{color:var(--muted);font-size:10px}.duration-separator{color:var(--muted)}@media (width<=850px){.topbar{flex-direction:column;align-items:stretch;gap:10px;height:auto;min-height:0;padding:12px 14px;display:flex}.brand{gap:10px;width:100%;min-width:0}.workspace-switcher-wrap{flex:auto;width:auto;min-width:0;max-width:300px;margin-left:auto}.workspace-switcher{width:100%;min-width:0}.top-actions{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.top-icon-actions{justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.realtime-indicator{flex:none;min-height:34px;padding:0 9px}}@media (width<=380px){.topbar{padding-left:10px;padding-right:10px}.brand-name{font-size:15px}.brand-subtitle{font-size:8px}.workspace-switcher-wrap{max-width:175px}.top-icon-actions{gap:5px}.top-icon-actions .icon-button,.top-icon-actions .avatar{flex:0 0 32px;width:32px;height:32px}}@media (width>=601px) and (width<=850px){.program-toolbar{align-items:stretch}.program-filter{flex:auto}.toolbar-actions{align-self:stretch;align-items:stretch}.toolbar-actions .secondary-button,.toolbar-actions .add-button{min-height:48px}}@media (width>=851px){.toolbar-actions .secondary-button,.toolbar-actions .add-button{min-height:48px}}@media (width<=380px){.topbar>.top-actions{grid-template-columns:34px minmax(0,1fr);align-items:center;gap:0 7px;display:grid}.topbar>.top-actions>.workspace-add-button{grid-area:1/1;align-self:center}.topbar>.top-actions>.top-icon-actions{grid-area:1/2;justify-content:flex-end;gap:clamp(3px,1.2vw,5px);min-width:0}.topbar>.top-actions>.top-icon-actions .realtime-indicator{min-width:0;padding-left:6px;padding-right:6px}.topbar>.top-actions>.top-icon-actions .icon-button,.topbar>.top-actions>.top-icon-actions .avatar{flex:0 0 30px;width:30px;height:30px}}@media (width<=340px){.calendar-heading{flex-direction:column;align-items:stretch;gap:10px}.month-controls{justify-content:space-between;gap:6px;width:100%}.month-controls strong{flex:auto;min-width:0}}@media (width>=601px) and (width<=850px){.program-toolbar{align-items:flex-end;gap:12px}.program-filter{flex:auto;min-width:0}.program-filter .program-menu-trigger{box-sizing:border-box;height:48px;min-height:48px}.toolbar-actions{flex-wrap:nowrap;flex:none;align-self:flex-end;align-items:stretch;gap:8px;display:flex}.toolbar-actions .secondary-button,.toolbar-actions .add-button{box-sizing:border-box;white-space:nowrap;height:48px;min-height:48px;padding:0 14px}}.duration-fields{box-sizing:border-box;height:44px;min-height:44px;padding:3px 9px}.duration-fields>div{align-items:center;height:100%}.duration-fields input{box-sizing:border-box;height:100%;padding:0;line-height:1}
