*{margin:0;padding:0;box-sizing:border-box}:root{--erp-background-visual-size: min(88vw, 156.5vh);--tenant-primary-color: #073763;--tenant-secondary-color: #0d63b0;--tenant-accent-color: #ff8a00}body{font-family:Arial,Helvetica,sans-serif;background-color:#dff5fb}.route-loading{min-height:100vh;display:grid;place-items:center;color:#073763;font-weight:700;background-color:#dff5fb}@media(min-width:700px)and (max-width:1400px){button{font-size:13px!important}.dashboard-title-box,.magasin-title-box,.cdf-home-title-box{font-size:22px!important;padding:8px 30px!important}.menu-button,.admin-button,.logout-button{min-width:218px!important;padding:10px 16px!important;gap:10px!important}.dashboard-menu-logo{width:30px!important;height:30px!important}.magasin-row,.cdf-row{grid-template-columns:repeat(3,minmax(145px,1fr))!important;width:min(690px,100%)!important;gap:14px!important}.magasin-section-title,.cdf-section-title{font-size:13px!important;padding:6px!important}.magasin-colonne button,.cdf-colonne button{height:40px!important;min-height:40px!important;padding:6px 8px!important;font-size:12.5px!important;border-radius:8px!important}.historiques-btn,.bilan-btn,.bilan-magasin-btn,.hist-menu-btn,.hist-cdf-btn,.inventaire-magasin-btn,.incidents-magasin-menu-btn,.ccdf-main-btn,.ccdf-save-btn,.ccdf-edit-btn,.ccdf-delete-btn,.cm-btn,.stock-btn,.stock-magasin-btn,.articlesCDF-btn,.articlesMagasin-btn,.btn{min-height:38px!important;padding:8px 14px!important;font-size:13px!important}.vente-calc-pad button,.vente-cdf-calc-pad button,.reception-magasin-calc-pad button,.reception-cdf-calc-pad button,.pcm-pad button,.pcbch-calc-pad button,.calc-pad button{min-height:36px!important;height:36px!important;padding:6px!important;font-size:13px!important}.vente-action-zone button,.vente-cdf-action-zone button,.reception-magasin-action-zone button,.reception-cdf-action-zone button,.pcm-actions button,.pcbch-undo-btn,.pcbch-validate-btn,.pcbch-cancel-prep-btn,.undo-button,.validate-button,.magasin-close-button,.cdf-close-button,.module-close-button{min-width:132px!important;min-height:40px!important;height:40px!important;padding:8px 18px!important;font-size:13px!important}}@media(min-width:700px)and (max-width:900px){.magasin-row,.cdf-row{grid-template-columns:repeat(2,minmax(145px,1fr))!important;width:min(450px,100%)!important;gap:12px!important}}@media(max-height:920px)and (min-width:701px){button{font-size:12.5px!important}.dashboard-title-box,.magasin-title-box,.cdf-home-title-box{font-size:20px!important;padding:7px 24px!important}.menu-button,.admin-button,.logout-button{min-width:208px!important;padding:9px 14px!important;gap:8px!important}.dashboard-menu-logo{width:28px!important;height:28px!important}.magasin-row,.cdf-row{gap:12px!important}.magasin-section-title,.cdf-section-title{min-height:26px!important;padding:5px!important;font-size:12px!important}.magasin-colonne button,.cdf-colonne button{min-height:36px!important;padding:5px 7px!important;font-size:12px!important;border-radius:8px!important}.historiques-btn,.bilan-btn,.bilan-magasin-btn,.hist-menu-btn,.hist-cdf-btn,.inventaire-magasin-btn,.incidents-magasin-menu-btn,.ccdf-main-btn,.ccdf-save-btn,.ccdf-edit-btn,.ccdf-delete-btn,.cm-btn,.stock-btn,.stock-magasin-btn,.articlesCDF-btn,.articlesMagasin-btn,.btn{min-height:34px!important;padding:7px 12px!important;font-size:12.5px!important}.vente-calc-pad button,.vente-cdf-calc-pad button,.reception-magasin-calc-pad button,.reception-cdf-calc-pad button,.pcm-pad button,.pcbch-calc-pad button,.calc-pad button{min-height:32px!important;height:32px!important;padding:4px!important;font-size:12px!important}.vente-action-zone button,.vente-cdf-action-zone button,.reception-magasin-action-zone button,.reception-cdf-action-zone button,.pcm-actions button,.pcbch-undo-btn,.pcbch-validate-btn,.pcbch-cancel-prep-btn,.undo-button,.validate-button,.magasin-close-button,.magasin-page-close-button,.cdf-close-button,.module-close-button{min-width:122px!important;min-height:38px!important;height:38px!important;padding:7px 14px!important;font-size:12.5px!important}}.global-user-space-button{align-items:center;background:#e8f7fff5;border:1px solid #7fa9bc;border-radius:999px;box-shadow:0 4px 12px #0030502e;color:#0d3350;cursor:pointer;display:inline-flex;height:46px;justify-content:center;left:18px;padding:0;position:fixed;top:18px;transition:transform .15s ease,box-shadow .15s ease;width:46px;z-index:3000}.global-user-space-button svg{fill:currentColor;height:22px;width:22px}.global-user-space-button:hover{box-shadow:0 7px 16px #00305040;transform:translateY(-2px)}.global-user-space-button.has-unread{animation:global-user-message-pulse 1.15s ease-in-out infinite;border-color:#1d84d3;color:#06345a}.global-user-space-count{align-items:center;background:#0d63b0;border-radius:999px;box-shadow:0 0 0 3px #0d63b029;color:#fff;display:inline-flex;font-size:11px;font-weight:900;height:20px;justify-content:center;min-width:20px;padding:0 5px;position:absolute;right:-6px;top:-6px}@keyframes global-user-message-pulse{0%,to{background:#e8f7fff5;box-shadow:0 4px 12px #0030502e,0 0 #1981cf00}50%{background:#c2e8fffa;box-shadow:0 7px 18px #0053964d,0 0 22px #1981cf94}}@media(max-width:640px){.global-user-space-button{height:42px;left:12px;top:12px;width:42px}}.tessa-launcher{align-items:center;background:#086b96;border:1px solid #bfe6f5;border-radius:50%;bottom:22px;box-shadow:0 5px 16px #002a4252;color:#fff;cursor:pointer;display:inline-flex;height:48px;justify-content:center;position:fixed;right:20px;width:48px;z-index:3000}.tessa-launcher:hover{background:#075878;transform:translateY(-1px)}.tessa-launcher svg{fill:currentColor;height:23px;width:23px}.tessa-overlay{align-items:flex-end;background:#051b2847;display:flex;inset:0;justify-content:flex-end;padding:18px;position:fixed;z-index:4000}.tessa-panel{background:#f8fcff;border:1px solid #7ca8bd;border-radius:8px;box-shadow:0 18px 46px #00203657;color:#123a52;display:flex;flex-direction:column;height:min(690px,calc(100dvh - 36px));max-width:470px;overflow:hidden;width:100%}.tessa-header{align-items:center;background:#083f5c;border-bottom:3px solid #20a3d3;color:#fff;display:flex;justify-content:space-between;min-height:82px;padding:12px 16px;position:relative}.tessa-header:before{background:#20a3d3;border-radius:50%;content:"";height:72px;opacity:.18;position:absolute;right:48px;top:-34px;width:72px}.tessa-identity{align-items:center;display:flex;gap:11px;min-width:0;position:relative;z-index:1}.tessa-identity img{border:2px solid #bfe6f5;border-radius:50%;box-shadow:0 3px 10px #0000003d;height:54px;object-fit:cover;object-position:50% 24%;width:54px}.tessa-identity div{display:grid;gap:2px}.tessa-header strong{font-size:21px}.tessa-header span{color:#d8eff8;font-size:12px}.tessa-header button{background:#ffffff1f;border:1px solid rgba(191,230,245,.72);border-radius:50%;color:#fff;cursor:pointer;font-size:22px;height:34px;position:relative;width:34px;z-index:1}.tessa-header button:hover{background:#ffffff3d}.tessa-conversation{display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:16px}.tessa-welcome{color:#476a7d;line-height:1.5;margin:0}.tessa-message{border-radius:7px;line-height:1.45;max-width:92%;padding:10px 12px;white-space:pre-wrap}.tessa-message p{margin:0}.tessa-message small{color:#496879;display:block;font-size:11px;margin-top:8px}.tessa-message.question{align-self:flex-end;background:#d8eff8;border:1px solid #a8d3e3}.tessa-message.answer{background:#fff;border:1px solid #c9dce4}.tessa-message.repeat{background:#fff8df;border:1px solid #d6bc62}.tessa-message.error{background:#ffe6e2;border:1px solid #d99087;color:#8a2920}.tessa-repeat-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.tessa-repeat-actions button{background:#fff;border:1px solid #b99d41;border-radius:5px;color:#654d0a;cursor:pointer;font:inherit;font-weight:700;min-height:32px;padding:0 10px}.tessa-repeat-actions button:disabled{cursor:default;opacity:.6}.tessa-form{border-top:1px solid #c8dce5;padding:12px}.tessa-form textarea{border:1px solid #82afc3;border-radius:6px;box-sizing:border-box;color:#123a52;font:inherit;min-height:78px;padding:9px;resize:vertical;width:100%}.tessa-form>div{align-items:center;display:flex;justify-content:space-between;margin-top:10px}.tessa-manage,.tessa-send{border-radius:6px;cursor:pointer;font-weight:800;min-height:36px;padding:0 12px}.tessa-manage{background:#eef7fb;border:1px solid #7ca8bd;color:#123a52}.tessa-send{background:#147aa5;border:1px solid #0c6187;color:#fff}.tessa-send:disabled{cursor:not-allowed;opacity:.55}@media(max-width:640px){.tessa-launcher{bottom:14px;right:12px}.tessa-overlay{padding:0}.tessa-panel{border-radius:0;height:100dvh;max-width:none}}
