/* Thislith Aura — grenat profond, ivoire et beige pierre. */
html body{--or:#681c32;--or-clair:#dfc6ca;--or-fonce:#54212f;--creme:#f5f0e9;--creme-fonce:#e5dbce;--blanc:#fffdfa;--texte:#382b30;--texte-doux:#7b6b65;--bord:#e5dbce;--ink:#681c32;--ombre:0 12px 35px -24px #54212f40;--ombre-or:0 7px 20px #681c3220;background:#f5f0e9!important;color:#382b30!important}
body:not(.aura-admin) [data-admin],body:not(.aura-admin) .admin-only{display:none!important}
html body .sidebar{background:#fffdfa!important;border-color:#e5dbce!important}.sidebar-logo{background:#fffdfa!important;border-color:#e5dbce!important}html body .sidebar-logo h1{color:#681c32!important}.aura-monogram{color:#681c32;border-color:#b5969a}.aura-monogram>span{color:#967769}html body .sidebar-logo p{color:#967769!important}.aura-edition{color:#967769;border-color:#e5dbce}.aura-side-pay,html body .btn-or,.aura-top-pay{background:#681c32!important;color:#fffaf3!important;border-color:#681c32!important;box-shadow:none!important}.aura-side-pay span{color:#ead8d2}.aura-side-pay:hover,.btn-or:hover,.aura-top-pay:hover{background:#54212f!important}.aura-top-pay{font-size:12px;padding-inline:20px}
html body .nav-item{color:#786963!important}html body .nav-item:hover{background:#f5eae7!important;color:#681c32!important}html body .nav-item.actif{background:#f3e5e5!important;color:#681c32!important}html body .nav-section{color:#9c8376!important;padding-top:12px!important}.sidebar-user,html body .sidebar-user{background:#f5f0e9!important}html body .sidebar-user .name{color:#54212f!important}html body .sidebar-user .role{color:#7b6b65!important}html body .sidebar-user-avatar{background:#e4d6ca!important;color:#681c32!important}.sidebar-user::after{border-color:#967769!important}.sidebar-nav{overflow-y:auto;padding-bottom:14px}
.aura-nav-more{border:0;border-top:1px solid #eee5dc;background:transparent;padding:0;margin:10px 12px 0;border-radius:0}.aura-nav-more summary{padding:13px 8px;font:600 11px 'Montserrat',sans-serif;color:#8a746c;letter-spacing:.02em;display:flex;justify-content:space-between;cursor:pointer;list-style:none}.aura-nav-more summary::after{content:'+';font-size:16px;color:#967769}.aura-nav-more[open] summary::after{content:'−'}.aura-nav-more .nav-item{margin-left:0!important;margin-right:0!important;font-size:11px!important}.aura-nav-more:has(> .nav-item:only-child[style*="display: none"]){display:none}
.topbar{background:#fffdfa!important;border-color:#e5dbce!important}.tb-crumb{color:#967769!important}.tb-crumb b{color:#54212f!important}.aura-top-label,.aura-top-label b{color:#967769!important}.aura-top-label b{background:#f3e5e5!important;color:#681c32!important}.tb-search{background:#f5f0e9!important;border-color:#e5dbce!important;color:#8a746c!important}.tb-search kbd{background:#eaddd2!important;color:#8a746c!important}
html body .hm-intro h1,.aura-section-line h2,.hm-h,html body .page-header h2{color:#54212f!important}.hm-intro{border-color:#e5dbce!important}.hm-eyebrow{color:#9b786a!important}.hm-pulse{color:#8a746c!important}.hm-pulse b{color:#681c32!important}.aura-welcome-note{color:#b49b8b}.aura-welcome-note span{color:#967769}.hm-rev,html body .hm-rev{background:#fffdfa!important;border-color:#e5dbce!important}.hm-rev>div:first-child{background:#f0e6db!important;border-color:#e5dbce!important}.hm-lbl{color:#8a746c!important}.hm-big,.hm-split b{color:#681c32!important}.hm-split>div+div{border-color:#e5dbce!important}.aura-workflow{background:#fffdfa;border-color:#e5dbce;color:#54212f;border-radius:14px}.aura-workflow .aura-step{color:#967769}.aura-workflow>span:nth-of-type(2){color:#8a746c}.aura-workflow i{border-color:#eee5dc;color:#681c32}.aura-workflow-pay{background:#681c32!important;color:#fffaf3!important;border-color:#681c32!important}.aura-workflow-pay .aura-step{color:#ead8d2}.aura-workflow-pay>span:nth-of-type(2){color:#e0c8cc}.aura-workflow-pay i{color:#f2e5dc;border-color:#ffffff30}.aura-workflow:hover{box-shadow:0 12px 24px #681c3210}
html body .card,html body .stat-card,.article-card,.analytics-card{background:#fffdfa!important;border-color:#e5dbce!important;box-shadow:none!important}.card-titre,.stat-card .val,.article-card h3{color:#54212f!important}.stat-card .lbl{color:#8a746c!important}.article-card-body .prix{color:#681c32!important}.article-card-footer{border-color:#e5dbce!important}.hm-tile{background:#fffdfa!important;border-color:#e5dbce!important;color:#67524e!important}.hm-tile i{background:#f2e5dc!important;color:#916970!important}.aura-tools{margin-top:28px;padding:0 20px;border:1px solid #e5dbce;border-radius:14px;background:#faf6f0}.aura-tools>summary{padding:18px 0;font:600 12px 'Montserrat',sans-serif;color:#8a746c;cursor:pointer;display:flex;justify-content:space-between}.aura-tools>summary::after{content:'+'}.aura-tools[open]>summary::after{content:'−'}.aura-tools .hm-h{font-size:22px}.aura-tools .hm-tiles{margin-bottom:20px}
.btn-outline{border-color:#cfbfb4!important;color:#7c565e!important;background:transparent!important}html body table thead th{background:#f0e6db!important;color:#806b63!important}html body table tbody td{color:#56433f}tbody tr:hover{background:#faf4ed!important}.tabs{background:#efe5da!important}.tab{color:#8a746c!important}.tab.active{background:#fffdfa!important;color:#681c32!important}.search-bar input,.search-bar select,.form-group input,.form-group select,.form-group textarea{background:#f9f5ef!important;color:#382b30!important;border-color:#e5dbce!important}.modal,.modal-overlay>.modal{background:#fffdfa!important;border-color:#e5dbce!important}.modal-close{color:#8a746c!important;background:#f0e6db!important}
.pos-dialog{background:#f5f0e9!important}.pos-head{background:#681c32!important;color:#fffaf3!important}.pos-head small{color:#ead8d2!important}.pos-panel{background:#fffdfa!important;border-color:#e5dbce!important}.pos-panel h3{color:#54212f}.pos-panel input,.pos-panel select{background:#f9f5ef!important;color:#382b30!important;border-color:#dfd0c5!important}.pos-total{background:#681c32!important;color:#fffaf3!important}.pos-total strong{color:#fffaf3!important}.pos-total b{color:#f0ded6}.pos-scan{background:#f5ece6!important;border-color:#cfb5b3!important}#pos-results{background:#fffdfa!important;border-color:#dfd0c5!important}.pos-match-count{color:#967769}.pos-row{border-color:#e5dbce!important}.pos-change.pos-error{font:500 13px/1.6 'Montserrat',sans-serif;margin:12px 0}.pos-line{border-color:#e5dbce}.pos-line-state{color:#8a6b5a}.pos-help,.pos-panel label,.pos-empty{color:#8a746c!important}.aura-ticket-card{background:#fffdfa!important;color:#54212f}.aura-ticket-card>small{color:#967769}.aura-ticket-change{background:#f1e6dd;color:#681c32}.pos-history{background:#f5ece6!important}
.st-panel{background:#fffdfa!important;border-color:#e5dbce!important;--st-color:#681c32!important}.st-panel.st-rentals{--st-color:#967266!important}.st-panel header{border-color:#e5dbce!important}.st-panel header p,.st-note{color:#8a746c}.st-kpi{background:#f6efe7}.st-kpi>span,.st-kpi small{color:#8a746c}.st-filters select,.st-filters input{background:#f9f5ef;color:#54212f;border-color:#dfd0c5}.st-range b,.st-panel h4,.st-method h3{color:#54212f}.st-range small,.st-method p{color:#8a746c}.st-chart{border-color:#e5dbce}.st-bar-track{background:#f7f0e8}.st-number,.st-rank-track{background:#efe1d6}.st-insight{background:#f5ece6;color:#67524e}
html body .mobile-tab-bar{background:#fffdfa!important;border-color:#e5dbce!important;box-shadow:0 8px 26px #681c3220!important}.mobile-tab-btn{color:#9d8376!important}.mobile-tab-btn.active{color:#681c32!important}.mobile-tab-btn.aura-mobile-pay{background:#681c32!important;color:#fffaf3!important;border-radius:14px!important;margin:5px!important;min-height:46px!important}.mobile-tab-btn.aura-mobile-pay .tab-icon{color:#fffaf3!important}.hamburger-btn{color:#681c32!important}.login-box{background:#fffdfa!important;border-color:#681c32!important}.login-box h1{color:#681c32!important}.login-box input{background:#f5f0e9!important;border-color:#dfd0c5!important;color:#54212f!important}.login-box .btn-login{background:#681c32!important}.fidelite-card{background:linear-gradient(140deg,#681c32,#54212f)!important}.aura-section-line>span{color:#ad9587}
/* Preserve a coherent optional dark mode. */
html body.dark-mode{--creme:#241b1e;--creme-fonce:#4c383f;--blanc:#302329;--texte:#f5e9de;--texte-doux:#c9b0a8;--bord:#4c383f;background:#241b1e!important;color:#f5e9de!important}
body.dark-mode .card,body.dark-mode .st-panel,body.dark-mode .pos-panel,body.dark-mode .pos-dialog,body.dark-mode .aura-ticket-card,body.dark-mode .modal{background:#302329!important;color:#f5e9de!important;border-color:#4c383f!important}body.dark-mode .hm-intro h1,body.dark-mode .page-header h2,body.dark-mode .card-titre,body.dark-mode .st-panel h3,body.dark-mode .st-panel h4,body.dark-mode .aura-section-line h2{color:#ead3cc!important}body.dark-mode .st-kpi,body.dark-mode .st-insight,body.dark-mode .st-filters select,body.dark-mode .st-filters input,body.dark-mode .pos-panel input,body.dark-mode .pos-panel select{background:#3f2d34!important;color:#f5e9de!important;border-color:#5a404a!important}body.dark-mode .st-kpi b{color:#edd9cf!important}
@media(max-width:768px){.aura-workflows{gap:10px}.aura-workflow{min-height:174px}.aura-side-pay{min-height:46px}.aura-nav-more summary{font-size:12px;padding-block:15px}.aura-tools{padding-inline:14px}.pos-head h2{font-size:29px}.aura-ticket-card{padding:24px}.aura-mobile-pay span:last-child{font-weight:700}.aura-admin .aura-nav-more[data-admin]{display:block}}
/* Rare installation action stays in the secondary menu. */
#btn-ai-fab,#btn-install-pwa-fab,#install-desktop-banner{display:none!important}
.pos-mobile-jumps{display:none}.pos-panel{scroll-margin-top:55px}
@media(max-width:768px){.hamburger-btn::before{content:'Thislith Aura'!important}.pos-mobile-jumps{display:flex;gap:8px;position:sticky;top:0;z-index:3;background:#f5f0e9;padding:10px 12px;border-bottom:1px solid #e5dbce}.pos-mobile-jumps button{flex:1;border:1px solid #cfb5b3;border-radius:8px;background:#fffdfa;color:#681c32;padding:12px 8px;font:600 11px 'Montserrat',sans-serif;min-height:42px}.pos-mobile-jumps button:last-child{background:#681c32;color:#fffaf3}}

/* V31 : solde du compte cliente */
.client-balance{border:1px solid #d5c7b5;border-top:3px solid #681c32;border-radius:14px;padding:22px;background:#fbf9f6;margin:18px 0}.client-balance-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.client-balance-title small{font-size:9px;letter-spacing:.1em;color:#796e66}.client-balance h3{font:29px Georgia,serif;color:#681c32;margin:8px 0 18px}.client-balance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.client-balance-grid>div{font-size:11px;color:#796e66}.client-balance-grid strong{display:block;font-size:22px;color:#302b29;margin:9px 0}.client-balance-due strong{color:#681c32}.client-balance p,.client-balance-docs p{font-size:12px;line-height:1.7}.client-balance-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 25px}.client-balance-docs article{border:1px solid #e9e2db;border-radius:10px;padding:16px;margin:12px 0;font-size:12px}.client-balance-docs header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.client-balance-docs small{display:block;margin:8px 0;color:#796e66}.client-balance-docs button{margin:6px 6px 0 0}.client-balance-contact{display:flex;flex-direction:column;gap:7px;font-size:13px;overflow-wrap:anywhere}.client-balance-hint{border-left:3px solid #681c32;background:#f4f0eb;color:#593e42;font-size:12px;padding:12px;margin:12px 0;line-height:1.6}.client-balance-hint[hidden]{display:none}.client-balance-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:600px){.client-balance-grid{grid-template-columns:1fr}.client-balance-grid>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.client-balance-grid strong{font-size:20px}.client-balance{padding:16px}.client-balance-actions .btn{width:100%}}
.client-balance-more{border-top:1px solid #e9e2db;margin-top:24px;padding-top:16px}.client-balance-more summary{cursor:pointer;font-size:12px;font-weight:600;color:#796e66}.client-balance-more .fidelite-carte{margin-top:15px}

[data-balance-client] button{white-space:nowrap}@media(max-width:600px){.client-balance-grid strong{white-space:nowrap;font-size:18px}.client-balance-grid>div{gap:8px}.client-balance-grid>div>strong{flex-shrink:0}#vue-clients table{min-width:0!important;width:100%}#vue-clients table tr>:nth-child(3),#vue-clients table tr>:nth-child(4),#vue-clients table tr>:nth-child(5),#vue-clients table tr>:nth-child(6),#vue-clients table tr>:nth-child(7){display:none}#vue-clients table td,#vue-clients table th{padding:10px 6px!important}#vue-clients [data-balance-client] button{font-size:10px;padding:8px}}

#identity-modal{z-index:10200}#identity-modal label{display:block;font-size:12px;font-weight:600;margin:16px 0 8px}#identity-modal input:not([type=checkbox]),#identity-modal select{width:100%;padding:12px;border:1px solid #d5c7b5;border-radius:8px;font:inherit}#identity-modal [hidden]{display:none!important}#identity-modal p{font-size:12px;line-height:1.7;color:#796e66}#identity-modal .identity-remove{display:flex;align-items:center;gap:10px}#identity-modal .identity-remove input{width:auto}#identity-files{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}#identity-save,#identity-connect{margin-top:15px}.identity-access{border-top:1px solid #d5c7b5;padding:16px 0;font-size:12px;line-height:1.7}.client-balance-contact [data-identity]{align-self:flex-start;margin:8px 0}
