.net-overview { margin-bottom: 18px; }
.net-overview .panel-head, .net-address-panel .panel-head { gap: 12px; flex-wrap: wrap; }
.net-overview .panel-head small, .net-address-panel .panel-head small { display: block; margin-top: 5px; font-size: 12px; }
.net-gateway { margin-top: 9px; font-size: 13px; }
.net-row .field > small { color: var(--muted); font-size: 11px; }
.net-zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.net-zone { border: 0; border-right: 1px solid var(--line); background: transparent; padding: 16px 18px; text-align: left; display: grid; align-content: start; gap: 4px; min-width: 0; }
.net-zone:last-child { border-right: 0; }
.net-zone:hover { background: var(--soft); }
.net-zone.selected { background: #edf8df; box-shadow: inset 0 -3px var(--green-dark); }
.net-zone > span { font-size: 13px; }
.net-zone > strong { font-size: 30px; font-weight: 650; font-variant-numeric: tabular-nums; }
.net-zone > small { font-size: 11px; color: var(--muted); }
.net-plan-controls { padding: 16px 18px; display: flex; gap: 16px; border-top: 1px solid var(--line); }
.net-plan-controls .field { font-size: 12px; flex: 1; min-width: 0; }
.net-plan-controls .field:last-child { flex: 0 0 190px; }
.net-plan-controls select { width: 100%; }
.net-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 18px; }
.net-counts > div { padding: 12px 14px; background: var(--soft); border-radius: 7px; min-width: 0; }
.net-counts span { display: block; font-size: 12px; color: var(--muted); }
.net-counts strong { display: block; margin-top: 4px; font-size: 23px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.net-total { margin: 12px 18px 16px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.net-warning { display: flex; gap: 8px; padding: 11px 14px; margin: 0 18px 14px; border-radius: 7px; background: #fff4dd; color: #805312; font-size: 12px; }
.net-warning .ico { flex: none; }
.net-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 13px; }
.net-table th { padding: 12px 18px; color: var(--muted); font-size: 12px; font-weight: 500; background: var(--soft); }
.net-table th:first-child { width: 27%; }
.net-table th:nth-child(2) { width: 37%; }
.net-table td { border-top: 1px solid var(--line); padding: 12px 18px; vertical-align: top; overflow-wrap: anywhere; }
.net-table td > small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.net-ip { display: flex; align-items: center; gap: 5px; }
.net-ip .mono { overflow-wrap: anywhere; }
.net-ip .icon-btn { flex: none; width: 28px; height: 28px; }
.net-ip-status { display: inline-flex; padding: 2px 7px; border-radius: 4px; font-size: 11px; }
.net-ip-status.occupied { color: #345e87; background: #e8f1fa; }
.net-ip-status.free { color: #3d652d; background: #edf6e5; }
.net-ip-status.reserved { color: #687269; background: #edf0eb; }
.net-device { padding: 4px 0 8px; }
.net-device + .net-device { border-top: 1px solid #edf0eb; padding-top: 9px; }
.net-device > a { display: block; margin-bottom: 5px; }
.net-device b { font-weight: 600; }
.net-device a:hover, .net-place:hover { text-decoration: underline; }
.net-device > small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.net-place { display: block; padding: 4px 0 8px; }
.net-place b { display: block; margin-bottom: 4px; font-weight: 600; }
.net-place span { font-size: 12px; }
.net-inherited summary { color: var(--green-dark); cursor: pointer; margin: 4px 0 8px; font-size: 12px; }
.net-muted { color: var(--muted); font-size: 12px; }
.net-table .net-conflict { color: #a24631; }
.net-pagination { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; }
.net-pagination > span { overflow-wrap: anywhere; min-width: 0; margin-right: auto; }
@media (max-width: 1100px) { .net-zones { grid-template-columns: repeat(3, minmax(0, 1fr)); } .net-zone { border-bottom: 1px solid var(--line); } }
@media (max-width: 650px) {
  .net-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-zone { padding: 12px 14px; }
  .net-zone > strong { font-size: 25px; }
  .net-plan-controls { flex-wrap: wrap; padding: 14px; gap: 10px; }
  .net-plan-controls .field, .net-plan-controls .field:last-child { flex: 1 1 100%; }
  .net-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 14px; gap: 8px; }
  .net-counts strong { font-size: 21px; }
  .net-total { margin-left: 14px; margin-right: 14px; }
  .net-table, .net-table tbody, .net-table tr, .net-table td { display: block; width: 100%; }
  .net-table thead { display: none; }
  .net-table tr { padding: 9px 14px; border-top: 1px solid var(--line); }
  .net-table td { padding: 5px 0; border: 0; }
  .net-table td:not(:first-child)::before { display: block; content: attr(data-label); font-size: 11px; color: var(--muted); margin-bottom: 5px; }
  .net-table td:has(> .net-muted) { display: none; }
  .net-device .badge { white-space: normal; }
  .net-pagination { padding: 12px 14px; }
}
