body[data-krp-page=report]{--report-pad:20px}
.report-actions,.report-filter-footer>div{display:flex;gap:8px;flex-wrap:wrap}
.report-filters,.report-list,.report-analysis>details{background:var(--krp-surface);border:1px solid var(--krp-border);border-radius:16px}
.report-filters{padding:var(--report-pad);margin-bottom:14px}
.report-filter-main{display:grid;grid-template-columns:1.3fr .8fr 1fr 1.2fr;gap:16px}
.report-filter-main>div,.report-filter-extra>div{min-width:0}
.report-filters label{font-size:.8125rem;color:var(--krp-muted);font-weight:600;display:block;margin-bottom:6px}
.report-filter-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0}
.report-more-filters{margin-top:12px}
.report-more-filters>summary,.report-analysis summary{cursor:pointer;color:var(--krp-primary);font-size:.875rem;font-weight:600;line-height:1.7;min-height:44px;align-content:center}
.report-filter-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:10px;padding-top:14px;border-top:1px solid var(--krp-border)}
.report-filter-footer p{font-size:.75rem;color:var(--krp-muted);margin:0;line-height:1.8;flex:1;min-width:0;overflow-wrap:anywhere}
.report-filter-footer>div{flex-shrink:0}
.report-error{padding:12px;margin:12px 0 0;color:#b42318;background:var(--krp-surface-2);border-radius:10px}
.report-source{font-size:.75rem;color:var(--krp-muted);margin:12px 0 20px;line-height:1.8}
.report-source.is-error{color:#b42318}
.report-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}
.report-metrics>div{background:var(--krp-surface);border:1px solid var(--krp-border);border-radius:14px;padding:16px;min-width:0}
.report-metrics span{display:block;font-size:.8125rem;color:var(--krp-muted);font-weight:600;line-height:1.7}
.report-metrics strong{display:block;font-size:1.75rem;line-height:1.4;color:var(--krp-text);margin-top:6px;font-variant-numeric:tabular-nums}
.report-metrics>div:nth-child(2) strong{color:#976018}.report-metrics>div:nth-child(3) strong{color:var(--krp-primary)}.report-metrics>div:nth-child(4) strong{color:#147d50}
.report-status-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.report-status-breakdown:empty{display:none}
.report-status-chip{display:flex;align-items:center;gap:10px;border:1px solid var(--krp-border);background:var(--krp-surface);color:var(--krp-muted);border-radius:10px;padding:8px 12px;font-size:.75rem}
.report-status-chip.active{background:var(--krp-primary-soft);border-color:var(--krp-primary);color:var(--krp-primary)}
.report-status-chip strong{color:var(--krp-text);font-size:.875rem;font-variant-numeric:tabular-nums}
.report-analysis{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:22px;align-items:start}
.report-analysis>details{padding:8px 16px}
.report-analysis>details[open]{padding-bottom:16px}
.report-help{font-size:.75rem;color:var(--krp-muted);line-height:1.8;margin:8px 0 12px}
.report-issue-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--krp-border);background:transparent;color:var(--krp-text);padding:10px 0;font-size:.8125rem}
.report-issue-link strong{color:var(--krp-primary);white-space:nowrap}
.report-module-scroll{overflow-x:auto}
.report-module-table{width:100%;min-width:560px;font-size:.75rem;border-collapse:collapse}
.report-module-table :is(th,td){text-align:right;padding:10px 8px;border-bottom:1px solid var(--krp-border)}
.report-module-table :is(th,td):first-child{text-align:left}
.report-list{overflow:hidden}
.report-list-heading{padding:18px 20px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.report-list-heading h2{font-size:1.0625rem;margin:0;font-weight:700}
.report-list-heading>strong{font-size:.8125rem;color:var(--krp-primary)}
.report-list-note{padding:0 20px}
.report-table{width:100%;table-layout:fixed;border-collapse:collapse}
.report-table th{text-align:left;font-size:.75rem;font-weight:600;color:var(--krp-muted);background:var(--krp-surface-2);padding:12px 14px;border-block:1px solid var(--krp-border)}
.report-table :is(th,td):nth-child(1){width:12%}.report-table :is(th,td):nth-child(2){width:12%}.report-table :is(th,td):nth-child(3){width:29%}.report-table :is(th,td):nth-child(4){width:16%}.report-table :is(th,td):nth-child(5){width:16%}.report-table :is(th,td):nth-child(6){width:15%}
.report-table td{vertical-align:top;font-size:.8125rem;padding:16px 14px;border-bottom:1px solid var(--krp-border);line-height:1.8;color:var(--krp-text);overflow-wrap:anywhere}
.report-row-place{display:block;font-size:.75rem;color:var(--krp-muted);line-height:1.7;margin-top:4px}
.report-state{display:inline-block;border:1px solid var(--krp-border);padding:4px 8px;border-radius:8px;font-size:.75rem;color:var(--krp-text);background:var(--krp-surface-2)}
.state-wait{color:#8b570d;background:#fff6db;border-color:#ebd598}.state-active,.state-approved{color:var(--krp-primary);background:var(--krp-primary-soft)}.state-done{color:#12613f;background:#eaf6ef;border-color:#b9dcc8}.state-cancelled{color:#a42a23;background:#fff0ef;border-color:#e7bbb7}
.report-check{display:block;font-size:.75rem;color:#8b570d;line-height:1.8;margin-bottom:4px}
.report-row-detail{margin-top:8px}.report-row-detail summary{color:var(--krp-primary);cursor:pointer;min-height:44px;align-content:center;font-size:.75rem}
.report-row-detail dl{margin:0;padding:10px;background:var(--krp-surface-2);border-radius:10px;font-size:.75rem}
.report-row-detail dt{font-weight:600;color:var(--krp-muted)}.report-row-detail dd{margin:0 0 8px;color:var(--krp-text);white-space:pre-wrap;overflow-wrap:anywhere}
.report-table .report-empty{width:auto!important;text-align:center;padding:36px 20px;color:var(--krp-muted)}
.report-pagination{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.75rem;color:var(--krp-muted)}
.report-print-frame{position:fixed;width:1px;height:1px;border:0;left:-10000px;top:0}
html.krp-dark :is(.report-source.is-error,.report-error){color:#ffb6ac}html.krp-dark .report-metrics>div:nth-child(2) strong,html.krp-dark .report-check{color:#f5c468}html.krp-dark .report-metrics>div:nth-child(4) strong{color:#86d9a8}
html.krp-dark .state-wait{color:#f5cf82;background:#3c301c;border-color:#77613a}html.krp-dark .state-done{color:#91dbb3;background:#17392d;border-color:#3b745a}html.krp-dark .state-cancelled{color:#ffb6ac;background:#412728;border-color:#885250}
@media(max-width:1199px){.report-analysis{grid-template-columns:1fr}.report-filter-main{grid-template-columns:1fr 1fr}}
@media(max-width:767.98px){body[data-krp-page=report]{--report-pad:16px}.report-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr}.report-actions .btn{padding-inline:8px;font-size:.8125rem}.report-filter-extra{grid-template-columns:1fr 1fr}.report-filter-extra>div:nth-child(3),.report-filter-extra>div:nth-child(4){grid-column:1/-1}.report-filter-footer{flex-direction:column;align-items:stretch}.report-filter-footer>div{display:grid;grid-template-columns:1fr 1fr}.report-metrics{grid-template-columns:1fr 1fr;gap:10px}.report-metrics>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.report-metrics>div:last-child strong{margin:0}.report-metrics strong{font-size:1.5rem}.report-table,.report-table tbody{display:block}.report-table thead{display:none}.report-table tr[data-report-row]{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;border-bottom:1px solid var(--krp-border)}.report-table tr[data-report-row]>td{display:block;width:100%!important;padding:0;border:0;min-width:0}.report-table tr[data-report-row]>td:nth-child(3){grid-column:1/-1;grid-row:2}.report-table tr[data-report-row]>td::before{content:attr(data-label);display:block;font-size:.6875rem;color:var(--krp-muted);margin-bottom:4px}.report-table td.report-empty{display:block}.report-pagination{padding:12px;flex-wrap:wrap}.report-pagination span{order:3;width:100%;text-align:center}.report-status-chip{font-size:.75rem;padding:7px 10px}}
@media print{.sidebar,.mobile-topbar,.report-actions,.report-filters,.report-pagination{display:none!important}}
