.brief-query{margin-bottom:24px}.brief-query .panel-head h2{display:flex;align-items:center;gap:8px}.brief-query .panel-head p{margin:7px 0 0;color:var(--muted,#6d7078);font-size:13px}.brief-query-badge{font-size:11px;font-weight:700;color:#b02d37;background:#fbeef0;padding:3px 7px;border-radius:6px}.brief-query textarea{display:block;width:100%;min-height:88px;box-sizing:border-box;resize:vertical;font:inherit;font-size:15px;line-height:1.6;padding:14px;border:1px solid var(--line,#dfe1e8);border-radius:12px;background:var(--surface,#fff);color:inherit}.brief-query textarea:focus{outline:2px solid #b8313b;outline-offset:2px}.brief-query-actions,.brief-query-result-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.brief-query-actions>span{font-size:12px;color:var(--muted,#6d7078)}.brief-query-actions button{display:flex;align-items:center;gap:6px;white-space:nowrap}.brief-query-examples{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.brief-query-examples button{font-size:12px;padding:6px 10px;background:transparent;color:inherit}.brief-query-status{display:flex;align-items:center;gap:9px;margin:18px 0 0;line-height:1.7}.brief-query-spinner{display:inline-block;width:16px;height:16px;flex-shrink:0;border:2px solid #ead6d8;border-top-color:#b8313b;border-radius:50%;animation:brief-query-spin .8s linear infinite}@keyframes brief-query-spin{to{transform:rotate(360deg)}}.brief-query-error,.brief-query-warning{padding:10px 12px;border-radius:8px;background:#fff5df;color:#775414;line-height:1.6;font-size:13px}.brief-query-result{border-top:1px solid var(--line,#e5e7eb);margin-top:20px;padding-top:8px}.brief-query-result h3{font-size:16px;margin:0}.brief-query-result-head p,.brief-query-basis{font-size:12px;color:var(--muted,#6d7078);margin:6px 0;overflow-wrap:anywhere}.brief-query-total{display:flex;flex-wrap:wrap;gap:12px;align-items:baseline}.brief-query-total strong{font-size:22px;font-variant-numeric:tabular-nums}.brief-query-chart{width:100%;max-height:240px;margin:12px 0;overflow:visible}.brief-query-chart g{fill:#b8313b;stroke:#b8313b;stroke-width:2}.brief-query-chart polyline{fill:none}.brief-query-chart .zero{stroke:#aeb1bb;stroke-dasharray:4 4}.brief-query-chart text{font-size:12px;fill:currentColor}.brief-query-table{max-height:360px;overflow:auto}.brief-query-table table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.brief-query-table th,.brief-query-table td{padding:10px 12px;border-bottom:1px solid var(--line,#e5e7eb);text-align:left}.brief-query-table th{position:sticky;top:0;background:var(--surface,#fff);z-index:1}.brief-query-table td:nth-child(2),.brief-query-table th:nth-child(2){text-align:right}.brief-query-table td{font-size:14px}.brief-query .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:600px){.brief-query-actions{align-items:flex-end}.brief-query-actions>span{max-width:60%;line-height:1.5}.brief-query-result-head{align-items:flex-start;flex-direction:column}.brief-query textarea{font-size:16px}.brief-query-table th,.brief-query-table td{padding:9px 6px}.brief-query .panel-head p{line-height:1.6}}@media(prefers-reduced-motion:reduce){.brief-query-spinner{animation:none}}
.brief-analysis-section{margin-top:24px;min-width:0}.brief-analysis-section h4{margin:0 0 10px;font-size:15px}.brief-analysis-section h4 small{font-weight:400;color:var(--muted);margin-left:8px}.brief-analysis-table td,.brief-analysis-table th{white-space:pre-wrap;min-width:90px;max-width:380px;overflow-wrap:anywhere}.brief-analysis-table td:nth-child(2),.brief-analysis-table th:nth-child(2){text-align:left}.brief-analysis-table td.number{text-align:right;white-space:nowrap}.brief-analysis-text{white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere;font-size:14px}.brief-analysis-basis{font-size:12px;line-height:1.6;margin-top:18px;color:var(--muted)}.brief-query,.brief-query .panel-body{min-width:0;max-width:100%;box-sizing:border-box}.brief-query-table{max-width:100%}
