.fcd-entry { margin: 1rem 0; border: 1px solid var(--border, #e2e8f0); border-radius: .85rem; background: var(--bg-card, #fff); color: var(--text, #1e293b); }
.fcd-entry__bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1rem; }
.fcd-entry__copy { min-width:0; }
.fcd-entry__copy strong { display:block; }
.fcd-entry__copy span { display:block; margin-top:.18rem; color:var(--text-secondary,#64748b); font-size:.78rem; }
.fcd-entry__actions { display:flex; align-items:center; justify-content:flex-end; gap:.55rem; flex-wrap:wrap; }
.fcd-entry__download-status { flex-basis:100%; min-height:1.1rem; color:var(--text-secondary,#64748b); font-size:.74rem; text-align:right; }
.fcd-entry__host:empty { display:none; }
.fcd-preview { border-top:1px solid var(--border,#e2e8f0); padding:1rem; background:var(--bg-card,#fff); color:var(--text,#1e293b); }
.fcd-preview__header,.fcd-preview__chapter-head,.fcd-preview__footer { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.fcd-preview__heading h3 { margin:.28rem 0; font-size:1.15rem; }
.fcd-preview__heading p,.fcd-preview__chapter-scope { color:var(--text-secondary,#64748b); }
.fcd-preview__eyebrow,.fcd-preview__claim,.fcd-preview__status { display:inline-flex; width:max-content; max-width:100%; padding:.22rem .55rem; border-radius:999px; font-size:.72rem; font-weight:700; }
.fcd-preview__eyebrow { color:#4338ca; background:#eef2ff; }
.fcd-preview__status { color:#92400e; background:#fef3c7; white-space:nowrap; }
.fcd-preview__gate-notice { display:flex; justify-content:space-between; gap:.75rem; margin:.85rem 0; padding:.72rem .85rem; border:1px solid #f59e0b; border-radius:.65rem; color:#92400e; background:#fffbeb; }
.fcd-preview__scope { margin:.9rem 0; padding:.75rem .85rem; border-left:4px solid #f59e0b; background:var(--bg-secondary,#f8fafc); }
.fcd-preview__scope p { margin:.3rem 0 0; }
.fcd-preview__metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; }
.fcd-preview__metrics-note { grid-column:1/-1; margin:0; color:var(--text-secondary,#64748b); font-size:.72rem; }
.fcd-preview__metric { padding:.65rem; border:1px solid var(--border,#e2e8f0); border-radius:.65rem; background:var(--bg-secondary,#f8fafc); }
.fcd-preview__metric span,.fcd-preview__metric strong { display:block; overflow-wrap:anywhere; }
.fcd-preview__metric span { color:var(--text-secondary,#64748b); font-size:.72rem; }
.fcd-preview__metric--warn strong { color:#a16207; }.fcd-preview__metric--blocked strong { color:#b91c1c; }
.fcd-preview__toc { margin:1rem 0; padding:.85rem 1rem; border-left:3px solid var(--border,#e2e8f0); background:var(--bg-secondary,#f8fafc); }
.fcd-preview__toc ol { margin:.5rem 0 0; padding-left:1.35rem; }.fcd-preview__toc li+li { margin-top:.28rem; }
.fcd-preview__toc-link { color:#1d4ed8; text-decoration:none; }.fcd-preview__toc-link:hover,.fcd-preview__toc-link:focus-visible { text-decoration:underline; }
.fcd-preview__chapters { margin-top:1rem; }
.fcd-preview__chapter { padding:1.15rem 0; border-top:1px solid var(--border,#e2e8f0); background:transparent; scroll-margin-top:5rem; }
.fcd-preview__chapter:first-child { border-top:0; }
.fcd-preview__chapter h4 { margin:0; }.fcd-preview__chapter-head>span { color:#92400e; font-size:.74rem; white-space:nowrap; }
.fcd-preview__block { margin-top:.75rem; padding:0; background:transparent; }
.fcd-preview__block p { margin:.45rem 0 0; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.fcd-preview__subheading { margin:0 0 .55rem; font-size:.96rem; line-height:1.5; color:var(--text,#1e293b); }
.fcd-preview__claim { color:#1d4ed8; background:#dbeafe; }
.fcd-preview__block--controlled-implementation-proposal .fcd-preview__claim { color:#7c2d12; background:#ffedd5; }
.fcd-preview__block--owner-confirm-required .fcd-preview__claim { color:#92400e; background:#fef3c7; }
.fcd-preview__proposal-note { display:inline; margin-left:.45rem; color:var(--text-secondary,#64748b); font-size:.72rem; }
.fcd-preview__sources,.fcd-preview__held { margin-top:.8rem; }.fcd-preview__sources summary,.fcd-preview__held summary { cursor:pointer; font-weight:700; }
.fcd-preview__source-row { padding:.6rem 0; border-bottom:1px solid var(--border,#e2e8f0); }.fcd-preview__source-row p { margin:.25rem 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.fcd-preview__gaps { margin-top:.8rem; padding:.7rem; color:#92400e; background:#fffbeb; border-radius:.6rem; }.fcd-preview__gaps ul,.fcd-preview__held ul { margin:.45rem 0 0; padding-left:1.25rem; }
.fcd-preview__material-summary { margin-top:1rem; padding:.85rem; border:1px solid #f59e0b; border-radius:.65rem; background:#fffbeb; color:#92400e; scroll-margin-top:5rem; }
.fcd-preview__material-summary h4 { margin:0; }.fcd-preview__material-summary ul { margin:.55rem 0 0; padding-left:1.25rem; }
.fcd-preview__owner-sheet { margin-top:1rem; padding:.9rem; border:1px solid var(--border,#e2e8f0); border-radius:.65rem; background:var(--bg-secondary,#f8fafc); scroll-margin-top:5rem; }
.fcd-preview__owner-sheet h4 { margin:0; }.fcd-preview__owner-sheet-note { margin:.4rem 0 0; color:var(--text-secondary,#64748b); font-size:.78rem; }
.fcd-preview__owner-question { margin-top:.8rem; padding-top:.8rem; border-top:1px solid var(--border,#e2e8f0); }.fcd-preview__owner-question h5 { margin:0; line-height:1.5; }
.fcd-preview__owner-why,.fcd-preview__owner-impact { margin:.38rem 0 0; color:var(--text-secondary,#64748b); font-size:.82rem; line-height:1.6; }
.fcd-preview__owner-options { margin:.5rem 0 0; padding-left:1.35rem; }.fcd-preview__owner-options li+li { margin-top:.25rem; }
.fcd-preview__held { scroll-margin-top:5rem; }
.fcd-preview__footer { margin-top:1rem; padding-top:.8rem; border-top:1px solid var(--border,#e2e8f0); color:var(--text-secondary,#64748b); font-size:.78rem; }
.fcd-preview__message-title { font-weight:700; }.fcd-preview--loading p,.fcd-preview--hold p,.fcd-preview--stale p,.fcd-preview--empty p { margin:.4rem 0; }
[data-theme="dark"] .fcd-entry,[data-theme="dark"] .fcd-preview { background:var(--bg-card,#161d2b); color:var(--text,#e5e7eb); }
[data-theme="dark"] .fcd-preview__scope,[data-theme="dark"] .fcd-preview__metric,[data-theme="dark"] .fcd-preview__toc { background:var(--bg-secondary,#101827); }
[data-theme="dark"] .fcd-preview__owner-sheet { background:var(--bg-secondary,#101827); }
[data-theme="dark"] .fcd-preview__eyebrow { color:#c7d2fe; background:#312e81; }[data-theme="dark"] .fcd-preview__claim { color:#bfdbfe; background:#1e3a8a; }[data-theme="dark"] .fcd-preview__block--controlled-implementation-proposal .fcd-preview__claim { color:#fed7aa; background:#7c2d12; }[data-theme="dark"] .fcd-preview__block--owner-confirm-required .fcd-preview__claim { color:#fde68a; background:#78350f; }[data-theme="dark"] .fcd-preview__status { color:#fde68a; background:#78350f; }[data-theme="dark"] .fcd-preview__gaps { color:#fde68a; background:#422006; }
[data-theme="dark"] .fcd-preview__gate-notice { color:#fde68a; background:#422006; }
[data-theme="dark"] .fcd-preview__material-summary { color:#fde68a; background:#422006; }
@media (max-width: 720px) { .fcd-entry__bar,.fcd-preview__header,.fcd-preview__chapter-head,.fcd-preview__footer,.fcd-preview__gate-notice { flex-direction:column; align-items:stretch; }.fcd-entry__actions { width:100%; }.fcd-entry__actions .btn { flex:1 1 12rem; }.fcd-entry__download-status { text-align:left; }.fcd-preview__metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.fcd-preview__chapter-head>span { white-space:normal; } }
@media (max-width: 430px) { .fcd-preview__metrics { grid-template-columns:1fr; }.fcd-preview,.fcd-preview__chapter { padding:.75rem; } }
