#cp-report{width:min(1000px,calc(100vw - 32px))}
#cp-report .dialog-head h2{min-width:0;overflow-wrap:anywhere}
#cp-report .dialog-head button{min-width:44px;min-height:44px}
#cp-report .cp-report-controls{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:18px}
#cp-report .cp-report-controls label{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.6}
#cp-report .cp-report-controls input{width:18px;height:18px}
.cp-memo{font-family:Arial,sans-serif;color:#202020;background:#fff;line-height:1.5;font-size:13px;overflow-wrap:anywhere}
.cp-memo p{margin:7px 0 12px}.cp-memo-heading{border-bottom:2px solid #333;padding:0 0 16px;margin-bottom:22px}.cp-memo-heading h2{color:#111;font-size:22px!important;line-height:1.4;margin:18px 0 10px!important}
.cp-memo-issuer{text-align:right;font-size:12px}.cp-memo-company{font-size:17px;font-weight:700}.cp-memo-meta,.cp-memo-note{font-size:11px;color:#555;line-height:1.6}
.cp-memo-section{margin:22px 0;min-width:0}.cp-memo-section>h3{font-size:16px!important;border-bottom:1px solid #888;padding-bottom:7px;margin:0 0 12px!important;color:#111}.cp-memo-section h4{font-size:13px;margin:17px 0 7px;color:#111;break-after:avoid}
.cp-memo-conclusion{font-weight:700}.cp-memo-facts{margin:8px 0 14px;break-inside:avoid}.cp-memo-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:16px;padding:5px 0;border-bottom:1px solid #e5e5e5;break-inside:avoid}.cp-memo-facts dt{color:#555}.cp-memo-facts dd{margin:0;color:#222}
.cp-memo-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;line-height:1.5;margin:10px 0 14px}.cp-memo-table th,.cp-memo-table td{padding:8px;border:1px solid #aaa;text-align:left;vertical-align:top;overflow-wrap:anywhere;color:#222;background:#fff}.cp-memo-table th{height:auto;font-weight:700;background:#f3f3f3;font-size:11px;letter-spacing:0;text-transform:none}.cp-memo-table thead{display:table-header-group}.cp-memo-table tr{break-inside:avoid}.cp-memo-table tbody tr:last-child td{border-bottom:1px solid #aaa}
.cp-memo-comment{white-space:pre-wrap}.cp-memo a{color:#222;text-decoration:underline}.cp-memo-evidence{margin:18px 0;break-inside:auto}.cp-memo-appendix{break-before:page}
@media(max-width:600px){#cp-report{width:calc(100vw - 20px)}#cp-report .cp-dialog-body{padding:16px}.cp-memo{font-size:12px}.cp-memo-heading h2{font-size:19px!important}.cp-memo-table{font-size:10px}.cp-memo-table th,.cp-memo-table td{padding:5px;font-size:10px}.cp-memo-facts>div{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px}}
@media print{
 @page{size:A4;margin:16mm 15mm 18mm;@bottom-center{content:"ООО «Терминал Ильинка» · Внутренняя справка · " counter(page) " / " counter(pages);font-family:Arial,sans-serif;font-size:8pt;color:#444}}
 #cp-report[open]{display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
 #cp-report .dialog-head,#cp-report .cp-report-controls{display:none!important}#cp-report .cp-dialog-body{padding:0!important;overflow:visible!important;max-height:none!important}
 .cp-memo-section{margin:9pt 0}.cp-memo p{margin:4pt 0 7pt;orphans:3;widows:3}.cp-memo-heading{padding-bottom:10pt;margin-bottom:12pt}.cp-memo-heading h2{margin:10pt 0 7pt!important}.cp-memo-facts{margin:5pt 0 8pt}.cp-memo-facts>div{padding:3pt 0}.cp-memo-table{margin:7pt 0 9pt}
 #cp-report-body{font-size:10pt!important}.cp-memo{font-size:10pt;line-height:1.4;color:#000}.cp-memo-heading h2{font-size:16pt!important}.cp-memo-company{font-size:12pt}.cp-memo-section>h3{font-size:12pt!important;break-after:avoid}.cp-memo-heading{break-inside:avoid}.cp-memo-table,.cp-memo-table th,.cp-memo-table td{font-size:8pt!important}.cp-memo-table th,.cp-memo-table td{padding:5pt;color:#000!important;background:#fff!important}.cp-memo-meta,.cp-memo-note{font-size:8pt;color:#333}.cp-memo a{color:#000!important}.cp-memo-section{break-inside:auto}.cp-memo-issuer{font-size:9pt}
}
