/* Assistente de navegação, isolado dos estilos dos formulários da aplicação. */
.cm-prumo {font-family:system-ui,sans-serif;font-size:16px;line-height:1.45}
.cm-prumo-toggle {position:fixed;right:1rem;bottom:1rem;z-index:65;display:flex;align-items:center;gap:.5rem;border:2px solid #e2680c;border-radius:999px;background:#0e2b49;color:#fff;padding:.25rem .85rem .25rem .25rem;box-shadow:0 8px 24px #0e2b4940;cursor:pointer;font:600 14px system-ui}
.cm-prumo-toggle img {width:44px;height:44px;object-fit:contain;border-radius:50%}
.cm-prumo-panel {position:fixed;z-index:66;right:1rem;bottom:5.5rem;width:min(390px,calc(100vw - 2rem));height:min(590px,calc(100dvh - 7rem));background:white;color:#0e2b49;display:flex;flex-direction:column;overflow:hidden;border:1px solid #d5dce3;border-radius:20px;box-shadow:0 16px 45px #0e2b4945}
.cm-prumo-panel[hidden], .cm-prumo-response [hidden] {display:none!important}
.cm-prumo-header {display:flex;align-items:center;gap:.65rem;background:#0e2b49;color:white;padding:.7rem .9rem;border-bottom:3px solid #e2680c}
.cm-prumo-header img {width:42px;height:42px;object-fit:contain}.cm-prumo-header h2 {font:700 1.1rem system-ui;color:white;margin:0}.cm-prumo-header p {font-size:.8rem;color:#d0dce7;margin:.15rem 0 0}.cm-prumo-header button {margin-left:auto;background:transparent;color:white;border:0;font-size:1.7rem;min-width:44px;min-height:44px;cursor:pointer}
.cm-prumo-body {flex:1;overflow:auto;background:#f6f4ef;padding:1rem}.cm-prumo-intro {margin:0 0 .8rem}.cm-prumo-chips {display:flex;flex-wrap:wrap;gap:.4rem}.cm-prumo-chips button {background:white;color:#793900;border:1px solid #dfb48d;border-radius:999px;padding:.5rem .7rem;font:600 .85rem system-ui;cursor:pointer;line-height:1.3}.cm-prumo-response {margin-top:1rem}.cm-prumo-response>div {background:white;border-radius:12px;padding:.85rem;box-shadow:0 1px 6px #0e2b4915}.cm-prumo-response p {margin:.5rem 0}.cm-prumo-response a {color:#9b4200;text-decoration:underline;font-weight:600}.cm-prumo-privacy {font-size:.8rem;color:#52677b;margin:1rem 0 0}
.cm-prumo-form {display:flex;gap:.5rem;padding:.7rem;border-top:1px solid #d9e0e5;background:white}.cm-prumo-form input {min-width:0;flex:1;border:1px solid #a9bac7;border-radius:999px;padding:.65rem .9rem;font:inherit}.cm-prumo-form button {border:0;border-radius:999px;background:#e2680c;color:#111;padding:.65rem .9rem;font-weight:700;cursor:pointer}.cm-prumo-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cm-prumo button:focus-visible,.cm-prumo input:focus-visible,.cm-prumo a:focus-visible {outline:3px solid #e2680c;outline-offset:3px}
@media(max-width:480px){.cm-prumo-toggle span {display:none}.cm-prumo-toggle {padding:.25rem}.cm-prumo-panel {right:.5rem;bottom:4.8rem;width:calc(100vw - 1rem);height:min(570px,calc(100dvh - 6rem))}}
@media print {.cm-prumo {display:none!important}}

/* A barra de contacto existe apenas na ficha pública do imóvel. */
@media(max-width:760px){body:has(.imo-mobile-contact) .cm-prumo-toggle{bottom:5.5rem}body:has(.imo-mobile-contact) .cm-prumo-panel{bottom:10rem;height:min(590px,calc(100dvh - 11rem))}}
