.survey-view{padding:38px clamp(18px,4vw,66px) 130px;background:#f4f6f5}.survey-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.survey-heading h2{margin:0 0 6px;font-size:32px}.survey-heading p{margin:0;color:#66736b}.survey-head-actions,.survey-inline-actions{display:flex;gap:8px}.survey-head-actions button,.survey-inline-actions button{border:0;background:#79c165;color:#18223a;padding:12px 16px;font-weight:850;cursor:pointer}.survey-head-actions .outline,.survey-inline-actions button:first-child{background:#fff;border:1px solid #194f7a;color:#194f7a}.survey-progress{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #d8dfda;margin-bottom:18px}.survey-progress span{padding:13px 16px;font-size:12px;font-weight:800;color:#758078;border-right:1px solid #e0e5e2}.survey-progress span:last-child{border:0}.survey-progress .active{background:#18223a;color:#fff}.survey-card,.saved-surveys{background:#fff;border:1px solid #d8dfda;margin-bottom:18px;box-shadow:0 7px 22px rgba(24,34,58,.04)}.survey-card-title{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 19px;border-bottom:1px solid #e1e6e2}.survey-card-title>div:first-child{display:flex;align-items:center;gap:10px}.survey-card-title span{width:29px;height:29px;display:grid;place-items:center;background:#18223a;color:#79c165;font-size:11px;font-weight:900}.survey-card-title h3{margin:0;font-size:18px}.survey-card-title em{font-style:normal;background:#edf1ef;padding:6px 10px;font-size:11px;font-weight:800;color:#617068}.survey-grid{display:grid;gap:13px;padding:19px}.survey-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.survey-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-grid label,.survey-item label{display:grid;align-content:start;gap:6px;color:#34433b;font-size:11px;font-weight:800}.survey-grid input:not([type=checkbox]),.survey-grid select,.survey-grid textarea,.survey-item input,.survey-item select,.survey-item textarea{width:100%;min-height:42px;border:1px solid #cbd4ce;background:#fff;padding:9px;font:inherit;color:#26372f}.survey-grid label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;min-height:42px;border:1px solid #e0e5e2;padding:10px}.survey-grid input[type=checkbox],.checklist input{width:17px;height:17px}.span-2{grid-column:span 2}.span-4{grid-column:1/-1}.survey-help{display:flex;gap:8px;padding:12px 19px;background:#edf7e9;color:#52634f;font-size:12px}.survey-items{display:grid;gap:14px;padding:16px}.survey-item{border:1px solid #ccd6d0;background:#fbfcfb}.survey-item-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;background:#18223a;color:#fff}.survey-item-head div{display:flex;gap:9px;align-items:center}.survey-item-head span{color:#79c165;font-weight:900}.survey-item-head small{color:#c8d2dc}.survey-item-head button{border:0;background:none;color:#ffb8b0;text-decoration:underline;cursor:pointer}.survey-item-body{padding:15px}.survey-subtitle{display:flex;align-items:center;gap:8px;margin:15px 0 10px;color:#194f7a;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.survey-subtitle:after{content:'';height:1px;flex:1;background:#dae1dc}.survey-item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.survey-item .wide{grid-column:span 2}.measure-matrix{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.measure-matrix label{background:#f2f5f3;padding:9px}.survey-item-status{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding:11px;background:#edf7e9;color:#4d6d48;font-size:11px}.survey-item-status.warning{background:#fff4dc;color:#86631b}.photo-box{border:1px dashed #aebbb3;padding:15px}.photo-box>label{display:block;background:#edf7e9;padding:13px;cursor:pointer}.photo-box input{margin-top:8px}.photo-box small{display:block;margin:8px 0;color:#758078}.photo-box #surveyPhotoList{display:flex;flex-wrap:wrap;gap:6px}.photo-box #surveyPhotoList span{background:#edf1ef;padding:6px 8px;font-size:10px}.checklist{display:grid;align-content:start;gap:9px;padding:15px;border:1px solid #d9e0dc}.checklist label{display:flex;align-items:center;gap:8px;font-weight:650}.survey-savebar{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;gap:11px;background:#18223a;color:#fff;padding:14px 18px;box-shadow:0 -10px 30px rgba(18,31,51,.18)}.survey-savebar>div{margin-right:auto;display:grid}.survey-savebar span{font-size:11px;color:#c4ced8}.survey-savebar button{height:44px;border:1px solid #79c165;background:transparent;color:#fff;padding:0 18px;font-weight:850;cursor:pointer}.survey-savebar button[type=submit]{background:#79c165;color:#18223a}.saved-surveys{margin-top:18px}.saved-survey-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:15px;align-items:center;padding:14px 18px;border-bottom:1px solid #e2e7e4}.saved-survey-row:last-child{border:0}.saved-survey-row div{display:grid;gap:3px}.saved-survey-row small{color:#748078}.saved-survey-row em{font-style:normal;font-size:10px;background:#edf7e9;color:#4f7d43;padding:6px 8px}.saved-survey-row button{border:1px solid #194f7a;background:#fff;color:#194f7a;padding:8px 11px;cursor:pointer}.survey-empty{padding:25px;color:#748078}.survey-print{display:none}@media(max-width:1000px){.survey-grid.four,.survey-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.span-4{grid-column:1/-1}}@media(max-width:680px){.survey-view{padding:25px 12px 115px}.survey-heading,.survey-card-title{align-items:flex-start;flex-direction:column}.survey-head-actions,.survey-inline-actions{width:100%;flex-wrap:wrap}.survey-head-actions button,.survey-inline-actions button{flex:1}.survey-progress{grid-template-columns:1fr 1fr}.survey-grid.four,.survey-grid.two,.survey-item-grid,.measure-matrix{grid-template-columns:1fr}.span-2,.span-4,.survey-item .wide{grid-column:auto}.survey-help{flex-direction:column}.survey-savebar{flex-wrap:wrap}.survey-savebar>div{width:100%}.survey-savebar button{flex:1}.saved-survey-row{grid-template-columns:1fr auto}.saved-survey-row button{grid-column:1/-1}}
@media print{body:has(#rilievi.active-view) .service-strip,body:has(#rilievi.active-view) .topbar,body:has(#rilievi.active-view) .intro,body:has(#rilievi.active-view) .checkout-dock,body:has(#rilievi.active-view) .survey-head-actions,body:has(#rilievi.active-view) .survey-inline-actions,body:has(#rilievi.active-view) .survey-progress,body:has(#rilievi.active-view) .survey-savebar,body:has(#rilievi.active-view) .saved-surveys{display:none!important}body:has(#rilievi.active-view) .view{display:none!important}body:has(#rilievi.active-view) #rilievi{display:block!important;padding:0;background:#fff}body:has(#rilievi.active-view) .survey-card{box-shadow:none;break-inside:avoid;margin-bottom:10px}body:has(#rilievi.active-view) input,body:has(#rilievi.active-view) select,body:has(#rilievi.active-view) textarea{border-color:#aaa!important}}
.photo-box #surveyPhotoList .survey-photo-thumb{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;max-width:100%;padding:5px;background:#edf1ef}.survey-photo-thumb img{width:48px;height:48px;object-fit:cover}.survey-photo-thumb b{overflow-wrap:anywhere;font-size:10px;font-weight:650}
