:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--background:#f7f6f2;--surface:#fff;--text:#1d1f1c;--muted:#6b6f68;--accent:#2f6f4f;--accent-text:#fff;--border:#d9d8d2;--warning:#a14d00;--danger:#b3261e;--category-training:#2a78d6;--category-movement:#0b6e4a;--category-work:#eb6834;--touch:44px;background:var(--background);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:17px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--background:#121412;--surface:#1d201d;--text:#ecebe6;--muted:#a3a79f;--accent:#5fb88a;--accent-text:#0d1a12;--border:#343833;--warning:#f0a050;--danger:#f2827a;--category-training:#3987e5;--category-movement:#199e70;--category-work:#d95926}}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}.app{flex-direction:column;min-height:100dvh;display:flex}.screen{padding:16px;padding-top:max(16px, env(safe-area-inset-top));flex-direction:column;flex:1;display:flex}.placeholder{flex-direction:column;gap:8px;display:flex}h1{margin:0 0 12px;font-size:1.5rem}.pair{flex-direction:column;gap:16px;display:flex}.pair-form{flex-direction:column;gap:12px;display:flex}.field-label{color:var(--muted)}.text-input{min-height:var(--touch);border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:10px 12px}.pair-input{letter-spacing:.12em;text-transform:uppercase;font-size:1.4rem}.primary-button{min-height:var(--touch);background:var(--accent);color:var(--accent-text);border:none;border-radius:10px;padding:10px 16px;font-weight:600}.primary-button:disabled{opacity:.5}.pair-message{color:var(--danger);margin:0}.sync-badges{flex-wrap:wrap;justify-content:center;gap:8px;padding:0 16px;display:flex}.sync-badges:not(:empty){padding-bottom:8px}.sync-badge{border:1px solid var(--border);color:var(--warning);border-radius:999px;padding:4px 10px;font-size:.85rem}.sync-badge-button{min-height:var(--touch);background:0 0;padding:4px 16px}.bottom-nav{border-top:1px solid var(--border);background:var(--surface);padding-bottom:env(safe-area-inset-bottom);display:flex;position:sticky;bottom:0}.nav-button{min-height:56px;color:var(--muted);background:0 0;border:none;flex:1;font-weight:600}.nav-button[aria-current=page]{color:var(--accent)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.zapis{flex-direction:column;gap:16px;display:flex}.day-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.day-button{min-height:var(--touch);text-align:left;background:0 0;border:none;padding:0;font-size:1.35rem;font-weight:700}.entry-field{border:2px solid var(--border);background:var(--surface);resize:vertical;border-radius:14px;min-height:96px;padding:14px;font-size:1.25rem}.entry-field:focus{border-color:var(--accent);outline:none}.section-title{color:var(--muted);margin:0;font-size:.9rem;font-weight:600}.preview,.recent,.day-list{flex-direction:column;gap:10px;display:flex}.preview-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex}.preview-date,.preview-kind{margin:0;font-weight:600}.preview-date{color:var(--warning)}.preview-load{margin:0;font-weight:600}.preview-note{color:var(--muted);overflow-wrap:anywhere;margin:0}.chip-row,.choice-list,.action-row{flex-wrap:wrap;gap:8px;display:flex}.chip,.choice-button{min-height:var(--touch);border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:8px 14px}.chip-strong{font-weight:700}.choice-button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);font-weight:600}.chip-input{width:6.5em;min-height:var(--touch);border:2px solid var(--accent);background:var(--surface);border-radius:999px;padding:8px 12px}.unknown-prompt{flex-direction:column;gap:8px;display:flex}.unknown-question{margin:0;font-weight:600}.rpe-block{border:none;flex-direction:column;gap:4px;min-width:0;margin:0;padding:0;display:flex}.rpe-block legend{padding:0 0 4px}.rpe-row{gap:4px;display:flex}.rpe-button{min-width:0;min-height:var(--touch);border:1px solid var(--border);background:var(--surface);border-radius:8px;flex:1;padding:0;font-weight:600}.rpe-button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.save-button{align-self:stretch;font-size:1.1rem}.secondary-button,.danger-button{min-height:var(--touch);border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:10px 16px;font-weight:600}.danger-button{color:var(--danger)}.day-entries{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.day-entry{width:100%;min-height:var(--touch);border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:10px;padding:10px 12px}.day-edit{flex-direction:column;gap:8px;display:flex}.form-message{color:var(--danger);margin:0}.undo-bar{background:var(--text);color:var(--background);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:4px 4px 4px 16px;display:flex;position:sticky;bottom:8px}.undo-button{min-height:var(--touch);color:var(--accent);background:0 0;border:none;padding:8px 16px;font-weight:700}.trenink{flex-direction:column;gap:16px;display:flex}.workout-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.workout-title{font-variant-numeric:tabular-nums;margin:0;font-size:1.35rem}.workout-basis{color:var(--muted)}.exercise-block{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex}.exercise-header{align-items:center;gap:8px;display:flex}.exercise-name{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:1.1rem}.exercise-unit{color:var(--muted);font-size:.9rem}.icon-button{min-width:var(--touch);min-height:var(--touch);color:var(--muted);background:0 0;border:none;border-radius:10px;padding:0;font-size:1.2rem}.icon-button[aria-expanded=true]{color:var(--accent)}.pill-row{flex-wrap:wrap;gap:8px;display:flex}.set-pill{border:2px dashed var(--border);background:var(--surface);font-variant-numeric:tabular-nums;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:999px;min-width:52px;min-height:52px;padding:0 12px;font-size:1.2rem;font-weight:700}.set-pill[data-state=done]{border:2px solid var(--accent);background:var(--accent);color:var(--accent-text)}.set-pill[data-state=active]{border:3px solid var(--accent);background:var(--surface);color:var(--accent)}.set-pill-add{color:var(--muted);border-style:solid}.adjust-row{gap:8px;display:flex}.adjust-button{border:1px solid var(--border);background:var(--background);touch-action:manipulation;border-radius:12px;flex:1;min-height:56px;font-size:1.6rem;font-weight:700}.adjust-confirm{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.previous-note{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.9rem}.add-exercise,.finish-panel{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex}.finish-question{color:var(--warning);margin:0;font-weight:600}.finish-minutes{flex-direction:column;gap:4px;display:flex}.finish-button{font-size:1.1rem}.finish-row .finish-button{flex:1}.prehled{flex-direction:column;gap:16px;display:flex}.overview-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:12px;padding:12px;display:flex}.overview-empty{color:var(--muted);margin:0}.load-chart{flex-direction:column;gap:8px;display:flex}.chart{width:100%;height:auto;display:block}.chart-baseline{stroke:var(--border);stroke-width:1px}.chart-axis{fill:var(--muted);font-size:10px}.chart-value{fill:var(--text);font-variant-numeric:tabular-nums;font-size:10px;font-weight:600}.legend{color:var(--muted);flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:.9rem;list-style:none;display:flex}.legend-item{align-items:center;gap:6px;display:flex}.legend-swatch{border-radius:3px;width:12px;height:12px}.exercise-progress{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.exercise-progress-row{min-height:var(--touch);border-bottom:1px solid var(--border);align-items:center;gap:12px;display:flex}.exercise-progress-row:last-child{border-bottom:none}.exercise-progress-name{overflow-wrap:anywhere;flex:1;min-width:0}.exercise-progress-values{font-variant-numeric:tabular-nums;font-weight:600}.trend-arrow{width:1.5em;color:var(--muted);text-align:center;font-size:1.2rem}.trend-arrow[data-trend=up]{color:var(--accent)}.body-trend{flex-direction:column;gap:8px;display:flex}.body-values{align-items:baseline;gap:20px;display:flex}.body-value{flex-direction:column;font-size:1.25rem;display:flex}.body-value-label,.body-date{color:var(--muted);font-size:.85rem}.weight-line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.weight-dot{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.report{overflow-wrap:anywhere;flex-direction:column;gap:8px;display:flex}.report-week{color:var(--muted);margin:0;font-size:.85rem}.report-paragraph,.report-list{margin:0}.report-list{flex-direction:column;gap:4px;padding-left:1.2em;display:flex}.export-links{flex-wrap:wrap;gap:8px;display:flex}.export-link{align-items:center;text-decoration:none;display:flex}
