/* UI only: official printable document CSS is intentionally independent. */
.leaflet-popup .jmg-container-popup{background:transparent!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
html[data-jmg-theme="dark"] .jmg-search input{background:#112237!important;color:#e5edf7!important;border-color:#46607a!important}html[data-jmg-theme="dark"] .jmg-search input::placeholder{color:#bac9dc!important;opacity:1}
.fm-pill[data-status="indisponivel"],.pill[data-status="indisponivel"]{background:#f9e6e9!important;color:#94283c!important;border:1px solid #e1a7b1!important}
.jd-kpi[data-container-status="disponivel"] .jd-orb{background:#008447!important;color:white!important}.jd-kpi[data-container-status="locado"] .jd-orb{background:#0064cc!important;color:white!important}.jd-kpi[data-container-status="manutencao"] .jd-orb{background:#9c6000!important;color:white!important}.jd-kpi[data-container-status="inativo"] .jd-orb{background:#a62d42!important;color:white!important}
#dlg .jmg-location-search>label{grid-column:1;grid-row:1}#dlg .jmg-location-search>button{grid-column:2;grid-row:1}#dlg .jmg-location-search>.jmg-geo-note{grid-column:1/-1;grid-row:2;margin:2px 0 0;font-size:12px;line-height:1.4}.jmg-location-layout>.jmg-form-block:nth-child(4){grid-column:1/-1}
@media(max-width:760px){#dlg .jmg-location-search>button{grid-column:1;grid-row:2}#dlg .jmg-location-search>.jmg-geo-note{grid-row:3}}
.jd-status[data-status="disponivel"],.fm-pill[data-status="disponivel"],.pill[data-status="disponivel"]{background:#e1f5e9!important;color:#076535!important;border:1px solid #9bdbb7!important}
.jd-status[data-status="locado"],.fm-pill[data-status="locado"],.pill[data-status="locado"]{background:#e3efff!important;color:#084d9c!important;border:1px solid #a9cbf5!important}
.jd-status[data-status="manutencao"],.fm-pill[data-status="manutencao"],.pill[data-status="manutencao"]{background:#fff0ce!important;color:#825000!important;border:1px solid #edcc86!important}
.jd-status[data-status="inativo"],.jd-status[data-status="indisponivel"],.fm-pill[data-status="inativo"],.pill[data-status="inativo"]{background:#f9e6e9!important;color:#94283c!important;border:1px solid #e1a7b1!important}
.jmg-mobile-sort{display:none}.jd-sort{cursor:pointer;white-space:nowrap}th[aria-sort="ascending"] .jd-sort,th[aria-sort="descending"] .jd-sort{font-weight:800;text-decoration:underline;text-underline-offset:4px}
#assets .jd-table td:nth-child(1),#assets .jd-table td:nth-child(2),#assets .jd-table td:nth-child(3){white-space:nowrap}#assets .jd-table td:nth-child(5){min-width:130px}
.jmg-container-popup{min-width:210px;max-width:310px;font-family:Arial,sans-serif;color:#102641}.jmg-container-popup h3{font-size:19px;margin:0 0 8px}.jmg-map-field{display:grid;gap:4px;margin:12px 0}.jmg-map-field small{font-size:11px;color:#64748b}.jmg-map-field strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.jmg-container-popup .jd-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.jmg-container-popup button{margin:0!important}
.jmg-location-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jmg-form-block{border:1px solid #dbe3ee;border-radius:10px;padding:14px;min-width:0;background:#fff}.jmg-form-block h3{margin:0 0 10px;color:#102641;font-size:14px}.jmg-location-layout>.jmg-form-block:nth-child(3),.jmg-location-layout>.jmg-form-block:nth-child(5),.jmg-location-layout>.jmg-pin-settings,.jmg-location-layout>#jmg-modal-map,.jmg-location-layout>.jmg-geo-device-row{grid-column:1/-1}.jmg-container-identification{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.jmg-container-identification>strong{font-size:21px}.jmg-container-identification>span{font-size:13px}
#dlg .jmg-location-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px;align-items:end}#dlg .jmg-location-search label{display:grid!important;width:100%;min-width:0;margin:0}#dlg .jmg-location-search input{width:100%!important;min-width:0!important;max-width:none!important}#dlg .jmg-location-search button{height:42px;white-space:nowrap}.jmg-two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jmg-two-fields input,.jmg-form-block select{width:100%;min-width:0}.jmg-location-layout label{margin:0}.jmg-location-layout .jmg-address-status{margin:10px 0 0}.jmg-location-layout .jmg-pin-settings{margin:0!important}.jmg-location-layout #jmg-modal-map{height:330px!important;min-height:250px!important}
.jmg-mail-summary,.jmg-backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jmg-mail-summary>div{display:grid;gap:5px;padding:10px;background:#f3f7fc;border-radius:8px;overflow-wrap:anywhere}.jmg-mail-summary small{font-size:12px;color:#596c82}.jmg-mail-modal input,.jmg-mail-modal select{width:100%;min-width:0}.jmg-mail-modal label{margin-top:12px}.jmg-service-notice{padding:12px;border:1px solid #ddca92;border-radius:8px;background:#fff7df;color:#644a12;line-height:1.5}.jmg-backup-grid>div{border:1px solid #dbe3ee;border-radius:8px;padding:12px}.jmg-backup-grid p{font-size:13px;margin:6px 0 0;line-height:1.45}.jmg-backup .jd-btn{margin-top:14px}.jmg-history{display:grid;gap:10px}.jmg-history p{overflow-wrap:anywhere}
html[data-jmg-theme="dark"] [data-status="disponivel"]{background:#123d2e!important;color:#8ee4b5!important;border-color:#307050!important}html[data-jmg-theme="dark"] [data-status="locado"]{background:#123965!important;color:#a7d0ff!important;border-color:#3d6390!important}html[data-jmg-theme="dark"] [data-status="manutencao"]{background:#4b3513!important;color:#ffdc94!important;border-color:#88612a!important}html[data-jmg-theme="dark"] [data-status="inativo"],html[data-jmg-theme="dark"] [data-status="indisponivel"]{background:#50242e!important;color:#ffbbc6!important;border-color:#81505b!important}
html[data-jmg-theme="dark"] .jmg-form-block,html[data-jmg-theme="dark"] .jmg-mail-summary>div{background:#17283d;color:#e5edf7;border-color:#33465c}html[data-jmg-theme="dark"] .jmg-form-block h3,html[data-jmg-theme="dark"] .jmg-mail-summary small{color:#d6e5fa}html[data-jmg-theme="dark"] .jmg-service-notice{background:#403519;color:#ffe3a3;border-color:#78683e}html[data-jmg-theme="dark"] .jmg-backup-grid>div{border-color:#33465c}html[data-jmg-theme="dark"] .leaflet-popup-content-wrapper,html[data-jmg-theme="dark"] .leaflet-popup-tip{background:#17283d}html[data-jmg-theme="dark"] .jmg-container-popup{color:#e5edf7}html[data-jmg-theme="dark"] .jmg-map-field small{color:#b7c9e1}
@media(max-width:760px){.jmg-mobile-sort{display:flex;align-items:end;gap:8px;margin:12px 0}.jmg-mobile-sort label{flex:1;min-width:0}.jmg-mobile-sort select{width:100%}.jmg-location-layout,.jmg-mail-summary,.jmg-backup-grid{grid-template-columns:1fr}#dlg .jmg-location-search{grid-template-columns:1fr!important}#dlg .jmg-location-search button{width:100%}.jmg-container-popup{min-width:180px;max-width:230px}.leaflet-popup-content{max-width:calc(100vw - 95px)!important;margin:14px!important}.jmg-two-fields{gap:8px}.jmg-location-layout .jmg-geo-device-row{display:grid;gap:8px}.jmg-location-layout .jmg-geo-device-row button{white-space:normal!important}.jmg-mail-modal select{white-space:normal}.jmg-service-notice{font-size:13px}.jmg-backup-grid>div{padding:10px}}
