:root{color-scheme:light;--navy:#10243a;--navy-2:#18344f;--ink:#1c2b3a;--muted:#708090;--line:#e3e9ef;--surface:#fff;--canvas:#f4f7fa;--blue:#2768b2;--blue-2:#eaf2fc;--teal:#0a8f87;--green:#2c8a63;--orange:#bd7719;--red:#b94a4a;--shadow:0 16px 40px rgba(16,36,58,.12);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:var(--navy);color:#e9f1f8;display:flex;flex-direction:column;z-index:20;overflow:hidden}.brand{height:76px;display:flex;align-items:center;gap:11px;padding:0 22px;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.09);flex:none}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#daf4ef;color:#087d77;font-size:21px;font-weight:850}.brand-text{display:flex;align-items:baseline;gap:7px;letter-spacing:.05em}.brand-text strong{font-size:17px}.brand-text small{font-size:10px;letter-spacing:.16em;color:#a9c2d7;font-weight:700}.company-switcher{cursor:pointer;margin:15px 12px 8px;padding:11px;border:1px solid rgba(255,255,255,.14);border-radius:11px;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.055)}.company-avatar,.user-avatar{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:#d7e9f5;color:var(--navy);font-weight:800}.company-copy{min-width:0;display:grid;gap:3px;flex:1}.company-copy small{font-size:9px;letter-spacing:.1em;color:#a4bacd}.company-copy strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chevron{color:#90a1b0}.main-nav{overflow:auto;padding:4px 10px 16px;scrollbar-width:thin;scrollbar-color:#36536b transparent}.nav-label{margin:18px 10px 7px;color:#8099ad;font-size:9px;letter-spacing:.15em;font-weight:800}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:36px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:#d4e0e9;text-align:left;font-size:12px;margin:2px 0}.nav-item:hover{background:rgba(255,255,255,.075);color:#fff}.nav-item.active{background:#244866;color:#fff;box-shadow:inset 3px 0 #61c5b5}.nav-icon{width:18px;text-align:center;font-size:15px;color:#9eb7c9}.nav-item.active .nav-icon{color:#79d5c5}.nav-tag{margin-left:auto;border-radius:5px;background:rgba(255,255,255,.11);padding:3px 5px;font-size:8px;color:#bbd0df;letter-spacing:.05em}.sidebar-footer{display:flex;align-items:center;gap:8px;padding:13px 17px;border-top:1px solid rgba(255,255,255,.1);font-size:10px;color:#abc0d1;flex:none}.status-dot{width:7px;height:7px;background:#f0ba56;border-radius:50%;box-shadow:0 0 0 3px rgba(240,186,86,.15)}.main-area{margin-left:260px;min-height:100vh}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:10}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#8794a0;font-size:12px}.breadcrumbs b{color:#c0c9d1;font-weight:500}.breadcrumbs strong{color:#293b4a;font-weight:650}.top-actions{display:flex;align-items:center;gap:12px}.environment-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #f0ddbd;background:#fff8ec;color:#8c601d;border-radius:20px;font-size:9px;letter-spacing:.08em;font-weight:800}.environment-pill i{width:6px;height:6px;background:#d69937;border-radius:50%}.icon-button,.mobile-menu{height:32px;width:32px;border-radius:9px;border:1px solid var(--line);background:#fff;color:#647688;font-weight:700}.user-button{display:flex;align-items:center;gap:8px;background:#fff;border:0;color:#596b7b;font-size:11px}.user-avatar{width:28px;height:28px;background:#eef3f7;font-size:11px}.mobile-menu{display:none}.page-content{max-width:1440px;margin:0 auto;padding:30px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:9px;letter-spacing:.15em;font-weight:800;color:var(--teal)}h1{font-size:27px;letter-spacing:-.035em;margin:6px 0 7px;color:#182b3d}h2{font-size:19px;letter-spacing:-.025em;margin:0;color:#1b2d3e}h3{font-size:14px;margin:0;color:#23384a}.subtitle{color:var(--muted);font-size:13px;line-height:1.55;max-width:760px;margin:0}.button{border:1px solid transparent;border-radius:8px;padding:10px 14px;font-weight:700;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.15s ease}.button-primary{background:var(--blue);color:#fff;box-shadow:0 3px 8px rgba(39,104,178,.15)}.button-primary:hover{background:#1f5897}.button-secondary{background:#fff;border-color:var(--line);color:#526477}.button-secondary:hover{background:#f5f8fa}.hero{border-radius:16px;background:linear-gradient(115deg,#e9f4f5 0%,#edf3fa 55%,#f5f7fb 100%);border:1px solid #dfe9ee;padding:29px 31px;display:grid;grid-template-columns:1.45fr .8fr;gap:25px;align-items:center;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:260px;height:260px;right:18%;top:-170px;border:1px solid rgba(25,112,131,.1);border-radius:50%;box-shadow:0 0 0 30px rgba(25,112,131,.025),0 0 0 65px rgba(25,112,131,.02)}.hero-copy,.hero-progress{position:relative;z-index:1}.hero h1{font-size:30px;max-width:610px;line-height:1.16;margin:9px 0 12px}.hero p{color:#5f7282;max-width:630px;line-height:1.6;margin:0 0 18px;font-size:13px}.hero-progress{background:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.85);padding:17px 18px;border-radius:12px;box-shadow:0 8px 25px rgba(35,65,90,.06)}.progress-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.progress-top small{font-size:10px;color:#718394}.progress-top strong{font-size:11px;color:#34495c}.progress-bar{height:6px;background:#e4ebef;border-radius:9px;overflow:hidden}.progress-bar span{display:block;width:12%;height:100%;background:var(--teal);border-radius:9px}.hero-progress p{font-size:10px;line-height:1.5;margin:10px 0 0;color:#718394}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 13px}.section-head h2{font-size:15px}.section-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.setup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.setup-card,.module-card,.panel,.integration-card{border:1px solid var(--line);border-radius:12px;background:#fff}.setup-card{padding:16px;display:flex;gap:12px;min-height:126px}.step-number{width:27px;height:27px;border-radius:8px;background:#f0f4f7;color:#536d80;display:grid;place-items:center;font-size:11px;font-weight:800;flex:none}.step-number.done{background:#e4f3ee;color:#287d62}.setup-card h3{font-size:12px;margin:2px 0 6px}.setup-card p{margin:0;color:#788896;font-size:10px;line-height:1.5}.setup-card button{margin-top:10px;padding:0;border:0;background:none;color:var(--blue);font-size:10px;font-weight:750}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.module-card{padding:15px;text-align:left;color:inherit;transition:.15s ease;min-height:110px}.module-card:hover{border-color:#b7cad9;transform:translateY(-1px);box-shadow:0 6px 16px rgba(21,47,71,.055)}.module-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.module-symbol{width:29px;height:29px;border-radius:9px;background:#eef4f9;color:#2a6295;display:grid;place-items:center;font-size:14px;font-weight:700}.status-pill{font-size:8px;letter-spacing:.06em;padding:4px 6px;border-radius:20px;background:#f3f5f7;color:#7d8b96;font-weight:800}.module-card h3{font-size:11px;margin-bottom:4px}.module-card p{margin:0;color:#7c8994;font-size:9px;line-height:1.45}.notice{border-radius:10px;padding:11px 13px;font-size:11px;line-height:1.5}.notice-warn{background:#fff8ed;border:1px solid #f0dfc2;color:#795c2c}.notice-info{background:#eff6fc;border:1px solid #dbe9f5;color:#536e87}.notice strong{font-weight:800}.page-header-actions{display:flex;align-items:center;gap:9px}.empty-panel{background:#fff;border:1px dashed #cbd6df;border-radius:13px;padding:54px 24px;text-align:center;max-width:780px;margin:30px auto}.empty-icon{width:48px;height:48px;border-radius:14px;background:#eef4f8;color:#64829b;margin:0 auto 15px;display:grid;place-items:center;font-size:20px}.empty-panel h2{font-size:17px;margin-bottom:8px}.empty-panel p{max-width:480px;margin:0 auto 16px;color:#788795;font-size:12px;line-height:1.65}.panel{padding:18px}.integration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:17px 0}.integration-card{padding:16px}.integration-card .module-symbol{margin-bottom:12px}.integration-card h3{margin-bottom:6px}.integration-card p{color:#7b8995;line-height:1.5;font-size:10px;margin:0 0 12px}.integration-card button{font-size:10px;padding:8px 10px}.table-wrap{overflow-x:auto}.simple-table{border-collapse:collapse;width:100%;font-size:11px}.simple-table th{text-align:left;color:#778796;font-size:9px;letter-spacing:.08em;text-transform:uppercase;padding:11px;border-bottom:1px solid var(--line)}.simple-table td{padding:12px 11px;border-bottom:1px solid #eef1f4;color:#596b79}.draft-label{display:inline-flex;background:#f1f4f6;color:#637787;border-radius:20px;padding:4px 7px;font-size:9px;font-weight:700}.dialog{width:min(580px,calc(100% - 28px));max-height:calc(100% - 28px);padding:0;border:0;border-radius:15px;box-shadow:var(--shadow);color:var(--ink)}.dialog::backdrop{background:rgba(11,27,43,.43);backdrop-filter:blur(2px)}.dialog-card{padding:24px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.dialog-head h2{margin-top:6px}.close-button{border:0;background:#f2f5f7;border-radius:8px;width:30px;height:30px;color:#637585;font-size:20px;line-height:1}.dialog-intro{color:#758390;line-height:1.55;font-size:11px;margin:0 0 17px}.dialog-card label{display:grid;gap:6px;font-weight:700;color:#415568;font-size:10px;margin:12px 0}.dialog-card input,.dialog-card select,.dialog-card textarea{width:100%;border:1px solid #dce4ea;border-radius:8px;padding:10px 11px;background:#fff;color:#253b4e;outline:0}.dialog-card input:focus,.dialog-card select:focus,.dialog-card textarea:focus{border-color:#6d9fc8;box-shadow:0 0 0 3px rgba(39,104,178,.1)}.dialog-card textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:19px}.compact-dialog{max-width:420px}.setup-dialog{max-width:690px}.setup-dialog .dialog-card{max-height:calc(100vh - 30px);overflow-y:auto}.wizard-progress{display:flex;align-items:center;gap:7px;margin:18px 0 20px}.wizard-progress>i{height:1px;background:#dce4ea;flex:1;min-width:8px}.wizard-step{display:flex;align-items:center;gap:6px;color:#8795a1;font-size:9px;white-space:nowrap}.wizard-step b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#eef2f5;color:#748594;font-size:10px}.wizard-step.active{color:#245d91;font-weight:800}.wizard-step.active b{background:#286cae;color:#fff}.wizard-step.complete{color:#257b64}.wizard-step.complete b{background:#e2f2ed;color:#257b64}.wizard-panel{min-height:260px}.wizard-panel h3{font-size:14px;margin:4px 0 5px}.wizard-help{font-size:10px;line-height:1.5;color:#7a8996;margin:0 0 14px}.role-options{border:1px solid #e2e8ed;border-radius:9px;padding:10px 12px 12px;margin:12px 0}.role-options legend{font-size:10px;font-weight:750;color:#43586a;padding:0 5px}.dialog-card .check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}.dialog-card .check-grid label{display:flex;align-items:center;gap:7px;margin:0;color:#5d6e7c;font-size:10px;font-weight:500}.check-grid input{width:14px;height:14px;margin:0;accent-color:#2768b2;flex:none}.wizard-footer{display:flex;align-items:center;gap:8px;border-top:1px solid #edf1f4;padding-top:14px;margin-top:17px}.wizard-footer-spacer{flex:1}.wizard-footer button:disabled{opacity:.45;cursor:not-allowed}.setup-summary{border:1px solid #e3e9ee;border-radius:10px;overflow:hidden;margin:12px 0 15px}.setup-summary dl{margin:0}.setup-summary dl>div{display:grid;grid-template-columns:155px 1fr;gap:12px;padding:9px 11px;border-bottom:1px solid #edf1f4}.setup-summary dl>div:last-child{border-bottom:0}.setup-summary dt{color:#788895;font-size:9px;font-weight:700}.setup-summary dd{margin:0;color:#354c5e;font-size:10px;overflow-wrap:anywhere}.wizard-progress .wizard-step[data-wizard-tab]{cursor:pointer}.company-switcher:focus-visible{outline:2px solid #80d2c3;outline-offset:2px}.muted{color:#7a8995;font-size:11px;line-height:1.55}.connector-badge{display:flex;align-items:center;gap:8px}.connector-badge .status-dot{background:#c39a51}.draft-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border-bottom:1px solid #edf1f4}.draft-item:last-child{border-bottom:0}.draft-item strong{display:block;font-size:11px}.draft-item small{color:#7d8b97;font-size:9px}.link-button{border:0;background:none;color:var(--blue);font-size:10px;font-weight:700}.search-box{width:min(220px,25vw);position:relative}.search-box input{width:100%;border:1px solid var(--line);background:#f8fafb;border-radius:8px;padding:8px 10px 8px 29px;font-size:10px;outline:0}.search-box:before{content:"⌕";position:absolute;left:10px;top:5px;color:#8595a2;font-size:16px}.toast{position:fixed;right:24px;bottom:22px;background:#173a53;color:#fff;border-radius:9px;padding:11px 15px;box-shadow:var(--shadow);font-size:11px;z-index:50;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}.hidden{display:none!important}@media(max-width:1120px){.sidebar{width:232px}.main-area{margin-left:232px}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-content{padding:24px}.topbar{padding:0 22px}}@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .22s ease;width:270px;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.main-area{margin-left:0}.topbar{height:60px;padding:0 16px;gap:10px}.mobile-menu{display:block;flex:none}.breadcrumbs{margin-right:auto}.environment-pill{font-size:8px;padding:6px 7px}.user-button>span:not(.user-avatar),.user-button>.chevron{display:none}.page-content{padding:20px 16px}.hero{grid-template-columns:1fr;padding:22px}.hero h1{font-size:25px}.hero-progress{max-width:360px}.setup-grid{grid-template-columns:1fr 1fr}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-grid{grid-template-columns:1fr 1fr}.page-heading{margin-bottom:17px}.search-box{display:none}}@media(max-width:520px){.wizard-progress{gap:3px}.wizard-step{gap:3px;font-size:7px}.wizard-step b{width:19px;height:19px}.wizard-progress>i{min-width:4px}.dialog-card .check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-summary dl>div{grid-template-columns:110px 1fr;gap:8px;padding:8px}.top-actions{gap:6px}.environment-pill{letter-spacing:.02em}.icon-button{display:none}.page-content{padding:17px 12px}.hero{padding:19px;border-radius:13px}.hero h1{font-size:23px}.setup-grid{grid-template-columns:1fr}.setup-card{min-height:0}.module-grid{grid-template-columns:1fr 1fr;gap:8px}.module-card{padding:12px;min-height:108px}.module-card p{font-size:9px}.integration-grid{grid-template-columns:1fr}.page-heading{display:block}.page-header-actions{margin-top:14px}.form-row{grid-template-columns:1fr;gap:0}.dialog-card{padding:18px}.dialog-actions .button{padding:9px 10px}.breadcrumbs{font-size:10px}.hero-progress{padding:13px}.environment-pill{font-size:7px}.user-avatar{width:26px;height:26px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* Facturation électronique — écran de préparation NEGOCE */
.einv-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.einv-stat{background:var(--surface,#fff);border:1px solid var(--line,#e4e9ef);border-radius:14px;padding:16px;min-width:0}.einv-stat span,.einv-stat small{display:block;color:var(--muted,#68788c);font-size:12px}.einv-stat strong{display:block;margin:8px 0 4px;font-size:19px;color:var(--ink,#10243a);overflow-wrap:anywhere}.einv-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:14px;margin:14px 0}.einv-setup form{padding:0 18px 18px}.einv-setup form>label,.einv-setup .form-row label{display:block;margin-bottom:12px}.einv-setup input,.einv-setup select{width:100%;margin-top:6px}.einv-form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.einv-steps{list-style:none;padding:0 18px 8px;margin:0}.einv-steps li{display:flex;gap:11px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line,#e4e9ef)}.einv-steps li>span{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#eaf1ff;color:#2457ad;font-weight:700}.einv-steps strong,.einv-steps small{display:block}.einv-steps small{margin-top:3px;color:var(--muted,#68788c);line-height:1.45}.einv-official-link{margin:0 18px 18px}.einv-activity{margin-top:14px}.einv-tabs{display:flex;gap:6px;padding:0 18px 12px;border-bottom:1px solid var(--line,#e4e9ef);overflow:auto}.einv-tabs button{border:0;background:transparent;color:var(--muted,#68788c);padding:10px 13px;white-space:nowrap;border-radius:9px;cursor:pointer}.einv-tabs button.active{background:#eaf1ff;color:#2457ad;font-weight:700}.einv-empty{text-align:center;padding:28px 18px}.einv-empty h3{margin:8px 0}.einv-empty p{max-width:620px;margin:0 auto 12px;color:var(--muted,#68788c);line-height:1.55}.einv-lifecycle{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid var(--line,#e4e9ef);font-size:12px;color:var(--muted,#68788c)}.einv-lifecycle b{color:var(--ink,#10243a)}.einv-calendar a{font-weight:700;color:inherit}@media(max-width:850px){.einv-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.einv-columns{grid-template-columns:1fr}}@media(max-width:520px){.einv-summary{gap:8px}.einv-stat{padding:12px}.einv-stat strong{font-size:16px}.einv-form-actions{align-items:flex-start;flex-direction:column}.einv-lifecycle{gap:6px;padding:12px}}

/* Portail client NEGOCE — gestion des droits et aperçu client */
.portal-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 18px;border-bottom:1px solid var(--line,#e4e9ef);padding-bottom:10px}.portal-tabs button{border:0;border-radius:9px;background:transparent;color:var(--muted,#68788c);padding:10px 14px;cursor:pointer;font-weight:600}.portal-tabs button.active{background:#eaf1ff;color:#2457ad}.portal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.portal-stat{background:#fff;border:1px solid var(--line,#e4e9ef);border-radius:14px;padding:16px}.portal-stat span,.portal-stat small{display:block;color:var(--muted,#68788c);font-size:12px}.portal-stat strong{display:block;color:var(--ink,#10243a);font-size:18px;margin:7px 0 4px}.portal-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.portal-feature{position:relative;min-height:230px;padding:20px}.portal-feature-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf1ff;color:#2457ad;font-size:20px;margin-bottom:13px}.portal-feature h2{margin:8px 0}.portal-feature p{color:var(--muted,#68788c);line-height:1.6;max-width:580px}.portal-permissions{margin-top:14px}.portal-permission-list{padding:0 18px 12px}.portal-permission-list>div{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line,#e4e9ef)}.portal-permission-list strong,.portal-permission-list small{display:block}.portal-permission-list small{color:var(--muted,#68788c);margin-top:3px}.portal-permission-list b{color:#2457ad;background:#eaf1ff;padding:6px 9px;border-radius:8px;font-size:10px}.permission-icon{display:grid;place-items:center;background:#eef4fb;color:#2457ad;border-radius:10px;width:32px;height:32px;font-weight:700}.portal-access-panel{padding-bottom:18px}.portal-access-form{padding:0 18px}.portal-access-form label{display:block;margin:0 0 12px}.portal-access-form input:not([type=checkbox]){display:block;width:100%;margin-top:6px}.portal-rights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;border:1px solid var(--line,#e4e9ef);border-radius:11px;padding:14px;margin:16px 0}.portal-rights legend{font-weight:700;color:var(--ink,#10243a);padding:0 6px}.portal-rights label{display:flex;gap:8px;align-items:flex-start;margin:0;color:var(--ink,#10243a)}.portal-rights input{margin-top:3px;accent-color:#2768b2}.portal-form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.portal-saved{margin:0 18px 16px}.portal-scope-note{display:flex;align-items:flex-start;gap:12px;margin-top:14px}.portal-scope-note p{margin:5px 0 0;color:var(--muted,#68788c);line-height:1.5}.customer-portal-preview{background:white;border:1px solid var(--line,#e4e9ef);border-radius:16px;overflow:hidden;box-shadow:0 16px 36px rgba(16,36,58,.08)}.customer-preview-top{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:14px 20px;background:#fff;border-bottom:1px solid var(--line,#e4e9ef)}.customer-brand{display:flex;align-items:center;gap:10px;min-width:180px}.customer-brand>div{display:grid;gap:2px}.customer-brand small{color:var(--muted,#68788c);font-size:9px;letter-spacing:.12em}.customer-contact{color:var(--muted,#68788c);font-size:11px}.customer-contact span{display:block;color:var(--ink,#10243a);font-weight:650;margin-top:2px}.customer-profile{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650}.customer-preview-subnav{display:flex;gap:7px;padding:0 20px;border-bottom:1px solid var(--line,#e4e9ef);overflow:auto}.customer-preview-subnav button{border:0;border-bottom:2px solid transparent;background:transparent;padding:13px 12px;color:var(--muted,#68788c);white-space:nowrap;cursor:pointer}.customer-preview-subnav button.active{color:#2457ad;border-color:#2768b2;font-weight:700}.customer-preview-body{padding:20px}.preview-demo-banner{border-radius:8px;background:#fff6e7;color:#8a5a16;font-weight:750;font-size:9px;letter-spacing:.07em;padding:9px 11px;margin-bottom:16px}.customer-welcome{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(160px,.6fr);gap:20px;align-items:center;border-radius:14px;padding:22px;background:linear-gradient(115deg,#eff6fb,#e9f3f2)}.customer-welcome h2{margin:7px 0;font-size:21px}.customer-welcome p{color:var(--muted,#68788c);max-width:500px;line-height:1.5}.customer-welcome-art{display:grid;place-items:center;min-height:130px;border-radius:12px;background:linear-gradient(135deg,#d9e9f2,#b8d7d9);color:#1f5362;font-weight:850;letter-spacing:.15em;text-align:center}.customer-home-cards,.customer-doc-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.customer-home-cards article,.customer-doc-columns article{background:#fff;border:1px solid var(--line,#e4e9ef);border-radius:12px;padding:16px}.customer-home-cards strong{display:block;margin:9px 0 5px}.customer-home-cards p,.customer-doc-columns p{color:var(--muted,#68788c);font-size:12px;line-height:1.5}.customer-home-cards .link-button{padding:0}.customer-empty-catalogue .catalogue-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line,#e4e9ef);border-radius:10px;padding:11px 13px;color:#7a8895}.search-hint{margin-left:auto;background:#f2f5f8;border-radius:6px;padding:4px 7px;font-size:10px}.preview-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.preview-products article{display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:1px solid var(--line,#e4e9ef);border-radius:12px;padding:10px}.preview-product-image{height:110px;width:100%;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,#edf1f5,#dfe8ee);color:#8393a1;font-size:9px;font-weight:750;letter-spacing:.1em}.preview-products small{color:#a26818;font-size:8px;font-weight:800;letter-spacing:.08em}.preview-products strong{font-size:12px}.preview-products p{font-size:10px;color:var(--muted,#68788c);margin:0}.preview-products b{font-size:10px;color:#2457ad;margin-top:auto}.customer-docs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.customer-docs-head h2{margin:7px 0 3px}.customer-docs-head p{color:var(--muted,#68788c);margin:0}.customer-doc-columns h3{font-size:14px}.customer-doc-columns .draft-label{font-size:8px}.customer-portal-preview+.notice{margin-top:14px}
@media(max-width:800px){.portal-overview-grid{grid-template-columns:1fr}.portal-stats{grid-template-columns:1fr 1fr}.customer-preview-top{flex-wrap:wrap;gap:10px}.customer-contact{display:none}}
@media(max-width:520px){.portal-stats{grid-template-columns:1fr}.portal-permission-list>div{grid-template-columns:34px minmax(0,1fr)}.portal-permission-list b{grid-column:2}.portal-rights{grid-template-columns:1fr}.portal-form-actions{align-items:flex-start;flex-direction:column}.customer-preview-body{padding:12px}.customer-preview-top{padding:11px 12px}.customer-profile span:last-child{display:none}.customer-welcome{grid-template-columns:1fr;padding:16px}.customer-welcome-art{min-height:74px}.customer-home-cards,.customer-doc-columns{grid-template-columns:1fr}.preview-products{grid-template-columns:1fr}.preview-product-image{height:90px}}

/* Profils et droits NEGOCE */
.access-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.access-summary article{background:#fff;border:1px solid var(--line,#e4e9ef);border-radius:14px;padding:16px}.access-summary span,.access-summary small{display:block;color:var(--muted,#68788c);font-size:12px}.access-summary strong{display:block;margin:7px 0 4px;color:var(--ink,#10243a);font-size:17px;overflow-wrap:anywhere}.access-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.access-overview-card{padding:20px;min-height:235px}.access-overview-card h2{margin:9px 0}.access-overview-card p{max-width:600px;color:var(--muted,#68788c);line-height:1.55}.access-policy{margin-top:14px}.access-policy-row{display:flex;align-items:center;gap:11px;flex-wrap:wrap;padding:0 18px 18px}.access-policy-row>div{display:grid;gap:3px}.access-policy-row small{color:var(--muted,#68788c)}.policy-step{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#eaf1ff;color:#2457ad;font-weight:800}.policy-arrow{color:#97a8b8;font-size:18px;margin:0 4px}.access-source-panel{padding-bottom:18px}.access-source-form{padding:0 18px}.access-source-form label{display:block;margin-bottom:12px}.access-source-form input:not([type=checkbox]),.access-source-form select{display:block;width:100%;margin-top:6px}.access-domains{border:1px solid var(--line,#e4e9ef);border-radius:11px;padding:13px 15px;margin:14px 0}.access-domains legend{font-weight:700;padding:0 6px}.access-domains>div{display:flex;gap:12px 20px;flex-wrap:wrap}.access-domains label{display:flex;align-items:center;gap:6px;margin:0}.access-source-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.access-rule-note{margin-top:14px}.access-rule-note h2{font-size:16px}.access-rule-note li{margin:7px 0;color:var(--muted,#68788c)}.access-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:0 18px 18px}.access-role-grid article{border:1px solid var(--line,#e4e9ef);border-radius:12px;padding:13px;display:grid;justify-items:start;gap:7px}.access-role-grid p{margin:0;min-height:36px;color:var(--muted,#68788c);font-size:11px;line-height:1.45}.access-role-grid .status-pill{font-size:8px}.role-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#eaf1ff;color:#2457ad;font-weight:800}.access-module-matrix{margin-top:14px}.access-module-matrix .simple-table th,.access-module-matrix .simple-table td{white-space:normal;line-height:1.45}
@media(max-width:800px){.access-overview-grid{grid-template-columns:1fr}.access-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-summary{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.access-summary{grid-template-columns:1fr}.access-role-grid{grid-template-columns:1fr}.access-source-actions{align-items:flex-start;flex-direction:column}.access-policy-row{align-items:flex-start}.access-policy-row .policy-arrow{display:none}}
