/* Approved menu colors and density, without replacing its structure. */
#imbk-home .imbk-menu,#imbk-home.imbk-panel-preview .imbk-menu{background:rgba(23,76,82,.70)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#imbk-home .imbk-menu a{padding:5px 9px!important;min-height:34px!important;line-height:1.25!important}
#imbk-home .imbk-menu a.imbk-access-agents{background:#faf4dc!important;border:1px solid #e8ddbc!important;color:#174c52!important;font-weight:500!important;padding:8px 10px!important;margin-top:5px!important;min-height:38px!important}
#imbk-home .imbk-access-agents .panel-menu-icon{color:#174c52!important}
/* Small home badge: number first, smaller currency, tightly stacked lines. */
#imbk-home .imbk-hero>.imbk-fx-featured{position:absolute!important;top:18px!important;left:18px!important;right:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:auto;min-width:53px;max-width:82px;gap:1px!important;padding:4px 6px!important;background:#ffffff70!important;border:1px solid #ffffffa6!important;border-radius:6px;box-shadow:none!important;color:#103f45!important;font-family:'IMBK Narrow','Arial Narrow',sans-serif!important;line-height:1.05!important;transform:none!important}
#imbk-home .imbk-hero>.imbk-fx-featured .imbk-fx-label{font:600 9px/10px 'IMBK Narrow','Arial Narrow',sans-serif!important;color:#103f45!important;letter-spacing:0!important}
#imbk-home .imbk-hero>.imbk-fx-featured [data-imbk-fx]{display:block;white-space:nowrap;font:400 16px/17px 'IMBK Narrow','Arial Narrow',sans-serif!important;color:#103f45!important;letter-spacing:0!important}
#imbk-home .imbk-hero>.imbk-fx-featured .imbk-fx-currency156{font:400 9px/10px 'IMBK Narrow','Arial Narrow',sans-serif!important;color:#103f45!important;vertical-align:baseline}
#imbk-home .imbk-hero>.imbk-fx-featured [data-imbk-fx-date]{font:400 9px/10px 'IMBK Narrow','Arial Narrow',sans-serif!important;color:#103f45!important;letter-spacing:0!important}
/* Text uses existing free space above the action row. No header/logo dimensions change. */
header .imbk-quote-actions156{position:relative}
header .imbk-fx-inline156{position:absolute;right:0;top:-12px;display:block;white-space:nowrap;color:#174c52;font:400 11px/12px 'IMBK Narrow','Arial Narrow',sans-serif;letter-spacing:-.12px;pointer-events:none}
header .imbk-fx-inline156 .imbk-fx-currency156{font-size:8px;line-height:1;vertical-align:baseline}
/* The same save action above and below; two equal secondary actions. */
#inmo-add .imbk-edit-top-actions{display:grid;gap:7px;margin:10px 0 14px}
#inmo-add .imbk-edit-top-actions button{box-sizing:border-box;margin:0!important;min-height:40px;padding:10px 6px!important;font:400 13px/1.25 Arial,sans-serif;border-radius:7px;color:#174c52}
#inmo-add .imbk-edit-top-secondary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
#inmo-add .imbk-edit-top-actions .imbk-publish,#inmo-add .actions>.imbk-publish,.imbk-work-exit .imbk-work-primary{background:linear-gradient(110deg,#e1eee5,#bed9c9)!important;border:1px solid #99b6a9!important;color:#174c52!important}
#inmo-add .new-property,.imbk-work-exit button[data-action=new]{background:linear-gradient(110deg,#fff9e1,#f8e8b9)!important;border:1px solid #e9dbac!important;color:#174c52!important}
#inmo-add .imbk-discard-edit,.imbk-work-exit button[data-action=discard]{background:linear-gradient(110deg,#fff0bd,#f2dc9b)!important;border:1px solid #e1ce8d!important;color:#174c52!important}
#inmo-add .imbk-top-publish{width:100%}
/* One compact grid for both the public ficha and the capture preview. */
#inmo-add .preview-content section{padding-top:12px!important;padding-bottom:0!important;margin-top:12px!important;margin-bottom:0!important}
#inmo-add .preview-content section>h3{margin-top:0!important;margin-bottom:8px!important}
#inmo-add .feature-chips.imbk-data-list156{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 12px!important;margin:0!important;padding:0!important;list-style:none!important}
#inmo-add .imbk-data-list156.imbk-economics156{grid-template-columns:minmax(0,1fr)!important}
#inmo-add .imbk-data-list156>.imbk-pair156,#inmo-add .preview-economics>.economic-row.imbk-pair156{display:grid!important;grid-template-columns:11px var(--imbk-label156,54px) 3px minmax(0,1fr)!important;gap:0 3px!important;align-items:baseline!important;min-width:0!important;margin:0!important;padding:0!important;font:400 13px/1.4 Arial,sans-serif!important;overflow:visible!important;width:auto!important}
#inmo-add .imbk-pair156::before{content:'✓'!important;grid-column:1!important;grid-row:1!important;color:#174c52;position:static!important;font-size:13px!important;display:inline-block!important;width:11px!important;margin:0!important}
#inmo-add .imbk-pair156.imbk-economic156::before{content:'▪'!important}
#inmo-add .imbk-pair156>.imbk-label156{grid-column:2!important;font:inherit!important;white-space:normal!important;width:auto!important;display:inline!important;overflow-wrap:normal!important}
#inmo-add .imbk-pair156>.imbk-colon156{grid-column:3!important;font:inherit!important}
#inmo-add .imbk-pair156>strong{grid-column:4!important;font:inherit!important;font-weight:500!important;min-width:0!important;overflow-wrap:normal!important}
#inmo-add .imbk-pair156>span::after,#inmo-add .imbk-pair156>strong::before{content:none!important}
#inmo-add .imbk-data-list156>.imbk-pair156.imbk-wide156,#inmo-add .preview-economics>.economic-row.imbk-wide156{display:block!important;grid-column:1/-1!important;white-space:normal!important}
#inmo-add .imbk-pair156.imbk-wide156::before{margin-right:6px!important}
#inmo-add .imbk-wide156>.imbk-colon156{margin:0 3px 0 0!important}
#inmo-add .preview-economics>.economic-row.imbk-pair156{margin-bottom:5px!important}
@media(max-width:360px){#inmo-add .imbk-data-list156>.imbk-pair156,#inmo-add .preview-economics>.economic-row.imbk-pair156{font-size:12px!important}}
/* 157: quote stays INSIDE the existing header instead of above its clipping edge. */
html body header .imbk-quote-actions156{display:flex!important;flex-direction:column!important;align-items:flex-end!important;align-self:center!important;justify-content:center!important;gap:2px!important;position:static!important;padding-top:0!important;min-width:0}
header .imbk-toolbar157{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
html body header .imbk-fx-inline156{position:static!important;inset:auto!important;margin:0!important;display:block!important;font-size:10px;line-height:11px;color:#174c52;letter-spacing:-.15px}
html body.imbk-profile-unified-menu .rh-header-slim{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;padding:10px!important;gap:8px!important;min-height:72px;height:auto!important}
html body.imbk-profile-unified-menu .rh-header-slim-left{display:flex!important;align-items:center!important;min-width:0;width:auto!important;flex:0 1 auto;float:none!important;margin:0!important;padding:0!important}
html body.imbk-profile-unified-menu .rh-header-slim-left .rh-logo{margin:0!important;padding:0!important;min-width:0}
html body.imbk-profile-unified-menu .rh-header-slim>.imbk-profile-header-actions{position:static!important;inset:auto!important;transform:none!important;margin:0 0 0 auto!important;flex:0 0 auto;float:none!important;width:auto!important}
html body.imbk-profile-unified-menu .rh-header-slim-right{display:none!important}
html body.imbk-profile-unified-menu .imbk-profile-menu-toggle{position:static!important;inset:auto!important;transform:none!important;margin:0!important;flex:none}
#imbk-home .imbk-header .imbk-login.imbk-panel-home{background:#fff!important;color:#23565a!important;border:1px solid #d9e3de!important;border-radius:7px;padding:7px 8px!important;min-height:36px;font:400 13px/1.2 Arial,sans-serif}
#imbk-home .imbk-hero>.imbk-fx-featured{text-align:center!important;color:#0b3b42!important;padding:5px 7px!important}
#imbk-home .imbk-hero>.imbk-fx-featured :is(.imbk-fx-label,[data-imbk-fx],[data-imbk-fx-date],.imbk-fx-currency156){text-align:center!important;color:#0b3b42!important}
#imbk-home .imbk-hero>.imbk-fx-featured [data-imbk-fx]{align-self:center;font-weight:600!important}
/* Actual flex order, shared by new, existing and draft edit forms. */
#inmo-add form.imbk-ordered-form>.imbk-edit-top-actions{order:-1!important}
#inmo-add form.imbk-ordered-form>.imbk-availability-opener{order:-1!important}
/* Two columns for amenities: reserve space for answers and align colons per column. */
#inmo-add .imbk-pair156>strong{white-space:normal;word-break:normal}
#inmo-add .imbk-data-list156:not(.imbk-economics156) .imbk-pair156>strong.imbk-short-answer157{white-space:nowrap}
#inmo-add .imbk-pair156.imbk-wide156>strong{white-space:normal}
#inmo-add .imbk-label156{word-break:normal}
@media(max-width:430px){#inmo-add .imbk-data-list156>.imbk-pair156{font-size:12px!important}}
#inmo-add .imbk-place-results.imbk-floating-options>button{border-bottom:1px solid #a8beb5!important;border-radius:0!important;padding:12px 10px!important}
#inmo-add .imbk-place-results.imbk-floating-options>button:last-child{border-bottom:0!important}
#inmo-add .imbk-place-results.imbk-floating-options>button:focus-visible{outline:2px solid #527f79;outline-offset:-3px}
/* Gradient variants for existing colored controls; retain their labels and actions. */
#inmo-add .imbk-availability-opener,.imbk-availability-control>summary{background:linear-gradient(110deg,#f0f7f3,#dbeae3)!important;color:#174c52!important}
.imbk-confirm-dialog .imbk-availability-control button[type=submit]{background:linear-gradient(110deg,#e1eee5,#bed9c9)!important}
.imbk-confirm-dialog .imbk-availability-control .imbk-choice-trigger{background:linear-gradient(110deg,#fff8d9,#f4e4ad)!important}
#inmo-add .actions>.primary,#inspiry-edit-user .imbk-photo-adjust{background:linear-gradient(110deg,#174c52,#367b80)!important}
@media(max-width:360px){header .imbk-toolbar157{gap:3px}html body.imbk-profile-unified-menu header .imbk-journey a{font-size:11px;min-width:28px;padding:5px}html body.imbk-profile-unified-menu .rh-logo img{max-width:125px!important;height:auto!important}}
/* Anchor to the header's own top edge, never to a negative offset of its buttons. */
html body header .imbk-fx-inline156{position:absolute!important;top:2px!important;right:12px!important;bottom:auto!important;left:auto!important;line-height:10px!important;font-size:10px!important;z-index:1}
html body header .imbk-quote-actions156{position:static!important;gap:0!important}
header .imbk-toolbar157 [hidden]{display:none!important}
html body.imbk-profile-unified-menu .rh-header-slim-left{flex:1 1 auto!important}
html body.imbk-profile-unified-menu .rh-header-slim-left .rh-logo{width:100%;max-width:125px}
html body.imbk-profile-unified-menu .rh-header-slim-left .rh-logo img{display:block;width:100%!important;max-width:125px!important;height:auto!important}
.imbk-confirm-dialog:has(.imbk-availability-control)>button{background:linear-gradient(110deg,#f0f7f3,#dbeae3)!important;color:#174c52!important}
#inspiry-edit-user .imbk-profile-save-shortcut{background:linear-gradient(110deg,#e1eee5,#bed9c9)!important;color:#174c52!important}
