:root{--chart-1: #2a78d6;--chart-2: #eb6834;--chart-3: #1baf7a;--chart-4: #eda100;--chart-5: #e87ba4;--chart-6: #008300}@media screen{:root[data-theme=dark]{--chart-1: #3987e5;--chart-2: #d95926;--chart-3: #199e70;--chart-4: #c98500;--chart-5: #d55181;--chart-6: #008300}}.answer-chart{container-type:inline-size;min-width:0;padding:16px;border:1px solid rgb(var(--border-default));border-radius:12px;background:rgb(var(--surface));color:var(--off-black)}.message-markdown .answer-chart :is(ul,ol){padding-left:0;list-style:none}.message-markdown .answer-chart li+li{margin-top:0}.answer-chart-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.answer-chart-title{font-size:14px;font-weight:600;line-height:1.35}.answer-chart-subtitle{margin-top:2px;font-size:12px;color:rgb(var(--text-muted))}.answer-chart-views{display:inline-flex;flex-shrink:0;padding:2px;border:1px solid rgb(var(--border-default));border-radius:8px}.answer-chart-views button{padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;color:var(--off-black)}.answer-chart-views button:hover{background:rgb(var(--surface-hover))}.answer-chart-views button[aria-pressed=true]{background:rgb(var(--accent-muted));color:rgb(var(--accent-text))}.answer-chart-views button:focus-visible,.answer-chart :is(.answer-chart-bar-row,.answer-chart-plot):focus-visible{outline:2px solid rgb(var(--accent-text));outline-offset:2px}.answer-chart-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:10px;font-size:12px}.answer-chart-legend li{display:inline-flex;align-items:center;gap:6px;min-width:0}.answer-chart-swatch{width:10px;height:10px;flex-shrink:0;border-radius:2px}.answer-chart-swatch[data-kind=line]{width:14px;height:2px;border-radius:1px}.answer-chart-bars{display:grid}.answer-chart-bar-row{position:relative;display:grid;grid-template-columns:minmax(84px,34%) minmax(0,1fr);align-items:center;gap:12px;padding:5px 4px;border-radius:6px}.answer-chart-bar-row:hover{background:rgb(var(--surface-hover))}@container (max-width: 440px){.answer-chart-bar-row{grid-template-columns:minmax(0,1fr);gap:4px}}.answer-chart-category{font-size:13px;line-height:1.3;overflow-wrap:anywhere}.answer-chart-bar-group{display:grid;gap:2px;min-width:0}.answer-chart-bar-line{display:grid;grid-template-columns:minmax(16px,1fr) var(--answer-chart-value-width);align-items:center;gap:8px}.answer-chart-track{position:relative;height:16px}.answer-chart-bar-group[data-grouped] .answer-chart-track{height:12px}.answer-chart-bar{position:absolute;top:0;height:100%;min-width:2px;border-radius:0 4px 4px 0}.answer-chart-bar[data-negative]{border-radius:4px 0 0 4px}.answer-chart-baseline{position:absolute;top:-3px;bottom:-3px;border-left:1px solid rgb(var(--border-strong))}.answer-chart-value{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.answer-chart-plot{position:relative;touch-action:pan-y}.answer-chart-plot svg{display:block;width:100%;overflow:visible}.answer-chart-grid{stroke:rgb(var(--border-default));stroke-width:1}.answer-chart-axis-label{fill:rgb(var(--text-muted));font-size:11px;font-variant-numeric:tabular-nums}.answer-chart-end-label{fill:var(--off-black);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.answer-chart-crosshair{stroke:rgb(var(--border-strong));stroke-width:1}.answer-chart-marker{stroke:rgb(var(--surface));stroke-width:2}.answer-chart-tooltip{position:absolute;z-index:2;min-width:140px;max-width:260px;padding:8px 10px;border:1px solid rgb(var(--border-default));border-radius:8px;background:rgb(var(--surface));box-shadow:0 6px 20px #0000001f;font-size:12px;pointer-events:none}.answer-chart-tooltip-category{margin-bottom:4px;color:rgb(var(--text-muted))}.answer-chart-tooltip-row{display:flex;align-items:center;gap:6px}.answer-chart-tooltip-row strong{font-weight:600;font-variant-numeric:tabular-nums;color:var(--off-black)}.answer-chart-tooltip-row span:last-child{color:rgb(var(--text-muted));overflow-wrap:anywhere}.answer-chart-key{width:10px;height:2px;flex-shrink:0;border-radius:1px}.answer-chart-notes{margin-top:12px;display:grid;gap:2px;font-size:12px;line-height:1.4;color:rgb(var(--text-muted))}
