.enterprise-page{--ent-ink:#203b50;--ent-teal:#147d73;--ent-line:#e0e8ed;--ent-muted:#687b8d;max-width:1680px!important;padding-bottom:24px}.ent-header{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:8px 0 28px}.ent-heading{display:flex;gap:16px;align-items:center}.ent-heading h1{font-size:clamp(24px,2.4vw,36px);margin:5px 0 8px;letter-spacing:-.035em}.ent-heading p:last-child{margin:0;color:var(--ent-muted);font-size:14px}.ent-symbol{display:grid;place-items:center;flex:0 0 56px;height:56px;background:#e1f1ec;color:#19675c;border-radius:16px}.ent-symbol svg{width:28px;height:28px}.ent-tabs{display:flex;gap:3px;border-bottom:1px solid var(--ent-line);overflow-x:auto;margin-bottom:30px;padding-bottom:0;scrollbar-width:thin}.ent-tabs button{flex-shrink:0;background:none;border:0;border-bottom:3px solid transparent;padding:14px 13px;color:#687b8d;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.ent-tabs button.active{color:#145e56;border-color:#147d73}.ent-tabs button:hover{background:#edf5f2}.ent-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.ent-section-head h2{font-size:24px;letter-spacing:-.025em;margin:5px 0}.ent-section-head .eyebrow,.ent-heading .eyebrow{font-size:10px;letter-spacing:.11em;color:#557b79}.ent-period{color:var(--ent-muted);font-size:12px}.ent-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 26px}.ent-stat{border:1px solid var(--ent-line);background:#fff;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:14px;box-shadow:0 4px 16px #233d4b03}.ent-stat>span{font-size:12px;font-weight:600;color:#64788a}.ent-stat>strong{font-size:clamp(22px,2.1vw,31px);letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#203b50}.ent-stat>small{font-size:11px;color:#7a8b98;line-height:1.5}.ent-stat.teal{background:#eaf5ef;border-color:#d6e9de}.ent-stat.teal strong{color:#136554}.ent-stat.amber{background:#fffbf2;border-color:#f0e5cc}.ent-stat.amber strong{color:#906c27}.ent-panel{padding:24px;border:1px solid var(--ent-line);background:#fff;border-radius:14px;margin-bottom:20px;min-width:0}.ent-panel>h3{margin-top:0;font-size:16px}.ent-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.ent-panel-head h3{font-size:16px;margin:0}.ent-dashboard-grid{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(250px,1fr);gap:22px}.ent-insight{display:flex;flex-direction:column;border-bottom:1px solid #edf1f4;padding:18px 0;gap:6px}.ent-insight strong{font-size:27px;letter-spacing:-.035em}.ent-insight span{font-size:12px;color:var(--ent-muted)}.ent-workflow{border:1px solid var(--ent-line);border-radius:14px;padding:23px;background:#f7f9fa}.ent-workflow>div{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:20px}.ent-workflow article{display:flex;flex-direction:column;gap:7px;position:relative}.ent-workflow article>span{font-size:11px;font-weight:700;color:#4b8b81}.ent-workflow article>strong{font-size:14px}.ent-workflow article>small{font-size:11px;color:#7a8997}.ent-table-wrap{overflow-x:auto;max-width:100%}.ent-table,.ent-paper-lines{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.ent-table th{padding:12px 10px;background:#f7f9fa;color:#7b8b99;font-size:10px;text-transform:uppercase;letter-spacing:.055em;font-weight:600;white-space:nowrap;border-bottom:1px solid var(--ent-line)}.ent-table td{padding:16px 10px;border-bottom:1px solid #edf1f4;vertical-align:middle;line-height:1.5}.ent-table tr:last-child td{border-bottom:0}.ent-table td strong{font-size:12px;color:#29465a;display:block}.ent-table td small{display:block;color:#8795a1;font-size:10px;margin-top:4px}.ent-number{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.ent-table .btn{font-size:11px;padding:6px 10px;min-height:30px;white-space:nowrap}.ent-badge{display:inline-block;padding:4px 8px;border-radius:6px;background:#f1f4f6;color:#6c7c8b;font-size:10px;font-weight:600;white-space:nowrap;margin:2px}.ent-badge.issued{background:#eaf1f8;color:#386787}.ent-badge.accepted,.ent-badge.paid{background:#e5f3eb;color:#34745a}.ent-badge.overdue,.ent-badge.rejected{background:#fcf0e9;color:#ae6336}.ent-badge.cancelled{background:#f4eded;color:#927171}.ent-empty{text-align:center;padding:40px 25px!important;color:#7b8b99}.ent-empty>span{color:#9fb9b1;font-size:36px;letter-spacing:-.05em}.ent-empty h3{color:#29465a;font-size:18px}.ent-empty p{font-size:13px;line-height:1.8;max-width:480px;margin:12px auto 24px}.ent-empty .btn{margin:5px}.ent-footer{display:flex;align-items:center;gap:7px;margin-top:28px;color:#83918d;font-size:10px}.ent-footer>span:last-child{margin-left:auto}.ent-live-dot{width:6px;height:6px;background:#5b9c7b;border-radius:50%;display:inline-block}.ent-filter-row{display:flex;gap:14px;align-items:flex-end;margin-bottom:20px}.ent-filter-row label,.ent-search{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#6a7e8e}.ent-search{max-width:420px;margin-bottom:20px;flex:1}.ent-filter-row .ent-search{margin:0}.ent-filter-row select{font-size:12px;min-height:42px}.ent-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ent-contact-card{padding:22px;border:1px solid var(--ent-line);border-radius:14px;background:#fff}.ent-contact-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.ent-contact-card h3{font-size:17px;margin:18px 0 10px}.ent-contact-card p{font-size:12px;color:#7a8b99;line-height:1.8}.ent-avatar{width:42px;height:42px;display:grid;place-items:center;background:#e8f0f1;color:#386c70;border-radius:12px;font-size:13px;font-weight:600}.ent-contact-card .btn-row{margin-top:20px}.archived{opacity:.6}.ent-address{white-space:pre-wrap;overflow-wrap:anywhere}.ent-journal{list-style:none;margin:0;padding:0}.ent-journal li{display:flex;gap:30px;border-bottom:1px solid #edf1f4;padding:18px 0;font-size:12px}.ent-journal time{color:#80919e;min-width:140px}.ent-journal p{margin:5px 0 0;color:#7b8b98;overflow-wrap:anywhere}.ent-company{max-width:800px}.ent-company-mark{display:grid;place-items:center;width:64px;height:64px;background:#e7f3ec;color:#33755d;border-radius:16px;font-size:24px;font-weight:bold}.ent-company p{font-size:13px;line-height:1.8;color:#6c8191}.enterprise-dialog{max-width:740px;width:calc(100vw - 32px)}.enterprise-dialog label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#4a6578}.enterprise-dialog label.check{flex-direction:row;align-items:center}.ent-form{display:flex;flex-direction:column;gap:18px}.ent-form .field-grid{gap:16px}.enterprise-dialog .input{font-size:13px}.enterprise-document-dialog{max-width:1150px}.ent-lines{width:100%;border-collapse:collapse;min-width:800px;font-size:11px}.ent-lines th{text-align:left;padding:9px;color:#688092;font-weight:600}.ent-lines td{padding:6px 4px;vertical-align:top}.ent-lines td:first-child{min-width:260px}.ent-lines td:first-child .input{margin-bottom:5px}.ent-lines td:nth-child(2){width:85px}.ent-lines .input[type=number]{min-width:75px;width:100%}.ent-line-footer{display:flex;justify-content:space-between;align-items:center;gap:15px}.ent-line-footer output{font-size:12px;font-weight:bold}.ent-document-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.ent-document-state{display:flex;align-items:center;gap:12px;font-size:11px;color:#83919c;margin-bottom:20px}.ent-paper{max-width:900px;margin:0 auto;background:#fff;padding:50px 55px;border:1px solid #e1e7ec;border-radius:4px;box-shadow:0 8px 32px #1d36450a;color:#29465a}.ent-paper-top{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #2b6b64;padding-bottom:26px}.ent-paper-top h2{font-size:28px;margin:6px 0 12px}.ent-paper-top>div>strong{font-size:15px;letter-spacing:.04em}.ent-paper-tag{font-size:10px;line-height:1.8;letter-spacing:.14em;color:#71998d;border:1px solid #c7ddd5;padding:9px 14px;text-align:center;border-radius:5px}.ent-paper-parties{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:30px 0}.ent-paper-parties h3{font-size:15px;margin:6px 0 12px}.ent-paper p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.ent-paper small{font-size:10px;color:#8193a1;display:block}.ent-paper-meta{display:flex;flex-wrap:wrap;gap:24px;font-size:11px;background:#f2f6f6;padding:14px;margin-bottom:25px}.ent-paper-lines{font-size:11px;min-width:540px}.ent-paper-lines th{background:#2b5d57;color:#fff;padding:11px 9px;font-size:10px;font-weight:500;text-align:right}.ent-paper-lines th:first-child{text-align:left}.ent-paper-lines td{border-bottom:1px solid #e6edeb;padding:14px 9px;text-align:right}.ent-paper-lines td:first-child{text-align:left;min-width:180px;overflow-wrap:anywhere}.ent-paper-summary{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin:26px 0}.ent-tax-detail{font-size:10px;line-height:1.8}.ent-tax-detail>strong{display:block;margin-bottom:10px}.ent-tax-detail b{font-weight:500;display:block}.ent-paper-summary dl{margin:0;font-size:12px}.ent-paper-summary dl>div{display:flex;justify-content:space-between;gap:20px;padding:8px}.ent-paper-summary dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.ent-total{background:#eaf4ef;font-weight:bold;font-size:14px;margin-top:6px;border-radius:4px}.ent-paper-terms{border-top:1px solid #dfe9e5;padding-top:15px;margin-top:30px;font-size:11px}.ent-paper>footer{text-align:center;font-size:9px;color:#80958c;line-height:2;margin-top:35px}.ent-person{width:100%;display:flex;justify-content:space-between;text-align:left;padding:15px 8px;border:0;border-bottom:1px solid #edf1f4;background:#fff;cursor:pointer;gap:16px}.ent-person span{display:flex;align-items:center;gap:8px;font-size:11px;color:#6e8b8b}.ent-person svg{width:14px;height:14px}.ent-person:hover{background:#f3f7f6}
@media(max-width:1250px){.ent-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ent-dashboard-grid{grid-template-columns:minmax(0,1fr)}.ent-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ent-header{flex-wrap:wrap}.ent-paper{padding:35px}}@media(max-width:650px){.ent-header{margin-top:0}.ent-heading{align-items:flex-start}.ent-symbol{flex-basis:42px;height:42px;border-radius:12px}.ent-heading p:last-child{font-size:12px}.ent-heading h1{font-size:24px}.ent-stats{gap:10px}.ent-stat{padding:15px;gap:10px}.ent-stat>strong{font-size:22px}.ent-stat>small{font-size:10px}.ent-section-head{align-items:flex-start;flex-direction:column}.ent-period{font-size:11px}.ent-panel{padding:16px}.ent-contact-grid{grid-template-columns:minmax(0,1fr)}.ent-tabs{margin-bottom:22px}.ent-workflow>div{grid-template-columns:1fr 1fr;gap:20px}.ent-filter-row{flex-wrap:wrap}.ent-filter-row .ent-search{min-width:100%}.ent-footer{flex-wrap:wrap;line-height:1.8}.ent-footer>span:last-child{width:100%;margin-left:0}.ent-paper{padding:22px 16px}.ent-paper-top h2{font-size:23px}.ent-paper-tag{font-size:8px;padding:6px}.ent-paper-parties{gap:20px}.ent-paper-summary{grid-template-columns:1fr;gap:20px}.ent-line-footer{align-items:flex-start;flex-direction:column}.ent-journal li{flex-direction:column;gap:9px}.ent-journal time{font-size:10px}}
.enterprise-page:focus{outline:none}
@media(max-width:650px){.ent-table-wrap:before{content:'Faites défiler le tableau horizontalement →';display:block;font-size:10px;color:#718b8a;margin-bottom:12px}.ent-tabs:after{content:'→';display:grid;place-items:center;position:sticky;right:0;background:#f5f7fa;padding:0 8px;color:#48776b}}
@media print{body.enterprise-printing .sidebar,body.enterprise-printing .topbar,body.enterprise-printing .ent-header,body.enterprise-printing .ent-tabs,body.enterprise-printing .ent-footer,body.enterprise-printing .ent-document-actions,body.enterprise-printing .ent-document-state,body.enterprise-printing .skip,body.enterprise-printing #toast{display:none!important}body.enterprise-printing .layout,body.enterprise-printing .workspace,body.enterprise-printing #app,body.enterprise-printing main{display:block!important;margin:0!important;padding:0!important;width:100%!important;background:white!important}body.enterprise-printing .ent-paper{border:0;box-shadow:none;max-width:none;padding:0}body.enterprise-printing .ent-table-wrap{overflow:visible}body.enterprise-printing .ent-table-wrap:before{display:none}body.enterprise-printing .ent-paper-lines{min-width:0}body.enterprise-printing .ent-paper-lines tr{break-inside:avoid}body.enterprise-printing .ent-paper-lines thead{display:table-header-group}body.enterprise-printing .ent-paper-summary,body.enterprise-printing .ent-paper-parties{break-inside:avoid}}
