#block-export-overview { margin-top: 28px; }
.beo-scope {
  --beo-bg: #f7fafc; --beo-surface: #fff; --beo-ink: #143b50;
  --beo-muted: #526977; --beo-line: #d3dfe6; --beo-export: #187d8c;
  --beo-included: #d8eef0; --beo-warning: #9a4f18; --beo-warning-bg: #fff3e2;
}
.book.color-theme-1 .beo-scope {
  --beo-bg: #f6f0df; --beo-surface: #fcf8ec; --beo-ink: #433829;
  --beo-muted: #675a45; --beo-line: #d8cfba; --beo-included: #d9e7dc;
  --beo-warning-bg: #f5e7cc;
}
.book.color-theme-2 .beo-scope {
  --beo-bg: #202d36; --beo-surface: #273842; --beo-ink: #e0edf3;
  --beo-muted: #b5c8d2; --beo-line: #516673; --beo-export: #79cfda;
  --beo-included: #2b515c; --beo-warning: #f3ba87; --beo-warning-bg: #493c2e;
}
.beo-visual { color: var(--beo-ink); font-size: 15px; line-height: 1.5; container-type: inline-size; container-name: block-export-overview; }
.beo-visual * { box-sizing: border-box; }
.beo-visual [hidden] { display: none !important; }
.beo-visual h4 { color: var(--beo-ink); margin: 0 0 12px; font-size: 17px; line-height: 1.4; }
.beo-visual p { margin: 0; }
.beo-visual figure { margin: 0; min-width: 0; }
.beo-visual .beo-diagram { display: block; width: 100%; height: auto; aspect-ratio: 11 / 7; }
.beo-visual .beo-diagram path,
.beo-visual .beo-diagram rect { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.beo-visual .beo-sector-frame { fill: var(--beo-surface); stroke: var(--beo-ink); stroke-width: 1.1; }
.beo-visual .beo-sector { fill: var(--beo-included); stroke: var(--beo-ink); stroke-width: 1.1; }
.beo-visual .beo-section-trace { fill: none; stroke: var(--beo-export); stroke-width: 2; stroke-dasharray: 5 3; }
.beo-visual .beo-section-end { fill: var(--beo-surface); stroke: var(--beo-export); stroke-width: 1.5; }
.beo-visual .beo-art-frame { fill: var(--beo-surface); stroke: var(--beo-ink); stroke-width: 1.2; }
.beo-visual .beo-art-edge { fill: none; stroke: var(--beo-ink); stroke-width: 1.2; }
.beo-visual .beo-art-rule { fill: none; stroke: var(--beo-line); stroke-width: 1; }
.beo-visual .beo-art-warning { fill: var(--beo-warning-bg); stroke: var(--beo-warning); stroke-width: 1; }
.beo-visual .beo-art-accent { fill: var(--beo-included); stroke: var(--beo-export); stroke-width: 1.2; }
.beo-visual .beo-art-text { fill: var(--beo-ink); font-size: 20px; font-family: inherit; }
.beo-visual .beo-art-emphasis { font-size: 22px; font-weight: 600; }
.beo-visual figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; }
.beo-visual figcaption strong { display: block; font-weight: 600; }
.beo-visual figcaption span { display: block; color: var(--beo-muted); margin-top: 4px; font-size: 13px; }
.beo-visual .beo-topic { border-top: 1px solid var(--beo-line); margin-top: 20px; padding-top: 18px; }
.beo-visual .beo-topic:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.beo-visual .beo-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--beo-muted); font-size: 12px; }
.beo-visual .beo-sector-key { width: 13px; height: 11px; background: var(--beo-included); border: 1px solid var(--beo-line); }
.beo-visual .beo-trace-key { width: 18px; border-top: 2px dashed var(--beo-export); margin-left: 8px; }
.beo-visual .beo-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.beo-visual .beo-pair figure { display: grid; grid-template-columns: minmax(100px,40%) minmax(0,1fr); align-items: center; gap: 12px; }
.beo-visual .beo-pair figcaption { margin: 0; }
.beo-visual .beo-warning-label { color: var(--beo-warning); }
.beo-visual .beo-note { color: var(--beo-muted); font-size: 13px; margin-top: 9px; }
.beo-visual summary:focus-visible,
.beo-visual a:focus-visible { outline: 3px solid var(--beo-export); outline-offset: 3px; }
.beo-visual .beo-question { border: 0; border-top: 1px solid var(--beo-line); border-radius: 0; background: transparent; padding: 0; margin: 0; }
.beo-visual .beo-question:first-of-type { border-top: 0; }
.beo-visual .beo-question > summary { display: grid; grid-template-columns: 116px minmax(0,1fr) 12px; align-items: center; gap: 18px; padding: 16px 0; list-style: none; font-size: 14px; cursor: pointer; font-weight: 400; }
.beo-visual .beo-answer-diagram { aspect-ratio: 16 / 11; }
.beo-visual .beo-question-copy { min-width: 0; }
.beo-visual .beo-question-copy strong { display: block; font-weight: 600; }
.beo-visual .beo-question-copy > span { display: block; margin-top: 3px; color: var(--beo-muted); font-size: 13px; }
.beo-visual .beo-question > summary::-webkit-details-marker { display: none; }
.beo-visual .beo-question > summary::after { content: '+'; font-size: 20px; color: var(--beo-muted); }
.beo-visual .beo-question[open] > summary::after { content: '−'; }
.beo-visual .beo-answer { padding: 0 0 15px 134px; font-size: 14px; }
.beo-visual .beo-answer p + p { margin-top: 10px; }
.beo-visual .beo-warning-figure { margin-top: 12px; max-width: 560px; }
.beo-visual .beo-warning-figure img { width: 100%; height: auto; display: block; margin: 0; border: 1px solid var(--beo-line); border-radius: 7px; }
.beo-visual .beo-warning-figure figcaption { color: var(--beo-muted); font-size: 12px; }
@media (max-width: 620px) {
  .beo-visual .beo-pair { gap: 12px; }
  .beo-visual .beo-pair figure { display: block; }
  .beo-visual .beo-pair figcaption { margin-top: 5px; }
  .beo-visual .beo-question > summary { grid-template-columns: 92px minmax(0,1fr) 12px; gap: 12px; }
  .beo-visual .beo-answer { padding-left: 0; }
}
/* A visible book sidebar can make the content narrow on a wide window too. */
@container block-export-overview (max-width: 480px) {
  .beo-visual .beo-pair { gap: 12px; }
  .beo-visual .beo-pair figure { display: block; }
  .beo-visual .beo-pair figcaption { margin-top: 5px; }
  .beo-visual .beo-question > summary { grid-template-columns: 92px minmax(0,1fr) 12px; gap: 12px; }
  .beo-visual .beo-answer { padding-left: 0; }
}
@container block-export-overview (max-width: 240px) {
  .beo-visual .beo-question > summary { grid-template-columns: minmax(0,1fr) 12px; gap: 8px 12px; }
  .beo-visual .beo-answer-diagram { grid-column: 1 / -1; width: 116px; max-width: 100%; }
  .beo-visual .beo-question-copy { grid-column: 1; }
}
@media (pointer: coarse) {
  .beo-visual .beo-question > summary { min-height: 44px; }
}
