/* Literal chart controls use the incumbent workspace appearance tokens. */
.report-chart-view { color: var(--workspace-ink); font-family: var(--sans); min-width: 0; }
.report-chart-view * { box-sizing: border-box; }
.report-chart-view h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.report-chart-view :is(input, textarea, button, summary) { min-height: 44px; }
.report-chart-view :is(input, textarea) { display: block; width: 100%; padding: 9px 10px; border: 1px solid var(--workspace-field-edge); border-radius: 8px; background: var(--workspace-soft); color: var(--workspace-ink); font: 400 16px/1.5 var(--sans); caret-color: var(--workspace-focus); }
.report-chart-view textarea { resize: vertical; }
.report-chart-view input[aria-invalid="true"] { border-color: var(--workspace-error); }
.report-chart-view :is(input, textarea, button, summary):focus-visible { outline: 2px solid var(--workspace-focus); outline-offset: 3px; }
.report-chart-view .report-chart-field { display: block; margin-bottom: 16px; min-width: 0; }
.report-chart-field > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.report-chart-view details { margin: 8px 0 16px; }
.report-chart-view summary { display: list-item; list-style-position: inside; padding-block: 12px; cursor: pointer; font-size: 14px; font-weight: 600; }
.report-chart-view .report-chart-help, .report-chart-view .report-chart-source, .report-chart-view .report-chart-scale, .report-chart-view .report-chart-context { font-size: 13px; line-height: 1.55; color: var(--workspace-secondary); overflow-wrap: anywhere; }
.report-chart-source { white-space: pre-wrap; }
.report-chart-status { min-height: 44px; margin: 16px 0 8px; font-size: 14px; line-height: 1.55; color: var(--workspace-secondary); }
.report-chart-view .report-chart-plot { margin: 16px 0 24px; min-width: 0; }
.report-chart-bar { margin: 12px 0; }
.report-chart-bar-label { display: flex; align-items: start; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.5; }
.report-chart-bar-label > span { min-width: 0; overflow-wrap: anywhere; }
.report-chart-bar-label output { flex: 0 1 auto; min-width: 0; max-width: 70%; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.report-chart-bar svg { display: block; width: 100%; height: 32px; overflow: visible; }
.report-chart-bar rect { fill: var(--workspace-ink); }
.report-chart-bar line { stroke: var(--workspace-secondary); stroke-width: 1; }
.report-chart-data { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 16px 0; }
.report-chart-data caption { text-align: left; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.report-chart-data th { text-align: left; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.report-chart-data :is(td, th) { padding: 8px 4px; vertical-align: top; border-bottom: 1px solid var(--workspace-edge); }
.report-chart-data :is(td, th):first-child { padding-left: 0; }
.report-chart-data :is(td, th):last-child { width: 52px; padding-right: 0; }
.report-chart-view .btn-outline { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--workspace-field-edge); border-radius: 8px; font: 600 13px/1.4 var(--sans); background: var(--workspace-surface); color: var(--workspace-ink); cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.report-chart-view button:disabled { opacity: .55; cursor: default; }
.report-chart-view button:not(:disabled):active { background: var(--workspace-soft); }
.notes-chart > .notes-chart-remove { margin-block-start: 8px; }
@media (prefers-reduced-motion: reduce) { .report-chart-view * { scroll-behavior: auto; } }
