:root{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#17304a;background:#f2f6fa}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1250px;margin:auto;padding:32px 20px}.narrow{max-width:680px}.panel{background:white;border:1px solid #e0e8f2;border-radius:18px;padding:26px;margin-bottom:22px;box-shadow:0 4px 22px #143c6910}.site-head{display:flex;align-items:center;gap:28px;margin-bottom:22px}.logo{width:180px;max-width:50%;height:auto;object-fit:contain}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:#037da9;margin:0 0 6px}h1{font-size:clamp(26px,3vw,38px);margin:5px 0 15px}h2{font-size:22px}.question{font-size:clamp(19px,2vw,27px);font-weight:650;line-height:1.4;margin:10px 0 24px}.question.compact{font-size:15px;font-weight:500;line-height:1.55;color:#395470}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}button,.button{border:0;border-radius:10px;padding:12px 16px;font-size:15px;font-weight:700;cursor:pointer;display:inline-block;text-decoration:none;text-align:center}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#007baa;color:white}.secondary{background:#d9eef8;color:#07577b}.ghost{background:#e6eaf5;color:#263d69}.danger{background:#ffe3e3;color:#a41b30}.meta{display:flex;align-items:center;gap:20px;margin:12px 0 18px}.pill{border-radius:99px;padding:8px 12px;background:#e6eef5;font-weight:700}.responsive{overflow-x:auto}.answers{width:100%;border-collapse:collapse}.answers th,.answers td{border-bottom:1px solid #e1e9f0;padding:12px;text-align:left}.answers th:not(:first-child),.answers td:not(:first-child){text-align:center;width:115px}.answers td:first-child{overflow-wrap:anywhere}.choice{width:45px;height:40px;padding:0;border:2px solid #cbd9e6;background:#f5f9fc;color:#376079}.choice.selected{background:#007baa;color:white;border-color:#007baa;opacity:1}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}.three section{background:#f5f9fc;border:1px solid #d5e5ee;border-radius:14px;padding:16px;min-width:0}.three h2{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #0c83aa;padding-bottom:12px}.three h2 span{font-size:16px;background:#d8eff7;padding:5px 10px;border-radius:99px}.three li{line-height:1.5;margin-bottom:14px;overflow-wrap:anywhere}.three ul{padding-left:20px}.small,.under{color:#62758b;font-size:13px}label{display:block;margin:14px 0;font-weight:700}input,textarea{display:block;margin-top:7px;width:100%;padding:12px;border-radius:9px;border:1px solid #9eafbd;font:inherit}textarea{resize:vertical}details{margin-top:20px}summary{cursor:pointer;font-weight:700}.qr{margin:15px 0}.notice{background:#fff3d6;border-radius:12px;padding:15px}.error{color:#b21c32}#message{min-height:20px}[hidden]{display:none!important}@media(max-width:700px){.site-head{display:block}.logo{width:145px}.panel{padding:18px}.three{grid-template-columns:1fr}.answers th:not(:first-child),.answers td:not(:first-child){width:65px;padding:8px}.choice{width:36px}}@media print{button,.toolbar,details{display:none!important}body{background:white}.panel{border:0;box-shadow:none}.three{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Risultati: colori distinti per categoria e intestazioni centrate */
.projection .three .col-assenza{background:#e9f3ff;border-color:#a8ceef}
.projection .three .col-incerta{background:#fff6df;border-color:#ebd28d}
.projection .three .col-presenza{background:#e7f7ee;border-color:#9bd4b1}
.projection .three h2{position:relative;justify-content:center;text-align:center;min-height:49px;padding-right:46px;padding-left:46px}
.projection .three h2 span{position:absolute;right:0;top:0}
.projection .three .col-assenza h2{border-bottom-color:#3979b3;color:#225783}
.projection .three .col-incerta h2{border-bottom-color:#bf8b20;color:#8a640f}
.projection .three .col-presenza h2{border-bottom-color:#26966a;color:#176e4c}
.projection .three .col-assenza h2 span{background:#cce4fc}
.projection .three .col-incerta h2 span{background:#f6e5ad}
.projection .three .col-presenza h2 span{background:#c3ebd5}
@media print{.projection .three section{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
