/* Hydre — essai « Mindmap par l'IA » (mmtry.js) : complète cvtry.css (classes hct-*, couleurs du thème courant). */
.hmt .hct-ph,.hmt-ph{width:100%;max-width:340px;aspect-ratio:4/3;border-radius:14px;border:1.5px dashed var(--hct-line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--hct-mut);font-size:14px;text-align:center;padding:16px}
.hmt-ph .hct-ic{width:40px;height:40px;color:var(--hct-acc)}
.hmt-ph small{font:500 12px 'Geist Mono',ui-monospace,monospace}
.hmt-lbl{align-self:center;color:var(--hct-mut);font-size:13.5px}
.hmt-opts{display:flex;flex-wrap:wrap;gap:16px 24px}
.hmt-fs{margin:0;padding:0;border:0;min-width:0;flex:1 1 260px;display:flex;flex-direction:column;gap:8px}
.hmt-fs legend{padding:0;margin-bottom:8px;font-weight:600;font-size:14.5px}
.hmt-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.hmt-head h3{margin:0;flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.hmt-pvw{border-radius:14px;border:1px solid var(--hct-line);background:#fff;overflow:auto;max-height:620px;display:flex}
.hmt-pv{display:block;max-width:100%;height:auto;margin:0 auto;flex:none}
.hmt-res{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.hmt-box{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:16px;border:1px solid var(--hct-line);background:color-mix(in srgb,var(--hct-surf) 70%,var(--hct-bg))}
.hmt-box h4{margin:0;font-size:15px}
.hmt-box p{margin:0}
.hmt-keep{border-color:color-mix(in srgb,var(--hct-acc) 45%,var(--hct-line));background:color-mix(in srgb,var(--hct-acc) 10%,var(--hct-surf))}
.hmt-dl{display:flex;flex-wrap:wrap;gap:8px}
.hmt-dl .hct-btn{flex:1 1 auto;justify-content:center}
.hmt-list{list-style:none;margin:0;padding:0;width:100%;max-width:520px;display:flex;flex-direction:column;gap:8px;text-align:left}
.hmt-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:14px;border:1px solid var(--hct-line)}
.hmt-list li>span:first-child{font-weight:600;min-width:0;overflow-wrap:anywhere}
.hmt-list .hmt-dl .hct-btn{flex:0 0 auto}
/* téléphone : la carte garde sa taille réelle (lisible) et défile dans son cadre */
@media (max-width:620px){.hmt-pvw{max-height:420px}.hmt-pv{max-width:none}}
/* essai Design (dgtry.js) : le design entier reste visible (posts, stories, affiches), sur fond neutre */
.hdt .hdt-pvw{background:color-mix(in srgb,var(--hct-fg) 6%,var(--hct-bg));padding:16px;justify-content:center;max-height:none}
.hdt .hdt-pvw .hmt-pv{max-width:100%;max-height:560px;width:auto;height:auto;box-shadow:0 18px 40px -18px rgba(0,0,0,.55)}
@media (max-width:620px){.hdt .hdt-pvw{padding:10px}.hdt .hdt-pvw .hmt-pv{max-width:100%;max-height:460px}}
.hdt .hdt-ref{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;border:1px solid var(--hct-line);background:var(--hct-bg)}
.hdt .hdt-ref img{width:72px;height:72px;object-fit:contain;border-radius:8px;background:color-mix(in srgb,var(--hct-fg) 6%,var(--hct-bg));flex:none}
.hdt .hdt-ref .hct-fn{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.hdt .hdt-ref .hct-fn b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
