body:has(.factures-page) .page-hero{--page-hero-accent: var(--theme-accent, #5b67e8);position:relative;isolation:isolate;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;min-height:94px;margin:0 0 18px;padding:18px 20px 18px 24px;overflow:hidden;color:#f7f9fd;background:radial-gradient(circle at 82% -42%,color-mix(in srgb,var(--page-hero-accent) 22%,transparent),transparent 270px),linear-gradient(118deg,#18283e,#132238 58%,#0f1c2e);border:1px solid rgba(139,165,200,.22);border-radius:18px;box-shadow:0 12px 30px #101d3029,inset 0 1px #ffffff0b}body:has(.factures-page) .page-hero:before{content:"";position:absolute;inset:14px auto 14px 0;width:4px;border-radius:0 5px 5px 0;background:linear-gradient(180deg,var(--page-hero-accent),color-mix(in srgb,var(--page-hero-accent) 52%,#37cfa2));box-shadow:0 0 18px color-mix(in srgb,var(--page-hero-accent) 32%,transparent)}body:has(.factures-page) .page-hero:after{content:"";position:absolute;z-index:-1;width:210px;height:210px;right:8%;top:-150px;border-radius:50%;background:color-mix(in srgb,var(--page-hero-accent) 14%,transparent)}body:has(.factures-page) .page-hero__main{min-width:240px;flex:1 1 240px}body:has(.factures-page) .page-hero__eyebrow{width:fit-content;margin-bottom:6px;color:color-mix(in srgb,var(--page-hero-accent) 34%,#dce9f8);font-size:10.5px;font-weight:800;line-height:1.2;letter-spacing:.085em;text-transform:uppercase}body:has(.factures-page) .page-hero__title-row{display:flex;align-items:center;gap:10px;min-width:0}body:has(.factures-page) .page-hero__title-row h1{min-width:0;margin:0;color:#f8fbff;font-size:clamp(20px,2vw,26px);font-weight:790;line-height:1.1;letter-spacing:-.025em}body:has(.factures-page) .page-hero__badge{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border:1px solid rgba(199,216,238,.16);border-radius:999px;color:#f0f6fd;background:#ffffff14;font-size:11px;font-weight:800}body:has(.factures-page) .page-hero__subtitle{max-width:800px;margin-top:6px;color:#aebdd0;font-size:12.5px;line-height:1.45}body:has(.factures-page) .page-hero__right,body:has(.factures-page) .page-hero__actions{display:flex;align-items:center;gap:8px}body:has(.factures-page) .page-hero__right{flex:0 1 auto;max-width:100%}body:has(.factures-page) .page-hero__actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:1320px){body:has(.factures-page) .page-hero__main{flex-basis:100%}body:has(.factures-page) .page-hero__right{width:100%}body:has(.factures-page) .page-hero__actions{flex:1;justify-content:flex-start}body:has(.factures-page) .page-hero__brand{margin-left:auto}}body:has(.factures-page) .page-hero__actions :where(button,a){min-height:38px;text-decoration:none}body:has(.factures-page) .page-hero__actions :where(button,a):focus-visible{outline:3px solid rgba(147,197,253,.34);outline-offset:2px}body:has(.factures-page) .page-hero__actions .page-hero-back-button{color:#f8fbff!important;background:#ffffff1a!important;border:1px solid rgba(211,225,243,.3)!important;box-shadow:inset 0 1px #ffffff0f}body:has(.factures-page) .page-hero__actions .page-hero-back-button:hover{background:#ffffff2b!important;border-color:#e0ebf87a!important;transform:translate(-1px)}body:has(.factures-page) .page-hero__brand{position:relative;display:grid;place-items:center;width:98px;height:46px;margin-left:6px;padding:7px 10px;overflow:hidden;background:#f8fafc;border:1px solid rgba(199,216,238,.42);border-radius:12px}body:has(.factures-page) .page-hero__brand img{position:relative;z-index:1;display:block;max-width:100%;max-height:100%;object-fit:contain}body:has(.factures-page) .page-hero__brand-fallback{position:absolute;color:var(--page-hero-accent);font-size:16px;font-weight:900}@media(max-width:760px){body:has(.factures-page) .page-hero{flex-direction:column;align-items:stretch;gap:13px;min-height:0;padding:16px 16px 16px 20px;border-radius:15px}body:has(.factures-page) .page-hero__main,body:has(.factures-page) .page-hero__right{width:100%}body:has(.factures-page) .page-hero__actions{width:100%;justify-content:flex-start}body:has(.factures-page) .page-hero__actions>:where(button,a){flex:1 1 130px}body:has(.factures-page) .page-hero__brand{display:none}}body:has(.factures-page) [data-theme=dark] .page-hero,body:has(.factures-page) .dark .page-hero{box-shadow:0 12px 34px #00000038}body:has(.factures-page) .client-form-overlay,body:has(.factures-page) .client-form-dialog,body:has(.factures-page) .client-form,body:has(.factures-page) .client-form-body{min-width:0}@media(max-width:768px){body:has(.factures-page) body:has(.client-form-overlay){overflow:hidden}body:has(.factures-page) body:has(.client-form-overlay) .mobile-bottom-nav,body:has(.factures-page) body:has(.client-form-overlay) .quick-actions-dock{display:none!important}body:has(.factures-page) .client-form-overlay{z-index:17000!important;align-items:stretch!important;padding:0!important;background:var(--surface)!important}body:has(.factures-page) .client-form-dialog{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}body:has(.factures-page) .client-form-header{flex:0 0 auto;min-height:64px;padding:max(10px,env(safe-area-inset-top)) 14px 10px!important}body:has(.factures-page) .client-form-header h2{max-width:calc(100vw - 70px);overflow:hidden;font-size:18px!important;text-overflow:ellipsis;white-space:nowrap}body:has(.factures-page) .client-form-header button{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0!important}body:has(.factures-page) .client-form-tabs{width:100%;min-height:48px;padding:0 6px!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}body:has(.factures-page) .client-form-tabs::-webkit-scrollbar{display:none}body:has(.factures-page) .client-form-tabs>button{flex:0 0 auto;min-height:46px;padding:8px 10px!important;scroll-snap-align:start}body:has(.factures-page) .client-form{overflow:hidden}body:has(.factures-page) .client-form-body{width:100%;padding:14px 12px 20px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}body:has(.factures-page) .client-form-body *,body:has(.factures-page) .client-form-body>*{min-width:0;box-sizing:border-box}body:has(.factures-page) .client-form-body div[style*=grid-template-columns],body:has(.factures-page) .client-form-engagement-options{grid-template-columns:minmax(0,1fr)!important}body:has(.factures-page) .client-form-engagement-options>button{width:100%;min-height:112px;padding:12px!important}body:has(.factures-page) .client-form-custom-service{align-items:stretch;flex-direction:column}body:has(.factures-page) .client-form-custom-service>button{width:100%;min-height:44px}body:has(.factures-page) .client-form-body input,body:has(.factures-page) .client-form-body select,body:has(.factures-page) .client-form-body textarea,body:has(.factures-page) .client-form-body button{max-width:100%;font-size:16px!important}body:has(.factures-page) .client-form-body input,body:has(.factures-page) .client-form-body select,body:has(.factures-page) .client-form-body textarea{min-height:44px}body:has(.factures-page) .client-form-body div[style*="display: flex"]{max-width:100%}body:has(.factures-page) .client-form-footer{align-items:stretch!important;flex-direction:column;gap:8px;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;border-radius:0!important}body:has(.factures-page) .client-form-footer__navigation,body:has(.factures-page) .client-form-footer__actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;width:100%}body:has(.factures-page) .client-form-footer button{width:100%;min-width:0;min-height:44px;padding:7px 8px!important;white-space:normal}}@media(max-width:380px){body:has(.factures-page) .client-form-tabs>button{padding-inline:8px!important}body:has(.factures-page) .client-form-footer{gap:5px;padding-inline:7px!important}body:has(.factures-page) .client-form-footer button{font-size:12px!important}}body:has(.factures-page) .outlook-recipient-field{position:relative;min-width:0}body:has(.factures-page) .outlook-recipient-field__control{display:flex;min-height:44px;align-items:center;flex-wrap:wrap;gap:6px;box-sizing:border-box;width:100%;padding:6px 9px;border:1px solid var(--border, #d7dee8);border-radius:9px;background:var(--surface, #fff);cursor:text;transition:border-color .15s ease,box-shadow .15s ease}body:has(.factures-page) .outlook-recipient-field__control:focus-within{border-color:#5470bf;box-shadow:0 0 0 3px #5470bf1f}body:has(.factures-page) .outlook-recipient-field__control[data-drag-over=true]{border-color:#b8924c;background:#fffaf0;box-shadow:0 0 0 3px #b8924c29}body:has(.factures-page) .outlook-recipient-field__control[data-disabled=true]{opacity:.65;cursor:not-allowed}body:has(.factures-page) .outlook-recipient-field__control>input{flex:1 1 170px;min-width:130px;min-height:30px;padding:0 2px;border:0!important;outline:0;background:transparent!important;color:var(--text, #172033);font:inherit;box-shadow:none!important}body:has(.factures-page) .outlook-recipient-field__chip{display:inline-flex;max-width:100%;align-items:center;gap:5px;padding:5px 7px 5px 10px;border:1px solid #c6d2f6;border-radius:999px;color:#2d4588;background:#eef3ff;font-size:11px;font-weight:750}body:has(.factures-page) .outlook-recipient-field__chip[draggable=true]{cursor:grab}body:has(.factures-page) .outlook-recipient-field__chip[draggable=true]:active{cursor:grabbing;opacity:.72}body:has(.factures-page) .outlook-recipient-field__chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body:has(.factures-page) .outlook-recipient-field__chip>button{padding:0;border:0;color:#65739a;background:transparent;font-size:16px;line-height:1;cursor:pointer}body:has(.factures-page) .outlook-recipient-field__chip[data-locked=true]{border-color:#e2c878;color:#654d15;background:#fff8e6}body:has(.factures-page) .outlook-recipient-field__lock{flex:0 0 auto;font-size:9px;line-height:1}body:has(.factures-page) .outlook-recipient-field__suggestions{position:absolute;z-index:80;top:calc(100% + 5px);right:0;left:0;max-height:300px;overflow-y:auto;border:1px solid var(--border, #d7dee8);border-radius:11px;background:var(--surface, #fff);box-shadow:0 16px 38px #0f172a2e}body:has(.factures-page) .outlook-recipient-field__suggestions>button{display:flex;width:100%;align-items:center;gap:9px;padding:10px 12px;border:0;border-bottom:1px solid var(--border, #e5e9ef);color:var(--text, #172033);background:var(--surface, #fff);text-align:left;cursor:pointer}body:has(.factures-page) .outlook-recipient-field__suggestions>button:last-child{border-bottom:0}body:has(.factures-page) .outlook-recipient-field__suggestions>button:hover,body:has(.factures-page) .outlook-recipient-field__suggestions>button[data-highlighted=true]{background:#fff8e8}body:has(.factures-page) .outlook-recipient-field__avatar{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(145deg,#263656,#526aa7);font-size:10px;font-weight:900}body:has(.factures-page) .outlook-recipient-field__identity{min-width:0;flex:1}body:has(.factures-page) .outlook-recipient-field__identity strong,body:has(.factures-page) .outlook-recipient-field__identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body:has(.factures-page) .outlook-recipient-field__identity strong{font-size:11.5px}body:has(.factures-page) .outlook-recipient-field__identity small{margin-top:2px;color:var(--text-muted, #6c7789);font-size:10px}body:has(.factures-page) .outlook-recipient-field__suggestions em{flex:0 0 auto;padding:3px 6px;border-radius:999px;color:#725415;background:#fff2cf;font-size:8.5px;font-style:normal;font-weight:850}@media(max-width:600px){body:has(.factures-page) .outlook-recipient-field__suggestions em{display:none}body:has(.factures-page) .outlook-recipient-field__control>input{min-width:100px}}body:has(.factures-page) .quote-form-modal,body:has(.factures-page) .quote-form-modal *{box-sizing:border-box}body:has(.factures-page) .quote-lines-editor{overflow:visible}body:has(.factures-page) .quote-line-description textarea,body:has(.factures-page) .quote-line-description [contenteditable=true]{width:100%;min-width:0}@media(max-width:760px){body:has(.factures-page) .quote-form-overlay{align-items:stretch!important;padding:0!important}body:has(.factures-page) .quote-form-modal{width:100%!important;max-height:100dvh!important;min-height:100dvh;border-radius:0!important}body:has(.factures-page) .quote-form-header{padding:13px 15px!important;flex:0 0 auto}body:has(.factures-page) .quote-form-body{padding:14px!important;overscroll-behavior:contain}body:has(.factures-page) .quote-form-kind{position:sticky;top:-14px;z-index:4;margin:-14px -14px 14px!important;padding:12px 14px;background:var(--surface);border-bottom:1px solid var(--border)}body:has(.factures-page) .quote-form-kind>button{min-height:54px;line-height:1.25}body:has(.factures-page) .quote-form-metadata{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}body:has(.factures-page) .quote-form-metadata>div{width:100%;min-width:0}body:has(.factures-page) .quote-form-metadata select,body:has(.factures-page) .quote-form-metadata input{min-height:44px}body:has(.factures-page) .quote-lines-heading{align-items:flex-start!important;flex-direction:column;gap:3px!important}body:has(.factures-page) .quote-lines-editor{border:0!important}body:has(.factures-page) .quote-lines-table,body:has(.factures-page) .quote-lines-table tbody,body:has(.factures-page) .quote-lines-table tr,body:has(.factures-page) .quote-lines-table td{display:block;width:100%}body:has(.factures-page) .quote-lines-table thead{display:none}body:has(.factures-page) .quote-lines-table .quote-line-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;padding:12px;border:1px solid var(--border)!important;border-radius:14px;background:var(--surface);box-shadow:0 5px 18px #0f172a0f}body:has(.factures-page) .quote-line-description{grid-column:1 / -1;min-width:0;padding:0!important}body:has(.factures-page) .quote-line-description>div{width:100%}body:has(.factures-page) .quote-line-number{min-width:0;padding:0!important}body:has(.factures-page) .quote-line-number:before,body:has(.factures-page) .quote-line-total:before{content:attr(data-label);display:block;margin-bottom:5px;color:var(--text-muted);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}body:has(.factures-page) .quote-line-number input{min-width:0;min-height:42px;font-size:16px!important}body:has(.factures-page) .quote-line-discount select,body:has(.factures-page) .quote-line-discount input{min-height:42px}body:has(.factures-page) .quote-line-total{grid-column:span 2;min-width:0;padding:2px 0 0!important;text-align:left!important}body:has(.factures-page) .quote-line-actions{display:flex!important;align-items:flex-end;justify-content:flex-end;padding:14px 0 0!important}body:has(.factures-page) .quote-line-actions button{min-width:34px;min-height:34px;margin:0 0 0 3px!important}body:has(.factures-page) .quote-line-condition{margin:-18px 12px 14px;width:auto!important}body:has(.factures-page) .quote-line-condition td{padding:10px!important;border:1px dashed var(--border);border-top:0;border-radius:0 0 12px 12px;background:var(--surface-muted)}body:has(.factures-page) .quote-line-condition input{min-height:42px}body:has(.factures-page) .quote-totals,body:has(.factures-page) .quote-totals>div{width:100%;min-width:0!important}body:has(.factures-page) .quote-form-footer{flex:0 0 auto;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 -8px 24px #0f172a14}body:has(.factures-page) .quote-form-footer>button{flex:1;min-height:46px}}@media(max-width:390px){body:has(.factures-page) .quote-lines-table .quote-line-row{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.factures-page) .quote-line-number[data-label="TVA %"],body:has(.factures-page) .quote-line-total{grid-column:span 1}}body:has(.factures-page) .billing-document-notice,body:has(.factures-page) .billing-document-error{padding:12px 16px;border-radius:12px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;font-size:13px}body:has(.factures-page) .billing-document-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}body:has(.factures-page) .billing-document-notice button{border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}body:has(.factures-page) .billing-quotes-workspace{min-width:0}body:has(.factures-page) .billing-credit-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;z-index:10000;background:#0f172a70;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body:has(.factures-page) .billing-credit-modal{position:relative;width:min(1180px,calc(100vw - 32px));max-width:none;max-height:94dvh;overflow-y:auto;padding:28px;box-sizing:border-box;background:var(--surface, white);border-radius:18px;box-shadow:0 24px 80px #0f172a40}body:has(.factures-page) .billing-credit-close{position:absolute;top:18px;right:20px;width:36px;height:36px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--text);font-size:24px;cursor:pointer}body:has(.factures-page) .billing-credit-lines{overflow-x:auto;border:1px solid var(--border);border-radius:12px;padding:8px}body:has(.factures-page) .billing-credit-lines input{min-height:38px}body:has(.factures-page) .billing-credit-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;position:sticky;bottom:-28px;margin:20px -28px -28px;padding:16px 28px;background:var(--surface, white);border-top:1px solid var(--border);z-index:1}@media(max-width:650px){body:has(.factures-page) .billing-credit-modal{padding:18px;max-height:96dvh}body:has(.factures-page) .billing-credit-footer{bottom:-18px;margin:16px -18px -18px;padding:12px 18px}body:has(.factures-page) .billing-credit-footer button{flex:1 1 160px;min-height:42px}body:has(.factures-page) .billing-credit-lines table,body:has(.factures-page) .billing-credit-lines tbody{display:block;min-width:0!important}body:has(.factures-page) .billing-credit-lines thead{display:none}body:has(.factures-page) .billing-credit-lines tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 0}body:has(.factures-page) .billing-credit-lines td{min-width:0;padding:0!important;text-align:left!important}body:has(.factures-page) .billing-credit-lines td[data-label]:before{content:attr(data-label);display:block;margin-bottom:5px;color:var(--text-muted);font-size:11px;font-weight:700}body:has(.factures-page) .billing-credit-lines .billing-credit-description{grid-column:1 / -1}body:has(.factures-page) .billing-credit-lines input:not([type=checkbox]){min-height:42px;font-size:16px!important}}body:has(.factures-page) .situation-mode{display:flex;gap:8px;flex-wrap:wrap}body:has(.factures-page) .situation-mode button{padding:10px 16px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-weight:700;cursor:pointer}body:has(.factures-page) .situation-mode button[aria-pressed=true]{background:#f4ebd8;color:#6b5427;border-color:#b8924c}body:has(.factures-page) .situation-invoice{display:grid;grid-template-columns:22px minmax(0,1fr) 85px 85px 110px 110px}body:has(.factures-page) .situation-invoice--paid{grid-template-columns:22px minmax(0,1fr) 85px 95px 110px 100px 110px}body:has(.factures-page) .situation-invoice--both{grid-template-columns:22px minmax(0,1fr) 80px 80px 100px 90px 100px 100px}body:has(.factures-page) .situation-invoice span{min-width:0;overflow-wrap:anywhere}body:has(.factures-page) .situation-invoice-heading{padding:8px 9px;gap:6px;color:var(--text-muted);font-size:11px;font-weight:700}body:has(.factures-page) .situation-pdf-preview{position:fixed;inset:12px;z-index:10001;background:var(--surface, white);border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #0007;overflow:hidden}body:has(.factures-page) .situation-pdf-toolbar{padding:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}body:has(.factures-page) .situation-pdf-toolbar strong{flex:1;min-width:140px;overflow-wrap:anywhere}body:has(.factures-page) .situation-pdf-toolbar button,body:has(.factures-page) .situation-pdf-toolbar a{padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}body:has(.factures-page) .situation-pdf-preview iframe{width:100%;flex:1;min-height:0;border:0}body:has(.factures-page) .situation-language{flex-wrap:wrap}body:has(.factures-page) .situation-language button{white-space:nowrap}@media(max-width:768px){body:has(.factures-page) .situation-client-modal{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}body:has(.factures-page) .situation-client-modal fieldset{padding:12px!important}body:has(.factures-page) .situation-client-modal fieldset div[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:minmax(0,1fr)!important}body:has(.factures-page) .situation-invoice{grid-template-columns:22px minmax(0,1fr)}body:has(.factures-page) .situation-invoice [data-label]{grid-column:2;text-align:right;display:flex;justify-content:space-between;gap:8px}body:has(.factures-page) .situation-invoice [data-label]:before{content:attr(data-label);color:var(--text-muted);font-weight:400;text-align:left}body:has(.factures-page) .situation-invoice-heading{display:none}body:has(.factures-page) .situation-language>span:last-child{flex-basis:100%}body:has(.factures-page) .situation-pdf-preview{inset:6px}}body:has(.factures-page) .situation-subtotals{margin:12px 0;overflow-x:auto;border:1px solid var(--border);border-radius:10px}body:has(.factures-page) .situation-subtotals table{border-collapse:collapse;width:100%;font-size:12px}body:has(.factures-page) .situation-subtotals th,body:has(.factures-page) .situation-subtotals td{padding:9px;text-align:right;white-space:nowrap}body:has(.factures-page) .situation-subtotals th:first-child{text-align:left;white-space:normal}body:has(.factures-page) .situation-subtotals thead,body:has(.factures-page) .situation-subtotals tfoot{background:#f8f5ec;font-weight:800;color:#4b3d24}body:has(.factures-page) .company-billing{--company-primary:#1B365D;--company-secondary:#64748B;--ux-accent:var(--company-primary);--ux-accent-hover:var(--company-primary);--primary:var(--company-primary)}body:has(.factures-page) .company-billing__hero{border-top:3px solid var(--company-secondary)!important}body:has(.factures-page) .company-billing button:focus-visible{outline:3px solid var(--company-secondary);outline-offset:3px}body:has(.factures-page) .company-billing__correction{padding:18px;margin:18px 0;border:1px solid #d9c89f;border-radius:14px;background:#fffaf0;color:#40351f}body:has(.factures-page) .company-billing__correction p{line-height:1.6}body:has(.factures-page) .company-billing__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}body:has(.factures-page) .company-billing__palettes{padding:16px;border-radius:12px;background:var(--surface-muted);margin-bottom:20px}body:has(.factures-page) .company-billing__advanced{border:1px solid var(--border);padding:18px;border-radius:14px;background:var(--surface);margin:20px 0}body:has(.factures-page) .company-billing__advanced>summary{cursor:pointer;font-weight:750;margin-bottom:12px}body:has(.factures-page) .company-billing__tabs>button{flex-shrink:0}body:has(.factures-page) .company-billing__settings input,body:has(.factures-page) .company-billing__settings select{max-width:100%;box-sizing:border-box}@media(max-width:700px){body:has(.factures-page) .company-billing__settings [style*=grid-template-columns]{grid-template-columns:1fr!important}body:has(.factures-page) .company-billing__settings table{display:block;overflow-x:auto;white-space:nowrap}body:has(.factures-page) .company-billing__settings th,body:has(.factures-page) .company-billing__settings td{min-width:72px}body:has(.factures-page) .company-billing__hero>div{min-width:0!important;max-width:100%}body:has(.factures-page) .company-billing__settings [style*="display: flex"]{flex-wrap:wrap}}@media(max-width:700px){body:has(.factures-page) .company-billing{padding:12px!important}body:has(.factures-page) .company-billing__hero{gap:12px!important}body:has(.factures-page) .company-billing__actions>button{flex:1}body:has(.factures-page) .company-billing [role=dialog] [style*=grid-template-columns]{grid-template-columns:1fr!important}}body:has(.factures-page) .collections-report{margin:24px 0;padding:clamp(20px,2vw,32px);color:#172238;background:#fff;border:1px solid #e2e7ee;border-radius:22px;box-shadow:0 12px 40px #12203b0e}body:has(.factures-page) .collections-report__heading,body:has(.factures-page) .collections-report__section-heading,body:has(.factures-page) .collections-report__card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}body:has(.factures-page) .collections-report__heading{align-items:flex-end}body:has(.factures-page) .collections-report__eyebrow,body:has(.factures-page) .collections-report__section-label{display:inline-flex;align-items:center;gap:7px;color:#987333;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}body:has(.factures-page) .collections-report h2{margin:7px 0 5px;color:#152039;font-size:clamp(22px,2vw,28px);line-height:1.2}body:has(.factures-page) .collections-report__heading p,body:has(.factures-page) .collections-report__note{margin:0;color:#66758a;font-size:13px;line-height:1.5}body:has(.factures-page) .collections-report__controls{display:grid;gap:7px;flex:0 0 auto}body:has(.factures-page) .collections-report__controls label{display:inline-flex;align-items:center;gap:7px;color:#42506a;font-size:12px;font-weight:700}body:has(.factures-page) .collections-report__control-row{display:flex;align-items:center;gap:8px}body:has(.factures-page) .collections-report__controls input,body:has(.factures-page) .collections-report__controls button{min-height:40px;border:1px solid #d6dde8;border-radius:10px;background:#fff;color:#22304a;font:inherit;font-size:13px}body:has(.factures-page) .collections-report__controls input{padding:7px 10px}body:has(.factures-page) .collections-report__controls button{display:inline-grid;place-items:center;width:40px;padding:8px;cursor:pointer}body:has(.factures-page) .collections-report__controls>button{width:auto;padding-inline:12px;white-space:nowrap}body:has(.factures-page) .collections-report__controls button:hover:not(:disabled){background:#f6f8fb;border-color:#aebbd0}body:has(.factures-page) .collections-report__controls button:disabled{cursor:wait;opacity:.55}body:has(.factures-page) .collections-report button:focus-visible,body:has(.factures-page) .collections-report input:focus-visible{outline:3px solid rgba(180,145,78,.38);outline-offset:2px}body:has(.factures-page) .collections-report select:focus-visible{outline:3px solid rgba(180,145,78,.38);outline-offset:2px}body:has(.factures-page) .collections-report__filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-top:23px;padding:15px;border:1px solid #e7ecf2;border-radius:14px;background:#f8fafd}body:has(.factures-page) .collections-report__filter{display:grid;flex:1 1 145px;min-width:0;gap:6px;color:#516078;font-size:11px;font-weight:800}body:has(.factures-page) .collections-report__filter--search{flex:2 1 260px}body:has(.factures-page) .collections-report__filter select,body:has(.factures-page) .collections-report__search-field{width:100%;min-height:40px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#26344d;font:inherit;font-size:12px}body:has(.factures-page) .collections-report__amount-input{width:100%;min-height:40px;box-sizing:border-box;padding:8px 10px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#26344d;font:inherit;font-size:12px}body:has(.factures-page) .collections-report__search-note{margin:9px 2px 0;color:#516078;font-size:12px;line-height:1.5}body:has(.factures-page) .collections-report__filter select{padding:8px 9px;cursor:pointer}body:has(.factures-page) .collections-report__search-field{display:flex;align-items:center;gap:7px;padding:0 10px}body:has(.factures-page) .collections-report__search-field svg{flex:0 0 auto;color:#8b99aa}body:has(.factures-page) .collections-report__search-field input{min-width:0;width:100%;height:38px;padding:0;border:0;outline:none;background:transparent;color:#26344d;font:inherit;font-size:12px}body:has(.factures-page) .collections-report__search-field:focus-within{border-color:#ae8d50;box-shadow:0 0 0 3px #b4914e29}body:has(.factures-page) .collections-report__search-field input:focus-visible{outline:none}body:has(.factures-page) .collections-report__reset{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:8px 10px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#755d32;font:inherit;font-size:11px;font-weight:800;cursor:pointer}body:has(.factures-page) .collections-report__reset:hover{background:#fff8e9;border-color:#bea16a}body:has(.factures-page) .collections-report__loading,body:has(.factures-page) .collections-report__error{margin-top:18px;padding:14px 16px;border-radius:11px;font-size:13px}body:has(.factures-page) .collections-report__loading{color:#53627c;background:#f5f7fa}body:has(.factures-page) .collections-report__error{color:#a12c23;background:#fff2f0}body:has(.factures-page) .collections-report__cards{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:12px;margin-top:18px}body:has(.factures-page) .collections-report__card{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:136px;padding:17px 19px;border:1px solid #e5eaf1;border-radius:16px;background:#f8f9fc;text-align:left;font:inherit;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}body:has(.factures-page) .collections-report__card:hover{border-color:#b99755;transform:translateY(-2px);box-shadow:0 8px 19px #1421391a}body:has(.factures-page) .collections-report__card.is-selected{border-color:#25344f;background:linear-gradient(135deg,#172238,#293959);box-shadow:0 9px 20px #14213921}body:has(.factures-page) .collections-report__card-top>span:first-child{color:#41516d;font-size:13px;font-weight:800}body:has(.factures-page) .collections-report__card.is-selected .collections-report__card-top>span:first-child{color:#f7e1ab}body:has(.factures-page) .collections-report__count{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#e9edf3;color:#44536a;font-size:11px;font-weight:700}body:has(.factures-page) .collections-report__card.is-selected .collections-report__count{background:#ffffff1f;color:#fff}body:has(.factures-page) .collections-report__values{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:18px;row-gap:2px}body:has(.factures-page) .collections-report__card .collections-report__values{flex-direction:column;align-items:flex-start}body:has(.factures-page) .collections-report__values>span{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap;color:#18243b;font-size:clamp(20px,1.6vw,26px);font-weight:800;font-variant-numeric:tabular-nums;line-height:1.2}body:has(.factures-page) .collections-report__values small{color:#738096;font-size:.57em;font-weight:800}body:has(.factures-page) .collections-report__card.is-selected .collections-report__values>span{color:#fff}body:has(.factures-page) .collections-report__card.is-selected .collections-report__values small{color:#f1d99e}body:has(.factures-page) .collections-report__mad-equivalent{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 9px;width:100%;margin-top:3px;padding-top:9px;border-top:1px solid #dce3ed;color:#59677d;font-size:11px;font-weight:700}body:has(.factures-page) .collections-report__mad-equivalent strong{color:#1d2b43;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}body:has(.factures-page) .collections-report__mad-equivalent small{flex-basis:100%;color:#a36317;font-size:10px;line-height:1.35}body:has(.factures-page) .collections-report__card.is-selected .collections-report__mad-equivalent{border-color:#fff3;color:#c8d3e5}body:has(.factures-page) .collections-report__card.is-selected .collections-report__mad-equivalent strong{color:#f7e1ab}body:has(.factures-page) .collections-report__card.is-selected .collections-report__mad-equivalent small{color:#ffe0a0}body:has(.factures-page) .collections-report__period{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;color:#738096;font-size:11px}body:has(.factures-page) .collections-report__period svg{flex:0 0 auto;color:#a98746}body:has(.factures-page) .collections-report__card.is-selected .collections-report__period{color:#c4cede}body:has(.factures-page) .collections-report__card.is-selected .collections-report__period svg{color:#f1d99e}body:has(.factures-page) .collections-report__body{display:grid;gap:17px;margin-top:19px}body:has(.factures-page) .collections-report__days,body:has(.factures-page) .collections-report__details{min-width:0;padding:19px;border:1px solid #e6ebf1;border-radius:16px;background:#fff}body:has(.factures-page) .collections-report__section-heading{align-items:flex-end;margin-bottom:15px}body:has(.factures-page) .collections-report h3{margin:4px 0 0;color:#172238;font-size:16px;line-height:1.3}body:has(.factures-page) .collections-report__section-meta{color:#768398;font-size:12px;font-weight:700;white-space:nowrap}body:has(.factures-page) .collections-report__detail-period{display:block;margin-top:4px;color:#758298;font-size:11px}body:has(.factures-page) .collections-report__detail-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:12px}body:has(.factures-page) .collections-report__all-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 11px;border:1px solid #c6ad77;border-radius:9px;background:#fffaf0;color:#755b29;font:inherit;font-size:12px;font-weight:800;cursor:pointer}body:has(.factures-page) .collections-report__all-button:hover{background:#f5e9ce}body:has(.factures-page) .collections-report__days-list{display:flex;flex-wrap:wrap;gap:9px}body:has(.factures-page) .collections-report__days-list button{display:grid;gap:6px;min-width:178px;max-width:260px;padding:12px 14px;text-align:left;border:1px solid #dce4ed;border-radius:12px;background:#f8fafd;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}body:has(.factures-page) .collections-report__days-list button:hover{transform:translateY(-2px);border-color:#b99755;background:#fffaf0}body:has(.factures-page) .collections-report__days-list button.is-selected{border-color:#b49350;background:#fffaf0;box-shadow:inset 0 0 0 1px #b49350}body:has(.factures-page) .collections-report__day-date{color:#4d5c73;font-size:12px;font-weight:700}body:has(.factures-page) .collections-report__days-list .collections-report__values{flex-direction:column;align-items:flex-start;gap:2px}body:has(.factures-page) .collections-report__days-list .collections-report__values>span{font-size:16px}body:has(.factures-page) .collections-report__days-list .collections-report__values small{font-size:11px}body:has(.factures-page) .collections-report__mad-equivalent--compact{display:grid;gap:2px;margin-top:0;padding-top:7px;font-size:10px}body:has(.factures-page) .collections-report__mad-equivalent--compact strong{font-size:13px}body:has(.factures-page) .collections-report__day-footer{display:flex;align-items:center;justify-content:space-between;color:#748199;font-size:11px;font-weight:600}body:has(.factures-page) .collections-report__day-footer svg{color:#b0904c}body:has(.factures-page) .collections-report__days-empty{margin:2px 0;color:#748199;font-size:13px}body:has(.factures-page) .collections-report__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:175px;padding:20px;border:1px dashed #dbe2eb;border-radius:12px;background:#fafbfc;text-align:center}body:has(.factures-page) .collections-report__empty-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:2px;border-radius:13px;background:#f2ecdd;color:#a5823f}body:has(.factures-page) .collections-report__empty strong{font-size:15px}body:has(.factures-page) .collections-report__empty p{max-width:420px;margin:0;color:#758298;font-size:12px;line-height:1.5}body:has(.factures-page) .collections-report__empty button{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:8px 11px;border:1px solid #c6ad77;border-radius:9px;background:#fff;color:#765b2b;font:inherit;font-size:12px;font-weight:800;cursor:pointer}body:has(.factures-page) .collections-report__empty button:hover{background:#fff8e9}body:has(.factures-page) .collections-report__table-scroll{overflow-x:auto;border:1px solid #e9edf2;border-radius:12px}body:has(.factures-page) .collections-report table{width:100%;min-width:690px;border-collapse:collapse;font-size:12px}body:has(.factures-page) .collections-report th{padding:11px 15px;text-align:left;color:#69778d;background:#f7f9fc;font-size:11px;font-weight:800;letter-spacing:.03em}body:has(.factures-page) .collections-report td{padding:14px 15px;border-top:1px solid #edf0f4;color:#344257;vertical-align:top}body:has(.factures-page) .collections-report tbody tr:hover{background:#fbfcfe}body:has(.factures-page) .collections-report td small{display:block;margin-top:5px;color:#738096;font-size:11px}body:has(.factures-page) .collections-report__client-name{display:block;margin-bottom:4px;color:#1c2940;font-size:12px}body:has(.factures-page) .collections-report__invoice-link{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#947036;font:inherit;font-weight:800;cursor:pointer}body:has(.factures-page) .collections-report__invoice-link:hover{text-decoration:underline}body:has(.factures-page) .collections-report__amount{white-space:nowrap;color:#172238!important;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}body:has(.factures-page) .collections-report__amount>span{color:#8c6b34;font-size:11px}body:has(.factures-page) .collections-report__amount small{font-size:11px;font-weight:500}body:has(.factures-page) .collections-report__status{display:inline-block;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}body:has(.factures-page) .collections-report__status--settled{background:#e8f7ef;color:#157347}body:has(.factures-page) .collections-report__status--partial{background:#fff5df;color:#975e0d}body:has(.factures-page) .collections-report__status--to_check{background:#ffedeb;color:#b42318}body:has(.factures-page) .collections-report__payments-table.is-expanded{max-height:420px;overflow-y:auto;scrollbar-gutter:stable}body:has(.factures-page) .collections-report__payments-table th{position:sticky;top:0;z-index:1;padding:9px 12px}body:has(.factures-page) .collections-report__payments-table td{padding:9px 12px;vertical-align:middle}body:has(.factures-page) .collections-report__payments-table .collections-report__client-name{max-width:360px;margin-bottom:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body:has(.factures-page) .collections-report__payments-table .collections-report__amount{font-size:13px}body:has(.factures-page) .collections-report__payment-date{width:85px;color:#64748b!important;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}body:has(.factures-page) .collections-report__invoice-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-size:11px}body:has(.factures-page) .collections-report__invoice-summary>span{color:#738096}body:has(.factures-page) .collections-report__preview-note{margin:9px 0 0;color:#738096;font-size:11px}body:has(.factures-page) .collections-report__days-list{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}body:has(.factures-page) .collections-report__days-list button{flex:0 0 166px;min-width:166px;gap:4px;padding:10px 12px}body:has(.factures-page) .collections-report__days-list .collections-report__values>span{font-size:14px}body:has(.factures-page) .collections-report__details{padding:16px 18px}body:has(.factures-page) .collections-report__note{margin-top:17px;padding:0 2px;font-size:11px}body:has(.factures-page) .collections-report__withholdings{margin-top:20px;padding:20px;background:#f6f4ff;border:1px solid #dcd7ed;border-radius:16px}body:has(.factures-page) .collections-report__withholdings h3{margin:8px 0;color:#443a69;font-size:18px}body:has(.factures-page) .collections-report__withholdings .collections-report__note{margin-top:4px;max-width:680px}body:has(.factures-page) .collections-report__withholdings .collections-report__table-scroll{margin-top:16px;background:#fff}body:has(.factures-page) .collections-report__withholding-total{min-width:180px}body:has(.factures-page) .collections-report__withholdings>p{font-size:13px;color:#66758a}@media(max-width:850px){body:has(.factures-page) .collections-report__heading{align-items:flex-start;flex-direction:column}body:has(.factures-page) .collections-report__cards{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.factures-page) .collections-report__card--month{grid-column:1 / -1}}@media(max-width:560px){body:has(.factures-page) .collections-report{margin:16px 0;padding:16px;border-radius:16px}body:has(.factures-page) .collections-report__cards{grid-template-columns:1fr}body:has(.factures-page) .collections-report__card--month{grid-column:auto}body:has(.factures-page) .collections-report__card{min-height:105px}body:has(.factures-page) .collections-report__days,body:has(.factures-page) .collections-report__details{padding:14px}body:has(.factures-page) .collections-report__days-list button{flex:0 0 155px;min-width:155px}body:has(.factures-page) .collections-report__control-row{flex-wrap:wrap}body:has(.factures-page) .collections-report__filters{padding:11px;gap:9px}body:has(.factures-page) .collections-report__filter{flex-basis:calc(50% - 6px)}body:has(.factures-page) .collections-report__filter--search{flex-basis:100%}body:has(.factures-page) .collections-report__section-heading{align-items:flex-start;flex-direction:column}body:has(.factures-page) .collections-report__detail-actions{justify-content:flex-start}}body:has(.factures-page) .business-document-intake{cursor:pointer;min-width:0}body:has(.factures-page) .business-document-intake>span,body:has(.factures-page) .business-document-intake>small{display:block}body:has(.factures-page) .business-document-intake>small{margin-top:3px;color:var(--text-muted);font-size:10px;font-weight:500}body:has(.factures-page) .business-document-intake.is-dragging{border-color:var(--primary, #b8924c)!important;background:var(--primary-soft, #fff8e7)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary, #b8924c) 18%,transparent)}body:has(.factures-page) .business-document-intake.is-disabled{cursor:not-allowed;opacity:.5}body:has(.factures-page) .ago-preparation__compact-intake{flex-shrink:0;padding:5px 9px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text-soft);font-size:11px;font-weight:650;white-space:nowrap}body:has(.factures-page) .ago-preparation__compact-intake>small{font-size:8px;white-space:normal}body:has(.factures-page) .invoice-contract-assistant-backdrop{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:20px;background:#0a12239e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}body:has(.factures-page) .invoice-contract-assistant{width:min(980px,100%);max-height:min(920px,calc(100dvh - 40px));display:flex;flex-direction:column;overflow:hidden;border:1px solid color-mix(in srgb,var(--border) 78%,#b8924c 22%);border-radius:24px;background:var(--surface);color:var(--text);box-shadow:0 34px 90px #070d1c52}body:has(.factures-page) .invoice-contract-assistant__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px;color:#fff;background:linear-gradient(128deg,#17223d,#243456 64%,#8f7339 160%)}body:has(.factures-page) .invoice-contract-assistant__eyebrow{display:block;margin-bottom:6px;color:#f4d98e;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}body:has(.factures-page) .invoice-contract-assistant__header h2{margin:0;font-size:24px;line-height:1.2}body:has(.factures-page) .invoice-contract-assistant__header p{margin:7px 0 0;color:#ffffffc2;font-size:13px}body:has(.factures-page) .invoice-contract-assistant__close{flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(255,255,255,.24);border-radius:13px;color:#fff;background:#ffffff14;font-size:27px;cursor:pointer}body:has(.factures-page) .invoice-contract-assistant__body{overflow-y:auto;padding:22px 28px 26px}body:has(.factures-page) .invoice-contract-assistant__loading{padding:60px 20px;text-align:center;color:var(--text-muted)}body:has(.factures-page) .invoice-contract-assistant__notice{margin-bottom:14px;padding:12px 14px;border-radius:12px;font-size:13px}body:has(.factures-page) .invoice-contract-assistant__notice--error{border:1px solid #fecaca;background:var(--danger-light, #fef2f2);color:#b42318}body:has(.factures-page) .invoice-contract-assistant__notice--success{border:1px solid #a7f3d0;background:var(--success-light, #ecfdf5);color:#166534}body:has(.factures-page) .invoice-contract-assistant__notice--info{border:1px solid #bfdbfe;background:var(--info-light, #eff6ff);color:#1e40af}body:has(.factures-page) .invoice-contract-assistant__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}body:has(.factures-page) .invoice-contract-assistant__summary>div{min-width:0;padding:13px 14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-muted)}body:has(.factures-page) .invoice-contract-assistant__summary small{display:block;margin-bottom:4px;color:var(--text-muted);font-size:10px;font-weight:700;text-transform:uppercase}body:has(.factures-page) .invoice-contract-assistant__summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}body:has(.factures-page) .invoice-contract-assistant__section{margin-top:16px;padding:18px;border:1px solid var(--border);border-radius:17px;background:var(--surface)}body:has(.factures-page) .invoice-contract-assistant__section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}body:has(.factures-page) .invoice-contract-assistant__section-title>div{display:flex;align-items:center;gap:10px}body:has(.factures-page) .invoice-contract-assistant__section-title span{display:grid;width:28px;height:28px;place-items:center;border-radius:9px;background:#17223d;color:#f4d98e;font-size:12px;font-weight:800}body:has(.factures-page) .invoice-contract-assistant__section-title h3{margin:0;font-size:16px}body:has(.factures-page) .invoice-contract-assistant__section-title em{padding:5px 9px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:10px;font-style:normal;font-weight:700}body:has(.factures-page) .invoice-contract-assistant__hint{margin:-4px 0 12px;color:var(--text-muted);font-size:12px}body:has(.factures-page) .invoice-contract-assistant__labels{display:grid;gap:10px}body:has(.factures-page) .invoice-contract-assistant__label-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.2fr);gap:14px;padding:12px;border-radius:13px;background:var(--surface-muted)}body:has(.factures-page) .invoice-contract-assistant__label-source small,body:has(.factures-page) .invoice-contract-assistant__label-edit label{display:block;margin-bottom:5px;color:var(--text-muted);font-size:10px;font-weight:800;text-transform:uppercase}body:has(.factures-page) .invoice-contract-assistant__label-source p{margin:0;color:var(--text-muted);font-size:12px;white-space:pre-wrap}body:has(.factures-page) .invoice-contract-assistant__label-edit textarea{width:100%;min-height:58px;resize:vertical;border:1px solid var(--border);border-radius:10px;padding:9px 10px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;box-sizing:border-box}body:has(.factures-page) .invoice-contract-assistant__source{display:block;margin-top:5px;color:var(--text-muted);font-size:10px}body:has(.factures-page) .invoice-contract-assistant__source--learned{color:#047857;font-weight:700}body:has(.factures-page) .invoice-contract-assistant__source--mistral{color:#6d28d9;font-weight:700}body:has(.factures-page) .invoice-contract-assistant__secondary,body:has(.factures-page) .invoice-contract-assistant__primary,body:has(.factures-page) .invoice-contract-assistant__cancel{min-height:42px;border-radius:11px;padding:9px 15px;font-weight:750;cursor:pointer}body:has(.factures-page) .invoice-contract-assistant__secondary{margin-top:13px;border:1px solid #a7f3d0;background:var(--success-light, #ecfdf5);color:#047857}body:has(.factures-page) .invoice-contract-assistant__basis{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}body:has(.factures-page) .invoice-contract-assistant__basis button{padding:14px;border:1px solid var(--border);border-radius:13px;text-align:left;background:var(--surface-muted);color:var(--text);font-weight:750;cursor:pointer}body:has(.factures-page) .invoice-contract-assistant__basis button small{display:block;margin-top:5px;color:var(--text-muted);font-weight:500;line-height:1.35}body:has(.factures-page) .invoice-contract-assistant__basis button.is-active{border-color:#b8924c;background:color-mix(in srgb,#b8924c 12%,var(--surface));box-shadow:inset 0 0 0 1px #b8924c}body:has(.factures-page) .invoice-contract-assistant__form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}body:has(.factures-page) .invoice-contract-assistant__form-grid label{color:var(--text-muted);font-size:11px;font-weight:750}body:has(.factures-page) .invoice-contract-assistant__form-grid input,body:has(.factures-page) .invoice-contract-assistant__form-grid select{display:block;width:100%;height:42px;margin-top:6px;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;padding:0 10px;background:var(--surface);color:var(--text);font:inherit}body:has(.factures-page) .invoice-contract-assistant__form-grid input:disabled{opacity:.5}body:has(.factures-page) .invoice-contract-assistant__wide{grid-column:1 / -1}body:has(.factures-page) .invoice-contract-assistant__warning{margin:11px 0 0;padding:9px 11px;border-radius:9px;background:var(--warning-light, #fffbeb);color:var(--warning-text, #92400e);font-size:11px}body:has(.factures-page) .invoice-contract-assistant__confirmation{display:flex;gap:11px;margin-top:18px;padding:15px;border:1px solid #bcd1ff;border-radius:14px;background:color-mix(in srgb,#2563eb 6%,var(--surface));cursor:pointer}body:has(.factures-page) .invoice-contract-assistant__confirmation input{margin-top:3px;accent-color:#2563eb}body:has(.factures-page) .invoice-contract-assistant__confirmation strong,body:has(.factures-page) .invoice-contract-assistant__confirmation small{display:block}body:has(.factures-page) .invoice-contract-assistant__confirmation small{margin-top:4px;color:var(--text-muted);font-size:11px}body:has(.factures-page) .invoice-contract-assistant__footer{display:flex;justify-content:flex-end;gap:10px;padding:15px 28px;border-top:1px solid var(--border);background:var(--surface)}body:has(.factures-page) .invoice-contract-assistant__cancel{border:1px solid var(--border);background:var(--surface);color:var(--text)}body:has(.factures-page) .invoice-contract-assistant__primary{border:none;background:linear-gradient(135deg,#b8924c,#8f7339);color:#fff;box-shadow:0 8px 22px #8f73393d}body:has(.factures-page) .invoice-contract-assistant__primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}@media(max-width:700px){body:has(.factures-page) .invoice-contract-assistant-backdrop{align-items:end;padding:0}body:has(.factures-page) .invoice-contract-assistant{width:100%;max-height:94dvh;border-radius:22px 22px 0 0}body:has(.factures-page) .invoice-contract-assistant__header{padding:18px 16px}body:has(.factures-page) .invoice-contract-assistant__header h2{font-size:19px}body:has(.factures-page) .invoice-contract-assistant__header p{font-size:11px;line-height:1.4}body:has(.factures-page) .invoice-contract-assistant__body{padding:15px 13px 20px}body:has(.factures-page) .invoice-contract-assistant__summary{grid-template-columns:1fr 1fr}body:has(.factures-page) .invoice-contract-assistant__section{padding:13px}body:has(.factures-page) .invoice-contract-assistant__section-title{align-items:flex-start}body:has(.factures-page) .invoice-contract-assistant__label-row{grid-template-columns:1fr;gap:10px}body:has(.factures-page) .invoice-contract-assistant__basis{grid-template-columns:1fr}body:has(.factures-page) .invoice-contract-assistant__form-grid{grid-template-columns:1fr 1fr}body:has(.factures-page) .invoice-contract-assistant__wide{grid-column:1 / -1}body:has(.factures-page) .invoice-contract-assistant__footer{padding:12px 13px calc(12px + env(safe-area-inset-bottom))}body:has(.factures-page) .invoice-contract-assistant__footer button{flex:1;font-size:12px}}@media(max-width:760px){body:has(.factures-page) .invoice-contract-entry-card{align-items:stretch!important;flex-direction:column}body:has(.factures-page) .invoice-contract-entry-card button{width:100%;min-height:46px;justify-content:center}}@media(max-width:420px){body:has(.factures-page) .invoice-contract-assistant__form-grid{grid-template-columns:1fr}body:has(.factures-page) .invoice-contract-assistant__wide{grid-column:auto}}
