/* Preserve existing branding and cards; keep navigation and controls usable. */
.cv-back-duplicate-v1{display:none!important}
.cv-page-navigation-v1{display:flex!important;align-items:center;gap:8px;box-sizing:border-box;min-width:0;margin:0 0 12px;position:sticky;top:50px;z-index:14;background:var(--bg,#090b07);padding:4px 0}
.cv-page-navigation-v1>button{box-sizing:border-box!important;min-height:44px!important;height:auto!important;min-width:88px;max-width:100%;margin:0!important;padding:8px 12px!important;white-space:normal!important;overflow-wrap:anywhere}
.screen.cv-entretien-subpage-open-v77>.cv-page-navigation-v1,.screen.cv-budget-subpage-open-v78>.cv-page-navigation-v1,.screen.cv-sale-subpage-open-v83>.cv-page-navigation-v1{display:flex!important}
#view{scroll-padding-top:112px;scroll-padding-bottom:16px}
.content>.cv-page-navigation-v1{background:#f7f8f5;top:76px;z-index:15}
@media(max-width:899px){
 .content>.cv-page-navigation-v1{top:var(--cv-space-header-height,68px)}
 .content,.main,.head,.acts,.space-form,.space-menu{min-width:0}
 .head{gap:12px;flex-wrap:wrap}
 .head>div:first-child{min-width:0;flex:1 1 180px}
 .content .btn{max-width:100%;height:auto;white-space:normal;overflow-wrap:anywhere}
 .space-menu .btn{justify-content:flex-start;text-align:left}
 .mtop{gap:8px;min-width:0}
 .mtop>.catpill{min-width:0;white-space:normal;overflow-wrap:anywhere}
 .mnav a{min-width:0;min-height:48px;overflow-wrap:anywhere;text-align:center}
 .mnav a span{max-width:100%;line-height:1.15}
 input:not([type=checkbox]):not([type=radio]),select,textarea{min-width:0;max-width:100%;font-size:16px}
 .screen .row>div{min-width:0}
 .screen button:not(.navbtn){max-width:100%}
 .screen .muted,.content p{overflow-wrap:anywhere}
}
@media(max-height:480px) and (max-width:950px){
 body:has(>.phone){padding:0;min-height:0;height:100dvh}
 body>.phone{width:100%;height:100dvh;max-height:100dvh;display:flex;flex-direction:column;border-radius:0}
 body>.phone>.view{min-height:0;flex:1 1 auto;overflow:auto}
 body>.phone>nav{flex:0 0 auto;position:relative;bottom:auto;padding-bottom:max(6px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.screen{animation:none}}

#view>.screen>.persistent-brand-bar+.cv-page-navigation-v1{margin-top:0!important}

.su-main>.cv-page-navigation-v1{background:#f7f8f5;top:0}

@media(max-width:899px){.su-main .card input:not([type=checkbox]):not([type=radio]),.content .card input:not([type=checkbox]):not([type=radio]),.su-main .card select,.content .card select,.su-main .card textarea,.content .card textarea{font-size:16px!important}}
