/* The partner's view (report-a.js): interview set, metrics table, risk severity, expansion map. */

/* interview set */
.pq-cards .pq-t, .pq-more .pq-t { font-size: 0.875rem; line-height: 1.45; color: var(--orange-text); }
.pq-cards .pq-t b, .pq-more .pq-t b { font: 600 0.875rem/1.45 var(--text); letter-spacing: 0; color: inherit; }
.pq-more { list-style: none; margin: 12px 0 0; padding: 0; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pq-more[hidden] { display: none; }
.pq-more li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; padding: 14px 18px; border-bottom: 1px solid #f0ede6; }
.pq-more li:last-child { border-bottom: 0; }
.pq-more .pq-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--soft); font: 700 13px/1 var(--text); }
.pq-more li > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pq-more b { font: 700 1rem/1.4 var(--display); letter-spacing: -0.01em; }
.pq-more span:not(.pq-n):not(.pq-t):not(.ai-links) { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.pq-more .ai-links { margin: 0; padding: 0; flex-wrap: nowrap; }
.pq-toggle { margin-top: 12px; }

/* what a partner still needs to see */
[data-ui].frag.nd .b { padding: 0 14px 4px; }
.nd-head, .nd-row { display: grid; grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.6fr) minmax(0, 1.4fr); gap: 16px; }
.nd-head { padding: 10px 0 8px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.nd-row { padding: 12px 0; border-bottom: 1px solid #f0ede6; align-items: start; }
.nd-row:last-child { border-bottom: 0; }
.nd-m { font: 700 0.9375rem/1.4 var(--display); }
.nd-e, .nd-h { font-size: 13.5px; line-height: 1.5; }
.nd-h { color: var(--muted); }
.nd-e small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.nd-s { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 6px; font: 600 12px/1.5 var(--text); font-style: normal; }
.nd-s.shown { background: var(--accent); }
.nd-s.partial { background: #ffe08f; }
.nd-s.undisclosed { background: var(--soft); color: var(--muted); }
@media (max-width: 760px) {
  .nd-head { display: none; }
  .nd-row { grid-template-columns: 1fr; gap: 6px; }
  .nd-h::before { content: attr(data-l); display: block; font: 600 12px/1.5 var(--text); color: var(--ink); }
}

/* why YC might pass: severity */
[data-ui].frag .pm-r .sev { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 6px; font: 600 12px/1.5 var(--text); font-style: normal; vertical-align: 2px; }
.sev.critical { background: #c9271a; color: #fff; }
.sev.high { background: var(--orange-soft); color: var(--orange-text); }
.sev.medium { background: var(--soft); color: var(--muted); }
.area .pm-more { margin-top: 14px; font-size: 1rem; color: var(--muted); }
.area .pm-more .link { margin-left: 4px; font-weight: 600; color: var(--ink); }

/* where this could go */
.xp-map { --gap: 16px; --stem: 26px; margin-top: 28px; }
.xp-now { position: relative; max-width: 460px; margin: 0 auto; padding: 16px 20px; border-radius: var(--r); background: var(--ink); color: #fff; text-align: center; box-shadow: 5px 5px 0 var(--orange); }
.xp-now::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: var(--stem); margin-left: -1px; background: var(--ink); }
.xp-k { display: block; font: 600 0.8125rem/1 var(--text); color: rgba(255, 255, 255, 0.62); }
.xp-now b { display: block; margin-top: 8px; font: 700 1.0625rem/1.4 var(--display); }
.xp-paths { position: relative; list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); margin: var(--stem) 0 0; padding: var(--stem) 0 0; }
.xp-paths::before { content: ""; position: absolute; top: 0; height: 2px; background: var(--ink); left: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n) / 2); right: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n) / 2); }
.xp-path { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.xp-path::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: var(--stem); margin-left: -1px; background: var(--ink); }
.xp-i { display: grid; place-items: center; width: 22px; height: 22px; background: var(--orange); color: var(--ink); font: 600 12px/1 var(--text); }
.xp-path b { font: 700 1.0625rem/1.35 var(--display); letter-spacing: -0.01em; }
.xp-who { font-size: 0.875rem; font-weight: 600; color: var(--orange-text); }
.area .xp-path p { margin: 2px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  .xp-map { --stem: 18px; }
  .xp-now { margin: 0; text-align: left; }
  .xp-now::after { left: 18px; }
  .xp-paths { grid-template-columns: 1fr; padding: var(--stem) 0 0 28px; margin-top: 0; }
  .xp-paths::before { display: none; }
  .xp-path::before { left: -11px; bottom: auto; top: 29px; width: 11px; height: 2px; margin: 0; }
  .xp-path::after { content: ""; position: absolute; left: -11px; top: calc(-1 * var(--gap)); bottom: 0; width: 2px; background: var(--ink); }
  .xp-path:first-child::after { top: calc(-1 * var(--stem)); }
  .xp-path:last-child::after { bottom: auto; height: calc(var(--gap) + 31px); }
}

@media (max-width: 640px) {
  .pq-more li { grid-template-columns: 26px minmax(0, 1fr); }
  .pq-more .ai-links { grid-column: 2; flex-wrap: wrap; }
}

@media print {
  .pq-more[hidden] { display: block !important; }
  .pq-toggle, .pm-more .link { display: none !important; }
  .xp-now { background: #fff !important; color: #000 !important; box-shadow: none !important; border: 1px solid #000; }
  .xp-k { color: #000 !important; }
  .xp-path, .nd-row { break-inside: avoid; }
  .sev, .nd-s { background: #fff !important; color: #000 !important; border: 1px solid #000; }
}
