:root{--bg:#f4f5f7;--card:#fff;--ink:#14171c;--muted:#5e6772;--line:#e4e7ec;--blue:#1558c0;--blue-soft:#e8f0fb;--green:#157a45;--green-soft:#e7f6ee;--danger:#9f1239;color:var(--ink);background:#e6e8ec;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer}h1{letter-spacing:-.04em;margin:8px 0 0;font-size:32px;line-height:1.1}h2{letter-spacing:-.03em;margin:6px 0 0;font-size:28px}.sub{color:var(--muted);margin:6px 0 0;font-size:15px}.phone{background:var(--bg);flex-direction:column;width:min(430px,100%);min-height:100dvh;margin:0 auto;display:flex;position:relative}.pad{padding:22px 20px 0}.card{background:var(--card);border:1px solid var(--line);border-radius:16px}.kicker{letter-spacing:.08em;color:var(--blue);text-transform:uppercase;font-size:12px;font-weight:700}.primary,.ghost,.add,.step{border-radius:14px;height:52px}.primary{background:var(--blue);color:#fff;border:0;width:100%;font-size:17px;font-weight:650}.ghost,.add{border:1px solid var(--line);background:#fff;font-size:16px;font-weight:650}.ghost.compact{flex:none;height:40px;padding:0 14px}.ghost:disabled{cursor:default;opacity:.6}.add{color:var(--blue);border-style:dashed;width:100%;margin-top:14px}.person,.row{justify-content:space-between;align-items:center;gap:12px;display:flex}.person{text-align:left;width:100%;margin-top:12px;padding:16px}.person strong,.row .name{font-size:17px;display:block}.person span,.meta{color:var(--muted);font-size:13px}.avatar,.chip i{background:var(--blue-soft);width:36px;height:36px;color:var(--blue);border-radius:18px;place-items:center;font-style:normal;font-weight:700;display:grid}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:center;gap:8px;padding:4px 10px 4px 4px;font-weight:650;display:inline-flex}.chip i{background:var(--blue);color:#fff;border-radius:11px;width:22px;height:22px;font-size:11px}.left{align-items:center;gap:12px;display:flex}.pill{background:var(--blue-soft);color:var(--blue);border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.pill.done{background:var(--green-soft);color:var(--green)}.hero{margin:16px 20px 0;padding:18px}.hero p{color:var(--muted);margin:4px 0 14px}.list{margin:18px 20px 0}.list h3{color:var(--muted);letter-spacing:.04em;margin:0 0 8px;font-size:13px;font-weight:700}.rows{border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden}.row{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;width:100%;padding:14px}.row:last-child{border-bottom:0}.nav{height:calc(64px + env(safe-area-inset-bottom));border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);background:#fff;grid-template-columns:repeat(4,1fr);margin-top:auto;display:grid}.nav button{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding-top:8px;font-size:11px;display:flex}.nav button.on{color:var(--blue);font-weight:700}.top{justify-content:space-between;align-items:center;padding:18px 20px 0;display:flex}.link{color:var(--blue);background:0 0;border:0;padding:0;font-size:16px;font-weight:650}.link:disabled{color:#a4abb4;cursor:default}.exercise-arrows{justify-content:space-between;margin-top:14px;display:flex}.leave-shade{z-index:20;background:#14171c73;justify-content:center;align-items:flex-end;padding:20px;display:flex;position:fixed;inset:0}.leave-dialog{gap:12px;width:min(390px,100%);padding:20px;display:grid}.leave-dialog h2{font-size:24px}.leave-dialog .sub{margin:0 0 4px}.weight{text-align:center;margin-top:22px}.weight b{letter-spacing:-.05em;font-size:96px;font-weight:640;line-height:.9;display:block}.weight-value,.weight-input{text-align:center;letter-spacing:-.05em;background:0 0;border:0;border-radius:12px;width:min(280px,80%);margin:0 auto;font-size:96px;font-weight:640;line-height:.9;display:block}.weight-value{padding:0 8px}.weight-value:hover,.weight-value:focus-visible{background:var(--blue-soft);outline:none}.weight-input{border:2px solid var(--blue);background:#fff;outline:none}.weight span,.plates,.footer-note{color:var(--muted)}.stepper,.sets,.pair,.chips{justify-content:center;gap:8px;display:flex}.stepper{margin-top:18px}.step{background:#fff;border:1px solid #d5dae1;width:72px;height:48px;font-size:18px;font-weight:700}.plates{text-align:center;margin-top:14px;font-size:14px}.chips{margin-top:8px}.plate{color:#fff;background:#1f2937;border-radius:6px;place-items:center;min-width:36px;height:28px;padding:0 8px;font-size:12px;font-weight:700;display:grid}.sets{margin-top:26px}.set{background:#fff;border:2px solid #d5dae1;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;width:68px;height:68px;font-weight:700;display:flex}.set small{color:var(--muted);font-size:11px;font-weight:600}.set.on{border-color:var(--blue)}.set.done{background:var(--green);border-color:var(--green);color:#fff}.set.done small{color:#ffffffd9}.set.editing{outline:3px solid var(--blue-soft);border-color:var(--blue)}.set:disabled{cursor:default;opacity:.45}.edit-actions{gap:10px;margin:18px 20px 0;display:grid}.workout-actions{gap:10px;margin:0 20px 24px;display:grid}.footer-note{text-align:center;margin:16px 20px;font-size:13px}.timer{text-align:center;margin-top:28px}.timer .label{color:var(--muted);letter-spacing:.08em;font-size:13px;font-weight:700}.timer b{letter-spacing:-.05em;margin-top:8px;font-size:84px;line-height:1;display:block}.rest-card{justify-content:space-between;align-items:center;gap:12px;margin:14px 20px 0;padding:14px;display:flex}.rest-card b{font-variant-numeric:tabular-nums;margin:5px 0;font-size:34px;line-height:1;display:block}.rest-actions{gap:6px;display:flex}.rest-actions .ghost{height:40px;padding:0 10px}.pair{margin:26px 20px 0}.pair button{flex:1}.group{letter-spacing:.06em;color:var(--muted);margin:16px 20px 0;font-size:12px;font-weight:750}.search,.field{border:1px solid var(--line);background:#fff;border-radius:14px;width:100%;height:48px;padding:0 14px}.form{gap:10px;margin-top:14px;display:grid}label span{color:var(--muted);margin-bottom:4px;font-size:13px;display:block}.banner{color:var(--danger);background:#fff1f2;border-radius:12px;margin:12px 20px 0;padding:10px 12px;font-size:14px}.reps{color:var(--muted);justify-content:center;align-items:center;gap:12px;margin-top:16px;display:flex}.reps b{color:var(--ink);font-size:20px}.setdots{font-variant-numeric:tabular-nums;font-weight:700}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:10px;width:36px;height:36px}
