.arbre main{max-width:none;padding:clamp(.65rem,2vw,1.4rem);background:linear-gradient(135deg,#fbeef5,#f0e8fb);min-height:100vh}
.arbre .room-banner{min-height:clamp(8rem,13vw,12rem);margin:0 0 1rem}
#arbre{display:grid;gap:.9rem;color:#211743}
#arbre h2,#arbre h3{margin:.25rem 0}
#arbre p{margin:.45rem 0}
.arbre-toolbar,.arbre-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.arbre-toolbar{justify-content:space-between}
.arbre-btn{padding:.55rem .8rem;border:1px solid #d5b9ec;background:#f4e9fb;color:#45216d;border-radius:.75rem;font:700 .92rem system-ui;cursor:pointer;text-decoration:none;text-align:center}
.arbre-btn[aria-pressed=true],.arbre-primary{color:white;background:linear-gradient(#8249ad,#54248a)}
.arbre-btn:focus-visible,.arbre input:focus-visible{outline:3px solid #773bab;outline-offset:3px}
.arbre-card,.arbre-sheet{border:1px solid #dec8ec;border-radius:1rem;padding:1rem;background:#fffaf8;box-shadow:0 4px 12px #49236f15;min-width:0}
.arbre-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:1rem}
.arbre-tile{display:grid;gap:.45rem;background:linear-gradient(0deg,#fff8ef 53%,transparent 78%),var(--scene) center/cover;padding-top:4.6rem}
.arbre-tile p:first-child{font-weight:700;color:#4a246d}
.arbre-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(13rem,19rem);gap:1rem;align-items:start}
.arbre-aside{display:grid;gap:.8rem}
.arbre-aside .arbre-actions{display:grid}
.arbre-aside img{width:3.5rem;float:right}
.arbre-sheet{overflow:auto;background:white}
.arbre-sheet:fullscreen{padding:1rem;background:white}
.arbre-map{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,.53fr) minmax(0,1fr);grid-template-areas:"line hub product" "line steps product" "warn quotient quotient";gap:1rem;transform-origin:top left;font:1rem/1.45 "Segoe Print","Comic Sans MS",cursive}
.arbre-cloud{grid-area:var(--area);position:relative;border:2px solid var(--ink);border-radius:34% 27% 33% 21% / 16px 29px 23px 39px;padding:.75rem;background:linear-gradient(145deg,var(--tint),white 72%);box-shadow:inset 0 0 0 4px white;min-width:0}
.arbre-cloud h3{color:#211743;background:var(--tint);border-radius:48% 45% 42% 31% / 18px 14px 19px 15px;padding:.25rem .55rem;font-size:1.05rem}
.arbre-hub{display:grid;place-items:center;text-align:center;color:#45216d;font-size:1.3rem;font-weight:bold;align-self:center;z-index:0}
.arbre-hub::before,.arbre-hub::after{content:"";position:absolute;top:50%;width:1.15rem;border-top:4px solid;z-index:-1}
.arbre-hub::before{right:100%;color:#2188d1;transform:rotate(18deg)}
.arbre-hub::after{left:100%;color:#529627;transform:rotate(-18deg)}
.arbre-lines{display:grid;gap:.3rem}
.arbre-eq{display:grid;grid-template-columns:1.35rem minmax(0,1fr);align-items:baseline;gap:.2rem;font:1.05rem/1.45 Georgia,serif;overflow-wrap:anywhere}
.arbre-eq b{color:#18782a}
.arbre-result{border:1px solid #cf6ba2;border-radius:.45rem;background:#ffe9f5;padding:.15rem .38rem;width:fit-content}
.arbre-field{display:inline-block;max-width:100%;width:100%;min-height:2rem;border:1.5px solid #8b4db7;border-radius:.4rem;background:#f8f0fe;color:#23153b;padding:.15rem .35rem;font:1rem Georgia,serif}
.arbre-field[data-state=ok]{border-color:#12784a;background:#e2f7e9}.arbre-field[data-state=error]{border-color:#ab3050;background:#ffedf1}.arbre-field[data-state=empty]{border-color:#97702b;background:#fff6df}
.arbre-mask{position:absolute;inset:3.4rem .6rem .8rem;display:grid;place-content:center;justify-items:center;text-align:center}
.arbre-cloud [hidden]{display:none!important}
.arbre-body.masked{visibility:hidden;pointer-events:none}
.arbre-correction{font-size:.85rem;color:#512463}
@media(max-width:1000px){.arbre-layout{grid-template-columns:1fr}.arbre-aside{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}}
@media(max-width:650px){.arbre-map{grid-template-columns:minmax(0,1fr);grid-template-areas:"hub" "line" "product" "quotient" "steps" "warn"}.arbre-hub::before,.arbre-hub::after{display:none}.arbre-mask{inset:3.8rem .4rem .4rem}.arbre .room-banner{padding-top:3rem}.arbre .room-banner h1{font-size:clamp(1.65rem,8vw,2.2rem)}}
@media print{body.arbre .academy-nav,body.arbre .academy-sidebar,body.arbre .academy-skip,.arbre .room-banner,.arbre-toolbar,.arbre-aside,.arbre-map button{display:none!important}.arbre main{margin:0;padding:0;background:white}.arbre-layout{display:block}.arbre-sheet{border:0;box-shadow:none;overflow:visible}.arbre-map{width:100%!important;zoom:1!important}.arbre-cloud{break-inside:avoid;print-color-adjust:exact}}
.arbre-cloud{padding-bottom:2.9rem}
.arbre-hide{position:absolute;bottom:.55rem;right:.75rem;font-size:.78rem}
.arbre-cloud[data-branch="steps"],.arbre-cloud[data-branch="warn"]{background:linear-gradient(var(--tint),#fffbe9)}
.arbre-map .arbre-cloud h3{font-family:"Segoe Print","Comic Sans MS",cursive}
.arbre-sheet:fullscreen::backdrop{background:#fff}
@media print{.arbre-correction{display:none}.arbre-field{background:white}.arbre-cloud{padding-bottom:.75rem}}
.arbre-layout{grid-template-columns:minmax(0,1fr) minmax(15rem,18.5rem)}
.arbre-controls,.arbre-tip{display:grid;gap:.65rem;padding:.8rem;border-radius:1.15rem}
.arbre-controls{background:linear-gradient(145deg,#fcf8ff,#f4eafb)}
#arbre .arbre-mode-title,.arbre-tip-header h2{font-size:1.05rem;line-height:1.2;margin:0}
.arbre-mode-title,.arbre-tip-header{display:flex;align-items:center;gap:.55rem;min-width:0}
.arbre-mode-title{background:#ede0f8;border-radius:.7rem;padding:.35rem}
.arbre-mode-icon{display:grid;place-items:center;color:white;background:linear-gradient(#a13cc7,#632391);border-radius:.55rem;width:1.9rem;height:1.9rem;flex:none}
#arbre .arbre-controls p,#arbre .arbre-tip p{margin:0;font-size:.91rem;line-height:1.45}
.arbre-controls [role=status]:empty,.arbre-feedback-list:not(:has(li:not([hidden]))){display:none}
.arbre-controls .arbre-btn{min-height:2.35rem;padding:.4rem .55rem}
.arbre-meter{display:grid;grid-template-columns:repeat(5,1fr);gap:.25rem}
.arbre-meter span{height:.42rem;border-radius:1rem;background:#dfc8ef}
.arbre-meter .filled{background:linear-gradient(#9439bd,#582092)}
.arbre-zoom{border-top:1px solid #e5d3f2;padding-top:.65rem;display:grid;grid-template-columns:auto minmax(3rem,1fr) auto auto;gap:.35rem;align-items:center}
.arbre-zoom output{text-align:center;font-weight:800;font-size:.9rem}
.arbre-zoom .arbre-btn{min-width:2.15rem;font-size:1.15rem;line-height:1}
.arbre-tip{background:linear-gradient(145deg,#fff8e8,#fffbf3);border-color:#e7c276}
.arbre-tip-header img{display:block;float:none;width:3.5rem;height:3.5rem;object-fit:contain;border-radius:50%;flex:none}
.arbre-tip-header h2{background:linear-gradient(#8839ac,#552086);color:white;padding:.4rem .55rem;border-radius:.65rem}
.arbre-resource{display:grid;grid-template-columns:1.3rem minmax(0,1fr) auto;align-items:center;gap:.55rem;min-height:2.5rem;border-top:1px solid #e7d7ec;padding:.45rem .2rem;color:#45216d;text-decoration:none;font-size:.85rem;font-weight:700}
.arbre-resource:hover{text-decoration:underline}
.arbre-feedback-list{margin:0;padding:0 0 0 1.15rem;max-height:14rem;overflow:auto}
.arbre-cloud,.arbre-cloud[data-branch]{isolation:isolate;border:0;background:none;box-shadow:none;padding:1rem .85rem 2.65rem;align-self:start}
.arbre-cloud h3{width:fit-content;max-width:100%;margin-top:-1.15rem!important;border:1px solid var(--ink);transform:rotate(-1deg);box-shadow:0 2px 0 #fff9}
.cloud-art,.arbre-branches{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:visible}
.cloud-art .cloud-outline{fill:var(--tint);fill-opacity:.49;stroke:var(--ink);stroke-width:2.8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.arbre-branches{z-index:0}
.arbre-branches path{fill:none;stroke-width:9;stroke-linecap:round;opacity:.68;vector-effect:non-scaling-stroke}
.branch-line{stroke:#2188d1}.branch-product{stroke:#529627}.branch-quotient{stroke:#d954a0}.branch-steps,.branch-warn{stroke:#e0ae24}
.arbre-map{padding:.7rem .2rem;grid-template-columns:minmax(0,1fr) minmax(6em,.58fr) minmax(0,1.17fr);grid-template-areas:"line hub product" "line steps product" "warn quotient quotient";column-gap:1.1rem;row-gap:1.2rem}
.arbre-hub{align-self:center;padding:1.5rem .4rem}
.arbre-hub::before,.arbre-hub::after{display:none}
.arbre-slot{display:inline-grid;max-width:100%;position:relative;min-width:2.5rem;vertical-align:baseline}
.arbre-slot .arbre-field{position:absolute;inset:-.08em 0;min-height:0;padding:.05em .2em;font-size:inherit;height:calc(100% + .16em)}
.arbre-placeholder{visibility:hidden}
.arbre-eq .arbre-slot{display:grid;min-height:1.45em}
@media(max-width:1000px){.arbre-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.arbre-map{grid-template-columns:minmax(0,1fr);grid-template-areas:"hub" "line" "product" "quotient" "steps" "warn"}.arbre-branches{display:none}}
@media print{.arbre-feedback-list,.arbre-zoom{display:none!important}}
.arbre .room-banner{min-height:0;padding-block:clamp(1.25rem,3vw,2.7rem)}
#arbre>.arbre-card{padding:.65rem 1rem}
.arbre-map{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr) minmax(0,1.27fr);grid-template-areas:"line hub product" "line steps product" "quotient quotient warn";font-size:clamp(.83rem,1.16vw,1rem);line-height:1.35}
.arbre-cloud{z-index:1}
.cloud-art .cloud-outline{fill-opacity:1}
.arbre-cloud h3{font-size:1em}
.arbre-eq{font-size:1em;line-height:1.35}
.arbre-quotients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.arbre-quotients>div+div{border-inline-start:1px dashed #d99ac1;padding-inline-start:.6rem}
.arbre-slot{min-width:0}
.arbre-tip-header img{object-fit:cover;object-position:center}
@media(max-width:650px){.arbre-map{grid-template-columns:minmax(0,1fr);grid-template-areas:"hub" "line" "product" "quotient" "steps" "warn";font-size:.95rem}.arbre-quotients{grid-template-columns:1fr}.arbre-quotients>div+div{border-inline-start:0;border-top:1px dashed #d99ac1;padding:.55rem 0 0}.arbre .room-banner{padding-top:3rem}}
