/* ═════════════════════════════════════════════════════════════════════════
   MAIA — Shareable Bundle: slide deck + feedback system
   Dark Crystal theme. Class-based; prefixed .bd-* (deck) / .fb-* (feedback).
   NO inline styles — dynamic values arrive as CSS custom properties set via the
   v-setvars directive (element.style.setProperty), never the style attribute.
   ═════════════════════════════════════════════════════════════════════════ */

.bd {
  --c-bg: #0f1117;
  --c-bg-2: #161924;
  --c-surface: #1b1f2e;
  --c-surface-2: #232838;
  --c-line: rgba(255,255,255,0.10);
  --c-line-2: rgba(255,255,255,0.06);
  --c-ink: #f4f5fb;
  --c-ink-2: rgba(244,245,251,0.70);
  --c-ink-3: rgba(244,245,251,0.45);
  --c-accent: #6366f1;
  --c-spec-1: #6366f1;
  --c-spec-2: #8b5cf6;
  --c-spec-3: #ec4899;
  --c-brand: #2f7ed8;

  position: fixed;
  inset: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Fira Sans", system-ui, -apple-system, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.bd-top {
  display: flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 18px;
  border-bottom: 1px solid var(--c-line-2);
  background: rgba(15,17,23,0.7);
  backdrop-filter: blur(10px);
  z-index: 20;
}
.bd-top__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bd-top__mark { width: 24px; height: 24px; border-radius: 50%; flex: none;
  background-image: conic-gradient(from 200deg, var(--c-spec-1), var(--c-spec-2), var(--c-spec-3), var(--c-spec-1)); position: relative; }
.bd-top__mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, rgba(255,255,255,0.8), transparent 60%); }
.bd-top__title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-top__brandtag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 5px; flex: none;
  background: color-mix(in oklab, var(--c-brand) 22%, transparent); color: color-mix(in oklab, var(--c-brand) 60%, #fff); }
.bd-top__spacer { flex: 1; }
.bd-top__btn {
  font-family: inherit; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 9px; cursor: pointer;
  background: transparent; border: 1px solid var(--c-line); color: var(--c-ink-2);
  transition: background 120ms, border-color 120ms, color 120ms;
}
.bd-top__btn:hover { background: var(--c-surface); color: var(--c-ink); }
.bd-top__btn.is-on { background: color-mix(in oklab, var(--c-accent) 22%, transparent); border-color: color-mix(in oklab, var(--c-accent) 55%, transparent); color: #fff; }
.bd-top__btn .bd-badge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--c-spec-3); color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bd-reviewing { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--c-ink-2); padding: 4px 8px 4px 4px; border-radius: 20px; border: 1px solid var(--c-line); }

/* ── Stage ───────────────────────────────────────────────────────────────── */
.bd-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.bd-slidewrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 3.2vw 4.5vw; box-sizing: border-box; }
.bd-slidewrap.is-bleed { padding: 0; }
.bd-slide.is-bleed { max-width: none; width: 100%; height: 100%; }

