/* Incubate360 v3.2: THE MENTOR DESK AND THE INVESTOR ROOM.

   Every class in this file starts with `pt-` (portal). Same reason as `cw-` in cw.css: a
   short generic class name is a name somebody else has already taken, and `.lg` in the
   sign-in stylesheet once landed on every wide dialog in the product. `scripts/css-clash.mjs`
   keeps it honest.

   Colours come from the v2 palette variables only. Nothing here hard-codes #fff, because a
   hard-coded white is a dark-mode bug waiting to happen. Every `fr` track is `minmax(0,1fr)`,
   because a bare `1fr` lets one wide table push the whole page sideways. */

/* ─────────── what is waiting for you ─────────── */
.pt-wait { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, minmax(0, 1fr))); gap: 10px; }
.pt-wait-b {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; min-width: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  cursor: pointer; text-align: left; width: 100%;
}
.pt-wait-b:hover { border-color: var(--violet); box-shadow: 0 2px 10px rgba(91, 33, 232, .1); }
.pt-wait-n { font-size: 22px; font-weight: 750; line-height: 1; letter-spacing: -.5px; }
.pt-wait-l { font-size: 12.7px; color: var(--mut); line-height: 1.35; min-width: 0; }
.pt-clear {
  display: flex; align-items: center; gap: 13px; padding: 19px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 14px;
}
.pt-clear-t { font-weight: 700; font-size: 15px; color: var(--ink); }
.pt-clear-s { font-size: 12.8px; color: var(--mut); margin-top: 3px; line-height: 1.45; }

