[hidden] { display: none !important; }
/* JSON Echo. Design tokens first, so the whole look can be re-themed from here. */
:root {
  --bg: #f6f7fb; --surface: #ffffff; --surface-2: #f1f3f9; --ink: #0f172a; --ink-2: #475569; --ink-3: #8491a5;
  --line: #e3e7ef; --accent: #4f46e5; --accent-2: #7c3aed; --accent-soft: #eceaff; --accent-ink: #ffffff;
  --ok: #0f9d58; --ok-bg: #e7f6ee; --err: #d93025; --err-bg: #fdecea; --warn: #b26a00; --warn-bg: #fff4e0;
  --str: #0b7a3b; --num: #1a5fd0; --bool: #9333ea; --nul: #8491a5; --key: #b4236a;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 2px 4px rgba(15,23,42,.05), 0 18px 48px rgba(79,70,229,.14);
  --r: 14px; --r-sm: 9px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
[data-theme="dark"] {
  --bg: #0b1020; --surface: #121933; --surface-2: #19213f; --ink: #e8ecf7; --ink-2: #a9b4cc; --ink-3: #6f7b96;
  --line: #243055; --accent: #8b83ff; --accent-2: #b08bff; --accent-soft: #232a57; --accent-ink: #0b1020;
  --ok: #4cd08a; --ok-bg: #12301f; --err: #ff7b72; --err-bg: #3a1618; --warn: #ffb454; --warn-bg: #3a2a10;
  --str: #7ee2a8; --num: #79b8ff; --bool: #d2a8ff; --nul: #8b97b3; --key: #ff9bc6;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.28); --shadow-lg: 0 18px 48px rgba(0,0,0,.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020; --surface: #121933; --surface-2: #19213f; --ink: #e8ecf7; --ink-2: #a9b4cc; --ink-3: #6f7b96;
    --line: #243055; --accent: #8b83ff; --accent-2: #b08bff; --accent-soft: #232a57; --accent-ink: #0b1020;
    --ok: #4cd08a; --ok-bg: #12301f; --err: #ff7b72; --err-bg: #3a1618; --warn: #ffb454; --warn-bg: #3a2a10;
    --str: #7ee2a8; --num: #79b8ff; --bool: #d2a8ff; --nul: #8b97b3; --key: #ff9bc6;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.28); --shadow-lg: 0 18px 48px rgba(0,0,0,.4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h2 { font-size: 1.45rem; font-weight: 700; margin-top: 1.8em; } h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; } code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 5px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; text-decoration: none !important; }
.brand svg { width: 34px; height: 34px; flex: none; } .brand b { font-weight: 800; } .brand i { font-style: normal; font-weight: 500; color: var(--accent); }
.nav { display: flex; gap: 2px; margin-left: 8px; flex: 1; }
.nav > .nv { position: relative; }
.nav > .nv > a, .nav > .nv > button { display: block; padding: 8px 12px; font: 600 .84rem var(--sans); color: var(--ink-2); background: none; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.nav > .nv:hover > a, .nav > .nv:hover > button, .nav > .nv.open > button { color: var(--accent); background: var(--accent-soft); }
.menu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; max-height: 70vh; overflow: auto; }
@media (hover: hover) and (pointer: fine) { .nv:hover .menu { display: block; } }
.nv.open .menu { display: block; }
.menu a { display: block; padding: 7px 12px; color: var(--ink); border-radius: 7px; font-size: .93rem; } .menu a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.menu .mh { display: block; padding: 8px 12px 4px; font-size: .72rem; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hdr-r { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; font-size: 1.05rem; }
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.burger { display: none; }
@media (max-width: 960px) {
  .burger { display: grid; } .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 10px 16px 16px; border-bottom: 1px solid var(--line); margin: 0; max-height: calc(100vh - 64px); overflow: auto; }
  .nav.open { display: flex; } .nav .menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 6px 8px; max-height: none; }
  .nav > .nv > a, .nav > .nv > button { text-align: left; width: 100%; }
}

/* hero */
.hero { padding: 54px 0 26px; text-align: center; background: radial-gradient(900px 380px at 50% -80px, var(--accent-soft), transparent 70%); }
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { max-width: 60ch; margin: 0 auto 18px; color: var(--ink-2); font-size: 1.1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.badges li { font-size: .84rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.badges li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }

.crumbs { font-size: .85rem; color: var(--ink-3); padding: 18px 0 0; } .crumbs a { color: var(--ink-2); } .crumbs span { margin: 0 6px; }
.thead { padding: 8px 0 18px; } .thead .lead { color: var(--ink-2); max-width: 78ch; font-size: 1.05rem; margin: 0; }

/* tool workbench */
.je-tool { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; }
.je-boot { padding: 40px; text-align: center; color: var(--ink-3); }
.je-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 4px 4px 12px; }
.je-spacer { flex: 1; }
.je-opts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.je-opt { font-size: .86rem; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; } .je-opt-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.je-sel, .je-inp { font: .88rem var(--sans); padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.je-inp[type=search] { min-width: 200px; }
.je-btn { font: 600 .88rem var(--sans); padding: 8px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: .15s; white-space: nowrap; }
.je-btn:hover { border-color: var(--accent); color: var(--accent); } .je-btn:disabled { opacity: .45; cursor: not-allowed; }
.je-btn-sm { padding: 5px 11px; font-size: .8rem; border-radius: 8px; }
.je-btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(79,70,229,.28); }
.je-btn-primary:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); }
.je-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .je-panes { grid-template-columns: 1fr; } }
.je-pane { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); min-width: 0; }
.je-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--surface-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; min-height: 46px; }
.je-pane-title { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-right: 6px; }
.je-tabs { display: flex; gap: 2px; background: var(--line); padding: 3px; border-radius: 9px; }
.je-tab { font: 600 .78rem var(--sans); border: 0; background: none; padding: 4px 10px; border-radius: 7px; color: var(--ink-2); cursor: pointer; } .je-tab-on { background: var(--surface); color: var(--accent); box-shadow: 0 1px 2px rgba(0,0,0,.08); } .je-tab:disabled { opacity: .4; }
.je-editor { display: flex; height: 520px; position: relative; background: var(--surface); }
.je-gutter { width: 46px; flex: none; overflow: hidden; text-align: right; padding: 10px 8px 10px 0; font: 13px/20px var(--mono); color: var(--ink-3); background: var(--surface-2); border-right: 1px solid var(--line); white-space: pre; user-select: none; }
.je-edit-inner { position: relative; flex: 1; min-width: 0; }
.je-ta { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; resize: none; padding: 10px 12px; font: 13px/20px var(--mono); background: transparent; color: var(--ink); white-space: pre; overflow: auto; outline: none; tab-size: 2; }
.je-errline { position: absolute; left: 0; right: 0; top: 0; background: color-mix(in srgb, var(--err) 18%, transparent); border-left: 3px solid var(--err); pointer-events: none; }
.je-editor.drag, .je-drop.drag { outline: 2px dashed var(--accent); outline-offset: -4px; background: var(--accent-soft); }
.je-foot { padding: 5px 12px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); min-height: 28px; }
.je-meta { font-size: .78rem; color: var(--ink-3); margin-left: 6px; }
.je-outbody { height: 520px; position: relative; overflow: hidden; display: flex; flex-direction: column; } .je-outbody .je-editor { height: 100%; flex: 1; }
.je-tree { height: 100%; overflow: auto; padding: 10px 12px; font: 13px/1.7 var(--mono); }
.je-preview { width: 100%; height: 100%; border: 0; background: #fff; }
.je-table-wrap { overflow: auto; height: 100%; }
.je-table { border-collapse: collapse; width: 100%; font-size: .85rem; } .je-table th, .je-table td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; white-space: nowrap; } .je-table th { background: var(--surface-2); position: sticky; top: 0; }
.je-tree-tools { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.je-drop { height: 520px; display: grid; place-content: center; text-align: center; border-radius: 0; cursor: pointer; color: var(--ink-2); background: repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--accent) 4%, transparent) 14px 28px); }
.je-drop-t { font-size: 1.2rem; font-weight: 700; margin: 0 0 4px; color: var(--ink); } .je-drop-s { margin: 0; font-size: .9rem; } .je-drop.has-file { background: var(--ok-bg); }
.tv-node { white-space: nowrap; } .tv-kids { margin-left: 18px; border-left: 1px dashed var(--line); padding-left: 6px; }
.tv-tog { width: 16px; border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 0; font-size: .8rem; } .tv-leaf { visibility: hidden; cursor: default; }
.tv-key { color: var(--key); cursor: pointer; } .tv-key:hover { text-decoration: underline; } .tv-colon, .tv-brace { color: var(--ink-3); }
.tv-str { color: var(--str); } .tv-num { color: var(--num); } .tv-bool { color: var(--bool); } .tv-null { color: var(--nul); font-style: italic; } .tv-count { color: var(--ink-3); font-size: .85em; font-style: italic; }
.tv-hit { background: #ffe58a; color: #3a2a00; border-radius: 3px; } .tv-more { margin: 4px 0 4px 18px; font: .78rem var(--sans); color: var(--accent); background: none; border: 0; cursor: pointer; }
.je-msg { margin: 12px 4px 0; padding: 12px 14px; border-radius: 10px; font-size: .92rem; border: 1px solid transparent; }
.je-err { background: var(--err-bg); color: var(--err); border-color: color-mix(in srgb, var(--err) 30%, transparent); } .je-ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); } .je-warn { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.je-msg-head { font-size: 1rem; } .je-msg-loc { margin-top: 4px; color: var(--ink); font-weight: 600; font-size: .86rem; }
.je-link { background: none; border: 0; color: var(--accent); cursor: pointer; font: 600 .86rem var(--sans); padding: 0 0 0 6px; text-decoration: underline; }
.je-frame { margin: 8px 0; padding: 10px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font: 12.5px/1.55 var(--mono); overflow: auto; }
.je-issues { margin: 8px 0 0; padding-left: 18px; color: var(--ink); } .je-issues li { margin: 4px 0; }
.je-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.je-pill-error, .je-pill-removed { background: var(--err-bg); color: var(--err); } .je-pill-warning, .je-pill-changed { background: var(--warn-bg); color: var(--warn); } .je-pill-added { background: var(--ok-bg); color: var(--ok); }
.je-stat { padding: 8px 6px 0; font-size: .8rem; color: var(--ink-3); min-height: 24px; }
.je-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.je-diff { padding: 8px 4px; } .je-difflist { list-style: none; margin: 0; padding: 0; font-size: .86rem; } .je-difflist li { display: flex; gap: 14px; padding: 7px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .df-path { color: var(--ink-2); }
.df-added { background: var(--ok-bg); } .df-removed { background: var(--err-bg); } .df-changed { background: var(--warn-bg); } .df-val { font-family: var(--mono); word-break: break-all; } .df-val ins { color: var(--ok); text-decoration: none; } .df-val del { color: var(--err); }
.je-dlg { border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: min(480px, 92vw); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); } .je-dlg::backdrop { background: rgba(10,14,30,.55); } .je-dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; } .je-dlg-msg { color: var(--err); font-size: .86rem; min-height: 1.2em; }
#je-toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 9px 18px; border-radius: 999px; font-size: .88rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 200; } #je-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* page layout below the tool */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; margin-top: 30px; align-items: start; }
@media (max-width: 1020px) { .cols { grid-template-columns: 1fr; } }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px clamp(18px, 3vw, 38px); }
.prose h2:first-child { margin-top: 0; } .prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .35em 0; } .prose p, .prose li { color: var(--ink-2); } .prose strong { color: var(--ink); }
.prose pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow: auto; font: 13px/1.55 var(--mono); }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: var(--surface); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; } .faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 14px; color: var(--ink-2); } .faq details > div p:last-child { margin-bottom: 0; }
.side { position: sticky; top: 84px; display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; } .card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.card ul { list-style: none; margin: 0; padding: 0; } .card li a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink); font-size: .93rem; } .card li a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

