#dhcp{display:none;scroll-margin-top:72px}body.dhcp-mode main>:not(#dhcp){display:none}body.dhcp-mode #dhcp{display:block}
.dhcp-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.dhcp-heading h1{font-size:24px;font-weight:650;line-height:1.35}.dhcp-heading p{margin:6px 0 0}.dhcp-heading-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.dhcp-heading-tools button{min-height:44px}
.dhcp-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px;overflow:hidden}.dhcp-summary>div{padding:16px 18px;min-width:0}.dhcp-summary>div+div{border-left:1px solid var(--border)}.dhcp-summary strong{display:block;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.5;margin:4px 0}.dhcp-summary small{display:block;font-size:11px;color:var(--muted);line-height:1.6}.dhcp-summary .dhcp-total{font-size:13px;color:var(--muted);font-weight:400}
.dhcp-tabs{display:flex;gap:4px;padding:0 18px;border-bottom:1px solid var(--border)}.dhcp-tabs button{border:0;background:transparent;color:var(--muted);font:inherit;font-weight:600;min-height:48px;padding:12px 16px;border-bottom:2px solid transparent;border-radius:0;cursor:pointer}.dhcp-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}.dhcp-tabs button:hover{background:var(--bg)}
.dhcp-controls{display:flex;align-items:flex-end;gap:12px;padding:16px 18px;flex-wrap:wrap}.dhcp-controls label,.dhcp-lease-tools label{display:grid;gap:4px;font-size:11px;color:var(--muted)}.dhcp-controls select,.dhcp-controls input,.dhcp-lease-tools select{min-height:44px}.dhcp-controls label:first-child{min-width:240px}.dhcp-search-control{flex:1;min-width:220px}.dhcp-search-control input{width:100%}.dhcp-lease-tools{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;padding:0 18px 12px}
.dhcp-warning{color:var(--amber);border-left:3px solid var(--amber);padding:12px 16px;background:var(--surface);margin-bottom:16px;font-size:12px}.dhcp-error{color:var(--red);padding:0 18px 12px;margin:0;font-size:12px}.dhcp-table{font-variant-numeric:tabular-nums;width:100%;min-width:1080px}.dhcp-table th,.dhcp-table td{padding:10px 16px;vertical-align:middle}.dhcp-table td{font-size:12px}.dhcp-table th{font-size:11px}.dhcp-table .dhcp-ip{font-weight:600;white-space:nowrap}.dhcp-server-link{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:transparent;color:var(--blue);font:inherit;font-weight:600;text-align:left;cursor:pointer}.dhcp-server-link:hover{text-decoration:underline}.dhcp-table .dhcp-subline{display:block;color:var(--muted);font-size:11px;margin-top:3px}.dhcp-status{display:inline-flex;padding:3px 7px;border:1px solid var(--border);border-radius:3px;font-size:11px;font-weight:600;white-space:nowrap}.dhcp-status.enabled,.dhcp-status.allocated{color:var(--green)}.dhcp-status.disabled,.dhcp-status.expired{color:var(--muted)}.dhcp-status.declined{color:var(--amber)}.dhcp-link-down{color:var(--red)}.dhcp-table .dhcp-pool{white-space:nowrap}.dhcp-table .dhcp-network-dns{white-space:nowrap;line-height:1.8}.dhcp-table .dhcp-portal{max-width:240px;overflow-wrap:anywhere;color:var(--blue)}.dhcp-networks-table{min-width:1160px}.dhcp-leases-table{min-width:960px}.dhcp-note{padding:12px 18px;margin:0;color:var(--muted);font-size:11px;line-height:1.7;border-top:1px solid var(--border)}.dhcp-footer{flex-wrap:wrap;gap:12px}.dhcp-footer .pager button{width:auto;min-height:44px;padding:8px 12px}.dhcp-footer #dhcp-result-count{font-variant-numeric:tabular-nums}.dhcp-caption{padding:12px 18px;border-top:1px solid var(--border);color:var(--muted);font-size:11px}
#dhcp button:focus-visible,#dhcp input:focus-visible,#dhcp select:focus-visible,#dhcp a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:800px){.dhcp-heading{flex-wrap:wrap}.dhcp-heading-tools{justify-content:flex-start}.dhcp-controls label:first-child{min-width:180px;flex:1}.dhcp-search-control{flex-basis:100%}.dhcp-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dhcp-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--border)}.dhcp-summary>div:nth-child(4){border-top:1px solid var(--border)}.dhcp-footer .pager{margin-left:auto}.dhcp-lease-tools{justify-content:flex-start}}
@media(max-width:560px){.dhcp-heading{gap:12px;margin-bottom:16px}.dhcp-heading h1{font-size:20px}.dhcp-summary>div{padding:12px}.dhcp-summary strong{font-size:20px}.dhcp-summary{margin-bottom:16px}.dhcp-tabs{padding:0 8px;gap:0}.dhcp-tabs button{padding:12px 14px}.dhcp-controls{padding:12px;gap:12px}.dhcp-controls label:first-child,.dhcp-controls #dhcp-status-control{flex-basis:100%}.dhcp-controls select{width:100%}.dhcp-lease-tools{padding:0 12px 12px}.dhcp-lease-tools label{flex:1;min-width:120px}.dhcp-error{padding-inline:12px}.dhcp-table th,.dhcp-table td{padding-inline:12px}.dhcp-note,.dhcp-caption{padding:12px}.dhcp-heading-tools{width:100%;justify-content:space-between}.dhcp-heading-tools .uptime-badge{font-size:11px}}

.dhcp-queue-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin-bottom:20px;border-left:3px solid var(--green)}.dhcp-queue-summary h2{margin:4px 0;font-size:18px;font-weight:600}.dhcp-queue-summary p{margin:0}.dhcp-queue-summary button{min-height:44px;flex-shrink:0}.dhcp-queue-summary.warning{border-left-color:var(--amber)}.dhcp-queue-summary.warning h2{color:var(--amber)}.dhcp-status.idle{color:var(--green)}.dhcp-status.pending{color:var(--blue)}.dhcp-status.pressure,.dhcp-status.backlog{color:var(--amber)}.dhcp-status.dropping{color:var(--red)}.dhcp-status.unknown{color:var(--muted)}.dhcp-queue-buffer{min-width:180px;font-variant-numeric:tabular-nums}.dhcp-queue-buffer progress{display:block;height:4px;margin-top:6px}.dhcp-queues-table tr:has(.dhcp-status.dropping) progress{accent-color:var(--red)}.dhcp-queues-table tr:has(.dhcp-status.dropping) progress::-webkit-progress-value{background:var(--red)}.dhcp-queues-table tr:has(.dhcp-status.backlog,.dhcp-status.pressure) progress{accent-color:var(--amber)}.dhcp-queues-table tr:has(.dhcp-status.backlog,.dhcp-status.pressure) progress::-webkit-progress-value{background:var(--amber)}#dhcp-queue-error{padding-top:12px}.dhcp-tabs{flex-wrap:wrap}
@media(max-width:560px){.dhcp-queue-summary{padding:12px;align-items:flex-start;flex-direction:column}.dhcp-queue-summary h2{font-size:16px}.dhcp-queue-summary button{width:100%}.dhcp-tabs button{padding-inline:10px}}
