:root {
  color-scheme:dark;
  --kg-bg:#1c2533;--kg-surface:#293446;--kg-raised:#344257;--kg-edge:#516077;
  --kg-text:#f7f0e6;--kg-muted:#d5cdc0;--kg-primary:#f7f0e6;--kg-primary-ink:#293446;
  --kg-lime:#ebd7af;--kg-pink:#efe0c7;--kg-mono:ui-monospace,SFMono-Regular,Consolas,monospace;
}
body {background:var(--kg-bg);color:var(--kg-text);line-height:1.45}
main {max-width:680px;padding:20px 17px 112px}
main:has(.cop-summary),main:has(.cop-ex){padding-top:17px}
main>header,main:has(.cop-summary)>header{border-bottom:1px solid var(--kg-edge);margin:0 0 20px;padding:0 1px 14px;min-height:44px}
main>header>.brand,main:has(.cop-summary)>header>.brand{display:flex;align-items:center;gap:8px;font-size:23px;font-weight:840;line-height:1;letter-spacing:-.05em;white-space:nowrap}
.kg-mark{width:34px;height:34px;flex:none;border:1px solid #d6c6ab;background:#f7f0e6;border-radius:10px;display:grid;place-items:center}
.kg-mark svg{width:24px;height:24px;display:block}
.kg-brand-suffix{color:var(--kg-lime)}
main header>small,main:has(.cop-summary) header>small{font:650 10px var(--kg-mono);letter-spacing:.08em;color:var(--kg-muted);display:flex;align-items:center;gap:5px}
.kg-version-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--kg-lime)}
h1,h2,h3{letter-spacing:-.035em;color:var(--kg-text)}
p,small,label{color:var(--kg-muted)}
b.accent,.accent,a,.eyebrow{color:var(--kg-primary)}
button{background:var(--kg-primary);color:var(--kg-primary-ink);font-weight:770}
button.secondary{background:var(--kg-raised);color:var(--kg-text);border:1px solid var(--kg-edge)}
button:hover:not(:disabled){filter:brightness(1.07)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--kg-lime);outline-offset:3px}
.card,.cop-logs{background:var(--kg-surface);border-color:var(--kg-edge);border-radius:16px}
.bubble,input,select,textarea,.cop-columns input{background:#222c3c;border-color:#3e4e68;color:var(--kg-text)}
.bar{background:#37455c}.bar i{background:var(--kg-lime)}
nav{background:#222c3b;border-top-color:var(--kg-edge);padding:7px 7px calc(7px + env(safe-area-inset-bottom));gap:4px}
nav button{display:grid;justify-items:center;align-content:center;min-height:52px;color:var(--kg-muted);border-radius:10px;font-weight:660;font-size:11px}
nav button.active{background:#3c4b60;color:var(--kg-primary)}
nav svg{width:20px;height:20px;margin-bottom:3px}
.kg-home{max-width:575px;margin:auto}
.kg-hero{position:relative;isolation:isolate;overflow:hidden;padding:18px 16px 31px;min-height:194px;border:1px solid #475977;border-radius:20px;background:linear-gradient(120deg,#334258,#263244 56%,#303e53)}
.kg-hero-copy{position:relative;z-index:1}
.kg-kicker{display:block;color:var(--kg-primary);font:750 10px/1.35 var(--kg-mono);letter-spacing:.08em;margin:0 0 7px}
.kg-hero h1{font-size:clamp(35px,8.5vw,57px);font-weight:860;line-height:.98;letter-spacing:-.063em;margin:0 0 9px}
.kg-hero h1 span{color:var(--kg-pink)}
.kg-hero-copy>p:last-child{font-size:14px;color:#e9dfd2;margin:0}
.kg-hero-art{position:absolute;z-index:0;right:-42px;bottom:2px;width:63%;min-width:167px;max-width:310px;opacity:.5}
.kg-date{position:absolute;bottom:7px;left:16px;font:650 10px var(--kg-mono);letter-spacing:.05em;text-transform:uppercase;color:#e3daca}
.kg-next{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 13px;border:1px solid #58677c;border-radius:15px;margin-top:8px;background:#2d3a4e}
.kg-next h2{margin:0;color:var(--kg-text);font-size:clamp(18px,4.7vw,23px);line-height:1.12}
.kg-next p{margin:4px 0 0;font-size:12px;line-height:1.35}
.kg-next .kg-kicker{color:var(--kg-lime);margin:0 0 4px}
.kg-cta{min-height:46px;padding:8px 11px;font-size:14px;border:1px solid #f7f0e6;white-space:nowrap}
.kg-pulse{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
.kg-tile{min-width:0;background:var(--kg-surface);border:1px solid var(--kg-edge);border-radius:13px;padding:9px 11px;position:relative}
.kg-tile>small{color:var(--kg-muted);font:740 10px/1.4 var(--kg-mono);letter-spacing:.07em;margin-bottom:2px}
.kg-tile>strong{font-size:24px;line-height:1.2;font-weight:820;letter-spacing:-.055em}
.kg-tile>strong span{color:var(--kg-muted);font-size:16px;letter-spacing:-.02em}
.kg-tile>p{font-size:11px;margin:2px 0 0}
.kg-energy>strong{color:var(--kg-pink);font-size:22px}
.kg-meter{height:4px;background:#37455c;border-radius:5px;overflow:hidden;margin-top:3px}
.kg-meter>span{display:block;height:100%;background:var(--kg-lime)}
.kg-text-button{color:var(--kg-primary);background:none;text-decoration:underline;font-size:12px;padding:0;margin-top:4px;min-height:24px}
.kg-coach.card{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:12px 11px;margin:8px 0}
.kg-coach .kg-kicker{margin:0 0 4px}
.kg-coach h2{font-size:18px;margin:0 0 2px}
.kg-coach p:not(.kg-kicker){font-size:12px;margin:0;line-height:1.42}
.kg-coach button{min-height:44px;padding:6px 8px;font-size:11px;flex:none;max-width:95px}
.kg-preferences.card{padding:5px 11px;margin:8px 0}.kg-preferences details{margin:7px 0}
.cop-session{background:radial-gradient(ellipse at 91% 4%,#3c4a63 0,transparent 58%),linear-gradient(140deg,#273040,#1c232e 76%);border-color:#506485}
.cop-session::before,.cop-session::after{border-color:#9aa9c245}
.cop-kicker,.cop-session-meta svg{color:var(--kg-primary)}
.cop-session-meta,.cop-progress-text,.cop-ring small,.cop-ring span{color:#e8e2d7}
.cop-ring{background:conic-gradient(var(--kg-lime) var(--cop-progress),#53678a 0)}
.cop-ring>div{background:#283244}
.cop-progress-track{background:#445572}.cop-progress-track>span{background:var(--kg-lime)}
.cop-primary,.cop-tabs button[aria-pressed=true],.cop-set.logged .cop-set-check{background:var(--kg-primary);color:var(--kg-primary-ink);border-color:var(--kg-primary)}
.cop-workout-row{background:var(--kg-surface);border-color:var(--kg-edge);color:var(--kg-text)}
.cop-workout-row.is-next{background:linear-gradient(110deg,#2d384b,#232c3b);border-color:#778bad}
.cop-workout-row.is-done{background:#2a3030;border-color:#627054}
.cop-workout-number{background:var(--kg-raised);border-color:var(--kg-edge);color:var(--kg-muted)}
.is-next .cop-workout-number{background:#40506c;border-color:#6f85a9;color:#f4f0ea}
.is-next .cop-workout-status{color:var(--kg-primary)}
.is-done .cop-workout-number{background:#344332;color:var(--kg-lime);border-color:#627054}
.is-done .cop-workout-status,.cop-muscles{color:var(--kg-lime)}
.cop-workout-title>span,.cop-list-head p,.cop-prior,.cop-workout-options summary{color:var(--kg-muted)}
.cop-set-markers>i{background:#647ba2}.cop-set-markers>.checked{background:var(--kg-lime)}
.cop-demo{background:radial-gradient(ellipse at 60% 0%,#394860,#222a38 72%);border-color:#53688b}
.cop-demo>small{background:#283243;color:#f7f4f0}
.cop-metrics>span{background:var(--kg-surface);border-color:var(--kg-edge)}
.cop-metrics small,.cop-columns,.cop-timer small,.cop-top>span{color:var(--kg-muted)}
.cop-timer,.cop-comfort{background:#273040;border-color:#526688}
.cop-timer strong,.cop-comfort-head,.cop-comfort-edit{color:var(--kg-primary)}
.cop-tabs,.cop-bodyweight{background:#151b24;border-color:#40506b}
.cop-tabs button,.cop-quiet,.cop-bodyweight{color:var(--kg-muted)}
.cop-set,.cop-history-row,.cop-notes,.line{border-color:var(--kg-edge)}
.cop-set.logged input,.cop-set.logged .cop-bodyweight{background:#2b3547;border-color:#5c739a;color:var(--kg-text)}
.cop-comfort p{color:#e6dfd4}
@media(min-width:520px){main{padding-inline:26px}.kg-hero{min-height:222px;padding:22px 24px 36px}.kg-date{left:24px}.kg-hero-art{right:1px;opacity:.72}.kg-next{padding:16px}.kg-cta{padding-inline:17px}.kg-tile{padding:12px 14px}.kg-coach.card{padding:14px}.kg-coach button{max-width:none;padding-inline:12px}}
@media(max-width:350px){.kg-next{gap:7px;padding-inline:8px}.kg-cta{font-size:12px;padding-inline:7px}.kg-hero{padding-inline:12px}.kg-date{left:12px}}
.kg-text-button{min-height:44px;display:inline-flex;align-items:center;margin-top:0}

/* Log and rest are mutually exclusive stages of the exercise. */
.cop-guided-sets{padding:14px}
.cop-guided-sets .cop-log-title h2{margin-bottom:5px}
.cop-guided-sets .cop-log-title small{margin-bottom:5px}
.cop-set-sequence{display:flex;gap:4px;margin:1px 0 11px}
.cop-set-sequence i{background:#41516d;height:4px;border-radius:4px;flex:1}
.cop-set-sequence i.checked{background:var(--kg-lime)}
.cop-set-sequence i.next{background:var(--kg-primary)}
.cop-set-stage,.cop-rest-stage,.cop-set-complete{padding:10px 11px 11px;border:1px solid #40506b;border-radius:13px;background:#1f2734}
.cop-stage-kicker{font:750 11px/1.35 var(--kg-mono);color:var(--kg-primary);letter-spacing:.085em;margin:0 0 3px}
.cop-set-stage h3,.cop-rest-stage h3,.cop-set-complete h3{margin:0 0 8px;font-size:21px;line-height:1.15;letter-spacing:-.03em}
.cop-active-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.cop-active-fields label,.cop-load-label{display:block;color:var(--kg-muted);font-size:13px;margin:0;font-weight:650}
.cop-active-fields input,.cop-load-label span{display:block;width:100%;margin-top:4px;height:46px;padding:8px 9px;border-radius:9px}
.cop-active-fields input::placeholder{color:#99a8c2}
.cop-load-label span{background:#293446;border:1px solid var(--kg-edge);display:grid;place-items:center;line-height:1.1;font-size:12px}
.cop-previous{font-size:12px;margin:6px 0 0}
.cop-log-confirm{display:flex;justify-content:center;align-items:center;gap:6px;min-height:44px}
.cop-log-confirm svg{width:18px!important;height:18px!important}
.cop-rest-stage{text-align:center;background:radial-gradient(ellipse at 50% 10%,#323f54,#212a38);border-color:#556a8d}
.cop-rest-stage .cop-stage-kicker,.cop-set-complete .cop-stage-kicker{color:var(--kg-lime)}
.cop-rest-ring{display:grid;place-items:center;width:106px;aspect-ratio:1;margin:7px auto;border-radius:50%;background:conic-gradient(var(--kg-lime) var(--cop-rest-left),#42526e 0);padding:4px}
.cop-rest-ring>div{display:grid;place-content:center;background:#283242;border-radius:50%;width:100%;height:100%;line-height:1.12}
.cop-rest-ring output{font-size:30px;font-weight:820;color:var(--kg-text);font-variant-numeric:tabular-nums;letter-spacing:-.06em}
.cop-rest-ring span{font:700 8px/1.15 var(--kg-mono);letter-spacing:.1em;color:var(--kg-muted);margin-top:3px}
.cop-rest-stage p,.cop-set-complete p{font-size:13px;margin:5px 0 7px}
.cop-rest-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:5px}
.cop-rest-actions button,.cop-set-complete button,.cop-timer-return,.cop-logged-details button{min-height:44px;font-size:13px;padding:6px 11px}
.cop-timer-return,.cop-logged-details button{text-decoration:underline}
.cop-logged-details{margin:7px 0 0;color:var(--kg-muted);font-size:13px}
.cop-logged-details summary{padding:5px 0;min-height:31px}
.cop-logged-details ul{list-style:none;padding:0;margin:3px 0 0}
.cop-logged-details li{display:flex;justify-content:space-between;gap:7px;border-top:1px solid var(--kg-edge);padding:4px 0}

/* Focused exercise mode keeps the player and one working set together. */
main:has(.cop-ex-compact){padding-top:5px}
main:has(.cop-ex-compact)>header{display:none}
.cop-ex-compact .cop-top{min-height:44px;margin:0}
.cop-ex-compact .cop-top>.cop-quiet{padding-left:0}
.cop-ex-compact h1{font-size:clamp(22px,6.1vw,30px);margin:0 0 7px;line-height:1.04}
.cop-demo-compact{height:150px;height:clamp(126px,27svh,184px);border-radius:13px;overflow:hidden}
.cop-demo-compact .cop-motion{height:100%;width:100%;max-height:none}
.cop-demo-compact>small{left:7px;top:8px;font-size:9px;padding:3px 4px;letter-spacing:.045em}
.cop-demo-compact>.cop-demo-play{bottom:6px;right:auto;left:8px;width:44px;height:44px}
.cop-demo-compact>.cop-demo-play svg{width:20px!important;height:20px!important}
.cop-demo-tools{position:absolute;z-index:3;top:3px;right:4px;display:flex;gap:3px}
.cop-demo-tools .cop-demo-tool{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:4px 7px;border-radius:9px;background:#1c232f;color:#f8f5f1;border:1px solid #576c91;font-size:11px}
.cop-demo-tools .cop-demo-tool[aria-expanded=true]{background:var(--kg-primary);color:var(--kg-primary-ink)}
.cop-demo-tools .cop-demo-tool svg{width:14px;height:14px}
.cop-info-mark{display:grid;place-items:center;line-height:1;border:1px solid currentColor;border-radius:50%;width:14px;height:14px;font-size:11px;font-weight:800;font-family:Georgia,serif}
.cop-demo-panel[hidden],.cop-demo-panel section[hidden]{display:none}
.cop-demo-panel{position:absolute;z-index:2;right:5px;top:50px;max-height:calc(100% - 55px);width:min(275px,calc(100% - 10px));overflow:auto;overscroll-behavior:contain;border:1px solid #7488ab;border-radius:10px;background:#1c232f;box-shadow:0 5px 16px #0c0f14c0;padding:6px 8px;color:#f8f6f3;scrollbar-width:thin}
.cop-demo-panel strong{display:block;color:#f1ece4;font-size:13px;line-height:1.18}
.cop-demo-panel small,.cop-demo-panel p{font-size:12px;line-height:1.28;margin:3px 0;color:#ede9e2}
.cop-demo-swaps{display:grid;gap:3px;margin-top:3px}
.cop-demo-swaps button{display:block;min-height:38px;text-align:left;padding:4px 7px;font-size:12px;background:#2a3547}
.cop-ex-workbar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:41px;margin:0}
.cop-training-target{display:flex;gap:5px;flex-wrap:wrap;font-size:13px;color:var(--kg-text)}
.cop-training-target span{color:var(--kg-muted)}
.cop-ex-workbar button{font-size:12px;text-decoration:underline;min-height:44px;padding:3px 1px 3px 6px}
.cop-ex-compact .cop-guided-sets{padding:7px 8px 8px;border-radius:13px}
.cop-guided-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.cop-ex-compact .cop-guided-head .cop-set-sequence{flex:1;margin:0}
.cop-guided-head small{font-size:10px;line-height:1.15;white-space:nowrap}
.cop-ex-compact .cop-set-stage,.cop-ex-compact .cop-set-complete{padding:7px 8px 8px;border-radius:10px}
.cop-ex-compact .cop-stage-kicker{font-size:9px;margin:0 0 1px}
.cop-ex-compact .cop-set-stage h3,.cop-ex-compact .cop-set-complete h3{margin:0 0 3px;font-size:18px}
.cop-ex-compact .cop-active-fields label,.cop-ex-compact .cop-load-label{font-size:12px}
.cop-ex-compact .cop-active-fields input,.cop-ex-compact .cop-load-label span{margin-top:2px;height:44px}
.cop-ex-compact .cop-previous{margin:3px 0 0;font-size:11px;line-height:1.22}
.cop-ex-compact .cop-log-confirm{margin-top:6px;padding:3px 9px}
.cop-ex-compact .cop-rest-stage{text-align:left;display:grid;grid-template-columns:minmax(0,1fr) 65px;grid-template-areas:'kicker clock' 'title clock' 'note clock' 'actions actions';gap:1px 7px;align-items:center;padding:6px 8px;border-radius:10px}
.cop-ex-compact .cop-rest-stage .cop-stage-kicker{grid-area:kicker}
.cop-ex-compact .cop-rest-stage h3{grid-area:title;font-size:18px;margin:0}
.cop-ex-compact .cop-rest-stage p{grid-area:note;font-size:11px;margin:0}
.cop-ex-compact .cop-rest-ring{grid-area:clock;width:64px;margin:0;padding:3px}
.cop-ex-compact .cop-rest-ring output{font-size:21px}
.cop-ex-compact .cop-rest-ring span{font-size:6px}
.cop-ex-compact .cop-rest-actions{grid-area:actions;justify-content:stretch;gap:3px;margin-top:4px}
.cop-ex-compact .cop-rest-actions button{flex:1;padding-inline:5px}
.cop-ex-compact .cop-logged-details{margin:3px 0 0}
.cop-ex-compact .cop-logged-details summary{padding:4px 0 0;min-height:21px;font-size:11px}
.cop-ex-compact .cop-step{margin-top:5px}
.cop-ex-compact .cop-step button{font-size:12px;min-height:39px}
@media(min-width:650px){.cop-demo-compact{height:200px}.cop-ex-compact .cop-top{min-height:47px}}
@media(max-width:350px){.cop-demo-compact>small{font-size:8px;left:5px;letter-spacing:0}.cop-demo-tools .cop-demo-tool{padding:3px 4px}}

/* The next move stays within reach, even when the exercise content scrolls. */
.cop-ex-compact .cop-ex-nav{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);align-items:center;gap:4px;padding:2px 0 3px;margin:0 0 3px;background:var(--kg-bg);border-bottom:1px solid var(--kg-edge)}
.cop-ex-nav .cop-nav-workout{justify-self:start;min-width:0;padding-right:3px}
.cop-ex-nav .cop-ex-position{color:var(--kg-muted);white-space:nowrap;font:700 11px/1.1 var(--kg-mono);text-transform:uppercase;letter-spacing:.025em}
.cop-ex-nav .cop-nav-next{justify-self:end;min-height:44px;max-width:100%;padding:4px 7px;border-radius:9px;background:var(--kg-raised);color:var(--kg-primary);border:1px solid #53688b;font-size:12px;line-height:1.15;text-align:center}
.cop-ex-nav .cop-nav-next.is-ready{background:var(--kg-primary);border-color:var(--kg-primary);color:var(--kg-primary-ink)}
.cop-ex-compact #copStageTitle,.cop-ex-compact input{scroll-margin-top:54px}
.cop-ex-compact .cop-step-back{justify-content:flex-start}
@media(max-width:395px){.cop-ex-nav .cop-position-label{display:none}}

/* The company supplied mark, with the original navy and cream swatches. */
.kg-mark{display:block;flex:none;width:34px;height:34px;overflow:hidden;padding:0;border:0;border-radius:9px;background:#fcf9f4}
.kg-mark img{display:block;width:100%;height:100%;object-fit:contain}
.kg-hero{display:grid;grid-template-columns:minmax(0,1fr) clamp(83px,26vw,162px);gap:10px;align-items:center}
.kg-company-logo{height:auto;max-height:154px;width:100%;object-fit:contain;background:#fcf9f4;border-radius:15px;display:block}
.kg-hero-copy{align-self:center}
.kg-hero h1{font-size:clamp(29px,7vw,53px)}
@media(max-width:350px){.kg-hero{grid-template-columns:minmax(0,1fr) 78px;gap:6px}.kg-company-logo{border-radius:11px}}

/* Quiet celebration before the next exercise. */
.cop-celebrate{max-width:500px;margin:10px auto 0;padding:clamp(16px,5vw,25px);text-align:left;background:radial-gradient(ellipse at 98% 0%,#3f516c 0,transparent 58%),linear-gradient(150deg,#2c3a50,#243044 85%);border:1px solid #687991;border-radius:20px;box-shadow:0 12px 30px #12192570}
.cop-celebrate-mark{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;background:var(--kg-primary);color:var(--kg-primary-ink);margin-bottom:11px}
.cop-celebrate-mark svg{width:27px;height:27px}
.cop-celebrate .cop-stage-kicker{color:var(--kg-lime);margin:0 0 4px}
.cop-celebrate h1{font-size:clamp(34px,10vw,51px);line-height:1;margin:0 0 6px}
.cop-celebrate-done{margin:0 0 9px}
.cop-celebrate-done strong{color:var(--kg-text)}
.cop-record-detail{margin:0 0 12px;color:var(--kg-lime);font-size:14px}
.cop-celebrate-next{margin-top:10px;border:1px solid #626f84;background:#233046;border-radius:12px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.cop-celebrate-next small{font:700 10px/1.35 var(--kg-mono);color:var(--kg-muted);letter-spacing:.08em}
.cop-celebrate-next strong{display:block;color:var(--kg-text);font-size:17px}
.cop-celebrate-next div>span{display:block;font-size:12px;color:var(--kg-muted)}
.cop-celebrate-seconds{color:var(--kg-lime);font:750 16px var(--kg-mono);white-space:nowrap}
.cop-celebrate-progress{margin:7px 0 1px;height:4px;overflow:hidden;border-radius:4px;background:#4f6178}
.cop-celebrate-progress>span{display:block;height:100%;background:var(--kg-lime);transition:width .15s linear}
.cop-celebrate .wide{min-height:44px}
.cop-celebrate .cop-quiet.wide{margin-top:2px;text-decoration:underline}
@media(prefers-reduced-motion:reduce){.cop-celebrate-progress>span{transition:none}}
.kg-mark,.kg-company-logo{background:transparent}
.kg-company-logo{border-radius:0}

/* Progress groups actual sets by exercise and keeps older sessions compact. */
.kg-progress{max-width:575px;margin-inline:auto}
.kg-progress-intro h1{font-size:clamp(31px,8vw,42px);line-height:1.04;margin:0 0 5px}
.kg-progress-intro p:last-child{font-size:14px;margin:0 0 13px}
.kg-progress-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 17px}
.kg-progress-stats>div{border:1px solid var(--kg-edge);border-radius:13px;background:var(--kg-surface);padding:8px 8px;display:grid;gap:2px;min-width:0}
.kg-progress-stats>div:first-child{background:#324259;border-color:#687a90}
.kg-progress-stats small{font:740 10px/1.2 var(--kg-mono);color:var(--kg-muted);letter-spacing:.045em}
.kg-progress-stats strong{font-size:25px;line-height:1.08;letter-spacing:-.04em;color:var(--kg-text);font-variant-numeric:tabular-nums}
.kg-progress-stats>div:first-child strong{color:var(--kg-primary)}
.kg-progress-stats span{color:var(--kg-muted);font-size:11px;line-height:1.18}
.kg-history-heading h2{font-size:22px;margin:0 0 2px}
.kg-history-heading p{font-size:13px;line-height:1.25;margin:0 0 8px}
.kg-history-list{display:grid;gap:8px}
.kg-history-workout{background:var(--kg-surface);border:1px solid var(--kg-edge);border-radius:15px;margin:0}
.kg-history-workout>summary{list-style:none;padding:10px 11px;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px}
.kg-history-workout>summary::-webkit-details-marker{display:none}
.kg-history-workout[open]>summary{border-bottom:1px solid var(--kg-edge)}
.kg-history-title{display:grid;gap:2px;font-size:12px;line-height:1.27;color:var(--kg-muted)}
.kg-history-title>strong{font-size:17px;line-height:1.15;color:var(--kg-text)}
.kg-history-counts{color:var(--kg-lime);font-size:11px}
.kg-history-caret{display:block;width:8px;height:8px;transform:rotate(45deg);border-right:2px solid var(--kg-primary);border-bottom:2px solid var(--kg-primary);margin:0 6px 3px 4px;flex-shrink:0}
.kg-history-workout[open] .kg-history-caret{transform:rotate(225deg);margin-bottom:0}
.kg-history-exercises{padding:7px 10px 9px;display:grid;gap:7px}
.kg-history-ex{background:#232e3f;border:1px solid #495a71;border-radius:10px;padding:5px 7px 3px;min-width:0}
.kg-history-ex-head{display:flex;align-items:baseline;justify-content:space-between;gap:5px;padding:0 0 3px}
.kg-history-ex-head h3{margin:0;font-size:14px;line-height:1.25;overflow-wrap:anywhere;letter-spacing:0}
.kg-history-ex-head>span{font-size:10px;color:var(--kg-muted);white-space:nowrap}
.kg-history-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;font-size:13px;text-align:right}
.kg-history-table th,.kg-history-table td{padding:3px 1px;border-top:1px solid #404f63}
.kg-history-table thead th{font-size:10px;font-weight:650;color:var(--kg-muted)}
.kg-history-table th:first-child{text-align:left;width:22%}
.kg-history-table tbody th{font-weight:550;color:var(--kg-muted)}
.kg-history-table td:nth-child(3){color:var(--kg-primary)}
.kg-legacy-sets{margin:0 0 5px;font-size:12px}
.kg-history-empty{padding:13px;margin:6px 0}
.kg-history-empty h3{margin:0 0 4px}
.kg-history-local{font-size:12px;margin:10px 0 0}
.cop-celebrate-seconds small{display:block;text-align:right;color:var(--kg-muted);font-size:9px;letter-spacing:.04em}
@media(min-width:480px){.kg-progress-stats>div{padding:10px 13px}.kg-history-workout>summary{padding:11px 14px}.kg-history-exercises{padding:9px 13px 10px}.kg-history-ex{padding-inline:10px}}
