.reports-panel{min-width:0;padding:clamp(12px,2vw,24px);display:grid;gap:18px;color:#233e4a}
.report-sections{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line,#d7e2e6);padding-bottom:8px}
.report-sections .quiet[aria-pressed=true]{background:#dff2f5;color:#145d71}
.report-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.report-filters label{flex:1 1 130px;font-size:13px}
.report-filters button,.report-filters select,.report-filters input{min-height:42px}
.report-status:empty{display:none}.report-content{min-width:0;display:grid;gap:16px}
.report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:0;border-block:1px solid var(--line,#d7e2e6);padding:14px 0;gap:12px}
.report-summary dt{font-size:13px;color:#536c76}.report-summary dd{margin:5px 0 0;font-size:clamp(18px,2vw,24px);font-variant-numeric:tabular-nums}
.report-figure{margin:0;min-width:0;display:grid;gap:8px}.report-figure figcaption{font-size:14px;font-weight:600}.report-figure canvas{width:100%;height:185px}
.report-legend{display:flex;gap:14px;justify-content:center;font-size:12px}.report-legend span::before{content:'';display:inline-block;width:18px;height:3px;vertical-align:middle;margin-right:5px}.report-income::before{background:#247b68}.report-expense::before{background:#a85343}
.report-table-heading,.report-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-table-heading h3{margin:0;font-size:17px}.report-table-heading a{border-radius:8px;text-decoration:none}
.report-scroll{overflow:auto;max-width:100%;border:1px solid var(--line,#d7e2e6);border-radius:8px}.report-scroll table{width:100%;border-collapse:collapse;text-align:left}.report-scroll th,.report-scroll td{padding:10px 12px;border-bottom:1px solid var(--line,#d7e2e6);font-size:14px;vertical-align:top}.report-scroll th{background:#eff7f8;font-size:12px}.report-scroll tr:last-child td{border:0}.report-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.report-pagination{justify-content:flex-end;font-size:13px}.report-pagination button:disabled{opacity:.4;cursor:default}
.report-extra{order:2;flex:0 0 100%}.report-extra summary,.report-templates summary{cursor:pointer;padding:8px 0;color:#26596b;font-weight:600;font-size:14px}
.report-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;padding:12px 0;align-items:start}.report-filter-grid .check{display:flex;align-items:center;gap:8px;line-height:1.4}
.report-filter-grid .check input{width:16px;height:16px;min-height:16px;flex:none}.report-templates{border-bottom:1px solid var(--line);padding-bottom:6px}
.report-template-buttons,.report-plans>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-plans>div{justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}
@media print{.reports-panel :is(.report-sections,.report-filters,.report-templates,.report-pagination,.report-template-buttons){display:none}.report-scroll{overflow:visible;border:none}.report-scroll td,.report-scroll th{font-size:9pt;padding:4pt}.report-table-heading{break-after:avoid}}
.report-rank{display:grid;grid-template-columns:minmax(90px,1fr) minmax(40px,2fr) max-content;align-items:center;gap:12px;font-size:13px}.report-rank meter{width:100%;height:12px}.report-rank strong{font-variant-numeric:tabular-nums;font-weight:500}.report-figure>.quiet{justify-self:start}.report-figure:fullscreen{display:flex;flex-direction:column;justify-content:center;background:white;padding:4vw;overflow:auto}.report-figure:fullscreen canvas{height:65vh}

.reports-panel {padding:0;gap:9px;color:#444;font:15px/1.35 Arial,Helvetica,sans-serif}
.report-controls {display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 15px;position:relative}
.report-controls>button {margin-left:auto}
.report-controls details>summary {list-style:none;display:inline-block;padding:2px 0;font-size:15px;font-weight:normal;color:#484848;cursor:pointer;border-bottom:1px dashed #858585}
.report-controls details>summary::-webkit-details-marker {display:none}
.report-controls details[open]>summary {font-weight:bold}
.report-controls .report-templates {border:0;padding:0}
.report-controls:has(details[open]) {display:grid;grid-template-columns:minmax(0,1fr) auto}
.report-controls details[open] {grid-column:1/-1}
.report-controls .report-filter-grid {gap:8px}
.report-filters,.report-templates[open]>.report-filter-grid {max-width:740px;padding:9px;border:1px solid #d0d0c6;background:#fafced}
.report-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
.report-filters :is(.report-extra,.report-template-buttons) {grid-column:1/-1}
.report-filters label {display:flex;flex-direction:column;gap:3px;font:14px Arial}
.report-filters .check,.report-filters label:has(input[type=checkbox]) {display:flex;flex-direction:row;align-items:center}
.reports-panel :is(input,select,button) {min-height:26px;box-sizing:border-box}
.reports-panel :is(input:not([type=checkbox]),select) {width:100%;border:1px solid #b7b7b7;border-radius:3px;background:#fff;color:#444;font:14px Arial;padding:3px 5px}
.report-filters button[type=submit] {justify-self:start;min-height:32px;padding:4px 14px;color:#364730;border:1px solid #91aa7a;border-radius:4px;background:linear-gradient(#f1ffdb,#bcd49e)}
.report-content {display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px}
.report-content:has(.report-charts) {grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.report-main,.report-charts {min-width:0}
.report-main {display:flex;flex-direction:column;gap:0}
.report-charts {display:grid;gap:12px}
#section-panel .report-table-heading,.report-figure figcaption {order:-1;min-height:39px;box-sizing:border-box;display:flex;align-items:center;gap:5px;font:600 15px/1.25 Arial;padding:6px 9px;border:1px solid #ccc;border-radius:4px 4px 0 0;background:linear-gradient(#f6f6f6,#e5e5e5);color:#484848}
.report-table-heading .report-template-buttons {gap:4px}
#section-panel .report-table-heading button {font:12px Arial;min-height:22px;padding:2px 4px}
.report-summary {order:2;display:flex;gap:14px;flex-wrap:wrap;padding:5px 9px;background:#f6f6f6;border:1px solid #d7d7d7}
.report-summary dt {font:12px Arial;color:#777}
.report-summary dd {margin-top:1px;font:14px Arial;color:#444}
.report-scroll {border:1px solid #d7d7d7;border-radius:0;background:white}
.report-scroll :is(td,th) {padding:5px 7px;font:13px Arial;border-bottom:1px solid #e5e5e5}
.report-scroll th {color:#555;background:#f1f1f1}
.report-figure {border:1px solid #d0d0d0;border-radius:4px;background:#fff;gap:0;overflow:hidden}
.report-figure figcaption {border:0;border-bottom:1px solid #d0d0d0}
.report-figure .report-rank,.report-figure>.quiet {padding:5px 8px}
.report-months {margin:0;padding:0}
.report-months>div {display:flex;justify-content:space-between;gap:6px;padding:5px 9px;border-bottom:1px solid #eee}
.report-months dt,.report-months dd {margin:0;font-weight:normal;font-size:14px}
.report-months dd {font-variant-numeric:tabular-nums}
@media(max-width:900px) {.report-content:has(.report-charts){grid-template-columns:1fr}.report-content {gap:12px}}
@media(max-width:570px) {.report-filters {grid-template-columns:repeat(2,minmax(0,1fr))}.report-table-heading {flex-wrap:wrap}.report-controls {gap:5px 8px}}
@media print {.report-controls{display:none}.report-content:has(.report-charts){display:block}}
.report-actions {position:relative;font-size:13px}
.report-actions summary {cursor:pointer;color:#575757;text-decoration:underline dotted;text-underline-offset:3px;font-weight:normal}
.report-actions[open] .report-template-buttons {position:absolute;z-index:2;right:0;top:100%;width:max-content;max-width:66vw;padding:7px;background:#fff;border:1px solid #bbb;box-shadow:0 2px 5px #0002}
.classic-report-history {list-style:none;margin:0;padding:0;border:1px solid #d3d3d3;border-top:0;background:#fff}
.classic-report-history li {display:grid;grid-template-columns:24px minmax(50px,1fr) minmax(65px,max-content) max-content;align-items:start;gap:1px 6px;min-height:40px;padding:4px 8px;border-bottom:1px solid #e5e5e5}
.classic-report-history li:nth-child(even) {background:#fafafa}
.report-wallet-icon {grid-column:1;grid-row:1 / span 2}
.report-post-title {grid-column:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.report-post-amount {grid-column:3;text-align:right;white-space:nowrap}
.report-outgoing {color:#ba3d38}
.classic-report-history time {grid-column:4;color:#777;font:11px Arial;white-space:nowrap;padding-top:3px}
.report-post-note {grid-column:2 / -1;overflow-wrap:anywhere;color:#777;font:12px/15px Arial}
.report-post-balance {grid-column:2 / -1;text-align:right;color:#888;font:11px Arial}
@media(min-width:801px){#section-panel:not([data-section=home]) #section-breadcrumb{display:none}}
.report-controls {min-height:39px;padding:7px 9px;background:linear-gradient(#f8f8f8,#e7e7e7);border:1px solid #ccc;border-radius:4px;box-sizing:border-box}
@media(min-width:901px){
  .reports-panel:has(.report-charts) {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr;gap:9px 24px;align-items:start}
  .reports-panel:has(.report-charts) .report-content {display:contents}
  .reports-panel:has(.report-charts) .report-controls {grid-area:1/1}
  .reports-panel:has(.report-charts) .report-status:not(:empty) {grid-area:2/1}
  .reports-panel:has(.report-charts) .report-main {grid-area:3/1;margin-top:-9px}
  .reports-panel:has(.report-charts) .report-charts {grid-area:1/2/4/3}
}
