/* Shared styles for /briefing/ pages */
.brief-meta { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:8px; }
.brief-overview { width:100%; border-radius: var(--radius-md, 12px); border:1px solid var(--border); background: var(--bg-soft, #f8fafc); }
.warn-list { margin: 0; padding-left: 1.15rem; }
.warn-list li { margin: 0.45rem 0; line-height: 1.55; }
.concl-list { margin: 0; padding-left: 1.15rem; }
.concl-list li { margin: 0.5rem 0; line-height: 1.55; }
.archive-list { list-style:none; padding:0; margin:0; }
.archive-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.archive-list li:last-child { border-bottom: none; }
.archive-list a { font-weight:600; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { width:100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td { padding: 10px 12px; text-align:left; border-bottom:1px solid var(--border); }
.table-wrap th { color: var(--text-sub); font-weight:600; }
details.brief-sources { margin-top: 4px; }
details.brief-sources summary {
  cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none;
}
details.brief-sources summary::-webkit-details-marker { display:none; }
details.brief-sources summary::before { content:"▸ "; color: var(--accent, #3b82f6); }
details.brief-sources[open] summary::before { content:"▾ "; }
.rating-pill { font-weight:700; }
.sources-body p, .sources-body li { line-height: 1.55; }
.sources-body ul { padding-left: 1.15rem; }

/* Inline links: readable in light + dark (browser default blue fails on dark bg) */
.page a:not(.btn):not(.nav-card) {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.page a:not(.btn):not(.nav-card):hover {
  color: #1d4ed8;
}
[data-theme="dark"] .page a:not(.btn):not(.nav-card) {
  color: #93c5fd;
}
[data-theme="dark"] .page a:not(.btn):not(.nav-card):hover {
  color: #bfdbfe;
}
[data-theme="dark"] details.brief-sources summary::before {
  color: #93c5fd;
}


/* Collapsible Notion full briefing embed */
.notion-note { margin: 0 0 12px; line-height: 1.55; color: var(--text-sub); font-size: 0.95rem; }
details.brief-notion { margin-top: 4px; }
details.brief-notion summary {
  cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none;
}
details.brief-notion summary::-webkit-details-marker { display:none; }
details.brief-notion summary::before { content:"▸ "; color: var(--accent, #3b82f6); }
details.brief-notion[open] summary::before { content:"▾ "; }
[data-theme="dark"] details.brief-notion summary::before { color: #93c5fd; }

.notion-body { margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--border); }
.notion-body h2 {
  font-size: 1.15rem; margin: 1.25rem 0 0.55rem; line-height: 1.35;
}
.notion-body h2:first-child { margin-top: 0.5rem; }
.notion-body h3 {
  font-size: 1.02rem; margin: 1rem 0 0.4rem; line-height: 1.4;
  color: var(--text, inherit);
}
.notion-body p { margin: 0.45rem 0; line-height: 1.6; }
.notion-body ul, .notion-body ol { margin: 0.4rem 0 0.7rem; padding-left: 1.2rem; }
.notion-body li { margin: 0.28rem 0; line-height: 1.55; }
.notion-body blockquote {
  margin: 0.75rem 0;
  padding: 0.55rem 0.85rem;
  border-left: 3px solid var(--accent, #3b82f6);
  background: var(--bg-soft, rgba(148,163,184,0.12));
  border-radius: 0 8px 8px 0;
}
.notion-body blockquote p { margin: 0; }
.notion-body .table-wrap { margin: 0.75rem 0 1rem; }
.notion-body table { width:100%; border-collapse: collapse; font-size: 13.5px; }
.notion-body th, .notion-body td {
  padding: 8px 10px; text-align:left; border-bottom:1px solid var(--border);
  vertical-align: top;
}
.notion-body th {
  color: var(--text-sub); font-weight:600;
  background: var(--bg-soft, rgba(148,163,184,0.08));
}
.notion-body tr:last-child td { border-bottom: none; }
.notion-open {
  margin: 1rem 0 0.25rem;
  font-size: 0.9rem;
  color: var(--text-sub);
}
