/* Clear dialog surfaces: no dimming layer or blur over the active workspace. */
body dialog::backdrop,body .media60-picker::backdrop,body .attachment-camera::backdrop{display:block!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body #dialog{background:var(--panel,#fff);opacity:1;filter:none;box-shadow:0 18px 80px #132b4933}
body #dialogbody>.modalhead,body #dialogbody>.modalbody{opacity:1;filter:none;background:var(--panel,#fff)!important}
html[data-display=dark] body #dialogbody>.modalhead,html[data-display=dark] body #dialogbody>.modalbody{background:#142339!important;color:#eef4ff!important}
body #dialog.create-mode81{width:min(560px,calc(100vw - 24px))!important;max-width:560px!important}
.create-mode81 .quickcreategrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.create-mode81 .quickcreategrid>.btn{min-height:68px;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px;background:var(--panel,#fff);font-size:16px;line-height:1.3;padding:16px!important;color:var(--ink,#19364d)}
.create-mode81 .quickcreategrid svg{width:23px;height:23px;flex:none}#create-ai81{padding:22px 0 4px;text-align:center;border-top:1px solid var(--line,#dae3ed);margin-top:22px}#create-ai81 h3{font-size:16px;margin:0 0 16px}#create-ai81 [role=status]{font-size:14px;min-height:20px;margin:12px 0 0}#create-ai81 [role=status]:empty{min-height:0;margin:0}#create-ai81 .agent-references,#create-ai81 #quick-question81,#create-ai81 #field-agent-result{text-align:left}#create-ai81 #quick-question81{margin-top:18px}#create-ai81 [hidden]{display:none!important}
body button.mic81{position:relative;display:inline-grid!important;place-items:center;flex:none;width:64px!important;min-width:64px!important;height:64px!important;border-radius:50%!important;border:0!important;background:var(--brand,#245fd4)!important;color:#fff!important;padding:0!important;box-shadow:none!important;animation:none}.mic81 svg{width:28px!important;height:28px!important;color:inherit!important}.mic81.listening81::after{content:"";position:absolute;inset:-7px;border:2px solid var(--brand,#245fd4);border-radius:50%;animation:listen81 1.2s ease-in-out infinite}.mic81.listening81 svg{animation:mic81 1s ease-in-out infinite}.agent-simple81 .voice61-tools{display:none}.agent-simple81 .agent-compose-actions{align-items:center}.agent-simple81 #voice53-panel{font-size:16px}.agent-simple81 .agent-mic span{display:none}
@keyframes listen81{0%,100%{transform:scale(.96);opacity:.8}50%{transform:scale(1.12);opacity:.25}}@keyframes mic81{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.estimate-path81{padding:18px;border:1px solid var(--line,#d8e2ed);border-radius:14px;margin-bottom:24px}.estimate-path81 h3{margin:0 0 14px;font-size:16px}.estimate-choice81{display:flex;flex-wrap:wrap;gap:12px}.estimate-choice81 label{display:flex;align-items:center;gap:9px;padding:12px;background:var(--soft,#f1f6ff);border-radius:10px;font-size:15px}.estimate-choice81 input{margin:0;accent-color:var(--brand,#245fd4)}.estimate-path81 [hidden]{display:none!important}
body aside.estimate-visit-banner81{position:static;inset:auto;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:18px;width:auto;background:var(--soft,#edf5ff);color:var(--ink,#163858);padding:18px;border-radius:14px;margin:20px 0}.estimate-visit-banner81 span{display:block;font-size:14px;margin-top:4px}.estimate-survey81{max-width:1040px;margin:auto}.survey-heading81{display:flex;align-items:center;justify-content:space-between;gap:16px}.survey-heading81 h2{margin:12px 0 4px;font-size:27px}.survey-heading81 h3{font-size:18px;margin:4px 0}.survey-heading81 p{margin:8px 0}.survey-heading81 small{font-size:14px}.survey-actions81{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.survey-fields81{display:grid;grid-template-columns:1fr 1fr;gap:20px}.survey-fields81 textarea{min-height:110px}.survey-history81,.walkthrough-records81{padding:18px;border:1px solid var(--line,#d9e2ed);border-radius:14px;margin:20px 0}.survey-history81 summary,.walkthrough-records81 summary{font-size:16px;font-weight:600;cursor:pointer}.survey-history81 li{padding:12px 0}.survey-history81 li p{margin:4px 0}.walkthrough-records81 article{margin:18px 0}.walkthrough-records81 textarea{width:100%;margin-top:8px}.walkthrough81{display:inline-flex;align-items:center;gap:8px}.walkthrough81 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
body button.camera-entry81{display:inline-grid;place-items:center;width:48px;height:48px;min-width:48px;padding:0;background:var(--soft,#eaf2ff);color:var(--brand,#245fd4);border:1px solid #bfd3ef;border-radius:15px;box-shadow:none}.camera-entry81 svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}.native-actions69{gap:10px}.client-capture-row81{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#dce5ee)}
/* Camera is a black full-screen viewfinder, with reachable controls below it. */
html body dialog.capture-screen81[open]{position:fixed!important;inset:0!important;display:block;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;background:#000!important;color:#fff!important;box-shadow:none!important;font:16px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.capture-screen81 *{box-sizing:border-box}.capture-screen81 [hidden]{display:none!important}.capture-screen81 button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;background:#1d2331;color:#fff;padding:10px;border-radius:24px;font:inherit;cursor:pointer}.capture-screen81 button:focus-visible{outline:3px solid #78afff;outline-offset:3px}.capture-screen81 button:disabled{opacity:.55}.capture-screen81 svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.capture-screen81 button[aria-pressed=true]{color:#78afff;background:#213553}.capture-layout81{height:100%;max-width:850px;margin:auto;display:flex;flex-direction:column;padding:max(8px,env(safe-area-inset-top)) 0 max(8px,env(safe-area-inset-bottom));gap:10px}.capture-stage81{position:relative;flex:1;min-height:160px;overflow:hidden;border-radius:24px;background:#10131a}.capture-stage81 video{display:block;width:100%;height:100%;object-fit:contain;background:#10131a}.capture-top81{position:absolute;inset:8px 10px auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.capture-top81>div{display:flex;gap:8px}.capture-top81 button{width:44px;height:44px;background:#10172388;backdrop-filter:blur(8px)}.capture-status81{position:absolute;left:16px;right:16px;top:70px;width:fit-content;max-width:calc(100% - 32px);margin:auto;padding:8px 13px;background:#0009;color:#fff;border-radius:14px;font-size:14px;text-align:center}.capture-status81:empty{display:none}.capture-bottom81{flex:none;padding:4px 18px 0;background:#000}.capture-zoom81{display:flex;justify-content:center;gap:6px;min-height:12px;margin-bottom:10px}.capture-zoom81 button{min-width:44px;font-size:14px}.capture-controls81{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:20px;padding:5px 0 16px;max-width:410px;margin:auto}.capture-controls81>[data-camera81=gallery]{justify-self:start;width:50px;height:50px;overflow:hidden;padding:0;border-radius:16px}.capture-controls81>[data-camera81=gallery] img{width:100%;height:100%;object-fit:cover}.capture-screen81 button.capture-shutter81{display:grid;place-items:center;width:80px;height:80px;min-height:80px;border:5px solid #929599;border-radius:50%;background:#fff;padding:5px;justify-self:center}.capture-shutter81>span{display:block;width:60px;height:60px;border-radius:50%;background:#edf1f7}.capture-screen81 button.capture-shutter81.video81{background:#e73e42}.capture-shutter81.video81>span{background:#e73e42}.capture-shutter81.recording81>span{border-radius:7px;width:30px;height:30px;background:#fff}.capture-done81{justify-self:end;font-size:16px!important;font-weight:600!important;min-width:70px}.capture-modes81{display:flex;gap:3px;align-items:center;justify-content:center;overflow-x:auto;scrollbar-width:none}.capture-modes81 button{flex:none;font-size:14px;font-weight:600;background:transparent;color:#a5aab4;padding:10px 13px;min-height:44px}.capture-modes81 button[aria-selected=true]{background:#1d2b42;color:#7eb2ff}.capture-settings81{position:absolute;inset:65px 16px auto;background:#1e2537f7;color:#fff;padding:20px;border-radius:24px;z-index:3;max-height:calc(100% - 80px);overflow:auto}.capture-settings81 h3{margin:0 0 10px;font-size:17px}.capture-settings81 label{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:8px 0;font-size:14px}.capture-settings81 select{width:50%;min-width:0;color:#fff;background:#303c54;border:1px solid #586781;border-radius:10px;padding:9px;font-size:14px}.capture-grid81{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 33%,#fff6 33%,#fff6 calc(33% + 1px),transparent calc(33% + 1px),transparent 66%,#fff6 66%,#fff6 calc(66% + 1px),transparent calc(66% + 1px)),linear-gradient(transparent 33%,#fff6 33%,#fff6 calc(33% + 1px),transparent calc(33% + 1px),transparent 66%,#fff6 66%,#fff6 calc(66% + 1px),transparent calc(66% + 1px))}.scan-guide81{position:absolute;inset:20% 12%;border:2px solid #fff9;border-radius:8px;pointer-events:none}.capture-notes81{position:absolute;inset:auto 14px 14px;background:#111827df;padding:12px;border-radius:16px;color:#fff}.capture-notes81 label{display:block;font-size:14px}.capture-notes81 textarea{width:100%;background:#ffffff10;color:#fff;border:1px solid #ffffff30;border-radius:8px;resize:vertical;max-height:150px;font-size:16px;margin-top:6px;padding:8px}.capture-notes81 span{font-size:14px;display:block;max-height:50px;overflow:auto}.capture-walk-tools81{display:flex;gap:12px;justify-content:center;align-items:center;margin-bottom:6px}.capture-walk-tools81 span{font-size:14px;color:#c6d0e2}.capture-walk-tools81 .listening81{animation:listen81 1.2s infinite;background:#2468d5;color:#fff}.capture-gallery81{position:absolute;inset:0;background:#0b1019;color:#fff;z-index:5;padding:24px;overflow:auto}.capture-gallery81 header{display:flex;align-items:center;justify-content:space-between;background:transparent!important;color:#fff!important}.capture-gallery81 h3{font-size:19px}.capture-gallery81 [data-gallery-items81]{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}.capture-gallery81 article{min-width:0;display:grid;gap:8px;overflow-wrap:anywhere}.capture-gallery81 img{width:100%;height:180px;object-fit:contain;background:#202939}.capture-gallery81 small{color:#b5c6df;font-size:14px}
@media(max-width:600px){.survey-fields81{grid-template-columns:1fr}.estimate-visit-banner81{flex-wrap:wrap}.capture-layout81{gap:8px}.capture-modes81 button{padding:10px 9px}.survey-heading81 h2{font-size:23px}.create-mode81 .quickcreategrid>.btn{font-size:15px;padding:13px!important}}
@media(max-height:520px) and (min-width:650px){.capture-layout81{flex-direction:row;max-width:none;padding:8px}.capture-bottom81{width:250px;padding:12px;display:flex;flex-direction:column;justify-content:center}.capture-controls81{gap:10px;grid-template-columns:1fr 80px 1fr;width:100%}.capture-modes81{flex-wrap:wrap}.capture-modes81 button{font-size:13px}.capture-stage81{min-height:0}}
@media(prefers-reduced-motion:reduce){.mic81.listening81::after,.mic81.listening81 svg,.capture-walk-tools81 .listening81{animation:none}.mic81.listening81{outline:4px solid #83b0fa;outline-offset:5px}}

.work-capture-actions81{display:flex;justify-content:flex-end;margin:10px 0 16px}
