.report-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0}
.report-filters .field{margin:0}
.report-period{margin:4px 0 12px}
.report-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--tk-line);margin:8px 0 16px}
.report-tab{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 14px;font:inherit;color:inherit;cursor:pointer;min-height:44px}
.report-tab[aria-selected="true"]{border-bottom-color:var(--tk-flow);font-weight:600}
.report-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:12px 0}
.report-card{border:1px solid var(--tk-line);border-radius:12px;padding:14px 16px;background:var(--tk-surface)}
.report-label{font-size:13px;opacity:.75}
.report-value{font-size:28px;font-weight:700;line-height:1.2;margin:2px 0}
.report-sub{font-size:13px;opacity:.8}
.report-how{margin-top:8px;font-size:13px}
.report-how summary{cursor:pointer;opacity:.75}
.report-how p{margin:6px 0 0}
.report-chart{width:100%;height:auto;max-height:240px}
.report-grid{stroke:var(--tk-line);stroke-width:1}
.report-axis{font-size:13px;fill:currentColor;opacity:.7}
.report-bar-created{fill:var(--tk-text-muted)}
.report-bar-done{fill:var(--tk-flow)}
.report-legend{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:4px 0 8px;font-size:13px}
.report-key{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:4px;vertical-align:-1px}
.report-key.created{background:var(--tk-text-muted)}
.report-key.done{background:var(--tk-flow)}
.report-scroll{overflow-x:auto}
.report-table{width:100%;border-collapse:collapse;margin:8px 0}
.report-table th{font-size:13px;line-height:1.25;vertical-align:bottom}
.report-table th,.report-table td{padding:8px 8px;border-bottom:1px solid var(--tk-line);text-align:left;vertical-align:middle}
.report-table .num{text-align:right;white-space:nowrap}
.report-table progress{width:90px;vertical-align:middle}
.report-portfolio-wide .report-table{min-width:770px}
.report-portfolio-narrow{display:none;list-style:none;padding:0;margin:12px 0}
.report-portfolio-narrow li{padding:12px 0;border-top:1px solid var(--tk-line)}
.report-portfolio-narrow h4{margin:0 0 8px}
.report-portfolio-narrow dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.report-portfolio-narrow dt{color:var(--tk-text-muted);font-size:13px}
.report-portfolio-narrow dd{margin:2px 0 0}
.report-risk{background:var(--tk-surface-raised);color:var(--tk-signal);font-weight:600}

.report-list{list-style:none;margin:8px 0;padding:0;display:grid;gap:8px}
.report-list li{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid var(--tk-line);border-radius:12px;padding:10px 14px}
.report-list button{width:auto;min-width:0;min-height:44px;padding:6px 14px;border-radius:12px;white-space:nowrap}
@media (max-width:640px){
  .report-portfolio-wide{display:none}
  .report-portfolio-narrow{display:block}
  .report-cards{grid-template-columns:repeat(2,1fr)}
  .report-value{font-size:22px}
  .report-table{font-size:13px}
  .report-list li{flex-direction:column;align-items:flex-start}
}
