#program .program-toolbar{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(115px,auto)) auto}
#programImportTools{border:1px solid var(--line);border-radius:14px;margin:16px 0 24px;background:var(--panel)}
#programImportTools>summary{padding:16px;cursor:pointer;font-weight:700;color:var(--muted)}
#programImportTools .program-import-trigger{width:calc(100% - 24px);margin:8px 12px 12px}
#program .program-table{border:0;overflow:visible;background:transparent}
#program .program-head{display:none}
.program-family{margin:24px 0 32px}
.program-family-header{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:14px}
.program-family-header h4{font-size:21px;margin:0 0 5px;letter-spacing:-.02em}
.program-family-header p{margin:0;color:var(--muted);font-size:13px}
.program-family-header>span{border:1px solid var(--line);border-radius:99px;white-space:nowrap;padding:5px 10px;color:var(--muted);font-size:12px}
.program-family-list{display:grid;gap:10px}
.program-stage{display:grid;gap:10px;margin:4px 0 16px}
.program-stage h5,.foot-family h5{margin:12px 0 3px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--accent);font:650 15px/1.4 Archivo,system-ui,sans-serif;letter-spacing:0}
#footAthleteStageField[hidden]{display:none!important}
#foot .foot-select-panel .foot-form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
#programList .program-row{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-radius:15px;background:var(--panel);min-width:0}
#programList .program-row:hover{border-color:#76633b}
#programList .program-name{flex:1;min-width:180px;align-items:center}
#programList .program-name>span:last-child{min-width:0}
#programList .program-open{white-space:normal;line-height:1.35;font-size:16px;overflow-wrap:anywhere}
#programList .program-name small{display:block;white-space:normal;line-height:1.5;max-width:65ch;font-size:12px;margin-top:6px;color:var(--muted)}
#programList .program-mark{width:38px;height:38px;flex:none;border:1px solid #5a4a27;border-radius:11px;color:var(--accent);display:grid;place-items:center}
#programList .program-mark svg{width:21px;height:21px}
#programList [data-program-date]{display:none}
#programList .program-menu{z-index:6;right:12px;top:58px}
.program-view-switch{display:flex;gap:5px;padding:4px;border:1px solid var(--line);background:var(--panel);border-radius:12px;width:fit-content;margin:20px 0}
.program-view-switch button{font:inherit;font-size:14px;font-weight:700;border:0;border-radius:8px;background:transparent;color:var(--muted);padding:11px 16px;cursor:pointer;min-height:44px}
.program-view-switch button[aria-pressed="true"]{background:var(--accent);color:#111}
.program-overview{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0;color:var(--muted);font-size:13px}
.program-overview span{padding:7px 11px;background:var(--panel);border:1px solid var(--line);border-radius:9px}
.program-sequence{display:grid;gap:14px;margin:20px 0}
.program-sequence-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0 0}
.program-session-search{display:flex;align-items:center;gap:10px;flex:1;min-width:230px;min-height:46px;padding:0 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.program-session-search>.nav-icon{width:19px;height:19px;flex:none;color:var(--muted)}
.program-session-search input{width:100%;min-width:0;min-height:46px;padding:10px 0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:14px;outline:none;box-shadow:none}
.program-session-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.program-week-actions{display:flex;gap:7px;flex-wrap:wrap}
.program-sequence-tools button{min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);font:inherit;font-size:12px;cursor:pointer}
.program-sequence-tools button:hover{border-color:var(--accent)}
.program-sequence-tools button:disabled{opacity:.45;cursor:default}
.program-sequence-tools button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.program-sequence-tools>p{flex-basis:100%;margin:0;font-size:12px;color:var(--muted);line-height:1.5}
#programSequenceTools[hidden],#programSessionSearchClear[hidden]{display:none!important}
.program-session-search .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:560px){.program-session-search{flex-basis:100%;min-width:0}.program-week-actions{flex:1}.program-week-actions button{flex:1}.program-sequence-tools>button{order:1}.program-sequence-tools>p{order:2}}
.program-week{border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden}
.program-week>summary{cursor:pointer;min-height:64px;padding:18px 20px;font-weight:800;font-size:16px}
.program-week>summary small{font-weight:400;font-size:12px;margin-left:12px;color:var(--muted)}
.program-week-sessions{display:grid;gap:10px;padding:0 14px 14px}
.program-sequence-card{display:block;width:100%;background:#171816;color:var(--ink);border:1px solid var(--line);border-radius:12px;text-align:left;padding:17px;cursor:pointer;font:inherit}
.program-sequence-card:hover{border-color:var(--accent);background:#201e18}
.program-sequence-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.program-sequence-top{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:9px}
.program-sequence-top>b{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--accent)}
.program-sequence-top>small{color:var(--muted);font-size:12px}
.program-sequence-card>strong{display:block;font-size:16px;line-height:1.4}
.program-sequence-card>small{display:block;color:var(--muted);font-size:12px;margin-top:7px}
.program-sequence-blocks{display:grid;gap:6px;margin:15px 0 0;border-top:1px solid var(--line);padding-top:12px}
.program-sequence-blocks>span{display:flex;gap:9px;align-items:baseline;font-size:13px;color:var(--muted)}
.program-sequence-blocks b{color:var(--accent);font-size:11px;flex:none}
.program-sequence-blocks i{font-style:normal;flex:1;overflow-wrap:anywhere}
.program-sequence-blocks small{font-size:11px;white-space:nowrap}
.program-sequence-open{display:block;margin-top:16px;color:var(--accent);font-size:12px;font-weight:700}
#programCalendarGrid[hidden],#programSequence[hidden],#programMonthControls[hidden]{display:none!important}
.program-read-block>.program-block-head{position:sticky;top:58px;background:#202020;z-index:1;padding:8px 0;border-bottom:1px solid var(--line)}
.program-read-exercise .program-index{width:auto;min-width:34px;padding:4px;font-size:12px}
.program-block-summary{white-space:pre-line;line-height:1.7}
.foot-choice-block{border:1px solid var(--line);border-radius:12px;padding:15px;margin-top:12px;background:#191a18}
.foot-choice-exercise a{display:inline-block;margin-top:7px;font-size:12px;line-height:1.5}
.foot-family{display:grid;gap:9px;width:100%}.foot-family h4{margin:18px 0 6px}.foot-family button{text-align:left;padding:16px;border:1px solid var(--line);background:var(--panel);border-radius:12px;color:var(--ink);cursor:pointer}.foot-family strong,.foot-family small{display:block}.foot-family small{color:var(--muted);font-size:12px;margin-top:6px}
.foot-choice-block>summary{cursor:pointer;font-weight:750;line-height:1.5;padding:4px}.foot-choice-block>p{margin-top:12px}
.program-read-block{display:block}.program-read-block>summary{display:flex;list-style:none;cursor:pointer}.program-read-block>summary::-webkit-details-marker{display:none}.program-read-block>summary::after{content:'+';color:var(--accent);font-size:21px;margin-left:auto}.program-read-block[open]>summary::after{content:'−'}.program-read-block>.program-read-exercises,.program-read-block>.program-read-note,.program-read-block>.program-timer{margin-top:14px}
.program-read-exercise .program-source-link{display:inline-flex;align-items:center;padding:9px 11px;border:1px solid #50462e;border-radius:9px;color:var(--accent);text-decoration:none;font-size:12px;margin:8px 6px 6px 0;line-height:1.4;overflow-wrap:anywhere}
@media(min-width:900px){.program-week-sessions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#program .program-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#programSearch{grid-column:1/-1}#programList .program-row{padding:15px;gap:9px}#programList .program-name{flex-basis:calc(100% - 50px)}#programList .program-more{position:absolute;right:12px;top:15px}#programList .program-name{padding-right:32px}.program-family-header{align-items:start}.program-week>summary{padding:17px 14px}.program-sequence-card{padding:14px}.program-sequence-top{flex-wrap:wrap}.program-week>summary small{display:block;margin:5px 0 0 15px}}

/* A compact map of the workout, without changing exercise order. */
.session-outline{border:1px solid var(--line);border-radius:14px;padding:14px;background:#171b14;margin:14px 0 20px}
.session-outline-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.session-outline-head>strong{font-size:14px;color:var(--ink)}
.session-outline-head>div{display:flex;gap:6px;flex-wrap:wrap}
.session-outline button{font:inherit;font-size:12px;min-height:44px;border:1px solid var(--line);border-radius:9px;background:#22261d;color:var(--ink);padding:9px 12px;cursor:pointer}
.session-outline button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.session-outline button:hover{border-color:var(--accent)}
.session-outline-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.session-outline-links button{display:flex;align-items:center;gap:9px;text-align:left;min-width:0;max-width:100%}
.session-outline-links b{color:var(--accent);flex:none}
.session-outline-links span{overflow-wrap:anywhere}
.program-read-block{scroll-margin-top:16px}
@media(max-width:560px){.session-outline-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.session-outline-links button{width:100%;padding:9px}.session-outline-head>div{width:100%}.session-outline-head>div button{flex:1}}
