/* M01: values only; caption sizes and approved 40/60 tracks are unchanged. */
html body #inmo-add:not(.imbk-public-property) form .imbk-location-layout281 :is(input:not([type=checkbox]),select,button.imbk-select-trigger){font-size:16px!important;font-weight:400!important;font-family:inherit!important;line-height:1.25!important}
html body #inmo-add:not(.imbk-public-property) form .imbk-location-layout281 .imbk-location-admin-access282{font-size:11px!important}
/* M02: visible viewport placement is computed by the existing reference picker. */
html body .imbk-ref-popup280:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;padding:8px!important;gap:6px!important;z-index:1000001!important}
html body .imbk-ref-popup280>.imbk-ref-head280{flex:0 0 auto!important;display:flex!important;justify-content:space-between!important;align-items:center!important;background:linear-gradient(110deg,#e6efec,#f5f3e8)!important;color:#174c52!important;border-radius:5px!important;margin:0!important;padding:3px 6px!important}
html body .imbk-ref-popup280>input{flex:0 0 auto!important;margin:0!important;min-height:36px!important}
html body .imbk-ref-popup280>#imbk-ref-list280{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;max-height:none!important;-webkit-overflow-scrolling:touch}
/* M03/M04: toolbar and restoration adapt without changing their handlers. */
html body .imbk-location-admin-actions286{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin:4px 0}
html body .imbk-location-admin-actions286>button{width:auto!important;min-width:0!important;margin:0!important;padding:5px 9px!important;font-size:12px!important}
html body .imbk-location-admin-row282{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;max-width:100%!important;box-sizing:border-box!important}
html body .imbk-location-admin-row282>span{flex:1 1 110px!important;min-width:0!important;overflow-wrap:anywhere!important}
html body .imbk-location-admin-row282>button{flex:0 0 auto!important;min-width:0!important;max-width:100%!important;width:auto!important;box-sizing:border-box!important;padding:5px 8px!important;white-space:normal!important}
html body .imbk-location-admin-row282>.imbk-zone-enable282{flex:0 1 auto!important;font-size:11px!important}
/* M05: original square negative checkboxes remain in their independent row. */
html body #inmo-add form .check-grid>label.imbk-negative284{display:flex!important;align-items:center!important;gap:7px!important;justify-content:flex-start!important}
html body #inmo-add form .check-grid>label.imbk-negative284>input[type=checkbox]{position:static!important;align-self:center!important;display:block!important;flex:0 0 17px!important;width:17px!important;min-width:17px!important;height:17px!important;margin:0!important;padding:0!important;border-radius:2px!important;transform:none!important;vertical-align:middle!important}
/* P03: hide the generic diamond; reuse category icons only where they exist. */
html body #inmo-add.imbk-public-property .imbk-category-heading286::before{display:none!important;content:none!important}
html body #inmo-add.imbk-public-property .imbk-category-icons285>svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* M07: 44px hit box, 24px visual control. Does not target the enlarged gallery. */
html body :is(.imbk-card-gallery282,#inmo-add .preview-gallery)>:is(.imbk-inline-arrow282,.imbk-cover-arrow206){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#174c52!important;font-size:26px!important;line-height:44px!important;text-align:center!important;z-index:8!important;isolation:isolate;touch-action:manipulation}
html body :is(.imbk-card-gallery282,#inmo-add .preview-gallery)>:is(.imbk-inline-arrow282,.imbk-cover-arrow206)::before{content:'';position:absolute;inset:10px;border-radius:50%;background:rgba(255,255,255,.48);box-shadow:0 0 2px #174c5240;z-index:-1;pointer-events:none}
html body :is(.imbk-inline-arrow282.is-prev,.imbk-cover-prev206){left:0!important}
html body :is(.imbk-inline-arrow282.is-next,.imbk-cover-next206){right:0!important}
html body #inmo-add .preview-gallery>.preview-counter{display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:38px!important;padding:6px 8px!important;border:0!important;border-radius:6px!important;font-size:12px!important;line-height:1.2!important;background:rgba(255,255,255,.46)!important;color:#174c52!important;z-index:7!important;box-shadow:none!important}
html body #inmo-add .preview-gallery>.preview-counter>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
html body :is(.imbk-cover-first211,.imbk-inline-first282):not([hidden]){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:38px!important;width:auto!important;min-height:38px!important;height:38px!important;padding:5px!important;background:rgba(255,255,255,.44)!important;border:0!important;border-radius:5px!important;box-shadow:none!important;font-size:11px!important;line-height:1!important;z-index:8!important}
html body :is(.imbk-cover-first211,.imbk-inline-first282)>svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
/* Transfer progress; original thumbnails, tools and attachment files unchanged. */
html body #inmo-add .photo-item>.photo-upload-state{display:block!important;position:static!important;font-size:11px!important;line-height:1.25!important;padding:3px 2px!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body #inmo-add .photo-item>progress:not([hidden]){display:block!important;width:calc(100% - 6px)!important;height:4px!important;margin:0 3px 4px!important;accent-color:#28626a}
/* M11: same geometry for the search container, secondary links slightly lower. */
html body #imbk-home .imbk-hero-controls>.imbk-operation-shortcuts282{width:min(100%,318px)!important;height:30px!important;align-items:start!important;transform:translateY(7px)!important}
html body #imbk-home .imbk-hero-controls>.imbk-operation-shortcuts282>a{height:27px!important;min-height:27px!important}
