/* Quick Viewer: the viewer's own components, on top of the suite's shared chrome and tokens
   (../../assets/suite-analysis.css: palette per theme, type, header, theme toggle, footer mark, controls, focus ring,
   no-JavaScript rules) and the studio tool layer (press feedback, reduced motion, the DMS seconds hand).
   Figures are white paper in both themes; nothing here animates at rest. Text never drops under 11 px. */

/* Page frame: the footer settles at the bottom of a short (empty) page. */
.viewer { display: flex; flex-direction: column; min-height: 100svh; }
.viewer > main { flex: 1 0 auto; }

/* Buttons: suite metrics (44 px, 8 px radius, 600 weight) in three tones. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: var(--radius-small); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background-color var(--motion-quick) var(--ease-standard), border-color var(--motion-quick) var(--ease-standard), color var(--motion-quick) var(--ease-standard); }
.button svg, .import-icon svg, .dataset-summary svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button-secondary { border-color: var(--line); background: var(--surface-raised); }
.button-quiet { color: var(--muted); }
@media (hover: hover) {
  .button-primary:not(:disabled):hover { background-color: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
  .button-secondary:not(:disabled):hover { border-color: var(--accent); background-color: var(--accent-soft); }
  .button-quiet:not(:disabled):hover { color: var(--ink); background-color: var(--surface-raised); }
}
input[type="search"] { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--input); color: var(--ink); font-size: 14px; line-height: 1.4; }
input::placeholder { color: var(--faint); opacity: 1; }
.field > label, .field-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.field-label { display: block; margin-bottom: 6px; }
.optional-label { color: var(--faint); font-weight: 400; }

/* Import: a quiet drop zone on the empty page; one compact row once data is open. */
.import-panel { display: flex; flex-direction: column; align-items: center; gap: 20px; width: min(760px, 100%); margin: clamp(40px, 10vh, 112px) auto 0; padding: 48px 36px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-align: center; transition: border-color var(--motion-quick) var(--ease-standard), background-color var(--motion-quick) var(--ease-standard); }
.import-panel.is-dragover { border-color: var(--accent); background: var(--accent-soft); }
.import-panel[aria-busy="true"] { border-color: var(--bronze); }
.import-icon { display: grid; place-items: center; width: 54px; height: 54px; color: var(--accent); }
.import-icon svg { width: 38px; height: 38px; stroke-width: 1.3; }
.import-copy h2 { font-size: 26px; font-weight: var(--heading-weight); letter-spacing: var(--track-title); line-height: 1.2; }
.import-copy p { margin-top: 8px; color: var(--muted); font-size: 14px; text-wrap: balance; }
.import-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.import-footer { width: min(760px, 100%); margin: 14px auto 0; color: var(--faint); font-size: 13px; text-align: center; }
.import-status { margin-top: 6px; color: var(--muted); overflow-wrap: anywhere; }
.import-status:empty { display: none; }
.import-status.is-error { color: var(--danger); }
.import-progress-wrap { display: flex; align-items: center; gap: 16px; width: min(760px, 100%); margin: 8px auto 0; }
.import-progress-wrap progress { flex: 1; min-width: 0; }
progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 5px; overflow: hidden; background: var(--line-soft); color: var(--accent); accent-color: var(--accent); }
progress::-webkit-progress-bar { background: var(--line-soft); border-radius: 5px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 5px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 5px; }

.has-data .import-panel { flex-direction: row; gap: 16px; width: 100%; margin-top: 22px; padding: 14px 20px; text-align: left; }
.has-data .import-icon { width: 36px; height: 40px; }
.has-data .import-icon svg { width: 28px; height: 28px; }
.has-data .import-copy { flex: 1; min-width: 0; }
.has-data .import-copy h2 { font-size: 18px; letter-spacing: var(--track-heading); }
.has-data .import-copy p { margin-top: 2px; font-size: 13px; }
.has-data .import-footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; width: 100%; margin-top: 10px; text-align: left; }
.has-data .import-status { flex: 1 1 240px; margin: 0; }
.has-data .import-progress-wrap { width: 100%; }

