.monthly-report-panel{position:relative}
.monthly-capture-controls{display:flex;align-items:center;gap:9px}
.monthly-capture-controls label{display:flex;align-items:center;gap:6px;color:#66776e;font-size:12px;font-weight:700}
.monthly-capture-controls select,.monthly-capture-controls button{border:1px solid #c9d7cf;border-radius:8px;background:#fff;color:#244536;padding:9px 12px;font-weight:700;outline:none}
.monthly-capture-controls button{background:#174a36;border-color:#174a36;color:#fff;cursor:pointer}
.monthly-capture-hint{display:none}
.monthly-report-panel>.head h2{font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif!important;font-weight:700!important;letter-spacing:0!important}
.monthly-report-table thead th{font-weight:800!important;color:#173b2b!important}
.monthly-capture-copy-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px}
.monthly-capture-copy-row .sub{white-space:nowrap}
.monthly-capture-rule{margin:0;padding-left:14px;border-left:1px solid #b9c9c0;color:#536b5e;font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-size:11px;line-height:1.5;white-space:nowrap}
.monthly-capture-rule .profit,.monthly-capture-rule .loss{font-weight:700}

body.monthly-capture-mode{--monthly-capture-font:13px;--monthly-capture-head-font:14px;--monthly-capture-small-font:9px;--monthly-capture-row-height:31px;--monthly-capture-cell-padding:4px;--monthly-operator-gap:4px;background:#fff;overflow:visible}
body.monthly-capture-mode[data-monthly-capture-size="large"]{--monthly-capture-font:16px;--monthly-capture-head-font:16px;--monthly-capture-small-font:11px;--monthly-capture-row-height:36px;--monthly-capture-cell-padding:4px;--monthly-operator-gap:5px}
body.monthly-capture-mode[data-monthly-capture-size="compact"]{--monthly-capture-font:11.5px;--monthly-capture-head-font:12px;--monthly-capture-small-font:8.5px;--monthly-capture-row-height:27px;--monthly-capture-cell-padding:3px;--monthly-operator-gap:3px}
body.monthly-capture-mode .app{display:block!important;width:100%!important;max-width:none!important}
body.monthly-capture-mode .side,
body.monthly-capture-mode .main>header,
body.monthly-capture-mode .main>.period,
body.monthly-capture-mode .main>.cards,
body.monthly-capture-mode .main>.tip,
body.monthly-capture-mode .main>.trend-section,
body.monthly-capture-mode .main>.panel:not(.monthly-report-panel){display:none!important}
body.monthly-capture-mode .main{width:100%!important;max-width:none!important;padding:8px!important;margin:0!important}
body.monthly-capture-mode .monthly-report-panel{display:block!important;width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
body.monthly-capture-mode .monthly-report-panel>.head{min-height:64px;padding:7px 12px!important;border:1px solid #a9bfb2;border-bottom:0;background:#f4f8f3}
body.monthly-capture-mode .monthly-report-panel>.head h2{font-size:20px!important;font-weight:700!important;margin:0 0 3px!important}
body.monthly-capture-mode .monthly-report-panel>.head .sub{font-size:11px!important;margin:0!important}
body.monthly-capture-mode .monthly-capture-copy-row{flex-wrap:nowrap!important;margin-top:5px!important}
body.monthly-capture-mode .monthly-capture-rule{font-size:11px!important;color:#405b4c!important}
body.monthly-capture-mode .monthly-capture-controls label{font-size:11px}
body.monthly-capture-mode .monthly-capture-controls select,
body.monthly-capture-mode .monthly-capture-controls button{padding:7px 10px;font-size:11px}
body.monthly-capture-mode .monthly-capture-hint{display:inline;color:#65766c;font-size:10px}
body.monthly-capture-mode .monthly-report-panel .tablewrap{overflow:visible!important;border-radius:0!important}
body.monthly-capture-mode .monthly-report-table{width:100%!important;min-width:1760px!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:var(--monthly-capture-font)!important}
body.monthly-capture-mode .monthly-report-table th,
body.monthly-capture-mode .monthly-report-table td{padding:var(--monthly-capture-cell-padding) 5px!important;height:var(--monthly-capture-row-height)!important;line-height:1.1!important;text-align:center!important;vertical-align:middle!important;border:1px solid #b9cac0!important;white-space:nowrap!important}
body.monthly-capture-mode .monthly-report-table th{padding:5px 4px!important;height:31px!important;line-height:1.05!important;text-align:center!important;vertical-align:middle!important;border:1px solid #a9bdb1!important;white-space:normal!important;font-size:var(--monthly-capture-head-font)!important;font-weight:800!important;background:#e5f0e1!important;color:#173b2b!important}
body.monthly-capture-mode .monthly-report-table td small{font-size:var(--monthly-capture-small-font)!important;line-height:1!important;margin-top:1px!important}
body.monthly-capture-mode .monthly-report-table .monthly-operator-cell{padding-top:0!important;padding-bottom:0!important;line-height:1!important}
body.monthly-capture-mode .monthly-report-table .monthly-operator-cell b{display:block;line-height:1!important;margin-bottom:var(--monthly-operator-gap)!important}
body.monthly-capture-mode .monthly-report-table .monthly-operator-cell small{line-height:1!important;margin-top:0!important}
body.monthly-capture-mode .monthly-report-table .tag,
body.monthly-capture-mode .monthly-report-table .profit-status{padding:2px 6px!important;font-size:calc(var(--monthly-capture-font) - 1px)!important;min-width:0!important}
body.monthly-capture-mode .monthly-report-table .summary-total-row td{height:34px!important;font-size:calc(var(--monthly-capture-font) + 1px)!important;background:#dcebd6!important;border-top:2px solid #6f927c!important}
body.monthly-capture-mode .monthly-report-table th:nth-child(1){width:5.5%}
body.monthly-capture-mode .monthly-report-table th:nth-child(2){width:4.8%}
body.monthly-capture-mode .monthly-report-table th:nth-child(3){width:7.8%}
body.monthly-capture-mode .monthly-report-table th:nth-child(4){width:5.8%}
body.monthly-capture-mode .monthly-report-table th:nth-child(5),
body.monthly-capture-mode .monthly-report-table th:nth-child(6){width:7.3%}
body.monthly-capture-mode .monthly-report-table th:nth-child(7){width:4.5%}
body.monthly-capture-mode .monthly-report-table th:nth-child(8){width:4.4%}
body.monthly-capture-mode .monthly-report-table th:nth-child(9){width:6.2%}
body.monthly-capture-mode .monthly-report-table th:nth-child(10),
body.monthly-capture-mode .monthly-report-table th:nth-child(11){width:7.4%}
body.monthly-capture-mode .monthly-report-table th:nth-child(12),
body.monthly-capture-mode .monthly-report-table th:nth-child(13){width:5.5%}
body.monthly-capture-mode .monthly-report-table th:nth-child(14),
body.monthly-capture-mode .monthly-report-table th:nth-child(15){width:8%}
body.monthly-capture-mode .monthly-report-table th:nth-child(16){width:5.6%}

@media print{
  @page{size:A3 landscape;margin:5mm}
  body.monthly-capture-mode .monthly-capture-controls{display:none!important}
  body.monthly-capture-mode .main{padding:0!important}
  body.monthly-capture-mode .monthly-report-panel>.head{padding:5px 8px!important}
}
