#kettlebellTrainingMode{position:fixed;inset:0;z-index:10000;overflow-x:hidden;overflow-y:auto;background:radial-gradient(circle at 90% 5%,#3c0a0a 0,transparent 32%),#080a09;color:#f7f3e8;font-family:Inter,system-ui,sans-serif;padding:calc(16px + env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom))}
#kettlebellTrainingMode *{box-sizing:border-box} .kb-shell{width:min(100%,520px);margin:auto}.kb-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.kb-kicker,.kb-label{color:#e6b94c;text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.72rem}.kb-state{border:1px solid #d83b35;border-radius:99px;padding:8px 12px;font-weight:800}.kb-progress{height:5px;background:#292d2a;margin:18px 0;border-radius:9px;overflow:hidden}.kb-progress span{display:block;height:100%;background:linear-gradient(90deg,#c5262c,#e6b94c)}.kb-card{border:1px solid #343934;border-radius:22px;background:#111411;overflow:hidden;box-shadow:0 24px 60px #0008}.kb-media{height:min(34vh,260px);background:#191d19;position:relative}.kb-media img{width:100%;height:100%;object-fit:cover}.kb-media-fallback{display:grid;place-content:center;height:100%;text-align:center;color:#aaa}.kb-media img+.kb-media-fallback{display:none}.kb-media.media-error img{display:none}.kb-media.media-error .kb-media-fallback{display:grid}.kb-content{padding:20px}.kb-content h1{font-size:clamp(2rem,10vw,3.35rem);line-height:.95;margin:7px 0 16px}.kb-prescription{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.kb-stat{background:#1b1f1b;border-radius:14px;padding:12px 8px;text-align:center}.kb-stat strong{display:block;font-size:1.25rem}.kb-stat small{color:#b9beb8}.kb-side{margin:14px 0 0;border-left:3px solid #e6b94c;padding:8px 12px;background:#e6b94c12;font-weight:750}.kb-focus{margin:18px 0 0;font-size:1.05rem;line-height:1.45}.kb-focus b{color:#e6b94c;display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em}.kb-next{margin:16px 2px;color:#b9beb8}.kb-controls{position:fixed;z-index:10001;left:0;right:0;bottom:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#080a09 20%)}.kb-controls-inner{display:grid;grid-template-columns:1fr 2fr;gap:10px;width:min(100%,520px);margin:auto}.kb-btn{min-height:58px;border-radius:16px;border:1px solid #596159;background:#171b17;color:#fff;font-size:1rem;font-weight:850;padding:10px}.kb-btn.primary{background:#c5262c;border-color:#ef534e}.kb-btn:focus-visible,.kb-close:focus-visible{outline:3px solid #e6b94c;outline-offset:3px}.kb-rest{text-align:center;padding:30px 20px}.kb-timer{font-variant-numeric:tabular-nums;font-size:clamp(4.5rem,24vw,8rem);font-weight:900;line-height:1}.kb-rest h1{font-size:2rem}.kb-dialog{width:min(94vw,540px);max-height:88dvh;border:1px solid #686f68;border-radius:22px;background:#111411;color:#f7f3e8;padding:0}.kb-dialog::backdrop{background:#000c}.kb-guide{padding:20px;overflow:auto;max-height:88dvh}.kb-guide h2{font-size:2rem;margin:8px 0}.kb-guide li{margin:12px 0;line-height:1.45}.kb-close{float:right;background:#252a25;color:white;border:0;border-radius:50%;width:48px;height:48px;font-size:1.5rem}.kb-complete{text-align:center;padding:28px 20px}.kb-complete .check{font-size:4rem;color:#37b867}.kb-complete h1{font-size:2.7rem}.kb-actions{display:grid;gap:10px;margin-top:24px}.kb-actions a{text-decoration:none;display:grid;place-items:center}.kb-error{padding:30px;text-align:center}.kb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:350px){#kettlebellTrainingMode{padding-left:10px;padding-right:10px}.kb-content{padding:16px}.kb-prescription{gap:5px}.kb-stat{padding:10px 4px}.kb-stat strong{font-size:1.05rem}}
@media(prefers-reduced-motion:reduce){#kettlebellTrainingMode *{scroll-behavior:auto!important;animation:none!important}}
/* Pocket PT workout-source projection (the challenge no longer replaces the hub). */
.kb-hub-today{border:1px solid #d6a82f;border-radius:14px;padding:16px;margin-top:10px;background:linear-gradient(145deg,#101813,#08100c)}
.kb-hub-kicker{color:#facc15;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:.76rem}
.kb-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.kb-hub-card{min-width:0;border:1px solid #31523b;border-radius:12px;overflow:hidden;background:#07100a}
.kb-hub-education{width:100%;min-height:64px;display:flex;gap:10px;text-align:left;align-items:center;background:transparent;color:inherit;border:0;padding:10px}
.kb-hub-education img{width:72px;height:72px;object-fit:cover;border-radius:9px;flex:none}.kb-hub-education span,.kb-hub-education small{display:block;min-width:0}.kb-hub-education small{margin-top:3px;color:#cbd5d1}
.kb-hub-calendar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.kb-hub-calendar button{min-height:58px;padding:7px;background:#12351e;border:1px solid #337443;color:#fff}.kb-hub-calendar button.completed{background:#166534}.kb-hub-calendar button.today{outline:3px solid #facc15}.kb-hub-calendar time,.kb-hub-calendar span{display:block;font-size:.72rem}
.kb-hub-error{padding:18px;border:1px solid #ef4444;border-radius:12px;background:#260b0b}
#kbEducationDialog{max-width:min(92vw,560px);max-height:85vh;overflow:auto;color:#f8fafc;background:#07100a;border:1px solid #d6a82f;border-radius:14px;padding:18px}
@media(max-width:600px){.kb-hub-grid{grid-template-columns:1fr}.kb-hub-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-hub-education{min-height:76px;font-size:1rem}}
