/* =====================================================================
   DOMINO — Meetings workspace
   Two-pane: meeting list + meeting workspace (prep, threads, people,
   deals, follow-ups). Loads after domino.css / today.css.
   ===================================================================== */

.mtg { height: 100%; display: flex; flex-direction: column; background: var(--canvas); min-height: 0; }

.mtg__bar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px;
  padding: 12px var(--gutter); border-bottom: 1px solid var(--hairline); background: var(--surface);
}
.mtg__bar .seg { background: var(--neutral-100); }

.mtg__panes { flex: 1; display: flex; min-height: 0; }

/* list */
.mtg__list {
  width: 366px; flex: 0 0 366px; border-right: 1px solid var(--hairline);
  overflow-y: auto; background: var(--surface);
  scrollbar-width: thin; scrollbar-color: var(--slate-200) transparent;
}
.mtg__list::-webkit-scrollbar { width: 8px; }
.mtg__list::-webkit-scrollbar-thumb { background: var(--slate-200); border-radius: 4px; }
.mtg-day {
  padding: 13px 18px 9px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-400);
  position: sticky; top: 0; background: var(--surface); z-index: 1;
  border-bottom: 1px solid var(--hairline-soft);
}
.mtg-item {
  display: grid; grid-template-columns: 50px 1fr; gap: 13px;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline-soft);
  cursor: pointer; border-left: 3px solid transparent;
  transition: background var(--duration-fast) var(--ease-out);
}
.mtg-item:hover { background: var(--neutral-50); }
.mtg-item.is-active { background: color-mix(in oklab, var(--ac) 7%, var(--surface)); border-left-color: var(--ac); }
.mtg-item__time { text-align: right; padding-top: 1px; }
.mtg-item__hr { font-size: 13.5px; font-weight: 700; color: var(--ink-800); letter-spacing: -0.02em; font-feature-settings: "tnum" 1; }
.mtg-item__dur { font-size: 10.5px; color: var(--slate-400); margin-top: 2px; }
.mtg-item__t { font-size: 13.5px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.01em; line-height: 1.3; }
.mtg-item__who { font-size: 12px; color: var(--slate-400); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.mtg-item__who svg { width: 12px; height: 12px; }
.mtg-item__tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mtg-now { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--ac); border-radius: var(--radius-pill); padding: 2px 8px; }

/* detail pane */
.mtg__detail { flex: 1; min-width: 0; overflow-y: auto; background: var(--canvas);
  scrollbar-width: thin; scrollbar-color: var(--slate-200) transparent; }
.mtg__detail::-webkit-scrollbar { width: 10px; }
.mtg__detail::-webkit-scrollbar-thumb { background: var(--slate-200); border-radius: 5px; border: 3px solid var(--canvas); }

.mtg-hd { padding: 24px 30px 22px; border-bottom: 1px solid var(--hairline); background: var(--surface); }
.mtg-hd__when { font-size: 12.5px; color: var(--slate-500); display: flex; align-items: center; gap: 8px; }
.mtg-hd__when svg { width: 14px; height: 14px; color: var(--slate-400); }
.mtg-hd__t { font-size: 23px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink-900); margin: 9px 0 0; line-height: 1.15; }
.mtg-hd__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.mtg-people-row { display: flex; align-items: center; }
.mtg-ava { width: 32px; height: 32px; border-radius: 9px; background: var(--neutral-100); border: 2px solid var(--surface); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--slate-600); margin-left: -7px; box-shadow: var(--shadow-xs); }
.mtg-ava:first-child { margin-left: 0; }
.mtg-people-row__more { font-size: 12px; color: var(--slate-500); margin-left: 10px; font-weight: 500; }
.mtg-hd__actions { display: flex; gap: 9px; }

.mtg-body { padding: 24px 30px 40px; display: flex; flex-direction: column; gap: 20px; max-width: 880px; }

