.msj-chat-map{margin:16px 0 0;padding:14px 0 0;border-top:1px solid #dfe9e3;color:#455d64;clear:both}
.msj-chat-map-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:9px}
.msj-chat-map .msj-chat-map-heading h3{font-family:inherit;font-weight:600;font-size:13px!important;line-height:1.4!important;margin:0!important;color:#365159}
.msj-chat-map-expand,.msj-chat-map-retry{padding:5px 7px;border:1px solid #cbded1;border-radius:6px;background:#fff;color:#23846d;font:inherit;font-size:11px;line-height:1.4;cursor:pointer}
.msj-chat-map-expand:disabled{opacity:.5;cursor:default}
.msj-chat-map-expand:focus-visible,.msj-chat-map-retry:focus-visible{outline:2px solid #23846d;outline-offset:2px}
.msj-chat-map-canvas{height:175px;width:100%;border-radius:8px;border:1px solid #d7e4dc;background:#edf4ef;overflow:hidden;isolation:isolate}
.msj-chat-map-canvas[hidden]{display:none}
.msj-chat-map p{font-size:12px!important;line-height:1.55!important;margin:8px 0 0!important}
.msj-chat-map-label{font-weight:600;color:#455d64}
.msj-chat-map .msj-chat-map-status{color:#546c60;font-weight:400}
.msj-chat-map>small{display:block;font-size:11px;line-height:1.55;color:#74837b;margin-top:8px}
.msj-chat-map .leaflet-control-attribution,.msj-chat-map-dialog .leaflet-control-attribution{font-size:9px!important;line-height:1.4!important}
.msj-chat-map-letter{display:grid;place-items:center;background:#23846d;border:2px solid white;border-radius:50%;color:white;font-size:11px;font-weight:700;box-shadow:0 1px 4px #0003}
.msj-chat-map-dialog{width:min(900px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;overflow:auto;border:1px solid #ceded4;border-radius:13px;color:#455d64;box-shadow:0 15px 55px #0003}
.msj-chat-map-dialog::backdrop{background:#203d35a8}
.msj-chat-map-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;border-bottom:1px solid #e1ebe4}
.msj-chat-map-dialog h2{font-size:20px!important;line-height:1.3;margin:0!important;color:#365159}
.msj-chat-map-dialog-close{display:grid;place-items:center;width:36px;height:36px;background:#edf5ef;border:0;border-radius:8px;color:#286550;font-size:23px;cursor:pointer}
.msj-chat-map-dialog-canvas{width:100%;height:min(58dvh,520px);min-height:280px;background:#edf4ef;isolation:isolate}
.msj-chat-map-dialog>p{font-size:13px;line-height:1.6;margin:0;padding:12px 20px;background:#f3f8f4}
/* Calculated price fields remain disabled; only presentation changes. */
body.desktop-body.msj-beta #offer-info-popup input#assignment_fee:disabled,body.desktop-body.msj-beta #offer-info-popup input#proposal_amount:disabled{background:#edf1ee!important;border-color:#d3ddd6!important;color:#63776a!important;-webkit-text-fill-color:#63776a!important;opacity:1!important;cursor:default}
body.desktop-body.msj-beta #offer-info-popup input#proposal_amount:disabled{color:#3e5b4c!important;-webkit-text-fill-color:#3e5b4c!important;font-weight:600!important}
body.desktop-body.msj-beta #offer-info-popup input:disabled+.input-group-append .input-group-text{background:#e7ece9!important;color:#738278!important;border-color:#d3ddd6!important}
body.desktop-body.msj-beta #offer-info-popup .msj-auto-price-note{display:block;font-size:11px!important;font-weight:400!important;line-height:1.4!important;color:#748278;margin:3px 0 7px}
.msj-chat-map-actions{display:grid;gap:7px;margin-top:10px}
.msj-chat-map-actions details{border:1px solid #dce7df;border-radius:7px;padding:7px;background:#f4f8f5;font-size:12px}
.msj-chat-map-actions summary{cursor:pointer;color:#276e59;font-weight:600;line-height:1.5}
.msj-chat-map-actions details>div{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px}
.msj-chat-map-actions button,.msj-chat-map-actions a,.msj-sheet-tools button{border:1px solid #cbded1;border-radius:6px;background:#fff;padding:6px 8px;color:#286550;font:inherit;font-size:12px;cursor:pointer;text-decoration:none;line-height:1.4}
.msj-chat-map-actions small{display:block;width:100%;font-size:10px;line-height:1.5;color:#748278}
.msj-job-sheet{width:min(794px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #d2e0d6;border-radius:12px;color:#365159;overflow:auto;box-shadow:0 15px 55px #0003}
.msj-job-sheet::backdrop{background:#203d35a8}
.msj-sheet-tools{display:flex;justify-content:space-between;gap:10px;padding:14px 22px;background:#edf5ef;position:sticky;top:0;z-index:1001}
.msj-job-sheet article{padding:24px 30px}
.msj-job-sheet h1{font-size:24px!important;line-height:1.3!important;margin:12px 0!important}
.msj-job-sheet h2{font-size:15px!important;line-height:1.4!important;margin:15px 0 4px!important}
.msj-job-sheet p{font-size:13px!important;line-height:1.6!important;margin:6px 0!important;overflow-wrap:anywhere}
.msj-job-sheet small{display:block;font-size:11px;line-height:1.6;margin-top:12px}
.msj-sheet-map{height:300px;width:100%;margin:16px 0;background:#edf4ef;isolation:isolate}
@media print{
 @page{size:A4 portrait;margin:12mm}
 body.msj-print-job-sheet{margin:0!important;background:white!important;overflow:visible!important;height:auto!important}
 body.msj-print-job-sheet>*:not(.msj-job-sheet){display:none!important}
 body.msj-print-job-sheet>.msj-job-sheet{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
 body.msj-print-job-sheet .msj-sheet-tools,body.msj-print-job-sheet .leaflet-control-zoom{display:none!important}
 body.msj-print-job-sheet .msj-job-sheet article{padding:0!important}
 body.msj-print-job-sheet .msj-sheet-map{height:78mm;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 body.msj-print-job-sheet .leaflet-control-attribution{font-size:8px!important}
}
/* Override generic Leaflet/global icon rules: center each letter inside its marker. */
body.desktop-body.msj-beta .leaflet-marker-icon.msj-chat-map-letter{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:0!important;text-indent:0!important;text-align:center!important;font-family:Arial,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1!important;color:#fff!important}

.msj-chat-map .msj-chat-map-status:empty{display:none}

body.desktop-body.msj-beta .msj-chat-vipps-info{display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;width:21px;height:21px;padding:0;margin:0 0 0 3px;border:0;border-radius:50%;background:transparent;color:#65746d;font:inherit;font-size:16px;line-height:1;cursor:pointer}
body.desktop-body.msj-beta .msj-chat-vipps-info:focus-visible{outline:2px solid #23846d;outline-offset:2px}
.msj-chat-vipps-info-dialog{width:min(460px,calc(100vw - 36px));max-width:none;padding:24px;border:1px solid #d5e4dc;border-radius:12px;color:#455d64;box-shadow:0 15px 55px #0003}
.msj-chat-vipps-info-dialog::backdrop{background:#203d35a8}
.msj-chat-vipps-info-dialog h2{font:inherit;font-size:20px!important;font-weight:600;margin:0 0 14px!important;line-height:1.4}
.msj-chat-vipps-info-dialog p{font-size:14px!important;line-height:1.7!important;margin:0 0 20px!important}
.msj-chat-vipps-info-dialog>button{display:block;margin-left:auto;border:1px solid #cbded1;border-radius:7px;background:#23846d;color:white;padding:8px 20px;font:inherit;cursor:pointer}
