.editor-actions.editor-actions-compact{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch;min-height:52px;max-width:100%;padding:6px 8px!important}.editor-actions.editor-actions-compact>button{flex:0 0 auto!important;white-space:nowrap!important;min-width:0!important;width:auto;min-height:36px!important;padding:7px 11px!important;font-size:12px!important;line-height:1.1!important;border-radius:9px!important}.editor-actions.editor-actions-compact>button:first-child{width:42px!important;padding:7px!important}.editor-actions.editor-actions-compact>button:last-child{position:sticky;right:0;z-index:1;box-shadow:-8px 0 12px rgba(0,0,0,.2)}@media(max-width:420px){.editor-actions.editor-actions-compact{gap:5px!important;padding:5px 6px!important}.editor-actions.editor-actions-compact>button{font-size:11px!important;padding:7px 9px!important}}.editor .structured-workout-panel{min-width:0;padding:8px!important}.editor .structured-exercise-card,.editor .structured-workout-panel{border:1px solid var(--border)!important;background:var(--surface)!important}.editor .structured-exercise-header{background:color-mix(in srgb,var(--text) 5%,var(--surface))!important;border-bottom:1px solid var(--border);gap:8px!important}.editor .structured-workout-panel button:not(.structured-set-check){border-color:var(--border)!important;background:color-mix(in srgb,var(--text) 4%,var(--surface))!important;color:var(--text)!important}.editor .structured-workout-panel input,.editor .structured-workout-panel select{box-sizing:border-box;min-width:0;border:1px solid var(--border)!important;background:var(--surface)!important;color:var(--text)!important;opacity:1!important}.editor .structured-weight-field{display:grid;grid-template-columns:minmax(0,1fr) 46px;align-items:center;gap:3px;min-width:0}.editor .structured-weight-field select{grid-column:2;grid-row:1;height:40px;width:100%;padding:0 2px;border-radius:9px;appearance:auto}.editor .structured-weight-field input{grid-column:1;grid-row:1;min-width:0}.editor .structured-set-check{width:36px!important;height:36px!important;display:grid;place-items:center;background:var(--surface)!important;border:2px solid #8b95a5!important;color:var(--text)!important;font-size:19px;line-height:1}.editor .structured-set-check[aria-pressed=true]{background:#137a43!important;border-color:#137a43!important;color:#fff!important}.editor .structured-set-check:focus-visible,.editor .structured-workout-panel :is(button,input,select):focus-visible{outline:2px solid #ff6a00!important;outline-offset:2px}html[data-theme=light] .editor .structured-workout-panel{background:#f8fafc!important;border-color:#d0d5dd!important}html[data-theme=light] .editor .structured-exercise-card{background:#fff!important;border-color:#d0d5dd!important}html[data-theme=light] .editor .structured-exercise-header{background:#f1f5f9!important}html[data-theme=light] .editor .structured-workout-panel :is(input,select,button:not(.structured-set-check)){border-color:#b8c2ce!important}html[data-theme=light] .editor .structured-set-check[aria-pressed=true]{color:white!important}html[data-theme=light] .editor .workout-completion-button[aria-pressed=true]{color:#146c3b!important;border-color:#16834b!important;background:#e5f7eb!important}@media(max-width:420px){.editor .structured-weight-field{grid-template-columns:minmax(0,1fr) 42px}.editor .structured-workout-panel{padding:6px!important}.editor .structured-exercise-card>div{padding:8px!important}}.editor .workout-completion-button:disabled{cursor:not-allowed!important;background:color-mix(in srgb,var(--text) 7%,var(--surface))!important;color:var(--muted)!important;border-color:var(--border)!important;opacity:1!important}.editor .future-completion-hint{font-size:12px;color:var(--muted);margin:5px 0 8px}.editor .structured-training-block{border-left:3px solid #ff762c!important;padding:8px}.structured-training-block header{display:grid;gap:4px;padding:6px}.structured-training-block small{display:block;color:var(--muted);font-size:12px}.structured-block-round{border-top:1px solid var(--border);padding:8px 2px}.structured-block-movement{display:grid;gap:6px;padding:8px 0}.structured-block-inputs{display:grid;grid-template-columns:36px minmax(42px,.8fr) minmax(56px,1fr) 48px 30px;gap:5px;align-items:end}.structured-block-inputs label{display:grid;gap:3px;font-size:11px;min-width:0}.structured-block-inputs input,.structured-block-inputs select{width:100%;height:36px;padding:4px;border-radius:8px;font-size:13px}.structured-block-inputs button:last-child{height:36px;border-radius:8px}.structured-set-target-detail{color:var(--muted);font-size:11px;padding-bottom:4px}.structured-set-target-detail label{flex:1;min-width:0}.structured-set-target-detail input{width:100%;height:32px}.editor .structured-rest-timer{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:6px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:10px;margin:8px 0;box-shadow:0 3px 12px #0002}.structured-rest-timer>div{flex:1;display:grid;gap:3px}.structured-rest-timer span{font-size:22px;font-weight:800;color:var(--accent);font-variant-numeric:tabular-nums}.structured-rest-timer button{border:1px solid var(--border);padding:8px;border-radius:8px;background:var(--surface);color:var(--text)}.personal-plan-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);margin:0 0 12px}.personal-plan-banner>div,.personal-plan-heading{display:grid;gap:4px;min-width:0;flex:1 1 160px}.personal-plan-banner strong,.personal-plan-heading strong{font-size:14px;color:var(--text)}.personal-plan-banner small,.personal-plan-heading small{font-size:11px;color:var(--muted)}.personal-plan-button{border:1px solid var(--accent);background:var(--accent);color:#111;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:700;cursor:pointer}.personal-plan-editor{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);margin-bottom:12px;min-width:0}.personal-plan-editor .coach-studio-layout.with-library{grid-template-columns:minmax(0,1fr)}.personal-plan-editor .coach-exercise-library{grid-row:1;position:static}.personal-plan-editor .coach-builder-actions .trainer-outline-button{margin:0}.personal-plan-editor .coach-prescription-studio{margin:12px 0}.personal-plan-editor .coach-movement-card{background:var(--surface)}@media(max-width:480px){.personal-plan-editor{padding:8px}.personal-plan-editor .coach-builder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-plan-banner .personal-plan-button{width:100%}}.workout-format-hint{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;margin:0 0 12px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:10px;background:color-mix(in srgb,var(--accent) 7%,var(--surface));color:var(--text);font-size:12px;line-height:1.5}.workout-format-hint span{flex:1;min-width:0}.workout-format-hint button{flex:none;background:transparent;border:0;color:var(--muted);font-size:20px;line-height:1;cursor:pointer;padding:2px 4px}.editor .editor-actions.editor-actions-compact{overflow:visible!important;box-sizing:border-box;gap:8px!important;justify-content:space-between!important;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;border-top:1px solid var(--border);background:var(--surface);min-height:58px}.workout-secondary-actions{display:flex;flex:1 1 0;min-width:0;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch;padding:2px 0}.editor .workout-secondary-actions>button{flex:0 0 auto!important;min-width:42px!important;width:auto!important;min-height:40px!important;white-space:nowrap;padding:8px 11px!important;border-radius:9px;font-size:12px!important}.editor .editor-actions.editor-actions-compact>.workout-save-button{position:static!important;flex:0 0 auto!important;min-width:76px!important;min-height:44px!important;background:var(--accent)!important;border:1px solid var(--accent)!important;color:#111!important;font-weight:800;font-size:14px!important;box-shadow:none!important}.editor .workout-format-switch{border-color:var(--border)!important;background:var(--surface)!important;border-radius:11px!important;padding:3px;gap:3px}.editor .workout-format-switch button{border-radius:8px;min-height:38px;font-size:13px!important;font-weight:650}.editor .workout-format-switch button[aria-pressed=true]{background:var(--accent)!important;color:#111!important}.workout-mode-label{display:inline-flex;font-size:12px;color:var(--muted);margin:10px 0;padding:6px 10px;border:1px solid var(--border);border-radius:8px}.workout-empty-state{border:1px dashed var(--border);border-radius:11px;padding:18px 12px;text-align:center;display:grid;gap:5px;color:var(--muted);font-size:12px}.workout-empty-state strong{color:var(--text);font-size:14px}.editor .structured-workout-panel .personal-plan-button,.editor .structured-workout-panel .trainer-action{background:var(--accent)!important;border-color:var(--accent)!important;color:#111!important;font-weight:750}.editor .structured-workout-panel .personal-plan-button:disabled,.editor .structured-workout-panel .trainer-action:disabled{opacity:.45!important;cursor:not-allowed}.editor .structured-workout-panel textarea{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important;box-sizing:border-box}.editor .structured-rest-timer button{min-height:38px;white-space:nowrap}.editor .structured-rest-timer strong{font-size:12px}.editor .workout-completion-button{min-height:42px;margin-bottom:10px}.editor .structured-workout-panel .coach-builder input:not([type=checkbox]),.editor .structured-workout-panel .coach-builder select{font-size:16px!important}.editor .structured-workout-panel input[type=checkbox]{width:18px!important;height:18px!important;accent-color:var(--accent)}@media(max-width:420px){.editor .editor-actions.editor-actions-compact{padding-left:6px!important;padding-right:6px!important;gap:5px!important}.editor .workout-secondary-actions{gap:4px}.editor .workout-secondary-actions>button{padding:8px 9px!important;font-size:11px!important}.editor .structured-rest-timer{padding:8px;gap:4px}.editor .structured-rest-timer button{padding:6px;font-size:12px}.editor .structured-workout-panel :is(input:not([type=checkbox]),textarea,select){font-size:16px!important}.editor .structured-block-inputs{grid-template-columns:36px minmax(36px,.8fr) minmax(45px,1fr) 42px 28px;gap:4px}.editor .structured-block-inputs input,.editor .structured-block-inputs select{height:40px}}.editor .editor-notes{flex:1 0 180px;min-height:180px;box-sizing:border-box;line-height:1.6;font-size:16px;padding:12px;scroll-margin:8px;resize:none}.workout-editor-overlay.keyboard-open{align-items:stretch;overflow:hidden}.workout-editor-overlay.keyboard-open>.editor-full{height:100%!important;max-height:100%!important;min-height:0;bottom:0;box-sizing:border-box}.workout-editor-overlay.keyboard-open .editor-content{min-height:0;overscroll-behavior:contain}.editor.writing-notes{padding:12px 14px 0!important;gap:0;border-radius:14px 14px 0 0}.editor.writing-notes .editor-header{padding:0 34px 8px 0;min-height:0}.editor.writing-notes .editor-date{font-size:11px;margin:0 0 3px}.editor.writing-notes .workout-writing-title{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor.writing-notes .editor-title,.editor.writing-notes .workout-editor-tabs{display:none!important}.editor.writing-notes .editor-content{padding:0!important;overflow:hidden;flex:1 1 0;min-height:0}.editor.writing-notes .editor-content>:not(.editor-notes){display:none!important}.editor.writing-notes .editor-notes{flex:1 1 0;min-height:0;height:100%;margin:0;border-radius:10px;padding:12px;font-size:16px;line-height:1.6}.editor.writing-notes .editor-notes:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.editor.writing-notes .workout-secondary-actions{display:none!important}.editor.writing-notes .editor-actions.editor-actions-compact{flex:0 0 auto;padding:6px 0!important;min-height:50px!important;gap:8px!important}.editor.writing-notes .workout-keyboard-done{flex:1 1 0!important;min-height:40px!important;font-size:13px!important}.editor.writing-notes .close{top:8px;right:10px}@media(max-height:350px){.editor.writing-notes .editor-date{display:none}.editor.writing-notes .editor-header{padding-bottom:4px}.editor.writing-notes{padding-top:6px!important}.editor.writing-notes .editor-actions.editor-actions-compact{min-height:44px!important;padding:3px 0!important}}