/* CasaXpert — palette and typography from the supplied reference website. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:200 800;font-display:swap;src:url('../fonts/PlusJakartaSans.ttf') format('truetype')}
@font-face{font-family:'Plus Jakarta Sans';font-style:italic;font-weight:200 800;font-display:swap;src:url('../fonts/PlusJakartaSans-Italic.ttf') format('truetype')}
:root{--cx-primary:#0B595C;--cx-secondary:#09A8AA;--cx-accent:#F46734;--cx-accent-dark:#C74917;--cx-cream:#F2F2DF;--cx-mint:#26CDA0;--cx-text:#000;--cx-line:#D6E5E3;--cx-soft:#EAF6F4;--cx-font:'Plus Jakarta Sans',Arial,sans-serif;--ink:#0B595C;--orange:#F46734;--orange-dark:#C74917;--paper:#fff;--soft:#F2F2DF;--line:#D6E5E3;--muted:#516965;--ws-orange:#F46734;--ws-ink:#0B595C;--ws-muted:#516965;--ws-line:#D6E5E3;--ws-bg:#F7F8F2;--admin-ink:#0B595C;--admin-side:#0B595C;--admin-hover:#087577;--admin-active:#F46734;--admin-bg:#F7F8F2;--admin-border:#C8DAD7;--admin-text:#143C3A;--admin-muted:#516965;--admin-link:#0B595C}
html body,html body.tz-workspace,html body.casaxpert-admin,h1,h2,h3,h4,h5,h6,button,input,select,textarea,.ws-group summary,.ws-main-link,.ws-nav-label,.ws-top-title,.btn,.ws-button{font-family:var(--cx-font)}
h1,h2,h3,h4{font-weight:700}.btn,.ws-button{font-weight:600;border-radius:999px;transform:none}.btn:not(.ghost):not(.light):not(.btn-secondary):not(.danger),.ws-button:not(.secondary):not(.danger){background:var(--cx-accent);border-color:var(--cx-accent);color:#fff}.btn:not(.ghost):not(.light):not(.btn-secondary):not(.danger):hover,.ws-button:not(.secondary):not(.danger):hover{background:var(--cx-accent-dark);border-color:var(--cx-accent-dark)}
.btn.ghost,.btn.btn-secondary,.ws-button.secondary{background:#fff;border:1px solid var(--cx-primary);color:var(--cx-primary)}.btn.ghost:hover,.btn.btn-secondary:hover,.ws-button.secondary:hover{background:var(--cx-soft)}
.site-header{background:linear-gradient(90deg,var(--cx-primary),var(--cx-secondary));border:0;color:#fff}.site-header .site-language a,.site-header .site-language span,.site-header .site-language a[aria-current=true]{color:#fff}.site-header nav>a:not(.btn),.site-header .nav-logout{color:#fff}.site-header .brand{display:flex;align-items:center;padding:12px 0}
.cx-platform-logo{display:block;width:200px;max-width:100%;height:auto;object-fit:contain;object-position:center;mix-blend-mode:normal}.brand img.cx-platform-logo{width:200px;height:auto;object-fit:contain;mix-blend-mode:normal}
.site-footer{background:var(--cx-primary);color:#fff}.site-footer .footer-brand img{width:210px;margin-bottom:15px}.site-footer .footer-brand span,.site-footer .footer-bottom{color:#D6EDEA}
.ws-brand{background:linear-gradient(90deg,var(--cx-primary),var(--cx-secondary));border-color:var(--cx-primary)}.ws-brand img.cx-platform-logo{width:200px;height:auto;mix-blend-mode:normal}.ws-brand button{color:#fff}.ws-main-link.active,.ws-submenu a.active,.ws-group summary:hover,.ws-main-link:hover,.ws-submenu a:hover{background:var(--cx-soft);color:var(--cx-primary)}.ws-group[open]>summary{color:var(--cx-primary)}
.ws-welcome{background:var(--cx-cream)}.ws-eyebrow,.tz-eyebrow,.eyebrow{color:var(--cx-primary)}.ws-mini-avatar,.ws-avatar,.ws-stat-icon{background:var(--cx-soft);color:var(--cx-primary)}.ws-stat:hover,.ws-card:hover{border-color:#B6D9D4}.ws-topbar,.ws-sidebar{border-color:var(--cx-line)}
.admin-topbar{background:linear-gradient(90deg,var(--cx-primary),var(--cx-secondary));height:64px}.admin-top-brand{height:64px}.admin-top-brand img.cx-platform-logo{width:172px;height:auto}.admin-shell{min-height:calc(100vh - 64px)}.admin-sidebar{background:var(--cx-primary);color:#D6EDEA;min-height:calc(100vh - 64px)}.admin-sidebar-label{color:#A7DDD9}.admin-topbar a:hover,.admin-nav-link:hover{background:#087577}.admin-nav-link.active{background:var(--cx-accent);color:#fff}.admin-account{color:#fff}
.admin-button,.admin-btn,.button-primary{border-radius:999px}.admin-button.primary,.admin-btn.primary,.button-primary{background:var(--cx-accent);border-color:var(--cx-accent);color:#fff}
.tz-hero-art{background:linear-gradient(135deg,var(--cx-primary),var(--cx-secondary));border-radius:40px;padding:48px 30px}.tz-hero-art img{position:relative;width:90%;height:auto;max-height:160px;object-fit:contain;mix-blend-mode:normal}.tz-hero-art .tz-blob{display:none}.tz-hero h1 em,.hero h1 em{color:var(--cx-secondary)}.tz-hero .tz-float{background:var(--cx-cream);color:var(--cx-primary)}
input:focus,select:focus,textarea:focus{outline-color:var(--cx-secondary)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--cx-secondary);outline-offset:3px}
@media(max-width:850px){.brand img.cx-platform-logo{width:170px}.admin-top-brand img.cx-platform-logo{width:145px}.site-header nav{padding-bottom:12px}.tz-hero-art{min-height:180px;padding:35px 20px}}

/* Stored CMS styles may specify the old typefaces inline. */
body :is(h1,h2,h3,h4,h5,h6,p,a,label,button,input,select,textarea,summary){font-family:var(--cx-font)!important}

