.motifs li{display:flex;align-items:flex-start;gap:10px}
.motifs .dot{flex-shrink:0;margin:9px 0 0}
.motifs strong{display:block;font-size:17px;font-weight:550;line-height:1.4}
.motifs small{display:block;color:var(--muted);font-size:15px;line-height:1.5;margin-top:2px}
.function-details{margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.function-details summary{position:relative;list-style:none;cursor:pointer;min-height:58px;padding:17px 32px 17px 0;font-size:18px;line-height:1.4;font-weight:550;color:var(--text)}
.function-details summary::-webkit-details-marker{display:none}
.function-details summary::after,.function-details summary::before{content:'';position:absolute;right:4px;top:28px;width:12px;height:1.5px;background:currentColor}
.function-details summary::before{transform:rotate(90deg)}
.function-details[open] summary::before{transform:rotate(0)}
.function-list{margin:0;padding:0 0 8px}
.function-list>div{padding:14px 0;border-top:1px solid var(--line)}
.function-list dt{font-size:17px;line-height:1.4;font-weight:550}
.function-list dd{margin:5px 0 0;font-size:16px;line-height:1.65;color:var(--body-light);max-width:48ch}
@media(hover:hover) and (pointer:fine){.function-details summary:hover{color:var(--cyan)}}
@media(max-width:700px), (max-width:950px) and (max-height:500px){
 .function-details{order:3;margin:0}
 .function-details summary{font-size:17px}
 .controls .detail{order:4;margin:0;border-top:0;padding-top:0}
 .controls .text-link{order:5}
 .motifs{gap:14px 16px}
 .motifs strong{font-size:16px}
 .motifs small{font-size:14px}
}

/* Numbered instruction layer: gallery and raster product assets stay untouched. */
.product-diagram{position:relative;width:100%;min-width:0;margin:0;align-self:center}
.product-diagram>img{display:block;width:100%;height:auto;border-radius:14px}
.diagram-overlay{position:absolute;inset:0;pointer-events:none}
.diagram-overlay svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.diagram-overlay path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}
.diagram-line-shadow path{stroke:#071326;stroke-width:4px;opacity:.7}
.diagram-lines path{stroke:#86e4ec;stroke-width:1.5px}
.diagram-pin,.diagram-dot{position:absolute;transform:translate(-50%,-50%);border-radius:50%}
.diagram-pin{display:grid;place-items:center;width:32px;height:32px;background:#86e4ec;color:#071326;border:2px solid #071326;font-size:18px;font-weight:700;line-height:1;box-shadow:0 2px 8px #0004}
.diagram-dot{width:7px;height:7px;background:#86e4ec;border:1px solid #071326}
.function-list dt{display:flex;align-items:baseline;gap:10px}
.function-number{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#86e4ec;color:#071326;font-size:14px;font-weight:700;line-height:1}
.function-list dd{margin-left:34px}
@media(max-width:700px), (max-width:950px) and (max-height:500px){
 .product-diagram{order:2;grid-row:auto}
 .diagram-pin{width:26px;height:26px;font-size:16px}
 .diagram-dot{width:5px;height:5px}
 .diagram-lines path{stroke-width:1.25px}
 .diagram-line-shadow path{stroke-width:3px}
}
