/* Literature workspace: uses the site's existing typography, color and components. */
.ls-help { max-width: 70em; color: var(--ink-2); font-size: 15px; }
.ls-help summary { width: fit-content; cursor: pointer; color: var(--db-ink); font-weight: 600; }
.ls-help ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 22px; line-height: 1.6; }
.ls-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.ls-filters label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.ls-filters input, .ls-filters select { min-height: 42px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.ls-filters input { width: 130px; }
.ls-results { margin-top: 28px; }
#ls-results-section[aria-busy="true"] #ls-results { opacity: .5; }
.ls-paper { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.ls-paper h3 { margin: 0; font: 700 22px/1.3 var(--f-display); letter-spacing: -.015em; }
.ls-paper h3 button { padding: 0; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ls-paper h3 button:hover { text-decoration: underline; text-decoration-color: var(--db); text-underline-offset: 4px; }
.ls-paper h3 .ls-pdf, #ls-detail h1 .ls-pdf { display: inline; padding: 4px 2px; margin-left: 4px; border: 0; background: none; color: var(--link); font: 600 15px/1.4 var(--f-body); letter-spacing: 0; vertical-align: baseline; white-space: nowrap; cursor: pointer; }
.ls-pdf:hover { text-decoration: underline; text-underline-offset: 3px; }
.ls-pdf:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.ls-pdf:disabled { cursor: wait; opacity: .6; }
.ls-download-status { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--db); background: var(--surface); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ls-meta { color: var(--ink-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ls-abstract { font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.ls-evidence, .ls-links { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.ls-evidence .chip { white-space: normal; }
#ls-detail { display: grid; gap: 24px; min-width: 0; }
#ls-detail h1 { font: 700 clamp(26px, 4vw, 42px)/1.2 var(--f-display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.ls-section { display: grid; gap: 12px; }
.ls-section h2 { font: 700 24px/1.3 var(--f-display); }
.ls-processes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.ls-process { padding: 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); overflow-wrap: anywhere; }
.ls-process .kv-list { grid-template-columns: minmax(100px, auto) minmax(0, 1fr); font-size: 14px; }
@media (max-width: 600px) { .ls-paper h3 { font-size: 20px; } .ls-filters { gap: 10px; } .ls-filters input { width: 105px; } }
