/* Keep the approved photo colour independent from the warm reading paper. */
html body:has(#inmo-add.imbk-public-property){
 --imbk-photo-gradient208:linear-gradient(to right,#103e4bc7 0%,#1c6472ad 48%,#4e8c9394 100%);
 --imbk-photo-base208:linear-gradient(#f0f7fa,#f0f7fa);
}
html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207{
 transition:opacity 160ms ease,translate 160ms ease;
}
html body #imbk-home .imbk-agent-contact-bar.imbk-contact-leaving211{opacity:0;translate:0 5px;pointer-events:none}
html body #inmo-add.imbk-public-property .imbk-cover-first211{display:none!important}
html body .imbk-photo-controls181 button.imbk-photo-first211{
 top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);
 width:auto!important;height:40px!important;min-height:40px!important;min-width:100px!important;
 padding:7px 12px!important;border-radius:8px!important;font:400 12px/1.2 Arial,sans-serif!important;
}
@media(pointer:coarse){html body .imbk-photo-controls181 button.imbk-photo-first211{height:44px!important;min-height:44px!important}}
@media(prefers-reduced-motion:reduce){html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207{transition:none!important}}
@media(min-width:768px){
 /* The outer paper forms a narrow cream/yellow frame around the white reading surface. */
 html body #inmo-add.imbk-public-property{background:#fff9e9!important;border-color:#ead9a0!important}
 html body #inmo-add.imbk-public-property>.imbk-full-preview{
  background:#fff!important;border:1px solid #eee4c5;border-radius:9px;
 }
 html body #inmo-add.imbk-public-property .preview-content{background:#fff!important}
 html body #inmo-add.imbk-public-property .imbk-sheet-toolbar202{background:#fff!important}
 html body #inmo-add.imbk-public-property .imbk-operation-status210{background:#fff8e5!important}
 html body #inmo-add.imbk-public-property .imbk-cover-first211{
  display:inline-flex!important;align-items:center;justify-content:center;
  position:absolute;left:12px;bottom:10px;z-index:3;margin:0!important;
  padding:7px 10px!important;background:#103e4bcf!important;color:#fff!important;
  border:1px solid #ffffff80!important;border-radius:7px!important;font:400 12px/1.2 Arial,sans-serif!important;
  cursor:pointer;
 }
 html body #inmo-add.imbk-public-property .imbk-cover-first211[hidden]{display:none!important}
}
@media(max-width:767px){
 /* Only contact colours change on phones; the cover photo keeps its existing layout. */
 html body #inmo-add.imbk-public-property .preview-content .preview-contact,
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207{
  background:var(--imbk-photo-gradient208),var(--imbk-photo-base208)!important;
 }
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207>a:first-child,
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207>a:first-child>strong{color:#fff!important}
}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207{
  min-height:52px!important;padding:6px 12px calc(6px + env(safe-area-inset-bottom))!important;
  gap:10px!important;
 }
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207>a:first-child{gap:10px!important}
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207>a:first-child>strong{font-size:14px!important}
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207:not(.imbk-company-bar195)>a:first-child>img{
  width:36px!important;height:36px!important;max-width:36px!important;
 }
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207.imbk-company-bar195>a:first-child>img{
  width:48px!important;height:34px!important;flex:0 0 48px!important;object-fit:contain!important;
 }
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207>a:not(:first-child){
  width:44px!important;height:40px!important;min-width:44px!important;flex:0 0 44px!important;padding:8px!important;
 }
 html body #imbk-home .imbk-agent-contact-bar.imbk-contact-bound207 .imbk-contact-icon{
  width:24px!important;height:24px!important;max-width:24px!important;
 }
}
