.records-page{padding:10px 12px;color:#4d8189;position:relative}.records-filters{display:grid;grid-template-columns:180px repeat(4,minmax(150px,1fr)) auto;gap:10px;align-items:end;margin-bottom:8px}.records-filters label{font-weight:800}.records-filters input,.records-filters select{display:block;width:100%;height:34px;border:1px solid #8aa2a6;border-radius:7px;padding:4px 8px;background:#fff;color:#467c85}.records-filters button,.record-actions button,.record-actions a,.record-dialog footer button{border:0;border-radius:8px;background:#548b91;color:#fff;text-decoration:none;font-weight:800;padding:8px 16px;cursor:pointer}.records-legend{display:flex;justify-content:flex-end;gap:22px;color:#b31717;margin:6px 0}.warn-icon,.obs-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#ffab28;color:#fff;font-style:normal;font-weight:900}.obs-icon{background:#d22c2c}.records-grid{display:grid;grid-template-columns:minmax(720px,2.35fr) minmax(380px,1fr);gap:14px;height:calc(100vh - 278px);min-height:520px}.record-list-panel,.lines-wrap{border:1px solid #789096;border-radius:8px;overflow:hidden}.record-list-head,.record-row{display:grid;grid-template-columns:1.05fr 1.55fr 1.25fr 1.15fr 120px;gap:8px}.record-list-head{padding:7px 10px;background:#5696a4;color:#fff;font-weight:800}.record-list{height:calc(100% - 38px);overflow:auto}.record-row{padding:7px 10px;border-bottom:1px solid #b7b7b7;cursor:pointer;align-items:center;background:#fff}.record-row:hover,.record-row.selected{background:#e3f5f6;box-shadow:inset 4px 0 #0b9f9d}.record-row div{min-width:0}.record-row strong,.record-row small{display:block}.record-row small{font-size:12px}.record-row .valid{color:#009b9b}.record-row .pending{color:#dc7b00}.record-row .cancelled{color:#c21c1c}.row-icons{display:flex;gap:5px;align-items:center;justify-content:flex-end}.row-icons .warn-icon,.row-icons .obs-icon{width:26px;height:26px}.detail-button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#89c93b;color:#fff;font-size:22px;cursor:pointer}.record-side{display:grid;grid-template-rows:1fr 1.05fr;gap:12px;min-height:0}.record-side h2{font-size:16px;color:#548b91;margin:0 0 5px}.lines-wrap{height:calc(100% - 25px);overflow:auto}.lines-wrap table,.detail-lines table{border-collapse:collapse;width:100%}.lines-wrap th,.detail-lines th{background:#079a9a;color:#fff;padding:6px;text-align:left;position:sticky;top:0}.lines-wrap td,.detail-lines td{padding:6px;border-bottom:1px solid #ccc}.lines-wrap th:not(:first-child),.lines-wrap td:not(:first-child),.detail-lines th:not(:first-child),.detail-lines td:not(:first-child){text-align:right}.record-map{border:1px solid #789096;border-radius:8px;min-height:220px}.record-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:10px}.record-actions span{margin-right:auto;font-weight:800}.record-actions a{background:#eef8f8;color:#548b91;border:1px solid #548b91}.records-toast{position:absolute;right:20px;top:12px;background:#267c5b;color:#fff;border-radius:8px;padding:9px 18px;z-index:20}.record-dialog{width:min(1200px,calc(100vw - 50px));border:0;border-radius:12px;padding:18px 24px;color:#548b91;box-shadow:0 18px 55px #0007}.record-dialog::backdrop{background:#1228}.record-dialog>header{display:flex;align-items:center;justify-content:space-between}.record-dialog h2{font-size:20px;font-weight:800;margin:0 0 14px}.record-dialog header button{border:0;background:transparent;font-size:30px;color:#548b91}.map-dialog #allRecordsMap{height:min(680px,75vh);border-radius:8px}.detail-body{display:grid;grid-template-columns:36% 64%;min-height:520px}.detail-body dl{display:grid;grid-template-columns:145px 1fr;align-content:start;gap:8px;margin:0;padding:10px}.detail-body dt{text-align:right;color:#b11515}.detail-body dd{margin:0;color:#049b9a;font-weight:700}.detail-lines{border:1px solid #333;border-radius:8px;overflow:auto}.record-dialog footer{display:flex;justify-content:center;gap:38px;padding-top:18px}.record-dialog footer form{margin:0}.record-dialog footer .validate-button{background:#548b91}.record-dialog footer .annul-button{background:#c83b27}.annul-dialog{width:min(620px,calc(100vw - 40px))}.annul-dialog label{display:grid;gap:8px;font-weight:800}.annul-dialog textarea{width:100%;height:130px;border:1px solid #789096;border-radius:7px;padding:8px}.empty-records{padding:30px;text-align:center}.leaflet-popup-content b{color:#548b91}.leaflet-container{font-family:Nunito,sans-serif}
@media(max-width:1200px){.records-filters{grid-template-columns:repeat(3,1fr)}.records-grid{grid-template-columns:1fr;height:auto}.record-list-panel{height:600px}.record-side{height:750px}.detail-body{grid-template-columns:1fr}.detail-body dl{grid-template-columns:130px 1fr}.records-legend{justify-content:flex-start}}
@media(max-width:700px){.records-filters{grid-template-columns:1fr 1fr}.record-list-head{display:none}.record-row{grid-template-columns:1fr 1fr}.row-icons{justify-content:flex-start}.record-actions{flex-wrap:wrap}.record-actions span{width:100%}.records-legend{flex-direction:column;gap:5px}.records-grid{min-height:0}.record-list-panel{height:620px}.record-dialog{padding:12px}.record-dialog footer{gap:8px;flex-wrap:wrap}}
.record-actions{justify-content:flex-start}.record-actions-buttons{margin-left:auto;display:flex;align-items:center;gap:12px}.record-actions .xlsx-export-button,.xlsx-export-dialog .xlsx-confirm-button{background:#397d69}.xlsx-export-dialog{width:min(680px,calc(100vw - 40px))}.xlsx-export-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:20px 5px}.xlsx-export-fields label{display:grid;gap:7px;font-weight:800}.xlsx-export-fields input{height:38px;border:1px solid #789096;border-radius:7px;padding:6px 9px}@media(max-width:900px){.record-actions-buttons{margin-left:0;flex-wrap:wrap}.xlsx-export-fields{grid-template-columns:1fr}}
