/* Company reports and personal date reminders use the existing blue/yellow palette. */
.dashboard-right{display:grid;gap:24px;min-width:0;align-content:start}
.important-dates-card .sectionhead h2{font-size:23px}
.important-date-help{margin:16px 0 0;line-height:1.6}
.important-date-reminder{background:#fff1d2;color:#654714;border:1px solid #ffdb91;border-radius:10px;padding:12px 14px;line-height:1.6}
.important-date-reminder .link{padding:4px 0;display:block;text-align:left}
.important-date-due{background:#fffaf0}
.important-date-badge{display:inline-block;margin:4px 0 0 5px;padding:2px 7px;border-radius:5px;background:#ffe8b7;color:#654714;font-size:12px;font-weight:700}
.company-report-grid .report{display:flex;flex-direction:column;border:1px solid #e2e8ee}
.company-report-grid .report h2{margin:18px 0 12px}
.company-report-grid .report p{flex:1;line-height:1.7;font-size:14px}
.company-report-grid .report .btn{align-self:flex-start;margin-top:10px}
.company-report-grid .bigicon{background:#eaf0f5;color:#194863}
.report-period-card>.sectionhead{margin-bottom:22px}
.report-period-card>.sectionhead h2{margin:8px 0 0}
.report-period-card .report-summary{margin-bottom:0}
.report-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}
.report-actions>div{display:flex;gap:12px;flex-wrap:wrap}
.report-actions .report-year-select{width:auto;min-width:110px;min-height:48px;margin:0;align-self:center}
.company-financial-report{margin-top:0;padding:30px}
.report-document-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:2px solid #194863;margin-bottom:24px}
.report-document-head h2{margin:10px 0 6px;font-size:23px}
.report-document-head p{margin:5px 0;font-size:14px}
.report-document-head>div:last-child{text-align:right}
.report-document-head>div:last-child>strong{font-family:Manrope,sans-serif;font-size:19px;color:#194863}
.company-financial-report h3{margin:28px 0 14px;font-size:17px}
.company-financial-report h2{margin-top:32px}
.company-financial-report .report-summary{margin:22px 0 28px}
.company-financial-report .report-summary>div{background:#edf2f5;border:1px solid #e1e8ee;min-width:0}
.company-financial-report .report-summary strong{font-size:25px;overflow-wrap:anywhere}
.company-financial-report .report-total{background:#194863;color:#fff;align-items:center;border-radius:11px;padding:20px 22px}
.company-financial-report .report-total strong{white-space:nowrap}
.company-financial-report .tablewrap{border:1px solid #e1e8ee;border-radius:9px}
.company-financial-report table{width:100%}
.company-financial-report td,.company-financial-report th{padding:14px 12px}
.company-financial-report tbody tr:last-child td{border-bottom:0}
.company-financial-report .right{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.company-journal-item,.company-ledger-item{padding:0 0 28px;margin:28px 0;border-bottom:1px solid #dce6ed;break-inside:avoid}
.company-journal-item:last-child,.company-ledger-item:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.company-journal-item .sectionhead h3,.company-ledger-item .sectionhead h3{margin:8px 0}
.company-journal-item .sectionhead .link{text-align:left;padding:6px 0}
.report-voucher-number{display:inline-block;border-radius:6px;background:#e8eff4;padding:6px 9px;font-size:13px;font-weight:700;color:#194863}
.report-voucher-total,.report-ledger-total{display:flex;justify-content:space-between;gap:20px;padding:14px 12px;background:#f3f6f8;font-size:14px;flex-wrap:wrap}
.report-turnover-chart{display:grid;gap:14px;margin:28px 0}
.report-turnover-chart>div{display:grid;grid-template-columns:80px minmax(30px,1fr) 150px;align-items:center;gap:16px;font-size:14px}
.report-turnover-chart strong{text-align:right;white-space:nowrap}
.report-turnover-head,.report-turnover-row>span{font-weight:700;font-variant-numeric:tabular-nums}
.report-turnover-track{height:14px;background:#edf2f5;border-radius:4px;overflow:hidden}
.report-turnover-track i{display:block;height:100%;background:#194863;border-radius:4px}
.report-turnover-track i.is-negative{background:#d88c34}
.report-source-facts{display:flex;gap:15px;flex-wrap:wrap;margin:24px 0;color:#60798a;font-size:14px}
.report-checklist{display:grid;gap:12px;margin:20px 0}
.report-check{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #dce6ed;border-radius:10px;background:#f5f8fa}
.report-check>span:first-child{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#dfebe4;color:#2c6340;font-weight:700}
.report-check.needs-review>span:first-child{background:#ffe8b7;color:#785416}
.report-check>div{flex:1;min-width:0}
.report-check p{margin:6px 0 0;font-size:14px;color:#60798a}
.report-check-status{font-size:12px;font-weight:700;white-space:nowrap;color:#60798a}
.report-manual-checks{padding-left:22px;line-height:1.8}
.report-manual-checks li{margin:10px 0}
@media(max-width:700px){
 .company-financial-report{padding:20px}
 .report-document-head{flex-direction:column;gap:16px}
 .report-document-head>div:last-child{text-align:left}
 .report-actions{align-items:flex-start;flex-direction:column}
 .report-total{flex-wrap:wrap}
 .report-turnover-chart>div{grid-template-columns:65px minmax(20px,1fr) 110px;gap:10px;font-size:12px}
 .report-check{flex-wrap:wrap}
 .report-check-status{margin-left:42px}
}
@media print{
 .report-actions,.report-period-card,.company-report-grid,.dashboard-right{display:none!important}
 /* Print the report itself; the screen title is not a separate cover page. */
 #content:has(>.company-financial-report)>:not(.company-financial-report){display:none!important}
 .company-financial-report{box-shadow:none;border:0;padding:0;margin:0;break-inside:auto;page-break-inside:auto}
 .company-financial-report :is(.company-journal-item,.company-ledger-item){break-inside:auto;page-break-inside:auto}
 .company-financial-report :is(.sectionhead,h3){break-after:avoid-page}
 .company-financial-report tr{break-inside:avoid;page-break-inside:avoid}
 .report-document-head{display:flex;border-bottom:2px solid #194863;break-inside:avoid;break-after:avoid-page}
 .report-document-head>div:last-child{text-align:right}
 .company-financial-report .note{display:block!important}
 .company-financial-report .report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .company-financial-report .report-total{color:#183b53;background:#f0f3f5;border:1px solid #dce6ed}
 .report-check,.report-summary>div,.report-total{break-inside:avoid}
 .report-turnover-track,.report-voucher-number,.report-check{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
.report-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.report-card-status{font-size:15px;color:var(--muted)}
.company-report-grid .report.is-unavailable{background:#f0f3f5;box-shadow:none;border:1px solid #d7e0e6}
.company-report-grid .report.is-unavailable .bigicon{color:#71828e;background:#e3e9ee}
.company-report-grid .report.is-unavailable .btn:disabled{opacity:1;color:#637581;background:#e3e9ee;border-color:#d7e0e6;cursor:not-allowed}

/* Keep the report period controls on one aligned row on desktop. */
.report-period-card .reportfilters{display:grid;grid-template-columns:minmax(110px,.65fr) repeat(2,minmax(160px,1fr)) auto;align-items:end;gap:16px}
.report-period-card .reportfilters>label{display:grid;gap:8px;min-width:0;margin:0}
.report-period-card .reportfilters :is(input,select){width:100%;min-height:48px;box-sizing:border-box;margin:0}
.report-period-card .reportfilters>.btn{min-height:48px;white-space:nowrap;margin:0}
@media(max-width:850px){.report-period-card .reportfilters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.report-period-card .reportfilters{grid-template-columns:minmax(0,1fr)}}
