.lx-library {
    --lx-ink: #1c3043;
    --lx-muted: #556a80;
    --lx-blue: #145eb9;
    --lx-line: #dce6ef;
    --lx-wash: #f4f6f8;
    --lx-white: #fff;
    background: var(--lx-wash);
    color: var(--lx-ink);
    padding: 12px 0 52px;
    font: 14px/1.6 "Microsoft YaHei", "PingFang SC", sans-serif;
}
.lx-library *, .lx-library *::before, .lx-library *::after { box-sizing: border-box; }
.lx-library h1, .lx-library h2, .lx-library h3, .lx-library p { margin: 0; color: inherit; font-family: inherit; }
.lx-library button, .lx-library input, .lx-library select { font: inherit; }
.lx-library [hidden] { display: none !important; }
.lx-library button:disabled { opacity: .55; cursor: wait; }
.lx-library :focus, body:has(.lx-library) #course_login_modal :focus { outline: none; box-shadow: none; }
.lx-library :is(button, a, summary):focus-visible, body:has(.lx-library) #course_login_modal :is(a, button):focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.lx-library :is(input, textarea):focus-visible, body:has(.lx-library) #course_login_modal input:focus-visible { background-color: #f2f7fd; }
.lx-container { width: calc(100% - 56px); max-width: 1180px; margin-inline: auto; }
.lx-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.main-menu .lx-nav-entry {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #154b83;
    font-weight: 700;
}
.lx-brand-mark {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #d3e5f3;
    border-radius: 12px;
    background: #e9f3fc;
    color: #154f89;
    font-size: 20px;
    line-height: 1;
}
.lx-nav-entry .lx-brand-mark { width: 24px; height: 24px; border-radius: 6px; font-size: 12px; }
.lx-heading { margin-bottom: 20px; border-bottom: 1px solid #d7dfe7; }
.lx-quick-nav { display: flex; align-items: stretch; gap: 32px; }
.lx-quick-nav button { position: relative; padding: 13px 0 15px; border: 0; background: transparent; color: var(--lx-muted); font-size: 15px; white-space: nowrap; }
.lx-quick-nav button:hover, .lx-quick-nav button[aria-pressed="true"] { color: var(--lx-blue); }
.lx-quick-nav button[aria-pressed="true"] { font-weight: 700; }
.lx-quick-nav button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; border-radius: 3px; background: currentColor; }
.lx-subscription-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 30%, 356px); gap: 22px; align-items: start; reading-flow: grid-rows; }
.lx-account-panel { grid-column: 2; grid-row: 1; }
.lx-main-column { min-width: 0; grid-column: 1; grid-row: 1; }
.lx-library .lx-primary, .lx-library .lx-secondary {
    border: 1px solid var(--lx-blue);
    border-radius: 6px;
    background: var(--lx-blue);
    color: white;
    padding: 6px 13px;
    font-weight: 600;
    white-space: nowrap;
}
.lx-library .lx-primary:hover { background: #0b4d9d; }
.lx-library .lx-secondary { border-color: #c7d9ed; background: white; color: var(--lx-blue); }
.lx-library .lx-secondary:hover { background: #edf5ff; border-color: #8eb6e4; }
.lx-library .lx-link { color: var(--lx-blue); background: none; border: none; padding: 0; font-weight: 600; }
.lx-library .lx-link:hover { text-decoration: underline; }
.lx-library .lx-muted { color: var(--lx-muted); }
.lx-library .lx-muted:empty { display: none; }
.lx-workspace, .lx-section, .lx-feature { background: var(--lx-white); border: 1px solid var(--lx-line); border-radius: 10px; padding: 22px 24px; margin-bottom: 18px; }
.lx-workspace { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; }
.lx-workspace:has(.lx-followed:empty) { justify-content: flex-start; gap: 8px; }
.lx-followed:empty { display: none; }
.lx-followed-reading .lx-workspace { background: #f9fbfd; margin-bottom: 0; border-radius: 10px 10px 0 0; }
.lx-followed-reading .lx-feed { border-top: 0; border-radius: 0 0 10px 10px; }
.lx-reading-nav { display: flex; align-items: baseline; min-width: 0; gap: 8px; }
.lx-reading-nav [data-direction] { border: 0; border-radius: 6px; min-height: 36px; padding: 6px 15px; background: transparent; color: #405368; white-space: nowrap; font-size: 14px; }
.lx-reading-nav [data-direction]:hover, .lx-followed-chip:is(:hover, :focus-within) .lx-chip-name { background: #edf2f7; color: var(--lx-blue); }
.lx-reading-nav [data-direction][aria-pressed="true"] { background: #e6effa; color: #174e85; font-weight: 700; }
.lx-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }
.lx-section-heading h2 { color: var(--lx-ink); font-size: 19px; line-height: 1.4; font-weight: 700; }
.lx-section-heading p { font-size: 13px; margin-top: 3px; }
.lx-department-grid { display: grid; gap: 10px; }
.lx-department-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lx-feature-card { display: flex; flex-direction: column; padding: 8px 16px; border-left: 1px solid var(--lx-line); }
.lx-feature { display: flex; flex-direction: column; min-height: 520px; background: linear-gradient(180deg, #eef4fa, #fff 115px); }
.lx-feature .lx-section-heading .lx-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; }
.lx-feature .lx-section-heading .fa-chevron-right { font-size: 10px; }
.lx-feature-heading-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.lx-feature-heading-copy p { color: #60758a; font-size: 12px; font-weight: 400; }
.lx-meta, .lx-rec-item-meta { font-size: 12px; }
.lx-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--lx-muted); margin-bottom: 5px; }
.lx-meta span:first-child { color: #345778; font-weight: 600; }
.lx-feature-card h3 { font: 600 16px/1.55 "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
.lx-ai-label { display: inline-block; vertical-align: .12em; margin-right: 6px; padding: 1px 5px; border-radius: 4px; color: #235f95; background: #eaf3fb; font: 600 11px/1.6 "Microsoft YaHei", sans-serif; }
.lx-rec-points { margin-top: 9px; color: var(--lx-muted); font-size: 13px; line-height: 1.65; }
.lx-rec-points summary { cursor: pointer; color: var(--lx-blue); }
.lx-rec-points ul { margin: 6px 0 0; padding-left: 16px; list-style: disc; }
.lx-rec-points li + li { margin-top: 4px; }
.lx-feature-card .lx-meta { display: grid; gap: 1px; margin-bottom: 7px; }
.lx-journal-metrics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 6px 0; font: 12px/1.6 Arial, "Microsoft YaHei", sans-serif; }
.lx-journal-metric { padding: 1px 6px; border-radius: 4px; background: #edf4f7; color: #375b69; }
.lx-journal-metric[data-metric="if"] { background: #e2efff; color: #205393; }
.lx-journal-metric[data-metric="jcr"] { background: #ddf4ee; color: #176452; }
.lx-journal-metric[data-metric="cas-major"] { background: #ede7fb; color: #584184; }
.lx-journal-metric[data-metric="cas-minor"] { background: #f9e8f1; color: #803e62; }
.lx-journal-metric[data-metric="top"] { background: #ffedcb; color: #794b0e; font-weight: 600; }
.lx-journal-metrics details[open] { flex-basis: 100%; }
.lx-journal-metrics summary { cursor: pointer; color: var(--lx-blue); }
.lx-journal-metrics ul { padding-left: 18px; margin: 5px 0; color: var(--lx-muted); }
.lx-feature-card .lx-paper-actions { margin-top: auto; padding-top: 10px; }
.lx-rec-directions { display: flex; flex: none; flex-wrap: wrap; align-items: center; gap: 5px; margin: -2px 0 14px; padding-bottom: 11px; border-bottom: 1px solid #e5ebf1; }
.lx-rec-directions button { border: 0; border-radius: 5px; padding: 5px 10px; color: #506579; background: transparent; font-size: 12px; white-space: nowrap; }
.lx-rec-directions button:hover { background: #eff4f9; color: var(--lx-blue); }
.lx-rec-directions button[aria-pressed="true"] { background: #e8f1fa; color: #174e85; font-weight: 600; }
.lx-rec-reader { display: grid; flex: 1 0 auto; padding-inline: var(--lx-list-left, 0) var(--lx-list-right, 0); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.lx-rec-column { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0 20px; }
.lx-rec-column:first-child { padding-left: 0; }
.lx-rec-column + .lx-rec-column { border-left: 1px solid var(--lx-line); }
.lx-rec-column:last-child { padding-right: 0; }
.lx-rec-column .lx-rec-column-heading { display: flex; align-items: center; gap: 7px; min-height: 22px; margin: 0 0 7px; color: #314a62; font-size: 13px; font-weight: 700; }
.lx-rec-column-heading i { font-size: 15px; color: var(--lx-blue); }
.lx-rec-column--hot .lx-rec-column-heading i { color: #b55d28; }
.lx-rec-list { display: grid; grid-auto-rows: 66px; }
.lx-rec-entry + .lx-rec-entry { border-top: 1px solid #edf1f5; }
.lx-rec-item { display: grid; align-content: center; gap: 2px; width: 100%; height: 100%; min-width: 0; padding: 2px 10px; border: 0; border-radius: 5px; background: transparent; color: #425569; text-align: left; cursor: pointer; }
.lx-rec-item-title, .lx-paper h3 { font: 600 15px/1.4 Arial, "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
.lx-rec-item-title { overflow: hidden; color: #344b62; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.lx-rec-item-meta { overflow: hidden; color: var(--lx-muted); line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.lx-rec-item:hover, .lx-rec-item:focus-visible { outline: none; background: #edf4fa; }
.lx-rec-item:hover .lx-rec-item-title, .lx-rec-item:focus-visible .lx-rec-item-title { color: #174e85; }
.lx-rec-item.is-previewed { background: #f1f6fa; }
.lx-rec-item[aria-pressed="true"] { background: #e4eef9; color: #174e85; }
.lx-rec-preview { position: fixed; width: var(--lx-preview-width); box-sizing: border-box; z-index: 40; padding: 12px 16px; border: 1px solid #d5e1ed; border-radius: 8px; background: #fff; box-shadow: 0 6px 22px rgba(39, 65, 90, .14); }
.lx-rec-preview:is([data-side="left"], [data-side="right"])::before { content: ""; position: absolute; top: calc(var(--lx-pointer-y) - 5px); width: 9px; height: 9px; background: #fff; border: solid #d5e1ed; border-width: 1px 1px 0 0; }
.lx-rec-preview[data-side="left"]::before { right: -5px; transform: rotate(45deg); }
.lx-rec-preview[data-side="right"]::before { left: -5px; transform: rotate(-135deg); }
.lx-rec-preview:is([data-side="left"], [data-side="right"])::after { content: ""; position: absolute; top: calc(var(--lx-pointer-y) - 18px); width: 9px; height: 36px; }
.lx-rec-preview[data-side="left"]::after { left: 100%; }
.lx-rec-preview[data-side="right"]::after { right: 100%; }
.lx-preview-dismiss { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 4px; color: var(--lx-muted); background: transparent; }
.lx-preview-dismiss:is(:hover, :focus-visible) { color: var(--lx-blue); background: #edf4fa; }
.lx-preview-bar { display: flex; align-items: baseline; justify-content: space-between; color: #60758a; font-size: 11px; }
.lx-preview-bar strong { color: #345777; font-size: 12px; }
.lx-preview-body { margin-top: 5px; overflow-wrap: anywhere; }
.lx-rec-preview.is-condensed :is(.lx-feature-card h3, .lx-rec-points p, .lx-rec-points li) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.lx-rec-preview.is-condensed .lx-rec-points li { -webkit-line-clamp: 2; }
.lx-rec-preview.is-condensed .lx-rec-points li:nth-child(n+4) { display: none; }
.lx-rec-preview.is-brief .lx-rec-points { display: none; }
.lx-rec-preview[hidden], .lx-rec-preview:not([data-item]) { display: none; }
.lx-preview-body .lx-feature-card { padding: 0; border: 0; }
.lx-preview-body .lx-feature-card h3 { margin-bottom: 3px; font-size: 14px; line-height: 1.5; }
.lx-preview-body .lx-meta { display: flex; gap: 4px 9px; margin: 0; }
.lx-preview-body .lx-rec-points { margin: 5px 0; font-size: 12px; line-height: 1.7; color: var(--lx-muted); }
.lx-preview-body .lx-paper-actions { margin-top: 4px; padding: 0; }
.lx-rec-empty { margin: 5px 0; color: var(--lx-muted); font-size: 12px; }
.lx-paper-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 12px; margin-top: 9px; }
.lx-paper-actions button, .lx-paper-actions a { border: 0; background: none; color: var(--lx-blue); padding: 0; text-decoration: none; font-weight: 600; }
.lx-paper-actions button:hover, .lx-paper-actions a:hover { text-decoration: underline; }
.lx-paper-actions [aria-pressed="true"] { color: #315d58; }
.lx-department { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: white; border: 1px solid var(--lx-line); text-align: left; color: var(--lx-ink); border-radius: 6px; padding: 8px 12px; min-height: 55px; }
.lx-department:hover, .lx-department[aria-pressed="true"] { background: #f0f7ff; border-color: #a8c7ed; }
.lx-department strong, .lx-department small { display: block; }
.lx-department small, .lx-department-action { font-size: 12px; color: var(--lx-muted); }
.lx-department-action { color: var(--lx-blue); flex-shrink: 0; }
.lx-library .lx-show-directions { display: flex; align-items: center; gap: 8px; margin: 16px auto 0; padding: 5px 16px; border: 1px solid #cfdeec; border-radius: 18px; background: #f7fafd; color: var(--lx-blue); font-size: 13px; }
.lx-show-directions:is(:hover, :focus-visible) { background: #eaf3fc; border-color: #9cbbda; }
.lx-show-directions i { --lx-arrow-travel: 3px; display: inline-block; font-size: 13px; transition: transform 220ms ease-in-out; animation: lx-direction-bounce 1.5s ease-in-out infinite; }
.lx-show-directions[aria-expanded="true"] i { --lx-arrow-travel: -3px; transform: rotate(180deg); }
@keyframes lx-direction-bounce {
    0%, 60%, 100% { translate: 0 0; }
    30% { translate: 0 var(--lx-arrow-travel); }
}
@media (prefers-reduced-motion: reduce) {
    .lx-show-directions i { transition: none; animation: none; }
}
#lx-adjust-directions { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 4px 6px; background: transparent; color: var(--lx-muted); font-size: 13px; font-weight: 400; }
#lx-adjust-directions:hover { background: #edf4fc; color: var(--lx-blue); }
.lx-account-panel { min-width: 0; }
.lx-account-panel .lx-section-heading .lx-secondary { font-size: 12px; padding: 4px 9px; }
.lx-account-panel .lx-subscriptions { margin-top: 12px; }
.lx-account-panel .lx-subscription:has([aria-pressed="true"]) { background: #f1f6fd; border-color: #c6d9ef; }
.lx-subscription .lx-remove { flex-shrink: 0; white-space: nowrap; }
.lx-account-panel > .lx-muted { margin: 8px 0 0; }
.lx-followed { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 8px; }
.lx-followed-chip { display: inline-flex; position: relative; }
.lx-followed-chip .lx-chip-unfollow { position: absolute; top: -4px; right: -1px; display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1px solid #d5dfe8; border-radius: 50%; background: white; color: #566b7f; font: 12px/1 Arial, sans-serif; opacity: 0; pointer-events: none; }
.lx-followed-chip:is(:hover, :focus-within) .lx-chip-unfollow { opacity: 1; pointer-events: auto; }
.lx-chip-unfollow:not(:disabled):is(:hover, :focus-visible) { color: #992e2b; background: #fff0ee; }
.lx-followed-status { display: flex; align-items: center; gap: 7px; color: var(--lx-muted); }
.lx-subscriptions { display: grid; gap: 7px; }
.lx-subscription { display: flex; align-items: center; gap: 16px; padding: 8px 10px; border: 1px solid var(--lx-line); border-radius: 6px; }
.lx-subscription > button:first-child { flex: 1; text-align: left; background: transparent; border: none; padding: 0; color: var(--lx-ink); overflow-wrap: anywhere; }
.lx-subscription > button:first-child[aria-pressed="true"] { color: var(--lx-blue); }
.lx-subscription strong, .lx-subscription small { display: block; }
.lx-subscription small { color: var(--lx-muted); }
.lx-remove { border: 0; color: #5b6876; background: none; }
.lx-remove:hover { color: #972b2b !important; text-decoration: underline; }
.lx-feed { padding-top: 16px; }
.lx-filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding-bottom: 14px; }
.lx-filter-fields, .lx-filter-display { display: flex; align-items: center; }
.lx-filter-fields { padding: 2px; background: #f5f8fb; border: 1px solid var(--lx-line); border-radius: 8px; }
.lx-filter-display { gap: 2px; margin-left: auto; }
.lx-filters label { position: relative; margin: 0; }
.lx-filter-fields label + label::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: #d3dfe9; pointer-events: none; }
.lx-filters label::after { content: ""; position: absolute; top: 50%; right: 12px; width: 6px; height: 6px; border: solid #63788b; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lx-filters select { display: block !important; appearance: none; height: 32px; max-width: 15em; padding: 0 29px 0 12px; border: 0; border-radius: 5px; color: #344c62; background: transparent; font-size: 13px; cursor: pointer; text-overflow: ellipsis; }
.lx-filters select:is(:hover, :focus-visible), .lx-filter-reset:is(:hover, :focus-visible) { background: #e8f0f8; color: var(--lx-blue); }
.lx-filter-fields select:has(option:checked:not(:first-child)) { background: #e3eefb; color: #174e85; }
.lx-filters :is(select, option, button):focus { outline: none; box-shadow: none; }
@supports (appearance: base-select) and selector(::picker(select)) {
    .lx-filters select, .lx-filters select::picker(select) { appearance: base-select; }
    .lx-filters select { align-content: center; text-align: left; }
    .lx-filters select::picker-icon { display: none; }
    .lx-filters select:open { background: #e7effa; color: #174e85; }
    .lx-filters label:has(select:open)::after { border-color: #1968d2; transform: translateY(-25%) rotate(225deg); }
    .lx-filters select::picker(select) {
        min-width: max(154px, anchor-size(width));
        max-height: min(330px, 60vh);
        margin-block: 5px;
        padding: 5px;
        overflow-y: auto;
        border: 1px solid #d2deeb;
        border-radius: 9px;
        background: #fff;
        box-shadow: 0 6px 20px rgb(22 48 78 / 13%);
        color: #26394e;
        font: 13px/1.5 "Microsoft YaHei", sans-serif;
    }
    .lx-filter-display select::picker(select) { min-width: 108px; }
    .lx-filters option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 33px;
        padding: 5px 10px;
        border-radius: 5px;
        background: white;
        color: #344c62;
        cursor: pointer;
    }
    .lx-filters option::checkmark { order: 1; color: #1968d2; }
    .lx-filters option:is(:hover, :focus-visible) { background: #f1f5fa; }
    .lx-filters option:checked { background: #eaf2ff; color: #174e85; font-weight: 600; }
}
.lx-filter-reset { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 6px; border: 1px solid var(--lx-line); border-radius: 7px; background: white; color: #526b81; cursor: pointer; }
.lx-filters .nice-select { display: none !important; }
.lx-paper { padding: 19px 0; border-top: 1px solid #e1e7ed; }
.lx-paper:last-child { padding-bottom: 4px; }
.lx-paper .lx-alternate-title { margin-top: 3px; font-size: 13px; }
.lx-paper-summary { margin-top: 5px !important; }
.lx-paper details { color: var(--lx-muted); font-size: 13px; margin-top: 8px; }
.lx-paper summary { color: var(--lx-blue); cursor: pointer; }
.lx-paper details ul { padding-left: 20px; margin: 4px 0; }
.lx-load-area:not(:has(button:not([hidden]))) { display: none; }
.lx-load-area { display: flex; align-items: center; gap: 16px; margin-top: 21px; }
.lx-load-area::before, .lx-load-area::after { content: ""; flex: 1; height: 1px; background: #e4ebf3; }
.lx-load-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 6px 12px; border: 0; background: transparent; color: #185998; font-size: 14px; cursor: pointer; }
.lx-load-more:is(:hover, :focus-visible) { color: #154e88; text-decoration: underline; text-underline-offset: 3px; }
.lx-load-more i { width: 1em; font-size: 13px; text-align: center; }
.lx-library .lx-load-more:disabled { color: #526b81; text-decoration: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .lx-load-more .fa-angles-down { --lx-arrow-travel: 3px; animation: lx-direction-bounce 1.5s ease-in-out infinite; }
    .lx-load-more .fa-spinner { animation: lx-load-spin .9s linear infinite; }
}
@keyframes lx-load-spin { to { transform: rotate(1turn); } }
.lx-feature-card h3 a, .lx-paper h3 a { color: inherit; text-decoration: none; }
.lx-feature-card h3 a:hover, .lx-paper h3 a:hover { color: var(--lx-blue); text-decoration: underline; }
.lx-detail { --lx-ink: #14213d; --lx-muted: #637083; --lx-blue: #1968d2; --lx-line: #cfdbeb; --lx-wash: #f5f8fb; }
.lx-detail-back { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 16px; color: var(--lx-muted); font-size: 13px; }
.lx-detail-back:hover { color: var(--lx-blue); }
.lx-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 30%, 356px); gap: 22px; align-items: start; }
.lx-detail-paper, .lx-detail-rail { border: 1px solid var(--lx-line); background: white; border-radius: 8px; box-shadow: 0 10px 24px rgb(15 45 84 / 6%); overflow-wrap: anywhere; }
.lx-detail-paper { padding: 24px 32px 32px; border-top: 3px solid var(--lx-blue); }
.lx-detail-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--lx-blue); font-weight: 600; }
.lx-detail-byline i { margin-right: 4px; }
.lx-detail-byline time { margin-left: auto; color: var(--lx-muted); font-size: 13px; font-weight: 400; }
.lx-detail-paper h1 { margin: 12px 0 10px; font: 600 22px/1.42 Arial, "Microsoft YaHei", sans-serif; color: var(--lx-ink); }
.lx-detail-authors { margin-top: 10px; color: #43526a; }
.lx-detail-authors details { display: inline; }
.lx-detail-authors summary { display: inline-block; margin-left: 4px; color: var(--lx-blue); cursor: pointer; }
.lx-detail-authors details[open] summary { display: block; margin-left: 0; }
.lx-detail-facts { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 10px; color: var(--lx-muted); font-size: 12px; }
.lx-detail-paper p a { color: var(--lx-blue); }
.lx-detail-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.lx-detail-actions :is(a,button) { display: inline-flex; align-items: center; gap: 8px; height: 36px; font-size: 13px; }
.lx-detail-actions a:hover { color: white; text-decoration: none; }
.lx-detail-actions [role=status] { font-size: 13px; color: var(--lx-muted); }
#lx-citation-text { width: 100%; margin-top: 10px; padding: 8px; }
.lx-detail-paper header { padding-bottom: 22px; border-bottom: 1px solid var(--lx-line); }
.lx-detail-section { margin-top: 22px; }
.lx-detail-section h2, .lx-detail-rail h2 { font: 600 17px/1.5 "Microsoft YaHei", sans-serif; }
.lx-detail-paper .lx-detail-text { margin-top: 8px; color: #35445b; font: 15px/1.8 Arial, "Microsoft YaHei", sans-serif; white-space: pre-line; }
.lx-detail-highlights { padding: 16px 20px; border-radius: 8px; background: #f2f7fd; }
.lx-detail-note-heading { display: flex; align-items: baseline; gap: 12px; }
.lx-detail-note-heading i { color: var(--lx-blue); font-size: 16px; }
.lx-detail-highlights small { color: var(--lx-muted); }
.lx-detail-highlights p, .lx-detail-highlights ul { margin: 8px 0 0; line-height: 1.8; }
.lx-detail-highlights ul { padding-left: 20px; list-style: disc; }
.lx-detail-highlights li::marker { color: var(--lx-blue); }
.lx-detail-rail, .lx-account-panel { padding: 0 18px; background: var(--lx-white); border-radius: 10px; }
.lx-account-panel { padding-bottom: 14px; }
.lx-detail-rail h2, .lx-account-panel .lx-section-heading { margin: 0 -18px; padding: 12px 18px; border-bottom: 1px solid var(--lx-line); border-radius: 10px 10px 0 0; background: #f3f7fc; }
.lx-detail-rail h2, .lx-account-panel h2 { font-size: 17px; }
.lx-detail-rail h2 { display: flex; align-items: center; gap: 9px; }
.lx-detail-rail h2 i { font-size: 17px; color: var(--lx-blue); }
.lx-detail-rail > ul { margin: 0; padding: 0; list-style: none; }
.lx-detail-rail > ul > li + li { border-top: 1px solid var(--lx-line); }
.lx-detail-rail .lx-feature-card { padding: 16px 0; border-left: 0; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.lx-detail-rail .lx-feature-card h3 { margin: 0; font-size: 15px; line-height: 1.6; }
.lx-detail-rail .lx-feature-card .lx-meta { display: flex; gap: 2px 8px; align-items: baseline; margin: 0; }
.lx-detail-rail .lx-meta time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lx-detail-rail .lx-feature-card .lx-journal-metrics { margin: 0; gap: 4px; font-size: 11px; }
.lx-detail-rail .lx-rec-points { margin-top: 2px; padding: 8px 10px; border-radius: 6px; background: #f5f8fb; }
.lx-detail-rail .lx-rec-points summary { font-weight: 600; font-size: 12px; }
.lx-detail-rail .lx-rec-points ul { list-style: none; padding: 0; margin-top: 5px; }
.lx-detail-rail .lx-rec-points li { font-size: 13px; line-height: 1.65; }
.lx-detail-rail .lx-rec-points li + li { margin-top: 5px; }
.lx-detail-rail .lx-rec-points strong { color: #384e65; font-weight: 600; }
.lx-detail-rail [role=status]:not(:empty) { margin: 14px 0 4px; color: var(--lx-muted); }
.lx-library .lx-data-note { color: var(--lx-muted); font-size: 12px; }
.lx-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 660px;
    height: fit-content;
    max-width: calc(100vw - 44px);
    max-height: calc(100vh - 60px);
    overflow: auto;
    padding: 20px 23px;
    border: 1px solid var(--lx-line);
    border-radius: 10px;
    color: var(--lx-ink);
    background: white;
}
.lx-dialog::backdrop { background: #152b46a1; }
.lx-dialog.lx-directions-dialog { width: 620px; }
.lx-direction-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: calc(100vh - 255px); overflow-y: auto; padding: 3px; }
.lx-direction-choices label { display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 10px; border: 1px solid var(--lx-line); border-radius: 6px; color: var(--lx-ink); cursor: pointer; }
.lx-direction-choices label:has(:checked) { border-color: #a8c7ed; background: #eff6ff; color: #174e8a; }
.lx-direction-choices label:has(:enabled):hover { border-color: #79a5d4; }
.lx-direction-choices label:has(:focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.lx-direction-choices label:has(:disabled:not(:checked)) { color: var(--lx-muted); background: #f7f9fc; cursor: default; }
.lx-direction-choices input { margin: 0; width: 16px; height: 16px; flex: none; accent-color: var(--lx-blue); }
.lx-directions-dialog .lx-dialog-footer { align-items: center; border-top: 1px solid var(--lx-line); padding-top: 12px; }
#lx-directions-count { margin-right: auto; color: var(--lx-muted); }
.lx-confirm-dialog { width: 390px; }
.lx-confirm-dialog .lx-section-heading { margin-bottom: 8px; }
.lx-library .lx-danger { border: 1px solid #a92e2b; background: #a92e2b; border-radius: 6px; color: white; padding: 6px 13px; font-weight: 600; white-space: nowrap; }
.lx-library .lx-danger:hover { background: #8d2525; }
.lx-subscription-dialog { width: 680px; padding: 0; overflow: hidden; box-shadow: 0 18px 60px #122a4830; }
.lx-subscription-dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 62px); }
.lx-subscription-dialog .lx-section-heading { margin: 0; padding: 15px 22px 10px; }
.lx-dialog .lx-close { color: var(--lx-muted); border: 0; background: none; font-size: 22px; line-height: 32px; width: 32px; border-radius: 5px; }
.lx-dialog .lx-close:hover { background: #edf3f8; }
.lx-form-fields { display: grid; gap: 13px; overflow: auto; min-height: 0; padding: 4px 22px 12px; }
.lx-form-fields > label, .lx-journal-picker > label { margin: 0; font-weight: 600; }
.lx-form-fields input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; height: 36px; margin: 4px 0 0; padding: 5px 10px; border: 1px solid var(--lx-line); border-radius: 7px; color: var(--lx-ink); background: #fff; font-weight: 400; }
.lx-form-fields small { display: block; margin-top: 4px; color: var(--lx-muted); font-weight: 400; }
.lx-form-fields p:empty, .lx-form-fields small:empty, .lx-journal-selection:empty { display: none; }
.lx-form-fields fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.lx-form-fields legend { font-size: inherit; font-weight: 600; margin-bottom: 4px; }
.lx-presets, .lx-journal-selection, .lx-choice-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.lx-presets button { border: 1px solid var(--lx-line); border-radius: 16px; padding: 3px 11px; color: #294a6a; background: #fff; font-weight: 600; font-size: 13px; }
.lx-presets button:hover, .lx-presets button[aria-pressed="true"] { border-color: #95bce5; color: var(--lx-blue); background: #eaf4ff; }
.lx-choice-grid label { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.lx-choice-grid input { accent-color: var(--lx-blue); }
.lx-partition-options { margin-top: 8px; }
.lx-partition-header { min-height: 24px; }
.lx-journal-results, .lx-subject-results { max-height: 156px; overflow: auto; margin-top: 4px; background: #f6f9fc; border: 1px solid var(--lx-line); border-radius: 6px; }
.lx-journal-results button, .lx-subject-results label { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 8px; border: 0; margin: 0; padding: 5px 10px; color: var(--lx-ink); background: transparent; text-align: left; }
.lx-subject-results label { justify-content: flex-start; cursor: pointer; }
.lx-journal-results button:hover, .lx-subject-results label:hover { background: #eaf4ff; }
.lx-journal-results p, .lx-subject-results p { padding: 6px 10px; }
.lx-journal-selection { margin-top: 7px; }
.lx-journal-selection button { border: 1px solid var(--lx-line); border-radius: 6px; padding: 2px 8px; background: #f1f6fb; color: #294a6a; font-size: 12px; text-align: left; }
.lx-subscription-preview { background: #f1f7ff; color: #234e7a; border-radius: 7px; padding: 8px 11px; }
.lx-dialog-footer { display: flex; justify-content: end; gap: 8px; margin-top: 12px; }
.lx-subscription-dialog .lx-dialog-footer { margin: 0; border-top: 1px solid #edf2f7; padding: 12px 22px 15px; }
.lx-library .lx-form-error { color: #9c2424; margin-top: 5px; }
.lx-toast { position: fixed; z-index: 1100; right: 32px; bottom: 30px; background: #1e3753; color: white; padding: 9px 14px; border-radius: 6px; box-shadow: 0 4px 14px #0d223530; }

@media (min-width: 1024px) and (max-width: 1500px) {
    .lx-container { width: calc(100% - 226px); }
    body:has(.lx-library) .floating-sidebar { right: 18px; }
}
