/* Zedjo : compléments au style commun des Zoutils (style.css, repris de Zely) */
.nowrap { white-space: nowrap; }
.btn.danger-fill { background: var(--danger); border-color: var(--danger); color: #fff; }
mark { background: color-mix(in srgb, var(--brand) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.extrait { color: var(--muted); margin-top: 4px; max-width: 640px; }
.alerte { border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.erreur-txt { color: var(--danger); }

/* Indicateur de chargement */
.spin { display: inline-block; width: 10px; height: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tourne .8s linear infinite; margin-right: 6px; vertical-align: -1px; }
.spin.gros { width: 28px; height: 28px; border-width: 3px; color: var(--brand); margin: 0 auto; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }

/* Import */
.depot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; text-align: center; margin-bottom: 18px; font-weight: 500; }
.depot:hover, .depot.survol { border-color: var(--brand); background: var(--brand-soft); }
.depot.plein { border-style: solid; border-color: var(--brand); }
.depot-ico { font-size: 26px; }
.progression { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.progression > div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }

/* Réunion */
.puces { gap: 6px; margin-bottom: 14px; }
.puce { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 13px; }
.pastille { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lecteur { display: flex; gap: 10px; align-items: center; padding: 10px 14px; margin-bottom: 18px; position: sticky; top: 8px; z-index: 5; }
.lecteur audio { flex: 1; min-width: 0; height: 40px; }
.lecteur select { width: auto; }
.reunion { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.reunion-copie { position: sticky; top: 84px; }
@media (max-width: 1000px) { .reunion { grid-template-columns: 1fr; } .reunion-copie { position: static; order: -1; } }
.copie h3 { margin: 0; }
.apercu { font-size: 12px; color: var(--muted); white-space: pre-wrap; background: var(--bg); border-radius: 8px; padding: 8px 10px; max-height: 110px; overflow: hidden; }

/* Transcription */
.transcription { display: flex; flex-direction: column; gap: 2px; }
.seg { padding: 10px 12px; border-radius: 8px; border-left: 3px solid transparent; }
.seg:hover { background: var(--surface); }
.seg.actif { background: var(--brand-soft); border-left-color: var(--brand); }
.seg-tete { display: flex; gap: 10px; align-items: baseline; margin-bottom: 2px; }
.qui { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.qui:hover { text-decoration: underline; }
.quand { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; font-variant-numeric: tabular-nums; }
.quand:hover { color: var(--brand); text-decoration: underline; }
.seg-texte { line-height: 1.6; }

/* Analyse */
.section { margin-bottom: 16px; }
.ratio { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--line); }
.ratio span { display: block; min-width: 3px; }
.mots { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.mot { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.mot.zero { opacity: .6; }
.moments { gap: 8px; margin-top: 6px; }

/* Prompts */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.prompt { display: flex; flex-direction: column; gap: 10px; }
.prompt-texte { font-size: 12.5px; color: var(--muted); white-space: pre-wrap; max-height: 120px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); flex: 1; }
textarea.grand { min-height: 340px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.55; }
.reunion-corps .kpis { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.reunion-corps .table td { white-space: nowrap; }
.copie .btn { width: 100%; }
.etapes { margin: 0; padding-left: 20px; line-height: 1.7; }