img[src*='casaxpert-logo.png']{background:#0B595C;object-fit:contain;mix-blend-mode:normal;padding:12px;border-radius:12px}

.tz-hero-art img{transform:none!important}

.cx-auth-page{min-height:100vh;background:var(--cx-cream,#F2F2DF)}.cx-auth-page .site-header-inner{justify-content:space-between}.cx-auth-page .site-language{margin-left:auto}.cx-auth-page .auth{min-height:calc(100vh - 90px);padding:48px 20px}.cx-auth-page .auth form{width:min(100%,480px);margin:auto}.cx-auth-page main{overflow-wrap:anywhere}

/* Reference: pill buttons 80px; cards 20px / 2px turquoise / no shadow. */
:root{--cx-button-radius:80px;--cx-card-radius:20px;--cx-card-border:2px solid #09A8AA}
body :is(.btn,.ws-button,.admin-button,.admin-btn,.button-primary),body.casaxpert-admin .admin-main .btn{border-radius:var(--cx-button-radius);box-shadow:none;transform:none}
body :is(.ws-card,.ws-stat,.ws-table-card,.ws-filter-card,.ws-import-card,.tz-client-card,.admin-card,.admin-table-wrap),body .client-list article,body.casaxpert-admin .admin-main .admin-card,body.casaxpert-admin .admin-main .admin-table-wrap{border:var(--cx-card-border);border-radius:var(--cx-card-radius);box-shadow:none}
body :is(.ws-stat,.ws-card):hover{border-color:#09A8AA;box-shadow:none}
.cx-section-icon{display:inline-block;width:22px;height:22px;flex:none;vertical-align:middle}
.ws-menu-icon{display:inline-flex;align-items:center;justify-content:center}.ws-stat-icon .cx-section-icon,.ws-actions .cx-section-icon{width:26px;height:26px}.ws-placeholder-icon .cx-section-icon{width:54px;height:54px}
.ws-sidebar nav{padding-top:18px}.ws-sidebar-bottom>a,.ws-sidebar-bottom button{display:flex;align-items:center;gap:9px}
@media(max-width:600px){.ws-topbar{gap:10px}.ws-topbar .ws-top-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-topbar .ws-spacer{display:none}.ws-account-menu{flex:none}.ws-account-menu summary>span:not(.ws-avatar){display:none}.ws-account-menu summary{gap:0}.ws-account-panel{right:0;max-width:calc(100vw - 32px)}}
/* V7: flèche des sous-sections */
.ws-chevron .cx-section-icon{width:16px;height:16px;display:block}
