.monthly-closing-popup{padding:14px;align-items:center}
.monthly-closing-popup .check-popup-card{display:flex;flex-direction:column;width:min(1240px,calc(100vw - 28px));max-width:none;height:min(920px,calc(100dvh - 28px));max-height:none;overflow:hidden}
.monthly-closing-head label{min-width:190px;margin:0}
.monthly-closing-head input{margin-top:7px}
.monthly-closing-body{flex:1;min-height:0;overflow:hidden}
.monthly-closing-scroll{height:100%;padding:2px 4px 20px;overflow:auto}
.monthly-closing-summary{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:18px}
.monthly-closing-summary article{min-width:0}
.monthly-closing-summary small{display:block;margin-top:7px;color:#aaa;font-size:9px;line-height:1.35}
.monthly-growth.positive{color:#69d37c}
.monthly-growth.negative{color:#ff7777}
.monthly-closing-grids{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.monthly-closing-grids section{min-width:0}
.monthly-closing-grids section:first-child{grid-column:1/-1}
.monthly-closing-grids h4{margin:4px 0 10px;color:#ddd}
.monthly-closing-note{margin:-4px 0 10px;color:#aaa;font-size:11px;line-height:1.4}
.monthly-closing-table{max-height:330px;overflow:auto}
.monthly-closing-table table{min-width:100%}
.monthly-closing-grids section:first-child .monthly-closing-table table{min-width:980px}
.monthly-closing-table thead{position:sticky;top:0;z-index:1}
.monthly-closing-popup .check-popup-actions{flex:none;justify-content:flex-end}
#monthlyClosingPdf{min-width:150px}
@media(max-width:760px){.monthly-closing-popup{display:block;padding:0}.monthly-closing-popup .check-popup-card{width:100%;height:100dvh;max-height:none;padding:max(14px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border:0;border-radius:0}.monthly-closing-head{display:grid;gap:10px}.monthly-closing-head label{min-width:0}.monthly-closing-summary{grid-template-columns:1fr 1fr}.monthly-closing-grids{grid-template-columns:1fr}.monthly-closing-table{max-height:none}.monthly-closing-table table{min-width:520px}.monthly-closing-popup .check-popup-actions{display:grid;grid-template-columns:1fr 1fr}.monthly-closing-popup .check-popup-actions button{width:100%;min-width:0}}

