.cwm-compose{max-width:760px;margin:auto}.cwm-compose .cwm-form{display:flex;flex-direction:column;gap:18px}.cwm-compose-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.cwm-compose label,.cwm-compose-dialog label,.cwm-report-filter label{display:flex;flex-direction:column;gap:7px;min-width:0}.cwm-compose input,.cwm-compose select,.cwm-compose textarea,.cwm-compose-dialog input,.cwm-compose-dialog select,.cwm-report-filter input,.cwm-report-filter select{width:100%;box-sizing:border-box;min-width:0;border:1px solid #cbd5e1;border-radius:8px;padding:10px;font:inherit;background:#fff;color:#172c40}.cwm-compose textarea{min-height:140px}.cwm-compose button,.cwm-compose-dialog button,.cwm-report-filter button,.cwm-print-report button{padding:10px 16px;border:1px solid #b7c9d7;border-radius:8px;background:#edf5fa;color:#163d55;font:inherit;cursor:pointer}.cwm-compose button[type=submit],.cwm-compose .cwm-button{background:#165c78;color:#fff}.cwm-compose button:disabled,.cwm-compose-dialog button:disabled{opacity:.55;cursor:wait}.cwm-compose-actions{display:flex;gap:12px}.cwm-compose-dialog{width:min(600px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:0;border-radius:16px;padding:24px;color:#173044;background:#fff;font:15px/1.9 Tahoma,sans-serif}.cwm-compose-dialog::backdrop{background:#132b4580}.cwm-compose-dialog form{display:flex;flex-direction:column;gap:12px;margin-block:16px}.cwm-compose-dialog form[hidden]{display:none}.cwm-compose-dialog [role=status]{color:#8d3e15}.cwm-wrap.cwm-modal{width:min(920px,calc(100vw - 24px));max-height:90dvh;box-sizing:border-box}.cwm-report-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-block:20px}.cwm-table-scroll{overflow-x:auto;margin-block:16px}.cwm-reports table,.cwm-print-report table{border-collapse:collapse;width:100%;font:13px/1.8 Tahoma,sans-serif}.cwm-reports th,.cwm-reports td,.cwm-print-report th,.cwm-print-report td{border:1px solid #cbd5e1;text-align:right;padding:9px;overflow-wrap:anywhere}.cwm-reports th,.cwm-print-report th{background:#edf4f8}.cwm-report-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cwm-report-totals p{padding:16px;background:#edf4f8;border-radius:10px}.cwm-print-report{font:13px/1.9 Tahoma,sans-serif;margin:24px;color:#172c40}.cwm-no-print{display:flex;gap:12px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #1688b8;outline-offset:2px}@media(max-width:600px){.cwm-compose-row{grid-template-columns:minmax(0,1fr)}.cwm-compose-row button{justify-self:start}.cwm-report-filter,.cwm-report-totals{grid-template-columns:minmax(0,1fr)}.cwm-compose-dialog{padding:18px}.cwm-compose-actions{flex-wrap:wrap}}
@media print{@page{size:A4 landscape;margin:12mm;@bottom-center{content:counter(page)}}.cwm-no-print{display:none!important}.cwm-print-report{margin:0;color:#000;font-size:10pt}.cwm-table-scroll{overflow:visible}thead{display:table-header-group}tfoot{display:table-row-group}tr{break-inside:avoid}a{color:#000;text-decoration:none}.cwm-report-totals p{background:none;border:1px solid #ddd;padding:6px}h2,h3{break-after:avoid}}

.cwm-reports table{min-width:820px}.cwm-reports th,.cwm-print-report th{white-space:nowrap}.cwm-reports th:nth-child(4),.cwm-reports th:nth-child(5){min-width:75px}@media print{.cwm-print-report table{min-width:0}}
