/* OpenMenti 1.0.1 | design tokens, accessible layouts, desktop + mobile */
:root{--bg:#f8f7fc;--ink:#241951;--muted:#6b6681;--card:#fff;--primary:#6442ed;--primary-dark:#4a28c6;--edge:#e9e6f3;--red:#bd3351;--mint:#70e2d3;--shadow:0 14px 45px rgba(39,27,84,.07);--round:22px}
*{box-sizing:border-box}html{background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;overflow-x:hidden}button,input,select,textarea{font:inherit}button{touch-action:manipulation}a{color:var(--primary-dark);text-underline-offset:3px;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #18b9ad;outline-offset:3px}.skip-link{position:absolute;left:10px;top:-100px;z-index:2000;background:white;padding:12px;border-radius:12px}.skip-link:focus{top:10px}
.site-header{position:relative;z-index:20;background:#fff;border-bottom:1px solid var(--edge);min-height:78px}.header-inner{max-width:1260px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:15px 28px}.brand{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:1.45rem;letter-spacing:-.055em;font-weight:850;color:var(--ink)}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;background:var(--primary);color:#fff;border-radius:13px;width:37px;height:37px;font-size:23px;margin-right:4px}.brand small{font-size:.66rem;font-weight:850;color:var(--primary);letter-spacing:0;align-self:flex-start;margin-top:2px}.site-header nav{display:flex;align-items:center;justify-content:flex-end;gap:19px;flex-wrap:wrap}.site-header nav>a{font-size:.93rem;font-weight:700;color:var(--ink)}.site-header nav>.nav-signup{color:#fff;padding:10px 15px}.site-header nav>.nav-signup:hover{color:#fff}.site-header nav form{margin:0}.nav-user{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.87rem;color:var(--muted)}.nav-toggle{display:none}main{max-width:1260px;margin:auto;padding:36px 28px 80px;min-height:73vh}footer{text-align:center;padding:25px 18px 35px;color:var(--muted);font-size:.82rem;border-top:1px solid var(--edge)}.eyebrow{display:block;color:var(--primary);font-size:.77rem;font-weight:850;letter-spacing:.12em;margin:0 0 8px;text-transform:uppercase}h1,h2,h3{letter-spacing:-.045em;line-height:1.13}h1{font-size:clamp(2.15rem,4.5vw,3.65rem);margin:0 0 15px;font-weight:850}h2{font-size:clamp(1.5rem,2.5vw,2rem);margin:0 0 13px}h3{font-size:1.18rem;margin:0 0 10px}p{line-height:1.65;margin:0 0 16px}.muted{color:var(--muted)}.tiny{font-size:.82rem}.narrow{max-width:560px;margin:28px auto}.card{background:var(--card);border:1px solid var(--edge);border-radius:var(--round);box-shadow:var(--shadow);padding:28px;margin-bottom:18px;min-width:0}.card.compact{padding:20px 23px}.badge{display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:7px 13px;color:var(--primary-dark);background:#eeeaff;font-weight:800;font-size:.75rem;letter-spacing:.045em}.page-heading,.split{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:23px}.page-heading h1{margin-bottom:7px}.page-heading>div{min-width:0}.page-heading p{margin:0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:40px 0 19px}.section-heading h2{margin:0}.section-heading>p{color:var(--muted);max-width:425px;margin:0}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tiles>.card{margin:0}.actions,.controls{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin:15px 0}.actions form,.controls form{margin:0}.inline{display:flex;align-items:stretch;gap:11px}.inline input{flex:1;min-width:0}button,.button{border:1px solid transparent;background:var(--primary);color:white;border-radius:13px;min-height:45px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:770;font-size:.94rem;text-decoration:none;text-align:center;line-height:1.2;transition:background .15s,transform .15s,box-shadow .15s}button:hover,.button:hover{background:var(--primary-dark);color:#fff;box-shadow:0 7px 17px #6442ed29;text-decoration:none;transform:translateY(-1px)}.ghost{background:#f1edff;color:var(--primary-dark);border-color:#e8e0ff}.ghost:hover{background:#e9e1ff;color:var(--primary-dark)}.danger{background:var(--red)}.danger:hover{background:#9e2444}.danger.ghost{background:#fff0f3;color:var(--red);border-color:#ffe0e8}.danger.ghost:hover{background:#ffe4e9;color:#99233d}.linkbtn{background:transparent;padding:7px 0;color:var(--primary-dark);min-height:32px}.linkbtn:hover{background:transparent;box-shadow:none;color:var(--primary-dark)}button:disabled,.button:disabled{cursor:not-allowed;opacity:.45;transform:none;box-shadow:none}label{display:block;font-weight:720;font-size:.93rem;margin:17px 0 10px}label input,label select,label textarea{margin-top:9px}input:not([type=hidden]):not([type=radio]):not([type=checkbox]),textarea,select{width:100%;min-width:0;border:1px solid #d4cfe5;color:var(--ink);background:#fff;padding:13px 15px;border-radius:12px;min-height:48px;font-weight:500;max-width:100%}input::placeholder,textarea::placeholder{color:#948ca8}textarea{min-height:112px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:var(--primary);outline:3px solid #6442ed2e}hr{border:0;border-top:1px solid var(--edge);margin:24px 0}.notice{background:#def7ef;border:1px solid #b6ead8;color:#175644;border-radius:14px;padding:16px 20px;margin-bottom:20px}.error{background:#fff1f4;border:1px solid #f8ccda;color:#a12340;border-radius:12px;padding:16px;margin-bottom:16px}.count-badge{background:#eae5fb;color:#5b3cce;border-radius:30px;padding:4px 11px;font-size:1rem;vertical-align:middle}.status-pill{display:inline-block;padding:7px 12px;font-size:.76rem;border-radius:50px;background:#efecfa;color:#5f537c;font-weight:840;white-space:nowrap}.status-live{background:#e0f9f1;color:#116c51}.status-draft{background:#f2f0f7;color:#6f6782}.status-ended{background:#ede8ff;color:#5834c7}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Public homepage */
.hero{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:35px;align-items:center;overflow:hidden;isolation:isolate;border-radius:32px;padding:65px clamp(27px,5%,65px);color:#fff;background:radial-gradient(circle at 96% 0%,#a272fd 0,transparent 36%),radial-gradient(circle at 60% 90%,#7550ee 0,transparent 39%),linear-gradient(120deg,#241951,#4c2ea6 85%);min-height:510px}.hero:after{content:"";position:absolute;border-radius:50%;width:360px;height:360px;right:-180px;bottom:-220px;border:50px solid #ffffff10;z-index:-1}.hero h1{font-size:clamp(2.65rem,4.8vw,5rem);font-weight:900;line-height:1.01;max-width:640px;margin:18px 0 26px}.hero h1 em{font-style:normal;color:#8af9e7}.hero p{color:#e6ddff;font-size:clamp(1.04rem,1.6vw,1.25rem);max-width:540px}.hero .hero-foot{font-size:.87rem;opacity:.85;margin:24px 0 0}.hero-badge{background:#ffffff1f;color:#fff;border:1px solid #ffffff4f;font-size:.69rem}.hero-cta{background:#92f5dc;color:#1d2552}.hero-cta:hover{background:#b0ffe9;color:#1d2552}.hero-outline{border:1px solid #ffffff70;background:#ffffff15;color:#fff}.hero-outline:hover{background:#ffffff30}.hero-preview{background:#fff;color:var(--ink);border-radius:23px;padding:26px;box-shadow:0 22px 55px #150d4790;transform:rotate(2deg);max-width:480px;width:100%;margin:auto}.preview-top{display:flex;justify-content:space-between;align-items:center;font-size:.76rem;color:var(--muted);font-weight:800;border-bottom:1px solid var(--edge);padding-bottom:20px}.dot-live{color:#158767}.preview-eyebrow{font-size:.69rem!important;letter-spacing:.1em;font-weight:850;color:var(--primary)!important;margin:22px 0 10px!important}.hero-preview h2{font-size:clamp(1.35rem,2vw,1.8rem);max-width:310px;margin-bottom:25px}.preview-result{margin:17px 0}.preview-result>span{display:flex;justify-content:space-between;font-size:.87rem;font-weight:700;margin-bottom:7px}.preview-result i{display:block;background:linear-gradient(90deg,#6d4fee,#9a87fa);height:13px;border-radius:99px}.preview-result:nth-of-type(3) i{background:linear-gradient(90deg,#3fbfac,#8ae1d3)}.preview-result:nth-of-type(4) i{background:linear-gradient(90deg,#f3a1d5,#fcceec)}.preview-bottom{font-size:.8rem;color:var(--muted);text-align:right;margin-top:25px}.feature-card{min-height:210px}.feature-card p{color:var(--muted);margin-bottom:0}.feature-icon{font-weight:850;display:grid;place-items:center;background:#eee8ff;color:#6744e6;width:49px;height:49px;border-radius:15px;font-size:1.5rem;margin-bottom:22px}.feature-icon.mint{background:#daf8f0;color:#149b83}.feature-icon.pink{background:#fbe6f3;color:#d0489e}.how-section{background:#eeeaf9;border-radius:29px;padding:45px;margin:38px 0 0}.how-section .tiles{margin:25px 0}.how-section .tiles article{padding:22px;background:white;border-radius:18px;min-width:0}.step-number{display:inline-block;color:var(--primary);font-size:1.6rem;font-weight:900;margin-bottom:14px}
/* Presenter workspace */
.create-card{background:linear-gradient(100deg,#fff 60%,#f0ebff);display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:center;padding:35px}.create-card h2 span{color:var(--primary)}.create-card p{margin:0}.create-card .inline{align-items:end}.presentation-card{display:flex;flex-direction:column;min-height:248px;transition:transform .2s}.presentation-card:hover{transform:translateY(-3px)}.presentation-card h3{font-size:1.35rem;line-height:1.25;margin:14px 0 12px;overflow-wrap:anywhere}.presentation-card .presentation-card-top{display:flex;justify-content:space-between;align-items:center}.presentation-ornament{font-size:2.2rem;color:#e7dfff}.presentation-card .actions{margin-top:auto;margin-bottom:0}.presentation-card .actions .button{flex:1}.presentation-code{margin:0 0 18px;color:var(--muted);font-size:.89rem}.presentation-code b{color:var(--ink);letter-spacing:.1em}.empty-state{grid-column:1/-1;text-align:center;padding:55px 15px}.empty-state>span{font-size:3rem;color:var(--primary)}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-grid .card{min-width:0}.account-card .split{margin:0}.account-card .account-meta{margin:9px 0 0;font-size:.86rem;overflow-wrap:anywhere}.avatar{width:32px;height:32px;border-radius:50%;background:#eee8ff;color:var(--primary);display:inline-grid;place-items:center;margin-right:7px}.account-edit{border-top:1px solid var(--edge);padding-top:16px}.type-visual{background:#f6f2ff;display:flex;gap:15px;border:1px solid #ece5ff;padding:15px;border-radius:15px;margin:12px 0 18px}.type-visual strong{display:block}.type-visual p{color:var(--muted);font-size:.88rem;margin:4px 0 0}.type-visual-icon{font-size:1.7rem;color:var(--primary)}.inline-help{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.85rem;margin:17px 0}.help-tip{font-size:.76rem;min-height:25px;width:25px;height:25px;padding:0;border-radius:50%}.join-card{text-align:center;padding:37px}.join-card .feature-icon{margin:0 auto 16px}.join-card label{text-align:left}.join-card button:not(.help-tip){width:100%}.join-card .code-input{font-size:1.7rem!important;letter-spacing:.23em;text-align:center;font-weight:800!important;font-variant-numeric:tabular-nums}
/* Presenter stage and participant answer screen */
.stage{position:relative;border-radius:28px;min-height:355px;margin:22px 0;padding:clamp(23px,5vw,65px);color:#fff;background:radial-gradient(circle at 95% 0%,#8a66f2 0%,transparent 47%),linear-gradient(120deg,#261953,#49329c);overflow-wrap:anywhere;overflow:hidden}.stage:after{content:"";position:absolute;right:-100px;bottom:-145px;border:45px solid #ffffff08;width:260px;height:260px;border-radius:50%;pointer-events:none}.stage>.badge{background:#ffffff24;border:1px solid #ffffff38;color:#fff}.stage .muted{color:#e0d7ff}.stage h1{font-size:clamp(2rem,4.8vw,4.65rem);line-height:1.1;max-width:1000px;margin:17px 0 27px}.stage h3{margin:22px 0 10px}.stage .results{max-width:1000px}.stage .result{margin:22px 0}.result-label{display:flex;align-items:baseline;gap:10px;justify-content:space-between;font-weight:730;margin-bottom:8px}.track{height:19px;width:100%;overflow:hidden;border-radius:30px;background:#ffffff40}.bar{width:0;height:100%;background:linear-gradient(90deg,#6fe9d7,#b4ffed);border-radius:30px;transition:width .65s cubic-bezier(.2,.8,.2,1)}.stage .result:nth-child(2n) .bar{background:linear-gradient(90deg,#e4b4ff,#fde0fb)}.stage .result:nth-child(3n) .bar{background:linear-gradient(90deg,#fdd98c,#ffe8bd)}.stage .open-answer{display:inline-block;max-width:100%;padding:13px 19px;background:#ffffff26;border:1px solid #ffffff19;border-radius:15px;margin:7px;overflow-wrap:anywhere}.cloud{display:flex;gap:13px 19px;align-items:center;justify-content:center;flex-wrap:wrap;padding:35px 12px}.cloud span{font-weight:850;line-height:1.15;overflow-wrap:anywhere;max-width:100%}.big-code{font-size:clamp(1.8rem,5vw,3rem);letter-spacing:.16em;font-variant-numeric:tabular-nums}.qr{background:white;border-radius:17px;width:178px;height:178px;padding:10px;flex-shrink:0}.qr svg{width:100%;height:100%}.card .split p{overflow-wrap:anywhere}.controls{display:flex;align-items:center;flex-wrap:wrap}.controls .button,.controls button{min-height:45px}.audience{min-height:200px}.audience h1{font-size:clamp(1.7rem,6vw,3.2rem)}.answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.answer-item{display:flex;align-items:center;gap:13px;border:1.5px solid var(--edge);background:#fcfbff;border-radius:14px;padding:18px;margin:0;cursor:pointer;min-height:64px;font-size:1.05rem}.answer-item:has(input:checked){background:#eeeaff;border-color:#8d79f1;outline:2px solid #8d79f130}.answer-item input{accent-color:var(--primary);width:18px;height:18px;flex-shrink:0}.answer-item span{overflow-wrap:anywhere}.leaders{padding-left:25px}.leaders li{margin:6px 0}.correct{color:#91ffe3}.controls .danger{margin-left:auto}details{padding:11px 0}summary{cursor:pointer;color:var(--primary-dark);font-weight:800}details[open] summary{margin-bottom:12px}
/* Public help */
.help-hero{border-radius:27px;padding:42px;background:linear-gradient(120deg,#ede6ff,#ddfff7);margin-bottom:29px}.help-hero h1{max-width:650px}.help-hero p{max-width:640px}.search-label{max-width:620px}.help-articles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.help-article{margin:0;padding:20px 24px}.help-article summary{list-style:none;display:flex;flex-direction:column;gap:4px}.help-article summary::-webkit-details-marker{display:none}.help-article summary:after{content:"+";float:right;position:absolute;right:0;top:10px;font-size:1.5rem}.help-article summary{position:relative;padding-right:35px}.help-article[open] summary:after{content:"−"}.help-article summary .eyebrow{font-size:.67rem}.help-article p{border-top:1px solid var(--edge);padding:15px 0 0;margin:12px 0 0;color:var(--muted)}
@media(max-width:1050px){.hero{grid-template-columns:1fr 1fr;padding:45px 35px}.hero h1{font-size:clamp(2.6rem,5vw,3.9rem)}.hero-preview{padding:19px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.create-card{grid-template-columns:1fr}.create-card .inline{max-width:800px}.admin-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.site-header{min-height:66px}.header-inner{padding:12px 18px;flex-wrap:wrap;gap:8px}.brand{font-size:1.23rem}.brand-mark{height:34px;width:34px}.nav-toggle{display:inline-flex;background:#f2edff;color:var(--primary-dark);min-height:42px}.site-header nav{display:none;flex-direction:column;align-items:stretch;gap:7px;width:100%;padding:13px 0 7px;border-top:1px solid var(--edge)}.site-header nav.is-open{display:flex}.site-header nav>a,.site-header nav>span,.site-header nav form{padding:10px;width:100%}.site-header nav>form>button{width:100%;justify-content:flex-start}.site-header nav>.nav-signup{display:flex;justify-content:center}.site-header nav .nav-user{max-width:100%}main{padding:23px 17px 65px}.card{padding:20px;border-radius:18px}h1{font-size:clamp(2rem,8vw,3rem)}.hero{grid-template-columns:1fr;border-radius:24px;padding:34px 23px;gap:30px;min-height:0}.hero h1{font-size:clamp(2.7rem,10vw,4.3rem)}.hero-preview{max-width:470px;transform:rotate(0)}.hero .actions .button{flex:1;min-width:190px}.hero-foot{margin-top:10px}.section-heading{margin:31px 0 18px}.feature-card{min-height:180px}.how-section{padding:27px 20px;border-radius:22px}.how-section .tiles{grid-template-columns:1fr}.tiles{grid-template-columns:1fr}.create-card{padding:24px}.create-card .inline{flex-direction:column}.create-card .inline button{width:100%}.admin-grid,.help-articles{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.button{width:auto}.stage{border-radius:19px;min-height:230px;padding:25px 20px}.stage h1{font-size:clamp(1.9rem,7vw,3.6rem)}.answer-grid{grid-template-columns:1fr}.answer-item{padding:17px;min-height:60px}.qr{margin:5px auto}.card .split{align-items:flex-start}.controls{align-items:stretch}.controls form{flex:1}.controls form>button{width:100%}.controls .danger{margin-left:0}.join-card{padding:27px 20px}.stage .open-answer{display:block;margin:8px 0}.cloud{padding:20px 0;gap:8px 12px}.help-hero{padding:28px 21px}.help-article{padding:17px}}
@media(max-width:400px){main{padding:17px 12px 55px}.header-inner{padding:9px 12px}.hero{padding:30px 17px}.hero-badge{font-size:.57rem}.actions .button{flex:1}.big-code{font-size:1.7rem}.card.compact{padding:14px}.nav-toggle span{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Question editor: glanceable outline, editing area and live representative preview. */
.editor-layout{display:grid;grid-template-columns:minmax(185px,.8fr) minmax(0,2fr) minmax(220px,1fr);gap:17px;align-items:start}.editor-layout>.editor-sidebar,.editor-layout>.editor-preview{position:sticky;top:18px}.editor-workspace{min-width:0}.editor-sidebar{padding:22px}.editor-sidebar h3{margin-bottom:7px}.editor-outline{padding-left:18px;color:var(--muted)}.editor-outline li{margin:12px 0;overflow-wrap:anywhere;font-size:.87rem}.editor-sidebar .button{width:100%;font-size:.83rem;padding:11px}.editor-preview{min-width:0}.preview-screen{color:white;border-radius:23px;padding:24px 19px;min-height:330px;background:radial-gradient(circle at 100% 0%,#8c70f0,transparent 55%),linear-gradient(125deg,#261952,#5540a6);box-shadow:var(--shadow);overflow-wrap:anywhere}.preview-screen .eyebrow{color:#e7dcff}.preview-screen .badge{background:#ffffff30;color:#fff}.preview-screen h3{margin:24px 0 19px;font-size:clamp(1.3rem,1.6vw,1.9rem);line-height:1.18}.preview-options{display:flex;gap:9px;flex-wrap:wrap;flex-direction:column}.preview-options span{background:#ffffff32;border:1px solid #ffffff2a;border-radius:8px;padding:8px 11px;font-size:.81rem}.preview-watermark{display:block;color:#c7b6ff;margin-top:22px;font-size:.8rem;font-weight:750}.editor-preview>.muted{padding:13px}.editor-workspace>h2{margin:26px 0 17px}.tour-invite{margin:8px 0 0!important;grid-column:1/-1;color:var(--primary-dark);font-weight:720;font-size:.87rem}.tour-invite button{margin-left:7px}.tour-editor-cta{font-size:.8rem;padding:10px 13px;min-height:38px}
@media(max-width:1100px){.editor-layout{grid-template-columns:minmax(160px,.8fr) minmax(0,2fr)}.editor-preview{grid-column:2;position:static!important}.editor-layout>.editor-sidebar{grid-row:span 2}}
@media(max-width:760px){.editor-layout{grid-template-columns:1fr}.editor-layout>.editor-sidebar,.editor-layout>.editor-preview{position:static;grid-column:1;grid-row:auto}.editor-sidebar{padding:19px}.editor-outline{display:flex;gap:9px;overflow-x:auto;list-style:none;padding:0;margin:12px 0}.editor-outline li{flex:0 0 auto;max-width:220px;padding:11px;background:#f2edff;border-radius:11px;margin:0}.editor-outline a{display:block}.editor-preview{order:0}.editor-workspace{order:1}.editor-sidebar{order:-1}.tour-invite button{width:auto}}
/* OpenMenti 1.1.0 — colori della pace, con contrasti leggibili sui controlli. */
:root{--bg:#f6fbf8;--ink:#1a3440;--muted:#526575;--card:#fff;--primary:#18734f;--primary-dark:#11553d;--edge:#dce8e2;--mint:#6fceb6;--shadow:0 14px 42px rgba(14,65,49,.08);--rainbow:linear-gradient(95deg,#8a5aa8 0% 14.28%,#4d5cab 14.28% 28.56%,#3298ce 28.56% 42.84%,#4fab68 42.84% 57.12%,#efd365 57.12% 71.4%,#eb8646 71.4% 85.68%,#e04b55 85.68% 100%)}
.site-header:before{content:"";display:block;height:5px;background:var(--rainbow)}.brand-mark{background:var(--rainbow)!important;color:#162f38!important;border:2px solid white}.eyebrow{color:var(--primary-dark)}
.hero,.how-section,.help-hero{background:linear-gradient(115deg,#e4f4eb,#e6f2ff 36%,#fff3df 66%,#f4e7fa)!important;color:var(--ink)}.hero h1,.hero h2,.how-section h2{color:var(--ink)}
.hero-cta,.button:not(.ghost):not(.danger),button:not(.ghost):not(.danger):not(.linkbtn):not(.nav-toggle):not(.help-tip){background:var(--primary);color:#fff}
.hero-outline{color:var(--primary-dark)!important;border-color:var(--primary-dark)!important}
.hero-preview,.preview-screen{background:radial-gradient(circle at 96% 0%,#28599f 0%,transparent 40%),linear-gradient(130deg,#163d39,#1d6261 52%,#405d85 100%)!important;color:white}
.stage{background:#f5f9fb;color:#17263f}
.preview-result i,.bar{background:linear-gradient(90deg,#edc45f,#45c6aa)!important}
.stage .result:nth-child(2n) .bar{background:linear-gradient(90deg,#f08a74,#eecc71)!important}
.stage .result:nth-child(3n) .bar{background:linear-gradient(90deg,#8bcbea,#b3a5e8)!important}
.stage .result:nth-child(4n) .bar{background:linear-gradient(90deg,#a4ca76,#7fbbbd)!important}
.status-scheduled{background:#fff2cf;color:#6d4b08}.status-paused{background:#feeddc;color:#7c4514}.status-ended{background:#e8edf2;color:#33445d}
.stage .cloud{gap:17px 19px;justify-content:center;align-content:center;min-height:125px}
.stage .cloud-item,.preview-slide .cloud span{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border:1px solid #ffffff86;background:#ffffff21;border-radius:22px;box-shadow:0 6px 20px #00000018;line-height:1.2;transform:rotate(-1deg)}
.stage .cloud-item:nth-child(4n+2),.preview-slide .cloud span:nth-child(2){transform:rotate(2deg);background:#315e9e88}.stage .cloud-item:nth-child(4n+3){transform:rotate(-3deg);background:#8c5b5788}.stage .cloud-item:nth-child(4n+4){transform:rotate(3deg);background:#577b4888}
.password-eye{width:auto!important;min-height:37px!important;margin:6px 0 12px;padding:7px 14px!important}
.user-table{margin:20px 0;display:grid;gap:8px}.user-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.5fr) minmax(150px,1fr) minmax(150px,1fr);gap:12px;align-items:center;padding:16px;background:#f6faf8;border:1px solid var(--edge);border-radius:13px;font-size:.87rem;overflow-wrap:anywhere}.user-row label{display:flex;align-items:center;gap:9px;margin:0}.user-row label input{width:auto;min-width:18px}.user-manage{border-bottom:1px solid var(--edge)}
.presentation-card .actions{display:flex;flex-wrap:wrap;gap:7px}.presentation-card .actions>form{flex:1}.presentation-card .actions>form button,.presentation-card .actions>.button{min-height:42px;padding:11px 13px;font-size:.84rem}.history-row{border-bottom:1px solid var(--edge);padding:11px 0}.preview-slide{min-height:230px}.preview-slide h2{font-size:clamp(1.5rem,4vw,2.75rem);color:white}.preview-choice{border:1px solid #ffffff88;padding:12px 17px;border-radius:12px;margin:11px 0;background:#ffffff20}.ratingfields{background:#f0f8f4;border:1px solid var(--edge);padding:17px;border-radius:17px}.ratingfields[hidden]{display:none}
/* Don’t display filtered cards or rows: accessibility and search parity */
.presentation-card[hidden],.user-row[hidden]{display:none!important}
@media(max-width:850px){.user-row{grid-template-columns:1fr 1fr}.editor-layout{grid-template-columns:1fr}.editor-layout>.editor-sidebar,.editor-layout>.editor-preview{position:static;grid-column:1;grid-row:auto}}
@media(max-width:500px){.user-row{grid-template-columns:1fr}.presentation-card .actions>form{flex-basis:100%}.presentation-card .actions>form button{width:100%}}

/* OpenMenti 1.1.1 — identità "colori della pace" più riconoscibile e CTA ad alto contrasto. */
.site-header:before{height:8px!important;background:var(--rainbow)!important}
.hero{position:relative;overflow:hidden;border:1px solid #d7e5df}
.hero:before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:var(--rainbow);z-index:1}
.hero-badge{color:#17354a!important;background:linear-gradient(#fff,#fff) padding-box,var(--rainbow) border-box!important;border:2px solid transparent!important}
.hero-outline{background:linear-gradient(#fff,#fff) padding-box,var(--rainbow) border-box!important;border:3px solid transparent!important;color:#17354a!important;box-shadow:0 7px 18px rgba(21,62,69,.12)!important;font-weight:850!important}
.hero-outline:hover,.hero-outline:focus-visible{background:linear-gradient(#f7fffb,#f7fffb) padding-box,var(--rainbow) border-box!important;color:#0f2933!important;text-decoration:none}
.hero-cta,.site-header .nav-signup{box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(69,174,125,.18)}
button:not(.ghost):not(.danger):not(.linkbtn):not(.nav-toggle):not(.help-tip),.button:not(.ghost):not(.danger){position:relative;overflow:hidden}
button:not(.ghost):not(.danger):not(.linkbtn):not(.nav-toggle):not(.help-tip)::after,.button:not(.ghost):not(.danger)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--rainbow);pointer-events:none}
.feature-card:nth-child(1){border-top:5px solid #e84554}.feature-card:nth-child(2){border-top:5px solid #4fab68}.feature-card:nth-child(3){border-top:5px solid #5761af}
.join-card{border-top:7px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--rainbow) border-box}
.join-card button{background:#176b52!important;color:#fff!important}
.presentation-card{border-top:5px solid #dfe9e4}.presentation-card[data-status="live"]{border-top-color:#4fab68}.presentation-card[data-status="paused"]{border-top-color:#eb8646}.presentation-card[data-status="ended"]{border-top-color:#5761af}.presentation-card[data-status="scheduled"]{border-top-color:#efd365}
@media(max-width:760px){.hero:before{height:7px}.site-header:before{height:6px!important}.hero-outline{width:100%}}

/* OpenMenti 1.1.2 — visual refresh: peace palette, professional/youthful UI, clearer CTAs. */
:root{
  --bg:#f7f9f8;
  --ink:#14263f;
  --muted:#5d6d7c;
  --card:#ffffff;
  --primary:#203b63;
  --primary-dark:#142b4b;
  --edge:#dfe7e4;
  --mint:#8fe6c8;
  --shadow:0 18px 48px rgba(20,38,63,.09);
  --shadow-soft:0 8px 24px rgba(20,38,63,.08);
  --rainbow:linear-gradient(90deg,#8056a7 0 14.285%,#5567b3 14.285% 28.57%,#43a4d6 28.57% 42.855%,#59b971 42.855% 57.14%,#f1d15c 57.14% 71.425%,#ee8a45 71.425% 85.71%,#e6505f 85.71% 100%);
}
html{background:var(--bg)}
body{background:radial-gradient(circle at 10% 0%,rgba(67,164,214,.055),transparent 28%),radial-gradient(circle at 92% 8%,rgba(128,86,167,.05),transparent 24%),var(--bg)}
.site-header{background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(20,38,63,.035)}
.site-header:before{height:7px!important;background:var(--rainbow)!important}
.brand{gap:9px;color:var(--ink);letter-spacing:-.04em}
.brand-mark{position:relative!important;width:39px!important;height:39px!important;border-radius:13px!important;background:var(--rainbow)!important;border:2px solid #fff!important;box-shadow:0 5px 14px rgba(20,38,63,.15);overflow:hidden}
.brand-core{display:block;width:20px;height:20px;border-radius:50%;background:var(--ink);border:2px solid #fff;box-shadow:inset 0 0 0 5px var(--mint)}
.brand small{color:#33536f!important}
.site-header nav>a{color:#263a50}
.site-header nav>a:hover{color:#14263f;text-decoration:none}
.card{border-color:#e3e9e7;box-shadow:var(--shadow);}

/* Primary controls: clean dark surface, rainbow as an accent rather than a border. */
button,.button{border-radius:14px;background:linear-gradient(135deg,#203b63,#172e50);color:#fff;border:1px solid rgba(20,38,63,.12);box-shadow:0 7px 18px rgba(20,38,63,.13);font-weight:800;letter-spacing:-.01em}
button:hover,.button:hover{background:linear-gradient(135deg,#172f52,#112540);box-shadow:0 10px 24px rgba(20,38,63,.18);transform:translateY(-1px)}
button:not(.ghost):not(.danger):not(.linkbtn):not(.nav-toggle):not(.help-tip)::after,.button:not(.ghost):not(.danger)::after{height:3px;background:var(--rainbow);opacity:.92}
.ghost{background:#fff;color:#203b63;border:1px solid #cfdad7;box-shadow:0 4px 13px rgba(20,38,63,.05)}
.ghost:hover{background:#f5f8f7;color:#14263f;border-color:#bccbc7;box-shadow:0 7px 18px rgba(20,38,63,.08)}
.danger{background:linear-gradient(135deg,#c63b56,#a92f49)}
.danger:hover{background:linear-gradient(135deg,#b9324d,#96283f)}

/* Homepage: a clearly recognizable peace/rainbow language without becoming childish. */
.hero{background:linear-gradient(138deg,#ffffff 0%,#f8fbfa 50%,#f3f6f8 100%)!important;border:1px solid #dfe8e4!important;box-shadow:0 25px 70px rgba(20,38,63,.10);color:var(--ink)!important;min-height:500px}
.hero:before{height:10px!important;background:var(--rainbow)!important}
.hero:after{content:""!important;position:absolute!important;right:-110px!important;top:30px!important;bottom:auto!important;width:430px!important;height:430px!important;border:0!important;border-radius:50%!important;background:conic-gradient(from 205deg,rgba(128,86,167,.11),rgba(85,103,179,.12),rgba(67,164,214,.12),rgba(89,185,113,.11),rgba(241,209,92,.12),rgba(238,138,69,.12),rgba(230,80,95,.10),rgba(128,86,167,.11))!important;filter:blur(2px);z-index:-1!important}
.hero-content:before{content:"";display:block;width:154px;height:13px;border-radius:99px;background:var(--rainbow);margin:0 0 24px;box-shadow:0 5px 15px rgba(20,38,63,.10)}
.hero h1{color:var(--ink)!important;max-width:690px}
.hero h1 em{font-style:normal;background:var(--rainbow);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.hero p{color:#4e6172!important}
.hero-badge{background:#fff!important;border:1px solid #d8e3df!important;color:#2d4558!important;box-shadow:0 5px 16px rgba(20,38,63,.06);font-size:.7rem}
.hero .actions{gap:14px;margin-top:27px}
.hero .actions .button{min-height:58px;padding:15px 20px;border-radius:16px;box-shadow:none!important;transform:none}
.hero-cta{background:linear-gradient(135deg,#203b63,#152d4d)!important;color:#fff!important;border:1px solid #162d4a!important;box-shadow:0 11px 26px rgba(20,38,63,.18)!important;position:relative}
.hero-cta:hover,.hero-cta:focus-visible{background:linear-gradient(135deg,#182f52,#10233e)!important;color:#fff!important;box-shadow:0 14px 30px rgba(20,38,63,.22)!important;transform:translateY(-1px)!important}
.hero-cta::after{height:4px!important;background:var(--rainbow)!important}
.cta-arrow{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#ffffff16;border:1px solid #ffffff2d;font-size:1rem}
.hero-outline{background:#fff!important;color:#172b43!important;border:1px solid #cfdad7!important;box-shadow:0 7px 19px rgba(20,38,63,.07)!important;font-weight:820!important}
.hero-outline:hover,.hero-outline:focus-visible{background:#f8faf9!important;color:#10273c!important;border-color:#b9cac5!important;box-shadow:0 10px 24px rgba(20,38,63,.10)!important;transform:translateY(-1px)!important}
.hero-outline::after{display:none!important}
.cta-code{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--rainbow);color:#fff;font-weight:950;text-shadow:0 1px 2px rgba(0,0,0,.25);box-shadow:inset 0 0 0 1px #ffffff45}
.hero-foot{color:#667483!important}
.hero-preview{transform:rotate(1deg)!important;border:1px solid #e3e9e7;box-shadow:0 28px 62px rgba(20,38,63,.16)!important}
.preview-top{color:#667483}.preview-eyebrow{color:#345775!important}
.preview-result i{height:11px!important;background:linear-gradient(90deg,#43a4d6,#59b971)!important}
.preview-result:nth-of-type(3) i{background:linear-gradient(90deg,#59b971,#f1d15c)!important}
.preview-result:nth-of-type(4) i{background:linear-gradient(90deg,#ee8a45,#e6505f)!important}
.feature-card{border-top-width:0!important;position:relative;overflow:hidden}
.feature-card:before{content:"";position:absolute;left:0;top:0;right:0;height:5px;background:var(--rainbow)}
.feature-icon{background:#eef3f6!important;color:#203b63!important;border:1px solid #e0e7e5}
.how-section,.help-hero{background:linear-gradient(135deg,#fff,#f4f8f6)!important;border:1px solid #dfe8e4;box-shadow:var(--shadow-soft)}
.how-section:before{content:"";display:block;width:120px;height:8px;border-radius:99px;background:var(--rainbow);margin-bottom:18px}
.step-number{color:#244c67!important}

/* Join form and public-facing blocks: crisp contrast. */
.join-card{border:1px solid #dfe7e4!important;border-top:1px solid #dfe7e4!important;box-shadow:var(--shadow);position:relative;overflow:hidden}
.join-card:before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:var(--rainbow)}
.join-card button{background:linear-gradient(135deg,#203b63,#172e50)!important;color:#fff!important}

/* Peace accents across the product, but keep status semantics clear. */
.presentation-card{border-top:1px solid #e3e9e7!important;position:relative;overflow:hidden}
.presentation-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:#dfe7e4}
.presentation-card[data-status="live"]:before{background:linear-gradient(90deg,#43a4d6,#59b971)}
.presentation-card[data-status="paused"]:before{background:linear-gradient(90deg,#f1d15c,#ee8a45)}
.presentation-card[data-status="ended"]:before{background:linear-gradient(90deg,#5567b3,#8056a7)}
.presentation-card[data-status="scheduled"]:before{background:linear-gradient(90deg,#59b971,#f1d15c)}
.count-badge{background:#eef3f6;color:#203b63}
.eyebrow{color:#31536c!important}

@media(max-width:760px){
  .site-header:before{height:6px!important}
  .hero:before{height:8px!important}
  .hero-content:before{width:132px;height:11px;margin-bottom:18px}
  .hero .actions{flex-direction:column;align-items:stretch}
  .hero .actions .button{width:100%;min-width:0!important}
  .hero-preview{transform:none!important}
}

/* OpenMenti 1.1.3 — registrazione via email e gestione profilo. */
.registration-card>p:first-of-type{max-width:46ch}.registration-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 22px}.registration-steps span{display:flex;align-items:center;gap:8px;padding:10px 11px;background:#f2f8f5;border:1px solid var(--edge);border-radius:12px;font-size:.82rem;font-weight:700}.registration-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--primary);color:#fff;font-size:.75rem}.danger-zone{border-color:#f0bcc8;background:linear-gradient(180deg,#fff,#fff8fa)}.danger-zone .eyebrow{color:#9a2942}.delete-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:17px 0}.delete-summary>div{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #f0d5dc;border-radius:14px;padding:14px}.delete-summary b{font-size:1.7rem;line-height:1;color:#9a2942}.delete-summary span{font-size:.86rem;color:var(--muted);line-height:1.4}.confirm-delete{display:flex!important;gap:10px;align-items:flex-start;margin:17px 0}.confirm-delete input{width:auto!important;margin-top:4px}.danger-zone .password-eye{margin-top:6px}
@media(max-width:760px){.registration-steps,.delete-summary{grid-template-columns:1fr}}


/* OpenMenti 1.1.4 — password policy visibile e feedback live. */
.password-policy{margin:14px 0 18px;padding:14px 16px;border:1px solid #d9e4e0;border-radius:14px;background:#f7faf9;color:var(--ink)}
.password-policy strong{display:block;margin-bottom:8px}
.password-policy ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.password-policy li{position:relative;padding-left:25px;color:#657583;font-size:.9rem;line-height:1.35}
.password-policy li:before{content:'○';position:absolute;left:2px;top:-1px;color:#8796a1;font-weight:900}
.password-policy li.is-valid{color:#176b52;font-weight:750}
.password-policy li.is-valid:before{content:'✓';color:#159166}
.password-match{margin:-5px 0 14px;font-size:.86rem}.password-match.is-valid{color:#176b52;font-weight:750}.password-match.is-error{color:#b3334e;font-weight:750}
/* OpenMenti 2.0 development: new slide type editor and charts */
.om2-editor-config>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:12px 0}
.om2-editor-config>div[hidden]{display:none}
.om2-editor-config textarea{min-height:90px}
.om2-plot{height:340px;position:relative;max-width:590px;background:linear-gradient(90deg,transparent 49.8%,#cdd8e3 50%,transparent 50.2%),linear-gradient(0deg,transparent 49.8%,#cdd8e3 50%,transparent 50.2%),#edf4f6;border:2px solid #cdd8e3;border-radius:16px;margin:1rem auto}
.om2-dot{position:absolute;transform:translate(-50%,50%);color:#145e84;font-size:1.4rem;text-shadow:0 1px 2px #fff}
.om2-pin-plot{height:auto;width:100%;max-width:560px;overflow:hidden;background:none;border-color:#13746e}
.om2-pin-result-image{display:block;width:100%;height:auto}
.om2-pin-plot .om2-dot{z-index:1;color:#fff;text-shadow:0 0 3px #17263f,0 0 6px #17263f}
.content-text{white-space:pre-line;line-height:1.7;max-width:65ch;margin:1.2rem auto}
.om2-qa{border:1px solid #d8e7ed;border-radius:12px;padding:1rem;margin:1rem 0}.om2-qa p{white-space:pre-wrap;overflow-wrap:anywhere}
.om2-stage-image{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:1rem auto;border-radius:12px}
.om2-remote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.om2-remote-grid form{margin:0}.om2-remote-btn{width:100%;min-height:70px;font-size:1.1rem;touch-action:manipulation}
.om2-theme-logo{display:block;max-width:200px;max-height:95px;object-fit:contain;margin:0 auto 1rem}.stage .bar{background:var(--om2-accent,#13746e)}
.om2-pin-image{display:block;width:100%;max-width:560px;height:auto;cursor:crosshair;border:2px solid #13746e;border-radius:12px}

/* Projection and non-live preview use the background and text selected in the theme. */
.stage>.badge{background:transparent;border-color:currentColor;color:inherit}
.stage .muted,.stage .correct{color:inherit}
.stage .track{background:#d3e3e7;background:color-mix(in srgb,currentColor 20%,transparent)}
.stage .open-answer,.stage .preview-choice{background:rgba(23,38,63,.05);border-color:currentColor;background:color-mix(in srgb,currentColor 7%,transparent);border-color:color-mix(in srgb,currentColor 35%,transparent)}
.preview-slide h2{color:inherit}
.preview-fields{max-width:590px}.preview-fields label{color:inherit}.preview-fields input:disabled{opacity:1;cursor:default}.preview-fields .om2-pin-image{cursor:default}
.om2-plot-axes{display:grid;grid-template-columns:minmax(2rem,auto) minmax(0,590px);grid-template-rows:auto auto;align-items:center;justify-content:center;gap:8px;max-width:700px;margin:1rem auto}
.om2-plot-axes .om2-plot{grid-column:2;grid-row:1;width:100%;margin:0}
.om2-axis-y{grid-column:1;grid-row:1;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;max-height:340px;overflow-wrap:anywhere}
.om2-axis-x{grid-column:2;grid-row:2;text-align:center;overflow-wrap:anywhere}

/* OpenMenti 2.0.1 — amministrazione presentazioni */
.admin-presentation-list{display:grid;grid-template-columns:1fr;gap:16px}
.admin-presentation-card{margin:0}
.admin-presentation-card h2{margin-top:10px}
.admin-presentation-card .split{align-items:flex-start;margin-bottom:8px}
.admin-presentation-controls{padding-top:12px;border-top:1px solid var(--edge)}
.admin-presentation-filters .inline{align-items:end;flex-wrap:wrap}
.admin-presentation-filters .inline label{flex:1 1 260px;margin:0}
.admin-presentation-filters .inline button{flex:0 0 auto}
@media(max-width:760px){.admin-presentation-card .actions{width:100%}.admin-presentation-card .actions .button,.admin-presentation-card .actions form{flex:1 1 100%}.admin-presentation-card .actions form button{width:100%}.admin-presentation-filters .inline{flex-direction:column;align-items:stretch}.admin-presentation-filters .inline button{width:100%}}
.quiz-music-option{display:flex;align-items:center;gap:10px}.quiz-music-option input{width:auto;accent-color:var(--primary)}.quiz-music-help{margin-top:-4px}.om2-quiz-music-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:16px;border-top:1px solid currentColor;border-color:color-mix(in srgb,currentColor 20%,transparent)}.om2-quiz-music-control .button{background:#fff;color:#17263f}.stage .quiz-music-note{font-size:.88rem;opacity:.84}


/* OpenMenti 2.0.9 — informativa tecnica sui cookie, visibile al primo accesso. */
.cookie-notice{background:#eaf4f0;border-bottom:1px solid #c8d8d3;color:#172f43}
.cookie-notice-inner{width:min(1180px,100%);margin:0 auto;padding:14px 24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center}
.cookie-notice h2{font-size:1rem;line-height:1.3;margin:0 0 4px;color:#173b53}
.cookie-notice p{font-size:.9rem;line-height:1.5;margin:0;max-width:100ch;color:#263c4d}
.cookie-notice-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
.cookie-notice-actions a{font-weight:750;white-space:nowrap;color:#174f6a}
.cookie-notice-actions form{margin:0}
.cookie-notice-actions button{min-height:40px;padding:9px 15px;white-space:nowrap}
.cookie-policy h1{margin:7px 0 17px}
.cookie-policy h2{margin:25px 0 9px;font-size:1.18rem}
.cookie-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #d8e3df;border-radius:12px;margin:20px 0}
.cookie-table{width:100%;border-collapse:collapse;min-width:590px;background:#fff}
.cookie-table th,.cookie-table td{padding:13px 14px;border-bottom:1px solid #e1e9e6;text-align:left;vertical-align:top;line-height:1.5}
.cookie-table thead th{background:#f2f7f5;color:#203b50;font-weight:800}
.cookie-table tbody th{font-weight:750;white-space:nowrap}
.cookie-table code{font-size:.88em;overflow-wrap:anywhere}
@media(max-width:760px){.cookie-notice-inner{grid-template-columns:1fr;padding:14px 18px;gap:12px}.cookie-notice-actions{justify-content:space-between}.cookie-policy{padding:22px 18px}}
@media(max-width:400px){.cookie-notice-inner{padding:13px 12px}.cookie-notice-actions{align-items:flex-start;gap:10px}.cookie-notice-actions a{white-space:normal}.cookie-notice-actions button{padding:9px 12px}}


/* OpenMenti 2.0.10 — tabella cookie leggibile su desktop e telefoni. */
.cookie-policy{max-width:900px}
.cookie-table{min-width:0;table-layout:fixed}
.cookie-table thead th:nth-child(1),.cookie-table tbody th{width:28%;overflow-wrap:anywhere}
.cookie-table thead th:nth-child(2){width:50%}
.cookie-table thead th:nth-child(3){width:22%}
.cookie-table td{overflow-wrap:anywhere}
@media(max-width:640px){
  .cookie-table,.cookie-table tbody,.cookie-table tr,.cookie-table th,.cookie-table td{display:block;width:100%}
  .cookie-table{table-layout:auto}
  .cookie-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .cookie-table tbody tr{padding:10px 0;border-bottom:1px solid #d8e3df}
  .cookie-table tbody tr:last-child{border-bottom:0}
  .cookie-table tbody th{padding:8px 12px 4px;border:0;white-space:normal}
  .cookie-table tbody td{padding:5px 12px;border:0}
  .cookie-table tbody td::before{content:attr(data-label);display:block;margin-bottom:2px;color:#203b50;font-size:.78rem;font-weight:800}
  .cookie-table-wrap{overflow-x:visible}
}

/* OpenMenti 2.0.11 — zone geografiche: la lista resta utilizzabile senza Google. */
.om2-editor-config>.om2-map-editor{display:block;min-width:0}
.om2-editor-config>.om2-map-editor[hidden],.om2-map-editor-tools[hidden],.om2-map-panel[hidden]{display:none}
.om2-map-editor-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}
.om2-map-editor .actions{display:flex;flex-wrap:wrap;gap:8px}
.om2-map-editor .actions button{font-size:.88rem}
.om2-google-map{display:block;width:100%;height:420px;min-height:310px;margin:15px 0;border:1px solid #b8cbd0;border-radius:13px;overflow:hidden;background:#eaf2f4}
.om2-map-search{max-width:100%;margin:12px 0}
.om2-map-search gmp-place-autocomplete{display:block;width:100%;max-width:550px}
.om2-map-answer .answer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.om2-map-answer>.ghost,.om2-map-results>.ghost{margin:8px 0}
.om2-map-disclosure{font-size:.86rem;line-height:1.5;max-width:80ch;margin:14px 0;color:#40536a}
.stage .om2-map-disclosure{color:inherit}
.om2-map-results{margin-top:22px}
.om2-map-selected{font-weight:700}
.om2-map-validation{color:#a32929;font-weight:750}
.stage .om2-map-results .om2-google-map{max-width:1050px}
@media(max-width:760px){
  .om2-google-map{height:360px;min-height:290px}
  .om2-map-answer .answer-grid{grid-template-columns:1fr}
  .om2-map-editor-fields{grid-template-columns:1fr}
}

/* OpenMenti 2.0.13 — istruzioni editor e aiuto durante le risposte. */
.om2-map-intro{font-weight:650;color:#243b53}
.om2-map-help,.om2-answer-help{background:#f2f7fa;border:1px solid #cbdce4;border-radius:13px;padding:13px 16px;margin:14px 0;color:#243b53}
.om2-map-help summary,.om2-answer-help summary,.om2-map-advanced summary{line-height:1.5;min-height:32px}
.om2-map-help ol,.om2-answer-help ol{margin:10px 0 0;padding-left:23px;line-height:1.6}
.om2-map-help li,.om2-answer-help li{margin:8px 0}
.om2-map-help dl{margin:15px 0 0}.om2-map-help dt{font-weight:750;margin-top:12px}.om2-map-help dd{margin:3px 0 0;line-height:1.6}
.om2-map-advanced{border-top:1px solid #d7e0e5;margin:17px 0 10px;padding-top:14px}
.om2-map-step{font-size:.9rem;line-height:1.6;margin:12px 0}
.om2-map-editor .om2-map-primary-actions{margin-bottom:8px}
.om2-map-editor .om2-map-secondary-actions{margin-top:0}
.om2-map-primary-actions button[aria-pressed="true"]{background:#12786d;color:#fff;border-color:#12786d;box-shadow:0 0 0 2px #12786d22}
.om2-map-progress{background:#f2f7fa;border-left:3px solid #12786d;padding:12px;border-radius:0 9px 9px 0}
@media(max-width:500px){.om2-map-primary-actions button{flex:1 1 150px}.om2-map-help,.om2-answer-help{padding:12px 13px}}

/* OpenMenti 2.0.14 — inquadratura e disegno in due fasi distinte. */
.om2-map-editor [data-map-position-panel][hidden],.om2-map-editor [data-map-zone-panel][hidden],.om2-map-editor [data-map-advanced][hidden]{display:none!important}
.om2-map-phase{background:#e8f5ef;border:1px solid #badcca;border-radius:12px;padding:12px 14px;font-weight:650;margin:14px 0}
.om2-map-association{border-left:4px solid #12786d;background:#eef7f4;padding:13px;font-weight:750;border-radius:0 10px 10px 0;margin:14px 0}
.om2-map-editor [data-map-lock]{width:100%;max-width:420px;margin:7px 0 0}
.om2-map-editor [data-map-unlock]{font-size:.85rem;margin:5px 0 10px}
.om2-map-editor textarea[readonly]{background:#f5f7f7;color:#40536a}

/* OpenMenti 2.0.15 — forme semplici e conferma esplicita. */
.om2-map-editor .om2-map-confirm-actions{border-top:1px solid #d7e0e5;padding-top:14px;margin:14px 0}
.om2-map-confirm-actions [data-map-confirm]{font-weight:750;min-width:160px}
.om2-map-editor [data-map-zone-select]:disabled{opacity:1;background:#f5f7f7;color:#40536a}

/* OpenMenti 2.0.16 — cinque forme, traccia libera e modifica area. */
.om2-map-editor [data-map-editor-canvas]{position:relative}
.om2-map-freehand-layer{position:absolute;inset:0 0 24px;z-index:10;touch-action:none;cursor:crosshair;background:transparent}
.om2-map-editor .om2-map-shape-choices{display:flex;flex-wrap:wrap;gap:8px}
.om2-map-shape-choices button{flex:1 1 110px}
.om2-map-result-legend{list-style:none;padding:0;margin:12px 0;display:flex;flex-wrap:wrap;gap:10px 20px;font-size:.95rem}
.om2-map-result-legend li{display:flex;align-items:center;gap:8px;line-height:1.5}
.om2-map-result-swatch{display:inline-block;width:14px;height:14px;border:1px solid #17263f66;border-radius:50%;flex:0 0 14px}
/* OpenMenti 2.0.17 — punti delle risposte senza etichette. */
.om2-map-response-dot{position:absolute;display:block;width:14px;height:14px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 1px 4px #17263fbb;pointer-events:none;z-index:1}
