#research-papers [hidden] { display: none !important; }
#research-papers .paper-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
#research-papers .paper-tabs button { border: 1px solid #ccd5de; border-radius: 8px; padding: .55rem .8rem; background: #fff; color: #334155; font: inherit; font-size: .85em; cursor: pointer; }
#research-papers .paper-tabs button[aria-selected="true"] { background: #234e70; border-color: #234e70; color: #fff; }
#research-papers :focus-visible { outline: 3px solid #59a6d9; outline-offset: 3px; }
#research-papers .paper-legend { color: #666; font-size: .8em; }
#research-papers .paper-section h2 { margin-top: 1.4rem; font-size: 1.2em; }
#research-papers .paper-group h3 { font-size: .9em; color: #526578; margin: 1rem 0 .5rem; }
#research-papers .paper-list { list-style: none; padding: 0; margin: 0; }
#research-papers .paper-card { display: flex; align-items: center; gap: 1.3rem; padding: 1.2rem; margin: 0 0 1.2rem; border: 0; border-radius: 14px; background: #eaf3fc; box-shadow: none; }
#research-papers .paper-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1rem; }
#research-papers .paper-filters button { border: 0; border-radius: 20px; padding: .4rem .8rem; background: #eef4fa; color: #35516b; font: inherit; font-size: .8em; cursor: pointer; }
#research-papers .paper-filters button[aria-pressed="true"] { background: #d5e8fa; color: #173f65; font-weight: 700; }
#research-papers .paper-filters button:disabled { opacity: .4; cursor: not-allowed; }
#research-papers .paper-figure { flex: 0 0 28%; display: block; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: white; box-shadow: 0 2px 6px #0000000a; }
#research-papers .paper-figure img { display: block; width: 100%; height: auto; max-height: 250px; object-fit: contain; margin: 0; }
#research-papers .paper-content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#research-papers .paper-title { font-weight: 700; font-size: 1.05em; line-height: 1.45; margin-bottom: .55rem; color: #20252b; }
#research-papers .paper-authors { color: #666970; font-size: .9em; line-height: 1.65; margin-bottom: .5rem; }
#research-papers .paper-authors em { font-style: normal; }
#research-papers .paper-authors strong { color: #aa3d2e; }
#research-papers .paper-venue { font-size: .85em; color: #59616c; margin-bottom: .55rem; }
#research-papers .paper-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; font-size: .88em; line-height: 1.5; }
#research-papers .paper-links a { color: #28619b; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; margin: 0; text-decoration: none; }
#research-papers .paper-links a:hover { color: #164675; text-decoration: underline; }
#research-papers .paper-content img { display: inline-block; vertical-align: middle; }
#research-papers .paper-links .paper-brand-link { white-space: nowrap; }
#research-papers .paper-links a > img { display: block; margin: 0; }
#research-papers .paper-link-label { display: block; font: inherit; line-height: 20px; }
#research-papers .paper-link-symbol { display: flex; align-items: center; justify-content: center; flex: 0 0 13px; width: 13px; height: 13px; font-size: 13px; line-height: 1; }
#research-papers .paper-links .paper-brand-icon { flex: 0 0 13px; width: 13px; height: 13px; max-width: 13px; max-height: 13px; object-fit: contain; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
#research-papers .paper-figure { cursor: zoom-in; }
#research-papers .paper-image-viewer { border: 0; border-radius: 16px; padding: 48px 20px 20px; max-width: 94vw; max-height: 94vh; background: #f7fbff; box-shadow: 0 16px 80px #102b4d55; }
#research-papers .paper-image-viewer::backdrop { background: rgba(15, 30, 50, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#research-papers .paper-image-viewer img { display: block; width: auto; height: auto; max-width: 88vw; max-height: 80vh; object-fit: contain; margin: 0 auto; }
#research-papers .paper-image-close { position: absolute; top: 8px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #dfecf8; color: #24435f; font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  #research-papers .paper-card { flex-direction: column; align-items: stretch; padding: 1rem; }
  #research-papers .paper-figure { flex: auto; width: 100%; max-width: 320px; }
  #research-papers .paper-figure img { height: 180px; }
}
