/* Reports & AI: the day at a glance */
.rpt{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}
.rpt-bar-top{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}
.rpt-tabs{display:inline-flex;border:1px solid var(--line,#d8dee9);border-radius:10px;overflow:hidden;background:var(--panel,#fff)}
.rpt-tabs button{border:0;background:transparent;padding:8px 16px;font:inherit;cursor:pointer;color:inherit}
.rpt-tabs button.on{background:var(--accent,#2f6fed);color:#fff}
.rpt-actions{display:flex;gap:8px;flex-wrap:wrap}
.rpt-hero{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:14px;border:1px solid var(--line,#d8dee9);background:var(--panel,#fff)}
.rpt-hero i{width:14px;height:14px;border-radius:50%;flex:none;background:#1c9a63;box-shadow:0 0 0 5px rgba(28,154,99,.15)}
.rpt-hero strong{display:block;font-size:20px}.rpt-hero small{color:var(--muted,#6b7587);font-size:14px}
.rpt-hero.good{border-color:rgba(28,154,99,.35)}
.rpt-hero.warn{border-color:rgba(217,138,0,.45)}.rpt-hero.warn i{background:#d98a00;box-shadow:0 0 0 5px rgba(217,138,0,.15)}
.rpt-hero.bad{border-color:rgba(209,67,67,.45)}.rpt-hero.bad i{background:#d14343;box-shadow:0 0 0 5px rgba(209,67,67,.15)}
.rpt-needs{list-style:none;margin:-4px 0 0;padding:0;border:1px solid var(--line,#d8dee9);border-radius:14px;background:var(--panel,#fff)}
.rpt-needs li{display:flex;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid var(--line,#e5e7eb)}
.rpt-needs li:first-child{border-top:0}
.rpt-needs li>div{flex:1;display:flex;flex-direction:column;gap:2px}.rpt-needs small{color:var(--muted,#6b7587)}
.rpt-needs i{width:10px;height:10px;border-radius:50%;flex:none;background:#d98a00}.rpt-needs i.bad{background:#d14343}
.rpt-h{margin:6px 0 -4px;font-size:17px}.rpt-h small,.rpt-card h3 small{font-weight:400;color:var(--muted,#6b7587);font-size:13px;margin-left:6px}
.rpt-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.rpt-kpi{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border-radius:12px;border:1px solid var(--line,#d8dee9);background:var(--panel,#fff)}
.rpt-kpi span{font-size:13px;color:var(--muted,#6b7587)}.rpt-kpi b{font-size:28px;line-height:1.15}.rpt-kpi small{font-size:12px;color:var(--muted,#6b7587);min-height:2.4em}
.rpt-kpi.warn b{color:#b26a00}
.rpt-d{font-size:12px;font-weight:600}.rpt-d.good{color:#1c9a63}.rpt-d.bad{color:#d14343}.rpt-d em{font-weight:400;font-style:normal;color:var(--muted,#6b7587)}
.rpt-card{padding:16px 18px;border-radius:14px;border:1px solid var(--line,#d8dee9);background:var(--panel,#fff)}
.rpt-card h3{margin:0 0 10px;font-size:15px}
.rpt-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:900px){.rpt-two{grid-template-columns:1fr}}
.rpt-chart{width:100%;height:auto;display:block}
.rpt-bar{fill:#2f6fed}.rpt-bar-miss{fill:#d14343}.rpt-base{stroke:var(--line,#d8dee9)}
.rpt-val{font-size:10px;fill:currentColor;opacity:.75}.rpt-ax{font-size:10px;fill:currentColor;opacity:.55}
.rpt-legend{display:flex;gap:14px;align-items:center;font-size:12px;color:var(--muted,#6b7587);margin-top:6px;flex-wrap:wrap}
.rpt-legend i{width:10px;height:10px;border-radius:2px;display:inline-block;margin-right:-8px}.rpt-legend i.a{background:#2f6fed}.rpt-legend i.m{background:#d14343}
.rpt-legend span{margin-left:auto}
.rpt-row{display:grid;grid-template-columns:minmax(90px,34%) 1fr auto;gap:10px;align-items:center;padding:6px 0;font-size:14px}
.rpt-row .t{height:9px;background:var(--surface-2,#eef1f6);border-radius:5px;overflow:hidden}.rpt-row .t i{display:block;height:100%;background:#2f6fed;opacity:.8;border-radius:5px}
.rpt-row .v{white-space:nowrap;font-weight:600}.rpt-row .v small{font-weight:400;color:var(--muted,#6b7587)}
.rpt-row .n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rpt-money{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.rpt-money span{display:block;font-size:13px;color:var(--muted,#6b7587)}.rpt-money b{font-size:22px}.rpt-money b.neg{color:#d14343}
.rpt-warn{margin-top:12px;padding:10px 12px;border-radius:10px;background:rgba(217,138,0,.1);display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px}
.rpt-tbl{width:100%;border-collapse:collapse;font-size:14px}.rpt-tbl th{text-align:left;font-weight:600;color:var(--muted,#6b7587);font-size:12px;padding:4px 8px}.rpt-tbl td{padding:7px 8px;border-top:1px solid var(--line,#e5e7eb)}
.rpt-empty{padding:14px;color:var(--muted,#6b7587);text-align:center;font-size:14px}
.rpt-foot{font-size:12px;color:var(--muted,#6b7587);margin:0}
.rpt-more{margin-top:6px}.rpt-more>summary{cursor:pointer;font-weight:600;padding:4px 0}.rpt-more>section{margin-top:12px}