/* slide enter/leave — TRANSFORM only, resting opacity always 1 (lesson learned) */
.bd-slide { position: relative; width: 100%; max-width: 1080px; max-height: 100%; }
.bd-anim-next { animation: bd-in-next 360ms cubic-bezier(.2,.7,.3,1); }
.bd-anim-prev { animation: bd-in-prev 360ms cubic-bezier(.2,.7,.3,1); }
@keyframes bd-in-next { from { transform: translateX(36px); } to { transform: none; } }
@keyframes bd-in-prev { from { transform: translateX(-36px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bd-anim-next, .bd-anim-prev { animation: none; } }

.bd-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-ink-3); font-weight: 600; margin-bottom: 14px; }
.bd-headline { font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.bd-grad { background-image: linear-gradient(100deg, var(--c-spec-1), var(--c-spec-2) 48%, var(--c-spec-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── COVER ───────────────────────────────────────────────────────────────── */
.bd-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; }
.bd-cover__img {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 72% 26%, hsla(var(--hue,210),72%,56%,0.55), transparent 60%),
    radial-gradient(70% 80% at 26% 82%, hsla(calc(var(--hue,210) + 46),70%,50%,0.42), transparent 60%),
    linear-gradient(135deg, #0d1019, #1a1f2e);
}
.bd-cover__imgnote { position: absolute; top: 18px; right: 20px; font-size: 11px; color: var(--c-ink-3); padding: 5px 11px; border-radius: 16px; border: 1px solid var(--c-line); background: rgba(0,0,0,0.35); }
.bd-cover__grad { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,11,16,0.92) 28%, rgba(10,11,16,0.45) 62%, rgba(10,11,16,0.2)); }
.bd-cover__body { position: relative; padding: 7vh 6vw; max-width: 900px; }
.bd-cover__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-ink-2); margin-bottom: 18px; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--c-line); background: rgba(0,0,0,0.3); }
.bd-cover__title { font-size: clamp(40px, 6.6vw, 88px); font-weight: 900; line-height: 1.0; letter-spacing: -0.02em; margin: 0; white-space: pre-line; }
.bd-cover__meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 15px; color: var(--c-ink-2); }
.bd-cover__brandtag { font-weight: 600; padding: 4px 12px; border-radius: 7px; background: color-mix(in oklab, var(--c-brand) 30%, transparent); color: #fff; }
.bd-cover__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-ink-3); }

/* ── IDEA hero ───────────────────────────────────────────────────────────── */
.bd-idea__strap { font-size: clamp(34px, 5.4vw, 72px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 22px; max-width: 16ch; }
.bd-idea__statement { font-size: clamp(17px, 1.9vw, 23px); line-height: 1.5; color: var(--c-ink-2); max-width: 38ch; margin: 0; }

/* ── IDEA insight ────────────────────────────────────────────────────────── */
.bd-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 860px) { .bd-points { grid-template-columns: 1fr; } }
.bd-point { padding: 20px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); }
.bd-point__h { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-spec-2); font-weight: 700; margin-bottom: 8px; }
.bd-point__d { font-size: 15px; line-height: 1.5; color: var(--c-ink); margin: 0; }

/* ── VISUAL direction ────────────────────────────────────────────────────── */
.bd-vis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 860px) { .bd-vis { grid-template-columns: 1fr; } }
.bd-viscard { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); }
.bd-viscard__tag { width: 30px; height: 30px; flex: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; background-image: linear-gradient(135deg, var(--c-spec-1), var(--c-spec-3)); }
.bd-viscard__name { font-size: 15.5px; font-weight: 600; margin: 0 0 4px; }
.bd-viscard__d { font-size: 13.5px; line-height: 1.45; color: var(--c-ink-2); margin: 0; }

/* ── EXEC overview ───────────────────────────────────────────────────────── */
.bd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 860px) { .bd-tiles { grid-template-columns: 1fr 1fr; } }
.bd-tile { padding: 18px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); transition: transform 140ms, border-color 140ms; }
.bd-tile:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--c-spec-2) 50%, transparent); }
.bd-tile__n { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.bd-tile__d { font-size: 13px; color: var(--c-ink-3); }

/* ── EXEC single ─────────────────────────────────────────────────────────── */
.bd-exec__lead { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.5; color: var(--c-ink); max-width: 46ch; margin: 18px 0 22px; }
.bd-exec__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; }
@media (max-width: 760px) { .bd-exec__rows { grid-template-columns: 1fr; } }
.bd-exec__h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-ink-3); font-weight: 700; margin-bottom: 5px; }
.bd-exec__d { font-size: 14.5px; line-height: 1.5; color: var(--c-ink-2); margin: 0; }

