/* La Ripaille — identité commune v1.0 | styles uniquement, aucun changement métier */
:root{--lr-brand:#174b37;--lr-brand-dark:#123c2d;--lr-brand-light:#287354;--lr-accent:#d5ad40;--lr-bg:#f4f7f5;--lr-surface:#fff;--lr-line:#dce5df;--lr-text:#20352a;--lr-muted:#607268;--lr-radius:12px;--lr-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--lr-shadow:0 2px 8px rgba(25,55,38,.06)}
@media screen{
body{font-family:var(--lr-font)!important;background-color:var(--lr-bg)!important;color:var(--lr-text);line-height:1.5}
button,input,select,textarea{font-family:var(--lr-font)!important}
h1,h2,h3,h4,.brand-header,.page-head h2,.pg-header h2,.sec-title,.section-label,.card-t,.card-title,.pro-modal-title{font-family:var(--lr-font)!important;letter-spacing:normal!important}
h1,h2,h3,h4{font-weight:700}
:where(.card,.admin-card,.admin-toolbar,.kpi,.kpi-card,.pro-modal,.modal,.sheet){border-radius:var(--lr-radius)!important}
:where(.card,.admin-card,.admin-toolbar){border:1px solid var(--lr-line);box-shadow:var(--lr-shadow)}
:where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){border-radius:9px!important;border-color:var(--lr-line)}
:where(button,.btn,.tab,.subtab,.nav-btn,.tab-btn,.wf-btn,.ibtn){border-radius:9px}
:where(button,input,select,textarea):focus-visible{outline:2px solid #2d805c!important;outline-offset:2px}
:where(.btn-primary,.btn-success,.btn-p,.gmao-primary,.admin-add-btn,.pro-btn.primary,.primary,.btn-go){background:var(--lr-brand)!important;color:white!important;border-color:var(--lr-brand)!important}
:where(.btn-primary,.btn-success,.btn-p,.gmao-primary,.admin-add-btn,.pro-btn.primary,.primary,.btn-go):hover{background:var(--lr-brand-light)!important}
:where(table:not(.print-table) th){background:#edf3ef;color:#304b3b;font-family:var(--lr-font);font-weight:650}
:where(.tabs,.subtabs,.nav-tabs){gap:6px;scrollbar-width:thin}
:where(.tab.active,.subtab.active,.tab-btn.active){background:#e3f0e8!important;color:var(--lr-brand)!important;border-color:#b9d7c6!important;font-weight:700}
.lr-password-wrap{display:flex!important;align-items:stretch;gap:6px;min-width:0;width:100%;max-width:100%}.lr-password-wrap>input{flex:1 1 0!important;min-width:0!important;width:0!important;margin:0!important}.lr-password-eye{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;min-width:46px;min-height:40px;padding:6px 9px!important;border:1px solid var(--lr-line)!important;background:#edf3ef!important;color:var(--lr-brand)!important;border-radius:9px!important;font-size:13px!important;font-weight:650!important;white-space:nowrap;cursor:pointer}.lr-password-eye svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lr-account-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#e7f1eb;color:var(--lr-brand);border:1px solid #c1d7c9;border-radius:9px;padding:9px 12px;min-height:40px;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap}.lr-account-action:hover{background:#d9eadf}.lr-account-action[disabled]{opacity:.55;cursor:not-allowed}.lr-account-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.lr-auth-only-note{font-size:11px;color:var(--lr-muted)}
#lr-common-password-dialog{font-family:var(--lr-font)!important;border-radius:16px!important;padding:22px!important;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}#lr-common-password-dialog::backdrop{background:rgba(15,33,25,.55)}#lr-common-password-dialog h2{font-size:20px;color:var(--lr-brand);line-height:1.3;margin:0 0 10px}#lr-common-password-dialog label{font-weight:600;color:var(--lr-text)}
@media(max-width:700px){.lr-account-action{white-space:normal;min-height:42px}.lr-password-eye{min-height:44px}.lr-password-wrap>input{font-size:16px!important}#lr-common-password-dialog{padding:16px!important}#lr-common-password-dialog h2{font-size:18px}:where(.tabs,.subtabs,.nav-tabs){overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}:where(.tab,.subtab,.tab-btn){flex-shrink:0}}
}
@media screen{body{--bg:#f4f7f5;--ink:#20352a;--muted:#607268;--line:#dce5df;--green:#174b37;--r:12px}header{background:var(--lr-brand)!important}.lr-admin-session .lr-avicole-header-password{display:none!important}.lr-userbox{gap:6px}.lr-userbox .lr-logout{white-space:nowrap}.lr-account-group{margin:10px 0}@media(max-width:700px){header{gap:7px!important}.lr-userbox .lr-logout{font-size:11px!important;padding:7px 8px!important}header h1{font-size:14px!important}}}
