/* Approved Figma Theory and Overview, adapted to the live curriculum and progress. */
.fs-learning-page{--fs-panel:color-mix(in srgb,var(--fp-primary) 68%,var(--fp-text-primary));--fs-soft-text:color-mix(in srgb,var(--fp-white) 78%,var(--fp-primary));display:grid;gap:36px;color:var(--fp-text-primary)}
.fs-learning-page :is(h1,h2,h3,p){margin-top:0}
.fs-learning-page a{color:var(--fp-primary)}
.fs-learning-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.48fr) minmax(0,1fr);gap:42px;align-items:center;min-height:466px;padding:46px 50px 50px;border-radius:27px;background:linear-gradient(105deg,var(--fp-primary),var(--fp-text-primary));box-shadow:0 12px 22px -8px color-mix(in srgb,var(--fp-text-primary) 22%,transparent);color:var(--fp-white)}
.fs-learning-wave{position:absolute;z-index:-1;max-width:none;pointer-events:none;top:0}
.fs-theory-wave{left:-65px}.fs-overview-wave{left:-80px}
.fs-learning-hero-copy{min-width:0}.fs-learning-eyebrow{font-size:13px;font-weight:600;letter-spacing:.025em;line-height:1.55;color:var(--fp-primary);margin:0 0 20px}
.fs-learning-hero .fs-learning-eyebrow{color:var(--fp-white);font-size:12px;letter-spacing:.02em;margin-bottom:32px}
.fs-learning-hero h1,.fs-theory-hero h2{font-weight:600;font-size:clamp(33px,3.5vw,50px);line-height:1.06;letter-spacing:-.025em;color:var(--fp-white);margin-bottom:24px}
.fs-learning-hero p{color:var(--fp-white)}
.fs-learning-hero .fs-learning-intro{font-size:16px;line-height:1.55;max-width:660px;margin:0}
.fs-learning-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:38px}
.fs-learning-features>div{background:var(--fs-panel);border:1px solid color-mix(in srgb,var(--fp-primary) 75%,transparent);border-radius:10px;display:flex;align-items:center;gap:12px;padding:14px 12px;min-height:73px}
.fs-learning-features img{flex:none;display:block;max-width:none}
.fs-learning-features span{min-width:0;display:grid;gap:5px;line-height:1.3}
.fs-learning-features strong{font-size:13px;font-weight:600;overflow-wrap:normal}
.fs-learning-features small{font-size:12px;color:var(--fs-soft-text)}
.fs-learning-panel{padding:23px 20px 20px;border:1px solid color-mix(in srgb,var(--fp-white) 55%,var(--fp-primary));border-radius:16px;background:var(--fs-panel);min-width:0;box-shadow:0 12px 22px -8px color-mix(in srgb,var(--fp-text-primary) 20%,transparent)}
.fs-learning-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:30px}
.fs-learning-panel-head h2{font-size:18px;font-weight:600;line-height:1.35;color:var(--fp-white);letter-spacing:0;margin-bottom:5px}
.fs-learning-panel-head p{font-size:13px;line-height:1.5;margin:0;color:var(--fs-soft-text)}
.fs-learning-pill{display:inline-flex;flex:none;align-items:center;padding:6px 12px;border-radius:20px;background:var(--fp-primary);color:var(--fp-white);font-size:12px;line-height:1.35;white-space:nowrap}
.fs-theory-route ol{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.fs-theory-route li a{display:grid;grid-template-columns:28px minmax(92px,.9fr) minmax(0,1.25fr);gap:12px;align-items:center;min-height:46px;padding:9px 10px;color:var(--fp-white);border:1px solid var(--fp-primary);border-radius:9px;text-decoration:none}
.fs-theory-route li:first-child a,.fs-theory-route a:hover{background:var(--fp-primary)}
.fs-route-number{display:grid;place-items:center;background:var(--fp-primary);border-radius:5px;min-height:26px;font-size:12px;font-weight:600}
.fs-theory-route li:first-child .fs-route-number{background:var(--fp-white);color:var(--fp-primary)}
.fs-theory-route strong{font-size:14px;font-weight:600}
.fs-theory-route small{font-size:12px;line-height:1.4;color:var(--fs-soft-text)}
.fs-learning-hero a:focus-visible{outline-color:var(--fp-white)}
.fs-learning-section-heading{text-align:center;padding:0 20px;margin:0 auto 26px;max-width:1100px}
.fs-learning-section-heading .fs-learning-eyebrow{margin-bottom:16px}
.fs-learning-section-heading h2,.fs-theory-program .fs-learning-section-heading h1{font-size:clamp(28px,2.8vw,38px);font-weight:600;line-height:1.2;letter-spacing:-.025em;margin-bottom:14px}
.fs-learning-section-heading>p:last-child{font-size:16px;color:var(--fp-text-secondary);margin-bottom:0}
.fs-theory-catalog{overflow:hidden;border:1px solid var(--fp-bg-secondary);border-radius:17px;box-shadow:0 12px 22px -10px color-mix(in srgb,var(--fp-text-primary) 18%,transparent);background:var(--fp-white)}
.fs-theory-table-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 108px;gap:24px;padding:16px 24px 16px 102px;background:var(--fp-bg-main);color:var(--fp-text-secondary);font-size:12px;font-weight:600}
.fs-theory-catalog .rb-program-group{border-color:var(--fp-bg-secondary);scroll-margin-top:22px}
.fs-theory-catalog .rb-program-group:nth-child(odd)>summary{background:var(--fp-bg-main)}
.fs-theory-catalog .rb-program-group>summary{grid-template-columns:22px 26px minmax(0,1fr) minmax(0,1.1fr) 108px;gap:16px;min-height:75px;padding:14px 24px;line-height:1.4}
.fs-theory-catalog .rb-program-group>summary>img{display:block;max-width:none}
.fs-theory-catalog .rb-program-group>summary strong{font-size:16px;color:var(--fp-text-primary)}
.fs-theory-catalog .fs-program-description{font-size:14px;color:var(--fp-text-secondary);display:grid;gap:3px}
.fs-theory-catalog .rb-program-group>summary small{max-width:none;text-align:left;font-size:12px;color:var(--fp-text-secondary)}
.fs-theory-catalog .rb-program-group>summary::after{display:none;width:auto;height:auto;border:0;transform:none;color:var(--fp-primary)}
.fs-theory-catalog .fs-program-action{justify-self:end;color:var(--fp-primary);font-size:13px;font-weight:600}
.fs-theory-catalog .fs-program-action-collapse,.fs-theory-catalog .rb-program-group[open] .fs-program-action-expand{display:none}
.fs-theory-catalog .rb-program-group[open] .fs-program-action-collapse{display:inline}

