/* URL Encoder / Decoder (PR25), rebuilt 2026-12. Builds on schema-tool.css and crawler-tool.css. */
#ue [hidden] { display: none !important; }
.ue-box { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.5; height: auto; min-height: 120px; resize: vertical; word-break: break-all; }
#ue-out { background: #f8fafc; }
.ue-count { margin: 6px 0 0; min-height: 1.4em; }
.ue-modes { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.ue-modes legend { border: 0; font-size: 15px; color: var(--sch-ink); margin-bottom: 8px; width: auto; }
.ue-modes .sch-type code { font-size: 12px; font-weight: 600; background: #eef2fa; color: var(--sch-ink); padding: 1px 6px; border-radius: 6px; }
.ue-what { margin: 0 0 8px; }
.ue-what code { background: none; color: var(--sch-ink-2); padding: 0; }
.ue-hint { margin: 12px 0 0; background: var(--sch-ok-bg); color: var(--sch-ok); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
#ue-error p { margin: 6px 0 0; }
#ue-error code { background: #fff; color: var(--sch-bad); font-size: 14px; }
.ue-table td:first-child { white-space: nowrap; }
.ue-table code { background: none; color: var(--sch-ink); padding: 0; font-size: 14px; word-break: break-all; }
.ue-table .ue-ch { font-size: 17px; }
.ue-table .ue-name { font-style: italic; color: var(--sch-ink-2); }
.ue-table td small { display: block; }
@media (max-width: 560px) { .ue-box { font-size: 14px; } }
html[data-theme=dark] #ue-out { background: rgba(0,0,0,.2); }
html[data-theme=dark] .ue-modes .sch-type code { background: rgba(96,165,250,.12); color: var(--sch-ink); }
html[data-theme=dark] #ue-error code { background: rgba(0,0,0,.25); }
.ue-n { unicode-bidi: isolate; display: inline-block; }
