
body.hidom-live:where(:not(.cdc,.pjc)){background:#f6f4ef!important;color:#302c26!important;--bg:#f6f4ef;--bg-card:#fff;--bg-card-hover:#fff9ee;--text:#302c26;--text-light:#716a60;--text-bold:#282623;--border:rgba(113,96,69,.18);--orange:#F29100}
.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) h1,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) h2,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) h3,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .item-title,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .dash-card-title,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .folder-title,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .project-title,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .doc-name,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .file-name,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .devis-num,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .inst-card-client,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .folder-doc-name,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .folder-ticket-subject,.hidom-live:where(:not(.fi,.ci,.pi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.rpc,.ofc,.fxi,.mli,.cdc,.pji,.pjs,.pjc,.dvi)) .modal-title{color:#302c26!important}
.hidom-live .app-bar{background:#fff!important;border-color:#e7e0d5!important}.hidom-live .app-bar__link{color:#675d50!important}.hidom-live .app-bar__link.active{color:#975800!important;background:#fcf1df!important;border-radius:10px}.hidom-live .app-bar__plus-menu{background:#fff!important;color:#302c26}.hidom-live .app-bar__plus-menu a{color:#514638!important}
.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .dash-card,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .project-card,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .doc-card,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .folder-header,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .folder-doc-card,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .item-card,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .inst-card,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .devis-item,.hidom-live:where(:not(.fi,.pji,.pjs,.pjc,.dvi,.dvci)) .profile-card{background:#fff!important;border-color:#e6e0d6!important;box-shadow:0 5px 18px #51463808;border-radius:16px}
.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .empty-state,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .stat-label,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .project-desc,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .folder-desc,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .devis-client,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .doc-meta-item,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .project-meta-item,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .file-meta,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .inst-card-meta,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .folder-doc-meta,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .folder-ticket-date,.hidom-live:where(:not(.fi,.ci,.cgi,.ani,.pji,.pjs,.pjc,.dvi,.dvci)) .folder-ticket-msgs{color:#716a60!important}
.hidom-live:where(:not(.cgi,.pjs)) .filter-btn,.hidom-live:where(:not(.cgi,.pjs)) .col-title{color:#675d50!important}.hidom-live:where(:not(.cgi)) .filter-btn.active{color:#975800!important;background:#fcf1df!important}.hidom-live input:not([type=checkbox]):not([type=radio]),.hidom-live select,.hidom-live textarea{color:#302c26;background-color:#fff;border-color:#ddd4c6}.hidom-live input::placeholder,.hidom-live textarea::placeholder{color:#81796d}.hidom-live button,.hidom-live a{touch-action:manipulation}.hidom-live :focus-visible{outline:2px solid #b16a00;outline-offset:3px}
.hidom-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.hidom-summary-card{padding:1.5rem;background:white;border:1px solid #e6e0d6;border-radius:18px}.hidom-summary-card h2{font-size:1.2rem}.hidom-summary-card p{margin:1rem 0;color:#716a60}.hidom-summary-card a{margin-right:.5rem;margin-top:.5rem}
@media(max-width:640px){.hidom-summary-grid{grid-template-columns:1fr}.hidom-live .tab-bar{overflow:auto}.hidom-live .tab-btn{flex-shrink:0;min-height:44px}}
@media print{body.hidom-live:where(:not(.cdc,.pjc)){background:white!important;color:black!important}.hidom-live .app-bar{display:none}.hidom-summary-card{break-inside:avoid;print-color-adjust:exact}*{transition:none!important;animation:none!important}}

.hidom-live:not(.mi) .mail-container{position:relative}
.hidom-live:not(.mi) .mail-detail.open{position:fixed!important;inset:60px 0 0!important;width:100%!important;min-width:0!important;max-width:none!important;z-index:100;background:#fff!important;transform:none!important}
.hidom-live:not(.mi) .mail-detail{transition:none!important}
.hidom-live:not(.mi) .mail-detail__body{background:#fff!important}
.hidom-live:not(.mi) .mail-detail__date,.hidom-live:not(.mi) .mail-detail__from-email,.hidom-live:not(.mi) .mail-detail__to{color:#716452!important;font-size:13px}
.hidom-live:not(.mi) .mail-detail__close{min-width:44px;min-height:44px;color:#514638!important}
@media(max-width:640px){.hidom-live:not(.mi) .mail-detail.open{bottom:var(--hd-nav-offset,74px)!important}}
@media(min-width:1100px){.hidom-live[data-ui-role="admin"]:not(.mi) .mail-detail.open{left:220px!important;width:calc(100% - 220px)!important}}

.hidom-live:where(:not(.fi)) .profile-meta,.hidom-live:where(:not(.fi)) .stat-lbl,.hidom-live:where(:not(.fi)) .item-sub,.hidom-live:where(:not(.fi)) .item-date,.hidom-live:where(:not(.fi)) .tab-btn,.hidom-live:where(:not(.fi)) .btn-action-secondary,.hidom-live:where(:not(.fi)) .app-bar__plus-btn{color:#716452!important;font-size:13px!important}.hidom-live:where(:not(.fi)) .tab-btn.active,.hidom-live:where(:not(.fi)) .btn-action-primary,.hidom-live:where(:not(.fi)) .btn-access-menu{color:#955900!important}.hidom-live .tab-bar{flex-wrap:wrap;height:auto}.hidom-live .tab-btn{min-height:44px}
@media(min-width:1100px){body.hidom-live{padding-left:220px}.hidom-live .app-bar{position:fixed;inset:0 auto 0 0;width:220px;height:100dvh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:24px 16px;gap:20px;border-right:1px solid #e7e0d5}.hidom-live .app-bar__logo:after{content:'HIDOM.';font-weight:700;color:#302c26;font-size:22px;margin-left:10px}.hidom-live .app-bar__logo{display:flex;align-items:center}.hidom-live .app-bar__nav{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;width:100%;overflow:visible}.hidom-live .app-bar__link{display:block;padding:12px;border-radius:10px;white-space:normal}.hidom-live .app-bar__plus-menu{position:static;box-shadow:none}.hidom-live .app-bar__plus-btn{min-height:44px}.hidom-live .app-bar__right{margin-top:auto;display:flex;flex-wrap:wrap;gap:12px}.hidom-live:where(:not(.fi,.ci,.pi,.gi,.gc,.cpi,.cgi,.ani,.rpi,.rpc,.fxi,.mli,.dvi,.dvci)) main{padding-top:32px!important}}

/* V2 : structure du carnet client, appliquée au dossier réel. */
.hidom-live:where(:not(.cdc,.pjc)){font-family:Outfit,system-ui,sans-serif!important;background:#f4f3ef!important}
.hidom-live:where(:not(.fi)) .acd-page{background:#f4f3ef!important;padding:30px 0 70px!important}.hidom-live .acd-inner{max-width:1200px;padding:0 40px}.hidom-live .acd-back{padding:8px 0 24px;color:#796d5c}.ui-eyebrow{display:block;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#807365;margin-bottom:14px}
.hidom-live:where(:not(.fi)) .profile-card{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;overflow:visible;margin-bottom:30px}.hidom-live .profile-card::before{display:none}.hidom-live .profile-avatar{width:64px;height:64px;background:#fff;border:1px solid #e6e0d7;color:#9a5b0b;border-radius:20px;font-size:22px}.hidom-live .profile-name{font-size:clamp(28px,3vw,42px);font-weight:550;letter-spacing:-1.3px;line-height:1.15;margin-bottom:12px}.hidom-live .profile-sub{color:#78736d!important;font-size:14px;line-height:1.8}.hidom-live .profile-sub span{color:#78736d!important;font-size:13px!important}.hidom-live .profile-stats{display:none}.hidom-live .profile-actions{margin:22px 0 0;padding:0;border:0;display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap}.hidom-live:where(:not(.fi)) .btn-action{min-height:44px;padding:12px 18px!important;border-radius:12px!important;font-size:14px!important}.hidom-live:where(:not(.fi)) .btn-action-primary{background:#F29100!important;color:#282623!important;border:0!important}.hidom-live:where(:not(.fi)) .btn-action-secondary{background:#fff!important;color:#514638!important;border:1px solid #e6e0d7!important}.hidom-live:where(:not(.fi)) .btn-access-menu{background:transparent!important;color:#78736d!important;border:0!important;margin-left:auto}
.hidom-live .tab-bar{background:transparent;padding:0;gap:8px;border:0;margin:0 0 28px;justify-content:flex-start}.hidom-live:where(:not(.fi)) .tab-btn{border:1px solid #e6e0d7;background:#fff;border-radius:100px!important;padding:11px 18px!important;flex:0 0 auto;font-size:14px!important;color:#716a60!important}.hidom-live:where(:not(.fi)) .tab-btn.active{background:#282623!important;color:#fff!important;border-color:#282623}.hidom-live .tab-btn::after{display:none}.hidom-live .tab-count{background:#00000008;color:inherit}.hidom-live .tab-btn.active .tab-count{background:#ffffff20}
.ui-house-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;background:linear-gradient(125deg,#fffefa,#fff5e5);border:1px solid #e6ded0;border-radius:24px;overflow:hidden;box-shadow:0 12px 36px #34220a07;margin-bottom:32px;min-height:340px}.ui-house-copy{padding:36px 0 36px 36px;position:relative;z-index:1}.ui-house-copy h2{font-size:clamp(28px,3vw,42px);line-height:1.13;letter-spacing:-1.2px;font-weight:550;margin:0 0 18px}.ui-house-copy p{max-width:370px;color:#78736d;font-size:15px;line-height:1.65;margin:0 0 24px}.ui-house-hero img{width:100%;height:340px;object-fit:contain;transform:scale(1.12)}.ui-primary{display:inline-flex;gap:24px;align-items:center;min-height:48px;padding:13px 20px;background:#282623;color:#fff;border:0;border-radius:12px;font-size:14px;cursor:pointer}.ui-primary:hover{background:#46392a}.ui-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.ui-section-heading h2{font-size:23px;font-weight:550;letter-spacing:-.5px}.ui-section-heading span{color:#78736d;font-size:13px}.hidom-summary-grid{gap:20px}.hidom-summary-card{border-radius:20px;padding:28px;box-shadow:0 2px 3px #34220a04,0 12px 36px #34220a07;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.ui-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.ui-count{display:grid;place-items:center;min-width:40px;height:40px;border-radius:12px;background:#fcf2e3;color:#9a5b0b;font-size:22px;font-weight:550}.hidom-summary-card h2{font-size:20px;letter-spacing:-.5px;font-weight:550}:where(body:not(.fi)) .hidom-summary-card p{font-size:15px;color:#78736d!important;line-height:1.6;overflow-wrap:anywhere}.ui-text-link{margin-top:auto;color:#9a5b0b;background:none;border:0;padding:8px 0;font-size:14px;cursor:pointer;text-align:left;min-height:44px}
.hidom-live .app-bar{padding-top:28px}.hidom-live .app-bar__link{font-size:14px!important}.hidom-live .app-bar__link:hover{background:#fcf2e3}.hidom-live .app-bar__logo{margin-bottom:20px}
@media(max-width:640px){.hidom-live .acd-inner{padding:0 18px}.hidom-live:where(:not(.fi)) .acd-page{padding-top:84px!important}.hidom-live .profile-top{flex-direction:row;gap:14px}.hidom-live .profile-avatar{width:46px;height:46px;border-radius:15px;font-size:16px}.hidom-live .profile-name{font-size:28px}.hidom-live:where(:not(.fi)) .profile-actions{position:static!important}.hidom-live .btn-access-menu{margin-left:0}.hidom-live .tab-bar{flex-wrap:wrap;overflow:visible}.hidom-live:where(:not(.fi)) .tab-btn{font-size:13px!important;padding:10px 14px!important}.ui-house-hero{grid-template-columns:1fr;min-height:0}.ui-house-copy{padding:26px 24px 0}.ui-house-hero img{height:240px;transform:none}.ui-house-copy h2{font-size:32px}.ui-section-heading{align-items:flex-start;flex-direction:column}.hidom-summary-card{padding:24px}.hidom-summary-grid{grid-template-columns:1fr}}
@media print{.ui-house-hero{background:white;box-shadow:none;break-inside:avoid}.ui-house-hero img{transform:none}.hidom-summary-card{box-shadow:none;break-inside:avoid}.profile-stats{display:flex!important}.ui-primary,.ui-text-link{display:none}}
/* Contrastes des fenêtres et menus du portail clair. */
.hidom-live:where(:not(.fi,.ci)) #access-menu,.hidom-live:where(:not(.fi,.ci)) #pd-global-tip{background:#fffefa!important;color:#302c26!important;border:1px solid #e0d7c9!important;box-shadow:0 12px 36px #34220a20!important}
.hidom-live #access-menu{width:min(340px,calc(100vw - 16px));min-width:0;box-sizing:border-box;padding:8px;border-radius:16px}
.hidom-live:where(:not(.fi,.ci)) .acc-menu-item{display:block;color:#302c26!important;padding:12px;min-height:44px;line-height:1.5;font-size:14px!important}
.hidom-live:where(:not(.fi,.ci)) .acc-menu-sub{display:block;margin-top:3px;font-size:13px!important;color:#716452!important;overflow-wrap:anywhere}
.hidom-live:where(:not(.fi)) .acc-menu-item:hover:not(:disabled){background:#fcf2e3!important;color:#302c26!important}
.hidom-live:where(:not(.fi)) .acc-menu-item:disabled{opacity:1!important;color:#81796d!important;background:#f4f2ed!important}
.hidom-live:where(:not(.fi)) .acc-menu-item:disabled .acc-menu-sub{color:#81796d!important}
.hidom-live:where(:not(.fi)) .acc-menu-sep{height:1px;background:#e6e0d7!important}
.hidom-live:where(:not(.fi,.ci,.gi,.gc,.ani)) .modal-bg{background:rgba(45,41,35,.28)!important;padding:20px;box-sizing:border-box}
.hidom-live:where(:not(.fi,.ci,.ani)) .modal{background:#fffefa!important;color:#302c26!important;border:1px solid #e6e0d7!important;box-shadow:0 18px 60px #34220a24!important;max-height:calc(100dvh - 40px);overflow-y:auto;box-sizing:border-box}
.hidom-live:where(:not(.fi,.ci,.ani)) .modal .modal-title,.hidom-live:where(:not(.fi,.ci,.ani)) .modal .form-label,.hidom-live:where(:not(.fi,.ci,.ani)) .modal .kind-label{color:#302c26!important}
.hidom-live:where(:not(.fi,.ci)) .modal .form-label{font-size:13px!important}
.hidom-live:where(:not(.fi,.ci)) .modal .kind-option{background:#fff!important;border:1px solid #ddd4c6!important}
.hidom-live:where(:not(.fi,.ci)) .modal .kind-option:hover{background:#fff9ef!important}
.hidom-live:where(:not(.fi,.ci)) .modal .kind-option:has(input:checked),.hidom-live:where(:not(.fi,.ci)) .modal .kind-option.is-checked{background:#fcf2e3!important;border-color:#b57820!important;box-shadow:inset 0 0 0 1px #b5782025!important}
.hidom-live:where(:not(.fi,.ci)) .modal .kind-desc{color:#716452!important;font-size:13px!important;line-height:1.5}
.hidom-live:where(:not(.fi,.ci)) .modal .form-input,.hidom-live:where(:not(.fi,.ci)) .modal input:not([type=radio]):not([type=checkbox]),.hidom-live:where(:not(.fi,.ci)) .modal select,.hidom-live:where(:not(.fi,.ci)) .modal textarea{background:#fff!important;color:#302c26!important;border:1px solid #d9d0c2!important}
.hidom-live:where(:not(.fi)) .modal .btn-sm-ghost{background:#fff!important;color:#514638!important;border:1px solid #d9d0c2!important}
@media(max-width:640px){.hidom-live:where(:not(.fi,.ci,.ani)) .modal-bg.open{align-items:center!important}.hidom-live .modal-bg{padding:12px}.hidom-live:where(:not(.fi,.ci,.ani)) .modal{max-height:calc(100dvh - 24px);border-radius:18px!important}.hidom-live .modal .kind-toggle{grid-template-columns:1fr}}
@media print{.hidom-live:where(:not(.fi,.ci,.ani)) .modal{background:white!important;box-shadow:none!important;color:black!important}}

/* Passe de cohérence des pages et composants de travail. */
.hidom-live:where(:not(.ci,.dvi,.dvci)) .page-wrap,.hidom-live:where(:not(.ci,.dvi,.dvci)) .dash-main,.hidom-live:where(:not(.ci,.dvi,.dvci)) .admin-main{background:#f4f3ef!important}.hidom-live:where(:not(.ci,.pji,.dvi,.dvci)) .page-inner{max-width:1240px!important;padding-left:36px!important;padding-right:36px!important}.hidom-live .page-header{margin-bottom:28px;padding-bottom:20px;border-color:#e6e0d7!important}.hidom-live .page-header h1,.hidom-live .planning-header h1{font-size:clamp(28px,3vw,40px);font-weight:550;letter-spacing:-1.2px}.hidom-live .page-header p{color:#78736d!important;font-size:15px}
.hidom-live:where(:not(.ci,.pi)) .form-card,.hidom-live:where(:not(.ci,.pi)) .client-row,.hidom-live:where(:not(.ci,.pi)) .file-card,.hidom-live:where(:not(.ci,.pi)) .ev-card,.hidom-live:where(:not(.ci,.pi)) .day-panel,.hidom-live:where(:not(.ci,.pi)) .stat-card,.hidom-live:where(:not(.ci,.pi)) .nd-success-card,.hidom-live:where(:not(.ci,.pi)):not(.mi) .mail-list,.hidom-live:where(:not(.ci,.pi)):not(.mi) .mail-sidebar{background:#fff!important;border:1px solid #e6e0d7!important;border-radius:18px;box-shadow:0 6px 24px #34220a06}.hidom-live .form-card{padding:28px!important;margin-bottom:22px!important}.hidom-live .form-card-title{font-size:20px!important;color:#302c26!important;font-weight:550}.hidom-live:where(:not(.fi,.ci,.mcc)) .form-label,.hidom-live:where(:not(.fi,.ci,.mcc)) .form-hint{font-size:13px!important;color:#716452!important}.hidom-live .client-row{margin-bottom:10px}.hidom-live:where(:not(.ci)) .client-name,.hidom-live:where(:not(.ci)) .file-card-name,.hidom-live:where(:not(.ci)) .file-card-title,.hidom-live:where(:not(.ci)) .devis-title,.hidom-live:where(:not(.ci)) .form-section-title{color:#302c26!important}.hidom-live .file-card-footer{color:#716452!important}
.hidom-live:where(:not(.fi,.ci,.pi,.cdc)) .addr-suggestions,.hidom-live:where(:not(.fi,.ci,.pi,.cdc)) .client-dropdown,.hidom-live:where(:not(.fi,.ci,.pi,.cdc)) #he-clients-panel,.hidom-live:where(:not(.fi,.ci,.pi,.cdc)) .dropdown-menu{background:#fffefa!important;border-color:#e0d7c9!important;color:#302c26!important;box-shadow:0 12px 28px #34220a20!important}.hidom-live .addr-suggestion,.hidom-live .client-dd-item{color:#302c26!important}.hidom-live .client-dd-sub{color:#716452!important}
.hidom-live #html-editor{background:#f4f3ef!important;color:#302c26!important}.hidom-live #he-code{background:#fffefa!important;color:#302c26!important;border-color:#ded6c9!important}.hidom-live #he-code::placeholder{color:#716452!important}.hidom-live .he-toolbar,.hidom-live .he-header{background:#fff!important;border-color:#e6e0d7!important}.hidom-live .he-toolbar button{color:#514638!important}.hidom-live:not(.mi) .mail-compose,.hidom-live:not(.mi) .mail-compose__body,.hidom-live:not(.mi) .mail-detail,.hidom-live:not(.mi) .mail-detail__header,.hidom-live:not(.mi) .mail-reply{background:#fffefa!important;color:#302c26!important}.hidom-live:not(.mi) .mail-item__subject,.hidom-live:not(.mi) .mail-detail__subject{color:#302c26!important}.hidom-live:not(.mi) .mail-item__from,.hidom-live:not(.mi) .mail-item__date,.hidom-live:not(.mi) .mail-item__preview{color:#716452!important}
.hidom-live:where(:not(.pi)) .cal-grid{border-color:#e6e0d7!important;background:#fff!important;border-radius:16px;overflow:hidden}.hidom-live:where(:not(.pi,.cdc)) .cal-day{border-color:#e6e0d7!important}.hidom-live:where(:not(.pi,.cdc)) .cal-day-header{color:#716452!important;background:#f8f5ee!important}.hidom-live:where(:not(.pi)) .cal-day-num{color:#302c26!important}.hidom-live:where(:not(.ofc,.cdc)) .cal-nav-btn{color:#514638!important;background:#fff!important;border-color:#e6e0d7!important}.hidom-live:where(:not(.pi)) .cal-day.selected{background:#fcf2e3!important}
.hidom-live:where(:not(.fi,.ci,.cmi,.cpi,.cgi,.ani)) .btn-primary,.hidom-live:where(:not(.fi,.ci,.cmi,.cpi,.cgi,.ani)) .btn-submit{background:#f29100!important;color:#282623!important;border-color:#f29100!important;border-radius:12px!important;min-height:44px}.hidom-live:where(:not(.fi,.ci,.cgi,.ani)) .btn-secondary,.hidom-live:where(:not(.fi,.ci,.cgi,.ani)) .btn-ghost,.hidom-live:where(:not(.fi,.ci,.cgi,.ani)) .btn-cancel{background:#fff!important;color:#514638!important;border:1px solid #e6e0d7!important;border-radius:12px!important;min-height:44px}.hidom-live:where(:not(.cgi)) .filter-btn{min-height:40px;border-radius:100px!important}.hidom-live:where(:not(.cgi)) .filter-btn.active{background:#282623!important;color:#fff!important}.hidom-live input,.hidom-live select,.hidom-live textarea{font-size:14px}.hidom-live:where(:not(.dvi,.dvci)) .devis-item{padding:20px!important;margin-bottom:12px!important}.hidom-live:where(:not(.dvi,.dvci)) .devis-amount{color:#975800!important}.hidom-live .devis-meta{font-size:13px!important;color:#716452!important}
.hidom-live .ui-nav-group>summary{display:block;cursor:pointer;padding:12px;border-radius:10px;color:#675d50;font-size:14px;list-style:none}.hidom-live .ui-nav-group>summary::after{content:'⌄';float:right}.hidom-live .ui-nav-group[open]>summary{background:#fcf2e3;color:#975800}.hidom-live .ui-nav-group .app-bar__link{padding-left:24px;font-size:13px!important}.hidom-live .ui-nav-group .app-bar__link.active{background:#fcf2e3!important}
@media(min-width:1100px){body.hidom-live[data-ui-role="client"]{padding-left:0}.hidom-live[data-ui-role="client"] .app-bar{position:sticky;inset:0 auto auto 0;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:auto;min-height:76px;padding:14px 32px;gap:24px}.hidom-live[data-ui-role="client"] .app-bar__nav{flex-direction:row;align-items:center;justify-content:center;gap:6px;width:auto}.hidom-live[data-ui-role="client"] .app-bar__logo{margin:0}.hidom-live[data-ui-role="client"] .app-bar__right{margin:0}}
@media(max-width:640px){.hidom-live:where(:not(.ci,.pji,.dvi,.dvci)) .page-inner{padding-left:16px!important;padding-right:16px!important}.hidom-live .form-card{padding:20px!important}.hidom-live .page-header-row{flex-wrap:wrap;gap:12px}.hidom-live:where(:not(.fi,.ci,.mcc)) .form-grid{grid-template-columns:minmax(0,1fr)!important}.hidom-live:where(:not(.ci,.mcc)) .form-group.full{grid-column:auto!important}.hidom-live .ui-nav-group>summary{min-height:44px}.hidom-live .ui-nav-group .app-bar__link{display:block}.hidom-live:where(:not(.dvi,.dvci)) .devis-item{padding:16px!important}.hidom-live:where(:not(.fi,.ci,.pi,.gi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.mcc,.fxi,.cdc,.pji,.dvi,.dvci)) input:not([type=checkbox]):not([type=radio]),.hidom-live:where(:not(.fi,.ci,.pi,.gi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.mcc,.fxi,.cdc,.pji,.dvi,.dvci)) textarea,.hidom-live:where(:not(.fi,.ci,.pi,.gi,.gc,.cmi,.cpi,.cgi,.ani,.rpi,.mcc,.fxi,.cdc,.pji,.dvi,.dvci)) select{font-size:16px!important}.hidom-live .client-row{min-width:0}.hidom-live:not(.mi) .mail-container{min-width:0}.hidom-live .file-card{min-width:0}}
@media print{.hidom-live .form-card,.hidom-live .file-card,.hidom-live .client-row{box-shadow:none!important;break-inside:avoid;background:white!important;color:black!important}}
/* Défauts relevés pendant la recette. */
.hidom-live{--hd-bg:#f4f3ef;--hd-surface-1:#fff;--hd-surface-2:#fcf2e3;--hd-border:#e6e0d7;--hd-border-strong:#d7cdbc;--hd-text-1:#302c26;--hd-text-2:#716452;--hd-text-3:#81796d;--hd-gold:#9a5b0b;--hd-gold-soft:#9a5b0b}
.hidom-live:where(:not(.ci)) #plus-drawer,.hidom-live:where(:not(.ci)) .hd-sheet{background:#fffefa!important;color:#302c26!important;border:1px solid #e6e0d7!important;max-height:75dvh;overflow:auto;box-shadow:0 -10px 40px #34220a20!important}.hidom-live:where(:not(.ci)) #plus-drawer a,.hidom-live:where(:not(.ci)) #plus-drawer span,.hidom-live:where(:not(.ci)) .hd-sheet__item{color:#302c26!important}.hidom-live #plus-drawer a{background:#fff!important;border-color:#e6e0d7!important}.hidom-live #plus-drawer-overlay{background:#302c2640!important}.hidom-live:where(:not(.ci)) .client-meta,.hidom-live:where(:not(.ci)) .client-meta span{color:#716452!important;font-size:13px!important}.hidom-live:where(:not(.ci)) .client-avatar,.hidom-live:where(:not(.ci)) .code-parrain-badge,.hidom-live:where(:not(.ci)) .kind-badge.is-prospect{color:#9a5b0b!important}
.hidom-live:where(:not(.ci,.mcc)) .btn-opt-add,.hidom-live:where(:not(.ci,.mcc)) .btn-save,.hidom-live:where(:not(.ci,.mcc)) .btn-edit.btn-devis,.hidom-live:where(:not(.ci,.mcc)) .page-header .btn,.hidom-live:where(:not(.ci,.mcc)) .page-header a,.hidom-live:where(:not(.ci,.mcc)) .form-label a,.hidom-live:where(:not(.ci,.mcc)) .total-ttc{color:#9a5b0b!important}.hidom-live:where(:not(.mcc)) .btn-save{background:#fcf2e3!important;border-color:#d3ad70!important}.hidom-live .btn-opt-add{background:#fff9ef!important;border-color:#e6d2b0!important}.hidom-live .page-header .btn-primary{color:#282623!important}
@media(max-width:640px){.hidom-live .app-bar__nav{display:none!important}.hidom-live .mob-nav__more{background:#fffefa!important;color:#514638!important;border:1px solid #e0d7c9!important}}
.hidom-live:where(:not(.pi)) .planning-wrap{background:#f4f3ef!important}.hidom-live .cal-day.passe,.hidom-live .cal-day.passe:hover{opacity:.75}.hidom-live .cal-day.weekend{opacity:.65}.hidom-live:where(:not(.pi)) .cal-day-num{font-size:13px!important}.hidom-live .btn-quick{color:#9a5b0b!important;background:#fff5e6!important;border-color:#dcbf91!important;min-height:44px}.hidom-live:where(:not(.pi)) #modal-overlay>div{background:#302c2640!important}.hidom-live:where(:not(.pi)) #modal-overlay>div>div{background:#fffefa!important;border:1px solid #e6e0d7!important;box-shadow:0 16px 48px #34220a20!important}.hidom-live:where(:not(.pi)) #modal-overlay .modal-label{color:#514638!important;font-size:13px!important}.hidom-live:where(:not(.pi)) #modal-overlay div[style*="color:"],.hidom-live:where(:not(.pi)) #modal-overlay label{color:#514638!important}.hidom-live:where(:not(.pi)) #client-results{background:#fffefa!important;border-color:#e6e0d7!important}.hidom-live .nc-modal{background:#fffefa!important;border-color:#e6e0d7!important}.hidom-live .nc-form-label,.hidom-live .nc-modal-title{color:#302c26!important}.hidom-live .nc-form-label{font-size:13px!important}

@media(max-width:640px){.hidom-live:where(:not(.pi)) #modal-overlay div:has(>div>#rdv-date){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.hidom-live #modal-overlay div:has(>#rdv-date){grid-column:1/-1}.hidom-live #modal-overlay div:has(>input){min-width:0}.hidom-live #modal-overlay input{width:100%;min-width:0;box-sizing:border-box}}

.hidom-live .btn-nouveau{color:#9a5b0b!important;background:#fff5e6!important;border:1px solid #e1ccaa!important}.hidom-live:where(:not(.gi,.gc)) .msg-filter-btn,.hidom-live:where(:not(.gi,.gc)) .msg-client-name,.hidom-live:where(:not(.gi,.gc)) .msg-client-chevron,.hidom-live:where(:not(.gi,.gc)) .msg-section-label,.hidom-live:where(:not(.gi,.gc)) .msg-empty-list{color:#716452!important;font-size:13px!important}.hidom-live:where(:not(.gi)) .msg-filter-btn.active{background:#282623!important;color:#fff!important}.hidom-live:where(:not(.fi,.ci,.pi,.gi,.gc,.ani,.pji,.pjc)) span[style*="color:rgba(45,41,35"]{color:#716452!important}.hidom-live .project-card span[style*="font-size:11px"]{color:#716452!important;font-size:13px!important}

/* Direct admin navigation on desktop; the existing mobile menu is retained. */
@media(min-width:1100px){
.hidom-live[data-ui-role="admin"] .app-bar{box-sizing:border-box;gap:12px}
.hidom-live[data-ui-role="admin"] .app-bar__logo{margin-bottom:6px;flex-shrink:0}
.hidom-live[data-ui-role="admin"] .app-bar__nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;gap:4px;padding:4px;box-sizing:border-box}
.hidom-live[data-ui-role="admin"] .app-bar__nav .app-bar__link{padding:9px 12px;min-height:40px;box-sizing:border-box;flex-shrink:0}
.hidom-live[data-ui-role="admin"] .app-bar__plus,.hidom-live[data-ui-role="admin"] .app-bar__plus-menu{display:contents!important}
.hidom-live[data-ui-role="admin"] .app-bar__plus-btn{display:none!important}
.hidom-live[data-ui-role="admin"] .app-bar__right{flex-shrink:0}
}

/* Relief et hiérarchie du poste de travail. */
body.hidom-live[data-ui-role="admin"]{background:#eeeae2!important}
.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pi,.dvi)) .page-wrap,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pi,.dvi)) .admin-wrap,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pi,.dvi)) .acd-page,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pi,.dvi)) .planning-wrap,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pi,.dvi)) .dash-main,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pi,.dvi)) .admin-main{background:transparent!important}
.hidom-live[data-ui-role="admin"] .app-bar{background:#faf8f3!important;border-color:#d8cfbf!important}
.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pji)) .dash-card,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pji)) .form-card,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pji)) .project-card,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pji)) .client-row,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pji)) .file-card,.hidom-live[data-ui-role="admin"]:where(:not(.fi,.ci,.pji)) .hidom-summary-card{box-shadow:0 2px 3px #34220a06,0 10px 28px #34220a0a;border-color:#dfd5c6!important}
.hidom-live .admin-header{background:linear-gradient(115deg,#292721,#433729)!important;border:1px solid #504332;border-radius:24px;padding:30px!important;gap:24px;box-shadow:0 12px 30px #34220a18;margin-bottom:24px}
.hidom-live .admin-header h1{color:#fff9ef!important;font-size:clamp(28px,3vw,42px);letter-spacing:-1px}
.hidom-live .admin-header .admin-badge{color:#ffc56c!important;background:#ffffff09!important;border-color:#ffffff20!important}
.hidom-live .ui-today-intro{color:#ded4c5!important;font-size:15px;line-height:1.6;margin:12px 0 0;max-width:440px}
.hidom-live .admin-header .quick-actions{gap:10px;max-width:400px;flex-wrap:wrap}
.hidom-live .admin-header .btn-quick{background:#fff9ef!important;border-color:#fff9ef!important;color:#483723!important}
.hidom-live .admin-header .btn-quick:first-child{background:#f29100!important;border-color:#f29100!important;color:#282623!important}
.hidom-live .search-global-input{background:#fffdfa!important;border:1px solid #d5c9b8!important;box-shadow:0 4px 12px #34220a08}
.hidom-live .search-global-wrap>svg{stroke:#80705d!important}
.hidom-live .widget-header{border-bottom-color:#e5ddcf!important}
.ui-client-create{display:none}
.hidom-client-create .page-wrap{display:none!important}
.hidom-live:where(:not(.ci)).hidom-client-create .ui-client-create{display:block;padding:30px 32px 90px!important;box-sizing:border-box}
.ui-create-content{max-width:1280px;margin:auto}
.ui-create-heading{margin-bottom:24px}
.ui-create-heading>a{display:inline-block;color:#75552a;margin-bottom:22px;min-height:24px}
.ui-create-heading h1{font-size:clamp(30px,3vw,42px);letter-spacing:-1px;margin:0 0 10px}
.ui-create-heading p{color:#716452;margin:0;line-height:1.6}
.ui-create-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.ui-create-side{display:grid;gap:20px;min-width:0}
.hidom-live .ui-create-card{background:#fffefa;border:1px solid #dfd5c6;border-radius:20px;padding:24px;min-width:0;box-shadow:0 2px 3px #34220a06,0 10px 28px #34220a0a}
.hidom-live .ui-create-profile{background:#f9f1e3}
.ui-create-card h2{font-size:21px;margin:0 0 16px;font-weight:600}
.ui-create-card>p{font-size:14px;color:#716452;line-height:1.5;margin:-6px 0 22px}
.ui-create-card .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ui-create-card .form-group{min-width:0;margin-bottom:0}
.ui-create-card .form-group.full{grid-column:1/-1}
.ui-create-card .form-group+.form-group.full{margin-top:12px}
.hidom-live:where(:not(.ci)) .ui-create-card .form-label{color:#514638!important;font-size:13px!important;margin-bottom:7px;display:block}
.hidom-live:where(:not(.ci)) .ui-create-card .form-input{width:100%;box-sizing:border-box;min-width:0;min-height:44px;background:white!important;border:1px solid #d7cdbd!important;border-radius:10px;color:#302c26!important}
.hidom-live:where(:not(.ci)) .ui-create-card .kind-option{background:#fffefa!important;border:1px solid #d7cdbd!important;border-radius:12px;padding:14px;min-width:0}
.hidom-live:where(:not(.ci)) .ui-create-card .kind-option:has(input:checked),.hidom-live:where(:not(.ci)) .ui-create-card .kind-option.is-checked{background:#fff0d6!important;border-color:#af6c0a!important;box-shadow:inset 0 0 0 1px #af6c0a}
.hidom-live:where(:not(.ci)) .ui-create-card .kind-label{color:#302c26!important;font-size:14px}
.hidom-live:where(:not(.ci)) .ui-create-card .kind-desc{color:#716452!important;font-size:13px;line-height:1.4}
.hidom-live .ui-create-card .btn-gen{color:#80500b;background:#fff4df;border-color:#dbc7a7}
.hidom-live .ui-client-create .modal-actions{position:sticky;bottom:16px;display:flex;justify-content:flex-end;gap:12px;padding:14px 18px;background:#faf8f3f5;border:1px solid #ded4c5;border-radius:16px;box-shadow:0 6px 24px #34220a12;z-index:5;margin-top:24px}
@media(max-width:900px){.ui-create-columns{grid-template-columns:minmax(0,1fr)}.hidom-live .admin-header{align-items:flex-start;flex-direction:column}.hidom-live .admin-header .quick-actions{max-width:none}}
@media(max-width:640px){.hidom-live:where(:not(.ci)).hidom-client-create .ui-client-create{padding:85px 16px 110px!important}.hidom-live .ui-create-card{padding:20px}.ui-create-card .kind-toggle{grid-template-columns:1fr 1fr}.hidom-live .ui-client-create .modal-actions{bottom:78px;flex-direction:row}.hidom-live .ui-client-create .modal-actions>button{flex:1;width:auto;min-width:0}.hidom-live .admin-header{padding:22px!important;border-radius:20px}.hidom-live .admin-header .quick-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}}
@media print{body.hidom-live[data-ui-role="admin"],.hidom-live .admin-header,.hidom-live .ui-create-card{background:white!important;color:black!important;box-shadow:none!important;break-inside:avoid}.hidom-live .admin-header h1,.hidom-live .ui-today-intro{color:black!important}.ui-client-create .modal-actions{display:none!important}}
.hidom-live .admin-wrap .stat-card{background:#faf5eb!important;border-color:#e2d5bf!important;box-shadow:none}
.hidom-live .admin-wrap .stat-value{color:#995b09!important}
.hidom-live .admin-wrap .dash-card-action{color:#80500b!important;font-size:13px!important}
.hidom-live .admin-wrap .eisenhower-grid>div[style*="color:rgba(45,41,35"],.hidom-live .admin-wrap .eisen-task>div>div,.hidom-live .admin-wrap .eisen-task>a>div{color:#716452!important;font-size:13px!important}
.hidom-live .admin-wrap .eisen-task>div>div:first-child>span:nth-child(2),.hidom-live .admin-wrap .eisen-task>a>div:first-child>span:nth-child(2){color:#302c26!important}
.hidom-live .admin-wrap .eisen-task>button:first-child{border-color:#aa9580!important}

/* Barre de navigation claire : contrôles du pied lisibles et panneaux visibles. */
.hidom-live .app-bar__online,
.hidom-live .app-bar__notif,
.hidom-live .app-bar__settings,
.hidom-live .app-bar__logout {
    color:#514638!important;
    border-color:#d8cfbf!important;
    background:#fffefa!important;
}
.hidom-live .app-bar__online {font-size:13px}
.hidom-live .app-bar__online:hover,
.hidom-live .app-bar__notif:hover,
.hidom-live .app-bar__settings:hover,
.hidom-live .app-bar__logout:hover,
.hidom-live .app-bar__settings.active {
    color:#302c26!important;
    border-color:#c9b99f!important;
    background:#f5ecd9!important;
}
@media(min-width:1100px){
    .hidom-live[data-ui-role="admin"] .online-panel {
        position:fixed;left:232px;right:auto;top:auto;bottom:64px;
        max-height:calc(100dvh - 96px);overflow-y:auto;
    }
    .hidom-live[data-ui-role="admin"] .notif-panel {
        position:fixed;left:232px;right:auto;top:auto;bottom:20px;
        max-height:calc(100dvh - 40px);
    }
}

/* Fenêtres associées à la navigation claire. */
.hidom-live .online-panel,
.hidom-live .notif-panel {
    background:#fffefa!important;
    color:#302c26!important;
    border:1px solid #d8cfbf!important;
    box-shadow:0 12px 32px #34220a24!important;
}
.hidom-live .online-panel__title,
.hidom-live .notif-panel-title {
    color:#716452!important;
    border-color:#e6e0d7!important;
}
.hidom-live .online-panel__item,
.hidom-live .notif-msg {color:#302c26!important}
.hidom-live .online-panel__empty,
.hidom-live .notif-time {color:#716452!important}
.hidom-live .notif-read-all {color:#9a5b00!important}
.hidom-live .notif-close {color:#716452!important}
.hidom-live .notif-panel-header,
.hidom-live .notif-item {border-color:#e6e0d7!important}
.hidom-live .online-panel__item:hover,
.hidom-live .notif-item:hover {background:#f5ecd9!important}
