/* Releviis Compositore - stili isolati sotto .rlvc (resistono ai reset di Hello Elementor) */
.rlvc{
	--rlvc-green:#26372F; --rlvc-ivory:#F7ECDE; --rlvc-paper:#FBF5EC; --rlvc-bronze:#A98258; --rlvc-bronze-dark:#765638;
	--rlvc-charcoal:#383532; --rlvc-muted:#6c645c; --rlvc-line:#dccfbf; --rlvc-danger:#9b3b2f;
	--rlvc-display:'Sanchez', Georgia, serif; --rlvc-body:'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
	container-type:inline-size; container-name:rlvc;
	clear:both; width:100%; max-width:100%; margin:18px 0 22px; padding:0;
	color:var(--rlvc-charcoal); font-family:var(--rlvc-body); font-size:14px; line-height:1.5; text-align:left;
	color-scheme:light;
}
.rlvc *,.rlvc *::before,.rlvc *::after{box-sizing:border-box}
.rlvc [hidden]{display:none !important}
.rlvc p{margin:0}
.rlvc svg{overflow:hidden}

/* reset dei pulsanti del tema dentro il compositore */
.rlvc button,.rlvc button:hover,.rlvc button:focus,.rlvc button:active{
	font-family:inherit; font-size:inherit; line-height:1.3; text-transform:none; letter-spacing:normal; font-weight:400;
	white-space:normal; text-decoration:none; box-shadow:none; min-height:0; min-width:0; width:auto; margin:0;
	transition:background-color .15s, border-color .15s, color .15s; text-align:center; cursor:pointer;
}
.rlvc button:focus-visible,.rlvc input:focus-visible{outline:2px solid var(--rlvc-bronze); outline-offset:2px}
.rlvc input[type=text],.rlvc input[type=search]{
	font:inherit; font-size:14px; color:var(--rlvc-charcoal); border:1px solid var(--rlvc-line); background:var(--rlvc-paper);
	padding:9px 12px; border-radius:3px; min-width:0; width:100%; height:auto; margin:0; box-shadow:none; line-height:1.4;
}
.rlvc input[type=text]:focus,.rlvc input[type=search]:focus{border-color:var(--rlvc-bronze); background:#fff}

.rlvc-head{margin:0 0 12px}
.rlvc-eb{font-size:11px; letter-spacing:.2em; text-transform:uppercase; font-weight:600; color:var(--rlvc-bronze-dark)}
.rlvc .rlvc-title{font-family:var(--rlvc-display); font-weight:400; font-size:24px; line-height:1.2; margin:2px 0 4px; color:var(--rlvc-charcoal); text-transform:none; letter-spacing:0}
.rlvc-intro{font-size:13px; color:var(--rlvc-muted)}

.rlvc-app{display:grid; grid-template-columns:minmax(0,1fr); gap:14px; align-items:start}
@container rlvc (min-width:760px){
	.rlvc-app{grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px}
	.rlvc-stage{position:sticky; top:calc(16px + var(--wp-admin--admin-bar--height, 0px))}
}
.rlvc-stage{display:flex; flex-direction:column; gap:10px; min-width:0}
.rlvc-wall{background:linear-gradient(160deg,#d9d2c8,#c9c0b4); padding:clamp(8px,3.5cqi,32px); border-radius:6px}
.rlvc-plaque{width:100%; height:auto; display:block; aspect-ratio:1/1; filter:drop-shadow(0 12px 16px rgba(40,30,20,.32))}
.rlvc-note{display:flex; gap:10px; align-items:flex-start; background:#f3ece1; border:1px solid var(--rlvc-line); border-left:3px solid var(--rlvc-bronze); padding:9px 12px; border-radius:4px; font-size:12.5px; line-height:1.45}
.rlvc-note svg{flex:none; width:18px; height:18px; margin-top:1px; color:var(--rlvc-bronze-dark)}
.rlvc-count{font-size:13px; font-weight:500; color:var(--rlvc-green); background:#fff; border:1px solid var(--rlvc-line); border-radius:4px; padding:8px 12px; font-variant-numeric:tabular-nums}
.rlvc-alert{background:#fbeeea; border:1px solid #e3b9ae; border-left:3px solid var(--rlvc-danger); color:#5a2018; padding:10px 12px; border-radius:4px; font-size:13px}
.rlvc-alert .rlvc-row{margin-top:8px}

.rlvc-panel{display:flex; flex-direction:column; gap:12px; min-width:0}
.rlvc-card{background:#fff; border:1px solid var(--rlvc-line); border-radius:4px; padding:14px 16px; min-width:0}
.rlvc .rlvc-card h4{font-family:var(--rlvc-display); font-weight:400; font-size:17px; line-height:1.3; margin:0 0 10px; display:flex; gap:10px; align-items:baseline; color:var(--rlvc-charcoal); text-transform:none; letter-spacing:0}
.rlvc-card h4 span{font-family:var(--rlvc-body); font-size:11px; letter-spacing:.16em; color:var(--rlvc-bronze); font-weight:600}
.rlvc-card h4 em{font-style:normal; min-width:0; overflow-wrap:anywhere}
.rlvc-row{display:flex; gap:6px; flex-wrap:wrap}

.rlvc .rlvc-chip{border:1px solid var(--rlvc-line); background:var(--rlvc-paper); color:var(--rlvc-charcoal); padding:7px 12px; border-radius:999px; font-size:13px}
.rlvc .rlvc-chip:hover{border-color:var(--rlvc-bronze); background:var(--rlvc-paper); color:var(--rlvc-charcoal)}
.rlvc .rlvc-chip.is-on,.rlvc .rlvc-chip.is-on:hover{background:var(--rlvc-green); border-color:var(--rlvc-green); color:var(--rlvc-ivory)}
.rlvc .rlvc-chip--stone{display:inline-flex; align-items:center; gap:7px; padding-left:5px}
.rlvc-chip--stone i{width:20px; height:20px; border-radius:50%; border:1px solid rgba(0,0,0,.15); display:block; flex:none}
.rlvc-sizehint{font-size:12px; color:var(--rlvc-muted); margin-top:8px !important}

.rlvc-members{display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px}
.rlvc .rlvc-mem{border:1px solid var(--rlvc-line); background:var(--rlvc-paper); color:var(--rlvc-charcoal); padding:4px 10px 4px 4px; border-radius:6px; display:flex; align-items:center; gap:7px; font-size:13px; max-width:100%; text-align:left}
.rlvc .rlvc-mem:hover{background:var(--rlvc-paper); color:var(--rlvc-charcoal); border-color:var(--rlvc-bronze)}
.rlvc .rlvc-mem.is-on,.rlvc .rlvc-mem.is-on:hover{border-color:var(--rlvc-charcoal); box-shadow:inset 0 0 0 1px var(--rlvc-charcoal)}
.rlvc-mem svg{width:32px; height:44px; flex:none}
.rlvc-mem__t{display:flex; flex-direction:column; align-items:flex-start; line-height:1.25; min-width:0; overflow-wrap:anywhere}
.rlvc-mem small{font-size:10.5px; color:var(--rlvc-muted); font-variant-numeric:tabular-nums}
.rlvc-dots{display:flex; gap:2px; margin-top:2px}
.rlvc-dots i{width:8px; height:8px; border-radius:50%; border:1px solid rgba(0,0,0,.15)}
.rlvc-add{display:flex; gap:6px; flex-wrap:wrap}
.rlvc .rlvc-add button{border:1px dashed var(--rlvc-bronze); background:transparent; padding:7px 11px; border-radius:6px; font-size:12.5px; color:var(--rlvc-bronze-dark)}
.rlvc .rlvc-add button:hover{background:var(--rlvc-paper); color:var(--rlvc-bronze-dark); border-color:var(--rlvc-bronze-dark)}

.rlvc-tabs{display:flex; gap:2px; border-bottom:1px solid var(--rlvc-line); margin:2px 0 10px; overflow-x:auto; scrollbar-width:thin}
.rlvc .rlvc-tabs button{border:0; border-bottom:2px solid transparent; border-radius:0; background:none; padding:8px 11px; font-size:13px; font-weight:500; white-space:nowrap; color:var(--rlvc-muted)}
.rlvc .rlvc-tabs button:hover{background:none; color:var(--rlvc-charcoal); border-bottom-color:var(--rlvc-line)}
.rlvc .rlvc-tabs button.is-on{border-bottom-color:var(--rlvc-bronze); color:var(--rlvc-charcoal)}
.rlvc-subtabs{display:flex; gap:5px; flex-wrap:wrap; margin:0 0 10px}
.rlvc .rlvc-subtabs button{border:1px solid var(--rlvc-line); border-radius:999px; padding:5px 10px; font-size:12.5px; background:var(--rlvc-paper); color:var(--rlvc-charcoal)}
.rlvc .rlvc-subtabs button:hover{background:var(--rlvc-paper); color:var(--rlvc-charcoal); border-color:var(--rlvc-bronze)}
.rlvc .rlvc-subtabs button.is-on,.rlvc .rlvc-subtabs button.is-on:hover{background:var(--rlvc-charcoal); border-color:var(--rlvc-charcoal); color:#fff}
.rlvc-subtabs small{opacity:.7; font-size:11px; margin-left:3px}
.rlvc-search{display:flex; gap:8px; align-items:center; margin-bottom:8px}
.rlvc-search input{flex:1}
.rlvc-search small{color:var(--rlvc-muted); font-size:12px; white-space:nowrap}
.rlvc-gridwrap{max-height:min(420px,55vh); overflow-y:auto; overscroll-behavior:contain; padding:2px; border:1px solid var(--rlvc-line); border-radius:4px; background:#fdfaf5}
.rlvc-sentinel{height:1px}
.rlvc-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(72px,1fr)); gap:6px; padding:6px}
.rlvc-grid--deco{padding:0; margin-top:10px}
.rlvc .rlvc-opt{border:1px solid var(--rlvc-line); background:#fff; border-radius:6px; padding:4px 2px 2px; display:flex; flex-direction:column; align-items:center; gap:2px; font-size:11px; color:var(--rlvc-muted); font-variant-numeric:tabular-nums}
.rlvc .rlvc-opt:hover{background:#fff; color:var(--rlvc-charcoal); border-color:var(--rlvc-bronze)}
.rlvc .rlvc-opt img{width:100%; height:72px; max-width:100%; object-fit:contain; display:block; margin:0; border:0; border-radius:0; box-shadow:none}
.rlvc .rlvc-grid--deco .rlvc-opt img{height:46px}
.rlvc .rlvc-opt--none{justify-content:center; min-height:92px; font-size:12px; color:var(--rlvc-charcoal); background:var(--rlvc-paper)}
.rlvc .rlvc-opt.is-on,.rlvc .rlvc-opt.is-on:hover{border-color:var(--rlvc-charcoal); box-shadow:inset 0 0 0 2px var(--rlvc-charcoal); color:var(--rlvc-charcoal); font-weight:600}
.rlvc-empty{padding:12px; color:var(--rlvc-muted); font-size:13px; text-align:center}
.rlvc-members .rlvc-empty{padding:4px 0; text-align:left}
.rlvc-pal{display:grid; grid-template-columns:repeat(auto-fill,minmax(30px,1fr)); gap:6px; margin-top:6px}
.rlvc .rlvc-sw{aspect-ratio:1; border-radius:50%; border:1px solid rgba(0,0,0,.12); padding:0; display:flex; align-items:center; justify-content:center; font-size:9px; font-weight:600; color:rgba(0,0,0,.55)}
.rlvc .rlvc-sw:hover{color:rgba(0,0,0,.8); border-color:rgba(0,0,0,.35)}
.rlvc .rlvc-sw.is-on{outline:2px solid var(--rlvc-charcoal); outline-offset:2px}
.rlvc-lab{font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:600; margin:12px 0 6px; display:block}
.rlvc-lab:first-child{margin-top:0}
.rlvc-hint{font-size:12px; color:var(--rlvc-muted); margin:0 0 10px !important}
.rlvc-fields{display:grid; gap:10px}
.rlvc-fields label{display:grid; gap:4px; font-size:12px; color:var(--rlvc-muted); margin:0; font-weight:400}
.rlvc .rlvc-remove{border:0; background:none; color:var(--rlvc-danger); font-size:12.5px; text-decoration:underline; margin-top:12px; padding:0}
.rlvc .rlvc-remove:hover{background:none; color:#6f2219; text-decoration:underline}
.rlvc-card details summary{cursor:pointer; font-family:var(--rlvc-display); font-size:16px}
.rlvc-code{font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12px; background:var(--rlvc-paper); border:1px solid var(--rlvc-line); padding:10px 12px; border-radius:3px; white-space:pre-wrap; word-break:break-word; margin:10px 0 0; color:var(--rlvc-charcoal); max-height:none; overflow:visible}
.rlvc-toast{position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); background:var(--rlvc-green); color:var(--rlvc-ivory); padding:12px 18px; border-radius:4px; font-size:13.5px; box-shadow:0 10px 30px rgba(0,0,0,.25); max-width:calc(100% - 32px); z-index:99999; text-align:center}

/* riga "Persone nel ritratto" impostata dal compositore */
.rlvc-auto-row select{pointer-events:none; background-color:#f4efe7}
.rlvc-auto-note{display:block; font-size:11.5px; color:#6c645c; margin-top:4px}

@container rlvc (max-width:420px){
	.rlvc-card{padding:12px}
	.rlvc .rlvc-tabs button{padding:8px 8px; font-size:12.5px}
	.rlvc-grid{grid-template-columns:repeat(auto-fill,minmax(64px,1fr))}
	.rlvc .rlvc-opt img{height:62px}
}
