/* Peer Support Policy Risk: layout on top of the shared ../styles.css (same tokens, levels and components). */
.picker { grid-template-columns: 110px 1fr; }
.topics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.peer-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.topic-hint { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.topics .stage-top { align-items: start; }
.feed-main { max-height: none; }
.feed-main .signals { max-height: 900px; }
.feed-hint { margin: 0; color: var(--muted); font-size: .8rem; }
.side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; display: grid; gap: 8px; }
.card h2 { font-size: 1.1rem; }
.deadlines { list-style: none; margin: 0; padding: 0; display: grid; }
.deadlines li { padding: 8px 0 8px 10px; border-left: 4px solid var(--lv); border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.deadlines li:last-child { border-bottom: 0; }
.dl-when { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dl-when b { color: var(--ink); font-weight: 600; }
.deadlines a { color: var(--ink); font-weight: 600; font-size: .85rem; text-decoration: none; overflow-wrap: anywhere; }
.deadlines a:hover { color: var(--accent); text-decoration: underline; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .84rem; }
.tag { font-size: .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
.sig-dl { font-size: .78rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.sig-summary { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sig { cursor: default; }
.st[data-s="needs-key"] { color: var(--lv1); }
td.wrap-cell { white-space: normal; min-width: 220px; }
@media (max-width: 1100px) {
  .topics { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .peer-grid { grid-template-columns: minmax(0, 1fr); }
  .feed-main .signals { max-height: 640px; }
}
@media (max-width: 640px) { .picker { grid-template-columns: 1fr; } }

/* Executive summary at the top of the page */
.summary { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--lv); border-radius: 6px; padding: 16px 18px; display: grid; gap: 12px; }
.summary-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.summary-head h2 { font-size: 1.35rem; }
.summary-date { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.summary-lede { margin: 0; font-size: 1rem; line-height: 1.5; max-width: 90ch; }
.summary-lede b { font-weight: 600; }
.summary-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stat { display: grid; gap: 0; padding: 6px 12px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); min-width: 120px; }
.stat-num { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .74rem; color: var(--muted); }
.stat[data-level] { border-left: 4px solid var(--lv); }
.summary-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.summary-col h3 { font-size: 1rem; }
.summary-sub { margin: 0 0 6px; color: var(--muted); font-size: .76rem; }
.summary-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.summary-col li { display: grid; grid-template-columns: 10px 1fr; gap: 2px 8px; align-items: start; font-size: .86rem; line-height: 1.35; }
.summary-col li .dot { margin: 4px 0 0; }
.summary-col li a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.summary-col li a:hover { color: var(--accent); text-decoration: underline; }
.sum-meta { grid-column: 2; color: var(--muted); font-size: .74rem; }
.summary-col li.none { display: block; color: var(--muted); }
.summary-more { color: var(--accent); font-size: .85rem; justify-self: start; }
.section-title { font-size: 1.15rem; margin: 8px 0 -4px; scroll-margin-top: 90px; }
@media (max-width: 900px) { .summary-cols { grid-template-columns: minmax(0, 1fr); } }