/* ── FRAMEWORK ───────────────────────────────────────────────────────────── */
.bd-fw { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 13.5px; }
.bd-fw th, .bd-fw td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--c-line-2); }
.bd-fw thead th { font-family: var(--c-disp, inherit); font-weight: 700; color: var(--c-ink); border-bottom: 2px solid var(--c-line); }
.bd-fw thead th span { display: inline-flex; align-items: center; gap: 8px; }
.bd-fw__dot { width: 9px; height: 9px; border-radius: 50%; }
.bd-fw thead th:nth-child(2) .bd-fw__dot { background: var(--c-spec-1); }
.bd-fw thead th:nth-child(3) .bd-fw__dot { background: var(--c-spec-2); }
.bd-fw thead th:nth-child(4) .bd-fw__dot { background: var(--c-spec-3); }
.bd-fw thead th:nth-child(5) .bd-fw__dot { background: #10b981; }
.bd-fw tbody th { font-weight: 600; color: var(--c-ink); white-space: nowrap; width: 130px; }
.bd-fw td { color: var(--c-ink-2); line-height: 1.4; }
.bd-pill { display: inline-flex; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.bd-pill--high { background: color-mix(in oklab, #ef4444 20%, transparent); color: #fca5a5; }
.bd-pill--med { background: color-mix(in oklab, #f59e0b 22%, transparent); color: #fcd34d; }
.bd-pill--low { background: color-mix(in oklab, #10b981 20%, transparent); color: #6ee7b7; }
.bd-fwnote { margin-top: 16px; font-size: 13px; color: var(--c-ink-3); display: flex; gap: 9px; align-items: flex-start; max-width: 70ch; }
.bd-fwnote svg { flex: none; margin-top: 1px; color: var(--c-spec-2); }

/* ── ONE PAGER ───────────────────────────────────────────────────────────── */
.bd-op { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
@media (max-width: 860px) { .bd-op { grid-template-columns: 1fr; } }
.bd-op__role { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.5; color: var(--c-ink); margin: 0 0 18px; }
.bd-op__block { margin-bottom: 16px; }
.bd-op__h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-ink-3); font-weight: 700; margin-bottom: 8px; }
.bd-op__formats { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.bd-op__formats li { font-size: 14px; color: var(--c-ink-2); line-height: 1.4; }
.bd-op__msgs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bd-op__msgs li { position: relative; padding-left: 20px; font-size: 15px; color: var(--c-ink); line-height: 1.4; }
.bd-op__msgs li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, var(--c-spec-1), var(--c-spec-3)); }
.bd-op__side { padding: 18px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); }

/* ── CLOSING ─────────────────────────────────────────────────────────────── */
.bd-closing { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; }
.bd-closing__mark { width: 64px; height: 64px; border-radius: 50%; background-image: conic-gradient(from 200deg, var(--c-spec-1), var(--c-spec-2), var(--c-spec-3), var(--c-spec-1)); position: relative; }
.bd-closing__mark::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, rgba(255,255,255,0.85), transparent 60%); }
.bd-closing__title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin: 0; }
.bd-closing__sub { font-size: 16px; color: var(--c-ink-2); margin: 0; }
.bd-closing__expiry { font-size: 12.5px; color: var(--c-ink-3); margin-top: 8px; padding: 7px 14px; border-radius: 20px; border: 1px solid var(--c-line); }

/* ── Deep content: expand button + tooltip + modal ──────────────────────── */
.bd-deepbtn { margin-top: 18px; font-family: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px; cursor: pointer; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink-2); transition: background 120ms, color 120ms, border-color 120ms; }
.bd-deepbtn:hover { background: var(--c-surface-2); color: var(--c-ink); border-color: color-mix(in oklab, var(--c-accent) 45%, transparent); }
.bd-cite { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--c-ink-3); cursor: help; border-bottom: 1px dotted var(--c-ink-3); padding-bottom: 1px; }
.bd-cite svg { color: var(--c-spec-2); }

