.mi-card{background:rgba(255,255,255,.92);border:1px solid #e4e9f0;border-radius:24px;padding:18px;margin:18px 0;color:#19134c;min-width:0;box-sizing:border-box}.mi-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.mi-head h2{font-size:20px;margin:0}.mi-head small,.mi-card small{color:#6a6880;font-size:11px}.mi-head button{margin-left:auto;background:transparent;color:#4b4386;padding:4px 9px;font-size:22px}.mi-product{display:flex;align-items:center;gap:16px;min-width:0}.mi-product img{width:108px;height:108px;flex:0 0 108px;border-radius:17px;object-fit:cover}.mi-product strong{font-size:17px}.mi-product p{font-size:13px;line-height:1.5;margin:7px 0 12px}.mi-product button{font-size:13px;min-height:40px}.mi-demo{display:block;margin-top:12px;line-height:1.4}.mi-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.mi-slides>article{flex:0 0 100%;min-width:0;scroll-snap-align:start;box-sizing:border-box}.mi-dots{display:flex;justify-content:center;gap:8px;margin-top:8px}.mi-dots button{background:transparent;color:#d8d4ed;padding:4px;font-size:14px}.mi-dots button[aria-pressed=true]{color:#63ad98}.mi-compact{padding:14px}.mi-compact .mi-product img{width:68px;height:68px;flex-basis:68px}.mi-compact .mi-product strong{font-size:14px}.mi-card summary{cursor:pointer;font-weight:600;list-style:none;display:flex;gap:10px;align-items:center;justify-content:space-between}.mi-card summary:after{content:'⌄'}.mi-card[open] summary{margin-bottom:14px}.mi-card summary small{font-weight:400;margin-left:auto}#mi-home{max-width:680px}#mi-create{margin:18px 0}#mi-create>small{display:block;margin-top:10px}@media(max-width:600px){#mi-home{width:100%;max-width:none}.mi-product img{width:88px;height:100px;flex-basis:88px}.mi-head h2{font-size:18px}.mi-card summary{font-size:13px}.mi-card summary small{font-size:10px;max-width:110px}.mi-product{gap:12px}}@media(prefers-reduced-motion:reduce){.mi-slides{scroll-behavior:auto}}

/* Accueil compact : visuel agrandi, légendes regroupées, autres écrans inchangés. */
#mi-home{padding:12px 14px;margin:12px 0}
#mi-home .mi-head{gap:4px 10px;margin-bottom:8px}
#mi-home .mi-head h2{font-size:18px;line-height:1.2}
#mi-home .mi-head small{font-size:10px;line-height:1.3}
#mi-home .mi-product{gap:12px;align-items:center}
#mi-home .mi-product img{width:124px;height:112px;flex:0 0 124px;border-radius:14px}
#mi-home .mi-product strong{display:block;font-size:15px;line-height:1.3}
#mi-home .mi-product p{font-size:12px;line-height:1.35;margin:4px 0 7px}
#mi-home .mi-product button{padding:7px 12px;min-height:34px;line-height:1.2}
#mi-home .mi-demo{margin-top:5px;font-size:10px;line-height:1.25}
#mi-home .mi-dots{margin-top:2px;gap:7px}
#mi-home .mi-dots button{padding:2px;min-height:20px;line-height:1;font-size:12px}
@media(max-width:600px){#mi-home{padding:10px 12px}#mi-home .mi-product img{width:108px;height:104px;flex-basis:108px}#mi-home .mi-head small{font-size:10px}#mi-home .mi-product{gap:10px}}
@media(max-width:350px){#mi-home .mi-product img{width:98px;height:102px;flex-basis:98px}#mi-home .mi-product strong{font-size:14px}}

#mi-home .mi-dots .mi-auto{font-size:11px;color:#403584;padding:3px 8px;margin-left:8px;min-height:24px}#mi-home .mi-auto[hidden]{display:none}

/* Le carrousel ne doit jamais imposer sa largeur intrinsèque aux colonnes. */
#view,#view .columns,#view .columns>section{min-width:0;max-width:100%}
#mi-home,#mi-create,#mi-pot{width:100%;max-width:100%;min-width:0;contain:inline-size}
.mi-slides{width:100%;max-width:100%;min-width:0}
.mi-slides>article{width:100%;max-width:100%;min-width:0;overflow:hidden}
.mi-product>div{min-width:0;flex:1;overflow-wrap:anywhere}
.mi-product button{max-width:100%;white-space:normal}
#mi-create{position:static;inset:auto;display:block;border-right:1px solid #e4e9f0}
@media(max-width:720px){
 body{min-width:0}body>main{min-width:0;max-width:100%;width:auto;margin-left:0;margin-right:0}
 #view .columns{grid-template-columns:minmax(0,1fr)}
 #view .columns>section{width:100%}
 #mi-home .mi-head{min-width:0}#mi-home .mi-head small{overflow-wrap:anywhere}
 #mi-home .mi-dots{flex-wrap:wrap}
}
