/* TJR Strength team log page (the [tjr_team_page] shortcode). Prefix .tlg, as on the old page. */
.tlg{--or:#F87E1A;--ink:#141617;--mist:#F2F3F5;--body:#434549;--dim:#8A8D92;--rule:#E2E4E7;
  max-width:480px;margin:0 auto;padding:24px 16px 48px;font-family:Montserrat,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--body);font-size:15px;line-height:1.5;box-sizing:border-box}
.tlg *,.tlg *::before,.tlg *::after{box-sizing:border-box}
.tlg button,.tlg input{font-family:inherit;color:inherit}
.tlg button{cursor:pointer}
.tlg :focus-visible{outline:3px solid var(--or);outline-offset:2px}
.tlg .tlg-eyebrow{font-size:11px;font-weight:800;letter-spacing:2.5px;text-transform:uppercase;color:var(--or);margin:0 0 6px}
.tlg h2{font-size:clamp(24px,6vw,30px);font-weight:800;color:var(--ink);margin:0 0 6px;line-height:1.15}
.tlg h3{font-size:15px;font-weight:800;color:var(--ink);margin:0}
.tlg p{margin:0 0 10px}
.tlg .tlg-muted{color:var(--dim);font-size:13.5px}
.tlg .tlg-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.tlg .tlg-names button{border:1.5px solid var(--rule);background:#fff;border-radius:12px;padding:16px 12px;font-weight:800;font-size:15px;color:var(--ink);text-align:left}
.tlg .tlg-names button:hover{border-color:var(--or)}
.tlg .tlg-names span{display:block;font-size:12px;font-weight:600;color:var(--dim)}
.tlg .tlg-link{border:0;background:none;color:var(--or);font-weight:800;font-size:13px;padding:6px 0}
.tlg .tlg-ex{background:#fff;border:1px solid var(--rule);border-radius:12px;padding:12px 14px;margin-bottom:10px}
.tlg .tlg-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.tlg .tlg-hint{font-size:12.5px;color:var(--dim);margin:2px 0 10px}
.tlg .tlg-lab{font-size:12px;font-weight:700;color:var(--dim);margin:0 0 4px}
.tlg .tlg-step{display:flex;gap:8px}
.tlg .tlg-step button{width:48px;flex:none;border:1.5px solid var(--rule);background:var(--mist);border-radius:10px;font-size:22px;font-weight:700;color:var(--ink)}
.tlg .tlg-step input{flex:1;width:100%;min-width:0;text-align:center;font-size:22px;font-weight:800;border:1.5px solid var(--rule);border-radius:10px;padding:10px 6px;background:#fff;color:var(--ink);-moz-appearance:textfield}
.tlg .tlg-step input::-webkit-outer-spin-button,.tlg .tlg-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tlg .tlg-step input:focus{border-color:var(--or);outline:none}
.tlg .tlg-sr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:10px}
.tlg .tlg-sr>div{min-width:0}
.tlg .tlg-sm button{width:40px;font-size:18px}
.tlg .tlg-sm input{font-size:18px;padding:7px 4px}
.tlg .tlg-same{border:0;background:none;color:var(--or);font-weight:700;font-size:12.5px;padding:0;white-space:nowrap}
.tlg .tlg-btn{display:block;width:100%;border:0;background:var(--or);color:var(--ink);font-weight:800;font-size:16px;border-radius:10px;padding:15px 18px;margin-top:8px}
.tlg .tlg-btn[disabled]{opacity:.6;cursor:wait}
.tlg .tlg-err{background:#FFF1E6;border-left:3px solid var(--or);border-radius:6px;padding:10px 12px;margin:10px 0;color:var(--ink);font-size:14px}
.tlg .tlg-status{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--ink)}
.tlg .tlg-status.ok{color:#2E7D4F}
.tlg .tlg-cue{font-size:13px;color:var(--body);margin:4px 0 2px;font-style:italic}
.tlg .tlg-rx{font-size:12.5px;font-weight:700;color:var(--ink);margin:2px 0}
.tlg .tlg-watch{display:inline-block;font-size:12.5px;font-weight:800;color:var(--ink);background:var(--mist);border-radius:999px;padding:4px 12px;text-decoration:none;margin:4px 0 2px}
.tlg .tlg-watch:hover{background:#FEE9D6}
.tlg .tlg-days{display:grid;gap:10px;margin-top:14px}
.tlg .tlg-phase{font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--dim);margin:14px 0 -2px}
.tlg .tlg-days button{border:1.5px solid var(--rule);background:#fff;border-radius:12px;padding:16px;text-align:left;color:var(--ink)}
.tlg .tlg-days button:hover{border-color:var(--or)}
.tlg .tlg-days b{display:block;font-size:17px;font-weight:800}
.tlg .tlg-days span{display:block;font-size:12.5px;color:var(--dim);margin-top:2px}
.tlg .tlg-days em{display:block;font-style:normal;font-size:12px;font-weight:700;color:var(--ink);margin-top:6px}
.tlg .tlg-days em.max{color:#B4540A}
.tlg .tlg-days i{font-style:normal;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;background:var(--or);color:var(--ink);border-radius:999px;padding:2px 8px;margin-left:8px;vertical-align:middle}
.tlg .tlg-tabs{display:flex;gap:4px;background:var(--mist);border-radius:10px;padding:4px;margin:0 0 20px}
.tlg .tlg-tabs button{flex:1;border:0;background:transparent;border-radius:8px;padding:10px;font-weight:700;font-size:14px;color:var(--dim)}
.tlg .tlg-tabs button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(20,22,23,.12)}
.tlg .tlg-hero{background:#141617;color:#F2F3F5;border-radius:14px;padding:20px 18px;position:relative;overflow:hidden;margin-bottom:6px}
.tlg .tlg-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#F87E1A}
.tlg .tlg-hero h2{color:#F2F3F5;margin:0 0 4px}
.tlg .tlg-hero p{color:#A8ADB3;margin:0;font-size:14px}
.tlg .tlg-hero .tlg-big{color:#F2F3F5;margin-top:12px;font-size:15px}
.tlg .tlg-hero strong{color:#F87E1A}
.tlg .tlg-sec{margin-top:28px}
.tlg .tlg-sec h3.tlg-h{font-size:19px;margin-bottom:4px}
.tlg .tlg-pod{border-left:4px solid var(--or);background:var(--mist);border-radius:10px;padding:12px 14px;margin-top:10px}
.tlg .tlg-pod .r{font-size:12px;font-weight:700;color:var(--dim)}
.tlg .tlg-pod .n{font-size:17px;font-weight:800;color:var(--ink)}
.tlg .tlg-card{background:#fff;border:1px solid var(--rule);border-radius:12px;padding:12px 14px;margin-top:10px}
.tlg .tlg-nums{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:2px 0}
.tlg .tlg-nums .v{font-weight:800;color:var(--ink);font-size:17px}
.tlg .tlg-pct{font-weight:800;font-size:12.5px;border-radius:6px;padding:2px 7px;background:var(--mist);color:var(--ink);white-space:nowrap}
.tlg .tlg-pct.up{background:#FEE9D6;color:#B4540A}
.tlg svg.tlg-spark{display:block;width:100%;height:auto;margin-top:6px}
.tlg .tlg-spark .team{stroke:#8A8D92;stroke-dasharray:4 4;fill:none;stroke-width:2}
.tlg .tlg-spark .me{stroke:#F87E1A;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tlg .tlg-spark circle{fill:#F87E1A}
.tlg .tlg-roster{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid var(--rule)}
.tlg .tlg-roster li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid var(--rule)}
.tlg .tlg-roster b{color:var(--ink)}
.tlg .tlg-legend{display:flex;gap:16px;font-size:12px;color:var(--dim);margin:8px 0 0}
.tlg .tlg-legend i{display:inline-block;width:18px;height:3px;vertical-align:middle;margin-right:6px;background:var(--or)}
.tlg .tlg-legend i.t{background:none;border-top:2px dashed var(--dim)}
.tlg .tlg-note{background:var(--mist);border-radius:8px;padding:10px 12px;margin:0 0 14px;font-size:13.5px}
.tlg .tlg-saved{list-style:none;margin:6px 0 18px;padding:0}
.tlg .tlg-saved li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--rule)}
.tlg .tlg-saved b{color:var(--ink)}
.tlg .tlg-pr{background:var(--or);color:var(--ink);font-weight:800;font-size:12px;border-radius:999px;padding:3px 10px;white-space:nowrap;animation:tlgpop .5s cubic-bezier(.2,1.6,.4,1) both}
.tlg .tlg-sets{margin-top:10px}
.tlg .tlg-set{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;margin-bottom:8px}
.tlg .tlg-set.one{grid-template-columns:34px minmax(0,1fr)}
.tlg .tlg-set.head{margin-bottom:4px;font-size:12px;font-weight:700;color:var(--dim)}
.tlg .tlg-set .n{font-weight:800;color:var(--ink);text-align:center}
.tlg .tlg-set input{width:100%;min-width:0;text-align:center;font-size:20px;font-weight:800;border:1.5px solid var(--rule);border-radius:10px;padding:10px 6px;background:#fff;color:var(--ink);-moz-appearance:textfield}
.tlg .tlg-set input::-webkit-outer-spin-button,.tlg .tlg-set input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tlg .tlg-set input:focus{border-color:var(--or);outline:none}
.tlg .tlg-set input::placeholder{color:#C9CCD0;font-weight:600}
.tlg .tlg-setbtns{display:flex;gap:16px;margin-top:2px}
.tlg .tlg-setbtns button{border:0;background:none;color:var(--or);font-weight:800;font-size:13px;padding:6px 0}
.tlg .tlg-setbtns button+button{color:var(--dim)}
.tlg .tlg-sw{display:flex;align-items:center;gap:14px;margin:8px 0 2px}
.tlg .tlg-sw button{border:0;background:var(--ink);color:#fff;font-weight:800;font-size:15px;border-radius:999px;padding:10px 20px;min-width:130px}
.tlg .tlg-sw button.on{background:var(--or);color:var(--ink)}
.tlg .tlg-swt{font-size:26px;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}
.tlg .tlg-stats{display:flex;gap:22px;margin-top:14px}
.tlg .tlg-stats b{display:block;font-size:26px;font-weight:900;color:#F87E1A;line-height:1.1}
.tlg .tlg-stats span{font-size:12px;color:#A8ADB3}
.tlg svg.tlg-chart{display:block;width:100%;height:auto;margin-top:8px}
.tlg .tlg-chart .g{stroke:#E2E4E7;stroke-width:1}
.tlg .tlg-chart .ln{stroke:#F87E1A;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tlg .tlg-chart circle{fill:#F87E1A}
.tlg .tlg-chart text{font-family:inherit;font-size:11px;fill:#8A8D92}
.tlg .tlg-chart .yl{text-anchor:end}
.tlg .tlg-chart .xl{text-anchor:middle;font-weight:700;fill:#434549}
.tlg .tlg-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.tlg .tlg-chip{font-size:12.5px;font-weight:700;color:var(--ink);background:var(--mist);border-radius:6px;padding:3px 8px}
.tlg .tlg-chip i{font-style:normal;color:var(--dim);font-weight:700;margin-right:5px}
.tlg .tlg-chip.best{background:#FEE9D6}
.tlg .tlg-lifts{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}
.tlg .tlg-lifts button{border:1.5px solid var(--rule);background:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;color:var(--body)}
.tlg .tlg-lifts button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.tlg .tlg-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--rule);border-radius:12px;background:#fff}
.tlg .tlg-table{border-collapse:collapse;width:100%;font-size:14px}
.tlg .tlg-table th,.tlg .tlg-table td{padding:9px 10px;border-bottom:1px solid var(--rule);text-align:right;white-space:nowrap}
.tlg .tlg-table thead th{font-size:12px;color:var(--dim);font-weight:800;background:var(--mist)}
.tlg .tlg-table th[scope="row"],.tlg .tlg-table thead th:first-child{text-align:left;position:sticky;left:0;background:#fff;color:var(--ink);font-weight:800;z-index:1}
.tlg .tlg-table thead th:first-child{background:var(--mist);color:var(--dim)}
.tlg .tlg-table td.best{font-weight:900;color:#B4540A}
.tlg .tlg-table tfoot th,.tlg .tlg-table tfoot td{font-weight:800;background:var(--mist);border-bottom:0}
.tlg .tlg-table tfoot th[scope="row"]{background:var(--mist)}
.tlg .tlg-msg:empty{display:none}
.tlg .tlg-msg .tlg-err{margin:14px 0 4px}
.tlg .tlg-msg ul{margin:6px 0 8px;padding-left:18px}
.tlg .tlg-row{display:flex;gap:8px;margin-top:8px}
.tlg .tlg-row button{flex:1;border:1.5px solid var(--ink);background:#fff;border-radius:10px;padding:10px;font-weight:800;font-size:14px;color:var(--ink)}
.tlg .tlg-row button.go{background:var(--ink);color:#fff}
.tlg .tlg-local{font-size:12.5px;color:var(--dim);margin:12px 0 0;min-height:1em}
.tlg .tlg-local.bad{color:#B4540A;font-weight:700}
.tlg .tlg-resume{background:#FFF1E6;border-left:3px solid var(--or);border-radius:6px;padding:10px 12px;margin:12px 0;font-size:14px;color:var(--ink)}
.tlg .tlg-resume button{border:0;background:none;color:#B4540A;font-weight:800;font-size:14px;padding:0 0 0 4px;text-decoration:underline}
/* the video pop-up lives on the page body, so the theme can't push it off screen */
#tlg-video{position:fixed;inset:0;z-index:100001;background:rgba(20,22,23,.86);display:flex;align-items:center;justify-content:center;padding:16px;
  padding-top:calc(16px + env(safe-area-inset-top,0px));font-family:Montserrat,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
#tlg-video[hidden]{display:none}
#tlg-video .vb-in{width:min(960px,100%)}
#tlg-video .vb-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#tlg-video .vb-t{margin:0;color:#fff;font-weight:700;font-size:16px;line-height:1.3}
#tlg-video .vb-x{flex:0 0 auto;width:44px;height:44px;border:0;border-radius:22px;background:#F87E1A;color:#141617;font-size:26px;line-height:1;cursor:pointer}
#tlg-video .vb-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
#tlg-video .vb-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#tlg-video .vb-out{margin:12px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#tlg-video .vb-out span{color:#C3C5C8;font-size:13px}
#tlg-video .vb-out a{display:inline-block;background:#fff;color:#141617;font-weight:800;font-size:14px;border-radius:999px;padding:10px 18px;text-decoration:none}
html.tlg-noscroll,html.tlg-noscroll body{overflow:hidden}
@keyframes tlgpop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.tlg .tlg-pr{animation:none}}
/* 0.9.0: a check-off exercise, one big tick box */
.tlg .tlg-set.chk{display:block}
.tlg .tlg-chk{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 14px;border:1.5px solid var(--rule);border-radius:10px;background:#fff;color:var(--ink);font-size:18px;font-weight:800;cursor:pointer}
.tlg .tlg-chk input{width:28px;height:28px;margin:0;padding:0;accent-color:#F87E1A;flex:0 0 auto}
.tlg .tlg-chk:has(input:checked){border-color:#F87E1A;background:#fff6ee}
/* 0.9.1: song suggestions */
.tlg .tlg-song{margin-top:18px}
.tlg .tlg-song h3{margin:0 0 4px;font-size:17px;color:var(--ink)}
.tlg .tlg-song label{display:block;font-weight:700;font-size:13px;color:var(--ink);margin-top:10px}
.tlg .tlg-song input{display:block;width:100%;box-sizing:border-box;margin-top:4px;font-size:16px;border:1.5px solid var(--rule);border-radius:10px;padding:10px 12px;background:#fff;color:var(--ink)}
.tlg .tlg-songmsg{min-height:1.2em;margin:8px 0 0;font-weight:700;color:var(--ink)}
.tlg .tlg-songmsg.bad{color:#B3261E}
.tlg .tlg-songs{list-style:none;padding:0;margin:10px 0 0}
.tlg .tlg-songs li{padding:8px 0;border-top:1px solid var(--rule);color:var(--ink)}
.tlg .tlg-songs li span{display:block;font-size:12.5px;font-weight:700;color:var(--dim)}
.tlg .tlg-songs li span.st-ok{color:#1E7B3A}
