.insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.insight-grid>.panel,.insight-subgrid>.panel{margin:0}.insight-subgrid{display:grid;gap:16px;grid-column:1/-1}.insight-card{min-width:0}.insight-card h2,.insight-card p,.insight-card strong{overflow-wrap:anywhere}.insight-card-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}.insight-card-head h2{margin:0}.insight-card-head .status-chip{max-width:100%;white-space:normal}.insight-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.insight-actions>a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:6px;padding:8px 12px;background:white;min-height:44px;overflow-wrap:anywhere;white-space:normal}.insight-actions>button{min-height:44px}.insight-empty{padding:8px 0}.insight-types{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:12px 0 4px}.insight-types>button,.insight-types>a{flex:none;min-height:44px;white-space:nowrap;padding:10px 12px;border:1px solid var(--border);border-radius:6px}.insight-types [aria-current=true]{background:var(--primary);color:white}.insight-undated{grid-column:1/-1}.insight-undated>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.insight-undated .insight-card{margin:12px 0}.insight-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.insight-metrics>a{display:flex;flex-direction:column;gap:6px;color:var(--text);min-height:64px;min-width:0}.insight-metrics strong{font-size:20px;font-variant-numeric:tabular-nums}.insight-search-entry{display:flex;align-items:center;justify-content:center;min-height:44px;width:44px;flex:none}.insight-search-entry svg{width:22px;height:22px}.top>.insight-search-entry{margin-left:auto}.top>span:last-of-type{order:2}.mobiletop-spacer{display:none}.insight-dashboard{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.insight-dashboard>a{background:white;border:1px solid var(--border);border-radius:6px;min-height:44px;padding:10px 12px;flex:1;white-space:normal}.insight-date-error{margin-top:12px}
@media(max-width:767px){.insight-grid{grid-template-columns:1fr;gap:16px}.insight-grid .panel{padding:16px}.insight-card .kv{align-items:flex-start;gap:12px}.insight-card .kv>strong{min-width:0;overflow-wrap:anywhere;white-space:normal}.insight-actions>a,.insight-actions>button{flex:1;min-width:120px}.insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-grid form .grid{grid-template-columns:1fr}.insight-dashboard>a:first-child{flex-basis:100%}.insight-dashboard{font-size:14px}.insight-types{scrollbar-width:thin}.insight-card-head{align-items:flex-start}.insight-grid .timeline h3{font-size:16px}}
.insight-sources>summary,.insight-trend-table>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--primary)}.insight-source-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:12px 0;border-top:1px solid var(--border)}.insight-document-image{max-width:100%;max-height:65vh;object-fit:contain}.insight-chart-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin}.insight-trend{width:100%;height:200px;display:block}.insight-trend text{font-size:12px;fill:var(--secondary)}.insight-chart-guide{stroke:var(--border);stroke-width:1}.insight-trend path.insight-series-cohort,.insight-trend path.insight-series-cash{fill:none;stroke-width:2}.insight-series-cohort{color:var(--primary);stroke:var(--primary)}.insight-series-cash{color:#1762AA;stroke:#1762AA}.insight-trend circle.insight-series-cohort{fill:var(--primary)}.insight-trend a path.insight-series-cash{fill:#1762AA;stroke:#1762AA}.insight-chart-legend{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:8px;font-size:13px}.insight-trend-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;border-top:1px solid var(--border)}.insight-trend-table{margin-top:12px}.insight-cost-bars{display:grid;gap:12px;margin-top:16px}.insight-cost-bars>a{display:grid;grid-template-columns:62px minmax(0,1fr);gap:6px 12px;align-items:center;color:var(--text);min-height:44px}.insight-cost-bars strong{grid-column:2;font-variant-numeric:tabular-nums;font-size:13px}.insight-cost-track{display:block;min-width:0;height:18px;background:var(--canvas);border-radius:4px}.insight-cost-track>span{display:block;height:18px;background:var(--primary);border-radius:4px}.insight-grid>details>summary{cursor:pointer;min-height:44px}.insight-grid form select,.insight-grid form input{max-width:100%;min-width:0}
@media(max-width:767px){.insight-trend{width:200%;min-width:600px}.insight-chart-legend span:last-child{flex-basis:100%}.insight-metrics strong{font-size:18px}.insight-grid p{margin-top:6px}.insight-source-row>a{min-height:44px;display:flex;align-items:center}}
