#ip-pools-page{--pool-blue:#1465ec;max-width:1600px;margin:auto}#ip-pools-page .pool-card{background:#fff;border:1px solid #d7e3ef;border-radius:20px;margin:24px 0;overflow:hidden;box-shadow:0 10px 30px #193c5b08}#ip-pools-page .pool-card-header{padding:24px 28px;background:linear-gradient(110deg,#edf5ff,#f5f1ff);display:flex;gap:16px;align-items:center;justify-content:space-between}#ip-pools-page h2{margin:0 0 6px;font-size:24px}#ip-pools-page .pool-card-header p{margin:0;color:#60758a}#ip-pools-page .pool-content{padding:28px}#ip-pools-page .pool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}#ip-pools-page label{display:flex;flex-direction:column;gap:9px;min-width:0;font-weight:650;color:#38546b}#ip-pools-page input:not([type=checkbox]),#ip-pools-page select,#ip-pools-page textarea{width:100%;min-width:0;box-sizing:border-box;min-height:46px;border:1px solid #c9d9e8;border-radius:10px;padding:11px 14px;background:#fff;color:#162d40;font:inherit}#ip-pools-page input:disabled,#ip-pools-page select:disabled{background:#f1f5f9}#ip-pools-page .pool-check{flex-direction:row;align-items:center;gap:12px;min-height:46px}#ip-pools-page .pool-full{grid-column:1/-1}#ip-pools-page .pool-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-top:24px}#ip-pools-page .pool-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:20px 28px}#ip-pools-page .pool-toolbar input{max-width:360px}#ip-pools-page .pool-toolbar select{width:auto}#ip-pools-page .pool-table-wrap{overflow-x:auto}#ip-pools-page table{width:100%;border-collapse:collapse;min-width:760px}#ip-pools-page th{background:#edf5ff;text-align:left;color:#49657d;font-size:13px;text-transform:uppercase;letter-spacing:.04em}#ip-pools-page th,#ip-pools-page td{padding:17px 22px;border-bottom:1px solid #e3ebf3;vertical-align:middle}#ip-pools-page td small{display:block;margin-top:5px;color:#73879a}#ip-pools-page .pool-row-actions{display:flex;flex-wrap:wrap;gap:8px}#ip-pools-page .pool-row-actions button{padding:8px 13px;white-space:nowrap}#ip-pools-page .pool-status{font-weight:700;color:#138464;white-space:nowrap}#ip-pools-page .pool-status.off{color:#c02d49}#ip-pools-page .pool-message{padding:16px 22px;border-radius:12px;background:#eaf8f1;color:#17654d;margin:18px 0}#ip-pools-page .pool-message.error{background:#fff0f2;color:#b32242}#ip-pools-page .pool-note{font-size:13px;color:#687e92;margin:12px 0}#ip-pools-page .hidden{display:none!important}.static-pool-field{min-width:0}.static-pool-field small{font-weight:400;font-size:12px;color:#667e93}.static-pool-field .static-address-search{display:flex;gap:8px;align-items:center}.static-pool-field .static-address-search input{min-width:0;flex:1}.static-pool-field button{font-size:12px;padding:8px;white-space:nowrap}.static-pool-field.hidden{display:none!important}@media(max-width:760px){#ip-pools-page .pool-grid{grid-template-columns:1fr}#ip-pools-page .pool-card-header,#ip-pools-page .pool-content,#ip-pools-page .pool-toolbar{padding:18px}#ip-pools-page .pool-card-header{align-items:flex-start;flex-direction:column}}

/* Keep management compact and open address inventory only on request. */
#ip-pools-page .pool-create-actions{display:flex;flex-wrap:wrap;gap:12px}
#ip-pools-page .pool-name-link{border:0;background:transparent;color:#1763bb;font:inherit;font-weight:700;padding:0;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#ip-pools-page #pool-address-dialog{width:min(1000px,calc(100vw - 40px));max-width:none;max-height:85vh;margin:auto;padding:0;border:1px solid #d7e3ef;border-radius:20px;background:#fff;box-shadow:0 24px 80px #102b4d40;overflow:auto}
#ip-pools-page #pool-address-dialog:not([open]){display:none!important}
#ip-pools-page #pool-address-dialog::backdrop{background:#10283c70}
#ip-pools-page #pool-address-card{margin:0;border:0;box-shadow:none}
#ip-pools-page #pool-address-card .pool-table-wrap{max-height:48vh;overflow:auto}
#ip-pools-page #pool-address-card table{min-width:560px}
#ip-pools-page #pool-address-card th{position:sticky;top:0;z-index:1}
#ip-pools-page .pool-check input[type=checkbox]{width:20px!important;height:20px!important;min-height:0!important;flex:0 0 20px;margin:0;accent-color:#1465ec}
/* Explicit rows prevent helper text and search tools from shifting field alignment. */
#add-user-page #network .network-address-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:20px}
#add-user-page #network .network-mode-field{width:min(100%,360px);align-self:start}
#add-user-page #network .static-family-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:start;padding:20px;border:1px solid #e2d9f4;border-radius:14px;background:#fcfaff;min-width:0}
#add-user-page #network .static-family-group.hidden{display:none!important}
#add-user-page #network .static-family-group h3{grid-column:1/-1;margin:0;color:#6344a1;font-size:14px;line-height:1.5}
#add-user-page #network .static-pool-field{display:flex;flex-direction:column;gap:9px;align-self:start;min-width:0;margin:0;font-size:12px;line-height:1.5}
#add-user-page #network .static-pool-field select{height:46px;min-height:46px;width:100%;margin:0}
#add-user-page #network .static-pool-field small{display:block;min-height:36px;margin:0;font-size:12px;line-height:18px}
#add-user-page #network .static-address-search{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:start;margin:0}
#add-user-page #network .static-address-search input{width:100%;height:46px;min-width:0;margin:0}
#add-user-page #network .static-address-search button{height:46px;min-height:46px;padding:10px 16px;font-size:12px;white-space:nowrap}
@media(max-width:600px){#add-user-page #network .static-family-group{grid-template-columns:minmax(0,1fr);padding:14px}#add-user-page #network .static-address-search{grid-template-columns:repeat(2,minmax(0,1fr))}#add-user-page #network .static-address-search input{grid-column:1/-1}#ip-pools-page #pool-address-dialog{width:calc(100vw - 20px)}}
