[data-tool=sport],a[href*="tableur=sport"]{--category-color:#cf9470}.tool-card[data-tool=sport] .tool-icon{background:var(--theme-soft);color:var(--theme-text)}#sport-charts{margin:24px 0;padding:24px;border:1px solid var(--theme-border);border-top:4px solid var(--category-color,var(--theme-accent));border-radius:14px;background:var(--theme-surface)}#sport-charts[hidden]{display:none}.sport-chart-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.sport-chart-heading h2{font-size:24px;letter-spacing:-.03em;margin:0}.sport-chart-heading label{font-size:12px;display:grid;gap:6px}.sport-chart-heading select{font:inherit;font-size:15px;min-height:44px;padding:8px 12px;background:var(--theme-bg);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:8px;max-width:100%}.sport-scope,.sport-method{font-size:12px;color:var(--theme-muted);line-height:1.7}.sport-curves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sport-curve{border:1px solid var(--theme-border);padding:18px;border-radius:10px;min-width:0;background:var(--theme-bg)}.sport-curve h3{font-size:15px;margin:0 0 8px}.sport-curve p{font-size:13px}.sport-curve svg{width:100%;height:auto;display:block;overflow:visible}.sport-curve svg text{font-size:11px;fill:var(--theme-muted)}.sport-grid{stroke:var(--theme-border);stroke-width:1}.sport-line{stroke:var(--theme-accent);stroke-width:3}.sport-point{fill:var(--theme-accent);stroke:var(--theme-surface);stroke-width:1.5}.sport-unit{color:var(--theme-muted);margin:0;font-size:11px!important}.sport-curve details{border:0;margin-top:10px}.sport-curve summary{font-size:12px;cursor:pointer}.sport-curve ul{font-size:12px;max-height:180px;overflow:auto;line-height:1.8;padding-left:18px}.sport-method{margin-bottom:0}@media(max-width:700px){#sport-charts{padding:18px 12px}.sport-chart-heading{display:block}.sport-chart-heading h2{font-size:21px;margin-bottom:18px}.sport-curves{grid-template-columns:1fr}.sport-chart-heading select{width:100%;font-size:16px}.sport-curve{padding:14px}}
.sport-view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.sport-view-tabs button{font:inherit;font-size:14px;font-weight:650;min-height:46px;padding:11px 16px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-bg);color:var(--theme-text);cursor:pointer}.sport-view-tabs button[aria-pressed=true]{background:var(--theme-accent);color:var(--theme-on-accent)}.sport-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.sport-metrics>div{background:var(--theme-soft);border-radius:10px;padding:16px}.sport-metrics span{display:block;font-size:14px;line-height:1.5;color:var(--theme-muted)}.sport-metrics strong{display:block;font-size:25px;margin-top:8px;overflow-wrap:anywhere}.sport-filters{display:flex;gap:16px}.sport-chart-heading label{font-size:14px}.sport-scope,.sport-method,.sport-explanation p{font-size:14px}.sport-muscles{margin-top:25px}.sport-muscles h3{font-size:18px}.sport-muscle{margin:15px 0}.sport-muscle>div:first-child{display:flex;justify-content:space-between;gap:14px;font-size:14px}.sport-muscle-track{height:8px;background:var(--theme-soft);border-radius:8px;overflow:hidden;margin-top:7px}.sport-muscle-track i{display:block;height:100%;background:var(--theme-accent);border-radius:8px}.sport-explanation summary{font-size:14px;min-height:44px}.sport-explanation p{line-height:1.7}.sport-curve summary,.sport-curve ul{font-size:14px}.sport-curve svg text{font-size:14px}@media(max-width:700px){.sport-filters{display:grid;gap:12px;width:100%}.sport-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sport-view-tabs button{font-size:14px;padding:10px}.sport-metrics{gap:8px}.sport-metrics>div{padding:12px 8px}.sport-metrics span{font-size:13px}.sport-metrics strong{font-size:20px}.sport-chart-heading h2{font-size:22px}.sport-curve svg text{font-size:16px}}@media(max-width:360px){.sport-metrics{grid-template-columns:1fr}.sport-metrics>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.sport-metrics strong{margin:0}}
.sport-add{margin:0 0 22px;font-size:15px}.sport-add:focus-visible,.sport-view-tabs button:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}@media(max-width:700px){.sport-add{width:100%}}
.strength-entry{margin:18px 0 24px;padding:26px;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface);border-top:4px solid var(--category-color,var(--theme-accent))}.strength-entry[hidden]{display:none}.strength-intro .eyebrow{font-size:12px;margin:0 0 10px}.strength-intro h2{font-size:28px;margin:0 0 8px;letter-spacing:-.03em}.strength-intro>p:last-child{font-size:15px;color:var(--theme-muted);margin:0 0 22px}#strength-form{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:14px;align-items:end}#strength-form label{display:grid;gap:7px;font-size:14px;font-weight:650}#strength-form input{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-bg);color:var(--theme-text);font:inherit;font-size:16px}#strength-submit{min-height:48px;padding:12px 18px;justify-content:center}.strength-example{font-size:14px;line-height:1.7;color:var(--theme-muted);margin:18px 0 0}#strength-status:empty{display:none}#strength-status{font-size:14px;margin:14px 0 0}.strength-charts .sport-curves{grid-template-columns:1fr}.strength-charts .sport-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.strength-charts .sport-curve svg{max-height:380px}.strength-story{font-size:16px;line-height:1.6}.sport-volume{margin:0}.sport-volume>summary{font-size:14px}.sport-value-label{fill:var(--theme-text)!important;font-weight:700}.strength-charts .sport-add{float:right;margin:0 0 15px 15px;font-size:14px}.strength-charts .sport-chart-heading{clear:both}@media(max-width:900px){#strength-form{grid-template-columns:1fr 1fr}.strength-charts .sport-metrics{grid-template-columns:1fr 1fr}}@media(max-width:520px){.strength-entry{padding:20px 16px}.strength-intro h2{font-size:24px}#strength-form{grid-template-columns:1fr 1fr}#strength-form label:first-child,#strength-submit{grid-column:1/-1}.strength-charts .sport-add{float:none;width:100%;margin:0 0 18px}.strength-charts .sport-metrics strong{font-size:24px}}

