/* NC-FET research: shared portfolio typography, palette and components. */
.nc-detail { max-width: 1040px; }
.nc-detail .lede, .nc-detail p.body, .nc-list { max-width: 760px; }
.nc-detail .lede { margin-bottom: 20px; }
.nc-label { color: var(--accent); font-size: 12px; margin-bottom: 12px; }
.nc-list { padding-left: 20px; color: var(--text-secondary); font-size: 15.5px; }
.nc-list li { padding-left: 4px; margin-bottom: 12px; }
.nc-list strong { color: var(--text); font-weight: 500; }
.nc-viewer { margin-top: 22px; }
.nc-slide-row { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 10px; }
.nc-arrow { height: 64px; width: 44px; border: 1px solid var(--border-hover); border-radius: 12px; background: var(--bg-card); color: var(--accent); font-size: 32px; cursor: pointer; }
.nc-arrow:hover:not(:disabled) { background: var(--accent-soft); }
.nc-arrow:disabled { opacity: .25; cursor: default; }
.nc-slide-scroll { overflow: auto; border-radius: 8px; background: white; touch-action: pan-y; }
.nc-slide { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.nc-viewer.zoomed .nc-slide { width: max(100%, 1400px); max-width: none; }
.nc-viewer.zoomed .nc-slide-scroll { max-height: 65dvh; touch-action: auto; }
.nc-viewer:focus-visible, .nc-detail button:focus-visible, .nc-dialog button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nc-viewer-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 54px 0; font-size: 12px; color: var(--text-secondary); }
.nc-viewer-meta .btn { padding: 8px 12px; font-size: 12px; cursor: pointer; }
.nc-slide-title { margin: 10px 54px 0; font-size: 12px; color: var(--text-secondary); }
.nc-table th, .nc-table td { padding: 14px; vertical-align: top; }
.nc-table { font-size: 13px; }
.nc-paper { width: 100%; height: 80dvh; min-height: 560px; border: 1px solid var(--border-hover); border-radius: 12px; background: #ddd; }
.nc-dialog { width: 96vw; max-width: 1800px; max-height: 96dvh; padding: 20px; margin: auto; overflow: auto; border: 1px solid var(--border-hover); border-radius: var(--radius); background: var(--bg); color: var(--text); }
.nc-dialog::backdrop { background: rgba(0,0,0,.9); }
.nc-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nc-dialog header .btn { padding: 8px 12px; cursor: pointer; }
.nc-dialog .nc-slide-scroll { max-height: 70dvh; }
.nc-dialog .nc-slide { max-height: 70dvh; }
.nc-dialog .zoomed .nc-slide { max-height: none; }
@media (max-width: 600px) {
 .nc-slide-row { gap: 4px; }
 .nc-viewer-meta, .nc-slide-title { margin-left: 0; margin-right: 0; }
 .nc-table th, .nc-table td { padding: 9px 7px; overflow-wrap: anywhere; }
 .nc-dialog { padding: 12px 6px; }
 .nc-dialog header { padding: 0 6px; font-size: 12px; }
 .nc-paper { min-height: 520px; }
}

/* Keep research copy consistent while preserving the shared heading styles. */
.nc-detail .lede,
.nc-detail p.body,
.nc-detail .nc-label,
.nc-list,
.nc-table,
.nc-slide-title,
.nc-viewer-meta {
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.6;
}
.nc-detail button, .nc-dialog button { font-family: inherit; }
@media (max-width: 600px) {
  .nc-table { min-width: 600px; }
}
