/* XML tool — builds on ../json/json.css (layout, editor, tree) */
.ic.el{background:var(--accent-bg);color:var(--accent-ink)}
.ic.txt{background:var(--chip);color:var(--muted)}
.ic.cm{background:var(--surface3);color:var(--faint)}
.ic.pi{background:var(--warn-bg);color:var(--warn)}
.xtag{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:12.5px;font-weight:600;color:#2f6f92;flex:none}
:root[data-theme="dark"] .xtag{color:#7fc7e6}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .xtag{color:#7fc7e6}}
.xattrs{overflow:hidden;text-overflow:ellipsis;font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:12px;min-width:0}
.xa{color:#9a5b00} .xav{color:#2f7d4f}
:root[data-theme="dark"] .xa{color:#e8a33d} :root[data-theme="dark"] .xav{color:#7fca89}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .xa{color:#e8a33d} :root:not([data-theme="light"]) .xav{color:#7fca89}}
.xinline{color:var(--muted);font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:12px;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pv.cmt{color:var(--faint);font-style:italic}
.xfind{flex:1 1 160px;min-width:0;max-width:340px;margin-left:auto;height:28px;border:1px solid var(--line2);border-radius:7px;background:var(--surface2);color:var(--ink);padding:0 10px;font:13px "IBM Plex Sans",system-ui,sans-serif}
.xnote{flex:none;font-size:12px;color:var(--faint);padding:6px 14px;border-bottom:1px solid var(--line)}
.xnote:empty{display:none}
.node.hit>summary,.leaf.hit{background:var(--accent-bg)}
.attrtbl{margin:2px 0 4px 22px;font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:12px;border-collapse:collapse}
.attrtbl td{padding:1px 10px 1px 0;vertical-align:top;white-space:pre-wrap;word-break:break-word}
.attrtbl td:first-child{color:#9a5b00;white-space:nowrap}
:root[data-theme="dark"] .attrtbl td:first-child{color:#e8a33d}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .attrtbl td:first-child{color:#e8a33d}}
