/* Révision espacée */
.rv-top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 1rem; }
.rv-top > * { min-width: 0; }
.rv-due .btn { white-space: normal; text-align: center; max-width: 100%; }
.rv-due.is-on { background: linear-gradient(135deg, #f4f0ff, #fff 70%); }
.rv-big { margin: .1rem 0 .7rem; color: var(--ink-2); }
.rv-big strong { font: 800 2.2rem var(--head); color: var(--ink); }
.rv-mt { margin-top: 2rem; }
.rv-forecast { display: flex; align-items: flex-end; gap: .3rem; height: 96px; }
.rv-forecast > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .15rem; height: 100%; }
.rv-fb { width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); }
.rv-fv { font-size: .72rem; font-weight: 700; color: var(--ink-2); min-height: 1em; }
.rv-fl { font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.1; }
.rv-boxes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-bottom: .5rem; }
.rv-box { border-radius: var(--radius-sm); padding: .8rem; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.rv-box strong { font: 800 1.6rem var(--head); }
.rv-box span { font-weight: 600; }
.rv-box small { color: var(--muted); font-size: .78rem; }
.rv-b1 { border-top: 4px solid #f97316; } .rv-b2 { border-top: 4px solid #facc15; } .rv-b3 { border-top: 4px solid #a3e635; }
.rv-b4 { border-top: 4px solid #34d399; } .rv-b5 { border-top: 4px solid #6d3feb; background: #faf8ff; }
.rv-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: .6rem; }
.rv-track { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.rv-track > span:not(.pill) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.rv-track small { color: var(--muted); }
.rv-progress { height: 8px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; margin: .5rem 0; }
.rv-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .3s; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.rv-q { font: 700 1.2rem var(--head); line-height: 1.35; margin: 0 0 1rem; }
.rv-opts { display: grid; gap: .5rem; }
.rv-opt { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; cursor: pointer; }
.rv-opt:hover { border-color: var(--brand); }
.rv-opt input { margin-top: .3rem; flex: none; }
.rv-opt.is-good { border-color: #10b981; background: #ecfdf5; }
.rv-opt.is-bad { border-color: #ef4444; background: #fef2f2; }
.rv-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-start; margin-top: 1rem; }
.rv-feedback { flex: 1 1 100%; border-radius: 10px; padding: .8rem 1rem; }
.rv-feedback p { margin: .3rem 0 0; }
.rv-feedback.is-ok { background: #ecfdf5; border: 1px solid #b7ebd3; }
.rv-feedback.is-ko { background: #fff7ed; border: 1px solid #fbd5a8; }
.rv-done { text-align: center; }
.rv-done .rv-actions { justify-content: center; }
.rv-failed { text-align: left; max-width: 520px; margin: 0 auto; }
.rv-empty { max-width: 680px; }
.rv-banner { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0; padding: .8rem 1.1rem; border-radius: var(--radius); border: 1px solid #d9d0ff; background: linear-gradient(135deg, #f4f0ff, #fff); color: var(--ink); text-decoration: none !important; }
.rv-banner > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.rv-banner small { color: var(--muted); }
.rv-banner-icon { font-size: 1.8rem; }
.quiz-rv { font-size: .9rem; color: var(--ink-2); margin: .6rem 0 0; }
@media (max-width: 900px) { .rv-top { grid-template-columns: 1fr 1fr; } .rv-boxes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .rv-top { grid-template-columns: 1fr; } .rv-boxes { grid-template-columns: 1fr 1fr; } .rv-banner .btn { display: none; } }
