/* ═══════════════════════════════════════════════════════════════════════════════════════════
   Incubate360 · v3.7.15 · public/css/v10.css

   The stylesheet for the third client testing pass: the mentor's money reaching the people who
   pay it, the row controls on the panel screens, and THE DEAL CONVERSATION, which is the one
   page a founder, an investor and the centre all read.

   EVERY class in this file starts with `v10-`. That is not house style, it is the fix for
   §1.13: `.lg` in v3-login.css collided with `.modal.lg` and `.mtr.lg` and broke every wide
   form in the product, and `scripts/css-clash.mjs` exists to stop it happening again. A short
   generic class name is a name somebody else has already taken.

   Colours come from the tokens in v2.css so dark mode follows for free. There is not one
   hard-coded #fff in here: a white on a surface whose text is var(--ink) is a dark-mode bug
   (gotcha 39).
   ═══════════════════════════════════════════════════════════════════════════════════════════ */

/* ── where the honorarium goes (F-239) ────────────────────────────────────────────────────── */
.v10-payline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v10-payline .small { color: var(--muted); }
.v10-acct {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em; font-weight: 600;
}

/* ── the row controls on a panel list (F-242) ─────────────────────────────────────────────
   The same trio the Startups list has had since v3: view, edit, delete. Built here rather
   than copied into two files so the two lists cannot drift apart. */
