.schema-player{min-width:0;background:var(--tone-001);border:1px solid var(--tone-028);border-radius:var(--radius-md);padding:14px;margin-bottom:20px}
.schema-player svg{display:block;width:100%;height:auto;overflow:hidden}
.schema-player .schema-controls{display:none}
.schema-player.schema-ready .schema-controls{display:block}
.schema-controls>button{width:100%;padding:10px 12px;border:1px solid var(--tone-003);background:var(--tone-003);color:var(--paper);font:inherit;font-size:var(--fs-xs);border-radius:var(--radius-sm);cursor:pointer;margin:8px 0}
.schema-steps{display:flex;gap:6px;flex-wrap:wrap}
.schema-steps button{flex:1 1 90px;padding:9px 5px;background:var(--paper);color:var(--tone-003);border:1px solid var(--tone-044);border-radius:var(--radius-sm);font:inherit;font-size:var(--fs-xs);cursor:pointer;min-height:40px}
.schema-steps button[aria-pressed=true]{background:var(--tone-045);border-color:var(--tone-046);font-weight:700}
.schema-controls button:focus-visible{outline:3px solid var(--tone-047);outline-offset:3px}
.schema-reading{font-size:var(--fs-xs);margin:10px 0 0!important;min-height:20px;color:var(--tone-003)}
.schema-static-link{display:inline-flex;align-items:center;gap:7px;font-size:var(--fs-xs);margin-top:12px;text-underline-offset:3px}
.lecture-schema [data-schema-legend]{padding:7px 9px;border-left:1px solid transparent;transition:background .2s}
.lecture-schema [data-schema-legend].is-active{background:var(--tone-014);border-left-color:var(--tone-047)}
.sp-emphasis{fill:none;stroke:var(--yellow);stroke-width:5;opacity:0}
.schema-player[data-step="0"] .sp-emphasis-0,.schema-player[data-step="1"] .sp-emphasis-1,.schema-player[data-step="2"] .sp-emphasis-2{opacity:1}
.sp-particle{fill:var(--tone-047);offset-path:path('M135 120 L150 145 C180 220 170 270 255 285 S375 260 410 243 L444 260');offset-rotate:0deg;animation:sp-dust 3.5s linear infinite;animation-play-state:paused}
.sp-particle:nth-of-type(2){animation-delay:-1.2s}.sp-particle:nth-of-type(3){animation-delay:-2.4s}
.sp-air{stroke-dasharray:8 10;animation:sp-air 1.8s linear infinite;animation-play-state:paused}
.sp-head{animation:sp-head 3.5s ease-in-out infinite;animation-play-state:paused}
.schema-player.is-running .sp-particle,.schema-player.is-running .sp-air,.schema-player.is-running .sp-head{animation-play-state:running}
@keyframes sp-dust{0%{offset-distance:0%;opacity:0}5%,90%{opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes sp-air{to{stroke-dashoffset:-36}}
@keyframes sp-head{50%{transform:translateY(6px)}}
.visual-repere{margin:30px 0 38px;border-top:1px solid var(--tone-048);border-bottom:1px solid var(--tone-048);padding:22px 0;scroll-margin-top:24px}
.visual-repere>a{display:block;background:var(--tone-001);border:1px solid var(--tone-049);border-radius:var(--radius-md);overflow:hidden}
.visual-repere img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain}
.visual-repere figcaption{padding-top:18px}
.visual-repere h3{font-size:var(--fs-lg);line-height:1.3;margin:0 0 15px}
.visual-repere ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;counter-reset:repere;gap:12px;margin:0;padding:0}
.visual-repere li{counter-increment:repere;background:var(--tone-050);border-radius:var(--radius-md);padding:15px;font-size:var(--fs-sm);line-height:1.55}
.visual-repere li::before{content:counter(repere);display:flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:var(--radius-round);background:var(--tone-003);color:var(--paper);font-weight:700;margin-bottom:10px}
.visual-repere li strong{display:block;margin-bottom:6px;color:var(--tone-003)}
.visual-repere .small{font-size:var(--fs-xs);margin-top:16px;line-height:1.5}
@media(max-width:680px){.visual-repere ol{grid-template-columns:1fr}.visual-repere li{display:block}.visual-repere li::before{float:left;margin:0 12px 8px 0}.schema-player{padding:10px}.visual-repere h3{font-size:var(--fs-md)}}
@media(prefers-reduced-motion:reduce){.lecture-schema [data-schema-legend]{transition:none}.schema-player:not(.is-running) .sp-particle,.schema-player:not(.is-running) .sp-air,.schema-player:not(.is-running) .sp-head{animation:none}.schema-player:not(.is-running) .sp-particle{opacity:0}}

