/* Finance opens as its own workspace, sharing identity and authorized book services. */
.erp-book-entry{flex:1 1 100%;min-width:0;padding:20px;background:#f3f7f4;border:1px solid #d6e0d9;border-radius:10px;box-sizing:border-box}
.erp-book-entry h3{margin:0 0 8px;font-size:18px}
.erp-book-entry p{margin:8px 0;overflow-wrap:anywhere}
.erp-book-entry .park-actions>*{min-width:0;max-width:100%;white-space:normal}
#book-access-guide ol{padding-left:22px;font-size:14px;line-height:1.9}
.park-finance-mode .park-workspace-shell{max-width:none;padding:0 20px}
.park-finance-mode .park-workhead,.park-finance-mode .park-workspace-sidebar,.park-finance-mode #park-current-location,.park-finance-mode [data-park-panel=bookkeeping]>.panel>h2,.park-finance-mode [data-park-panel=bookkeeping]>.panel>p{display:none}
.park-finance-mode .park-workspace-layout{display:block}
.park-finance-mode .park-header{padding:12px 0;margin-bottom:0}
.park-finance-mode [data-park-panel=bookkeeping]>.panel{border-radius:0;padding:12px 18px;background:white}
.park-finance-mode #ops-bookkeeping-tools{margin:0}
.park-finance-mode #ops-bookkeeping-list{gap:0}
.park-finance-mode #ops-bookkeeping-list>h2{font-size:12px;font-weight:400;background:#f0f2f5;margin:0;padding:10px 18px;color:#53606d}
.park-finance-mode .book-workspace{border-radius:0;min-height:calc(100vh - 190px);grid-template-columns:190px minmax(0,1fr)}
.park-finance-mode .book-sidebar{background:#263445;color:#ced6df;min-height:calc(100vh - 190px)}
.park-finance-mode .book-nav-brand,.park-finance-mode .book-sidebar summary{color:#edf2f8}
.park-finance-mode .book-sidebar>small,.park-finance-mode .book-sidebar .book-nav-link{color:#bec9d5}
.park-finance-mode .book-sidebar .book-nav-link.active{background:#10a783;color:white;border-radius:3px}
.park-finance-mode .book-sidebar .book-nav-link:hover{background:#344b60;color:white}
.park-finance-mode .book-main{background:#fff}
.book-home-welcome{display:flex;flex-wrap:wrap;gap:14px;padding:22px;border:1px solid #e0e8e1;margin-bottom:22px;align-items:center}
.book-home-welcome .book-view-title{width:100%;font-size:16px}
.book-home-welcome .book-large-create{min-height:92px;min-width:180px;font-size:18px;background:#079d7b}
.book-create-page{background:#fff;min-height:65vh;padding:36px max(20px,calc((100% - 700px)/2));box-sizing:border-box}
.book-create-page>h2{font-size:23px;margin:0 0 14px}
.book-create-form{max-width:700px;margin-top:28px;display:grid;gap:20px}
.book-create-form>label{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;align-items:center;font-size:14px}
.book-create-form input,.book-create-form select,.book-create-form textarea{width:100%;min-width:0;margin:0;box-sizing:border-box}
.book-create-form fieldset{border:0;padding:0;margin:0;display:flex;gap:20px;flex-wrap:wrap;min-width:0}
.book-create-form legend{font-size:14px;margin-bottom:10px}
.book-create-form fieldset label{display:flex;gap:8px;align-items:center;font-size:14px}
.book-create-form [type=radio]{width:auto;accent-color:#079d7b}
.book-create-form p{font-size:12px;line-height:1.8;margin:0}
.book-create-form .park-actions{justify-content:center}
.book-source-choice{border:1px solid #dce6de;background:#f7faf7;padding:18px;display:grid;gap:14px;min-width:0}
.book-source-choice h3{margin:0;font-size:16px}
.book-source-choice label{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:18px;font-size:14px}
.book-source-choice label[hidden]{display:none}
.book-setup-workspace .book-create-page{padding:24px max(12px,calc((100% - 700px)/2))}
.book-sidebar .book-nav-link:disabled{cursor:default;opacity:.45}
.book-main>.park-actions{align-items:start}
@media(max-width:650px){.book-source-choice label{grid-template-columns:1fr;gap:8px}.book-source-choice{padding:12px}.book-setup-workspace .book-sidebar{min-height:0}.book-setup-workspace .book-nav-link:disabled{display:none}}
@media(max-width:650px){.park-finance-mode .park-workspace-shell{padding:0 10px}.park-finance-mode .book-workspace{display:block}.park-finance-mode .park-header{gap:8px;flex-wrap:wrap}.park-finance-mode .park-links{flex-wrap:wrap;gap:6px}.book-create-page{padding:22px 16px}.book-create-form>label{grid-template-columns:1fr;gap:8px}.book-create-form fieldset{gap:16px}.book-home-welcome{padding:14px}.book-home-welcome .book-large-create{width:100%}}
[data-park-panel=bookkeeping]> .panel{position:sticky;top:0;z-index:4;background:#f9fbf8;border-bottom:1px solid #ccd8d0;padding:18px 22px}
[data-park-panel=bookkeeping]> .panel h2{margin:0 0 5px;font-size:20px}
[data-park-panel=bookkeeping]> .panel>p{margin:0;color:#62746b;font-size:12px}
#ops-bookkeeping-tools{align-items:end;margin-top:12px}
#ops-bookkeeping-tools label{display:grid;gap:4px;font-size:12px;min-width:0;flex:1 1 170px}
#ops-bookkeeping-tools label:first-child{flex:3 1 320px}
#ops-bookkeeping-tools button{font-size:12px;padding:10px 14px}
#ops-bookkeeping-tools input,#ops-bookkeeping-tools select{margin:0;width:100%;min-width:0}
.book-context-state{color:#395e4d;font-size:12px;align-self:center}
#ops-bookkeeping-list>h2{font-size:17px;margin:12px 0 0}
.book-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid #d6e0d9;border-radius:12px;overflow:hidden;background:white;align-items:start}
.book-sidebar{display:block;padding:20px 12px;background:#eef3ee;min-height:650px;min-width:0;border-right:1px solid #d6e0d9}
.book-nav-brand{margin:0;font-size:18px;font-weight:700;letter-spacing:2px;color:#173e37}
.book-sidebar>small{font-size:11px;color:#63756c;display:block;margin:5px 0 18px}
#ops-bookkeeping-list .book-sidebar details{padding:0;border:0;border-radius:0;margin:6px 0}
.book-sidebar summary{padding:9px 7px;font-size:12px;font-weight:700;color:#476052}
.book-sidebar .book-nav-link{display:block;width:100%;text-align:left;background:transparent;color:#496257;font-size:12px;border:0;border-radius:6px;padding:9px 11px;margin:2px 0;box-shadow:none;white-space:normal}
.book-sidebar .book-nav-link.active{background:#173e37;color:white}
.book-sidebar .book-nav-link:hover{background:#dce8de;color:#173e37}
.book-main{padding:22px;min-width:0;max-width:100%}
.book-view-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e8e1;padding-bottom:14px;margin-bottom:10px;flex-wrap:wrap}
.book-view-title{font-size:21px;font-weight:700;color:#173e37}
.book-view-heading label{font-size:11px;color:#5e7065;min-width:0;max-width:100%}
.book-view-heading select{display:block;min-width:0;max-width:100%;font-size:12px;width:220px;margin-top:4px}
.book-view-context{font-size:12px;color:#65766c;margin-bottom:20px}
.book-main h3{font-size:16px;margin:24px 0 8px}
.book-main p,.book-main li{font-size:13px}
.book-main>.park-card{margin:16px 0}
.book-main .erp-table-wrap{max-height:65vh;overflow:auto}
.book-main .erp-table-wrap th{position:sticky;top:0;z-index:1;background:#eef3ea}
.book-main .erp-table-wrap td{font-variant-numeric:tabular-nums}
.book-main .erp-table-wrap tbody tr:nth-child(even){background:#fafbf9}
.book-main .park-card{padding:16px;margin:14px 0}
.book-main .park-card h3{font-size:15px;margin:0 0 8px}
.book-main button{font-size:12px;padding:9px 13px;max-width:100%;white-space:normal}
.book-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.book-kpis>button,.book-metric{border:1px solid #d9e3dc;border-radius:8px;padding:16px;text-align:left;background:#f9fbf8;color:#234b3c;min-width:0}
.book-kpis span{display:block;font-size:11px;color:#65796c}
.book-kpis strong{display:block;font-size:24px;margin-top:10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.book-shortcuts{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #e4eae3;border-bottom:1px solid #e4eae3;padding:16px 0;margin:20px 0}
.book-flow{padding-left:22px;line-height:2}
.book-voucher-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;background:#f5f8f3;border-radius:8px;margin-top:18px}
.book-voucher-filter label{display:grid;gap:5px;font-size:12px;min-width:0}
.book-voucher-filter input,.book-voucher-filter select{width:100%;min-width:0;margin:0}
.book-month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 28px}
.book-month-grid .book-month{background:#f3f6f1;color:#52675a;border:1px solid #d3dfd5;border-radius:8px;padding:16px 10px}
.book-month-grid .book-month.active{background:#173e37;color:white;border-color:#173e37}
.book-month strong,.book-month span{display:block}.book-month strong{font-size:22px}.book-month span{font-size:11px;margin-top:5px}
.book-close-checks>div{display:grid;grid-template-columns:90px minmax(0,1fr) 55px;gap:12px;align-items:center;border-bottom:1px solid #e0e7dd;padding:14px 0;font-size:12px}
#ops-dialog.book-voucher-editor{width:min(1120px,96vw);padding:24px}
.book-voucher-editor .book-editor-context{background:#eff5ee;padding:12px;color:#42614e;font-size:13px}
.book-voucher-editor #ops-form fieldset{padding:0;border-radius:4px;overflow:hidden}
.book-voucher-editor #ops-form fieldset legend{margin-left:12px;padding:0 6px}
.book-voucher-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,2fr);column-gap:16px}
.book-voucher-fields>fieldset,.book-voucher-summary{grid-column:1/-1}
.book-voucher-editor .dialog-actions{position:sticky;bottom:0;background:white;padding:12px 0;margin:0;z-index:3}
.book-grid-head,.book-voucher-editor .ops-repeat-row{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(220px,1.8fr) minmax(95px,1fr) minmax(95px,1fr);gap:0;padding:0;align-items:stretch}
.book-grid-head{padding:10px;background:#eaf2e7;font-size:13px;font-weight:600}
.book-voucher-editor #ops-form .ops-repeat-row>label,.book-voucher-editor #ops-form .ops-repeat-row>.book-cell-account{border:1px solid #e0e7dd;padding:9px;margin:0;font-size:11px;min-width:0;display:flex;flex-direction:column;justify-content:end}
.book-voucher-editor .ops-repeat-row input,.book-voucher-editor .ops-repeat-row select{width:100%;margin:5px 0 0;min-width:0;border-radius:3px;padding:9px 7px;font-size:13px}
.book-voucher-editor [data-column=debit_minor],.book-voucher-editor [data-column=credit_minor]{text-align:right;font-variant-numeric:tabular-nums}
.book-voucher-editor .book-account-search{font-size:11px!important;padding:6px!important}
.book-line-aux{grid-column:1/4;margin:0!important;padding:9px 12px;border:0;font-size:11px;background:#fafbf8}
.book-line-aux summary{width:100%;cursor:pointer;color:#567059}.book-aux-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.book-aux-grid>label{min-width:0;margin:6px 0!important}
.book-voucher-editor .ops-repeat-row>button{background:#f2f4ef;color:#6e4c40;border:0;font-size:11px;align-self:stretch;border-radius:0}
.book-voucher-totals{display:flex;flex-wrap:wrap;gap:18px;padding:16px;background:#f5f8ef;font-size:13px;font-variant-numeric:tabular-nums;position:sticky;bottom:60px;border:1px solid #d6e0cd;z-index:3}
.book-voucher-editor fieldset>button{margin:12px}.book-voucher-editor fieldset>p{margin:0;padding:12px;font-size:12px}
.book-print{width:min(1050px,94vw);max-height:90vh;overflow:auto;border:1px solid #b8cbbc;border-radius:8px;padding:24px}
.book-print p{font-size:12px}.book-print .erp-table-wrap{overflow:auto}
.book-ledger-caption{text-align:center;font-weight:600;letter-spacing:.5px;margin:18px 0 8px!important;color:#263e35}
.book-ledger-table table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.book-ledger-table th,.book-ledger-table td{border:1px solid #b7c5bd;padding:9px 12px;text-align:right}
.book-ledger-table th{text-align:center}.book-ledger-table td:nth-child(-n+2){text-align:left}
.book-main .book-ledger-table thead tr:nth-child(2) th{top:34px}.book-ledger-table tfoot{background:#eef3ee;font-weight:600}
.book-paper-preview{background:#e9ecef}.book-paper-preview>h2,.book-paper-preview>p{display:none}
.book-voucher-paper{position:relative;box-sizing:border-box;width:100%;min-width:690px;margin:18px 0;padding:24px 22px;background:white;color:#111;border:1px solid #c8ccc9;font-family:"SimSun","Songti SC",serif}
.book-paper-header h2{text-align:center;font-size:25px!important;letter-spacing:9px;margin:0 auto 12px;padding:0 0 8px;width:max-content;border-bottom:3px double #222;font-weight:600}
.book-paper-company{text-align:center;font-size:13px;font-weight:600;margin:8px 0 16px}.book-paper-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:9px}
.book-paper-state{position:absolute;right:24px;top:28px;border:1px solid #994a37;color:#994a37;padding:4px 8px;font-size:11px;transform:rotate(-7deg)}
.book-paper-table{table-layout:fixed;width:100%;border-collapse:collapse;border:2px solid #333;white-space:normal;font-size:12px}
.book-paper-table th,.book-paper-table td{border:1px solid #555;padding:0;vertical-align:middle;overflow-wrap:anywhere;background:white}
.book-paper-table th:nth-child(1){width:24%}.book-paper-table th:nth-child(2){width:32%}.book-paper-table th:nth-child(n+3){width:22%}
.book-paper-table th>div:first-child{padding:7px 4px;text-align:center}.book-paper-table tbody td:nth-child(-n+2){padding:7px 8px;line-height:1.6;height:48px}
.book-paper-table td small{display:block;font-size:10px;line-height:1.45;color:#333}.book-paper-table tfoot td{height:36px;font-size:11px}.book-paper-table tfoot td:first-child{padding:8px}.book-paper-table tfoot strong{margin-right:10px}
.book-paper-digits{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));align-items:center;font-family:"Consolas","Courier New",monospace;font-variant-numeric:tabular-nums;height:100%;min-height:48px;font-size:12px;position:relative}.book-paper-digits span{display:flex;align-items:center;justify-content:center;align-self:stretch;border-left:1px solid #d8ddd8}.book-paper-digits span:first-child{border-left:0}.book-paper-digits span:nth-last-child(2){border-left:1px solid #555}.book-paper-digits.negative{color:#b32121}.book-paper-digits.negative:before{content:"−";position:absolute;left:1px;top:0;font-size:9px}.book-paper-large-amount{display:block;word-break:break-all;text-align:right;padding:3px;box-sizing:border-box}
.book-paper-units{min-height:22px;font-family:"SimSun",serif;font-size:9px;border-top:1px solid #777}.book-paper-table th>.book-paper-units{padding:0!important}.book-paper-table tfoot .book-paper-digits{min-height:36px}
.book-paper-signatures{display:flex;gap:10px;margin-top:14px;font-size:14px;line-height:1.8;flex-wrap:wrap}.book-paper-reference{font-size:9px!important;color:#666;margin:13px 0 0!important}.book-paper-warning{font-size:10px!important;margin:5px 0 0!important;color:#994a37}
@media screen and (max-width:750px){.book-paper-preview{overflow:auto;max-width:94vw;box-sizing:border-box}.book-paper-preview .book-print-controls{position:sticky;left:0;width:calc(94vw - 48px);z-index:2}}
@media print{
 @page{size:A4 portrait;margin:12mm}
 .book-paper-preview{background:white}.book-paper-preview .book-voucher-paper{min-width:0;width:100%;padding:12px 0;border:0;margin:0;break-inside:avoid;break-after:page}.book-paper-preview .book-voucher-paper:last-of-type{break-after:auto}
 .book-paper-preview .book-paper-header h2{font-size:23px}.book-paper-preview .book-paper-table th,.book-paper-preview .book-paper-table td{padding:0;border-color:#444}.book-paper-preview .book-paper-table tbody td:nth-child(-n+2){padding:7px}.book-paper-preview .book-paper-table tfoot td:first-child{padding:8px}.book-paper-preview .book-paper-digits{font-size:10px}.book-paper-preview .book-paper-units{font-size:8px}
 .book-print .book-ledger-table table{font-size:8px}.book-print .book-ledger-table th,.book-print .book-ledger-table td{padding:4px 3px;min-width:0;white-space:normal}.book-print .book-ledger-table tfoot{display:table-row-group}
}
@media(max-width:650px){.book-voucher-fields{display:block}.book-voucher-totals{bottom:60px}}
@media(max-width:900px){.book-workspace{grid-template-columns:155px minmax(0,1fr)}.book-main{padding:16px}.book-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.book-voucher-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){[data-park-panel=bookkeeping]>.panel{position:static;padding:14px}.book-workspace{display:block}.book-sidebar{display:none}.book-main{padding:14px}.book-view-heading{display:block}.book-view-heading label{display:block;margin-top:10px}.book-view-heading select{width:100%}.book-month-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.book-voucher-filter{grid-template-columns:1fr;padding:12px}.book-close-checks>div{grid-template-columns:1fr 55px;gap:8px}.book-close-checks strong{grid-column:1/-1}.book-kpis{gap:8px}.book-kpis>button,.book-metric{padding:12px}.book-kpis strong{font-size:20px}#ops-dialog.book-voucher-editor{padding:14px}.book-grid-head{display:none}.book-voucher-editor .ops-repeat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.book-voucher-editor .ops-repeat-row>label:nth-child(-n+2){grid-column:1/-1}.book-voucher-editor .book-line-aux{grid-column:1/-1}.book-voucher-editor .ops-repeat-row>button{grid-column:1/-1;padding:10px}.book-voucher-totals{display:grid;gap:8px}.book-print{padding:12px}}
/* The everyday accounting workspace uses the same column order as a paper voucher. */
.book-workspace{overflow:visible}.book-sidebar{position:relative;z-index:6}.book-sidebar>details{position:relative}
.book-enterprise-brand{display:flex;gap:10px;align-items:center;padding:0 4px 8px}.book-enterprise-logo{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:6px;background:#e7f1df;color:#315732;font-size:21px}.book-enterprise-logo img{width:100%;height:100%;object-fit:contain;border-radius:6px}.book-sidebar .book-nav-brand{font-size:15px;letter-spacing:0;line-height:1.6;overflow-wrap:anywhere}.book-nav-icon{display:inline-block;width:19px;height:19px;vertical-align:middle;margin-right:10px;flex-shrink:0}.book-sidebar .book-nav-home{display:flex;align-items:center;width:100%;background:transparent;border:0;color:#d0dbd1;text-align:left;padding:16px 10px;font-size:14px;border-radius:0}.book-sidebar .book-nav-home.active{background:#25492c;color:#8fd68b}
.book-main .book-module-panel{background:white;border:1px solid #e0e5dc;padding:18px;min-width:0}.book-module-panel label{max-width:420px;margin:16px 0}.book-module-panel .erp-table-wrap{margin:14px 0}
.book-screen-voucher>.park-pill{display:none}.book-paper-header{display:block;margin-bottom:10px}.book-paper-header .book-paper-company{display:block;text-align:center}.book-screen-table th{color:#293b2b;font-size:13px;font-weight:600}.book-screen-table tfoot td:first-child{text-align:left}
.book-sidebar summary.active{background:#25492c;color:#8fd68b}.book-sidebar summary{cursor:pointer;font-size:14px;padding:16px 10px;list-style:none}.book-sidebar summary::after{content:'›';float:right}
.book-sidebar .book-nav-menu{position:static;width:100%;padding:6px;background:white;box-shadow:none;border:0;box-sizing:border-box}
.book-sidebar>details[open]>summary::after{content:'⌄'}
.book-sidebar>details>summary:focus-visible{outline:2px solid #4054b8;outline-offset:-2px}
.book-nav-menu .book-nav-link{display:flex!important;justify-content:space-between;align-items:center;gap:10px}.book-nav-menu .book-nav-link small{font-size:10px;color:#899487;white-space:nowrap}.book-nav-menu .book-nav-link:disabled{opacity:.65!important;cursor:default!important}.book-sidebar details:nth-last-child(-n+3) .book-nav-menu{top:auto;bottom:0}
.park-finance-mode .book-sidebar .book-nav-menu .book-nav-link{color:#354b3a;padding:12px;font-size:13px}.park-finance-mode .book-sidebar .book-nav-menu .book-nav-link:hover{background:#edf5e9;color:#46743e}.park-finance-mode .book-sidebar .book-nav-menu .book-nav-link.active{background:#edf5e9;color:#46743e}
.book-page-tabs{display:flex;gap:6px;overflow:auto;padding:9px 14px;background:white;margin:-22px -22px 22px;border-bottom:7px solid #f0f2f4}.book-main .book-page-tabs button{border:0;border-radius:0;background:#f0f2f6;color:#66726b;padding:10px 22px;white-space:nowrap;flex-shrink:0}.book-main .book-page-tabs button.active{background:#65ad52;color:white}
.park-finance-mode .book-sidebar{background:#0d1d13;color:#ced7cf}
.park-finance-mode .book-sidebar .book-nav-link.active{background:#25492c;color:#8fd68b;border-left:3px solid #68b557;border-radius:0}
.park-finance-mode .book-sidebar .book-nav-link:hover{background:#24412b}
.park-finance-mode .book-main{background:#f6f7f8}
.book-view-heading{background:white;padding:12px 16px;margin:-22px -22px 16px;border-bottom:1px solid #e5e8e5}
.book-view-heading .book-view-title{background:#64ac52;color:white;padding:9px 22px;font-size:17px;font-weight:500}
.book-main .book-screen-voucher{border-radius:4px;padding:0;background:white;border:1px solid #d9dfda;overflow:hidden}
.book-main .book-screen-voucher>header,.book-main .book-screen-voucher>h3{padding:14px 18px;background:#edf5e9;margin:0}
.book-screen-meta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:16px 18px;font-size:13px;border-bottom:1px solid #dce1dc}
.book-screen-state{margin-left:auto;color:#477941;font-weight:500}.book-screen-state.closed{border:2px solid #bc443a;color:#bc443a;padding:2px 9px;transform:rotate(-5deg);font-size:19px}
.book-screen-sheet{overflow:auto;max-width:100%;padding:0 18px 14px;box-sizing:border-box}
.book-screen-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:850px;border:1px solid #bfc6bf;color:#202820;font-size:13px}
.book-screen-table th,.book-screen-table td{border:1px solid #c7cec7;padding:0;vertical-align:middle}
.book-screen-table th:nth-child(1){width:4%}.book-screen-table th:nth-child(2){width:22%}.book-screen-table th:nth-child(3){width:30%}.book-screen-table th:nth-child(n+4){width:22%}
.book-screen-table th>div:first-child{padding:12px 4px;text-align:center}.book-screen-table th>.book-paper-units{padding:0!important;background:white}
.book-screen-table td:nth-child(1){text-align:center;color:#657266}.book-screen-table tbody td:nth-child(2),.book-screen-table tbody td:nth-child(3){padding:10px 12px;height:64px;vertical-align:top;overflow-wrap:anywhere}
.book-screen-table td small{display:block;color:#647565;font-size:11px;margin-top:12px}.book-screen-table tfoot td:first-child{padding:16px;font-weight:600;background:#fffcf7}
.book-screen-table .book-paper-digits{min-height:64px;font-size:15px}.book-screen-table .book-paper-units{min-height:24px;font-size:10px;font-weight:400}
.book-screen-table .book-paper-digits span:nth-child(5),.book-screen-table .book-paper-digits span:nth-child(8){border-left-color:#b6c8dd}
.book-screen-voucher>.park-actions{padding:8px 18px;margin:0;display:inline-flex}.book-screen-voucher>.park-help{margin:8px 18px}
.book-screen-voucher>details{margin:8px 18px;padding:8px 12px;font-size:12px}.book-screen-voucher>details summary{cursor:pointer;color:#5d765c}
#ops-dialog.book-voucher-editor{width:min(1360px,96vw);max-width:96vw;max-height:94vh;box-sizing:border-box;padding:22px;border-radius:5px;border:1px solid #c4ccc3;background:#fff}
.book-voucher-editor #ops-form>h2{font-size:21px;margin:0 0 12px}.book-voucher-editor .dialog-actions{position:static;padding:14px 0 0;background:white;justify-content:flex-start;border-top:1px solid #e0e5dd;gap:10px}
.book-voucher-editor .dialog-actions #ops-submit{background:#65ad52;color:white;order:-1;min-width:124px}
.book-voucher-editor .book-editor-context{background:white;padding:8px 0;font-size:13px;display:flex;gap:16px;flex-wrap:wrap;justify-content:space-between}.book-editor-state{color:#7a7056;font-size:12px}
.book-voucher-fields{display:grid;grid-template-columns:minmax(160px,230px) minmax(200px,270px) minmax(120px,1fr);gap:12px}
.book-voucher-fields>label{font-size:12px;margin:0;min-width:0}.book-voucher-fields input,.book-voucher-fields select{box-sizing:border-box;max-width:100%}.book-voucher-summary{grid-column:auto}
.book-voucher-editor #ops-form fieldset{grid-column:1/-1;border:0;margin:0;min-width:0;overflow:visible}.book-voucher-editor #ops-form fieldset legend{display:none}
.book-editor-scroll{max-width:100%;overflow:auto;border:1px solid #c0c9be;box-sizing:border-box}
.book-grid-head,.book-voucher-editor .ops-repeat-row{display:grid;grid-template-columns:42px minmax(155px,1.1fr) minmax(235px,1.6fr) minmax(210px,1.35fr) minmax(210px,1.35fr) 30px;min-width:900px;gap:0;padding:0}
.book-grid-head{background:white;text-align:center;font-size:14px}.book-grid-head>div{border-right:1px solid #c0c9be;display:flex;flex-direction:column;justify-content:center}.book-grid-head>div>span:first-child{padding:12px 0}.book-grid-head .book-paper-units{padding:0!important;min-height:25px}
.book-line-number{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;border:1px solid #d4dbd1;color:#5e6c5c}
.book-voucher-editor #ops-form .ops-repeat-row>label,.book-voucher-editor #ops-form .ops-repeat-row>.book-cell-account{grid-row:1;grid-column:auto;border:1px solid #d4dbd1;padding:10px;font-size:0;justify-content:center;min-height:94px;box-sizing:border-box}
.book-voucher-editor #ops-form .ops-repeat-row>.book-cell-memo{grid-column:2}.book-voucher-editor #ops-form .ops-repeat-row>.book-cell-account{grid-column:3}
.book-voucher-editor .ops-repeat-row input,.book-voucher-editor .ops-repeat-row select{font-size:13px;margin:0;padding:9px 7px;border:1px solid transparent;background:transparent;box-sizing:border-box}.book-voucher-editor .ops-repeat-row input:focus,.book-voucher-editor .ops-repeat-row select:focus{border-color:#65ad52;outline:1px solid #65ad52;background:white}
.book-voucher-editor #ops-form .ops-repeat-row>.book-cell-money{position:relative;padding:0;display:block;grid-column:auto}
.book-cell-money>input{position:absolute;inset:0;height:100%;width:100%;z-index:2;opacity:0;cursor:text;font-size:20px!important}
.book-cell-money:focus-within>input,.book-cell-money.book-money-invalid>input{opacity:1;background:white!important}.book-cell-money:focus-within>.book-paper-digits,.book-cell-money.book-money-invalid>.book-paper-digits{visibility:hidden}
.book-cell-money>.book-paper-digits{height:100%;min-height:94px;font-size:17px}.book-money-invalid{outline:1px solid #b22}
.book-voucher-editor .book-cell-account>.book-line-aux{grid-column:auto;margin:4px 0 0!important;padding:0;background:transparent;border:0;min-width:0;font-size:11px;line-height:1.5}.book-voucher-editor .book-cell-account>.book-line-aux[hidden]{display:none}.book-voucher-editor .book-line-aux summary{font-size:11px;padding:2px 0}.book-voucher-editor .book-aux-grid{grid-template-columns:minmax(0,1fr);gap:5px;padding-top:5px}.book-voucher-editor .book-aux-grid>label{display:grid;font-size:11px;gap:3px;line-height:1.5;margin:0}
.book-voucher-editor #ops-form .ops-repeat-row>.book-line-remove{grid-column:6;grid-row:1;align-self:center;justify-self:center;display:grid;place-items:center;width:26px;min-width:0;height:30px;min-height:0;padding:0;margin:0;font-size:21px;font-weight:400;line-height:1;border:0;border-radius:4px;background:transparent;color:#8b959f}.book-voucher-editor #ops-form .ops-repeat-row>.book-line-remove:hover{color:#b53d46;background:#fff0f1}.book-voucher-editor #ops-form .ops-repeat-row>.book-line-remove:focus-visible{outline:2px solid #4054b8;outline-offset:-2px}
.book-voucher-totals{grid-column:1/-1;position:static;bottom:auto;background:#fffcf6;border:1px solid #d6dace;padding:18px;gap:12px 24px}.book-editor-capital{flex-basis:100%;font-size:15px;color:#253d28}
.book-voucher-saved,.book-editor-saved{padding:14px 18px;border:1px solid #b7dbce;border-left:4px solid #147d75;border-radius:8px;background:#f0faf6;color:#20594b;margin:12px 0}
.book-voucher-saved p{margin:8px 0;font-size:13px}.book-voucher-saved button,.book-editor-saved button{margin:4px 8px 0 0;font-size:12px}
.book-entry-paper-header{grid-column:1/-1;text-align:center;padding:12px 0 18px;color:#26313e}
.book-entry-paper-header h3{width:max-content;max-width:100%;margin:0 auto 12px;padding:0 8px 8px;border-bottom:3px double #52616c;letter-spacing:10px;font-size:25px;font-weight:600}
.book-entry-paper-header p{margin:0;font-size:14px;letter-spacing:1px}
.book-editor-total-grid{display:grid;grid-template-columns:42px minmax(155px,1.1fr) minmax(235px,1.6fr) minmax(210px,1.35fr) minmax(210px,1.35fr) 30px;min-width:900px;background:#fffcf7;border-top:1px solid #b9c3cb}
.book-editor-total-grid>strong{grid-column:1/4;display:flex;align-items:center;align-content:center;flex-wrap:wrap;gap:4px 16px;padding:12px 18px;font-size:15px;font-weight:600}
.book-editor-total-grid>.book-paper-digits{min-height:68px;font-size:18px;font-weight:600;border-left:1px solid #c3ccd4}
.book-editor-total-grid .book-paper-digits span:nth-last-child(3),.book-cell-money>.book-paper-digits span:nth-last-child(3){border-right:1px solid #edb9b9}
.book-editor-total-grid .book-paper-digits span:nth-child(5),.book-editor-total-grid .book-paper-digits span:nth-child(8){border-left-color:#a9c8df}
.book-entry-account-balance{font-size:12px;color:#586b7a;margin-top:12px;line-height:1.5;min-height:18px;white-space:normal}
.book-entry-account-balance>span{font-weight:500}.book-entry-account-balance small{display:block;font-size:10px;color:#8a949f}
.book-entry-signatures{grid-column:1/-1;display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap;min-height:26px;margin-left:28px;font-size:14px;font-weight:500;line-height:1.8;padding:0;color:#37465a}
.book-voucher-editor .book-voucher-status{font-size:12px;font-weight:400;line-height:1.5}.book-voucher-editor .book-voucher-status[hidden]{display:none}
.book-voucher-layout{display:flex;gap:8px;align-items:center;font-size:12px;margin:0}.book-voucher-layout select{width:120px;margin:0}
.book-voucher-list-sheet{max-width:100%;overflow:auto}.book-voucher-list-table{width:100%;min-width:640px;border-collapse:collapse;table-layout:fixed;font-size:13px;color:#37465a}
.book-voucher-list-table th,.book-voucher-list-table td{padding:12px 18px;border-bottom:1px solid #e1e6eb;overflow-wrap:anywhere;vertical-align:top;background:white}
.book-voucher-list-table th{text-align:left;font-weight:600;background:#f6f9fc}.book-voucher-list-table th:nth-child(1){width:26%}.book-voucher-list-table th:nth-child(2){width:38%}.book-voucher-list-table th:nth-child(n+3){width:18%}
.book-voucher-list-table th:nth-child(n+3),.book-voucher-list-table td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
.book-voucher-list-table tbody tr:nth-child(even)>td{background:#fafbfd}.book-voucher-list-table small{display:block;color:#7e8c9b;font-size:11px;margin-top:6px}
.book-voucher-list-table tfoot td{border-top:1px solid #d1dce7;background:#fcfcfb;font-weight:500}.book-voucher-list-table .is-negative{color:#bb3c42}
.book-screen-voucher[data-voucher-layout=list] .book-screen-meta{background:#eef4f9;border-top:1px solid #dce6ef;border-bottom:1px solid #dce6ef}
.book-voucher-editor #ops-form .book-entry-paper-header{display:block;min-height:0;margin:0;padding:6px 0 12px;text-align:center}
.book-voucher-editor #ops-form .book-entry-paper-header h3{margin:0 auto 8px;font-size:23px}
.book-voucher-editor #ops-form .book-entry-paper-header p{display:block;margin:0;text-align:center;font-size:13px;line-height:1.5}
.book-voucher-editor #ops-form .book-entry-account-balance{font-size:11px;margin-top:6px;line-height:18px}
.book-voucher-editor #ops-form .book-entry-account-balance>span,.book-voucher-editor #ops-form .book-entry-account-balance>small{display:block;position:static;line-height:16px;margin:0;padding:0}
.book-voucher-editor #ops-form .book-account-search{padding:4px 6px!important;font-size:11px!important;height:27px}
@media(max-width:900px){.book-page-tabs{margin:-16px -16px 16px}.book-view-heading{margin:-16px -16px 14px}.book-voucher-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.book-voucher-summary{grid-column:1/-1}}
@media(max-width:650px){.book-view-heading{margin:-14px -14px 12px}#ops-dialog.book-voucher-editor{padding:12px}.book-voucher-editor .dialog-actions{top:-12px}.book-voucher-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid-head{display:grid}.book-voucher-totals{display:flex}.book-screen-meta{gap:10px;padding:12px}.book-screen-sheet{padding:0 8px 8px}}
@media print{body:has(#book-print-dialog[open])>*:not(#book-print-dialog){display:none!important}#book-print-dialog[open],#book-print-dialog[open] *{visibility:visible}#book-print-dialog[open]{display:block;position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0;margin:0;padding:0}.book-print-controls{display:none!important}.book-print::backdrop{display:none}.book-print .erp-table-wrap{overflow:visible}.book-print table{font-size:10px;width:100%;border-collapse:collapse;white-space:normal}.book-print th,.book-print td{border:1px solid #999;padding:6px;min-width:0;overflow-wrap:anywhere}.book-print thead{display:table-header-group}.book-print tr{break-inside:avoid}.book-print h2{font-size:20px}}

.book-voucher-editor #ops-form .ops-repeat-row>.book-cell-account{display:flex;flex-direction:column;align-items:stretch;min-width:0;margin:0}.book-voucher-editor #book-voucher-new{border:1px solid #4054b8;color:#33479e;background:#f2f4ff}.book-voucher-editor #book-voucher-balance{font-size:12px}.book-editor-total-grid>.book-paper-digits:last-child{grid-column:5}
.book-voucher-editor .book-aux-grid>label[hidden]{display:none}
.book-voucher-editor #ops-form #book-voucher-new{display:inline-grid;place-items:center;width:30px;height:30px;min-width:0;min-height:0;padding:0;margin:0;border:1px solid #dce2e9;border-radius:4px;background:#fff;color:#597488;font-size:23px;font-weight:400;line-height:1;box-shadow:none}.book-voucher-editor #ops-form #book-voucher-new:hover{border-color:#879db3;background:#f3f7fb;color:#334f72}.book-voucher-editor #ops-form #book-voucher-new:focus-visible{outline:2px solid #4054b8;outline-offset:2px}
.book-voucher-editor #ops-form fieldset[data-rows-field=lines]{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:4px;align-items:center}
.book-voucher-editor #ops-form fieldset[data-rows-field=lines]>.book-editor-scroll{grid-column:2;grid-row:1}
.book-voucher-editor #ops-form .book-line-add{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-grid;place-items:center;width:24px;height:28px;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:3px;background:transparent;color:#405b70;opacity:.35;font-size:21px;font-weight:400;line-height:1;box-shadow:none;transition:opacity .15s ease,background-color .15s ease}
.book-voucher-editor #ops-form .ops-repeat-row.book-row-current{background:#f5faf7}
.book-voucher-editor #ops-form .book-line-add:hover,.book-voucher-editor #ops-form .book-line-add:focus-visible{opacity:1;background:#f1f5f8}
.book-voucher-editor #ops-form .book-line-add:focus-visible{outline:2px solid #4054b8;outline-offset:-2px}
@media(hover:none){.book-voucher-editor #ops-form .book-line-add{opacity:.6}}
