:root{--brand:#0284c7;--brand-dark:#0369a1;--brand-soft:#e0f2fe;--accent:#f07533;--navy:#0c4a6e;--sky:#cdeafb;--sky-2:#b3dff8;--sky-line:#0c4a6e26;--sky-ink:#0c4a6e;--sky-muted:#36668a;--ink:#1e293b;--muted:#64748b;--line:#e2e8f0;--page:#f1f5f9;--ok:#15803d;--warn:#c2410c;--bad:#b91c1c}*{box-sizing:border-box}@media screen{html{font-size:14.5px}}body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--page);color:var(--ink)}a{color:var(--brand)}.shell{display:flex;min-height:100vh}main{flex:1 1;min-width:0;padding:1rem 2rem}.container{max-width:80rem;margin:0 auto}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;width:16.5rem;flex-shrink:0;display:flex;flex-direction:column;gap:1.25rem;padding:1rem;overflow-y:auto;overflow-x:hidden;background:var(--sky);border-right:3px solid var(--accent);color:var(--sky-ink);transition:width .2s}.sidebar.collapsed{width:4.25rem;padding:1rem .5rem}.sidebar-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.sidebar.collapsed .sidebar-top{flex-direction:column;align-items:center;gap:.75rem}.brand{display:flex;align-items:center;gap:.6rem;font-size:1.05rem;font-weight:800;line-height:1.15}.brand img,.sidebar .emblem{width:2.5rem;height:2.5rem;background:transparent;border-radius:.6rem;padding:3px}.brand span{display:block;color:var(--accent);font-size:.65rem;letter-spacing:2px}.collapse{width:2rem;height:2rem;flex-shrink:0;border:1px solid var(--sky-line);border-radius:.5rem;background:none;color:var(--sky-ink);font-size:1.1rem;line-height:1;cursor:pointer}.collapse:hover{background:var(--sky-2)}.navlinks{display:flex;flex-direction:column;gap:.25rem}.navicon{flex-shrink:0}.navgroup,.navlink{display:flex;align-items:center;gap:.75rem;width:100%;border-radius:.5rem;padding:.5rem .75rem;font:inherit;font-size:.93rem;color:var(--sky-ink);text-decoration:none;background:none;border:0;text-align:left;cursor:pointer}.navgroup{font-weight:600}.navgroup.current{color:var(--brand-dark)}.navgroup span:first-of-type,.navlink span{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navgroup:hover,.navlink:hover{background:var(--sky-2)}.navlink{padding:.4rem .75rem}.navlink.sub{padding-left:2.25rem}.navlink.active{background:var(--brand);color:#fff;font-weight:500;box-shadow:inset 3px 0 0 var(--accent)}.sidebar.collapsed .navlink{justify-content:center;padding:.55rem 0}.navsub{display:flex;flex-direction:column;gap:.125rem;margin-top:.125rem}.chevron{font-size:.8rem;transition:transform .15s}.chevron.open{transform:rotate(90deg)}.navutil{display:flex;flex-direction:column;gap:.125rem;margin-top:.5rem;padding-top:.5rem}.aside-user,.navutil{border-top:1px solid var(--sky-line)}.aside-user{margin-top:auto;padding-top:.75rem;font-size:.8rem;color:var(--sky-muted);line-height:1.6}.aside-user strong{display:block;color:var(--sky-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-top:.5rem;padding:.5rem .75rem;border:1px solid var(--sky-line);border-radius:.5rem;background:#ffffff99;color:var(--sky-ink);font:inherit;font-size:.9rem;font-weight:500;cursor:pointer}.logout:hover{background:#fff}.logout.icon{border:0;background:none;padding:.5rem 0}.mobilebar{display:none}.drawer{position:fixed;inset:0;z-index:40}.drawer .backdrop{position:absolute;inset:0;background:#00000066}.drawer .sidebar{position:absolute;inset:0 auto 0 0;width:18rem;max-width:85vw;height:100%}.grouptabs{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;border-bottom:1px solid var(--line)}.grouptabs nav{display:flex;flex-wrap:wrap;gap:0 .25rem;margin-bottom:-1px}.grouplabel{padding:.5rem .5rem .5rem 0;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.grouplabel,.grouptabs a{color:var(--muted);white-space:nowrap}.grouptabs a{padding:.5rem .75rem;border-bottom:2px solid transparent;font-size:.93rem;text-decoration:none}.grouptabs a:hover{color:var(--ink)}.tabs-right{margin-left:auto;display:flex;align-items:center;gap:.9rem}.grouptabs .helplink{padding:.5rem 0;border:0;color:var(--brand);white-space:nowrap}.grouptabs .helplink:hover{text-decoration:underline}.grouptabs a.active{border-bottom-color:var(--accent);color:var(--brand);font-weight:500}.bell,.bell>button{position:relative}.bell>button{display:flex;align-items:center;padding:.35rem;border:0;border-radius:.5rem;background:none;color:var(--ink);cursor:pointer}.bell>button:hover{background:var(--brand-soft)}.bell.dark>button{color:var(--sky-ink)}.bell.dark>button:hover{background:var(--sky-2)}.badge{position:absolute;top:-2px;right:-4px;min-width:1.1rem;padding:0 .3rem;border-radius:999px;background:var(--accent);color:#fff;font-size:.7rem;font-weight:700;line-height:1.1rem;text-align:center}.badge.red{background:var(--bad)}.bell-panel{position:absolute;right:0;top:calc(100% + .4rem);z-index:50;width:22rem;max-width:90vw;max-height:70vh;overflow-y:auto;padding:.75rem;border:1px solid var(--line);border-radius:.75rem;background:#fff;box-shadow:0 10px 30px #0f172a26;color:var(--ink)}.bell-panel>strong{display:block;margin-bottom:.5rem;color:var(--navy)}.bell-item{display:flex;flex-direction:column;gap:.15rem;padding:.55rem .6rem;border-left:3px solid var(--accent);border-radius:.4rem;color:var(--ink);text-decoration:none;font-size:.88rem}.bell-item+.bell-item{margin-top:.35rem}.bell-item.rouge{border-left-color:var(--bad)}.bell-item:hover{background:var(--page)}.bell-item small{color:var(--muted)}.inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.3rem}.inline-form input{width:auto;min-width:9rem}.tag{display:inline-block;margin:0 .3rem .3rem 0;padding:.1rem .5rem;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-size:.8rem}.alerts{display:flex;flex-direction:column;gap:.4rem}header.pagehead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.75rem;margin-bottom:1.25rem}h1{margin:0;font-size:1.6rem;font-weight:700;color:var(--navy)}header.pagehead p{margin:.15rem 0 0;font-size:.93rem;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:1rem;gap:1rem}.cards.four{grid-template-columns:repeat(4,1fr)}.cards article,.panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:.75rem}.cards article{padding:1rem;border-top:3px solid var(--accent)}.cards small{font-size:.8rem;color:var(--muted)}.cards h2{margin:.25rem 0 0;font-size:1.3rem;font-weight:700;color:var(--brand);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cards h2.warn{color:var(--warn)}.panel{margin-top:1rem;padding:1rem}.panel>h2{margin:-1rem -1rem 1rem;padding:.75rem 1rem;border-bottom:1px solid var(--line);font-size:1rem;font-weight:600;color:var(--navy)}.panel p{margin:.5rem 0;font-size:.93rem;line-height:1.6;color:var(--muted)}.kpi-section{margin-top:1rem}.kpi-section>h2{margin:0 0 .6rem;font-size:.8rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(13.5rem,1fr));grid-gap:.75rem;gap:.75rem}.kpi{display:flex;flex-direction:column;gap:.2rem;min-width:0;padding:.9rem 1rem;border:1px solid var(--line);border-top:3px solid var(--brand);border-radius:.75rem;background:#fff;color:var(--ink);text-decoration:none}.kpi.kpi-link:hover{border-color:var(--brand);box-shadow:0 2px 10px #0284c71f}.kpi small{font-size:.8rem;color:var(--muted)}.kpi-value{font-size:1.35rem;font-weight:700;color:var(--navy);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kpi-value.warn{color:var(--warn)}.kpi-value.ok{color:var(--ok)}.kpi-hint{font-size:.78rem;color:var(--muted)}.dash-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:0 1rem;gap:0 1rem}.sharebar{display:inline-block;width:4.5rem;height:8px;margin-left:.5rem;border-radius:4px;background:var(--brand-soft);vertical-align:middle;overflow:hidden}.sharebar>span{display:block;height:100%;border-radius:0 4px 4px 0;background:var(--brand)}.monthbars{margin:0}.monthbars-plot{display:flex;align-items:flex-end;gap:2px;height:11rem;padding:0 .25rem;border-bottom:1px solid var(--line)}.monthbars-col{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0;cursor:default}.monthbars-col:hover .monthbars-bar{background:var(--brand-dark)}.monthbars-bar{width:100%;max-width:24px;border-radius:4px 4px 0 0;background:var(--brand)}.monthbars-value{min-height:1.1rem;font-size:.72rem;color:var(--ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.monthbars-labels{display:flex;gap:2px;padding:.3rem .25rem 0}.monthbars-labels span{flex:1 1;text-align:center;font-size:.75rem;color:var(--muted)}.monthbars figcaption{margin-top:.4rem}.sr-only{clip:rect(0 0 0 0)}@media (max-width:900px){.dash-cols{grid-template-columns:1fr}}.tablewrap{overflow-x:auto;margin:0 -1rem;padding:0 1rem}.tablewrap table{min-width:620px}table{width:100%;border-collapse:collapse;text-align:left;font-size:.93rem}th{padding:.5rem .75rem;border-bottom:1px solid var(--line);font-size:.8rem;font-weight:500;color:var(--muted);white-space:nowrap}td{padding:.6rem .75rem;border-bottom:1px solid #e2e8f0b3;vertical-align:top}tbody tr:last-child td{border-bottom:0}tfoot td,tfoot th{border-top:1px solid var(--line);border-bottom:0}tfoot th{color:var(--ink);font-size:.93rem;font-weight:700}td input{min-width:110px}tr.cancelled td{color:#94a3b8;text-decoration:line-through}tr.cancelled td:last-child,tr.cancelled td:nth-last-child(2){text-decoration:none}tr.inactive td{color:#94a3b8}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.9rem 1.25rem;gap:.9rem 1.25rem}.span2{grid-column:1/-1}.span2:empty{display:none}label{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem;font-weight:500;color:var(--muted)}input,select{width:100%;padding:.5rem .75rem;border:1px solid var(--line);border-radius:.5rem;background:#fff;color:var(--ink);font:inherit;font-size:.93rem;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--brand);box-shadow:0 0 0 3px #0284c733}input:disabled,select:disabled{background:#f8fafc}input.invalid{border-color:var(--bad);background:#fef2f2}fieldset.checks{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:0;padding:.6rem .9rem;border:1px solid var(--line);border-radius:.5rem}fieldset.checks legend{padding:0 .3rem;font-size:.8rem;font-weight:500;color:var(--muted)}label.check{flex-direction:row;align-items:center;align-self:center;gap:.5rem;color:var(--ink)}label.check input{width:auto}button{font:inherit}button:disabled{opacity:.6;cursor:not-allowed}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;font-size:.93rem;font-weight:500;cursor:pointer;align-self:flex-end;transition:background .15s}a.primary,a.secondary{text-decoration:none}.primary{border:0;background:var(--brand);color:#fff}.primary:hover:not(:disabled){background:var(--brand-dark)}.secondary{border:1px solid var(--line);background:#fff;color:var(--ink)}.secondary:hover:not(:disabled){background:#f8fafc}.formgrid>.primary,.formgrid>.secondary{justify-self:start}.link{padding:0;border:0;background:none;color:var(--brand);cursor:pointer;text-decoration:underline}.notice{margin-bottom:1rem;padding:.7rem .9rem;border-radius:.5rem;background:var(--brand-soft);color:var(--brand-dark);font-size:.93rem}.notice .report{margin:.5rem 0 0;padding-left:1.2rem;font-size:.85rem}.notice.error{background:#fef2f2;color:var(--bad)}.muted{margin-top:.2rem;font-size:.8rem;color:var(--muted)}.warn{color:var(--warn);font-weight:600}.addline,.filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1rem}.addline label{flex:1 1;min-width:220px}.filters label{min-width:180px}.filters a{align-self:center;font-size:.93rem}a.chip{padding:.3rem .8rem;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:.85rem;text-decoration:none}a.chip.active{border-color:var(--brand);background:var(--brand);color:#fff}.totalbar{flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1rem;font-size:1.1rem}.invoice-head,.totalbar{display:flex;justify-content:space-between}.invoice-head{align-items:flex-start;gap:1.25rem;margin-bottom:1.5rem;line-height:1.7}.company{display:flex;gap:.9rem;align-items:flex-start;max-width:55%;font-size:.9rem;line-height:1.5;color:var(--muted)}.company img{width:140px;max-width:40%}.company strong{color:var(--navy);font-size:1rem}.signature{margin-top:2rem!important;text-align:right;color:var(--ink)!important;font-weight:600}.docfooter{margin-top:1.5rem!important;padding-top:.6rem;border-top:1px solid var(--line);font-size:.8rem!important;text-align:center}.invoice-head h2{margin:0 0 .4rem;color:var(--navy)}.invoice-client{display:flex;flex-direction:column;gap:.2rem;max-width:360px;margin-bottom:1.25rem;padding:.9rem;border-radius:.6rem;background:var(--page)}.invoice-client small{color:var(--muted)}.login{display:grid;place-items:center;min-height:100vh;padding:1rem}.login-card{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:400px;margin:0;padding:1.5rem;border-top:4px solid var(--accent)}.login-card>h1,.login-card>p{margin:0;text-align:center}.login-card h1{font-size:1.4rem}.login-logo{width:220px;max-width:100%;align-self:center}.login-card .primary{align-self:stretch}.printonly{display:none}@media print{.printonly{display:block;margin-bottom:1rem}.noprint{display:none!important}body{background:#fff}.shell{display:block}main{padding:0}.panel{margin:0}.panel,.panel>h2{border:0;padding:0}.panel>h2{margin:0 0 1rem}.tablewrap{margin:0;padding:0}.tablewrap table{min-width:0}}@media (max-width:1000px){.cards.four{grid-template-columns:repeat(2,1fr)}}@media (max-width:1024px){.shell{flex-direction:column}.shell>.sidebar,.tabs-right .bell{display:none}.mobilebar{position:-webkit-sticky;position:sticky;top:0;z-index:30;justify-content:space-between;background:var(--sky);border-bottom:3px solid var(--accent)}.mobilebar,.mobilebar button{display:flex;align-items:center;padding:.5rem .75rem}.mobilebar button{gap:.5rem;border:1px solid var(--sky-line);border-radius:.5rem;background:none;color:var(--sky-ink);font-size:.93rem;font-weight:500}.mobilebar img{width:2.2rem;height:2.2rem;background:#fff;border-radius:.5rem;padding:2px}main{padding:1.25rem 1rem}}@media (max-width:700px){.cards,.cards.four,.formgrid{grid-template-columns:1fr}input,select{font-size:16px}}tr[id^=paiement-]{scroll-margin-top:5rem}tr[id^=paiement-]:target{background:#e0f2fe}.page-screens{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.5rem}.page-screens a{padding:.65rem 1rem;border:1px solid var(--line);border-radius:.6rem;background:#fff;color:var(--muted);text-decoration:none;font-weight:500}.page-screens a:hover{border-color:var(--brand);color:var(--brand)}.page-screens a.selected{background:var(--brand);color:#fff;border-color:var(--brand)}.screen-pane{min-width:0}.screen-form{max-width:54rem;margin:0 auto}.screen-pane .panel{padding:1.5rem}.screen-pane .panel>h2{margin:-1.5rem -1.5rem 1.25rem;padding:1rem 1.5rem;background:#f8fafc;border-radius:.75rem .75rem 0 0}.screen-stack:empty{display:none}.grouptabs.compact{padding-bottom:.75rem;align-items:center}.page-picker{min-width:12rem;max-width:22rem;margin:0}.page-picker select{margin:0;background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:650px){.grouptabs.compact{flex-wrap:wrap}.page-picker{flex:1 1;min-width:8rem}.page-screens{gap:.4rem}.page-screens a{padding:.55rem .75rem;font-size:.9rem}.screen-pane .panel{padding:1rem}.screen-pane .panel>h2{margin:-1rem -1rem 1rem;padding:.8rem 1rem}}.panel{padding:1.25rem;margin-top:1.25rem}.panel>h2{margin:-1.25rem -1.25rem 1rem;padding:.9rem 1.25rem;background:#f8fafc;border-radius:.75rem .75rem 0 0}.formgrid{row-gap:1.1rem}.dashboard-detail>summary{cursor:pointer;font-weight:600;color:var(--navy)}.dashboard-detail[open]>summary{margin-bottom:1rem}@media print{.dashboard-detail{display:none}}label>span:has(>input[type=checkbox]){display:flex;align-items:center;gap:.6rem;line-height:1.5}input[type=checkbox]{width:1.1rem;height:1.1rem;flex-shrink:0;accent-color:var(--brand)}.screen-pane details>summary{cursor:pointer;color:var(--brand);padding:.4rem 0}@media print{.screen-pane{max-width:none}}.account-balance.account-balance-red{color:#b91c1c}.account-balance.account-balance-green{color:#15803d}.account-balance.account-balance-neutral{color:#64748b}[data-profit-color=red]{color:#b91c1c}[data-profit-color=green]{color:#15803d}[data-profit-color=neutral]{color:#64748b}.branch-document-name{margin:.5rem 0;color:#14344d}.document{background:white;padding:1.5rem;border:1px solid var(--line);border-radius:8px}.document table{width:100%}.document .total{text-align:right;font-size:1.15rem;font-weight:700}@media print{.document{border:0;padding:0}.branch-document-name{color:#000}.company-report .tablewrap{overflow:visible}.company-report table{width:100%;table-layout:fixed;font-size:9pt}.company-report td,.company-report th{white-space:normal;overflow-wrap:anywhere;padding:.3rem}.company-report tr{page-break-inside:avoid;break-inside:avoid}.company-report h2,.company-report h3{page-break-after:avoid;break-after:avoid}}.navgroup-heading{display:flex;align-items:stretch}.navgroup-heading .navgroup{flex:1 1;min-width:0}.navgroup-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 2.25rem;border:0;border-radius:.5rem;background:none;color:var(--sky-ink);cursor:pointer}.navgroup-toggle:hover{background:var(--sky-2)}.workspace-navigation{min-width:0;margin-bottom:1rem}.workspace-navigation .grouptabs{margin-bottom:.5rem}.workspace-tabs{display:flex;gap:.4rem;overflow-x:auto;max-width:100%;padding:.25rem 0 .5rem}.workspace-tabs a{display:inline-flex;align-items:center;flex-shrink:0;padding:.55rem .8rem;border:1px solid var(--line);border-radius:.5rem;background:#fff;color:var(--muted);text-decoration:none;font-size:.9rem}.workspace-tabs a:hover{border-color:var(--brand);color:var(--brand)}.workspace-tabs a.selected{background:var(--brand);color:#fff;border-color:var(--brand)}.workspace-tabs.functions{flex-wrap:wrap;overflow:visible;border-bottom:1px solid var(--line)}.workspace-tabs.functions a{background:var(--sky-2);color:var(--sky-ink)}.workspace-tabs.functions a.selected{background:var(--brand);color:#fff}.workspace-navigation .grouplabel{white-space:normal;min-width:0;overflow-wrap:anywhere}.branded-invoice,.screen-pane .branded-invoice{--document-blue:#292eaa;--document-orange:#f47a32;display:flex;flex-direction:column;padding:0;max-width:900px;min-height:980px;margin:0 auto 1.5rem;overflow:hidden;border:1px solid #d9dce6;border-radius:0;color:#252a35;background:#fff;font-family:Arial,sans-serif}.branded-invoice-header{display:flex;align-items:stretch;background:#252a35;border-bottom:7px solid var(--document-orange)}.invoice-title{width:39%;flex-shrink:0;position:relative;padding:2rem 1.4rem 2rem 2rem;background:var(--document-blue);color:white;display:flex;flex-direction:column;justify-content:center;gap:.55rem}.invoice-title:after{content:"";position:absolute;right:-28px;top:0;height:100%;width:28px;background:var(--document-blue);-webkit-clip-path:polygon(0 0,100% 100%,0 100%);clip-path:polygon(0 0,100% 100%,0 100%)}.invoice-title>span{font-family:Arial Narrow,Impact,sans-serif;font-size:2.2rem;font-weight:700;line-height:1.05;text-transform:uppercase;letter-spacing:.02em;overflow-wrap:anywhere}.invoice-title small{font-size:.82rem;overflow-wrap:anywhere}.invoice-identity{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem 1.25rem 2.6rem;min-width:0;flex:1 1;color:#fff}.invoice-identity img{width:96px;height:82px;object-fit:contain;background:transparent;flex-shrink:0}.invoice-identity>div{display:flex;flex-direction:column;gap:.15rem;font-size:.76rem;overflow-wrap:anywhere}.invoice-identity strong{font-family:Arial Narrow,Impact,sans-serif;font-size:1.1rem;letter-spacing:.035em;text-transform:uppercase}.branded-invoice>:not(.branded-invoice-header):not(.branded-document-footer){margin-left:2rem;margin-right:2rem}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;grid-gap:2rem;gap:2rem;padding:2rem 0 1.5rem;font-size:.9rem}.invoice-recipient{display:flex;flex-direction:column;gap:.3rem;overflow-wrap:anywhere}.invoice-recipient small{color:#697181;text-transform:uppercase;letter-spacing:.08em}.invoice-recipient strong{font-size:1.05rem;text-transform:uppercase}.invoice-metadata>div{display:grid;grid-template-columns:1fr 1.2fr;grid-gap:.65rem;gap:.65rem;margin-bottom:.4rem}.invoice-metadata b{font-weight:500;color:#697181}.invoice-metadata a,.invoice-metadata span{overflow-wrap:anywhere}.branded-invoice .invoice-client{max-width:none;background:#f5f6fa;border-radius:0;border-left:3px solid var(--document-orange);font-size:.82rem}.branded-invoice table{min-width:0;width:100%;font-size:.85rem}.branded-invoice thead th{background:var(--document-blue);color:#fff;font-weight:500;text-transform:uppercase;letter-spacing:.03em;padding:.75rem .6rem}.branded-invoice td{padding:.7rem .6rem;border-bottom:1px solid #dadde4;overflow-wrap:anywhere}.branded-invoice tbody tr:nth-child(2n){background:#f3f4f7}.branded-invoice tfoot th{background:var(--document-blue);color:#fff;padding:.75rem .6rem}.branded-invoice tfoot th:first-child{text-align:right}.branded-invoice .tablewrap{overflow:auto}.invoice-ending{display:grid;grid-template-columns:1fr 1fr;grid-gap:2rem;gap:2rem;padding:1.5rem 0;margin-top:auto;font-size:.83rem;page-break-inside:avoid;break-inside:avoid}.document-currency{color:#697181;font-size:.78rem}.document-signature{text-align:center;justify-self:end;max-width:260px;width:100%}.document-signature>p{margin:0 0 1rem;font-size:.9rem}.signature-line{margin:1rem auto 0;padding-top:.35rem;border-top:1px solid #b5b8c5;width:80%;font-size:.72rem;color:#697181}.branch-stamp{width:100%;max-width:270px;color:#292eaa;border:4px solid;outline:1px solid currentColor;outline-offset:-10px;border-radius:12px;padding:16px 14px;text-align:center;background:transparent;page-break-inside:avoid;break-inside:avoid}.branch-stamp>strong{display:block;font-family:Arial Narrow,Impact,sans-serif;font-size:1.75rem;line-height:1.15;letter-spacing:.04em;font-weight:900}.stamp-divider{display:flex;align-items:center;gap:.5rem;margin:.3rem 0;font-size:1.1rem}.stamp-divider:after,.stamp-divider:before{content:"";height:2px;background:currentColor;flex:1 1}.stamp-branch{font-weight:800;font-size:.95rem;overflow-wrap:anywhere;display:block}.company-stamp{margin:0 auto;display:flex;flex-direction:column;gap:.15rem;border:2px solid #292eaa;outline:1px solid #292eaa;outline-offset:-6px;border-radius:50%;color:#292eaa;width:195px;min-height:110px;padding:.65rem 1rem;font-size:.68rem}.company-stamp strong{font-size:.72rem}.company-stamp img{width:35px;height:35px;object-fit:contain;margin:0 auto}.branded-document-footer{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 2rem;background:#252a35;border-top:5px solid var(--document-orange);color:#fff;font-size:.74rem;overflow-wrap:anywhere}.branded-document-footer strong{text-align:right}.payment-receipts{width:100%;max-width:900px;margin:1rem auto;display:flex;flex-direction:column;gap:2rem;font-family:Arial,sans-serif;color:#20232c}.payment-receipt{border:1px solid #20232c;padding:1rem;background:#fff;min-height:460px;page-break-inside:avoid;break-inside:avoid}.receipt-header{display:grid;grid-template-columns:95px 1fr 85px;grid-gap:.8rem;gap:.8rem;align-items:center;text-align:center;padding-bottom:.8rem;border-bottom:2px solid #292eaa}.receipt-logo{width:95px;height:80px;object-fit:contain}.receipt-header strong{font-family:Arial Narrow,Impact,sans-serif;text-transform:uppercase;font-size:1.2rem;letter-spacing:.025em;color:#292eaa}.receipt-header p{margin:.15rem 0;font-size:.85rem}.receipt-qr{width:85px;height:85px}.receipt-branch{color:#292eaa;font-weight:700}.receipt-title{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin:1rem 0}.receipt-title h2{font-size:1.1rem;margin:0;color:#20232c}.receipt-title small{font-size:.65rem;color:#697181}.receipt-details{display:grid;grid-template-columns:1.2fr 1fr;grid-gap:2rem;gap:2rem;margin-bottom:1.25rem}.receipt-details dl{margin:0;font-size:.85rem}.receipt-details dl>div{display:grid;grid-template-columns:95px 1fr;grid-gap:.5rem;gap:.5rem;padding:.45rem 0;border-bottom:1px solid #dedfe3}.receipt-details dt{font-weight:700;text-transform:uppercase}.receipt-details dd{margin:0;font-weight:700;overflow-wrap:anywhere}.receipt-amount{width:100%;border-collapse:collapse;font-size:.95rem}.receipt-amount td,.receipt-amount th{width:50%;text-align:center;border:1px solid #20232c;padding:.55rem;color:#20232c}.receipt-amount th{background:#e7e7ed}.receipt-amount td{font-weight:700}.receipt-purpose,.receipt-words{margin:.75rem 0;font-size:.86rem;overflow-wrap:anywhere}.receipt-signatures{display:grid;grid-template-columns:1fr 1fr;grid-gap:2rem;gap:2rem;margin-top:1rem}.receipt-signatures>div:first-child{display:flex;flex-direction:column;justify-content:space-between}.receipt-signatures p{margin:0 0 .5rem;font-size:.86rem}.receipt-signatures .document-signature{max-width:220px}.receipt-signatures .branch-stamp{padding:13px}.receipt-signatures .branch-stamp>strong{font-size:1.35rem}.receipt-author{display:block;color:#697181;font-size:.65rem;margin-top:.5rem}.receipt-annulled{color:#b91c1c;border:2px solid;padding:.4rem;text-align:center;font-weight:700}@media(max-width:650px){.branded-invoice{min-height:0}.branded-invoice-header{flex-direction:column}.invoice-title{width:100%;padding:1.25rem}.invoice-title:after{display:none}.invoice-title>span{font-size:1.75rem}.invoice-identity{padding:1rem}.invoice-identity img{width:75px;height:60px}.branded-invoice>:not(.branded-invoice-header):not(.branded-document-footer){margin-left:1rem;margin-right:1rem}.invoice-ending,.invoice-parties{grid-template-columns:1fr;gap:1rem}.branded-invoice table{min-width:530px}.branded-document-footer{flex-wrap:wrap;padding:1rem}.receipt-header{grid-template-columns:65px 1fr}.receipt-logo{width:65px;height:60px}.receipt-qr{grid-column:1;width:65px;height:65px}.receipt-header>div{grid-row:span 2;font-size:.75rem;overflow-wrap:anywhere}.receipt-header strong{font-size:1rem}.receipt-details,.receipt-signatures{grid-template-columns:1fr;gap:.75rem}.receipt-title{flex-wrap:wrap}.payment-receipt{min-height:0}.receipt-signatures .document-signature{margin-left:auto}}@media print{@page{size:A4 portrait;margin:10mm}.branded-invoice,.screen-pane .branded-invoice{min-height:265mm;max-width:none;border:0;padding:0;margin:0;display:block}.branded-invoice-header{display:flex;flex-direction:row;page-break-inside:avoid;break-inside:avoid}.invoice-title{width:39%;padding:1.25rem}.invoice-title:after{display:block}.invoice-identity{padding:1rem 1rem 1rem 2rem}.invoice-identity img{width:80px;height:65px}.branded-invoice>:not(.branded-invoice-header):not(.branded-document-footer){margin-left:6mm;margin-right:6mm}.invoice-ending,.invoice-parties{display:grid;grid-template-columns:1fr 1fr}.branded-invoice .tablewrap{overflow:visible}.branded-invoice table{min-width:0;font-size:9pt}.branded-invoice td,.branded-invoice th{padding:.5rem}.branded-invoice thead{display:table-header-group}.branded-invoice tfoot{display:table-row-group}.branded-invoice tr{page-break-inside:avoid;break-inside:avoid}.branded-document-footer,.branded-invoice tfoot th,.branded-invoice thead th,.branded-invoice-header,.invoice-title,.receipt-amount th{print-color-adjust:exact;-webkit-print-color-adjust:exact}.branded-document-footer{page-break-inside:avoid;break-inside:avoid}.payment-receipts{margin:0;max-width:none;gap:10mm}.payment-receipt{min-height:128mm;padding:4mm;font-size:9pt;box-sizing:border-box}.receipt-header{grid-template-columns:22mm 1fr 20mm;padding-bottom:3mm}.receipt-logo{width:22mm;height:19mm}.receipt-qr{width:20mm;height:20mm;grid-column:auto}.receipt-header>div{grid-row:auto}.receipt-header strong{font-size:12pt}.receipt-header p{font-size:9pt}.receipt-title{margin:3mm 0}.receipt-title h2{font-size:11pt}.receipt-details{display:grid;grid-template-columns:1.2fr 1fr;grid-gap:5mm;gap:5mm;margin-bottom:3mm}.receipt-details dl{font-size:9pt}.receipt-details dl>div{grid-template-columns:22mm 1fr;padding:1.5mm 0}.receipt-amount{font-size:10pt}.receipt-amount td,.receipt-amount th{padding:2mm}.receipt-purpose,.receipt-words{margin:2mm 0;font-size:9pt}.receipt-signatures{display:grid;grid-template-columns:1fr 1fr;grid-gap:5mm;gap:5mm;margin-top:3mm}.receipt-signatures .document-signature{width:48mm}.receipt-signatures .branch-stamp>strong{font-size:14pt}.receipt-signatures .branch-stamp{padding:3mm}.signature-line{margin-top:3mm}.company-stamp{width:43mm;min-height:22mm;padding:2mm 3mm;font-size:7pt}.company-stamp img{width:7mm;height:7mm}.receipt-author{font-size:7pt}}.receipt-amount tbody tr:last-child td{border-bottom:1px solid #20232c}@media print{main{padding:0!important}.branded-invoice,.screen-pane .branded-invoice,.shell{min-height:0}.invoice-parties{padding:5mm 0;font-size:10pt}.branded-invoice .invoice-client{padding:2.5mm;font-size:9pt}.branded-invoice .invoice-client>div{line-height:1.25}.branded-invoice .tablewrap td .muted{font-size:8pt}.branded-invoice>p{font-size:9pt;line-height:1.25}.invoice-ending{padding:3mm 0}.branded-document-footer{padding:3mm 6mm}.payment-receipts{gap:8mm}.payment-receipt{min-height:125mm;line-height:1.2}.receipt-header{padding-bottom:2mm}.receipt-title{margin:2.5mm 0}.receipt-details dl>div{padding:1mm 0}.receipt-signatures .company-stamp{line-height:1.1}.receipt-signatures .company-stamp span,.receipt-signatures .company-stamp strong{font-size:7pt}.receipt-signatures .company-stamp img{width:6mm;height:6mm}}.branded-invoice a{color:var(--document-blue);text-decoration:none}.company-stamp{display:block;width:200px;padding:0;min-height:0;border:0;outline:0}.company-stamp svg{display:block;width:100%;height:auto;font-family:Arial,sans-serif}@media print{.company-stamp{width:43mm;min-height:0;padding:0}.receipt-header p{line-height:1.1}.receipt-details dl>div{grid-template-columns:26mm 1fr}.receipt-signatures,.receipt-signatures .signature-line{margin-top:2mm}.receipt-signatures .branch-stamp{padding:2.5mm}.receipt-author{font-size:6pt;margin-top:1mm;line-height:1.1}}.invoice-ending.with-branch,.receipt-signatures.with-branch{grid-template-columns:1fr 1fr 1fr;align-items:end;gap:1rem}.document-branch-stamp{display:flex;justify-content:center;align-items:end;padding-bottom:1.8rem;min-width:0}.receipt-signatures.with-branch .document-signature{width:100%}.receipt-signatures.with-branch .company-stamp{max-width:100%}.receipt-signatures.with-branch .branch-stamp{max-width:190px;padding:12px}.receipt-signatures.with-branch .branch-stamp>strong{font-size:1.05rem}.receipt-signatures.with-branch .stamp-branch{font-size:.8rem}@media screen and (max-width:650px){.invoice-ending.with-branch,.receipt-signatures.with-branch{grid-template-columns:1fr}.document-branch-stamp{grid-row:3;padding-bottom:0}}@media print{.invoice-ending.with-branch,.receipt-signatures.with-branch{grid-template-columns:1fr 1fr 1fr;gap:3mm}.document-branch-stamp{padding-bottom:6mm}.receipt-signatures.with-branch .document-signature{width:100%}.receipt-signatures.with-branch .company-stamp{width:40mm;max-width:100%}.receipt-signatures.with-branch .branch-stamp{width:100%;padding:2.5mm}.receipt-signatures.with-branch .branch-stamp>strong{font-size:11pt}.receipt-signatures.with-branch .stamp-branch{font-size:8pt}}.receipt-signatures.with-branch>div:first-child{align-self:stretch}@media print{.branded-invoice.invoice-single-page,.screen-pane .branded-invoice.invoice-single-page{display:flex;min-height:265mm}.invoice-single-page .invoice-ending{margin-top:auto}}.document-asset{min-width:0;padding:1rem;border:1px solid var(--line);border-radius:.6rem}.document-asset img,.document-assets-preview img{max-width:100%;width:180px;height:100px;object-fit:contain;display:block;margin:.5rem 0;background:#fff}.document-asset input[type=file]{max-width:100%}.uploaded-signature{display:block;width:140px;max-width:100%;height:45px;object-fit:contain;margin:.3rem auto}.custom-stamp{display:block;width:100%;max-width:230px;max-height:120px;object-fit:contain;margin:0 auto}.payment-receipt .receipt-branch,.payment-receipt .receipt-header strong{color:var(--document-blue,#292eaa)}.payment-receipt .receipt-header{border-bottom-color:var(--document-blue,#292eaa)}.branded-document-footer{border-top-color:var(--document-orange,#f47a32)}.workspace-logo{width:42px;height:34px;object-fit:contain;flex-shrink:0;background:transparent}@media print{.receipt-signatures .uploaded-signature{width:35mm;height:8mm;margin:1mm auto}.receipt-signatures .custom-stamp{max-width:40mm;max-height:20mm}.receipt-signatures .document-signature:has(.uploaded-signature) .company-stamp{width:36mm;max-width:100%}}@media print{.document-signature>.custom-stamp{max-width:43mm;max-height:20mm}.document-signature>.uploaded-signature{height:7mm;width:40mm}.receipt-signatures .document-signature>.custom-stamp{max-height:17mm}.receipt-signatures .uploaded-signature{height:7mm;width:35mm}.payment-receipt:has(.uploaded-signature) .receipt-header{grid-template-columns:20mm 1fr 18mm}.payment-receipt:has(.uploaded-signature) .receipt-logo{width:20mm;height:17mm}.payment-receipt:has(.uploaded-signature) .receipt-qr{width:18mm;height:18mm}}.document-qr{width:100px;height:100px;object-fit:contain;flex:0 0 auto;background:white}.branded-invoice-header>.document-qr{align-self:center;margin:.7rem .7rem .7rem 0}.company>.document-qr{width:90px;height:90px;max-width:none;margin-left:auto}@media (max-width:700px){.branded-invoice-header>.document-qr{margin:0 1rem 1rem;align-self:flex-end}.company{max-width:100%;flex-wrap:wrap}}@media print{.branded-invoice-header>.document-qr{width:24mm;height:24mm;margin:2mm 2mm 2mm 0;align-self:center}.company>.document-qr,.receipt-qr{width:24mm;height:24mm}.branded-invoice .invoice-title{width:30%;padding:1rem}.branded-invoice .invoice-title>span{font-size:1.8rem}.branded-invoice .invoice-identity{padding:.7rem .7rem .7rem 1.8rem;gap:.6rem}.branded-invoice .invoice-identity img{width:72px;height:60px}.branded-invoice .invoice-parties{padding:1rem 0;gap:1rem}.branded-invoice .invoice-client{display:grid;grid-template-columns:1fr 1fr;grid-gap:1mm 4mm;gap:1mm 4mm;padding:3mm;margin-bottom:3mm}.branded-invoice td,.branded-invoice th{padding:.35rem .5rem}.branded-invoice .invoice-ending{padding:1rem 0}.branded-invoice .branded-document-footer{padding-top:.7rem;padding-bottom:.7rem}}.company{display:grid;grid-template-columns:100px minmax(0,1fr) 100px;max-width:100%;width:100%;min-width:0}.company>img:not(.document-qr){width:100px;object-fit:contain}.invoice-head{flex-wrap:wrap}.invoice-head>.company{flex-basis:100%}@media screen and (max-width:650px){.company{grid-template-columns:65px minmax(0,1fr)}.company>.document-qr{grid-column:2;justify-self:end}}@media print{.company{grid-template-columns:24mm minmax(0,1fr) 24mm;gap:4mm}.company>img:not(.document-qr){width:24mm}.payment-receipt:has(.uploaded-signature) .receipt-header,.receipt-header{grid-template-columns:20mm 1fr 24mm;padding-bottom:1mm}.payment-receipt:has(.uploaded-signature) .receipt-qr,.receipt-qr{width:24mm;height:24mm}}main{background-image:linear-gradient(rgba(240,247,252,.89),rgba(240,247,252,.89)),url(/document-watermark.jpg);background-size:auto,min(70vw,600px) auto;background-position:50%;background-repeat:no-repeat;background-attachment:fixed}@media screen{.cards article,.panel{background-color:rgba(255,255,255,.83)}.branded-invoice,.company-report,.invoice,.payment-receipt,.screen-pane .branded-invoice{background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.95)),url(/document-watermark.jpg);background-size:auto,70% auto;background-position:50%;background-repeat:no-repeat}}.document-qr-bottom{display:flex;justify-content:flex-end;margin-top:1rem;page-break-inside:avoid;break-inside:avoid}.invoice-ending>div:first-child{display:flex;flex-direction:column;align-items:flex-start}.invoice-ending .document-qr{margin-top:auto}.receipt-header{grid-template-columns:95px 1fr}.receipt-party-signature{display:flex;flex-direction:column;align-items:flex-start}.receipt-party-signature .receipt-qr{margin-top:auto}@media print{main{position:relative;isolation:isolate;background-image:none}main:before{content:"";position:fixed;top:60mm;left:0;right:0;margin:auto;width:145mm;height:145mm;background:url(/document-watermark.jpg) 50%/contain no-repeat;opacity:.045;z-index:-1;pointer-events:none}.branded-invoice,.cards article,.company-report,.panel,.payment-receipt,.screen-pane .branded-invoice{background-color:transparent;background-image:none}.payment-receipt:has(.uploaded-signature) .receipt-header,.receipt-header{grid-template-columns:20mm 1fr}.receipt-party-signature .receipt-qr{margin-top:2mm;width:24mm;height:24mm}.document-qr-bottom{margin-top:4mm}}.document-words{color:#252a35;font-size:.9rem;line-height:1.45}.document-words strong,.receipt-words strong{font-weight:700}@media print{.document-words{font-size:9pt;margin-top:3mm;margin-bottom:3mm}}.branded-document-footer,.branded-invoice-header{background:var(--header-background,#e5f1fb);color:var(--header-ink,#173b66)}.invoice-identity{color:var(--header-ink,#173b66)}.invoice-identity img{width:calc(96px * var(--logo-scale,1));height:calc(82px * var(--logo-scale,1))}.invoice-identity strong{font-size:calc(1.1rem * var(--company-name-scale,1))}.receipt-logo{width:calc(95px * var(--logo-scale,1));height:calc(80px * var(--logo-scale,1));max-width:100%}.receipt-header>div>strong{font-size:calc(1.2rem * var(--company-name-scale,1))}.company>img:not(.document-qr){width:calc(100px * var(--logo-scale,1));max-width:100%}.company>div>strong{font-size:calc(1rem * var(--company-name-scale,1))}.document-signature .company-stamp{width:calc(200px * var(--company-stamp-scale,1));max-width:100%}.document-signature>.company-custom-stamp{width:calc(230px * var(--company-stamp-scale,1));max-width:100%;max-height:calc(120px * var(--company-stamp-scale,1))}.document-branch-stamp>.branch-custom-stamp{width:calc(230px * var(--branch-stamp-scale,1));max-width:100%;max-height:calc(120px * var(--branch-stamp-scale,1))}.document-branch-stamp>.branch-stamp{width:calc(270px * var(--branch-stamp-scale,1));max-width:100%}.branch-stamp>strong{font-size:calc(1.75rem * var(--branch-stamp-scale,1))}.branch-stamp .stamp-branch{font-size:calc(.95rem * var(--branch-stamp-scale,1))}@media screen and (max-width:650px){.invoice-identity img{width:calc(75px * var(--logo-scale,1));height:calc(60px * var(--logo-scale,1));max-width:35%}}@media print{.branded-invoice .invoice-identity img{width:calc(72px * var(--logo-scale,1));height:calc(60px * var(--logo-scale,1))}.payment-receipt:has(.uploaded-signature) .receipt-header,.receipt-header{grid-template-columns:calc(20mm * var(--logo-scale,1)) 1fr}.payment-receipt:has(.uploaded-signature) .receipt-logo,.receipt-logo{width:calc(20mm * var(--logo-scale,1));height:calc(17mm * var(--logo-scale,1))}.receipt-header>div>strong{font-size:calc(12pt * var(--company-name-scale,1))}.company{grid-template-columns:calc(24mm * var(--logo-scale,1)) minmax(0,1fr)}.company>img:not(.document-qr){width:calc(24mm * var(--logo-scale,1))}.document-signature .company-stamp{width:calc(43mm * var(--company-stamp-scale,1))}.receipt-signatures .document-signature .company-stamp{width:calc(36mm * var(--company-stamp-scale,1))}.document-signature>.company-custom-stamp{width:calc(43mm * var(--company-stamp-scale,1));max-height:calc(20mm * var(--company-stamp-scale,1))}.receipt-signatures .document-signature>.company-custom-stamp{width:calc(40mm * var(--company-stamp-scale,1));max-height:calc(17mm * var(--company-stamp-scale,1))}.branch-stamp>strong,.receipt-signatures .branch-stamp>strong{font-size:calc(11pt * var(--branch-stamp-scale,1))}.branch-stamp .stamp-branch,.receipt-signatures .branch-stamp .stamp-branch{font-size:calc(8pt * var(--branch-stamp-scale,1))}}@media screen{.company{grid-template-columns:calc(100px * var(--logo-scale,1)) minmax(0,1fr)}.receipt-header{grid-template-columns:calc(95px * var(--logo-scale,1)) minmax(0,1fr)}}@media screen and (max-width:650px){.company{grid-template-columns:calc(65px * var(--logo-scale,1)) minmax(0,1fr)}.company>img:not(.document-qr){width:calc(65px * var(--logo-scale,1))}.receipt-header{grid-template-columns:calc(70px * var(--logo-scale,1)) minmax(0,1fr)}.receipt-logo{width:calc(70px * var(--logo-scale,1));height:calc(60px * var(--logo-scale,1))}}.receipt-signatures.with-branch .document-branch-stamp>.branch-stamp{width:calc(190px * var(--branch-stamp-scale,1));max-width:100%}.receipt-signatures.with-branch .branch-stamp>strong{font-size:calc(1.05rem * var(--branch-stamp-scale,1))}.receipt-signatures.with-branch .branch-stamp .stamp-branch{font-size:calc(.8rem * var(--branch-stamp-scale,1))}@media print{.receipt-signatures .document-signature:has(.uploaded-signature) .company-stamp{width:calc(36mm * var(--company-stamp-scale,1))}.receipt-signatures.with-branch .document-branch-stamp>.branch-stamp{width:calc(50mm * var(--branch-stamp-scale,1))}.receipt-signatures.with-branch .branch-stamp>strong{font-size:calc(11pt * var(--branch-stamp-scale,1))}.receipt-signatures.with-branch .branch-stamp .stamp-branch{font-size:calc(8pt * var(--branch-stamp-scale,1))}}.branded-invoice-header:not([data-logo-position=inline]){display:grid;grid-template-columns:auto minmax(130px,.8fr) minmax(0,1.2fr)}.branded-invoice-header:not([data-logo-position=inline]) .invoice-identity{display:contents}.branded-invoice-header:not([data-logo-position=inline]) .invoice-title{width:auto;grid-row:1;grid-column:2}.branded-invoice-header:not([data-logo-position=inline]) .invoice-identity>img{grid-row:1;grid-column:1;margin:.7rem 1rem;align-self:center}.branded-invoice-header:not([data-logo-position=inline]) .invoice-identity>div{grid-row:1;grid-column:3;padding:.7rem .7rem .7rem 2rem;min-width:0}.branded-invoice-header[data-logo-position=center]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.branded-invoice-header[data-logo-position=center] .invoice-title{grid-column:1}.branded-invoice-header[data-logo-position=center] .invoice-identity>img{grid-column:2;margin-left:2rem;margin-right:2rem}.branded-invoice-header[data-logo-position=right]{grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr) auto}.branded-invoice-header[data-logo-position=right] .invoice-title{grid-column:1}.branded-invoice-header[data-logo-position=right] .invoice-identity>div{grid-column:2}.branded-invoice-header[data-logo-position=right] .invoice-identity>img{grid-column:3}.company[data-logo-position=right],.receipt-header[data-logo-position=right]{grid-template-columns:minmax(0,1fr) auto}.company[data-logo-position=right]>img,.receipt-header[data-logo-position=right]>img{grid-column:2;grid-row:1}.company[data-logo-position=right]>div,.receipt-header[data-logo-position=right]>div{grid-column:1;grid-row:1}.company[data-logo-position=center],.receipt-header[data-logo-position=center]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.company[data-logo-position=center]>img,.receipt-header[data-logo-position=center]>img{justify-self:end;transform:translateX(calc(50% + .4rem))}.receipt-header[data-logo-position=center]>div{padding-left:calc(47.5px * var(--logo-scale,1) + .8rem)}.company[data-logo-position=center]>div{padding-left:calc(50px * var(--logo-scale,1) + .9rem)}@media screen and (max-width:650px){.branded-invoice-header:not([data-logo-position=inline]){display:flex;flex-direction:column}.branded-invoice-header:not([data-logo-position=inline]) .invoice-identity>img{order:-1;max-width:100%}.branded-invoice-header[data-logo-position=left] .invoice-identity>img{align-self:flex-start}.branded-invoice-header[data-logo-position=center] .invoice-identity>img{align-self:center}.branded-invoice-header[data-logo-position=right] .invoice-identity>img{align-self:flex-end}.receipt-header[data-logo-position=center]>div{padding-left:calc(35px * var(--logo-scale,1) + .8rem)}.company[data-logo-position=center]>div{padding-left:calc(32.5px * var(--logo-scale,1) + .9rem)}}@media print{.company[data-logo-position=right],.payment-receipt:has(.uploaded-signature) .receipt-header[data-logo-position=right],.receipt-header[data-logo-position=right]{grid-template-columns:minmax(0,1fr) auto}.company[data-logo-position=center],.payment-receipt:has(.uploaded-signature) .receipt-header[data-logo-position=center],.receipt-header[data-logo-position=center]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.receipt-header[data-logo-position=center]>div{padding-left:calc(10mm * var(--logo-scale,1) + .8rem)}.company[data-logo-position=center]>img{transform:translateX(calc(50% + 2mm))}.company[data-logo-position=center]>div{padding-left:calc(12mm * var(--logo-scale,1) + 4mm)}}.company>div,.receipt-header>div{min-width:0;overflow-wrap:anywhere}@media print{@page{size:A4 portrait;margin:0}main{padding:10mm!important;box-decoration-break:clone;-webkit-box-decoration-break:clone}.branded-invoice,.screen-pane .branded-invoice{overflow:visible;width:100%;min-height:275mm}.branded-invoice.invoice-single-page,.screen-pane .branded-invoice.invoice-single-page{min-height:275mm}.branded-invoice-header{border-bottom-width:1.2mm;min-height:27mm}.branded-invoice .invoice-title{padding:4mm;width:32%}.branded-invoice .invoice-title>span{font-family:Arial,sans-serif;font-size:19pt;line-height:1.1;letter-spacing:0}.branded-invoice .invoice-title small{font-size:9pt}.branded-invoice .invoice-identity{padding:4mm 4mm 4mm 8mm;gap:3mm}.branded-invoice .invoice-identity>div{font-size:8.5pt;line-height:1.35}.branded-invoice .invoice-identity strong{font-family:Arial,sans-serif;font-size:calc(11pt * var(--company-name-scale,1));letter-spacing:0}.branded-invoice-header:not([data-logo-position=inline]) .invoice-identity>div{padding:4mm 4mm 4mm 7mm}.branded-invoice>:not(.branded-invoice-header):not(.branded-document-footer){margin-left:5mm;margin-right:5mm}.branded-invoice .invoice-parties{padding:5mm 0;font-size:9pt;gap:8mm}.branded-invoice .invoice-recipient strong{font-size:11pt}.branded-invoice .invoice-metadata>div{grid-template-columns:1fr 1.3fr;gap:3mm;margin-bottom:2mm}.branded-invoice .invoice-client{font-size:8.5pt;line-height:1.4}.branded-invoice table{font-size:9pt}.branded-invoice td,.branded-invoice th{padding:2mm}.branded-invoice thead th{font-weight:700;font-size:8pt;letter-spacing:0}.branded-invoice .document-words{margin-top:4mm;line-height:1.5}.branded-invoice .invoice-ending{padding:5mm 0}.branded-invoice .branded-document-footer{padding:3mm 5mm;font-size:8pt;border-top-width:1mm}}.branded-invoice .invoice-ending{margin-top:0}.branded-invoice .branded-document-footer{margin-top:auto}@media print{.branded-invoice.invoice-single-page .invoice-ending{margin-top:0}}.document-signature>.company-custom-stamp,.document-signature>.company-stamp{rotate:var(--company-stamp-angle,0deg)}.document-branch-stamp>.branch-custom-stamp,.document-branch-stamp>.branch-stamp{rotate:var(--branch-stamp-angle,0deg)}.document-branch-stamp>.branch-custom-stamp,.document-branch-stamp>.branch-stamp,.document-signature>.company-custom-stamp,.document-signature>.company-stamp{transform-origin:center}.document-branch-stamp>.branch-custom-stamp,.document-signature>.company-custom-stamp{max-width:100%}@media print{.document-signature>.company-custom-stamp,.receipt-signatures .document-signature>.company-custom-stamp{max-width:100%}.document-branch-stamp>.branch-custom-stamp{width:calc(43mm * var(--branch-stamp-scale,1));max-width:100%;max-height:calc(23mm * var(--branch-stamp-scale,1))}.receipt-signatures .document-branch-stamp>.branch-custom-stamp{width:calc(36mm * var(--branch-stamp-scale,1));max-width:100%;max-height:calc(18mm * var(--branch-stamp-scale,1))}.receipt-signatures .document-signature{width:100%;max-width:100%}.document-signature .company-stamp{width:calc(52mm * var(--company-stamp-scale,1))}.document-signature>.company-custom-stamp{width:calc(55mm * var(--company-stamp-scale,1));max-height:calc(38mm * var(--company-stamp-scale,1))}}@media print{.receipt-signatures .document-signature .company-stamp,.receipt-signatures .document-signature:has(.uploaded-signature) .company-stamp{width:calc(43mm * var(--company-stamp-scale,1))}.receipt-signatures .document-signature>.company-custom-stamp{width:calc(45mm * var(--company-stamp-scale,1));max-height:calc(25mm * var(--company-stamp-scale,1))}}.document-signature{display:grid;grid-template-columns:max-content max-content;justify-content:end;align-items:center;grid-column-gap:.75rem;column-gap:.75rem;max-width:none;width:auto}.document-signature>.signature-caption{grid-column:1/-1;margin:0 0 .4rem;font-size:.85rem;font-weight:600;text-align:center}.document-signature>.company-custom-stamp,.document-signature>.company-stamp{grid-column:2;grid-row:2;max-width:none;margin:0}.document-signature>.uploaded-signature{grid-column:1;grid-row:2;width:calc(130px * var(--signature-scale,1));height:calc(52px * var(--signature-scale,1));max-width:none;margin:0;object-fit:contain}.document-signature:not(:has(>.company-stamp,>.company-custom-stamp))>.uploaded-signature{grid-column:1/-1;justify-self:center}.document-signature .company-stamp,.receipt-signatures .document-signature .company-stamp{width:calc(170px * var(--company-stamp-scale,1));max-width:none}.document-signature>.company-custom-stamp,.receipt-signatures .document-signature>.company-custom-stamp{width:auto;height:auto;max-width:calc(180px * var(--company-stamp-scale,1));max-height:calc(115px * var(--company-stamp-scale,1))}.invoice-ending.with-branch:has(.uploaded-signature),.receipt-signatures.with-branch:has(.uploaded-signature){grid-template-columns:1fr auto 1fr}.receipt-signatures .document-signature,.receipt-signatures.with-branch .document-signature{width:auto;max-width:none;justify-self:end}@media screen and (max-width:650px){.invoice-ending.with-branch:has(.uploaded-signature),.receipt-signatures.with-branch:has(.uploaded-signature){grid-template-columns:1fr}}@media print{.invoice-ending.with-branch:has(.uploaded-signature),.receipt-signatures.with-branch:has(.uploaded-signature){grid-template-columns:1fr auto 1fr}.receipt-signatures .document-signature,.receipt-signatures.with-branch .document-signature{width:auto;max-width:none}.document-signature{column-gap:2mm}.document-signature>.signature-caption{font-size:9pt;margin-bottom:1.5mm}.document-signature .company-stamp{width:calc(42mm * var(--company-stamp-scale,1))}.document-signature>.company-custom-stamp{width:auto;height:auto;max-width:calc(46mm * var(--company-stamp-scale,1));max-height:calc(34mm * var(--company-stamp-scale,1))}.receipt-signatures .document-signature .company-stamp,.receipt-signatures .document-signature:has(.uploaded-signature) .company-stamp,.receipt-signatures.with-branch .company-stamp{width:calc(36mm * var(--company-stamp-scale,1));max-width:none}.receipt-signatures .document-signature>.company-custom-stamp{width:auto;height:auto;max-width:calc(38mm * var(--company-stamp-scale,1));max-height:calc(24mm * var(--company-stamp-scale,1))}.document-signature>.uploaded-signature{width:calc(30mm * var(--signature-scale,1));height:calc(13mm * var(--signature-scale,1))}.receipt-signatures .document-signature>.uploaded-signature{width:calc(28mm * var(--signature-scale,1));height:calc(11mm * var(--signature-scale,1))}}.document-signature:has(>.company-stamp,>.company-custom-stamp)>.uploaded-signature{margin-right:calc(-50px * var(--signature-scale,1));z-index:1;mix-blend-mode:multiply}@media print{.document-signature:has(>.company-stamp,>.company-custom-stamp)>.uploaded-signature{margin-right:calc(-11mm * var(--signature-scale,1))}}:root{--c1:#2563eb;--c2:#ea580c;--c3:#16a34a;--c4:#7c3aed;--c5:#0d9488;--c6:#db2777}@media screen{.navlinks>:nth-child(6n+1){--tint:var(--c1)}.navlinks>:nth-child(6n+2){--tint:var(--c2)}.navlinks>:nth-child(6n+3){--tint:var(--c3)}.navlinks>:nth-child(6n+4){--tint:var(--c4)}.navlinks>:nth-child(6n+5){--tint:var(--c5)}.navlinks>:nth-child(6n+6){--tint:var(--c6)}.navlinks .navgroup>.navicon,.navlinks>.navlink>.navicon{color:var(--tint,var(--brand))}.navlinks>.navlink.active>.navicon{color:#fff}}@media print{.branded-invoice>:not(.branded-invoice-header):not(.branded-document-footer){margin-left:6.2mm;margin-right:6.2mm}.branded-invoice .invoice-parties{padding:6.2mm 0 4.6mm;gap:6.2mm;font-size:7.8pt}.branded-invoice .invoice-recipient strong{font-size:9.1pt}.branded-invoice .invoice-client{display:flex;flex-direction:column;gap:.6mm;padding:2.7mm;margin-bottom:3.8mm;font-size:7.1pt;line-height:1.4}.branded-invoice table{font-size:7.3pt}.branded-invoice thead th{font-size:7pt;font-weight:500;letter-spacing:.03em;padding:2.3mm 1.8mm}.branded-invoice td{padding:2.2mm 1.8mm}.branded-invoice tfoot th{font-size:8.1pt;padding:2.3mm 1.8mm}.branded-invoice .document-words{font-size:8.1pt;margin-top:3.1mm}.branded-invoice .invoice-ending{padding:4.6mm 0;gap:6.2mm;font-size:7.1pt}.branded-invoice .invoice-ending .document-qr{width:21.1mm;height:21.1mm}.branded-invoice .document-signature{column-gap:2.3mm}.branded-invoice .document-signature>.signature-caption{font-size:7.4pt;margin-bottom:1.3mm}.branded-invoice .document-signature .company-stamp{width:calc(35.9mm * var(--company-stamp-scale,1))}.branded-invoice .document-signature>.company-custom-stamp{max-width:calc(38mm * var(--company-stamp-scale,1));max-height:calc(24.3mm * var(--company-stamp-scale,1))}.branded-invoice .document-signature>.uploaded-signature{width:calc(27.4mm * var(--signature-scale,1));height:calc(11mm * var(--signature-scale,1))}.branded-invoice .document-signature:has(>.company-stamp,>.company-custom-stamp)>.uploaded-signature{margin-right:calc(-10.6mm * var(--signature-scale,1))}.branded-invoice .branded-document-footer{font-size:6.9pt}}.branded-invoice tfoot tr.vat-row td{background:transparent;color:var(--ink);font-weight:600;text-align:right;border-bottom:1px solid #dadde4}.branded-invoice tfoot tr.vat-row td:last-child{text-align:left}.vat-totals{display:flex;flex-direction:column;gap:.3rem}.sms-button{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.5rem 0}