/* A IDE ocupa o contexto atual; sua preferência de foco não se propaga às outras ferramentas. */
.xml-debug-page .app-shell{grid-template-columns:224px minmax(0,1fr);transition:grid-template-columns 1.1s cubic-bezier(.22,.68,.18,1)}
.xml-debug-page .app-shell main{max-width:none;width:100%;margin:0;padding:22px 24px;box-sizing:border-box}
.xml-debug-page .sidebar{display:flex;min-width:0;overflow:hidden;transition:opacity .7s,transform 1.1s cubic-bezier(.22,.68,.18,1),padding 1.1s,visibility 0s}
.xml-debug-page .sidebar nav,.xml-debug-page .sidebar-footer{min-width:190px}
.xml-debug-page.focus-mode .app-shell{grid-template-columns:0 minmax(0,1fr)}
.xml-debug-page.focus-mode .sidebar{display:flex;opacity:0;transform:translateX(-40px);padding-left:0;padding-right:0;border:0;visibility:hidden;pointer-events:none;transition:opacity .7s,transform 1.1s,padding 1.1s,visibility 0s 1.1s}
.xml-debug-page.focus-mode main{max-width:none}
.xml-debug-page #focus-toggle{display:none}
.debug-workbench{min-width:0}
.debug-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.debug-heading .eyebrow{font-size:10px;letter-spacing:.14em}
.debug-heading h1{margin:6px 0 0;font-size:30px;letter-spacing:-.04em;line-height:1.2}
.debug-heading h1>span:first-child{color:var(--brand)}
.debug-version{display:inline-block;vertical-align:middle;margin-left:8px;border:1px solid var(--line);border-radius:5px;padding:4px 7px;color:var(--muted);font-size:10px;letter-spacing:.02em;font-weight:500}
.debug-heading-actions{display:flex;flex-wrap:wrap;gap:8px}
.debug-workbench button{min-height:40px;box-sizing:border-box;font-size:12px;border-radius:7px}
.debug-workbench button:disabled{opacity:.42;cursor:default}
.debug-workbench kbd{font:10px/1.2 Consolas,monospace;border:1px solid currentColor;border-radius:4px;padding:2px 4px;opacity:.8}
.debug-focus-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:0 0 16px;line-height:1.6}
.debug-focus-dot,.debug-live-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--brand)}
.debug-focus-dot{box-shadow:0 0 0 4px var(--brand-soft)}
.debug-help{border:1px solid var(--line);padding:14px 18px;border-radius:9px;background:var(--surface);font-size:13px;margin-bottom:16px;line-height:1.7}
.debug-help:not([open]){display:none}
.debug-help dl{display:grid;grid-template-columns:180px 1fr;gap:10px;margin:16px 0}
.debug-help dd{margin:0;color:var(--muted)}
.debug-file-panel{margin:0 0 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);min-width:0}
.debug-file-panel>summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;font-size:12px}
.debug-file-panel>summary>strong{font-weight:550;overflow-wrap:anywhere}
.debug-file-panel>summary>span:last-child{margin-left:auto;color:var(--brand)}
.debug-history-choice{margin-right:auto;display:flex;align-items:center;gap:8px;font-size:12px}
.debug-history-choice input{accent-color:var(--brand);width:17px;height:17px}
#debug-history{padding:0 18px 16px;font-size:12px}
#debug-history>summary{cursor:pointer;padding:8px 0;color:var(--muted)}
.debug-frame{display:grid;grid-template-columns:58px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}
.debug-activity{display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--line);background:var(--soft);padding:10px 5px}
.debug-activity button{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:6px;padding:9px 2px;min-height:58px;width:100%;line-height:1.2}
.debug-activity button>span{font-size:20px;line-height:1}
.debug-activity small{font-size:8px;overflow-wrap:anywhere}
.debug-activity button:hover,.debug-activity button[aria-pressed=true],.debug-activity button[aria-expanded=true]{background:var(--brand-soft);color:var(--brand);border-color:var(--line)}
.debug-activity #debug-mark[aria-pressed=true]{color:var(--error)}
.debug-stage{min-width:0;overflow:hidden}
.debug-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;background:var(--soft);padding:9px 12px;border-bottom:1px solid var(--line)}
.debug-toolbar button{padding:8px 10px;white-space:nowrap}
.debug-toolbar #debug-next{display:flex;align-items:center;gap:6px}
.debug-speed{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;margin-left:4px}
.debug-speed select{font-size:11px;min-height:36px;width:auto;margin:0;padding:4px 7px}
.debug-position{font:11px Consolas,monospace;color:var(--muted);margin-left:auto;white-space:nowrap;padding:5px 0}
.debug-main{display:grid;grid-template-columns:minmax(0,1fr) 6px var(--debug-inspector-width,340px);min-width:0;height:calc(100dvh - 320px);min-height:440px}
.debug-editor{min-width:0;min-height:0;background:#102239;position:relative;display:flex;flex-direction:column}
.debug-editor .xml-window{border:0;border-radius:0;box-shadow:none;margin:0;flex:1;min-height:0;background:#102239;display:flex;flex-direction:column;overflow:hidden}
.debug-editor .xml-window-heading{padding:10px 14px;border:0;border-bottom:1px solid #29435b;background:#162b40;color:#d7e3ed;align-items:center;flex-wrap:wrap}
.debug-editor .xml-window-heading h2{font:12px Consolas,monospace;color:#d7e3ed;margin:0}
.debug-editor .xml-window-heading .eyebrow{display:none}
.debug-editor .xml-toolbar{gap:5px;margin:0}
.debug-editor .xml-toolbar button{background:#203a50;color:#daecef;border-color:#406078;font-size:10px;min-height:34px;padding:6px 8px}
.debug-editor .xml-search{background:#102239;color:#e1edf8;border:1px solid #406078;min-height:34px;font-size:11px;min-width:100px;width:160px}
.debug-editor .xml-search::placeholder{color:#99adbe}
.debug-editor #xml-code{flex:1;min-height:0;max-height:none;height:0;padding:14px 0;font:12px/1.9 Consolas,'Cascadia Code',monospace;background:#102239;scrollbar-gutter:stable;overscroll-behavior:contain}
.debug-editor .xml-line{padding-right:24px;position:relative}
.debug-editor .xml-line-number{width:80px;font:inherit;box-sizing:content-box;padding:0;text-align:right;position:sticky;left:0;background:#102239;z-index:1;color:#8a9eab;display:inline-flex;align-items:center;vertical-align:top;justify-content:flex-end;gap:2px}
.debug-editor .xml-debug-current{background:#284238;box-shadow:inset 3px 0 #d7ba65}
.debug-editor .xml-debug-current .xml-line-number{background:#284238;color:#f4d47b}

.debug-editor .xml-tag{min-height:0;border-radius:2px;padding:0 2px;font:inherit;color:#8bd5dc}
.debug-editor .xml-tag[aria-pressed=true]{background:#3c5c51;color:#fff4cb;outline:1px solid #d7ba65}
.debug-editor .xml-line-issue .xml-tag.xml-fiscal-attention{outline:1px solid #f08b8b}
.debug-editor .xml-debug-breakpoint .xml-line-number{color:#ffb0b0}

.debug-editor .xml-caption{font-size:10px;color:#a1b6c7;background:#162b40;padding:8px 12px;margin:0}
.debug-editor .raw-xml{padding:8px 12px;background:#162b40;color:#c5d6e3;font-size:10px}
.debug-editor .raw-xml .xml-code{height:auto;max-height:220px;font-size:11px}
.debug-editor .xml-focus-return{border:0;border-radius:0;background:#25435b;color:#e5f2f8;padding:7px;min-height:32px}
.debug-pending-file .debug-editor #xml-code{opacity:.4}
.debug-resize{background:var(--line);cursor:col-resize;touch-action:none}
.debug-resize:hover,.debug-resize:focus-visible{background:var(--brand);outline:1px solid var(--brand);z-index:2}
.debug-inspector{overflow:auto;min-width:0;height:100%;max-height:100%;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface)}
.debug-inspector-caption{display:flex;align-items:center;gap:8px;padding:13px 16px;border-bottom:1px solid var(--line);font-size:11px;background:var(--soft)}
.debug-inspector-caption>span:last-child{margin-left:auto;font-size:9px;color:var(--muted)}
.debug-tag,.debug-calculations{margin:0!important;padding:18px 16px!important;border:0!important;border-radius:0!important;background:var(--surface)!important;box-shadow:none!important}
.debug-tag .tag-result-header{display:block}
.debug-tag .tag-result-header h2{font-size:19px;line-height:1.3;margin:6px 0 10px}
.debug-tag .tag-result-header .eyebrow{font-size:9px}
.debug-tag .tag-pill{font:12px Consolas,monospace;max-width:100%;box-sizing:border-box}
.debug-tag #tag-copy-path{float:right;min-height:28px;font-size:9px;padding:5px 7px;margin-top:4px}
.debug-tag .tag-description{font-size:12px;line-height:1.7}
.debug-tag .tag-value{font:12px/1.6 Consolas,monospace;max-height:100px;border:1px solid var(--line);padding:12px}
.debug-tag .notice{font-size:11px;line-height:1.7;padding:10px}
.debug-tag-details{margin-top:16px;font-size:11px;line-height:1.7}
.debug-tag-details>summary{cursor:pointer;color:var(--brand)}
.debug-tag-details p{font-size:11px;overflow-wrap:anywhere}
.debug-tag-details .tag-path{margin-top:10px;font-size:10px}
.debug-tag .table-scroll{max-height:210px}.debug-tag .tag-context-table{min-width:0;font-size:10px}
.debug-tag .tag-context-table td,.debug-tag .tag-context-table th{padding:8px}
.debug-calculations{border-top:1px solid var(--line)!important}
.debug-calculations>h2{font-size:14px;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.debug-calculations .count-badge{font-size:10px;border-radius:4px;padding:2px 5px;background:var(--soft);color:var(--muted)}
.debug-check-hint{font-size:11px;color:var(--muted);line-height:1.7}
.debug-rule{margin:12px 0 0;border:1px solid var(--line);border-radius:7px;overflow:hidden;font-size:12px}
.debug-rule>summary{display:flex;flex-direction:column;align-items:flex-start;gap:7px;cursor:pointer;padding:12px;background:var(--soft);font-size:12px;line-height:1.5}
.debug-check-status{font-size:9px;border:1px solid var(--line);padding:2px 6px;border-radius:4px;color:var(--muted)}
.debug-rule[data-status=Attention]{border-left:3px solid var(--error)}
.debug-rule[data-status=NotEvaluated]{border-left:3px solid #c39c4c}
.debug-rule[data-status=Consistent]{border-left:3px solid var(--brand)}
.debug-rule-body{padding:12px;font-size:11px;line-height:1.65}
.debug-role{font-size:10px;color:var(--muted);margin-top:0}
.debug-formula{display:block;background:var(--soft);font:11px/1.7 Consolas,monospace;padding:10px;border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere}
.debug-values{display:grid;grid-template-columns:1fr auto;gap:6px;margin:14px 0}
.debug-values dt{color:var(--muted)}.debug-values dd{margin:0;font:12px Consolas,monospace}
.debug-operands,.debug-guidance{margin-top:14px;overflow-wrap:anywhere}
.debug-operands>summary,.debug-guidance>summary{cursor:pointer;color:var(--brand)}
.debug-operands ul{padding:0;margin:10px 0;list-style:none}
.debug-operands li{border-top:1px solid var(--line);padding:9px 0}
.debug-operands strong{display:block;font-size:10px}
.debug-fact-value{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.6 Consolas,monospace;margin:4px 0}
.debug-workbench .debug-path-link{font:9px/1.6 Consolas,monospace;padding:3px 0;min-height:28px;border:0;color:var(--brand);background:transparent;text-align:left;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;max-width:100%}
.debug-rule-body>.secondary{font-size:10px;margin-top:14px;width:100%}
.debug-guidance a{color:var(--brand);font-size:10px}
.debug-inspector-empty{padding:18px;color:var(--muted);font-size:12px;line-height:1.8}
.debug-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;min-height:360px;padding:30px;box-sizing:border-box;color:#d5e3ed}
.debug-empty-code{font:40px Consolas,monospace;color:#76bfb8;opacity:.7}
.debug-empty h2{font-size:23px;color:#e5f0f7;margin:20px 0 0}
.debug-empty p{font-size:12px;line-height:1.8;max-width:340px;color:#a7bdce}
.debug-empty button{margin:8px 0}
.debug-tools{padding:12px;background:var(--soft);border-bottom:1px solid var(--line)}
.debug-tools .document-actions{margin:0;padding:0;border:0;background:none;box-shadow:none}
.debug-tools .document-actions>.eyebrow,.debug-tools .document-actions>h2,.debug-tools .document-session-note{display:none}
.debug-tools .document-actions nav{display:flex;flex-wrap:wrap;gap:8px}
.debug-tools .document-actions .button{font-size:11px;margin:0;padding:8px 10px;min-height:36px}
.debug-tools .document-download{display:inline-block;font-size:11px;margin-top:10px}
.debug-statusbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;min-height:34px;padding:8px 14px;background:var(--brand-soft);color:var(--text);border-top:1px solid var(--line);font-size:10px;line-height:1.5;box-sizing:border-box}
.debug-statusbar>span:first-child{margin-right:auto}
.debug-footnote{font-size:11px;color:var(--muted);line-height:1.8;padding:0 8px;margin:12px 0 0}
.debug-engine-notice,.debug-limit-note{margin:0!important;border:0;border-radius:0;padding:12px!important;font-size:11px;grid-column:1/-1}
.xml-debug-page .site-footer{margin-top:20px;font-size:11px}
.debug-mobile-controls{display:none}
.debug-inline-watch{display:none}
@media(max-width:1100px){.debug-main{grid-template-columns:minmax(0,1fr);height:auto;min-height:0}.debug-resize{display:none}.debug-inspector{height:auto;max-height:420px;border-top:1px solid var(--line)}.debug-editor #xml-code{flex:auto;max-height:55dvh;height:55dvh;min-height:300px}.debug-tag,.debug-calculations{padding:18px!important}.debug-rule>summary{flex-direction:row;align-items:center}.debug-workbench .debug-path-link{font-size:10px}.debug-inspector-empty{min-height:90px}.debug-empty{min-height:350px}}
@media(max-width:760px){.xml-debug-page .app-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.xml-debug-page .app-shell main{padding:14px 10px}.xml-debug-page .sidebar{display:flex;flex-direction:column;min-height:0;max-height:360px;transition:max-height 1.1s,padding 1.1s,opacity .7s,visibility 0s}.xml-debug-page .sidebar nav{min-width:0}.xml-debug-page.focus-mode .app-shell{grid-template-columns:minmax(0,1fr)}.xml-debug-page.focus-mode .sidebar{max-height:0;min-height:0;padding-top:0;padding-bottom:0;transform:none;transition:max-height 1.1s,padding 1.1s,opacity .7s,visibility 0s 1.1s}.debug-heading{gap:8px;flex-wrap:wrap}.debug-heading h1{font-size:26px}.debug-heading-actions{gap:6px;margin-left:auto}.debug-heading-actions button{font-size:10px;min-height:36px;padding:7px 9px}.debug-focus-note{font-size:11px;margin:0 0 12px}.debug-file-panel>summary{padding:10px;font-size:11px}.debug-file-panel>summary>span:last-child{font-size:10px}.debug-frame{grid-template-columns:44px minmax(0,1fr);border-radius:8px}.debug-activity{padding:6px 2px;gap:4px}.debug-activity small{font-size:7px}.debug-activity button{min-height:54px}.debug-toolbar{padding:7px;gap:5px}.debug-toolbar button{font-size:10px;padding:7px 8px;min-height:40px}.debug-toolbar kbd{display:none}.debug-toolbar #debug-reset span{display:none}.debug-speed{margin-left:0;flex:1}.debug-position{font-size:9px;margin-left:auto}.debug-editor .xml-window-heading{padding:9px}.debug-editor .xml-toolbar{margin-top:6px;width:100%;gap:5px}.debug-editor .xml-search{flex:1;min-width:110px;width:110px}.debug-editor .xml-toolbar button{font-size:9px;min-height:32px;padding:5px}.debug-editor #xml-code{font-size:11px;min-height:300px;max-height:52dvh;height:52dvh}.debug-editor .xml-line-number{width:78px;padding-right:0}.debug-editor .xml-caption{font-size:9px}.debug-empty{padding:24px 16px;min-height:340px}.debug-empty h2{font-size:21px}.debug-inspector{max-height:460px}.debug-inspector-caption{padding:12px;font-size:10px}.debug-tag,.debug-calculations{padding:14px!important}.debug-tag .tag-result-header h2{font-size:19px}.debug-inspector .debug-rule>summary{flex-direction:column;align-items:flex-start}.debug-statusbar{padding:9px;gap:6px 12px;font-size:9px}.debug-statusbar>span:first-child{flex-basis:100%}.debug-help{padding:12px}.debug-help dl{grid-template-columns:1fr;gap:5px}.debug-help dd{margin-bottom:8px}.debug-tools{padding:10px}}
@media(prefers-reduced-motion:reduce){.xml-debug-page .app-shell,.xml-debug-page .sidebar,.xml-debug-page.focus-mode .sidebar{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){
 .debug-heading .eyebrow{font-size:8px;letter-spacing:.1em}
 .debug-heading h1{font-size:23px}.debug-version{display:none}
 .debug-heading-actions button{font-size:9px;min-height:34px;padding:6px 8px}
 .debug-toolbar #debug-prev,.debug-toolbar #debug-next,.debug-toolbar #debug-play{display:none}
 .debug-inline-watch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;background:var(--brand-soft);color:var(--text);padding:10px 12px;border-bottom:1px solid var(--line)}
 .debug-inline-watch>div{display:flex;align-items:baseline;gap:8px;min-width:0}
 .debug-inline-watch strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .debug-inline-watch code{font:9px Consolas,monospace;color:var(--brand)}
 .debug-inline-watch>span{grid-column:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:11px Consolas,monospace}
 .debug-inline-watch button{grid-column:2;grid-row:1/3;font-size:9px;min-height:34px;padding:6px}
 .debug-editor .xml-window-heading>div:first-child,.debug-editor #xml-copy{display:none}
 .debug-editor .xml-toolbar{margin:0}.debug-editor #xml-viewer-caption{display:none}
 .xml-debug-page.focus-mode .topbar{min-height:48px;padding:8px 12px}
 .xml-debug-page.focus-mode .topbar .brand{display:none}
 .xml-debug-page.focus-mode .topbar .header-tools{flex-wrap:nowrap;margin:0;justify-content:flex-end}
 .xml-debug-page.focus-mode .topbar .header-tools button,.xml-debug-page.focus-mode .topbar .version-menu>summary{font-size:10px;padding:7px 9px;min-height:36px}
 .xml-debug-page .app-shell main{padding-bottom:90px}
 .debug-mobile-controls{position:fixed;display:flex;align-items:center;gap:8px;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:8;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:8px;box-shadow:0 6px 24px #0003}
 .debug-mobile-controls button{min-height:44px;flex:1;font-size:12px}
 .debug-mobile-controls #debug-mobile-play{flex:0 0 44px}
}
@media print{.debug-heading-actions,.debug-focus-note,.debug-file-panel,.debug-toolbar,.debug-activity,.debug-tools,.debug-resize,.debug-mobile-controls,.debug-inline-watch{display:none!important}.debug-frame,.debug-main{display:block;border:0;height:auto}.debug-inspector,.debug-editor #xml-code{height:auto;max-height:none}.debug-inspector{overflow:visible}.debug-stage{overflow:visible}}

/* O arquivo é aberto dentro do editor; opções e histórico ficam recolhidos. */
.debug-editor form.debug-upload{padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;flex:0 0 auto}
.debug-native-upload{padding:14px;background:var(--surface);color:var(--text)}
.debug-native-upload label{display:block;font-size:12px;margin-bottom:8px}
.debug-native-upload input{max-width:100%;margin-bottom:10px}
.debug-enhanced #debug-open{display:none}
.debug-enhanced .debug-native-upload{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.debug-enhanced #debug-file-panel:not([open]){display:none}
.debug-enhanced #debug-file-panel[open]{position:absolute;inset:0;z-index:5;overflow:auto;margin:0;border:0;border-radius:0;box-shadow:0 8px 28px #0004}
.debug-file-panel>summary{position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--line);z-index:1}
.debug-upload-options{display:grid;gap:18px;padding:18px;font-size:12px}
.debug-upload-options label{display:block;font-size:12px;margin-bottom:8px}
.debug-upload-options .debug-history-choice{display:flex;align-items:center;margin:0;line-height:1.6}
.debug-upload-options select{min-height:42px}
.debug-history-empty{padding:0 18px;font-size:12px}
.debug-upload #debug-file-status{font-size:12px;padding:10px 14px;margin:0;background:var(--surface);color:var(--text)}
.debug-enhanced #debug-file-status:not(.error-text){display:none}
.debug-upload #debug-file-status.error-text{background:var(--error-bg);color:var(--error);border-bottom:1px solid var(--error)}
.debug-upload>.validation-errors,.debug-upload>.document-rejected,.debug-upload>.notice{padding:12px 14px;margin:0;border:0;border-radius:0;font-size:12px}
.debug-drop-overlay,.debug-loading{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;background:#102239ed;color:#e5f2f8;border:2px dashed #6dd7bb;box-sizing:border-box}
.debug-drop-overlay{display:none;pointer-events:none}
.debug-drop-overlay strong,.debug-loading strong{font-size:20px}
.debug-drop-overlay span,.debug-loading span{font-size:12px}
.debug-editor.drag-over .debug-drop-overlay{display:flex}
.debug-loading{border:0;background:#102239e8;z-index:7}
.debug-editor .xml-line-index{display:inline-block;min-width:3.4ch}
.debug-editor .xml-debug-pointer,.debug-editor .xml-debug-stop{display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;min-height:0;height:22px;width:20px;border:0;border-radius:3px;background:transparent;flex:0 0 20px;font:12px Consolas,monospace;line-height:1;color:#ff8c8c}
.debug-editor .xml-debug-pointer{visibility:hidden;color:#f4d47b;cursor:grab;touch-action:none}
.debug-editor .xml-debug-pointer::before{content:'➜'}
.debug-editor .xml-debug-current .xml-debug-pointer{visibility:visible}
.debug-editor .xml-debug-stop::before{content:'●';opacity:0}
.debug-editor .xml-debug-stop:hover::before,.debug-editor .xml-debug-stop:focus-visible::before{opacity:.45}
.debug-editor .xml-debug-breakpoint .xml-debug-stop::before{opacity:1}
.debug-editor .xml-debug-stop:focus-visible,.debug-editor .xml-debug-pointer:focus-visible{outline:2px solid currentColor;outline-offset:0}
.debug-editor .xml-debug-drop-target{outline:1px dashed #f4d47b;outline-offset:-1px;background:#6d5b2b55}
.debug-editor #xml-code.xml-debug-dragging,.debug-editor #xml-code.xml-debug-dragging *{cursor:grabbing;user-select:none}
@media(max-width:1100px){.debug-main{height:auto;min-height:0}.debug-editor .xml-window{min-height:350px;flex:auto}}
@media(max-width:760px){.debug-editor .xml-debug-pointer,.debug-editor .xml-debug-stop{width:22px;flex-basis:22px}.debug-editor .xml-line-number{width:78px}}
@media print{.debug-upload,.xml-debug-pointer,.xml-debug-stop{display:none!important}}

@media(max-width:760px){.debug-activity{padding:6px 0}.debug-activity button{padding:9px 0}.debug-activity small{font-size:8px;overflow-wrap:normal;word-break:normal;letter-spacing:0}}

.debug-calculation-expression{overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.7}
.debug-values dd{min-width:0;overflow-wrap:anywhere}
