.news-toggle {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #08338f;
    cursor: pointer;
}

.news-toggle:focus-visible {
    outline: 1px dashed rgba(8, 51, 143, 0.7);
}

.bibtex-toggle {
    margin-top: 0;
    border: none;
    background: none;
    color: #08338f;
    font: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    display: inline;
}

.bibtex-toggle:hover,
.bibtex-toggle:focus-visible {
    text-decoration: underline;
    color: #f09228;
}

.pub_selected,
.pub_all {
    table-layout: fixed;
}

.pub_selected td:first-child,
.pub_all td:first-child {
    width: 30%;
}

.pub_selected td:last-child,
.pub_all td:last-child {
    width: 70%;
    min-width: 0;
}

.pub-controls {
    font-size: 24px;
    margin-left: 12px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pub-control-btn {
    border: none;
    background: none;
    color: #08338f;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

.pub-control-btn.active {
    text-decoration: underline;
}

.pub-controls-separator,
.pub-controls-divider {
    color: #08338f;
}

.bibtex-content {
    display: none;
    margin: 8px 0 0;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background: #f8f8f8;
    border: 1px solid rgba(8, 51, 143, 0.2);
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

.bibtex-scroll {
    max-height: 220px;
    overflow: auto;
}

.bibtex-scroll pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre;
    width: max-content;
    min-width: 100%;
}

.bibtex-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border: none;
    background: #08338f;
    color: white;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
}

.bibtex-content[aria-hidden="false"] {
    display: block;
}
