.ͼ1.cm-focused { outline: rgb(33, 33, 33) dotted 1px; }
.ͼ1 { box-sizing: border-box; flex-direction: column; position: relative !important; display: flex !important; }
.ͼ1 .cm-scroller { font-family: monospace; line-height: 1.4; height: 100%; overflow-x: auto; position: relative; z-index: 0; overflow-anchor: none; display: flex !important; align-items: flex-start !important; }
.ͼ1 .cm-content[contenteditable="true"] { -webkit-user-modify: read-write-plaintext-only; }
.ͼ1 .cm-content { margin: 0px; flex-grow: 2; flex-shrink: 0; display: block; white-space: pre; overflow-wrap: normal; box-sizing: border-box; min-height: 100%; padding: 4px 0px; outline: none; }
.ͼ1 .cm-lineWrapping { white-space: break-spaces; word-break: break-word; overflow-wrap: anywhere; flex-shrink: 1; }
.ͼ2 .cm-content { caret-color: black; }
.ͼ3 .cm-content { caret-color: white; }
.ͼ1 .cm-line { display: block; padding: 0px 2px 0px 6px; }
.ͼ1 .cm-layer > * { position: absolute; }
.ͼ1 .cm-layer { user-select: none; position: absolute; left: 0px; top: 0px; contain: size style; }
.ͼ2 .cm-selectionBackground { background: rgb(217, 217, 217); }
.ͼ3 .cm-selectionBackground { background: rgb(34, 34, 34); }
.ͼ2.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground { background: rgb(215, 212, 240); }
.ͼ3.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground { background: rgb(34, 51, 51); }
.ͼ1 .cm-cursorLayer { pointer-events: none; }
.ͼ1.cm-focused > .cm-scroller > .cm-cursorLayer { animation: 1.2s steps(1) 0s infinite normal none running cm-blink; }
@keyframes cm-blink {
  50% { opacity: 0; }
}
@keyframes cm-blink2 {
  50% { opacity: 0; }
}
.ͼ1 .cm-cursor, .ͼ1 .cm-dropCursor { border-left: 1.2px solid black; margin-left: -0.6px; pointer-events: none; }
.ͼ1 .cm-cursor { display: none; }
.ͼ3 .cm-cursor { border-left-color: rgb(221, 221, 221); }
.ͼ1 .cm-selectionHandle { background-color: currentcolor; width: 1.5px; }
.ͼ1 .cm-selectionHandle-start::before, .ͼ1 .cm-selectionHandle-end::before { content: ""; background-color: inherit; border-radius: 50%; width: 8px; height: 8px; position: absolute; left: -3.25px; }
.ͼ1 .cm-selectionHandle-start::before { top: -8px; }
.ͼ1 .cm-selectionHandle-end::before { bottom: -8px; }
.ͼ1 .cm-dropCursor { position: absolute; }
.ͼ1.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor { display: block; }
.ͼ1 .cm-iso { unicode-bidi: isolate; }
.ͼ1 .cm-announced { position: fixed; top: -10000px; }
@media print {
  .ͼ1 .cm-announced { display: none; }
}
.ͼ2 .cm-activeLine { background-color: rgba(204, 238, 255, 0.267); }
.ͼ3 .cm-activeLine { background-color: rgba(153, 238, 255, 0.2); }
.ͼ2 .cm-specialChar { color: red; }
.ͼ3 .cm-specialChar { color: rgb(255, 119, 136); }
.ͼ1 .cm-gutters { flex-shrink: 0; display: flex; height: 100%; box-sizing: border-box; z-index: 200; }
.ͼ1 .cm-gutters-before { inset-inline-start: 0px; }
.ͼ1 .cm-gutters-after { inset-inline-end: 0px; }
.ͼ2 .cm-gutters.cm-gutters-before { border-right-width: 1px; }
.ͼ2 .cm-gutters.cm-gutters-after { border-left-width: 1px; }
.ͼ2 .cm-gutters { background-color: rgb(245, 245, 245); color: rgb(108, 108, 108); border: 0px solid rgb(221, 221, 221); }
.ͼ3 .cm-gutters { background-color: rgb(51, 51, 56); color: rgb(204, 204, 204); }
.ͼ1 .cm-gutter { flex-direction: column; flex-shrink: 0; box-sizing: border-box; min-height: 100%; overflow: hidden; display: flex !important; }
.ͼ1 .cm-gutterElement { box-sizing: border-box; }
.ͼ1 .cm-lineNumbers .cm-gutterElement { padding: 0px 3px 0px 5px; min-width: 20px; text-align: right; white-space: nowrap; }
.ͼ2 .cm-activeLineGutter { background-color: rgb(226, 242, 255); }
.ͼ3 .cm-activeLineGutter { background-color: rgb(34, 34, 39); }
.ͼ1 .cm-panels { box-sizing: border-box; position: sticky; left: 0px; right: 0px; z-index: 300; }
.ͼ2 .cm-panels { background-color: rgb(245, 245, 245); color: black; }
.ͼ1 .cm-panels-top { top: 0px; }
.ͼ1 .cm-panels-bottom { bottom: 0px; }
.ͼ2 .cm-panels-top { border-bottom: 1px solid rgb(221, 221, 221); }
.ͼ2 .cm-panels-bottom { border-top: 1px solid rgb(221, 221, 221); }
.ͼ3 .cm-panels { background-color: rgb(51, 51, 56); color: white; }
.ͼ1 .cm-dialog label { font-size: 80%; }
.ͼ1 .cm-dialog { padding: 2px 19px 4px 6px; position: relative; }
.ͼ1 .cm-dialog-close { position: absolute; top: 3px; right: 4px; background-color: inherit; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 14px; padding: 0px; }
.ͼ1 .cm-tab { display: inline-block; overflow: hidden; vertical-align: bottom; }
.ͼ1 .cm-widgetBuffer { vertical-align: text-top; height: 1em; width: 0px; display: inline; }
.ͼ1 .cm-placeholder { color: rgb(136, 136, 136); display: inline-block; vertical-align: top; user-select: none; }
.ͼ1 .cm-highlightSpace { background: radial-gradient(circle at 50% 55%, rgb(170, 170, 170) 20%, transparent 0px) min(50%, 0px) center / 0.4em auto no-repeat; }
.ͼ1 .cm-highlightTab { background-image: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"200\" height=\"20\"><path stroke=\"%23888\" stroke-width=\"1\" fill=\"none\" d=\"M1 10H196L190 5M190 15L196 10M197 4L197 16\"/></svg>"); background-size: auto 100%; background-position: right 90%; background-repeat: no-repeat; }
.ͼ1 .cm-trailingSpace { background-color: rgba(255, 51, 34, 0.333); }
.ͼ1 .cm-button { vertical-align: middle; color: inherit; font-size: 70%; padding: 0.2em 1em; border-radius: 1px; }
.ͼ2 .cm-button:active { background-image: linear-gradient(rgb(180, 180, 180), rgb(208, 211, 214)); }
.ͼ2 .cm-button { background-image: linear-gradient(rgb(239, 241, 245), rgb(217, 217, 223)); border: 1px solid rgb(136, 136, 136); }
.ͼ3 .cm-button:active { background-image: linear-gradient(rgb(17, 17, 17), rgb(51, 51, 51)); }
.ͼ3 .cm-button { background-image: linear-gradient(rgb(57, 57, 57), rgb(17, 17, 17)); border: 1px solid rgb(136, 136, 136); }
.ͼ1 .cm-textfield { vertical-align: middle; color: inherit; font-size: 70%; border: 1px solid silver; padding: 0.2em 0.5em; }
.ͼ2 .cm-textfield { background-color: white; }
.ͼ3 .cm-textfield { border: 1px solid rgb(85, 85, 85); background-color: inherit; }
.ͼ1 .cm-sticky-anchor { position: sticky; top: 0px; height: 0px; z-index: 5; }
.ͼ1 .cm-sticky-scope { position: absolute; left: 0px; right: 0px; top: 0px; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--border); }
.ͼ1 .cm-sticky-row { display: flex; white-space: pre; cursor: pointer; overflow: hidden; }
.ͼ1 .cm-sticky-row:hover { background: var(--bg-raised); }
.ͼ1 .cm-sticky-number { flex: 0 0 auto; text-align: right; color: var(--text-faint); box-sizing: border-box; }
.ͼ1 .cm-sticky-text { min-width: 0px; overflow: hidden; text-overflow: ellipsis; tab-size: var(--tab-size, 2); }
.ͼ1 .cm-tooltip.cm-tooltip-autocomplete > ul > li, .ͼ1 .cm-tooltip.cm-tooltip-autocomplete > ul > completion-section { padding: 1px 3px; line-height: 1.2; }
.ͼ1 .cm-tooltip.cm-tooltip-autocomplete > ul > li { overflow-x: hidden; text-overflow: ellipsis; cursor: pointer; }
.ͼ1 .cm-tooltip.cm-tooltip-autocomplete > ul > completion-section { display: list-item; border-bottom: 1px solid silver; padding-left: 0.5em; opacity: 0.7; }
.ͼ1 .cm-tooltip.cm-tooltip-autocomplete > ul { font-family: monospace; white-space: nowrap; overflow: hidden auto; max-width: min(700px, 95vw); min-width: 250px; max-height: 10em; height: 100%; list-style: none; margin: 0px; padding: 0px; }
.ͼ2 .cm-tooltip-autocomplete ul li[aria-selected] { background: rgb(17, 119, 204); color: white; }
.ͼ2 .cm-tooltip-autocomplete-disabled ul li[aria-selected] { background: rgb(119, 119, 119); }
.ͼ3 .cm-tooltip-autocomplete ul li[aria-selected] { background: rgb(51, 68, 119); color: white; }
.ͼ3 .cm-tooltip-autocomplete-disabled ul li[aria-selected] { background: rgb(68, 68, 68); }
.ͼ1 .cm-completionListIncompleteTop::before, .ͼ1 .cm-completionListIncompleteBottom::after { content: "···"; opacity: 0.5; display: block; text-align: center; cursor: pointer; }
.ͼ1 .cm-tooltip.cm-completionInfo { position: absolute; padding: 3px 9px; width: max-content; max-width: 400px; box-sizing: border-box; white-space: pre-line; }
.ͼ1 .cm-completionInfo.cm-completionInfo-left { right: 100%; }
.ͼ1 .cm-completionInfo.cm-completionInfo-right { left: 100%; }
.ͼ1 .cm-completionInfo.cm-completionInfo-left-narrow { right: 30px; }
.ͼ1 .cm-completionInfo.cm-completionInfo-right-narrow { left: 30px; }
.ͼ2 .cm-snippetField { background-color: rgba(0, 0, 0, 0.133); }
.ͼ3 .cm-snippetField { background-color: rgba(255, 255, 255, 0.133); }
.ͼ1 .cm-snippetFieldPosition { vertical-align: text-top; width: 0px; height: 1.15em; display: inline-block; margin: 0px -0.7px -0.7em; border-left: 1.4px dotted rgb(136, 136, 136); }
.ͼ1 .cm-completionMatchedText { text-decoration: underline; }
.ͼ1 .cm-completionDetail { margin-left: 0.5em; font-style: italic; }
.ͼ1 .cm-completionIcon { font-size: 90%; width: 0.8em; display: inline-block; text-align: center; padding-right: 0.6em; opacity: 0.6; box-sizing: content-box; }
.ͼ1 .cm-completionIcon-function::after, .ͼ1 .cm-completionIcon-method::after { content: "ƒ"; }
.ͼ1 .cm-completionIcon-class::after { content: "○"; }
.ͼ1 .cm-completionIcon-interface::after { content: "◌"; }
.ͼ1 .cm-completionIcon-variable::after { content: "𝑥"; }
.ͼ1 .cm-completionIcon-constant::after { content: "𝐶"; }
.ͼ1 .cm-completionIcon-type::after { content: "𝑡"; }
.ͼ1 .cm-completionIcon-enum::after { content: "∪"; }
.ͼ1 .cm-completionIcon-property::after { content: "□"; }
.ͼ1 .cm-completionIcon-keyword::after { content: "🔑︎"; }
.ͼ1 .cm-completionIcon-namespace::after { content: "▢"; }
.ͼ1 .cm-completionIcon-text::after { content: "abc"; font-size: 50%; vertical-align: middle; }
.ͼ1 .cm-panel.cm-search [name="close"] { position: absolute; top: 0px; right: 4px; background-color: inherit; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; font: inherit; padding: 0px; margin: 0px; }
.ͼ1 .cm-panel.cm-search input, .ͼ1 .cm-panel.cm-search button, .ͼ1 .cm-panel.cm-search label { margin: 0.2em 0.6em 0.2em 0px; }
.ͼ1 .cm-panel.cm-search input[type="checkbox"] { margin-right: 0.2em; }
.ͼ1 .cm-panel.cm-search label { font-size: 80%; white-space: pre; }
.ͼ1 .cm-panel.cm-search { padding: 2px 6px 4px; position: relative; }
.ͼ2 .cm-searchMatch { background-color: rgba(255, 255, 0, 0.33); }
.ͼ3 .cm-searchMatch { background-color: rgba(0, 255, 255, 0.54); }
.ͼ2 .cm-searchMatch-selected { background-color: rgba(255, 106, 0, 0.33); }
.ͼ3 .cm-searchMatch-selected { background-color: rgba(255, 0, 255, 0.54); }
.ͼ1 .cm-selectionMatch { background-color: rgba(153, 255, 119, 0.5); }
.ͼ1 .cm-searchMatch .cm-selectionMatch { background-color: transparent; }
.ͼ2 { --indent-marker-bg-color: var(--border); --indent-marker-active-bg-color: var(--text-faint); }
.ͼ3 { --indent-marker-bg-color: var(--border); --indent-marker-active-bg-color: var(--text-faint); }
.ͼ1 .cm-line { position: relative; }
.ͼ1 .cm-indent-markers::before { content: ""; position: absolute; inset: 0px 0px 0px 2px; background: var(--indent-markers); pointer-events: none; z-index: -1; }
.ͼ1.cm-focused .cm-matchingBracket { background-color: rgba(50, 140, 130, 0.32); }
.ͼ1.cm-focused .cm-nonmatchingBracket { background-color: rgba(187, 85, 85, 0.267); }
.ͼ1 .cm-foldPlaceholder { background-color: rgb(238, 238, 238); border: 1px solid rgb(221, 221, 221); color: rgb(136, 136, 136); border-radius: 0.2em; margin: 0px 1px; padding: 0px 1px; cursor: pointer; }
.ͼ1 .cm-foldGutter span { padding: 0px 1px; cursor: pointer; }
.ͼ1 .cm-tooltip { z-index: 500; box-sizing: border-box; }
.ͼ2 .cm-tooltip { border: 1px solid rgb(187, 187, 187); background-color: rgb(245, 245, 245); }
.ͼ2 .cm-tooltip-section:not(:first-child) { border-top: 1px solid rgb(187, 187, 187); }
.ͼ3 .cm-tooltip { background-color: rgb(51, 51, 56); color: white; }
.ͼ1 .cm-tooltip-arrow::before, .ͼ1 .cm-tooltip-arrow::after { content: ""; position: absolute; width: 0px; height: 0px; border-left: 7px solid transparent; border-right: 7px solid transparent; }
.ͼ1 .cm-tooltip-above .cm-tooltip-arrow::before { border-top: 7px solid rgb(187, 187, 187); }
.ͼ1 .cm-tooltip-above .cm-tooltip-arrow::after { border-top: 7px solid rgb(245, 245, 245); bottom: 1px; }
.ͼ1 .cm-tooltip-above .cm-tooltip-arrow { bottom: -7px; }
.ͼ1 .cm-tooltip-below .cm-tooltip-arrow::before { border-bottom: 7px solid rgb(187, 187, 187); }
.ͼ1 .cm-tooltip-below .cm-tooltip-arrow::after { border-bottom: 7px solid rgb(245, 245, 245); top: 1px; }
.ͼ1 .cm-tooltip-below .cm-tooltip-arrow { top: -7px; }
.ͼ1 .cm-tooltip-arrow { height: 7px; width: 14px; position: absolute; z-index: -1; overflow: hidden; }
.ͼ3 .cm-tooltip .cm-tooltip-arrow::before { border-top-color: rgb(51, 51, 56); border-bottom-color: rgb(51, 51, 56); }
.ͼ3 .cm-tooltip .cm-tooltip-arrow::after { border-top-color: transparent; border-bottom-color: transparent; }
.ͼo .cm-foldGutter .cm-gutterElement { color: var(--text-faint); cursor: pointer; padding: 0px 2px; }
.ͼo .cm-foldPlaceholder { background: var(--bg-raised); border: 1px solid var(--border); color: var(--text-dim); padding: 0px 4px; border-radius: 3px; }
.ͼo.cm-focused .cm-matchingBracket { background: color-mix(in srgb, var(--accent) 22%, transparent); outline: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.ͼo.cm-focused .cm-nonmatchingBracket { background: color-mix(in srgb, var(--del) 30%, transparent); }
.ͼo .cm-selectionMatch { background: color-mix(in srgb, var(--accent) 26%, transparent); outline: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.ͼo .cm-searchMatch { background: color-mix(in srgb, var(--warn) 22%, transparent); outline: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); }
.ͼo .cm-searchMatch-selected { background: color-mix(in srgb, var(--warn) 45%, transparent); }
.ͼo .cm-panels { background: var(--bg-surface); color: var(--text); font-family: var(--font-ui); font-size: 12px; }
.ͼo .cm-panels-top { border-bottom: 1px solid var(--border); }
.ͼo .cm-panel.cm-search { padding: 6px 36px 6px 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.ͼo .cm-panel.cm-search br { flex-basis: 100%; content: ""; }
.ͼo .cm-panel.cm-search input.cm-textfield { width: 220px; min-height: 0px; margin: 0px; padding: 2px 6px; font-size: 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; }
.ͼo .cm-panel.cm-search input[type="checkbox"] { width: auto; min-height: 0px; margin: 0px 4px 0px 0px; padding: 0px; }
.ͼo .cm-panel.cm-search label { display: inline-flex; align-items: center; font-size: 12px; color: var(--text-dim); margin: 0px 4px; }
.ͼo .cm-panel.cm-search .cm-button { min-height: 0px; margin: 0px; padding: 1px 8px; font-size: 12px; background: var(--bg-raised); color: var(--text); border: 1px solid var(--border); border-radius: 3px; }
.ͼo .cm-panel.cm-search button[name="close"] { position: absolute; top: 6px; right: 8px; min-height: 0px; border: 0px; padding: 0px 4px; color: var(--text-dim); font-size: 16px; }
.ͼo .cm-tooltip.cm-tooltip-autocomplete { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; }
.ͼo .cm-tooltip-autocomplete ul li[aria-selected] { background: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--text); }
.ͼo .cm-tooltip.cm-tooltip-hover { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; color: var(--text); }
.ͼq { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-variant-ligatures: none; background: transparent; color: var(--code-text, var(--text)); }
.ͼq.cm-focused { outline: none; }
.ͼq .cm-scroller { font-family: inherit; line-height: inherit; }
.ͼq .cm-gutters { border: 0px; background: transparent; color: var(--text-faint); }
.ͼq .cm-lineNumbers .cm-gutterElement { min-width: 40px; padding: 0px 6px 0px 0px; font-variant-numeric: tabular-nums; }
.ͼq .cm-content { padding: 0px; caret-color: var(--text); }
.ͼq .cm-line { padding: 0px 0px 0px 2px; }
.ͼq .cm-activeLine { background: color-mix(in srgb, var(--text) 4%, transparent); }
.ͼq.cm-editor .cm-selectionBackground { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.ͼq.cm-editor.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground { background: color-mix(in srgb, var(--accent) 28%, transparent); }
.ͼq .cm-cursor { border-left-color: var(--text); }
.ͼq.nav-ready .cm-content { cursor: pointer; }
.ͼq .cm-tooltip { border: 0px; background: transparent; }
.ͼq .cm-note-gutter .cm-gutterElement { width: 18px; display: flex; }
.ͼ4 .cm-line ::selection, .ͼ4 .cm-line::selection { background-color: transparent !important; }
.ͼ4 .cm-line { caret-color: transparent !important; }
.ͼ4 .cm-content :focus::selection, .ͼ4 .cm-content :focus ::selection { background-color: highlight !important; }
.ͼ4 .cm-content :focus { caret-color: initial !important; }
.ͼ4 .cm-content { caret-color: transparent !important; }
.katex { font: 1.21em / 1.2 KaTeX_Main, "Times New Roman", serif; position: relative; text-indent: 0px; text-rendering: auto; }
.katex * { border-color: currentcolor; }
.katex .katex-version::after { content: "0.16.47"; }
.katex .katex-mathml { border: 0px; clip-path: inset(50%); height: 1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; }
.katex .katex-html > .newline { display: block; }
.katex .base { position: relative; white-space: nowrap; width: min-content; }
.katex .base, .katex .strut { display: inline-block; }
.katex .textbf { font-weight: 700; }
.katex .textit { font-style: italic; }
.katex .textrm { font-family: KaTeX_Main; }
.katex .textsf { font-family: KaTeX_SansSerif; }
.katex .texttt { font-family: KaTeX_Typewriter; }
.katex .mathnormal { font-family: KaTeX_Math; font-style: italic; }
.katex .mathit { font-family: KaTeX_Main; font-style: italic; }
.katex .mathrm { font-style: normal; }
.katex .mathbf { font-family: KaTeX_Main; font-weight: 700; }
.katex .boldsymbol { font-family: KaTeX_Math; font-style: italic; font-weight: 700; }
.katex .amsrm, .katex .mathbb, .katex .textbb { font-family: KaTeX_AMS; }
.katex .mathcal { font-family: KaTeX_Caligraphic; }
.katex .mathfrak, .katex .textfrak { font-family: KaTeX_Fraktur; }
.katex .mathboldfrak, .katex .textboldfrak { font-family: KaTeX_Fraktur; font-weight: 700; }
.katex .mathtt { font-family: KaTeX_Typewriter; }
.katex .mathscr, .katex .textscr { font-family: KaTeX_Script; }
.katex .mathsf, .katex .textsf { font-family: KaTeX_SansSerif; }
.katex .mathboldsf, .katex .textboldsf { font-family: KaTeX_SansSerif; font-weight: 700; }
.katex .mathitsf, .katex .mathsfit, .katex .textitsf { font-family: KaTeX_SansSerif; font-style: italic; }
.katex .mainrm { font-family: KaTeX_Main; font-style: normal; }
.katex .vlist-t { border-collapse: collapse; display: inline-table; table-layout: fixed; }
.katex .vlist-r { display: table-row; }
.katex .vlist { display: table-cell; position: relative; vertical-align: bottom; }
.katex .vlist > span { display: block; height: 0px; position: relative; }
.katex .vlist > span > span { display: inline-block; }
.katex .vlist > span > .pstrut { overflow: hidden; width: 0px; }
.katex .vlist-t2 { margin-right: -2px; }
.katex .vlist-s { display: table-cell; font-size: 1px; min-width: 2px; vertical-align: bottom; width: 2px; }
.katex .vbox { align-items: baseline; display: inline-flex; flex-direction: column; }
.katex .hbox { width: 100%; }
.katex .hbox, .katex .thinbox { display: inline-flex; flex-direction: row; }
.katex .thinbox { max-width: 0px; width: 0px; }
.katex .msupsub { text-align: left; }
.katex .mfrac > span > span { text-align: center; }
.katex .mfrac .frac-line { border-bottom-style: solid; display: inline-block; width: 100%; }
.katex .hdashline, .katex .hline, .katex .mfrac .frac-line, .katex .overline .overline-line, .katex .rule, .katex .underline .underline-line { min-height: 1px; }
.katex .mspace { display: inline-block; }
.katex .smash { display: inline; line-height: 0; }
.katex .clap, .katex .llap, .katex .rlap { position: relative; width: 0px; }
.katex .clap > .inner, .katex .llap > .inner, .katex .rlap > .inner { position: absolute; }
.katex .clap > .fix, .katex .llap > .fix, .katex .rlap > .fix { display: inline-block; }
.katex .llap > .inner { right: 0px; }
.katex .clap > .inner, .katex .rlap > .inner { left: 0px; }
.katex .clap > .inner > span { margin-left: -50%; margin-right: 50%; }
.katex .rule { border: 0px solid; display: inline-block; position: relative; }
.katex .hline, .katex .overline .overline-line, .katex .underline .underline-line { border-bottom-style: solid; display: inline-block; width: 100%; }
.katex .hdashline { border-bottom-style: dashed; display: inline-block; width: 100%; }
.katex .sqrt > .root { margin-left: 0.277778em; margin-right: -0.555556em; }
.katex .fontsize-ensurer.reset-size1.size1, .katex .sizing.reset-size1.size1 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size1.size2, .katex .sizing.reset-size1.size2 { font-size: 1.2em; }
.katex .fontsize-ensurer.reset-size1.size3, .katex .sizing.reset-size1.size3 { font-size: 1.4em; }
.katex .fontsize-ensurer.reset-size1.size4, .katex .sizing.reset-size1.size4 { font-size: 1.6em; }
.katex .fontsize-ensurer.reset-size1.size5, .katex .sizing.reset-size1.size5 { font-size: 1.8em; }
.katex .fontsize-ensurer.reset-size1.size6, .katex .sizing.reset-size1.size6 { font-size: 2em; }
.katex .fontsize-ensurer.reset-size1.size7, .katex .sizing.reset-size1.size7 { font-size: 2.4em; }
.katex .fontsize-ensurer.reset-size1.size8, .katex .sizing.reset-size1.size8 { font-size: 2.88em; }
.katex .fontsize-ensurer.reset-size1.size9, .katex .sizing.reset-size1.size9 { font-size: 3.456em; }
.katex .fontsize-ensurer.reset-size1.size10, .katex .sizing.reset-size1.size10 { font-size: 4.148em; }
.katex .fontsize-ensurer.reset-size1.size11, .katex .sizing.reset-size1.size11 { font-size: 4.976em; }
.katex .fontsize-ensurer.reset-size2.size1, .katex .sizing.reset-size2.size1 { font-size: 0.833333em; }
.katex .fontsize-ensurer.reset-size2.size2, .katex .sizing.reset-size2.size2 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size2.size3, .katex .sizing.reset-size2.size3 { font-size: 1.16667em; }
.katex .fontsize-ensurer.reset-size2.size4, .katex .sizing.reset-size2.size4 { font-size: 1.33333em; }
.katex .fontsize-ensurer.reset-size2.size5, .katex .sizing.reset-size2.size5 { font-size: 1.5em; }
.katex .fontsize-ensurer.reset-size2.size6, .katex .sizing.reset-size2.size6 { font-size: 1.66667em; }
.katex .fontsize-ensurer.reset-size2.size7, .katex .sizing.reset-size2.size7 { font-size: 2em; }
.katex .fontsize-ensurer.reset-size2.size8, .katex .sizing.reset-size2.size8 { font-size: 2.4em; }
.katex .fontsize-ensurer.reset-size2.size9, .katex .sizing.reset-size2.size9 { font-size: 2.88em; }
.katex .fontsize-ensurer.reset-size2.size10, .katex .sizing.reset-size2.size10 { font-size: 3.45667em; }
.katex .fontsize-ensurer.reset-size2.size11, .katex .sizing.reset-size2.size11 { font-size: 4.14667em; }
.katex .fontsize-ensurer.reset-size3.size1, .katex .sizing.reset-size3.size1 { font-size: 0.714286em; }
.katex .fontsize-ensurer.reset-size3.size2, .katex .sizing.reset-size3.size2 { font-size: 0.857143em; }
.katex .fontsize-ensurer.reset-size3.size3, .katex .sizing.reset-size3.size3 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size3.size4, .katex .sizing.reset-size3.size4 { font-size: 1.14286em; }
.katex .fontsize-ensurer.reset-size3.size5, .katex .sizing.reset-size3.size5 { font-size: 1.28571em; }
.katex .fontsize-ensurer.reset-size3.size6, .katex .sizing.reset-size3.size6 { font-size: 1.42857em; }
.katex .fontsize-ensurer.reset-size3.size7, .katex .sizing.reset-size3.size7 { font-size: 1.71429em; }
.katex .fontsize-ensurer.reset-size3.size8, .katex .sizing.reset-size3.size8 { font-size: 2.05714em; }
.katex .fontsize-ensurer.reset-size3.size9, .katex .sizing.reset-size3.size9 { font-size: 2.46857em; }
.katex .fontsize-ensurer.reset-size3.size10, .katex .sizing.reset-size3.size10 { font-size: 2.96286em; }
.katex .fontsize-ensurer.reset-size3.size11, .katex .sizing.reset-size3.size11 { font-size: 3.55429em; }
.katex .fontsize-ensurer.reset-size4.size1, .katex .sizing.reset-size4.size1 { font-size: 0.625em; }
.katex .fontsize-ensurer.reset-size4.size2, .katex .sizing.reset-size4.size2 { font-size: 0.75em; }
.katex .fontsize-ensurer.reset-size4.size3, .katex .sizing.reset-size4.size3 { font-size: 0.875em; }
.katex .fontsize-ensurer.reset-size4.size4, .katex .sizing.reset-size4.size4 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size4.size5, .katex .sizing.reset-size4.size5 { font-size: 1.125em; }
.katex .fontsize-ensurer.reset-size4.size6, .katex .sizing.reset-size4.size6 { font-size: 1.25em; }
.katex .fontsize-ensurer.reset-size4.size7, .katex .sizing.reset-size4.size7 { font-size: 1.5em; }
.katex .fontsize-ensurer.reset-size4.size8, .katex .sizing.reset-size4.size8 { font-size: 1.8em; }
.katex .fontsize-ensurer.reset-size4.size9, .katex .sizing.reset-size4.size9 { font-size: 2.16em; }
.katex .fontsize-ensurer.reset-size4.size10, .katex .sizing.reset-size4.size10 { font-size: 2.5925em; }
.katex .fontsize-ensurer.reset-size4.size11, .katex .sizing.reset-size4.size11 { font-size: 3.11em; }
.katex .fontsize-ensurer.reset-size5.size1, .katex .sizing.reset-size5.size1 { font-size: 0.555556em; }
.katex .fontsize-ensurer.reset-size5.size2, .katex .sizing.reset-size5.size2 { font-size: 0.666667em; }
.katex .fontsize-ensurer.reset-size5.size3, .katex .sizing.reset-size5.size3 { font-size: 0.777778em; }
.katex .fontsize-ensurer.reset-size5.size4, .katex .sizing.reset-size5.size4 { font-size: 0.888889em; }
.katex .fontsize-ensurer.reset-size5.size5, .katex .sizing.reset-size5.size5 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size5.size6, .katex .sizing.reset-size5.size6 { font-size: 1.11111em; }
.katex .fontsize-ensurer.reset-size5.size7, .katex .sizing.reset-size5.size7 { font-size: 1.33333em; }
.katex .fontsize-ensurer.reset-size5.size8, .katex .sizing.reset-size5.size8 { font-size: 1.6em; }
.katex .fontsize-ensurer.reset-size5.size9, .katex .sizing.reset-size5.size9 { font-size: 1.92em; }
.katex .fontsize-ensurer.reset-size5.size10, .katex .sizing.reset-size5.size10 { font-size: 2.30444em; }
.katex .fontsize-ensurer.reset-size5.size11, .katex .sizing.reset-size5.size11 { font-size: 2.76444em; }
.katex .fontsize-ensurer.reset-size6.size1, .katex .sizing.reset-size6.size1 { font-size: 0.5em; }
.katex .fontsize-ensurer.reset-size6.size2, .katex .sizing.reset-size6.size2 { font-size: 0.6em; }
.katex .fontsize-ensurer.reset-size6.size3, .katex .sizing.reset-size6.size3 { font-size: 0.7em; }
.katex .fontsize-ensurer.reset-size6.size4, .katex .sizing.reset-size6.size4 { font-size: 0.8em; }
.katex .fontsize-ensurer.reset-size6.size5, .katex .sizing.reset-size6.size5 { font-size: 0.9em; }
.katex .fontsize-ensurer.reset-size6.size6, .katex .sizing.reset-size6.size6 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size6.size7, .katex .sizing.reset-size6.size7 { font-size: 1.2em; }
.katex .fontsize-ensurer.reset-size6.size8, .katex .sizing.reset-size6.size8 { font-size: 1.44em; }
.katex .fontsize-ensurer.reset-size6.size9, .katex .sizing.reset-size6.size9 { font-size: 1.728em; }
.katex .fontsize-ensurer.reset-size6.size10, .katex .sizing.reset-size6.size10 { font-size: 2.074em; }
.katex .fontsize-ensurer.reset-size6.size11, .katex .sizing.reset-size6.size11 { font-size: 2.488em; }
.katex .fontsize-ensurer.reset-size7.size1, .katex .sizing.reset-size7.size1 { font-size: 0.416667em; }
.katex .fontsize-ensurer.reset-size7.size2, .katex .sizing.reset-size7.size2 { font-size: 0.5em; }
.katex .fontsize-ensurer.reset-size7.size3, .katex .sizing.reset-size7.size3 { font-size: 0.583333em; }
.katex .fontsize-ensurer.reset-size7.size4, .katex .sizing.reset-size7.size4 { font-size: 0.666667em; }
.katex .fontsize-ensurer.reset-size7.size5, .katex .sizing.reset-size7.size5 { font-size: 0.75em; }
.katex .fontsize-ensurer.reset-size7.size6, .katex .sizing.reset-size7.size6 { font-size: 0.833333em; }
.katex .fontsize-ensurer.reset-size7.size7, .katex .sizing.reset-size7.size7 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size7.size8, .katex .sizing.reset-size7.size8 { font-size: 1.2em; }
.katex .fontsize-ensurer.reset-size7.size9, .katex .sizing.reset-size7.size9 { font-size: 1.44em; }
.katex .fontsize-ensurer.reset-size7.size10, .katex .sizing.reset-size7.size10 { font-size: 1.72833em; }
.katex .fontsize-ensurer.reset-size7.size11, .katex .sizing.reset-size7.size11 { font-size: 2.07333em; }
.katex .fontsize-ensurer.reset-size8.size1, .katex .sizing.reset-size8.size1 { font-size: 0.347222em; }
.katex .fontsize-ensurer.reset-size8.size2, .katex .sizing.reset-size8.size2 { font-size: 0.416667em; }
.katex .fontsize-ensurer.reset-size8.size3, .katex .sizing.reset-size8.size3 { font-size: 0.486111em; }
.katex .fontsize-ensurer.reset-size8.size4, .katex .sizing.reset-size8.size4 { font-size: 0.555556em; }
.katex .fontsize-ensurer.reset-size8.size5, .katex .sizing.reset-size8.size5 { font-size: 0.625em; }
.katex .fontsize-ensurer.reset-size8.size6, .katex .sizing.reset-size8.size6 { font-size: 0.694444em; }
.katex .fontsize-ensurer.reset-size8.size7, .katex .sizing.reset-size8.size7 { font-size: 0.833333em; }
.katex .fontsize-ensurer.reset-size8.size8, .katex .sizing.reset-size8.size8 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size8.size9, .katex .sizing.reset-size8.size9 { font-size: 1.2em; }
.katex .fontsize-ensurer.reset-size8.size10, .katex .sizing.reset-size8.size10 { font-size: 1.44028em; }
.katex .fontsize-ensurer.reset-size8.size11, .katex .sizing.reset-size8.size11 { font-size: 1.72778em; }
.katex .fontsize-ensurer.reset-size9.size1, .katex .sizing.reset-size9.size1 { font-size: 0.289352em; }
.katex .fontsize-ensurer.reset-size9.size2, .katex .sizing.reset-size9.size2 { font-size: 0.347222em; }
.katex .fontsize-ensurer.reset-size9.size3, .katex .sizing.reset-size9.size3 { font-size: 0.405093em; }
.katex .fontsize-ensurer.reset-size9.size4, .katex .sizing.reset-size9.size4 { font-size: 0.462963em; }
.katex .fontsize-ensurer.reset-size9.size5, .katex .sizing.reset-size9.size5 { font-size: 0.520833em; }
.katex .fontsize-ensurer.reset-size9.size6, .katex .sizing.reset-size9.size6 { font-size: 0.578704em; }
.katex .fontsize-ensurer.reset-size9.size7, .katex .sizing.reset-size9.size7 { font-size: 0.694444em; }
.katex .fontsize-ensurer.reset-size9.size8, .katex .sizing.reset-size9.size8 { font-size: 0.833333em; }
.katex .fontsize-ensurer.reset-size9.size9, .katex .sizing.reset-size9.size9 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size9.size10, .katex .sizing.reset-size9.size10 { font-size: 1.20023em; }
.katex .fontsize-ensurer.reset-size9.size11, .katex .sizing.reset-size9.size11 { font-size: 1.43981em; }
.katex .fontsize-ensurer.reset-size10.size1, .katex .sizing.reset-size10.size1 { font-size: 0.24108em; }
.katex .fontsize-ensurer.reset-size10.size2, .katex .sizing.reset-size10.size2 { font-size: 0.289296em; }
.katex .fontsize-ensurer.reset-size10.size3, .katex .sizing.reset-size10.size3 { font-size: 0.337512em; }
.katex .fontsize-ensurer.reset-size10.size4, .katex .sizing.reset-size10.size4 { font-size: 0.385728em; }
.katex .fontsize-ensurer.reset-size10.size5, .katex .sizing.reset-size10.size5 { font-size: 0.433944em; }
.katex .fontsize-ensurer.reset-size10.size6, .katex .sizing.reset-size10.size6 { font-size: 0.48216em; }
.katex .fontsize-ensurer.reset-size10.size7, .katex .sizing.reset-size10.size7 { font-size: 0.578592em; }
.katex .fontsize-ensurer.reset-size10.size8, .katex .sizing.reset-size10.size8 { font-size: 0.694311em; }
.katex .fontsize-ensurer.reset-size10.size9, .katex .sizing.reset-size10.size9 { font-size: 0.833173em; }
.katex .fontsize-ensurer.reset-size10.size10, .katex .sizing.reset-size10.size10 { font-size: 1em; }
.katex .fontsize-ensurer.reset-size10.size11, .katex .sizing.reset-size10.size11 { font-size: 1.19961em; }
.katex .fontsize-ensurer.reset-size11.size1, .katex .sizing.reset-size11.size1 { font-size: 0.200965em; }
.katex .fontsize-ensurer.reset-size11.size2, .katex .sizing.reset-size11.size2 { font-size: 0.241158em; }
.katex .fontsize-ensurer.reset-size11.size3, .katex .sizing.reset-size11.size3 { font-size: 0.28135em; }
.katex .fontsize-ensurer.reset-size11.size4, .katex .sizing.reset-size11.size4 { font-size: 0.321543em; }
.katex .fontsize-ensurer.reset-size11.size5, .katex .sizing.reset-size11.size5 { font-size: 0.361736em; }
.katex .fontsize-ensurer.reset-size11.size6, .katex .sizing.reset-size11.size6 { font-size: 0.401929em; }
.katex .fontsize-ensurer.reset-size11.size7, .katex .sizing.reset-size11.size7 { font-size: 0.482315em; }
.katex .fontsize-ensurer.reset-size11.size8, .katex .sizing.reset-size11.size8 { font-size: 0.578778em; }
.katex .fontsize-ensurer.reset-size11.size9, .katex .sizing.reset-size11.size9 { font-size: 0.694534em; }
.katex .fontsize-ensurer.reset-size11.size10, .katex .sizing.reset-size11.size10 { font-size: 0.833601em; }
.katex .fontsize-ensurer.reset-size11.size11, .katex .sizing.reset-size11.size11 { font-size: 1em; }
.katex .delimsizing.size1 { font-family: KaTeX_Size1; }
.katex .delimsizing.size2 { font-family: KaTeX_Size2; }
.katex .delimsizing.size3 { font-family: KaTeX_Size3; }
.katex .delimsizing.size4 { font-family: KaTeX_Size4; }
.katex .delimsizing.mult .delim-size1 > span { font-family: KaTeX_Size1; }
.katex .delimsizing.mult .delim-size4 > span { font-family: KaTeX_Size4; }
.katex .nulldelimiter { display: inline-block; width: 0.12em; }
.katex .delimcenter, .katex .op-symbol { position: relative; }
.katex .op-symbol.small-op { font-family: KaTeX_Size1; }
.katex .op-symbol.large-op { font-family: KaTeX_Size2; }
.katex .accent > .vlist-t, .katex .op-limits > .vlist-t { text-align: center; }
.katex .accent .accent-body { position: relative; }
.katex .accent .accent-body:not(.accent-full) { width: 0px; }
.katex .overlay { display: block; }
.katex .mtable .vertical-separator { display: inline-block; min-width: 1px; }
.katex .mtable .arraycolsep { display: inline-block; }
.katex .mtable .col-align-c > .vlist-t { text-align: center; }
.katex .mtable .col-align-l > .vlist-t { text-align: left; }
.katex .mtable .col-align-r > .vlist-t { text-align: right; }
.katex .svg-align { text-align: left; }
.katex svg { fill: currentcolor; stroke: currentcolor; display: block; height: inherit; position: absolute; width: 100%; }
.katex svg path { stroke: none; }
.katex svg { fill-rule: nonzero; fill-opacity: 1; stroke-width: 1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 1; }
.katex img { border-style: none; max-height: none; max-width: none; min-height: 0px; min-width: 0px; }
.katex .stretchy { display: block; overflow: hidden; position: relative; width: 100%; }
.katex .stretchy::after, .katex .stretchy::before { content: ""; }
.katex .hide-tail { overflow: hidden; position: relative; width: 100%; }
.katex .halfarrow-left { left: 0px; overflow: hidden; position: absolute; width: 50.2%; }
.katex .halfarrow-right { overflow: hidden; position: absolute; right: 0px; width: 50.2%; }
.katex .brace-left { left: 0px; overflow: hidden; position: absolute; width: 25.1%; }
.katex .brace-center { left: 25%; overflow: hidden; position: absolute; width: 50%; }
.katex .brace-right { overflow: hidden; position: absolute; right: 0px; width: 25.1%; }
.katex .x-arrow-pad { padding: 0px 0.5em; }
.katex .cd-arrow-pad { padding: 0px 0.55556em 0px 0.27778em; }
.katex .mover, .katex .munder, .katex .x-arrow { text-align: center; }
.katex .boxpad { padding: 0px 0.3em; }
.katex .fbox, .katex .fcolorbox { border: 0.04em solid; box-sizing: border-box; }
.katex .cancel-pad { padding: 0px 0.2em; }
.katex .cancel-lap { margin-left: -0.2em; margin-right: -0.2em; }
.katex .sout { border-bottom-style: solid; border-bottom-width: 0.08em; }
.katex .angl { border-right: 0.049em solid; border-top: 0.049em solid; box-sizing: border-box; margin-right: 0.03889em; }
.katex .anglpad { padding: 0px 0.03889em; }
.katex .eqn-num::before { content: "(" counter(katexEqnNo) ")"; counter-increment: katexEqnNo 1; }
.katex .mml-eqn-num::before { content: "(" counter(mmlEqnNo) ")"; counter-increment: mmlEqnNo 1; }
.katex .mtr-glue { width: 50%; }
.katex .cd-vert-arrow { display: inline-block; position: relative; }
.katex .cd-label-left { display: inline-block; position: absolute; right: calc(50% + 0.3em); text-align: left; }
.katex .cd-label-right { display: inline-block; left: calc(50% + 0.3em); position: absolute; text-align: right; }
.katex-display { display: block; margin: 1em 0px; text-align: center; }
.katex-display > .katex { display: block; text-align: center; white-space: nowrap; }
.katex-display > .katex > .katex-html { display: block; position: relative; }
.katex-display > .katex > .katex-html > .tag { position: absolute; right: 0px; }
.katex-display.leqno > .katex > .katex-html > .tag { left: 0px; right: auto; }
.katex-display.fleqn > .katex { padding-left: 2em; text-align: left; }
body { counter-reset: katexEqnNo 0 mmlEqnNo 0; }
:root { --bg: #101012; --bg-surface: #16161a; --bg-raised: #1d1d22; --border: #2a2a31; --text: #e4e4e7; --text-dim: #b0b0bb; --text-faint: #9a9aa5; --accent: #80b3ff; --add: #65cf76; --del: #ff827c; --warn: #e3b341; --note: #c09aff; --code-member: #5fd4d4; --whitespace-mark: color-mix(in srgb, var(--code-text, var(--text)) 20%, transparent); --whitespace-guide: color-mix(in srgb, var(--code-text, var(--text)) 28%, transparent); --selection-bg: color-mix(in srgb, var(--accent) 10%, var(--bg-raised)); --font-mono: "Cascadia Mono", Consolas, ui-monospace, monospace; --font-ui: system-ui, "Segoe UI Variable", "Segoe UI", sans-serif; --rail-width: 220px; --ledger-width: 460px; --speaker-column: 62px; --header-height: 32px; --row-height: 28px; --reading-measure: none; --radius-sm: 3px; --radius: 4px; --radius-lg: 6px; --shadow-popover: 0 8px 24px rgb(0 0 0 / 35%); --shadow-dialog: 0 18px 48px rgb(0 0 0 / 50%); --backdrop: rgb(0 0 0 / 58%); --on-highlight: #101012; --mark-tile: #f2f2f0; --on-danger: #ffffff; --flame-l: 0.70; --flame-c: 0.085; --flame-dim-l: 0.33; --flame-dim-c: 0.025; --layer-raised: 5; --layer-diff-divider: 6; --layer-dock-overlay: 30; --layer-modal: 100; --layer-popover: 200; color-scheme: dark; }
:root[data-theme="light"] { --bg: #fbfbfc; --bg-surface: #ffffff; --bg-raised: #f1f1f4; --border: #d9d9e0; --text: #18181b; --text-dim: #51515c; --text-faint: #60606c; --accent: #074fae; --add: #116329; --del: #b32128; --warn: #765000; --note: #6421b5; --code-member: #0a6e69; color-scheme: light; --flame-l: 0.86; --flame-c: 0.075; --flame-dim-l: 0.94; --flame-dim-c: 0.012; }
:root[data-theme="black"] { --bg: #000000; --bg-surface: #050505; --bg-raised: #161616; --border: #4a4a4a; --text: #ffffff; --text-dim: #e2e2e2; --text-faint: #bdbdbd; --accent: #7cc4ff; --add: #6ef08a; --del: #ff8f87; --warn: #ffd54a; --note: #d4b0ff; color-scheme: dark; }
:root[data-theme="black"] :focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
:root[data-theme="midnight"] { --bg: #0b1020; --bg-surface: #10172b; --bg-raised: #172038; --border: #26314d; --text: #e6ebf5; --text-dim: #b3bdd3; --text-faint: #96a1ba; --accent: #82a9ff; --add: #7fd6a0; --del: #ff8b94; --warn: #f0c36a; --note: #bda2ff; color-scheme: dark; }
:root[data-theme="ember"] { --bg: #14110f; --bg-surface: #1b1714; --bg-raised: #24201b; --border: #3a322b; --text: #ede6dd; --text-dim: #c4b8aa; --text-faint: #a79b8b; --accent: #ffab70; --add: #a6d189; --del: #ff8c7a; --warn: #e5c07b; --note: #d9a7db; color-scheme: dark; }
:root[data-theme="paper"] { --bg: #f7f3ea; --bg-surface: #fbf8f1; --bg-raised: #efe9dc; --border: #ddd4c2; --text: #2b2621; --text-dim: #574e43; --text-faint: #655b4e; --accent: #1d5aa6; --add: #2c6620; --del: #a42f27; --warn: #744e00; --note: #663c99; --code-member: #0a6e69; color-scheme: light; --flame-l: 0.86; --flame-c: 0.075; --flame-dim-l: 0.94; --flame-dim-c: 0.012; }
:root[data-code-theme="dark-plus"] { --code-kw: #569cd6; --code-ty: #569cd6; --code-cls: #4ec9b0; --code-fn: #dcdcaa; --code-prop: #9cdcfe; --code-const: #4fc1ff; --code-str: #ce9178; --code-num: #b5cea8; --code-com: #6a9955; --code-meta: #c586c0; --code-text: #d4d4d4; --code-comment-style: normal; }
:root[data-code-theme="vs-dark"] { --code-kw: #569cd6; --code-bg: #1f1f1f; --code-ty: #4ec9b0; --code-cls: #4ec9b0; --code-fn: #dcdcaa; --code-prop: #9cdcfe; --code-const: #b8d7a3; --code-str: #d69d85; --code-num: #b5cea8; --code-com: #57a64a; --code-meta: #c586c0; --code-text: #dcdcdc; --code-comment-style: normal; }
:root[data-code-theme="va-dark"] { --code-kw: #569cd6; --code-bg: #1f1f1f; --code-ty: #4ec9b0; --code-cls: #4ec9b0; --code-fn: #dcdcaa; --code-prop: #9cdcfe; --code-const: #b8d7a3; --code-str: #d69d85; --code-num: #b5cea8; --code-com: #57a64a; --code-meta: #bd63c5; --code-text: #dcdcdc; --code-comment-style: normal; --code-sem-type: #4ec9b0; --code-sem-function: #dcdcaa; --code-sem-method: #ff8000; --code-sem-macro: #bd63c5; --code-sem-enum: #b8d7a3; --code-sem-namespace: #c8c8c8; }
:root[data-code-theme="monokai"] { --code-kw: #f92672; --code-ty: #66d9ef; --code-cls: #a6e22e; --code-fn: #a6e22e; --code-prop: #f8f8f2; --code-const: #ae81ff; --code-str: #e6db74; --code-num: #ae81ff; --code-com: #88846f; --code-meta: #f92672; --code-text: #f8f8f2; --code-comment-style: normal; }
:root[data-code-theme="one-dark"] { --code-kw: #c678dd; --code-ty: #c678dd; --code-cls: #e5c07b; --code-fn: #61afef; --code-prop: #e06c75; --code-const: #d19a66; --code-str: #98c379; --code-num: #d19a66; --code-com: #7f848e; --code-meta: #c678dd; --code-text: #abb2bf; --code-comment-style: italic; }
:root[data-code-theme="dracula"] { --code-kw: #ff79c6; --code-ty: #8be9fd; --code-cls: #8be9fd; --code-fn: #50fa7b; --code-prop: #f8f8f2; --code-const: #bd93f9; --code-str: #f1fa8c; --code-num: #bd93f9; --code-com: #6272a4; --code-meta: #ff79c6; --code-text: #f8f8f2; --code-comment-style: normal; }
:root[data-code-theme="github-dark"] { --code-kw: #ff7b72; --code-ty: #ff7b72; --code-cls: #ffa657; --code-fn: #d2a8ff; --code-prop: #79c0ff; --code-const: #79c0ff; --code-str: #a5d6ff; --code-num: #79c0ff; --code-com: #8b949e; --code-meta: #ff7b72; --code-text: #e6edf3; --code-comment-style: normal; }
:root[data-code-theme="nord"] { --code-kw: #81a1c1; --code-ty: #81a1c1; --code-cls: #8fbcbb; --code-fn: #88c0d0; --code-prop: #d8dee9; --code-const: #b48ead; --code-str: #a3be8c; --code-num: #b48ead; --code-com: #616e88; --code-meta: #5e81ac; --code-text: #d8dee9; --code-comment-style: normal; }
:root[data-code-theme="light-plus"] { --code-kw: #0000ff; --code-ty: #0000ff; --code-cls: #267f99; --code-fn: #795e26; --code-prop: #001080; --code-const: #0070c1; --code-str: #a31515; --code-num: #098658; --code-com: #008000; --code-meta: #af00db; --code-text: #000000; --code-comment-style: normal; }
:root[data-code-theme="vs-light"] { --code-kw: #0000ff; --code-ty: #0000ff; --code-cls: #2b91af; --code-fn: #74531f; --code-prop: #1f377f; --code-const: #2f4f4f; --code-str: #a31515; --code-num: #000000; --code-com: #008000; --code-meta: #808080; --code-text: #000000; --code-comment-style: normal; }
:root[data-code-theme="github-light"] { --code-kw: #cf222e; --code-ty: #cf222e; --code-cls: #953800; --code-fn: #8250df; --code-prop: #0550ae; --code-const: #0550ae; --code-str: #0a3069; --code-num: #0550ae; --code-com: #6e7781; --code-meta: #cf222e; --code-text: #1f2328; --code-comment-style: normal; }
:root[data-code-theme="solarized-light"] { --code-kw: #859900; --code-ty: #268bd2; --code-cls: #cb4b16; --code-fn: #268bd2; --code-prop: #586e75; --code-const: #b58900; --code-str: #2aa198; --code-num: #d33682; --code-com: #93a1a1; --code-meta: #cb4b16; --code-text: #586e75; --code-comment-style: italic; }
* { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 13px; line-height: 19px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  * { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; }
button { text-align: left; font: inherit; color: inherit; background: none; border: 1px solid var(--border); border-radius: 3px; min-height: var(--row-height); padding: 0px 8px; cursor: pointer; user-select: none; }
summary { user-select: none; }
button:hover:not(:disabled) { background: var(--bg-raised); }
button:disabled { color: var(--text-faint); cursor: default; }
input { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; min-height: var(--row-height); padding: 0px 8px; width: 100%; }
.empty { padding: 16px 12px; color: var(--text-faint); font-size: 12px; line-height: 18px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; clip-path: inset(50%); }
kbd { font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--border); border-radius: 2px; padding: 0px 3px; color: var(--text-dim); }
.button-primary:not(:disabled) { border-color: var(--accent); background: var(--accent); color: var(--bg); font-weight: 600; }
.button-accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.button-accent:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
.button-destructive { color: var(--del); border-color: color-mix(in srgb, var(--del) 45%, var(--border)); }
.button-destructive:hover:not(:disabled) { color: var(--del); background: color-mix(in srgb, var(--del) 12%, var(--bg-raised)); }
.icon-button { text-align: center; min-height: 20px; min-width: 20px; padding: 0px 4px; border-color: transparent; color: var(--text-dim); line-height: 1; }
.icon-button:hover { color: var(--text); border-color: var(--border); }
.icon-button[data-tone="add"] { --action-tone: var(--add); }
.icon-button[data-tone="edit"] { --action-tone: var(--warn); }
.icon-button[data-tone="toggle"] { --action-tone: var(--accent); }
.icon-button[data-tone="destructive"] { --action-tone: var(--del); }
.icon-button[data-tone] { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-width: 22px; min-height: 22px; margin: 0px 2px; border-radius: var(--radius-sm); color: var(--action-tone); border-color: color-mix(in srgb, var(--action-tone) 30%, var(--border)); background: color-mix(in srgb, var(--action-tone) 7%, var(--bg)); }
.icon-button[data-tone]:hover:not(:disabled), .icon-button[data-tone][aria-pressed="true"] { color: var(--action-tone); border-color: color-mix(in srgb, var(--action-tone) 65%, var(--border)); background: color-mix(in srgb, var(--action-tone) 20%, var(--bg-raised)); }
.icon-button[data-tone]:disabled { opacity: 0.4; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 2px; padding: 0px 4px; font-family: var(--font-mono); font-size: 11px; line-height: 16px; color: var(--text-dim); white-space: nowrap; }
.badge[data-tone="ok"] { color: var(--add); border-color: color-mix(in srgb, var(--add) 40%, var(--border)); }
.badge[data-tone="warn"] { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, var(--border)); }
.badge[data-tone="bad"] { color: var(--del); border-color: color-mix(in srgb, var(--del) 40%, var(--border)); }
.badge[data-tone="note"] { color: var(--note); border-color: color-mix(in srgb, var(--note) 40%, var(--border)); }
.notice { --notice-tone: var(--accent); padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--notice-tone) 35%, var(--border)); border-radius: var(--radius); background: color-mix(in srgb, var(--notice-tone) 7%, var(--bg-surface)); color: var(--text); font-size: 12px; line-height: 18px; white-space: normal; overflow-wrap: anywhere; min-width: 0px; }
.notice[data-tone="warning"] { --notice-tone: var(--warn); }
.notice[data-tone="danger"] { --notice-tone: var(--del); }
.notice strong { font-weight: 600; }
.notice p { margin: 4px 0px; }
.spinner { display: inline-flex; width: 12px; height: 12px; flex: 0 0 auto; }
.spinner-mark { width: 100%; height: 100%; border-top-style: ; border-top-width: ; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-left-color: ; border-left-style: ; border-left-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-top-color: var(--accent); border-radius: 50%; animation: 700ms linear 0s infinite normal none running spin; }
@keyframes spin {
  100% { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .spinner-mark { animation: auto ease 0s 1 normal none running none; border-top-color: var(--accent); border-right-color: var(--accent); }
}
.popover { z-index: var(--layer-popover); color: var(--text); background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-popover); }
.menu-item { display: flex; align-items: center; width: 100%; padding: 4px 10px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 4px; background: transparent; text-align: left; font-size: 12.5px; line-height: 18px; color: var(--text); }
.menu-item:hover:not(:disabled), .menu-item:focus-visible { background: color-mix(in srgb, var(--accent) 12%, transparent); outline: none; }
.menu-item:disabled { color: var(--text-faint); }
.menu-rule { height: 1px; margin: 4px 6px; background: var(--border); }
.switch-row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 10px; }
.switch-row-button { width: 100%; min-height: 48px; align-items: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); text-align: left; cursor: pointer; }
.switch-row-button:hover:not(:disabled) { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: var(--bg-raised); }
.switch-row-button[aria-checked="true"] .switch { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 35%, var(--bg)); }
.switch-row-button[aria-checked="true"] .switch-knob { left: 16px; background: var(--accent); }
.switch { flex: 0 0 auto; position: relative; width: 30px; min-height: 0px; height: 16px; margin-top: 1px; padding: 0px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); }
.switch[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 35%, var(--bg)); }
.switch-knob { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--text-dim); transition: left 100ms ease-out; }
.switch[aria-checked="true"] .switch-knob { left: 16px; background: var(--accent); }
.switch-text { display: grid; gap: 2px; min-width: 0px; }
.switch-label { font-size: 12.5px; color: var(--text); }
.switch-state { margin-left: 4px; font-size: 11px; color: var(--text-faint); }
.switch-required { display: inline-flex; align-items: center; margin-left: 6px; padding: 0px 5px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-faint); font-size: 10px; font-weight: 500; line-height: 16px; vertical-align: middle; }
.switch-description, .switch-error { font-size: 11.5px; line-height: 1.45; color: var(--text-dim); }
.switch-error { color: var(--del); }
.select-control { position: relative; width: min(100%, 260px); }
.select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 10px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; }
.select-trigger:disabled { opacity: 0.6; }
.select-trigger[aria-invalid="true"] { border-color: var(--del); }
.select-control.compact { width: auto; min-width: 0px; max-width: 100%; }
.select-control.compact .select-trigger { gap: 6px; padding: 1px 6px; font-size: 11px; border-radius: var(--radius); }
.select-options { position: absolute; top: calc(100% + 4px); left: 0px; width: max-content; min-width: 100%; max-width: min(420px, 90vw); max-height: 320px; overflow-y: auto; padding: 4px; }
.select-options > button { display: flex; justify-content: flex-start; gap: 12px; width: 100%; padding: 7px 8px; border: 0px; background: transparent; text-align: left; }
.select-options > button > .select-value { flex: 1 1 0%; justify-content: flex-start; text-align: left; }
.select-options > button > span:last-child { margin-left: auto; }
.select-options > button[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.select-group { padding: 8px 8px 3px; color: var(--text-faint); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.select-group:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--border); }
.select-value { display: flex; align-items: baseline; gap: 8px; min-width: 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.select-hint { color: var(--text-faint); font-size: 11px; }
.select-search { position: sticky; top: -4px; z-index: var(--layer-raised); width: 100%; margin: -4px 0px 4px; padding: 7px 8px; background: var(--bg-raised); border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; color: var(--text); outline: none; }
.select-empty { padding: 7px 8px; color: var(--text-faint); }
.modal-backdrop { position: fixed; inset: 0px; z-index: var(--layer-modal); display: grid; grid-template: minmax(0px, 1fr) / minmax(0px, 1fr); place-items: center; padding: 24px; background: var(--backdrop); }
.modal-backdrop[data-placement="top"] { place-items: start center; padding-top: 15vh; }
.modal { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; max-width: 100%; max-height: 100%; color: var(--text); background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-dialog); }
.modal:focus { outline: none; }
.confirm { width: min(420px, 90vw); padding: 14px 16px; gap: 8px; }
.confirm p { margin: 0px; color: var(--text-dim); font-size: 12px; line-height: 18px; }
.update-prompt { width: min(520px, 90vw); }
.update-prompt h3 { margin: 0px; font-size: 14px; }
.update-prompt .update-span { margin: 0px; color: var(--text-dim); font-size: 12px; }
.crash-report { width: min(720px, 94vw); max-height: min(760px, 88vh); overflow: hidden; }
.crash-report-heading { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.crash-report-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); border-radius: 50%; color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--bg-surface)); font-size: 22px; font-weight: 700; }
.crash-report-heading > div { flex: 1 1 0%; min-width: 0px; }
.crash-report-eyebrow { margin: 0px 0px 3px; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.crash-report-heading h2 { margin: 0px; font-size: 18px; font-weight: 650; }
.crash-report-body { display: grid; gap: 14px; overflow: auto; padding: 20px 24px; }
.crash-report-summary { margin: 0px; font-size: 15px; line-height: 1.55; }
.crash-report-evidence { margin: 0px; }
.crash-report-evidence > span { color: var(--text-faint); font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.07em; }
.crash-report-evidence > p { max-height: 110px; overflow: auto; margin: 6px 0px 0px; color: var(--text); font: 11px/1.5 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.crash-report-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-dim); font-size: 12px; }
.crash-report-meta span { padding: 4px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-raised); }
.crash-report-files { display: grid; gap: 8px; }
.crash-report-files > div { display: grid; grid-template-columns: 72px minmax(0px, 1fr); align-items: baseline; gap: 10px; }
.crash-report-files span { color: var(--text-dim); font-size: 12px; }
.crash-report-files code { overflow-wrap: anywhere; color: var(--text-faint); font: 11px var(--font-mono); }
.crash-report-details { border-top: 1px solid var(--border); padding-top: 12px; }
.crash-report-details summary { cursor: pointer; color: var(--accent); font-size: 12px; }
.crash-report-details pre { max-height: 230px; overflow: auto; margin: 10px 0px 0px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text-dim); font: 11px/1.5 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.crash-report-privacy { margin: 0px; color: var(--text-faint); font-size: 11px; line-height: 1.5; }
.crash-report-status { margin: 0px; color: var(--add); font-size: 12px; }
.crash-report-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--border); }
.crash-report-actions > span { flex: 1 1 0%; }
@media (max-width: 560px) {
  .crash-report-heading, .crash-report-body { padding-right: 16px; padding-left: 16px; }
  .crash-report-actions { padding: 12px 16px; }
  .crash-report-actions > span { display: none; }
  .crash-report-actions button:last-child { margin-left: auto; }
}
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.update-notes { align-self: stretch; max-height: min(40vh, 320px); overflow: auto; padding: 0px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); font-size: 12.5px; }
.update-notes-version + .update-notes-version { border-top: 1px solid var(--border); }
.update-notes-version h4 { position: sticky; top: 0px; margin: 0px -12px; padding: 10px 12px 6px; background: var(--bg); color: var(--text); font-size: 13.5px; font-weight: 600; }
.update-notes .markdown :is(h1, h2, h3) { margin: 10px 0px 4px; color: var(--text-dim); font-size: 12px; font-weight: 600; }
.update-notes ul { padding-left: 18px; }
.update-notes li + li { margin-top: 4px; }
.find-bar { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.find-bar input { flex: 1 1 0%; min-width: 0px; font-size: 12px; line-height: 18px; }
.find-bar button { flex: 0 0 auto; min-width: 22px; padding: 1px 6px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--text-dim); }
.find-bar button:hover:not(:disabled) { background: var(--bg-raised); color: var(--text); }
.find-count { flex: 0 0 auto; font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.find-hit { background: color-mix(in srgb, var(--warn) 30%, transparent); color: inherit; border-radius: 2px; }
.find-current { background: var(--warn); color: var(--on-highlight); }
::highlight(atlas-find), ::highlight(settings-match) { background-color: color-mix(in srgb, var(--warn) 30%, transparent); color: inherit; }
::highlight(atlas-find-current) { background-color: var(--warn); color: var(--bg); }
.copy-commands { margin: 0px; }
.copy-commands dt { margin: 14px 0px 6px; color: var(--text-dim); font-size: 12px; }
.copy-commands dt:first-child { margin-top: 0px; }
.copy-commands dd { display: grid; gap: 6px; margin: 0px; }
.copy-line { display: flex; align-items: center; gap: 10px; min-width: 0px; padding: 4px 4px 4px 12px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); }
.copy-line > span { flex: 0 0 auto; width: 76px; color: var(--text-faint); font-size: 12px; }
.copy-line code { flex: 1 1 0%; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.copy-line button { flex: 0 0 auto; }
.plan-checklist { display: flex; flex-direction: column; gap: 2px; margin: 0px; padding: 0px; list-style: none; }
.plan-entry { display: grid; grid-template-columns: 1.4em minmax(0px, 1fr) auto; align-items: center; gap: 6px; min-height: 20px; color: var(--text); }
.plan-entry[data-status="completed"] { color: var(--text-dim); }
.plan-entry[data-status="pending"] .plan-entry-text { color: var(--text-dim); }
.plan-mark { display: inline-flex; justify-content: center; color: var(--text-faint); }
.plan-entry[data-status="completed"] .plan-mark { color: var(--add); }
.plan-entry[data-status="in_progress"] .plan-mark { color: var(--accent); }
.plan-mark-text { grid-column: 1 / 2; overflow: hidden; font-family: var(--font-mono); font-size: 10px; }
.plan-entry-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-entry-priority { color: var(--text-faint); font-size: 11px; }
.plan-more { padding-left: calc(1.4em + 6px); color: var(--text-faint); }
.shell { display: grid; grid-template-rows: auto minmax(0px, 1fr); grid-auto-rows: auto; height: 100%; }
.persistence-notice { padding: 8px 12px; background: var(--bg-raised); border-top: 1px solid var(--warn); max-height: 25vh; overflow: auto; }
.restore-notice { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: start; gap: 4px 12px; max-height: 25vh; overflow: auto; }
.restore-notice > button { grid-area: 1 / 2; flex: 0 0 auto; align-self: start; white-space: nowrap; }
.restore-problems { grid-area: 1 / 1; min-width: 0px; margin: 0px; padding-inline-start: 20px; }
.restore-problems li + li { margin-top: 4px; }
.activity-list { display: flex; flex-direction: column; gap: 2px; padding: 0px 8px 4px 16px; }
.activity-line, .activity-summary { display: flex; align-items: center; gap: 6px; min-width: 0px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.activity-summary { justify-content: flex-start; max-width: 100%; padding: 0px; overflow: hidden; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; line-height: inherit; }
.activity-label { min-width: 0px; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.activity-summary .activity-count, .activity-summary .activity-state { flex-shrink: 20; min-width: 0px; overflow: hidden; }
.activity-detail { overflow: hidden; text-overflow: ellipsis; min-width: 0px; flex: 1 1 0%; }
.activity-list .activity-line { flex-wrap: wrap; row-gap: 0px; }
.activity-list .activity-detail { flex-basis: 100%; order: 1; white-space: normal; }
.activity-line > .status-stop { margin-left: auto; }
.activity-line[data-state="failed"] .activity-state, .activity-line[data-state="failed"] .activity-detail, .activity-summary[data-state="failed"] .activity-state { color: var(--del); }
.activity-line[data-state="done"] .activity-state, .activity-summary[data-state="done"] .activity-state { color: var(--add); }
.activity-more { color: var(--text-faint); }
.activity-bar { display: inline-block; flex: 0 0 auto; width: 56px; height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.activity-bar-fill { display: block; height: 100%; background: var(--accent); transition: width 120ms linear; }
.toolbar-status { display: flex; align-items: center; min-width: 0px; padding: 0px 8px; overflow: hidden; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); white-space: nowrap; }
.activity-status { position: relative; display: flex; min-width: 0px; }
.activity-popover { position: fixed; min-width: 280px; max-width: min(520px, 90vw); padding: 6px 0px 2px; }
.activity-popover .activity-list { padding: 0px 8px 4px; }
.inline-check { display: flex; gap: 4px; align-items: center; white-space: nowrap; color: var(--text-dim); }
.inline-check input { width: auto; min-height: 0px; }
.status-stop { padding: 0px 4px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 2px; background: none; font: inherit; color: var(--accent); }
.status-stop:hover { background: var(--bg-raised); }
.activity-row { display: grid; grid-template-columns: 18px 1fr auto auto; align-items: center; gap: 8px; width: 100%; min-height: 24px; padding: 2px 12px 2px 9px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; text-align: left; font-family: var(--font-mono); font-size: 11px; line-height: 16px; color: var(--text-dim); }
.activity-row[data-kind="tool"], .activity-row[data-kind="search"], .activity-row[data-kind="read"], .activity-row[data-kind="prose"], .activity-row[data-kind="plan"] { padding-left: calc(var(--speaker-column) - 7px); }
.activity-row[data-selected="true"] { background: var(--selection-bg); }
.activity-row .glyph { text-align: center; color: var(--text-faint); }
.activity-row .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-row .metric { font-variant-numeric: tabular-nums; }
.status-mark { width: 1.2em; text-align: center; }
.status-mark[data-tone="ok"] { color: var(--add); }
.status-mark[data-tone="bad"] { color: var(--del); }
.status-mark[data-tone="warn"] { color: var(--warn); }
.status-mark[data-tone="dim"] { color: var(--text-faint); }
.activity-row[data-kind="tool"] .glyph { color: var(--note); }
.app-toolbar { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-bottom: 1px solid var(--border); background: var(--bg-surface); min-width: 0px; user-select: none; min-height: 38px; }
.workspace-toolbar[data-has-workspace-color="true"] { background: color-mix(in srgb, var(--workspace-color) 18%, var(--bg-surface)); }
.workspace-toolbar[data-has-workspace-color="true"] .workspace-menu-name { color: color-mix(in srgb, var(--workspace-color) 76%, var(--text)); }
.detached-shell[data-has-workspace-color="true"] .app-toolbar, .detached-shell[data-has-workspace-color="true"] [data-dock-panel] > .dock-header { background: color-mix(in srgb, var(--workspace-color) 18%, var(--bg-surface)); }
.app-toolbar > button, .app-toolbar > .workspace-menu > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; border-radius: 3px; min-height: 24px; padding: 2px 8px; }
.toolbar-brand { font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; margin: 0px 4px 0px 6px; font-weight: 700; letter-spacing: 0.01em; color: var(--text); user-select: none; }
.toolbar-preview { padding: 1px 5px; border: 1px solid var(--warn); border-radius: var(--radius-sm); color: var(--warn); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.toolbar-context { flex: 1 1 0%; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-faint); padding: 0px 8px; user-select: none; }
.toolbar-context.titlebar-drag-space { cursor: default; }
.toolbar-settings[aria-pressed="true"] { background: var(--bg-raised); color: var(--accent); }
.app-toolbar .toolbar-build::before { content: ""; flex: 0 0 auto; width: 1px; height: 18px; background: var(--border); }
.menubar { display: flex; flex: 0 0 auto; align-items: center; }
.app-toolbar .menubar-label { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: var(--radius); background: none; font-size: 13px; color: var(--text-dim); }
.app-toolbar .menubar-label:hover, .app-toolbar .menubar-label:focus-visible, .app-toolbar .menubar-label[aria-expanded="true"] { background: var(--bg-raised); color: var(--text); outline: none; }
.menubar[data-cued="true"] .menubar-mnemonic { text-decoration: underline; }
.menubar-popover { width: auto; min-width: 240px; }
.app-toolbar .menubar-popover .workspace-menu-item { align-items: center; }
.menubar-shortcut { margin-left: auto; padding-left: 24px; font-family: inherit; font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.window-controls { display: flex; margin-left: 4px; align-self: stretch; }
.app-toolbar:has(.window-controls[data-maximized="true"]) { position: relative; height: 32px; min-height: 32px; padding: 0px 132px 0px 8px; }
.window-controls[data-maximized="true"] { position: absolute; top: 0px; right: 0px; bottom: 0px; margin: 0px; }
.window-controls button { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 0px; align-self: stretch; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; color: var(--text-dim); }
.window-controls button:hover { background: var(--bg-raised); color: var(--text); }
.window-controls .window-close:hover { background: var(--del); color: var(--on-danger); }
.atlas-logo { flex: 0 0 auto; color: var(--text); }
.toolbar-divider { width: 1px; height: 18px; margin: 0px 6px; background: var(--border); }
.workspace-menu { position: relative; }
.app-toolbar .workspace-menu-trigger { flex: 0 0 auto; white-space: nowrap; gap: 8px; padding: 3px 8px 3px 10px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; color: var(--text); }
.app-toolbar .workspace-menu-trigger:hover, .app-toolbar .workspace-menu-trigger[aria-expanded="true"] { border-color: var(--border); background: var(--bg-raised); }
.workspace-menu-name { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.workspace-menu-kind { padding: 0px 5px; border: 1px solid var(--border); border-radius: 3px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); }
.workspace-menu-popover { position: absolute; top: calc(100% + 6px); left: 0px; width: 300px; max-height: 60vh; overflow: auto; padding: 6px; cursor: default; }
.workspace-menu-popover[data-align="end"] { left: auto; right: 0px; width: 220px; }
.workspace-menu-label { padding: 4px 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); }
.app-toolbar .workspace-menu-item { border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: transparent; display: flex; justify-content: flex-start; align-items: flex-start; gap: 8px; width: 100%; padding: 6px 8px; border-radius: 4px; text-align: left; font-size: 13px; color: var(--text); }
.app-toolbar .workspace-menu-item:hover, .app-toolbar .workspace-menu-item:focus-visible { background: color-mix(in srgb, var(--accent) 12%, transparent); outline: none; }
.app-toolbar .workspace-menu-item:disabled { color: var(--text-faint); }
.workspace-menu-check { display: inline-flex; justify-content: center; width: 14px; flex: 0 0 auto; color: var(--accent); }
.workspace-menu-item-text { display: flex; flex-direction: column; min-width: 0px; }
.workspace-menu-item-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--text-faint); }
.workspace-menu-engine { margin-left: 8px; font-size: 11px; color: var(--text-dim); }
.workspace-menu-item-text .workspace-menu-engine small { margin-left: 4px; display: inline; }
.workspace-menu-item-status { display: inline-flex; align-items: center; margin-left: auto; align-self: center; padding-left: 8px; }
.workspace-menu-trigger .thread-unseen { width: 6px; height: 6px; margin: 0px; }
.workspace-menu-rule { height: 1px; margin: 6px 4px; background: var(--border); }
.workspace-color-control { position: relative; display: inline-flex; flex: 0 0 auto; }
.workspace-color-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 2px 8px 6px; }
.workspace-color-inline .workspace-color-auto-button { min-height: 24px; padding: 2px 7px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); color: var(--text-dim); font-size: 11px; }
.workspace-color-inline .workspace-color-auto-button[aria-pressed="true"] { border-color: var(--text-dim); color: var(--text); }
.workspace-color-inline .workspace-color-option { width: 24px; height: 24px; }
.workspace-color-inline .workspace-color-option[aria-pressed="true"] { border-color: var(--text-dim); background: var(--bg-surface); }
.app-toolbar .workspace-color-trigger { display: inline-flex; width: 24px; min-width: 24px; min-height: 24px; padding: 4px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); }
.app-toolbar .workspace-color-trigger:hover, .app-toolbar .workspace-color-trigger[aria-expanded="true"] { background: var(--bg-raised); border-color: var(--text-faint); }
.workspace-color-swatch { display: inline-block; width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: var(--text-faint); box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg) 75%, transparent); }
.workspace-color-popover { position: absolute; z-index: var(--layer-popover); top: calc(100% + 6px); left: 0px; width: 224px; padding: 8px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg-raised); box-shadow: 0 8px 24px color-mix(in srgb, var(--text) 25%, transparent); }
.workspace-color-title { padding: 3px 5px 8px; color: var(--text-dim); font-size: 11px; font-weight: 600; }
.workspace-color-auto { display: grid; grid-template-columns: 16px 1fr; grid-template-rows: auto auto; align-items: center; gap: 1px 8px; width: 100%; padding: 6px; border: 0px; border-radius: 3px; background: transparent; color: var(--text); text-align: left; }
.workspace-color-auto .workspace-color-swatch { grid-row: 1 / span 2; }
.workspace-color-auto small { color: var(--text-faint); font-size: 10px; }
.workspace-color-auto:hover, .workspace-color-option:hover, .workspace-color-auto[aria-checked="true"] { background: var(--bg-surface); }
.workspace-color-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 8px 3px 2px; border-top: 1px solid var(--border); margin-top: 6px; }
.workspace-color-option { display: flex; align-items: center; justify-content: center; height: 28px; border: 1px solid transparent; border-radius: 3px; background: transparent; }
.workspace-color-option[aria-checked="true"] { border-color: var(--text-dim); background: var(--bg-surface); }
.workspace-color-option .workspace-color-swatch { width: 14px; height: 14px; }
.app-toolbar .toolbar-update { width: 28px; min-width: 28px; height: 26px; margin-left: 4px; padding: 0px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border)); color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.app-toolbar .toolbar-update:hover { background: color-mix(in srgb, var(--accent) 18%, var(--bg)); }
.activity-verb { display: inline-block; min-width: 5.5em; margin-right: 8px; color: var(--text-faint); }
.activity-label strong { font-weight: 500; color: var(--text); }
.activity-result { color: var(--text-faint); }
.dock-workspace { position: relative; min-width: 0px; min-height: 0px; overflow: clip; background: var(--bg); margin: 6px; }
.dock-panel[hidden] { display: none; }
.dock-panel { position: absolute; display: flex; flex-direction: column; min-width: 0px; min-height: 0px; overflow: hidden; background: var(--bg-surface); --header-height: 30px; border: 1px solid var(--border); border-radius: 4px; }
.dock-floating { border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow-popover); }
.dock-header { display: flex; align-items: center; gap: 4px; height: var(--header-height); min-height: var(--header-height); padding: 0px 6px 0px 8px; border-bottom: 1px solid var(--border); background: var(--bg-surface); touch-action: none; user-select: none; }
.dock-tabs { display: flex; flex: 1 1 0%; min-width: 0px; overflow-x: auto; scrollbar-width: none; }
.dock-tab { border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; border-radius: 3px; padding: 2px 7px; min-height: 20px; font-size: 11.5px; line-height: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; touch-action: none; font-weight: 500; }
.dock-tab[aria-selected="true"] { color: var(--text); background: none; }
.dock-tab[data-cue] { animation: 400ms ease-in-out 0s 3 normal none running dock-tab-cue; }
@keyframes dock-tab-cue {
  50% { color: var(--text); background: color-mix(in srgb, var(--accent) 28%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .dock-tab[data-cue] { animation: auto ease 0s 1 normal none running none; color: var(--text); background: color-mix(in srgb, var(--accent) 20%, transparent); }
}
.dock-icon-button, .dock-actions-button { border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; border-radius: 3px; min-height: 20px; padding: 0px 5px; color: var(--text-faint); flex-shrink: 0; }
.dock-icon-button:hover, .dock-actions-button:hover, .dock-icon-button[aria-pressed="true"] { background: var(--bg-raised); color: var(--text); }
.dock-menu { position: fixed; display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: calc(-16px + 100vw); max-height: calc(-16px + 100vh); box-sizing: border-box; gap: 4px; padding: 8px; font-size: 12px; }
.dock-menu-edges { display: flex; flex-wrap: wrap; gap: 4px; }
.dock-menu-edges button { text-transform: capitalize; }
.dock-content { display: flex; flex: 1 1 0%; min-width: 0px; min-height: 0px; }
.dock-content > * { flex: 1 1 0%; min-width: 0px; min-height: 0px; }
.dock-content .pane { border-right-width: medium; border-right-style: none; border-right-color: currentcolor; background: var(--bg); }
.dock-divider { position: absolute; z-index: var(--layer-raised); background: transparent; touch-action: none; }
.dock-divider::before { content: ""; position: absolute; }
.dock-divider-x { cursor: col-resize; }
.dock-divider-x::before { inset: 0px -3px; }
.dock-divider-y { cursor: row-resize; }
.dock-divider-y::before { inset: -3px 0px; }
.dock-divider:hover, .dock-divider:focus-visible { background: var(--accent); }
.dock-resize { position: absolute; right: 0px; bottom: 0px; width: 16px; height: 16px; cursor: nwse-resize; touch-action: none; background: linear-gradient(135deg, transparent 50%, var(--border) 50%); }
.dock-drag-hint { position: absolute; z-index: var(--layer-dock-overlay); pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 11px; letter-spacing: 0.02em; color: var(--text); border: 2px solid var(--accent); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 22%, var(--bg-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 45%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 32%, transparent); animation: 110ms ease-out 0s 1 normal none running dock-target-appear; }
.dock-source-status { position: fixed; z-index: var(--layer-dock-overlay); top: 48px; left: 50%; width: 160px; height: 90px; transform: translateX(-50%); }
.dock-drop-compass { display: grid; grid-template: repeat(3, 18px) / repeat(3, 18px); place-items: center; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-popover); font-size: 14px; line-height: 1; color: var(--text-dim); }
.dock-drop-compass > span { display: grid; width: 18px; height: 18px; place-items: center; }
.dock-drop-compass > span.active { border-radius: 3px; color: var(--text); background: var(--accent); }
.dock-drop-label { padding: 3px 7px; border-radius: var(--radius-sm); background: var(--bg-raised); box-shadow: var(--shadow-popover); font-weight: 600; white-space: nowrap; }
@keyframes dock-target-appear {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}
.dock-drag-hint.floating { border-style: solid; background: var(--bg-raised); box-shadow: var(--shadow-popover); opacity: 0.9; border-width: 1px; border-color: var(--border); }
.dock-drag-caret { position: absolute; z-index: var(--layer-dock-overlay); background: var(--accent); border-radius: 1px; pointer-events: none; box-shadow: 0 0 6px var(--accent); }
.detached-shell { display: grid; grid-template-rows: auto minmax(0px, 1fr); height: 100%; min-height: 0px; }
.detached-shell.detached-single { grid-template-rows: 1fr; }
.detached-shell.detached-single .dock-workspace { margin: 0px; }
.detached-shell.detached-single .dock-panel { border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; }
.dock-header:has(.window-controls) { position: relative; padding-right: 132px; }
.dock-header .window-controls { position: absolute; top: 0px; right: 0px; bottom: 0px; z-index: var(--layer-raised); margin: 0px; }
.dock-header:has(.window-controls) .dock-tabs { flex: 0 1 auto; min-width: 0px; }
.dock-dock-back { display: inline-flex; align-items: center; justify-content: center; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; border-radius: 3px; min-height: 20px; padding: 2px 8px; font-size: 12px; color: var(--text-dim); white-space: nowrap; }
.dock-dock-back:hover { background: var(--bg-raised); color: var(--text); }
.detached-content { display: grid; min-height: 0px; }
.detached-content > .pane { border-right-width: medium; border-right-style: none; border-right-color: currentcolor; }
.pane:focus { outline: none; }
.pane { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; background: var(--bg-surface); border-right: 1px solid var(--border); }
.pane:last-child { border-right-width: medium; border-right-style: none; border-right-color: currentcolor; background: var(--bg); }
.pane-header { display: flex; align-items: center; gap: 8px; height: var(--header-height); min-height: var(--header-height); padding: 0px 8px; border-bottom: 1px solid var(--border); font-size: 11px; line-height: 16px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.pane-body { flex: 1 1 0%; overflow: auto; min-height: 0px; }
.pane-title { text-transform: none; color: var(--text); font-family: var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-content .pane, .dock-content .pane:last-child { background: var(--bg-surface); }
.dock-divider:hover, .dock-divider:focus-visible { background: color-mix(in srgb, var(--accent) 60%, transparent); }
.dock-tabs:has(.dock-tab + .dock-tab) .dock-tab[aria-selected="true"] { background: var(--bg-raised); }
.dock-icon-button, .dock-actions-button { min-width: 28px; min-height: 28px; font-size: 15px; color: var(--text-dim); }
.dock-row { display: grid; grid-template-columns: minmax(0px, 1fr); min-width: 0px; min-height: 0px; }
.dock-row[data-strip="true"] { grid-template-columns: auto minmax(0px, 1fr); }
.workspace-group { border-bottom: 1px solid var(--border); }
#workspace-rail > .pane-body { display: flex; flex-direction: column; }
.workspace-group:has(> .document-list) { display: flex; flex: 1 0 auto; flex-direction: column; border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }
.workspace-row { display: flex; align-items: center; gap: 4px; padding: 0px 4px 0px 5px; }
.workspace-rail-label { flex: 1 1 0%; min-height: var(--row-height); display: flex; align-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); }
.thread-list { display: flex; flex-direction: column; padding-bottom: 4px; }
.thread-more { align-self: flex-start; margin: 2px 0px 0px 19px; padding: 2px 5px; border: 1px solid transparent; background: transparent; color: var(--accent); font-size: 12px; }
.thread-more:hover { border-color: var(--border); background: var(--bg-raised); }
.thread-row { display: flex; align-items: center; gap: 4px; padding-left: 16px; }
.thread-row[data-active="true"] { background: var(--selection-bg); }
.thread-name { flex: 1 1 0%; min-width: 0px; text-align: left; border-color: transparent; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); }
.thread-row[data-active="true"] .thread-name { color: var(--text); }
.thread-name-edit { flex: 1 1 0%; min-width: 0px; min-height: 0px; padding: 1px 4px; }
.thread-unseen { width: 7px; height: 7px; flex: 0 0 auto; margin: 0px 3px; border-radius: 50%; background: var(--accent); }
.thread-subagent-count { flex: 0 0 auto; padding: 1px 4px; border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--text-dim); font-size: 10.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thread-row .icon-button[aria-pressed="true"] { color: var(--accent); }
.document-list { flex: 1 0 auto; padding: 0px 0px 6px; }
.document-list[data-dropping] { outline: 1px solid var(--accent); outline-offset: -1px; background: color-mix(in srgb, var(--accent) 8%, var(--bg-surface)); }
.document-list-title { padding: 0px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); flex: 1 1 0%; }
.document-row { display: flex; align-items: flex-start; gap: 10px; width: calc(100% - 8px); min-height: 40px; padding: 6px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 3px; background: none; text-align: left; font-size: 12.5px; color: var(--text-dim); margin: 1px 4px; }
.document-row:hover { background: var(--bg-raised); color: var(--text); }
.document-row[data-open="true"] { background: var(--selection-bg); color: var(--text); }
.document-row-mark { color: var(--accent); flex: 0 0 auto; margin-top: 1px; opacity: 0.85; }
.document-row-title { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: normal; font-size: 13px; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.file-tree-row { display: flex; align-items: center; gap: 4px; width: 100%; min-height: 22px; padding: 1px 8px 1px 10px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; text-align: left; font-size: 12.5px; color: var(--text-dim); }
.file-tree-row:hover { background: var(--bg-raised); color: var(--text); }
.file-tree-row[data-active] { background: var(--selection-bg); color: var(--text); }
.file-tree-row:focus-visible { outline: 1px solid var(--accent); outline-offset: -1px; }
.file-tree-root { color: var(--text); font-weight: 600; }
.file-tree-mark { flex: 0 0 auto; width: 16px; color: var(--text-faint); font-size: 10px; text-align: center; }
.file-tree-kind { flex: 0 0 auto; width: 16px; font: 600 9px/1 var(--font-mono); letter-spacing: -0.04em; text-align: center; color: var(--text-faint); }
.file-tree-kind[data-kind="cpp"] { color: var(--code-kw); }
.file-tree-kind[data-kind="header"] { color: var(--code-ty); }
.file-tree-kind[data-kind="csharp"] { color: var(--code-fn); }
.file-tree-kind[data-kind="script"] { color: var(--code-str); }
.file-tree-kind[data-kind="shell"] { color: var(--add); }
.file-tree-kind[data-kind="data"] { color: var(--code-num); }
.file-tree-kind[data-kind="config"] { color: var(--text-dim); font-size: 11px; }
.file-tree-kind[data-kind="doc"] { color: var(--accent); }
.file-tree-kind[data-kind="image"] { color: var(--code-const); font-size: 11px; }
.file-tree-kind[data-kind="text"] { color: var(--text-dim); font-size: 11px; }
.file-tree-group { position: relative; }
.file-tree-group::before { content: ""; position: absolute; top: 0px; bottom: 0px; left: calc(18px + var(--guide-depth) * 12px); width: 1px; background: var(--border); pointer-events: none; }
.file-tree-body:hover .file-tree-group::before { background: color-mix(in srgb, var(--text-faint) 60%, transparent); }
.file-tree-name { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-tree-note { margin: 2px 8px 4px; color: var(--text-faint); font-size: 11.5px; }
.file-tree-note[data-tone="error"] { color: var(--del); }
.document-list-bar { display: flex; align-items: center; padding-right: 4px; }
.document-list-head { display: flex; flex: 1 1 0%; align-items: center; gap: 6px; min-width: 0px; min-height: var(--row-height); margin: 0px; padding: 0px 10px; font: inherit; color: var(--text); }
.document-list-count { min-width: 18px; padding: 0px 5px; border-radius: 8px; background: var(--bg-raised); font-size: 11px; text-align: center; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.document-row-text { display: flex; flex-direction: column; gap: 1px; min-width: 0px; }
.document-row-meta { font-size: 11.5px; color: var(--text-faint); }
.annotation-explorer { padding-bottom: 4px; }
.rail-list-body { padding: 2px 5px 0px; }
.rail-filter { display: block; margin: 0px 3px 6px; }
.rail-filter input { width: 100%; min-width: 0px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-surface); color: var(--text); font: 12px var(--font-ui); }
.annotation-list { display: grid; gap: 3px; }
.annotation-list-item { display: flex; align-items: flex-start; min-width: 0px; border-radius: 4px; }
.annotation-list-item:hover, .annotation-list-item:focus-within { background: var(--bg-raised); }
.annotation-list-open { display: grid; flex: 1 1 0%; gap: 1px; min-width: 0px; padding: 4px 5px 4px 8px; border: 0px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.annotation-list-head { display: flex; align-items: center; gap: 6px; min-width: 0px; }
.annotation-list-title { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 600; }
.annotation-list-path { display: flex; min-width: 0px; overflow: hidden; white-space: nowrap; color: var(--text-faint); font: 10.5px/1.4 var(--font-mono); }
.annotation-list-dir, .annotation-list-file { overflow: hidden; text-overflow: ellipsis; }
.annotation-list-dir { flex: 0 1 auto; min-width: 1.5em; }
.annotation-list-file { flex: 0 0 auto; max-width: 100%; color: var(--text-dim); }
.annotation-state { flex: 0 0 auto; padding: 0px 4px; font-size: 10.5px; border: 1px solid var(--border); border-radius: 3px; color: var(--text-dim); }
.annotation-state-moved { border-style: dashed; color: var(--accent); }
.annotation-state-changed, .annotation-state-symbol { border-color: color-mix(in srgb, var(--warn) 55%, var(--border)); color: var(--warn); }
.annotation-state-detached { border-color: color-mix(in srgb, var(--del) 55%, var(--border)); color: var(--del); }
.annotation-list-delete { flex: 0 0 auto; margin: 2px 2px 0px 0px; opacity: 0.7; }
.annotation-list-delete:hover { color: var(--del); }
.rail-list-empty { margin: 8px 5px; color: var(--text-faint); font-size: 11.5px; }
.annotation-list-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 4px 1px; color: var(--text-faint); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.annotation-load-more { padding: 2px 5px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--accent); font: inherit; cursor: pointer; }
.annotation-load-more:hover:not(:disabled) { border-color: var(--border); background: var(--bg-raised); }
.annotation-load-more:disabled { opacity: 0.6; }
@media (max-width: 720px) {
  .annotation-diff-columns { grid-template-columns: minmax(0px, 1fr); }
  .annotation-diff-columns section + section { border-top: 1px solid var(--border); border-left: 0px; }
}
.document-row-wrap { position: relative; }
.document-row-delete { position: absolute; top: 8px; right: 8px; opacity: 0; }
.document-row-wrap:hover .document-row-delete, .document-row-delete:focus-visible { opacity: 1; }
.document-row-delete:hover { color: var(--del); }
.document-row-wrap .document-row { padding-right: 28px; }
.document-list-error { margin: 4px 12px; }
.rail-strip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 40px; padding: 8px 0px; border-right: 1px solid var(--border); background: var(--bg-surface); }
.rail-strip button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 4px; background: none; color: var(--text-dim); }
.rail-strip button:hover { background: var(--bg-raised); color: var(--text); }
.rail-strip button[data-active="true"] { color: var(--text); box-shadow: -2px 0 0 var(--accent); border-radius: 0px 4px 4px 0px; }
.rail-strip .rail-strip-end { margin-top: auto; }
.rail-strip button:focus-visible { outline: 1px solid var(--accent); outline-offset: -1px; }
.rail-strip-dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.rail-strip-count { position: absolute; right: 1px; bottom: 1px; min-width: 14px; padding: 0px 3px; border-radius: 7px; background: var(--bg-raised); color: var(--text-dim); font-size: 9px; line-height: 14px; text-align: center; }
.dock-panel:has(> .dock-content > .pane.shell-permissive) { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
.composer { position: relative; container-type: inline-size; border-top: 1px solid var(--border); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-surface); }
.composer-attachment-error, .composer-error { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.composer-attachment-error .icon-button, .composer-error .icon-button { flex-shrink: 0; }
.composer-input { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-family: var(--font-ui); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 6px 8px; width: 100%; min-height: 34px; resize: vertical; line-height: 1.45; }
.composer-commands { display: flex; flex-direction: column; margin: 0px; padding: 2px 0px; list-style: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); max-height: 14rem; overflow: auto; }
.composer-commands li { display: grid; grid-template-columns: minmax(8ch, max-content) minmax(0px, 1fr); gap: 12px; padding: 3px 8px; font-size: 12px; line-height: 18px; cursor: pointer; }
.composer-commands li[aria-selected="true"] { background: var(--selection-bg); }
.power-user-session-row { display: grid; gap: 6px; padding-top: 8px; }
.composer-command-name { font-family: var(--font-mono); color: var(--text); }
.composer-command-help { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); }
.transcript { display: flex; flex-direction: column; }
.tool-activity-group { --activity-margin: 1px 0; margin: 6px 12px 6px calc(22px + var(--speaker-column)); min-width: 0px; }
.tool-activity-toggle { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 24px; padding: 2px 4px; text-align: left; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg-raised) 65%, transparent); color: var(--text-dim); }
.tool-activity-toggle:hover { background: var(--bg-raised); }
.tool-activity-unfinished { color: var(--text-faint); font-size: 11px; }
.tool-activity-current { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-faint); }
.tool-activity-count { flex: 0 0 auto; white-space: nowrap; }
.transcript-bottom-fade { position: sticky; z-index: var(--layer-raised); bottom: 0px; display: flex; justify-content: center; align-items: flex-end; flex: 0 0 42px; width: 100%; margin-top: -42px; pointer-events: none; padding-bottom: 4px; background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--bg-surface) 72%, transparent) 52%,
    var(--bg-surface)
  ); }