/* Workspace: files beside the figures from 901 px; stacked above them (folded to one line) on narrower screens. */
.viewer-workspace { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 22px; }
.dataset-sidebar { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); overflow: hidden; }
.dataset-summary { display: none; }
.sidebar-section { padding: 18px; }
.file-list { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.file-list:empty { display: none; }
.file-list > li { min-width: 0; }
.file-list > li.file-meta { color: var(--faint); font-size: 12px; }
.file-item { display: block; width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); text-align: left; overflow-wrap: anywhere; }
.file-item[aria-current="true"] { border-color: var(--line); background: var(--accent-soft); color: var(--ink); }
@media (hover: hover) { .file-item:hover { background: var(--accent-soft); color: var(--ink); } }
.file-name { display: block; font-size: 13px; font-weight: 600; }
.file-item .file-meta { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; }
.dataset-format { margin: 10px 0 16px; color: var(--faint); font-size: 12px; overflow-wrap: anywhere; }
.dataset-metrics { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px 12px; margin: 0 0 18px; }
.dataset-metrics div { min-width: 0; }
.dataset-metrics dt { color: var(--muted); font-size: 12px; }
.dataset-metrics dd { margin: 2px 0 0; font-size: 21px; font-weight: var(--heading-weight); letter-spacing: var(--track-heading); font-variant-numeric: tabular-nums; }
.csv-actions { display: grid; gap: 4px; }
.csv-actions > .button { width: 100%; }
.format-hint { color: var(--faint); font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.clear-button { width: 100%; border-top: 1px solid var(--line-soft); border-radius: 0; }

.workspace-main { min-width: 0; }
.workspace-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.view-switch { display: inline-flex; gap: 4px; border-bottom: 1px solid var(--line); }
.view-switch button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 12px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color var(--motion-quick) var(--ease-standard); }
.view-switch button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.view-switch button[aria-pressed="true"] { color: var(--ink); }
.view-switch button[aria-pressed="true"]::after { content: ""; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: var(--bronze); }
@media (hover: hover) { .view-switch button:hover { color: var(--ink); } }
.plot-count { display: grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-raised); font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1; }
.workspace-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.toolbar-control { position: relative; display: block; min-width: 0; }
/* Selects take the width of their longest choice, so no label is ever cut short. */
.toolbar-control select { width: auto; max-width: 100%; background-color: var(--surface); }
.time-control { position: relative; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.time-control > span { white-space: nowrap; }
.toolbar-control::after, .plot-color-control::after { content: ""; position: absolute; right: 12px; bottom: 16px; width: 12px; height: 12px; background: currentColor; mask: url('../../../../assets/images/icons/arrow-down.svg?v=a63cdbe7d2975510') center / contain no-repeat; pointer-events: none; }

/* Custom plot: the suite's options box (+ and −), on a surface. */
.plot-builder { border-color: var(--line); background: var(--surface); }
#custom-plot-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 132px auto; gap: 12px; align-items: end; }
.parameter-search { grid-column: 1 / -1; }
.field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-width: 360px; }
#parameter-count { color: var(--faint); font-size: 12px; white-space: nowrap; }
.parameter-search input { max-width: 360px; }
#add-plot > span { font-size: 19px; font-weight: 400; line-height: 1; }

