/* Ten Goede · process collaboration & improvement (pc-): Betrokkenen, interviews,
   interview focus, Verbeteren (IST/SOLL), Documenten and document review. */

.pc-wrap { display: flex; flex-direction: column; gap: 20px; }
.pc-wrap > .sec { margin-top: 16px; }
.pc-h3 { font-size: var(--t-s); font-weight: 600; margin-bottom: 8px; }
.pc-h3row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pc-h3row .pc-h3 { margin-bottom: 0; }
.pc-eyebrow { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.pc-lic { background: var(--ink); color: var(--on-ink); }
.pc-free { background: var(--ok-soft); color: var(--ok); }

/* ── progress strip ─────────────────────────────────────────────────── */
.pc-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.pc-progress { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-progress-t { font-size: var(--t-l); }
.pc-progress-t b { font-weight: 600; }
.pc-segbar { display: flex; gap: 3px; height: 8px; }
.pc-segbar i { display: block; border-radius: 3px; min-width: 6px; }
.pc-segbar i.ok, .pc-legend i.ok { background: var(--ok); }
.pc-segbar i.info, .pc-legend i.info { background: var(--info); }
.pc-segbar i.mute, .pc-legend i.mute { background: var(--line-2); }
.pc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--ink-3); margin-top: 8px; }
.pc-progress .pc-legend { margin-top: 0; }
.pc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.pc-legend i.c-added { background: var(--ok-soft); box-shadow: inset 0 0 0 2px var(--ok); }
.pc-legend i.c-modified { background: var(--warn-soft); box-shadow: inset 0 0 0 2px var(--warn); }
.pc-legend i.c-responsibility { background: var(--info-soft); box-shadow: inset 0 0 0 2px var(--info); }
.pc-legend i.c-removed { background: var(--bad-soft); box-shadow: inset 0 0 0 2px var(--bad); }
.pc-legend .spacer { flex: 1; }
.pc-head-act { flex: none; display: flex; flex-wrap: wrap; gap: 8px; }

