/* Focused polish: compact workout rows, mobile program safety, and quick body weight */

/* Focused polish: compact workout rows, mobile program safety, quick body weight */
.home-weight-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-6px 0 24px;padding:14px 16px;border-radius:20px;background:linear-gradient(135deg,rgba(96,212,244,.10),rgba(255,255,255,.035));border:1px solid rgba(96,212,244,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.home-weight-label{font-size:9px;letter-spacing:2.4px;text-transform:uppercase;color:var(--blue);font-weight:800;margin-bottom:3px}.home-weight-value{font-family:'Bebas Neue',sans-serif;font-size:24px;letter-spacing:.8px;color:var(--text);line-height:1}.home-weight-form{display:flex;align-items:center;gap:8px;flex-shrink:0}.home-weight-input{width:82px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.22);color:var(--text);text-align:center;font-weight:800;outline:none}.home-weight-input:focus{border-color:rgba(96,212,244,.42);box-shadow:0 0 0 3px rgba(96,212,244,.09)}.home-weight-save{width:38px;height:38px;border-radius:12px;border:1px solid rgba(96,212,244,.25);background:rgba(96,212,244,.14);color:var(--blue);font-weight:900;font-size:18px}
.active-workout-exercises{gap:8px}.active-ex-card{padding:16px}.active-set-table{gap:5px;width:min(100%,420px);margin:0}.active-set-head,.active-set-line{grid-template-columns:24px 108px 74px 66px 30px;gap:6px}.active-set-line{padding:6px}.active-set-line.done{background:linear-gradient(90deg,rgba(77,255,160,.16),rgba(77,255,160,.07));border-color:rgba(77,255,160,.28);box-shadow:0 0 0 1px rgba(77,255,160,.05),0 8px 24px rgba(77,255,160,.05)}.active-set-prev-btn,.active-set-prev-empty,.active-set-input{min-height:34px}.active-set-prev-btn{font-size:9px;letter-spacing:.1px}.active-add-set{width:min(100%,420px);margin-top:7px;padding:9px 12px}.history-record-tag{background:rgba(232,244,77,.10);border-color:rgba(232,244,77,.30);color:var(--accent)}.ex-name-display,.ex-name-input,.active-ex-title,.history-ex-name{overflow-wrap:anywhere;word-break:normal}
.active-repeat-prev{width:min(100%,420px);margin-top:7px;padding:8px 12px;border-radius:12px;border:1px solid rgba(96,212,244,.20);background:rgba(96,212,244,.07);color:var(--blue);font-weight:800;font-size:11px;letter-spacing:.2px}
.history-edit-row{display:flex;justify-content:flex-end;margin:-4px 0 14px}.history-edit-btn{padding:9px 13px;border-radius:12px;border:1px solid rgba(232,244,77,.24);background:rgba(232,244,77,.10);color:var(--accent);font-weight:900;font-size:11px;letter-spacing:.4px}.history-set-edit-grid{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.history-set-edit-chip{display:grid;grid-template-columns:18px 54px 48px;align-items:center;gap:5px;padding:6px;border-radius:12px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.08)}.history-set-edit-chip b{font-size:10px;color:var(--muted2);text-align:center}.history-set-edit-input{width:100%;min-height:30px;border-radius:9px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:var(--text);font-weight:800;text-align:center;outline:none}.history-set-edit-input:focus{border-color:rgba(232,244,77,.42)}
.active-set-complete{cursor:pointer;-webkit-tap-highlight-color:transparent}.program-search,.history-search{width:100%;margin:0 0 14px;padding:12px 15px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:var(--text);font-weight:700;outline:none}.program-search:focus,.history-search:focus{border-color:rgba(232,244,77,.35);box-shadow:0 0 0 3px rgba(232,244,77,.08)}
.active-auto-rest-btn{height:38px;min-width:48px;padding:0 10px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:var(--muted2);font-size:9px;font-weight:950;letter-spacing:.8px}.active-auto-rest-btn.on{border-color:rgba(96,212,244,.34);background:rgba(96,212,244,.14);color:var(--blue);box-shadow:0 0 18px rgba(96,212,244,.12)}.active-set-label{min-width:0;align-self:stretch;justify-content:center;align-items:center;flex-wrap:wrap;align-content:center}.active-set-mark{display:inline-flex;align-items:center;justify-content:center;margin-left:2px;padding:2px 4px;border-radius:6px;font-size:7px;font-weight:950;line-height:1.1;letter-spacing:.35px;transform:translateY(-1px)}.active-set-mark.drop{background:rgba(255,92,58,.13);border:1px solid rgba(255,92,58,.26);color:var(--red)}.active-set-mark.super{background:rgba(196,96,244,.12);border:1px solid rgba(196,96,244,.24);color:var(--purple)}
@media(max-width:720px){.home-weight-card{margin-bottom:18px}.active-workout-head{padding:16px 18px}.active-workout-exercises{padding:12px 14px;gap:7px}.active-ex-card{padding:12px}.active-set-table{gap:4px}.active-set-head,.active-set-line{grid-template-columns:22px minmax(74px,1fr) minmax(54px,.72fr) minmax(54px,.72fr) 26px;gap:4px}.active-set-line{padding:5px}.active-set-prev-btn,.active-set-prev-empty,.active-set-input{min-height:31px;border-radius:10px}.active-add-set{margin-top:6px;padding:8px 10px}.prog-stats-grid{grid-template-columns:repeat(2,1fr);row-gap:10px}.prog-stat-item:nth-child(odd){border-left:none}.prog-stat-item:nth-child(n+3){border-top:1px solid rgba(255,255,255,.06);padding-top:10px}}
@media(max-width:430px){.home-weight-card{padding:12px;border-radius:18px}.home-weight-value{font-size:22px}.home-weight-input{width:70px;height:34px}.home-weight-save{width:34px;height:34px}.home-resume-card{padding:13px;border-radius:19px}.home-resume-top{align-items:flex-start;flex-direction:column;gap:10px}.home-resume-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px}.home-resume-btn,.home-resume-finish-btn{width:100%;text-align:center;padding:11px 8px}.home-resume-stats{grid-template-columns:repeat(2,1fr)}.active-workout-head{position:sticky;top:8px;z-index:5;padding:12px 12px;align-items:flex-start;background:rgba(19,19,30,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.active-workout-title{font-size:21px}.active-workout-inline{gap:4px;flex-wrap:wrap;justify-content:flex-end}.active-summary-pill{min-width:48px;padding:5px 6px}.active-summary-val{font-size:15px}.active-summary-lbl{font-size:6px}.active-auto-rest-btn{height:32px;min-width:42px;padding:0 8px;font-size:8px}.active-workout-exercises{padding:9px 9px 11px;gap:5px}.active-ex-card{padding:9px;border-radius:16px}.active-ex-title{font-size:14px;line-height:1.25}.active-ex-top{margin-bottom:5px}.active-tag-row{margin-bottom:5px}.active-set-head,.active-set-line{grid-template-columns:19px minmax(60px,1fr) minmax(48px,.7fr) minmax(48px,.7fr) 22px;gap:3px}.active-set-head span{font-size:7px}.active-set-line{padding:3px;border-radius:10px}.active-set-prev-btn,.active-set-prev-empty,.active-set-input{min-height:27px;font-size:7px;padding:0 2px;border-radius:9px}.active-set-mark{font-size:6.5px;padding:1px 3px;border-radius:5px;letter-spacing:.2px}.active-set-complete{width:22px;height:22px;border-radius:7px}.active-add-set{padding:7px 10px;margin-top:5px}.ex-row{align-items:flex-start;gap:7px}.ex-name-display,.ex-name-input{flex:1 1 100%;width:auto;min-width:0;line-height:1.28}.ex-sets-wrap{flex:1 1 100%;width:100%;margin-left:15px;justify-content:flex-start}.ex-sets-pill{max-width:100%}.history-toolbar{gap:12px}.history-filter-row{width:100%}.history-filter-btn{flex:1 1 auto;text-align:center}}
@media(max-width:720px){.home-settings-panel{align-items:flex-end}.home-setting-toggle{min-height:42px}}
@media(max-width:430px){.header-actions{gap:7px}.header-home-settings{width:38px;height:38px;border-radius:14px;font-size:17px}.home-settings-btn-label{display:none}.home-settings-panel{padding:12px}.home-settings-sheet{padding:16px;border-radius:22px}.home-settings-grid{grid-template-columns:1fr}.home-hero{padding:28px 24px 24px}.home-hero-sub{margin-bottom:18px}.home-hero-today{margin-top:14px}.home-progress-card{padding:13px;border-radius:19px}.home-progress-head{align-items:flex-start;margin-bottom:10px}.home-progress-title{font-size:24px}.home-progress-period{padding:5px 7px;font-size:8px}.home-progress-grid{gap:6px}.home-progress-metric{padding:10px 7px;border-radius:14px}.home-progress-value{font-size:22px}.home-progress-label{font-size:7px;letter-spacing:1px}}
