/* Batch B sections of a report (design/report-b.js): company card, public milestones, founder cards. */

/* company card, under the one-liner at the top */
.cc { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 22px; padding: 10px; max-width: 560px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow 160ms ease; }
.cc:not(:has(.cc-shot)) { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
a.cc:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cc-shot { display: block; aspect-ratio: 1.91 / 1; border-radius: 9px; overflow: clip; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.cc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* a slide is shown whole: no cropping of the title */
.cc-shot.deck { aspect-ratio: 16 / 9; background: #fff; }
.cc-shot.deck img { object-fit: contain; object-position: center; }
.cc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-name { display: flex; align-items: center; gap: 8px; font: 700 1.0625rem/1.25 var(--display); }
.cc-icon { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.cc-host { font-size: 0.875rem; color: var(--muted); }
.cc-sum { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* public milestones */
[data-ui].frag .tl-list { list-style: none; margin: 0; padding: 0; }
[data-ui].frag .tl-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0ede6; }
[data-ui].frag .tl-list li:last-child { border-bottom: 0; }
[data-ui].frag .tl-d { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; padding-top: 1px; white-space: nowrap; }
[data-ui].frag .tl-t a { font-weight: 600; color: var(--ink); }
[data-ui].frag .tl-t small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
[data-ui].frag.tl p.tl-note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* founder cards */
[data-ui].frag .fc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 12px 14px; }
[data-ui].frag .fc { padding: 12px; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px #f0ede6; min-width: 0; }
[data-ui].frag .fc-top { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
[data-ui].frag .fc-photo, [data-ui].frag .fc-ini { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft); }
[data-ui].frag .fc-ini { display: grid; place-items: center; font: 700 1.125rem/1 var(--display); color: var(--muted); }
[data-ui].frag .fc p { margin: 0; font-size: 14px; line-height: 1.45; }
[data-ui].frag .fc .fc-name { font: 700 1rem/1.25 var(--display); }
[data-ui].frag .fc .fc-role { color: var(--muted); font-size: 13px; }
[data-ui].frag .fc .fc-links { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: 13px; }
[data-ui].frag .fc .fc-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); }
[data-ui].frag .fc .fc-links a:hover { text-decoration-color: currentColor; }
[data-ui].frag .fc .fc-sum { margin-top: 10px; }
[data-ui].frag .fc-facts { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.45; }
[data-ui].frag .fc-facts li + li { margin-top: 4px; }
[data-ui].frag .fc-facts small { color: var(--muted); font-size: 12px; }
[data-ui].frag .fc-facts small a { color: var(--muted); }
[data-ui].frag .fc .fc-none { margin-top: 10px; color: var(--muted); font-size: 13px; }

@media (max-width: 560px) {
  .cc:has(.cc-shot) { grid-template-columns: minmax(0, 1fr); }
  .cc-shot { max-height: 200px; }
  [data-ui].frag .tl-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  [data-ui].frag .fc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media print { .cc { break-inside: avoid; } [data-ui].frag .fc { break-inside: avoid; } }
