{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"faq-drawer","type":"registry:block","title":"FAQ Index","description":"Block. An FAQ as a card-index drawer. Each question is typed along a card’s edge with its subject on a staggered tab; pull one and it lifts out to show the answer. An accordion underneath.","registryDependencies":[],"files":[{"path":"tactile/faq-drawer/faq-drawer.mjs","type":"registry:file","target":"tactile/faq-drawer/faq-drawer.mjs","content":"/**\n * FAQ Index — TACTILE UI block, cut 4 (00.4).\n *\n * Questions about an agent-infrastructure product (\"Lode\") as a card-index\n * drawer: a slim recessed tray of warm-white index cards standing one behind\n * another, each question typed along a card's top edge with its subject on a\n * staggered tab. Open one and it is lifted out of the drawer and opens to\n * show the answer typed on the card's ruled face. The drawer's front plate\n * carries a label holder and a cup pull; after it, the \"Ask us\" key.\n *\n * Mechanism: native <details>/<summary> — one card is one disclosure, and\n * the cards share a `name` so only one opens at a time (optional). The card\n * lifts with a transform and a deeper shadow; its face opens by the\n * platform's own details-content transition (interpolate-size), so nothing\n * is measured and nothing runs at rest. Cards further back sit a shade darker\n * and a hair narrower, as they would a finger's depth into the drawer.\n *\n * Paper is paper in either finish; the drawer is aluminium or graphite. The\n * typing is Geist Mono (the card's own type, like a display's glyphs);\n * everything else is Instrument Sans.\n *\n * Accessibility: a section named by its h2; each question a summary (a\n * disclosure button with its expanded state), the answer its content;\n * keyboard: Tab to a card, Enter or Space to open or close. Reduced motion:\n * the card opens at once, lifted, with nothing in flight.\n */\n\n/** The questions, written for this block. The product, its prices and its limits are invented. */\nexport const CARDS = Object.freeze([\n  Object.freeze({\n    id: 'billing', tab: 'Pricing',\n    q: 'How is a run billed?',\n    a: 'By the second an agent is awake: $0.000018 per GB-second, with the first 400,000 GB-seconds each month free. Sleeping between tool calls costs nothing, and a stopped run stops billing the second it stops.',\n  }),\n  Object.freeze({\n    id: 'retention', tab: 'Data',\n    q: 'How long do you keep run traces?',\n    a: '30 days on Team, 365 on Scale, and as long as you like when you host Lode yourself. When the window closes a trace is deleted, not archived; until then you can export it as OpenTelemetry.',\n  }),\n  Object.freeze({\n    id: 'sso', tab: 'SSO',\n    q: 'Do you support SSO and SCIM?',\n    a: 'Yes, on Scale: SAML 2.0 and OIDC with Okta, Entra ID, Google Workspace or any standard provider, and SCIM 2.0 for provisioning. Roles follow your groups, so leaving the company leaves Lode.',\n  }),\n  Object.freeze({\n    id: 'uptime', tab: 'Uptime',\n    q: 'What uptime do you commit to?',\n    a: '99.95% a month for the control plane on Team and 99.99% on Scale, with service credits in the contract. Runs already started keep running if the control plane is down; only new starts wait. The last 90 days are on the status page.',\n  }),\n  Object.freeze({\n    id: 'limits', tab: 'Limits',\n    q: 'What are the rate limits?',\n    a: '1,000 run starts a minute and 50 concurrent runs per project on Team; 10,000 and 2,000 on Scale. Over the limit, a start waits in a queue for up to 30 seconds before it answers 429 with a Retry-After.',\n  }),\n  Object.freeze({\n    id: 'self-host', tab: 'Hosting',\n    q: 'Can we host Lode ourselves?',\n    a: 'Yes. The runtime ships as a Helm chart and as a single binary for bare metal, air-gapped if you need it, licensed per node. The control plane can stay with us or move in with you.',\n  }),\n  Object.freeze({\n    id: 'region', tab: 'Security',\n    q: 'Where does our data live?',\n    a: 'In the region you choose when you create a project (Frankfurt, Dublin, Virginia, Oregon or Singapore) and nowhere else. The SOC 2 Type II and ISO 27001 reports are in the trust centre.',\n  }),\n]);\n\nexport const FINISHES = Object.freeze(['auto', 'aluminium', 'graphite']);\nexport const OPEN_AT = Object.freeze(['none', '1', '2', '3', '4', '5', '6', '7']);\n\nexport const DEFAULTS = Object.freeze({\n  label: 'Questions',\n  title: 'Asked before you sign.',\n  lead: 'The questions every platform team asks in its first week, filed where you can find them. Pull a card to read it.',\n  drawer: 'Lode · Q–Z',\n  count: 7,\n  open: '1',\n  single: true,\n  askNote: 'Not in the drawer? A person answers, usually within the hour.',\n  askLabel: 'Ask us',\n  askHref: 'mailto:hello@lode.example',\n  finish: 'auto',\n});\n\n/** Tabs sit at three stations along the top edge, as a filing clerk staggers them. */\nexport const TAB_STATIONS = Object.freeze([0.04, 0.37, 0.7]);\nexport const tabStation = (i) => TAB_STATIONS[i % TAB_STATIONS.length];\n\n/** How far into the drawer a card stands: 0 at the front, 1 at the back. */\nexport const depthOf = (i, n) => (n <= 1 ? 0 : (n - 1 - i) / (n - 1));\n\n/** The index printed on a card: Q.01, Q.02… */\nexport const cardNumber = (i) => `Q.${String(i + 1).padStart(2, '0')}`;\n\n/** A link the Ask key may carry: a page, a path, mail or a phone — never a script. */\nexport const safeHref = (h, fallback = DEFAULTS.askHref) => {\n  const s = String(h ?? '').trim();\n  return /^(https?:\\/\\/|mailto:|tel:|\\/|#|\\.\\/|\\.\\.\\/)/i.test(s) ? s : fallback;\n};\n\nexport function normalise(opts = {}, prev = DEFAULTS) {\n  const o = { ...prev, ...opts };\n  for (const k of ['label', 'title', 'lead', 'drawer', 'askNote', 'askLabel']) o[k] = String(o[k] ?? '');\n  o.askHref = safeHref(o.askHref);\n  o.count = Math.min(CARDS.length, Math.max(3, Math.round(Number(o.count)) || DEFAULTS.count));\n  o.open = OPEN_AT.includes(String(o.open)) ? String(o.open) : DEFAULTS.open;\n  if (o.open !== 'none' && Number(o.open) > o.count) o.open = 'none';\n  o.single = o.single !== false && o.single !== 'false';\n  if (!FINISHES.includes(o.finish)) o.finish = 'auto';\n  return o;\n}\n\nexport function resolveFinish(own, around, prefersDark, tone) {\n  if (own === 'aluminium' || own === 'graphite') return own;\n  if (around === 'aluminium' || around === 'graphite') return around;\n  // Any other finish around it (another family's: porcelain, black) by its tone.\n  if (tone === 'light' || tone === 'dark') return tone === 'dark' ? 'graphite' : 'aluminium';\n  return prefersDark ? 'graphite' : 'aluminium';\n}\n\nconst esc = (s) => String(s).replace(/[&<>\"']/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '\"': '&quot;', \"'\": '&#39;' })[c]);\n\nlet seq = 0;\n\n/**\n * @param {HTMLElement} host\n * @param {object} opts see DEFAULTS\n * @returns {{ root: HTMLElement, update(opts: object): void, destroy(): void, open(i: number): void }}\n */\nexport function mount(host, opts = {}) {\n  let o = normalise(opts);\n  const uid = `fq${(seq += 1)}`;\n  const root = document.createElement('section');\n  root.className = 'fq';\n  root.dataset.block = 'faq-drawer';\n  root.setAttribute('aria-labelledby', `${uid}-title`);\n  host.append(root);\n\n  const render = () => {\n    const n = o.count;\n    const cards = CARDS.slice(0, n).map((c, i) => `<details class=\"fq-card\"${o.single ? ` name=\"${uid}\"` : ''}${o.open === String(i + 1) ? ' open' : ''} style=\"--k: ${i}; --depth: ${depthOf(i, n).toFixed(3)}; --tab-at: ${tabStation(i)}\">\n      <summary class=\"fq-edge\">\n        <span class=\"fq-tab\" aria-hidden=\"true\">${esc(c.tab)}</span>\n        <span class=\"fq-no\" aria-hidden=\"true\">${cardNumber(i)}</span>\n        <span class=\"fq-q\">${esc(c.q)}</span>\n        <span class=\"fq-mark\" aria-hidden=\"true\"></span>\n      </summary>\n      <div class=\"fq-face\"><p class=\"fq-a\">${esc(c.a)}</p><p class=\"fq-filed\" aria-hidden=\"true\">Filed under ${esc(c.tab)} · ${cardNumber(i)}</p></div>\n    </details>`).join('');\n    root.innerHTML = `<div class=\"fq-wrap\">\n  <header class=\"fq-head\">\n    <p class=\"fq-label\"></p>\n    <h2 class=\"fq-title\" id=\"${uid}-title\"></h2>\n    <p class=\"fq-lead\"></p>\n  </header>\n  <div class=\"fq-cabinet\">\n    <div class=\"fq-drawer\">\n      <div class=\"fq-tray\">${cards}</div>\n      <div class=\"fq-front\" aria-hidden=\"true\">\n        <span class=\"fq-holder\"><span class=\"fq-holder-card\"></span></span>\n        <span class=\"fq-pull\"></span>\n      </div>\n    </div>\n    <div class=\"fq-ask\">\n      <p class=\"fq-note\"></p>\n      <a class=\"fq-key\" href=\"${esc(o.askHref)}\"></a>\n    </div>\n  </div>\n</div>`;\n    root.querySelector('.fq-label').textContent = o.label;\n    root.querySelector('.fq-title').textContent = o.title;\n    root.querySelector('.fq-lead').textContent = o.lead;\n    root.querySelector('.fq-holder-card').textContent = o.drawer;\n    root.querySelector('.fq-note').textContent = o.askNote;\n    root.querySelector('.fq-key').textContent = o.askLabel;\n  };\n\n  const dark = typeof matchMedia === 'function' ? matchMedia('(prefers-color-scheme: dark)') : null;\n  const applyFinish = () => {\n    const f = resolveFinish(o.finish, host.closest('[data-finish]')?.dataset.finish, dark?.matches, host.closest('[data-tone=\"light\"], [data-tone=\"dark\"]')?.dataset.tone);\n    if (root.dataset.finish !== f) root.dataset.finish = f;\n  };\n  const finishObs = new MutationObserver(applyFinish);\n  finishObs.observe(document.documentElement, { attributes: true, attributeFilter: ['data-finish'], subtree: true });\n  dark?.addEventListener('change', applyFinish);\n\n  render();\n  applyFinish();\n\n  return {\n    root,\n    /** Open card i (0-based), as a click would. */\n    open(i) {\n      const d = root.querySelectorAll('.fq-card')[i];\n      if (d) d.open = true;\n    },\n    update(next = {}) {\n      o = normalise(next, o);\n      render();\n      applyFinish();\n    },\n    destroy() {\n      finishObs.disconnect();\n      dark?.removeEventListener('change', applyFinish);\n      root.remove();\n    },\n  };\n}\n\nexport default { mount };\n"},{"path":"tactile/faq-drawer/faq-drawer.css","type":"registry:file","target":"tactile/faq-drawer/faq-drawer.css","content":"/* FAQ Index — TACTILE UI block, cut 4 (00.4). Everything under .fq.\n   Faces: Instrument Sans (the section) and Geist Mono (typed on the\n   cards), both SIL OFL 1.1, shipped beside this file with their licences.\n   The tokens are the Tactile UI Kit's own names and values, defined here so\n   the block needs nothing else; faq-drawer.mjs writes the resolved finish on\n   the root. Paper is paper in either finish. */\n\n@font-face { font-family: 'FQ Instrument Sans'; src: url('./InstrumentSans-Regular.woff2') format('woff2'), url('https://tactileui.dev/originals/blocks/faq-drawer/InstrumentSans-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }\n@font-face { font-family: 'FQ Instrument Sans'; src: url('./InstrumentSans-Bold.woff2') format('woff2'), url('https://tactileui.dev/originals/blocks/faq-drawer/InstrumentSans-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }\n@font-face { font-family: 'FQ Geist Mono'; src: url('./GeistMono-Regular.woff2') format('woff2'), url('https://tactileui.dev/originals/blocks/faq-drawer/GeistMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }\n\n/* ------------------------------------------------------------------ tokens */\n.fq {\n  color-scheme: light;\n  --tui-desk: #d8d7d2;\n  --tui-face: #e6e6e2;\n  --tui-face-hi: #f2f2ef;\n  --tui-face-lo: #cbccc8;\n  --tui-well: #d3d4d0;\n  --tui-skirt: #a4a5a1;\n  --tui-ink: #1b1c1e;\n  --tui-ink-2: #4b4d51;\n  --tui-rule: rgb(27 28 30 / 0.16);\n  --tui-cap: #1e1f21;\n  --tui-cap-hi: #2d2e31;\n  --tui-cap-skirt: #070708;\n  --tui-cap-ink: #efede8;\n  --tui-cap-hl: rgb(255 255 255 / 0.14);\n  --tui-hl: rgb(255 255 255 / 0.9);\n  --tui-sh: 24 25 28;\n  --tui-sh-a: 0.24;\n  --tui-grain: 0.5;\n  --tui-focus: #1b1c1e;\n  --tui-ease: cubic-bezier(0.2, 0.7, 0.2, 1);\n  --tui-well-fill: linear-gradient(to bottom, color-mix(in oklab, var(--tui-well) 86%, rgb(var(--tui-sh))), var(--tui-well) 55%);\n  --tui-raised:\n    inset 0 1px 0 var(--tui-hl),\n    0 0 0 1px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 0.35)),\n    0 1px 1.5px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.2)),\n    0 5px 12px -5px rgb(var(--tui-sh) / var(--tui-sh-a));\n  --tui-inset:\n    inset 0 3px 3px -2px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 2.6)),\n    inset 0 9px 12px -9px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.8)),\n    inset 0 0 0 1px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 0.45)),\n    inset 0 -1px 0 color-mix(in oklab, var(--tui-hl) 60%, transparent),\n    0 1px 0 var(--tui-hl),\n    0 -1px 0 rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 0.35));\n  --tui-pressed:\n    inset 0 5px 5px -4px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 3)),\n    inset 4px 0 4px -4px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.4)),\n    inset -4px 0 4px -4px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.4)),\n    0 -1px 0 rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.3)),\n    0 1px 0 var(--tui-hl);\n  --tui-noise: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\");\n\n  /* Index-card stock and typewriter ribbon: the same in both finishes. */\n  --fq-paper: #f3f0e7;\n  --fq-type: #26251f;\n  --fq-type-2: #5d5b53;\n  --fq-rule: rgb(38 37 31 / 0.13);\n  --fq-rule-2: rgb(38 37 31 / 0.34);\n  --fq-fibre: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .35 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E\");\n  --fq-drop: rgb(24 25 28 / 0.3);\n  --fq-sans: 'FQ Instrument Sans', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;\n  --fq-type-face: 'FQ Geist Mono', 'Geist Mono', ui-monospace, monospace;\n\n  position: relative;\n  container: fq / inline-size;\n  interpolate-size: allow-keywords;\n  background: var(--tui-desk);\n  color: var(--tui-ink);\n  font: 400 15px/1.55 var(--fq-sans);\n  -webkit-font-smoothing: antialiased;\n}\n.fq[data-finish='graphite'] {\n  color-scheme: dark;\n  --tui-desk: #0e0f10;\n  --tui-face: #1b1c1e;\n  --tui-face-hi: #28292c;\n  --tui-face-lo: #141516;\n  --tui-well: #121315;\n  --tui-skirt: #09090a;\n  --tui-ink: #e8e6e1;\n  --tui-ink-2: #a6a7a9;\n  --tui-rule: rgb(232 230 225 / 0.11);\n  --tui-cap: #e9e7e2;\n  --tui-cap-hi: #f6f4ef;\n  --tui-cap-skirt: #a8a7a3;\n  --tui-cap-ink: #17181a;\n  --tui-cap-hl: rgb(255 255 255 / 0.8);\n  --tui-hl: rgb(255 255 255 / 0.11);\n  --tui-well-fill: linear-gradient(to bottom, #070808, var(--tui-well) 45%, #17181a);\n  --tui-sh: 0 0 0;\n  --tui-sh-a: 0.55;\n  --tui-grain: 0.35;\n  --tui-focus: #e8e6e1;\n  --fq-drop: rgb(0 0 0 / 0.55);\n}\n.fq *, .fq *::before, .fq *::after { box-sizing: border-box; }\n.fq-head > *, .fq-card p, .fq-ask p { margin: 0; }\n\n/* ------------------------------------------------------------------ layout */\n.fq-wrap {\n  display: grid;\n  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);\n  gap: 40px clamp(40px, 6cqi, 104px);\n  align-items: start;\n  width: min(100% - 2 * clamp(20px, 5cqi, 64px), 1240px);\n  margin-inline: auto;\n  padding-block: clamp(56px, 8cqi, 120px);\n}\n/* The head stays in view while cards are pulled on a wide container. */\n.fq-head { position: sticky; top: 24px; padding-top: 34px; }\n.fq-head .fq-label {\n  margin-bottom: 16px;\n  font: 700 10.5px/1.2 var(--fq-sans);\n  letter-spacing: 0.09em;\n  text-transform: uppercase;\n  color: var(--tui-ink-2);\n}\n.fq-title {\n  font: 700 clamp(32px, 4cqi, 52px)/1.02 var(--fq-sans);\n  letter-spacing: -0.035em;\n  text-wrap: balance;\n}\n.fq-head .fq-lead { margin-top: 20px; max-width: 36ch; font-size: clamp(15px, 1.3cqi, 17px); color: var(--tui-ink-2); text-wrap: pretty; }\n\n/* ------------------------------------------------------------------ the drawer */\n/* The drawer's box: its metal sides frame the tray the cards stand in. */\n.fq-drawer {\n  position: relative;\n  isolation: isolate;\n  padding: 12px 12px 0;\n  border-radius: 14px;\n  background: var(--tui-face);\n  box-shadow: var(--tui-raised);\n}\n.fq-drawer::before {\n  content: '';\n  position: absolute;\n  inset: 0;\n  z-index: -1;\n  border-radius: inherit;\n  background: var(--tui-noise), linear-gradient(170deg, rgb(255 255 255 / 0.06), transparent 40%);\n  opacity: var(--tui-grain);\n  pointer-events: none;\n}\n/* The tray: a slim recess, dark under its back wall. */\n.fq-tray {\n  display: grid;\n  padding: 40px 12px 16px;\n  border-radius: 9px 9px 4px 4px;\n  background: var(--tui-well-fill) var(--tui-well);\n  box-shadow: var(--tui-inset);\n}\n\n/* ------------------------------------------------------------------ a card */\n.fq-card {\n  --shade: calc(var(--depth, 0) * 0.11);\n  position: relative;\n  margin-inline: calc(var(--depth, 0) * 5px);\n  border-radius: 4px 4px 1px 1px;\n  background:\n    linear-gradient(rgb(40 36 26 / var(--shade)), rgb(40 36 26 / var(--shade))),\n    var(--fq-fibre),\n    var(--fq-paper);\n  color: var(--fq-type);\n  /* The card in front throws a shadow back onto the one behind; its top edge catches the lamp. */\n  /* The top edge is the card's thickness catching the lamp: a bright line, a\n     duller one under it. */\n  box-shadow:\n    inset 0 1px 0 rgb(255 255 255 / 0.95),\n    inset 0 2px 0 rgb(0 0 0 / 0.05),\n    0 -1px 0 rgb(0 0 0 / 0.1),\n    0 -7px 10px -5px var(--fq-drop);\n  transition: transform 220ms var(--tui-ease), box-shadow 220ms var(--tui-ease);\n}\n.fq-card:first-child { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), 0 -1px 0 rgb(0 0 0 / 0.08); }\n/* A finger along the edges: the card under it rises a little, as cards do. */\n.fq-card:not([open]):hover { transform: translateY(-3px); }\n/* Pulled: out of the drawer, above the rest, its shadow deeper. The drawer\n   makes room below it (margin) so its tab still clears the question behind. */\n.fq-card[open] {\n  z-index: 2;\n  margin-top: 9px;\n  transform: translateY(-12px);\n  box-shadow:\n    inset 0 1px 0 rgb(255 255 255 / 0.95),\n    0 -5px 9px -5px var(--fq-drop),\n    0 22px 30px -16px var(--fq-drop),\n    0 2px 3px rgb(0 0 0 / 0.12);\n}\n\n/* The top edge: the tab, the index, the question typed along it. */\n.fq-edge {\n  display: grid;\n  grid-template-columns: 5.2ch minmax(0, 1fr) auto;\n  align-items: baseline;\n  column-gap: 12px;\n  padding: 16px 18px 22px;\n  list-style: none;\n  cursor: pointer;\n  font: 400 15px/22px var(--fq-type-face);\n  border-radius: inherit;\n  -webkit-tap-highlight-color: transparent;\n}\n.fq-edge::-webkit-details-marker { display: none; }\n.fq-edge::marker { content: ''; }\n/* Focus is ringed in the ribbon's ink: the card is paper in either finish. */\n.fq-edge:focus-visible { outline: 2px solid var(--fq-type); outline-offset: -5px; }\n.fq-no { font-size: 11.5px; letter-spacing: 0.04em; color: var(--fq-type-2); }\n.fq-q { text-wrap: pretty; }\n.fq-mark { width: 12px; height: 12px; align-self: center; position: relative; }\n.fq-mark::before, .fq-mark::after { content: ''; position: absolute; left: 1px; right: 1px; top: 5.25px; height: 1.5px; background: var(--fq-type-2); }\n.fq-mark::after { transform: rotate(90deg); transition: transform 220ms var(--tui-ease); }\n.fq-card[open] .fq-mark::after { transform: rotate(0deg); }\n\n/* The tab stands up from the card's top edge at its station. */\n.fq-tab {\n  position: absolute;\n  bottom: 100%;\n  left: calc(var(--tab-at, 0) * 100%);\n  height: 19px;\n  padding: 3px 11px 0;\n  border-radius: 5px 5px 0 0;\n  background:\n    linear-gradient(rgb(40 36 26 / var(--shade)), rgb(40 36 26 / var(--shade))),\n    var(--fq-fibre),\n    var(--fq-paper);\n  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), 0 -4px 7px -4px var(--fq-drop);\n  font: 400 10.5px/16px var(--fq-type-face);\n  letter-spacing: 0.08em;\n  text-transform: uppercase;\n  color: var(--fq-type-2);\n  white-space: nowrap;\n  pointer-events: none;\n}\n\n/* The face: the answer typed on ruled stock, under a double heading rule. */\n.fq-card::details-content {\n  block-size: 0;\n  overflow: clip;\n  transition: block-size 320ms var(--tui-ease), content-visibility 320ms allow-discrete;\n}\n.fq-card[open]::details-content { block-size: auto; }\n.fq-face {\n  margin: -8px 18px 0;\n  padding: 16px 0 22px calc(5.2ch + 12px);\n  border-top: 3px double var(--fq-rule-2);\n  font: 400 14px/26px var(--fq-type-face);\n  background: repeating-linear-gradient(to bottom, transparent 0 25px, var(--fq-rule) 25px 26px) 0 20px / 100% calc(100% - 42px) no-repeat;\n}\n.fq-a { max-width: 60ch; }\n.fq-filed { margin-top: 26px; font-size: 11px; letter-spacing: 0.06em; color: var(--fq-type-2); text-align: right; }\n\n/* ------------------------------------------------------------------ the drawer front */\n.fq-front {\n  position: relative;\n  display: grid;\n  justify-items: center;\n  gap: 10px;\n  margin: 0 -12px;\n  padding: 16px 0 18px;\n  border-radius: 0 0 14px 14px;\n  background: linear-gradient(to bottom, color-mix(in oklab, var(--tui-face-hi) 70%, var(--tui-face)), var(--tui-face));\n  box-shadow: inset 0 1px 0 var(--tui-hl), inset 0 2px 0 rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 0.6)), 0 -1px 0 rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 0.9));\n}\n/* A label holder: a pressed frame with a card slid into it. */\n.fq-holder {\n  display: block;\n  padding: 3px;\n  border-radius: 3px;\n  background: linear-gradient(var(--tui-face-lo), var(--tui-face-hi));\n  box-shadow: 0 0 0 1px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.2)), 0 1px 0 var(--tui-hl), inset 0 1px 1px rgb(0 0 0 / 0.25);\n}\n.fq-holder-card {\n  display: block;\n  min-width: 132px;\n  padding: 3px 12px 2px;\n  border-radius: 1px;\n  background: var(--fq-fibre), var(--fq-paper);\n  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.25);\n  font: 400 11px/16px var(--fq-type-face);\n  letter-spacing: 0.08em;\n  text-align: center;\n  text-transform: uppercase;\n  color: var(--fq-type);\n}\n/* A cup pull: a half-round recess the fingers go into. */\n.fq-pull {\n  display: block;\n  width: 108px;\n  height: 22px;\n  border-radius: 3px 3px 54px 54px / 3px 3px 22px 22px;\n  background: var(--tui-well-fill) var(--tui-well);\n  box-shadow: var(--tui-inset);\n}\n\n/* ------------------------------------------------------------------ ask */\n.fq-ask {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 14px 24px;\n  margin-top: 28px;\n  padding-inline: 4px;\n}\n.fq-note { font-size: 14.5px; color: var(--tui-ink-2); max-width: 44ch; }\n/* The one contrast key on the section. */\n.fq-key {\n  display: inline-flex;\n  align-items: center;\n  height: 44px;\n  padding: 0 22px;\n  border-radius: 9px;\n  font: 700 14px/1 var(--fq-sans);\n  color: var(--tui-cap-ink);\n  text-decoration: none;\n  background:\n    radial-gradient(120% 90% at 50% 0%, rgb(255 255 255 / 0.1), transparent 60%),\n    linear-gradient(var(--tui-cap-hi), var(--tui-cap));\n  box-shadow:\n    inset 0 1px 0 var(--tui-cap-hl),\n    0 3px 0 var(--tui-cap-skirt),\n    0 4px 2px rgb(var(--tui-sh) / calc(var(--tui-sh-a) * 1.4)),\n    0 9px 14px -6px rgb(var(--tui-sh) / var(--tui-sh-a));\n  transition: transform 70ms var(--tui-ease), box-shadow 70ms var(--tui-ease);\n}\n.fq-key:active { transform: translateY(3px); box-shadow: var(--tui-pressed); }\n.fq-key:focus-visible { outline: 2px solid var(--tui-focus); outline-offset: 3px; }\n\n/* ------------------------------------------------------------------ re-composed by the width it is given */\n@container fq (max-width: 959px) {\n  .fq-wrap { grid-template-columns: minmax(0, 1fr); }\n  .fq-head { position: static; padding-top: 0; max-width: 640px; }\n}\n@container fq (max-width: 559px) {\n  .fq-drawer { padding: 8px 8px 0; }\n  .fq-tray { padding: 34px 6px 12px; }\n  .fq-card { margin-inline: calc(var(--depth, 0) * 3px); }\n  .fq-edge { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 14px 20px; font-size: 14px; line-height: 21px; }\n  .fq-no { display: none; }\n  .fq-tab { font-size: 9.5px; padding-inline: 8px; }\n  .fq-face { margin-inline: 14px; padding-left: 0; font-size: 13.5px; }\n  .fq-front { margin-inline: -8px; }\n  .fq-ask { flex-direction: column; align-items: stretch; }\n  .fq-key { justify-content: center; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fq-card, .fq-mark::after, .fq-key, .fq-card::details-content { transition: none; }\n  .fq-card:not([open]):hover { transform: none; }\n}\n"},{"path":"tactile/faq-drawer/InstrumentSans-OFL.txt","type":"registry:file","target":"tactile/faq-drawer/InstrumentSans-OFL.txt","content":"Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans)\n\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\nThis license is copied below, and is also available with a FAQ at:\nhttps://openfontlicense.org\n\n\n-----------------------------------------------------------\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\n-----------------------------------------------------------\n\nPREAMBLE\nThe goals of the Open Font License (OFL) are to stimulate worldwide\ndevelopment of collaborative font projects, to support the font creation\nefforts of academic and linguistic communities, and to provide a free and\nopen framework in which fonts may be shared and improved in partnership\nwith others.\n\nThe OFL allows the licensed fonts to be used, studied, modified and\nredistributed freely as long as they are not sold by themselves. The\nfonts, including any derivative works, can be bundled, embedded, \nredistributed and/or sold with any software provided that any reserved\nnames are not used by derivative works. The fonts and derivatives,\nhowever, cannot be released under any other type of license. The\nrequirement for fonts to remain under this license does not apply\nto any document created using the fonts or their derivatives.\n\nDEFINITIONS\n\"Font Software\" refers to the set of files released by the Copyright\nHolder(s) under this license and clearly marked as such. This may\ninclude source files, build scripts and documentation.\n\n\"Reserved Font Name\" refers to any names specified as such after the\ncopyright statement(s).\n\n\"Original Version\" refers to the collection of Font Software components as\ndistributed by the Copyright Holder(s).\n\n\"Modified Version\" refers to any derivative made by adding to, deleting,\nor substituting -- in part or in whole -- any of the components of the\nOriginal Version, by changing formats or by porting the Font Software to a\nnew environment.\n\n\"Author\" refers to any designer, engineer, programmer, technical\nwriter or other person who contributed to the Font Software.\n\nPERMISSION & CONDITIONS\nPermission is hereby granted, free of charge, to any person obtaining\na copy of the Font Software, to use, study, copy, merge, embed, modify,\nredistribute, and sell modified and unmodified copies of the Font\nSoftware, subject to the following conditions:\n\n1) Neither the Font Software nor any of its individual components,\nin Original or Modified Versions, may be sold by itself.\n\n2) Original or Modified Versions of the Font Software may be bundled,\nredistributed and/or sold with any software, provided that each copy\ncontains the above copyright notice and this license. These can be\nincluded either as stand-alone text files, human-readable headers or\nin the appropriate machine-readable metadata fields within text or\nbinary files as long as those fields can be easily viewed by the user.\n\n3) No Modified Version of the Font Software may use the Reserved Font\nName(s) unless explicit written permission is granted by the corresponding\nCopyright Holder. This restriction only applies to the primary font name as\npresented to the users.\n\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\nSoftware shall not be used to promote, endorse or advertise any\nModified Version, except to acknowledge the contribution(s) of the\nCopyright Holder(s) and the Author(s) or with their explicit written\npermission.\n\n5) The Font Software, modified or unmodified, in part or in whole,\nmust be distributed entirely under this license, and must not be\ndistributed under any other license. The requirement for fonts to\nremain under this license does not apply to any document created\nusing the Font Software.\n\nTERMINATION\nThis license becomes null and void if any of the above conditions are\nnot met.\n\nDISCLAIMER\nTHE FONT SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\nOTHER DEALINGS IN THE FONT SOFTWARE.\n"},{"path":"tactile/faq-drawer/GeistMono-OFL.txt","type":"registry:file","target":"tactile/faq-drawer/GeistMono-OFL.txt","content":"Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)\n\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\nThis license is copied below, and is also available with a FAQ at:\nhttps://openfontlicense.org\n\n\n-----------------------------------------------------------\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\n-----------------------------------------------------------\n\nPREAMBLE\nThe goals of the Open Font License (OFL) are to stimulate worldwide\ndevelopment of collaborative font projects, to support the font creation\nefforts of academic and linguistic communities, and to provide a free and\nopen framework in which fonts may be shared and improved in partnership\nwith others.\n\nThe OFL allows the licensed fonts to be used, studied, modified and\nredistributed freely as long as they are not sold by themselves. The\nfonts, including any derivative works, can be bundled, embedded, \nredistributed and/or sold with any software provided that any reserved\nnames are not used by derivative works. The fonts and derivatives,\nhowever, cannot be released under any other type of license. The\nrequirement for fonts to remain under this license does not apply\nto any document created using the fonts or their derivatives.\n\nDEFINITIONS\n\"Font Software\" refers to the set of files released by the Copyright\nHolder(s) under this license and clearly marked as such. This may\ninclude source files, build scripts and documentation.\n\n\"Reserved Font Name\" refers to any names specified as such after the\ncopyright statement(s).\n\n\"Original Version\" refers to the collection of Font Software components as\ndistributed by the Copyright Holder(s).\n\n\"Modified Version\" refers to any derivative made by adding to, deleting,\nor substituting -- in part or in whole -- any of the components of the\nOriginal Version, by changing formats or by porting the Font Software to a\nnew environment.\n\n\"Author\" refers to any designer, engineer, programmer, technical\nwriter or other person who contributed to the Font Software.\n\nPERMISSION & CONDITIONS\nPermission is hereby granted, free of charge, to any person obtaining\na copy of the Font Software, to use, study, copy, merge, embed, modify,\nredistribute, and sell modified and unmodified copies of the Font\nSoftware, subject to the following conditions:\n\n1) Neither the Font Software nor any of its individual components,\nin Original or Modified Versions, may be sold by itself.\n\n2) Original or Modified Versions of the Font Software may be bundled,\nredistributed and/or sold with any software, provided that each copy\ncontains the above copyright notice and this license. These can be\nincluded either as stand-alone text files, human-readable headers or\nin the appropriate machine-readable metadata fields within text or\nbinary files as long as those fields can be easily viewed by the user.\n\n3) No Modified Version of the Font Software may use the Reserved Font\nName(s) unless explicit written permission is granted by the corresponding\nCopyright Holder. This restriction only applies to the primary font name as\npresented to the users.\n\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\nSoftware shall not be used to promote, endorse or advertise any\nModified Version, except to acknowledge the contribution(s) of the\nCopyright Holder(s) and the Author(s) or with their explicit written\npermission.\n\n5) The Font Software, modified or unmodified, in part or in whole,\nmust be distributed entirely under this license, and must not be\ndistributed under any other license. The requirement for fonts to\nremain under this license does not apply to any document created\nusing the Font Software.\n\nTERMINATION\nThis license becomes null and void if any of the above conditions are\nnot met.\n\nDISCLAIMER\nTHE FONT SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\nOTHER DEALINGS IN THE FONT SOFTWARE.\n"},{"path":"tactile/faq-drawer-example.html","type":"registry:file","target":"tactile/faq-drawer-example.html","content":"<!doctype html>\n<html lang=\"en\">\n<!-- FAQ Index v0.1.0: Tactile UI\n     Put this file beside the folder and serve them over HTTP (any static\n     server that knows .woff2):\n       ./faq-drawer/   faq-drawer.mjs, faq-drawer.css, InstrumentSans-Regular.woff2, InstrumentSans-Bold.woff2, InstrumentSans-OFL.txt, GeistMono-Regular.woff2, GeistMono-OFL.txt\n     No framework, no build step, no image. The cards are native\n     <details>; the questions are in CARDS in faq-drawer.mjs: file your own.\n     finish: 'auto' follows the nearest data-finish around the section. -->\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>Questions</title>\n<link rel=\"stylesheet\" href=\"./faq-drawer/faq-drawer.css\">\n<style>\n  body { margin: 0; }\n</style>\n</head>\n<body>\n<main id=\"questions\"></main>\n<script type=\"module\">\nimport { mount } from './faq-drawer/faq-drawer.mjs';\n\nconst block = mount(document.getElementById('questions'), {\n  label: \"Questions\",\n  title: \"Asked before you sign.\",\n  lead: \"The questions every platform team asks in its first week, filed where you can find them. Pull a card to read it.\",\n  drawer: \"Lode · Q–Z\",\n  count: 7,\n  open: \"1\",\n  single: true,\n  askNote: \"Not in the drawer? A person answers, usually within the hour.\",\n  askLabel: \"Ask us\",\n  askHref: \"mailto:hello@lode.example\",\n  finish: \"auto\",\n});\n\n// block.open(3)       pull the fourth card, as a click would\n// block.destroy()     removes the section\n</script>\n</body>\n</html>"},{"path":"tactile/faq-drawer/LICENSE","type":"registry:file","target":"tactile/faq-drawer/LICENSE","content":"MIT License\n\nCopyright (c) 2026 Ciprian Titire\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"}],"docs":"FAQ Index is in tactile/faq-drawer/. Open tactile/faq-drawer-example.html to see it run; faq-drawer.mjs is the class, faq-drawer.css its look.\nLoad both or it renders unstyled: in a bundler such as Vite, import './tactile/faq-drawer/faq-drawer.css' next to the .mjs import (or link it in plain HTML), then construct it on an element as the example does.\nIts fonts (InstrumentSans-Regular.woff2, InstrumentSans-Bold.woff2, GeistMono-Regular.woff2) load from https://tactileui.dev until you put them next to the CSS; the piece's download has them: https://tactileui.dev/api/download/blk.faq-drawer.\nDocs: https://tactileui.dev/blocks/faq-drawer","meta":{"id":"blk.faq-drawer","version":"0.1.0","access":"free","licence":"MIT"}}