.business-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
.business-card{padding:16px 20px;background:#f8fafc;border:1px solid #e8edf5;border-radius:6px;min-width:0}
.business-card span{display:block;color:#68778b;font-size:13px;margin-bottom:12px}
.business-card strong{display:block;font-size:23px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.business-scope{padding:4px 0 12px;color:#63748a;font-size:13px;line-height:1.7}
.business-scope p{margin:4px 0}.business-report td{font-variant-numeric:tabular-nums}
.business-select{display:flex;align-items:center;gap:8px;font-size:13px;color:#63748a}
.business-report .chart-note{line-height:1.7}
@media(max-width:700px){.business-cards{grid-template-columns:1fr}.business-select{flex-wrap:wrap}}

.chat-users-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.chat-users-head h1{font-size:16px;font-weight:400;white-space:nowrap}.chat-users-query{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.chat-users-query .users-filters{margin:0;gap:16px}.chat-users-query select{width:150px}.chat-users-query .tabs{margin:0}.chat-users-query .tabs button{min-height:28px;padding:4px 14px;font-size:12px}@media(max-width:900px){.chat-users-head{flex-wrap:wrap}.chat-users-query{width:100%}.chat-users-query .users-filters{flex-wrap:wrap;justify-content:flex-end}}
.page-head.chat-users-head{flex-direction:row}.chat-users-head .chat-users-query{margin-left:auto}

/* Chat analysis keeps the console's flat surfaces and compact controls. */
.page-head.chat-users-head{padding:18px 20px;margin-bottom:12px;gap:16px}
.chat-users-head h1{padding-top:5px;color:#222}
.chat-users-query{gap:8px}
.chat-report{color:#333}
.chat-summary{background:#fff;margin-bottom:12px;padding:24px 20px 0}
.chat-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 0 22px}
.chat-metric{padding:0 24px;border-left:1px solid #eceef1;min-width:0}
.chat-metric:first-child{padding-left:0;border-left:0}
.chat-metric span{display:block;font-size:13px;color:#6d727a;margin-bottom:12px}
.chat-metric strong{display:block;font-size:28px;line-height:1.1;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:#25282e}
.chat-metric-primary strong{color:#287ff0}
.chat-summary-footer{border-top:1px solid #f0f1f3;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:11px 0;color:#92969d;font-size:12px}
.chat-method{text-align:right;max-width:76%}
.chat-method summary{cursor:pointer;color:#6c747f;list-style:none;min-height:18px}
.chat-method summary::after{content:'⌄';margin-left:7px}
.chat-method[open] summary::after{content:'⌃'}
.chat-method>div{text-align:left;padding:12px 0 2px;color:#707780;line-height:1.9}
.chat-method p+p{margin-top:3px}
.chat-report .panel{margin-bottom:12px}
.chat-report .panel-title{background:#fff;border-bottom:1px solid #f0f1f3;min-height:54px;color:#333;font-size:14px}
.chat-report .panel-body{padding:16px 20px}
.chat-report .info-button{display:none}
.chat-report .chart-svg{height:280px}
.chat-report .chart-svg text{fill:#90959d}
.chat-report .legend{margin:8px 0 0}
.chat-report .legend button{color:#777e87;font-size:12px;min-height:32px}
.chat-view-tabs.tabs{margin:0;gap:0}
.chat-view-tabs.tabs button{min-height:30px;padding:4px 14px;font-size:12px;border-color:#e4e7ec;color:#747b85}
.chat-view-tabs.tabs button.active{background:#f4f8ff;color:#287ff0;border-color:#a8caff}
.chat-report th{background:#fafbfc;color:#656d78;font-weight:400}
.chat-report td{color:#404752}
@media(max-width:1100px){.chat-metric{padding:0 14px}.chat-metric strong{font-size:24px}.chat-users-query .users-filters{gap:10px}}
@media(max-width:800px){.chat-metrics{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:24px}.chat-metric:nth-child(4){border-left:0;padding-left:0}.chat-method{max-width:65%}}