/* cards grid */
.sec { padding: 34px 0 6px; } .sec-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; } .sec-h h2 { margin: 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { font: 600 .85rem var(--sans); padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; } .chip:hover, .chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tcard { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--ink); transition: .18s; text-decoration: none !important; } .tcard:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tcard b { display: block; font-size: 1rem; margin-bottom: 3px; letter-spacing: -.01em; } .tcard span { color: var(--ink-2); font-size: .88rem; line-height: 1.45; display: block; }
.tcard small { display: inline-block; margin-top: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.finder { width: min(560px, 100%); margin: 0 auto 20px; display: block; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 1rem var(--sans); color: var(--ink); box-shadow: var(--shadow); }

/* ads (only rendered when enabled in the admin panel) */
.ad { margin: 18px 0; text-align: center; overflow: hidden; min-height: 0; } .ad-m { display: none; }
@media (max-width: 760px) { .ad-d { display: none; } .ad-m { display: block; } }

/* footer */
.ftr { margin-top: 70px; background: #0b1020; color: #aeb8d0; padding: 48px 0 26px; }
.ftr a { color: #aeb8d0; } .ftr a:hover { color: #fff; }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; } @media (max-width: 900px) { .fcols { grid-template-columns: 1fr 1fr; } }
.ftr h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; } .ftr ul { list-style: none; margin: 0; padding: 0; } .ftr li { margin: 7px 0; font-size: .92rem; }
.ftr .brand { color: #fff; } .ftr .tag { margin: 10px 0 0; font-size: .92rem; max-width: 30ch; }
.fbot { border-top: 1px solid #1f2a4a; margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.notfound { text-align: center; padding: 70px 0; }
.btn-link { display: inline-block; padding: 11px 22px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 12px; font-weight: 650; } .btn-link:hover { text-decoration: none; filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .ad, .side { display: none; } }

.hdr-r .nv { position: relative; }
.hdr-r .lang .menu { right: 0; left: auto; top: calc(100% + 6px); min-width: 200px; }
@media (hover: hover) and (pointer: fine) { .hdr-r .lang:hover .menu { display: none; } .hdr-r .lang.open .menu { display: block; } }
