/* Scoped administrator IP inventory, using the shared BigCloudy brand palette. */
.ipm-page { --ipm-brand:#8352f1; --ipm-text:#142b49; --ipm-muted:#6a7e98; --ipm-border:#e0e7f0; display:grid; gap:20px; min-width:0; color:var(--ipm-text); }
.ipm-page * { box-sizing:border-box; }
.ipm-page [hidden] { display:none !important; }
.ipm-page h1,.ipm-page h2,.ipm-page h3,.ipm-page p { margin:0; }
.ipm-page h1 { color:#10233e; font-family:Outfit,Inter,sans-serif; font-size:27px; line-height:1.3; font-weight:650; }
.ipm-page h2 { color:#142b49; font-size:15px; line-height:1.5; font-weight:650; }
.ipm-page button,.ipm-page input,.ipm-page select { font:inherit; }
.ipm-card { border:1px solid var(--ipm-border); border-radius:15px; background:#fff; box-shadow:0 2px 5px #17284405; min-width:0; }
.ipm-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding:25px; }
.ipm-heading { display:flex; gap:15px; align-items:center; min-width:0; }
.ipm-heading-icon { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:13px; background:#f2ecff; color:var(--ipm-brand); font-size:21px; }
.ipm-heading p { margin-top:5px; font-size:13px; line-height:1.6; color:var(--ipm-muted); }
.ipm-header-actions,.ipm-row-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ipm-btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; max-width:100%; padding:8px 13px; border:1px solid #dce3ed; border-radius:9px; background:#fff; color:#29415e; font-size:12px !important; font-weight:550; line-height:1.5; cursor:pointer; text-decoration:none; transition:background-color .15s,border-color .15s,color .15s; }
.ipm-btn:hover:not(:disabled) { background:#f7f3ff; border-color:#c6b0fb; color:#6d3bd5; }
.ipm-btn--primary { background:var(--ipm-brand); border-color:var(--ipm-brand); color:#fff; }
.ipm-btn--primary:hover:not(:disabled) { background:#7241db; border-color:#7241db; color:#fff; }
.ipm-btn--danger { color:#c43243; border-color:#f4d9de; background:#fffafa; }
.ipm-btn--danger:hover:not(:disabled) { background:#fff0f2; border-color:#e8a1ad; color:#a52333; }
.ipm-page button:focus-visible,.ipm-page input:focus-visible,.ipm-page select:focus-visible { outline:3px solid #8352f140; outline-offset:2px; }
.ipm-page button:disabled { opacity:.5; cursor:not-allowed; }
.ipm-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.ipm-stat { display:flex; align-items:center; gap:14px; padding:20px; }
.ipm-stat-icon { width:45px; height:45px; flex:0 0 45px; border-radius:12px; display:grid; place-items:center; color:var(--ipm-brand); background:#f3ecff; font-size:17px; }
.ipm-stat-icon--configured { color:#009d78; background:#eafaf4; }
.ipm-stat-icon--assigned { color:#176bc1; background:#edf5ff; }
.ipm-stat-icon--available { color:#bd7905; background:#fff8e8; }
.ipm-stat strong { display:block; font-size:25px; line-height:1.25; font-weight:650; }
.ipm-stat div>span { display:block; margin-top:4px; color:var(--ipm-muted); font-size:11px; line-height:1.5; }
.ipm-inventory { overflow:hidden; }
.ipm-inventory-header { padding:20px 22px; display:flex; justify-content:space-between; align-items:center; gap:15px; }
.ipm-inventory-header p { color:var(--ipm-muted); font-size:11px; line-height:1.5; margin-top:4px; }
.ipm-count { color:#6d3bd5; background:#f5efff; border:1px solid #ece1ff; padding:5px 9px; border-radius:7px; white-space:nowrap; font-size:11px; }
.ipm-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; border-top:1px solid #edf1f6; padding:15px 22px; }
.ipm-search { position:relative; width:400px; max-width:100%; }
.ipm-search>i { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:#93a2b8; font-size:12px; pointer-events:none; }
.ipm-search input { box-sizing:border-box;line-height:20px;width:100%; min-height:var(--bc-control-h,40px); border:1px solid #dfe5ef; border-radius:8px; padding:9px 13px 9px 35px; background:#fff; color:#253d59; font-size:var(--bc-control-font-size,14px); }
.ipm-search input::placeholder { color:#6D697A; }
.ipm-filter { display:flex; align-items:center; gap:10px; }
.ipm-filter label { color:var(--ipm-muted); font-size:11px; }
.ipm-filter select { box-sizing:border-box;line-height:20px; min-height:var(--bc-control-h,40px); border:1px solid #dfe5ef; border-radius:8px; padding:8px 27px 8px 11px; color:#29415e; background-color:#fff; font-size:var(--bc-control-font-size,14px); }
.ipm-table-wrap { width:100%; overflow-x:auto; }
.ipm-table { width:100%; min-width:900px; border-collapse:collapse; text-align:left; }
.ipm-table th { color:#61728b; background:#f7f9fc; font-size:10px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; padding:13px 20px; border-block:1px solid #e3e9f1; white-space:nowrap; }
.ipm-table td { padding:19px 20px; border-bottom:1px solid #edf1f6; font-size:12px; vertical-align:middle; }
.ipm-table tbody tr:last-child td { border-bottom:0; }
.ipm-table tbody tr:hover { background:#fcfaff; }
.ipm-table td>small,.ipm-table td>span+small { display:block; margin-top:7px; color:var(--ipm-muted); font-size:10px; line-height:1.6; overflow-wrap:anywhere; }
.ipm-address { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.ipm-address code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; background:transparent; padding:0; font-weight:600; font-size:12px; color:#1c3351; overflow-wrap:anywhere; }
.ipm-badge { display:inline-flex; align-items:center; gap:5px; color:#4d6280; background:#f1f5f9; border:1px solid #e4eaf0; font-size:10px; line-height:1.5; padding:3px 7px; border-radius:6px; white-space:nowrap; }
.ipm-badge--success { color:#008668; border-color:#c9f0e2; background:#edfbf5; }
.ipm-badge--success>span { width:5px; height:5px; border-radius:50%; background:currentColor; }
.ipm-badge--brand { color:#7741df; background:#f4edff; border-color:#e7d9ff; }
.ipm-badge--warning { color:#ad6a00; background:#fffae9; border-color:#f5e3b0; }
.ipm-protected { display:inline-flex; gap:6px; color:#8795aa; font-size:10px; }
.ipm-muted { color:var(--ipm-muted); }
.ipm-row-actions { justify-content:flex-end; }
.ipm-table th:last-child { text-align:right; }
.ipm-row-actions .ipm-btn { min-height:32px; padding:5px 10px; font-size:11px !important; }
.ipm-inventory-footer { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:10px; padding:14px 22px; background:#fafbfe; border-top:1px solid #e7ecf4; font-size:10px; line-height:1.6; color:var(--ipm-muted); }
.ipm-inventory-footer i { margin-right:3px; }
.ipm-empty { display:flex; align-items:center; flex-direction:column; text-align:center; gap:12px; padding:48px 20px; border-top:1px solid #e7ecf4; }
.ipm-empty-icon { width:60px; height:60px; background:#f4efff; border-radius:18px; display:grid; place-items:center; color:#9c75ee; font-size:25px; }
.ipm-empty h3 { font-size:16px; font-weight:600; margin-top:5px; }
.ipm-empty p { font-size:12px; color:var(--ipm-muted); max-width:390px; line-height:1.8; }
.ipm-info { display:flex; gap:11px; color:#72819a; font-size:11px; padding:0 3px; line-height:1.9; }
.ipm-info>i { color:#9c7bdc; margin-top:5px; }
.ipm-info strong { color:#465b77; margin-right:6px; }
.ipm-message { padding:13px 16px; border:1px solid #d9e7f4; border-radius:9px; background:#f4f9ff; color:#2f567d; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.ipm-message--error,.ipm-form-error { border:1px solid #f0cdd2; color:#a42e40; background:#fff5f6; }
.ipm-editor { overflow:hidden; }
.ipm-editor header { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:20px 22px; border-bottom:1px solid #e8edf4; }
.ipm-editor header p { font-size:12px; color:var(--ipm-muted); line-height:1.6; margin-top:3px; }
.ipm-editor form { padding:22px; }
.ipm-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ipm-field--wide { grid-column:1/-1; }
.ipm-field { min-width:0; }
.ipm-field label { display:block; font-size:12px; font-weight:550; color:#364d69; margin-bottom:7px; }
.ipm-optional { color:#8b99ad; font-size:10px; font-weight:400; margin-left:4px; }
.ipm-input { width:100%; min-height:41px; padding:10px 12px; border:1px solid #dce3ee; border-radius:8px; color:#233c59; background:#fff; font-size:12px !important; box-shadow:none; }
.ipm-input[aria-invalid=true] { border-color:#d6586e; }
.ipm-field small { display:block; margin-top:7px; color:var(--ipm-muted); font-size:10px; line-height:1.7; }
.ipm-form-description { color:#687c96; margin-bottom:18px !important; font-size:12px; line-height:1.8; }
.ipm-form-description code { overflow-wrap:anywhere; }
.ipm-form-error { border-radius:8px; font-size:12px; padding:11px 13px; line-height:1.6; margin-top:16px; }
.ipm-editor form>footer { display:flex; justify-content:flex-end; align-items:center; gap:8px; padding-top:18px; margin-top:22px; border-top:1px solid #ecf0f5; }
.ipm-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1100px) { .ipm-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .ipm-header { padding:20px; } }
@media (max-width:640px) {
 .ipm-page { gap:15px; } .ipm-page h1 { font-size:23px; } .ipm-header { padding:18px; gap:17px; } .ipm-heading { gap:11px; } .ipm-heading-icon { width:40px; height:40px; flex-basis:40px; border-radius:11px; font-size:18px; }
 .ipm-header-actions { width:100%; gap:7px; } .ipm-header-actions .ipm-btn { flex:1; padding:9px; font-size:11px !important; }
 .ipm-stats { gap:10px; } .ipm-stat { padding:14px 11px; gap:9px; } .ipm-stat-icon { width:34px; height:34px; flex-basis:34px; border-radius:9px; font-size:13px; } .ipm-stat strong { font-size:22px; } .ipm-stat div>span { font-size:10px; }
 .ipm-inventory-header,.ipm-toolbar { padding:16px; } .ipm-search { width:100%; } .ipm-filter { width:100%; justify-content:space-between; } .ipm-filter select { box-sizing:border-box;line-height:20px; flex:1; max-width:200px; }
 .ipm-table { min-width:0; } .ipm-table thead { display:none; } .ipm-table tbody { display:block; } .ipm-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px; padding:19px 16px; border-top:1px solid #e7ecf4; } .ipm-table td { display:block; min-width:0; padding:0; border:0; } .ipm-table td::before { content:attr(data-label); display:block; margin-bottom:7px; color:#8392a8; font-size:9px; text-transform:uppercase; letter-spacing:.04em; } .ipm-table td:first-child,.ipm-table td:last-child { grid-column:1/-1; } .ipm-table td:last-child::before { display:none; } .ipm-row-actions { justify-content:flex-start; padding-top:4px; } .ipm-table td>small { font-size:10px; margin-top:4px; } .ipm-address code { font-size:13px; } .ipm-inventory-footer { padding:13px 16px; }
 .ipm-editor header { padding:16px; } .ipm-editor form { padding:16px; } .ipm-form-grid { grid-template-columns:1fr; gap:17px; } .ipm-field--wide { grid-column:auto; } .ipm-info { font-size:10px; } .ipm-empty { padding:35px 18px; }
}
@media (prefers-reduced-motion:reduce) { .ipm-page * { scroll-behavior:auto !important; transition:none !important; } }