.bd-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(4,4,9,0.72); backdrop-filter: blur(8px); }
.bd-modal__panel { width: min(620px, 94vw); max-height: 80vh; overflow-y: auto; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: 16px; padding: 26px; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8); animation: bd-pop 220ms cubic-bezier(.2,.8,.3,1); }
@keyframes bd-pop { from { transform: scale(0.96) translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bd-modal__panel { animation: none; } }
.bd-modal__kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-spec-2); font-weight: 700; margin-bottom: 8px; }
.bd-modal__title { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.bd-modal__body { font-size: 15px; line-height: 1.62; color: var(--c-ink-2); }
.bd-modal__snip { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--c-surface); border-left: 3px solid var(--c-spec-2); font-style: italic; font-size: 14px; color: var(--c-ink-2); }
.bd-modal__loc { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--c-ink-3); margin-top: 6px; }
.bd-modal__x { position: absolute; }
.bd-modal__close { margin-top: 20px; font-family: inherit; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 9px; border: 0; cursor: pointer; background: var(--c-accent); color: #fff; }

/* ── Bottom nav ──────────────────────────────────────────────────────────── */
.bd-nav { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px; border-top: 1px solid var(--c-line-2); background: rgba(15,17,23,0.8); backdrop-filter: blur(10px); z-index: 20; }
.bd-nav__arrow { width: 38px; height: 38px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); transition: background 120ms, opacity 120ms; }
.bd-nav__arrow:hover { background: var(--c-surface-2); }
.bd-nav__arrow:disabled { opacity: 0.35; cursor: default; }
.bd-dots { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; }
.bd-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--c-line); border: 0; cursor: pointer; padding: 0; transition: transform 120ms, background 120ms; }
.bd-dot:hover { transform: scale(1.3); background: var(--c-ink-3); }
.bd-dot.is-active { background: var(--c-accent); transform: scale(1.35); }
.bd-dot__fb { position: absolute; top: -5px; right: -5px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-spec-3); }
.bd-nav__count { font-size: 12.5px; color: var(--c-ink-3); font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.bd-deliverable { font-size: 12px; color: var(--c-ink-3); min-width: 130px; }

/* ═══════════════ FEEDBACK SYSTEM ═══════════════════════════════════════════ */

/* commentable affordance (review mode on) */
.bd.is-review [data-fb] { position: relative; }
.bd.is-review [data-fb]::after {
  content: "+"; position: absolute; top: -10px; right: -10px; z-index: 5;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent); color: #fff; font-size: 17px; font-weight: 600; line-height: 1;
  box-shadow: 0 2px 10px -2px rgba(0,0,0,0.5); cursor: pointer;
  opacity: 0; transform: scale(0.6); transition: opacity 130ms, transform 130ms; pointer-events: none;
}
.bd.is-review [data-fb]:hover { outline: 2px dashed color-mix(in oklab, var(--c-accent) 55%, transparent); outline-offset: 5px; border-radius: 4px; }
.bd.is-review [data-fb]:hover::after { opacity: 1; transform: scale(1); pointer-events: auto; }

/* pins anchored to objects */
.fb-pins { position: absolute; inset: 0; pointer-events: none; z-index: 14; }
.fb-pin {
  position: absolute; pointer-events: auto;
  left: var(--fb-x, 0); top: var(--fb-y, 0);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 13px 13px 13px 3px;
  font-size: 11px; font-weight: 700; color: #fff; cursor: pointer;
  border: 2px solid var(--c-bg);
  background: var(--fb-color, var(--c-accent));
  box-shadow: 0 3px 10px -2px rgba(0,0,0,0.55);
  transform: translate(-50%, -50%);
  transition: transform 120ms;
}
.fb-pin:hover { transform: translate(-50%, -50%) scale(1.12); }

