.cj-estimate-comparison{border:1px solid #cbd9e8;border-radius:12px;padding:20px;margin:0 0 24px;background:#fff}.cj-estimate-comparison h3{margin-top:0}.cj-estimate-comparison button{width:auto!important;margin:8px 8px 8px 0!important}.cj-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cj-comparison-source{padding:14px;border:1px solid #dce5ef;border-radius:9px;margin:14px 0}.cj-comparison-source>summary{font-weight:700;cursor:pointer}.cj-comparison-consent{display:flex;align-items:flex-start;gap:8px;margin:14px 0}.cj-comparison-consent input{width:auto!important;margin:3px 0!important}.cj-comparison-table{overflow:auto;max-height:440px;margin:12px 0;border:1px solid #dce5ef}.cj-comparison-table table{min-width:1120px;width:100%;border-collapse:collapse}.cj-comparison-table th{position:sticky;top:0;background:#eaf0f6;z-index:1}.cj-comparison-table th,.cj-comparison-table td{padding:8px;border:1px solid #dce5ef;vertical-align:top}.cj-comparison-table td:nth-child(2){min-width:130px}.cj-comparison-table td:nth-child(3){min-width:240px}.cj-comparison-table input,.cj-comparison-table select{min-width:85px;width:100%;box-sizing:border-box;margin:0 0 4px!important}.cj-comparison-table select{max-width:230px}.cj-estimate-comparison textarea{width:100%;min-height:110px;box-sizing:border-box}.cj-estimate-comparison pre{white-space:pre-wrap;max-height:350px;overflow:auto}.cj-estimate-comparison details{margin-top:16px}.cj-estimate-comparison label{font-size:14px}.cj-estimate-comparison #comparisonStatus{white-space:pre-wrap;color:#17324d}
.cj-document-viewer{width:97vw;max-width:97vw;height:95vh;height:95dvh;max-height:95dvh;box-sizing:border-box;border:1px solid #afbdd0;border-radius:12px;padding:14px;background:white;resize:both;overflow:hidden;min-width:300px;min-height:300px}.cj-document-viewer[open]{display:flex;flex-direction:column;gap:8px}.cj-document-viewer::backdrop{background:#0b1f38b8}.cj-document-viewer>header{display:flex;gap:8px;flex-wrap:wrap;align-items:center;position:static;padding:0;background:white;color:#17324d}.cj-document-viewer h2{font-size:17px;margin:0 auto 0 0;overflow-wrap:anywhere}.cj-document-viewer button{width:auto!important;margin:0!important;padding:9px 13px!important}.cj-document-viewer>p{margin:4px 0;font-size:13px}.cj-document-viewer-body{flex:1;min-height:0;overflow:auto;background:#edf1f6}.cj-document-viewer iframe{width:100%;height:100%;border:0;min-height:250px}.cj-document-viewer pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:28px;max-width:900px;margin:0 auto;background:white;min-height:100%;box-sizing:border-box;font:15px/1.65 sans-serif}.cj-document-viewer.cj-viewer-compact{width:900px;height:78vh;max-width:94vw}.cj-document-viewer:not([open]){display:none}
/* The editor uses the viewport; resizing changes display space, never source pixels. */
dialog.cj-annotation-editor{box-sizing:border-box;width:96vw;max-width:98vw;height:94vh;height:94dvh;max-height:98dvh;resize:both;min-width:620px;min-height:480px;padding:14px;overflow:hidden;gap:10px;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto auto auto minmax(0,1fr) auto}
dialog.cj-annotation-editor:not([open]){display:none}dialog.cj-annotation-editor>h2{grid-column:1;grid-row:1;margin:0;font-size:18px;align-self:center;overflow-wrap:anywhere}dialog.cj-annotation-editor>.cj-editor-window{grid-column:2;grid-row:1;justify-self:end;width:auto;margin:0;padding:8px 12px}dialog.cj-annotation-editor>.cj-annotation-toolbar{grid-column:1/-1;grid-row:2}dialog.cj-annotation-editor>.cj-editor-tool-hint{grid-column:1/-1;grid-row:3}dialog.cj-annotation-editor>.cj-photo-zoom{grid-column:1;grid-row:4;align-self:stretch;min-height:0;display:flex;flex-direction:column}dialog.cj-annotation-editor .cj-photo-zoom-viewport{height:auto;min-height:0;flex:1}dialog.cj-annotation-editor .cj-photo-zoom-controls{flex:none}dialog.cj-annotation-editor>.cj-photo-editor-caption{grid-column:2;grid-row:4;min-height:0;overflow:auto}dialog.cj-annotation-editor>p[role=status]{grid-column:1;grid-row:5;font-size:13px;margin:0;align-self:center}dialog.cj-annotation-editor>.cj-editor-footer{grid-column:2;grid-row:5;position:static;padding:5px 0;border:0;align-self:end}dialog.cj-annotation-editor.cj-editor-full{width:98vw;height:98vh;height:98dvh;max-height:98dvh}
@media(max-width:899px){.cj-comparison-grid{grid-template-columns:1fr}.cj-estimate-comparison{padding:12px}dialog.cj-annotation-editor{min-width:0;min-height:0;max-width:100vw;width:98vw;height:98vh;height:98dvh;padding:10px;resize:none}dialog.cj-annotation-editor[open]{display:flex;flex-direction:column}dialog.cj-annotation-editor>h2{font-size:15px}dialog.cj-annotation-editor>.cj-editor-window{align-self:flex-end}dialog.cj-annotation-editor>.cj-photo-zoom{flex:1;min-height:150px}dialog.cj-annotation-editor>.cj-photo-editor-caption{max-height:20vh;flex:none}dialog.cj-annotation-editor>.cj-editor-footer{flex:none;margin:0}.cj-document-viewer button{padding:7px!important;font-size:12px}}
