/* ROLE-TEMPLATE
   =====================================================================
   Focus — weekly pipeline-meeting runner (DealFlow & Pipeline)
   Agenda rail + one-deal-at-a-time stage. All colors via app tokens so
   light/dark themes both work. Vendored from docs/design_alex_redesign/
   focus.css; the `.theme-dark` rules already match the app's `.app.theme-dark`
   root (descendant selector), so dark mode flips without edits. The
   `fm-empty*` rules at the foot are the HONEST-GAP states for sections the
   prototype mock-synthesized but the backend cannot yet fill (last-meeting
   recap, weekly updates, Domino brief) — not in the design source.
   ===================================================================== */

/* full-viewport takeover — covers the rail + topbar so the meeting gets the whole screen.
   Sits below drawers (z 1200) so opening a deal from Focus still layers above. */
.fm { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100dvh; display: flex; background: var(--canvas); animation: fm-takeover 240ms var(--ease-out); }
@keyframes fm-takeover { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fm { animation: none; } }

/* ---- agenda rail (glass) ---- */
.fm-rail { flex: 0 0 264px; width: 264px; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--hairline); background: var(--glass-fill, color-mix(in oklab, var(--surface) 82%, transparent)); -webkit-backdrop-filter: blur(var(--glass-blur, 16px)); backdrop-filter: blur(var(--glass-blur, 16px)); }
.fm-rail__head { flex: 0 0 auto; padding: 16px 18px 12px; border-bottom: 1px solid var(--hairline); }
.fm-rail__t { font-size: 13.5px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; }
.fm-rail__s { font-size: 11px; color: var(--slate-400); margin-top: 2px; }
.fm-rail__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 10px 18px; }
.fm-rail__grp { margin-bottom: 12px; }
.fm-rail__sec { padding: 10px 8px 4px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600, #A07F3C); border-top: 1px solid var(--hairline); margin-top: 4px; }
.fm-rail__grp:first-child .fm-rail__sec, .fm-rail__grp:nth-child(2) .fm-rail__sec { border-top: 0; margin-top: 0; }
.fm-rail__grph { display: flex; align-items: center; gap: 7px; padding: 6px 8px 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); }
.fm-rail__dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.fm-rail__dot--credit { background: var(--gold-500); }
.fm-rail__dot--acq { background: var(--info, #3a7bd5); }
.fm-rail__dot--develop { background: var(--success); }
.fm-rail__n { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--slate-400); font-feature-settings: "tnum" 1; }
.fm-rail__item { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; padding: 6px 8px; border-radius: var(--r-control); cursor: pointer; font-family: var(--font-sans); text-align: left; color: var(--ink-800); transition: background var(--duration-fast) var(--ease-out); }
.fm-rail__item:hover { background: var(--neutral-100); }
.fm-rail__item.is-current { background: color-mix(in oklab, var(--ac) 13%, transparent); }
.fm-rail__item.is-current .fm-rail__lbl { font-weight: 650; color: var(--ink-900); }
.fm-rail__item.is-seen .fm-rail__lbl { color: var(--slate-500); }
.fm-rail__st { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--neutral-200); display: grid; place-items: center; color: #fff; }
.fm-rail__st--promote { background: var(--success); border-color: var(--success); }
.fm-rail__st--pass { background: var(--slate-300); border-color: var(--slate-300); }
.fm-rail__st--defer { background: var(--warning); border-color: var(--warning); }
.fm-rail__st--seen { background: var(--neutral-200); border-color: var(--neutral-200); color: var(--slate-500); }
/* recency sub-labels inside strategy groups */
.fm-rail__recency { display: flex; align-items: center; gap: 6px; padding: 5px 8px 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.fm-rail__recency--last7 { color: var(--success); }
.fm-rail__recency--burner { color: var(--slate-400); }
.fm-rail__recency .fm-rail__n { margin-left: auto; color: inherit; opacity: 0.7; }
.fm-rail__lbl { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-rail__sub { flex: 0 0 auto; font-size: 10.5px; color: var(--slate-400); font-feature-settings: "tnum" 1; }

/* ---- main column ---- */
.fm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.fm-top { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter); border-bottom: 1px solid var(--hairline); background: var(--glass-fill, color-mix(in oklab, var(--surface) 82%, transparent)); -webkit-backdrop-filter: blur(var(--glass-blur, 16px)); backdrop-filter: blur(var(--glass-blur, 16px)); }
.fm-top__t { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; color: var(--ink-900); white-space: nowrap; }
.fm-top__t svg { color: var(--ac-700); }
.fm-prog { flex: 1; height: 3px; border-radius: 2px; background: var(--neutral-200); overflow: hidden; }
.fm-prog i { display: block; height: 100%; background: var(--ac); border-radius: 2px; transition: width 320ms var(--ease-out); }
.fm-top__n { font-size: 11.5px; font-weight: 600; color: var(--slate-400); font-feature-settings: "tnum" 1; white-space: nowrap; }
.fm-stage { flex: 1; min-height: 0; overflow-y: auto; display: flex; justify-content: center; padding: 16px var(--gutter); }
.fm-foot { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); border-top: 1px solid var(--hairline); background: var(--glass-fill, color-mix(in oklab, var(--surface) 82%, transparent)); -webkit-backdrop-filter: blur(var(--glass-blur, 16px)); backdrop-filter: blur(var(--glass-blur, 16px)); }
.fm-foot__hint { flex: 1; text-align: center; font-size: 11.5px; color: var(--slate-400); }

/* ---- slide card (glass) ---- */
.fm-slide { width: 100%; max-width: 1180px; align-self: flex-start; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 22px 28px 18px; animation: fm-in 240ms var(--ease-out);
  background: var(--glass-fill, color-mix(in oklab, var(--surface) 84%, transparent));
  -webkit-backdrop-filter: blur(var(--glass-blur, 18px)); backdrop-filter: blur(var(--glass-blur, 18px));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.theme-dark .fm-slide { box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
@keyframes fm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fm-slide { animation: none; } }

.fm-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600, #A07F3C); }
.fm-h1 { margin: 10px 0 0; font-size: 28px; font-weight: 750; letter-spacing: -0.02em; color: var(--ink-900); }
.fm-h2 { margin: 8px 0 0; font-size: 26px; font-weight: 750; letter-spacing: -0.015em; color: var(--ink-900); }
.fm-lede { margin: 10px 0 0; max-width: 70ch; font-size: 14px; line-height: 1.6; color: var(--slate-600); text-wrap: pretty; }

/* hairline-divided stat strip (shared cell language) — wraps on narrow viewports */
.fm-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); row-gap: 2px; margin-top: 14px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; }
.fm-cell { padding: 11px 14px 10px; border-left: 1px solid var(--hairline); margin-left: -1px; min-width: 0; }
.fm-cell:first-child { padding-left: 2px; }
.fm-cell__l { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-cell__v { margin-top: 3px; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); font-feature-settings: "tnum" 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-cell__s { margin-top: 1px; font-size: 12px; color: var(--slate-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* briefing / wrap */
.fm-brief__act { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.fm-kbd { margin-left: 6px; font-size: 11.5px; color: var(--slate-400); }
.fm-kbd b { display: inline-block; padding: 1px 6px; border: 1px solid var(--neutral-200); border-bottom-width: 2px; border-radius: 5px; font-size: 10.5px; color: var(--slate-500); background: var(--neutral-50); }

/* deal header */
.fm-deal__top { display: flex; align-items: center; gap: 8px; }
.fm-deal__pos { margin-left: auto; font-size: 11px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-400); font-feature-settings: "tnum" 1; }
.fm-deal__meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--slate-500); }
.fm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid var(--hairline); background: color-mix(in oklab, var(--neutral-50) 80%, var(--surface)); font-size: 11px; font-weight: 600; color: var(--slate-600); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.theme-dark .fm-chip { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.fm-chip--last7 { background: color-mix(in oklab, var(--success) 12%, transparent); border-color: color-mix(in oklab, var(--success) 30%, transparent); color: var(--success); }
.fm-chip--burner { background: color-mix(in oklab, var(--slate-400) 14%, transparent); border-color: color-mix(in oklab, var(--slate-400) 32%, transparent); color: var(--slate-500); }
.fm-chip--carry { background: color-mix(in oklab, var(--warning) 12%, transparent); border-color: color-mix(in oklab, var(--warning) 30%, transparent); color: #8B5A1E; }
.fm-chip--stage .d { width: 6px; height: 6px; border-radius: 50%; }

/* tabs inside the deal card */
.fm-tabs { margin-top: 16px; align-self: flex-start; }
.fm-tabbody { margin-top: 14px; min-height: 300px; }
.fm-fitgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1280px) { .fm-fitgrid { grid-template-columns: 1fr; } }
.fm-panel--tab { margin-top: 0; padding-bottom: 12px; }
.fm-dims--big { margin-top: 14px; gap: 14px; }
.fm-dims--big .fm-dim { flex-wrap: wrap; }
.fm-dims--big .fm-dim__l { flex: 0 0 130px; font-size: 13.5px; }
.fm-dims--big .fm-dim__bar { height: 7px; }
.fm-dims--big .fm-dim__v { flex: 0 0 32px; font-size: 14px; }
.fm-dims--big .fm-dim__note { flex: 0 0 100%; padding-left: 140px; font-size: 12px; color: var(--slate-400); margin-top: 1px; }
.fm-market__cells--big { margin-top: 14px; }
.fm-market__cells--big .fm-mcell__l { font-size: 12.5px; }
.fm-market__cells--big .fm-mcell__v { font-size: 22px; }
.fm-market__cells--big + .fm-market__comp { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; }
.fm-panel--tab .fm-fact { padding: 8px 0; }
.fm-panel--tab .fm-fact__l { font-size: 12.5px; }
.fm-panel--tab .fm-fact__v { font-size: 14px; }
.fm-panel--tab .fm-verify__row { padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--hairline); }
.fm-panel--tab .fm-verify__row:last-child { border-bottom: 0; }
.fm-panel--tab .fm-verify__n { width: 20px; height: 20px; flex-basis: 20px; font-size: 10.5px; }

/* body: Domino read + facts */
.fm-deal__body { display: grid; grid-template-columns: 1.8fr 1fr; gap: 20px; margin-top: 14px; }
.fm-oprec { margin-top: 0; }
.fm-oprec .op-rec__d { font-size: 15px; line-height: 1.65; }
.fm-oprec .pl-ov__hl-h { font-size: 10.5px; }
.fm-oprec .pl-ov__hl-list li { font-size: 14px; }
.fm-oprec .pl-ov__hl-list .pl-ov__hl-note { font-size: 13px; }
.fm-oprec__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
@media (max-width: 1280px) { .fm-oprec__cols { grid-template-columns: 1fr; } }
.fm-read__h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink-900); }
.fm-read__ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--ac) 14%, transparent); color: var(--ac-700); }
.fm-rec { margin-left: auto; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.fm-rec--pursue { background: color-mix(in oklab, var(--success) 14%, transparent); color: var(--success); }
.fm-rec--discuss { background: color-mix(in oklab, var(--warning) 16%, transparent); color: #8B5A1E; }
.fm-rec--pass { background: color-mix(in oklab, var(--danger) 12%, transparent); color: var(--danger); }
.fm-read__t { margin: 10px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--slate-600); text-wrap: pretty; }
.fm-dims { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.fm-dim { display: flex; align-items: center; gap: 10px; }
.fm-dim__l { flex: 0 0 92px; font-size: 11px; font-weight: 600; color: var(--slate-500); }
.fm-dim__bar { flex: 1; height: 4px; border-radius: 3px; background: var(--neutral-200); overflow: hidden; }
.fm-dim__bar i { display: block; height: 100%; border-radius: 3px; }
.fm-dim__v { flex: 0 0 26px; text-align: right; font-size: 11.5px; font-weight: 700; color: var(--ink-800); font-feature-settings: "tnum" 1; }

/* market snapshot */
.fm-market { margin-top: 16px; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 12px 14px; background: color-mix(in oklab, var(--neutral-50) 70%, var(--surface)); }
.fm-market--mini { margin-top: 14px; border: 0; border-radius: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.fm-market--mini .fm-market__cells { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.fm-market--mini .fm-mcell__v { font-size: 14px; }
.fm-market--mini .fm-market__comp { margin-top: 7px; padding-top: 7px; font-size: 11px; }
.fm-market__h { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); }
.fm-market__cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 9px; }
.fm-mcell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fm-mcell__l { font-size: 10.5px; color: var(--slate-400); white-space: nowrap; }
.fm-mcell__v { font-size: 16px; font-weight: 700; color: var(--ink-900); font-feature-settings: "tnum" 1; }
.fm-market__comp { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--hairline); font-size: 11.5px; color: var(--slate-500); }

/* verify-before-BOE checklist */
.fm-verify { margin-top: 14px; }
.fm-verify__row { display: flex; align-items: flex-start; gap: 9px; padding: 4px 0; font-size: 12px; line-height: 1.45; color: var(--slate-600); }
.fm-verify__n { flex: 0 0 17px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: var(--slate-500); border: 1px solid var(--neutral-200); margin-top: 1px; font-feature-settings: "tnum" 1; }

/* meeting notes (opaque tints — blur reserved for large surfaces) */
.fm-notes { margin-top: 18px; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 12px 14px; background: color-mix(in oklab, var(--neutral-50) 70%, var(--surface)); }
.fm-notes--inline { flex: 1; min-width: 0; margin: 0; border: 0; border-radius: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.fm-notes--inline .fm-notes__row { margin-top: 0; }
.fm-notes--inline .fm-note { padding: 4px 0 6px; border-bottom: 0; }
.fm-notes__h { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px; }
.fm-note { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--hairline); }
.fm-note__t { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink-800); }
.fm-note__w { flex: 0 0 auto; font-size: 10.5px; color: var(--slate-400); white-space: nowrap; }
.fm-notes__row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.fm-notes__in { flex: 1; min-width: 0; border: 1px solid var(--hairline); border-radius: var(--r-control); background: var(--surface); color: var(--ink-900); font-family: var(--font-sans); font-size: 13.5px; padding: 9px 12px; }
.fm-notes__in::placeholder { color: var(--slate-300); }
.fm-notes__in:focus { outline: none; border-color: var(--slate-300); }

