/* Stage 2: optional variants. Legacy defaults retain the original composition. */
.lp-home .lp-board-native { padding:24px; }
.lp-hero-metric-note { margin-top:12px; font-size:.8rem; color:inherit; }
@media(min-width:1101px) {
    .lp-body[data-lp-home-layout="right"] { grid-template-columns:minmax(0,1fr) 260px; }
    .lp-body[data-lp-home-layout="right"] .lp-main { grid-column:1; grid-row:1 / 3; }
    .lp-body[data-lp-home-layout="right"] .lp-col-left { grid-column:2; grid-row:1; }
    .lp-body[data-lp-home-layout="right"] .lp-col-right { grid-column:2; grid-row:2; }
    .lp-body[data-lp-home-layout="right"].no-left.no-right { grid-template-columns:1fr; }
    .lp-body[data-lp-home-layout="wide"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .lp-body[data-lp-home-layout="wide"] .lp-main { grid-column:1 / -1; grid-row:1; }
    .lp-body[data-lp-home-layout="wide"] .lp-col-left,.lp-body[data-lp-home-layout="wide"] .lp-col-right { grid-row:2; }
}
.lp-theme-toggle { display:none; align-items:center; gap:6px; padding:8px; border:1px solid currentColor; border-radius:6px; background:transparent; color:var(--lp-accent); font:600 .8rem var(--lp-sans); cursor:pointer; }
:root[data-lp-ready="true"] .lp-theme-toggle { display:inline-flex; }
.lp-theme-toggle svg { flex:none; }
.lp-mobile-tools { display:none; }
.lp-theme-toggle:focus-visible { outline:3px solid var(--lp-accent); outline-offset:3px; }
body[data-lp-sticky-header=""] .lp-header,body[data-lp-sticky-header="0"] .lp-header { position:relative; top:auto; }
body[data-lp-header="light"] .lp-top { background:var(--lp-sheet); color:var(--lp-ink); }
body[data-lp-header="light"] .lp-top .lp-brand,body[data-lp-header="light"] .lp-top .lp-brand-sub,body[data-lp-header="light"] .lp-top .lp-user-nav a { color:var(--lp-ink); }
body[data-lp-header="light"] .lp-search { border-color:var(--lp-line-strong); background:var(--lp-ground); color:var(--lp-text); }
body[data-lp-header="light"] .lp-search input { color:var(--lp-text); }
body[data-lp-header="light"] .lp-search input::placeholder { color:var(--lp-muted); }
body[data-lp-header="light"] .lp-menu-toggle { color:var(--lp-ink); }
body[data-lp-header-layout="compact"] .lp-top { height:auto; min-height:54px; padding-block:8px; }
body[data-lp-header-layout="compact"] .lp-brand-sub { display:none; }
body[data-lp-header-layout="compact"] .lp-header { top:0; }
body[data-lp-header-layout="centered"] .lp-top { height:auto; padding-block:24px; }
body[data-lp-header-layout="centered"] .lp-top-inner { flex-wrap:wrap; justify-content:center; }
body[data-lp-header-layout="centered"] .lp-brand-wrap { flex-basis:100%; text-align:center; }
body[data-lp-header-layout="centered"] .lp-brand { justify-content:center; }
body[data-lp-header-layout="centered"] .lp-header { top:0; }
body[data-lp-backdrop="white"] .lp-brand-logo,body[data-lp-backdrop="auto"][data-lp-header="brand"] .lp-top .lp-brand-logo { background:#fff; padding:5px; border-radius:5px; }
body[data-lp-backdrop="auto"] .lp-footer .lp-brand-logo { background:#fff; padding:5px; border-radius:5px; }
body[data-lp-submenu="list"] .lp-nav .pkp_navigation_primary > li > ul,
body[data-lp-submenu="dark"] .lp-nav .pkp_navigation_primary > li > ul { width:min(22rem,90vw); left:auto; right:auto; grid-template-columns:1fr; padding:16px; }
body[data-lp-submenu="list"] .lp-nav .pkp_navigation_primary > li,
body[data-lp-submenu="dark"] .lp-nav .pkp_navigation_primary > li { position:relative; }
body[data-lp-submenu="list"] .lp-nav .pkp_navigation_primary > li > ul::before,
body[data-lp-submenu="dark"] .lp-nav .pkp_navigation_primary > li > ul::before { display:none; }
body[data-lp-submenu="dark"] .lp-nav .pkp_navigation_primary > li > ul { background:var(--lp-forest-900); color:#fff; }
body[data-lp-submenu="dark"] .lp-nav .pkp_navigation_primary > li > ul a { color:#fff; }
.lp-hero[data-lp-background] { background-image:var(--lp-hero-pattern); }
.lp-hero[data-lp-background="gradient"],.lp-hero[data-lp-background="photo"] { background-image:var(--lp-hero-pattern),linear-gradient(115deg,var(--lp-forest-900),var(--lp-moss)); }
.lp-hero[data-lp-background="custom"] { background-color:var(--lp-hero-custom); }
.lp-hero[data-lp-background="custom"]::before { display:none; }
.lp-hero[data-lp-background="light"] { background:var(--lp-sheet); color:var(--lp-ink); border-bottom:1px solid var(--lp-line); }
.lp-hero[data-lp-background="light"]::before { display:none; }
.lp-hero[data-lp-background="light"] .lp-hero-title,.lp-hero[data-lp-background="light"] .lp-hero-desc,.lp-hero[data-lp-background="light"] .lp-hero-stats span,.lp-hero[data-lp-background="light"] .lp-hero-facts b,.lp-hero[data-lp-background="light"] .lp-hero-facts span { color:var(--lp-ink); }
.lp-hero[data-lp-background="light"] .lp-hero-stats b,.lp-hero[data-lp-background="light"] .lp-fact-badge { color:var(--lp-accent); }
.lp-hero[data-lp-background="light"] :is(.lp-hero-stats,.lp-hero-facts li) { border-color:var(--lp-line-strong); }
.lp-hero[data-lp-background="light"] .lp-hero-facts li { background:var(--lp-ground); }
.lp-hero[data-lp-background="light"] .lp-hero-cta { background:var(--lp-sheet); border:1px solid var(--lp-line-strong); }
.lp-hero[data-lp-background="light"] .lp-hero-cta p { color:var(--lp-text); }
.lp-hero[data-lp-background="light"] .lp-hero-cta-links a { color:var(--lp-accent); }
.lp-hero[data-lp-background="photo"] { background-image:linear-gradient(115deg,var(--lp-forest-900),var(--lp-moss)); }
.lp-hero[data-lp-layout="identity"] .lp-hero-desc { display:none; }
.lp-hero[data-lp-layout="action"] .lp-hero-inner { grid-template-columns:1fr; }
.lp-hero[data-lp-layout="action"] .lp-hero-side { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; }
.lp-hero[data-lp-layout="action"] .lp-hero-facts { flex:1; }
.lp-hero[data-lp-layout="action"] .lp-hero-stats { background:rgba(0,0,0,.18); padding:20px; border-radius:8px; }
.lp-hero[data-lp-layout="facts"] .lp-hero-copy { display:none; }
.lp-hero[data-lp-layout="facts"] .lp-hero-inner { grid-template-columns:1fr; }
.lp-hero[data-lp-layout="facts"] .lp-hero-side { display:grid; grid-template-columns:1fr 20rem; gap:32px; align-items:center; }
.lp-hero[data-lp-layout="facts"] .lp-hero-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; }
.lp-hero[data-lp-layout="metrics"] .lp-hero-cover,.lp-hero[data-lp-layout="metrics"] .lp-hero-desc { display:none; }
.lp-hero[data-lp-layout="metrics"] .lp-hero-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lp-hero[data-lp-layout="metrics"] .lp-hero-stats li { padding:20px; background:rgba(0,0,0,.18); border-radius:8px; }
.lp-quick-menu { padding:20px; }
.lp-quick-menu ul { list-style:none; margin:0; padding:0; }
.lp-quick-menu li { position:relative; }
.lp-quick-menu a { display:block; padding:10px 32px 10px 0; border-bottom:1px solid var(--lp-line); color:var(--lp-accent); }
.lp-quick-menu li ul { padding-inline-start:16px; }
.lp-submenu-toggle { position:absolute; inset-inline-end:0; top:6px; min-width:32px; min-height:32px; background:var(--lp-ground); color:var(--lp-ink); border:1px solid var(--lp-line-strong); border-radius:4px; cursor:pointer; }
body[data-lp-sidebar="lines"] :is(.lp-col-right,.lp-rail,.pkp_structure_sidebar,.lp-art-side) > :is(.pkp_block,.lp-card,.lp-panel) { background:transparent; border:0; border-top:1px solid var(--lp-line-strong); border-radius:0; box-shadow:none; }
@media(min-width:1101px) {
    body[data-lp-sticky-sidebar="1"] :is(.lp-col-right,.lp-rail,.pkp_structure_sidebar,.lp-art-side) { position:sticky; top:calc(var(--lp-header-h) + 20px); align-self:start; max-height:calc(100dvh - var(--lp-header-h) - 40px); overflow:auto; }
}
body[data-lp-footer="light"] .lp-footer { background:var(--lp-sheet); color:var(--lp-text); border-top:1px solid var(--lp-line); }
body[data-lp-footer="light"] .lp-footer :is(a,h2,.lp-brand,.lp-brand-sub,.lp-footer-publisher,.lp-footer-issn,.lp-footer-bottom) { color:var(--lp-ink); }
body[data-lp-footer-layout="compact"] .lp-footer-grid { grid-template-columns:2fr repeat(4,1fr); gap:20px; }
body[data-lp-footer-layout="compact"] .lp-footer-inner { padding-block:24px; }
body[data-lp-footer-layout="centered"] .lp-footer-grid { display:flex; flex-wrap:wrap; justify-content:center; text-align:center; }
body[data-lp-footer-layout="centered"] .lp-footer-brand { flex-basis:100%; }
body[data-lp-footer-layout="centered"] .lp-social { justify-content:center; }
.lp-footer-license { font-size:.85rem; margin-top:20px; }
:root[data-lp-theme="dark"] {
    --lp-sheet:#18231f; --lp-ground:#101915; --lp-ink:#eff5f1; --lp-text:#d7e3dc; --lp-muted:#b2c4ba;
    --lp-line:#3a4d42; --lp-line-strong:#53685b; --lp-accent:var(--lp-dark-link,#a9dfc0);
    --lp-forest-tint:#1d3026; --lp-moss-tint:#20392b; --lp-sage-tint:#233a32; --lp-amber-tint:#3c321c; --lp-clay-tint:#3b2923; --lp-rust-tint:#3c321c;
    color-scheme:dark;
}
:root[data-lp-theme="dark"] :is(.lp-card,.lp-feed-item,.lp-row,.lp-panel-body,.lp-auth-card,.lp-tabpanel,.lp-pg-prose,.pkp_block,.lp-pg-split,.lp-pg-rows,.lp-site-item,.lp-tl-item,.lp-quick-menu) { background-color:var(--lp-sheet); color:var(--lp-text); }
:root[data-lp-theme="dark"] :is(.lp-art-main,.lp-art-facts,.lp-share-menu,.lp-user-nav ul) { background-color:var(--lp-sheet); color:var(--lp-text); }
:root[data-lp-theme="dark"] :is(.lp-share-menu,.lp-user-nav ul) :is(a,button):is(:hover,:focus-visible) { color:var(--lp-ink); }
:root[data-lp-theme="dark"] .lp-art-facts a { color:var(--lp-accent); }
:root[data-lp-theme="dark"] :is(.lp-header-main,.lp-nav,.lp-nav .pkp_navigation_primary > li > ul,.lp-tabs,.lp-tablist) { background-color:var(--lp-sheet); color:var(--lp-text); }
:root[data-lp-theme="dark"] :is(.lp-nav a,.lp-tablist button,.lp-feed-title a,.lp-row .title a,.lp-pg-prose a,.lp-citation,.lp-info dd,.lp-pg-facts dd) { color:var(--lp-ink); }
:root[data-lp-theme="dark"] :is(.cmp_breadcrumbs a,.lp-pg-rows a,.lp-pg-links a,.lp-pg-lines a,.lp-richtext a,.lp-prose a,.lp-references a,.lp-more,.lp-link-line) { color:var(--lp-accent); }
:root[data-lp-theme="dark"] :is(.lp-btn-outline,.lp-ghost-btn,.lp-keywords a,.lp-chip,.lp-year-filter button,.lp-years a,.lp-link-copy,.lp-quick-menu a) { color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-nav li ul a:hover { color:var(--lp-accent); }
:root[data-lp-theme="dark"] :is(input,select,textarea) { background-color:var(--lp-sheet); color:var(--lp-ink); border-color:var(--lp-line-strong); }
:root[data-lp-theme="dark"] :is(.lp-feed-abstract,.lp-feed-authors,.lp-row .authors,.lp-excerpt,.lp-auth-note,.lp-pg-prose p) { color:var(--lp-text); }
:root[data-lp-theme="dark"] body[data-lp-backdrop="auto"] .lp-brand-logo { background:#fff; padding:5px; border-radius:5px; }
:root[data-lp-theme="dark"] :is(.lp-pg-facts dt,.lp-row-meta,.lp-feed-top) { color:var(--lp-muted); }
@media(max-width:1100px) { .lp-hero[data-lp-layout="facts"] .lp-hero-side { grid-template-columns:1fr; } }
@media(max-width:1040px) { .lp-mobile-tools { display:flex; padding:16px; } }
@media(max-width:760px) {
    .lp-hero[data-lp-layout="facts"] .lp-hero-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
    body[data-lp-footer-layout="compact"] .lp-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .lp-theme-toggle span { display:none; }
    body[data-lp-header-layout="centered"] .lp-top-inner { justify-content:space-between; }
    body[data-lp-submenu] .lp-nav .pkp_navigation_primary > li > ul { width:100%; }
}
@media print { .lp-theme-toggle { display:none; } :root[data-lp-theme="dark"] { --lp-sheet:#fff; --lp-ground:#fff; --lp-text:#111; --lp-ink:#000; --lp-muted:#444; --lp-accent:#17472f; color-scheme:light; } }

/* Stage 4: article page options. All variants are opt-in; defaults keep the original page. */
.lp-art-langs { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:14px; font:600 .8rem var(--lp-sans); color:inherit; }
.lp-art-langs ul { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.lp-art-langs a { display:inline-block; padding:4px 10px; border:1px solid currentColor; border-radius:999px; color:inherit; text-decoration:none; opacity:.85; }
.lp-art-langs a:hover { opacity:1; text-decoration:underline; }
.lp-art-langs a[aria-current="true"] { background:var(--lp-white,#fff); color:var(--lp-ink,#173d2e); border-color:var(--lp-white,#fff); opacity:1; }
.lp-authors-inline { gap:6px 18px; }
.lp-authors-inline li { padding-left:0; border-left:0; flex-direction:row; align-items:baseline; gap:8px; width:auto; }
.lp-authors-inline .orcid { margin:0; font-size:.72rem; }
.lp-aff-ref { margin-left:2px; font-size:.7em; line-height:0; }
.lp-aff-ref a { color:var(--lp-gold-light,#f0c96a); text-decoration:none; padding:0 2px; }
.lp-aff-list { margin:12px 0 0; padding-left:1.4em; font-size:.84rem; color:rgba(255,255,255,.85); }
.lp-aff-list li { max-width:70ch; margin-top:2px; }
.lp-corresponding { margin:8px 0 0; font-size:.82rem; color:rgba(255,255,255,.85); }
.lp-corresponding a { color:var(--lp-gold-light,#f0c96a); }
.lp-authors-line { margin:0; font:700 1rem/1.5 var(--lp-display); }
.lp-authors-line a { color:inherit; text-decoration:none; }
.lp-authors-line a:hover { text-decoration:underline; }
.lp-author-more { margin-top:10px; }
.lp-author-more summary,.lp-ref-more summary { cursor:pointer; font:600 .82rem var(--lp-sans); }
.lp-author-more summary { color:var(--lp-gold-light,#f0c96a); }
.lp-author-more .authors { margin-top:10px; }
.lp-authors-pop { gap:8px 10px; }
.lp-authors-pop li { position:relative; padding-left:0; border-left:0; }
.lp-author-pop summary { display:inline-block; padding:5px 12px; border:1px solid rgba(255,255,255,.45); border-radius:999px; color:var(--lp-white,#fff); font:700 .92rem var(--lp-display); cursor:pointer; list-style:none; }
.lp-author-pop summary::-webkit-details-marker { display:none; }
.lp-author-pop[open] summary,.lp-author-pop summary:hover { background:rgba(255,255,255,.14); }
.lp-author-pop summary:focus-visible,.lp-author-more summary:focus-visible,.lp-ref-more summary:focus-visible { outline:3px solid var(--lp-gold-light,#f0c96a); outline-offset:2px; }
.lp-author-card { position:absolute; z-index:30; top:calc(100% + 6px); left:0; display:flex; flex-direction:column; gap:4px; width:max-content; max-width:min(320px,80vw); padding:12px 14px; background:var(--lp-sheet,#fff); color:var(--lp-text,#3a4a42); border:1px solid var(--lp-line-strong,#c9d0c3); border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,.2); font-size:.84rem; }
.lp-author-card .affiliation { color:var(--lp-text,#3a4a42); }
.lp-author-card a { color:var(--lp-accent,#1f6b4a); }
.lp-ref-more { margin-top:8px; }
.lp-ref-more summary { margin-bottom:8px; color:var(--lp-clay-deep,var(--lp-accent)); }
.lp-copy-refs { margin-bottom:12px; }
.lp-history-list { margin:0; padding:0; list-style:none; }
.lp-history-list li { display:flex; justify-content:space-between; gap:12px; padding:6px 0; border-top:1px solid var(--lp-line-strong,#c9d0c3); font-size:.88rem; }
.lp-history-list li:first-child { border-top:0; }
.lp-history-list span { font-weight:600; }
.lp-mobile-bar { display:none; }
@media(max-width:760px) {
    .lp-mobile-bar { position:fixed; z-index:45; left:0; right:0; bottom:0; display:flex; gap:1px; padding:0 0 env(safe-area-inset-bottom); background:var(--lp-line-strong,#c9d0c3); border-top:1px solid var(--lp-line-strong,#c9d0c3); box-shadow:0 -6px 20px rgba(0,0,0,.14); }
    .lp-mobile-bar > * { flex:1 1 0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:56px; padding:6px 4px; border:0; border-radius:0; background:var(--lp-sheet,#fff); color:var(--lp-ink,#173d2e); font:700 .72rem/1.2 var(--lp-sans); text-decoration:none; cursor:pointer; }
    .lp-mobile-bar .lp-mobile-primary { background:var(--lp-gold); color:var(--lp-on-accent); }
    .lp-mobile-bar svg { width:20px; height:20px; }
    .lp-mobile-bar > :focus-visible { outline:3px solid var(--lp-accent,#1f6b4a); outline-offset:-3px; }
    body:has(.lp-mobile-bar) { padding-bottom:calc(56px + env(safe-area-inset-bottom)); }
    body:has(.lp-mobile-bar) .lp-to-top { bottom:calc(68px + env(safe-area-inset-bottom)); }
    .lp-authors-inline li { width:auto; }
}
@media print { .lp-mobile-bar,.lp-art-langs,.lp-copy-refs { display:none; } .lp-ref-more:not([open]) > *:not(summary) { display:block; } }

/* Stage 5: archive, search, announcements, About/Contact and sign-in options. Defaults keep the original pages. */
.lp-archive[data-lp-archive-view="grid"] .lp-timeline { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; padding:0; margin:0; list-style:none; }
.lp-archive[data-lp-archive-view="grid"] .lp-timeline::before,.lp-archive[data-lp-archive-view="list"] .lp-timeline::before { display:none; }
.lp-archive[data-lp-archive-view="grid"] .lp-tl-item { margin:0; padding:0; }
.lp-archive[data-lp-archive-view="grid"] .lp-issue { display:flex; flex-direction:column; height:100%; background:var(--lp-sheet); border:1px solid var(--lp-line-strong); border-radius:10px; overflow:hidden; }
.lp-archive[data-lp-archive-view="grid"] .lp-tl-year { display:none; }
.lp-archive[data-lp-archive-view="grid"] .lp-tl-body { padding:16px; }
.lp-tl-cover { display:block; aspect-ratio:3/4; max-height:300px; overflow:hidden; background:var(--lp-ground); }
.lp-tl-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.lp-archive[data-lp-archive-view="list"] .lp-timeline { padding:0; margin:0; list-style:none; }
.lp-archive[data-lp-archive-view="list"] .lp-tl-item { margin:0; padding:0; border-top:1px solid var(--lp-line-strong); }
.lp-archive[data-lp-archive-view="list"] .lp-issue { display:grid; grid-template-columns:72px minmax(0,1fr); gap:14px; padding:14px 0; align-items:start; }
.lp-archive[data-lp-archive-view="list"] .lp-tl-year { display:none; }
.lp-archive[data-lp-archive-view="list"] .lp-tl-cover { width:72px; aspect-ratio:3/4; border-radius:4px; }
.lp-archive[data-lp-archive-view="list"] .lp-tl-desc { display:none; }
.lp-archive[data-lp-archive-view="list"] .lp-issue:not(:has(.lp-tl-cover)) { grid-template-columns:minmax(0,1fr); }
.lp-special-badge { margin-right:6px; background:var(--lp-accent); color:var(--lp-on-accent,#fff); }
.lp-search-topics { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:14px; font:600 .82rem var(--lp-sans); color:inherit; }
.lp-search-topics ul { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.lp-search-topics a { display:inline-block; padding:4px 10px; border:1px solid currentColor; border-radius:999px; color:inherit; text-decoration:none; }
.lp-search-topics a:hover { text-decoration:underline; }
.lp-search-sort { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px; }
.lp-search-sections { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; }
.lp-search-sections button { padding:5px 12px; border:1px solid var(--lp-line-strong); border-radius:999px; background:var(--lp-sheet); color:var(--lp-ink); font:600 .8rem var(--lp-sans); cursor:pointer; }
.lp-search-sections button[aria-pressed="true"] { background:var(--lp-accent); border-color:var(--lp-accent); color:var(--lp-on-accent,#fff); }
.lp-search-sections[hidden],.lp-result[hidden] { display:none; }
.search_results mark { background:var(--lp-gold-light,#f0c96a); color:#1b1b1b; padding:0 2px; border-radius:2px; }
.lp-announcement-full .obj_announcement_full_image { display:block; max-width:100%; max-height:22rem; width:auto; height:auto; margin:20px 0 28px; border-radius:8px; object-fit:contain; object-position:left center; }
/* Announcement polish: no stray list bullets, readable measure, one date style, list markers inside the text column */
.lp-announcement-full a:focus-visible { outline:3px solid var(--lp-accent); outline-offset:2px; border-radius:2px; }
.lp-announcement-full .date { margin:0 0 0.6rem; color:var(--lp-muted); font:400 0.85rem var(--lp-sans); font-variant-numeric:tabular-nums; }
.lp-announcement-full h1 { margin-bottom:0.4rem; font-size:clamp(1.75rem,4vw,2.6rem); font-weight:500; line-height:1.2; text-wrap:balance; }
.lp-announcement-full .description { max-width:74ch; font-size:1.05rem; line-height:1.8; overflow-wrap:anywhere; }
.lp-announcement-full .description > :first-child { margin-top:0; }
.lp-announcement-full .description ol,.lp-announcement-full .description ul { padding-inline-start:1.5rem; }
.lp-announcement-full .description li { margin:0.3rem 0; padding-inline-start:0.2rem; }
.lp-announcement-full .description img { max-width:100%; height:auto; }
.lp-announcement-full .description table { display:block; max-width:100%; overflow-x:auto; }
.lp-announcement-full .description blockquote { margin:1.5rem 0; padding-inline-start:1.25rem; border-inline-start:1px solid var(--lp-amber); font-style:italic; }
.lp-announcement-full { padding-bottom:2rem; }
@media (max-width:560px) { .lp-announcement-full .obj_announcement_full_image { max-height:14rem; } }
.lp-heading-nav { margin:0 0 20px; padding:14px 18px; background:var(--lp-ground); border:1px solid var(--lp-line-strong); border-radius:8px; }
.lp-heading-nav ul { margin:8px 0 0; padding:0; list-style:none; columns:2 260px; }
.lp-heading-nav li { margin:3px 0; break-inside:avoid; }
.lp-heading-nav li.is-sub { padding-left:14px; font-size:.92em; }
.lp-heading-nav a { color:var(--lp-accent); }
.lp-copy-inline { margin-left:10px; padding:2px 9px; border:1px solid currentColor; border-radius:999px; background:transparent; color:inherit; font:600 .72rem var(--lp-sans); cursor:pointer; vertical-align:middle; }
.lp-copy-inline.is-copied { background:var(--lp-accent); border-color:var(--lp-accent); color:var(--lp-on-accent,#fff); }
.lp-copy-inline:focus-visible,.lp-pw-toggle:focus-visible,.lp-search-sections button:focus-visible { outline:3px solid var(--lp-accent); outline-offset:2px; }
.lp-contact-map { margin-top:24px; }
.lp-contact-map iframe { display:block; width:100%; height:min(420px,60vh); border:1px solid var(--lp-line-strong); border-radius:8px; }
.lp-auth-page[data-lp-auth-layout="centered"] .lp-auth-grid { grid-template-columns:minmax(0,40rem); justify-content:center; }
.lp-pw-toggle { margin-top:6px; padding:3px 10px; border:1px solid var(--lp-line-strong); border-radius:999px; background:transparent; color:var(--lp-accent); font:600 .78rem var(--lp-sans); cursor:pointer; }
.lp-pw-meter { display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin-top:8px; font-size:.82rem; color:var(--lp-text); }
.lp-pw-meter[hidden] { display:none; }
.lp-pw-bar { flex:none; width:100%; max-width:200px; height:6px; background:var(--lp-line-strong); border-radius:3px; overflow:hidden; }
.lp-pw-bar i { display:block; height:100%; width:25%; background:#b3261e; transition:width .2s; }
.lp-pw-meter[data-level="1"] .lp-pw-bar i { width:50%; background:#a65f00; }
.lp-pw-meter[data-level="2"] .lp-pw-bar i { width:75%; background:#2f6b3b; }
.lp-pw-meter[data-level="3"] .lp-pw-bar i { width:100%; background:#1a5c2c; }
@media(prefers-reduced-motion:reduce) { .lp-pw-bar i { transition:none; } }
@media print { .lp-copy-inline,.lp-pw-toggle,.lp-search-sections,.lp-heading-nav { display:none; } }

/* Stage 6: portal views, portal feeds and journal statistics. Defaults keep the original sheets. */
.lp-site-list[data-lp-portal-view="cards"] { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.lp-site-list[data-lp-portal-view="cards"] .lp-site-item,.lp-site-list[data-lp-portal-view="showcase"] .lp-site-item:not(.is-featured) { grid-template-columns:1fr; }
.lp-site-list[data-lp-portal-view="cards"] .lp-site-thumb,.lp-site-list[data-lp-portal-view="showcase"] .lp-site-item:not(.is-featured) .lp-site-thumb { max-width:9rem; }
.lp-site-list[data-lp-portal-view="list"] { grid-template-columns:1fr; gap:0; }
.lp-site-list[data-lp-portal-view="list"] .lp-site-item { grid-template-columns:4.5rem minmax(0,1fr); padding:14px 0; border:0; border-top:1px solid var(--lp-line-strong); background:transparent; box-shadow:none; transform:none; }
.lp-site-list[data-lp-portal-view="list"] .lp-site-text p:not(.lp-site-links) { display:none; }
.lp-site-list[data-lp-portal-view="showcase"] { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.lp-site-list[data-lp-portal-view="showcase"] .lp-site-item.is-featured { grid-column:1 / -1; grid-template-columns:minmax(7rem,14rem) minmax(0,1fr); padding:clamp(1.25rem,3vw,2rem); }
.lp-site-list[data-lp-portal-view="showcase"] .lp-site-item.is-featured h3 { font-size:clamp(1.4rem,2.6vw,1.9rem); }
@media(max-width:480px) { .lp-site-list[data-lp-portal-view="showcase"] .lp-site-item.is-featured { grid-template-columns:1fr; } }
.lp-site-stats { display:flex; flex-wrap:wrap; gap:4px 16px; margin:0 0 .9rem; padding:0; list-style:none; font-size:.82rem; color:var(--lp-muted); }
.lp-site-stats b { color:var(--lp-ink); font-variant-numeric:tabular-nums; }
.lp-portal-feed { margin-top:clamp(2rem,4vw,3rem); }
.lp-portal-list { margin:0; padding:0; list-style:none; }
.lp-portal-list li { padding:12px 0; border-top:1px solid var(--lp-line-strong); }
.lp-portal-list li:first-child { border-top:0; }
.lp-portal-list a { color:var(--lp-ink); font:700 1.02rem/1.35 var(--lp-display); text-decoration:none; }
.lp-portal-list a:hover { color:var(--lp-accent); text-decoration:underline; }
.lp-portal-list p { margin:4px 0 0; font-size:.84rem; color:var(--lp-muted); }

/* Stage 8: issue page article list (rows are the original) */
.lp-toc-compact .lp-excerpt, .lp-toc-compact .lp-doi, .lp-toc-compact .galleys_links { display:none; }
.lp-toc-compact .lp-row { padding-block:.6rem; }
.lp-toc-compact .lp-row-main .authors { margin-bottom:.25rem; }
.lp-toc-cards { grid-template-columns:repeat(auto-fill,minmax(min(100%,20rem),1fr)); align-items:stretch; }
.lp-toc-cards > li { display:flex; }
.lp-toc-cards .obj_article_summary { flex:1; grid-template-columns:1fr; align-content:space-between; }
.lp-toc-cards .lp-row-actions { align-self:end; justify-content:flex-start; flex-wrap:wrap; }
.lp-toc-cards .lp-row-actions .galleys_links { justify-content:flex-start; }

/* Stage 8B: home page article list and issue card (cards and the standard cover are the original) */
.lp-feed-list:not(.lp-feed-as-cards) .lp-feed-abstract { display:none; }
.lp-feed-list:not(.lp-feed-as-cards) .lp-feed-foot { padding-top:.6rem; }
.lp-feed-list.lp-feed-as-line { gap:.4rem; }
.lp-feed-as-line .lp-feed-item article { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.25rem 1rem; padding-block:.6rem; }
.lp-feed-as-line .lp-feed-top { order:2; margin:0; }
.lp-feed-as-line .lp-feed-title { order:1; margin:0; font-size:1rem; }
.lp-feed-as-line .lp-feed-authors, .lp-feed-as-line .lp-feed-foot { display:none; }
.lp-feed-as-line .lp-chip { display:none; }
@media (max-width:640px) { .lp-feed-as-line .lp-feed-item article { grid-template-columns:1fr; } .lp-feed-as-line .lp-feed-top { order:1; } .lp-feed-as-line .lp-feed-title { order:2; } }
.lp-issue-card.is-small .lp-cover { max-width:6.5rem; margin-inline:auto; }

/* Stage 8C: bands, section links, similar articles, issue stats */
.lp-indexed.is-plain { background:transparent; border-block:0; }
.lp-board.is-plain :is(.lp-chief, .lp-board-list li) { background:transparent; border-color:transparent; box-shadow:none; }
.lp-sec-nav ul { display:flex; flex-wrap:wrap; gap:.4rem .9rem; margin:0; padding:0; list-style:none; font-size:.88rem; }
.lp-sec-nav a { color:var(--lp-text); text-decoration:none; border-bottom:1px solid var(--lp-line-strong); }
.lp-sec-nav a:hover, .lp-sec-nav a:focus-visible { color:var(--lp-moss); border-bottom-color:currentColor; }
.lp-sec-nav-top { max-width:var(--lp-max, 72rem); margin:.75rem auto 0; padding-inline:1rem; }
.lp-sec-nav-side { margin:0 0 1rem; padding:.75rem 1rem; background:var(--lp-sheet); border:1px solid var(--lp-line); border-radius:var(--lp-radius); }
.lp-sec-nav-side ul { flex-direction:column; gap:.35rem; }
.lp-similar { margin:0; padding:0; list-style:none; display:grid; gap:.6rem; }
.lp-similar li { padding-bottom:.6rem; border-bottom:1px solid var(--lp-line); }
.lp-similar a { color:var(--lp-ink); font-weight:600; text-decoration:none; }
.lp-similar a:hover { color:var(--lp-moss); text-decoration:underline; }
.lp-similar small { display:block; margin-top:.15rem; color:var(--lp-muted); }
.lp-row-stats { display:inline-flex; gap:.8rem; }
.lp-row-stats span { display:inline-flex; align-items:center; gap:.3rem; }
.lp-row-stats .lp-icon { width:1rem; height:1rem; }

/* Stage 9: site portal */
.lp-site-hero-centered .lp-hero-copy { text-align:center; margin-inline:auto; }
.lp-site-hero-centered .lp-hero-facts { justify-content:center; }
.lp-site-hero-minimal .lp-site-about, .lp-site-hero-minimal .lp-hero-facts { display:none; }
.lp-site-hero-minimal { padding-block:clamp(1.25rem,3vw,2rem); }
.lp-site-cta { margin:1rem 0 0; }
.lp-site-hero-centered .lp-site-cta { text-align:center; }
.lp-site-list[data-lp-portal-cols="2"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lp-site-list[data-lp-portal-cols="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.lp-site-list[data-lp-portal-cols="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.lp-site-list[data-lp-portal-cols="3"] .lp-site-item, .lp-site-list[data-lp-portal-cols="4"] .lp-site-item { grid-template-columns:1fr; }
.lp-site-list[data-lp-portal-cols="3"] .lp-site-thumb, .lp-site-list[data-lp-portal-cols="4"] .lp-site-thumb { max-width:9rem; }
@media (max-width:1000px) { .lp-site-list[data-lp-portal-cols="3"], .lp-site-list[data-lp-portal-cols="4"] { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .lp-site-list[data-lp-portal-cols] { grid-template-columns:1fr; } }
.lp-site-meta { display:flex; flex-wrap:wrap; gap:.15rem .9rem; color:var(--lp-muted); font-size:.82rem; font-variant-numeric:tabular-nums; }
.lp-site-find { margin:0 0 1rem; }
.lp-site-find label { display:block; margin-bottom:.3rem; font-weight:600; font-size:.88rem; }
.lp-site-find input { width:100%; max-width:26rem; min-height:2.6rem; padding:0 .8rem; border:1.5px solid var(--lp-line-strong); background:var(--lp-white); color:var(--lp-ink); font:inherit; }
.lp-site-find input:focus-visible { outline:2px solid var(--lp-moss); outline-offset:1px; }
.lp-site-find-status { margin:.4rem 0 0; color:var(--lp-muted); font-size:.85rem; }
.lp-site-item[hidden] { display:none; }

/* Stage 10 */
.lp-news-info { margin:0 0 1.25rem; padding:.9rem 1.1rem; background:var(--lp-ground); border:1px solid var(--lp-line-strong); }
.lp-news-info p { margin:0; line-height:1.55; }
@media (min-width:900px) { .lp-heading-nav.is-sticky { position:sticky; top:calc(var(--lp-header-h, 4.5rem) + .75rem); z-index:2; } }

/* Stage 11: accessibility fixes found by tools/a11y-audit.js */
.cmp_breadcrumbs .separator { color:var(--lp-muted); }
/* The status card sits on a light surface inside the dark banner: its text must not inherit the banner's white */
.lp-pg-banner .lp-pg-status p { color:var(--lp-text); }

/* Stage 11: dark mode surfaces and links the first pass missed (found with tools/a11y-audit.js) */
:root[data-lp-theme="dark"] :is(.lp-ghost-btn,.lp-btn-outline) { background-color:transparent; border-color:var(--lp-line-strong); color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-ghost-btn.is-pdf { color:var(--lp-gold-light); }
:root[data-lp-theme="dark"] .block_web_feed a, :root[data-lp-theme="dark"] .lp-feed a { background-color:var(--lp-sheet); color:var(--lp-ink); border-color:var(--lp-line-strong); }
:root[data-lp-theme="dark"] .lp-panel-body a { color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-issue-head { background-color:var(--lp-sage-tint); color:var(--lp-text); }
:root[data-lp-theme="dark"] .lp-issue-head :is(h1,h2,p,strong,dt,dd) { color:var(--lp-ink); }
:root[data-lp-theme="dark"] fieldset.search_advanced { background-color:var(--lp-sheet); color:var(--lp-text); border-color:var(--lp-line-strong); }
:root[data-lp-theme="dark"] fieldset.search_advanced :is(legend,label) { color:var(--lp-ink); }
:root[data-lp-theme="dark"] :is(.lp-doi,.lp-feed-doi) .lp-icon { color:var(--lp-gold-light); }

:root[data-lp-theme="dark"] .lp-year-filter button { background-color:transparent; border-color:var(--lp-line-strong); color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-year-filter button.is-active { background-color:var(--lp-accent); border-color:var(--lp-accent); color:var(--lp-ground); }
:root[data-lp-theme="dark"] .lp-tl-item :is(strong,a,h3) { color:var(--lp-ink); }
:root[data-lp-theme="dark"] .lp-auth-card a:not(.lp-btn), :root[data-lp-theme="dark"] .lp-auth-side a:not(.lp-btn), :root[data-lp-theme="dark"] :is(.pkp_page_login,.pkp_page_user) .pkp_structure_main a:not(.lp-btn):not(.lp-cta-btn) { color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-auth-card .required { color:var(--lp-gold-light); }

:root[data-lp-theme="dark"] .lp-archive-tools button:not(.is-active) { background-color:transparent; border-color:var(--lp-line-strong); color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-auth-card legend { color:var(--lp-ink); }
:root[data-lp-theme="dark"] .lp-pg-status { background-color:var(--lp-sheet); color:var(--lp-text); }
:root[data-lp-theme="dark"] .lp-pg-status :is(a.lp-link-line,.lp-pg-status-label) { color:var(--lp-accent); }
:root[data-lp-theme="dark"] .lp-archive-tools { background-color:var(--lp-sheet); color:var(--lp-text); border-color:var(--lp-line-strong); }

/* Stage 11 critique fixes: placeholder contrast, reading measure, type details, home column balance */
.lp-search input::placeholder { color:rgba(255,255,255,.92); opacity:1; }
:is(.page,.lp-home,.lp-hero,.lp-body,.lp-art) :is(h1,h2,h3,h4) { text-wrap:balance; }
:is(p,li,.lp-excerpt,.lp-feed-abstract) { text-wrap:pretty; }
.lp-brand-sub { line-height:1.35; }
.page_search .search_advanced legend { font-size:.8125rem; }
@media (min-width:1000px) { .lp-body .lp-col-left { position:sticky; top:calc(var(--lp-header-h, 4.5rem) + 1rem); align-self:start; max-height:calc(100vh - var(--lp-header-h, 4.5rem) - 2rem); overflow:auto; } }
.lp-row-main .title, .lp-feed-title, .lp-issue-title, .lp-site-text h3 { text-wrap:balance; }
/* References: first items shown, a button reveals the rest */
.lp-ref-more summary.lp-btn { display:inline-flex; list-style:none; margin-bottom:12px; cursor:pointer; }
.lp-ref-more summary.lp-btn::-webkit-details-marker { display:none; }
.lp-ref-more .lp-ref-hide, .lp-ref-more[open] .lp-ref-show { display:none; }
.lp-ref-more[open] .lp-ref-hide { display:inline; }
/* Article: section tabs on top, citation style tabs */
.lp-sec-nav-top { max-width:var(--lp-wrap, 72rem); margin:1rem auto 0; padding:0 var(--lp-gutter, 1rem); }
.lp-sec-nav-top ul { gap:0 1.4rem; border-bottom:1px solid var(--lp-line); font-weight:600; }
.lp-sec-nav-top a { display:block; padding:.7rem 0 .6rem; border-bottom:2px solid transparent; margin-bottom:-1px; color:var(--lp-ink); }
.lp-sec-nav-top a:hover, .lp-sec-nav-top a:focus-visible { border-bottom-color:var(--lp-moss); color:var(--lp-moss); }
.lp-cite-tabs { display:flex; flex-wrap:wrap; gap:.4rem; margin:0 0 .9rem; }
.lp-cite-tab { padding:.3rem .85rem; border:1px solid var(--lp-line-strong); border-radius:999px; background:transparent; color:var(--lp-ink); font:600 .85rem var(--lp-label, var(--lp-sans)); cursor:pointer; }
.lp-cite-tab[aria-selected="true"] { background:var(--lp-moss); border-color:var(--lp-moss); color:var(--lp-white); }
.lp-cite-tab:focus-visible { outline:3px solid var(--lp-gold-light,#f0c96a); outline-offset:2px; }
.lp-cite-panel[hidden], .lp-cite-fallback[hidden] { display:none; }
.lp-cite pre.lp-citation { white-space:pre-wrap; overflow-wrap:anywhere; font:.85rem/1.55 ui-monospace, Menlo, Consolas, monospace; }
.lp-cite-actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }
/* Section tabs stay pinned under the header while the article scrolls */
.lp-sec-nav-top { position:sticky; top:var(--lp-header-h, 4.5rem); z-index:5; max-width:none; margin:1rem 0 0; padding:0; background:var(--lp-ground, var(--lp-white)); }
.lp-sec-nav-top ul { max-width:var(--lp-wrap, 72rem); margin-inline:auto; padding-inline:var(--lp-gutter, 1rem); }
body[data-lp-sticky-header=""] .lp-sec-nav-top, body[data-lp-sticky-header="0"] .lp-sec-nav-top { top:0; }
.lp-sec-nav a[aria-current="true"] { color:var(--lp-moss); border-bottom-color:var(--lp-moss); }
.lp-art-body .lp-sec { scroll-margin-top:calc(var(--lp-header-h, 4.5rem) + 3.5rem); }
