.ls3-latex-editor, .ls3-latex-preview { display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0; overflow: hidden; }
.library-workbench-stage.is-latex { display: block; }
.library-workbench-stage > .latex-library-preview { position: absolute; inset: 0; }
.latex-library-preview { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; min-width: 0; overflow: hidden; text-align: left; }
.latex-library-content { display: flex; flex: 1 1 0; height: auto; min-height: 0; min-width: 0; overflow: hidden; }
.latex-library-caption { display: flex; flex: 0 0 1.75rem; align-items: center; padding: 0 .7rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-top: var(--app-border-width, 1px) solid var(--border-light); background: var(--bg-secondary); color: var(--text-tertiary); font: .625rem/1 var(--font-body); }
.latex-library-content > textarea { width: 100%; height: 100%; resize: none; border: 0; padding: 1rem; background: var(--code-editor-background); color: var(--code-editor-foreground); font: var(--code-editor-size)/var(--code-editor-line-height) var(--code-editor-font); }
.latex-library-preview [hidden] { display: none !important; }
.library-hover-preview-stage.is-latex { display: block; height: 210px; min-height: 210px; }
.latex-library-preview.is-compact .latex-pdf-toolbar { display: none; }
.latex-library-preview.is-compact .latex-library-caption { flex-basis: 1.4rem; font-size: .6rem; }
.latex-library-preview.is-compact .ls3-p5-codemirror.CodeMirror { font-size: 11px; }
.ls3-latex-editor .ls3-p5-editor-body { flex: 1; min-height: 0; }
.ls3-latex-editor #ls3LatexSource { width: 100%; height: 100%; resize: none; border: 0; padding: 1rem; background: var(--code-editor-background); color: var(--code-editor-foreground); font: var(--code-editor-size)/var(--code-editor-line-height) var(--code-editor-font); }
.ls3-latex-workspace-header { display: flex; flex: 0 0 auto; justify-content: space-between; border-bottom: 0; }
.ls3-latex-workspace-header .ls3-p5-workspace-identity { flex: 1; }
.ls3-latex-workspace-header .ls3-p5-workspace-actions:empty { display: none; }
.latex-build-bar { display: flex; align-items: center; gap: .125rem; translate: 0 var(--workspace-header-content-shift); }
.latex-build-bar [data-lesson-post-slot="latex"] { display: flex; align-items: center; }
.latex-project-bar { position: relative; z-index: 5; display: flex; flex: 0 0 2.5rem; align-items: center; gap: .125rem; padding: 0 .75rem; border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.latex-project-bar label { display: flex; flex: 1; align-items: center; gap: .5rem; min-width: 0; color: var(--text-secondary); }
.latex-project-bar label > svg { flex-shrink: 0; }
.latex-project-bar select { width: 100%; }
.latex-build-bar button:not(.latex-icon-button), .latex-project-bar select, .latex-popover select, .latex-new-file button, .latex-new-file input { min-height: 1.9rem; min-width: 0; border: 1px solid transparent; border-radius: calc(.4rem * var(--ls-r, 1)); padding: .25rem .5rem; background: transparent; color: var(--text-primary); font: .75rem/1.4 var(--font-body); }
.latex-build-bar > [data-latex-action="compile"] { color: var(--color-accent); font-weight: 600; }
.latex-disclosure { position: relative; }
.latex-disclosure > summary { list-style: none; }
.latex-disclosure > summary::-webkit-details-marker { display: none; }
.latex-build-bar button:not(.latex-icon-button):hover:not(:disabled), .latex-project-bar select:hover, .latex-new-file button:hover { background: var(--bg-hover); }
.ls3-latex-preview :is(button, summary, select, input):not(.latex-icon-button):focus-visible, .ls3-latex-editor :is(button, summary, select, input):not(.latex-icon-button):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.latex-build-bar button:not(.latex-icon-button):disabled { opacity: .38; cursor: default; }
.latex-popover { position: absolute; z-index: 20; top: calc(100% + .4rem); right: 0; width: 13rem; max-width: calc(100vw - 3rem); max-height: min(70vh, 30rem); overflow: auto; padding: .5rem; border: 1px solid var(--border); border-radius: calc(.75rem * var(--ls-r, 1)); background: var(--bg-primary); box-shadow: 0 8px 28px #0002; }
.latex-popover-heading { display: block; padding: .4rem .5rem .55rem; color: var(--text-secondary); font: 600 .7rem/1.4 var(--font-body); }
.latex-popover button { display: block; width: 100%; padding: .45rem .5rem; border: 0; border-radius: .35rem; background: transparent; color: var(--text-primary); text-align: left; font: .75rem/1.4 var(--font-body); cursor: pointer; }
.latex-popover button:hover { background: var(--bg-hover); }
.latex-popover hr { margin: .4rem 0; border: 0; border-top: 1px solid var(--border); }
.latex-settings { width: 16rem; }
.latex-settings label { display: flex; flex-direction: column; gap: .3rem; margin: .4rem .5rem .8rem; color: var(--text-secondary); font: .72rem/1.4 var(--font-body); }
.latex-settings select { width: 100%; border-color: var(--border); background: var(--bg-secondary); }
.latex-settings p { margin: .5rem; color: var(--text-secondary); font: .75rem/1.5 var(--font-body); }
.latex-new-file { display: flex; flex-shrink: 0; align-items: center; gap: .35rem; padding: .5rem .75rem; border-bottom: 1px solid var(--border); }
.latex-new-file input { flex: 1; width: 0; border-color: var(--border); }
.latex-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; color: var(--text-secondary); }
.latex-empty-mark { display: block; width: 2rem; height: 2rem; margin-bottom: .8rem; color: var(--color-accent); }
.latex-empty-mark > svg { width: 100%; height: 100%; opacity: .65; }
.latex-empty h2 { margin: 0 0 .5rem; color: var(--text-primary); font: 600 .9rem/1.5 var(--font-body); }
.latex-empty p { max-width: 18rem; margin: 0; font: .8rem/1.7 var(--font-body); }
.latex-pdf { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; min-width: 0; width: 100%; background: var(--bg-secondary); }
.latex-lesson-preview { display: flex !important; width: 100%; height: 100%; }
.latex-lesson-preview > .latex-pdf { pointer-events: auto; }
.lesson-editor-pages.is-reordering .latex-lesson-preview > .latex-pdf { pointer-events: none; }
.latex-lesson-caption { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .25rem .5rem; border-radius: .5rem; background: var(--bg-secondary); color: var(--text-secondary); font: .7rem/1.4 var(--font-body); box-shadow: 0 2px 8px #0002; }
.latex-pdf-toolbar { display: flex; flex: 0 0 2.5rem; align-items: center; justify-content: center; gap: .125rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); font: .72rem/1.4 var(--font-body); }
.latex-pdf-toolbar button:not(.latex-icon-button), .latex-pdf-toolbar input { box-sizing: border-box; height: var(--workspace-header-control-size); color: var(--text-secondary); background: transparent; border: 1px solid transparent; border-radius: calc(.375rem * var(--ls-r, 1)); padding: .2rem .4rem; font: inherit; }
.latex-pdf-toolbar button:not(.latex-icon-button) { cursor: pointer; }
.latex-pdf-toolbar button:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-primary); }
.latex-pdf-toolbar button:disabled { opacity: .38; cursor: default; }
.latex-pdf-toolbar input { width: 2.5rem; text-align: center; appearance: textfield; }
.latex-pdf-toolbar input::-webkit-inner-spin-button { appearance: none; }
.latex-pdf-toolbar input:hover, .latex-pdf-toolbar input:focus { border-color: var(--border); }
.latex-pdf-pages { flex: 1; min-height: 0; overflow: auto; padding: 1rem; background: color-mix(in srgb, var(--text-secondary) 5%, var(--bg-secondary)); }
.latex-pdf-sheet { position: relative; margin: 0 auto; background: white; box-shadow: 0 2px 10px #0002; }
.latex-pdf-sheet canvas { display: block; }
.latex-pdf-text { position: absolute; inset: 0; overflow: hidden; line-height: 1; text-align: initial; text-size-adjust: none; forced-color-adjust: none; transform-origin: 0 0; }
.latex-pdf-text :is(span, br) { position: absolute; color: transparent; white-space: pre; cursor: text; transform-origin: 0 0; }
.latex-pdf-text ::selection { background: #5078ff55; }
.ls3-latex-editor .ls3-p5-editor-status, .latex-build-output { box-sizing: border-box; height: 1.75rem; min-height: 1.75rem; flex: 0 0 1.75rem; padding: 0 .7rem; border-top: var(--app-border-width, 1px) solid var(--border-light); }
.latex-build-output { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--text-tertiary); background: color-mix(in srgb, var(--bg-secondary) 94%, var(--color-accent) 6%); font: .625rem/1 var(--font-body); }
.latex-build-output p { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.latex-build-output details { flex-shrink: 0; }
.latex-build-output summary { cursor: pointer; }
.latex-build-output pre { position: absolute; z-index: 6; bottom: 100%; inset-inline: 0; max-height: 35vh; margin: 0; padding: 1rem; overflow: auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); box-shadow: 0 -6px 20px #0001; white-space: pre-wrap; overflow-wrap: anywhere; font: .72rem/1.6 var(--code-editor-font); }
.ls3-latex-editor [hidden], .ls3-latex-preview [hidden] { display: none !important; }

/* Keep both workspaces on the shared single-height header line. */
.ls3-latex-workspace-header { height: var(--workspace-header-height); min-height: var(--workspace-header-height); box-sizing: border-box; }
.ai-pane-header.has-latex-files > .ai-pane-identity { display: none; }
.ai-pane-header > .latex-project-bar { flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; }
.latex-project-bar label { overflow: hidden; }
.latex-project-bar .latex-disclosure { flex-shrink: 0; }
.latex-project-bar .latex-popover { right: 0; }
.latex-project-bar [hidden], .latex-project-bar[hidden] { display: none !important; }
.latex-project-bar :is(button, summary, select):not(.latex-icon-button):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.ls3-latex-editor { position: relative; }
.latex-new-file { position: absolute; inset: 0 0 auto; z-index: 6; background: var(--bg-secondary); box-shadow: 0 4px 12px #0001; }
/* Navigation belongs to the document, not another header row. Leave room at
   the end of the scroll area so the floating dock never hides the final line. */
.latex-pdf { position: relative; }
.latex-pdf-toolbar { position: absolute; z-index: 3; bottom: .75rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.5rem); flex-wrap: wrap; padding: .3rem .45rem; border: 1px solid var(--border); border-radius: calc(.75rem * var(--ls-r, 1)); background: var(--bg-secondary); box-shadow: 0 3px 16px #0002; }
.latex-pdf-pages { padding-bottom: 4rem; scroll-padding-bottom: 4rem; }

.latex-ask-selection, .latex-ai-placement button, .latex-ai-actions button, .latex-ai-code-label button { border: 0; border-radius: calc(.4rem * var(--ls-r, 1)); padding: .35rem .5rem; background: var(--bg-tertiary); color: var(--text-secondary); font: .7rem/1.4 var(--font-body); cursor: pointer; }
.latex-ask-selection { flex-shrink: 0; color: var(--color-accent); background: transparent; padding-inline: .25rem; }
.latex-ask-selection:hover, .latex-ai-placement button:hover, .latex-ai-actions button:hover, .latex-ai-code-label button:hover { background: var(--bg-hover); }
.latex-ai-target button:focus-visible, .latex-ask-selection:focus-visible, .latex-ai-placement button:focus-visible, .latex-ai-proposal button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.latex-ai-target[hidden], .latex-ask-selection[hidden] { display: none; }
/* The selection tucks behind the prompt, like a page tab. Keep the same inset
   and seam for both the Classic and Slim composer arrangements. */
.latex-ai-target { position: relative; width: calc(100% - 1.5rem); max-width: calc(var(--ai-chat-content-width) - 1.5rem); min-width: 0; box-sizing: border-box; margin: 0 auto -.65rem; padding-bottom: .65rem; overflow: hidden; border: var(--app-border-width, 1px) solid var(--border); border-bottom: 0; border-radius: calc(.9rem * var(--ls-r, 1)) calc(.9rem * var(--ls-r, 1)) 0 0; background: color-mix(in srgb, var(--ai-input-bg, var(--input-bg)) 60%, var(--bg-tertiary)); color: var(--text-secondary); }
[data-theme="dark"] .latex-ai-target { background: color-mix(in srgb, var(--ai-input-bg, var(--input-bg)) 93%, white); }
.ai-chat-composer-area:has(> .latex-ai-target:not([hidden])) > .ai-chat-composer { z-index: 1; }
.latex-selection-header { display: grid; grid-template-columns: minmax(0, 1fr) 2rem; align-items: center; gap: .125rem; padding: .25rem .35rem .25rem .4rem; }
.latex-ai-target button { border: 0; border-radius: calc(.4rem * var(--ls-r, 1)); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.latex-ai-target [data-latex-target] { display: flex; align-items: center; gap: .5rem; min-width: 0; min-height: 2rem; padding: .3rem .35rem; text-align: left; font: .8rem/1.5 var(--font-body); }
.latex-ai-target [data-latex-excerpt] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-primary); }
.latex-selection-chevron { display: inline-flex; flex-shrink: 0; color: var(--text-tertiary); transition: transform var(--transition-fast); }
.latex-ai-target.is-expanded .latex-selection-chevron { transform: rotate(180deg); }
.latex-ai-target [data-latex-clear-target] { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; color: var(--text-tertiary); }
.latex-ai-target [data-latex-target]:hover, .latex-ai-target [data-latex-clear-target]:hover { background: color-mix(in srgb, var(--text-secondary) 8%, transparent); }
.latex-ai-target [data-latex-clear-target]:hover { color: var(--text-primary); }
.latex-ai-target [data-latex-selection-panel][hidden] { display: none; }
.latex-ai-target [data-latex-selection-scroll] { max-height: min(17rem, 32dvh); min-height: 0; margin: 0 .75rem; padding: .35rem .65rem .5rem .15rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--scrollbar-hover) transparent; background: transparent; color: var(--code-editor-foreground); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; font: .75rem/1.65 var(--code-editor-font); }
.latex-ai-target [data-latex-selection-code] { padding: 0; border: 0; background: transparent; font: inherit; white-space: inherit; overflow-wrap: inherit; }
.latex-ai-target [data-latex-selection-scroll]:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; border-radius: .25rem; }
.latex-selection-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .75rem .5rem .9rem; color: var(--text-tertiary); font: .625rem/1.4 var(--font-body); }
.latex-selection-footer [data-latex-selection-meta] { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.latex-ai-target [data-latex-show-selection] { display: inline-flex; flex-shrink: 0; align-items: center; gap: .25rem; padding: .2rem .15rem; font: inherit; }
.latex-ai-target [data-latex-show-selection]:hover { color: var(--color-accent); }
@media (prefers-reduced-motion: reduce) { .latex-selection-chevron { transition: none; } }
.latex-ai-proposal { margin-top: .75rem; min-width: 0; }
.latex-ai-code { overflow: hidden; margin: .5rem 0; border: 1px solid var(--border); border-radius: calc(.5rem * var(--ls-r, 1)); }
.latex-ai-code-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .3rem .5rem; color: var(--text-secondary); background: var(--bg-tertiary); font: .7rem/1.4 var(--font-body); }
.latex-ai-code-label span { min-width: 0; overflow-wrap: anywhere; }
.latex-ai-code-label button { background: transparent; }
.latex-ai-proposal .latex-ai-code pre { max-height: 22rem; margin: 0; padding: .7rem; overflow: auto; background: var(--code-editor-background); color: var(--code-editor-foreground); white-space: pre; }
.latex-ai-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.latex-ai-actions .is-primary { color: var(--color-accent); font-weight: 600; }
.latex-ai-caption, .latex-ai-conflict { color: var(--text-secondary); font: .72rem/1.5 var(--font-body); }
.latex-ai-placement { position: absolute; z-index: 7; bottom: 2.1rem; left: .5rem; right: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .5rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--bg-secondary); box-shadow: 0 4px 16px #0002; font: .75rem/1.5 var(--font-body); }
.latex-ai-placement span { flex: 1 1 10rem; color: var(--text-secondary); }