/* prep brief (agent) — reuse .brief look */
.mtg-brief { border-radius: var(--r-card); border: 1px solid var(--ac-line); background: linear-gradient(90deg, color-mix(in oklab, var(--ac) 8%, var(--surface)), var(--surface) 72%); padding: 20px 22px; box-shadow: var(--shadow-xs); }
.mtg-brief__h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mtg-brief__ic { width: 34px; height: 34px; border-radius: 9px; background: var(--ac-soft); color: var(--ac-700); display: grid; place-items: center; flex: 0 0 auto; }
.mtg-brief__ic svg { width: 17px; height: 17px; }
.mtg-brief__eyebrow { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac-700); font-weight: 700; }
.mtg-brief__by { font-size: 11.5px; color: var(--slate-400); margin-top: 2px; }
.mtg-brief__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mtg-brief__list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13.5px; color: var(--ink-800); line-height: 1.5; }
.mtg-brief__list li svg { width: 15px; height: 15px; color: var(--ac-700); margin-top: 2px; }
.mtg-brief__list li b { font-weight: 600; color: var(--ink-900); }
.mtg-talk { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--ac-line); }
.mtg-talk__h { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500); font-weight: 700; margin-bottom: 9px; }
.mtg-talk__list { display: flex; flex-direction: column; gap: 7px; }
.mtg-talk__q { font-size: 13px; color: var(--ink-800); display: grid; grid-template-columns: 16px 1fr; gap: 9px; line-height: 1.45; }
.mtg-talk__q svg { width: 14px; height: 14px; color: var(--slate-400); margin-top: 2px; }

/* related conversations */
.mtg-conv { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--hairline-soft); align-items: center; }
.mtg-conv:first-child { border-top: 0; }
.mtg-conv__avwrap { position: relative; width: 36px; height: 36px; }
.mtg-conv__av { width: 36px; height: 36px; border-radius: 9px; background: var(--neutral-100); border: 1px solid var(--hairline); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--slate-600); }
.mtg-conv__badge { position: absolute; bottom: -3px; right: -4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface); display: grid; place-items: center; color: #fff; }
.mtg-conv__badge svg { width: 9px; height: 9px; }
.mtg-conv__from { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.mtg-conv__prev { font-size: 12px; color: var(--slate-400); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
.mtg-conv__time { font-size: 11px; color: var(--slate-400); }

/* people grid */
.mtg-people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mtg-person { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--r-control); background: var(--surface); }
.mtg-person__av { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: var(--ink-800); color: var(--ivory); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.mtg-person__n { font-size: 13.5px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.01em; }
.mtg-person__r { font-size: 11.5px; color: var(--slate-400); margin-top: 1px; }

/* deals row */
.mtg-deals { display: flex; flex-wrap: wrap; gap: 9px; }
.mtg-deal { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--hairline); border-radius: var(--r-control); background: var(--surface); cursor: pointer; transition: all var(--duration-fast) var(--ease-out); }
.mtg-deal:hover { border-color: var(--slate-300); box-shadow: var(--shadow-xs); }
.mtg-deal__ic { width: 28px; height: 28px; border-radius: 7px; background: var(--neutral-100); border: 1px solid var(--hairline); color: var(--ink-700); display: grid; place-items: center; }
.mtg-deal__ic svg { width: 15px; height: 15px; }
.mtg-deal__n { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.mtg-deal__m { font-size: 11px; color: var(--slate-400); margin-top: 1px; }

/* follow-ups */
.mtg-fu { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline-soft); }
.mtg-fu:first-child { border-top: 0; }
.mtg-fu__check { width: 19px; height: 19px; flex: 0 0 auto; border-radius: 6px; border: 1.6px solid var(--slate-300); display: grid; place-items: center; cursor: pointer; transition: all var(--duration-fast) var(--ease-out); }
.mtg-fu.is-done .mtg-fu__check { background: var(--slate-600); border-color: var(--slate-600); }
.mtg-fu__check svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.mtg-fu.is-done .mtg-fu__check svg { opacity: 1; }
.mtg-fu__t { flex: 1; font-size: 13.5px; color: var(--ink-800); font-weight: 500; }
.mtg-fu.is-done .mtg-fu__t { text-decoration: line-through; color: var(--slate-400); }
.mtg-fu__tag { font-size: 11px; color: var(--slate-400); }

@media (max-width: 1080px) {
  .mtg-people { grid-template-columns: 1fr; }
}
