
/* Красная Слобода 3D v105 — accessible documentary comparison and quality controls */
.rv-stage-layout{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;background:#e8e8dd}
.rv-stage-layout .stage{min-width:0;width:100%}
.rv-stage-layout.rv-compare-active{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.rv-photo-panel{display:none;min-width:0;padding:18px;overflow:auto;max-height:515px;background:#f7f3e9;border-left:1px solid #d9cfbd;flex-direction:column;gap:12px}
.rv-compare-active .rv-photo-panel{display:flex}
.rv-photo-panel h3{font:normal 22px/1.15 Georgia,serif;color:#26443c;margin:0}
.rv-reference-img{max-width:100%;width:100%;min-height:150px;max-height:280px;object-fit:contain;background:#e4ded1;border:1px solid #ddd0ba;border-radius:9px}
.rv-photo-fallback{margin:0;display:grid;place-items:center;text-align:center;min-height:175px;padding:18px;border:1px dashed #b6a890;border-radius:8px;color:#6e6454;background:#f1eadd;font-size:13px}
.rv-photo-open{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;color:#123d34;font-weight:700;border:1px solid #b8b098;border-radius:8px;text-align:center;text-decoration:none;background:#fffdf9}
.rv-photo-open:hover{text-decoration:underline}
.rv-photo-credit,.rv-photo-note{margin:0;color:#6f6759;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.rv-toolbox{padding:11px 20px 10px;background:#faf7ee;border-top:1px solid #ece2d2;border-bottom:1px solid #e9dfce}
.rv-tool-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.rv-tool-row+.rv-tool-row{margin-top:9px}
.rv-tool-label{font-size:12px;color:#676055;font-weight:700;margin-right:3px}
.rv-preset,.rv-compare-button{border:1px solid #ccbea2;border-radius:8px;background:white;color:#28443a;padding:8px 11px;min-height:35px;font-size:12px;font-weight:600}
.rv-preset:hover,.rv-compare-button:hover{background:#eee6d4}
.rv-preset[aria-pressed="true"],.rv-compare-button[aria-pressed="true"]{background:#234e41;color:#fff;border-color:#234e41}
.rv-quality-label{display:flex;align-items:center;gap:7px;font-weight:650;color:#4c5b51;font-size:12px}
.rv-quality-select{min-height:35px;border:1px solid #ccbfa6;border-radius:7px;background:white;padding:4px 8px;color:#173b35}
.rv-quality-status{font-size:11px;color:#7e705e;padding-left:5px;white-space:nowrap}
.rv-tool-note{margin:10px 0 0;font-size:10px;line-height:1.45;color:#776e61}
.rv-evidence{padding:12px 0 0;margin-top:14px;border-top:1px solid #e6dece}
.rv-evidence-heading{font:normal 20px/1.25 Georgia,serif;margin:0 0 9px;color:#25443a}
.rv-evidence-badges{display:flex;flex-wrap:wrap;gap:7px}
.rv-proof-badge{display:inline-block;max-width:100%;border:1px solid #dfd4be;background:#f4eee2;color:#60574a;font-size:11px;line-height:1.35;padding:6px 9px;border-radius:7px}
.rv-sources-head{margin:10px 0 5px;color:#776b58;font-size:11px;font-weight:600}
.rv-extra-sources{display:flex;flex-wrap:wrap;align-items:center;column-gap:6px}
.rv-extra-sources .rv-sources-head{flex:0 0 100%}
.rv-source-chip{font-size:11px;color:#164c3d;border-bottom:1px solid #164c3d;text-decoration:none;margin:4px 7px 4px 0}
.rv-source-chip:hover{text-decoration:underline}
@media(max-width:1200px){
 .rv-stage-layout.rv-compare-active{grid-template-columns:minmax(0,1fr)}
 .rv-photo-panel{max-height:none;min-height:170px;border-left:0;border-top:1px solid #d9cfbd}
 .rv-reference-img{max-height:300px}
}
@media(max-width:650px){
 .rv-toolbox{padding:11px 13px}
 .rv-preset,.rv-compare-button{padding:8px 9px}
 .rv-photo-panel{padding:15px}
 .rv-tool-note{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 .rv-stage-layout,.rv-toolbox{scroll-behavior:auto}
}