.latex-ai-delivery { display: grid; flex-shrink: 0; place-items: center; width: 1.75rem; height: 1.75rem; margin-right: auto; padding: 0; border: 0; border-radius: calc(.375rem * var(--ls-r, 1)); background: transparent; color: var(--text-secondary); cursor: pointer; }
.latex-ai-delivery:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-primary); }
.latex-ai-delivery:disabled { opacity: .5; cursor: default; }
.latex-ai-delivery:focus-visible, .latex-ai-stop:focus-visible, [data-latex-fix-build]:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.ai-chat-composer-controls:has(.latex-ai-delivery) .ai-composer-tools { margin-right: 0; }
html[data-ai-input-style="slim"] .ai-chat-composer:has(.latex-ai-delivery) { grid-template-columns: 1.75rem minmax(3rem, 1fr) auto minmax(0, auto) 1.75rem; }
html[data-ai-input-style="slim"] .latex-ai-delivery { grid-column: 3; grid-row: 1; margin: 0; }
html[data-ai-input-style="slim"] .ai-chat-composer:has(.latex-ai-delivery) .ai-model-picker { grid-column: 4; }
html[data-ai-input-style="slim"] .ai-chat-composer:has(.latex-ai-delivery) .ai-chat-send { grid-column: 5; }
.latex-ai-stop { position: absolute; z-index: 9; bottom: 2.25rem; right: .75rem; padding: .35rem .6rem; border: 1px solid var(--border); border-radius: .45rem; background: var(--bg-secondary); color: var(--color-accent); box-shadow: 0 2px 10px #0002; font: .72rem/1.4 var(--font-body); cursor: pointer; }
.latex-build-output [data-latex-fix-build] { flex-shrink: 0; padding: .2rem .35rem; border: 0; border-radius: .3rem; background: transparent; color: var(--color-accent); font: inherit; cursor: pointer; }
.latex-build-output [data-latex-fix-build]:hover, .latex-ai-stop:hover { background: var(--bg-hover); }
.latex-build-output [data-latex-fix-build]:disabled { opacity: .45; cursor: default; }
.ls3-latex-editor .is-latex-ai-target { background: color-mix(in srgb, var(--color-accent) 12%, transparent); box-shadow: inset 3px 0 var(--color-accent); }

.latex-pdf-toolbar [data-pdf-action="magnify"][aria-pressed="true"] { color: var(--color-accent); background: var(--bg-hover); }
.latex-pdf.is-magnifying .latex-pdf-pages, .latex-pdf.is-magnifying .latex-pdf-text :is(span, br) { cursor: crosshair; }
.latex-pdf-loupe { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; border: 3px solid var(--bg-secondary); border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--color-accent), 0 8px 30px #0004, 0 2px 8px #0002; }
.latex-pdf-loupe canvas { display: block; width: 100%; height: 100%; }
.latex-pdf-loupe span { position: absolute; bottom: .55rem; left: 50%; transform: translateX(-50%); padding: .1rem .45rem; border-radius: 1rem; background: var(--bg-secondary); color: var(--text-secondary); font: 600 .6rem/1.5 var(--font-body); box-shadow: 0 1px 5px #0002; }
.latex-pdf-sync-target { position: absolute; z-index: 1; pointer-events: none; box-sizing: border-box; border: 2px solid #3276d9; border-radius: 3px; background: #3276d92b; box-shadow: 0 0 0 3px #3276d91a; }
.ls3-latex-editor .is-latex-sync-target { background: color-mix(in srgb, var(--color-accent) 20%, transparent); box-shadow: inset 3px 0 var(--color-accent); }
.latex-pdf.is-choosing-source .latex-pdf-pages, .latex-pdf.is-choosing-source .latex-pdf-text :is(span, br) { cursor: crosshair; }
.latex-pdf-toolbar [data-pdf-action="source"][aria-pressed="true"] { color: var(--color-accent); background: var(--bg-hover); }
.latex-pdf-stale { position: absolute; z-index: 2; top: .6rem; left: .75rem; display: flex; align-items: center; gap: .5rem; padding: .3rem .5rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--bg-secondary); box-shadow: 0 2px 10px #0002; color: var(--text-secondary); font: .7rem/1.4 var(--font-body); }
.latex-pdf-stale button { padding: .2rem .4rem; border: 0; border-radius: .3rem; background: var(--bg-hover); color: var(--color-accent); font: inherit; cursor: pointer; }

/* Every TeX glyph uses the same Lucide 24-unit geometry, 2-unit stroke and
   rendered size. Keep hit areas independent of the size of their icons. */
:root { --latex-icon-size: 1rem; }
:is(.ls3-latex-editor, .ls3-latex-preview, .latex-library-preview, .latex-project-bar, .latex-ai-target) svg.lucide,
.ai-pane-header.has-latex-files .ls3-p5-find svg.lucide {
  display: block; width: var(--latex-icon-size); height: var(--latex-icon-size); flex: 0 0 var(--latex-icon-size);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.house-select-popover[data-icon-set="latex"] svg.lucide { display: block; width: var(--latex-icon-size); height: var(--latex-icon-size); stroke-width: 2; }
.ai-pane:has(.latex-project-bar) .ai-chat-composer svg { width: var(--latex-icon-size); height: var(--latex-icon-size); flex: 0 0 var(--latex-icon-size); stroke-width: 2; }
.latex-empty-mark { width: var(--latex-icon-size); height: var(--latex-icon-size); }
.latex-select-control { position: relative; display: block; flex: 1; width: 100%; min-width: 0; }
.latex-select-control select { appearance: none; padding-inline-end: calc(var(--latex-icon-size) + .7rem); }
/* House Select supplies its own background chevron; the visible Lucide SVG
   replaces that image while retaining the app-owned menu and keyboard input. */
:root .latex-select-control select.house-select-control { background-image: none !important; }
.latex-select-control > svg.lucide { position: absolute; top: 50%; right: .35rem; transform: translateY(-50%); pointer-events: none; }
.latex-build-output summary { display: flex; align-items: center; gap: .25rem; list-style: none; }
.latex-build-output summary::-webkit-details-marker { display: none; }
.latex-build-output details[open] > summary svg { transform: rotate(90deg); }
