.accounting .ac-lines-table input.ac-stock-shortage:not([type=checkbox]){background:#ffe4ec;border-color:#c9557b;color:#812c49}.ac-stock-hint{display:block;margin-top:6px;font-size:12px;line-height:1.35;font-weight:500}.ac-stock-shortage-note{color:#962d50}.ac-stock-explanation{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ac-floating-notice{position:fixed;top:16px;left:50%;transform:translateX(-50%);width:min(680px,calc(100vw - 32px));box-sizing:border-box;max-height:55vh;overflow:auto;z-index:110;background:#fff1eb;border:1px solid #dca591;border-radius:14px;padding:18px;box-shadow:0 10px 40px #243a3840;display:grid;gap:12px;white-space:pre-wrap}.ac-floating-notice.info{background:#fff8e9}.ac-floating-notice p{margin:0}.ac-floating-notice .ac-link{color:#7b3427}.ac-floating-notice .ac-quiet{justify-self:end}@media print{.ac-floating-notice{display:none!important}}
.accounting{--ac-dark:#1e3838;--ac-green:#227462;--ac-soft:#eef6f2;--ac-border:#dce7e1;--ac-muted:#71827a;color:var(--ac-dark);padding:26px!important;background:#fff!important}.accounting h2{font-size:25px;letter-spacing:-.7px}.accounting h3{font-size:20px;margin:0}.accounting h4{font-size:16px;margin:16px 0 12px}.accounting p{margin:0}.accounting button,.accounting input,.accounting select,.accounting textarea{font:inherit}.accounting input,.accounting select,.accounting textarea{display:block;width:100%;border:1px solid #cbdad1;border-radius:10px;background:#fff;padding:11px 12px;color:var(--ac-dark);margin:6px 0 0;min-width:0}.accounting select{min-height:46px}.accounting input:focus,.accounting select:focus,.accounting textarea:focus{outline:2px solid #91b7a5;outline-offset:1px}.accounting button{border-radius:10px;border:1px solid var(--ac-border);background:#f5f8f5;color:var(--ac-dark);padding:10px 14px;font-size:14px;line-height:1.35}.accounting button:hover{background:#e9f1ec}.accounting .ac-primary{background:var(--ac-green);border-color:var(--ac-green);color:#fff}.accounting .ac-primary:hover{background:#185f50}.accounting .ac-danger{background:#fff5f1;color:#9e493c;border-color:#ead2c8}.accounting .ac-link{background:transparent;border:0;padding:0;text-align:left;color:var(--ac-green);font-weight:600}.accounting .ac-link:hover{text-decoration:underline}.accounting .ac-quiet{background:transparent;border-color:transparent;color:var(--ac-green)}.ac-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:20px}.ac-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:2px;color:var(--ac-green);margin-bottom:7px}.ac-heading .ac-muted{margin-top:8px}.ac-user{text-align:right;font-size:13px;display:flex;flex-direction:column;align-items:flex-end;gap:3px}.ac-user small{color:var(--ac-muted)}.ac-user button{padding:4px 0;font-size:12px}.ac-nav{display:flex;gap:5px;overflow-x:auto;padding:4px;background:#f2f6f3;border-radius:13px;margin:0 0 24px;scrollbar-width:thin}.accounting .ac-nav-item{border:0;background:transparent;color:#6c7d73;white-space:nowrap;flex:1;padding:11px 15px}.accounting .ac-nav-item.active{background:#fff;color:var(--ac-dark);box-shadow:0 2px 8px #1838290d;font-weight:650}.ac-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.ac-section-heading .ac-muted{margin-top:6px;max-width:600px}.ac-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ac-muted{color:var(--ac-muted);font-size:13px;line-height:1.5}.ac-notice{padding:12px 15px;border-radius:11px;margin:0 0 18px!important;background:#fff0ec;color:#943e2f;font-size:14px;white-space:pre-wrap}.ac-notice.success{background:#eaf7ee;color:#276544}.ac-notice.info{background:#edf4fb;color:#365c81}.ac-error{padding:14px;color:#963c30;background:#fff1ed;border-radius:12px}.ac-warning{padding:10px 12px;background:#fff7e8;color:#916522;border-radius:9px;font-size:13px}.ac-auth-form{max-width:400px;display:grid;gap:17px;margin:8px 0 20px}.ac-field{display:flex!important;flex-direction:column;gap:0;min-width:0;margin:0!important;font-size:13px;font-weight:550;color:#556c60}.ac-field>span{display:block}.ac-field input,.ac-field select,.ac-field textarea{font-size:14px;font-weight:400}.ac-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.ac-form-grid>.ac-muted,.ac-form-grid>.ac-components,.ac-form-grid>.ac-callout{grid-column:1/-1}.ac-form-grid>button[type=submit]{justify-self:start;grid-column:1/-1;margin-top:8px}.ac-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px;border:1px solid var(--ac-border);border-radius:14px;background:#f9fbf9;margin-bottom:22px}.ac-filters .ac-field{flex:1 1 140px}.ac-filters>button{min-height:44px}.ac-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 22px}.ac-kpi{padding:18px;border:1px solid var(--ac-border);border-radius:15px;background:linear-gradient(135deg,#f4f8f4,#fff)}.ac-kpi strong{display:block;font-size:25px;line-height:1.3;margin-top:9px;font-weight:650;letter-spacing:-.5px;overflow-wrap:anywhere}.ac-kpi:last-child strong{font-size:19px}.ac-callout{background:#faf7ec;border:1px solid #e7dfc8;border-radius:14px;padding:16px;margin:0 0 22px}.ac-callout p{font-size:13px;color:#7c755f;margin:7px 0 4px}.ac-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:26px}.accounting .ac-shortcut{padding:17px;text-align:left;background:#f4f8f5;border-color:#e0e9e2;font-weight:550;font-size:14px}.ac-kind-group{border-top:1px solid var(--ac-border);padding:0 0 18px;display:flex;gap:9px;flex-wrap:wrap}.ac-kind-group h4{flex-basis:100%}.ac-table-wrap{width:100%;overflow-x:auto;margin-top:14px;border:1px solid var(--ac-border);border-radius:13px}.ac-table{border-collapse:collapse;width:100%;font-size:13px;min-width:560px}.ac-table th{text-align:left;color:#78887e;background:#f6f9f6;font-size:11px;font-weight:600;letter-spacing:.25px;padding:12px 14px;white-space:nowrap}.ac-table td{padding:14px;border-top:1px solid #e8eeea;vertical-align:middle;max-width:360px;overflow-wrap:anywhere}.ac-table td small{display:block;margin-top:3px;font-size:11px}.ac-table tbody tr:hover{background:#fbfdfb}.ac-table td>.ac-link{font-size:13px}.ac-badge{display:inline-block;border-radius:7px;padding:4px 7px;background:#f0f3f0;color:#728178;font-size:11px;white-space:nowrap}.ac-badge.posted,.ac-badge.active{background:#e7f4e9;color:#3d7450}.ac-badge.draft{background:#fdf3dd;color:#9b7529}.ac-badge.unposted,.ac-badge.reversed{background:#fcece7;color:#9e6256}.ac-empty{text-align:center;padding:35px 20px;border:1px dashed #d7e3d9;border-radius:15px;margin:15px 0;background:#fbfcfb}.ac-empty strong{display:block;font-size:16px;margin-bottom:7px}.ac-empty button{margin-top:15px}.ac-pages{display:flex;gap:18px;justify-content:center;align-items:center;margin:20px 0;color:var(--ac-muted);font-size:13px}.ac-document-form h4{margin-top:24px}.ac-lines{display:grid;gap:12px;margin-bottom:14px}.ac-line{display:grid;grid-template-columns:minmax(190px,2fr) minmax(85px,.7fr) minmax(105px,1fr) auto;gap:12px;align-items:end;background:#f7faf7;border:1px solid var(--ac-border);border-radius:12px;padding:14px}.ac-line>.ac-warning,.ac-line>.ac-muted{grid-column:1/-1}.ac-line .ac-remove{width:34px;height:38px;padding:0;font-size:22px;background:transparent;border-color:transparent;align-self:end}.ac-line .ac-field:nth-child(n+4){grid-row:2}.ac-total{font-size:18px;font-weight:650;text-align:right;margin:22px 0!important}.ac-sticky-actions{position:sticky;bottom:0;background:#fffffff2;backdrop-filter:blur(8px);padding:14px 0;border-top:1px solid var(--ac-border);margin-top:25px;z-index:1}.ac-panel{border:1px solid var(--ac-border);padding:17px;border-radius:14px;margin:20px 0}.ac-panel summary{font-weight:650;cursor:pointer;font-size:14px}.ac-panel>p{margin:12px 0}.ac-panel .ac-form-grid{margin-top:15px}.ac-panel .ac-field{margin:12px 0!important}.ac-components{padding:15px;border:1px solid var(--ac-border);border-radius:12px}.ac-component{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end;margin-bottom:12px}.ac-component:last-child{margin-bottom:0}.ac-repeat-field{display:grid;gap:12px}.ac-report-output{margin-top:20px}.ac-content>.ac-field{margin-bottom:20px!important}
@media(max-width:700px){.accounting{padding:18px!important;border-radius:18px!important}.accounting h2{font-size:22px}.accounting h3{font-size:18px}.ac-heading{gap:10px}.ac-user{font-size:11px;max-width:125px}.ac-user small{font-size:10px}.ac-nav{margin:0 -4px 20px}.accounting .ac-nav-item{padding:10px 12px;font-size:12px;flex:none}.ac-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.ac-section-heading>.ac-actions{width:100%}.ac-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ac-kpi{padding:14px}.ac-kpi:last-child{grid-column:1/-1}.ac-kpi strong{font-size:23px}.ac-kpi:last-child strong{font-size:17px}.ac-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.accounting .ac-shortcut{padding:14px;font-size:12px}.ac-form-grid{grid-template-columns:1fr;gap:14px}.ac-filters{padding:12px;gap:10px}.ac-filters .ac-field{flex-basis:calc(50% - 10px)}.ac-filters>button{width:100%}.ac-line{grid-template-columns:1fr 1fr;gap:10px;padding:12px}.ac-line>.ac-field:first-child{grid-column:1/-1}.ac-line .ac-field:nth-child(n+4){grid-row:auto}.ac-line .ac-remove{justify-self:end;grid-column:2}.ac-total{font-size:15px;text-align:left}.ac-component{grid-template-columns:1fr}.ac-component>.ac-field:first-child{grid-column:auto}.ac-sticky-actions{gap:7px}.ac-sticky-actions button{flex:1;font-size:12px;padding:11px}.ac-table{font-size:12px;min-width:520px}.ac-table td,.ac-table th{padding:11px}.ac-kind-group .ac-shortcut{flex:1 1 45%}.ac-content>.ac-field{margin-bottom:16px!important}}
.accounting input[type=checkbox]{width:18px;height:18px;min-width:18px;margin:0;accent-color:var(--ac-green)}.accounting .ac-field.ac-checkbox-field{display:flex;flex-direction:row;align-items:center;gap:10px}.accounting .ac-field.ac-checkbox-field input{order:-1}.accounting .ac-field[hidden]{display:none}.ac-multi{width:100%;margin:0}.ac-multi-options{max-height:240px;overflow:auto;padding:10px}.accounting .ac-multi-options .ac-field{margin:10px 0!important}.accounting .ac-multi-options .ac-field span{font-size:13px}.ac-panel .ac-panel{margin:10px 0;padding:12px}
.ac-line-heading{grid-column:1/-1;display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--ac-border);padding-bottom:9px;font-size:13px}.ac-line-amount{text-align:right;font-variant-numeric:tabular-nums}.ac-line .ac-field:nth-child(n+4){grid-row:auto}.ac-line>.ac-field:nth-child(2){grid-column:1}.ac-line .ac-quiet{padding:6px 0;text-align:left;font-size:12px}.ac-validation{display:grid;gap:10px;background:#fff7e8;border-radius:12px;padding:15px;margin-bottom:18px;font-size:13px}.ac-validation:empty{display:none}.ac-validation .ac-link{font-weight:400}.ac-cost-panel,.ac-form-grid>.ac-warning{grid-column:1/-1}.ac-table td.ac-name-cell{min-width:230px;max-width:420px;white-space:normal;overflow-wrap:break-word;line-height:1.5}.ac-report-output .ac-table td:not(.ac-name-cell){min-width:105px;font-variant-numeric:tabular-nums}.ac-dialog{width:min(700px,94vw);max-height:90dvh;overflow:auto;border:1px solid var(--ac-border);border-radius:18px;padding:24px;color:var(--ac-dark);background:#fff}.ac-dialog::backdrop{background:#173b335e}.ac-dialog .ac-actions{grid-column:1/-1}.ac-dialog h3{margin-bottom:20px}.ac-name-cell .ac-link{overflow-wrap:break-word}.accounting [hidden]{display:none!important}
@media(max-width:700px){.ac-line>.ac-field:nth-child(2){grid-column:1/-1}.ac-line-heading{align-items:flex-start}.ac-line-number{white-space:nowrap}.ac-dialog{padding:18px}.ac-table td.ac-name-cell{min-width:210px}.ac-report-output .ac-table td:not(.ac-name-cell){min-width:90px}}
.accounting-workspace .brand-sun{display:none}.accounting-workspace .app-header{margin-bottom:12px}.accounting-workspace #private{margin-top:0}
/* Document positions: shared columns, restrained rows, readable mobile layout. */
.ac-lines-table{--line-columns:30px minmax(220px,1fr) 96px 116px 142px 32px;display:block;border:1px solid var(--ac-border);border-radius:12px;margin:0 0 14px;background:white}
.ac-lines-table.ac-ledger-lines{--line-columns:30px minmax(220px,1fr) 96px minmax(150px,220px) 32px}
.ac-lines-header,.ac-lines-table .ac-line{display:grid;grid-template-columns:var(--line-columns);gap:8px;align-items:center;padding:10px 12px}
.ac-lines-header{background:#edf3ef;border-radius:11px 11px 0 0;font-size:12px;font-weight:650;color:#526c61;position:sticky;top:0;z-index:2;min-height:40px}
.ac-lines-header span:nth-child(n+3){text-align:right}
.ac-lines-table .ac-line{border:0;border-top:1px solid #e6ece8;border-radius:0;background:#fff;margin:0;font-size:14px}
.ac-lines-table .ac-line:nth-child(odd){background:#f9fbfa}
.ac-lines-table .ac-line:last-child{border-radius:0 0 11px 11px}
.ac-lines-table .ac-line:focus-within{background:#f0f7f3;box-shadow:inset 3px 0 #227462}
.ac-lines-table .ac-line-number{grid-column:1;grid-row:1;font-weight:500;color:#6a8175;font-size:12px;text-align:center}
.ac-lines-table .ac-line>.ac-line-product{grid-column:2;grid-row:1;min-width:0}
.ac-lines-table .ac-line>.ac-line-quantity{grid-column:3;grid-row:1}
.ac-lines-table .ac-line>.ac-line-price{grid-column:4;grid-row:1}
.ac-lines-table .ac-line-amount{grid-column:5;grid-row:1;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.5}
.ac-lines-table.ac-ledger-lines .ac-line-amount{grid-column:4;font-size:12px;font-weight:500}
.ac-lines-table .ac-line>.ac-remove{grid-column:6;grid-row:1;align-self:center;justify-self:center;width:30px;height:32px;color:#7e8c85;font-size:21px}
.ac-lines-table.ac-ledger-lines .ac-line>.ac-remove{grid-column:5}
.ac-lines-table .ac-line>.ac-remove:hover{color:#a33e35;background:#fff0ed}
.ac-lines-table .ac-line>.ac-field{margin:0}
.ac-lines-table .ac-line-product>span,.ac-lines-table .ac-line-quantity>span,.ac-lines-table .ac-line-price>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.accounting .ac-lines-table input:not([type=checkbox]){margin:0;padding:9px 10px;border-radius:6px;font-size:14px;min-height:38px;background:#ffffffd9}
.ac-lines-table .ac-line-quantity input,.ac-lines-table .ac-line-price input{text-align:right;font-variant-numeric:tabular-nums}
.accounting .ac-lines-table .ac-inline-create{padding:4px 0;background:transparent;border:0;font-size:12px;color:var(--ac-green);margin-top:3px}
.ac-lines-table .ac-line>.ac-zero-cost,.ac-lines-table .ac-line>.ac-warning,.ac-lines-table .ac-line>.ac-muted,.ac-lines-table .ac-line-details{grid-column:2/-2;grid-row:auto;font-size:12px;line-height:1.5}
.ac-lines-table .ac-line>.ac-zero-cost{padding:5px 0;color:#856125}
.ac-lines-table .ac-line>.ac-warning{padding:4px 8px;border-radius:4px;margin:0}
.ac-line-details{color:var(--ac-muted)}.ac-line-details summary{cursor:pointer;font-size:11px;width:fit-content}.ac-line-details p{padding-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}
.ac-lines-table .ac-line>.ac-field:not(.ac-line-product):not(.ac-line-quantity):not(.ac-line-price):not(.ac-zero-cost){grid-column:3/5;grid-row:auto;font-size:12px}
@media(max-width:1000px) and (min-width:701px){.ac-lines-table{--line-columns:25px minmax(160px,1fr) 76px 96px 112px 28px}.ac-lines-table.ac-ledger-lines{--line-columns:25px minmax(160px,1fr) 76px 140px 28px}.ac-lines-header,.ac-lines-table .ac-line{gap:6px;padding:9px 8px}.accounting .ac-lines-table input:not([type=checkbox]){padding:8px 6px;font-size:13px}.ac-lines-table .ac-line-amount{font-size:13px}}
@media(max-width:700px){
.ac-lines-header{display:none}
.ac-lines-table .ac-line{grid-template-columns:23px minmax(0,1fr) minmax(0,1fr) 30px;gap:8px;padding:12px 10px}
.ac-lines-table .ac-line>.ac-line-product{grid-column:2/4;grid-row:1}
.ac-lines-table .ac-line>.ac-remove,.ac-lines-table.ac-ledger-lines .ac-line>.ac-remove{grid-column:4;grid-row:1}
.ac-lines-table .ac-line>.ac-line-quantity{grid-column:2;grid-row:2}
.ac-lines-table .ac-line>.ac-line-price{grid-column:3;grid-row:2}
.ac-lines-table .ac-line-quantity>span,.ac-lines-table .ac-line-price>span{position:static;width:auto;height:auto;clip-path:none;font-size:11px;color:var(--ac-muted);display:block;margin-bottom:4px}
.ac-lines-table .ac-line-amount,.ac-lines-table.ac-ledger-lines .ac-line-amount{grid-column:2/4;grid-row:3;font-size:14px;text-align:right}
.ac-lines-table:not(.ac-ledger-lines) .ac-line-amount:before{content:'Сумма: ';font-weight:400;color:var(--ac-muted);font-size:12px}
.ac-lines-table .ac-line>.ac-field:not(.ac-line-product):not(.ac-line-quantity):not(.ac-line-price):not(.ac-zero-cost){grid-column:2/4}
.ac-lines-table .ac-line>.ac-warning,.ac-lines-table .ac-line>.ac-zero-cost,.ac-lines-table .ac-line-details{grid-column:2/4}
}
.ac-product-preview{display:none}
.ac-line-product.ac-product-selected{position:relative}
.ac-line-product.ac-product-selected:not(:focus-within) .ac-product-preview{display:block;padding:9px 10px;min-height:38px;border:1px solid transparent;border-radius:6px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.ac-line-product.ac-product-selected:not(:focus-within) input{position:absolute;inset:0;opacity:0;height:100%;cursor:text}
.ac-line-product.ac-product-selected:hover .ac-product-preview{border-color:#cbdad1;background:#fff}
.accounting .ac-lines-table .ac-line>.ac-zero-cost{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;text-align:left}
.ac-validation details>summary{cursor:pointer;font-weight:600;font-size:13px}.ac-validation-list{display:grid;gap:9px;max-height:240px;overflow:auto;padding-top:12px}
.ac-lines-table .ac-line{scroll-margin-top:44px}.ac-product-preview{font-weight:500;color:var(--ac-dark)}
.ac-document-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 12px;align-items:center}
.ac-document-tab{display:flex;align-items:center;flex:none;border:1px solid #dce6e0;border-radius:9px;background:#fff;max-width:330px}
.ac-document-tab.active{border-color:#27745e;background:#eef7f2}
.accounting .ac-document-tab button{font-size:12px;padding:7px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.accounting .ac-line-product .ac-inline-create{position:relative;z-index:1;margin-right:12px}
.ac-line-product.ac-product-selected:not(:focus-within) input{height:38px}
.ac-table th{white-space:nowrap}.ac-table td{vertical-align:top}
/* Give the accounting workspace its own width, independent of the weather shell. */
body.accounting-workspace main{max-width:none;width:100%;padding:24px clamp(16px,2vw,40px)}
body.accounting-workspace #private{padding:0;background:transparent}
.ac-document-table{table-layout:fixed;min-width:1120px}
.ac-document-table col.ac-doc-identity{width:180px}.ac-document-table col.ac-doc-date{width:108px}.ac-document-table col.ac-doc-amount{width:148px}.ac-document-table col.ac-doc-party{width:19%}.ac-document-table col.ac-doc-warehouse{width:16%}.ac-document-table col.ac-doc-status{width:154px}
.ac-document-table td,.ac-document-table td.ac-name-cell{min-width:0;max-width:none;overflow-wrap:break-word;word-break:normal;line-height:1.5}
.ac-document-table td.ac-doc-date,.ac-document-table td.ac-doc-amount{white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
.ac-document-table .ac-doc-amount{text-align:right}
.ac-document-identity .ac-link{font-size:14px;white-space:nowrap}.ac-document-identity small{color:var(--ac-muted);font-size:12px!important;font-weight:400}
.ac-document-table .ac-doc-status .ac-badge{white-space:normal;overflow-wrap:normal}
@media(max-width:700px){body.accounting-workspace main{padding:12px 8px}.ac-document-table td,.ac-document-table th{padding:11px 12px}}
/* The bottom action bar owns its area; scrolling column headings pass behind it. */
.ac-document-form .ac-sticky-actions{flex-wrap:wrap;z-index:6;background:#fff;backdrop-filter:none;box-shadow:0 -6px 14px #1e38380d}
.ac-scroll-tools{position:fixed;right:12px;bottom:calc(110px + env(safe-area-inset-bottom,0px));z-index:5;display:flex;flex-direction:column;gap:8px}
.accounting .ac-scroll-tools button{width:44px;height:44px;padding:0;border-radius:50%;font-size:24px;line-height:1;background:#fff;color:var(--ac-green);border:1px solid #bed2c8;box-shadow:0 3px 14px #163b3026}
.accounting .ac-scroll-tools button:hover{background:#e9f4ee}
body:has(dialog[open]) .ac-scroll-tools{visibility:hidden}
@media(max-width:700px){.ac-scroll-tools{right:8px;bottom:calc(180px + env(safe-area-inset-bottom,0px))}}
@media print{.ac-scroll-tools{display:none!important}}
.ac-fixed-table-head{position:fixed;top:0;z-index:4;overflow:hidden;pointer-events:none;background:#f6f9f6;box-shadow:0 3px 7px #193c3024}
.ac-fixed-table-head table{margin:0;border-collapse:collapse}.ac-fixed-table-head th{white-space:nowrap}
.ac-contact-phones{display:grid;gap:5px;font-variant-numeric:tabular-nums}.ac-contact-phones span{white-space:nowrap}
body:has(dialog[open]) .ac-fixed-table-head{display:none!important}
@media print{.ac-fixed-table-head{display:none!important}}
.ac-print-section{padding:0;background:transparent;border-radius:0}
.ac-print-subtotals{display:table-row-group;font-weight:600}
.ac-print-table .ac-print-subtotals th,.ac-print-table .ac-print-subtotals td{background:transparent;border:0;border-top:2px solid #79857d;padding-top:12px}
.ac-print-table .ac-print-subtotals th{text-align:right}
.accounting input[aria-invalid=true]{border-color:#b74435;box-shadow:0 0 0 1px #b74435}
.ac-journal-groups,.ac-journal-kinds{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}
.accounting .ac-journal-groups button{padding:10px 16px;font-weight:600}
.accounting .ac-journal-kinds button{padding:7px 10px;font-size:12px}
.accounting .ac-journal-groups button.active,.accounting .ac-journal-kinds button.active{background:#227462;color:#fff;border-color:#227462}
body.ac-print-open{overflow:hidden}
.accounting .ac-combo-popup{position:fixed;z-index:90;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #b5c9be;border-radius:10px;box-shadow:0 8px 28px #142f2926;padding:5px;box-sizing:border-box}
.accounting .ac-combo-popup button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;text-align:left;white-space:normal;padding:10px;border:0;border-radius:6px;background:transparent;color:#183e32;font:inherit}
.accounting .ac-combo-popup button:hover,.accounting .ac-combo-popup [aria-selected=true]{background:#e8f3ed}
.accounting .ac-combo-popup small{font-size:12px;color:#667b70}.accounting .ac-combo-popup p{padding:8px;margin:0}
.accounting .ac-blockers .ac-callout{margin:12px 0}.accounting .ac-blockers .ac-link{display:block;text-align:left}
.accounting .ac-history-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:24px}.accounting .ac-history-dialog h3{font-size:18px;line-height:1.4;margin-bottom:20px}.accounting .ac-history-dialog .ac-actions{justify-content:flex-end}.accounting .ac-history-dialog button{min-width:88px}
.accounting.ac-suspended>:not(.ac-connection-mask){display:none!important}
.accounting .ac-connection-mask{padding:28px;border-radius:14px;background:#f6f9f7;color:#264c3d}
.ac-print-preview{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:16px;border:0;background:#e9edeb;color:#17241f;overflow:auto;box-sizing:border-box;font:14px/1.45 Arial,sans-serif}
.ac-print-preview *{box-sizing:border-box}
.ac-print-toolbar{position:sticky;top:-16px;z-index:4;display:flex;gap:10px;align-items:center;max-width:210mm;margin:0 auto 16px;padding:12px;background:#f8faf9;border:1px solid #d6dfd9;border-radius:10px;box-shadow:0 3px 15px #0001}
.ac-print-toolbar strong{margin-right:auto}.ac-print-toolbar button{border:1px solid #c6d5cc;border-radius:8px;padding:9px 14px;background:#fff;font:inherit;cursor:pointer}.ac-print-toolbar .ac-print-primary{background:#227462;color:white;border-color:#227462}
.ac-print-paper{position:relative;width:210mm;max-width:100%;min-height:297mm;margin:0 auto;padding:15mm;background:#fff;box-shadow:0 4px 22px #0001;overflow-wrap:anywhere}
.ac-print-header{position:relative;border-bottom:2px solid #1e2b25;padding-bottom:12px;margin-bottom:20px}.ac-print-header h1{font-size:23px;line-height:1.25;margin:0 0 8px;color:#17241f}.ac-print-header p{margin:4px 0}.ac-print-status{font-size:12px;color:#526459}
.ac-print-fields{margin:0 0 24px;display:grid;gap:7px}.ac-print-field{display:grid;grid-template-columns:145px 1fr;gap:14px}.ac-print-fields dt{font-weight:bold}.ac-print-fields dd{margin:0;white-space:pre-wrap}.ac-print-blank{border-bottom:1px solid #aaa;min-height:20px}
.ac-print-section{margin:20px 0}.ac-print-section h2{font-size:16px;margin:0 0 8px}.ac-print-table-wrap{overflow:auto;max-width:100%}.ac-print-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.35}.ac-print-table th,.ac-print-table td{border:1px solid #79857d;padding:7px 8px;vertical-align:top;text-align:left;min-height:26px;white-space:pre-wrap}.ac-print-table th{font-weight:600;background:#f0f3f1}.ac-print-table .ac-print-numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ac-print-totals{margin:14px 0 24px;break-inside:avoid}.ac-print-totals>div{display:flex;justify-content:flex-end;gap:22px;margin:5px 0}.ac-print-totals dt{font-weight:600}.ac-print-totals dd{min-width:105px;margin:0;text-align:right;font-variant-numeric:tabular-nums}
.ac-print-notes{font-size:12px;margin:20px 0;white-space:pre-wrap}.ac-print-notes p{margin:5px 0}.ac-print-signatures{display:flex;flex-wrap:wrap;gap:28px;margin-top:30px;break-inside:avoid}.ac-print-signatures>div{display:flex;flex:1 1 180px;flex-direction:column;gap:22px;font-size:12px}.ac-print-signature-line{display:block;min-height:20px;border-bottom:1px solid #526459}.ac-print-caption{margin:28px 0 0;font-size:10px;color:#718079}.ac-print-watermark{position:absolute;inset:35% 0 auto;text-align:center;transform:rotate(-30deg);font-size:65px;font-weight:900;letter-spacing:8px;color:#00000038;pointer-events:none;z-index:0}
@media(max-width:700px){.ac-journal-groups{flex-wrap:nowrap;overflow:auto}.accounting .ac-journal-groups button{flex:none;padding:9px 12px;font-size:13px}.ac-print-preview{padding:8px}.ac-print-toolbar{top:-8px;gap:6px;padding:8px;font-size:12px}.ac-print-toolbar button{padding:9px}.ac-print-paper{padding:16px;min-height:0}.ac-print-header h1{font-size:20px}.ac-print-field{grid-template-columns:1fr;gap:2px}.ac-print-fields{gap:11px}.ac-print-table{min-width:580px}.ac-print-watermark{font-size:38px;letter-spacing:2px}.ac-print-totals>div{justify-content:space-between;gap:12px}}
@media print{
  @page{size:A4 portrait;margin:12mm}
  body.ac-print-open{height:auto!important;overflow:visible!important;background:#fff!important}
  body.ac-print-open>*:not(.ac-print-preview){display:none!important}
  body.ac-print-open>.ac-print-preview{display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;background:white!important;overflow:visible!important;border:0!important}
  .ac-print-preview::backdrop,.ac-print-toolbar{display:none!important}
  .ac-print-paper{width:auto;max-width:none;min-height:0;margin:0;padding:0;box-shadow:none;font-size:10pt;color:#000}
  .ac-print-header{break-after:avoid}.ac-print-header h1{font-size:17pt}.ac-print-field{grid-template-columns:38mm 1fr}.ac-print-section h2{break-after:avoid;font-size:12pt}
  .ac-print-table-wrap{overflow:visible}.ac-print-table{width:100%;min-width:0;font-size:9pt;table-layout:auto}.ac-print-table thead{display:table-header-group}.ac-print-table tr{break-inside:avoid;page-break-inside:avoid}.ac-print-table th,.ac-print-table td{padding:5px;border-color:#333}.ac-print-table th{background:#f0f0f0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .ac-print-watermark{position:fixed;top:42%;font-size:64pt;font-weight:900;color:#00000038;print-color-adjust:exact;-webkit-print-color-adjust:exact}.ac-print-signatures,.ac-print-totals{break-inside:avoid}.ac-print-caption{font-size:8pt}
}
.accounting .ac-settlements{display:grid;gap:18px;min-width:0;margin-top:18px}.accounting .ac-settlements section{margin:0;box-shadow:none}.accounting .ac-settlements h3,.accounting .ac-settlements h4{margin:0;overflow-wrap:anywhere}.accounting .ac-settlement-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.accounting .ac-settlement-summary,.accounting .ac-settlement-client{border:1px solid var(--ac-border);border-radius:14px;padding:18px;min-width:0}.accounting .ac-settlement-summary{background:#f3f8f5;display:grid;gap:12px}.accounting .ac-settlement-client>h3{font-size:19px;margin-bottom:14px}.accounting .ac-settlement-direction{display:grid;gap:12px;min-width:0;padding:0;border:0;border-radius:0;background:transparent}.accounting .ac-settlement-direction+.ac-settlement-direction{border-top:2px solid var(--ac-border);padding-top:18px;margin-top:20px}.accounting .ac-settlement-direction>h4{font-size:13px;color:var(--ac-muted)}.accounting .ac-settlement-line,.accounting .ac-settlement-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;font-size:13px;min-width:0}.accounting .ac-settlement-line>span,.accounting .ac-settlement-title{min-width:0;overflow-wrap:anywhere}.accounting .ac-settlements strong{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;font-weight:600}.accounting .ac-settlement-title{display:grid;gap:4px}.accounting .ac-settlement-title .ac-link{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.accounting .ac-settlement-title small{font-size:11px;color:var(--ac-muted)}.accounting .ac-settlement-balance{background:#edf6f0;padding:10px 12px;border-radius:8px}.accounting .ac-settlement-opening{color:var(--ac-muted)}.accounting .ac-settlement-chain{display:grid;gap:10px;border-top:1px solid var(--ac-border);padding-top:14px}.accounting .ac-settlement-document{display:grid;gap:10px;background:#f8faf8;border:1px solid #e4ece6;border-radius:10px;padding:12px;min-width:0}.accounting .ac-settlement-related{display:grid;gap:12px;border-left:2px solid #bed5c7;padding-left:12px;margin-left:4px}.accounting .ac-settlement-document .ac-settlement-balance{background:transparent;border-top:1px solid #dce7e1;border-radius:0;padding:10px 0 0}.accounting .ac-settlement-extras{display:grid;gap:12px;border-top:1px solid var(--ac-border);padding:14px 0 0;border-radius:0;background:transparent}.accounting .ac-settlement-extras h4{font-size:14px}.accounting .ac-settlement-payment{display:grid;gap:10px;padding:12px;border:1px solid var(--ac-border);border-radius:10px;min-width:0}@media(max-width:480px){.accounting .ac-settlement-client,.accounting .ac-settlement-summary{padding:12px}.accounting .ac-settlement-line,.accounting .ac-settlement-entry{grid-template-columns:minmax(0,1fr) auto;gap:8px}.accounting .ac-settlements strong{text-align:right;white-space:normal;overflow-wrap:anywhere;max-width:110px}.accounting .ac-settlement-document{padding:10px}.accounting .ac-settlement-related{padding-left:9px;margin-left:0}}
.accounting .ac-lines-table.ac-regrade-lines{--line-columns:26px minmax(150px,1fr) minmax(150px,1fr) 80px 130px 30px}
.accounting .ac-regrade-lines .ac-lines-header span:nth-child(3){text-align:left}
.accounting .ac-regrade-lines .ac-line>.ac-line-target{grid-column:3;grid-row:1}
.accounting .ac-regrade-lines .ac-line>.ac-line-quantity{grid-column:4;grid-row:1}
.accounting .ac-regrade-lines .ac-line>.ac-line-amount{grid-column:5;grid-row:1}
.accounting .ac-regrade-lines .ac-line>.ac-remove{grid-column:6;grid-row:1}
@media(max-width:700px){.accounting .ac-regrade-lines .ac-line>.ac-line-target{grid-column:2/4;grid-row:2}.accounting .ac-regrade-lines .ac-line>.ac-line-quantity{grid-column:2/4;grid-row:3}.accounting .ac-regrade-lines .ac-line>.ac-line-amount{grid-column:2/4;grid-row:4}.accounting .ac-regrade-lines .ac-line>.ac-remove{grid-column:4;grid-row:1}.accounting .ac-regrade-lines .ac-line-product>span{position:static;width:auto;height:auto;clip-path:none;white-space:normal;font-size:11px;margin-bottom:4px}}
.accounting .ac-document-table tr.ac-order-completed td{background:#edf8ef}.accounting .ac-document-table tr.ac-order-completed:hover td{background:#e3f3e6}.accounting .ac-doc-shipment,.accounting .ac-doc-payment{min-width:145px}.accounting .ac-doc-shipment .ac-badge{white-space:normal}.accounting .ac-order-progress{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.accounting .ac-order-progress p{margin:0}.accounting .ac-related-document{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid var(--ac-border)}@media(max-width:700px){.accounting .ac-related-document{align-items:flex-start;flex-direction:column;gap:4px}.accounting .ac-related-document p{margin:0}}
.accounting .ac-journal-groups{flex-wrap:wrap;overflow:visible}.accounting .ac-journal-kinds{flex-wrap:wrap}.accounting .ac-journal-kinds button{white-space:normal;text-align:left}
.accounting .ac-document-table.ac-order-journal{width:100%;min-width:0;table-layout:fixed}.accounting .ac-order-journal col.ac-order-col-identity{width:20%}.accounting .ac-order-journal col.ac-order-col-party{width:23%}.accounting .ac-order-journal col.ac-order-col-amount{width:17%}.accounting .ac-order-journal col.ac-order-col-progress{width:25%}.accounting .ac-order-journal col.ac-order-col-details{width:15%}.accounting .ac-order-journal th,.accounting .ac-order-journal td{padding:12px 10px;white-space:normal;font-size:12px}.accounting .ac-order-identity,.accounting .ac-order-marks{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}.accounting .ac-order-identity small,.accounting .ac-order-marks small{margin:0;color:var(--ac-muted);font-size:11px}.accounting .ac-order-journal .ac-badge{white-space:normal}.accounting .ac-order-date,.accounting .ac-order-amount{white-space:nowrap;font-variant-numeric:tabular-nums;word-break:normal;overflow-wrap:normal}.accounting .ac-order-cell-amount{text-align:right}.accounting .ac-order-details summary{cursor:pointer;font-size:11px;color:var(--ac-green)}.accounting .ac-order-details p{font-size:11px;margin:8px 0 0;overflow-wrap:anywhere}.accounting .ac-order-cell-party{overflow-wrap:anywhere}
@media(max-width:700px){.accounting .ac-order-journal,.accounting .ac-order-journal tbody{display:block;width:100%}.accounting .ac-order-journal colgroup{display:none}.accounting .ac-order-journal thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.accounting .ac-order-journal tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--ac-border);padding:10px;background:#fff}.accounting .ac-order-journal tbody tr:first-child{border-top:0}.accounting .ac-order-journal tbody td{display:block;border:0;padding:7px;min-width:0}.accounting .ac-order-journal td:before{content:attr(data-label);display:block;font-size:10px;color:var(--ac-muted);font-weight:500;margin-bottom:5px}.accounting .ac-order-journal td.ac-order-cell-progress,.accounting .ac-order-journal td.ac-order-cell-details{grid-column:1/-1}.accounting .ac-order-journal td.ac-order-cell-amount{text-align:left;grid-column:1/-1}.accounting .ac-order-marks{flex-direction:row;align-items:center;flex-wrap:wrap}.accounting .ac-order-journal .ac-order-completed{background:#edf8ef}}
.accounting .ac-lifecycle-hint{color:var(--ac-muted);font-size:11px;line-height:1.4;max-width:240px}
.accounting .ac-shop-review{display:grid;gap:12px;border:1px solid #b7d3e9;border-radius:14px;background:#f3f8fd;padding:18px;margin:0 0 20px;min-width:0}.accounting .ac-shop-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.accounting .ac-shop-review.ac-shop-new{border-left:5px solid #4183b4}.accounting .ac-shop-badge{background:#edf3fb;color:#285b85;white-space:normal}.accounting .ac-shop-badge-new{background:#deedfb;color:#1f567f}.accounting .ac-document-table tr.ac-shop-new td{background:#edf5fd}.accounting .ac-shop-payment{font-size:13px;line-height:1.5;color:#415f76}.accounting .ac-shop-issues{margin:0;padding-left:20px;line-height:1.6;font-size:13px}.accounting .ac-shop-source{min-width:0}.accounting .ac-shop-source>div{display:grid;gap:12px;min-width:0}.accounting .ac-shop-source .ac-table-wrap{max-width:100%}.accounting .ac-order-marks .ac-order-allocation-warning{color:#76541a;font-weight:600}@media(max-width:700px){.accounting .ac-order-journal tr.ac-shop-new{background:#edf5fd}.accounting .ac-shop-review{padding:12px}.accounting .ac-shop-review .ac-actions{align-items:stretch;flex-direction:column}.accounting .ac-shop-review .ac-actions button{text-align:left}}
.accounting .ac-access-group{display:grid;gap:14px;min-width:0}.accounting .ac-access-group>div{min-width:0}.accounting .ac-rights-matrix{width:100%;max-width:100%;overflow:auto;margin-bottom:18px}.accounting .ac-rights-matrix table{min-width:660px}.accounting .ac-rights-matrix th{white-space:normal;max-width:130px}.accounting .ac-rights-matrix td:first-child{min-width:190px;white-space:normal}.accounting .ac-right-check{display:flex;justify-content:center;margin:0}.accounting .ac-right-check>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.accounting .ac-right-check input{width:20px;height:20px;min-height:20px}.accounting .ac-rights-matrix td{vertical-align:middle}
@media(max-width:700px){.accounting .ac-rights-matrix table,.accounting .ac-rights-matrix tbody{display:block;min-width:0;width:100%}.accounting .ac-rights-matrix thead{display:none}.accounting .ac-rights-matrix tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--ac-border);padding:8px}.accounting .ac-rights-matrix td{display:block;min-width:0;white-space:normal;border:0;padding:8px}.accounting .ac-rights-matrix td:first-child{grid-column:1/-1;min-width:0;font-weight:650}.accounting .ac-right-check>span{position:static;width:auto;height:auto;clip-path:none;overflow:visible;font-size:12px}.accounting .ac-right-check{justify-content:flex-start;align-items:flex-start!important;gap:8px}.accounting .ac-right-check input{flex:0 0 20px}.accounting .ac-rights-matrix{overflow:hidden}}
.accounting .ac-report-sections{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.accounting .ac-report-sections button[aria-pressed=true]{background:var(--ac-green);color:#fff}.accounting .ac-report-description{font-size:13px;line-height:1.6;color:var(--ac-muted);margin-bottom:16px}.accounting .ac-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.accounting .ac-report-filters .ac-multi{grid-column:1/-1;width:100%;margin:0}.accounting .ac-report-output,.accounting .ac-report-data{min-width:0;max-width:100%}.accounting .ac-report-output>h3{margin:16px 0 8px}.accounting .ac-report-output>button{margin:12px 0}.accounting .ac-report-output .ac-report-grid{overflow:visible;max-width:100%}.accounting .ac-report-output .ac-report-grid .ac-table{width:100%;min-width:0;table-layout:fixed}.accounting .ac-report-grid .ac-table th{white-space:normal;overflow-wrap:anywhere}.accounting .ac-report-output .ac-report-grid .ac-table td{min-width:0;max-width:none;overflow-wrap:anywhere;padding:12px 10px}.accounting .ac-report-grid .ac-table td>*{max-width:100%;min-width:0}.accounting .ac-report-details summary{cursor:pointer;color:var(--ac-green);font-size:12px}.accounting .ac-report-details dl{margin:12px 0 0;display:grid;gap:12px}.accounting .ac-report-details dt{font-size:11px;color:var(--ac-muted)}.accounting .ac-report-details dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:12px}.accounting .ac-report-document-links{display:grid;gap:10px;margin:12px 0}.accounting .ac-report-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0}.accounting .ac-report-kpis .ac-kpi{padding:14px}.accounting .ac-report-kpis .ac-kpi strong{font-size:20px}.accounting .ac-report-reconciliation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.accounting .ac-report-reconciliation>div{padding:10px;border-left:3px solid #dbe7df;min-width:0}.accounting .ac-report-reconciliation strong{display:block;margin-top:6px;overflow-wrap:anywhere}.accounting .ac-report-output .ac-pages{gap:8px;flex-wrap:wrap}.accounting .ac-report-output .ac-panel{min-width:0;padding:12px}.accounting .ac-report-output .ac-table-wrap{min-width:0}
@media(max-width:700px){.accounting .ac-report-filters{grid-template-columns:minmax(0,1fr)}.accounting .ac-report-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.accounting .ac-report-sections button{padding:9px;font-size:12px}.accounting .ac-report-kpis,.accounting .ac-report-reconciliation{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting .ac-report-grid .ac-table thead{display:none}.accounting .ac-report-grid .ac-table,.accounting .ac-report-grid .ac-table tbody,.accounting .ac-report-grid .ac-table tr{display:block;width:100%}.accounting .ac-report-grid .ac-table tr{padding:12px;border-bottom:1px solid var(--ac-border)}.accounting .ac-report-output .ac-report-grid .ac-table td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;padding:8px 0;border:0;line-height:1.5}.accounting .ac-report-grid .ac-table td:before{content:attr(data-label);font-size:11px;color:var(--ac-muted)}.accounting .ac-report-grid .ac-table td.ac-report-detail-cell{display:block}.accounting .ac-report-grid .ac-table td.ac-report-detail-cell:before{display:none}.accounting .ac-report-details dl{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting .ac-report-details summary{padding:8px 0}.accounting .ac-report-kpis .ac-kpi strong{font-size:18px}}

.accounting .ac-report-expanded dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}.accounting .ac-report-expanded dt{font-size:11px;color:var(--ac-muted)}.accounting .ac-report-expanded dd{font-size:13px;margin:4px 0 0;overflow-wrap:anywhere}.accounting .ac-report-output .ac-report-grid .ac-report-expanded-cell{background:#f7faf8;padding:18px}.accounting .ac-report-expanded-cell:before{display:none!important}@media(max-width:700px){.accounting .ac-report-output .ac-report-grid .ac-report-expanded-cell{display:block}.accounting .ac-report-expanded dl{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting .ac-report-kpis .ac-kpi:last-child{grid-column:auto}}
.accounting .ac-product-photo{display:flex;align-items:center;gap:20px;padding:16px;border:1px solid var(--ac-border);border-radius:16px;background:#f8faf8;margin:0 0 20px;min-width:0}.accounting .ac-product-photo-picture{width:160px;height:160px;flex:0 0 160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-radius:12px;background:#fff;text-align:center;padding:8px;overflow:hidden}.accounting .ac-product-photo-picture img{display:block;width:100%;height:100%;object-fit:contain}.accounting .ac-product-photo-controls{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}.accounting .ac-product-photo-controls button{padding:7px 10px}.accounting .ac-product-additional>div{display:grid;gap:14px;margin-top:14px;min-width:0}.accounting .ac-product-additional h4{margin:0}.accounting .ac-product-shop-link{display:grid;gap:9px;padding:14px;background:#f8faf8;border:1px solid var(--ac-border);border-radius:12px;min-width:0;overflow-wrap:anywhere}.accounting .ac-product-link-ids{font-size:12px;line-height:1.6;color:var(--ac-muted)}.accounting .ac-product-link-ids summary{font-size:12px}.accounting .ac-product-link-dialog{max-width:680px}.accounting .ac-product-link-dialog .ac-product-link-identifiers,.accounting .ac-product-link-dialog .ac-muted{grid-column:1/-1;min-width:0}.accounting .ac-product-link-identifiers{margin:0}.accounting .ac-product-link-identifiers>.ac-field{margin-top:14px!important}.accounting .ac-product-link-dialog .ac-error[hidden]{display:none}@media(max-width:700px){.accounting .ac-product-photo{align-items:flex-start;gap:12px;padding:12px}.accounting .ac-product-photo-picture{width:110px;height:130px;flex-basis:110px}.accounting .ac-product-photo-controls{font-size:13px}.accounting .ac-product-photo-controls .ac-muted{font-size:11px}.accounting .ac-product-link-dialog .ac-form-grid{grid-template-columns:minmax(0,1fr)}.accounting .ac-product-shop-link .ac-actions{align-items:stretch}.accounting .ac-product-shop-link .ac-actions button{flex:1}.accounting .ac-product-link-dialog .ac-error{overflow-wrap:anywhere}}

.accounting .ac-product-form,.accounting .ac-product-form>*{min-width:0;max-width:100%}.accounting .ac-product-form .ac-cost-panel{grid-column:1/-1}@media(max-width:700px){.accounting .ac-product-form{grid-template-columns:minmax(0,1fr)}}
.accounting .ac-report-wide-detail{grid-column:1/-1;min-width:0}.accounting .ac-money-detail{min-width:0;padding:14px;border:1px solid var(--ac-border);border-radius:12px;background:#fff}.accounting .ac-money-detail-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px}.accounting .ac-money-detail-heading button{text-align:left;overflow-wrap:anywhere}.accounting .ac-report-expanded .ac-money-detail dl{margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.accounting .ac-money-detail dl>div{min-width:0}.accounting .ac-money-detail dd{font-variant-numeric:tabular-nums}.accounting .ac-money-detail-heading .ac-muted{font-size:12px}@media(max-width:700px){.accounting .ac-money-detail{padding:10px}.accounting .ac-report-expanded .ac-money-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.accounting .ac-report-output .ac-report-grid .ac-table td.ac-report-expanded-cell{display:block}}
.accounting .ac-report-output .ac-report-grid .ac-report-expanded[hidden]{display:none}
.accounting .ac-shop-post-dialog{max-width:620px;overflow-wrap:anywhere}.accounting .ac-shop-post-dialog>p{margin:10px 0;line-height:1.5}.accounting .ac-shop-post-lines{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px;max-height:30vh;overflow:auto}.accounting .ac-shop-post-lines li{padding:10px;background:#f3f7f4;border-radius:8px;min-width:0}.accounting .ac-shop-post-lines .ac-muted{display:block;margin-top:5px;font-size:12px}.accounting .ac-shop-post-dialog .ac-actions{position:sticky;bottom:-18px;padding:12px 0;background:white}.accounting .ac-shop-post-dialog .ac-actions button{white-space:normal}
.accounting .ac-money-period{margin-top:22px;max-width:850px;overflow-wrap:anywhere}.accounting .ac-money-period-form{display:grid;gap:14px;min-width:0}.accounting .ac-money-period-form .ac-field{max-width:330px;min-width:0}.accounting .ac-money-period-form input{max-width:100%;min-width:0;box-sizing:border-box}.accounting .ac-money-period .ac-actions button{white-space:normal}
@media(max-width:700px){.accounting .ac-document-form .ac-sticky-actions>button{flex:1 1 140px;min-width:0;white-space:normal}}

.accounting .ac-journal-comment{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:12px}.accounting .ac-comment-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.accounting .ac-journal-comment.is-expanded .ac-comment-preview{display:block}.accounting .ac-journal-comment .ac-link{font-size:11px;padding:2px 0}.accounting .ac-balance-policy{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 0}.accounting .ac-balance-policy label{min-width:0;overflow-wrap:anywhere}.accounting .ac-balance-policy button{flex-shrink:0}

.accounting .ac-access-objects{display:grid;gap:12px;margin:14px 0}.accounting .ac-access-object{border:1px solid var(--ac-border,#d9dedb);border-radius:12px;padding:14px;min-width:0;overflow-wrap:anywhere}.accounting .ac-access-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;margin-top:12px}.accounting .ac-access-right{min-width:0}.accounting .ac-access-source{display:block;color:var(--ac-muted);font-size:11px;overflow-wrap:anywhere;margin-top:4px}.accounting .ac-access-person,.accounting .ac-user-access-form,.accounting .ac-personal-access{min-width:0}.accounting .ac-access-right label{margin:0}.accounting .ac-group-editor>summary{cursor:pointer}
/* Imported filenames and parser messages are untrusted text and may be long. */
.ac-file-name{white-space:normal;overflow-wrap:anywhere;max-width:30rem}.ac-file-history,.ac-file-detail{min-width:0;max-width:100%}.ac-file-row-actions{min-width:170px;max-width:350px;white-space:normal}.ac-file-row-actions summary{cursor:pointer;white-space:normal}.ac-file-row-actions details p{white-space:normal;overflow-wrap:anywhere}.ac-file-row-actions .ac-actions{flex-wrap:wrap}
.ac-payroll-lines{display:grid;gap:12px}.ac-payroll-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(120px,.7fr) minmax(180px,1.5fr) auto;gap:12px;align-items:end;border:1px solid var(--ac-border);border-radius:12px;padding:14px;min-width:0}.ac-payroll-row>.ac-field{min-width:0}@media(max-width:700px){.ac-payroll-row{grid-template-columns:minmax(0,1fr)}.ac-payroll-row .ac-quiet{justify-self:start}}
.ac-import-problem{background:#ffb8d7!important;border-color:#ce2772!important;color:#4d1230}.ac-table tr.ac-import-problem>td{background:#ffb8d7!important}.ac-import-problem-label{background:#b70b55!important;color:white!important}.ac-import-notice{border:1px solid;padding:14px;border-radius:12px;margin:12px 0}.ac-import-issue{font-weight:600;overflow-wrap:anywhere}.ac-source-line-note{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere;color:#8f2353;background:#fff0f6;border-radius:8px;padding:8px}
.ac-payment-link-row{padding:.65rem 0;border-top:1px solid var(--border,#dce2ea);overflow-wrap:anywhere}
.ac-payment-links .ac-actions{align-items:flex-end;flex-wrap:wrap}
.ac-payment-links .ac-field{max-width:100%}
