.kc-reports{--report-ink:#172b3a;--report-muted:#637785;--report-border:#dfe7ed;color:var(--report-ink);background:#f4f7fa;padding:32px;display:flex;flex-direction:column;gap:24px;min-width:0;font-family:Anuphan,system-ui,sans-serif}.kc-reports *{box-sizing:border-box}.kc-reports h1,.kc-reports h2,.kc-reports p{margin:0}.kc-reports h1{font-size:28px;font-weight:600;line-height:1.4}.kc-reports h2{font-size:18px;font-weight:600}.kc-reports-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.kc-reports-heading p{margin-top:6px;color:var(--report-muted);font-size:14px}.kc-report-actions,.kc-report-tabs{display:flex;gap:10px;flex-wrap:wrap}.kc-reports button{border:1px solid var(--report-border);background:#fff;border-radius:8px;padding:9px 16px;color:var(--report-ink);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap;min-height:40px}.kc-reports button:hover:not(:disabled){background:#edf7f7;border-color:#088a87}.kc-reports button:focus-visible,.kc-reports input:focus-visible,.kc-reports select:focus-visible{outline:2px solid #088a87;outline-offset:3px}.kc-reports button:disabled{opacity:.45;cursor:default}.kc-reports button.kc-report-primary{background:#088a87;border-color:#088a87;color:#fff}.kc-report-tabs button{border-color:transparent;background:transparent;color:var(--report-muted)}.kc-report-tabs button[aria-pressed=true]{background:#e6f7f7;color:#087c79;font-weight:600}.kc-report-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;background:#fff;border:1px solid var(--report-border);border-radius:12px;padding:20px}.kc-report-filters .crm-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}.kc-report-filters .crm-field>span{font-size:13px;color:var(--report-muted)}.kc-report-filters input,.kc-report-filters select{width:100%;min-width:0;height:44px;border:1px solid var(--report-border);border-radius:8px;padding:0 12px;font:inherit;font-size:14px;background:#fff;color:var(--report-ink)}.kc-report-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.kc-report-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.kc-report-metric{padding:20px;background:#fff;border:1px solid var(--report-border);border-radius:12px;display:flex;flex-direction:column;gap:12px;min-width:0}.kc-report-metric>span{font-size:13px;color:var(--report-muted)}.kc-report-metric strong{font-size:clamp(20px,2vw,28px);font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kc-report-metric small{font-size:12px;color:var(--report-muted)}.kc-report-metric.is-highlight{background:#e6f7f7;border-color:#bce4e3}.kc-report-metric.is-highlight strong{color:#088a87}.kc-report-panel{background:#fff;border:1px solid var(--report-border);border-radius:12px;padding:24px;min-width:0}.kc-report-panel>h2,.kc-report-panel-title{margin-bottom:20px}.kc-report-panel-title{display:flex;justify-content:space-between;gap:16px;align-items:center}.kc-report-panel-title>span,.kc-report-pagination,.kc-report-note{color:var(--report-muted);font-size:13px}.kc-report-scroll{overflow-x:auto;max-width:100%}.kc-report-table{width:100%;border-collapse:collapse;font-size:14px}.kc-report-table th{background:#f4f7fa;color:var(--report-muted);font-size:12px;font-weight:600;text-align:left;padding:14px 16px}.kc-report-table td{padding:16px;border-bottom:1px solid #edf1f4;vertical-align:middle;overflow-wrap:anywhere}.kc-report-table tbody tr:nth-child(even){background:#fafcfd}.kc-report-table .is-number{text-align:right;font-variant-numeric:tabular-nums}.kc-report-records{table-layout:fixed;min-width:640px}.kc-report-code{color:#088a87;font-weight:500}.kc-report-badge{display:inline-block;border-radius:6px;background:#e6f7f7;color:#087c79;padding:4px 10px;font-size:12px}.kc-report-badge.is-negative{background:#fff0f0;color:#b74e50}.kc-report-badge.is-positive{background:#eaf7ed;color:#287646}.kc-report-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:20px}.kc-report-pagination nav{display:flex;align-items:center;gap:12px}.kc-report-table .kc-report-empty{text-align:center;padding:32px;color:var(--report-muted)}.kc-report-note{font-size:12px}.kc-report-records th:last-child,.kc-report-records td:last-child{text-align:right}@media(max-width:1100px){.kc-reports{padding:24px}.kc-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.kc-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.kc-reports{padding:16px;gap:20px}.kc-reports-heading{align-items:flex-start;flex-direction:column}.kc-reports h1{font-size:24px}.kc-report-filters,.kc-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.kc-report-filters{padding:16px;gap:12px}.kc-report-filters>.crm-field:first-child{grid-column:1/-1}.kc-report-metric{padding:16px}.kc-report-panel{padding:16px}.kc-report-pagination{align-items:flex-start;flex-direction:column}.kc-report-pagination nav{width:100%;justify-content:space-between}}
.kc-report-filters .crm-field{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.kc-reports button.kc-report-primary:hover:not(:disabled){background:#067773;border-color:#067773;color:#fff}@media(max-width:640px){.kc-report-filters>.crm-field:nth-last-child(-n+2){grid-column:1/-1}}
/* Compact summary beside the report, with proportional status indicators. */
.kc-report-body{display:grid;grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:24px;align-items:start;min-width:0}.kc-report-summary{padding:20px}.kc-report-summary .kc-report-panel-title{align-items:flex-start;gap:8px;flex-wrap:wrap;margin-bottom:8px}.kc-report-summary .kc-report-panel-title h2{font-size:17px}.kc-report-summary-list{max-height:520px;overflow-y:auto;scrollbar-width:thin}.kc-report-summary-item{padding:18px 0;border-bottom:1px solid #edf1f4}.kc-report-summary-item:last-child{border-bottom:0;padding-bottom:0}.kc-report-summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:14px}.kc-report-summary-name{min-width:0;overflow-wrap:anywhere;font-weight:500}.kc-report-summary-row strong{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.kc-report-summary-track{height:6px;background:#edf2f5;border-radius:8px;overflow:hidden;margin:12px 0 8px}.kc-report-summary-track>span{display:block;height:100%;background:#0aada9;border-radius:8px}.kc-report-summary-track>span.is-negative{background:#d48888}.kc-report-summary-meta{font-size:12px;color:#637785;font-variant-numeric:tabular-nums}.kc-report-summary-meta>span:last-child{text-align:right}.kc-report-summary .kc-report-empty{padding:24px 0;color:#637785;font-size:14px}@media(max-width:1199px){.kc-report-body{grid-template-columns:minmax(0,1fr)}.kc-report-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;max-height:360px}.kc-report-summary-item:last-child{padding-bottom:18px}.kc-report-summary-item{border-bottom:0}}@media(max-width:640px){.kc-report-body{gap:20px}.kc-report-summary{padding:16px}.kc-report-summary-list{grid-template-columns:minmax(0,1fr);max-height:320px}.kc-report-summary-item{border-bottom:1px solid #edf1f4}.kc-report-summary-item:last-child{padding-bottom:0}}
