:root{--red:#ed1234;--red-dark:#bd1029;--ink:#20344d;--muted:#65758a;--line:#dfe6ef;--surface:#f7f9fc;--blue:#104780;--blue-light:#eaf3ff;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--surface);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3d7ad0;outline-offset:3px}[hidden]{display:none!important}
.demo-bar{padding:8px 24px;background:#0d3f78;color:#fff;font-size:12px;text-align:center}.demo-bar span{color:#d6e7ff;margin-left:12px}.site-header{max-width:1240px;margin:auto;padding:28px 36px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#b8d6fa;border-bottom:1px solid #a3c4ef}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:-.7px;line-height:1.2}.brand-mark{display:grid;place-items:center;width:43px;height:43px;color:#fff;background:var(--red);border-radius:50%;font-size:33px;font-weight:650;font-style:italic}.brand-red{color:var(--red)}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.15px;color:var(--muted);margin-top:5px}.club-pill{border:1px solid #98b9e5;border-radius:30px;padding:8px 14px;font-size:12px;color:#174e89;white-space:nowrap}main{max-width:1240px;margin:auto;padding:38px 36px 20px}.intro{max-width:840px;margin-bottom:31px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--red);margin:0 0 14px}h1{font-size:clamp(28px,3vw,39px);letter-spacing:-1.5px;line-height:1.18;margin:0 0 12px;font-weight:700}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--blue)}.intro>p:last-child{color:var(--muted);margin:0;font-size:15px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:28px;max-width:790px}.steps button{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--muted);text-align:left;font-size:13px;transition:background .15s,border-color .15s}.steps button span{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#f0f4fa;font-size:10px;font-weight:700}.steps button[aria-current="step"]{color:var(--blue);border-color:var(--blue);background:var(--blue-light)}.steps button[aria-current="step"] span{background:var(--blue);color:#fff}.steps b{font-weight:650}.workspace{display:grid;grid-template-columns:minmax(0,790px) minmax(245px,1fr);gap:30px;align-items:start}form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel{padding:30px}.section-heading{margin-bottom:27px}.section-heading h2{font-size:29px;letter-spacing:-1px;line-height:1.18;margin:0 0 12px;font-weight:650;outline:none}.section-heading>p:last-child{color:var(--muted);font-size:13px;margin:0;max-width:590px}.section-heading .eyebrow{margin-bottom:11px}fieldset{border:0;margin:0 0 27px;padding:0;min-width:0}fieldset:last-child{margin-bottom:0}legend{font-size:15px;font-weight:700;margin-bottom:17px;padding:0;width:100%;padding-top:20px;border-top:1px solid var(--line)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0}.wide{grid-column:1/-1}input:not([type="checkbox"]):not([type="hidden"]),select,textarea{width:100%;min-height:44px;background:#fff;color:var(--ink);border:1px solid #d8e1ed;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:400;transition:border-color .15s}select{padding-right:30px}input::placeholder,textarea::placeholder{color:#8593a5;font-size:13px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--blue)}.field small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}.field-explanation{font-size:12px;line-height:1.6;color:var(--muted);margin:25px 0 0}.inline-info{padding:12px 15px;border:1px solid #cddff6;background:#f0f6ff;border-radius:10px;color:#355b85;font-size:12px;line-height:1.6;margin:0}.field-grid>.inline-info{margin-top:4px}#rinnovo-fields{margin-top:18px}.bundle-banner{display:flex;gap:16px;padding:23px;background:var(--blue-light);border:1px solid #c8dcf7;border-radius:14px;margin-bottom:23px}.bundle-icon{display:grid;place-items:center;height:39px;width:39px;flex:none;background:#d1e5ff;border-radius:11px;color:var(--blue);font-size:24px}.small-label{font-size:9px;letter-spacing:1.3px;font-weight:750}.bundle-banner .small-label{color:var(--blue)}.bundle-banner h3{font-size:19px;font-weight:650;letter-spacing:-.4px;margin:6px 0 8px}.bundle-banner p{font-size:12px;color:#31577f;line-height:1.65;margin:0 0 10px}.bundle-banner .price-note{font-size:10px;color:#5c7390;margin-bottom:15px}.bundle-button{display:inline-flex;gap:26px;align-items:center;background:var(--blue);border:0;border-radius:8px;color:#fff;padding:10px 14px;font-size:12px;font-weight:650}.bundle-button:hover{background:#0b3561}.bundle-button:disabled{background:#d5e6fc;color:var(--blue)}#bundle-status{display:block;color:var(--blue);font-size:11px;margin-top:9px;min-height:17px}.coverage-fieldset{margin-bottom:18px}.coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.coverage-card{position:relative;display:flex;flex-direction:column;min-height:163px;padding:18px 17px;border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}.coverage-card:hover{border-color:#90b5e4}.coverage-card:has(input:checked){border-color:var(--blue);background:#f2f7ff}.coverage-card.locked{background:#f5f7fa;color:#8895a7;cursor:default}.coverage-card.locked:hover{border-color:var(--line)}.coverage-card.rc-card{grid-column:1/-1;min-height:126px}.coverage-card .card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.coverage-icon{width:23px;height:23px;color:var(--blue)}.coverage-card.locked .coverage-icon{color:#a0adc0}.coverage-card input{appearance:none;width:21px;height:21px;flex:none;border:1px solid #c5d2e3;border-radius:6px;background:#fff;margin:0}.coverage-card input:checked{background:var(--blue);border-color:var(--blue)}.coverage-card input:checked:after{content:'✓';display:block;text-align:center;line-height:19px;font-size:14px;color:#fff}.coverage-card input:disabled:checked{background:var(--blue)}.coverage-card input:disabled:not(:checked){background:#edf1f7}.coverage-card h3{font-size:14px;font-weight:650;line-height:1.35;margin:0 0 6px;padding-right:6px}.coverage-card p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.coverage-card.locked p{color:#8996a8}.card-tag{font-size:9px;font-weight:650;color:var(--blue);background:#dfedff;padding:3px 7px;border-radius:4px;align-self:flex-start;margin-top:12px}.locked .card-tag{background:#e9eef6;color:#718199}.rc-card .card-tag{position:absolute;top:20px;left:55px;margin:0}#coverage-notice{margin-bottom:23px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 30px;border-top:1px solid var(--line);background:#fbfcff}.button-primary,.button-secondary{padding:11px 17px;border-radius:9px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:30px}.button-primary{background:var(--red);color:white;border:1px solid var(--red)}.button-primary:hover{background:var(--red-dark)}.button-secondary{background:white;border:1px solid var(--line);color:var(--ink);gap:8px}.form-footer>span{font-size:11px;color:var(--muted);margin-right:auto}#prev:not([hidden])+span{margin-right:0}.summary-card{position:sticky;top:22px;border:1px solid #cfddf0;border-radius:var(--radius);overflow:hidden;background:white}.summary-top{padding:25px 23px;background:#e1edff}.summary-top .small-label{color:#48678f}.summary-top h2{font-size:25px;letter-spacing:-.8px;line-height:1.2;font-weight:650;margin:10px 0 0}.summary-content{padding:23px}.summary-count{display:flex;gap:13px;align-items:center;margin-bottom:19px}.summary-count strong{font-size:37px;font-weight:600;letter-spacing:-1.2px;line-height:1}.summary-count span{font-size:11px;line-height:1.5;color:var(--muted)}#selected-list{list-style:none;padding:0;margin:0 0 23px}#selected-list li{display:flex;align-items:flex-start;gap:9px;font-size:12px;padding:6px 0;line-height:1.5}#selected-list li:before{content:'✓';color:var(--blue);font-size:12px;font-weight:700}.summary-bundle{display:flex;align-items:flex-start;gap:9px;padding:14px 12px;background:#f0f4fa;border-radius:9px}.status-dot{background:#a4b5cb;flex:none;height:7px;width:7px;border-radius:50%;margin-top:5px}.summary-bundle.active{background:var(--blue-light)}.summary-bundle.active .status-dot{background:var(--blue)}.summary-bundle strong{font-size:11px;font-weight:650}.summary-bundle p{font-size:10px;color:var(--muted);margin:4px 0 0;line-height:1.6}.summary-note{font-size:10px;color:var(--muted);margin:17px 0 0;line-height:1.65}.help-box{display:flex;flex-direction:column;gap:4px;background:#f8fbff;border-top:1px solid var(--line);padding:17px 23px}.help-box span{font-size:10px;color:var(--muted)}.help-box strong{font-size:12px;font-weight:650}.help-box a{font-size:12px;text-decoration:none;color:var(--blue)}.page-footnote{text-align:center;color:#8190a3;font-size:10px;margin:26px 0 6px}.full-summary{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:25px}.full-summary h3{font-size:13px;margin:0 0 10px}.full-summary h3:not(:first-child){margin-top:18px}.full-summary p{font-size:12px;line-height:1.7;margin:0;color:var(--muted)}.summary-chips{display:flex;flex-wrap:wrap;gap:6px}.summary-chips span{font-size:10px;padding:5px 8px;border-radius:5px;background:var(--blue-light);color:var(--blue)}.consent{display:flex;gap:12px;font-size:12px;line-height:1.6;cursor:pointer}.consent input{width:18px;height:18px;flex:none;accent-color:var(--blue);margin-top:3px}.consent small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.demo-result{margin-top:22px;border:1px solid #b8d2f4;background:var(--blue-light);color:var(--blue);padding:16px;border-radius:10px;font-size:13px;line-height:1.7}.demo-result strong{display:block;margin-bottom:4px}.error-message{font-size:11px;color:#b51d2c;font-weight:400}.invalid{border-color:#b51d2c!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:1400px){main{padding-top:45px}.intro{margin-bottom:35px}.panel{padding:34px}}
@media(max-width:1000px){main,.site-header{padding-left:24px;padding-right:24px}.workspace{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.panel{padding:24px}.steps{max-width:calc(100% - 265px);gap:6px}.steps button{padding:10px 8px;gap:7px;font-size:11px}.steps button span{height:23px;width:23px}.bundle-banner{padding:17px;gap:12px}.summary-content,.summary-top{padding:20px}.form-footer{padding:19px 24px}}
@media(max-width:760px){.demo-bar{padding:8px 12px;font-size:10px}.demo-bar span{display:block;margin:2px 0 0}.site-header{padding:20px}.brand{font-size:18px}.brand-mark{width:35px;height:35px;font-size:28px}.brand small{font-size:8px}.club-pill{display:none}main{padding:27px 16px 16px}.intro{margin-bottom:25px}h1{font-size:29px;letter-spacing:-1px;max-width:360px}.intro>p:last-child{font-size:13px;max-width:330px}.eyebrow{font-size:9px;letter-spacing:1.3px}.steps{max-width:none;gap:6px;margin-bottom:17px}.steps button{flex-direction:column;gap:5px;padding:10px 4px;align-items:center;text-align:center;font-size:10px}.workspace{grid-template-columns:1fr;gap:20px}.panel{padding:23px 18px}.section-heading h2{font-size:27px}.section-heading>p:last-child{font-size:12px}.summary-card{position:static}.summary-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.summary-top h2{font-size:18px;line-height:1.3;margin:0}.summary-top h2 br{display:none}.summary-content{padding:20px}.summary-count{margin-bottom:13px}#selected-list{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.help-box{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px 14px}.coverage-grid{gap:10px}.coverage-card{padding:15px 13px;min-height:168px}.coverage-card h3{font-size:13px}.coverage-card p{font-size:10px}.coverage-card.rc-card{min-height:123px}.coverage-card .card-head{margin-bottom:11px}.rc-card .card-tag{left:49px;top:18px}.bundle-banner{padding:17px 14px;gap:11px}.bundle-icon{width:30px;height:30px;font-size:20px}.bundle-banner h3{font-size:17px}.bundle-banner p{font-size:11px}.bundle-banner .small-label{font-size:8px;letter-spacing:.7px}.bundle-button{gap:14px;font-size:11px}.field-grid{gap:16px 12px}.field{font-size:11px}.form-footer{padding:17px 18px;gap:9px;flex-wrap:wrap}.button-primary,.button-secondary{font-size:11px;padding:10px 13px;gap:15px}.form-footer>span{font-size:10px}.form-footer #finish{width:100%;order:3}.field-explanation{margin-top:22px;font-size:11px}}
@media(max-width:390px){.field-grid{grid-template-columns:1fr}.field-grid .wide{grid-column:auto}.bundle-icon{display:none}.coverage-card{padding:13px 11px}.steps b{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.spam-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

.brand-logo{width:74px;height:74px;object-fit:contain;flex:none}.brand small{color:var(--blue);font-weight:650;font-size:12px}.complete-cover{padding:22px;margin-bottom:22px;background:#eaf3ff;border:2px solid #104780;border-left:6px solid #ed1234;border-radius:12px}.complete-cover .small-label{color:var(--blue)}.complete-cover h3{margin:8px 0;font-size:21px;color:var(--blue);line-height:1.3}.complete-cover p{font-size:13px;margin:0 0 10px}.complete-cover small{display:block;color:var(--muted);font-size:11px;line-height:1.6}@media(max-width:760px){.brand-logo{width:58px;height:58px}.brand{font-size:16px;gap:10px}.brand small{font-size:11px}.complete-cover{padding:17px}.complete-cover h3{font-size:19px}}

/* EA_VERSIONE_20261018_01_campi_moderni */
/* ElettroAssicurazioni — solo presentazione dei campi, 18 ottobre 2026.
   Caricare dopo il CSS attuale. I selettori restano nel form #preventivo. */
#preventivo {
  --ea-field-blue: #104780;
  --ea-field-light: #edf5ff;
  --ea-field-red: #ed1234;
  --ea-field-border: #b9cce1;
  color: #20344d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
#preventivo label,
#preventivo .field-label {
  font-size: 17px !important;
  line-height: 1.5;
}
#preventivo input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="file"]),
#preventivo select,
#preventivo textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  border: 1.5px solid var(--ea-field-border);
  border-radius: 12px;
  background-color: #fff;
  color: #20344d;
  font-family: inherit;
  font-size: 18px !important;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgb(16 71 128 / 3%);
  transition: border-color .15s ease, box-shadow .15s ease;
}
#preventivo textarea { min-height: 140px; resize: vertical; }
#preventivo input::placeholder,
#preventivo textarea::placeholder { color: #63768b; opacity: 1; }
#preventivo select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23104780' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
#preventivo select option { font-family: inherit; font-size: 17px; }
#preventivo input:enabled:hover,
#preventivo select:enabled:hover,
#preventivo textarea:enabled:hover { border-color: #6796c5; }
#preventivo input:focus-visible,
#preventivo select:focus-visible,
#preventivo textarea:focus-visible {
  border-color: var(--ea-field-blue);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px rgb(47 125 208 / 17%);
}
#preventivo [aria-invalid="true"] {
  border-color: var(--ea-field-red);
  box-shadow: 0 0 0 3px rgb(237 18 52 / 10%);
}
#preventivo input:disabled,
#preventivo select:disabled,
#preventivo textarea:disabled {
  background-color: #f1f4f8;
  color: #5c6c7e;
  cursor: not-allowed;
}
#preventivo .coverage-card h3 { font-size: 18px; line-height: 1.4; }
#preventivo .help,
#preventivo .field-help,
#preventivo .hint { font-size: 15px; line-height: 1.5; }
/* Dove supportato, anche la lista aperta adotta il nuovo stile.
   Gli altri browser mantengono il menu nativo e lo stesso campo arrotondato. */
@supports (appearance: base-select) {
  #preventivo select,
  #preventivo select::picker(select) { appearance: base-select; }
  #preventivo select {
    padding-right: 16px;
    background-image: none;
    align-items: center;
    gap: 14px;
  }
  #preventivo select::picker-icon {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    flex: none;
    margin-right: 5px;
    border-right: 2px solid var(--ea-field-blue);
    border-bottom: 2px solid var(--ea-field-blue);
    transform: rotate(45deg);
    transition: transform .15s ease;
  }
  #preventivo select:open::picker-icon { transform: rotate(225deg); }
  #preventivo select::picker(select) {
    inset: auto;
    top: anchor(bottom);
    left: anchor(left);
    width: anchor-size(width);
    position-try-fallbacks: flip-block;
    margin-top: 8px;
    padding: 7px;
    max-block-size: min(360px, 55vh);
    overflow-y: auto;
    border: 1px solid var(--ea-field-border);
    border-radius: 14px;
    background: #fff;
    color: #20344d;
    box-shadow: 0 12px 36px rgb(16 71 128 / 16%);
    font-family: inherit;
  }
  #preventivo select option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 11px 13px;
    border-radius: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 17px;
    line-height: 1.45;
    cursor: pointer;
  }
  #preventivo select option:checked {
    color: var(--ea-field-blue);
    background-color: var(--ea-field-light);
    font-weight: 600;
  }
  #preventivo select option:hover,
  #preventivo select option:focus-visible { background-color: #dcecff; }
  #preventivo select option:focus-visible { outline: 2px solid var(--ea-field-blue); outline-offset: -2px; }
  #preventivo select option::checkmark { color: var(--ea-field-blue); }
  #preventivo select option:disabled { color: #63768b; cursor: default; }
}
@media (prefers-reduced-motion: reduce) {
  #preventivo input, #preventivo select, #preventivo textarea,
  #preventivo select::picker-icon { transition: none; }
}

