.demo{background:var(--surface);border:1px solid var(--ligne);border-radius:16px;box-shadow:var(--ombre-forte);overflow:hidden;text-align:left}.demo .demo-barre{display:flex;align-items:center;gap:14px;padding:12px 18px;border-bottom:1px solid var(--ligne);background:var(--surface-2);flex-wrap:wrap}.demo .points{display:inline-flex;gap:6px}.demo .points i{width:11px;height:11px;border-radius:50%;background:var(--ligne-forte)}.demo .demo-titre{font-size:var(--t-xs);font-weight:600;color:var(--texte-2)}.demo .demo-titre .sep{color:var(--texte-3);margin:0 4px}.demo .demo-local{margin-left:auto}.demo .demo-onglets{display:flex;gap:4px;padding:10px 14px 0;border-bottom:1px solid var(--ligne);overflow-x:auto;scrollbar-width:none}.demo .demo-onglets button{border:0;background:none;padding:10px 14px 12px;font-size:var(--t-s);font-weight:550;color:var(--texte-3);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;border-radius:8px 8px 0 0}.demo .demo-onglets button:hover{color:var(--encre);background:var(--surface-2)}.demo .demo-onglets button[aria-pressed=true]{color:var(--bleu);border-bottom-color:var(--bleu)}.demo .demo-corps{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr)}.demo .demo-demande{padding:22px;border-right:1px solid var(--ligne);background:color-mix(in srgb,var(--surface-2) 55%,var(--surface))}.demo .demo-demande-fixe{position:sticky;top:90px;display:flex;flex-direction:column;gap:14px}.demo .demo-resultat{padding:22px;min-height:440px;display:flex;flex-direction:column;gap:14px}.demo .demo-etiquette{font-family:var(--mono);font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--texte-3)}.demo .expediteur{display:flex;align-items:center;gap:11px}.demo .avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:700;background:var(--bleu-doux);color:var(--bleu-nuit);flex:none}.demo .exp-texte{display:grid;line-height:1.3;min-width:0}.demo .exp-texte strong{font-size:var(--t-s)}.demo .demande-texte{margin:0;padding:14px 16px;border-radius:12px;border:1px solid var(--ligne);background:var(--surface);font-size:var(--t-s);line-height:1.6;color:var(--encre);user-select:none}.demo .demo-bouton{width:100%;min-height:50px;font-size:1rem}.demo .demo-note{font-size:var(--t-xs);color:var(--texte-3);line-height:1.5}.demo .demo-attente{flex:1;display:grid;align-content:center;gap:16px;color:var(--texte-2);font-size:var(--t-s)}.demo .pipeline{list-style:none;padding:0;margin:0;display:grid;gap:8px}.demo .pipeline li{display:flex;gap:12px;align-items:baseline;padding:11px 14px;border:1px dashed var(--ligne-forte);border-radius:10px;color:var(--texte-2)}.demo .pipeline .mono{color:var(--bleu);font-size:.75rem}.demo .demo-sortie{display:flex;flex-direction:column;gap:14px}.demo .lecture{display:flex;gap:6px;flex-wrap:wrap}.demo .brouillon{border:1px solid var(--ligne);border-radius:12px;padding:16px 18px;display:grid;gap:8px;font-size:var(--t-s);line-height:1.6;background:var(--surface)}.demo .brouillon .signature{color:var(--texte-2);font-style:italic}.demo .brouillon .cite{background:linear-gradient(transparent 62%,var(--bleu-doux) 62%)}.demo .appel{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-left:2px;border-radius:6px;border:0;background:var(--bleu-plein);color:#fff;font:600 .7rem/1 var(--mono);cursor:pointer;vertical-align:2px}.demo .appel:hover{background:var(--bleu-nuit)}.demo .sources{display:grid;gap:8px}.demo .source{border:1px solid var(--ligne);border-radius:12px;background:var(--surface);transition:border-color .2s,box-shadow .2s}.demo .source.active{border-color:var(--bleu);box-shadow:0 0 0 3px var(--bleu-doux)}.demo .source summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 14px}.demo .source summary::-webkit-details-marker{display:none}.demo .source .num{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--surface-2);color:var(--bleu);font:600 .75rem/1 var(--mono)}.demo .source .quoi{min-width:0;display:grid;line-height:1.35}.demo .source .quoi strong{font-size:var(--t-xs);font-weight:600}.demo .source .quoi span{font-size:.74rem;color:var(--texte-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo .jauge{display:grid;gap:3px;justify-items:end;font:500 .7rem/1 var(--mono);color:var(--texte-3)}.demo .jauge i{display:block;width:54px;height:4px;border-radius:4px;background:var(--surface-3);overflow:hidden}.demo .jauge b{display:block;height:100%;background:var(--vert);border-radius:4px}.demo .source .article{padding:2px 16px 14px 50px;font-size:var(--t-xs);color:var(--texte-2);line-height:1.6}.demo .source mark{background:var(--surligne);color:inherit;padding:1px 2px;border-radius:3px}@media(prefers-reduced-motion:no-preference){.demo .demo-sortie.joue .brouillon p,.demo .demo-sortie.joue .source,.demo .demo-sortie.joue .lecture{animation:monte .28s cubic-bezier(.2,.7,.2,1) both}@keyframes monte{0%{opacity:0;transform:translateY(5px)}}.demo .demo-bouton.pret{animation:invite 2.4s ease-in-out 1.2s infinite}@keyframes invite{0%,to{box-shadow:0 6px 16px -8px #0a0c1280}50%{box-shadow:0 0 0 6px var(--bleu-doux),0 6px 16px -8px #0a0c1280}}}@media(max-width:820px){.demo .demo-corps{grid-template-columns:1fr}.demo .demo-demande{border-right:0;border-bottom:1px solid var(--ligne)}.demo .demo-demande-fixe{position:static}.demo .demo-resultat{min-height:0}}@media(max-width:480px){.demo .demo-demande,.demo .demo-resultat{padding:16px}.demo .source .article{padding-left:16px}.demo .demo-barre .points{display:none}}