/* ── stakeholder rows ───────────────────────────────────────────────── */
.pc-list { border-top: 1px solid var(--line); }
.pc-st { display: grid; grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 1.2fr) minmax(120px, .9fr) minmax(120px, .8fr) minmax(90px, .6fr) 150px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pc-st small { display: block; color: var(--ink-3); font-size: var(--t-xs); line-height: 1.35; }
.pc-st-role b { font-weight: 500; font-size: var(--t-s); display: block; }
.pc-st-role, .pc-st-src, .pc-st-who { min-width: 0; }
.pc-st-iv { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.pc-st-acc { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.pc-st-act { display: flex; justify-content: flex-end; }
@media (max-width: 1100px) {
  .pc-st { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; grid-template-areas: "who iv act" "role src acc"; row-gap: 6px; }
  .pc-st-who { grid-area: who; } .pc-st-role { grid-area: role; } .pc-st-src { grid-area: src; } .pc-st-iv { grid-area: iv; } .pc-st-acc { grid-area: acc; } .pc-st-act { grid-area: act; }
}
@media (max-width: 600px) {
  .pc-st { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who act" "role iv" "src acc"; }
  .pc-st-iv, .pc-st-acc { align-items: flex-end; }
}

/* themes */
.pc-themes { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pc-theme { display: flex; align-items: center; gap: 14px; padding: 12px 4px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.pc-theme:hover { background: var(--sunk); }
.pc-theme > svg { color: var(--ink-4); flex: none; }
.pc-theme-t { flex: 1; min-width: 0; }
.pc-theme-t b { font-weight: 500; display: block; }
.pc-theme-t small { color: var(--ink-3); font-size: var(--t-xs); }
.pc-dots { display: inline-flex; gap: 3px; flex: none; width: 72px; }
.pc-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.pc-dots i.on { background: var(--ev-interview); }
.pc-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: var(--t-xs); color: var(--ink-3); max-width: 80ch; margin-top: 8px; }
.pc-privacy svg { flex: none; margin-top: 1px; }

/* ── add-stakeholder modal ──────────────────────────────────────────── */
.pc-picked { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--sunk); }
.pc-results { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pc-result { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); width: 100%; }
.pc-result:last-child { border-bottom: 0; }
.pc-result:hover, .pc-result:focus-visible { background: var(--hover); box-shadow: none; border-radius: 0; }
.pc-result b { font-weight: 500; display: block; }
.pc-result small { color: var(--ink-3); font-size: var(--t-xs); }
.pc-fs { border: 0; padding: 0; margin: 0; }
.pc-fs legend { font-size: var(--t-s); font-weight: 500; margin-bottom: 8px; padding: 0; }
.pc-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }

/* ── interview drawer ───────────────────────────────────────────────── */
.pc-iv-who { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pc-qs { display: flex; flex-direction: column; counter-reset: q; border-top: 1px solid var(--line); }
.pc-q { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); counter-increment: q; }
.pc-q::before { content: counter(q); flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--mute-soft); margin-top: 1px; }
.pc-q.sug::before { background: var(--ev-ai-soft); color: var(--ev-ai); }
.pc-q.sug .pc-q-t p { color: var(--ink-2); }
.pc-q-t { flex: 1; min-width: 0; }
.pc-q-t small { display: block; color: var(--ink-3); font-size: var(--t-xs); margin-top: 3px; }
.pc-q-t small .ev { vertical-align: middle; margin-right: 2px; }
.pc-q-a { display: flex; align-items: center; gap: 2px; flex: none; }
.pc-ok { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ok); }
.pc-qadd { display: flex; gap: 8px; margin-top: 10px; }
.pc-qadd .input { flex: 1; }
.pc-af { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.pc-af[data-status="voorgesteld"] { border-color: var(--ev-ai-line); background: color-mix(in srgb, var(--ev-ai-soft) 45%, var(--sheet)); }
.pc-af[data-status="afgewezen"] { opacity: .7; }
.pc-af[data-status="afgewezen"] .strong { text-decoration: line-through; color: var(--ink-3); }
.pc-af-h { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pc-af-f { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.pc-af .quote { font-size: var(--t-s); }
.pc-tr-wrap > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.pc-tr-wrap > summary::-webkit-details-marker { display: none; }
.pc-tr-wrap > summary::before { content: "▸"; color: var(--ink-3); font-size: 12px; }
.pc-tr-wrap[open] > summary::before { content: "▾"; }
.pc-tr { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pc-tr-i { display: grid; grid-template-columns: 72px 1fr; gap: 10px; font-size: var(--t-s); line-height: 1.55; padding: 6px 8px; border-radius: var(--r-s); }
.pc-tr-i b { font-weight: 600; color: var(--ink-3); font-size: var(--t-xs); padding-top: 2px; }
.pc-tr-i.p b { color: var(--ev-interview); }
.pc-tr-i.focus { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.pc-upload { display: flex; gap: 14px; padding: 16px; border: 1px dashed var(--line-2); border-radius: var(--r-l); background: var(--sunk); }
.pc-upload > div:first-child { color: var(--ink-3); padding-top: 2px; }

/* ── interview focus ────────────────────────────────────────────────── */
.pc-fi-card { max-width: 520px; margin: 48px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--sheet); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line), var(--shadow-s); padding: 36px 28px; }
.pc-fi-card > svg { color: var(--ink-3); }
.pc-fi-card h1 { font-size: 22px; }
.pc-fi-start { display: flex; flex-direction: column; gap: 16px; }
.pc-fi-start h1 { font-size: 28px; }
.pc-fi-topics { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pc-fi-topics li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.pc-fi-topics li small { margin-left: auto; font-weight: 400; }
.pc-fi { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.pc-fi.noctx { grid-template-columns: minmax(0, 1fr) 140px; }
.pc-fi-main { max-width: 720px; min-width: 0; }
.pc-fi-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.pc-fi-steps button { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--sheet); font-size: var(--t-s); color: var(--ink-2); }
.pc-fi-steps button span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--mute-soft); font-size: 11px; font-weight: 600; }
.pc-fi-steps button.done span { background: var(--ok-soft); color: var(--ok); }
.pc-fi-steps button.cur { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pc-fi-steps button.cur span { background: var(--ink); color: var(--on-ink); }
.pc-fi-h { font-size: 26px; margin-bottom: 18px; }
.pc-fi-qs { display: flex; flex-direction: column; gap: 4px; }
.pc-fi-qs li { padding: 10px 12px; border-radius: var(--r); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.pc-fi-qs li.sug { background: transparent; box-shadow: 0 0 0 1px var(--line) inset; border: 1px dashed var(--ev-ai-line); }
.pc-fi-qs .check { font-size: var(--t-l); line-height: 1.45; }
.pc-fi-qs .check small { display: block; font-size: var(--t-xs); color: var(--ink-3); margin-top: 3px; }
.pc-fi-qs .check small svg { display: inline; vertical-align: -1px; color: var(--ev-ai); }
.pc-asked { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.pc-fi-notes { font-size: var(--t-l); line-height: 1.6; background: var(--sheet); }
.pc-fi-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.pc-fi-ctx { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.pc-fi-ctxbtn { align-self: flex-start; }
.pc-fi-box { background: var(--sheet); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; font-size: var(--t-s); display: flex; flex-direction: column; gap: 8px; }
.pc-fi-box h4 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pc-fi-box p b { display: block; font-weight: 500; }
.pc-fi-box p small { color: var(--ink-3); font-size: var(--t-xs); }
.pc-fi-sum { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.pc-fi-sum > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pc-fi-sum p { font-size: var(--t-s); color: var(--ink-2); }
@media (max-width: 900px) {
  .pc-fi, .pc-fi.noctx { grid-template-columns: minmax(0, 1fr); }
  .pc-fi-ctx { position: static; }
  .pc-hide-s { display: none !important; }
}

/* ── improvements ───────────────────────────────────────────────────── */
.pc-grp + .pc-grp { margin-top: 14px; }
.pc-grp-h { display: flex; align-items: center; gap: 8px; padding: 6px 0; margin-bottom: 8px; font-size: var(--t-m); color: var(--ink); }
.pc-grp-h b { font-weight: 600; }
.pc-grp-h:hover { color: var(--accent-ink); }
.pc-imp { border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; background: var(--sheet); }
.pc-imp[data-status="ter-goedkeuring"] { border-color: var(--warn-line); box-shadow: inset 3px 0 0 var(--warn); }
.pc-imp[data-status="voorgesteld"] { border-color: var(--ev-ai-line); }
.pc-imp[data-status="afgewezen"] h3 { color: var(--ink-3); }
.pc-imp-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pc-imp h3 { font-size: var(--t-l); }
.pc-imp h3 a:hover { color: var(--accent-ink); }
.pc-imp-r { color: var(--ink-2); max-width: 75ch; }
.pc-imp-m { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--t-s); }
.pc-imp-m .tag { margin-left: 4px; }
.pc-evi { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.pc-evc { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px 3px 4px; border-radius: 6px; border: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); background: var(--sheet); min-width: 0; }
.pc-evc:hover { border-color: var(--line-2); color: var(--ink); background: var(--sunk); }
.pc-evc .ellipsis { max-width: 46ch; }
.pc-evc > svg { color: var(--ink-3); flex: none; }
.pc-decide { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.pc-decide .btn-row { justify-content: flex-end; }
.pc-imp-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
p.pc-imp-f { display: flex; gap: 6px; }
.pc-rejq { margin-top: 4px; }
.pc-grp-h .count { color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.pc-grp.done .pc-grp-h { color: var(--ink-2); }
/* in the drawer the card is just its body: title and status are in the drawer header */
.pc-imp.bare { border: 0; padding: 0; background: none; box-shadow: none; }
/* decided proposals: one quiet line each */
.pc-rows { list-style: none; margin: 0 0 4px 24px; padding: 0; border-top: 1px solid var(--line); }
.pc-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.pc-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; color: var(--ink); text-decoration: none; }
.pc-row-t:hover { color: var(--accent-ink); }
.pc-row-t small { color: var(--ink-3); font-size: var(--t-xs); }
.pc-row[data-status="afgewezen"] .pc-row-t > .ellipsis { color: var(--ink-3); }
.pc-row-m { display: inline-flex; gap: 4px; flex: none; }
.pc-row .nowrap { white-space: nowrap; }

/* Verbeteren › Nieuw ontwerp, Doelen, Goedkeuring */
.pc-lead { color: var(--ink-2); margin-bottom: 16px; max-width: 90ch; }
.pc-est { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.pc-base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.pc-hint { margin-top: 10px; }
.pc-other { margin-top: 20px; }
.pc-other .pc-cmp-bar { margin-bottom: 0; }
.pc-removed { gap: 4px 10px; }
.pc-design .pc-rm { height: auto; padding: 0; border: 0; background: none; color: var(--ink-3); font-size: var(--t-s); text-decoration: line-through; text-decoration-color: var(--bad); }
.pc-design .pc-rm:hover { color: var(--ink); }
.pc-h2 { display: flex; align-items: center; gap: 10px; font-size: var(--t-l); font-weight: 600; margin: 32px 0 10px; }
.pc-h2 .count { color: var(--ink-3); font-weight: 400; font-size: var(--t-m); }
.pc-ready { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-ready li { display: flex; gap: 10px; align-items: flex-start; }
.pc-ready small { color: var(--ink-3); }
.pc-rd-i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; }
.pc-ready li.ok .pc-rd-i { background: var(--ok-soft); color: var(--ok); }
.pc-ready li.todo .pc-rd-i { border: 1.5px dashed var(--warn); }
.pc-appr-x .pc-appr { padding: 14px 0; }
.pc-appr-b { margin: 0; }
.pc-fbx .pc-fb-add { margin-top: 12px; }
.pc-goals { display: flex; flex-direction: column; gap: 14px; }
.pc-goal { border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 18px; }
.pc-goal-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.pc-goal-t { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.pc-goal-t:hover { color: var(--accent-ink); }
.pc-dr .pc-grp-h { margin-bottom: 0; }

/* ── comparison ─────────────────────────────────────────────────────── */
.pc-cmp-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pc-cmp-bar > svg { color: var(--ink-3); }
.pc-vsel { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-s); color: var(--ink-3); }
.pc-vsel .select { width: auto; min-width: 200px; }
.pc-cmp-metrics { margin-bottom: 16px; }
.pc-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(760px, 1fr)); gap: 20px; }
@media (max-width: 700px) { .pc-side { grid-template-columns: 1fr; } }
.pc-dlabel { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--t-s); }
.pc-dlabel b { font-weight: 600; }
.pc-removed { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.pc-rm { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; border: 1px dashed var(--bad); background: var(--bad-soft); color: var(--bad); font-size: var(--t-xs); text-decoration: line-through; }
.pc-sel { margin-top: 14px; border: 1px solid var(--accent-line); background: color-mix(in srgb, var(--accent-soft) 50%, var(--sheet)); border-radius: var(--r-l); padding: 12px 16px 14px; }
.pc-sel-h { display: flex; align-items: center; gap: 10px; }
.pc-sel-h b { font-weight: 600; }
.pc-sel-t { list-style: disc; padding-left: 18px; margin: 6px 0 8px; font-size: var(--t-s); }
.pc-chgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px 32px; }
.pc-chg-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pc-chg { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
.pc-chg b { font-weight: 500; font-size: var(--t-m); display: block; }
.pc-chg p { color: var(--ink-2); }
.pc-chg-mark { width: 10px; height: 10px; border-radius: 3px; flex: none; margin-top: 6px; }
.pc-chg-mark.c-added { background: var(--ok-soft); box-shadow: inset 0 0 0 2px var(--ok); }
.pc-chg-mark.c-modified { background: var(--warn-soft); box-shadow: inset 0 0 0 2px var(--warn); }
.pc-chg-mark.c-responsibility { background: var(--info-soft); box-shadow: inset 0 0 0 2px var(--info); }
.pc-chg-mark.c-removed { background: var(--bad-soft); box-shadow: inset 0 0 0 2px var(--bad); }
.pc-appr { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.pc-appr-b { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.pc-appr-a { flex: none; justify-content: flex-end; }
.pc-fb { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pc-fb-i { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
.pc-fb-i b { font-weight: 600; }
.pc-fb-i p + p { margin-top: 2px; color: var(--ink); font-size: var(--t-m); }
.pc-fb-add { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

/* ── documents ──────────────────────────────────────────────────────── */
.pc-doc-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.pc-doc-head p { max-width: 70ch; }
.pc-stages { display: flex; flex-direction: column; gap: 12px; }
.pc-stages li { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.pc-stages li.done { color: var(--ink); } .pc-stages li.done svg { color: var(--ok); }
.pc-stages li.cur { color: var(--ink); font-weight: 500; }
.pc-src { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); }
.pc-src li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
.pc-src li:last-child { border-bottom: 0; }
.pc-src li > span { flex: 1; min-width: 0; }
.pc-src li b { font-weight: 500; display: block; }
.pc-src li small { color: var(--ink-3); font-size: var(--t-xs); }
.pc-src li > svg:first-child { color: var(--ink-3); }
.pc-src li > svg:last-child { color: var(--ok); }

.pc-doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.pc-paper { background: var(--sheet); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line), var(--shadow-s); padding: 36px 44px 44px; }
.pc-paper > h1 { font-size: 28px; margin-bottom: 6px; }
.pc-aiban { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; margin: -8px 0 22px; border-radius: var(--r); background: var(--ev-ai-soft); color: var(--ink); font-size: var(--t-s); }
.pc-aiban > svg { color: var(--ev-ai); flex: none; margin-top: 2px; }
.pc-dsec { padding: 22px 0 18px; border-top: 1px solid var(--line); margin-top: 22px; position: relative; }
.pc-dsec + .pc-dsec { margin-top: 0; }
.pc-dsec.ok::before { content: ""; position: absolute; left: -20px; top: 26px; width: 4px; height: 18px; border-radius: 2px; background: var(--ok); }
.pc-dsec-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pc-dsec-h h2 { font-size: 18px; }
.pc-dsec-ok { font-size: var(--t-s); color: var(--ink-2); }
.pc-dsec-b { line-height: 1.65; font-size: 15px; color: var(--ink); max-width: 70ch; }
.pc-dsec-b p + p { margin-top: 8px; }
.pc-dsec-b ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.pc-dsec-b ol { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.pc-dsec-b ul + p, .pc-dsec-b ol + p, .pc-dsec-b p + ul, .pc-dsec-b p + ol { margin-top: 8px; }
.pc-srcs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.pc-srcc { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--mute-soft); font-size: 11.5px; color: var(--ink-2); }
a.pc-srcc:hover { background: var(--hover); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.pc-check { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; margin-top: 12px; padding: 9px 12px; border-radius: var(--r); background: var(--ev-ai-soft); font-size: var(--t-s); }
.pc-check > svg { color: var(--ev-ai); flex: none; margin-top: 2px; }
.pc-check > span { flex: 1; min-width: 200px; }
.pc-check.done { background: var(--sunk); color: var(--ink-3); }
.pc-check.done > svg { color: var(--ok); }
.pc-rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.pc-rail-box { background: var(--sheet); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-s); }
.pc-rail-box h4 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pc-pubwarn { margin-top: 6px; }
.pc-hist { display: flex; flex-direction: column; gap: 8px; }
.pc-hist b { font-weight: 500; display: block; }
.pc-hist small { color: var(--ink-3); font-size: var(--t-xs); }
.pc-dprev { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r); background: var(--sunk); font-size: var(--t-s); line-height: 1.55; }
.pc-dprev ul { list-style: disc; padding-left: 18px; } .pc-dprev ol { list-style: decimal; padding-left: 18px; }
@media (max-width: 1000px) {
  .pc-doc { grid-template-columns: 1fr; }
  .pc-rail { position: static; }
  .pc-dsec.ok::before { left: -12px; }
}
@media (max-width: 600px) {
  .pc-paper { padding: 22px 18px 28px; }
  .pc-paper > h1 { font-size: 22px; }
  .pc-vsel .select { min-width: 0; }
  .pc-cmp-bar .seg { width: 100%; }
}

/* icons that sit inside running text */
:is(.pc-wrap, .pc-dr, .pc-gen, .pc-fi, .pc-fi-start, .pc-fi-card, .pc-doc) :is(p, small, span.muted) > svg.ic { display: inline-block; vertical-align: -2px; margin-right: 3px; }
.pc-imp-f > .muted > svg.ic, p.pc-imp-f > svg.ic { display: inline-block; vertical-align: -2px; }

.pc-wrap .sec-h { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 600px) {
  .pc-fi-steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding: 2px; }
  .pc-fi-steps::-webkit-scrollbar { display: none; }
  .pc-fi-steps button { flex: none; }
  .pc-fi-h { font-size: 22px; }
  .pc-head-act { width: 100%; }
}
.pc-sep { width: 2px; }
.pc-af-cb { width: 16px; height: 16px; margin: 0 4px 0 0; accent-color: var(--ink); flex: none; }
