/* WEF: original compositions, readable figures and a persistent link to LSP. */
.wef-scene .wef-page{padding:24px clamp(20px,3vw,48px) 60px!important;min-height:100%}
.wef-scene .title{font-size:clamp(28px,3.1vw,46px)!important;line-height:1.08;margin:8px 0 10px;max-width:none}
.wef-scene .subtitle{font-size:16px!important;line-height:1.4;margin:0 0 18px;max-width:none}
.wef-scene .eyebrow{font-size:11px;margin-bottom:7px}
.wef-scene .wef-tabs{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}
.wef-scene .wef-tabs button{min-height:40px;padding:10px 16px;white-space:normal;font-size:14px}
.wef-scene .wef-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:26px;align-items:start}
.wef-scene .wef-panel[hidden],.wef-main[hidden],.wef-complement[hidden]{display:none!important}
.wef-scene .wef-figure{padding:0;border:0;background:transparent;border-radius:0;box-shadow:none;min-width:0;margin:0}
.wef-scene .wef-image{position:relative;width:100%;height:auto!important;max-width:none!important;background:#fff;border:1px solid #d9dce0;border-radius:8px;overflow:visible}
.wef-scene .wef-image>img{width:100%;height:auto!important;display:block;object-fit:contain;background:white;border-radius:8px}
.wef-scene .wef-overlay:not([hidden]){position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.wef-scene .wef-focus-outline>*{fill:none!important;stroke:#CC0A1E!important;stroke-width:2.3!important;opacity:.85}
.wef-scene .wef-figure>button{margin:8px 0 7px;min-height:32px;height:auto;padding:7px 12px;font-size:12px}
.wef-scene figcaption{font-size:11px!important;line-height:1.45;color:#59616b;margin-top:5px;max-width:none}
.wef-scene figcaption a{white-space:normal;color:#CC0A1E}
.wef-scene .wef-reading{padding:0;min-width:0}
.wef-scene .wef-lsp{border-top:3px solid #CC0A1E;padding-top:13px}
.wef-scene .wef-lsp>.label{font-size:10px;letter-spacing:.1em;display:block;margin-bottom:9px;color:#CC0A1E}
.wef-scene .wef-lsp h3{font-size:24px;line-height:1.12;margin:0 0 14px;color:var(--ink)}
.wef-scene .wef-lsp p{font-size:16px;line-height:1.43;margin:0 0 12px;color:var(--ink)}
.wef-scene .wef-lsp .wef-method{font-weight:600}
.wef-scene .wef-lsp .wef-skills{font-size:14px;line-height:1.5;color:#59616b}
.wef-scene .wef-step{margin:18px 0 12px;padding:13px 14px;min-height:0;background:#EEEFEF;border:0;border-radius:8px;overflow:visible;height:auto}
.wef-scene .wef-step b{font-size:16px;line-height:1.3;color:#121417;white-space:normal}
.wef-scene .wef-step p{font-size:14px;line-height:1.4;color:#454b52;margin:8px 0 0;white-space:normal}
.wef-scene .wef-playback{margin:0 0 10px}
.wef-scene .wef-controls{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.wef-scene .wef-controls button{min-height:35px;padding:8px 10px;font-size:12px;height:auto}
.wef-scene .wef-authorship{font-size:11px;line-height:1.5;color:#666b70;margin-top:11px}
.wef-scene .wef-capacity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wef-scene .wef-capacity{padding:20px 17px 17px;border:1.5px solid #b9bec4;border-top:4px solid #a3a3a5;border-radius:12px;background:#fff;display:flex;flex-direction:column;transition:border-color .3s,background .3s;min-width:0}
.wef-scene .wef-capacity.is-current{border-color:#CC0A1E;background:#fff8f8}
.wef-scene .wef-capacity-number{font-size:32px;line-height:1;color:#CC0A1E;font-weight:600;margin-bottom:20px}
.wef-scene .wef-capacity h3{font-size:22px;line-height:1.13;min-height:3.4em;margin:0 0 15px;color:#121417}
.wef-scene .wef-capacity p{font-size:17px;line-height:1.48;margin:0 0 20px;color:#252a30}
.wef-scene .wef-impact{border-top:1px solid #c7c9cc;padding-top:15px;margin-top:auto}
.wef-scene .wef-impact>span{font-size:10px;letter-spacing:.12em;font-weight:600;color:#CC0A1E}
.wef-scene .wef-impact p{font-size:16px;line-height:1.45;margin:10px 0 0;font-weight:500}
.wef-complement-toggle{margin-left:auto;font-size:12px;max-width:100%}
.wef-complement>.wef-return{position:relative;margin:20px 32px 0;z-index:3}
.wef-complement>.page{padding-top:24px!important}
@media(min-width:1700px){.wef-scene .wef-panel{grid-template-columns:minmax(0,1fr) 360px;max-width:1600px;margin:auto}.wef-scene .wef-lsp p{font-size:18px}.wef-scene .wef-step p{font-size:16px}}
@media(max-width:1150px){.wef-scene .wef-panel{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.wef-scene .wef-capacity-grid{gap:8px}.wef-scene .wef-capacity{padding:16px 12px}.wef-scene .wef-capacity h3{font-size:19px}.wef-scene .wef-capacity p{font-size:15px}.wef-scene .wef-lsp h3{font-size:22px}.wef-scene .wef-lsp p{font-size:15px}}
@media(max-width:900px){.wef-scene .wef-panel{grid-template-columns:1fr;gap:22px}.wef-scene .wef-reading{display:block}.wef-scene .wef-capacity p{font-size:16px}.wef-scene .wef-capacity h3{font-size:22px;min-height:0}.wef-scene .wef-page{padding-bottom:80px!important}.wef-scene .wef-lsp h3{font-size:26px}.wef-complement-toggle{margin-left:0}}
@media(max-width:560px){.wef-scene .wef-capacity-grid{grid-template-columns:1fr}.wef-scene .wef-capacity{padding:20px}.wef-scene .wef-capacity-number{font-size:26px;margin-bottom:12px}.wef-scene .wef-capacity p{font-size:17px}.wef-scene .wef-tabs{gap:6px}.wef-scene .wef-tabs button{flex:1 1 100%;text-align:left;font-size:13px}.wef-scene .wef-page{padding:24px 18px 80px!important}}
@media(prefers-reduced-motion:reduce){.wef-scene .wef-capacity{transition:none}}
/* Size the whole figure to the viewport, never crop its lower labels. */
@media(min-width:901px){
 .wef-scene .wef-page{padding-top:17px!important}
 .wef-scene .title{font-size:clamp(28px,2.8vw,41px)!important;margin-bottom:7px}
 .wef-scene .subtitle{margin-bottom:12px;font-size:15px!important}
 .wef-scene .wef-tabs{margin-bottom:12px}
 .wef-scene .wef-image{margin:0 auto}
 .wef-scene [data-wef-panel="0"] .wef-image{width:min(100%,max(460px,calc((100dvh - 310px) * 1.274775)))!important}
 .wef-scene [data-wef-panel="1"] .wef-image{width:min(100%,max(600px,calc((100dvh - 310px) * 1.53417)))!important}
 .wef-scene .wef-figure>button{display:block;margin:8px auto}
 .wef-scene .wef-figure figcaption{margin:5px 0 0;text-align:left}
}