.v10-rowacts { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.v10-ia {
  width: 30px; height: 30px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
}
.v10-ia:hover { background: var(--wash); color: var(--violet); border-color: var(--violet); }
.v10-ia.danger:hover { color: var(--red, #DC2626); border-color: var(--red, #DC2626); }
.v10-ia svg { width: 15px; height: 15px; }

/* ── THE DEAL CONVERSATION (F-249) ────────────────────────────────────────────────────────
   One page, three logins, identical layout. The founder, the investor and the centre are
   looking at the same events in the same order, because a conversation that reads differently
   depending on who opened it is two conversations. */
.v10-jhead {
  display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); margin-bottom: 14px;
}
.v10-jhead-main { flex: 1 1 260px; min-width: 0; }
.v10-jhead h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.v10-jhead .v10-jsub { color: var(--muted); font-size: 13px; }
.v10-jfig { display: flex; gap: 22px; flex-wrap: wrap; }
.v10-jfig > div { min-width: 96px; }
.v10-jfig b { display: block; font-size: 18px; font-weight: 700; color: var(--ink); }
.v10-jfig span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* the timeline itself */
.v10-tl { position: relative; padding-left: 30px; }
.v10-tl::before {
  content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line); border-radius: 2px;
}
.v10-ev { position: relative; padding: 0 0 18px 0; }
.v10-ev:last-child { padding-bottom: 2px; }
.v10-ev-dot {
  position: absolute; left: -30px; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 2px solid var(--line); color: var(--muted);
}
.v10-ev-dot svg { width: 12px; height: 12px; }
.v10-ev.is-interest .v10-ev-dot { border-color: var(--violet); color: var(--violet); }
.v10-ev.is-meeting  .v10-ev-dot { border-color: var(--blue); color: var(--blue); }
.v10-ev.is-report   .v10-ev-dot { border-color: var(--cyan); color: var(--cyan); }
.v10-ev.is-task     .v10-ev-dot { border-color: var(--amber, #E08A00); color: var(--amber, #E08A00); }
.v10-ev.is-closed   .v10-ev-dot { border-color: var(--cyan); color: var(--cyan); }
.v10-ev.is-passed   .v10-ev-dot { border-color: var(--muted); color: var(--muted); }
.v10-ev-when { font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.v10-ev-t { font-weight: 650; color: var(--ink); font-size: 14px; }
.v10-ev-who { font-size: 12px; color: var(--muted); margin-left: 6px; font-weight: 400; }
.v10-ev-b {
  margin-top: 7px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--wash); font-size: 13.5px; color: var(--ink);
}
.v10-ev-b p { margin: 0 0 7px; }
.v10-ev-b p:last-child { margin-bottom: 0; }
.v10-kv { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.v10-kv > div { font-size: 12.5px; }
.v10-kv b { display: block; color: var(--ink); font-weight: 650; }
.v10-kv span { color: var(--muted); font-size: 11.5px; }

/* the action rail under the journey */
.v10-acts { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 4px; }

/* an asked-for document, and the founder's answer to it */
.v10-ask {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--card); margin-bottom: 9px;
}
.v10-ask-main { flex: 1 1 200px; min-width: 0; }
.v10-ask-main b { display: block; color: var(--ink); font-size: 13.5px; }
.v10-ask-main span { color: var(--muted); font-size: 12px; }
.v10-ask.is-done { border-color: var(--cyan); }

/* the raise, as an investor sees it on a startup card */
.v10-raise {
  margin-top: 9px; padding: 10px 12px; border-radius: 11px;
  border: 1px solid var(--violet); background: var(--wash);
}
.v10-raise-h { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.v10-raise-h b { color: var(--ink); font-size: 14px; font-weight: 700; }
.v10-raise-l { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.v10-raise-l b { color: var(--ink); font-weight: 650; }

/* a KPI tile that is a door (F-253). It must LOOK pressable or nobody presses it. */
.v10-tile-live { cursor: pointer; }
.v10-tile-live:hover { border-color: var(--violet); }
.v10-tile-on { border-color: var(--violet) !important; box-shadow: 0 0 0 2px var(--wash); }

/* ── the sign-in brand panel (F-257) ───────────────────────────────────────────────────────
   Deliberately NOT in v3-login.css: that file owns the existing panel and this is a redesign
   layered on top of it, so the two are told apart at a glance and the old one can be read
   without the new one confusing it. */
.v10-lgf { display: flex; flex-direction: column; gap: 13px; margin-top: 26px; }
.v10-lgrow { display: flex; gap: 13px; align-items: flex-start; }
.v10-lgi {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.v10-lgi::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .16); pointer-events: none;
}
.v10-lgi svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.v10-lgi.v { background: linear-gradient(145deg, #7C4DFF 0%, #5B21E8 55%, #4413C4 100%); color: #fff; }
.v10-lgi.b { background: linear-gradient(145deg, #3E9BFF 0%, #1878F0 55%, #0B57C4 100%); color: #fff; }
.v10-lgi.t { background: linear-gradient(145deg, #23D9C8 0%, #00BFB3 55%, #009C93 100%); color: #fff; }
.v10-lgtx { min-width: 0; padding-top: 1px; }
.v10-lgtx b {
  display: block; color: #F2F6FF; font-size: 14.5px; font-weight: 650;
  letter-spacing: -.01em; line-height: 1.3;
}
.v10-lgtx span {
  display: block; color: rgba(196, 213, 245, .82); font-size: 12.5px;
  line-height: 1.45; margin-top: 2px;
}

@media (max-width: 900px) {
  .v10-lgf { gap: 11px; margin-top: 18px; }
  .v10-lgi { width: 34px; height: 34px; border-radius: 10px; }
  .v10-lgi svg { width: 18px; height: 18px; }
}

/* the "Pay into" column on the honorarium queue (F-239) */
.v10-nopay { display: inline-flex; }

/* ── the chat that looks after itself (F-244) ─────────────────────────────────────────────
   The "there is something new below" line. Deliberately quiet: it only appears when the
   person has scrolled up to read, because interrupting somebody mid-sentence to tell them
   about a message they can already scroll to is worse than saying nothing. */
.cmw-new {
  display: block; width: 100%; border: 0; border-top: 1px solid var(--line);
  background: var(--wash); color: var(--violet); font: inherit; font-size: 12.5px;
  font-weight: 600; padding: 7px 14px; cursor: pointer; text-align: center;
}
.cmw-new:hover { background: var(--violet-soft, var(--wash)); }

/* ── the forms inside the conversation (F-246 to F-249) ─────────────────────────────────── */
.v10-form { display: flex; flex-direction: column; gap: 13px; }
.v10-form .v10-lede { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.v10-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.v10-f > label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.v10-fh { font-size: 12px; color: var(--muted); }
.v10-r3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.v10-chk { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink); cursor: pointer; }

/* the four outcome buttons the client listed by name */
.v10-ocs { display: flex; gap: 8px; flex-wrap: wrap; }
.v10-oc {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 10px; padding: 8px 13px; font: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.v10-oc:hover { border-color: var(--violet); }
.v10-oc.on { background: var(--violet); border-color: var(--violet); color: #fff; }

/* a muted event, for a meeting that was called off or a conversation that was passed */
.v10-ev.is-muted .v10-ev-t { color: var(--muted); }
