/* Room Visualizer (AI) */
.rv-open{display:flex;align-items:center;gap:12px;width:100%;margin:12px 0;padding:12px 16px;border:2px dashed #b08d57;border-radius:10px;background:#fbf8f3;color:#3b2f22;cursor:pointer;text-align:left;font:inherit;transition:background .2s,border-color .2s}
.rv-open:hover{background:#f5eee2;border-color:#8a6a3a}
.rv-open-icon{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#b08d57;color:#fff}
.rv-open-text{display:flex;flex-direction:column;line-height:1.3}
.rv-open-text strong{font-size:15px}
.rv-open-text small{font-size:12px;opacity:.75}

html.rv-noscroll,html.rv-noscroll body{overflow:hidden}
.rv-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;background:rgba(20,16,12,.65);align-items:center;justify-content:center;padding:16px}
.rv-overlay.rv-show{display:flex}
.rv-box{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;border-radius:14px;padding:24px;box-shadow:0 20px 60px rgba(0,0,0,.3);color:#2a2a2a;font-size:14px}
.rv-close{position:absolute;top:8px;right:12px;border:0;background:none;font-size:30px;line-height:1;color:#777;cursor:pointer}
.rv-title{margin:0 30px 16px 0;font-size:20px;font-weight:600}

.rv-drop{position:relative;display:flex;align-items:center;justify-content:center;min-height:180px;border:2px dashed #ccc;border-radius:10px;background:#fafafa;cursor:pointer;overflow:hidden;margin:0}
.rv-drop input{position:absolute;opacity:0;width:1px;height:1px}
.rv-drop-text{padding:20px;text-align:center;color:#666;font-weight:500}
.rv-preview{display:none;width:100%;max-height:300px;object-fit:contain}
.rv-drop.rv-has-file .rv-drop-text{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);padding:4px 10px;border-radius:20px;background:rgba(255,255,255,.9);font-size:12px;white-space:nowrap}
.rv-tip{margin:8px 0 14px;font-size:12px;color:#777}

.rv-modes{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.rv-modes label{display:flex;align-items:center;gap:8px;margin:0;font-weight:400;cursor:pointer}
.rv-target{display:none;width:100%;padding:9px 12px;margin-bottom:12px;border:1px solid #ccc;border-radius:8px;font:inherit}
.rv-consent{display:flex;gap:8px;align-items:flex-start;margin:6px 0 14px;font-weight:400;font-size:12px;color:#555;cursor:pointer}
.rv-consent input{margin-top:2px;flex:0 0 auto}
.rv-error{display:none;margin-bottom:12px;padding:9px 12px;border-radius:8px;background:#fdecea;color:#a12622;font-size:13px}

.rv-submit,.rv-cart{width:100%;padding:13px;border:0;border-radius:8px;background:#3b2f22;color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.rv-submit:hover,.rv-cart:hover{background:#1f1811}

.rv-step-loading,.rv-step-result{display:none}
.rv-step-loading{text-align:center;padding:40px 10px}
.rv-spinner{width:46px;height:46px;margin:0 auto 18px;border:4px solid #eee;border-top-color:#b08d57;border-radius:50%;animation:rv-spin 1s linear infinite}
@keyframes rv-spin{to{transform:rotate(360deg)}}

.rv-result{display:block;width:100%;border-radius:10px}
.rv-disclaimer{margin:10px 0 14px;font-size:11.5px;color:#777;line-height:1.4}
.rv-actions{display:flex;flex-direction:column;gap:8px}
.rv-download,.rv-retry{display:block;width:100%;padding:11px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#333;text-align:center;font:inherit;cursor:pointer;text-decoration:none}
.rv-download:hover,.rv-retry:hover{background:#f5f5f5;color:#333;text-decoration:none}
