.account-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;justify-content:space-between}.account-toolbar label{flex:1;min-width:220px}.account-search-button{display:block;font-size:12px;margin-top:4px;padding:4px 8px}.account-dialog{width:min(640px,92vw);border:1px solid #cbd5e1;border-radius:12px;padding:20px;color:#162e49}.account-dialog::backdrop{background:#10233b88}.account-results,.account-register{max-height:55vh;overflow:auto;margin-top:12px}.account-results button{display:block;width:100%;text-align:left;margin-bottom:4px}.account-register-row{display:grid;grid-template-columns:24px 65px 1fr;align-items:center;gap:8px;padding:8px;border-bottom:1px solid #e2e8f0}.account-register-row input{width:17px;height:17px}.account-register-row[hidden]{display:none}.report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-choice{position:relative}.report-choice summary{padding:9px;border:1px solid #cbd5e1;background:white;border-radius:6px;cursor:pointer}.report-choice>div{position:absolute;z-index:20;top:100%;left:0;min-width:100%;width:320px;max-width:80vw;background:white;box-shadow:0 6px 20px #18315033;border:1px solid #cbd5e1;padding:10px;border-radius:6px;max-height:300px;overflow:auto}.report-choice label{display:flex;gap:7px;align-items:center;padding:5px}.report-choice input[type=checkbox]{width:17px;height:17px}.report-totals{display:flex;gap:12px;flex-wrap:wrap}.report-totals>div{flex:1;min-width:200px;border:1px solid #dce4ef;border-radius:8px;padding:14px;background:white}.report-totals strong{font-size:23px;display:block}.report-page .table-scroll{max-height:60vh}.report-page th{position:sticky;top:0;background:#f1f5f9;z-index:1}.report-page .actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.report-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-groups summary{cursor:pointer;padding:12px;font-weight:600}.packet-print td,.packet-print th{padding:7px;vertical-align:top}.packet-print .packet-row{break-inside:avoid;margin:20px 0;border-bottom:1px solid #ddd;padding-bottom:12px}.report-page input[type=checkbox]{width:17px;height:17px}.report-page .selected-bar{position:sticky;top:0;background:#edf4ff;padding:12px;z-index:25}.report-page .warn{color:#9a4d04}.report-page .text-good{color:#087844}@media(max-width:800px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.report-groups{grid-template-columns:1fr}.report-choice>div{width:260px}.report-page .card{padding:12px}}@media print{.sidebar,.setup-banner,.development-widget,.no-print,.report-filters,.period-bar{display:none!important}.layout{display:block!important}.content{margin:0!important;padding:0!important}.packet-print{font-size:10pt}.packet-print a{color:black;text-decoration:none}}
.report-page [hidden],.account-dialog [hidden]{display:none!important}.report-filters>*{min-width:0}.report-filters input:not([type=checkbox]),.report-filters select{width:100%;min-width:0}.report-choice label[hidden]{display:none!important}.report-choice summary{font-size:13px;font-weight:650}.report-choice>div{font-size:13px}.report-filters>div>span{font-size:13px;font-weight:650;display:block;margin-bottom:6px}.report-page .table-scroll{overflow:auto}.sidebar{display:flex;flex-direction:column}.sidebar nav{overflow-y:auto;min-height:0;flex:1}.sidebar-footer{position:static;margin-top:16px;flex:none}.sidebar .brand,.sidebar .company-switch{flex-shrink:0}@media(max-width:800px){.sidebar nav{flex:none;overflow:visible}.report-choice:nth-last-child(-n+2)>div{right:0;left:auto}.packet-print table{display:block;overflow:auto}}

.bank-balances{margin:12px 0}.bank-balances h2{margin:0 0 6px;font-size:18px}.bank-balances p{margin:6px 0 12px}.bank-balances table{min-width:800px;width:100%;font-variant-numeric:tabular-nums}.bank-balances th,.bank-balances td{padding:12px 10px;vertical-align:top;text-align:right}.bank-balances th:first-child,.bank-balances td:last-child,.bank-balances th:last-child{text-align:left}.bank-balances td:last-child{max-width:310px}.bank-balances small{display:block;margin-top:5px;color:#536277;font-size:12px;font-weight:400}.bank-balances strong{white-space:nowrap}.bank-balances .bank-positive{color:#06734b}.bank-balances .bank-negative{color:#b91c1c}.bank-balances .bank-warning{color:#945600}.bank-balances summary{font-size:12px;cursor:pointer}.bank-balances .table-scroll{overflow-x:auto}

@media(max-width:620px){.bank-balances table,.bank-balances tbody{display:block;min-width:0;width:100%}.bank-balances thead{display:none}.bank-balances tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #dbe3ec;border-radius:8px;margin-bottom:10px;overflow:hidden}.bank-balances tr>th{grid-column:1/-1}.bank-balances td{min-width:0;overflow-wrap:anywhere;text-align:left;padding:10px}.bank-balances td::before{content:attr(data-label);display:block;font-size:12px;color:#536277;margin-bottom:5px}.bank-balances td:last-child{grid-column:1/-1;max-width:none}.bank-balances td:last-child::before{display:none}.bank-balances td:nth-child(2){grid-row:2}.bank-balances td:nth-child(5){grid-row:2;grid-column:2}.bank-balances .table-scroll{overflow:visible}.bank-balances strong{white-space:normal}}

@media print{
 body,.layout,.content,.packet-print{background:#fff!important;color:#111!important}
 .packet-print{font:10pt Arial,sans-serif}
 .packet-print h1{font-size:16pt;margin:0 0 10pt}.packet-print h2{font-size:13pt}.packet-print h3{font-size:11pt}
 .packet-print p{margin:7pt 0}.packet-print h2,.packet-print h3,.packet-print h4{break-after:avoid}
 .packet-print table{display:table!important;width:100%;overflow:visible;font-size:9pt;border-collapse:collapse}
 .packet-print th{position:static}.packet-print td,.packet-print th{padding:5pt;border-bottom:1px solid #ddd}
 .packet-handoff-heading{break-inside:avoid;break-after:avoid}
 .packet-month{display:contents;break-before:auto;break-inside:auto}.packet-month + .packet-month>h2{break-before:page}
}
