/* Readable financial statements in the Mesob green, ivory and gold workspace. */
.report-workspace { min-width: 0; }
.report-overview { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 25px; margin-bottom: 22px; border: 1px solid #1b5a43; border-radius: 12px; background: #124d38; color: #fff; }
.report-overview-copy { display: flex; align-items: center; gap: 17px; min-width: 0; }
.report-overview-icon { display: grid; place-items: center; flex: 0 0 49px; height: 49px; border: 1px solid #dbbf7755; border-radius: 11px; color: #e2c886; background: #ffffff08; }
.report-eyebrow { display: block; margin-bottom: 5px; color: #e6d3a2; font-size: 12px; font-weight: 600; letter-spacing: .7px; }
.report-overview h2 { margin: 0; color: #fff; font-size: 26px; font-weight: 650; line-height: 1.25; letter-spacing: -.5px; }
.report-overview p { margin: 7px 0 0; color: #d1dfd5; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.report-overview-context { display: flex; gap: 27px; flex: 0 0 auto; margin: 0; padding-left: 24px; border-left: 1px solid #d9e4dc33; }
.report-overview-context div { display: grid; gap: 5px; }
.report-overview-context dt { color: #cfdbd2; font-size: 13px; line-height: 1.4; }
.report-overview-context dd { margin: 0; color: #f4e5ba; font-size: 18px; font-weight: 650; line-height: 1.4; font-variant-numeric: tabular-nums; }
.report-overview-context dd span { display: block; margin-top: 4px; color: #d1dfd5; font-size: 12px; font-weight: 450; }
.erp .report-parameters { overflow: hidden; margin-bottom: 22px; box-shadow: none; }
.report-parameters-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 21px; background: var(--surface); border-bottom: 1px solid var(--line); }
.report-parameters-heading h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.2px; }
.report-parameters-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.report-currency { flex: 0 0 auto; padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 550; }
.erp .report-filter-form { padding: 19px 21px; gap: 17px; align-items: flex-end; flex-wrap: wrap; border: 0; background: var(--surface-2); }
.erp .report-filter-form .filter-field { flex: 0 1 240px; max-width: none; font-size: 13px; }
.erp .report-filter-form .report-scope-field { flex: 1 1 320px; max-width: 560px; }
.erp .report-filter-form :is(input, select) { min-width: 0; width: 100%; max-width: none; height: 44px; margin: 0; font-size: 15px; }
.erp .report-filter-form .btn { min-height: 44px; padding: 11px 17px; }
.erp .report-summary { gap: 14px; margin-bottom: 25px; }
.erp .report-summary .tile { min-height: 140px; padding: 19px; }
.erp .report-summary .tile-label { font-size: 13px; }
.erp .report-summary .tile-value { font-size: 28px; overflow-wrap: anywhere; }
.erp .report-summary .tile-value small { font-size: 11px; }
.erp .report-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 22px; padding: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; overflow: visible; }
.erp .report-tabs .tab { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 14px; font-weight: 550; line-height: 1.45; white-space: normal; text-align: center; }
.erp .report-tabs .tab:hover { background: var(--surface-2); color: var(--brand-ink); }
.erp .report-tabs .tab.active { border-color: var(--line-strong); box-shadow: inset 0 -3px 0 var(--gold); background: var(--brand-soft); color: var(--brand-ink); font-weight: 650; }
.report-content { min-width: 0; }
.report-gap { height: 20px; }
.erp .report-card { overflow: hidden; }
.erp .report-card .card-head { align-items: flex-start; padding: 20px 21px; gap: 12px; flex-wrap: wrap; }
.erp .report-card .card-head h3 { font-size: 18px; line-height: 1.4; }
.erp .report-card .card-head .meta { padding-top: 3px; font-size: 13px; line-height: 1.6; white-space: normal; }
.erp .report-card .card-foot { align-items: center; flex-wrap: wrap; font-size: 13px; line-height: 1.6; }
.erp .report-card .grid-wrap { max-width: 100%; }
.erp .report-card .grid { font-size: 15px; }
.erp .report-card .grid td { min-height: 52px; height: auto; padding: 14px 17px; }
.erp .report-card .grid th { min-height: 47px; height: auto; padding: 13px 17px; font-size: 12.5px; white-space: normal; line-height: 1.6; }
.erp .report-card .grid td:first-child:not(.r) { white-space: normal; min-width: 180px; }
.erp .report-card .report-trial-coded .grid td:first-child { min-width: 70px; width: 70px; }
.erp .report-card .report-trial-coded .grid td:nth-child(2) { min-width: 240px; max-width: 300px; white-space: normal; }
.erp .report-card .report-trial-grid .grid .r { min-width: 100px; }
.erp .report-card .grid :is(td, th).r { font-variant-numeric: tabular-nums; }
.erp .report-card .grid td.r { font-size: 15px; font-weight: 550; }
.erp .report-card .grid a:not(.btn) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.erp .report-card .grid a:not(.btn):hover { text-decoration: underline; }
.erp .report-card .grid .report-section-row th { background: var(--surface-3); color: var(--brand-ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; letter-spacing: .1px; text-align: left; }
.erp .report-card .grid .report-total-row :is(th, td), .erp .report-card .grid tfoot td { background: var(--brand-soft); color: var(--ink); border-top: 1px solid var(--line-strong); font-size: 15px; font-weight: 650; padding: 16px 17px; }
.erp .report-card .grid .report-total-row th { text-align: left; }
.erp .report-card .kv { row-gap: 17px; }
.erp .report-card .kv dt { font-size: 13px; line-height: 1.7; }
.erp .report-card .kv dd { font-size: 16px; font-weight: 600; line-height: 1.6; }
.erp .report-card .card-body p { font-size: 14px; line-height: 1.8; }
.erp .report-card .chart-data { margin: 0; border-top: 1px solid var(--line); border-radius: 0; }
.erp .report-card .chart-data summary { padding: 17px 21px; background: var(--surface-2); color: var(--brand-ink); font-size: 14px; font-weight: 600; line-height: 1.6; cursor: pointer; }
.erp .report-card .chart-data .note { padding: 15px 21px; margin: 0; }
.erp .report-card .callout { margin: 17px; font-size: 14px; }
.erp .report-card .cash-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.erp .report-card .cash-summary > span { font-size: 14px; line-height: 1.5; }
.erp .report-card .cash-summary > span b { font-size: 26px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.erp .report-card .cash-summary > span:last-child { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.erp .report-card .cash-summary > span:last-child b { font-size: 14px; font-weight: 550; }
.erp .report-basis { margin: 21px 0 0; padding: 17px 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--surface-2); font-size: 13px; line-height: 1.8; }
.erp .report-metric-catalog .grid td:last-child { min-width: 230px; white-space: normal; line-height: 1.7; }
.report-workspace :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.dark .report-overview { background: #153f30; border-color: #3c6351; }
@media (max-width: 1250px) {
  .report-overview { gap: 20px; padding: 21px; align-items: flex-start; }
  .report-overview-context { flex-direction: column; gap: 13px; padding-left: 20px; }
  .erp .report-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .report-overview { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .report-overview-copy { gap: 13px; }
  .report-overview-icon { flex-basis: 42px; height: 44px; }
  .report-overview h2 { font-size: 23px; }
  .report-overview-context { flex-direction: row; flex-wrap: wrap; gap: 17px 27px; border-left: 0; border-top: 1px solid #d9e4dc33; padding: 17px 0 0; }
  .report-overview-context dd { font-size: 17px; }
  .report-parameters-heading { padding: 16px; align-items: flex-start; }
  .report-currency { display: none; }
  .erp .report-filter-form { padding: 17px 16px; gap: 15px; }
  .erp .report-filter-form .filter-field { flex: 1 1 100%; max-width: none; }
  .erp .report-filter-form :is(input, select) { font-size: 16px; }
  .erp .report-filter-form .btn { width: 100%; }
  .erp .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .erp .report-summary .tile { padding: 17px 14px; }
  .erp .report-summary .tile-value { font-size: 25px; }
  .erp .report-tabs { gap: 4px; }
  .erp .report-tabs .tab { flex: 1 1 calc(50% - 4px); padding: 10px 8px; font-size: 13px; }
  .erp .report-card .card-head { padding: 17px; }
  .erp .report-card .card-head h3 { font-size: 17px; }
  .erp .report-card .card-head .meta { font-size: 12px; }
  .erp .report-card .grid td { padding: 13px 15px; }
  .erp .report-card .grid th { padding: 12px 15px; }
  .erp .report-card .cash-summary { gap: 16px; }
  .erp .report-card .cash-summary > span b { font-size: 23px; }
  .erp .report-card .chart-data summary { padding: 16px; }
}
@media print {
  .report-overview { background: white; color: black; border: 1px solid #aaa; break-inside: avoid; }
  .report-overview :is(h2, p, dt, dd, dd span, .report-eyebrow, .report-overview-icon) { color: black; }
  .report-overview-context { border-color: #aaa; }
  .report-parameters, .report-tabs { display: none !important; }
  .erp .report-card { box-shadow: none; overflow: visible; break-inside: auto; }
  .erp .report-card .grid-wrap { overflow: visible; }
  .erp .report-card .grid { font-size: 11px; }
  .erp .report-card .grid th, .erp .report-card .grid td, .erp .report-card .grid td.r { min-width: 0 !important; font-size: 10px; padding: 6px; white-space: normal; }
  .report-basis { break-inside: avoid; }
}
