html body .bkg-phone-input { position:relative; min-width:0; width:100%; }
html body .bkg-phone-input > input { width:100%; min-height:52px !important; padding-right:60px !important; }
html body .bkg-phone-input-call {
    position:absolute; right:4px; top:50%; transform:translateY(-50%);
    display:inline-flex; align-items:center; justify-content:center;
    width:44px; height:44px; min-width:44px; min-height:44px;
    border-left:1px solid var(--bkg-ui-border,#64748b); border-radius:4px;
    color:#38bdf8; text-decoration:none; font-size:20px;
}
html body .bkg-phone-input-call[aria-disabled="true"] { opacity:.35; pointer-events:none; }
html body .bkg-phone-input-call:hover, html body .bkg-phone-input-call:focus-visible { background:rgba(14,165,233,.15); color:#38bdf8; outline:2px solid currentColor; outline-offset:-2px; }
html[data-theme="light"] body .bkg-phone-input-call,
html[data-bs-theme="light"] body .bkg-phone-input-call { color:#0369a1; }
#portalStaffPhoneModal .modal-dialog { max-width:760px; }
#portalStaffPhoneModal .modal-content { background:var(--bkg-ui-elevated,var(--bs-body-bg,#0f172a)); color:var(--bs-body-color,#e2e8f0); }
#portalStaffPhoneModal .modal-body { overflow-y:auto; }
html body #portalStaffPhoneModal .portal-staff-phone-toolbar { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(140px,200px) 44px; gap:8px; margin-bottom:12px; }
html body #portalStaffPhoneModal .portal-staff-phone-toolbar > * { min-width:0; max-width:100%; width:100% !important; margin:0 !important; }
html body #portalStaffPhoneModal .portal-staff-phone-toolbar :is(input,select) { width:100% !important; }
html body #portalStaffPhoneModal .portal-staff-phone-refresh { width:44px !important; min-width:44px !important; min-height:44px; padding:0 !important; }
.portal-staff-phone-count { color:var(--bs-secondary-color,#94a3b8); font-size:12px; margin-bottom:8px; }
.portal-staff-phone-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--bkg-ui-border,#334155); }
.portal-staff-phone-name { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.portal-staff-phone-meta { font-size:12px; color:var(--bs-secondary-color,#94a3b8); margin-top:4px; overflow-wrap:anywhere; }
.portal-staff-phone-numbers { display:flex; flex-direction:column; gap:6px; min-width:140px; max-width:190px; }
.portal-staff-phone-number { display:flex; align-items:center; justify-content:center; gap:6px; min-height:44px; border:1px solid var(--bkg-ui-border,#64748b); border-radius:6px; padding:6px 10px; color:#38bdf8; font-size:13px; white-space:nowrap; text-decoration:none; }
.portal-staff-phone-number:hover, .portal-staff-phone-number:focus-visible { background:rgba(14,165,233,.15); color:#38bdf8; outline:2px solid currentColor; outline-offset:-2px; }
html[data-theme="light"] .portal-staff-phone-number { color:#0369a1; }
.portal-staff-phone-empty { padding:32px 12px; text-align:center; color:var(--bs-secondary-color,#94a3b8); }
.portal-staff-phone-empty > i { display:block; font-size:28px; margin-bottom:8px; }
@media(max-width:767.98px) {
    html body #portalStaffPhoneModal .portal-staff-phone-toolbar { grid-template-columns:minmax(0,1fr) 44px; }
    html body #portalStaffPhoneModal .portal-staff-phone-toolbar > :first-child { grid-column:1/-1; }
}
