/*
  DIGIX Surveys Styles — V4.0.126
  Authoritative module stylesheet. Add future surveys CSS here; do not create patch stylesheets.
*/

.survey-prism-core{
  position:absolute;
  transform-style:preserve-3d;
  pointer-events:none;
  z-index:0;
}
.survey-core-face{
  position:absolute;
  left:0;
  top:0;
  box-sizing:border-box;
  background:linear-gradient(135deg,#d9e0e2 0%,#aebbc0 48%,#8e9da2 100%);
  border:1px solid rgba(74,92,98,.42);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.26);
  backface-visibility:visible;
}
.survey-core-side{
  background:linear-gradient(90deg,#9ba9ae,#c7d0d3 48%,#8b999e);
}
.u-holder .u-face,
.multi-holder .multi-face{
  z-index:4;
}

.survey-core-top{
  transform-origin:center center;
  background:linear-gradient(135deg,#e0e6e8 0%,#bcc7ca 50%,#98a7ac 100%);
}
.survey-core-bottom{
  transform-origin:center center;
  background:linear-gradient(135deg,#9aa8ad 0%,#b8c3c7 50%,#87969b 100%);
}

.concave-survey-wall{
  position:absolute;
  transform-style:preserve-3d;
  pointer-events:none;
  z-index:0;
}
.concave-wall-face{
  position:absolute;
  box-sizing:border-box;
  background:linear-gradient(135deg,#dce3e5 0%,#c2ccd0 48%,#9ba9ae 100%);
  border:1px solid rgba(79,96,103,.34);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
  backface-visibility:visible;
}
.concave-wall-side{
  background:linear-gradient(90deg,#9eacb1 0%,#c9d2d5 50%,#8f9da2 100%);
}

.survey-header-btn{background:#fff}.survey-header-btn img{filter:none}
#surveyLibraryModal,#surveyEditorModal,#surveyReportModal{z-index:21050!important}.survey-shell{width:min(1480px,96vw);max-width:1480px;height:min(900px,94vh);display:flex;flex-direction:column}.survey-body{background:#edf2f3;padding:18px 22px 26px;overflow:auto;flex:1}.survey-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.survey-search{width:min(650px,55vw);padding:11px 13px;border:1px solid #cdd9dc;border-radius:9px}.survey-list{display:grid;gap:8px}.survey-row{display:grid;grid-template-columns:150px 1.1fr 1fr 120px 120px 390px;gap:10px;align-items:center;background:#fff;border:1px solid #d9e3e5;border-radius:10px;padding:12px 14px;font-size:11px}.survey-row.head{font-size:9px;font-weight:800;text-transform:uppercase;color:#73858a;background:transparent;border:0;padding-top:4px;padding-bottom:4px}.survey-id{font-weight:850;color:#2d6970;cursor:pointer}.survey-actions{display:flex;gap:5px;justify-content:flex-end}.survey-actions button{font-size:9px;padding:7px 9px}.survey-status{border:1px solid #d1dcde;border-radius:7px;padding:7px;background:#fff}.survey-empty{background:#fff;border:1px dashed #cbd8da;border-radius:12px;padding:55px;text-align:center;color:#718287}.survey-type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0 20px}.survey-type-card{border:1px solid #d4dfe1;background:#fff;border-radius:13px;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;font-weight:800;color:#52676d;cursor:pointer}.survey-type-card:hover{border-color:#6faab0;background:#f1fafb}.survey-type-card svg{width:38px;height:32px;fill:none;stroke:#718086;stroke-width:2}.survey-type-card.custom{border-style:dashed}.survey-info-card,.survey-screen-card{background:#fff;border:1px solid #d7e1e3;border-radius:13px;padding:16px;margin-bottom:14px}.survey-info-card h3,.survey-screen-card h3{margin:0 0 14px;color:#30484f;font-size:13px}.survey-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.survey-grid .span2{grid-column:span 2}.survey-grid .span4{grid-column:1/-1}.survey-grid label,.survey-photo-add label{display:grid;gap:5px;font-size:9px;font-weight:800;color:#6b7c82;text-transform:uppercase}.survey-grid input,.survey-grid select,.survey-grid textarea,.survey-photo-add input,.survey-photo-add select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #ccd8db;border-radius:8px;background:#fff;color:#263b41}.survey-multi{min-height:92px}.survey-screen-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.survey-screen-actions{display:flex;gap:6px}.survey-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-top:10px}.survey-photo{border:1px solid #d8e1e3;border-radius:10px;overflow:hidden;background:#f8fafb}.survey-photo img{width:100%;height:130px;object-fit:cover;display:block}.survey-photo .pbody{padding:8px;display:grid;gap:6px}.survey-photo textarea{width:100%;box-sizing:border-box;min-height:54px}.survey-editor-footer{display:flex;justify-content:space-between;gap:10px;position:sticky;bottom:0;background:#edf2f3;padding-top:10px}.survey-ref-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.survey-ref-row select{min-width:360px;padding:10px;border:1px solid #ccd8db;border-radius:8px}.survey-include-tech{display:flex!important;align-items:center;gap:7px;font-size:10px;color:#52676d}.survey-side-panel{position:fixed;z-index:26000;right:0;top:0;width:48vw;height:100vh;background:#edf2f3;box-shadow:-10px 0 30px rgba(20,45,52,.18);display:flex;flex-direction:column}.survey-side-panel.hidden{display:none}.survey-side-head{padding:14px 18px;background:#fff;border-bottom:1px solid #d5e0e2;display:flex;justify-content:space-between;align-items:center}.survey-side-body{overflow:auto;padding:14px}.survey-side-screen{background:#fff;border:1px solid #d7e1e3;border-radius:10px;padding:12px;margin-bottom:10px;font-size:11px}.survey-side-screen table{width:100%;border-collapse:collapse}.survey-side-screen td{padding:5px;border-bottom:1px solid #edf1f2}.survey-side-screen td:first-child{font-weight:750;width:43%;color:#60747a}.survey-side-photos{display:flex;gap:7px;overflow:auto;margin-top:8px}.survey-side-photos img{width:110px;height:80px;object-fit:cover;border-radius:7px}.quote-overlay.survey-reference-open .quote-modal{width:50vw;max-width:50vw;margin-right:50vw}.survey-report-content{background:#fff;padding:22px}.survey-report-screen{page-break-inside:avoid;border:1px solid #d7e1e3;border-radius:10px;padding:14px;margin:12px 0}.survey-report-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.survey-report-photos img{width:100%;height:160px;object-fit:cover}.survey-pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#e8f2f3;color:#386d73;font-size:9px;font-weight:800}.survey-person-checks{border:1px solid #ccd8db;border-radius:8px;padding:8px;max-height:110px;overflow:auto;background:#fff}.survey-person-checks label{display:flex!important;grid-template-columns:none;align-items:center;gap:6px;text-transform:none;font-size:10px;padding:3px}.survey-person-checks input{width:auto}.survey-add-screen-bar{display:flex;justify-content:flex-end;margin:10px 0}.survey-hidden{display:none!important}@media(max-width:1050px){.survey-grid{grid-template-columns:repeat(2,1fr)}.survey-row{grid-template-columns:130px 1fr 1fr 100px}.survey-row>*:nth-child(5){display:none}.survey-actions{grid-column:1/-1;justify-content:flex-start}.survey-type-grid{grid-template-columns:repeat(2,1fr)}}

#surveyHeaderBtn.survey-header-btn{background:transparent;border:0;box-shadow:none;color:#fff;padding:4px 6px;min-width:42px}
#surveyHeaderBtn .survey-tape-svg{width:34px;height:28px;display:block;color:#fff;filter:none}
#surveyHeaderBtn:hover{background:rgba(255,255,255,.08)}
#surveyHeaderBtn .v4-request-badge-count{position:absolute!important;right:0;top:-2px}
.survey-filter-panel{background:#fff;border:1px solid #d7e1e3;border-radius:12px;padding:12px;margin:0 0 14px}.survey-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px}.survey-filter-grid select,.survey-filter-bottom select{padding:9px 10px;border:1px solid #ccd8db;border-radius:8px;background:#fff;color:#30484f}.survey-filter-bottom{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.survey-filter-group{display:flex;align-items:center;gap:7px;font-size:10px;color:#65777c}.survey-filter-bottom>button{margin-left:auto}
.survey-type-picker-bottom{margin-top:14px}.survey-type-grid{grid-template-columns:repeat(2,minmax(190px,1fr));max-width:640px;margin:12px auto 8px;gap:10px}.survey-type-card{min-height:120px;border-radius:14px;font-size:13px}.survey-type-card svg{width:46px;height:40px}.survey-add-screen-bar{justify-content:center;margin:14px 0 4px}.survey-editor-footer .survey-editor-right{display:flex;gap:8px}
#surveyReportModal{z-index:120300!important}.survey-report-content{max-width:1120px;margin:0 auto;background:#fff;border:1px solid #d7e1e3;border-radius:10px}.survey-report-meta{width:100%;border-collapse:collapse;margin-bottom:14px}.survey-report-meta td{width:33.33%;padding:10px;border:1px solid #e2e9eb;vertical-align:top}.survey-report-screen{page-break-inside:auto}.survey-report-title{display:flex;align-items:center;gap:10px;border-bottom:2px solid #6ea9ae;padding-bottom:8px;margin-bottom:10px}.survey-report-title svg{width:32px;height:28px;fill:none;stroke:#58747a;stroke-width:2}.survey-report-group{margin:10px 0 14px}.survey-report-group h4{margin:0;padding:7px 9px;background:#edf6f7;color:#326d73;text-transform:uppercase;font-size:9px;letter-spacing:.05em}.survey-report-group table{width:100%;border-collapse:collapse;table-layout:fixed}.survey-report-group td{padding:7px 9px;border-bottom:1px solid #e2e9eb;font-size:11px;vertical-align:top}.survey-report-group td:first-child{width:42%;font-weight:750;color:#60747a}.survey-report-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.survey-report-photo{border:1px solid #dde6e8;border-radius:9px;padding:8px;background:#fafcfc;cursor:zoom-in}.survey-report-photo img{width:100%;height:230px;object-fit:contain;background:#fff;border-radius:6px}.survey-report-photo small{display:block;padding-top:6px;color:#60747a;line-height:1.4}.survey-photo img{object-fit:contain;background:#fff}.survey-photo-lightbox{position:fixed;inset:0;z-index:130000;background:rgba(6,18,22,.82);display:flex;align-items:center;justify-content:center;padding:30px}.survey-photo-lightbox.hidden{display:none}.survey-photo-lightbox-card{position:relative;width:min(1100px,94vw);max-height:92vh;background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px}.survey-photo-lightbox-card img{max-width:100%;max-height:76vh;object-fit:contain}.survey-photo-lightbox-card .quote-close{position:absolute;right:10px;top:10px}.survey-photo-lightbox-card>div{font-size:12px;color:#52676d}
.survey-side-panel{z-index:120200!important;background:#fff;opacity:1!important;filter:none}.survey-side-body{background:#edf2f3}.survey-side-head{background:#fff}.quote-overlay.survey-reference-open{background:rgba(7,24,28,.34)}.survey-side-screen{opacity:1!important;filter:none}.survey-side-screen h3{display:flex;align-items:center;gap:8px}.survey-side-screen h3 svg{width:26px;height:22px;fill:none;stroke:#607b80;stroke-width:2}.survey-workspace-return{display:none}.survey-config-workspace .survey-workspace-return{display:inline-flex!important}
.linked-survey-export-option.survey-hidden-export{display:none!important}
@media(max-width:1050px){.survey-filter-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.survey-type-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}

#surveyHeaderBtn.survey-header-btn{background:transparent;border:0;box-shadow:none;padding:4px;min-width:38px;width:38px;height:38px}
#surveyHeaderBtn .survey-tape-image{width:27px;height:27px;object-fit:contain;display:block;filter:none;opacity:1!important}
.survey-reference-launcher{position:fixed;right:18px;bottom:24px;z-index:119900;border:1px solid #6faab0;background:#12343a;color:#fff;border-radius:12px;padding:10px 14px;box-shadow:0 8px 24px rgba(10,35,41,.22);cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-weight:800}
.survey-reference-launcher small{font-size:9px;font-weight:650;color:#cfe4e6}.survey-reference-launcher.hidden,.survey-return-floating.hidden{display:none!important}
.survey-return-floating{position:fixed;right:18px;top:84px;z-index:119900;box-shadow:0 6px 18px rgba(10,35,41,.16)}
.survey-side-panel{width:min(460px,34vw);z-index:120200!important;background:#fff;box-shadow:-8px 0 26px rgba(15,40,46,.18)}
.survey-drawer-select-wrap{padding:12px 14px 10px;background:#f6f9fa;border-bottom:1px solid #d8e2e4}.survey-drawer-select-wrap label{display:grid;gap:5px;font-size:9px;font-weight:800;text-transform:uppercase;color:#60747a}.survey-drawer-select-wrap select{padding:9px 10px;border:1px solid #cbd8da;border-radius:8px;background:#fff;color:#263b41}
.survey-drawer-summary{background:#fff;border:1px solid #d7e1e3;border-radius:10px;padding:11px;margin-bottom:10px}.survey-drawer-summary b{font-size:12px}.survey-drawer-summary small{display:block;color:#6b7d82;margin-top:3px}
.survey-drawer-group{background:#fff;border:1px solid #d7e1e3;border-radius:10px;overflow:hidden;margin-bottom:10px}.survey-drawer-group h4{margin:0;padding:7px 10px;background:#edf6f7;color:#326d73;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.survey-drawer-group table{width:100%;border-collapse:collapse;table-layout:fixed}.survey-drawer-group td{font-size:10px;padding:6px 9px;border-bottom:1px solid #edf1f2;vertical-align:top}.survey-drawer-group td:first-child{width:44%;font-weight:750;color:#60747a}.survey-drawer-group tr:last-child td{border-bottom:0}
.survey-drawer-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}.survey-drawer-photo{border:1px solid #e0e8ea;border-radius:8px;background:#fafcfc;padding:5px;cursor:zoom-in}.survey-drawer-photo img{width:100%;height:110px;object-fit:contain;background:#fff;border-radius:5px}.survey-drawer-photo small{display:block;font-size:8px;line-height:1.35;color:#60747a;padding-top:4px}
.survey-share-overlay{position:fixed;inset:0;z-index:140000;background:rgba(6,20,24,.56);display:flex;align-items:center;justify-content:center;padding:20px}.survey-share-overlay.hidden{display:none}.survey-share-card{width:min(520px,94vw);background:#fff;border-radius:14px;box-shadow:0 20px 55px rgba(0,0,0,.28);overflow:hidden}.survey-share-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #dce5e7}.survey-share-body{padding:18px;display:grid;gap:13px}.survey-share-body label{display:grid;gap:5px;font-size:10px;font-weight:750;color:#60747a}.survey-share-body select,.survey-share-body textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #cbd8da;border-radius:8px;background:#fff}.survey-share-actions{display:flex;justify-content:flex-end;gap:8px}.survey-share-note{font-size:10px;color:#718287;line-height:1.5}
.q-survey-screen-page .q-doc-tech-section{margin-bottom:10px}.q-survey-photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:10px}.q-survey-photo-card{border:1px solid #dce5e7;border-radius:8px;padding:7px;background:#fafcfc}.q-survey-photo-card img{width:100%;height:230px;object-fit:contain;background:#fff;display:block}.q-survey-photo-card small{display:block;color:#60747a;font-size:8px;line-height:1.35;padding-top:5px}
.tech-survey-overview,.tech-survey-screen,.tech-survey-photos{break-inside:avoid}.tech-survey-title{display:flex;align-items:center;gap:7px}.tech-survey-title svg{width:22px;height:20px;fill:none;stroke:#54747a;stroke-width:2}.tech-survey-photos-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.tech-survey-photo{border:1px solid #dce5e7;padding:5px;background:#fafcfc}.tech-survey-photo img{width:100%;height:150px;object-fit:contain;background:#fff;display:block}.tech-survey-photo small{display:block;font-size:6.7px;color:#60747a;padding-top:4px;line-height:1.3}

.technical-survey-select-field select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cfdcdf;border-radius:9px;background:#fff;color:#263b41;font:inherit}.technical-survey-select-field .small{margin-top:5px;color:#78898e}
.survey-owner-note{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#eef5f6;color:#53737a;font-size:8px;font-weight:800;margin-left:6px}.tech-survey-group table{width:100%;border-collapse:collapse}.tech-survey-group td{padding:3px 5px;border-bottom:1px solid #e4ebed;font-size:7px}.tech-survey-group td:first-child{width:46%;color:#60747a}

/* V4.1.53 — Survey voice notes */
.survey-voice-section{margin-top:14px;border:1px solid #d7e2e4;border-radius:12px;background:#f8fbfb;padding:14px}.survey-voice-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.survey-voice-head>div{display:grid;gap:3px}.survey-voice-head b{font-size:12px;color:#29464d}.survey-voice-head span,.survey-voice-head>span{font-size:10px;color:#73868b}.survey-voice-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}.survey-voice-toolbar small{margin-left:auto;color:#6d8085}.survey-voice-section.recording{border-color:#e85c67;box-shadow:0 0 0 2px rgba(232,92,103,.1)}.survey-voice-section.recording .survey-voice-live{color:#c63f4a;font-weight:800}.survey-voice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.survey-voice-card{display:grid;gap:8px;border:1px solid #dbe5e7;border-radius:10px;background:#fff;padding:11px}.survey-voice-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.survey-voice-card-head b{font-size:9px;letter-spacing:.04em;color:#4d686e}.survey-voice-status{padding:3px 7px;border-radius:999px;background:#eef1f7;color:#5d6880;font-size:8px;font-weight:800;text-transform:capitalize}.survey-voice-title{width:100%;box-sizing:border-box;border:1px solid #d3dee1;border-radius:7px;padding:7px 9px;font-size:11px}.survey-voice-title-readonly{font-size:11px;color:#29464d}.survey-voice-card audio{width:100%;height:34px}.survey-voice-card small{color:#74868b;font-size:9px}.survey-voice-actions{display:flex;justify-content:flex-end;gap:6px}.survey-voice-actions .danger{color:#b33b45}.survey-voice-empty{margin-top:11px;border:1px dashed #cfdbde;border-radius:9px;padding:18px;text-align:center;color:#829398;font-size:10px}.survey-report-voice .survey-voice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:900px){.survey-voice-grid,.survey-report-voice .survey-voice-grid{grid-template-columns:1fr}.survey-voice-toolbar small{width:100%;margin-left:0}}
.survey418-text-entry{position:fixed;z-index:20;width:320px;box-sizing:border-box;display:grid;gap:9px;padding:13px;background:#fff;border:1px solid #cddadd;border-radius:11px;box-shadow:0 14px 42px rgba(9,30,36,.3)}.survey418-text-entry b{font-size:12px;color:#29464d}.survey418-text-entry input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #bdcdd1;border-radius:8px;font:inherit}.survey418-text-entry>div{display:flex;justify-content:flex-end;gap:7px}.survey418-text-entry button{border:1px solid #c9d6d9;border-radius:7px;background:#fff;padding:7px 12px;cursor:pointer}.survey418-text-entry button.primary{border-color:#66a3aa;background:#66a3aa;color:#fff;font-weight:750}

.survey-reference-launcher{right:18px;top:128px;bottom:auto;min-width:156px;align-items:center;text-align:center}
.survey-return-floating{right:18px;top:84px}
.quote-tech-select-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px;padding-bottom:2px;border-bottom:1px solid #edf1f2;margin-bottom:1px}.quote-tech-select-actions .quote-secondary-btn{font-size:9px;padding:6px 10px}
.survey-photo-actions{display:flex;gap:6px;flex-wrap:wrap}.survey-photo-actions .quote-secondary-btn{flex:1 1 auto}
.q-survey-report-head{display:flex;align-items:center;gap:9px;border-bottom:2px solid #6ea9ae;padding-bottom:7px;margin:8px 0 10px}.q-survey-report-head svg{width:28px;height:25px;fill:none;stroke:#58747a;stroke-width:2}
.q-survey-report-group{border:1px solid #dde6e8;border-radius:7px;overflow:hidden;margin:9px 0}.q-survey-report-group h3{margin:0;padding:7px 9px;background:#edf6f7;color:#326d73;text-transform:uppercase;font-size:9px;letter-spacing:.05em}
.q-survey-report-table{width:100%;border-collapse:collapse;table-layout:fixed}.q-survey-report-table td{padding:6px 8px;border-bottom:1px solid #e2e9eb;font-size:10px;vertical-align:top}.q-survey-report-table tr:last-child td{border-bottom:0}.q-survey-report-table td:first-child{width:42%;font-weight:750;color:#60747a}.q-survey-report-table td:last-child{font-weight:700;color:#21383e}
.q-survey-photo-grid.v4063{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.q-survey-photo-grid.v4063 .q-survey-photo-card img{height:190px;object-fit:contain}
.survey-marker-modal{position:fixed;inset:0;z-index:140000;background:rgba(6,18,22,.78);display:flex;align-items:center;justify-content:center;padding:24px}.survey-marker-modal.hidden{display:none}.survey-marker-card{width:min(1180px,96vw);height:min(860px,94vh);background:#fff;border-radius:14px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.32)}.survey-marker-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #dce5e7}.survey-marker-toolbar{display:flex;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid #e6edef;background:#f7fafb;flex-wrap:wrap}.survey-marker-toolbar label{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:750;color:#52676d}.survey-marker-toolbar input[type=color]{width:34px;height:30px;padding:0;border:1px solid #cbd8db;border-radius:6px}.survey-marker-toolbar input[type=range]{width:120px}.survey-marker-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#dfe7e9;padding:14px;overflow:auto}.survey-marker-stage canvas{max-width:100%;max-height:100%;background:#fff;box-shadow:0 3px 15px rgba(0,0,0,.15);touch-action:none;cursor:crosshair}.survey-marker-foot{display:flex;justify-content:flex-end;gap:8px;padding:11px 16px;border-top:1px solid #dce5e7}

#surveyLibraryModal .survey-row{grid-template-columns:145px minmax(190px,1.15fr) minmax(130px,.75fr) minmax(130px,.75fr) 110px 115px minmax(300px,1.55fr)}
#surveyLibraryModal .survey-row.head{grid-template-columns:145px minmax(190px,1.15fr) minmax(130px,.75fr) minmax(130px,.75fr) 110px 115px minmax(300px,1.55fr)}
#exportModalBackdrop .technical-survey-select-field + .linked-survey-export-option{display:flex!important;grid-column:1/-1;align-items:center;gap:9px;margin-top:-6px;padding:9px 12px;border:1px solid #dce6e8;border-radius:9px;background:#f8fbfb}
#exportModalBackdrop .linked-survey-export-option.survey-hidden-export{display:flex!important}
.q-survey-photo-grid.v4063{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.q-survey-photo-grid.v4063 .q-survey-photo-card{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;padding:8px;box-sizing:border-box}
.q-survey-photo-grid.v4063 .q-survey-photo-card img{display:block!important;width:100%;height:auto;max-height:320px;aspect-ratio:auto;object-fit:contain;object-position:center;margin:auto}
.q-survey-photo-grid.v4063 .q-survey-photo-card small{min-height:24px;padding-top:7px}
@media(max-width:1100px){#surveyLibraryModal .survey-row,#surveyLibraryModal .survey-row.head{grid-template-columns:125px 1fr 120px 120px 100px}#surveyLibraryModal .survey-row>*:nth-child(6){display:none}#surveyLibraryModal .survey-actions{grid-column:1/-1;justify-content:flex-start}}

.layout-thickness-chip{background:transparent;border:0;border-radius:0;padding:4px 2px;color:#526b70;font-size:11px;font-weight:800;box-shadow:none;cursor:default}
#layout .screen-face{padding:0;gap:0}
#layout .cube-side{box-sizing:border-box}
.v4066-export-hidden{visibility:hidden!important}
.survey-grid .v4065-prepared-locked{cursor:default}

/* 2/3/4-sided: the LED face remains one plane. A coplanar dark rear cover appears
   only when that face is viewed from behind, so front artwork cannot appear reversed. */
#layout .lshape-face,#layout .u-face,#layout .multi-face{
  backface-visibility:visible;
  -webkit-backface-visibility:visible;
  transform-style:preserve-3d;
}
#layout .lshape-face::before,#layout .u-face::before,#layout .multi-face::before{
  display:block!important;content:"";position:absolute!important;inset:0;
  width:auto;height:auto;top:0;right:0;bottom:0;left:0;
  background:linear-gradient(135deg,#17363c,#08181c);
  border:0;box-shadow:none;pointer-events:none!important;
  transform:rotateY(180deg) translateZ(.05px)!important;transform-origin:center center;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;z-index:30!important;
}
#layout .lshape-face::after,#layout .u-face::after,#layout .multi-face::after{display:none!important;content:none}
/* Keep auxiliary survey/core geometry out of the interactive LED view. */
#layout .u-survey-core,#layout .u-concave-wall,#layout .multi-survey-core,#layout .multi-concave-wall{display:none!important}
/* Cylindrical: keep one LED skin. The existing slice is the front; a coplanar dark
   rear cover masks mirrored artwork whenever a slice turns away from the viewer. */
#layout .pillar-flex-slice{
  backface-visibility:visible;-webkit-backface-visibility:visible;
  transform-style:preserve-3d;
}
#layout .pillar-flex-slice::before{
  content:"";position:absolute!important;inset:0;
  background:linear-gradient(135deg,#17363c,#08181c);
  transform:rotateY(180deg) translateZ(.05px)!important;transform-origin:center center;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
  pointer-events:none!important;z-index:40!important;
}
#layout .pillar-core-cylinder{display:block!important}

#layout .lshape-face::before,
#layout .u-face::before,
#layout .multi-face::before{
  transform:rotateY(180deg) translateZ(0)!important;
}
#layout .pillar-flex-slice::before{
  transform:rotateY(180deg) translateZ(0)!important;
}
/* 4-Sided convex screens should retain the surveyed structure/pillar inside the LED envelope. */
#layout .multi-survey-core{display:block!important}
/* Keep the 3-Sided helper core hidden; it is not part of the LED skin and was visually read as a second layer. */
#layout .u-survey-core,#layout .u-concave-wall{display:none!important}
#layout .pillar-core-cylinder{display:block!important}

#layout .u-survey-core{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

#layout .pillar-flex-slice::after{
  background:repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--rowH) - 1.15px),
    rgba(205,225,229,.72) calc(var(--rowH) - 1.15px),
    rgba(205,225,229,.72) var(--rowH)
  );
  opacity:1!important;
}
#layout .pillar-module-boundary{
  width:1.15px;
  background:rgba(205,225,229,.72);
  opacity:1!important;
  box-shadow:0 0 .35px rgba(205,225,229,.28);
}
#layout .module-lines-hidden .pillar-module-boundary,
#layout .module-lines-hidden .pillar-flex-slice::after{
  display:none!important;
}

#surveyLibraryModal{z-index:240000!important}
#surveyEditorModal{z-index:241000!important}
#surveyReportModal{z-index:242000!important}
#surveyPhotoLightbox{z-index:243000!important}
#surveyEditorModal .survey-screen-card{padding:20px;border-radius:16px;box-shadow:0 3px 14px rgba(31,66,73,.05)}
#surveyEditorModal .survey-grid{gap:14px;align-items:end}
#surveyEditorModal .survey-field-pair{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:11px;border:1px solid #e0e8ea;border-radius:12px;background:#f8fbfb}
#surveyEditorModal .survey-unit-field select{font-weight:800;color:#315f66;background:#f0f8f8}
#surveyEditorModal .survey-unit-field small{display:block;margin-top:4px;text-transform:none;font-weight:600;color:#829196;font-size:8px;line-height:1.35}
#surveyEditorModal .survey-access-field label{position:relative}
#surveyEditorModal .survey-power-pair{background:#f7fbfc;border-color:#d8e8ea}
#surveyEditorModal .survey-connect-pair{background:#fafcfc}
.super-admin-floating-settings{position:fixed!important;right:20px;bottom:124px;z-index:9000!important;width:42px;height:42px;min-width:42px;border-radius:50%;background:#17323a;border:1px solid rgba(22,50,58,.2);box-shadow:0 8px 24px rgba(16,43,51,.18);color:#fff;display:inline-flex!important;align-items:center;justify-content:center;padding:9px}
.super-admin-floating-settings.hidden{display:none!important}.super-admin-floating-settings svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.super-admin-floating-settings:hover{background:#21444d;transform:translateY(-1px)!important}
.ops-countdown{display:inline-flex;margin-top:4px;padding:3px 6px;border-radius:999px;font-size:8px;font-weight:900;white-space:nowrap}.ops-countdown.ok{background:#eaf7ee;color:#39734a}.ops-countdown.due{background:#fff3d7;color:#8b681d}.ops-countdown.overdue{background:#fdeceb;color:#a34039}.ops-countdown.neutral{background:#eef3f4;color:#6b7d82}.ops-mini-btn.concern{border-color:#d6bc75;background:#fff9e9;color:#79601c}.ops-inline-attachments{display:flex;gap:4px;flex-wrap:wrap;align-items:center;margin-top:5px}.ops-inline-attachments small{font-size:8px;color:#70858a;font-weight:800}.ops-att-chip.tiny{padding:3px 6px;font-size:7.5px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){#surveyEditorModal .survey-field-pair{grid-column:1/-1}.super-admin-floating-settings{right:12px;bottom:116px}}

#surveyEditorModal .survey-type-selector-card{padding:8px 10px;margin-bottom:8px;border-radius:10px}
#surveyEditorModal .survey-type-selector-card>h3{margin:0 0 6px;font-size:11px}
#surveyEditorModal .survey-type-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));max-width:none;width:100%;margin:0;gap:6px}
#surveyEditorModal .survey-type-card{min-width:0;min-height:70px;padding:5px 4px;border-radius:8px;gap:3px;font-size:10px;line-height:1.1}
#surveyEditorModal .survey-type-card .survey-unified-screen-icon{width:100%;height:30px;display:flex!important;align-items:center;justify-content:center;color:#6b7c82}
#surveyEditorModal .survey-type-card .survey-unified-screen-icon svg{width:38px;height:28px;overflow:visible!important}
#surveyEditorModal .survey-type-card .survey-unified-screen-icon svg *{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#surveyEditorModal .survey-type-card:hover{border-color:#58a5ac;background:#eef9fa}
#surveyEditorModal .survey-type-card:hover .survey-unified-screen-icon{color:var(--teal2)}
#surveyEditorModal .survey-type-card.custom{border-style:dashed}
@media(max-width:1150px){#surveyEditorModal .survey-type-grid{grid-template-columns:repeat(7,minmax(86px,1fr));overflow-x:auto!important;padding-bottom:2px}}

/* V4.0.215 — complete survey visuals + marked/original viewer */
.survey-report-photos{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.survey-report-photo{display:flex;flex-direction:column;gap:7px;border:1px solid #dbe5e7;border-radius:10px;padding:9px;background:#fbfdfd;cursor:zoom-in;min-width:0}
.survey-report-photo img{display:block!important;width:100%!important;height:auto!important;max-height:430px!important;object-fit:contain!important;object-position:center!important;background:#fff;border-radius:7px}
.survey-report-photo small{display:block;color:#60747a;line-height:1.35}
.survey-photo-view-actions,.survey-photo-lightbox-modes{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.survey-photo-view-actions .quote-secondary-btn{font-size:9px;padding:6px 9px}
.survey-photo-lightbox-modes{padding:0 42px 0 0}
.survey-photo-lightbox-modes .quote-secondary-btn.active{background:#315c63;color:#fff;border-color:#315c63}
.survey-photo-lightbox-card{width:min(1320px,96vw)!important;max-height:95vh!important}
.survey-photo-lightbox-card>img{width:100%;max-height:80vh!important;object-fit:contain!important;background:#111}
.survey-photo>img{cursor:zoom-in;height:160px!important;object-fit:contain!important;background:#fff}
.survey-photo-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:900px){.survey-report-photos{grid-template-columns:1fr!important}}


/* V4.0.226 — Survey identity, compact site override toggle, and clearer report data pairing. */
.survey-site-override-row{display:flex;align-items:center;min-height:38px}
.survey-site-override-toggle{width:auto!important;min-width:0!important;display:inline-flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:6px 9px!important;margin:2px 0!important;border:1px solid #d6e1e3!important;border-radius:9px!important;background:#f8fbfb!important;text-transform:none!important;color:#435a60!important;font-size:10px!important;font-weight:750!important}
.survey-site-override-toggle span{display:inline!important;white-space:normal}
.survey-site-override-toggle input{display:none!important}
.survey-site-override-toggle i{flex:0 0 auto;width:34px!important;height:18px!important;border-radius:999px!important;background:#bcc9cc!important;position:relative!important;display:inline-block!important}
.survey-site-override-toggle i:after{content:""!important;position:absolute!important;width:14px!important;height:14px!important;left:2px!important;top:2px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.18)!important;transition:left .16s ease!important}
.survey-site-override-toggle input:checked+i{background:#5fa5aa!important}
.survey-site-override-toggle input:checked+i:after{left:18px!important}
.survey-report-main-title{margin:0 0 14px;font-size:18px;color:#20383e}
.survey-report-meta{border-collapse:separate!important;border-spacing:8px!important;margin:-8px -8px 10px!important;width:calc(100% + 16px)!important}
.survey-report-meta td{border:1px solid #dbe5e7!important;border-radius:8px!important;background:#f8fbfb!important;padding:10px 12px!important;vertical-align:top!important}
.survey-report-meta td b{display:block;color:#4e656b;font-size:9px;text-transform:uppercase;letter-spacing:.035em;margin-bottom:4px}
.survey-report-meta td span{display:block;color:#1f353b;font-size:11px;line-height:1.45}
.survey-report-meta td small{display:block;color:#718287;margin-top:2px}
.survey-report-group{border:1px solid #dbe5e7;border-radius:9px;overflow:hidden;margin:12px 0;background:#fff}
.survey-report-group h4{margin:0!important;padding:8px 10px!important;background:#edf6f7!important;color:#326d73!important;text-transform:uppercase!important;font-size:9px!important;letter-spacing:.05em!important}
.survey-report-data-table{width:100%;border-collapse:collapse;table-layout:fixed}
.survey-report-data-table td{padding:7px 10px!important;border-top:1px solid #e5ecee!important;vertical-align:top;font-size:10px!important}
.survey-report-data-table tr:first-child td{border-top:0!important}
.survey-report-data-table td:first-child{width:42%;font-weight:750;color:#5b7076;background:#fafcfc}
.survey-report-data-table td:last-child{color:#1f353b}

/* V4.0.235 — Survey editor professional form design system */
#surveyEditorModal.survey-pro-editor .survey-shell{width:min(1520px,97vw);max-width:1520px;height:min(930px,96vh);border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(20,48,56,.22)}
#surveyEditorModal.survey-pro-editor .quote-preview-head{min-height:66px;padding:0 18px 0 22px;background:#fff;border-bottom:1px solid #dfe7e9}
#surveyEditorModal.survey-pro-editor .quote-preview-head b{font-size:14px;color:#20383e;letter-spacing:-.01em}
#surveyEditorModal.survey-pro-editor .quote-preview-head span{margin-top:3px;color:#74858a;font-size:9px}
#surveyEditorModal.survey-pro-editor .survey-body{padding:20px 22px 88px;background:#f2f6f7}
#surveyEditorModal.survey-pro-editor .survey-info-card,
#surveyEditorModal.survey-pro-editor .survey-screen-card{border:1px solid #dbe5e7;background:#fff;box-shadow:0 5px 20px rgba(28,61,69,.045)}
#surveyEditorModal.survey-pro-editor .survey-pro-card{padding:0!important;border-radius:15px!important;overflow:hidden;margin-bottom:16px}
#surveyEditorModal.survey-pro-editor .survey-pro-card-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;background:linear-gradient(180deg,#fbfdfd,#f8fbfb);border-bottom:1px solid #e2e9eb}
#surveyEditorModal.survey-pro-editor .survey-pro-card-head h3{margin:0!important;font-size:13px;color:#223b41}
#surveyEditorModal.survey-pro-editor .survey-pro-card-head p{margin:3px 0 0;font-size:9px;color:#7b8b90;line-height:1.4}
#surveyEditorModal.survey-pro-editor .survey-pro-id{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border:1px solid #bcd8db;border-radius:999px;background:#edf8f8;color:#37747a;font-size:9px;font-weight:850;white-space:nowrap}
#surveyEditorModal.survey-pro-editor .survey-pro-id.subtle{border-color:#dfe7e9;background:#fff;color:#78898e}
#surveyEditorModal.survey-pro-editor .survey-pro-subsection{padding:15px 18px 17px}
#surveyEditorModal.survey-pro-editor .survey-pro-divider{height:1px;background:#edf1f2;margin:0 18px}
#surveyEditorModal.survey-pro-editor .survey-pro-subhead{display:flex;align-items:center;gap:9px;margin-bottom:12px}
#surveyEditorModal.survey-pro-editor .survey-pro-subhead b{display:block;color:#30484f;font-size:10px}
#surveyEditorModal.survey-pro-editor .survey-pro-subhead small{display:block;margin-top:2px;color:#829196;font-size:8px;line-height:1.35}
#surveyEditorModal.survey-pro-editor .survey-pro-step{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background:#eaf5f6;color:#3e7c82;font-size:8px;font-weight:900}
#surveyEditorModal.survey-pro-editor .survey-pro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:end}
#surveyEditorModal.survey-pro-editor .survey-pro-field{display:grid;gap:6px;min-width:0;font-size:8.5px!important;font-weight:820!important;letter-spacing:.025em;color:#65797f!important;text-transform:uppercase!important}
#surveyEditorModal.survey-pro-editor .survey-pro-field input,
#surveyEditorModal.survey-pro-editor .survey-pro-field select{height:42px!important;padding:0 11px!important;border:1px solid #cfdadd!important;border-radius:9px!important;background:#fff!important;color:#223940!important;font-size:10px!important;font-weight:550!important;outline:none;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}
#surveyEditorModal.survey-pro-editor .survey-pro-field input:focus,
#surveyEditorModal.survey-pro-editor .survey-pro-field select:focus{border-color:#69aab0!important;box-shadow:0 0 0 3px rgba(78,157,165,.11)!important}
#surveyEditorModal.survey-pro-editor .survey-pro-field.is-readonly input,
#surveyEditorModal.survey-pro-editor .survey-pro-readonly input{background:#f3f6f7!important;color:#64777c!important;border-color:#dce4e6!important;cursor:default}
#surveyEditorModal.survey-pro-editor .survey-pro-primary input,
#surveyEditorModal.survey-pro-editor .survey-pro-primary select{border-color:#bfd4d7!important}

#surveyEditorModal.survey-pro-editor .survey-pro-screen-card{padding:0!important;border-radius:15px!important;overflow:hidden;margin-bottom:16px}
#surveyEditorModal.survey-pro-editor .survey-pro-screen-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 17px;background:#fbfdfd;border-bottom:1px solid #e1e8ea}
#surveyEditorModal.survey-pro-editor .survey-pro-screen-title{display:flex;align-items:center;gap:10px;min-width:0}
#surveyEditorModal.survey-pro-editor .survey-pro-screen-no{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#17353c;color:#fff;font-size:11px;font-weight:900;box-shadow:0 3px 8px rgba(23,53,60,.12)}
#surveyEditorModal.survey-pro-editor .survey-pro-screen-title h3{margin:0!important;color:#213a40;font-size:12px}
#surveyEditorModal.survey-pro-editor .survey-pro-screen-title div>span{display:block;margin-top:2px;color:#849398;font-size:8px}
#surveyEditorModal.survey-pro-editor .survey-pro-type-pill{padding:5px 9px;border-radius:999px;background:#eaf5f6;color:#3c767d;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
#surveyEditorModal.survey-pro-editor .survey-screen-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
#surveyEditorModal.survey-pro-editor .survey-screen-actions .quote-secondary-btn{min-height:32px;padding:0 11px;border-radius:8px;font-size:9px;background:#fff}
#surveyEditorModal.survey-pro-editor .survey-screen-actions .survey-pro-danger{border-color:#e4c8c6;color:#9c4d47;background:#fffafa}
#surveyEditorModal.survey-pro-editor .survey-screen-actions .survey-pro-danger:hover{background:#fff1f0;border-color:#dcaeaa}
#surveyEditorModal.survey-pro-editor .survey-pro-screen-body{padding:0 17px}
#surveyEditorModal.survey-pro-editor .survey-pro-form-section{padding:16px 0;border-bottom:1px solid #edf1f2}
#surveyEditorModal.survey-pro-editor .survey-pro-form-section:last-child{border-bottom:0}
#surveyEditorModal.survey-pro-editor .survey-pro-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
#surveyEditorModal.survey-pro-editor .survey-pro-section-title b{display:block;color:#30484f;font-size:10px}
#surveyEditorModal.survey-pro-editor .survey-pro-section-title small{display:block;margin-top:2px;color:#849398;font-size:8px;line-height:1.35}
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid{gap:12px!important;align-items:end!important}
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid>label{gap:6px!important;color:#667a80!important;font-size:8.5px!important;letter-spacing:.025em!important}
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid input,
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid select,
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid textarea{min-height:42px;padding:9px 11px!important;border-radius:9px!important;border-color:#cfdadd!important;font-size:10px!important;outline:none}
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid input:focus,
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid select:focus,
#surveyEditorModal.survey-pro-editor .survey-pro-section-grid textarea:focus{border-color:#69aab0!important;box-shadow:0 0 0 3px rgba(78,157,165,.1)!important}
#surveyEditorModal.survey-pro-editor .survey-unit-field select{background:#edf7f8!important;color:#315f66!important;font-weight:800!important}
#surveyEditorModal.survey-pro-editor .survey-unit-field small{font-size:7.5px!important;color:#8a989c!important}
#surveyEditorModal.survey-pro-editor .survey-site-override-row{margin-top:2px;min-height:34px}
#surveyEditorModal.survey-pro-editor .survey-site-override-toggle{border-color:#d8e3e5!important;background:#f7fafb!important}
#surveyEditorModal.survey-pro-editor .survey-pro-site-defaults .survey-help{padding:10px 12px!important;border:1px solid #dce7e9;border-radius:9px;background:#f6fafb;color:#526a70;font-size:9px;line-height:1.45}

#surveyEditorModal.survey-pro-editor .survey-pro-photo-section{display:block!important}
#surveyEditorModal.survey-pro-editor .survey-pro-photo-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
#surveyEditorModal.survey-pro-editor .survey-pro-photo-head b{display:block;color:#30484f;font-size:10px}
#surveyEditorModal.survey-pro-editor .survey-pro-photo-head span{display:block;margin-top:2px;color:#849398;font-size:8px;line-height:1.35}
#surveyEditorModal.survey-pro-editor .survey-pro-photo-count{padding:4px 8px;border-radius:999px;background:#f0f5f6!important;color:#657a80!important;font-size:8px!important;font-weight:800}
#surveyEditorModal.survey-pro-editor .survey-pro-dropzone{position:relative;display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:11px!important;min-height:72px;padding:12px 14px!important;border:1.5px dashed #b8cfd3!important;border-radius:11px!important;background:#f9fcfc!important;cursor:pointer;text-transform:none!important;overflow:hidden;transition:border-color .15s ease,background .15s ease}
#surveyEditorModal.survey-pro-editor .survey-pro-dropzone:hover{border-color:#6ca9af!important;background:#f1f9fa!important}
#surveyEditorModal.survey-pro-editor .survey-pro-upload-icon{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#e7f3f4;color:#4c8d93;font-size:19px;font-weight:400}
#surveyEditorModal.survey-pro-editor .survey-pro-upload-copy b{display:block;color:#35545b;font-size:10px;text-transform:none;letter-spacing:0}
#surveyEditorModal.survey-pro-editor .survey-pro-upload-copy small{display:block;margin-top:3px;color:#829398;font-size:8px;font-weight:550;text-transform:none;letter-spacing:0}
#surveyEditorModal.survey-pro-editor .survey-pro-file-input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;padding:0!important;border:0!important;z-index:2}
#surveyEditorModal.survey-pro-editor .survey-pro-paste-tools{display:flex!important;align-items:center;gap:7px;margin:8px 0 0!important}
#surveyEditorModal.survey-pro-editor .survey-pro-paste-tools .paste-image-btn109{min-height:30px;padding:0 10px;border:1px solid #d2dfe1;border-radius:8px;background:#fff;color:#466168;font-size:8.5px;font-weight:800}
#surveyEditorModal.survey-pro-editor .survey-pro-paste-tools .paste-file-hint{color:#88979b;font-size:8px;text-transform:none}
#surveyEditorModal.survey-pro-editor .survey-photo-grid{margin-top:11px;gap:10px}
#surveyEditorModal.survey-pro-editor .survey-photo{border-radius:11px;border-color:#dce5e7;background:#fbfdfd;box-shadow:0 2px 8px rgba(26,56,64,.035)}
#surveyEditorModal.survey-pro-editor .survey-photo>img{height:145px!important}

#surveyEditorModal.survey-pro-editor .survey-add-screen-bar{margin:14px 0 2px}
#surveyEditorModal.survey-pro-editor .survey-add-screen-bar .quote-secondary-btn{min-height:36px;border-style:dashed;border-color:#b9ced2;background:#f8fbfb;color:#46737a}
#surveyEditorModal.survey-pro-editor .survey-editor-footer{position:sticky;bottom:0;z-index:25;margin:18px -22px -88px;padding:12px 22px;border-top:1px solid #dbe5e7;background:rgba(248,251,251,.97);backdrop-filter:blur(8px);box-shadow:0 -8px 22px rgba(25,55,63,.05)}
#surveyEditorModal.survey-pro-editor .survey-editor-footer .quote-secondary-btn,
#surveyEditorModal.survey-pro-editor .survey-editor-footer .quote-primary-btn{min-height:38px;padding:0 15px;border-radius:9px;font-size:9.5px;font-weight:820}
#surveyEditorModal.survey-pro-editor .survey-editor-footer .quote-primary-btn{min-width:108px;box-shadow:0 4px 10px rgba(25,67,75,.11)}

@media(max-width:1100px){
  #surveyEditorModal.survey-pro-editor .survey-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #surveyEditorModal.survey-pro-editor .survey-pro-screen-head{align-items:flex-start}
}
@media(max-width:720px){
  #surveyEditorModal.survey-pro-editor .survey-body{padding-left:12px;padding-right:12px}
  #surveyEditorModal.survey-pro-editor .survey-pro-grid{grid-template-columns:1fr}
  #surveyEditorModal.survey-pro-editor .survey-pro-screen-head{flex-direction:column}
  #surveyEditorModal.survey-pro-editor .survey-screen-actions{width:100%;justify-content:flex-start}
}

/* V4.0.236 — Survey cleanup: native date field already shows the selected date. */
#surveyEditorModal.survey-pro-editor [data-survey="date"] + .digix-date-display-195{
  display:none !important;
}

/* V4.0.265 — My Surveys workspace polish. */
body.workspace-page-active-255 > #surveyReportModal.quote-preview-overlay:not(.hidden),
body.workspace-page-active-255 > #surveyMarkerModal.survey-marker-modal:not(.hidden){z-index:480000!important}
body.workspace-page-active-255 > #surveyMarkerModal.survey-marker-modal:not(.hidden){left:225px!important;right:0!important;width:auto!important}
@media(max-width:1450px){body.workspace-page-active-255 > #surveyMarkerModal.survey-marker-modal:not(.hidden){left:210px!important}}
@media(max-width:900px){body.workspace-page-active-255 > #surveyMarkerModal.survey-marker-modal:not(.hidden){left:0!important}}

/* The action footer is a real terminal bar: no Survey content may continue behind/below it. */
#surveyEditorModal.survey-pro-editor .survey-body{padding-bottom:18px!important}
#surveyEditorModal.survey-pro-editor .survey-editor-footer{
  margin:18px -22px -18px!important;
  padding:12px 22px 14px!important;
  background:#f8fbfb!important;
  backdrop-filter:none!important;
  box-shadow:0 -8px 22px rgba(25,55,63,.06)!important;
  border-top:1px solid #dbe5e7!important;
}
#surveyEditorModal.survey-pro-editor .survey-editor-footer + *{display:none!important}

/* Full-width My Surveys has room: give identity/client columns priority and keep actions compact. */
#surveyLibraryModal .survey-row,
#surveyLibraryModal .survey-row.head{
  grid-template-columns:minmax(115px,.72fr) minmax(250px,1.8fr) minmax(145px,1fr) minmax(145px,1fr) minmax(100px,.7fr) minmax(105px,.72fr) minmax(205px,1.25fr)!important;
  column-gap:16px!important;
}
#surveyLibraryModal .survey-row.head{padding-left:14px!important;padding-right:14px!important}
#surveyLibraryModal .survey-actions{gap:8px!important;flex-wrap:nowrap!important;align-items:center!important}
#surveyLibraryModal .survey-actions .quote-secondary-btn{white-space:nowrap!important}
#surveyLibraryModal .survey-prepared-cell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1300px){
 #surveyLibraryModal .survey-row,#surveyLibraryModal .survey-row.head{grid-template-columns:120px minmax(190px,1.5fr) 125px 125px 100px 105px minmax(190px,1.2fr)!important;column-gap:10px!important}
}


/* V4.0.266 — the Survey action bar is outside the scrolling body, so nothing can render beneath it. */
#surveyEditorModal.survey-pro-editor .survey-shell{overflow:hidden!important}
#surveyEditorModal.survey-pro-editor .survey-body{padding-bottom:20px!important;min-height:0!important;overflow:auto!important}
#surveyEditorModal.survey-pro-editor .survey-editor-footer.survey-terminal-footer-266{
  position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;z-index:80!important;
  flex:0 0 auto!important;margin:0!important;padding:12px 22px 14px!important;box-sizing:border-box!important;
  background:#f8fbfb!important;border-top:1px solid #dbe5e7!important;box-shadow:0 -8px 22px rgba(25,55,63,.06)!important;
}
#surveyLibraryModal .survey-row>span:nth-child(5){display:flex;flex-direction:column;gap:3px;min-width:0}
#surveyLibraryModal .survey-edit-meta-266{display:block;color:#7a8b91;font-size:7.5px;line-height:1.25;white-space:normal}

/* V4.0.267 — clear edit provenance inside Survey Preview. */
.survey-report-edit-meta-267{display:flex;align-items:center;gap:9px;margin:-2px 0 14px;padding:8px 10px;border:1px solid #dbe6e8;border-radius:9px;background:#f7fafb;color:#60757b;font-size:9px;line-height:1.35}
.survey-report-edit-badge-267{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;background:#e8f2f3;color:#386d73;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}
/* V4.1.17 — Survey Builder aligned to the Quotation Builder visual family. */
#surveyEditorModal.survey417-editor .quote-preview-head{min-height:106px;padding:16px 24px;align-items:flex-start;background:#fff}
#surveyEditorModal .survey417-brand{display:flex;flex-direction:column;gap:4px}.survey417-brand>span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#397982}.survey417-brand>b{font-size:20px;color:#102f38}.survey417-brand>small{font-size:9px;color:#708187}.survey417-brand>em{margin-top:3px;font-style:normal;font-size:8px;color:#668087}.survey417-head-actions{display:flex;gap:10px;align-items:center}
#surveyEditorModal .survey417-nav{position:sticky;top:0;z-index:30;display:flex;gap:2px;margin:-20px -22px 16px;padding:0 22px;border-bottom:1px solid #dce6e8;background:#fff}.survey417-nav button{border:0;background:transparent;padding:11px 12px;font-size:9px;color:#4c6168;cursor:pointer}.survey417-nav button:hover{background:#eef6f7;color:#2d6971}
#surveyEditorModal .survey417-card{padding:16px!important;border:1px solid #dbe5e7!important;border-radius:12px!important;background:#fff!important;margin-bottom:14px!important}#surveyEditorModal .survey417-card>h3,#surveyEditorModal .survey417-screen-index h3{margin:0 0 13px;color:#397681;font-size:13px;font-weight:800;letter-spacing:.01em}
#surveyEditorModal .survey417-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px}.survey417-grid label{display:flex;flex-direction:column;gap:6px;color:#596c72;font-size:8.5px;font-weight:700;text-transform:none}.survey417-grid input,.survey417-grid select,.survey417-grid textarea{box-sizing:border-box;width:100%;min-height:40px;border:1px solid #d5e0e2;border-radius:8px;background:#fff;padding:0 10px;color:#334b52;font-size:10px}.survey417-grid textarea{padding-top:9px}.survey417-grid input[readonly]{background:#f1f5f6;color:#60747a}.survey417-grid .span2{grid-column:span 2}.survey417-grid .span4{grid-column:1/-1}
#surveyEditorModal .survey417-group-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px;margin-top:10px}.survey417-group-line>label{display:inline-flex;align-items:center;gap:7px;color:#4f646b;font-size:9px;cursor:pointer}.survey417-group-line>label input{width:14px;height:14px}
#surveyEditorModal .survey417-group-name{flex:0 1 280px;min-width:220px}.survey417-group-name label{display:flex;flex-direction:column;gap:6px;color:#596c72;font-size:8.5px;font-weight:700}.survey417-group-name input{box-sizing:border-box;width:100%;min-height:36px;border:1px solid #d5e0e2;border-radius:8px;background:#fff;padding:0 10px;color:#334b52;font-size:10px}
#surveyEditorModal .survey417-screen-index{margin:4px 0 10px;padding:0 2px}.survey417-screen-index>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.survey417-screen-index h3{margin:0}.survey417-screen-tabs{display:flex;gap:7px;overflow-x:auto;max-width:78%;padding:2px}.survey417-screen-tabs button{white-space:nowrap;border:1px solid #d5e1e3;border-radius:8px;background:#fff;padding:7px 10px;color:#4c656c;font-size:8.5px;font-weight:700;cursor:pointer}
#surveyEditorModal .survey-type-selector-card{padding:12px 14px!important}#surveyEditorModal .survey-type-grid{gap:7px!important}#surveyEditorModal .survey-type-card{min-height:58px!important;padding:7px!important}#surveyEditorModal .survey-type-card .mode-symbol{transform:scale(.8);transform-origin:center}
#surveyEditorModal .survey417-screen{scroll-margin-top:55px}#surveyEditorModal .survey417-unit{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important}.survey417-unit span{white-space:nowrap;font-size:8px}.survey417-unit select{width:auto!important;min-width:72px!important}
#surveyEditorModal .survey417-inherited{padding:7px 9px!important;min-height:auto!important}.survey417-photo .survey417-photo-collapsed{min-height:46px!important;padding:7px 10px!important}.survey417-photo .survey417-photo-collapsed .survey-pro-upload-copy small{display:none!important}.survey417-photo .survey417-photo-collapsed .survey-pro-upload-icon{width:28px;height:28px;flex-basis:28px}
#surveyEditorModal .survey-add-screen-bar .quote-secondary-btn{border-style:solid!important;background:#fff!important}
#surveyEditorModal .survey417-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;margin:0!important;padding:10px 22px!important;z-index:100!important}.survey417-footer>div{display:flex;gap:8px}.survey417-save-state{font-size:9px;color:#75878c}
#surveyEditorModal.survey417-editor .survey-shell{padding-bottom:58px!important}#surveyEditorModal.survey417-editor .survey-body{padding-bottom:16px!important}
@media(max-width:1100px){#surveyEditorModal .survey417-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.survey417-screen-index>div{align-items:flex-start;flex-direction:column}.survey417-screen-tabs{max-width:100%}}
#surveyEditorModal .survey417-surveyors{position:relative;min-height:40px;border:1px solid #d5e0e2;border-radius:8px;background:#fff;font-size:10px;font-weight:500}.survey417-surveyors summary{list-style:none;cursor:pointer;padding:12px 10px;color:#445b62}.survey417-surveyors summary::-webkit-details-marker{display:none}.survey417-surveyors>div{position:absolute;z-index:45;left:0;right:0;top:42px;max-height:180px;overflow:auto;padding:8px;border:1px solid #d5e0e2;border-radius:8px;background:#fff;box-shadow:0 8px 20px rgba(30,55,62,.12)}.survey417-surveyors>div label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;padding:6px!important}.survey417-surveyors input{width:14px!important;min-height:14px!important;height:14px!important}
/* V4.1.18 — Survey contacts, screen icon/header cleanup and operational photo workflow. */
.survey418-screen-icon{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;margin-right:8px;vertical-align:middle;color:#42666d}.survey418-screen-icon svg{width:24px;height:24px}.survey418-photo-add{display:flex;align-items:center;gap:10px;margin:10px 0}.survey418-photo-add span{font-size:11px;color:#75868b}.survey418-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.survey418-photo-card{border:1px solid #dce6e8;border-radius:11px;background:#fff;padding:10px;min-width:0}.survey418-photo-card>img{width:100%;height:190px;object-fit:cover;border-radius:8px;cursor:pointer;background:#f3f6f7}.survey418-photo-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.survey418-photo-top>b{font-size:11px;color:#315c64}.survey418-photo-top>div{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.survey418-badge{font-size:8px;font-weight:800;padding:3px 6px;border-radius:999px;background:#edf4f5;color:#42656b}.survey418-badge.before{background:#fff4dd;color:#795f24}.survey418-badge.marked{background:#e8f5ef;color:#39745b}.survey418-photo-caption{display:grid;gap:7px;margin-top:8px}.survey418-photo-caption input,.survey418-photo-caption select{height:34px;font-size:11px}.survey418-before{display:flex!important;align-items:center;gap:6px;font-size:10px!important}.survey418-before input{width:auto!important;height:auto!important}.survey418-photo-actions{display:flex;gap:6px;align-items:center;margin-top:8px}.survey418-photo-actions details{margin-left:auto;position:relative}.survey418-photo-actions summary{list-style:none;border:1px solid #d7e2e4;border-radius:7px;padding:6px 10px;cursor:pointer}.survey418-photo-actions details>div{position:absolute;right:0;bottom:36px;z-index:30;min-width:150px;background:#fff;border:1px solid #d7e2e4;border-radius:8px;padding:5px;box-shadow:0 8px 24px rgba(24,48,54,.15)}.survey418-photo-actions details button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:8px;border-radius:5px}.survey418-photo-actions details button:hover{background:#f2f7f8}.survey418-photo-actions details .danger{color:#a54a42}.survey418-photo-empty{padding:16px;border:1px dashed #d6e1e3;border-radius:9px;text-align:center;color:#78888d;font-size:11px}.survey418-tools{display:flex;gap:5px;flex-wrap:wrap}.survey418-tools button{border:1px solid #d6e1e3;background:#fff;border-radius:7px;padding:7px 9px;cursor:pointer}.survey418-tools button.active{background:#e7f2f3;border-color:#76a7ad;color:#2f6870;font-weight:700}@media(max-width:1100px){.survey418-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.survey418-photo-grid{grid-template-columns:1fr}}

/* V4.1.20 — Survey Location independent Pakistan city type-ahead */
#surveyEditorModal .survey418-city-wrap{position:relative}#surveyEditorModal .survey418-city-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:120;background:#fff;border:1px solid #d5e0e2;border-radius:9px;box-shadow:0 10px 24px rgba(22,48,55,.14);max-height:230px;overflow:auto;padding:5px}#surveyEditorModal .survey418-city-menu.hidden{display:none!important}#surveyEditorModal .survey418-city-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:8px 10px;border-radius:6px;color:#354d54;font-size:10px;cursor:pointer}#surveyEditorModal .survey418-city-menu button:hover,#surveyEditorModal .survey418-city-menu button:focus{background:#eef6f7;color:#2f6971;outline:none}

/* V4.1.21 - authoritative Survey screen identity header. */
.survey421-screen-type-icon{width:42px;height:42px;flex:0 0 42px;border:1px solid #d8e3e5;border-radius:10px;background:#f5f9f9;display:inline-flex;align-items:center;justify-content:center;color:#526f75}
.survey421-screen-type-icon svg{width:25px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.survey421-screen-name{display:flex;align-items:center;min-width:0}
.survey421-screen-name h3{margin:0!important;font-size:16px!important;color:#20363c!important;white-space:nowrap}
#surveyEditorModal .survey-pro-screen-title{gap:10px!important;align-items:center!important}
#surveyEditorModal .survey-pro-screen-title>.survey-pro-type-pill{margin-left:2px}

/* V4.1.23 - My Surveys Project Group hierarchy. */
#surveyLibraryModal #surveyList .survey423-project-group{border:1px solid #dce6e8;border-radius:11px;overflow:hidden;background:#fff}
#surveyLibraryModal #surveyList .survey423-group-head{width:100%;border:0;background:#f7fafb;padding:11px 14px;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer;color:#18343b}
#surveyLibraryModal #surveyList .survey423-group-head:hover,#surveyLibraryModal #surveyList .survey423-group-head.open{background:#eef7f8}
#surveyLibraryModal #surveyList .survey423-group-head b{display:block;font-size:13px;font-weight:750;color:#17343b}
#surveyLibraryModal #surveyList .survey423-group-head small{display:block;margin-top:3px;font-size:9px;font-weight:500;color:#718489}
#surveyLibraryModal #surveyList .survey423-chevron{font-size:15px;line-height:1;transition:transform .16s ease;color:#60777d}
#surveyLibraryModal #surveyList .survey423-group-head.open .survey423-chevron{transform:rotate(180deg)}
#surveyLibraryModal #surveyList .survey423-group-body{display:grid;gap:7px;padding:7px 9px 9px;background:#fff}
#surveyLibraryModal #surveyList .survey423-group-body.hidden{display:none}
#surveyLibraryModal #surveyList .survey423-group-body .survey-row{margin:0}
#surveyLibraryModal #surveyList .survey423-standalone .survey423-group-head{background:#fafcfc}
/* V4.2.70 - group header summary chips, mirroring the Quotations grouped-history chip pattern (.q313-chip, defined globally in quotations.css). */
#surveyLibraryModal #surveyList .survey423-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}

/* V4.1.31 — readable, compact Survey Builder with a real terminal footer. */
#surveyEditorModal.survey417-editor .survey-shell{display:flex!important;flex-direction:column!important;padding-bottom:0!important;min-height:0;box-sizing:border-box}
#surveyEditorModal.survey417-editor .survey-body{flex:1 1 auto;min-height:0!important;overscroll-behavior:contain}
#surveyEditorModal.survey417-editor .quote-preview-head{flex:0 0 auto;min-height:0;padding:14px 20px}
#surveyEditorModal.survey417-editor .survey417-footer{position:relative!important;flex:0 0 auto!important;inset:auto!important;gap:12px;flex-wrap:wrap;box-sizing:border-box}
#surveyEditorModal .survey417-footer>div{flex-wrap:wrap;margin-left:auto}
#surveyEditorModal .survey417-save-state{font-size:12px;line-height:1.4}
#surveyEditorModal .survey417-brand>small,#surveyEditorModal .survey417-brand>em{font-size:12px;line-height:1.4}
#surveyEditorModal .survey417-grid>label{font-size:13px;font-weight:600;line-height:1.35;min-width:0}
#surveyEditorModal .survey417-grid input:not([type=checkbox]),#surveyEditorModal .survey417-grid select,#surveyEditorModal .survey417-grid textarea{font-size:13px;min-width:0}
#surveyEditorModal .survey417-nav{overflow-x:auto;scrollbar-width:thin}
#surveyEditorModal .survey417-nav button{font-size:12px;white-space:nowrap;padding:10px 12px}
#surveyEditorModal .survey417-card{scroll-margin-top:52px}
#surveyEditorModal .survey417-grid .span2{min-width:0}
#surveyEditorModal .survey417-screen-tabs button,#surveyEditorModal .survey417-group-line label{font-size:12px}
#surveyEditorModal .survey417-surveyors,#surveyEditorModal .survey418-city-menu button{font-size:13px}
#surveyEditorModal .survey417-head-actions{flex-shrink:0}
#surveyEditorModal :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #39828b;outline-offset:2px}
#surveyEditorModal .survey131-summary>div{display:flex;flex-wrap:wrap;gap:12px 22px;color:#536b72;font-size:13px;line-height:1.5}
#surveyEditorModal .survey131-summary b{color:#244b55}
@media(max-width:1400px){
 #surveyEditorModal .survey417-grid{gap:12px}
 #surveyEditorModal.survey417-editor .survey-body{padding-left:18px;padding-right:18px}
 #surveyEditorModal .survey417-nav{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
 #surveyLibraryModal .survey-row,#surveyLibraryModal .survey-row.head{grid-template-columns:minmax(95px,.8fr) minmax(150px,1.5fr) minmax(100px,1fr) minmax(100px,1fr) minmax(80px,.7fr) minmax(90px,.8fr) minmax(155px,1.2fr)!important;column-gap:10px!important}
 #surveyLibraryModal .survey-actions{gap:5px!important;flex-wrap:wrap!important}
}
@media(max-width:1100px){#surveyEditorModal .survey417-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#surveyEditorModal .survey417-grid{grid-template-columns:minmax(0,1fr)}#surveyEditorModal .survey417-grid .span2{grid-column:1/-1}#surveyEditorModal .survey417-head-actions{gap:5px}}
@media(max-height:800px){#surveyEditorModal.survey417-editor .quote-preview-head{padding-top:10px;padding-bottom:10px}#surveyEditorModal .survey417-card{padding:14px!important;margin-bottom:12px!important}}

/* V4.2.10 — structured Surveyed By picker and PDF-safe report blocks */
.survey-person-field{position:relative;z-index:12}.survey-person-picker{position:relative}.survey-person-control{width:100%;min-height:42px;border:1px solid #cfdbde;border-radius:9px;background:#fff;padding:6px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;color:#273e44;cursor:pointer}.survey-person-chips{display:flex;flex-wrap:wrap;gap:5px;min-width:0}.survey-person-placeholder{color:#718287}.survey-person-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#eaf5f5;color:#285d62;font-size:10px;font-weight:800}.survey-person-chip i{font-style:normal;font-size:14px;line-height:1;cursor:pointer}.survey-person-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:30;background:#fff;border:1px solid #cedadd;border-radius:12px;box-shadow:0 16px 38px rgba(20,50,58,.2);padding:8px;max-height:380px;overflow:auto}.survey-person-menu>input{width:100%;box-sizing:border-box;margin-bottom:6px}.survey-person-row{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:#fff;padding:9px;border-radius:8px;text-align:left;cursor:pointer}.survey-person-row:hover,.survey-person-row.selected{background:#eff8f8}.survey-person-row b,.survey-person-row small{display:block}.survey-person-row small{color:#718287;margin-top:2px}.survey-person-row em{font-style:normal;color:#16878d;font-weight:900}.survey-person-external{width:100%;border:0;border-top:1px solid #e3eaec;background:#fff;color:#167f87;font-weight:850;text-align:left;padding:11px 8px;cursor:pointer}.survey-external-form{border-top:1px solid #e3eaec;padding:10px 4px 3px}.survey-external-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.survey-external-grid label:last-child{grid-column:1/-1}.survey-person-form-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:9px}.survey-report-meta{padding:8px 10px;margin-bottom:10px;border:1px solid #dae5e7;border-radius:8px;color:#62757a;font-size:10px}.survey-edited-badge{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:#eaf5f5;color:#2c7479;font-weight:850}.survey-report-photos>div,.survey-voice-card,.survey-report-screen,.survey-report-group{break-inside:avoid;page-break-inside:avoid}.survey-report-photos img{width:100%!important;height:auto!important;max-height:520px!important;object-fit:contain!important}.survey-pdf-rendering .survey-report-photos{grid-template-columns:1fr!important}.survey-pdf-rendering .survey-report-photos img{max-height:520px!important}.survey-report-content h2,.survey-report-content h3,.survey-report-content h4{break-after:avoid;page-break-after:avoid}.survey-report-content tr{break-inside:avoid;page-break-inside:avoid}
#surveyEditorModal{--survey-main-head:82px;--survey-tabs-height:54px}.survey417-editor .quote-preview-head{position:sticky;top:0;z-index:22;min-height:var(--survey-main-head);box-sizing:border-box}.survey417-editor .survey417-nav{position:sticky!important;top:0!important;z-index:20!important;background:#fff}.survey417-editor .survey417-card,.survey417-editor .survey-info-card,.survey417-editor .survey-screen-card,.survey417-editor [id^="survey"]{scroll-margin-top:calc(var(--survey-tabs-height) + 18px)}.survey417-editor .survey-body{scroll-padding-top:calc(var(--survey-tabs-height) + 18px)}
@media(max-width:760px){.survey-external-grid{grid-template-columns:1fr}.survey-external-grid label:last-child{grid-column:auto}}
@media print{.survey-report-screen,.survey-report-photos>div,.survey-voice-card,.survey-report-group,.survey-report-content tr{break-inside:avoid!important;page-break-inside:avoid!important}.survey-report-content h2,.survey-report-content h3,.survey-report-content h4{break-after:avoid!important;page-break-after:avoid!important}.survey-report-photos{grid-template-columns:1fr!important}.survey-report-photos img{width:100%!important;height:auto!important;max-height:135mm!important;object-fit:contain!important}}

/* V4.2.12 — tabs touch the header so scrolling content cannot show through a gap. */
#surveyEditorModal.survey417-editor .survey-body{padding-top:0!important}
#surveyEditorModal.survey417-editor .survey417-nav{margin:0 -22px 16px!important;padding-left:22px!important;padding-right:22px!important;border-top:0!important;box-shadow:0 1px 0 #dce6e8}
.survey-editor-audit4212{display:flex!important;align-items:center;gap:7px!important;flex-wrap:wrap;margin:0 0 14px!important;padding:9px 12px!important;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#718388!important;font-size:9px!important;line-height:1.3!important}
.survey-editor-audit4212 span+span:before{content:'·';margin-right:7px;color:#a1adb0}.survey-editor-audit4212 b{font-size:inherit!important;color:#355f65!important}.survey-editor-audit4212 button{border:0;background:transparent;color:#167f87;font:800 8.5px/1 inherit;padding:0;cursor:pointer;text-decoration:underline}

/* V4.2.11 — restore the compact Survey header and expose audit history. */
#surveyEditorModal.survey417-editor .quote-preview-head{position:relative!important;top:auto!important;min-height:76px!important;height:auto!important;padding:14px 24px!important;overflow:visible!important}
#surveyEditorModal .survey417-brand{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;column-gap:10px!important;row-gap:2px!important;min-width:0}
#surveyEditorModal .survey417-brand>span{grid-column:1/-1}#surveyEditorModal .survey417-brand>b{font-size:23px!important;line-height:1.15!important}#surveyEditorModal .survey417-brand>small{display:none!important}#surveyEditorModal .survey417-brand>em{position:static!important;display:inline!important;margin:0!important;align-self:center!important;font-size:9px!important;white-space:nowrap}
#surveyEditorModal .survey417-nav{top:0!important;margin-top:0!important}
.survey-audit-meta4211{display:block;margin-top:3px;color:#849196;font-size:8px;line-height:1.35}.survey-audit-meta4211 span{color:#4f7c82;font-weight:800}.survey-history-card4211{width:min(720px,94vw);max-height:86vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(10,29,34,.3)}.survey-history-card4211>header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #dce5e7}.survey-history-card4211 header b,.survey-history-card4211 header small{display:block}.survey-history-card4211 header small{margin-top:3px;color:#77898e}.survey-history-identity4211{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 18px}.survey-history-identity4211>div{border:1px solid #dfe7e9;border-radius:10px;padding:10px;background:#f8fbfb}.survey-history-identity4211 span,.survey-history-identity4211 b,.survey-history-identity4211 small{display:block}.survey-history-identity4211 span{font-size:8px;text-transform:uppercase;color:#829095}.survey-history-identity4211 b{font-size:11px;margin-top:4px}.survey-history-identity4211 small{font-size:9px;color:#60757a;margin-top:2px}.survey-history-events4211{padding:0 18px 18px}.survey-history-events4211 article{display:flex;gap:10px;padding:10px 0;border-top:1px solid #e5ebed}.survey-history-events4211 article i{width:9px;height:9px;border-radius:50%;background:#5d9da3;margin-top:3px;flex:0 0 auto}.survey-history-events4211 article b,.survey-history-events4211 article small{display:block}.survey-history-events4211 article small{color:#7a8a8e;font-size:8.5px;margin-top:2px}.survey-history-events4211 article p{margin:5px 0 0;color:#4e666c;font-size:9px}.survey-history-empty4211{padding:22px;text-align:center;color:#849196}
/* PDF render mode deliberately uses one compact column so a complete card fits an A4 printable area. */
.survey-pdf-rendering{width:980px!important;max-width:980px!important;padding:28px!important;box-sizing:border-box!important}.survey-pdf-rendering .survey-report-screen{page-break-inside:avoid!important;break-inside:avoid!important}.survey-pdf-rendering .survey-report-photos,.survey-pdf-rendering .survey-voice-grid{grid-template-columns:1fr!important}.survey-pdf-rendering .survey-report-photo,.survey-pdf-rendering .survey-voice-card{page-break-inside:avoid!important;break-inside:avoid!important}.survey-pdf-rendering .survey-report-photo img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:390px!important;margin:0 auto!important;object-fit:contain!important}.survey-pdf-rendering .survey-photo-view-actions{display:none!important}
