#posterPageContainer * { box-sizing: border-box; }
#posterPageContainer { font-family: 'Futura-pt', Arial, sans-serif; font-size: 16px !important; line-height: 1.43 !important; color: #1f2937; max-width: 960px; margin: 0 auto; padding: 20px 0; }
#posterPageContainer p,
#posterPageContainer span,
#posterPageContainer div,
#posterPageContainer a,
#posterPageContainer button,
#posterPageContainer strong,
#posterPageContainer em,
#posterPageContainer li { font-size: inherit !important; line-height: inherit !important; font-family: inherit !important; }

/* ── Cards ── */
.pp-card { background: white; border: 1px solid #e5e7eb; border-radius: 3px; padding: 14px 16px; margin-bottom: 12px; }
.pp-card-title { font-size: 0.72em !important; font-weight: 700; color: #9ca3af; border-bottom: 1px solid #f3f4f6; padding-bottom: 6px; margin: 0 0 10px 0; }

/* ── Title card ── */
.pp-title-card { border: none !important; }
.pp-title { color: #fff !important; font-size: 1.22em !important; font-weight: 700; margin: 0; line-height: 1.3 !important; }

/* ── 2-col row: Authors | Media+Details ── */
.pp-body { display: flex; gap: 22px; align-items: stretch; }
.pp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pp-main .pp-card { flex: 1; }
.pp-sidebar { width: 270px; flex-shrink: 0; display: flex; flex-direction: column; }
.pp-sidebar .pp-card:last-child { flex: 1; }

/* ── Authors ── */
.pp-author-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.pp-author-org { font-size: 0.8em !important; color: #6b7280; margin: 0 0 6px 0; }
.pp-orcid-link { display: inline-flex; align-items: center; gap: 2px; color: #a6ce39 !important; font-size: 0.76em !important; text-decoration: none; vertical-align: baseline; }
.pp-orcid-link:hover { text-decoration: underline; }

/* ── Tabs ── */
.pp-tab-bar { display: flex; border-bottom: 1px solid #e5e7eb; margin-bottom: 10px; gap: 0; }
.pp-tab { padding: 5px 12px; border: none !important; background: none !important; cursor: pointer; font-size: 0.81em !important; font-weight: 600; color: #6b7280 !important; border-bottom: 2px solid transparent !important; margin-bottom: -1px; font-family: inherit; box-shadow: none !important; border-radius: 0 !important; }
.pp-tab:hover { color: #374151 !important; background: none !important; }
.pp-tab.active { color: #2563eb !important; border-bottom-color: #2563eb !important; background: none !important; }

/* ── Citation ── */
.pp-citation-block { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 3px; padding: 10px 12px; font-size: 0.83em !important; color: #374151; line-height: 1.55 !important; white-space: pre-wrap; font-family: Georgia, serif !important; }
.pp-citation-block.bibtex { font-family: 'Courier New', monospace !important; font-size: 0.79em !important; }
.pp-btn-group { margin-left: auto !important; flex-shrink: 0 !important; align-self: center !important; display: flex !important; gap: 4px !important; }
.pp-copy-btn { flex-shrink: 0; background: #374151 !important; color: #ffffff !important; border: none !important; border-radius: 3px !important; padding: 3px 12px !important; font-size: 0.74em !important; cursor: pointer; font-family: inherit; font-weight: 600; box-shadow: none !important; }
.pp-copy-btn:hover { background: #1f2937 !important; color: #ffffff !important; }

/* ── Abstract ── */
.pp-abstract { font-size: 0.9em !important; line-height: 1.6 !important; }

/* ── Downloads ── */
.pp-download-btn { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 3px; text-decoration: none !important; font-weight: 600; font-size: 0.84em !important; margin-bottom: 6px; transition: background .15s, border-color .15s; }
.pp-download-btn.pdf { background: #fef2f2; color: #dc2626 !important; border: 1px solid #fecaca; }
.pp-download-btn.pdf:hover { background: #fee2e2 !important; color: #dc2626 !important; border-color: #fca5a5 !important; }
.pp-download-btn.audio { background: #f5f3ff; color: #7c3aed !important; border: 1px solid #ddd6fe; }
.pp-download-btn.audio:hover { background: #ede9fe !important; color: #7c3aed !important; border-color: #c4b5fd !important; }

/* ── Details / DOI ── */
.pp-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #f3f4f6; font-size: 0.82em !important; }
.pp-meta-row:last-child { border-bottom: none; }
.pp-meta-label { color: #9ca3af; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.pp-meta-value { color: #374151; text-align: right; min-width: 0; overflow-wrap: break-word; word-break: break-all; }
.pp-doi-value { font-family: inherit !important; font-size: inherit !important; color: #1d4ed8 !important; word-break: break-all; overflow-wrap: break-word; }

/* ── Keywords ── */
.pp-keyword { display: inline-block; background: #f3f4f6; color: #374151 !important; padding: 2px 7px; border-radius: 2px; font-size: 0.79em !important; margin: 2px 3px 2px 0; border: 1px solid #e5e7eb; }

/* ── Audio player ── */
.pp-audio-player { margin-top: 8px; display: none; }
.pp-audio-player audio { width: 100%; border-radius: 3px; }

/* ── Citation options ── */
.pp-cit-options { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f3f4f6; }
.pp-cit-opt-label { font-size: 0.74em !important; color: #9ca3af; font-weight: 600; }
.pp-cit-opt { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78em !important; color: #6b7280; cursor: pointer; }
.pp-cit-opt input[type="checkbox"] { width: 13px; height: 13px; cursor: pointer; accent-color: #2563eb; }

/* ── PDF viewer ── */
.pp-pdf-actions { display: flex; gap: 8px; margin-bottom: 10px; }
.pp-pdf-viewer { width: 100%; height: 620px; border: 1px solid #e5e7eb; border-radius: 3px; display: block; }

/* ── Responsive ── */
@media (max-width: 680px) {
    .pp-body { flex-direction: column; }
    .pp-sidebar { width: 100%; }
    .pp-title { font-size: 1.1em !important; }
}