/* Strength workspace: per-set logging, reusable sessions and licensed exercise library. */
#workbook.strength-mode .workbook-grid{display:none!important}.strength-mode #strength-entry{display:none}.strength-workspace-heading{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:28px;background:var(--theme-soft);border:1px solid var(--theme-border);border-radius:18px}.strength-workspace-heading h2{font-size:30px;line-height:1.2;margin:8px 0 12px;letter-spacing:-.035em}.strength-workspace-heading p{margin:0;max-width:540px;line-height:1.65}.strength-kicker{font-size:12px;letter-spacing:.12em;font-weight:750;color:var(--theme-muted)}.strength-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.strength-actions button,.strength-dialog button,.strength-nav button{min-height:44px}.strength-nav{display:flex;gap:8px;overflow-x:auto;margin:22px 0 18px;padding:4px 0 12px}.strength-nav button{white-space:nowrap;flex-shrink:0}.strength-nav [aria-pressed=true]{background:var(--theme-accent);color:var(--theme-on-accent);border-color:var(--theme-accent)}.strength-help,.strength-credit,.exercise-original{font-size:14px;line-height:1.65;color:var(--theme-muted)}.strength-credit a{text-decoration:underline}.strength-empty{border:1px dashed var(--theme-border);background:var(--theme-soft);border-radius:14px;padding:28px;line-height:1.7}.strength-history{display:grid;gap:12px;margin:20px 0}.strength-history-row,.strength-plan-card{padding:24px;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface);overflow-wrap:anywhere}.strength-history-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.strength-history-row h3,.strength-plan-card h3{font-size:20px;margin:0 0 8px}.strength-history-row p,.strength-plan-card p{margin:6px 0;font-size:15px;line-height:1.65}.strength-plan-card{margin:16px 0}.strength-plan-card li{margin:8px 0;line-height:1.6}.strength-dialog{width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid var(--theme-border);border-radius:18px;background:var(--theme-bg);color:var(--theme-text);overscroll-behavior:contain}.strength-dialog::backdrop{background:rgb(0 0 0 / .5)}.strength-dialog-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.strength-dialog-top h2{font-size:26px;margin:0;line-height:1.2;letter-spacing:-.03em}.strength-dialog form>.button{width:100%;justify-content:center;margin:18px 0 0;min-height:50px}.strength-dialog form>.outline-button{margin:8px 8px 8px 0}.strength-fields,.exercise-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.strength-field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:650;min-width:0}.strength-field input,.strength-field select{width:100%;min-width:0;min-height:48px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);padding:10px 12px;font:inherit;font-size:16px;margin:0}.strength-dialog :focus-visible,#strength-workspace :focus-visible{outline:3px solid var(--theme-accent);outline-offset:3px}.strength-log-item,.strength-plan-item{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:14px;padding:20px;margin:22px 0}.strength-line{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.strength-line h3{font-size:20px;margin:0}.strength-series{margin:18px 0}.strength-series>.strength-field{max-width:260px}.strength-set{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid var(--theme-border)}.strength-set>strong{font-size:14px;align-self:center}.strength-series>.outline-button{margin-top:16px}.strength-max{font-size:15px;font-weight:650;line-height:1.6;padding:12px;background:var(--theme-soft);border-radius:8px}.strength-notice:not(:empty){border:1px solid var(--theme-danger);color:var(--theme-danger);padding:12px;border-radius:8px;line-height:1.6}.strength-notice:empty{display:none}.exercise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.exercise-card{padding:16px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:16px;min-width:0;display:flex;flex-direction:column;gap:10px;overflow-wrap:anywhere}.exercise-card>img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px;background:var(--theme-soft)}.exercise-card h3{font-size:18px;line-height:1.35;margin:0}.exercise-card p{margin:0;font-size:14px;line-height:1.6}.exercise-card>.button{justify-content:center;min-height:48px;margin-top:auto;white-space:normal}.exercise-card>details{padding:8px 0 14px;font-size:14px;border-color:var(--theme-border)}.exercise-card summary{font-size:14px;min-height:44px}.exercise-card details p{padding:0;margin:12px 0}.exercise-card ol{padding-left:20px;font-size:14px;line-height:1.7}.exercise-poses{display:grid;grid-template-columns:1fr 1fr;gap:8px}.exercise-poses figure{margin:0}.exercise-poses img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.exercise-poses figcaption{font-size:12px;color:var(--theme-muted)}.exercise-muscles{font-weight:650;color:var(--theme-text)}.exercise-catalog-dialog{width:min(1180px,calc(100vw - 32px))}.exercise-filters{grid-template-columns:repeat(3,minmax(0,1fr));padding:20px;background:var(--theme-soft);border-radius:14px}
@media(max-width:850px){.strength-workspace-heading{display:block;padding:22px}.strength-workspace-heading h2{font-size:27px}.strength-workspace-heading .strength-actions{margin-top:18px}.strength-history-row{display:block}.strength-history-row .strength-actions{margin-top:16px}.exercise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exercise-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.strength-set{grid-template-columns:60px minmax(0,1fr) minmax(0,1fr)}.strength-set>button{grid-column:2/-1;justify-self:end}.strength-line .strength-actions{gap:6px}}
@media(max-width:560px){.strength-workspace-heading{padding:20px 16px}.strength-workspace-heading .strength-actions{display:grid;grid-template-columns:1fr}.strength-workspace-heading .button{justify-content:center}.strength-dialog,.exercise-catalog-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:18px 14px calc(22px + env(safe-area-inset-bottom))}.strength-dialog-top{position:sticky;top:-18px;background:var(--theme-bg);padding:16px 0;z-index:2}.strength-dialog-top h2{font-size:23px}.strength-fields{grid-template-columns:1fr}.strength-log-item,.strength-plan-item{padding:16px 12px}.strength-set{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.strength-set>strong{grid-column:1/-1}.strength-set>button{grid-column:1/-1}.strength-history-row,.strength-plan-card{padding:18px 16px}.strength-history-row .strength-actions>strong{width:100%}.exercise-grid{grid-template-columns:1fr;gap:16px}.exercise-card{padding:18px}.exercise-card>img{max-height:230px}.exercise-filters{grid-template-columns:1fr;padding:16px}.exercise-card h3{font-size:21px}.strength-nav{margin:18px 0 12px}.strength-line .strength-actions{width:100%}.strength-line .strength-actions button{flex:1}.strength-dialog button{font-size:14px}.strength-workspace-heading p{font-size:16px}}
