/* Docs hub */
.dh-meta { font-size: .88rem; }
.dh-toolbar { display: grid; gap: 12px; margin-bottom: 16px; }
.dh-toolbar .input { max-width: 520px; width: 100%; }
.dh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dh .chip { border: 1px solid var(--glass-border); background: var(--glass-bg); color: inherit; font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.dh .chip.is-on { background: color-mix(in srgb, var(--brand) 20%, transparent); border-color: color-mix(in srgb, var(--brand) 60%, transparent); font-weight: 700; }
.dh .chip small { opacity: .65; }
.dh-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.dh-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; min-width: 0; }
.dh-card[hidden] { display: none; }
.dh-cat { font-size: .78rem; opacity: .8; }
.dh-title { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.dh-note { margin: 0; font-size: .9rem; color: var(--text-muted, #a5adc4); overflow-wrap: anywhere; }
.dh-cmd { display: flex; gap: 8px; align-items: center; background: rgba(0,0,0,.25); border-radius: 10px; padding: 6px 8px; }
.dh-cmd code { flex: 1; font-size: .82rem; overflow-x: auto; white-space: pre; }
.dh-links { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.dh-links li { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.dh-links a { color: var(--accent); overflow-wrap: anywhere; font-size: .9rem; }
.dh-copy { border: 1px solid var(--glass-border); background: none; color: inherit; border-radius: 8px; cursor: pointer; padding: 2px 8px; }
html.light-mode .dh-cmd { background: rgba(15,23,42,.06); }
