#infrastructureView h1 {margin:0;font-size:26px;color:#153644}
#infrastructureView h2 {margin:0;font-size:19px}
#infrastructureView .infra-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
#infrastructureView .infra-heading p {margin:8px 0 0}
#infrastructureView .infra-actions {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#infrastructureView .infra-layout {display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}
#infrastructureView .infra-sidebar {padding:18px;min-width:0}
#infrastructureView .infra-check {display:flex;align-items:center;gap:9px;cursor:pointer;font-size:14px}
#infrastructureView .infra-check input {width:18px;height:18px;margin:0;flex:0 0 auto;box-shadow:none}
#infrastructureView .infra-layer-row {display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0}
#infrastructureView .infra-layer-row label {flex:1;min-width:0;overflow-wrap:anywhere}
#infrastructureView .infra-layer-row button {padding:6px 10px}
#infrastructureView .infra-swatch {display:inline-block;width:19px;height:6px;border-radius:4px;flex:0 0 auto}
#infrastructureView #infraSearch {width:100%;margin-top:8px}
#infrastructureView .infra-object {display:flex;align-items:center;gap:10px;text-align:left;width:100%;margin:6px 0;padding:11px;white-space:normal;overflow-wrap:anywhere}
#infrastructureView .infra-object small {display:block;font-weight:400;margin-top:5px;color:#64748b}
#infrastructureView #infraObjects {max-height:400px;overflow:auto}
#infrastructureView .infra-map-wrap {padding:8px;min-width:0}
#infrastructureView #infraMap {height:65vh;min-height:430px;border-radius:14px;overflow:hidden;background:#edf3ee}
#infrastructureView #infraMapHelp {padding:0 10px}
#infrastructureView .infra-empty {padding:15px 0;color:#64748b;line-height:1.5}
#infrastructureView #infraMessage {min-height:20px;margin:4px 0 10px;color:#285865}
.infra-dialog {width:min(980px,96vw);max-height:92vh;border:1px solid #d5e2e5;border-radius:18px;padding:22px;background:#fff;color:#16313a;box-shadow:0 25px 80px #16313a44;overflow:auto}
.infra-dialog::backdrop {background:#102b3bcc;backdrop-filter:blur(3px)}
.infra-dialog-header {display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #e3ebed;padding:12px 0 14px;margin-bottom:18px;position:sticky;top:-22px;background:#fff;z-index:5}
.infra-dialog-header h2 {overflow-wrap:anywhere}
.infra-form {display:grid;gap:14px}
.infra-form label {display:grid;gap:7px;font-size:14px;font-weight:600}
.infra-form input,.infra-form textarea,.infra-form select {width:100%;min-width:0;box-sizing:border-box}
.infra-form input[type=color] {height:42px;padding:4px}
.infra-form .infra-style-fields {display:grid;grid-template-columns:100px 120px minmax(0,1fr);gap:16px}
.infra-form .muted {margin:0;font-weight:400;line-height:1.5}
#infraEditorMap {height:340px;min-height:280px;border:1px solid #d6e2df;border-radius:12px;overflow:hidden;background:#edf3ee}
.infra-form #infraCoords {font:14px/1.7 ui-monospace,monospace}
.infra-description {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.infra-coordinates {white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;background:#f1f6f5;padding:14px}
.infra-grant {border:1px solid #d5e2e5;border-radius:12px;padding:16px;min-width:0}
.infra-grant legend {font-weight:bold;padding:0 8px}
.infra-grant-layers {display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.infra-history-event {padding:12px 0;border-bottom:1px solid #d5e2e5;overflow-wrap:anywhere}
.infra-history-event li {margin:6px 0;white-space:pre-wrap}
#infraDialogMessage {color:#ad332c;font-weight:600;white-space:pre-wrap}
@media(max-width:900px){#infrastructureView .infra-layout{grid-template-columns:1fr}#infrastructureView #infraObjects{max-height:200px}#infrastructureView #infraMap{height:440px;min-height:320px}.infra-dialog{padding:14px}.infra-form .grid2{grid-template-columns:1fr}.infra-form .infra-style-fields{grid-template-columns:1fr 1fr}.infra-form .infra-style-fields label:last-child{grid-column:1/-1}}
