/* 161: scoped to reviewed controls; property contact bars and outer agent cards unchanged. */
#imbk-home .imbk-hero:not(.imbk-search-open) .imbk-hero-controls{transform:translateY(-22px)}
#inmo-add form:has(.imbk-fixed-actions161){padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
#inmo-add form>.actions.imbk-fixed-actions161{position:fixed!important;inset:auto 0 0!important;margin:0!important;z-index:990!important;display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;gap:5px!important;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;background:#f7faf8f5!important;backdrop-filter:blur(8px);border-top:1px solid #c8d8cf;box-shadow:0 -3px 10px #174c5210;box-sizing:border-box;width:100%!important}
#inmo-add form>.actions.imbk-fixed-actions161>:not([hidden]){flex:1 1 0!important;max-width:190px!important;min-width:0!important;width:auto!important;min-height:37px!important;padding:5px 4px!important;font:400 11px/1.15 Arial,sans-serif!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important}
#inmo-add .imbk-scroll-pair{bottom:calc(68px + env(safe-area-inset-bottom))!important}
#inmo-add .imbk-recovery161{display:flex;gap:8px;order:-1;margin:0 0 12px}
#inmo-add .imbk-recovery161>button{width:auto!important;flex:1;min-height:35px!important;padding:7px 14px!important;border:1px solid #d4d9c7!important;border-radius:7px;font-size:12px!important;background:linear-gradient(110deg,#fffdf4,#f8edc5)!important;color:#174c52}
#inmo-add>header,#inmo-add>.screen>header{position:sticky!important;top:var(--imbk-admin161,0px)!important;z-index:999!important;padding-block:6px!important;min-height:58px!important;background:#fff!important}
#inmo-add>header img,#inmo-add>.screen>header img{max-width:130px!important;max-height:48px!important;object-fit:contain}
#inmo-add form>h2{top:calc(var(--imbk-admin161,0px) + var(--imbk-form-header161,62px))!important;z-index:980!important;font-size:17px!important;padding-block:8px!important}
#inmo-add .imbk-place-results,#inmo-add .imbk-results-toggle161{grid-column:1/-1!important;width:100%!important}
#inmo-add .imbk-results-toggle161{background:#edf5ef!important;border:1px solid #c8d8cf!important;border-radius:5px;padding:6px!important;font-size:12px!important;color:#315f62}
#inmo-add .imbk-place-option161{text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;width:100%!important;padding:9px 11px!important}
#inmo-add .imbk-place-option161>small{display:block;font:400 11px/1.35 Arial,sans-serif;color:#597570;margin-top:4px}
#inmo-add .imbk-place-option161[aria-pressed=true]{background:#dceee5!important;border-color:#27777b!important}
#inmo-add .imbk-pair156>*::before,#inmo-add .imbk-pair156>*::after{content:none!important}
#inmo-add .imbk-pair156 .imbk-currency159{font-family:'IMBK Currency Narrow','IMBK Narrow','Arial Narrow',sans-serif!important;font-size:.86em!important;font-weight:400!important;letter-spacing:.2px}
#inmo-add .imbk-pair156 strong.imbk-money161{font-weight:500!important}
#inmo-add .imbk-feature-prose161{grid-column:1/-1!important;margin-top:5px!important;list-style:none!important;font-weight:400!important;line-height:1.45!important}
#inmo-add .imbk-feature-prose161::before{content:none!important;display:none!important}
#imbk-home .imbk-company-contact159 a{text-decoration:underline;text-underline-offset:3px}
#imbk-home .imbk-agent-profile>.imbk-agent-card161{--photo161:114px;--gap161:20px;--pad161:18px;display:block!important;max-width:460px;margin:20px auto 0!important;padding:0!important;background:#fff;border:1px solid #c5d8d0;border-radius:18px;overflow:hidden;box-shadow:0 4px 17px #174c5209;color:#174c52}
.imbk-agent-card161 .imbk-agent-main161{padding:var(--pad161);display:grid;grid-template-columns:var(--photo161) minmax(0,1fr);gap:var(--gap161)}
.imbk-agent-card161 .imbk-agent-photo161{aspect-ratio:3/4;overflow:hidden;border-radius:10px;background:#edf5f0;display:flex;align-items:center;justify-content:center}
#imbk-home .imbk-agent-card161 .imbk-profile-photo{width:100%!important;height:100%!important;object-fit:cover;object-position:top;border-radius:0!important}
.imbk-agent-card161 .imbk-agent-info161{display:flex;flex-direction:column;justify-content:space-between;min-width:0;gap:12px}
.imbk-agent-card161 .imbk-agent-person161{border-bottom:1px solid #c5d8d0;padding-bottom:9px}
#imbk-home .imbk-agent-card161 h1{font:600 25px/1.12 Arial,sans-serif!important;letter-spacing:-.6px;margin:0 0 5px!important;overflow-wrap:anywhere}
#imbk-home .imbk-agent-card161 .imbk-agent-person161 p{font:600 15px/1.2 Arial,sans-serif!important;margin:0!important}
.imbk-agent-card161 .imbk-agent-phone-social161{width:max-content;max-width:100%;align-self:flex-start}
.imbk-agent-card161 .imbk-agent-number161{font:500 25px/1.2 Arial,sans-serif;white-space:nowrap;letter-spacing:-.5px;text-align:left}
.imbk-agent-card161 .imbk-agent-number161 small{font:400 11px Arial,sans-serif;color:#426668;letter-spacing:0}
.imbk-agent-card161 .imbk-agent-socials161{display:flex;align-items:center;justify-content:center;width:100%;gap:4px;margin-top:5px}
.imbk-agent-card161 .imbk-agent-socials161>a,.imbk-agent-card161 .imbk-agent-socials161>span{display:inline-flex;align-items:center;justify-content:center;flex:0 1 28px;width:28px;height:28px;padding:6px}
.imbk-agent-card161 .imbk-agent-socials161 img{width:16px;height:16px;filter:brightness(0) saturate(100%) invert(25%) sepia(22%) saturate(1105%) hue-rotate(138deg) brightness(92%) contrast(95%)}
.imbk-agent-card161 .imbk-social-unlinked161{opacity:.5}
.imbk-agent-card161 .imbk-agent-band161{display:grid;grid-template-columns:var(--photo161) minmax(0,1fr);gap:var(--gap161);padding:7px var(--pad161);min-height:54px;align-items:center;background:linear-gradient(110deg,#174c52,#afcfc0);color:#fff}
.imbk-agent-card161 .imbk-agent-band-contact161{display:flex;align-items:center;justify-content:center;gap:9px;width:100%}
#imbk-home .imbk-agent-card161 .imbk-agent-wa161{display:inline-flex;width:34px;min-height:38px;align-items:center;justify-content:center;padding:0;background:none}
.imbk-agent-card161 .imbk-agent-wa161 img{width:34px;height:34px;filter:brightness(0) invert(1)}
#imbk-home .imbk-agent-card161 .imbk-agent-call161{font:300 11px Arial,sans-serif;color:#fff;text-decoration:underline;text-decoration-thickness:.5px;padding:4px 0}
.imbk-agent-card161 .imbk-agent-brand161{width:57px;height:24px;object-fit:contain;justify-self:end;filter:brightness(0) invert(1);opacity:.73;margin-right:var(--brand-inset161,15px)}
#imbk-home .imbk-agent-count161{display:flex;justify-content:center;max-width:460px;margin:0 auto;font:400 12px/1.4 Arial,sans-serif;padding:10px 0;color:#426668;text-decoration:none}
.imbk-agent-profile #imbk-agent-properties{scroll-margin-top:var(--agent-header161,100px)}
@media(max-width:420px){#imbk-home .imbk-agent-profile>.imbk-agent-card161{--photo161:103px;--gap161:15px;--pad161:16px}#imbk-home .imbk-agent-card161 h1{font-size:22px!important}#imbk-home .imbk-agent-card161 .imbk-agent-person161 p{font-size:14px!important}.imbk-agent-card161 .imbk-agent-number161{font-size:22px}.imbk-agent-card161 .imbk-agent-brand161{width:52px;height:22px}}
@media(max-width:340px){#imbk-home .imbk-agent-profile>.imbk-agent-card161{--photo161:92px;--gap161:12px;--pad161:14px}#imbk-home .imbk-agent-card161 h1{font-size:20px!important}#imbk-home .imbk-agent-card161 .imbk-agent-person161 p{font-size:13px!important}.imbk-agent-card161 .imbk-agent-number161{font-size:20px}.imbk-agent-card161 .imbk-agent-socials161{gap:0}.imbk-agent-card161 .imbk-agent-brand161{width:48px;height:20px}}
#inmo-add>.screen{overflow:visible!important}
#inmo-add .imbk-form-context{top:calc(var(--imbk-admin161,0px) + var(--imbk-form-header161,62px))!important}
#inspiry-edit-user .imbk-profile-fields>div:has([id$="-url"]){min-width:0}
