/* Illustrative reporting examples. Each dashboard keeps its own interface and sits wider than the text column. */
.boards { margin-top: var(--space-6); }
.board + .board { margin-top: clamp(3.5rem, 7vw, 6rem); }
.board-caption { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-1) var(--space-4); margin-bottom: var(--space-3); }
.board-caption > div { min-width: 0; flex: 1 1 20rem; }
.board-caption p { margin-top: 0.25rem; }
.board-open { flex: none; }
.board-frame { max-width: calc(1282px + 2 * clamp(0.75rem, 2.5vw, 2rem)); margin-inline: auto; padding-inline: clamp(0.75rem, 2.5vw, 2rem); }
.board-frame img { width: 100%; height: auto; border: 1px solid var(--hairline); border-top: 3px solid var(--charcoal); background: #F6F7F9; }
.js .board-frame img { cursor: zoom-in; }

/* Larger view */
.viewer { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ivory); color: var(--charcoal); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgb(28 27 25 / 0.66); }
.viewer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-1) var(--space-3); padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--hairline); }
.viewer-title { font-weight: var(--weight-semi); }
.viewer-note { display: block; font-weight: var(--weight-regular); font-size: var(--fs-caption); line-height: 1.4; color: var(--grey-warm); }
.viewer-tools { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-left: auto; }
.viewer-tools button { min-width: 2.75rem; min-height: 2.75rem; padding: 0.5rem 0.875rem; border: 1px solid var(--charcoal); border-radius: var(--radius); background: transparent; color: inherit; font: var(--weight-semi) var(--fs-small)/1 var(--font); cursor: pointer; }
.viewer-tools button[aria-disabled="true"] { border-color: var(--hairline); color: var(--grey-warm); cursor: default; }
.viewer-stage { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: var(--space-2); background: var(--ivory-deep); -webkit-overflow-scrolling: touch; }
.viewer-stage:focus-visible { outline-offset: -3px; }
.viewer-stage img { display: block; max-width: none; height: auto; margin-inline: auto; background: #F6F7F9; }

@media print { .board-open, .viewer { display: none !important; } .board { break-inside: avoid; } }
