
/* TC Table compact */
.pub-tc-table { width: 100% !important; font-size: 12px !important; border-collapse: collapse !important; }
.pub-tc-table tr { height: 28px !important; max-height: 28px !important; }
.pub-tc-table td { padding: 2px 8px !important; vertical-align: middle !important; line-height: 1.2 !important; border: 1px solid #e0e0e0 !important; height: 28px !important; overflow: hidden !important; box-sizing: border-box !important; }
.pub-tc-table td:first-child { font-weight: 600 !important; color: #555 !important; width: 40% !important; }

/* TC Table compact */
.pub-tc-table { width: 100% !important; font-size: 12px !important; border-collapse: collapse !important; }
.pub-tc-table tr { height: 1.15px !important; max-height: 1.15px !important; }
.pub-tc-table td { padding: 2px 8px !important; vertical-align: middle !important; line-height: 1.15 !important; border: 1px solid #e0e0e0 !important; height: 1.15px !important; overflow: hidden !important; box-sizing: border-box !important; }
.pub-tc-table td:first-child { font-weight: 600 !important; color: #555 !important; width: 40% !important; }

/* === Titre Type | Titre | Année === */
.pub-type-prefix { font-weight: 400; color: #888; font-size: 15px; }
.pub-title-sep { font-weight: 400; color: #aaa; font-size: 15px; }
.pub-title-main { font-weight: 700; }
.pub-year-suffix { font-weight: 400; color: #888; font-size: 15px; }

/* === Lignes meta === */
.pub-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; }
.pub-meta-text { color: #555; font-size: 12px; }
.pub-badge-domain { background: transparent !important; color: #2c3c3d !important; border-color: #2c3c3d !important; font-size: 11px; padding: 0px 6px !important; font-weight: 600; line-height: 1.4 !important; }
.pub-badge-journal { font-size: 11px; padding: 0px 6px !important; line-height: 1.4 !important; }

/* === Topics mots-clés === */
.topic-label-list .label-light { background-color: #2c3c3d !important; color: #ffffff !important; border-color: #2c3c3d !important; margin: 2px 3px !important; display: inline-block !important; }
.topic-label-list .label-light .fa-star { display: none !important; }

/* === Bouton publication officielle === */
.pub-btn-official {
    background-color: #2c3c3d;
    color: #ffffff !important;
    border: none;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
}
.pub-btn-official:hover {
    background-color: #3d5254;
    color: #ffffff !important;
    text-decoration: none;
}
/* === Tooltip CSS === */
.pub-tooltip {
    position: relative;
    cursor: help;
    border-bottom: none;
}
.pub-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3c3d;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
}
.pub-tooltip:hover::after {
    opacity: 1;
}
/* === Styles wall-entry déplacés depuis inline === */
.pub-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 4px;
    margin-bottom: 4px;
    border: 1px solid #2c3c3d;
    background: transparent;
    color: #2c3c3d;
}
.pub-badge-type { background: #2c3c3d; color: #fff; border-color: #2c3c3d; }
.pub-badge-available { background: #2c3c3d; color: #fff; border-color: #2c3c3d; font-size: 11px; }
.pub-badge-keyword { border-color: #ffffff; font-weight: 400; font-size: 12px; }
.pub-doi { font-size: 12px; color: #2c3c3d; margin-left: 4px; }
.pub-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 10px 0 6px 0; line-height: 1.4; }
.pub-keywords { margin: 4px 0 10px 0; line-height: 1.8; }
.pub-authors { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 15px; margin-bottom: 12px; font-size: 13px; }
.pub-author-item { display: inline-flex; align-items: center; gap: 5px; }
.pub-author-item img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.pub-author-separator { color: #ffffff; font-size: 12px; }
.pub-author-ellipsis { color: #888; font-weight: 600; }
.pub-author-link { color: #2c3c3d; text-decoration: none; font-weight: 500; }
.pub-author-link:hover { text-decoration: underline; }
.pub-author-nolink { color: #2c3c3d; }
.pub-section-header {
    display: flex; align-items: center; cursor: pointer;
    padding: 8px 0; margin-top: 8px; border-top: 1px solid #eee; user-select: none;
}
.pub-section-header:hover { background: #fafafa; }
.pub-section-bar { width: 4px; height: 18px; background: #2c3c3d; border-radius: 2px; margin-right: 10px; flex-shrink: 0; }
.pub-section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #2c3c3d; flex-grow: 1; }
.pub-section-toggle { font-size: 12px; color: #aaa; }
.pub-section-body { padding: 10px 0 4px 14px; font-size: 14px; color: #333; line-height: 1.6; }
.pub-pls-header { display: flex; align-items: center; margin: 6px 0; }
.pub-pls-bar { width: 4px; height: 18px; background: #2c3c3d; border-radius: 2px; margin-right: 10px; }
.pub-pls-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #2c3c3d; }
.pub-pls-text { font-size: 14px; color: #333; line-height: 1.6; padding-left: 14px; margin-bottom: 8px; }
.pub-tc-table { width: 100%; font-size: 13px; }
.pub-tc-table td { padding: 4px 8px; vertical-align: top; }
.pub-tc-table td:first-child { font-weight: 600; color: #555; width: 35%; }
.pub-tc-confidence { display: inline-block; font-size: 10px; padding: 1px 5px; border-radius: 3px; margin-left: 4px; }
.pub-tc-confidence-high   { background: #eafaf1; color: #1e8449; }
.pub-tc-confidence-medium { background: #fef9e7; color: #b7950b; }
.pub-tc-confidence-low    { background: #fdedec; color: #c0392b; }
.pub-file-list { list-style: none; padding: 0; margin: 4px 0; }
.pub-file-list li { margin-bottom: 4px; }
.pub-file-list a { color: #2c3c3d; text-decoration: none; }
.pub-file-list a:hover { text-decoration: underline; }
.pub-file-cat-label { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: #555; margin: 8px 0 4px 0; }
/* === PEOPLE ROWS (Journal, Editors, Partners, Ack) === */
.pub-people-row { margin-bottom: 10px; }
.pub-people-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: #555; margin: 8px 0 4px 0; }
.pub-people-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pub-person-item { display: inline-flex; align-items: center; gap: 5px; }
.pub-person-item img { width: 22px !important; height: 22px !important; border-radius: 50% !important; object-fit: cover !important; }
.pub-person-noimg { width: 22px; height: 22px; border-radius: 50%; background: #e8e4e0; display: inline-flex; align-items: center; justify-content: center; color: #999; font-size: 11px; }
.pub-person-name { color: #2c3c3d; font-size: 13px; font-weight: 500; }
a.pub-person-name { text-decoration: none; }
a.pub-person-name:hover { text-decoration: underline; }

/* === PUBLICATIONS LIÉES — bullet === */
.pub-related-item { display: flex; align-items: center; margin-bottom: 6px; gap: 6px; overflow: hidden; }
.pub-related-bullet { color: #2c3c3d; font-size: 14px; flex-shrink: 0; }
.pub-related-content { display: flex; align-items: center; gap: 4px; overflow: hidden; font-size: 13px; min-width: 0; }
.pub-related-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.pub-related-year { flex-shrink: 0; color: #888; font-size: 12px; white-space: nowrap; }