.fs-theory-catalog .rb-program-group[open]>summary,.fs-theory-catalog .rb-program-group>summary:hover{background:var(--fp-bg-secondary)}
.fs-theory-catalog .rb-group-inside{border-top:1px solid var(--fp-bg-secondary);padding:14px 24px 10px}
.fs-theory-catalog .rb-cab-module ol{margin-bottom:18px}.fs-theory-catalog .rb-cab-module li{padding:14px 12px}
.fs-learning-footnote{color:var(--fp-text-secondary);font-size:14px;line-height:1.6;margin:16px 0 0}
.fs-theory-details>.fs-learning-eyebrow{margin-bottom:18px}
.fs-theory-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.fs-learning-detail{border:1px solid var(--fp-bg-secondary);border-radius:17px;padding:24px;min-width:0;background:var(--fp-white);box-shadow:0 12px 22px -10px color-mix(in srgb,var(--fp-text-primary) 18%,transparent);display:flex;flex-direction:column;align-items:flex-start}
.fs-learning-detail:nth-child(2){background:var(--fp-bg-main)}.fs-learning-detail:nth-child(3){background:var(--fp-bg-secondary)}
.fs-learning-detail-icon{display:grid;place-items:center;min-width:49px;min-height:49px;border-radius:12px;background:var(--fp-bg-secondary);margin-bottom:18px}
.fs-learning-detail:nth-child(n+2) .fs-learning-detail-icon{background:var(--fp-white)}
.fs-learning-detail-icon img{display:block;max-width:none}
.fs-learning-detail h2{font-size:24px;font-weight:600;line-height:1.25;letter-spacing:-.02em;margin-bottom:12px}
.fs-learning-detail p{font-size:15px;line-height:1.55;color:var(--fp-text-secondary);margin-bottom:16px}
.fs-learning-detail a{font-size:14px;font-weight:600;text-decoration:none;margin-top:auto;min-height:32px;display:inline-flex;align-items:center;gap:10px}
.fs-learning-detail a:hover{text-decoration:underline}
/* Overview uses stored values instead of the concept's illustrative analytics. */
.fs-overview-hero{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:46px;min-height:528px}
.fs-overview-hero h1{font-size:clamp(36px,4.25vw,61px);line-height:1.03}
.fs-overview-hero .fs-learning-features{margin-top:28px}
.fs-learning-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:30px}
.fs-learning-hero-actions .rb-button{font-size:14px;min-height:47px;box-shadow:0 8px 18px -8px color-mix(in srgb,var(--fp-text-primary) 32%,transparent)}
.fs-learning-hero .rb-button-white{background:var(--fp-white);border-color:var(--fp-white);color:var(--fp-primary)}
.fs-learning-hero .fs-learning-ghost{background:var(--fs-panel);color:var(--fp-white);border-color:transparent}
.fs-overview-progress .fs-learning-panel-head{margin-bottom:26px}
.fs-overview-progress-copy>strong{font-weight:600;display:block;font-size:22px;line-height:1.3;margin-bottom:10px}
.fs-overview-progress-copy>p{font-size:14px;line-height:1.6;color:var(--fs-soft-text);margin:0 0 24px}
.fs-overview-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;margin-bottom:9px}
.fs-overview-progress-label>strong{font-size:24px;font-weight:600;line-height:1.25}
.fs-overview-progress-label>strong>span{font-size:16px;color:var(--fs-soft-text)}
.fs-overview-progress progress{display:block;width:100%;height:8px;border:0;border-radius:5px;overflow:hidden;background:var(--fp-primary);color:var(--fp-white);accent-color:var(--fp-white)}
.fs-overview-progress progress::-webkit-progress-bar{background:var(--fp-primary);border-radius:5px}
.fs-overview-progress progress::-webkit-progress-value{background:var(--fp-white);border-radius:5px}
.fs-overview-progress progress::-moz-progress-bar{background:var(--fp-white);border-radius:5px}
.fs-overview-progress .fs-overview-progress-caption{font-size:12px;color:var(--fs-soft-text);margin:8px 0 22px}
.fs-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0}
.fs-overview-metrics>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:7px;min-height:86px;border-radius:9px;padding:12px;background:var(--fp-primary)}
.fs-overview-metrics dt{font-size:12px;line-height:1.35;font-weight:500;overflow-wrap:normal}.fs-overview-metrics dd{margin:0;font-size:22px;font-weight:600;line-height:1.1}
.fs-overview-study{padding-top:32px;border-top:1px solid var(--fp-bg-secondary)}
.fs-overview-resume{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:22px 26px;border:1px solid var(--fp-bg-secondary);border-radius:15px;background:var(--fp-bg-main);margin-bottom:20px}
.fs-overview-resume>div{min-width:0}.fs-overview-resume span{font-size:13px;color:var(--fp-text-secondary)}
.fs-overview-resume h3{margin:6px 0 0;font-size:23px}.fs-overview-resume>.rb-button{flex:none}
.fs-overview-resume>.rb-button{color:var(--fp-white)}
.fs-overview-activity{border:1px solid var(--fp-bg-secondary);border-radius:15px;overflow:hidden;box-shadow:0 12px 22px -10px color-mix(in srgb,var(--fp-text-primary) 18%,transparent)}
.fs-overview-activity table{width:100%;border-collapse:collapse;table-layout:fixed}
.fs-overview-activity thead{background:var(--fp-bg-main)}
.fs-overview-activity :is(th,td){text-align:left;border-bottom:1px solid var(--fp-bg-secondary);padding:20px 24px;font-size:14px;font-weight:400;line-height:1.4;overflow-wrap:break-word}
.fs-overview-activity th{font-weight:600}.fs-overview-activity thead th{padding-block:16px;text-transform:uppercase;font-size:12px;color:var(--fp-text-secondary)}
.fs-overview-activity tbody tr:nth-child(even){background:var(--fp-bg-main)}
.fs-overview-activity tbody tr:last-child>*{border-bottom:0}
.fs-overview-activity :is(th,td):first-child{width:8%;color:var(--fp-primary);font-weight:600}
.fs-overview-activity :is(th,td):nth-child(2){width:35%}.fs-overview-activity :is(th,td):nth-child(3){width:23%;color:var(--fp-text-secondary)}
.fs-overview-activity :is(th,td):nth-child(4){width:22%}.fs-overview-activity :is(th,td):nth-child(5){width:12%;white-space:nowrap}
.fs-overview-activity a{font-weight:600;text-decoration:none}.fs-overview-activity th a{color:var(--fp-text-primary)}.fs-overview-activity a:hover{text-decoration:underline}
.fs-overview-status{display:inline-block;background:var(--fp-bg-secondary);color:var(--fp-primary);border-radius:18px;padding:7px 12px;font-size:12px;font-weight:600;line-height:1.3}
.fs-overview-support{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;margin-top:20px}
.fs-overview-support>a{font-size:14px;font-weight:600;min-height:40px;display:inline-flex;align-items:center;gap:10px;text-decoration:none}.fs-overview-support>a:hover{text-decoration:underline}
.fs-overview-method-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px}
.fs-overview-editorial{position:relative;isolation:isolate;overflow:hidden;background:var(--fp-primary);color:var(--fp-white);border-radius:18px;padding:26px;box-shadow:0 12px 22px -10px color-mix(in srgb,var(--fp-text-primary) 20%,transparent)}
.fs-overview-editorial>img{position:absolute;z-index:-1;left:-100px;top:0;max-width:none;pointer-events:none}
.fs-overview-editorial p{color:var(--fp-white);font-size:14px;line-height:1.5;margin-bottom:16px}.fs-overview-editorial .fs-learning-eyebrow{font-size:12px;margin-bottom:18px}
.fs-overview-editorial h2{color:var(--fp-white);font-size:30px;line-height:1.1;margin-bottom:18px}
.fs-overview-editorial .rb-button{font-size:14px;min-height:40px;padding:8px 14px;color:var(--fp-primary)}
.fs-overview-process{background:var(--fp-bg-main);border:1px solid var(--fp-bg-secondary);border-radius:18px;padding:26px;min-width:0;box-shadow:0 12px 22px -10px color-mix(in srgb,var(--fp-text-primary) 14%,transparent)}
.fs-overview-process .fs-learning-eyebrow{font-size:12px;margin-bottom:18px}.fs-overview-process h2{font-size:23px;line-height:1.35;margin-bottom:28px}
.fs-overview-process ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.fs-overview-process li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:16px 10px;background:var(--fp-white);border:1px solid var(--fp-bg-secondary);border-radius:12px;padding:14px 12px;min-height:105px}
.fs-overview-process li img{display:block;max-width:none}.fs-overview-process strong{font-size:13px;font-weight:600;line-height:1.3}.fs-overview-process li span{grid-column:1/-1;font-size:13px;line-height:1.4;color:var(--fp-text-secondary)}
.fs-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1200px){.fs-learning-hero{padding:38px 34px;gap:28px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.fs-learning-hero h1,.fs-theory-hero h2{font-size:42px}.fs-learning-features{gap:8px}.fs-learning-features>div{padding:12px 10px;gap:8px}.fs-learning-panel-head{flex-wrap:wrap;gap:12px}.fs-learning-features strong{font-size:12px}.fs-learning-features small{font-size:12px}.fs-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-overview-metrics>div{min-height:70px}.fs-theory-table-head{padding-left:94px}.fs-theory-catalog .rb-program-group>summary{padding-inline:20px;gap:12px;grid-template-columns:22px 26px minmax(0,1fr) minmax(0,1fr) 90px}.fs-overview-process ol{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-overview-process li{min-height:90px}.fs-overview-method-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}}
@media(max-width:960px){.fs-learning-hero{grid-template-columns:minmax(0,1fr);padding:36px;gap:30px}.fs-learning-hero-copy{max-width:none}.fs-learning-hero h1,.fs-theory-hero h2{font-size:46px}.fs-learning-panel-head{flex-wrap:nowrap}.fs-learning-hero .fs-learning-eyebrow{margin-bottom:24px}.fs-learning-features{max-width:720px;margin-top:26px}.fs-learning-features strong{font-size:14px}.fs-learning-features small{font-size:13px}.fs-theory-route ol{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-theory-route li a{grid-template-columns:28px minmax(0,1fr);gap:8px 12px}.fs-theory-route li small{grid-column:2}.fs-theory-route li:last-child{grid-column:1/-1}.fs-theory-route li:last-child a{grid-template-columns:28px minmax(0,1fr) minmax(0,1fr)}.fs-theory-route li:last-child small{grid-column:3}.fs-overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.fs-overview-progress-copy{max-width:650px}.fs-learning-section-heading{padding:0}.fs-theory-detail-grid{gap:16px}.fs-learning-detail{padding:20px}.fs-learning-detail h2{font-size:21px}.fs-overview-activity :is(th,td){padding:16px 14px}.fs-overview-activity :is(th,td):first-child{width:9%}.fs-overview-method-grid{grid-template-columns:1fr}.fs-overview-process ol{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.fs-learning-page{gap:28px}.fs-learning-hero{padding:30px 24px;border-radius:20px}.fs-learning-hero h1,.fs-theory-hero h2{font-size:38px}.fs-learning-hero .fs-learning-intro{font-size:16px}.fs-learning-features{grid-template-columns:1fr;gap:9px}.fs-learning-features>div{min-height:58px;padding:12px 14px;gap:14px}.fs-learning-features span{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:14px;width:100%}.fs-learning-features small{font-size:13px}.fs-learning-panel{padding:20px 18px}.fs-learning-panel-head{flex-wrap:wrap}.fs-theory-route ol{grid-template-columns:1fr}.fs-theory-route li a,.fs-theory-route li:last-child a{grid-template-columns:28px minmax(0,.9fr) minmax(0,1fr)}.fs-theory-route li small{grid-column:auto}.fs-theory-table-head{display:none}.fs-theory-catalog .rb-program-group>summary{grid-template-columns:22px 22px minmax(0,1fr) 20px;gap:5px 10px;padding:18px 16px}.fs-theory-catalog .rb-program-group>summary>img{grid-row:1;grid-column:1;align-self:center}.fs-theory-catalog .rb-program-group>summary>.rb-group-number{grid-row:1;grid-column:2;align-self:center}.fs-theory-catalog .rb-program-group>summary>strong{grid-column:3;grid-row:1;font-size:16px}.fs-theory-catalog .fs-program-description{grid-column:3;grid-row:2;font-size:14px}.fs-theory-catalog .rb-program-group>summary small{font-size:13px;grid-column:auto;grid-row:auto}.fs-theory-catalog .fs-program-action{display:none}.fs-theory-catalog .rb-program-group>summary::after{display:block;content:'+';font-size:23px;grid-column:4;grid-row:1/3;align-self:center}.fs-theory-catalog .rb-program-group[open]>summary::after{content:'−'}.fs-theory-catalog .rb-group-inside{padding:10px 12px}.fs-theory-catalog .rb-cab-module li{padding:12px 8px;flex-wrap:wrap}.fs-theory-catalog .rb-cab-module li>div{min-width:170px}.fs-theory-detail-grid{grid-template-columns:1fr}.fs-learning-detail{padding:24px}.fs-learning-detail h2{font-size:23px}.fs-learning-detail p{max-width:600px}.fs-overview-resume{align-items:flex-start;flex-direction:column;padding:20px;gap:18px}.fs-overview-resume h3{font-size:22px}.fs-overview-activity table,.fs-overview-activity tbody{display:block}.fs-overview-activity thead{display:none}.fs-overview-activity tr{display:grid;grid-template-columns:1fr auto;gap:10px;padding:20px;border-bottom:1px solid var(--fp-bg-secondary)}.fs-overview-activity tr:last-child{border-bottom:0}.fs-overview-activity :is(th,td),.fs-overview-activity :is(th,td):nth-child(n){display:block;width:auto;padding:0;border:0;white-space:normal}.fs-overview-activity td:first-child{grid-column:2;grid-row:1}.fs-overview-activity th{grid-column:1;grid-row:1;font-size:16px}.fs-overview-activity td:nth-child(3){grid-column:1/-1;font-size:14px}.fs-overview-activity td:nth-child(4){grid-column:1;grid-row:3}.fs-overview-activity td:nth-child(5){grid-column:2;grid-row:3;align-self:center;min-height:40px;display:flex;align-items:center}.fs-overview-process{padding:24px}.fs-overview-process ol{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-overview-method>.fs-learning-eyebrow{font-size:12px}.fs-overview-study{padding-top:26px}.fs-learning-section-heading h2,.fs-theory-program .fs-learning-section-heading h1{font-size:29px}}
@media(max-width:420px){.fs-learning-hero{padding:26px 20px}.fs-learning-hero h1,.fs-theory-hero h2{font-size:33px;line-height:1.1}.fs-learning-hero .fs-learning-eyebrow{font-size:11px}.fs-learning-features span{display:grid;grid-template-columns:1fr;gap:4px}.fs-learning-panel{padding:18px 14px}.fs-theory-route li a,.fs-theory-route li:last-child a{grid-template-columns:26px minmax(0,1fr);gap:6px 10px}.fs-theory-route li small,.fs-theory-route li:last-child small{grid-column:2}.fs-learning-hero-actions{align-items:stretch;flex-direction:column}.fs-learning-hero-actions .rb-button{width:100%}.fs-theory-catalog .rb-program-group>summary{padding:16px 12px;column-gap:8px;grid-template-columns:22px 20px minmax(0,1fr) 16px}.fs-overview-process li{grid-template-columns:1fr;gap:10px;padding:12px 10px}.fs-overview-process{padding:20px}.fs-overview-process ol{gap:10px}.fs-overview-process strong{font-size:13px}.fs-overview-activity tr{padding:18px 16px}.fs-overview-progress-copy>strong{font-size:21px}}
/* Reserve enough tablet width for the complete action, including its arrow. */
@media(min-width:721px) and (max-width:960px){
 .fs-overview-activity :is(th,td):nth-child(2){width:32%}
 .fs-overview-activity :is(th,td):nth-child(3){width:22%}
 .fs-overview-activity :is(th,td):nth-child(4){width:21%}
 .fs-overview-activity :is(th,td):nth-child(5){width:16%}
}

/* Programme actions precede the optional route explanation in DOM and visual order. */
/* On small Theory screens the visible inline search replaces its duplicate nav link.
   :has() keeps navigation untouched until the search field has actually rendered. */
@media(max-width:600px){
  .rb-page-academy:has(#academy-search input[type="search"]) .fp-site-nav [data-global-lesson-search]{display:none}
}
.fs-theory-actions{display:grid;gap:18px;min-width:0}
.fs-theory-resume{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.fs-theory-resume>.rb-button{color:var(--fp-white)}
.fs-theory-resume p{margin:0;flex:1 1 220px;overflow-wrap:anywhere;color:var(--fp-text-secondary)}
.fs-theory-route-toggle{cursor:pointer;display:list-item;font-size:18px;font-weight:600;line-height:1.5;color:var(--fp-white)}
.fs-theory-route-toggle .fs-learning-pill{margin-inline-start:10px;vertical-align:middle}
.fs-theory-route-toggle:focus-visible{outline:2px solid var(--fp-white);outline-offset:6px}
.fs-theory-route[open] .fs-theory-route-toggle{margin-bottom:16px}
.fs-theory-route>p{margin:0 0 16px;font-size:14px}
@media(max-width:720px){
  .fs-theory-resume{gap:10px}.fs-theory-resume .rb-button{width:100%}
  .fs-theory-hero{min-height:0;gap:20px}
  .fs-theory-hero .fs-learning-eyebrow{margin-bottom:14px}
  .fs-theory-hero h2{margin-bottom:16px}
  .fs-theory-hero .fs-learning-features{margin-top:20px}
  .fs-theory-route-toggle .fs-learning-pill{margin:8px 0 0;display:table}
}
