/* instant-draft-surface.css  Instant-Draft Converter full-screen takeover
 *
 * This overlay (window.InstantDraftSurface) is injected at runtime onto ANY
 * page — including url-scan results + grant pages that do NOT load
 * homepage-v7.css. homepage-v7.css owns the global brand tokens
 * (--forest, --sienna, --parchment, etc.), so we must define them LOCALLY here
 * (same pattern as atlas-page.css). Every rule is scoped under .ids-takeover so
 * nothing leaks onto the host page, and every class is `ids-`-prefixed.
 *
 * Ported from dev-assets/mockup-instant-draft-converter-2026-06-08.html.
 */

/* ── Local design tokens (mirror homepage-v7.css 1:1) ───────────────────────── */
.ids-takeover {
  --ids-forest:        #1B4332;
  --ids-forest-dk:     #143728;
  --ids-forest-mid:    #2D6A4F;
  --ids-forest-light:  #D8F3DC;
  --ids-sienna:        #C4532B;
  --ids-sienna-dk:     #A3401F;
  --ids-gold:          #B8860B;
  --ids-gold-lt:       rgba(184, 134, 11, 0.10);
  --ids-ink:           #1C1917;
  --ids-ink-2:         #57534E;
  --ids-ink-3:         #A8A29E;
  --ids-ink-4:         #D6D3D1;
  --ids-ink-5:         #E7E5E4;
  --ids-parchment:     #FAF7F2;
  --ids-parchment-dk:  #F2EBE0;
  --ids-serif:         'Fraunces', Georgia, serif;
  --ids-sans:          'Plus Jakarta Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}

/* ── Overlay shell ──────────────────────────────────────────────────────────── */
.ids-takeover {
  position: fixed;
  inset: 0;
  z-index: 2147483000; /* above nav, modals, sticky CTAs */
  background: var(--ids-parchment);
  color: var(--ids-ink);
  font-family: var(--ids-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.ids-takeover.ids-takeover--visible { opacity: 1; }
.ids-takeover *,
.ids-takeover *::before,
.ids-takeover *::after { box-sizing: border-box; }
.ids-takeover h1, .ids-takeover h2, .ids-takeover h3 { margin: 0; }
.ids-takeover p { margin: 0; }

.ids-wrap {
  max-width: 920px;
  margin: 0 auto;
  /* bottom padding leaves room for the mobile sticky CTA on small screens */
  padding: 24px 24px 80px;
}

/* ── Top bar (brand + close) ───────────────────────────────────────────────── */
.ids-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 22px;
}
.ids-brand {
  font-family: var(--ids-serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ids-ink);
}
/* sienna-dk (not sienna) so the wordmark clears WCAG AA 4.5:1 on parchment —
   plain sienna #C4532B is 4.25:1 at this 20.8px/600 size (QA axe finding 2026-06-09). */
.ids-brand b { color: var(--ids-sienna-dk); font-weight: 600; }
.ids-close {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid var(--ids-ink-5);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ids-ink-2);
  flex: 0 0 auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ids-close:hover { color: var(--ids-ink); border-color: var(--ids-ink-4); }
.ids-close:focus-visible { outline: 2px solid var(--ids-forest-mid); outline-offset: 2px; }
.ids-close svg { width: 20px; height: 20px; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.ids-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ids-sienna-dk);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ids-h1 {
  font-family: var(--ids-serif);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 20ch;
}
.ids-h1 em { font-style: normal; color: var(--ids-forest-mid); }
.ids-sub {
  font-size: 1.05rem;
  color: var(--ids-ink-2);
  max-width: 54ch;
  margin-bottom: 18px;
}
.ids-sub b { color: var(--ids-ink); font-weight: 600; }
.ids-grant-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--ids-ink-5);
  border-radius: 18px;
  padding: 8px 10px 8px 16px;
  font-size: 0.85rem;
  color: var(--ids-ink-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  max-width: 100%;
}
.ids-grant-chip b { color: var(--ids-ink); font-weight: 600; }
.ids-pct {
  background: var(--ids-forest-light);
  color: var(--ids-forest);
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ── The document ──────────────────────────────────────────────────────────── */
.ids-doc {
  background: #fff;
  border: 1px solid var(--ids-ink-5);
  border-radius: 18px;
  margin-top: 26px;
  overflow: hidden;
  box-shadow: 0 18px 50px -28px rgba(20, 55, 40, 0.28), 0 2px 8px rgba(0, 0, 0, 0.03);
}
.ids-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--ids-parchment-dk);
  background: linear-gradient(180deg, #fff, #fdfbf8);
}
.ids-doc-title {
  font-family: var(--ids-serif);
  font-weight: 600;
  font-size: 1.05rem;
  min-width: 0;
}
.ids-doc-title span {
  display: block;
  font-family: var(--ids-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ids-ink-3);
  margin-top: 2px;
}
.ids-progress { min-width: 200px; flex: 0 0 auto; }
.ids-progress-label {
  font-size: 0.74rem;
  color: var(--ids-ink-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-weight: 500;
}
/* progress meter (renamed from mockup's `.bar` to avoid colliding with the
   top-bar `.ids-bar` flex layout above) */
.ids-meter {
  height: 7px;
  background: var(--ids-parchment-dk);
  border-radius: 99px;
  overflow: hidden;
}
.ids-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ids-forest-mid), var(--ids-forest));
  border-radius: 99px;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.ids-sec {
  padding: 22px 26px;
  border-bottom: 1px solid var(--ids-parchment-dk);
}
.ids-sec:last-child { border-bottom: 0; }
.ids-sec-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ids-sec-no {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex: 0 0 auto;
}
.ids-sec-name {
  font-family: var(--ids-serif);
  font-weight: 600;
  font-size: 1.08rem;
  min-width: 0;
}
.ids-tag {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* free / drafted section */
.ids-sec--free .ids-sec-no { background: var(--ids-forest); color: #fff; }
.ids-sec--free .ids-tag { background: var(--ids-forest-light); color: var(--ids-forest); }
.ids-draft-body p {
  font-size: 0.95rem;
  color: #33302d;
  margin-bottom: 11px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.ids-draft-body p:last-child { margin-bottom: 0; }
.ids-ph {
  background: var(--ids-gold-lt);
  color: var(--ids-gold);
  border: 1px dashed rgba(184, 134, 11, 0.5);
  border-radius: 5px;
  padding: 0 5px;
  font-weight: 600;
  font-size: 0.92em;
}
.ids-ph-note {
  font-size: 0.78rem;
  color: var(--ids-ink-2);
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.ids-ph-note svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; color: var(--ids-gold); }
.ids-provenance {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.ids-prov {
  font-size: 0.72rem;
  color: var(--ids-ink-2);
  background: var(--ids-parchment);
  border: 1px solid var(--ids-parchment-dk);
  border-radius: 7px;
  padding: 4px 9px;
}
.ids-prov b { color: var(--ids-forest-mid); }

/* section-0 accept affordance (free authed) */
.ids-accept {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid var(--ids-forest-mid);
  color: var(--ids-forest);
  border-radius: 10px;
  padding: 11px 16px;
  font-family: var(--ids-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.ids-accept:hover { background: var(--ids-forest-light); }
.ids-accept:focus-visible { outline: 2px solid var(--ids-forest-mid); outline-offset: 2px; }
.ids-accept svg { width: 16px; height: 16px; }
.ids-accept[disabled] { opacity: 0.6; cursor: default; }

/* locked sections */
.ids-sec--lock .ids-sec-no { background: var(--ids-parchment-dk); color: var(--ids-ink-3); }
.ids-sec--lock .ids-sec-name { color: var(--ids-ink-2); }
.ids-sec--lock .ids-tag { background: var(--ids-gold-lt); color: var(--ids-gold); }
.ids-lock-blur { position: relative; user-select: none; }
.ids-lock-blur .ids-ln {
  height: 11px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--ids-ink-5), var(--ids-parchment-dk));
  margin-bottom: 9px;
  filter: blur(0.5px);
  opacity: 0.8;
}
.ids-lock-blur .ids-ln:nth-child(1) { width: 96%; }
.ids-lock-blur .ids-ln:nth-child(2) { width: 99%; }
.ids-lock-blur .ids-ln:nth-child(3) { width: 62%; }
.ids-lock-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 70%, #fff 100%);
}
/* The teaser is the STAR (spec §8 CRO-E3): render it prominently, not fine print. */
.ids-lock-pill {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ids-ink); /* prominent, not muted */
  margin-top: 10px;
  background: var(--ids-gold-lt);
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 10px;
  padding: 11px 13px;
}
.ids-lock-pill svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; color: var(--ids-gold); }

/* ── Conversion strip ──────────────────────────────────────────────────────── */
.ids-convert {
  background: var(--ids-forest-dk);
  color: #f3efe7;
  border-radius: 18px;
  margin-top: 18px;
  padding: 30px 32px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 18px 50px -30px rgba(20, 55, 40, 0.6);
}
.ids-convert-l { flex: 1 1 340px; min-width: 0; }
.ids-convert .ids-ce {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ec7b0;
  margin-bottom: 10px;
}
.ids-convert h2 {
  font-family: var(--ids-serif);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}
.ids-convert h2 b { color: #f0bda6; font-weight: 600; }
.ids-convert-p { font-size: 0.92rem; color: #c9d6cd; max-width: 46ch; }
.ids-gap {
  display: flex;
  gap: 0;
  margin: 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  max-width: 440px;
}
.ids-gap > div { flex: 1; padding: 12px 14px; min-width: 0; }
.ids-gap .ids-free { background: rgba(255, 255, 255, 0.04); }
.ids-gap .ids-prem { background: rgba(196, 83, 43, 0.16); }
.ids-gap .ids-k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ec7b0;
  margin-bottom: 4px;
  font-weight: 700;
}
.ids-gap .ids-prem .ids-k { color: #e8a385; }
.ids-gap .ids-v {
  font-size: 0.86rem;
  color: #eef3ef;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.ids-deadline {
  font-size: 0.82rem;
  color: #e8a385;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 46ch;
}
.ids-deadline svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; }
.ids-convert-r { flex: 0 0 250px; text-align: center; min-width: 0; }
.ids-anchor { font-family: var(--ids-serif); font-size: 0.82rem; color: #9ec7b0; margin-bottom: 4px; }
.ids-anchor b {
  display: block;
  font-size: 1.55rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.ids-cta {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--ids-sienna);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  font-family: var(--ids-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  margin: 14px 0 9px;
  min-height: 44px;
  box-shadow: 0 8px 22px -8px rgba(196, 83, 43, 0.7);
}
.ids-cta:hover { background: var(--ids-sienna-dk); }
.ids-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ids-guarantee { font-size: 0.76rem; color: #9ec7b0; }

/* premium "open in workspace" primary CTA (no convert strip) */
.ids-primary-row {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.ids-cta--solo {
  width: auto;
  min-width: 280px;
  max-width: 100%;
}

/* ── Cross-sell + honesty ──────────────────────────────────────────────────── */
.ids-xsell {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ids-ink-2);
  margin-top: 18px;
}
.ids-xsell b { color: var(--ids-ink); }
.ids-honest {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
  text-align: center;
  font-size: 0.76rem;
  color: var(--ids-ink-2);
  margin-top: 10px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.ids-honest svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; color: var(--ids-forest-mid); }

/* ── Mobile sticky CTA (≤560px) ────────────────────────────────────────────── */
.ids-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 242, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ids-ink-5);
  box-shadow: 0 -6px 20px -12px rgba(20, 55, 40, 0.3);
}
.ids-sticky-cta .ids-cta { margin: 0; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .ids-h1 { font-size: 1.75rem; }
  .ids-sub { font-size: 1rem; }
  .ids-doc-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ids-progress { min-width: 100%; width: 100%; }
  .ids-convert { padding: 24px; }
  .ids-convert-r { flex: 1 1 100%; }
  .ids-wrap { padding-bottom: 96px; } /* room above the sticky bar */
  .ids-takeover.ids-has-sticky .ids-sticky-cta { display: block; }
}

/* ── Reduced motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ids-takeover { transition: none; }
  .ids-meter i { transition: none; }
}

/* ════ Hybrid [bracket]-fill UX (2026-06-15) ═══════════════════════════════ */
/* aria-live region (visually hidden) */
.ids-sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── interactive tokens (inline; WCAG 2.5.8 inline target-size exception) ── */
.ids-tok {
  font: inherit; cursor: pointer; border-radius: 5px; padding: 0 3px;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.ids-tok:focus-visible { outline: 2px solid var(--ids-sienna-dk); outline-offset: 2px; }
.ids-tok--fill {
  color: var(--ids-sienna-dk); font-weight: 600;
  border-bottom: 2px dotted var(--ids-sienna); background: transparent;
}
.ids-tok--fill:hover { background: #FBEDE6; }
.ids-tok--fill.ids-tok--done {
  color: #2c2a27; font-weight: 600; background: transparent;
  border-bottom: 2px solid var(--ids-forest);
}
.ids-tok--fill.ids-tok--done::after { content: "✓"; color: var(--ids-forest); font-size: .68em; vertical-align: super; margin-left: 1px; }
.ids-tok--confirm {
  background: var(--ids-gold-lt); color: #6f5212; font-weight: 600;
  border-bottom: 2px dotted var(--ids-gold); padding: 1px 4px;
}
.ids-tok--confirm:hover { filter: brightness(.98); }
.ids-tok--confirm.ids-tok--done {
  background: var(--ids-forest-light); color: var(--ids-forest);
  border-bottom: 2px solid var(--ids-forest);
}
.ids-tok--confirm.ids-tok--done svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.ids-tok--confirm:focus-visible { outline-color: var(--ids-gold); }
.ids-tok--focus { outline: 2px solid var(--ids-sienna); outline-offset: 2px; background: #FBEDE6; }

/* ── checklist ── */
.ids-checklist {
  margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--ids-parchment-dk);
  background: var(--ids-parchment); border-radius: 11px;
}
.ids-cl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; flex-wrap: wrap; }
.ids-cl-title { font-size: .92rem; color: var(--ids-ink); font-weight: 500; }
.ids-cl-title b { color: var(--ids-forest-mid); }
.ids-cl-meter { flex: 1; min-width: 90px; max-width: 220px; height: 7px; background: #EAE2D5; border-radius: 20px; overflow: hidden; }
.ids-cl-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ids-forest), var(--ids-forest-mid)); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.ids-cl-items { display: flex; flex-wrap: wrap; gap: 8px; }
.ids-clitem {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff; border: 1px solid var(--ids-parchment-dk); color: var(--ids-ink-2);
  border-radius: 22px; padding: 8px 14px; font-family: var(--ids-sans); font-size: .85rem; font-weight: 600;
}
.ids-clitem:hover { border-color: #d9d0c2; }
.ids-clitem:focus-visible { outline: 2px solid var(--ids-forest-mid); outline-offset: 2px; }
.ids-clitem .ids-cltick { width: 16px; height: 16px; border-radius: 50%; border: 1.6px solid #cfc6b6; display: grid; place-items: center; }
.ids-clitem .ids-cltick svg { width: 10px; height: 10px; color: transparent; }
.ids-clitem.is-done { color: var(--ids-forest); background: var(--ids-forest-light); border-color: #bfe0cc; }
.ids-clitem.is-done .ids-cltick { background: var(--ids-forest); border-color: var(--ids-forest); }
.ids-clitem.is-done .ids-cltick svg { color: #fff; }

/* ── regenerate row ── */
.ids-regen-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--ids-parchment-dk); }
.ids-regen {
  -webkit-appearance: none; appearance: none; cursor: pointer; min-height: 44px;
  background: var(--ids-forest); color: #fff; border: none; border-radius: 10px;
  padding: 11px 17px; font-family: var(--ids-sans); font-size: .9rem; font-weight: 700;
  transition: filter .12s ease, opacity .12s ease;
}
.ids-regen:hover { filter: brightness(1.06); }
.ids-regen:focus-visible { outline: 2px solid var(--ids-forest-dk); outline-offset: 2px; }
.ids-regen[disabled] { opacity: .5; cursor: default; }
.ids-regen.is-loading { opacity: .8; cursor: progress; }
.ids-regen-hint { font-size: .8rem; color: var(--ids-ink-2); max-width: 38ch; }

/* ── inline editor popover ── */
.ids-tokpop {
  position: fixed; z-index: 2147483646; width: 288px; max-width: calc(100vw - 20px);
  background: #fff; border: 1px solid var(--ids-forest); border-radius: 12px;
  box-shadow: 0 18px 44px -18px rgba(27,67,50,.55); padding: 14px;
  animation: ids-pop .14s ease;
}
@keyframes ids-pop { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.ids-tokpop-q { font-weight: 600; font-size: .9rem; margin: 0 0 9px; color: var(--ids-ink); line-height: 1.35; }
.ids-tokpop-input { width: 100%; box-sizing: border-box; border: 1px solid var(--ids-parchment-dk); border-radius: 8px; padding: 10px 11px; font: inherit; font-size: .95rem; min-height: 44px; }
.ids-tokpop-input:focus { outline: none; border-color: var(--ids-forest); box-shadow: 0 0 0 3px var(--ids-forest-light); }
.ids-tokpop-row { display: flex; gap: 9px; align-items: center; margin-top: 11px; }
.ids-tokpop-btn, .ids-tokpop-save {
  -webkit-appearance: none; appearance: none; cursor: pointer; min-height: 44px;
  background: var(--ids-sienna); color: #fff; border: none; border-radius: 9px;
  padding: 10px 18px; font-family: var(--ids-sans); font-weight: 700; font-size: .9rem;
}
.ids-tokpop-save:hover { filter: brightness(1.05); }
.ids-tokpop-save:focus-visible { outline: 2px solid var(--ids-sienna-dk); outline-offset: 2px; }
.ids-tokpop-link {
  -webkit-appearance: none; appearance: none; cursor: pointer; background: none; border: none;
  color: var(--ids-ink-2); font-family: var(--ids-sans); font-size: .86rem; font-weight: 600;
  text-decoration: underline; padding: 8px 4px; min-height: 44px;
}
.ids-tokpop-link:focus-visible { outline: 2px solid var(--ids-forest-mid); outline-offset: 2px; }
.ids-tokpop-choice { display: flex; gap: 8px; flex-wrap: wrap; }
.ids-chip {
  -webkit-appearance: none; appearance: none; cursor: pointer; min-height: 44px;
  background: #fff; border: 1px solid var(--ids-parchment-dk); color: var(--ids-ink);
  border-radius: 22px; padding: 9px 16px; font-family: var(--ids-sans); font-weight: 600; font-size: .88rem;
}
.ids-chip:hover { border-color: #d9d0c2; }
.ids-chip:focus-visible { outline: 2px solid var(--ids-forest-mid); outline-offset: 2px; }
.ids-chip[aria-pressed="true"] { background: var(--ids-forest); color: #fff; border-color: var(--ids-forest); }
.ids-chip--no[aria-pressed="true"] { background: var(--ids-ink-2); border-color: var(--ids-ink-2); }
.ids-tokpop-hint { display: flex; gap: 7px; align-items: flex-start; font-size: .76rem; color: var(--ids-ink-2); margin: 10px 0 0; line-height: 1.4; }
.ids-tokpop-hint svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; color: var(--ids-gold); }

@media (prefers-reduced-motion: reduce) {
  .ids-tok, .ids-cl-meter i, .ids-tokpop { transition: none; animation: none; }
}
