:root {
  --bg: #14161b; --panel: #1c1f27; --panel2: #232733; --line: #333947;
  --text: #e6e8ee; --muted: #9aa3b2; --accent: #6ea8fe; --accent2: #2b6cb0;
  --ok: #3fb950; --bad: #f85149; --req: #f0a05a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; }
header { display: flex; align-items: baseline; gap: 14px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
header h1 { font-size: 16px; margin: 0; font-weight: 600; }
header h1 span { color: var(--accent); }
.schema-meta { color: var(--muted); font-size: 12px; }
.layout { display: flex; height: calc(100vh - 45px); }
.sidebar { width: 270px; min-width: 270px; border-right: 1px solid var(--line); padding: 12px; overflow-y: auto; background: var(--panel); }
.lbl { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
select, input, textarea, button { font-family: var(--font); font-size: 13px; }
.sidebar select { width: 100%; padding: 6px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; }
.row { display: flex; gap: 6px; margin: 8px 0; }
.row input { flex: 1; padding: 6px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; }
.entity-list { list-style: none; margin: 6px 0 0; padding: 0; }
.entity-list li { padding: 6px 8px; border-radius: 6px; cursor: pointer; color: var(--text); }
.entity-list li:hover { background: var(--panel2); }
.entity-list li.active { background: var(--accent2); }
.entity-list li small { color: var(--muted); display: block; font-size: 11px; }
.entity-list li.active small { color: #dde; }
.editor { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.toolbar .rt { font-family: var(--mono); color: var(--accent); font-size: 12px; }
.path-lbl { color: var(--muted); font-size: 11px; display: flex; gap: 6px; align-items: center; }
.path-lbl input { width: 240px; padding: 5px 8px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); }
.grow { flex: 1; }
button { padding: 6px 12px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
button:hover { border-color: var(--accent); }
button.primary { background: var(--accent2); border-color: var(--accent2); }
button.primary:hover { background: var(--accent); }
button.danger { color: #ff8a8a; border-color: #5a2a2a; }
button.danger:hover { background: #3a1d1d; border-color: #ff6b6b; }
.form-host { flex: 1; overflow-y: auto; padding: 16px 18px; }
.raw-area { flex: 1; margin: 0; padding: 16px; background: #0f1115; color: var(--text); border: none; font-family: var(--mono); font-size: 13px; resize: none; }
.hidden { display: none !important; }
.output { margin: 0; max-height: 180px; overflow-y: auto; padding: 0 16px; background: #0f1115; color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: pre-wrap; border-top: 1px solid var(--line); }
.output:empty { display: none; }
.output.ok { color: var(--ok); } .output.bad { color: var(--bad); }

/* form */
.field { margin: 0 0 10px; }
.field > label { display: block; font-size: 12px; color: var(--text); margin-bottom: 3px; }
.field > label .jname { font-family: var(--mono); color: var(--accent); }
.field > label .req { color: var(--req); margin-left: 3px; }
.field > label .doc { color: var(--muted); font-weight: normal; margin-left: 8px; font-size: 11px; }
.field input[type=text], .field input[type=number], .field select, .field textarea {
  width: 100%; max-width: 560px; padding: 6px 8px; background: var(--panel2); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: 12px;
}
.field textarea { min-height: 70px; resize: vertical; }
.field input[type=checkbox] { transform: scale(1.15); }
details.nest { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 10px; background: var(--panel); }
details.nest > summary { cursor: pointer; padding: 7px 10px; font-family: var(--mono); font-size: 12px; color: var(--accent); user-select: none; }
details.nest[open] > summary { border-bottom: 1px solid var(--line); }
.nest-body { padding: 10px 12px; }
.arr-item { border: 1px dashed var(--line); border-radius: 8px; padding: 8px 10px; margin: 0 0 8px; position: relative; }
.arr-item .rm { position: absolute; top: 6px; right: 6px; padding: 1px 7px; font-size: 12px; }
.arr-add { padding: 3px 10px; font-size: 12px; }
.kv-row { display: flex; gap: 6px; margin-bottom: 6px; }
.kv-row input { font-family: var(--mono); }
.kv-row .k { width: 160px; }
.hint { color: var(--muted); font-size: 11px; margin: 2px 0 0; }

/* auth + authorship */
.user-area { color: var(--muted); font-size: 12px; }
.user-area b { color: var(--text); }
.user-area button { padding: 3px 8px; font-size: 11px; margin-left: 6px; }
.authorship { color: var(--muted); font-size: 11px; font-style: italic; }
.login-overlay { position: fixed; inset: 0; background: rgba(10,12,16,.93); display: flex; align-items: center; justify-content: center; z-index: 100; }
.login-card { display: flex; flex-direction: column; gap: 10px; width: 300px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.login-card h2 { margin: 0; font-size: 18px; } .login-card h2 span { color: var(--accent); }
.login-sub { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.login-card input { padding: 9px 10px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font-family: var(--font); }
.login-card button { padding: 9px; }
.login-err { color: var(--bad); font-size: 12px; min-height: 14px; margin: 0; }
.help { display: inline-block; margin-left: 6px; min-width: 14px; height: 14px; line-height: 13px; text-align: center; font-size: 10px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); cursor: help; user-select: none; }
.help:hover { border-color: var(--accent); color: var(--accent); }

/* catalog description + wiki link (usability) */
.catalog-desc { margin: 8px 0 4px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.catalog-desc:empty { display: none; }
.catalog-desc .cd-wiki { display: inline-block; margin-left: 4px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.catalog-desc .cd-wiki:hover { text-decoration: underline; }

/* sidebar: filter + selected-folder + folder tree (#1) */
.filter-input { width: 100%; padding: 6px; margin: 8px 0 6px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; }
.folder-current { font-size: 11px; color: var(--muted); font-family: var(--mono); padding: 2px 2px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.entity-tree { font-size: 13px; }
.tree-folder { margin: 0; }
.tree-folder > summary { cursor: pointer; padding: 3px 4px; border-radius: 5px; color: var(--text); list-style-position: inside; }
.tree-folder > summary::-webkit-details-marker { color: var(--muted); }
.tree-folder > summary:hover { background: var(--panel2); }
.tree-folder > summary .fname { font-family: var(--mono); color: var(--accent); }
.tree-folder > summary.sel { background: var(--accent2); }
.tree-body { margin-left: 12px; border-left: 1px solid var(--line); padding-left: 6px; }
.tree-file { padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.tree-file:hover { background: var(--panel2); }
.tree-file.active { background: var(--accent2); }
.tree-file small { color: var(--muted); display: block; font-size: 11px; }
.tree-file.active small { color: #dde; }

/* sectioned root form (#6) */
details.section { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; background: var(--panel); }
details.section > summary { cursor: pointer; padding: 8px 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text); user-select: none; }
details.section[open] > summary { border-bottom: 1px solid var(--line); }
.section-body { padding: 12px 14px; }

/* structured step editor (#2) */
.step-form .effect-select { width: 100%; max-width: 320px; padding: 6px 8px; background: var(--panel2); color: var(--accent); border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-weight: 600; }
.params-host { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--bg); margin-top: 4px; }
.params-grid { display: flex; flex-direction: column; gap: 8px; }
.param-row { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 10px; }
.param-lab { font-family: var(--mono); font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 4px; }
.param-lab .pname { color: var(--accent); }
.param-lab .pdef { color: var(--muted); font-style: italic; }
.param-row input[type=text], .param-row input[type=number], .param-row select, .param-row textarea,
.param-row .combo input { width: 100%; padding: 5px 8px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: 12px; }
.param-row .combo { display: block; }
.extra-params { margin-top: 6px; }
.extra-params .kv-row .k { width: 180px; }

/* targeting "show all" bar (#4) */
.targeting-bar { margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line); }
.show-all { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.show-all input { transform: scale(1.05); }

/* toolbar active view button */
.toolbar button.active { background: var(--accent2); border-color: var(--accent); color: #fff; }

/* ---- node-and-wire step graph (#5) ---- */
.graph-host { flex: 1; overflow: hidden; position: relative; outline: none; }
.graph-empty { padding: 40px; color: var(--muted); text-align: center; }
.graph-canvas {
  position: absolute; inset: 0; overflow: hidden;
  background-color: #0f1115;
  background-image: radial-gradient(circle, #20242e 1px, transparent 1px);
  background-size: 22px 22px;
  cursor: grab;
}
.graph-canvas:active { cursor: grabbing; }
.graph-world { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.graph-wires { position: absolute; top: 0; left: 0; pointer-events: none; overflow: visible; }
.graph-zoom { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: var(--muted); background: rgba(15,17,21,.85); padding: 4px 9px; border-radius: 6px; pointer-events: none; z-index: 5; font-family: var(--mono); }
.wire { fill: none; stroke-width: 2.5; pointer-events: none; }
.wire-success { stroke: var(--ok); }
.wire-fail { stroke: var(--bad); }
.wire-temp { stroke-dasharray: 5 4; opacity: .8; }
.wire-hit { fill: none; stroke: transparent; stroke-width: 12; pointer-events: stroke; cursor: pointer; }

.graph-node {
  position: absolute; width: 272px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.4); z-index: 2;
}
.graph-node.entry { border-color: var(--ok); }
.graph-node.entry::before {
  content: "▶ entry"; position: absolute; top: -9px; left: 10px; font-size: 9px;
  background: var(--ok); color: #08240f; padding: 0 5px; border-radius: 4px; font-weight: 700;
}
.gn-head { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-bottom: 1px solid var(--line); cursor: move; background: var(--panel2); border-radius: 9px 9px 0 0; }
.gn-id { width: 96px; padding: 3px 6px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 5px; font-family: var(--mono); font-size: 11px; }
.gn-eff { flex: 1; font-family: var(--mono); font-size: 11px; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gn-del { padding: 1px 6px; font-size: 11px; background: transparent; border-color: transparent; color: var(--muted); }
.gn-del:hover { color: var(--bad); border-color: var(--bad); }
.gn-body { padding: 8px 9px; max-height: 280px; overflow-y: auto; }
.gn-body .field { margin-bottom: 7px; }
.gn-body .param-row { grid-template-columns: 1fr; gap: 2px; }
.gn-body .params-host { padding: 7px 8px; }
.gn-body .effect-select { max-width: 100%; }
.gn-port { position: absolute; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--bg); cursor: crosshair; z-index: 3; }
.gn-in { left: -8px; top: 26px; background: var(--muted); cursor: default; }
.gn-outs { position: absolute; right: -8px; top: 20px; display: flex; flex-direction: column; gap: 9px; }
.gn-outs .gn-port { position: static; }
.gn-succ { background: var(--ok); }
.gn-fail { background: var(--bad); }
.gn-port:hover { transform: scale(1.25); }

.graph-hint { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--muted); background: rgba(15,17,21,.85); padding: 4px 9px; border-radius: 6px; pointer-events: none; z-index: 5; }
.graph-palette { position: fixed; width: 220px; max-height: 300px; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--accent); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); z-index: 50; overflow: hidden; }
.pal-search { margin: 8px; padding: 6px 8px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; }
.pal-list { overflow-y: auto; padding: 0 6px 8px; }
.pal-item { padding: 5px 8px; border-radius: 5px; cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--text); }
.pal-item:hover { background: var(--accent2); }

/* ================= Admin console ================= */
.top-nav { display: flex; gap: 4px; margin-left: 6px; }
.top-nav .nav-btn { padding: 4px 12px; font-size: 12px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--muted); }
.top-nav .nav-btn:hover { color: var(--text); border-color: var(--line); }
.top-nav .nav-btn.active { color: #fff; background: var(--accent2); border-color: var(--accent2); }

.admin-view { height: calc(100vh - 45px); overflow-y: auto; padding: 0 0 40px; }
.admin-authbar { padding: 12px 18px; background: var(--panel); border-bottom: 1px solid var(--line); }
.admin-signin { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-signin .as-title { font-size: 13px; color: var(--text); margin-right: 8px; }
.as-in { padding: 6px 9px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 7px; font-family: var(--font); font-size: 13px; }
.as-in.as-base { width: 210px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.admin-signin .as-err { color: var(--bad); font-size: 12px; }
.admin-signin-hint { padding: 14px 18px; color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 720px; }
.signed-in { display: flex; align-items: center; gap: 14px; }
.si-name { font-size: 13px; color: var(--muted); } .si-name b { color: var(--text); }
.si-base { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; }

.admin-tabs { display: flex; gap: 4px; padding: 8px 18px 0; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 4; flex-wrap: wrap; }
.admin-tab { padding: 7px 14px; font-size: 13px; background: transparent; border: 1px solid transparent; border-bottom: none; border-radius: 7px 7px 0 0; color: var(--muted); }
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--text); background: var(--bg); border-color: var(--line); position: relative; top: 1px; }
.admin-panel-host { padding: 16px 18px; }

.panel-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.panel-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.panel-head .grow { flex: 1; }
.poll-note { color: var(--muted); font-size: 11px; font-style: italic; }
.inline-lbl { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }

button.sm { padding: 4px 10px; font-size: 12px; }
.sm-select, .sm-input { padding: 5px 8px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.sm-input { font-family: var(--mono); }

.admin-empty, .admin-loading { padding: 26px; text-align: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line); border-radius: 8px; }
.admin-error { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(248,81,73,.08); border: 1px solid var(--bad); border-radius: 8px; color: #ffbcb8; font-size: 13px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: 8px 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; white-space: nowrap; }
.admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--panel2); }
.admin-table th.num, .admin-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table .muted, td.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 11.5px; }
.id-cell { font-family: var(--mono); color: var(--accent); }
.players-cell { color: var(--text); }
.actions-cell { white-space: nowrap; }
.row-link { color: var(--accent); text-decoration: none; margin-right: 10px; font-size: 12px; }
.row-link:hover { text-decoration: underline; }
.props-cell { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }

.mode-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line); color: var(--text); }
.mb-casual { background: rgba(110,168,254,.16); border-color: var(--accent); color: var(--accent); }
.mb-private { background: rgba(194,110,222,.16); border-color: #c26ede; color: #d59bee; }
.mb-tutorial { background: rgba(63,185,80,.16); border-color: var(--ok); color: #7ee08a; }
.mb-sandbox { background: rgba(240,160,90,.16); border-color: var(--req); color: var(--req); }
.mb-bot { background: rgba(154,163,178,.16); border-color: var(--muted); color: var(--muted); }
.mb-other { background: var(--panel2); }

.player-chip { display: inline-flex; align-items: center; gap: 5px; margin-right: 10px; font-size: 12.5px; }
.player-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; }
.player-chip.on i { background: var(--ok); }
.player-chip.off i { background: var(--bad); }
.live-badge { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 10px; font-weight: 700; background: var(--ok); color: #08240f; }

.caret { padding: 0 6px; background: transparent; border: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.caret:hover { color: var(--accent); }
.chart-row td { background: var(--bg); }
.chart-host { padding: 8px 4px; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 8px; }
.chart { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.chart-title { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-axis { stroke: var(--line); stroke-width: 1; }
.chart-lab { fill: var(--muted); font-size: 8px; font-family: var(--mono); }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.chart-legend .leg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text); }
.chart-legend .leg i { width: 12px; height: 3px; border-radius: 2px; display: inline-block; }

.pager { display: flex; align-items: center; gap: 12px; margin-top: 12px; justify-content: flex-end; }
.pager-lab { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0 0 16px; }
.stat-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; }
.st-val { font-size: 22px; font-weight: 600; color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-lab { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }

.scope-tabs { display: flex; gap: 4px; }
.scope-tab { padding: 5px 12px; font-size: 12px; background: var(--panel2); border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.scope-tab.active { background: var(--accent2); border-color: var(--accent2); color: #fff; }

.balance-block { margin-bottom: 18px; }
.balance-table .id-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.bar-cell { min-width: 130px; }
.bar-wrap { position: relative; height: 16px; background: var(--panel2); border-radius: 4px; overflow: hidden; min-width: 110px; }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 4px; }
.bar-lab { position: relative; z-index: 1; font-size: 11px; padding-left: 6px; line-height: 16px; color: #fff; font-variant-numeric: tabular-nums; mix-blend-mode: normal; }

.raw-json { margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.raw-json summary { cursor: pointer; padding: 8px 12px; font-size: 12px; color: var(--accent); user-select: none; }
.raw-json pre { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); background: #0f1115; color: var(--muted); font-family: var(--mono); font-size: 11.5px; overflow-x: auto; max-height: 320px; overflow-y: auto; }

.rollup-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 16px; }
.rollup-col { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.rollup-col h4 { margin: 0 0 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.count-list { list-style: none; margin: 0; padding: 0; max-height: 200px; overflow-y: auto; }
.count-list li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.count-list li:last-child { border-bottom: none; }
.cl-k { font-family: var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.cl-v { color: var(--accent); font-variant-numeric: tabular-nums; }
.type-chip { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 11px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); }