@media print{.schema-controls,.schema-static-link{display:none!important}.schema-player *{animation:none!important}.sp-particle,.sp-emphasis{display:none}.visual-repere ol{grid-template-columns:repeat(3,minmax(0,1fr))}}
#lcc-maquette .lcc-guide{justify-content:flex-start;align-items:flex-start}
#lcc-maquette .lcc-guide-icon{display:block;flex:0 0 40px;width:40px;height:40px;min-width:40px;color:var(--tone-003);background:var(--tone-051);padding:6px;border-radius:var(--radius-md);box-sizing:content-box}
#lcc-maquette .lcc-guide-extra a{display:flex;align-items:center;gap:8px}
#lcc-maquette .lcc-guide-extra .lcc-guide-icon{flex-basis:22px;min-width:22px;width:22px;height:22px;padding:4px;border-radius:var(--radius-sm)}
#lcc-maquette .lcc-guide-extra>span{display:none}
@media(max-width:620px){#lcc-maquette .lcc-guide{gap:12px}#lcc-maquette .lcc-guide-icon{flex-basis:32px;min-width:32px;width:32px;height:32px;padding:5px}#lcc-maquette .lcc-guide-extra{gap:12px}}

.schema-player .av-particle{offset-path:path("M107 340 L78 184 C78 134 106 95 170 100 C238 104 217 236 282 220 L317 220 L344 266")}

.schema-player .gf-particle{offset-path:path("M113 133L135 154C153 232 154 293 220 324C270 349 355 334 382 230L414 230L433 278")}

/* Article drawings keep every explanation visible. Motion illustrates a route or a gesture. */
.lecture-schema.ar-figure{display:block}
.ar-figure>.ar-player{max-width:620px;margin:0 auto 24px}
.ar-figure>figcaption{margin-top:20px}
.ar-figure>h3{margin:0 0 18px}
.ar-figure .schema-steps button{font-size:var(--fs-xs);flex-basis:125px}
.ar-player .ar-phase{transition:opacity .3s}
.ar-player.schema-ready .ar-phase{opacity:.85}
.ar-player[data-step="0"] .ar-phase-0,.ar-player[data-step="1"] .ar-phase-1,.ar-player[data-step="2"] .ar-phase-2{opacity:1}
.ar-player[data-step="0"] .ar-focus-0,.ar-player[data-step="1"] .ar-focus-1,.ar-player[data-step="2"] .ar-focus-2{opacity:1}
.ar-flow{animation:ar-flow 2.7s linear infinite;animation-play-state:paused}
.ar-flow-reverse{animation-direction:reverse}
.ar-flake{animation:ar-flake 2.4s ease-in infinite;animation-play-state:paused}
.ar-flake:nth-of-type(2n){animation-delay:-.9s}
.ar-bit-weak{animation:ar-bit-weak 1.4s ease-in-out infinite;animation-play-state:paused}
.ar-bit-strong{animation:ar-bit-strong 1.4s ease-in-out infinite;animation-play-state:paused}
.ar-apply,.ar-roller{animation:ar-apply 3.8s ease-in-out infinite;animation-play-state:paused}
.ar-roller{animation-name:ar-roll}
.ar-service-door{transform-box:view-box;transform-origin:353px 250px;transition:transform .7s ease-in-out}
.ar-player.is-running .ar-flow,.ar-player.is-running .ar-flake,.ar-player.is-running .ar-apply,.ar-player.is-running .ar-roller,.ar-player.is-running .ar-bit-weak,.ar-player.is-running .ar-bit-strong{animation-play-state:running}
.ar-figure .ar-notice{font-size:var(--fs-xs);line-height:1.55;margin-top:16px}
.ar-figure .ed-rows [data-schema-legend]{border-left:1px solid transparent;padding:10px 12px;transition:background .2s}
.ar-figure .ed-rows [data-schema-legend].is-active{border-left-color:var(--tone-046);background:var(--tone-052)}
@keyframes ar-flow{to{stroke-dashoffset:-39}}
@keyframes ar-flake{0%{transform:translateY(-10px);opacity:.3}55%{opacity:1}100%{transform:translateY(10px);opacity:.3}}
@keyframes ar-apply{50%{transform:translate(6px,-5px)}}
@keyframes ar-roll{50%{transform:translateY(22px)}}
@keyframes ar-bit-weak{25%{transform:translateX(-2px)}75%{transform:translateX(2px)}}
@keyframes ar-bit-strong{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media(prefers-reduced-motion:reduce){.ar-player .ar-phase,.ar-service-door,.ar-figure .ed-rows [data-schema-legend]{transition:none}.ar-flow,.ar-flake,.ar-apply,.ar-roller,.ar-bit-weak,.ar-bit-strong{animation:none!important}}
@media print{.ar-player.schema-ready .ar-phase{opacity:1}.ar-focus{display:none}.ar-player *{animation:none!important;transition:none!important}.ar-service-door{transform:none}}

/* Room drawings: furniture, real hinge axes, and the complete scope of the room. */
.cb-figure>figcaption:first-child{padding:0 0 10px}
.cb-figure .schema-player{padding:12px;background:var(--tone-001)}
.cb-figure .schema-controls{padding:0 8px 8px}
.cb-figure .schema-steps button{font-size:var(--fs-xs);flex-basis:130px}
.cb-figure [data-schema-legend]{transition:background .2s,border-color .2s}
.cb-figure [data-schema-legend].is-active{background:var(--tone-052);border-left-color:var(--tone-046)}
.cb-route{animation:cb-route 2.8s linear infinite;animation-play-state:paused}
.cb-door,.cb-cupboard-left,.cb-cupboard-right{transform-box:view-box;transition:transform .75s ease-in-out}
.cb-cupboard-left{transform-origin:392px 114px;transform:rotate(40deg)}
.cb-cupboard-right{transform-origin:500px 114px;transform:rotate(-40deg)}
.cb-implantation[data-step="0"] .cb-cupboard-left,.cb-implantation[data-step="0"] .cb-cupboard-right{transform:rotate(0)}
.cb-battants .cb-door-left{transform:rotate(-72deg)}
.cb-battants .cb-door-right{transform:rotate(72deg)}
.cb-battants[data-step="0"] .cb-door,.cb-battants[data-step="1"] .cb-door-second{transform:rotate(0)}
.cb-through{opacity:0}
.cb-battants[data-step="1"] .cb-through,.cb-battants[data-step="2"] .cb-through{opacity:.8}
.cb-budget .cb-panel{animation:cb-panel 4.5s ease-in-out infinite;animation-play-state:paused}
.schema-player.is-running .cb-route,.schema-player.is-running[data-step="0"] .cb-panel{animation-play-state:running}
.schema-player:not(.is-running) :is(.cb-door,.cb-cupboard-left,.cb-cupboard-right){transition:none}
@keyframes cb-route{to{stroke-dashoffset:-45}}
@keyframes cb-panel{0%,100%{transform:translateX(0)}50%{transform:translateX(-9px)}}
@media(max-width:680px){.cb-figure .schema-player{padding:5px}.cb-figure .schema-controls{padding:0 5px 6px}.cb-figure .schema-steps button{flex-basis:90px;font-size:var(--fs-xs)}.cb-figure h3{font-size:var(--fs-md)}}
@media(prefers-reduced-motion:reduce){.cb-figure [data-schema-legend],.cb-door,.cb-cupboard-left,.cb-cupboard-right{transition:none}.cb-route,.cb-panel{animation:none}}
@media print{.cb-route,.cb-panel{animation:none!important}.cb-door,.cb-cupboard-left,.cb-cupboard-right{transition:none!important}.cb-through{opacity:0}}

/* Laser: a fixed reference, with a gentle emphasis only while playing. */
.ls-ray{animation:ls-glow 2.4s ease-in-out infinite;animation-play-state:paused}
.schema-player.is-running .ls-ray{animation-play-state:running}
@keyframes ls-glow{50%{stroke-opacity:.5}}
@media(prefers-reduced-motion:reduce){.ls-ray{animation:none}}
@media print{.ls-ray{animation:none!important}}

/* Keep each laser decision together on a narrow screen. Native table headings remain accessible. */
@media(max-width:680px){
:is(.laser-table,.guide-table-cards),:is(.laser-table,.guide-table-cards) caption,:is(.laser-table,.guide-table-cards) tbody,:is(.laser-table,.guide-table-cards) tr,:is(.laser-table,.guide-table-cards) th[scope=row],:is(.laser-table,.guide-table-cards) td{display:block;width:auto}
:is(.laser-table,.guide-table-cards){border:0!important;overflow:visible!important}
:is(.laser-table,.guide-table-cards) caption{text-align:left;margin-bottom:12px}
:is(.laser-table,.guide-table-cards) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
:is(.laser-table,.guide-table-cards) tr{border:1px solid var(--tone-053);border-radius:var(--radius-md);margin:12px 0;overflow:hidden}
:is(.laser-table,.guide-table-cards) th[scope=row]{background:var(--tone-054);padding:13px 15px;font-size:var(--fs-sm);border:0}
:is(.laser-table,.guide-table-cards) td{padding:12px 15px;border:0;font-size:var(--fs-sm);line-height:1.55;overflow-wrap:normal;word-break:normal}
:is(.laser-table,.guide-table-cards) td+td{border-top:1px solid var(--tone-055)}
:is(.laser-table,.guide-table-cards) td[data-label]::before{content:attr(data-label);display:block;font-size:var(--fs-xs);font-weight:700;color:var(--tone-056);margin-bottom:4px}
}

.schema-player .schema-expand-icon{width:18px;height:18px;max-width:18px;flex:0 0 18px;display:inline-block;vertical-align:middle}
.bt-flow{stroke-dasharray:8 9;animation:bt-flow 2.4s linear infinite;animation-play-state:paused}
.schema-player.is-running .bt-flow{animation-play-state:running}
@keyframes bt-flow{to{stroke-dashoffset:-34}}
@media(prefers-reduced-motion:reduce){.bt-flow{animation:none}}
@media print{.bt-flow{animation:none!important}}

/* Logical relations and lamp glow support the guided reading, without imitating a wiring diagram. */
.ap-signal{stroke-dasharray:7 8;animation:ap-signal 2.6s linear infinite;animation-play-state:paused}
.ap-ray{animation:ap-light 3s ease-in-out infinite;animation-play-state:paused}
.schema-player.is-running .ap-signal,.schema-player.is-running .ap-ray{animation-play-state:running}
@keyframes ap-signal{to{stroke-dashoffset:-30}}
@keyframes ap-light{50%{stroke-opacity:.35}}
@media(prefers-reduced-motion:reduce){.ap-signal,.ap-ray{animation:none}}
@media print{.ap-signal,.ap-ray{animation:none!important}}