/* ─────────── a person, with their face ─────────── */
.pt-who { display: flex; align-items: center; gap: 13px; min-width: 0; }
.pt-face {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid var(--line); background: var(--mut-bg);
}
.pt-face-sq { border-radius: 12px; }
.pt-face-txt {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 17px;
  color: var(--card); background: var(--violet);
}
.pt-who-n { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.pt-who-s { font-size: 12.6px; color: var(--mut); margin-top: 2px; }

/* ─────────── the session and deal cards ─────────── */
.pt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(266px, minmax(0, 1fr))); gap: 12px; }
.pt-card {
  border: 1px solid var(--line); border-radius: 13px; background: var(--card);
  padding: 13px 14px; min-width: 0; display: flex; flex-direction: column; gap: 9px;
}
.pt-card-hot { box-shadow: inset 3px 0 0 var(--violet); }
.pt-card-late { box-shadow: inset 3px 0 0 var(--danger, #E5484D); }
.pt-card-t { font-weight: 700; font-size: 14.4px; color: var(--ink); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; }
.pt-card-s { font-size: 12.4px; color: var(--mut); line-height: 1.45; min-width: 0; }
.pt-card-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.pt-card-foot { display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-top: auto; padding-top: 4px; }

/* ─────────── how a startup is doing, in one strip ─────────── */
.pt-prog { display: flex; align-items: center; gap: 4px; }
.pt-prog-d { width: 15px; height: 6px; border-radius: 3px; background: var(--line); }
.pt-prog-on { background: var(--cyan); }
.pt-prog-lo { background: #E0A800; }
.pt-prog-bad { background: var(--danger, #E5484D); }
.pt-prog-l { font-size: 12.2px; font-weight: 650; color: var(--ink); margin-left: 5px; }

/* ─────────── the report: two boxes that are not the same ─────────── */
.pt-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, minmax(0, 1fr))); gap: 12px; }
.pt-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: var(--card); min-width: 0; }
.pt-box-shared { box-shadow: inset 3px 0 0 var(--cyan); }
.pt-box-private { box-shadow: inset 3px 0 0 var(--navy); background: var(--mut-bg); }
.pt-box-h { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.3px;
  color: var(--ink); margin-bottom: 4px; }
.pt-box-s { font-size: 12.1px; color: var(--mut); line-height: 1.45; margin-bottom: 9px; }

/* ─────────── action items ─────────── */
.pt-acts { display: grid; gap: 8px; }
.pt-act {
  display: grid; grid-template-columns: minmax(0, 1fr) 130px 120px 34px; gap: 8px;
  align-items: center; padding: 8px 9px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--card); min-width: 0;
}
.pt-act-done { opacity: .55; }
.pt-act-late { box-shadow: inset 3px 0 0 var(--danger, #E5484D); }
@media (max-width: 720px) { .pt-act { grid-template-columns: minmax(0, 1fr); } }

/* ─────────── a startup as an outsider sees it ─────────── */
.pt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, minmax(0, 1fr))); gap: 12px; }
.pt-tile {
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  overflow: hidden; min-width: 0; display: flex; flex-direction: column;
}
.pt-tile:hover { border-color: var(--violet); }
.pt-tile-top { display: flex; align-items: center; gap: 11px; padding: 13px 14px 0; min-width: 0; }
.pt-tile-b { padding: 10px 14px 13px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.pt-tile-tag { font-size: 11.6px; font-weight: 650; color: var(--violet);
  text-transform: uppercase; letter-spacing: .4px; }
.pt-seek { border: 1px dashed var(--cyan); border-radius: 9px; padding: 7px 9px;
  font-size: 12.2px; color: var(--ink); background: var(--mut-bg); }
.pt-match { display: inline-flex; align-items: center; gap: 5px; font-size: 11.6px;
  font-weight: 650; color: var(--cyan); }

/* ─────────── the pipeline board ─────────── */
/* A kanban scrolls sideways INSIDE ITSELF. As a wrapping grid it became a 5,427px card in the
   browser audit: six columns did not fit the width, so they wrapped into three rows and every
   row was as tall as its fullest column. A fixed column width plus `overflow-x:auto` keeps the
   card the height of one column and the page the width of the window. */
.pt-board { display: flex; gap: 11px; overflow-x: auto; padding-bottom: 6px; }
.pt-col { border: 1px solid var(--line); border-radius: 12px; background: var(--mut-bg);
  padding: 10px; width: 212px; flex: 0 0 212px; }
.pt-col-h { display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 12.6px; color: var(--ink); margin-bottom: 9px; }
.pt-col-b { display: grid; gap: 8px; max-height: 460px; overflow-y: auto; }

/* ─────────── small shared pieces ─────────── */
.pt-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, minmax(0, 1fr))); gap: 11px 18px; }
.pt-kv-k { font-size: 11.7px; color: var(--mut); margin-bottom: 2px; }
.pt-kv-v { font-size: 13.4px; color: var(--ink); font-weight: 600; word-break: break-word; }
.pt-mini { display: flex; gap: 9px; flex-wrap: wrap; }
.pt-mini-b { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px;
  background: var(--card); min-width: 96px; }
.pt-mini-l { font-size: 11.4px; color: var(--mut); }
.pt-mini-v { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.pt-banner {
  display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border-radius: 11px;
  font-size: 12.7px; line-height: 1.5; background: var(--mut-bg); color: var(--ink);
  border: 1px solid var(--line); margin-bottom: 11px;
}
.pt-banner-bad { border-color: var(--danger, #E5484D); color: var(--danger, #E5484D); }
.pt-banner-ok { border-color: var(--cyan); }
.pt-note { font-size: 12.4px; color: var(--mut); line-height: 1.5; margin: 2px 0 12px; }
.pt-lock { display: inline-flex; align-items: center; gap: 5px; font-size: 11.4px; color: var(--mut); }
.pt-slots { display: grid; gap: 8px; }
.pt-slot { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) 34px;
  gap: 8px; align-items: center; min-width: 0; }
@media (max-width: 620px) { .pt-slot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* a flex or grid item holding a select will not shrink past its longest option (gotcha 38) */
.pt-slot > * { min-width: 0; }
.pt-act > * { min-width: 0; }
.pt-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pt-empty { padding: 22px; text-align: center; color: var(--mut); font-size: 13px; }
