/* 2026-10-28: tag explorer (js/tag-explorer.js) on /tags/ and the "What should it do?" panel on /find/, plus the static tag lists from tools/build-tags.js */
.tx-q { font: 500 16px Inter, system-ui, sans-serif; width: 100%; box-sizing: border-box; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #cbd5e1; background: #fff; color: #111827; }
.tx-q:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.tx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.tx-n { margin-left: auto; font-weight: 800; color: #1d4ed8; }
.tx-clear { font: 700 13px Inter, system-ui, sans-serif; background: none; border: 0; color: #1d4ed8; cursor: pointer; text-decoration: underline; }
.tx-chips, .tg-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tx-chip, .tg-chip { font: 600 13px Inter, system-ui, sans-serif; border: 1px solid #dbe4f3; background: #f4f7fc; color: #111827; padding: 6px 11px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; text-decoration: none; }
.tx-chip i, .tg-chip i { font-style: normal; font-size: 11.5px; color: #475569; font-weight: 700; }
.tx-chip:hover, .tg-chip:hover { border-color: #1A8CFD; color: #1d4ed8; }
.tx-chip[aria-pressed="true"], .tg-chip[aria-pressed="true"] { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.tx-chip[aria-pressed="true"] i, .tg-chip[aria-pressed="true"] i { color: #dbeafe; }
.tx-chip:focus-visible, .tg-chip:focus-visible, .tx-tool:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.tx-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 14px; }
.tx-tool { border: 1px solid #dbe4f3; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff; color: #111827; text-decoration: none; }
.tx-tool:hover { border-color: #1A8CFD; }
.tx-tool b { font-size: 14.5px; } .tx-tool small { display: block; color: #64748b; font-size: 12px; margin-top: 2px; }
.tx-sc { font-weight: 900; color: #1d4ed8; font-variant-numeric: tabular-nums; flex: none; } .tx-sc.tx-e { color: #64748b; font-weight: 700; font-size: 12.5px; }
.tx-more, .tx-hint { margin: 12px 0 0; font-size: 14px; color: #475569; } .tx-more a { font-weight: 700; color: #1d4ed8; }
.tg-group { margin-top: 18px; } .tg-group h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html[data-theme="dark"] .tx-q { background: #0b1220; border-color: #334155; color: #f3f4f6; }
html[data-theme="dark"] .tx-chip, html[data-theme="dark"] .tg-chip { background: #16213a; border-color: #24314a; color: #e5e7eb; }
html[data-theme="dark"] .tx-chip i, html[data-theme="dark"] .tg-chip i { color: #b4c0d4; }
html[data-theme="dark"] .tx-chip[aria-pressed="true"], html[data-theme="dark"] .tg-chip[aria-pressed="true"] { background: #2563eb; border-color: #2563eb; color: #fff; }
html[data-theme="dark"] .tx-tool { background: #111827; border-color: #1f2937; color: #f3f4f6; }
html[data-theme="dark"] .tx-tool small, html[data-theme="dark"] .tx-sc.tx-e, html[data-theme="dark"] .tg-group h3 { color: #94a3b8; }
html[data-theme="dark"] .tx-sc, html[data-theme="dark"] .tx-n, html[data-theme="dark"] .tx-clear, html[data-theme="dark"] .tx-more a { color: #93c5fd; }
html[data-theme="dark"] .tx-more, html[data-theme="dark"] .tx-hint { color: #cbd5e1; }
