/* OpenMenti 2.1 - white-first presentation design and rainbow peace palette. */
:root{--om-white:#fff;--om-ink:#132441;--om-line:#e2e8f0;--om-royal:#235ce7;--om-rainbow:linear-gradient(90deg,#e94162 0%,#fd9239 17%,#f5c943 35%,#28ad62 51%,#2488df 74%,#8754e1 100%)}
html,body{background:#fff!important;color:var(--om-ink)}
body:not(.om19-screen){background-image:none!important}
.site-header,.card,.editor-workspace,.editor-sidebar{background-color:#fff}
.site-header{border-top:6px solid transparent;border-image:var(--om-rainbow) 1}
.om-next-editor{max-width:1800px;margin:0 auto;min-height:75vh;padding:8px 0 30px}.om-next-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px}.om-next-top h1{margin:3px 0 0;font-size:clamp(26px,3vw,44px)}.om-next-grid{display:grid;grid-template-columns:195px minmax(0,1fr) 290px;gap:16px;align-items:start}.om-next-slides,.om-next-properties{background:#fff;border:1px solid var(--om-line);border-radius:18px;padding:16px;box-shadow:0 7px 22px #102a4b0c}.om-next-slides{position:sticky;top:12px;display:grid;gap:10px;max-height:85vh;overflow:auto}.om-next-thumb{text-decoration:none;color:var(--om-ink);background:#fbfcff;border:1px solid #dde6f4;min-height:102px;border-radius:12px;display:flex;flex-direction:column;gap:5px;justify-content:center;padding:12px;transition:transform .2s,box-shadow .2s}.om-next-thumb span{font-size:11px;color:#64748b}.om-next-thumb strong{font-size:13px;overflow-wrap:anywhere}.om-next-thumb small{font-size:11px;color:#526584}.om-next-thumb:hover{transform:translateY(-2px)}.om-next-thumb.is-active{border:2px solid #235ce7;box-shadow:0 0 0 3px #235ce722}.om-next-center{min-width:0;background:#f2f6fa;border:1px solid #dee8ef;border-radius:16px;padding:12px}.om-next-tools{background:#fff;border:1px solid #dce5ee;border-radius:12px;padding:9px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.om-next-tools button{font-weight:650;min-height:38px;padding:8px 12px;background:#fff;color:#132441;border:1px solid #dfe7f0}.om-next-tools button[data-save]{background:#275cf0;color:#fff;border:0}.om-next-tools [data-save-status]{color:#256544;font-size:12px}.om-next-canvas-area{padding:22px 5px;overflow:auto}.om-next-canvas{position:relative;aspect-ratio:16/9;background:#fff;min-width:480px;border-radius:8px;box-shadow:0 9px 32px #1e375128;overflow:hidden;isolation:isolate;touch-action:pan-y}.om-next-rainbow{position:absolute;bottom:0;left:0;right:0;height:13px;background:var(--om-rainbow);z-index:0}.om-next-element{position:absolute;z-index:2;box-sizing:border-box;border:1px dashed transparent;overflow:hidden;touch-action:none;user-select:none;display:flex;align-items:center;justify-content:center;white-space:pre-wrap;text-align:center;word-break:break-word;font-weight:650;line-height:1.12;cursor:grab}.om-next-element:hover{border-color:#9fb8ff}.om-next-element.selected{border:2px solid #235ce7;box-shadow:0 0 0 3px #235ce71b}.om-next-element img{width:100%;height:100%;object-fit:contain}.om-next-resize{position:absolute;right:0;bottom:0;background:#235ce7;color:white;font-size:13px;padding:3px;cursor:nwse-resize}.om-next-properties{display:grid;gap:10px}.om-next-properties h2{font-size:19px;margin:0}.om-next-properties h3{font-size:15px;margin:8px 0 0}.om-next-properties label{font-size:12px;font-weight:650;display:block}.om-next-properties input:not([type=checkbox]),.om-next-properties select,.om-next-properties textarea{width:100%;margin-top:5px;font-size:14px}.om-next-properties input[type=checkbox]{display:inline-block;vertical-align:middle;min-width:18px;min-height:18px}.om-next-properties button{min-height:42px}.om-next-properties hr{border:0;border-top:1px solid var(--om-line);width:100%}.om-next-reactions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:12px auto;padding:9px;max-width:560px;background:#fff;border:1px solid #dce7f3;border-radius:16px}.om-next-reactions span{color:#5c6b82;font-size:13px}.om-next-reactions button.om-next-react{padding:5px 10px;min-width:48px;font-size:25px!important;border-radius:15px;background:#fff;border:1px solid #dbe5ef;filter:drop-shadow(0 2px 2px #aaa4);transition:transform .18s}.om-next-reactions button:hover{transform:translateY(-5px) scale(1.12);background:linear-gradient(120deg,#ffe1e8,#fff5ca,#d5f6e2,#e0dcff)}.om-next-reaction-float{position:fixed;z-index:99999;pointer-events:none;inset:0;overflow:hidden}.om-next-floating-emoji{position:absolute;bottom:3%;font-size:clamp(35px,5vw,80px);filter:drop-shadow(0 6px 4px #5365ac55);animation:om-float-fade 2.8s ease-out forwards}@keyframes om-float-fade{0%{transform:translateY(0) scale(.7) rotate(-12deg);opacity:0}20%{opacity:1}75%{opacity:.92}100%{transform:translateY(-62vh) scale(1.25) rotate(12deg);opacity:0}}
.om-next-chart{background:white;border:1px solid #e4eaf3;border-radius:16px;padding:18px;max-width:950px;margin:12px auto;animation:om-chart-reveal .55s both}@keyframes om-chart-reveal{from{transform:translateY(6px);opacity:.4}to{transform:translateY(0);opacity:1}}
.om-next-vbars{display:flex;align-items:stretch;justify-content:center;gap:10px;height:280px}.om-next-vitem{flex:1 1 15%;min-width:30px;max-width:148px;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:stretch;gap:8px;font-size:14px;text-align:center}.om-next-vitem .om-next-vbar{border-radius:12px 12px 2px 2px;transition:height .8s cubic-bezier(.2,.6,.2,1);position:relative;min-height:2px}.om-next-vbar strong{position:absolute;top:-27px;left:0;right:0;text-align:center;color:#172743}.om-next-vitem small{min-height:35px}.om-next-hitem{margin-bottom:13px}.om-next-htrack{height:22px;background:#eef2f9;border-radius:15px;overflow:hidden}.om-next-hbar{width:0%;height:100%;border-radius:15px;transition:width .85s ease}.om-next-legend{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.om-next-legend span{padding:3px 8px;background:#f6f8fc;font-size:12px}.om-next-cloud{position:relative;min-height:350px;height:min(50vh,600px);width:100%;background:#fff;overflow:hidden;border-radius:18px}.om-next-word{position:absolute;display:block;white-space:nowrap;transition:all .7s cubic-bezier(.15,.45,.15,1);animation:om-word-arrive .8s both;text-shadow:0 2px 3px #ffffff}@keyframes om-word-arrive{from{opacity:0;transform:scale(.78)}to{opacity:1;transform:scale(1)}}
.om-next-end-form,.om-next-end-form label{display:grid;gap:9px}.om-next-end-form{border:1px solid #dbe6ef;border-radius:18px;padding:16px;margin:14px 0;background:#fff}.om-next-stars{display:flex;gap:8px;justify-content:center}.om-next-star{font-size:clamp(25px,6vw,44px)!important;background:white;color:#d5dae4;border:0;cursor:pointer}.om-next-star.active{color:#ffbd26;text-shadow:0 0 9px #ffcc648f}.om-next-end-form input[type=email]{width:100%}
@media (max-width:1100px){.om-next-grid{grid-template-columns:125px 1fr}.om-next-properties{grid-column:1/-1}.om-next-slides{max-height:600px}}@media(max-width:700px){.om-next-grid{display:flex;flex-direction:column}.om-next-slides{display:flex;position:static;overflow-x:auto;max-width:100%;width:100%}.om-next-thumb{min-width:135px}.om-next-center,.om-next-properties{width:100%}.om-next-tools{overflow-x:auto;flex-wrap:nowrap}.om-next-canvas-area{padding:12px 0}.om-next-canvas{min-width:300px}.om-next-vbars{height:200px}.om-next-cloud{min-height:300px}}
@media (prefers-reduced-motion:reduce){.om-next-floating-emoji,.om-next-word,.om-next-chart{animation:none!important}.om-next-hbar,.om-next-vbar{transition:none!important}}

.om-next-has-layout{position:relative}.om-next-live-layout{width:100%;aspect-ratio:16/9;position:relative;background:#fff;margin-top:1.5rem;border:1px solid #e6ecf7;border-radius:12px;overflow:hidden}.om-next-live-layout::after{content:'';position:absolute;bottom:0;left:0;right:0;height:10px;background:var(--om-rainbow)}.om-next-live-element{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;white-space:pre-wrap;overflow:hidden;word-wrap:break-word;line-height:1.13;font-weight:650}.om-next-live-element img{height:100%;width:100%;object-fit:contain}

.om-next-custom-stage{background:#fff!important;padding:0!important;overflow:hidden}.om-next-custom-stage .om-next-live-layout{margin:0;border:0;box-shadow:none}.om-next-live-element.om-next-question{display:flex;flex-direction:column;align-items:stretch;justify-content:start;padding:1% 2%;font-size:inherit!important}.om-next-layout-question{font-size:clamp(14px,2vw,30px);line-height:1.1;margin:0 0 10px;text-align:left}.om-next-custom-stage .om-next-chart{padding:5px;margin:0;width:100%;flex:1;min-height:0;overflow:hidden}.om-next-custom-stage .om-next-vbars{height:65%;min-height:100px}.om-next-custom-stage .om-next-vitem small{font-size:12px}.om-next-custom-stage .om-next-cloud{min-height:180px;height:90%}.om-next-live-caption{margin:2px 14px 6px;font-size:13px;color:#44627f}

#omNextCreate{border:1px solid #d7e2f0;border-radius:18px;padding:25px;max-width:min(580px,92vw);box-shadow:0 22px 80px #152d4855}#omNextCreate::backdrop{background:#132441aa}#omNextCreate form{display:grid;gap:12px}#omNextCreate label{display:block}#omNextCreate input,#omNextCreate textarea,#omNextCreate select{display:block;width:100%;margin-top:5px}#omNextCreate .actions{display:flex;gap:10px}

/* Studio 2.2: proiezione fedele alla geometria 16:9. */
.om-next-live-element{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.1;flex-direction:column}.om-next-live-element.om-next-shape{box-shadow:0 2px 9px #00000022}.om-next-live-element.om-next-chart-container{align-items:stretch;justify-content:center;background:transparent}.om-next-live-element.om-next-chart-container .om-next-chart{height:100%;overflow:hidden}.om-next-live-element.om-next-chart-container .om-next-vbars{height:65%}.om-next-live-layout .om-studio-shape-triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}.om-next-live-layout .om-studio-shape-diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.om-next-live-layout .om-studio-shape-hexagon{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.om-next-live-layout .om-studio-shape-star{clip-path:polygon(50% 0,61% 34%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 34%)}.om-next-live-layout .om-studio-shape-arrow{clip-path:polygon(0 30%,70% 30%,70% 0,100% 50%,70% 100%,70% 70%,0 70%)}.om-next-live-layout .om-studio-shape-line{clip-path:polygon(0 40%,100% 40%,100% 60%,0 60%)}.om-next-live-layout .om-studio-shape-chevron{clip-path:polygon(0 0,36% 0,100% 50%,36% 100%,0 100%,64% 50%)}.om-next-live-layout .om-studio-shape-speech{clip-path:polygon(0 0,100% 0,100% 80%,35% 80%,19% 100%,19% 80%,0 80%)}.om-next-live-layout .om-studio-shape-heart{clip-path:polygon(50% 96%,11% 59%,0 28%,10% 7%,30% 2%,50% 23%,70% 2%,90% 7%,100% 28%,89% 59%)}
/* Reazioni della pace: alone arcobaleno anche su emoji dal colore nativo del dispositivo. */
.om-next-floating-emoji{background:conic-gradient(#f43f5e,#ff922b,#facc15,#20bc75,#2585ec,#7c4dff,#f43f5e);border:3px solid white;border-radius:99px;padding:.12em .18em;box-shadow:0 6px 18px #1b2c6245}
.om-next-reactions button.om-next-react{border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,#f43f5e,#ff922b,#facc15,#20bc75,#2585ec,#7c4dff) border-box}

/* Distribuzione reale e indicatore medio rating (schema scala discreta, non inferenza) */
.om-next-rating-density{display:flex;gap:7px;align-items:flex-end;width:100%;height:250px;padding:12px 12px 0;border-bottom:3px solid #3c5e9e}
.om-next-density-bin{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0}
.om-next-density-bin i{display:block;width:100%;min-height:2px;border-radius:12px 12px 0 0;transition:height .85s ease}
.om-next-density-bin span{font-size:12px;font-weight:700;line-height:1.4}
.om-next-rating-gauge{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px;min-height:240px}
.om-next-rating-gauge .meter{height:140px;max-width:320px;width:90%;border-radius:320px 320px 0 0;border:35px solid transparent;border-bottom:0;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#f14163,#f2bc25,#22b771) border-box;position:relative}
.om-next-rating-gauge .pointer{width:5px;height:105px;background:#17263f;position:absolute;bottom:0;left:50%;transform-origin:bottom;transition:transform 1s cubic-bezier(.2,.7,.2,1);border-radius:10px}
.om-next-rating-gauge strong{font-size:clamp(23px,3vw,42px)}
.om-next-rating-scatter{min-height:250px;aspect-ratio:16/10;border:2px solid #a2adc5;position:relative;background-image:linear-gradient(#c8d2e45e 1px,transparent 1px),linear-gradient(90deg,#c8d2e45e 1px,transparent 1px);background-size:10% 10%}
.om-next-rating-scatter .dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#2585ec;box-shadow:0 0 0 3px #2585ec30}
.om-next-cloud-editorial{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:12px 22px;padding:30px;overflow:hidden}
.om-next-cloud-editorial .om-next-word{position:static!important;display:inline-block;animation:om-word-arrive .7s both;line-height:1.2;max-width:100%}
.om-next-cloud-editorial .om-next-word-vertical{writing-mode:vertical-rl;line-height:1.2;font-size:clamp(15px,2vw,36px)!important;max-height:190px}
@media(prefers-reduced-motion:reduce){.om-next-density-bin i,.om-next-rating-gauge .pointer{transition:none!important}}

/* Posizione della mappa nella proiezione uguale all'editor Studio. */
.om-next-map-object{position:absolute;z-index:4;border-radius:7px;overflow:hidden;background:#e8f2f4;box-shadow:0 3px 14px #19365428}
.om-next-map-object .om18-map-results{position:absolute;inset:0;display:flex;flex-direction:column;margin:0;padding:0!important;width:100%;height:100%;border:0!important;overflow:hidden}
.om-next-map-object .om18-map-results > p,.om-next-map-object .om18-map-results > button{display:none!important}
.om-next-map-object .om18-map-results .om2-google-map{flex:1;height:auto!important;min-height:40px;width:100%;border-radius:0}
.om-next-map-title{position:absolute;top:6%;left:7%;width:86%;font-size:clamp(14px,2.4vw,38px)!important;margin:0;text-align:left}

/* OpenMenti 2.2.4: mosaico delle parole senza sovrapposizioni, orientamento misto. */
.om-next-cloud-mosaic,.om-next-cloud-spiral,.om-next-cloud-editorial{display:block!important;padding:0!important;align-content:normal!important;overflow:hidden!important}
.om-cloud-word-box{position:absolute;display:block;pointer-events:auto;transition:left .65s ease,top .65s ease,width .65s ease,height .65s ease;animation:om-cloud-mosaic-arrive .45s ease both}
.om-cloud-word-box>span{position:absolute;left:50%;top:50%;display:block;max-width:none;white-space:nowrap;line-height:1.25;transform-origin:center;transition:font-size .65s ease,transform .6s ease;color .6s ease;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.035em}
@keyframes om-cloud-mosaic-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.om-cloud-word-box,.om-cloud-word-box>span{animation:none!important;transition:none!important}}

/* Studio 2.3 geometry parity: clip only in projector, not editor. */
.om-next-live-element.om-next-image{overflow:hidden}
.om-next-live-element.om-next-image img{height:100%;width:100%;object-fit:cover}
.om-next-live-layout{overflow:hidden!important}
.om-next-live-layout .om-studio-shape-arrow{clip-path:polygon(0 var(--arrow-top,30%),calc(100% - var(--arrow-head,30%)) var(--arrow-top,30%),calc(100% - var(--arrow-head,30%)) 0,100% 50%,calc(100% - var(--arrow-head,30%)) 100%,calc(100% - var(--arrow-head,30%)) var(--arrow-bottom,70%),0 var(--arrow-bottom,70%))}
.om-next-live-layout .om-studio-shape-line{clip-path:polygon(0 var(--arrow-top,40%),100% var(--arrow-top,40%),100% var(--arrow-bottom,60%),0 var(--arrow-bottom,60%))}

/* 2.4: distribution buckets contiguous, bars categorical separated. */
.om-next-vbars.om24-histogram{gap:0!important;justify-content:center}
.om-next-vbars.om24-histogram .om-next-vitem{margin:0;flex:1;min-width:0}
.om-next-vbars.om24-histogram .om-next-vbar{border-radius:2px 2px 0 0}
.om-next-vbars:not(.om24-histogram){gap:clamp(8px,1.2vw,24px)}
.om-next-chart{display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%;max-width:100%;height:100%;min-height:0;margin:0 auto;padding:clamp(8px,1.3vw,20px)}
.om-next-chart:has(>canvas){align-items:center;justify-content:center;gap:clamp(8px,1vh,16px)}
.om-next-chart canvas{display:block;width:auto;max-width:100%;max-height:min(65vh,80%);object-fit:contain;flex:1;min-height:0}
.om-next-chart .om-next-legend{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px;flex:0 0 auto}
.om-next-chart .om-next-legend span{font-size:clamp(11px,.95vw,17px)}
.om-next-live-element.om-next-chart-container .om-next-chart{border:0;box-shadow:none}
.om-next-live-element.om-next-chart-container .om-next-legend span{font-size:calc(clamp(11px,1.1vw,17px) * var(--om24-content-scale,1))}
.om-next-live-element.om-next-chart-container .om-next-vitem small{font-size:calc(12px * var(--om24-content-scale,1))}

/* OpenMenti 2.4: theme-aware, voluntary feedback on the participant device. */
[data-end-feedback]:empty{display:none}
.om24-feedback-popup{display:none;position:fixed;inset:0;z-index:10050;align-items:center;justify-content:center;background:#101f3b85;padding:16px;overflow-y:auto}
.om24-feedback-popup.om24-popup-open{display:flex}
.om24-feedback-card{position:relative;box-sizing:border-box;width:min(100%,560px);margin:18px auto;padding:clamp(20px,3vw,36px);background:var(--om-feedback-bg,#fff);color:#14274e;border:1px solid #e0e7f1;border-radius:22px;box-shadow:0 12px 32px #10254418;text-align:center}
.om24-feedback-close{position:absolute;top:12px;right:14px;min-width:38px;min-height:38px;background:transparent;border:0;color:#526986;font-size:29px;cursor:pointer}
.om24-feedback-heart{width:38px;height:38px;line-height:38px;margin:0 auto 12px;background:#eef3ff;border-radius:50%;font-size:23px;color:#315deb}
.om24-feedback-card h2{font-size:clamp(20px,3vw,32px);color:#14274e;margin:4px 22px 6px}
.om24-feedback-subtitle{font-size:clamp(13px,1.4vw,17px);color:#5e708a;margin-bottom:20px}
.om24-feedback-form{display:grid;gap:12px}.om24-feedback-stars{display:flex;justify-content:center;gap:clamp(2px,2vw,12px)}
.om24-feedback-star{background:transparent;border:0;color:#bdc9d9;font-size:clamp(30px,6vw,48px);padding:4px;min-width:40px;min-height:44px;cursor:pointer;transition:transform .15s}
.om24-feedback-star.active{color:#f2b91f}.om24-feedback-star:hover{transform:scale(1.11)}
.om24-feedback-hint{font-size:12px;color:#6d7d99}.om24-feedback-form>label:not(.om24-feedback-consent){display:flex;flex-direction:column;text-align:left;gap:5px;font-weight:650}
.om24-feedback-form input[type=email]{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #d7e0ec;border-radius:18px;font-size:15px}
.om24-feedback-consent{display:flex;align-items:start;gap:9px;text-align:left;font-size:12px;line-height:1.6;color:#536783}
.om24-feedback-consent input{margin-top:5px;flex:none}
.om24-feedback-privacy{font-size:12px;text-align:left;text-decoration:underline;color:#315deb}
.om24-feedback-submit{border:0;border-radius:15px;background:#305ce8;color:#fff;font-weight:750;font-size:15px;padding:14px;cursor:pointer}
.om24-feedback-submit:disabled{opacity:.5}.om24-feedback-skip{border:0;background:transparent;color:#536783;font-size:13px;cursor:pointer}
.om24-feedback-status{color:#b31c37;font-size:12px}.om24-feedback-thanks{margin:22px auto;text-align:center;font-weight:720;font-size:20px}

.om24-feedback-card{color:var(--om-feedback-text,#14274e)}
.om24-feedback-card h2{color:var(--om-feedback-text,#14274e)}
.om24-feedback-card .om24-feedback-subtitle,.om24-feedback-card .om24-feedback-hint{color:var(--om-feedback-text,#5e708a);opacity:.8}

/* 2.4.1: resize chart CONTENT, not only its box; corner grip stores --om24-content-scale. */
.om-next-live-element.om-next-chart-container{container-type:size}
.om-next-live-element.om-next-chart-container .om-next-chart{width:100%;height:100%;padding:clamp(4px,1.4cqw,24px)!important;justify-content:center;box-sizing:border-box;overflow:hidden}
.om-next-live-element.om-next-chart-container .om-next-chart-gauge{justify-content:center}
.om-next-chart-gauge .om-next-rating-gauge{height:100%;width:100%;min-height:0;gap:clamp(2px,1cqh,18px);padding:2%;justify-content:center;container-type:size}
.om-next-chart-gauge .om-next-rating-gauge .meter{width:min(85cqw,170cqh);max-width:none;height:auto;aspect-ratio:2/1;border-width:clamp(10px,7cqh,65px);border-bottom:0;min-height:0;border-radius:1000px 1000px 0 0;flex:none}
.om-next-chart-gauge .om-next-rating-gauge .pointer{height:72%;width:clamp(3px,.7cqw,10px)}
.om-next-chart-gauge .om-next-rating-gauge strong{font-size:calc(clamp(19px,5cqh,76px) * var(--om24-content-scale,1))}
.om-next-chart-gauge .om-next-rating-gauge small{font-size:calc(clamp(11px,2.1cqh,26px) * var(--om24-content-scale,1));text-align:center}
.om-next-live-element.om-next-chart-container .om-next-chart canvas{max-height:80%;width:min(80cqw,80cqh);height:min(80cqw,80cqh);flex:0 1 auto}
.om-next-live-element.om-next-chart-container .om-next-vbars{height:80%;width:100%}
.om-next-live-element.om-next-chart-container .om-next-vitem small{font-size:calc(clamp(10px,2cqh,24px) * var(--om24-content-scale,1))!important}
.om-next-live-element.om-next-chart-container .om-next-hitem{font-size:calc(clamp(11px,2.2cqh,23px) * var(--om24-content-scale,1))}
.om-next-live-element.om-next-chart-container .om-next-legend span{font-size:calc(clamp(10px,1.8cqh,20px) * var(--om24-content-scale,1))}
/* Feedback buttons are excluded from the site's generic gradient buttons. */
body .om24-feedback-popup .om24-feedback-close{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;transform:none!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:50%!important;background:#f0f3fa!important;color:#334665!important;border:0!important;box-shadow:none!important;font-size:24px!important;z-index:5}
body .om24-feedback-popup .om24-feedback-close:after,body .om24-feedback-popup .om24-feedback-star:after{display:none!important}
body .om24-feedback-popup .om24-feedback-star{appearance:none!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#b7c4d6!important;min-width:40px!important;min-height:42px!important;padding:2px!important;transform:none!important;font-size:clamp(33px,6vw,50px)!important}
body .om24-feedback-popup .om24-feedback-star.active{color:var(--om-star-color,#f1ba25)!important}
body .om24-feedback-popup .om24-feedback-star:focus-visible{outline:3px solid #3867e9;outline-offset:2px}
body .om24-feedback-popup .om24-feedback-consent input{accent-color:#315be8}
body .om24-feedback-popup .om24-feedback-card{max-height:calc(100dvh - 24px);overflow-y:auto;padding-top:clamp(24px,3vw,36px)}

/* 2.4.1: projector default word-cloud layout uses real aggregate responses. */
.om-next-cloud-autofill .om-next-cloud{width:100%;height:100%;min-height:0;background:transparent;border:0;padding:0}
.om-next-cloud-autofill .om-next-cloud-empty{display:grid;place-items:center;text-align:center;color:#526b91;font-size:clamp(18px,2.8vw,37px);font-weight:650}

/* Side grips only resize the graph frame. Content zoom follows diagonal content_scale.
   Use viewport-independent preferred measures, bounded by container to prevent clipping. */
.om-next-chart-gauge .om-next-rating-gauge .meter{width:min(92cqw,calc(375px * var(--om24-content-scale,1)));border-width:calc(24px * var(--om24-content-scale,1))}
.om-next-chart-gauge .om-next-rating-gauge strong{font-size:calc(36px * var(--om24-content-scale,1))}
.om-next-chart-gauge .om-next-rating-gauge small{font-size:calc(16px * var(--om24-content-scale,1))}

/* OpenMenti 2.4.4 - unified legende: ogni voce è indivisibile; va a capo solo fra voci. */
.om-next-chart .om-next-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;min-width:0;max-width:100%;width:100%;overflow:visible}
.om-next-chart .om-next-legend .om244-legend-item,.om-next-chart .om-next-legend>span{box-sizing:border-box;display:inline-flex;flex:0 0 auto;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;align-items:center;max-width:none;min-width:max-content;line-height:1.25}
/* Preserve individual labels even when there is little room: no half-word, no broken category. */
.om2-map-result-legend{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:center}
.om2-map-result-legend li{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:max-content;flex:0 0 auto}
.om2-map-result-legend li span{white-space:nowrap!important}

/* OpenMenti 2.4.6: categorical bars aligned; count labels outside bars. */
.om-next-vbars .om-next-vitem{display:grid;grid-template-rows:minmax(0,1fr) 2.6em;align-items:stretch;justify-content:stretch;gap:4px;min-width:0;min-height:0;height:100%}
.om-next-vbars .om246-vbar-area{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:visible;padding-top:1.55em;box-sizing:border-box}
.om-next-vbars .om-next-vbar{width:100%;min-height:0!important;flex:none;max-height:84%}
.om-next-vbars .om246-bar-count{position:absolute;bottom:calc(var(--om246-bar-height, 0) + 2px);left:0;right:0;text-align:center;font-size:clamp(12px,1.7cqh,20px);color:#142744;line-height:1.2;pointer-events:none}
.om-next-vbars .om246-bar-label{display:block;width:100%;max-width:100%;min-height:0!important;height:2.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:2.5em;text-align:center;font-size:clamp(10px,1.55cqh,17px)}
.om-next-vbars.om24-histogram .om-next-vbar{border-radius:0}
.om-next-live-element.om-next-text{overflow:visible!important;z-index:4;line-height:1.22}
.om-next-cloud-autofill,.om-next-live-element.om-next-chart-container{z-index:1}


/* OpenMenti 2.4.7 — bar renderer with aligned typography in every graph.
   All sizes depend on saved diagonal content_scale; container limits only prevent clipping. */
.om-next-live-element.om-next-chart-container .om-next-chart{--om247-chart-scale:var(--om24-content-scale,1);min-width:0;min-height:0}
.om-next-chart .om-next-vbars .om246-bar-count{
  font-size:min(calc(23px * var(--om247-chart-scale,var(--om24-content-scale,1))),7cqh)!important;
  font-weight:850;line-height:1.15;white-space:nowrap;paint-order:normal;
}
.om-next-chart .om-next-vbars .om246-bar-label{
  font-size:min(calc(17px * var(--om247-chart-scale,var(--om24-content-scale,1))),5cqh)!important;
  line-height:1.3;align-self:stretch;
}
.om-next-chart.om-next-chart-bars_horizontal{justify-content:center;gap:min(1.5cqh,10px)}
.om-next-chart .om247-arrow-row{
  display:grid;grid-template-columns:minmax(0,29%) minmax(0,1fr) minmax(1.7em,auto);
  align-items:center;column-gap:clamp(5px,1.2cqw,14px);margin:0;
  min-height:0;flex:1 1 0;max-height:20%;font-size:min(calc(17px * var(--om247-chart-scale,var(--om24-content-scale,1))),4.5cqh);
}
.om-next-chart .om247-hlabel{text-align:left;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;
 white-space:nowrap!important;line-height:1.25;font-size:1em;font-weight:650;color:#14274e}
.om-next-chart .om247-arrow-track{height:clamp(20px,8cqh,48px);min-width:0;overflow:visible;
 border-radius:4px;background:#eaf0f8;position:relative}
.om-next-chart .om247-arrow-fill{border-radius:0;clip-path:polygon(0 0,calc(100% - min(5cqh,18px)) 0,100% 50%,calc(100% - min(5cqh,18px)) 100%,0 100%);
 min-width:0;filter:drop-shadow(0 1px 1px #14274e22)}
.om-next-chart .om247-hcount{font-size:1.22em;font-weight:800;line-height:1;text-align:right;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.om-next-chart .om247-arrow-fill{transition:none!important}}
/* 2.4.7 typography overrides: legacy responsive rules must not freeze the saved zoom. */
.om-next-live-element.om-next-chart-container .om-next-chart .om247-arrow-row{
 font-size:min(calc(18px * var(--om247-chart-scale,var(--om24-content-scale,1))),12cqh)!important;
}
.om-next-live-element.om-next-chart-container .om-next-chart .om-next-vbars .om246-bar-label{
 font-size:min(calc(17px * var(--om247-chart-scale,var(--om24-content-scale,1))),10cqh)!important;
}
.om-next-live-element.om-next-chart-container .om-next-chart .om-next-legend>span{
 font-size:min(calc(16px * var(--om247-chart-scale,var(--om24-content-scale,1))),9cqh)!important;
}
.om-next-live-element.om-next-chart-container .om-next-chart .om-next-density-bin span,
.om-next-live-element.om-next-chart-container .om-next-chart.om-next-chart-density>p{
 font-size:min(calc(16px * var(--om247-chart-scale,var(--om24-content-scale,1))),9cqh)!important;
}
.om-next-live-element.om-next-chart-container .om-next-chart.om-next-chart-scatter>small{
 font-size:min(calc(16px * var(--om247-chart-scale,var(--om24-content-scale,1))),9cqh)!important;
}
.om-next-live-element.om-next-chart-container .om-next-chart .om-next-vbars .om246-bar-count{
 font-size:min(calc(23px * var(--om247-chart-scale,var(--om24-content-scale,1))),12cqh)!important;
}