/* next milestone (updates) */
.fm-next { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 0 2px; }
.fm-next__l { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); white-space: nowrap; }
.fm-next__v { font-size: 12.5px; font-weight: 650; color: var(--ink-900); }

/* ---- last-meeting recap ---- */
.fm-recap__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 1280px) { .fm-recap__cols { grid-template-columns: 1fr; } }
.fm-panel { margin-top: 16px; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 14px 16px 8px; background: color-mix(in oklab, var(--neutral-50) 65%, var(--surface)); }
.fm-recap__cols .fm-panel { margin-top: 0; }
.fm-panel__h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-900); padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.fm-panel__h svg { color: var(--slate-400); }
.fm-panel__n { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--neutral-100); color: var(--slate-600); font-size: 10.5px; font-weight: 700; font-feature-settings: "tnum" 1; }
.fm-panel__hint { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--slate-400); }
/* carried-over decisions mini-table */
.fm-carrytbl { display: flex; flex-direction: column; }
.fm-carrytbl__row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 108px 84px 92px 132px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.fm-carrytbl__row:last-child { border-bottom: 0; }
.fm-carrytbl__row--head { padding: 8px 0 6px; border-bottom: 1px solid var(--hairline); }
.fm-carrytbl__row--head span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); }
.fm-carrytbl__row .num { text-align: right; font-feature-settings: "tnum" 1; }
.fm-carrytbl__idx { font-size: 11px; font-weight: 700; color: var(--slate-300); font-feature-settings: "tnum" 1; }
.fm-carrytbl__name { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.fm-carrytbl__name b { font-size: 13px; font-weight: 650; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-carrytbl__name em { font-style: normal; font-size: 11px; color: var(--slate-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-carrytbl__m { font-size: 12.5px; font-weight: 600; color: var(--ink-800); white-space: nowrap; }
.fm-carrytbl__act { display: flex; justify-content: flex-end; }
.fm-carry__done { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.fm-carry__done--promote { background: color-mix(in oklab, var(--success) 13%, transparent); color: var(--success); }
.fm-carry__done--pass { background: var(--neutral-100); color: var(--slate-500); }
.fm-carry__done--defer { background: color-mix(in oklab, var(--warning) 15%, transparent); color: #8B5A1E; }
/* question + note rows inside panels */
.fm-q { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.fm-q:last-child { border-bottom: 0; }
.fm-q__st { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.fm-q__st--answered { background: color-mix(in oklab, var(--success) 13%, transparent); color: var(--success); }
.fm-q__st--open { background: color-mix(in oklab, var(--warning) 16%, transparent); color: #8B5A1E; }
.fm-q__body { flex: 1; min-width: 0; }
.fm-q__t { font-size: 13px; font-weight: 600; color: var(--ink-900); line-height: 1.45; }
.fm-q__deal { font-weight: 500; color: var(--slate-400); }
.fm-q__a { font-size: 12px; color: var(--slate-500); margin-top: 2px; line-height: 1.45; }
.fm-q__meta { font-size: 11px; color: var(--slate-400); margin-top: 4px; }
.fm-q__chip { flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); margin-top: 1px; }
.fm-q__chip--answered { background: color-mix(in oklab, var(--success) 13%, transparent); color: var(--success); }
.fm-q__chip--open { background: color-mix(in oklab, var(--warning) 16%, transparent); color: #8B5A1E; }

/* danger-soft button — used for Pass in the meeting runner; red tint in clear glass */
.btn--danger-soft {
  background: color-mix(in oklab, var(--danger) 14%, var(--surface));
  color: var(--danger);
  border-color: color-mix(in oklab, var(--danger) 26%, transparent);
  box-shadow: none;
}
.btn--danger-soft:hover {
  background: color-mix(in oklab, var(--danger) 22%, transparent);
}
.btn--danger-soft:active { transform: scale(var(--press-scale)); }

.fm-facts { border-left: 1px solid var(--hairline); padding-left: 24px; }
.fm-facts__h { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 8px; }
.fm-fact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--hairline); }
.fm-fact:last-of-type { border-bottom: 0; }
.fm-fact__l { font-size: 11.5px; color: var(--slate-400); }
.fm-fact__v { font-size: 12.5px; font-weight: 600; color: var(--ink-800); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-fact__who { display: inline-flex; align-items: center; gap: 7px; }
.fm-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.fm-openlink { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 0; border: 0; background: none; font-family: var(--font-sans); font-size: 12px; font-weight: 650; color: var(--ac-700); cursor: pointer; }
.fm-openlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.fm-openlink--top { margin-top: 0; margin-left: 14px; flex: 0 0 auto; }

/* decision bar */
.fm-actionbar { display: flex; align-items: flex-end; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.fm-actionbar .fm-decide--bar { margin: 0; padding: 0; border: 0; flex: 0 0 auto; align-items: center; }
.fm-decide { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.fm-btn-pass { color: var(--danger); }
.fm-decided { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; padding: 8px 14px; border-radius: var(--r-control); }
.fm-decided--promote { background: color-mix(in oklab, var(--success) 12%, transparent); color: var(--success); }
.fm-decided--pass { background: var(--neutral-100); color: var(--slate-500); }
.fm-decided--defer { background: color-mix(in oklab, var(--warning) 14%, transparent); color: #8B5A1E; }
.fm-undo { margin-left: 6px; border: 0; background: none; padding: 0; font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; color: var(--slate-400); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.fm-undo:hover { color: var(--ink-800); }

/* updates */
.fm-upd { margin-top: 14px; }
.fm-upd__h { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px; }
.fm-upd__item { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.fm-upd__ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.fm-upd__ic--good { background: color-mix(in oklab, var(--success) 12%, transparent); color: var(--success); }
.fm-upd__ic--warn { background: color-mix(in oklab, var(--warning) 16%, transparent); color: #8B5A1E; }
.fm-upd__ic--neutral { background: var(--neutral-100); color: var(--slate-500); }
.fm-upd__body { flex: 1; min-width: 0; }
.fm-upd__t { font-size: 15px; font-weight: 650; color: var(--ink-900); }
.fm-upd__s { font-size: 13px; color: var(--slate-500); margin-top: 2px; }
.fm-upd__when { flex: 0 0 auto; font-size: 12px; color: var(--slate-400); font-feature-settings: "tnum" 1; margin-top: 2px; }

/* wrap-up list */
.fm-wraplist { margin-top: 18px; max-height: 240px; overflow-y: auto; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 6px 14px; }
.fm-wraprow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.fm-wraprow:last-child { border-bottom: 0; }
.fm-wrapdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.fm-wraprow__n { font-size: 13px; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-wraprow__d { margin-left: auto; font-size: 11.5px; color: var(--slate-400); white-space: nowrap; }
.fm-wrapnote { margin: 14px 0 0; font-size: 12px; color: var(--slate-400); }

@media (max-width: 1100px) {
  .fm-rail { display: none; }
  .fm-deal__body { grid-template-columns: 1fr; }
  .fm-facts { border-left: 0; padding-left: 0; }
}

/* ---- honest-gap states (NOT in the design source) ----
   The prototype mock-synthesizes the last-meeting recap, weekly in-flight
   updates, and the Domino instant-brief. The backend has no endpoint for any
   of these yet (see the component's BACKEND GAP comment), so instead of
   fabricating, we render a quiet, labelled empty state in the same panel. */
.fm-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 30px 18px; color: var(--slate-400);
}
.fm-empty__ic {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--neutral-100); color: var(--slate-400);
}
.fm-empty__t { font-size: 13px; font-weight: 650; color: var(--ink-800); }
.fm-empty__s { font-size: 12px; line-height: 1.5; max-width: 46ch; color: var(--slate-400); }
/* same, but inline inside a tab body / panel (no big top padding) */
.fm-empty--tab { padding: 22px 14px; }
/* disabled notes affordance — honest "not persisted yet" treatment */
.fm-notes__in:disabled { background: var(--neutral-50); color: var(--slate-300); cursor: not-allowed; }
.fm-notes__hint { margin-top: 6px; font-size: 11px; color: var(--slate-400); }
