/* Original UI components retain their own cascade; export framing only. */
.view-export-button { flex: none; }
.view-export-dialog { width: min(1120px, calc(100vw - 24px)); }
.view-export-preview { display: block; max-width: 100%; height: auto; margin: 12px auto; border: 1px solid var(--line); }
/* An identity filter gives the native offscreen surface the same grayscale text
   compositing as an SVG image, without changing fonts, geometry or colour values. */
.view-export-scene { width: 1536px; max-width: none; min-height: 0; margin: 0; padding: 16px; background: var(--bg); filter: opacity(1); }
.view-export-scene .tier-panel { margin-top: 0; }
.view-export-scene *, .view-export-scene *::before, .view-export-scene *::after { animation: none !important; transition: none !important; caret-color: transparent !important; }
.view-export-scene [hidden] { display: none !important; }
.view-export-footer { padding: 12px 4px 0; color: var(--ink-3); font-size: var(--fs-meta); line-height: 1.6; }
.view-export-footer p { margin: 0; }
.view-export-footer a { color: inherit; text-decoration: underline; }
/* The image header states what is shown: lamp/score status, the selected data and modes, and
   the data dates. It is static text, never a copy of the operating controls. */
.view-export-header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px 2px; }
.view-export-header .tier-lamp-progress { flex: 0 1 auto; }
/* The live score count reserves a fixed slot so its row never shifts; the static image needs none. */
.view-export-header .tier-lamp-goal.is-score-count { width: auto; }
.view-export-conditions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.view-export-conditions > div { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2, #f4f6f8); }
.view-export-conditions dt { color: var(--ink-3); font-size: var(--fs-micro); font-weight: 700; }
.view-export-conditions dd { margin: 0; color: var(--ink); font-size: var(--fs-meta); font-weight: 700; white-space: nowrap; }
.view-export-dates { margin: 0 0 0 auto; color: var(--ink-3); font-size: var(--fs-meta); white-space: nowrap; font-variant-numeric: tabular-nums; }