/* name gate + note composer + thread popover */
.fb-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(4,4,9,0.7); backdrop-filter: blur(8px); }
.fb-card { width: min(440px, 94vw); background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: 16px; padding: 24px; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8); animation: bd-pop 200ms cubic-bezier(.2,.8,.3,1); }
.fb-card__title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.fb-card__sub { font-size: 13.5px; color: var(--c-ink-2); margin: 0 0 18px; line-height: 1.5; }
.fb-label { font-size: 12px; font-weight: 600; color: var(--c-ink-2); margin-bottom: 6px; display: block; }
.fb-input, .fb-textarea { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); outline: none; }
.fb-input:focus, .fb-textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-accent) 22%, transparent); }
.fb-textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.fb-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.fb-btn { font-family: inherit; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 10px; cursor: pointer; border: 1px solid var(--c-line); background: transparent; color: var(--c-ink-2); }
.fb-btn:hover { background: var(--c-surface); color: var(--c-ink); }
.fb-btn--primary { border: 0; color: #fff; background-image: linear-gradient(120deg, var(--c-spec-1), var(--c-spec-2) 60%, var(--c-spec-3)); }
.fb-btn--primary:disabled { opacity: 0.5; cursor: default; }
.fb-context { font-size: 12px; color: var(--c-ink-3); margin-bottom: 14px; padding: 9px 12px; border-radius: 9px; background: var(--c-surface); border: 1px solid var(--c-line-2); }
.fb-context b { color: var(--c-ink-2); font-weight: 600; }

/* avatar */
.fb-av { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10.5px; font-weight: 700; color: #fff; flex: none; background: var(--fb-color, var(--c-accent)); }
.fb-av--sm { width: 22px; height: 22px; font-size: 9.5px; }

/* note thread popover */
.fb-thread { position: fixed; z-index: 88; width: 300px; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); overflow: hidden; transform: translate(-50%, 0); }
.fb-thread__head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--c-line-2); }
.fb-thread__who { font-size: 13px; font-weight: 600; }
.fb-thread__on { font-size: 11px; color: var(--c-ink-3); }
.fb-thread__x { margin-left: auto; cursor: pointer; color: var(--c-ink-3); display: inline-flex; }
.fb-thread__x:hover { color: var(--c-ink); }
.fb-thread__body { padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--c-ink); }
.fb-thread__time { font-size: 11px; color: var(--c-ink-3); margin-top: 8px; }
.fb-thread__del { font-family: inherit; font-size: 12px; color: #fca5a5; background: transparent; border: 0; cursor: pointer; padding: 8px 14px 12px; }
.fb-thread__del:hover { text-decoration: underline; }

/* feedback panel (right drawer) */
.fb-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 340px; max-width: 90vw; z-index: 30; background: var(--c-bg-2); border-left: 1px solid var(--c-line); display: flex; flex-direction: column; animation: fb-slidein 240ms cubic-bezier(.2,.8,.3,1); }
@keyframes fb-slidein { from { transform: translateX(30px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .fb-panel { animation: none; } }
.fb-panel__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--c-line-2); }
.fb-panel__title { font-size: 15px; font-weight: 700; }
.fb-panel__count { font-size: 12px; color: var(--c-ink-3); }
.fb-panel__x { margin-left: auto; cursor: pointer; color: var(--c-ink-3); display: inline-flex; }
.fb-panel__x:hover { color: var(--c-ink); }
.fb-panel__filter { padding: 12px 18px; border-bottom: 1px solid var(--c-line-2); }
.fb-select { width: 100%; font-family: inherit; font-size: 13px; padding: 8px 11px; border-radius: 9px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); outline: none; }
.fb-list { flex: 1; overflow-y: auto; padding: 10px; }
.fb-item { padding: 12px; border-radius: 11px; cursor: pointer; border: 1px solid transparent; transition: background 120ms, border-color 120ms; }
.fb-item:hover { background: var(--c-surface); border-color: var(--c-line); }
.fb-item__top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.fb-item__who { font-size: 12.5px; font-weight: 600; }
.fb-item__slide { margin-left: auto; font-size: 11px; color: var(--c-ink-3); }
.fb-item__text { font-size: 13.5px; line-height: 1.45; color: var(--c-ink-2); }
.fb-item__on { font-size: 11px; color: var(--c-spec-2); margin-top: 6px; }
.fb-empty { padding: 40px 24px; text-align: center; color: var(--c-ink-3); font-size: 13.5px; line-height: 1.5; }

.bd-stage::-webkit-scrollbar, .fb-list::-webkit-scrollbar, .bd-modal__panel::-webkit-scrollbar { width: 9px; }
.fb-list::-webkit-scrollbar-thumb, .bd-modal__panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }

/* toast */
.bd-toast { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%); z-index: 95; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; background: var(--c-surface-2); border: 1px solid var(--c-line); color: var(--c-ink); font-size: 13.5px; box-shadow: 0 20px 50px -16px rgba(0,0,0,0.7); animation: bd-pop 200ms; }
.bd-toast svg { color: #10b981; }
