.sww-openalex { margin: 18px 0; border: 1px solid #ded7e8; border-radius: 8px; color: #292431; background: #fff; font-size: 13px; }
.sww-openalex > summary { padding: 12px; font-weight: 650; font-size: 15px; cursor: pointer; }
.sww-openalex summary { position: relative; padding-right: 24px; list-style: none; }
.sww-openalex summary::-webkit-details-marker { display: none; }
.sww-openalex summary::after { content: ""; position: absolute; right: 4px; top: 13px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sww-openalex > summary::after { top: 17px; right: 12px; }
.sww-openalex[open] > summary::after, .sww-openalex details[open] > summary::after { transform: rotate(225deg); }
.sww-openalex summary:focus-visible { outline: 2px solid #642aa2; outline-offset: 2px; }
.sww-openalex-content { padding: 0 12px 13px; }
.sww-openalex-intro, .sww-openalex-date { color: #62596d; line-height: 1.5; }
.sww-openalex-metrics { margin: 12px 0; }
.sww-openalex-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; border-bottom: 1px solid #eee9f3; }
.sww-openalex-metrics dt { font-weight: 400; overflow-wrap: anywhere; }
.sww-openalex-metrics dd { margin: 0; font-weight: 650; text-align: right; }
.sww-openalex-chart { margin: 16px 0 6px; }
.sww-openalex-chart figcaption { font-weight: 600; }
.sww-openalex-chart svg { display: block; width: 100%; height: auto; }
.sww-openalex-chart rect { fill: #7245a3; }
.sww-openalex-chart line { stroke: #8c8197; }
.sww-openalex-chart text { fill: currentColor; font-size: 12px; }
.sww-openalex-table summary, .sww-openalex-help summary { cursor: pointer; padding: 8px 24px 8px 0; color: #542788; }
.sww-openalex table { width: 100%; border-collapse: collapse; font-size: inherit; table-layout: fixed; }
.sww-openalex th, .sww-openalex td { padding: 5px 2px; border-bottom: 1px solid #ded7e8; text-align: right; overflow-wrap: anywhere; }
.sww-openalex th:first-child { text-align: left; }
.sww-openalex-date { margin: 10px 0 0; font-size: 12px; }
.sww-openalex-help p { line-height: 1.55; }
.sww-openalex-source { display: inline-block; margin-top: 6px; }
html[data-sww-contrast="high"] .sww-openalex-chart rect { fill: #ffeb00 !important; }
html[data-sww-contrast="high"] .sww-openalex-chart line { stroke: #fff !important; }
html[data-sww-contrast="high"] .sww-openalex-chart text { fill: #fff !important; }
@media (forced-colors: active) { .sww-openalex-chart rect { fill: Highlight; } .sww-openalex-chart line { stroke: CanvasText; } .sww-openalex-chart text { fill: CanvasText; } }
@media (max-width: 767px) { .sww-openalex { margin: 10px 0 16px; } }