/* Figures: white paper panels in both themes. */
.plot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.plot-card { position: relative; min-width: 0; border: 1px solid #d9e0e7; border-radius: 10px; background: #fff; color: #101317; box-shadow: 0 3px 10px #0000000a; overflow: hidden; }
/* Header: the title, the figure's colours, then its downloads and remove. */
.plot-card-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "title color actions"; align-items: center; gap: 4px 6px; min-height: 60px; padding: 8px 8px 8px 14px; border-bottom: 1px solid #e8ecf0; }
.plot-card-header h3 { grid-area: title; min-width: 0; font-size: 14px; font-weight: 600; letter-spacing: var(--track-heading); line-height: 1.35; overflow-wrap: anywhere; }
.plot-actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.plot-color-control { position: relative; grid-area: color; min-width: 0; max-width: 100%; color: #26374a; }
.plot-color { width: auto; min-width: 0; max-width: 100%; border-color: #d4dde6; background-color: #fff; color: #26374a; font-size: 13px; color-scheme: light; }
.plot-action { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #3e5063; font-size: 12px; font-weight: 600; transition: background-color var(--motion-quick) var(--ease-standard), border-color var(--motion-quick) var(--ease-standard); }
.plot-action.remove-plot { font-size: 18px; font-weight: 400; }
@media (hover: hover) { .plot-action:not(:disabled):hover { border-color: #d4dfe8; background: #eef3f7; } }
.plot-chart { position: relative; min-width: 0; background: #fff; color: #000; }
.plot-chart:focus-visible { outline-offset: -3px; }
.plot-surface { position: relative; min-width: 0; }
.plot-surface > svg { display: block; width: 100%; height: auto; overflow: visible; background: #fff; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.plot-chart svg text { fill: #000; font-family: Arial, Helvetica, sans-serif; font-weight: 700; }
.plot-chart svg .data-point { cursor: crosshair; }
.plot-tooltip { position: absolute; inset: 10px 10px auto auto; z-index: 5; display: grid; gap: 1px; width: max-content; max-width: min(300px, calc(100% - 20px)); padding: 9px 12px; border-radius: 8px; background: #132133; color: #fff; box-shadow: 0 6px 24px #0003; font-size: 12px; line-height: 1.55; font-variant-numeric: tabular-nums; pointer-events: none; }
.plot-tooltip.is-left { inset: 10px auto auto 10px; }
.tip-heading { color: #c6d2e0; }
.tip-row { display: flex; justify-content: space-between; gap: 14px; }
.tip-name { min-width: 0; color: #c6d2e0; overflow-wrap: anywhere; }
.tip-value { font-weight: 600; white-space: nowrap; }
.plot-preview-note { margin: 0; padding: 0 14px 10px; color: #586778; font-size: 12px; }
.empty-message { grid-column: 1 / -1; padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius-small); color: var(--muted); font-size: 14px; text-align: center; }

/* Data table: 50-row pages, native horizontal scrolling. */
.table-view { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); overflow: hidden; }
.table-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; padding: 16px 18px; }
.table-toolbar .field { flex: 1 1 260px; max-width: 360px; }
.table-summary { color: var(--muted); font-size: 12px; }
.table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-block: 1px solid var(--line); }
#data-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
#data-table th, #data-table td { min-width: 96px; padding: 10px 14px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: right; white-space: nowrap; }
#data-table th { background: var(--surface-raised); font-weight: 600; }
#data-table th small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
#data-table tbody tr:nth-child(even) { background: var(--surface-soft); }
#data-table td:first-child, #data-table th:first-child { min-width: 60px; color: var(--muted); }
@media (hover: hover) { #data-table tbody tr:hover { background: var(--accent-soft); } }
.table-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.table-pagination p { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Export dialog (native <dialog>). */
.export-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 100px #0008; }
.export-dialog::backdrop { background: #03080fc9; }
.export-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--line-soft); }
.export-dialog-header h2 { font-size: 22px; font-weight: var(--heading-weight); letter-spacing: var(--track-title); }
.dialog-close { border-color: transparent; }
.export-dialog-body { padding: 20px 24px; }
.export-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-option { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; color: var(--muted); font-size: 14px; cursor: pointer; }
.checkbox-option input, .export-figure-list input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.export-selection-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 6px 0 4px; }
.export-selection-heading output { color: var(--muted); font-size: 13px; }
.export-figure-list { display: flex; flex-direction: column; min-width: 0; max-height: min(34svh, 300px); margin: 0; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--input); scroll-padding-block: 8px; }
.export-figure-list:empty { min-height: 56px; }
.export-figure-option { display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 10px 13px; font-size: 14px; cursor: pointer; }
.export-figure-option + .export-figure-option { border-top: 1px solid var(--line-soft); }
.export-figure-option:focus-within { background: var(--accent-soft); }
@media (hover: hover) { .export-figure-option:hover { background: var(--surface-raised); } }
.export-figure-option > span { min-width: 0; overflow-wrap: anywhere; }
.export-figure-name { display: block; font-weight: 500; }
.export-figure-meta { display: block; margin-top: 1px; color: var(--faint); font-size: 12px; }
.export-feedback { margin-top: 16px; }
.export-feedback:has(progress[hidden]):has(#export-status:empty) { display: none; }
#export-status { margin-top: 10px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
#export-status:empty { display: none; }
#export-status.is-error { color: var(--danger); }
.export-dialog-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line-soft); }
.pro-note { color: var(--faint); font-size: 12px; }
.export-dialog-actions { display: flex; gap: 8px; margin-left: auto; }
.export-dialog-actions .button { min-width: 84px; }
.export-dialog.is-csv :is(.export-options, .file-label-option, #export-selection-all, .export-figure-list) { display: none; }

/* Narrower desktops: one figure column. */
@media (max-width: 1180px) {
  .plot-grid { grid-template-columns: minmax(0, 1fr); }
  .plot-card { width: 100%; max-width: 900px; margin-inline: auto; }
  #custom-plot-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parameter-search { grid-column: 1 / 3; }
  .axis-field { grid-row: 2; }
  .plot-style-field { grid-row: 1; grid-column: 3; }
  #add-plot { grid-row: 3; grid-column: 3; }
  .parameter-search input { max-width: none; }
}

/* Stacked: the file panel folds into one line above the figures, and the custom-plot form waits folded. */
@media (max-width: 900px) {
  .viewer-workspace { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dataset-summary { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 16px; border: 0; background: transparent; color: var(--ink); text-align: left; }
  .dataset-summary-text { display: grid; flex: 1; min-width: 0; }
  .dataset-summary-name { overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .dataset-summary-meta { color: var(--muted); font-size: 13px; }
  .dataset-summary svg { width: 16px; height: 16px; color: var(--muted); transition: rotate var(--motion-quick) var(--ease-standard); }
  .dataset-sidebar.is-open .dataset-summary svg { rotate: 180deg; }
  .dataset-sidebar:not(.is-open) .dataset-body { display: none; }
  .dataset-body { border-top: 1px solid var(--line-soft); }
  .sidebar-section { padding: 16px; }
  .csv-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .import-panel { margin-top: 32px; padding: 32px 20px; gap: 18px; }
  .import-copy h2 { font-size: 24px; }
  /* Once data is open, importing more is one row of buttons (the heading stays for assistive technology). */
  .has-data .import-panel { gap: 8px; margin-top: 16px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .has-data .import-icon { display: none; }
  .has-data .import-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .has-data .import-actions { gap: 8px; }
  .has-data .import-footer { margin-top: 8px; font-size: 12px; }
  .has-data .import-status { flex-basis: auto; }
  .workspace-toolbar { gap: 8px; margin-bottom: 14px; }
  .view-switch { width: 100%; }
  .view-switch button { flex: 1; justify-content: center; gap: 4px; padding-inline: 6px; font-size: 13px; }
  /* Plot choices, time units, then the two export/reset actions stay in complete rows. */
  .workspace-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; }
  .time-control { grid-column: 1 / -1; justify-content: flex-end; }
  .palette-control select { width: 100%; }
  .workspace-actions > .button { width: 100%; }
  .plot-grid { gap: 14px; margin-top: 14px; }
  /* The title takes its own line; the colours and downloads share the next. */
  .plot-card-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "color actions"; gap: 2px 8px; padding: 10px 6px 6px 12px; }
  .plot-color-control { justify-self: start; }
  /* Each axis choice gets the full width (column names and units are long); Show and Add plot share the last row. */
  #custom-plot-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .parameter-search, .axis-field { grid-column: 1 / -1; }
  .axis-field, .plot-style-field, #add-plot { grid-row: auto; }
  .plot-style-field, #add-plot { grid-column: auto; }
  .table-toolbar { padding: 14px; }
  .table-toolbar .field { max-width: none; }
  .table-pagination { padding: 10px; }
  .export-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 12px; }
  .export-dialog-header { padding: 10px 10px 10px 16px; }
  .export-dialog-header h2 { font-size: 20px; }
  .export-dialog-body { padding: 14px 16px; }
  .export-options { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .export-dialog-footer { padding: 12px 16px; }
  .pro-note { width: 100%; }
  .export-dialog-actions { width: 100%; }
  .export-dialog-actions .button { flex: 1; }
}

/* Phones: 16 px fields stop iOS from zooming on focus (the suite's rule covers select and number inputs). */
@media (pointer: coarse) { input[type="search"], .plot-color { font-size: 16px; } }
/* The narrowest phones: the downloads join the title, the colours take a full row; the toolbar controls share
   rows where they fit and fill them. */
@media (max-width: 359px) {
  .plot-card-header { grid-template-areas: "title actions" "color color"; }
  .plot-color-control { justify-self: stretch; }
  .plot-color-control select { width: 100%; }
  .workspace-actions { display: flex; flex-wrap: wrap; }
  .workspace-actions > * { flex: 1 1 auto; }
  .workspace-actions > .button { width: auto; }
  .toolbar-control select, .palette-control select { width: auto; min-width: 100%; }
  .workspace-actions > .time-control { flex-basis: 100%; }
  .time-control select { min-width: 0; }
}

@media (forced-colors: active) {
  .import-panel, .dataset-sidebar, .plot-builder, .plot-card, .table-view, .plot-count { border: 1px solid CanvasText; }
  .button-primary { border-color: ButtonText; background: ButtonFace; color: ButtonText; }
  .view-switch button[aria-pressed="true"]::after { background: Highlight; }
  .plot-surface > svg { forced-color-adjust: none; }
}

@media print {
  html, body { background: #fff; color: #000; }
  .export-dialog, .import-progress-wrap, .suite-header, .import-panel, .import-footer, .dataset-sidebar, .workspace-toolbar, .plot-builder, .plot-color-control, .plot-actions, .suite-footer, .site-atmosphere { display: none !important; }
  .viewer-workspace { display: block; margin: 0; }
  .plot-grid { grid-template-columns: 1fr 1fr; gap: 15px; margin: 0; }
  .plot-card { break-inside: avoid; box-shadow: none; }
  .table-view { border-color: #333; background: #fff; color: #000; }
  #data-table th, #data-table td { border-color: #ccc; background: #fff; color: #000; }
  .table-scroll { overflow: visible; }
  .table-pagination, .table-toolbar { display: none; }
}

.plot-animation {padding:0 16px 12px;color:var(--ink);background:var(--surface);}
.plot-animation .figure-animation {margin-top:0;border-top:0;}
@media(max-width:480px){.plot-animation{padding-inline:10px;}}
