/* Otoolia — Quizlet vers Anki (styles limités à .qz / .qz-*) */
.qz-head h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .2em; }
.qz h2 { font-size: 1.05rem; margin: 0 0 10px; }
.qz-main { display: grid; gap: var(--ot-space); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .qz-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.qz-main > * { min-width: 0; }
.qz-txt { width: 100%; min-height: 220px; font-family: var(--ot-mono); font-size: .88rem; line-height: 1.5; resize: vertical; }
.qz-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 8px 0; }
.qz-f { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; font-weight: 600; color: var(--ot-text-soft); min-width: 0; }
.qz-f .ot-input, .qz-f .ot-select { min-height: 36px; padding: 4px 8px; font-size: .92rem; width: auto; max-width: 100%; }
.qz-f[hidden], .qz-f .ot-input[hidden] { display: none; }
.qz-wide { flex: 1 1 200px; } .qz-wide .ot-input { width: 100%; }
.qz-ck { display: flex; gap: 6px; align-items: center; font-size: .88rem; margin: 4px 0; }
.qz-sm { min-height: 32px; padding: 4px 12px; font-size: .85rem; }
.qz-file { position: relative; overflow: hidden; }
.qz-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qz-stats { font-size: .9rem; margin: 8px 0; }
.qz-warn { color: var(--ot-danger); }
.qz-go { min-height: 48px; font-size: 1.02rem; }
.qz-status { font-size: .9rem; margin: 10px 0 0; min-height: 1.3em; }
.qz-status.is-ok { color: var(--ot-success); font-weight: 600; } .qz-status.is-err { color: var(--ot-danger); font-weight: 600; }
.qz-prev { max-height: 460px; overflow: auto; border: 1px solid var(--ot-border); border-radius: var(--ot-radius-s); }
.qz-prev:empty { display: none; }
.qz-prev table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.qz-prev th, .qz-prev td { padding: 5px 8px; border-bottom: 1px solid var(--ot-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.qz-prev thead th { position: sticky; top: 0; background: var(--ot-surface-2); font-size: .78rem; }
.qz-prev td:nth-child(2) { color: var(--ot-text-soft); font-size: .75rem; }
.qz-prev tr.is-off td { opacity: .45; text-decoration: line-through; }
.qz-prev tr.is-dup td:nth-child(3) { background: color-mix(in srgb, var(--ot-danger) 8%, transparent); }
.qz-steps { margin: 0; padding-left: 1.2em; font-size: .9rem; }
.qz-steps li { margin: 4px 0; }
.qz-help { font-size: .82rem; color: var(--ot-text-soft); margin: 6px 0 0; }
.qz-about { margin-top: calc(var(--ot-space) * 2); }