.entry { display: grid; grid-template-columns: var(--speaker-column) 1fr; gap: 10px; width: 100%; text-align: left; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; padding: 10px 12px; background: none; }
.entry[data-selected="true"] { background: var(--selection-bg); }
.entry-who { font-size: 11px; line-height: 19px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); }
.entry-body { font-size: 13px; line-height: 19px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.entry-prompt { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.entry-prompt[data-selected="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.entry-prompt .entry-who { color: var(--accent); }
.entry:has(> .entry-turn) { grid-template-columns: var(--speaker-column) minmax(0, 1fr) auto; }
.entry-turn { display: flex; flex-wrap: wrap; justify-content: flex-end; align-self: start; gap: 2px 8px; max-width: 16rem; padding-top: 2px; font-size: 11px; line-height: 16px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.entry-turn[data-tone="warn"] .entry-turn-verdict { color: var(--warn); }
.entry-turn[data-tone="bad"] .entry-turn-verdict { color: var(--del); }
.thinking-word { margin-right: 8px; }
.thinking-line { color: var(--text-faint); font-style: italic; }
.thinking-row .glyph .spinner { vertical-align: middle; }
.entry-agent[data-continues="true"] { padding-top: 4px; }
.entry-continues { display: block; width: 10px; margin-left: auto; margin-top: 8px; border-top: 1px solid var(--border); }
.entry-agent .entry-body { white-space: normal; }
.entry-body .md-line, .entry-body .md-group { display: block; }
.entry-body .md-strong { font-weight: 600; }
.entry-body code { font-family: var(--font-mono); font-size: 0.92em; overflow-wrap: anywhere; }
.entry-alert .entry-who { color: var(--del); }
.header-toggle { margin-left: auto; min-height: 20px; padding: 0px 6px; font-size: 11px; text-transform: none; letter-spacing: normal; color: var(--text-dim); border-color: transparent; }
.header-toggle:hover { color: var(--text); border-color: var(--border); }
.agent-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: end; }
.agent-controls label { flex: 1 1 130px; min-width: 0px; display: grid; gap: 4px; font-size: 11px; }
.agent-controls .field-help { flex-basis: 100%; margin: 0px; }
.composer-bar { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; min-height: 22px; min-width: 0px; overflow: hidden; font-size: 11px; color: var(--text-dim); }
.composer-bar > button { flex: 0 0 auto; }
.composer-bar button { min-height: 20px; padding: 0px 6px; font-size: 11px; }
.composer-bar .icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 0px 3px; }
.composer-send { color: var(--text); }
.composer-spacer { flex: 1 1 0%; }
.composer-bar .agent-controls { display: contents; }
.composer-bar .agent-chip { display: inline-flex; align-items: center; gap: 7px; flex: 0 1 auto; min-width: 5rem; max-width: 20rem; overflow: hidden; min-height: 24px; padding: 0px 8px 0px 9px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-raised); color: var(--text); font-size: 12px; }
.composer-bar .agent-chip:hover, .composer-bar .agent-chip[aria-expanded="true"] { border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); }
.agent-chip svg { flex: 0 0 auto; color: var(--text-faint); }
.agent-chip-text { display: inline-flex; gap: 6px; min-width: 0px; overflow: hidden; white-space: nowrap; }
.agent-chip-agent { flex: 0 1 auto; min-width: 0px; overflow: hidden; text-overflow: ellipsis; }
.agent-chip-model { min-width: 0px; overflow: hidden; text-overflow: ellipsis; color: var(--text-dim); }
.agent-chip-model::before { content: "·"; margin-right: 6px; color: var(--text-faint); }
.agent-chip-mismatch { display: inline-grid; flex: 0 0 auto; width: 13px; height: 13px; place-items: center; border-radius: 50%; background: var(--warn); color: var(--bg); font-size: 10px; font-weight: 700; line-height: 1; }
.agent-chip-effort { flex: 0 1 auto; min-width: 0px; overflow: hidden; text-overflow: ellipsis; color: var(--text-faint); }
.agent-chip-effort::before { content: "·"; margin-right: 6px; color: var(--text-faint); }
.composer-bar .composer-toggle { flex: 0 0 auto; min-height: 20px; padding: 0px 7px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: transparent; color: var(--text-faint); white-space: nowrap; }
.composer-bar .composer-toggle[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); }
.composer-bar .composer-toggle.warn[aria-pressed="true"], .composer-bar .composer-toggle.restart-chip { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: color-mix(in srgb, var(--warn) 10%, transparent); color: var(--warn); }
.composer-toggle-error { margin-left: 4px; color: var(--del); font-weight: 600; }
.behavior-picker { position: fixed; z-index: var(--layer-popover); overflow: auto; padding: 4px 0px; }
.behavior-picker .picker-section + .picker-section { border-top: 1px solid var(--border); }
.behavior-picker .composer-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 30px; margin: 3px 0px; padding: 4px 8px; text-align: left; white-space: normal; }
.behavior-picker .composer-toggle[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); }
.behavior-picker .composer-toggle.warn[aria-pressed="true"], .behavior-picker .composer-toggle.restart-chip { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); }
.behavior-picker .workspace-yolo-default { width: 100%; }
.behavior-trigger.has-active { color: var(--text); }
.behavior-trigger.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, var(--border)); }
.composer-overflow-trigger.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, var(--border)); }
.composer-overflow-trigger { display: none; }
.composer-mode-summary { display: none; }
.composer-overflow { position: fixed; z-index: var(--layer-popover); overflow: auto; padding: 4px 0px; }
.composer-overflow .picker-section + .picker-section { border-top: 1px solid var(--border); }
.composer-overflow-action { width: 100%; min-height: 30px; padding: 4px 8px; text-align: left; }
.composer-picker-version { margin: 4px 12px 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.agent-picker { position: fixed; display: flex; flex-direction: column; overflow: auto; padding: 4px 0px 0px; }
.picker-section { padding: 6px 6px 8px; }
.picker-section + .picker-section, .picker-status + .picker-section { border-top: 1px solid var(--border); }
.picker-heading { margin: 4px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); }
.picker-options { display: grid; gap: 1px; }
.picker-options button[role="option"] { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 5px 10px; border: 0px; border-radius: var(--radius-sm); background: none; text-align: left; }
.picker-options button[role="option"]:hover:not(:disabled), .picker-options button[role="option"]:focus-visible { background: var(--bg-surface); }
.picker-options button[role="option"][aria-selected="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.picker-model { display: flex; align-items: center; }
.picker-model > button[role="option"] { flex: 1 1 0%; min-width: 0px; }
.picker-pin { flex: 0 0 auto; width: 26px; min-height: 26px; padding: 0px; border: 0px; background: none; color: var(--text-faint); opacity: 0; }
.picker-model:hover .picker-pin, .picker-pin:focus-visible, .picker-pin[aria-pressed="true"] { opacity: 1; }
.picker-pin[aria-pressed="true"] { color: var(--accent); }
.picker-search { width: 100%; margin-bottom: 4px; }
.picker-group { padding: 4px 10px 2px; font-size: 11px; color: var(--text-faint); }
.picker-option-name { flex: 1 1 0%; min-width: 0px; overflow-wrap: anywhere; }
.picker-option-meta { font-size: 11px; color: var(--text-faint); }
.picker-check { width: 1em; color: var(--accent); text-align: center; }
.picker-options > .picker-start { justify-content: center; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border)); color: var(--accent); }
.picker-options > .picker-start .picker-option-name { flex: 0 0 auto; }
.picker-status { padding: 0px 6px 6px; }
.picker-note, .picker-error { margin: 0px; padding: 4px 10px 6px; font-size: 12px; line-height: 1.5; color: var(--text-dim); overflow-wrap: anywhere; }
.picker-error { color: var(--del); }
.picker-footer { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px; border-top: 1px solid var(--border); background: var(--bg-surface); }
.picker-footer button { min-height: 24px; padding: 0px 8px; border: 0px; background: none; color: var(--text-dim); font-size: 12px; }
.picker-footer button:hover:not(:disabled) { color: var(--text); }
.agent-live { width: 6px; height: 6px; flex: 0 0 auto; border: 1px solid var(--text-faint); border-radius: 50%; }
.agent-live.on { border-color: var(--accent); background: var(--accent); }
.agent-info-float { position: absolute; left: 8px; right: 8px; bottom: 34px; z-index: var(--layer-raised); }
.agent-info-float .agent-facts { margin-top: 0px; box-shadow: var(--shadow-popover); }
.turn-status { display: flex; align-items: center; gap: 6px; min-width: 0px; font-size: 11px; overflow-wrap: anywhere; }
.turn-elapsed { flex-shrink: 0; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.force-stop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.composer.drop-hover { outline: 2px solid var(--accent); outline-offset: -2px; }
.attachment-list { display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.attachment-list summary { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 8px; overflow-wrap: anywhere; }
.attachment-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; padding: 8px; font-size: 12px; }
.attachment-comment { display: block; width: 100%; min-height: 0px; margin-top: 2px; padding: 4px 8px; font: 12px/18px var(--font-ui); resize: vertical; }
.attachment-thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 8px 4px; }
.attachment-thumb { position: relative; flex: 0 0 auto; }
.attachment-thumb-open { display: block; padding: 0px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); overflow: hidden; cursor: zoom-in; }
.attachment-thumb-open img { display: block; width: 72px; height: 72px; object-fit: cover; }
.attachment-thumb.open { flex-basis: 100%; }
.attachment-thumb.open .attachment-thumb-open { cursor: zoom-out; }
.attachment-thumb.open .attachment-thumb-open img { width: auto; height: auto; max-width: 100%; max-height: 320px; object-fit: contain; }
.attachment-thumb-note { display: none; margin-top: 4px; font-size: 11px; color: var(--text-dim); }
.attachment-thumb.open .attachment-thumb-note { display: block; }
.attachment-thumb-open:hover { border-color: var(--accent); }
.attachment-thumb-remove { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; min-height: 0px; box-sizing: border-box; display: grid; place-items: center; padding: 0px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-surface); color: var(--text-dim); font-size: 13px; line-height: 1; }
.attachment-thumb-remove:hover { border-color: var(--del); color: var(--del); }
.attachment-remove { margin-left: auto; padding: 0px 6px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; font-size: 13px; line-height: 1; color: var(--text-faint); }
.attachment-remove:hover { color: var(--del); }
.attached-names { display: block; margin-top: 6px; opacity: 0.75; }
.entry-more { color: var(--text-faint); font-style: italic; }
.entry-answer-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.entry-answer-heading .entry-turn { justify-content: flex-start; padding-top: 0px; max-width: none; }
.entry-answer-title { display: block; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--text); }
.entry-answer-excerpt { display: block; margin-top: 2px; color: var(--text-dim); }
.entry-answer-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 12px; color: var(--accent); }
.entry-answer-viewing { color: var(--text-faint); }
.entry-jump { flex: 0 0 auto; margin-left: auto; padding: 0px 6px; font-size: 12px; white-space: nowrap; }
.entry[data-flash] { animation: 1.6s ease-out 0s 1 normal none running entry-flash; }
@keyframes entry-flash {
  0% { background: color-mix(in srgb, var(--accent) 22%, transparent); }
  100% { background: transparent; }
}
.entry-answer .entry-who { color: var(--accent); }
.entry-answer .entry-body { white-space: normal; }
.entry-thumb { display: block; max-width: 220px; max-height: 120px; border: 1px solid var(--border); border-radius: 3px; }
.transcript-earlier { display: block; margin: 4px auto 10px; font-size: 12px; color: var(--text-dim); }
.transcript-back-latest { margin: 0px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-raised); color: var(--text); box-shadow: 0 3px 12px color-mix(in srgb, var(--bg) 65%, transparent); font-size: 12px; cursor: pointer; pointer-events: auto; }
.transcript-back-latest:hover { border-color: var(--accent); color: var(--accent); }
.transcript-count { padding: 0px 4px; border-radius: 3px; background: var(--bg-raised); font-variant-numeric: tabular-nums; }
.working-row { display: flex; align-items: center; gap: 8px; margin: 8px 0px 0px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 6px; background: color-mix(in srgb, var(--accent) 7%, var(--bg-surface)); color: var(--text-dim); font-size: 12px; box-shadow: 0 -6px 12px var(--bg-surface); }
.live-plan { display: flex; flex-direction: column; gap: 4px; margin: 8px 0px 0px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); font-size: 12px; }
.live-plan-title { align-self: flex-start; color: var(--text-dim); }
.progress-list-body { display: flex; flex-direction: column; gap: 6px; max-height: 32vh; overflow: auto; overscroll-behavior: contain; }
.progress-changes { display: grid; gap: 1px; margin: 0px; padding: 0px; list-style: none; }
.progress-change { display: grid; grid-template-columns: minmax(0px, 1fr) auto auto; gap: 10px; width: 100%; text-align: left; }
.progress-change-path { overflow: hidden; font-family: var(--font-mono); text-overflow: ellipsis; white-space: nowrap; direction: rtl; }
.progress-change-lines .added { color: var(--add); }
.progress-change-lines .removed { color: var(--del); }
.progress-change-status { color: var(--text-dim); }
.progress-change-p4[data-open="false"] { color: var(--warn); }
.progress-change-status[data-status="pending"] { color: var(--warn); }
.progress-change-status[data-status="stale"], .progress-change-status[data-status="rejected"] { color: var(--text-faint); }
.working-row .turn-status { display: inline-flex; gap: 8px; color: var(--text); }
.working-row[data-phase="stopping"] { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: color-mix(in srgb, var(--warn) 8%, var(--bg-surface)); }
.working-queued { padding: 0px 6px; border-radius: 8px; background: var(--bg-raised); color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; }
.working-stop { padding: 1px 10px; font-size: 12px; }
.composer-queue { display: flex; flex-direction: column; gap: 2px; margin: 0px 0px 6px; padding: 0px; list-style: none; }
.composer-queue li { display: flex; align-items: center; gap: 8px; padding: 2px 4px 2px 8px; border-radius: 3px; background: var(--bg-raised); font-size: 12px; }
.composer-queue-badge { flex: 0 0 auto; color: var(--accent); font-family: var(--font-mono); font-size: 11px; }
.composer-queue-text { flex: 1 1 0%; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); }
.composer-queue-meta { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; }
.composer-split { display: inline-flex; gap: 0px; flex: 0 0 auto; border-radius: var(--radius-lg); }
.composer-split > button:first-child { border-top-right-radius: 0px; border-bottom-right-radius: 0px; }
.composer-split .composer-send-options { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; padding-inline: 4px; border-left: 1px solid color-mix(in srgb, var(--text) 18%, transparent); border-top-left-radius: 0px; border-bottom-left-radius: 0px; }
.composer-split button { white-space: nowrap; }
.composer-send-menu { position: fixed; z-index: var(--layer-popover); width: 176px; padding: 4px; }
.composer-send-menu [role="menuitem"] { width: 100%; text-align: left; }
@container (max-width: 520px) {
  .composer-bar .agent-chip { min-width: 2rem; max-width: 10rem; gap: 4px; padding: 0px 5px; }
  .composer-bar .agent-chip-text { flex: 1 1 auto; gap: 3px; }
  .composer-bar .agent-chip-model { max-width: 5.5rem; }
  .composer-bar .agent-chip-effort { max-width: 3.5rem; }
  .composer-bar .agent-chip svg, .composer-bar .agent-chip .agent-live { display: none; }
  .composer-bar .agent-chip-agent { flex: 0 100 auto; }
  .composer-bar .agent-chip-model, .composer-bar .agent-chip-effort { flex: 0 1 auto; }
  .composer-bar .behavior-trigger { display: none; }
  .composer-bar .composer-mode-summary { display: none; }
  .composer-bar .composer-overflow-trigger { display: inline-flex; flex: 0 0 22px; width: 22px; overflow: hidden; padding: 0px; font-size: 0px; justify-content: center; }
  .composer-bar .composer-overflow-trigger::after { content: "⋯"; font-size: 16px; line-height: 1; }
  .composer-bar .composer-spacer { flex: 0 1 4px; }
  .composer-bar { gap: 2px; }
  .composer-split button { padding-inline: 3px; }
  .composer-split .composer-send-options { min-width: 18px; }
}
.transcript .entry, .transcript .activity-row { cursor: pointer; user-select: text; }
.transcript .entry:hover { background: var(--bg-raised); }
.first-run { text-align: left; max-width: 420px; margin: 0px auto 16px; padding: 10px 12px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 4px; }
.first-run p { margin: 0px 0px 8px; }
.approval-inbox, .elicitation-inbox { flex: 0 0 auto; max-height: 48%; overflow: auto; margin: 0px 10px 8px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); }
.elicitation-inbox { container-type: inline-size; padding: 14px 16px; }
.approval-label { color: var(--accent); font-weight: 600; }
.approval-elsewhere { margin: 0px; }
.approval-elsewhere + .approval-elsewhere, .approval-elsewhere + .approval-request { margin-top: 8px; }
.approval-elsewhere > span { color: var(--accent); margin-right: 6px; font-weight: 600; }
.approval-elsewhere button.link { padding: 0px; border: 0px; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; }
.approval-request + .approval-request { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.approval-context, .approval-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.approval-context { margin-bottom: 6px; }
.approval-options button { padding: 5px 10px; }
.standing-shell-grants { margin-bottom: 8px; }
.standing-shell-grants > strong { display: block; margin-bottom: 5px; }
.standing-shell-grant { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.standing-shell-grant code { min-width: 0px; overflow-wrap: anywhere; color: var(--text-dim); }
.standing-shell-grant button { margin-left: auto; }
.approval-request details { margin: 6px 0px; }
.approval-request pre { max-height: 160px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.root-request-facts { display: grid; grid-template-columns: max-content minmax(0px, 1fr); gap: 4px 12px; margin: 0px 0px 8px; }
.root-request-facts dt { color: var(--text-dim); }
.root-request-facts dd { margin: 0px; min-width: 0px; font-weight: 400; overflow-wrap: anywhere; }
.root-request-facts code { font-family: var(--font-mono); font-size: 0.92em; }
.root-request-warning { max-width: 76ch; margin: 0px 0px 10px; color: var(--text-dim); font-size: 12px; line-height: 1.45; }
.root-request-error { display: flex; align-items: flex-start; gap: 10px; margin: 0px 0px 10px; color: var(--del); overflow-wrap: anywhere; }
.root-request-error > span { flex: 1 1 auto; min-width: 0px; }
.approval-options .root-request-approve { color: var(--bg); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.approval-options .root-request-deny { color: var(--del); }
.entry-folder .entry-body { display: flex; flex-direction: column; gap: 2px; min-width: 0px; }
.entry-folder-title { font-weight: 550; }
.entry-folder-path { font-family: var(--font-mono); font-size: 0.92em; color: var(--text-dim); overflow-wrap: anywhere; }
.entry-folder-message { color: var(--text-dim); font-size: 12px; }
.entry-folder[data-tone="ok"] .entry-who { color: var(--add); }
.entry-folder[data-tone="bad"] .entry-who { color: var(--del); }
.entry-folder[data-tone="pending"] .entry-who { color: var(--accent); }
.elicitation-error, .elicitation-validation-error { display: flex; align-items: flex-start; gap: 10px; min-width: 0px; margin: 0px 0px 10px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--del) 45%, var(--border)); border-radius: var(--radius); color: var(--del); background: color-mix(in srgb, var(--del) 7%, var(--bg)); overflow-wrap: anywhere; }
.elicitation-error > span { flex: 1 1 auto; min-width: 0px; }
.elicitation-error button { flex: 0 0 auto; padding: 2px 7px; min-height: 24px; }
.elicitation-validation-error { grid-column: 1 / -1; margin: 0px; font-size: 12px; }
.elicitation-elsewhere { margin: 0px; }
.elicitation-elsewhere + .elicitation-elsewhere, .elicitation-elsewhere + .elicitation-request { margin-top: 8px; }
.elicitation-elsewhere button.link { padding: 0px; border: 0px; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; }
.elicitation-request + .elicitation-request { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; }
.elicitation-context { margin-bottom: 12px; }
.elicitation-source { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 7px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 999px; color: var(--accent); font-size: 10.5px; font-weight: 600; letter-spacing: 0.025em; }
.elicitation-context h3 { max-width: 76ch; margin: 7px 0px 0px; color: var(--text); font-size: 14px; line-height: 1.5; font-weight: 550; overflow-wrap: anywhere; }
.elicitation-form { display: grid; grid-template-columns: minmax(0px, 1fr); gap: 12px; }
.elicitation-field { display: flex; flex-direction: column; gap: 5px; min-width: 0px; margin: 0px; }
.elicitation-field > span:first-child, .elicitation-field legend { color: var(--text); font-weight: 550; }
.elicitation-field small, .elicitation-field p { color: var(--text-dim); font-size: 12px; line-height: 1.45; margin: 0px; overflow-wrap: anywhere; }
.elicitation-field input:not([type="checkbox"]), .elicitation-field select { width: 100%; min-height: 34px; }
.elicitation-field .select-control { width: 100%; max-width: none; }
.elicitation-field select { padding: 4px 30px 4px 9px; color: var(--text); background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); font: inherit; }
.elicitation-field input:not([type="checkbox"]):focus, .elicitation-field select:focus { border-color: var(--accent); }
.elicitation-field fieldset { min-width: 0px; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px; }
.elicitation-field legend { max-width: 100%; padding: 0px 4px; overflow-wrap: anywhere; }
.elicitation-required { display: inline-flex; align-items: center; margin-left: 6px; padding: 0px 5px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-faint); font-size: 10px; font-weight: 500; line-height: 16px; vertical-align: middle; }
.elicitation-check { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; min-width: 0px; margin: 5px 0px; cursor: pointer; }
.elicitation-check input { flex: 0 0 auto; width: 16px; min-height: 16px; margin: 2px 0px 0px; padding: 0px; accent-color: var(--accent); }
.elicitation-check span { min-width: 0px; overflow-wrap: anywhere; }
.elicitation-form > .switch-row-button { min-width: 0px; }
.elicitation-form .switch-row-button { min-height: 48px; }
.elicitation-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0px; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--border); }
.elicitation-options button { min-height: 32px; padding: 5px 12px; }
.elicitation-options .elicitation-submit { margin-left: auto; color: var(--bg); background: var(--accent); border-color: var(--accent); font-weight: 600; text-align: center; }
.elicitation-options .elicitation-submit:hover:not(:disabled) { filter: brightness(1.08); }
.elicitation-options .elicitation-decline { color: var(--del); }
.elicitation-options .elicitation-cancel { border-color: transparent; color: var(--text-dim); }
@container (min-width: 620px) {
  .elicitation-form { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px 16px; }
  .elicitation-form > fieldset, .elicitation-form > .elicitation-options, .elicitation-form > .elicitation-validation-error { grid-column: 1 / -1; }
}
@container (max-width: 360px) {
  .elicitation-options { align-items: stretch; }
  .elicitation-options button { flex: 1 1 auto; }
  .elicitation-options .elicitation-submit { flex: 1 0 100%; order: -1; margin-left: 0px; }
}
.pane[aria-label="Ledger"] > .pane-header { height: 48px; min-height: 48px; padding: 0px 16px; gap: 12px; text-transform: none; letter-spacing: 0px; }
.pane[aria-label="Ledger"] > .pane-header .pane-title { flex: 1 1 0%; min-width: 0px; font-family: var(--font-ui); font-size: 16px; font-weight: 500; color: var(--text); }
.pane[aria-label="Ledger"] .header-toggle { margin-left: 0px; font-size: 12.5px; text-transform: none; letter-spacing: 0px; color: var(--text-dim); }
.pane[aria-label="Ledger"] .transcript-count { margin-left: 4px; padding: 1px 6px; border-radius: 3px; background: var(--bg-raised); color: var(--text); }
.pane[aria-label="Ledger"] > .pane-body { scrollbar-gutter: stable; }
.transcript > [role="list"] { padding-block: 4px 12px; }
.transcript .entry-prompt { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.transcript .entry-prompt:first-child { margin-top: 0px; border-top-color: transparent; }
.transcript .entry-agent:not([data-continues="true"]), .transcript .entry-answer { padding-block: 12px; }
.transcript .entry-agent .entry-body { font-size: 13px; line-height: 1.55; }
.transcript .entry-answer { border-bottom: 1px solid var(--border); }
.transcript .entry-answer[data-selected="true"] { background: var(--selection-bg); }
.transcript .entry-answer-title { font-size: 15px; line-height: 1.4; }
.transcript .entry-answer-excerpt { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); }
.transcript .entry-answer-foot { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.transcript .entry-answer-viewing { color: var(--accent); }
.transcript .activity-row { color: var(--text-dim); }
.transcript .activity-row .metric, .transcript .activity-row .badges { color: var(--text-faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.transcript .activity-row[data-selected="true"] { color: var(--text); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: var(--bg-raised); }
.transcript .activity-row .label { min-width: 0px; }
.composer-input:focus-visible, .composer-bar button:focus-visible, .transcript button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 520px) {
  .transcript .entry { grid-template-columns: minmax(42px, 12vw) minmax(0px, 1fr); gap: 8px; padding-inline: 8px; }
  .transcript .activity-row[data-kind="tool"], .transcript .activity-row[data-kind="search"], .transcript .activity-row[data-kind="read"], .transcript .activity-row[data-kind="prose"], .transcript .activity-row[data-kind="plan"] { padding-left: 8px; }
  .transcript .activity-row { grid-template-columns: 16px minmax(0px, 1fr) minmax(0px, auto) auto; gap: 5px; }
  .transcript .activity-row .badges { max-width: 88px; overflow: hidden; }
  .transcript .entry-answer-foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .transcript *, .composer * { scroll-behavior: auto !important; }
}
.transcript .entry-who { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--text-dim); }
.transcript .entry-prompt .entry-who, .transcript .entry-answer .entry-who { color: var(--accent); }
.transcript .entry-prompt, .transcript .entry-prompt[data-selected="true"] { background: none; }
.transcript .entry-prompt[data-selected="true"] { background: var(--bg-raised); }
.transcript .entry-body, .transcript .entry-agent .entry-body { font-size: 14px; line-height: 1.55; }
.transcript .activity-row, .transcript .activity-row[data-kind] { width: stretch; min-height: 28px; margin: var(--activity-margin, 2px 12px 2px calc(var(--speaker-column) + 22px)); padding: 3px 10px 3px 8px; border: 1px solid transparent; border-radius: 3px; background: color-mix(in srgb, var(--bg-raised) 75%, transparent); font-family: var(--font-ui); font-size: 12.5px; line-height: 18px; }
.transcript .activity-row:hover { background: var(--bg-raised); }
.transcript .activity-row .glyph { display: flex; justify-content: center; }
.transcript .activity-row .metric, .transcript .activity-row .badges { font-size: 11px; }
.transcript .subagent-card { margin: 4px 12px 6px calc(var(--speaker-column) + 22px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); color: var(--text); font-size: 12.5px; }
.subagent-card > summary, .subagent-tool > summary { display: flex; align-items: baseline; gap: 8px; min-height: 30px; padding: 5px 9px; cursor: pointer; list-style-position: inside; }
.subagent-card-title { font-weight: 600; white-space: nowrap; }
.subagent-card-task { flex: 1 1 0%; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); }
.subagent-card-status { flex: 0 0 auto; font-size: 11px; color: var(--text-dim); }
.subagent-card-body { padding: 0px 10px 10px; }
.subagent-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.subagent-card-field { display: block; margin: 5px 0px 3px; font-size: 11px; font-weight: 600; color: var(--text-dim); }
.subagent-card-section { margin-top: 8px; }
.subagent-card-text { margin: 0px; padding: 7px 8px; border-radius: var(--radius-sm); background: var(--bg); font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
.subagent-card-note { display: block; margin: 4px 0px 0px; font-size: 11px; color: var(--text-faint); }
.subagent-card-children { display: grid; gap: 4px; }
.subagent-card-nested { margin: 0px; background: var(--bg); }
.subagent-tool { padding: 0px 8px 7px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.subagent-tool > summary { min-height: 26px; padding: 3px 0px; font-size: 11.5px; }
.subagent-tool > .subagent-card-text + .subagent-card-text { margin-top: 4px; }
@media (max-width: 520px) {
  .transcript .activity-row, .transcript .activity-row[data-kind] { margin-left: 8px; }
  .transcript .subagent-card { margin-left: 8px; }
}
.agent-notice { margin-top: 6px; }
.agent-notice-command { margin: 4px 0px; padding: 4px 8px; border-radius: var(--radius-sm); background: var(--bg); font-family: var(--font-mono); font-size: 12px; user-select: all; }
.agent-facts { flex-basis: 100%; max-height: 22rem; overflow-y: auto; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-surface); }
.facts-group + .facts-group { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.facts-heading, .facts-subheading { display: flex; align-items: center; gap: 6px; margin: 0px 0px 6px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--text); }
.facts-subheading { margin-top: 10px; font-weight: 500; color: var(--text-dim); }
.facts-count { padding: 0px 5px; border-radius: 8px; background: var(--bg-raised); font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.facts-list { margin: 0px; padding: 0px; list-style: none; }
.facts-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 2px 0px; line-height: 1.5; }
.facts-name { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.facts-description { flex: 1 1 0%; min-width: 12rem; font-size: 12px; color: var(--text-dim); }
.facts-empty { margin: 0px; font-size: 12px; color: var(--text-faint); }
.facts-more { margin-top: 4px; padding: 0px; border: 0px; background: none; font-size: 12px; color: var(--accent); cursor: pointer; }
.facts-more:hover { text-decoration: underline; }
.facts-pairs { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0px; font-size: 12px; }
.facts-pairs dt { color: var(--text-faint); }
.facts-pairs dd { margin: 0px; color: var(--text-dim); overflow-wrap: anywhere; }
.facts-meter { position: relative; display: inline-flex; align-items: center; width: 100%; max-width: 16rem; height: 14px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); overflow: hidden; }
.facts-meter-fill { position: absolute; inset: 0px auto 0px 0px; background: var(--accent); opacity: 0.35; }
.facts-meter-label { position: relative; padding-left: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.facts-compact { margin-left: 8px; padding: 2px 7px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--text-dim); font-size: 11px; cursor: pointer; }
.facts-compact:hover { border-color: var(--accent); color: var(--text); }
.facts-methods li { padding: 1px 0px; }
.facts-provenance { margin: 14px 0px 0px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-faint); }
.facts-provenance code { font-family: var(--font-mono); }
.tool-input { margin: 4px 0px 0px; padding: 8px 10px; max-height: 20rem; overflow: auto; border: 1px solid var(--border); border-radius: 3px; background: var(--bg-surface); font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.stage-header { padding: 8px 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; padding-inline: 24px; }
.stage-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--font-ui); font-size: 15px; line-height: 22px; overflow-wrap: anywhere; font-weight: 600; }
.stage-title-text { min-width: 0px; }
.stage-tabs { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--border); background: var(--bg); }
.stage-tab { display: flex; align-items: center; flex: 0 0 auto; border-right: 1px solid var(--border); border-top: 2px solid transparent; }
.stage-tab.current { border-top-color: var(--accent); background: var(--bg-surface); }
.stage-tab > button { min-width: 0px; padding: 3px 4px 3px 10px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--text-dim); white-space: nowrap; }
.stage-tab.current > button { color: var(--text); }
.stage-tab:hover { background: var(--bg-raised); }
.stage-tab-close { flex: 0 0 auto; padding: 0px 8px 0px 4px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; font-size: 14px; line-height: 18px; color: var(--text-faint); }
.stage-tab-close:hover { color: var(--del); }
.stage-tab-menu { position: fixed; display: flex; flex-direction: column; min-width: 170px; padding: 4px; }
.stage-switch { position: relative; flex: 0 0 auto; }
.stage-switch-busy { color: var(--text-faint); font-size: 11px; }
.stage-switch-list { position: absolute; top: calc(100% + 4px); right: 0px; min-width: 280px; max-width: min(520px, 70vw); max-height: 320px; overflow-y: auto; padding: 4px 0px; }
.stage-switch-list .empty { padding: 4px 12px; margin: 0px; }
.stage-scope { font-size: 11px; line-height: 16px; color: var(--text-dim); }
.caveats { margin: 0px; padding: 6px 12px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--warn) 10%, var(--bg)); list-style: none; font-size: 12px; line-height: 18px; }
.caveats li::before { content: "! "; color: var(--warn); font-family: var(--font-mono); }
.answer-doc { padding: 20px 24px 28px; container-type: inline-size; font-size: 14.5px; }
.answer-doc > * { max-width: 78ch; }
.answer-title { margin: 0px 0px 12px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.answer-scope { display: flex; gap: 12px; margin: 0px 0px 16px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); border-radius: 3px; background: color-mix(in srgb, var(--warn) 8%, var(--bg-surface)); font-size: 13px; line-height: 1.5; box-sizing: border-box; }
.answer-scope-label { flex: 0 0 auto; color: var(--warn); font-weight: 600; }
.answer-scope ul { margin: 0px; padding: 0px; list-style: none; }
.answer-scope-atlas { color: var(--text-dim); }
.answer-prose .markdown { font-size: 14.5px; line-height: 1.6; }
.answer-doc > .answer-prose { max-width: none; }
.answer-prose .markdown > :not(pre):not(table) { max-width: 82ch; }
.answer-header .stage-title { font-family: var(--font-ui); font-weight: 600; font-size: 14px; }
.answer-copy { flex: 0 0 auto; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--text-dim); font-weight: 400; font-size: 12px; }
.answer-header { padding: 12px 24px; }
.reading-prose { padding: 20px 24px; }
.reading-prose .markdown { font-size: 14.5px; line-height: 1.6; }
.reading-prose .markdown > :not(pre):not(table) { max-width: 82ch; }
.evidence-claim { overflow-wrap: anywhere; }
.evidence-heading { flex-wrap: wrap; display: flex; align-items: baseline; gap: 12px; margin: 0px 0px 6px; font-size: 18px; font-weight: 600; }
.answer-prose .markdown h1 { font-size: 19px; }
.answer-prose .markdown h2 { font-size: 18px; }
.answer-prose .markdown h3 { font-size: 17px; }
.answer-prose .markdown h1, .answer-prose .markdown h2, .answer-prose .markdown h3 { margin: 20px 0px 8px; }
.answer-prose .markdown pre, .answer-prose .markdown table { max-width: none; }
.evidence { max-width: none; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.evidence-heading span { font-size: 12px; font-weight: 400; color: var(--text-faint); }
.evidence-row { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 20rem); gap: 4px 24px; width: 100%; padding: 8px; border-top-width: medium; border-right-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-left-style: none; border-top-color: currentcolor; border-right-color: currentcolor; border-left-color: currentcolor; border-image: none; border-bottom: 1px solid var(--border); border-radius: 3px; background: none; text-align: left; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.evidence-row:hover, .evidence-row:focus-visible { background: var(--bg-raised); }
.evidence-row.static { grid-template-columns: 1fr; cursor: default; }
.evidence-cite { display: flex; flex-direction: column; min-width: 0px; }
.evidence-file { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.evidence-dir { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--text-faint); }
.answer-edit-counts { display: inline-flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; }
.answer-edit-detail { margin: 4px 0px 8px 8px; padding: 4px 0px 4px 12px; }
@container (max-width: 560px) {
  .evidence-row { grid-template-columns: minmax(0px, 1fr); }
}
.evidence-more { margin-top: 6px; padding: 4px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--accent); font-size: 13px; }
.answer-call { margin-top: 20px; font-size: 12px; color: var(--text-faint); }
.answer-call summary { cursor: pointer; }
.answer-call p { margin: 4px 0px 0px; }
.pane-body > .agent-text { padding: 16px 24px 28px; }
.stage-plan { max-width: 78ch; padding: 16px 24px 28px; font-size: 13.5px; }
.stage-plan .plan-entry-text { white-space: normal; }
.stage-plan-note { margin: 0px 0px 12px; color: var(--text-dim); }
.pane-body > .agent-text > .markdown { max-width: 78ch; font-size: 14.5px; line-height: 1.6; }
.ref-mark { flex: 0 0 auto; }
.code-ref-row { display: grid; grid-template-columns: auto minmax(0px, auto) minmax(0px, 1fr) auto; align-items: center; gap: 12px; width: 100%; margin: 10px 0px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); border-radius: 3px; background: color-mix(in srgb, var(--accent) 7%, var(--bg-surface)); color: var(--text); text-align: left; font-size: 13px; line-height: 1.4; }
.code-ref-row:hover, .code-ref-row:focus-visible { background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface)); }
.code-ref-icon { display: flex; color: var(--accent); }
.code-ref-place { display: flex; flex-direction: column; min-width: 0px; }
.code-ref-name { font-family: var(--font-mono); font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.code-ref-dir { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--text-faint); }
.code-ref-note { min-width: 0px; color: var(--text-dim); }
.code-ref-open { font-size: 12px; color: var(--text-faint); white-space: nowrap; grid-column: 4; justify-self: end; }
.code-ref-row:hover .code-ref-open { color: var(--accent); }
@container (max-width: 520px) {
  .code-ref-row { grid-template-columns: auto minmax(0px, 1fr); }
  .code-ref-note { grid-column: 2; }
  .code-ref-open { display: none; }
}
.tool-doc { padding: 16px 24px 28px; container-type: inline-size; }
.tool-doc > p, .tool-doc > .tool-facts, .tool-doc > .answer-scope, .tool-doc > .tool-failure { max-width: 78ch; }
.tool-result { margin: 0px 0px 12px; font-size: 13.5px; color: var(--text-dim); }
.tool-why, .prompt-text { margin: 0px 0px 12px; font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-facts { display: grid; grid-template-columns: max-content minmax(0px, 1fr); gap: 6px 20px; margin: 0px 0px 14px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); font-size: 13px; }
.tool-facts dt { color: var(--text-faint); }
.tool-facts dd { margin: 0px; min-width: 0px; overflow-wrap: anywhere; }
.tool-failure { margin: 0px 0px 14px; }
.tool-refs { display: flex; flex-direction: column; gap: 4px; }
.tool-refs .code-ref-row { margin: 0px; }
.code-ref-row.compact { grid-template-columns: auto minmax(0px, 1fr); padding: 6px 10px; background: var(--bg); }
.code-ref-row.compact .code-ref-place { flex-direction: row; align-items: baseline; gap: 10px; }
.code-ref-row.compact .code-ref-name { flex: 0 0 auto; }
.code-ref-detail { grid-column: 2 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.tool-code { margin: 10px 0px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); overflow: hidden; }
.tool-section { margin-top: 16px; }
.tool-section-title { margin: 0px 0px 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); }
.tool-paths { margin: 0px; padding: 0px; list-style: none; font-size: 12.5px; }
.p4-rows { display: flex; flex-direction: column; gap: 2px; margin: 0px; padding: 0px; list-style: none; }
.p4-row { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 2px 16px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); font-size: 13px; }
.p4-row-title { min-width: 0px; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 12.5px; white-space: pre-wrap; }
.p4-row-meta { color: var(--text-faint); font-size: 12px; white-space: nowrap; }
.p4-row-detail { grid-column: 1 / -1; color: var(--text-dim); overflow-wrap: anywhere; }
.tool-note { margin: 8px 0px 0px; font-size: 12px; color: var(--text-faint); }
.tool-note code { font-family: var(--font-mono); }
.tool-more { margin-top: 16px; font-size: 12.5px; color: var(--text-dim); }
.tool-more summary { cursor: pointer; }
.elicitation-stage-question { max-width: 78ch; margin-bottom: 20px; }
.elicitation-stage-question > p { margin: 0px; color: var(--text); font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.elicitation-stage-section { max-width: 78ch; margin-top: 20px; }
.elicitation-stage-fields { margin: 0px; padding: 0px; list-style: none; border-top: 1px solid var(--border); }
.elicitation-stage-fields > li { display: grid; grid-template-columns: minmax(140px, 0.7fr) minmax(0px, 1.3fr); gap: 4px 20px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.elicitation-stage-field-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-weight: 550; }
.elicitation-stage-required { color: var(--text-faint); font-size: 10.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.035em; }
.elicitation-stage-description { color: var(--text-dim); font-size: 12.5px; line-height: 1.5; }
.elicitation-stage-choices { grid-column: 2; display: flex; flex-wrap: wrap; gap: 5px; }
.elicitation-stage-choices > span { padding: 1px 7px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-dim); font-size: 11px; }
.elicitation-stage-answers { display: grid; grid-template-columns: minmax(140px, 0.7fr) minmax(0px, 1.3fr); gap: 0px 20px; max-width: 78ch; margin: 0px; border-top: 1px solid var(--border); }
.elicitation-stage-answers dt, .elicitation-stage-answers dd { min-width: 0px; margin: 0px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.elicitation-stage-answers dt { color: var(--text-dim); }
.elicitation-stage-answers dd { overflow-wrap: anywhere; }
.elicitation-stage-outcome { margin: 0px; color: var(--text-dim); }
.elicitation-stage .tool-more h4 { margin: 12px 0px 5px; font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.debug-result { display: grid; gap: 14px; }
.debug-result > .tool-result { margin: 0px; }
.debug-result-section { display: grid; gap: 8px; }
.debug-result-frames, .debug-result-breakpoints { display: grid; gap: 6px; margin: 0px; padding: 0px; list-style: none; }
.debug-result-frames > li, .debug-result-breakpoints > li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; min-width: 0px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-surface); }
.debug-result-frame-name { display: inline-flex; align-items: baseline; gap: 9px; font-weight: 600; }
.debug-result-frame-index { min-width: 1.5em; color: var(--text-faint); font: 11px var(--font-mono); }
.debug-result-location { color: var(--text-dim); }
.debug-result-state { color: var(--text-dim); font-size: 11px; }
.debug-result-state.is-disabled { color: var(--text-faint); }
.debug-result-type { margin-left: 8px; color: var(--text-faint); font-size: 11px; font-weight: 400; }
.debug-result-values { display: grid; grid-template-columns: minmax(100px, 0.7fr) minmax(0px, 1.3fr); gap: 0px 12px; margin: 0px; }
.debug-result-values dt, .debug-result-values dd { min-width: 0px; margin: 0px; padding: 7px 9px; border-bottom: 1px solid var(--border); }
.debug-result-values dt { color: var(--text-dim); }
.debug-result-values dd { overflow-wrap: anywhere; }
.debug-result-values dd > code { white-space: pre-wrap; }
.debug-result-values dd > .debug-result-values { margin-top: 6px; }
.debug-result-scope { padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-surface); }
.debug-result-scope > summary { cursor: pointer; font-weight: 600; }
.debug-result-scope > .debug-result-values { margin-top: 6px; }
@container (max-width: 560px) {
  .elicitation-stage-fields > li, .elicitation-stage-answers { grid-template-columns: minmax(0px, 1fr); }
  .debug-result-values { grid-template-columns: minmax(0px, 1fr); }
  .elicitation-stage-choices { grid-column: 1; }
  .elicitation-stage-answers dt { padding-bottom: 2px; border-bottom: 0px; }
  .elicitation-stage-answers dd { padding-top: 2px; }
  .debug-result-values dt { padding-bottom: 2px; border-bottom: 0px; }
  .debug-result-values dd { padding-top: 2px; }
}
.answer-doc > *, .tool-doc > p, .tool-doc > .tool-facts, .tool-doc > .answer-scope, .tool-doc > .tool-failure, .answer-prose .markdown > :not(pre):not(table), .reading-prose .markdown > :not(pre):not(table), .pane-body > .agent-text > .markdown { max-width: var(--reading-measure); }
.answer-header .answer-kind { font-size: 12.5px; font-weight: 500; color: var(--text-dim); }
.stage-reference { position: fixed; z-index: var(--layer-popover); transform: translateX(-100%); }
.markdown { font-size: 13px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.markdown > :first-child { margin-top: 0px; }
.markdown > :last-child { margin-bottom: 0px; }
.markdown h1, .markdown h2, .markdown h3, .markdown h4 { margin: 1.2em 0px 0.4em; line-height: 1.3; color: var(--text); }
.markdown * + h1, .markdown * + h2, .markdown * + h3 { margin-top: 1.6em; padding-top: 0.9em; border-top: 1px solid var(--border); }
.markdown hr + h1, .markdown hr + h2, .markdown hr + h3 { border-top-width: medium; border-top-style: none; border-top-color: currentcolor; padding-top: 0px; margin-top: 0px; }
.markdown h1 { font-size: 1.35em; }
.markdown h2 { font-size: 1.2em; }
.markdown h3 { font-size: 1.08em; }
.markdown h4 { font-size: 1em; }
.markdown p, .markdown ul, .markdown ol, .markdown blockquote { margin: 0.6em 0px; }
.markdown ul, .markdown ol { padding-left: 1.4em; }
.markdown li + li { margin-top: 0.2em; }
.markdown a { color: var(--accent); }
.markdown blockquote { margin-left: 0px; padding-left: 0.8em; color: var(--text-dim); }
.markdown code { font-family: var(--font-mono); font-size: 0.92em; background: color-mix(in srgb, var(--text) 8%, transparent); border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 3px; padding: 0.05em 0.25em; }
.markdown pre { margin: 0.6em 0px; padding: 10px 12px; overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; }
.markdown pre code { background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 0px; }
.md-code { margin: 0.6em 0px; padding: 8px 0px; overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; }
.path-ref { display: inline; padding: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; font-family: var(--font-mono); font-size: 0.92em; color: inherit; text-decoration: underline dotted var(--accent); text-underline-offset: 2px; cursor: pointer; }
.path-ref:hover { color: var(--accent); text-decoration-style: solid; }
.markdown table { border-collapse: collapse; margin: 0.6em 0px; font-size: 0.95em; }
.markdown th, .markdown td { border: 1px solid var(--border); padding: 4px 8px; text-align: left; }
.markdown th { background: var(--bg-surface); }
.markdown hr { border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-right-style: none; border-bottom-style: none; border-left-style: none; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; border-image: none; border-top: 1px solid var(--border); margin: 1.6em 0px; }
.stage-image { margin: 0px; padding: 12px; }
.stage-image img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 3px; }
.stage-image figcaption { margin-top: 6px; font-size: 12px; color: var(--text-dim); }
.md-image { display: block; max-width: 100%; height: auto; margin: 0.6em 0px; border: 1px solid var(--border); border-radius: 3px; }
.md-image-blocked { color: var(--text-faint); font-style: italic; }
.markdown .path-ref { display: inline-flex; align-items: center; gap: 4px; margin: 0px 1px; padding: 0px 5px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 3px; background: color-mix(in srgb, var(--accent) 10%, var(--bg-surface)); color: var(--accent); font-family: var(--font-mono); font-size: 0.88em; line-height: 1.25; text-decoration: none; vertical-align: baseline; white-space: nowrap; }
.markdown .path-ref:hover, .markdown .path-ref:focus-visible { background: color-mix(in srgb, var(--accent) 20%, var(--bg-surface)); color: var(--text); }
.md-diagram { margin: 10px 0px; padding: 12px; overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-raised); text-align: center; }
.md-diagram svg { max-width: 100%; height: auto; }
.md-diagram-loading { color: var(--text-faint); font-size: 12px; }
.md-diagram-error { text-align: left; color: var(--text-dim); }
.markdown .katex-display { margin: 10px 0px; overflow: auto hidden; }
.markdown .katex { font-size: 1.08em; }
.viz { --viz-accent: var(--accent); --viz-add: var(--add); --viz-del: var(--del); --viz-warn: var(--warn); --viz-note: var(--note); --viz-muted: var(--text-faint); margin: 12px 0px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-surface); overflow: hidden; }
.viz-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--border); background: var(--bg-raised); }
.viz-title { flex: 1 1 0%; min-width: 0px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-actions { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.viz:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
.viz-kind { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.viz-body { padding: 10px; }
.viz-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 8px 10px; border-top: 1px solid var(--border); }
.viz-button, .viz-picker-option { padding: 2px 10px; font-size: 12px; }
.viz-slider, .viz-picker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.viz-slider input[type="range"] { width: 140px; accent-color: var(--accent); }
.viz-slider-label { color: var(--text-dim); }
.viz-slider-value, .viz-step-count { min-width: 3.5em; font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.viz-picker { gap: 2px; }
.viz-picker .viz-slider-label { margin-right: 6px; }
.viz-picker-option[aria-checked="true"] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.viz-error-message { margin: 8px 10px; color: var(--del); font-size: 12px; }
.viz-error pre { margin: 0px 10px 10px; max-height: 200px; overflow: auto; }
.viz-svg { display: block; width: 100%; height: auto; touch-action: none; }
.viz-grid { stroke: var(--border); stroke-width: 1; }
.viz-axis { stroke: var(--text-faint); stroke-width: 1; }
.viz-tick, .viz-readout, .viz-axis-label, .viz-annotation { fill: var(--text-faint); font-family: var(--font-ui); font-size: 11px; font-variant-numeric: tabular-nums; }
.viz-axis-label { fill: var(--text-dim); }
.viz-annotation { fill: var(--text-dim); paint-order: stroke; stroke: var(--bg-surface); stroke-width: 3px; stroke-linejoin: round; }
.viz-readout { fill: var(--text); }
.viz-region { fill-opacity: 0.12; }
.viz-area { fill-opacity: 0.16; }
.viz-hline { stroke-width: 1.5; stroke-dasharray: 6, 3; }
.viz-point { fill: var(--bg-surface); stroke-width: 2; }
.viz-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.viz-line-thin { stroke-width: 1.25; }
.viz-mark, .viz-cursor { stroke: var(--text-faint); stroke-dasharray: 3, 3; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: var(--text-dim); }
.viz-legend svg { margin-right: 6px; vertical-align: middle; }
.viz-caption { margin: 6px 0px 0px; font-size: 12px; color: var(--text-dim); }
.viz-slider-group { display: inline-flex; align-items: center; gap: 4px; }
.viz-reset { padding: 0px 4px; font-size: 12px; line-height: 1.4; }
.viz-readouts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0px; font-size: 12px; }
.viz-readouts div { display: inline-flex; gap: 6px; }
.viz-readouts dt { color: var(--text-dim); }
.viz-readouts dd { margin: 0px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.viz-bars { display: grid; grid-template-columns: minmax(80px, max-content) 1fr max-content; gap: 4px 10px; align-items: center; }
.viz-bar-row { display: contents; }
.viz-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); }
.viz-bar-row[data-hover="true"] .viz-bar-label { color: var(--text); }
.viz-bar-track { position: relative; height: 10px; border-radius: 5px; background: var(--bg-raised); }
.viz-bar-fill { position: absolute; top: 0px; bottom: 0px; left: 0px; border-radius: 5px; }
.viz-bar-track[data-signed="true"] .viz-bar-fill { left: 50%; }
.viz-bar-track[data-signed="true"] .viz-bar-fill[data-negative="true"] { left: auto; right: 50%; }
.viz-bar-value { font-family: var(--font-mono); font-size: 11px; color: var(--text); text-align: right; }
.viz-bar-note { grid-column: 2 / 4; font-size: 12px; color: var(--text-faint); }
.viz-profile-origin { margin: 0px 0px 8px; color: var(--text-faint); font-size: 11px; }
.viz-profile-table { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(120px, 200px) 52px; gap: 3px 10px; align-items: center; }
.viz-profile-row { display: contents; }
.viz-profile-head > span { color: var(--text-faint); font-size: 11px; }
.viz-profile-head > span:not(:first-child) { justify-self: end; }
.viz-profile-sort { padding: 0px; border: 0px; background: none; color: inherit; font: inherit; cursor: pointer; }
.viz-profile-sort:hover, .viz-profile-sort[aria-sort="ascending"], .viz-profile-sort[aria-sort="descending"] { color: var(--text); }
.viz-profile-cell-name { display: flex; min-width: 0px; align-items: baseline; gap: 8px; }
.viz-profile-name { overflow: hidden; padding: 0px; border: 0px; background: none; color: var(--text); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-family: var(--font-mono); font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
button.viz-profile-name { color: var(--accent); cursor: pointer; }
button.viz-profile-name:hover { text-decoration: underline; }
.viz-profile-module { flex: 0 0 auto; color: var(--text-faint); font-size: 11px; }
.viz-profile-share { display: grid; grid-template-columns: 1fr 44px; align-items: center; gap: 8px; }
.viz-profile-path { display: grid; gap: 3px; margin: 8px 0px 0px; padding: 0px; list-style: none; }
.viz-profile-path li { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(120px, 200px) 52px; gap: 10px; align-items: center; }
.viz-profile-runs { margin-top: 8px; }
.viz-profile-columns { display: flex; height: 72px; align-items: flex-end; gap: 1px; border-bottom: 1px solid var(--border); }
.viz-profile-columns > span { flex: 1 1 0px; min-width: 1px; max-width: 8px; background: var(--viz-warn); border-radius: 1px 1px 0px 0px; }
.viz[data-kind="pipeline"] .viz-head { flex-wrap: wrap; padding: 6px 10px; }
.viz[data-kind="pipeline"] .viz-title { flex: 1 1 180px; white-space: normal; }
.viz[data-kind="pipeline"] .viz-body { padding: 8px 10px; }
.viz[data-kind="pipeline"] .viz-kind { display: none; }
.viz ol.viz-pipeline { display: flex; flex-wrap: wrap; gap: 4px; margin: 0px; padding: 0px; list-style: none; }
.viz .viz-pipeline li { display: flex; min-width: 0px; max-width: 100%; margin: 0px; }
.viz-stage { display: flex; align-items: center; gap: 6px; min-width: 0px; min-height: 30px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius); background: var(--bg); color: var(--text-dim); font-size: 12px; line-height: 1.4; text-align: left; }
.viz-stage:hover { border-color: var(--border); background: var(--bg-raised); color: var(--text); }
.viz-stage-label { min-width: 0px; overflow-wrap: anywhere; }
.viz-stage-index { flex: 0 0 auto; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--font-mono); font-size: 11px; background: var(--bg-raised); color: var(--text-faint); }
.viz-pipeline li[data-state="active"] .viz-stage { border-color: color-mix(in srgb, var(--stage-tone) 65%, var(--border)); background: color-mix(in srgb, var(--stage-tone) 10%, var(--bg)); color: var(--text); font-weight: 600; }
.viz-pipeline li[data-state="active"] .viz-stage-index { background: var(--stage-tone); color: var(--bg); }
.viz-stage-card { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; margin: 8px 0px 0px; padding: 8px 0px 0px; border-top: 1px solid var(--border); }
.viz .viz-stage-detail { flex: 1 1 320px; min-width: 0px; margin: 0px; color: var(--text-dim); line-height: 1.55; white-space: pre-wrap; }
.viz-stage-code { margin-left: auto; max-width: 100%; padding: 2px 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--accent); font-family: var(--font-mono); font-size: 11.5px; text-align: left; overflow-wrap: anywhere; }
button.viz-stage-code { cursor: pointer; }
button.viz-stage-code:hover { border-color: var(--accent); }
.viz-stage-code[data-unresolved="true"] { color: var(--warn); }
.viz-timeline { display: flex; flex-direction: column; gap: 4px; }
.viz-tl-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; }
.viz-tl-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); font-size: 12px; }
.viz-tl-track { position: relative; height: 22px; border-radius: 4px; background: var(--bg-raised); }
.viz-tl-span { position: absolute; top: 3px; bottom: 3px; min-width: 2px; padding: 0px 4px; overflow: hidden; border-radius: 3px; color: var(--bg); font-size: 11px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; opacity: 0.85; }
.viz-tl-span[data-hover="true"] { opacity: 1; outline: 1px solid var(--text); }
.viz-tl-mark { position: absolute; top: 0px; bottom: 0px; width: 2px; margin-left: -1px; }
.viz-tl-cursor { position: absolute; top: -2px; bottom: -2px; width: 0px; border-left: 1px dashed var(--text-faint); pointer-events: none; }
.viz-tl-axis .viz-tl-track { height: 14px; background: none; }
.viz-tl-axis .viz-tl-label { font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.viz-tl-tick { position: absolute; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.viz-scene-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--text-dim); font-size: 12px; }
.viz-scene-toolbar > span { flex: 1 1 180px; }
.viz-scene-stage { position: relative; height: clamp(240px, 36vw, 420px); background: var(--bg); outline: none; }
.viz-scene-stage:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
.markdown .viz-scene-stage[data-pointer-focused="true"]:focus-visible { outline: none; }
.viz-scene-holder, .viz-scene-canvas, .viz-scene-still { display: block; width: 100%; height: 100%; }
.viz-scene-canvas { touch-action: none; }
.viz-scene-fps { position: absolute; top: 8px; right: 8px; padding: 3px 6px; color: var(--text-dim); background: var(--bg-surface); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums; pointer-events: none; }
.viz-scene-help { position: absolute; inset: auto 0px 0px; padding: 3px 8px; color: var(--text-dim); background: color-mix(in srgb, var(--bg-surface) 90%, transparent); font-size: 11px; line-height: 16px; pointer-events: none; }
.viz-scene-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 38px; margin: 6px 0px 2px; padding: 4px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-surface); }
.viz-scene-playback { display: inline-flex; align-items: center; gap: 8px; min-width: min(100%, 280px); flex: 1 1 320px; }
.viz-scene-play { flex: 0 0 auto; min-width: 32px; font-weight: 600; text-align: center; }
.viz-scene-playback select { max-width: 150px; min-width: 70px; height: 26px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 6px; color: var(--text); background: var(--bg); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 11px; }
.viz-scene-scrub { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 180px; min-width: 120px; color: var(--text-dim); font-size: 11px; }
.viz-scene-scrub span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-scene-scrub input { flex: 1 1 70px; min-width: 50px; accent-color: var(--accent); }
.viz-scene-scrub output { min-width: 3em; color: var(--text); font: 11px var(--font-mono); text-align: right; }
.viz-scene-still { position: absolute; inset: 0px; object-fit: contain; pointer-events: none; }
.viz-scene-state { position: absolute; inset: auto 8px 30px; padding: 4px 8px; color: var(--text-dim); background: var(--bg-surface); font-size: 12px; pointer-events: none; }
.viz-scene-data { margin-top: 4px; color: var(--text-dim); font-size: 12px; }
.viz-scene-data > summary { cursor: pointer; color: var(--text-faint); }
.viz-scene-data[open] > summary { margin-bottom: 6px; color: var(--text-dim); }
.viz-scene-data pre { max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.viz-scene-table { overflow-x: auto; }
.viz-scene-table td { overflow-wrap: anywhere; font-family: var(--font-mono); }
.viz-canvas-holder { position: relative; margin: -10px; }
.viz-canvas { display: block; width: 100%; }
.viz-tl-tick:first-child { transform: none; }
.viz-tl-tick:last-child { transform: translateX(-100%); }
.document-view { padding: 20px 24px 32px; container-type: inline-size; }
.document-view > * { max-width: var(--reading-measure); }
.document-head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.document-head-row { display: flex; align-items: baseline; gap: 16px; }
.document-title { flex: 1 1 0%; margin: 0px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.document-close { flex: 0 0 auto; font-size: 12px; }
.document-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--text-faint); }
.document-revisions { display: inline-flex; align-items: center; gap: 4px; }
.document-revisions button { min-width: 22px; min-height: 20px; padding: 0px 4px; border: 1px solid var(--border); border-radius: 3px; background: none; color: var(--text-dim); }
.document-revisions button:disabled { opacity: 0.4; }
.document-older { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); border-radius: 3px; background: color-mix(in srgb, var(--warn) 8%, var(--bg-surface)); font-size: 12.5px; }
.document-toc { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-bottom: 18px; padding: 8px 12px; }
.document-toc button { padding: 2px 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; text-align: left; font-size: 13px; color: var(--text-dim); }
.document-toc button:hover { color: var(--accent); }
.document-toc button[data-level="2"] { padding-left: 12px; }
.document-toc button[data-level="3"] { padding-left: 24px; font-size: 12.5px; }
.document-body h1, .document-body h2, .document-body h3 { scroll-margin-top: 12px; }
.document-open { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0px; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 3px; background: color-mix(in srgb, var(--accent) 8%, var(--bg-surface)); color: var(--text); font-size: 13px; text-align: left; }
.document-open:hover { background: color-mix(in srgb, var(--accent) 15%, var(--bg-surface)); }
.answer-document-link { max-width: 100%; margin: 12px 0px 4px; flex-wrap: wrap; }
.answer-document-link strong { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.answer-document-revision { color: var(--text-faint); font-size: 11px; white-space: nowrap; }
.document-delete { flex: 0 0 auto; font-size: 12px; color: var(--text-dim); }
.document-delete:hover { color: var(--del); border-color: color-mix(in srgb, var(--del) 45%, var(--border)); }
.code { margin: 0px; font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-variant-ligatures: none; tab-size: var(--tab-size, 2); }
.code-pane .pane-body { background: var(--code-bg, var(--bg-surface)); color: var(--code-text, var(--text)); }
.code-layout { display: grid; grid-template-columns: minmax(0px, 1fr) 84px; gap: 8px; align-items: start; }
.code-host { container-type: inline-size; }
@container (max-width: 600px) {
  .code-layout { grid-template-columns: minmax(0px, 1fr); gap: 0px; }
  .code-minimap { display: none; }
}
.code-minimap { position: sticky; top: 6px; overflow: hidden; cursor: pointer; touch-action: none; user-select: none; background: var(--code-bg, var(--bg-surface)); }
.code-minimap canvas { display: block; pointer-events: none; }
.code-minimap .code-minimap-bars { position: absolute; top: 0px; left: 0px; }
.code-minimap-viewport { position: absolute; left: 0px; right: 0px; border: 1px solid var(--text-faint); background: color-mix(in srgb, var(--accent) 12%, transparent); pointer-events: none; }
.code-line { display: grid; grid-template-columns: 48px 1fr; gap: 8px; content-visibility: auto; contain-intrinsic-size: auto 20px; }
.code.windowed .code-line { content-visibility: visible; contain-intrinsic-size: none; }
.code.unnumbered { padding: 0px 12px; }
.code.unnumbered .code-line { grid-template-columns: 1fr; gap: 0px; }
.code-line.focus { background: color-mix(in srgb, var(--accent) 12%, transparent); outline: 1px solid var(--accent); outline-offset: -1px; }
.code-line.focus > .gutter { color: var(--accent); }
.code-line.change-added > .gutter { box-shadow: inset -3px 0 0 var(--add); }
.code-line.change-modified > .gutter { box-shadow: inset -3px 0 0 var(--accent); }
.code-line.change-deleted > .gutter { background: linear-gradient(var(--del), var(--del)) right top / 7px 2px no-repeat; }
.code-line > .gutter { padding-right: 8px; color: var(--text-faint); text-align: right; font-variant-numeric: tabular-nums; user-select: none; }
.code-line > .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.code.with-notes .code-line { grid-template-columns: 18px 48px 1fr; gap: 0px; }
.code.with-notes .code-line > .body { margin-left: 8px; }
.note-gutter { display: flex; align-items: stretch; align-self: stretch; min-height: 20px; }
.note-mark { display: grid; place-items: center; width: 100%; align-self: stretch; min-height: 0px; padding: 0px; border: 0px; border-radius: 0px; background: transparent; color: var(--accent); font: 700 14px/20px var(--font-ui); cursor: pointer; transition: background-color 100ms, border-color 100ms, color 100ms, box-shadow 100ms; }
.note-mark.count { font-size: 10px; font-variant-numeric: tabular-nums; }
.note-mark:hover, .note-mark.open { background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--accent); }
.note-mark:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 72%, transparent); outline-offset: -2px; }
.note-mark.moved:not(:hover):not(.open) { outline: 1px dashed var(--accent); outline-offset: -1px; }
.note-mark.changed { border-color: color-mix(in srgb, var(--warn) 48%, transparent); background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); }
.code-line.in-note, .cm-line.in-note { background: color-mix(in srgb, var(--accent) 11%, transparent); box-shadow: none; }
.code-line:has(.note-mark:hover), .code-line:has(.note-mark:focus-visible), .code-line:has(.note-mark.open) { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.code-line:has(.note-mark.open) > .gutter { color: var(--accent); }
.note-peek-row { padding: 6px 12px 10px 22px; content-visibility: visible; }
.note-peek { border: 0px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 6%, var(--bg-surface)); font-family: var(--font-ui); font-size: 13.5px; line-height: 1.55; max-width: 900px; white-space: normal; }
.note-peek-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.note-peek-title { font-weight: 600; flex: 1 1 auto; min-width: 0px; }
.note-peek-symbol { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.note-peek-sequence { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; color: var(--text-faint); font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; }
.note-peek-sequence .note-peek-button { min-width: 22px; font-size: 17px; line-height: 16px; }
.note-peek-sequence .note-peek-button:disabled { opacity: 0.35; cursor: default; }
.note-peek-meta { color: var(--text-faint); font-size: 12px; white-space: nowrap; }
.note-peek-button { border: 1px solid transparent; background: transparent; color: var(--text-dim); border-radius: 4px; padding: 2px 6px; font-size: 12px; cursor: pointer; }
.note-peek-button:hover { border-color: var(--border); color: var(--text); }
.note-peek-state { margin: 0px; padding: 6px 12px 0px; color: var(--text-dim); font-size: 12px; }
.note-peek-state.changed { color: var(--warn); }
.annotation-diff { margin: 8px 12px 0px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-surface); font-size: 12px; }
.annotation-diff > summary { padding: 6px 8px; color: var(--text-dim); cursor: pointer; }
.annotation-diff-columns { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); border-top: 1px solid var(--border); }
.annotation-diff-columns section { min-width: 0px; padding: 7px 9px; }
.annotation-diff-columns section + section { border-left: 1px solid var(--border); }
.annotation-diff-columns h4 { margin: 0px 0px 5px; color: var(--text-faint); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.annotation-diff-columns pre { margin: 0px; max-height: 220px; overflow: auto; color: var(--text); font: 11px/1.5 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.note-peek-confirm-row { display: flex; justify-content: flex-end; padding: 0px 12px 8px; }
.note-peek-button.confirm-anchor { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); color: var(--accent); }
.note-peek-button.confirm-anchor:disabled { opacity: 0.6; cursor: progress; }
.note-peek-body { padding: 4px 12px 10px; }
.note-peek-body .markdown h1, .note-peek-body .markdown h2, .note-peek-body .markdown h3, .note-peek-body .markdown h4 { margin: 0.7em 0px 0.25em; font-size: 1em; }
.note-peek-body .markdown p, .note-peek-body .markdown ul, .note-peek-body .markdown ol { margin: 0.45em 0px; }
.note-peek-body .md-diagram, .note-peek-body .viz { max-height: 210px; overflow: auto; }
.note-peek-body .md-diagram svg { width: auto; max-height: 180px; }
.notes-detached { margin: 0px 12px 8px; padding: 6px 10px; border: 1px dashed var(--border); border-radius: 6px; font-size: 13px; color: var(--text-dim); }
.notes-detached summary { cursor: pointer; }
.notes-detached-row { margin-top: 6px; }
.notes-detached-title { border: 0px; background: transparent; color: var(--text); padding: 2px 0px; cursor: pointer; font: inherit; text-align: left; }
.notes-detached-code { margin: 4px 0px; padding: 6px 8px; max-height: 160px; overflow: auto; font-family: var(--font-mono); font-size: 12px; background: var(--bg-surface); border-radius: 4px; text-decoration-line: line-through; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: color-mix(in srgb, var(--del) 60%, transparent); }
.hit-row { display: grid; grid-template-columns: 1fr; gap: 2px; width: 100%; padding: 4px 12px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; text-align: left; }
.hit-row:hover { background: var(--bg-raised); }
.hit-row.static { cursor: default; }
.hit-row.static:hover { background: none; }
.hit-path { font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--text-dim); }
.hit-line { font-family: var(--font-mono); font-size: 13px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: inherit; border-radius: 2px; }
.hljs-keyword, .hljs-literal, .hljs-selector-tag, .hljs-operator, .hljs-tag, .hljs-name { color: var(--note); }
.hljs-string, .hljs-char, .hljs-regexp, .hljs-template-tag, .hljs-template-variable, .hljs-quote, .hljs-symbol, .hljs-addition { color: var(--add); }
.hljs-number, .hljs-doctag { color: var(--warn); }
.hljs-comment { color: var(--text-faint); font-style: italic; }
.hljs-title, .hljs-title.class_, .hljs-title.class_.inherited__, .hljs-class .hljs-title, .hljs-type, .hljs-built_in { color: var(--accent); }
.hljs-title.function_, .hljs-function .hljs-title, .hljs-section { color: var(--accent); }
.hljs-attr, .hljs-attribute, .hljs-property, .hljs-variable, .hljs-params, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-id { color: var(--text-dim); }
.hljs-meta, .hljs-meta .hljs-keyword, .hljs-subst { color: var(--warn); }
.hljs-deletion { color: var(--del); }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 600; }
:root[data-theme="black"] .hljs-keyword, :root[data-theme="black"] .hljs-literal, :root[data-theme="black"] .hljs-type, :root[data-theme="black"] .hljs-selector-tag, :root[data-theme="black"] .hljs-tag, :root[data-theme="black"] .hljs-name { color: rgb(78, 161, 255); }
:root[data-theme="black"] .hljs-operator, :root[data-theme="black"] .hljs-punctuation, :root[data-theme="black"] .hljs-number, :root[data-theme="black"] .hljs-attr, :root[data-theme="black"] .hljs-variable, :root[data-theme="black"] .hljs-params { color: rgb(255, 255, 255); }
:root[data-theme="black"] .hljs-title, :root[data-theme="black"] .hljs-title.class_, :root[data-theme="black"] .hljs-title.class_.inherited__, :root[data-theme="black"] .hljs-class .hljs-title { color: rgb(78, 201, 176); }
:root[data-theme="black"] .hljs-built_in, :root[data-theme="black"] .hljs-title.function_, :root[data-theme="black"] .hljs-function > .hljs-title:not(.class_), :root[data-theme="black"] .hljs-section { color: rgb(255, 154, 60); }
:root[data-theme="black"] .hljs-property, :root[data-theme="black"] .cm-var-member { color: rgb(156, 220, 254); }
:root[data-theme="black"] .hljs-symbol, :root[data-theme="black"] .hljs-variable.constant_ { color: rgb(255, 107, 107); }
:root[data-theme="black"] .hljs-comment, :root[data-theme="black"] .hljs-doctag, :root[data-theme="black"] .hljs-meta, :root[data-theme="black"] .hljs-meta .hljs-keyword { color: rgb(240, 100, 60); font-style: normal; }
:root[data-theme="black"] .hljs-string, :root[data-theme="black"] .hljs-char, :root[data-theme="black"] .hljs-meta .hljs-string { color: rgb(255, 200, 87); }
:root[data-code-theme] .hljs-keyword, :root[data-code-theme] .hljs-literal, :root[data-code-theme] .hljs-selector-tag, :root[data-code-theme] .hljs-tag, :root[data-code-theme] .hljs-name { color: var(--code-kw); }
:root[data-code-theme] .hljs-type { color: var(--code-ty); }
:root[data-code-theme] .hljs-operator, :root[data-code-theme] .hljs-punctuation, :root[data-code-theme] .hljs-attr, :root[data-code-theme] .hljs-variable, :root[data-code-theme] .hljs-params { color: var(--code-text); }
:root[data-code-theme] .hljs-number { color: var(--code-num); }
:root[data-code-theme] .hljs-title, :root[data-code-theme] .hljs-title.class_, :root[data-code-theme] .hljs-title.class_.inherited__, :root[data-code-theme] .hljs-class .hljs-title { color: var(--code-cls); font-weight: normal; }
:root[data-code-theme] .hljs-built_in, :root[data-code-theme] .hljs-title.function_, :root[data-code-theme] .hljs-function > .hljs-title:not(.class_), :root[data-code-theme] .hljs-section { color: var(--code-fn); }
.cm-editor .hljs-title.function_.definition { font-weight: 600; }
.cm-editor .cm-macro-arg { color: var(--text); }
:root[data-code-theme] .hljs-property, :root[data-code-theme] .cm-var-member, :root[data-code-theme] .hljs-selector-attr, :root[data-code-theme] .hljs-selector-class, :root[data-code-theme] .hljs-selector-id { color: var(--code-prop); }
:root[data-code-theme] .hljs-symbol, :root[data-code-theme] .hljs-variable.constant_ { color: var(--code-const); }
:root[data-code-theme] .hljs-comment, :root[data-code-theme] .hljs-quote { color: var(--code-com); font-style: var(--code-comment-style); }
:root[data-code-theme] .hljs-doctag, :root[data-code-theme] .hljs-meta, :root[data-code-theme] .hljs-meta .hljs-keyword { color: var(--code-meta); font-style: normal; }
:root[data-code-theme] .hljs-string, :root[data-code-theme] .hljs-char, :root[data-code-theme] .hljs-regexp, :root[data-code-theme] .hljs-template-tag, :root[data-code-theme] .hljs-template-variable, :root[data-code-theme] .hljs-meta .hljs-string { color: var(--code-str); }
.code.nav-ready .body { cursor: pointer; }
.nav-panel { position: fixed; display: flex; flex-direction: column; width: min(480px, 90vw); overflow: hidden; border-radius: var(--radius-sm); font-size: 12px; }
.go-to-line-popover { position: fixed; width: min(260px, 80vw); padding: 6px; border-radius: var(--radius-sm); font-size: 12px; }
.go-to-line-hint { margin: 5px 2px 0px; color: var(--text-dim); }
.nav-status { display: flex; align-items: center; gap: 8px; margin: 0px; padding: 5px 6px 5px 10px; color: var(--text-dim); }
.nav-close { margin-left: auto; width: 20px; height: 20px; font-size: 13px; line-height: 1; }
.nav-heading { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 10px; border-bottom: 1px solid var(--border); flex: 0 0 auto; }
.nav-heading > code { overflow: hidden; color: var(--text); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.nav-heading > span { flex: 0 0 auto; color: var(--text-faint); font-size: 11px; }
.nav-rows { display: grid; min-height: 0px; max-height: 236px; overflow: auto; overscroll-behavior: contain; }
.nav-row { display: grid; grid-template-columns: 30px minmax(0px, 1fr); align-items: baseline; gap: 0px 6px; width: 100%; padding: 4px 10px; border: 0px; border-radius: 0px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.nav-row:focus-visible { outline: 1px solid var(--accent); outline-offset: -1px; }
.nav-row[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 18%, var(--bg-raised)); }
.nav-kind { color: var(--text-faint); font-size: 10.5px; }
.nav-kind[data-kind="definition"] { color: var(--accent); font-weight: 600; }
.nav-where { display: flex; align-items: baseline; gap: 6px; min-width: 0px; }
.nav-where strong { flex: 0 0 auto; font-weight: 500; }
.nav-where span, .nav-line { overflow: hidden; color: var(--text-dim); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.nav-where span { color: var(--text-faint); }
.nav-line { grid-column: 2; font-family: var(--font-mono); }
.cm-var-member { color: var(--code-member); }
.cm-var-param { font-style: italic; }
:root[data-code-theme="va-dark"] .cm-sem.cm-sem-type { color: var(--code-sem-type); }
:root[data-code-theme="va-dark"] .cm-sem.cm-sem-function { color: var(--code-sem-function); }
:root[data-code-theme="va-dark"] .cm-sem.cm-sem-method { color: var(--code-sem-method); }
:root[data-code-theme="va-dark"] .cm-sem.cm-sem-macro { color: var(--code-sem-macro); }
:root[data-code-theme="va-dark"] .cm-sem.cm-sem-enum { color: var(--code-sem-enum); }
:root[data-code-theme="va-dark"] .cm-sem.cm-sem-namespace { color: var(--code-sem-namespace); }
::highlight(nav-link) { color: var(--accent); text-decoration-line: underline; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: var(--accent); }
.code-host:focus { outline: none; }
.stage-tab-dirty { font-weight: 700; }
.file-editor-note { margin: 0px 0px 6px; color: var(--text-dim); font-size: 12px; }
.code:has(> .code-edit-field) { position: relative; }
.code.editing .code-line { content-visibility: visible; }
.code-edit-field { pointer-events: none; position: absolute; inset: 0px 0px 0px 56px; margin: 0px; padding: 0px; border: 0px; outline: none; resize: none; overflow: hidden; background: transparent; color: transparent; caret-color: var(--text); font-style: inherit; font-variant-caps: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; line-height: inherit; letter-spacing: inherit; font-variant-ligatures: none; tab-size: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.code.with-notes .code-edit-field { left: 74px; }
.code-edit-field::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: transparent; }
:root:not([data-whitespace]) .cm-editor .cm-highlightSpace, :root:not([data-whitespace]) .cm-editor .cm-highlightTab { background: none; }
:root[data-whitespace] .cm-editor .cm-highlightSpace { background: radial-gradient(circle at 50% 50%, var(--whitespace-mark) 0.055em, transparent 0.075em) 0 50% / 1ch 1em repeat-x; }
:root[data-whitespace] .cm-editor .cm-highlightTab { background: var(--whitespace-mark); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M.8 6h10.4M5.6 1.2 11.2 6l-5.6 4.8' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='miter'/%3E%3C/svg%3E") 1px 50% / 1ch 1ch no-repeat; }
:root[data-whitespace] .cm-editor .cm-line { --indent-marker-bg-color: var(--whitespace-guide); --indent-marker-active-bg-color: var(--whitespace-guide); }
:root[data-line-endings] .cm-host[data-newline] .cm-line::after { content: "␊"; padding-left: 2px; color: var(--text-faint); pointer-events: none; }
:root[data-line-endings] .cm-host[data-newline="crlf"] .cm-line::after { content: "␍␊"; }
:root[data-line-endings] .cm-host[data-newline] .cm-line:has(> br:only-child)::after { content: none; }
:root[data-line-endings] .cm-host[data-newline] .cm-line:has(> br:only-child)::before { content: "␊"; padding-right: 2px; color: var(--text-faint); pointer-events: none; }
:root[data-line-endings] .cm-host[data-newline="crlf"] .cm-line:has(> br:only-child)::before { content: "␍␊"; }
.cm-host .cm-change-gutter { width: 3px; margin-right: 8px; }
.cm-host .cm-change-bar { display: block; width: 3px; height: 100%; }
.cm-host .cm-change-bar.change-added { background: var(--add); }
.cm-host .cm-change-bar.change-modified { background: var(--accent); }
.cm-host .cm-change-bar.change-deleted { height: 2px; background: var(--del); }
.cm-host .cm-focus-line { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.code-reference-buttons { display: flex; gap: 4px; }
.code-reference-button { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-raised); color: var(--text); font: 12px/18px var(--font-ui); box-shadow: color-mix(in srgb, black 30%, transparent 70%) 0px 2px 8px; cursor: pointer; }
.code-reference-button:hover { border-color: var(--accent); }
.code-reference-button kbd { color: var(--text-faint); font-size: 11px; }
.code-peek { display: grid; gap: 2px; max-width: 640px; padding: 6px; font: 12px/18px var(--font-ui); }
.code-peek-title { color: var(--text-dim); padding: 0px 4px 2px; }
.code-peek-hit { display: grid; gap: 1px; min-height: 0px; padding: 3px 6px; border: 0px; text-align: left; }
.code-peek-hit:hover { background: var(--bg-raised); }
.code-peek-place { color: var(--accent); font-family: var(--font-mono); font-size: 11.5px; }
.code-peek-hit code { overflow: hidden; color: var(--text); font-family: var(--font-mono); white-space: nowrap; text-overflow: ellipsis; }
.code-peek-more { color: var(--text-faint); padding: 2px 4px 0px; }
.p4-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 12px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }
.p4-badge { font-size: 10px; font-weight: 600; padding: 0px 4px; border: 1px solid var(--border); border-radius: 3px; }
.p4-state { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0px; }
.p4-state strong { color: var(--text); font-weight: 500; }
.p4-warn { color: var(--warn); }
.p4-spacer { flex: 1 1 0%; }
.p4-tab[aria-pressed="true"] { background: var(--bg-raised); color: var(--text); }
.p4-said { flex-basis: 100%; white-space: pre-wrap; color: var(--text-dim); }
.p4-view { flex: 1 1 0%; min-height: 0px; overflow: auto; padding: 8px 12px; }
.p4-revisions { list-style: none; margin: 0px 0px 8px; padding: 0px; max-height: 40%; overflow: auto; border: 1px solid var(--border); border-radius: 4px; }
.p4-revision { display: grid; grid-template-columns: 3.5em 6em 6em 10em 12em 1fr; gap: 8px; width: 100%; min-height: 0px; padding: 2px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; text-align: left; font-size: 12px; }
.p4-revision[aria-pressed="true"] { background: var(--bg-raised); }
.p4-revision > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p4-rev, .p4-change { font-family: var(--font-mono, monospace); }
.p4-full-desc { white-space: pre-wrap; margin: 0px 0px 6px; }
.p4-integrations { margin: 0px 0px 6px; padding-left: 16px; font-size: 12px; color: var(--text-dim); }
.p4-blame { font-family: var(--font-mono, monospace); font-size: 12px; }
.p4-blame-line { display: grid; grid-template-columns: 16em 4em 1fr; gap: 8px; white-space: pre; }
.p4-blame-line[data-first="true"] { border-top: 1px solid var(--border); }
.p4-blame-who { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; }
.p4-compare-pick { display: flex; gap: 6px; margin-bottom: 8px; }
.p4-compare-path { flex: 1 1 0%; min-width: 0px; font-family: var(--font-mono, monospace); }
.p4-panel { display: flex; flex-direction: column; height: 100%; min-height: 0px; overflow: hidden; }
.p4-panel-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--border); font-size: 12px; }
.p4-panel-client { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p4-panel-meta { color: var(--text-dim); font-size: 11.5px; }
.p4-sample-badge { font-size: 11px; padding: 1px 6px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-raised); color: var(--warn); }
.p4-search-form { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.p4-search-input { width: 220px; font-size: 12px; padding: 3px 8px; }
.p4-panel-notice { margin: 0px; padding: 6px 12px; border-bottom: 1px solid var(--border); background: var(--bg-raised); font-size: 12px; color: var(--text); }
.p4-panel-body { display: grid; grid-template-columns: 270px 1fr; flex: 1 1 0%; min-height: 0px; overflow: hidden; }
.p4-cl-sidebar { border-right: 1px solid var(--border); overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 12px; }
.p4-cl-section { display: flex; flex-direction: column; gap: 4px; }
.p4-cl-section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); padding: 2px 4px; }
.p4-cl-list { list-style: none; margin: 0px; padding: 0px; display: flex; flex-direction: column; gap: 4px; }
.p4-cl-card { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); }
.p4-cl-card[aria-pressed="true"] { border-color: var(--accent); background: var(--bg-raised); }
.p4-cl-card-head { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.p4-cl-number { font-family: var(--font-mono); font-weight: 600; color: var(--text); }
.p4-cl-status { margin-left: auto; font-size: 10.5px; color: var(--text-faint); }
.p4-cl-comment-pill { font-size: 10.5px; font-weight: 600; padding: 0px 5px; border-radius: var(--radius-sm); background: var(--bg-raised); border: 1px solid var(--accent); color: var(--accent); }
.p4-cl-desc { font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p4-cl-foot { font-size: 11px; color: var(--text-faint); }
.p4-cl-detail { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; overflow-y: auto; padding: 10px 12px; gap: 10px; }
.p4-cl-header { display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.p4-cl-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.p4-cl-full-desc { margin: 0px; font-family: var(--font-ui); font-size: 12px; color: var(--text-dim); white-space: pre-wrap; }
.p4-cl-files-box { display: flex; flex-direction: column; gap: 4px; }
.p4-cl-files { list-style: none; margin: 0px; padding: 0px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.p4-cl-file-item { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.p4-cl-file-item:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }
.p4-cl-file-row { display: flex; align-items: center; gap: 8px; flex: 1 1 0%; min-width: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; padding: 5px 8px; text-align: left; font-size: 12px; }
.p4-cl-file-row[aria-pressed="true"] { background: var(--bg-raised); }
.p4-cl-action { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; padding: 0px 5px; border-radius: var(--radius-sm); border: 1px solid var(--border); text-transform: uppercase; }
.p4-cl-action[data-action="add"] { color: var(--add); border-color: var(--add); }
.p4-cl-action[data-action="edit"] { color: var(--accent); border-color: var(--accent); }
.p4-cl-action[data-action="delete"] { color: var(--del); border-color: var(--del); }
.p4-cl-file-path { display: flex; align-items: baseline; gap: 6px; flex: 1 1 0%; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p4-cl-file-dir { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; }
.p4-cl-tag { font-size: 10.5px; padding: 0px 4px; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text-dim); }
.p4-cl-open-code { border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-image: none; border-left: 1px solid var(--border); border-radius: 0px; background: none; padding: 5px 8px; font-size: 11.5px; color: var(--text-dim); }
.p4-cl-diff-pane { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 260px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.p4-cl-diff-toolbar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--border); background: var(--bg-surface); font-size: 12px; }
.p4-cl-diff-file { font-family: var(--font-mono); font-size: 12px; }
.p4-cl-new-note { font-size: 11px; color: var(--add); }
.p4-comment-composer { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--border); background: var(--bg-raised); }
.p4-comment-composer-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.p4-comment-composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p4-review-nav-buttons { display: flex; align-items: center; gap: 4px; }
.p4-review-file-check { width: 14px; height: 14px; min-height: 0px; padding: 0px; margin: 0px 2px 0px 8px; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.p4-review-mark-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); cursor: pointer; }
.p4-review-mark-label input { width: 14px; height: 14px; min-height: 0px; padding: 0px; margin: 0px; flex: 0 0 auto; accent-color: var(--accent); }
.p4-review-tray { display: flex; flex-direction: column; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); }
.p4-review-list { list-style: none; margin: 0px; padding: 0px; display: flex; flex-direction: column; gap: 4px; }
.p4-review-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-raised); font-size: 12px; }
.p4-review-item-main { display: flex; align-items: baseline; gap: 8px; min-width: 0px; flex: 1 1 0%; }
.p4-review-item-loc { font-family: var(--font-mono); font-size: 11.5px; padding: 0px 4px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--accent); }
.p4-review-item-text { color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.p4-review-send-row { display: flex; align-items: center; gap: 8px; }
.p4-review-summary { flex: 1 1 0%; min-width: 0px; font-size: 12px; padding: 4px 8px; }
.proposal-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border); flex-wrap: wrap; flex: 0 0 auto; }
.proposal-status { padding: 2px 8px; border: 1px solid var(--border); border-radius: 10px; font-size: 12px; font-weight: 600; }
.proposal-status[data-tone="warn"] { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, var(--border)); }
.proposal-status[data-tone="ok"] { color: var(--add); border-color: color-mix(in srgb, var(--add) 50%, var(--border)); }
.proposal-status[data-tone="bad"] { color: var(--del); border-color: color-mix(in srgb, var(--del) 50%, var(--border)); }
.proposal-status[data-tone="dim"] { color: var(--text-faint); }
.proposal-counts { display: inline-flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; }
.proposal-new { font-family: var(--font-ui); color: var(--text-dim); }
.diff-added-count { color: var(--add); }
.diff-removed-count { color: var(--del); }
.proposal-spacer { flex: 1 1 0%; }
.proposal-explanation { flex: 0 0 auto; max-height: 30%; overflow: auto; margin-bottom: 8px; }
.proposal-file { flex: 0 0 auto; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; padding: 0px; min-height: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--accent); }
.pane-body[data-proposal] { display: flex; flex-direction: column; overflow: hidden; }
.tool-doc.proposal { display: flex; flex: 1 1 0%; flex-direction: column; min-height: 0px; min-width: 0px; padding: 8px; }
.proposal .diff-frame { flex: 1 1 0%; }
.proposal .diff { min-height: 0px; overflow: auto; }
.proposal-notes { margin-bottom: 12px; font-size: 12px; }
.proposal-notes h4 { margin: 0px 0px 4px; font-size: 12px; font-weight: 600; color: var(--text-dim); }
.proposal-notes ul { display: grid; gap: 2px; margin: 0px; padding: 0px; list-style: none; }
.proposal-notes li { display: flex; gap: 8px; }
.proposal-notes small { color: var(--text-faint); }
.diff-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0px 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); flex: 0 0 auto; flex-wrap: wrap; gap: 6px; }
.diff-options { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.diff-layout { display: inline-flex; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.diff-layout button { min-height: 0px; padding: 2px 8px; border: 0px; border-radius: 0px; background: transparent; color: var(--text-faint); font-size: 11.5px; font-weight: 400; letter-spacing: 0px; text-transform: none; }
.diff-layout button[aria-pressed="true"] { background: var(--bg-raised); color: var(--text); }
.diff-whole { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; letter-spacing: 0px; text-transform: none; white-space: nowrap; }
.diff-frame { display: flex; min-height: 0px; }
.diff-column { position: relative; display: flex; flex: 1 1 0%; flex-direction: column; min-width: 0px; min-height: 0px; }
.diff-hscroll { flex: 0 0 auto; overflow: auto hidden; }
.diff-hscroll > div { height: 1px; }
.diff { flex: 1 1 0%; min-width: 0px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); }
.diff .cm-mergeViewEditor:first-child { flex-grow: var(--diff-split-ratio, 0.5); }
.diff .cm-mergeViewEditor:last-child { flex-grow: calc(1 - var(--diff-split-ratio, 0.5)); }
.diff .cm-merge-revert { z-index: var(--layer-raised); }
.diff-resize-handle { position: absolute; z-index: var(--layer-diff-divider); top: 0px; bottom: 1px; width: 9px; transform: translateX(-50%); cursor: col-resize; touch-action: none; user-select: none; }
.diff-resize-handle::after { position: absolute; top: 0px; bottom: 0px; left: 4px; width: 1px; background: var(--border); content: ""; }
.diff-resize-handle:hover::after, .diff-resize-handle:focus-visible::after { width: 2px; background: var(--accent); }
.diff-resize-handle:focus-visible { outline: none; }
.diff-overview { position: relative; flex: 0 0 auto; width: 12px; margin-left: 4px; border-radius: 3px; background: var(--bg-raised); }
.diff-mark { position: absolute; left: 2px; right: 2px; border-radius: 1px; cursor: pointer; }
.diff-mark.added { background: var(--add); }
.diff-mark.removed { background: var(--del); }
.diff-mark.changed { background: color-mix(in srgb, var(--add) 50%, var(--del)); }
.diff-viewport { position: absolute; z-index: var(--layer-raised); left: 0px; right: 0px; min-height: 3px; border: 1px solid var(--text-dim); border-radius: 2px; background: color-mix(in srgb, var(--text-dim) 28%, transparent); cursor: grab; touch-action: none; }
.diff-viewport:active { cursor: grabbing; }
.diff-save { display: inline-flex; align-items: center; gap: 8px; }
.diff-save-error { max-width: 320px; overflow: hidden; color: var(--del); font-weight: 400; letter-spacing: 0px; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.diffs-unsaved { color: var(--accent); }
.diffs-readonly { font-weight: 400; letter-spacing: 0px; text-transform: none; }
.diff .diff-revert { min-height: 0px; height: 20px; padding: 0px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg-raised); color: var(--accent); font-size: 13px; font-weight: 700; line-height: 18px; }
.diff .diff-revert:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--bg-raised)); }
.diff-steps { display: inline-flex; gap: 4px; }
.diff-steps button { min-height: 0px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg-raised); color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: 0px; text-transform: none; }
.diff-steps button:hover { border-color: var(--accent); }
.diff-whole input { width: auto; min-height: 0px; margin: 0px; }
.live-rows { display: flex; flex-direction: column; gap: 6px; }
.live-rows:empty { display: none; }
.pending-edits { display: flex; flex-direction: column; gap: 6px; margin: 8px 0px 0px; }
.pending-edit { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 6px; background: color-mix(in srgb, var(--accent) 7%, var(--bg-surface)); color: var(--text-dim); font-size: 12px; box-shadow: 0 -6px 12px var(--bg-surface); }
.pending-edit-error { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: color-mix(in srgb, var(--warn) 8%, var(--bg-surface)); }
.pending-edit-mark { color: var(--accent); }
.pending-edits-all .pending-edit-text { color: var(--text-dim); }
.pending-edit-failure { color: var(--del); }
.pending-edit-text { display: inline-flex; align-items: center; gap: 8px; min-width: 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); }
.pending-edit button { padding: 2px 10px; }
.diffs-body { position: relative; display: grid; grid-template-columns: var(--diffs-list-width, 240px) minmax(0, 1fr); min-height: 0px; }
.diffs-body[data-list-hidden="true"] { grid-template-columns: minmax(0px, 1fr); }
.diffs-divider { top: 0px; bottom: 0px; left: calc(var(--diffs-list-width, 240px) - 3px); width: 5px; }
.diffs-list[hidden] { display: none; }
.diffs-list { margin: 0px; padding: 6px 0px; list-style: none; overflow-y: auto; border-right: 1px solid var(--border); }
.diffs-list li { display: flex; align-items: center; }
.diffs-list li.current { background: var(--bg-raised); }
.diffs-item { display: flex; flex: 1 1 0%; flex-direction: column; align-items: flex-start; min-width: 0px; padding: 4px 10px; border: 0px; background: transparent; text-align: left; }
.diffs-item span, .diffs-item small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diffs-item small { color: var(--text-faint); }
.diffs-close { min-height: 0px; padding: 0px 8px; border: 0px; background: transparent; color: var(--text-faint); }
.diffs-main { display: flex; flex-direction: column; min-height: 0px; padding: 0px 12px 12px; }
.diffs-main .diff-frame { flex: 1 1 0%; }
.diffs-main .diff-column { min-height: 0px; }
.diffs-main .diff { overflow: auto; }
.palette { width: min(1500px, 96vw); max-height: min(80vh, 100%); }
.palette-input { flex-shrink: 0; padding: 8px; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.palette-input > input { flex: 1 1 auto; min-width: 90px; }
.palette-scope-toggle { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 28ch; min-width: 0px; padding: 4px 7px; color: var(--text-dim); font-size: 11px; white-space: nowrap; }
.palette-scope-toggle span:first-of-type { overflow: hidden; text-overflow: ellipsis; }
.palette-scope-toggle[aria-expanded="true"] { color: var(--accent); }
.palette-scope { padding: 6px 8px; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.palette-scope label { display: flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 11px; white-space: nowrap; }
.palette-scope input { min-width: 0px; font-size: 12px; }
.palette-scope label input { flex: 1 1 0%; }
.palette-scope-picker { display: flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 11px; }
.palette-scope-picker .select-control { flex: 1 1 0%; min-width: 0px; }
.palette-scope-picker .select-trigger { min-height: var(--row-height); padding: 0px 8px; font-size: 12px; }
.palette-scope-root { flex: 0 1 160px; }
.palette-scope-directory { flex: 1 1 220px; }
.palette-scope-mask { flex: 0 1 200px; }
.palette-scope-choose { min-width: 28px; height: var(--row-height); padding: 0px 7px; }
.palette-results { overflow: auto; min-height: 0px; }
.palette-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; width: 100%; padding: 4px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; text-align: left; font-family: var(--font-mono); font-size: 12px; line-height: 18px; }
.palette-row[aria-selected="true"] { background: var(--selection-bg); }
.palette-row .path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
.palette-local-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-command-path { color: var(--text-faint); }
.palette-row[aria-disabled="true"] { color: var(--text-faint); }
.palette-symbol-row { grid-template-columns: 11ch minmax(0px, 1fr) minmax(0px, 32ch); gap: 12px; }
.palette-symbol-kind { color: var(--text-faint); font-size: 11px; }
.palette-symbol-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-symbol-scope { color: var(--text-dim); }
.palette-symbol-line { margin-left: 12px; color: var(--text-faint); }
.palette-symbol-where { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); text-align: right; }
.outline-row { grid-template-columns: 44px 1fr auto; cursor: pointer; }
.outline-kind { color: var(--text-faint); font-size: 11px; }
.outline-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.outline-line { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.palette-text-row { grid-template-columns: var(--palette-file-width, 200px) 7ch minmax(0, 1fr); gap: 12px; }
.palette-text-header { flex: 0 0 auto; border-bottom: 1px solid var(--border); color: var(--text-faint); font-family: var(--font-ui); font-size: 11px; cursor: default; }
.palette-text-header-file { position: relative; }
.palette-column-handle { position: absolute; top: -4px; bottom: -4px; right: -5px; width: 9px; cursor: col-resize; touch-action: none; }
.palette-column-handle::before { content: ""; position: absolute; top: 0px; bottom: 0px; left: 3px; width: 3px; border-radius: 2px; background: var(--text-faint); }
.palette-column-handle:hover::before, .palette-column-handle:focus-visible::before, .palette-column-handle:active::before { background: var(--accent); }
.palette-results .palette-text-file { border-right: 1px solid var(--border); padding-right: 6px; }
.palette-text-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.palette-text-line-number { color: var(--text-faint); text-align: right; }
.palette-preview { flex: 0 0 auto; border-top: 1px solid var(--border); display: flex; flex-direction: column; }
.palette-preview-path { padding: 3px 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); border-bottom: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-preview-code { height: calc(242px); overflow: auto; }
.palette-preview-code .empty, .palette-preview-code .palette-error { margin: 8px 10px; }
.palette-preview-empty { height: calc(263px); }
.palette-line { overflow: hidden; text-overflow: ellipsis; white-space: pre; color: var(--text-muted, inherit); }
.palette-highlighted-line { color: var(--text); }
.palette-match { background: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--text); border-radius: 2px; box-shadow: inset 0 -1px color-mix(in srgb, var(--accent) 75%, transparent); }
.palette-status { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 4px 8px; border-bottom: 1px solid var(--border); font-size: 12px; line-height: 18px; position: relative; }
.palette-stop { padding: 0px 6px; font-size: 12px; }
.palette-status-text { flex: 1 1 0%; min-width: 0px; }
.palette-details { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0px; box-sizing: border-box; display: inline-grid; place-items: center; padding: 0px; border: 1px solid var(--border); border-radius: 50%; background: none; color: var(--text-faint); font-size: 11px; font-weight: 600; line-height: 1; }
.palette-details.warn { border-color: var(--warn); color: var(--warn); }
.palette-details-panel { position: absolute; top: 100%; right: 8px; z-index: var(--layer-raised); width: min(520px, 80vw); padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-popover); display: grid; gap: 6px; }
.palette-error { margin: 0px; padding: 6px 8px; border-bottom: 1px solid var(--border); color: var(--del); font-family: var(--font-mono); font-size: 12px; white-space: pre-wrap; }
.palette-footer { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 12px; padding: 4px 8px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 11px; }
.palette-tabs { flex-shrink: 0; display: flex; gap: 2px; padding: 4px 8px; border-bottom: 1px solid var(--border); }
.palette-tab { padding: 2px 10px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: var(--radius-sm); background: transparent; color: var(--text-dim); font-size: 12px; }
.palette-tab[aria-selected="true"] { background: var(--selection-bg); color: var(--text); }
.palette-group { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px 2px; font-size: 11px; }
.palette-group-label { color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.palette-group-status { color: var(--text-faint); }
.palette-group-status.warn { color: var(--warn); }
.palette-group-status.error { color: var(--del); }
.palette-more { color: var(--accent); }
.build-panel { display: flex; flex-direction: column; gap: 0px; min-height: 0px; padding: 0px; overflow: auto; }
.build-arguments { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--text-dim); }
.build-arguments input { flex: 1 1 260px; min-width: 0px; font-family: var(--font-mono); font-size: 12px; }
.build-empty, .build-note { margin: 0px; color: var(--text-dim); font-size: 12px; }
.build-intro { padding: 18px; max-width: 62ch; }
.build-intro h3 { margin: 0px 0px 8px; font-size: 14px; }
.build-intro p { margin: 0px 0px 12px; color: var(--text-dim); font-size: 12.5px; line-height: 1.5; }
.build-setup { padding: 16px 18px 12px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; }
.build-picker { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.build-picker-field { display: flex; flex-direction: column; gap: 4px; min-width: 0px; width: 150px; font-size: 11px; color: var(--text-faint); }
.build-picker-target { width: 240px; }
.build-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.build-runs-with { min-width: 0px; color: var(--text-dim); font-size: 12px; overflow-wrap: anywhere; }
.toolbar-mode { display: inline-flex; flex: 0 0 auto; }
.app-toolbar .toolbar-mode .select-trigger { min-height: 28px; height: 28px; padding: 0px 9px; gap: 8px; border-radius: var(--radius); font-size: 12px; color: var(--text-dim); }
.toolbar-build { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0px; margin: 0px 10px 0px 4px; }
.build-main-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.build-primary-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; }
.build-picker-compact { display: flex; flex: 0 1 auto; flex-wrap: nowrap; align-items: stretch; gap: 0px; min-width: 0px; padding: 0px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); }
.build-picker-compact .build-picker-field { flex: 0 10 auto; width: 110px; min-width: 104px; }
.build-picker-compact .build-picker-config { width: 104px; }
.build-picker-compact .build-picker-platform { width: 72px; flex: 0 0 auto; min-width: 0px; }
.build-picker-compact .build-picker-target { width: 180px; flex-shrink: 100; min-width: 120px; max-width: min(320px, 28vw); }
.build-picker-compact .build-picker-field + .build-picker-field { border-left: 1px solid var(--border); }
.build-picker-compact .select-control { width: 100%; height: 100%; }
.build-picker-compact .build-picker-field:first-child .select-trigger { border-radius: var(--radius) 0 0 var(--radius); }
.build-picker-compact .build-picker-field:last-child .select-trigger { border-radius: 0 var(--radius) var(--radius) 0; }
.app-toolbar .toolbar-build .select-trigger { justify-content: space-between; min-height: 26px; height: 26px; padding: 2px 8px; gap: 6px; font-size: 12px; color: var(--text-dim); border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: transparent; border-radius: 0px; }
.toolbar-build .select-trigger:hover, .toolbar-build .select-trigger[aria-expanded="true"] { background: var(--bg-surface); color: var(--text); }
.toolbar-build .select-trigger .select-hint { display: none; }
.toolbar-build .select-trigger > span:last-child { flex-shrink: 0; margin-left: auto; font-size: 10px; opacity: 0.7; }
.toolbar-build .select-trigger .select-value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-toolbar .build-primary-actions > button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 26px; min-height: 26px; padding: 3px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--text-dim); transition: background 120ms, border-color 120ms; }
@media (max-width: 1100px) {
  .build-picker-compact .build-picker-field { min-width: 0px; }
  .build-picker-compact .build-picker-target { min-width: 56px; }
}
@media (max-width: 960px) {
  .build-picker-compact .build-picker-field:last-child { flex-shrink: 1; }
  .build-picker-compact .build-picker-platform { flex: 0 1 auto; }
}
.app-toolbar .build-primary-actions > button:not(:disabled):hover { border-color: color-mix(in srgb, currentColor 45%, var(--border)); background: color-mix(in srgb, currentColor 16%, var(--bg-raised)); }
.app-toolbar .build-primary-actions > .toolbar-build-run { color: var(--add); background: color-mix(in srgb, var(--add) 12%, var(--bg-surface)); border-color: color-mix(in srgb, var(--add) 28%, var(--border)); }
.app-toolbar .build-primary-actions > .toolbar-build-stop { color: var(--del); background: color-mix(in srgb, var(--del) 12%, var(--bg-surface)); border-color: color-mix(in srgb, var(--del) 28%, var(--border)); }
.app-toolbar .build-primary-actions > button:disabled { opacity: 0.4; cursor: default; }
.toolbar-build-divider { margin: 0px 2px; }
.build-primary-actions svg { width: 17px; height: 17px; }
.build-status { display: flex; align-items: center; flex: 1 1 200px; min-width: 0px; gap: 8px; padding: 4px 0px 4px 10px; overflow-wrap: anywhere; font-size: 12.5px; }
.build-status[data-state="succeeded"] { color: var(--add); }
.build-status[data-state="failed"] { color: var(--del); }
.build-status[data-state="cancelled"], .build-status[data-state="stopping"] { color: var(--warn); }
.build-status[data-state="running"] { color: var(--add); }
.build-command { display: block; margin-top: 8px; color: var(--text-dim); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.build-diagnostics { display: flex; flex-direction: column; flex: 0 0 auto; }
.build-diagnostic { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; width: 100%; padding: 10px 0px; border-top-width: medium; border-right-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-left-style: none; border-top-color: currentcolor; border-right-color: currentcolor; border-left-color: currentcolor; border-image: none; border-bottom: 1px solid var(--border); border-radius: 0px; text-align: left; font-size: 12px; }
.build-diagnostic:disabled { color: var(--text-dim); cursor: default; }
.build-diagnostic-severity { flex: 0 0 auto; width: 9ch; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.build-diagnostic[data-severity="error"] .build-diagnostic-severity { color: var(--del); }
.build-diagnostic[data-severity="warning"] .build-diagnostic-severity { color: var(--warn); }
.build-diagnostic-place, .build-diagnostic-code { min-width: 0px; overflow-wrap: anywhere; color: var(--text-dim); font-family: var(--font-mono); font-size: 11.5px; }
.build-diagnostic-message { flex: 1 1 240px; min-width: 0px; overflow-wrap: anywhere; }
.build-log { flex: 1 1 200px; min-height: 120px; margin: 0px; padding: 14px 18px; overflow: auto; background: var(--bg); color: var(--text); font: 12px/1.7 var(--font-mono); white-space: pre; }
.build-log-dropped { margin: 0px; padding: 6px 18px; color: var(--warn); font-size: 12px; }
.build-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; flex: 0 0 auto; padding: 10px 18px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 12px; }
.build-debug { display: flex; flex-direction: column; gap: 8px; padding: 0px; font-size: 12px; }
.build-debug-modules { max-height: 240px; overflow: auto; }
.build-debug-modules small { display: block; color: var(--text-faint); overflow-wrap: anywhere; }
.build-debug-modules > div { padding: 4px 0px; }
.build-target-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.build-target-summary strong { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.build-target-summary span { border-left: 1px solid var(--border); padding-left: 12px; color: var(--text-dim); font-size: 12px; }
.build-single-platform { padding: 7px 0px; color: var(--text-dim); font-size: 12px; }
.build-more-actions { color: var(--text-dim); font-size: 12px; }
.build-more-actions .build-actions { margin-top: 8px; }
.build-session { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 0px 18px 14px; flex: 0 0 auto; }
.build-session .toolbar-build-stop { color: var(--del); }
.build-status[data-state="paused"] { color: var(--warn); }
.build-ready { margin: 0px; padding: 0px 18px 14px; color: var(--text-dim); font-size: 12px; }
.build-paused-source { display: flex; flex-wrap: wrap; gap: 8px; padding: 0px 18px 12px; }
.build-tabs { display: flex; flex-wrap: wrap; gap: 16px; padding: 0px 18px; border-block: 1px solid var(--border); background: var(--bg-surface); flex: 0 0 auto; }
.build-tabs button { background: transparent; color: var(--text-dim); border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; border-radius: 0px; padding: 10px 0px; }
.build-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.build-tab-content { display: flex; flex-direction: column; flex: 1 1 200px; min-height: 160px; overflow: auto; }
.build-tab-content[hidden] { display: none; }
.build-tab-content:not(:has(.build-output)) { padding: 16px 18px; gap: 12px; }
.build-output { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; }
.build-output-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 18px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-dim); flex: 0 0 auto; }
.build-output-tools > :first-child { margin-right: auto; }
.build-output-tools button[aria-pressed="true"] { color: var(--accent); }
.build-log[data-wrap="true"] { white-space: pre-wrap; overflow-wrap: anywhere; }
.build-retained { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 12px; flex: 0 0 auto; }
.build-retained span { min-width: 0px; overflow-wrap: anywhere; }
.build-session-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 8px 0px; }
.build-session-info dt { color: var(--text-dim); }
.build-session-info dd { margin: 0px; overflow-wrap: anywhere; }
.build-command-details { font-size: 12px; color: var(--text-dim); }
.build-log-line[data-severity="error"] { color: var(--del); }
.build-log-line[data-severity="warning"] { color: var(--warn); }
.build-usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; flex: 0 0 auto; }
.build-usage-chart { display: flex; flex-direction: column; gap: 6px; min-width: 0px; margin: 0px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); }
.build-usage-chart figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; }
.build-usage-title { color: var(--text-dim); }
.build-usage-value { color: var(--text); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.build-usage-meta { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.build-usage-plot { position: relative; height: 64px; cursor: crosshair; }
.build-usage-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.build-usage-grid { stroke: var(--border); stroke-dasharray: 2, 3; vector-effect: non-scaling-stroke; }
.build-usage-area { fill: color-mix(in srgb, var(--accent) 16%, transparent); }
.build-usage-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.build-usage-cursor { stroke: var(--text-faint); stroke-width: 1; vector-effect: non-scaling-stroke; }
.build-usage-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0px 0px -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg-surface); pointer-events: none; }
.build-usage-axis { display: flex; justify-content: space-between; gap: 8px; color: var(--text-faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.build-usage-axis span:nth-child(2) { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-panel { overflow: hidden; }
.profile-actions { padding: 16px; gap: 12px; flex: 0 0 auto; border-bottom: 1px solid var(--border); }
.profile-engine-select { font-size: 12px; min-height: 28px; padding: 2px 6px; background: var(--bg-surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); }
.profile-engine-select:focus-visible { border-color: var(--accent); }
.profile-menu-anchor { position: relative; }
.profile-options-popover { position: absolute; top: calc(100% + 6px); left: 0px; width: 254px; max-width: calc(-48px + 100vw); max-height: 60vh; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.profile-option-field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--text-dim); }
.profile-option-label { font-size: 12px; color: var(--text-dim); }
.profile-capture-summary { margin-left: auto; min-width: 0px; text-align: right; overflow-wrap: anywhere; }
.profile-capture-title { font-size: 15px; font-weight: 600; }
.profile-capture-meta { margin-top: 3px; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.profile-copy-figure { margin-left: auto; }
.profile-panel > .inline-error, .profile-panel > .build-empty, .profile-panel > .spinner { margin: 12px 14px; }
.profile-capture { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; }
.profile-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--border); flex: 0 0 auto; font-size: 12px; }
.profile-search { width: 200px; min-width: 0px; }
.profile-check { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); white-space: nowrap; }
.profile-check input { width: auto; min-height: 0px; margin: 0px; }
.profile-timeline { position: relative; flex: 1 1 auto; min-height: 140px; outline: none; overflow: hidden; }
.profile-timeline:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.profile-thread-search { position: absolute; left: 6px; top: 7px; z-index: var(--layer-raised); width: 168px; height: 25px; min-height: 0px; padding: 0px 7px; font-size: 11.5px; }
.profile-overview { position: absolute; left: 0px; top: 0px; display: block; cursor: pointer; border-bottom: 1px solid var(--border); }
.profile-lanes { position: absolute; left: 0px; top: 40px; display: block; cursor: crosshair; }
.profile-lanes.profile-panning { cursor: grabbing; }
.profile-scroll { position: absolute; right: 0px; top: 62px; bottom: 0px; width: 10px; overflow: hidden scroll; }
.profile-scroll > div { width: 1px; }
.profile-tip { position: absolute; left: 0px; top: 0px; z-index: var(--layer-raised); max-width: 340px; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-raised); box-shadow: var(--shadow-popover); pointer-events: none; font-size: 12px; line-height: 1.45; }
.profile-tip-name { font-family: var(--font-mono); color: var(--text); overflow-wrap: anywhere; }
.profile-tip-meta { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.profile-tip-hint { color: var(--text-faint); font-size: 11px; }
.profile-lower-dock { display: flex; flex: 1 1 0%; min-width: 0px; min-height: 0px; }
.profile-lower-dock > .dock-workspace { flex: 1 1 0%; margin: 4px; }
.profile-lower-runs { display: flex; flex-direction: column; flex: 1 1 0%; min-width: 0px; min-height: 0px; container-type: inline-size; }
.profile-runs-info { margin-left: 6px; color: var(--text-faint); cursor: help; }
.profile-scope { flex-basis: 100%; min-width: 0px; color: var(--text-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-warn { color: var(--warn); }
.profile-tree { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; container-type: inline-size; }
.profile-tree-columns, .profile-tree-row { display: grid; grid-template-columns: minmax(0px, 1fr) 128px 60px 80px 130px; align-items: center; column-gap: 10px; padding: 0px 12px; }
.profile-tree-columns { height: 22px; flex: 0 0 auto; border-bottom: 1px solid var(--border); color: var(--text-faint); font-size: 11px; }
.profile-tree-columns > span:not(:first-child) { text-align: right; }
.profile-tree-columns > span:last-child { text-align: left; }
.profile-tree-sort { justify-self: end; padding: 0px; border: 0px; background: none; color: inherit; font: inherit; cursor: pointer; }
.profile-tree-sort:hover, .profile-tree-sort.active { color: var(--text); }
.profile-tree-list { position: relative; flex: 1 1 0%; min-height: 0px; overflow: auto; outline: none; }
.profile-tree-list:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.profile-tree-spacer { position: relative; }
.profile-tree-row { position: absolute; left: 0px; right: 0px; height: 19px; font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: default; }
.profile-tree-row:hover { background: var(--bg-raised); }
.profile-tree-row.selected { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.profile-tree-name { display: flex; align-items: center; min-width: 0px; font-family: var(--font-mono); font-size: 11.5px; }
.profile-tree-label { min-width: 0px; overflow: hidden; text-overflow: ellipsis; }
.profile-tree-name.match { color: var(--accent); }
.profile-tree-twisty { flex: 0 0 auto; width: 16px; height: 18px; min-height: 0px; padding: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--text-faint); font-size: 10px; }
.profile-tree-number { text-align: right; }
.profile-tree-number.faint { color: var(--text-dim); }
.profile-tree-inclusive { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.profile-tree-bar { width: 60px; height: 6px; overflow: hidden; border-radius: 1px; background: var(--bg-raised); }
.profile-tree-bar > i { display: block; height: 100%; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.profile-tree-module { overflow: hidden; color: var(--text-faint); text-overflow: ellipsis; }
.profile-tree-empty, .profile-tree-note { margin: 0px; padding: 6px 12px; color: var(--text-faint); font-size: 12px; }
.profile-footer { margin: 0px; padding: 4px 14px; flex: 0 0 auto; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 11px; font-variant-numeric: tabular-nums; }
@container (max-width: 640px) {
  .profile-tree-columns, .profile-tree-row { grid-template-columns: minmax(0px, 1fr) 92px 52px; }
  .profile-tree-columns > span:nth-child(n+4), .profile-tree-row > span:nth-child(n+4) { display: none; }
  .profile-tree-bar { width: 32px; }
}
.profile-help { position: relative; }
.profile-help-popover { position: absolute; top: calc(100% + 4px); right: 0px; width: max-content; max-width: min(440px, -48px + 100vw); max-height: 60vh; overflow: auto; padding: 8px 12px; font-size: 12px; }
.profile-help-popover dl { display: grid; gap: 4px; margin: 0px; }
.profile-help-popover dl > div { display: grid; grid-template-columns: 10.5em minmax(0px, 18em); gap: 10px; }
.profile-help-popover dt { color: var(--text); font-family: var(--font-mono); font-size: 11.5px; }
.profile-help-popover dd { margin: 0px; color: var(--text-dim); }
.profile-source-note { margin: 0px; padding: 4px 12px; border-bottom: 1px solid var(--border); color: var(--text-dim); font-size: 12px; overflow-wrap: anywhere; }
.profile-search-box { position: relative; }
.profile-search-popover { position: absolute; top: calc(100% + 4px); left: 0px; width: max-content; min-width: 100%; max-width: min(460px, -48px + 100vw); padding: 4px 0px; font-size: 12px; }
.profile-search-popover ul { margin: 0px; padding: 0px; list-style: none; }
.profile-search-option { display: grid; grid-template-columns: minmax(0px, 1fr) auto 48px; gap: 10px; align-items: center; padding: 3px 10px; cursor: default; }
.profile-search-option.active { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.profile-search-name { overflow: hidden; font-family: var(--font-mono); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.profile-search-module { color: var(--text-faint); }
.profile-search-share { color: var(--text-dim); text-align: right; font-variant-numeric: tabular-nums; }
.profile-search-none { margin: 0px; padding: 4px 10px; color: var(--text-faint); }
.profile-source { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; }
.profile-source-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 4px 12px; border-bottom: 1px solid var(--border); flex: 0 0 auto; font-size: 12px; }
.profile-source-file { font-family: var(--font-mono); font-size: 11.5px; overflow-wrap: anywhere; }
.profile-source-summary { color: var(--text-faint); }
.profile-source-columns, .profile-source-line { display: grid; grid-template-columns: 56px 48px 48px minmax(0px, 1fr); column-gap: 10px; padding: 0px 12px; }
.profile-source-columns { height: 22px; align-items: center; flex: 0 0 auto; border-bottom: 1px solid var(--border); color: var(--text-faint); font-size: 11px; }
.profile-source-columns > span:nth-child(-n+3) { text-align: right; }
.profile-source-lines { flex: 1 1 0%; min-height: 0px; overflow: auto; font-variant-numeric: tabular-nums; }
.profile-source-line { min-height: 19px; align-items: center; font-size: 12px; cursor: pointer; }
.profile-source-line.sampled { background: color-mix(in srgb, var(--warn) calc(var(--heat) * 32%), transparent); }
.profile-source-line:hover { box-shadow: inset 0 0 0 1px var(--border); }
.profile-source-number { text-align: right; }
.profile-source-number.faint { color: var(--text-dim); }
.profile-source-lineno { color: var(--text-faint); text-align: right; font-family: var(--font-mono); font-size: 11px; }
.profile-source-text { overflow: hidden; color: var(--text); font-family: var(--font-mono); font-size: 11.5px; white-space: pre; text-overflow: ellipsis; }
.profile-source-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 4px 12px; border-bottom: 1px solid var(--border); flex: 0 0 auto; font-size: 12px; }
.profile-source-sites-title { color: var(--text-faint); }
.profile-source-site { height: 22px; padding: 0px 6px; font-family: var(--font-mono); font-size: 11px; }
.profile-source-site > span { color: var(--accent); font-family: var(--font-ui); }
.profile-runs { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; }
.profile-runs-head { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px; border-bottom: 1px solid var(--border); flex: 0 0 auto; font-size: 12px; }
.profile-runs-figures { font-variant-numeric: tabular-nums; }
.profile-runs-figures strong { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.profile-runs-body { display: grid; grid-template-columns: minmax(260px, 3fr) minmax(0px, 2fr); flex: 1 1 0%; min-height: 0px; }
.profile-runs-chart { display: flex; flex-direction: column; gap: 4px; margin: 0px; padding: 6px 12px; border-right: 1px solid var(--border); min-height: 0px; }
.profile-runs-chart figcaption { display: flex; align-items: center; gap: 12px; min-height: 22px; color: var(--text-dim); font-size: 11.5px; }
.profile-runs-threshold { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.profile-runs-threshold input { width: 72px; height: 22px; font-variant-numeric: tabular-nums; }
.profile-runs-pick { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.profile-runs-scroll { flex: 1 1 0%; min-height: 40px; overflow: auto hidden; border-bottom: 1px solid var(--border); }
.profile-runs-track { height: 100%; }
.profile-runs-canvas { position: sticky; left: 0px; display: block; cursor: pointer; touch-action: none; }
.profile-runs-canvas:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.profile-runs-axis { display: flex; justify-content: space-between; gap: 12px; color: var(--text-faint); font-size: 10.5px; }
.profile-runs-list { display: flex; flex-direction: column; min-height: 0px; }
.profile-runs-columns, .profile-runs-row { display: grid; grid-template-columns: 76px 64px 86px minmax(0px, 1fr); column-gap: 10px; padding: 0px 12px; }
.profile-runs-columns { height: 22px; align-items: center; flex: 0 0 auto; border-bottom: 1px solid var(--border); color: var(--text-faint); font-size: 11px; }
.profile-runs-columns > span:nth-child(-n+3), .profile-runs-row > span:nth-child(-n+3) { text-align: right; }
.profile-runs-rows { flex: 1 1 0%; min-height: 0px; overflow: auto; }
.profile-runs-row { width: 100%; height: 19px; align-items: center; border: 0px; border-radius: 0px; background: none; color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; text-align: left; cursor: pointer; }
.profile-runs-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-runs-row:hover { background: var(--bg-raised); }
.profile-runs-row.focused { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.profile-runs-more { margin: 0px; padding: 4px 12px; flex: 0 0 auto; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 11px; }
@container (max-width: 640px) {
  .profile-runs-body { grid-template-columns: minmax(0px, 1fr); grid-template-rows: 110px minmax(0px, 1fr); }
  .profile-runs-chart { border-right: 0px; border-bottom: 1px solid var(--border); }
}
.profile-session-delete { border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; color: var(--text-faint); cursor: pointer; padding: 2px 6px; border-radius: var(--radius-sm); font-size: 12px; }
.profile-session-delete:hover { color: var(--danger); background: var(--bg-hover); }
.profile-tag { font-size: 10px; padding: 1px 4px; border-radius: var(--radius-sm); background: var(--bg-surface); color: var(--text-dim); text-transform: uppercase; margin-left: 4px; }
.profile-drop-overlay { position: absolute; inset: 0px; z-index: var(--layer-modal); background: color-mix(in srgb, var(--accent) 15%, var(--bg-app)); border: 2px dashed var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text); pointer-events: none; }
.profile-status-pane { display: flex; align-items: center; justify-content: center; flex: 1 1 0%; min-height: 220px; padding: 24px; }
.profile-status-card { width: 100%; max-width: 520px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-surface); padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.profile-status-title-row { display: flex; align-items: center; gap: 10px; }
.profile-status-title { margin: 0px; font-size: 14px; font-weight: 600; color: var(--text); }
.profile-status-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); flex: 0 0 auto; animation: 1.8s ease-out 0s infinite normal none running profile-pulse; }
@keyframes profile-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 70%, transparent); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px color-mix(in srgb, var(--danger) 0%, transparent); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 0%, transparent); }
}
.profile-status-timer { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.profile-status-progress-track { height: 8px; border-radius: var(--radius-sm); background: var(--bg-raised); border: 1px solid var(--border); overflow: hidden; position: relative; }
.profile-status-progress-bar { height: 100%; background: var(--accent); border-radius: calc(var(--radius-sm) - 1px); transition: width 0.2s; }
.profile-status-progress-bar.indeterminate { background-image: ; background-position-x: ; background-position-y: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; background-size: 34px 100%; animation: 1.2s linear 0s infinite normal none running profile-stripes; width: 100% !important; }
@keyframes profile-stripes {
  0% { background-position: 0px 0px; }
  100% { background-position: 34px 0px; }
}
.profile-status-details { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; }
.profile-status-detail-main { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-status-percent { font-family: var(--font-mono); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.profile-status-info-box { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.profile-status-row { display: flex; align-items: baseline; gap: 8px; min-width: 0px; }
.profile-status-label { color: var(--text-faint); font-size: 11px; flex: 0 0 auto; min-width: 75px; }
.profile-status-value { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.profile-status-value.mono { font-family: var(--font-mono); }
.profile-status-hint { font-size: 11.5px; color: var(--text-faint); line-height: 1.45; }
.profile-status-actions-row { display: flex; justify-content: flex-start; gap: 8px; margin-top: 4px; }
.profile-explorer { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; overflow: auto; padding: 16px 20px; gap: 16px; }
.profile-explorer-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.profile-explorer-title { font-size: 15px; font-weight: 600; color: var(--text); margin: 0px; display: flex; align-items: center; gap: 8px; }
.profile-explorer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.profile-explorer-filter { width: 220px; min-width: 140px; font-size: 12px; }
.profile-explorer-sort { font-size: 12px; padding: 4px 8px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); }
.profile-explorer-group { display: flex; flex-direction: column; gap: 8px; }
.profile-explorer-group-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-faint); margin-top: 4px; }
.profile-explorer-list { display: flex; flex-direction: column; gap: 6px; }
.profile-explorer-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-surface); transition: background 0.15s, border-color 0.15s; }
.profile-explorer-card:hover { background: var(--bg-raised); }
.profile-explorer-card[data-active="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-surface)); }
.profile-explorer-card-main { display: flex; align-items: center; gap: 12px; min-width: 0px; flex: 1 1 0%; cursor: pointer; }
.profile-explorer-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--bg-raised); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--text-dim); flex: 0 0 auto; }
.profile-explorer-card[data-active="true"] .profile-explorer-icon { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); border-color: var(--accent); }
.profile-explorer-card-info { display: flex; flex-direction: column; gap: 3px; min-width: 0px; }
.profile-explorer-card-header { display: flex; align-items: center; gap: 8px; min-width: 0px; }
.profile-explorer-card-title { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-explorer-card-meta { font-size: 11.5px; color: var(--text-faint); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.profile-explorer-card-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.profile-explorer-card-actions button { font-size: 11.5px; padding: 3px 8px; }
.profile-explorer-empty { padding: 32px 16px; text-align: center; color: var(--text-faint); font-size: 13px; line-height: 1.5; max-width: 460px; margin: 0px auto; }
.cm-editor .cm-content .cm-line.cm-profile-heat { --heat-tint: color-mix(in oklch, color-mix(in oklch, var(--warn), var(--del) calc(var(--heat) * 100%)) calc(var(--heat) * 26%), transparent); background-image: linear-gradient(var(--heat-tint), var(--heat-tint)); }
.cm-profile-heat-gutter { min-width: 46px; font-size: 10.5px; text-align: right; font-variant-numeric: tabular-nums; }
.cm-profile-share { display: block; padding-right: 3px; color: color-mix(in oklch, var(--text-faint), var(--del) calc(var(--heat) * 100%)); background: linear-gradient(to left, color-mix(in oklch, var(--del) 30%, transparent) calc(var(--heat) * 100%), transparent 0); }
.cm-profile-heat-gutter .cm-gutterElement { padding: 0px 4px 0px 2px; }
.profile-heat-bar { display: flex; align-items: center; gap: 8px; min-height: 26px; padding: 2px 10px; border-bottom: 1px solid var(--border); font-size: 11.5px; overflow: hidden; }
.profile-heat-title { color: var(--warn); font-weight: 600; }
.profile-heat-scope { color: var(--text-dim); white-space: nowrap; }
.profile-heat-functions { display: flex; gap: 4px; min-width: 0px; overflow: hidden; }
.profile-heat-function { height: 20px; padding: 0px 6px; font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.profile-heat-function b { color: var(--warn); font-family: var(--font-ui); font-weight: 600; }
.profile-heat-toggle { margin-left: auto; height: 20px; padding: 0px 8px; font-size: 11px; }
.cm-editor .cm-content .cm-line.cm-profile-heat.cm-activeLine { background-color: transparent; outline: 1px solid var(--accent); outline-offset: -1px; }
.code-panel { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; }
.code-panel > .pane { flex: 1 1 auto; min-height: 0px; border-right-width: medium; border-right-style: none; border-right-color: currentcolor; }
.cm-debug-gutter .cm-gutterElement { display: flex; align-items: center; justify-content: center; width: 14px; cursor: pointer; }
.debug-breakpoint { display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; }
.debug-breakpoint.verified { background: var(--del); }
.debug-breakpoint.unsent, .debug-breakpoint.pending { border: 2px solid var(--del); }
.debug-breakpoint.rejected { border: 2px dashed var(--text-faint); }
.debug-breakpoint.disabled { border: 2px solid var(--text-faint); background: transparent; }
.debug-breakpoint.ghost { background: var(--del); opacity: 0.3; }
.debug-breakpoint.logpoint { border-radius: 1px; transform: rotate(45deg) scale(0.8); }
.debug-breakpoint.here { box-shadow: 0 0 0 2px var(--warn); }
.debug-execution-arrow, .debug-inspected-arrow { width: 0px; height: 0px; border-block: 5px solid transparent; border-left: 8px solid var(--warn); }
.debug-inspected-arrow { border-left-color: var(--accent); }
.cm-editor .cm-line.debug-execution-line { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.cm-editor .cm-line.debug-inspected-line { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.debug-shelf { position: relative; display: flex; flex-direction: column; flex: 0 0 auto; min-height: 0px; max-height: 66%; border-top: 1px solid var(--border); background: var(--bg); font-size: 12px; container-type: inline-size; }
.debug-resize { position: absolute; z-index: var(--layer-raised); inset: -3px 0px auto; height: 6px; cursor: row-resize; touch-action: none; }
.debug-resize:hover, .debug-resize:focus-visible { outline: none; background: var(--accent); }
.debug-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 32px; padding: 2px 8px; border-bottom: 1px solid var(--border); background: var(--bg-surface); flex: 0 0 auto; }
.debug-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px; border: 0px; background: transparent; color: var(--text); font-weight: 600; }
.debug-chevron { color: var(--text-faint); transition: transform 0.1s; }
.debug-chevron.open { transform: rotate(90deg); }
.debug-tools { display: flex; align-items: center; gap: 1px; padding-left: 8px; border-left: 1px solid var(--border); }
.debug-tool { display: grid; place-items: center; width: 26px; height: 24px; padding: 0px; border: 0px; border-radius: var(--radius-sm); background: transparent; color: var(--text-dim); }
.debug-tool:hover:not(:disabled) { background: var(--bg-raised); color: var(--text); }
.debug-tool:disabled { color: var(--text-faint); opacity: 0.45; }
.debug-tool.go:not(:disabled) { color: var(--add); }
.debug-tool.stop:not(:disabled) { color: var(--del); }
.debug-tools-gap { width: 1px; height: 16px; margin: 0px 4px; background: var(--border); }
.debug-status { display: inline-flex; align-items: center; gap: 6px; flex: 1 1 200px; min-width: 0px; color: var(--text-dim); }
.debug-status > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.debug-state-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.debug-status[data-state="running"] .debug-state-dot { background: var(--add); }
.debug-status[data-state="paused"] .debug-state-dot { background: var(--warn); }
.debug-status[data-state="failed"] .debug-state-dot { background: var(--del); }
.debug-status[data-state="paused"] { color: var(--warn); }
.debug-error { margin: 0px; padding: 4px 10px; color: var(--del); overflow-wrap: anywhere; }
.debug-body { display: grid; grid-template-columns: var(--debug-stack, 38%) 5px minmax(0, 1fr); flex: 1 1 0%; min-height: 0px; }
.debug-split { position: relative; background: var(--border); cursor: col-resize; touch-action: none; width: 1px; justify-self: center; }
.debug-split::before { position: absolute; inset: 0px -3px; content: ""; }
.debug-split:hover, .debug-split:focus-visible { outline: none; width: 2px; background: var(--accent); }
@container (max-width: 560px) {
  .debug-body { grid-template-columns: 1fr; grid-template-rows: minmax(70px, 2fr) 0px minmax(0px, 3fr); }
  .debug-split { display: none; }
  .debug-stack { border-bottom: 1px solid var(--border); }
}
.debug-pane { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; }
.debug-pane-head { display: flex; align-items: center; gap: 10px; height: 28px; padding: 0px 10px; border-bottom: 1px solid var(--border); background: var(--bg-surface); flex: 0 0 auto; }
.debug-pane-title { font-weight: 600; }
.debug-chip { padding: 0px 6px; border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--text-dim); font-size: 11px; line-height: 18px; }
.debug-search { width: min(220px, 40%); height: 20px; margin-left: auto; padding: 0px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-size: 12px; }
.debug-search:focus { border-color: var(--accent); outline: none; }
.debug-search + .debug-pane-context { margin-left: 0px; }
.debug-pane-context { margin-left: auto; min-width: 0px; overflow: hidden; color: var(--text-faint); font-family: var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.debug-tabs button { display: inline-flex; align-items: center; gap: 5px; align-self: stretch; padding: 0px 2px; border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; border-radius: 0px; background: transparent; color: var(--text-dim); }
.debug-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.debug-count { padding: 0px 5px; border-radius: 8px; background: var(--bg-raised); color: var(--text-dim); font-family: var(--font-ui); font-size: 10px; line-height: 15px; }
.debug-empty { margin: 0px; padding: 14px; color: var(--text-faint); }
.debug-empty.failed { color: var(--del); overflow-wrap: anywhere; }
.debug-thread-note { margin: 0px; padding: 3px 10px; border-bottom: 1px solid var(--border); color: var(--text-dim); font-size: 11px; }
.debug-table { flex: 1 1 0%; min-height: 0px; overflow: auto; outline: none; }
.debug-row { display: grid; align-items: center; min-height: 22px; border-bottom: 1px solid color-mix(in srgb, var(--border) 45%, transparent); cursor: default; }
.debug-row:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
.debug-table:focus-visible .debug-row[aria-selected="true"], .debug-row[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.debug-head { position: sticky; z-index: var(--layer-raised); top: 0px; min-height: 24px; background: var(--bg-surface); color: var(--text-faint); font-size: 11px; }
.debug-head:hover { background: var(--bg-surface); }
.debug-head > span { position: relative; padding: 0px 8px; border-right: 1px solid var(--border); }
.debug-head > span:last-child { border-right: 0px; }
.debug-col-resize { position: absolute; inset: 0px -4px 0px auto; width: 8px; cursor: col-resize; touch-action: none; }
.debug-type-head .debug-col-resize { inset: 0px auto 0px -4px; }
.debug-cell { display: flex; align-items: center; gap: 4px; min-width: 0px; padding: 0px 8px; overflow: hidden; white-space: nowrap; }
.debug-table-note { padding-left: calc(30px + var(--debug-depth, 0) * 14px); color: var(--text-faint); font-style: italic; }
.debug-table-note.failed { color: var(--del); font-style: normal; }
.debug-link { padding: 0px; border: 0px; background: transparent; color: var(--accent); font-size: inherit; }
.debug-frames .debug-row { grid-template-columns: 18px minmax(0px, 1fr) auto; }
.debug-frame-mark { display: grid; place-items: center; color: var(--warn); }
.debug-frame-name { overflow: hidden; font-family: var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.debug-frame-qualifier { color: var(--text-faint); }
.debug-frame-place { padding: 0px 10px 0px 12px; color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.debug-frame.external .debug-frame-name { color: var(--text-dim); font-style: italic; }
.debug-frame.top .debug-frame-name { font-weight: 600; }
.debug-values .debug-row { grid-template-columns: min(var(--debug-name, 220px), 40%) minmax(0, 1fr) min(var(--debug-type, 160px), 30%); }
.debug-values .debug-row > .debug-cell + .debug-cell { border-left: 1px solid color-mix(in srgb, var(--border) 45%, transparent); }
.debug-indent { flex: 0 0 auto; align-self: stretch; width: calc(var(--debug-depth, 0) * 14px); background: repeating-linear-gradient(to right, transparent 0 6px, var(--border) 6px 7px, transparent 7px 14px); }
.debug-disclosure { display: grid; flex: 0 0 auto; place-items: center; width: 16px; height: 16px; padding: 0px; border: 0px; background: transparent; color: var(--text-faint); }
.debug-value-name { overflow: hidden; color: var(--code-prop, var(--text)); font-family: var(--font-mono); text-overflow: ellipsis; }
.debug-watch { display: grid; flex: 0 0 auto; place-items: center; width: 18px; height: 18px; margin-left: auto; padding: 0px; border: 0px; border-radius: 4px; background: transparent; color: var(--text-faint); opacity: 0; }
.debug-value:hover .debug-watch, .debug-value[aria-selected="true"] .debug-watch, .debug-watch[aria-expanded="true"], .debug-watch:focus-visible { opacity: 1; }
.debug-watch:hover:not(:disabled) { color: var(--accent); }
.debug-watch:disabled { cursor: not-allowed; opacity: 0.5; }
.debug-watch-menu { position: fixed; width: 210px; padding: 4px; }
.debug-value.scope .debug-value-name { color: var(--text); font-family: var(--font-ui); font-weight: 600; }
.debug-value-text { overflow: hidden; font-family: var(--font-mono); text-overflow: ellipsis; color: var(--text); }
.debug-value-text.number { color: var(--code-num, var(--text)); }
.debug-value-text.string { color: var(--code-str, var(--text)); }
.debug-value-text.bool { color: var(--code-kw, var(--text)); }
.debug-value-text.pointer, .debug-value-text.summary { color: var(--text-faint); }
.debug-value-text.unavailable { color: var(--del); font-family: var(--font-ui); font-style: italic; }
.debug-type { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; }
.debug-type-code { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.debug-type .debug-count { margin-left: auto; }
.debug-breakpoint-table .debug-row { grid-template-columns: minmax(160px, 1fr) minmax(0px, 1.4fr) auto; cursor: pointer; }
.debug-breakpoint-place .debug-breakpoint { margin-right: 2px; }
.debug-breakpoint-place input[type="checkbox"] { width: 13px; height: 13px; min-height: 0px; margin: 0px 4px 0px 0px; padding: 0px; flex: 0 0 auto; }
.debug-breakpoint-table [role="columnheader"]:last-child, .debug-breakpoint-table .debug-cell:last-of-type { display: flex; align-items: center; gap: 8px; }
.debug-file { font-family: var(--font-mono); }
.debug-folder { overflow: hidden; color: var(--text-faint); text-overflow: ellipsis; }
.debug-breakpoint-state { color: var(--text-dim); }
.debug-breakpoint-state.failed { color: var(--del); }
.debug-data-breakpoint .debug-breakpoint-place svg { flex: 0 0 auto; margin-right: 4px; color: var(--accent); }
.debug-breakpoint-editor { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 4px 8px; align-items: end; padding: 4px 8px 6px; cursor: default; }
.debug-breakpoint-editor label { display: grid; flex: 1 1 140px; min-width: 0px; gap: 2px; color: var(--text-dim); font-size: 11px; }
.debug-breakpoint-editor label:nth-of-type(2) { flex: 0 1 88px; }
.debug-breakpoint-editor input { font-family: var(--font-mono); min-height: 22px; height: 22px; padding: 0px 6px; }
.debug-breakpoint-editor-actions { display: flex; gap: 4px; }
.debug-breakpoint-editor-actions button { min-height: 22px; padding: 0px 6px; }
.debug-breakpoint-editor-note { flex-basis: 100%; margin: 0px; color: var(--del); }
.debug-breakpoint-menu { position: fixed; min-width: 190px; padding: 4px; }
.debug-condition-popover { position: fixed; width: min(400px, -16px + 100vw); }
.debug-condition-completions { position: fixed; overflow: auto; padding: 3px; font-size: 12px; }
.debug-completion-heading { padding: 2px 6px 4px; color: var(--text-faint); font-size: 11px; }
.debug-completion-option { display: block; width: 100%; min-height: 24px; padding: 2px 6px; border: 0px; border-radius: var(--radius-sm); background: none; color: var(--text); text-align: left; font-family: var(--font-mono); }
.debug-completion-option[aria-selected="true"] { background: var(--selection-bg); }
.debug-completion-option:hover { background: var(--bg-surface); }
.debug-hover { min-width: 320px; max-width: min(720px, 80vw); max-height: min(560px, 65vh); overflow: auto; overscroll-behavior: contain; padding: 4px 0px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow-popover); font-size: 12px; }
.debug-hover-row { display: flex; align-items: baseline; gap: 6px; min-height: 20px; padding-right: 10px; white-space: nowrap; cursor: default; }
.debug-hover-row:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.debug-hover-disclosure { flex: 0 0 auto; width: 10px; color: var(--text-faint); }
.debug-hover-disclosure.loading { color: var(--accent); animation: 0.8s ease-in-out 0s infinite alternate none running debug-pulse; }
@keyframes debug-pulse {
  0% { opacity: 0.3; }
}
.debug-hover-equals { color: var(--text-faint); }
.debug-hover-row .debug-value-text { flex: 1 1 auto; min-width: 0px; }
.debug-hover-row .debug-type { margin-left: 12px; }
.debug-hover-failed { padding-left: 10px; color: var(--del); white-space: normal; }
.debug-hover-note { color: var(--text-faint); font-style: italic; }
.debug-math-preview { padding: 8px 12px; max-width: 420px; }
.debug-math-convention { color: var(--text-dim); white-space: normal; }
.debug-math-glyph { display: block; width: 320px; max-width: 100%; height: 220px; }
.debug-math-glyph text { fill: var(--text-dim); font-size: 11px; font-family: var(--font-mono); }
.debug-math-axis { fill: none; stroke: var(--border); stroke-width: 1; }
.debug-math-vector { fill: none; stroke: var(--accent); stroke-width: 2; }
.debug-math-tip { fill: var(--accent); }
.debug-math-values { font-family: var(--font-mono); overflow-wrap: anywhere; white-space: normal; }
.debug-math-grid { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 4px 12px; margin: 8px 0px; text-align: right; font-family: var(--font-mono); }
.debug-math-grid span { overflow-wrap: anywhere; }
.debug-math-grid [data-translation="true"] { color: var(--accent); }
.debug-math-warning { color: var(--warn); margin-top: 4px; }
.debug-parallel { flex: 1 1 0%; min-height: 0px; overflow: auto; padding: 4px 8px 8px; font-size: 12px; }
.debug-parallel-summary { margin: 2px 0px 6px; color: var(--text-faint); }
.debug-parallel-block { display: flex; flex-direction: column; margin-bottom: 4px; padding: 2px 0px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); }
.debug-parallel-count { padding: 0px 8px; color: var(--accent); font-size: 11px; font-variant-numeric: tabular-nums; }
.debug-parallel-frame { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 10px; min-height: 0px; height: 20px; padding: 0px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; color: var(--text); text-align: left; }
.debug-parallel-frame:hover { background: var(--bg-surface); }
.debug-parallel-frame .debug-frame-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 11.5px; }
.debug-parallel-frame .debug-frame-place { color: var(--text-faint); font-size: 11px; }
.debug-disassembly { flex: 1 1 0%; min-height: 0px; overflow: auto; padding: 2px 0px 8px; font-family: var(--font-mono); font-size: 11.5px; }
.debug-disassembly-source { display: block; width: 100%; min-height: 0px; height: 20px; margin-top: 4px; padding: 0px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; color: var(--accent); font-family: var(--font-ui); font-size: 11.5px; text-align: left; }
.debug-disassembly-source:disabled { color: var(--text-faint); }
.debug-disassembly-row { display: grid; grid-template-columns: 16px 140px 150px minmax(0px, 1fr); column-gap: 8px; padding: 0px 8px; line-height: 18px; white-space: pre; }
.debug-disassembly-row.here { background: color-mix(in srgb, var(--warn) 18%, transparent); }
.debug-disassembly-mark { color: var(--warn); }
.debug-disassembly-address { color: var(--text-faint); }
.debug-disassembly-bytes { overflow: hidden; color: var(--text-faint); text-overflow: ellipsis; }
.debug-disassembly-instruction { overflow: hidden; color: var(--text); text-overflow: ellipsis; }
.debug-tool-text { width: auto; padding: 0px 6px; font-size: 11px; }
.debug-attach { height: 22px; padding: 0px 8px; font-size: 12px; }
.attach-picker { width: min(760px, 92vw); max-height: min(640px, 86vh); display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.attach-picker-title { margin: 0px; font-size: 15px; font-weight: 600; }
.attach-picker-note { margin: 0px; color: var(--text-dim); font-size: 12px; }
.attach-picker-search { width: 100%; }
.attach-picker-list { flex: 1 1 0%; min-height: 160px; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.attach-picker-row { display: grid; grid-template-columns: minmax(120px, 0.6fr) 64px minmax(0px, 1.4fr); gap: 10px; width: 100%; min-height: 0px; height: 24px; padding: 0px 10px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background: none; color: var(--text); text-align: left; font-size: 12px; }
.attach-picker-row:hover:not(:disabled) { background: var(--bg-raised); }
.attach-picker-row:disabled { color: var(--text-faint); }
.attach-picker-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-picker-previous { color: var(--accent); }
.attach-picker-pid { color: var(--text-faint); font-variant-numeric: tabular-nums; text-align: right; }
.attach-picker-path { overflow: hidden; color: var(--text-faint); text-overflow: ellipsis; white-space: nowrap; }
.debug-breakpoint-editor-log { flex: 1 1 100%; }
.debug-log { display: flex; flex: 1 1 0%; flex-direction: column; min-height: 0px; }
.debug-log-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 8px; color: var(--text-faint); font-size: 11px; }
.debug-log-note { margin: 0px; padding: 2px 8px; color: var(--text-dim); font-size: 11px; }
.debug-log-note.failed { color: var(--warn); }
.debug-log-entries { flex: 1 1 0%; min-height: 0px; overflow: auto; font-family: var(--font-mono); font-size: 12px; }
.debug-log-row { display: grid; grid-template-columns: auto minmax(80px, 160px) 1fr; align-items: baseline; gap: 8px; padding: 1px 8px; border-bottom: 1px solid color-mix(in srgb, var(--border) 45%, transparent); }
.debug-log-time { color: var(--text-faint); }
.debug-log-place { overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.debug-log-text { min-width: 0px; overflow-wrap: anywhere; }
.debug-log-skipped { color: var(--text-faint); font-style: italic; }
.panel { width: min(880px, 94vw); height: min(640px, 86vh); display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; }
.settings-modal { width: min(1440px, 100%); height: min(900px, 100%); }
.settings-modal > .panel { width: 100%; height: 100%; max-width: none; border: 0px; border-radius: inherit; }
.panel-header { display: flex; align-items: center; gap: 8px; min-height: var(--header-height); padding: 0px 8px; border-bottom: 1px solid var(--border); }
.panel-split { display: grid; grid-template-columns: 200px 1fr; flex: 1 1 0%; min-height: 0px; }
.panel-nav { display: flex; flex-direction: column; border-right: 1px solid var(--border); overflow: auto; padding: 14px 10px; gap: 18px; }
.panel-nav-group { display: flex; flex-direction: column; gap: 2px; }
.panel-nav-group-label { padding: 0px 10px 4px; color: var(--text-faint); font-size: 11.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-nav-item { display: flex; gap: 10px; align-items: center; text-align: left; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: var(--radius-lg); background: none; padding: 6px 10px; min-height: 0px; }
.panel-nav-item:hover { background: color-mix(in srgb, var(--bg-raised) 55%, transparent); }
.panel-nav-item[aria-current="true"] { background: var(--bg-raised); box-shadow: 0 0 0 1px var(--border); }
.panel-nav-icon { flex: 0 0 auto; color: var(--text-dim); }
.panel-nav-item[aria-current="true"] .panel-nav-icon { color: var(--accent); }
.panel-nav-label { min-width: 0px; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.panel-nav-workspace { display: flex; flex-direction: column; gap: 2px; }
.panel-nav-chevron { flex: 0 0 auto; width: 14px; color: var(--text-dim); text-align: center; }
.panel-nav-sub { padding-left: 26px; }
.panel-nav-tag { flex: 0 0 auto; margin-left: auto; color: var(--accent); font-size: 11px; }
.panel-nav-note { margin: 0px; padding: 0px 10px; color: var(--text-dim); font-size: 12.5px; }
.panel-body { --settings-max: 1100px; overflow: auto; min-height: 0px; padding: 20px 28px 28px; }
.panel-body > * { max-width: var(--settings-max); min-width: 0px; }
.settings-section-header { margin: 0px 0px 6px; }
.settings-section-header h2 { margin: 0px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.settings-section-header p { margin: 3px 0px 0px; color: var(--text-dim); font-size: 12.5px; }
.panel-footer { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border); }
.settings-group { margin: 14px 0px 0px; }
.settings-group-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0px 0px 6px; }
.settings-group-title { display: flex; align-items: baseline; flex: 1 1 240px; gap: 10px; min-width: 0px; }
.settings-subheading { flex: 0 0 auto; max-width: 100%; margin: 0px; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.settings-subtitle { min-width: 0px; overflow: hidden; color: var(--text-faint); font-family: var(--font-mono); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.settings-subtitle[data-text] { font-family: inherit; font-size: 12px; }
.settings-group-actions { display: flex; flex: 0 0 auto; align-items: center; flex-wrap: wrap; gap: 6px; }
.settings-group-actions button, .settings-actions button, .settings-intro-actions button { min-height: 26px; padding: 2px 10px; font-size: 12px; }
.settings-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); }
.settings-card > * + * { border-top: 1px solid var(--border); }
.settings-group-note { margin: 6px 2px 0px; color: var(--text-faint); font-size: 11.5px; line-height: 16px; }
.settings-group-note code { overflow-wrap: anywhere; }
.settings-card-body { padding: 8px 14px; margin: 0px; }
.settings-card > .settings-card-error { margin: 0px; padding: 8px 14px; border: 0px; border-radius: 0px; max-width: none; overflow-wrap: anywhere; }
.settings-row { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(200px, 300px); align-items: center; gap: 6px 20px; padding: 8px 14px; }
.settings-row[data-stacked] { grid-template-columns: minmax(0px, 1fr); }
.settings-row-text { display: grid; gap: 1px; min-width: 0px; }
.settings-row-label { color: var(--text); font-weight: 500; }
.settings-row-description { margin: 0px; color: var(--text-dim); font-size: 12px; line-height: 1.4; }
.settings-row-control { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 0px; }
.settings-row-control .select-control, .settings-row-control > input, .settings-row-control > textarea { width: 100%; }
.settings-row-control > textarea { resize: vertical; font: 12px/1.45 var(--font-mono); padding: 6px 8px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; }
.settings-row-control > .path-field { width: 100%; }
.settings-row[data-stacked] .settings-row-control { flex-flow: column; align-items: stretch; justify-content: flex-start; gap: 6px; }
.settings-row[data-stacked] .settings-row-control > input { font-family: var(--font-mono); font-size: 12px; }
.settings-row-control .select-options { left: auto; right: 0px; }
.settings-row[data-stacked] .select-options { left: 0px; right: auto; max-width: min(760px, 92vw); }
.settings-value { font-size: 13px; font-variant-numeric: tabular-nums; }
.path-text { display: block; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.path-field { display: flex; gap: 6px; width: 100%; min-width: 0px; }
.path-field > input, .path-field > .select-control { flex: 1 1 0px; width: auto; min-width: 0px; }
.path-field > input { font-family: var(--font-mono); font-size: 12px; }
.path-field > button { flex: 0 0 auto; }
.settings-card > .switch-row { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 14px; }
.settings-card > .switch-row-button { width: 100%; min-height: 0px; border: 0px; border-radius: 0px; background: none; }
.settings-card > .switch-row-button:first-child { border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; }
.settings-card > .switch-row-button:last-child { border-radius: 0 0 calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px); }
.settings-card > .switch-row-button:only-child { border-radius: calc(var(--radius-lg) - 1px); }
.settings-card > .switch-row-button:hover:not(:disabled) { background: var(--bg-raised); }
.settings-card > .switch-row .switch-text { flex: 1 1 0%; }
.settings-card > .switch-row .switch-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.unsaved-dot { display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.settings-status { --tone: var(--text-dim); display: flex; align-items: flex-start; gap: 10px; padding: 8px 14px; background: color-mix(in srgb, var(--tone) 7%, var(--bg-surface)); font-size: 12px; line-height: 1.45; }
.settings-status:first-child { border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; }
.settings-status[data-tone="ok"], .status-text[data-tone="ok"] { --tone: var(--add); }
.settings-status[data-tone="warn"], .status-text[data-tone="warn"] { --tone: var(--warn); }
.settings-status[data-tone="bad"], .status-text[data-tone="bad"] { --tone: var(--del); }
.settings-status[data-tone="busy"], .status-text[data-tone="busy"] { --tone: var(--accent); }
.settings-status p { margin: 0px; min-width: 0px; color: var(--text-dim); overflow-wrap: anywhere; }
.settings-status strong { color: var(--tone); font-size: 13px; font-weight: 600; }
.settings-status-mark { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--tone); }
.settings-status[data-tone="busy"] .settings-status-mark { animation: 1.2s ease-in-out 0s infinite normal none running settings-pulse; }
.status-text { --tone: var(--text-dim); display: inline-flex; align-items: center; gap: 6px; min-width: 0px; color: var(--tone); font-size: 12px; }
.status-text[data-tone]::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--tone); }
.settings-bar { height: 3px; overflow: hidden; background: color-mix(in srgb, var(--accent) 15%, var(--bg-surface)); }
.settings-bar span { display: block; height: 100%; background: var(--accent); transition: width 0.3s; }
.settings-bar[data-indeterminate] span { width: 30%; animation: 1.4s ease-in-out 0s infinite normal none running settings-slide; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 20px; margin: 0px; padding: 8px 14px 10px; }
.stat-grid > div { display: grid; gap: 1px; min-width: 0px; }
.stat-grid > div[data-wide] { grid-column: span 2; }
.stat-grid dt { color: var(--text-dim); font-size: 11px; }
.stat-grid dd { margin: 0px; overflow: hidden; font-size: 13px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.stat-grid dd code { font-size: 12px; }
@keyframes settings-pulse {
  50% { opacity: 0.35; }
}
@keyframes settings-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(340%); }
}
@media (prefers-reduced-motion: reduce) {
  .settings-status-mark, .settings-bar span { animation: auto ease 0s 1 normal none running none !important; }
}
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0px 12px; }
.check-row { display: flex; align-items: center; gap: 8px; min-width: 0px; padding: 3px 4px; border-radius: var(--radius); font-size: 12px; cursor: pointer; }
.check-row:hover:not(.is-readonly) { background: var(--bg-raised); }
.check-row input { flex: 0 0 auto; width: auto; min-height: 0px; margin: 0px; }
.check-row .status-text { flex: 0 0 auto; margin-left: auto; }
.check-name { display: flex; align-items: baseline; gap: 8px; min-width: 0px; }
.check-name strong { flex: 0 0 auto; font-weight: 500; }
.check-name span { overflow: hidden; color: var(--text-dim); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.settings-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 14px; }
.settings-card > .settings-details > summary { padding: 7px 14px; color: var(--text); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.settings-card > .settings-details > summary:hover { background: var(--bg-raised); }
.settings-card > .settings-details > :not(summary) { margin: 0px; padding: 4px 14px 10px; }
.settings-card > .settings-details[open] > summary { padding-bottom: 5px; }
.settings-intro-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.settings-intro-row .section-intro { flex: 1 1 360px; margin: 0px; }
.settings-intro-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.settings-confirm { padding: 8px 14px; }
.settings-confirm > p { margin: 0px; }
.settings-confirm .settings-actions { padding: 6px 0px 0px; }
.settings-warning { margin: 14px 0px 0px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); border-radius: var(--radius-lg); background: var(--bg-surface); color: var(--text-dim); font-size: 12px; line-height: 18px; }
.settings-warning strong { color: var(--text); }
.section-intro { margin: 0px 0px 4px; color: var(--text-dim); font-size: 12.5px; line-height: 18px; max-width: 100ch; }
.field-help { margin: 4px 0px 0px; color: var(--text-dim); font-size: 12px; line-height: 18px; }
.field-path { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); overflow-wrap: anywhere; }
.inline-error { margin: 0px 0px 12px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--del) 45%, var(--border)); border-radius: 3px; color: var(--del); font-size: 12px; line-height: 18px; }
.ui-scale-control { display: flex; align-items: center; gap: 12px; width: 100%; }
.ui-scale-control input[type="range"] { flex: 1 1 0%; width: 100%; min-width: 0px; min-height: 0px; height: auto; padding: 0px; border: 0px; background: transparent; accent-color: var(--accent); }
.ui-scale-control output { min-width: 4ch; color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.shortcut-table-scroll { width: 100%; margin-top: 8px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); }
.shortcut-table { width: 100%; min-width: 620px; table-layout: fixed; border-collapse: collapse; font-size: 12px; text-align: left; }
.shortcut-table th, .shortcut-table td { padding: 3px 10px; height: 32px; box-sizing: border-box; }
.shortcut-table thead th { background: var(--bg-raised); color: var(--text-dim); font-weight: 600; }
.shortcut-table thead th:first-child { width: 44%; }
.shortcut-table thead th:last-child { width: 40px; }
.shortcut-group-heading th { padding-top: 8px; padding-bottom: 5px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-surface); color: var(--text-dim); font-weight: 600; }
.shortcut-table tbody tr:nth-child(2n) { background: var(--bg-surface); }
.shortcut-table tbody tr:not(.shortcut-group-heading):hover { background: var(--bg-raised); }
.shortcut-action { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.shortcut-conflict { color: var(--warn); }
.shortcut-capture { flex: 1 1 0%; min-width: 0px; min-height: 24px; padding: 2px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font: 12px var(--font-mono); }
.shortcut-table .icon-button { flex: 0 0 auto; width: 24px; height: 24px; min-height: 24px; padding: 0px; }
.shortcut-slot { display: flex; align-items: center; gap: 4px; }
.about-intro { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.about-intro p { margin: 0px; color: var(--text-dim); font-size: 12.5px; }
.about-logo { flex: 0 0 60px; width: 60px; height: 40px; object-fit: contain; }
.about-site-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; text-decoration: none; }
.about-site-link:hover { text-decoration: underline; }
.updates-offer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 10px 14px; }
.updates-offer > div { min-width: 0px; }
.updates-offer p { margin: 0px 0px 6px; }
.updates-offer > button { flex: 0 0 auto; }
.guidelines-textarea { width: 100%; min-height: 160px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 8px 10px; resize: vertical; box-sizing: border-box; }
.guidelines-count { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.log-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; padding: 8px 14px; }
.log-control { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--text-dim); }
.log-control .select-control { width: 140px; }
.log-control .select-trigger { min-height: var(--row-height); padding: 0px 8px; }
.log-control input[type="text"] { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-family: var(--font-mono); font-size: 12px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; min-height: var(--row-height); padding: 0px 8px; width: 220px; }
.log-list { max-height: 420px; overflow: auto; border-radius: 0 0 calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px); background: var(--bg); padding: 4px 0px; }
.log-row { display: flex; align-items: baseline; gap: 8px; padding: 0px 8px; line-height: 18px; font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.log-time { flex: 0 0 auto; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.log-level { flex: 0 0 auto; min-width: 5ch; color: var(--text-dim); }
.log-level[data-tone="warn"] { color: var(--warn); }
.log-level[data-tone="bad"] { color: var(--del); }
.log-source { flex: 0 0 auto; color: var(--text-dim); }
.log-message { overflow: hidden; text-overflow: ellipsis; color: var(--text); white-space: pre; }
.log-detail { color: var(--text-faint); }
.clangd-check-steps { display: grid; gap: 8px; margin: 0px 0px 8px; }
.clangd-check-steps div { padding-left: 10px; }
.clangd-check-steps div[data-state="ready"] { color: var(--add); }
.clangd-check-steps div[data-state="failed"] { color: var(--del); }
.clangd-check-steps div[data-state="warning"] { color: var(--warn); }
.clangd-check-steps dt { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; font-weight: 600; }
.clangd-check-steps dt span { color: var(--text-faint); font-weight: 400; }
.clangd-check-steps dd { margin: 2px 0px 0px; color: var(--text-dim); font-size: 12px; overflow-wrap: anywhere; }
.clangd-check .field-help { overflow-wrap: anywhere; }
.clangd-check pre { max-height: 220px; overflow: auto; font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.json-editor { width: 100%; font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 8px; resize: vertical; tab-size: 2; }
.agent-command { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); overflow-wrap: anywhere; }
.agent-test-stderr { margin: 6px 0px 0px; padding: 6px 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; max-height: 160px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-json { margin: 18px 0px 0px; }
.agent-json summary { cursor: pointer; padding: 4px 0px; font-size: 12px; }
.agent-json-label { display: block; font-size: 12px; margin: 8px 0px 4px; }
.agent-json code { overflow-wrap: anywhere; }
.agents-notice { color: var(--add); font-size: 12px; }
.agents-settings .inline-error { margin: 8px 0px 0px; overflow-wrap: anywhere; }
.agents-settings .inline-error button { margin-left: 12px; }
.agents-settings .inline-error p { margin: 8px 0px 0px; }
.agents-empty { margin: 14px 0px; padding: 22px 20px; border: 1px dashed var(--border); border-radius: var(--radius-lg); text-align: center; background: var(--bg-surface); }
.agents-empty > .agent-avatar { margin: 0px auto 10px; padding: 0px; }
.agents-empty > .agent-avatar:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.agents-empty h3 { margin: 0px 0px 6px; font-size: 14px; }
.agents-empty p { color: var(--text-dim); max-width: 44ch; margin: 0px auto; }
.agent-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 0px; list-style-position: inside; color: var(--text-dim); font-size: 12px; margin: 14px 0px 0px; }
.agent-steps li::marker { color: var(--accent); }
.agent-callout { margin: 8px 0px; }
.settings-card > .agent-callout { margin: 8px 14px; }
.agent-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px; margin: 10px 0px; }
.agent-preset { display: flex; align-items: flex-start; text-align: left; gap: 10px; padding: 10px 12px; background: var(--bg); }
.agent-preset > span:nth-child(2) { flex: 1 1 0%; min-width: 0px; }
.agent-preset strong { display: block; }
.agent-preset .field-help { display: block; margin: 0px; }
.agent-preset:hover { border-color: var(--accent); }
.agent-avatar { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 4px; font-weight: 600; font-size: 14px; color: var(--text-dim); }
.agent-icon { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 5px; font-weight: 600; line-height: 1; color: var(--text-dim); background: var(--bg-raised); border: 1px solid var(--border); box-sizing: border-box; }
.agent-icon[data-mark] { background: var(--mark-tile); border-color: transparent; }
.agent-icon[data-mark="full"] { background: none; border: 0px; }
.agent-icon img { display: block; }
.settings-group-title > .agent-icon { align-self: center; }
.agent-untested-toggle { margin: 0px 0px 6px; font-size: 12px; color: var(--text-dim); }
.agents-list { margin-top: 0px; }
.agent-summary-hint { color: var(--text-faint); font-weight: normal; font-size: 11px; margin-left: 8px; }
.agent-details-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.agent-definition { display: grid; grid-template-columns: max-content minmax(0px, 1fr); gap: 4px 16px; margin: 0px 0px 6px; font-size: 12px; }
.agent-definition dt { color: var(--text-faint); }
.agent-definition dd { margin: 0px; overflow-wrap: anywhere; }
.agent-remove { margin-top: 8px; padding: 8px 0px 0px; }
.agent-update-ask { padding: 8px 14px; }
.agent-remove p, .agent-update-ask p { margin: 0px 0px 6px; }
.agent-sign-in > p { margin: 0px; padding: 8px 14px; }
.agent-sign-in-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--border); }
.agent-sign-in-option > div { display: flex; flex-direction: column; gap: 3px; min-width: 0px; flex: 1 1 0%; }
.agent-sign-in-option .agent-command { overflow-wrap: anywhere; }
.agent-sign-in-option > button { flex-shrink: 0; }
.agent-sign-in-option input { max-width: 320px; margin-top: 4px; padding: 4px 8px; }
.agent-form { display: grid; gap: 8px; margin: 14px 0px 0px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); }
.agent-form label { display: grid; gap: 4px; margin: 0px; font-size: 12px; }
.agent-form input, .agent-form textarea { width: 100%; min-width: 0px; padding: 5px 8px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; }
.agent-form textarea { resize: vertical; font-family: var(--font-mono); font-size: 12px; }
.agent-form input[readonly] { color: var(--text-dim); background: var(--bg-raised); }
.agent-form .field-help { margin: 0px; }
.agent-form details { padding-top: 6px; border-top: 1px solid var(--border); }
.agent-form summary { cursor: pointer; padding: 2px 0px 6px; font-size: 12.5px; font-weight: 500; }
.agent-form h4 { font-size: 12px; margin: 10px 0px 4px; }
.agent-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.agent-form-heading h3 { font-size: 13px; margin: 0px; }
.agent-form-heading .badge { background: none; border: 0px; color: var(--text-faint); padding: 0px; }
.agent-executable { display: flex; gap: 6px; }
.agent-executable > input { flex: 1 1 0%; }
.agent-executable > button { flex-shrink: 0; }
.agent-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.agent-form-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.agent-form-footer button { min-height: 26px; padding: 2px 10px; font-size: 12px; }
.atlas-server .facts-list code { font-family: var(--font-mono); }
.agent-extensions .ext-body { display: grid; gap: 10px; color: var(--text); }
.ext-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.ext-layout > span { color: var(--text-dim); }
.ext-layout .select-control { width: 220px; }
.ext-group + .ext-group { padding-top: 8px; border-top: 1px solid var(--border); }
.ext-group > header { display: grid; gap: 2px; padding-bottom: 4px; }
.ext-group h4 { margin: 0px; font-size: 12px; font-weight: 600; }
.ext-group .field-help { margin: 0px; }
.ext-path { overflow: hidden; color: var(--text-dim); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ext-group .check-list { grid-template-columns: minmax(0px, 1fr); }
.ext-group .check-list > .select-control, .ext-group .check-list > .field-help, .ext-group .check-list > .inline-error { margin: 4px 0px; }
.ext-kind { flex: 0 0 82px; color: var(--text-dim); font-size: 11px; }
.agent-extensions .agent-form-footer { align-items: center; }
.agent-extensions .agent-form-footer .field-help { flex: 1 1 0%; margin: 0px; }
.agent-registry { margin-top: 12px; }
.agent-registry h4 { margin: 0px 0px 4px; }
.agent-registry-search { width: 100%; margin: 6px 0px; }
.agent-registry-list { max-height: 360px; overflow: auto; }
.runtime-missing p { margin: 0px 0px 6px; }
.runtime-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@container (max-width: 760px) {
  .settings-row { grid-template-columns: minmax(0px, 1fr); }
  .settings-row-control { justify-content: flex-start; }
  .settings-row-control .select-options { left: 0px; right: auto; }
}
.settings-stage { width: 100%; height: 100%; min-width: 0px; min-height: 0px; border: 0px; border-radius: 0px; container-type: inline-size; }
.settings-stage .panel-split { grid-template-columns: 220px minmax(0px, 1fr); }
@container (max-width: 600px) {
  .settings-stage .panel-split { grid-template-columns: minmax(0px, 1fr); grid-template-rows: auto minmax(0px, 1fr); }
  .settings-stage .panel-nav { flex-direction: row; border-right-width: medium; border-right-style: none; border-right-color: currentcolor; border-bottom: 1px solid var(--border); padding: 4px; gap: 8px; }
  .settings-stage .panel-nav-group { flex-direction: row; align-items: center; }
  .settings-stage .panel-nav-group + .panel-nav-group { padding: 0px 0px 0px 8px; border-top-width: medium; border-top-style: none; border-top-color: currentcolor; border-left: 1px solid var(--border); }
  .settings-stage .panel-nav-group-label { display: none; }
  .settings-stage .panel-nav-item { flex: 0 0 auto; border-bottom: 2px solid transparent; }
  .settings-stage .panel-nav-item[aria-current="true"] { border-bottom-color: var(--accent); box-shadow: none; }
  .settings-stage .panel-body { padding: 14px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .agent-definition { grid-template-columns: minmax(0px, 1fr); gap: 4px; }
  .agent-definition dd { margin-bottom: 8px; }
}
.welcome { display: grid; grid-template-columns: 300px minmax(0px, 1fr); grid-template-rows: minmax(0px, 1fr); width: min(1000px, 100%); height: min(720px, 100%); overflow: hidden; }
.welcome-brand { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px 32px; border-right: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); background: radial-gradient(120% 60% at 50% 38%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--bg-raised); }
.welcome-brand img { width: 168px; height: auto; margin: 0px auto 20px; filter: drop-shadow(0 10px 28px color-mix(in srgb, var(--accent) 35%, transparent)); }
.welcome-brand h2 { margin: 0px; font-size: 26px; line-height: 32px; letter-spacing: -0.01em; }
.welcome-brand p { margin: 0px; color: var(--text-dim); line-height: 1.6; }
.welcome-main { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; }
.welcome-scroll { flex: 1 1 0%; min-height: 0px; overflow: auto; padding: 8px 28px 16px; }
.welcome-section { padding: 20px 0px; }
.welcome-section + .welcome-section { border-top: 1px solid var(--border); }
.welcome-section p { margin: 0px 0px 12px; color: var(--text-dim); line-height: 1.55; }
.welcome-eyebrow { margin: 0px 0px 12px; color: var(--text-faint); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.welcome-setup { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; }
.welcome-card { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.welcome-card[data-done="true"] { border-color: color-mix(in srgb, var(--add) 40%, var(--border)); }
.welcome-card-head { display: flex; align-items: center; gap: 10px; margin: 0px 0px 8px; }
.welcome-card h4 { margin: 0px; font-size: 14px; }
.welcome-card p { margin: 0px 0px 10px; font-size: 12.5px; }
.welcome-card-action { margin-top: auto; }
.welcome-mark { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); font-size: 11.5px; }
.welcome-card[data-done="true"] .welcome-mark { border-color: var(--add); color: var(--add); }
.welcome-section .welcome-status { color: var(--add); }
.welcome-keys { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; align-items: center; margin: 0px 0px 12px; }
.welcome-keys dt { white-space: nowrap; color: var(--text-faint); }
.welcome-keys dd { margin: 0px; color: var(--text-dim); }
.welcome-section .welcome-hint { margin: 0px; color: var(--text-faint); font-size: 12px; }
.welcome-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 28px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 12px; }
@media (max-width: 760px) {
  .welcome { grid-template-columns: minmax(0px, 1fr); grid-template-rows: auto minmax(0px, 1fr); }
  .welcome-brand { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 4px 16px; padding: 18px 24px; border-right: 0px; border-bottom: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
  .welcome-brand img { grid-row: span 2; width: 56px; margin: 0px; }
  .welcome-brand h2 { font-size: 20px; }
  .welcome-brand p { font-size: 12.5px; }
  .welcome-setup { grid-template-columns: minmax(0px, 1fr); }
}
