.tool textarea,.mono,.tool pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88rem}
.tool textarea.out{background:var(--card)}
.devst{margin:8px 0 0;font-size:.9rem;font-weight:600;min-height:1.3em}
.devst.ok{color:var(--accent)}.devst.bad{color:#dc2626}
.tool pre.box,.hl{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:10px;white-space:pre-wrap;word-break:break-word;min-height:3em;max-height:420px;overflow:auto;margin:0}
.hl mark{background:#fde68a;color:#111;border-radius:2px}
.diff{background:var(--card);border:1px solid var(--line);border-radius:8px;max-height:480px;overflow:auto;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85rem}
.diff div{white-space:pre-wrap;padding:0 6px}.diff span{display:inline-block;width:3em;color:var(--muted);text-align:right;margin-right:6px;user-select:none}
.diff .dadd{background:rgba(22,163,74,.16)}.diff .ddel{background:rgba(220,38,38,.16)}
.perm{display:grid;grid-template-columns:auto repeat(3,1fr);gap:6px 10px;align-items:center;max-width:420px}
.perm label{display:flex;gap:6px;align-items:center;font-weight:400;margin:0}
.big-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:1.6rem;font-weight:700;letter-spacing:.04em}
.ascii-glyph{font-size:3rem;font-family:ui-monospace,Menlo,Consolas,monospace;line-height:1}
.inline{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.inline label{display:flex;gap:6px;align-items:center;font-weight:400;margin:0}
#cv{max-width:100%;height:auto;background:#fff;border-radius:6px}
.sw{width:100%;height:80px;border-radius:8px;border:1px solid var(--line)}
.badge{display:inline-block;padding:1px 8px;border-radius:99px;background:var(--soft);font-size:.82rem;font-weight:600}
