input:not([type=checkbox]) { display:block; min-height:44px; width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:7px; color:var(--ink); background:var(--paper); font:inherit; }
.workout-heading { margin-bottom:24px; }
.workout-title { display:flex; align-items:center; gap:10px; }
.workout-title h1 { margin:0; }
.icon-button { display:inline-grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid transparent; border-radius:7px; background:transparent; color:var(--muted); font:inherit; font-size:24px; line-height:1; cursor:pointer; }
.icon-button:hover { border-color:var(--line); color:var(--ink); }
.icon-button svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.exercise-remove { color:#a1382d; }
.exercise-remove:hover { border-color:#ecb4aa; color:#a1382d; }
.exercise-summary .exercise-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.sync-indicator { display:inline-flex; align-items:center; gap:5px; color:var(--orange); font-size:12px; font-weight:750; }
.sync-indicator svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.exercise-entry-actions { justify-content:center; }
.exercise-entry-actions .exercise-action { width:48px; height:48px; min-height:48px; padding:0; }
.exercise-entry-actions .exercise-action svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.workout-edit-backdrop { position:fixed; inset:0; z-index:20; display:grid; place-items:center; padding:20px; background:#0c1712ac; }
.workout-edit-dialog { width:100%; max-width:480px; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:var(--paper); box-shadow:0 20px 70px #0004; }
.workout-edit-dialog .panel-header h2 { margin:0; font-size:21px; }
.workout-edit-fields { display:grid; gap:16px; padding:22px 24px; }
.workout-edit-fields label { display:grid; gap:7px; font-weight:650; }
.workout-edit-dialog .error-notice { margin:0 24px 16px; }
.workout-edit-actions { display:flex; justify-content:flex-end; gap:12px; padding:0 24px 22px; }
.settings-panel { padding:24px; margin:18px 0; display:grid; gap:16px; }
.settings-panel label { display:grid; gap:7px; font-weight:650; }
.set-row { grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr) 36px; }
.set-row label { min-width:0; font-size:12px; }
.set-row .set-number { display:flex; align-items:center; }
.set-row .set-duration { grid-column:2 / 4; }
.set-row .set-remove { justify-self:end; }
.settings-panel .check, .check { display:flex; align-items:center; gap:10px; margin:18px 0; }
.check input { width:20px; height:20px; }
.danger-zone { margin-top:28px; border:1px solid #bc463d; border-radius:12px; padding:24px; display:grid; gap:14px; }
.chart-table { margin:20px 24px; border-collapse:collapse; }
.chart-table th,.chart-table td { text-align:left; border-bottom:1px solid var(--line); padding:7px 16px; }
button:focus-visible,input:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
:root[data-appearance=dark] { color-scheme:dark; --surface:#121b17; --paper:#1c2922; --ink:#e8eee7; --muted:#aab9ad; --line:#35433a; }
:root[data-appearance=light] { color-scheme:light; --surface:#faf9f5; --paper:#fff; --ink:#17211e; --muted:#62706b; --line:#e8e9e2; }
@media (max-width:750px) { .exercise-summary { flex-wrap:wrap; } .set-row { gap:5px; padding:12px; } .set-row .button { padding:4px; min-height:30px; } }
