/* ===== Ricerca visibile ===== */
.rv-now { border: 1px solid rgba(0,0,0,.12); border-radius: 10px; padding: 10px 12px; margin: 8px 0; background: rgba(42,154,124,.07); }
.rv-now.wait { background: rgba(196,71,63,.08); border-color: rgba(196,71,63,.35); }
.rv-nowt { font: 700 17px/1.3 'Playfair Display', Georgia, serif; margin: 2px 0 6px; }
.rv-rate { border: 1px dashed rgba(0,0,0,.18); border-radius: 10px; padding: 8px 12px; margin: 10px 0; }
.rv-stack { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(0,0,0,.08); margin: 6px 0 4px; }
.rv-stack span { height: 100%; }
.b1 { background: #3b6fb6; } .b2 { background: #7a4fb5; } .b3 { background: #9aa3ad; }
.rv-k { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: -1px; }
.rv-k:first-child { margin-left: 0; }

.rv-card { border: 1px solid rgba(0,0,0,.13); border-left: 4px solid #9aa3ad; border-radius: 0 10px 10px 0; margin: 7px 0; background: rgba(255,255,255,.55); }
.rv-card.mil { border-left-color: #c4473f; } .rv-card.eco { border-left-color: #c08a1e; } .rv-card.soc { border-left-color: #2a9a7c; } .rv-card.info { border-left-color: #3b6fb6; }
.rv-card.cur { box-shadow: 0 0 0 2px rgba(42,154,124,.45); }
.rv-card > summary { list-style: none; display: flex; gap: 9px; align-items: center; padding: 8px 10px; cursor: pointer; }
.rv-card > summary::-webkit-details-marker { display: none; }
.rv-card > summary:hover { background: rgba(0,0,0,.035); }
.rv-cat { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: rgba(0,0,0,.06); }
.rv-cat.mil { background: rgba(196,71,63,.15); } .rv-cat.eco { background: rgba(192,138,30,.17); } .rv-cat.soc { background: rgba(42,154,124,.15); } .rv-cat.info { background: rgba(59,111,182,.15); }
.rv-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-name b { font-weight: 600; }
.rv-head { font-size: 12px; color: #4b5666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-eta { font-size: 12px; color: #4b5666; text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rv-badge { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 8px; background: rgba(192,138,30,.18); color: #7a5410; }
.rv-card.cur .rv-badge { background: rgba(42,154,124,.18); color: #1d6b55; }
.rv-body { padding: 2px 12px 10px 45px; }
.rv-d { font-size: 13px; color: #4b5666; margin-bottom: 4px; }
.rv-why { color: #7a5410; }
.rv-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7684; margin: 9px 0 3px; }
.rv-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; padding: 2px 0; border-bottom: 1px dotted rgba(0,0,0,.08); }
.rv-row:last-child { border-bottom: 0; }
.rv-t { flex: 1; min-width: 0; }
.rv-n { display: block; font-size: 11.5px; color: #6b7684; }
.rv-v { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rv-a { color: #6b7684; } .rv-ar { margin: 0 4px; color: #9aa3ad; }
.rv-v .good { color: #1d6b45; } .rv-v .bad { color: #a3271c; }
.rv-pil { margin: 6px 0 2px; }
.rv-p { display: grid; grid-template-columns: 92px 1fr 70px; gap: 8px; align-items: center; font-size: 12px; margin: 3px 0; }
.rv-pb { position: relative; height: 8px; background: rgba(0,0,0,.08); border-radius: 4px; }
.rv-p0 { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; opacity: .55; }
.rv-p1 { position: absolute; top: 0; bottom: 0; border-radius: 4px; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.45) 0 3px, transparent 3px 6px); animation: rvpulse 1.6s ease-in-out infinite; }
@keyframes rvpulse { 50% { opacity: .55; } }
.rv-goal { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #1b2430; }
.rv-pv { text-align: right; font-variant-numeric: tabular-nums; }
.rv-when { font-size: 12.5px; margin: 8px 0 2px; padding: 6px 8px; border-radius: 6px; background: rgba(0,0,0,.04); }
.rv-next { margin-bottom: 4px; }
.rv-disc h2 { margin-top: 2px; }
.rv-disc .rv-row { font-size: 14px; }

/* ===== Anteprima delle scelte ===== */
#preBox { position: fixed; z-index: 900; width: 360px; display: none; pointer-events: none; background: #fbf7ee; color: #1b2430; border: 1px solid rgba(0,0,0,.18); border-left: 4px solid #c08a1e; border-radius: 0 10px 10px 0; padding: 10px 14px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 13px; }
#preBox .pre-k { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a6a12; }
#preBox .pre-t { font: 700 16px/1.3 'Playfair Display', Georgia, serif; margin: 2px 0 4px; }
.pre-d { border-bottom: 1px solid rgba(0,0,0,.09); padding: 6px 0; }
.pre-d b { font-weight: 600; }
