:root {
    --rep-ink: var(--ink, #141426);
    --rep-muted: var(--muted, #6e7080);
    --rep-line: var(--line, #e7e7ef);
    --rep-accent: var(--purple, #5b2bbd);
    --rep-accent-dark: var(--purple-dark, #3f168f);
    --rep-accent-soft: var(--purple-soft, #f2edff);
    --rep-soft: var(--soft, #f7f7fb);
    --rep-surface: #fff;
    --rep-radius: var(--radius, 14px);
    --rep-radius-lg: var(--radius-lg, 22px);
    --rep-shadow-sm: var(--shadow-sm, 0 2px 10px rgba(28, 23, 53, .06));
    --rep-shadow: var(--shadow, 0 14px 38px rgba(36, 26, 75, .10));
}

/* The plugin owns these canvases instead of inheriting the generic page split. */
.rep-use-page-layout main > .section.article-layout { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
.rep-use-page-layout main > .section.article-layout > .prose { max-width: none; }
.rep-use-page-layout main > .section.article-layout > .apply-card { display: none; }
.single-re_publication.rep-use-page-layout main > .page-hero,
.single-re_certificate.rep-use-page-layout main > .page-hero,
.rep-certificate-directory-page.rep-use-page-layout main > .page-hero { display: none; }

.rep-collection-page main > .page-hero {
    position: relative; overflow: hidden; padding: 52px 0 46px;
    background: radial-gradient(circle at 83% 10%, rgba(91,43,189,.14), transparent 28%), linear-gradient(120deg, #fff 6%, #faf8ff 58%, #f0ebfb);
}
.rep-collection-page main > .page-hero::after {
    position: absolute; top: -75px; right: 4%; width: 390px; height: 290px; opacity: .62;
    background: radial-gradient(circle, rgba(91,43,189,.16) 2px, transparent 2.5px); background-size: 28px 28px;
    content: ""; mask-image: linear-gradient(120deg, transparent, #000);
}
.rep-collection-page main > .page-hero h1 { max-width: 980px; margin-bottom: 0; font-size: clamp(2.15rem, 4vw, 3.55rem); line-height: 1.08; }

.rep-publication, .rep-certificate, .rep-certificate-directory, .rep-collection { color: var(--rep-ink); font-family: inherit; }
.rep-document-layout {
    display: grid; width: min(calc(100% - 40px), var(--container, 1180px)); margin: 48px auto 70px;
    align-items: start; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px;
}
.rep-document-layout > .rep-publication, .rep-document-layout > .rep-certificate {
    min-width: 0; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--rep-line);
    border-radius: var(--rep-radius-lg); background: var(--rep-surface); box-shadow: var(--rep-shadow-sm);
}
.rep-hero { position: relative; }
.rep-document-hero {
    margin: calc(clamp(28px, 4vw, 48px) * -1) calc(clamp(28px, 4vw, 48px) * -1) 30px;
    padding: clamp(28px, 4vw, 48px); overflow: hidden; border-radius: var(--rep-radius-lg) var(--rep-radius-lg) 0 0;
    background: radial-gradient(circle at 100% 0, rgba(91,43,189,.12), transparent 36%), linear-gradient(130deg, #fff, #f7f3ff);
}
.rep-document-hero::after {
    position: absolute; z-index: 0; top: -72px; right: -52px; width: 250px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(91,43,189,.11) 2px, transparent 3px); background-size: 24px 24px; content: "";
}
.rep-document-hero > * { position: relative; z-index: 1; }
.rep-document-back, .rep-directory-back {
    display: inline-flex; margin-bottom: 26px; align-items: center; color: var(--rep-muted) !important;
    font-size: 13px; font-weight: 700; text-decoration: none !important;
}
.rep-document-back:hover, .rep-directory-back:hover { color: var(--rep-accent) !important; }
.rep-document-kicker, .rep-eyebrow {
    display: block; margin-bottom: 10px; color: var(--rep-accent); font-size: 12px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
}
.rep-document-hero h1 { max-width: 900px; margin: 0 0 25px; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.035em; }
.rep-authors { display: flex; flex-wrap: wrap; gap: 12px; }
.rep-author {
    display: grid; min-width: min(100%, 205px); padding: 11px 14px; border: 1px solid rgba(91,43,189,.14);
    border-radius: 10px; background: rgba(255,255,255,.82); gap: 2px;
}
.rep-author strong { font-size: 14px; }
.rep-author span { color: var(--rep-muted); font-size: 11px; line-height: 1.4; }
.rep-author a { color: var(--rep-accent) !important; font-size: 11px; font-weight: 700; text-decoration: none !important; }
.rep-certificate-number {
    display: inline-flex; margin: 0; padding: 8px 13px; border-radius: 999px; color: var(--rep-accent) !important;
    background: var(--rep-accent-soft); font-size: 13px;
}

.rep-info-grid {
    display: grid; margin: 26px 0; overflow: hidden; border: 1px solid var(--rep-line); border-radius: var(--rep-radius);
    background: var(--rep-line); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
}
.rep-info-grid > div { min-width: 0; padding: 17px 18px; background: #fff; }
.rep-info-grid span {
    display: block; margin-bottom: 6px; color: var(--rep-muted); font-size: 10px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
.rep-info-grid strong { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.rep-info-grid a { color: var(--rep-accent) !important; text-decoration: none !important; }
.rep-info-wide, .rep-info-doi, .rep-info-udc { grid-column: span 2; }

.rep-actions { display: flex; margin: 22px 0 34px; flex-wrap: wrap; gap: 10px; }
.rep-button, .rep-book-button, .rep-list-actions a {
    display: inline-flex; min-height: 44px; padding: 10px 18px; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid var(--rep-accent); border-radius: 7px; color: #fff !important;
    background: linear-gradient(135deg, var(--rep-accent), var(--rep-accent-dark)); font-size: 13px; font-weight: 750;
    line-height: 1.2; text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s;
}
.rep-button:hover, .rep-book-button:hover, .rep-list-actions a:hover {
    color: #fff !important; box-shadow: 0 10px 22px rgba(91,43,189,.2); transform: translateY(-2px);
}
.rep-button-secondary, .rep-book-button:not(.rep-book-button-primary), .rep-list-actions .rep-list-pdf { color: var(--rep-accent) !important; background: #fff; box-shadow: none; }
.rep-button-secondary:hover, .rep-book-button:not(.rep-book-button-primary):hover, .rep-list-actions .rep-list-pdf:hover { color: #fff !important; background: var(--rep-accent); }

.rep-section { margin: 32px 0; }
.rep-section h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.rep-reading-section {
    padding: 25px 0; border-top: 1px solid var(--rep-line);
}
.rep-reading-section p { margin-bottom: 0; color: #515263; line-height: 1.78; }
.rep-keywords p { display: inline-block; padding: 10px 14px; border-radius: 8px; color: #554d66; background: var(--rep-accent-soft); }
.rep-citation {
    padding: 22px; border: 1px solid rgba(91,43,189,.18); border-radius: var(--rep-radius);
    background: linear-gradient(135deg, #fbfaff, #f5f0ff);
}
.rep-citation-heading { display: flex; margin-bottom: 10px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.rep-citation-heading h2, .rep-citation p { margin: 0; }
.rep-citation p { color: #515263; line-height: 1.7; overflow-wrap: anywhere; }
.rep-citation-copy, .rep-copy-doi {
    border: 0; color: var(--rep-accent); background: transparent; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer;
}
.rep-citation-copy:hover, .rep-copy-doi:hover { color: var(--rep-accent-dark); }

.rep-certificate-list { display: grid; gap: 10px; }
.rep-certificate-list > a {
    display: grid; padding: 14px 16px; align-items: center; border: 1px solid var(--rep-line); border-radius: 10px;
    color: var(--rep-ink) !important; background: #fff; grid-template-columns: 28px 1fr auto; gap: 12px; text-decoration: none !important;
}
.rep-certificate-list > a:hover { border-color: rgba(91,43,189,.45); box-shadow: var(--rep-shadow-sm); }
.rep-certificate-list small { display: block; color: var(--rep-muted); }
.rep-certificate-icon { display: inline-flex; width: 25px; height: 25px; align-items: center; justify-content: center; color: var(--rep-accent); }
.rep-certificate-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.rep-certificate-icon svg path:last-child { fill: currentColor; stroke: none; }
.rep-document-layout > .rep-publication > .rep-section:last-child,
.rep-document-layout > .rep-certificate > .rep-section:last-child { margin-bottom: 0; }

.rep-document-sidebar { position: sticky; top: 98px; min-width: 0; }
.rep-document-sidebar-inner {
    padding: 22px; border: 1px solid var(--rep-line); border-radius: var(--rep-radius-lg);
    background: linear-gradient(155deg, #f7f4ff, #fff); box-shadow: var(--rep-shadow-sm);
}
.rep-document-sidebar h2 { margin: 0 0 14px; font-size: 17px; line-height: 1.3; }
.rep-related-collection {
    display: block; overflow: hidden; border: 1px solid rgba(91,43,189,.14); border-radius: 11px;
    color: var(--rep-ink) !important; background: #fff; text-decoration: none !important;
}
.rep-related-collection-cover { display: block; width: 100%; height: auto; background: #fff; }
.rep-related-collection-placeholder { display: flex; width: 100%; aspect-ratio: 3 / 4; background: #fff; }
.rep-related-collection-placeholder { padding: 20px; align-items: center; justify-content: center; color: var(--rep-muted); background: var(--rep-soft); text-align: center; }
.rep-related-collection-title { display: block; padding: 14px; font-size: 13px; font-weight: 700; line-height: 1.45; }
.rep-related-collection:hover .rep-related-collection-title { color: var(--rep-accent); }

/* Proceedings page */
.rep-collection-page .article-layout > .prose > .rep-book-feature-layout,
.rep-collection-page .article-layout > .prose > .rep-book-overview,
.rep-collection-page .article-layout > .prose > .rep-conference-publications,
.rep-collection-page .article-layout > .prose > .rep-collection {
    width: min(calc(100% - 40px), var(--container, 1180px)); margin-right: auto; margin-left: auto;
}
.rep-collection-page .article-layout > .prose > .rep-book-overview { margin-top: 34px; margin-bottom: 46px; }
.rep-book-feature-layout {
    display: grid; margin-top: 48px; margin-bottom: 54px; align-items: start;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.55fr); gap: clamp(30px, 5vw, 64px);
}
.rep-book-feature-cover, .rep-book-feature-cover figure { min-width: 0; margin: 0; }
.rep-book-feature-cover img {
    width: 100%; max-width: 345px; height: auto; margin-inline: auto; border-radius: 5px;
    box-shadow: 0 24px 50px rgba(36,26,75,.18);
}
.rep-book-feature-cover figcaption { margin-top: 12px; color: var(--rep-muted); font-size: 12px; text-align: center; }
.rep-book-intro { margin-bottom: 22px; color: #515263; font-size: 16px; line-height: 1.75; }
.rep-book-overview {
    padding: clamp(22px, 3vw, 32px); border: 1px solid var(--rep-line); border-radius: var(--rep-radius-lg);
    background: radial-gradient(circle at 100% 0, rgba(91,43,189,.10), transparent 35%), #fff; box-shadow: var(--rep-shadow-sm);
}
.rep-book-doi { display: flex; margin: 0 0 22px; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; }
.rep-book-doi a { color: var(--rep-accent) !important; font-weight: 750; overflow-wrap: anywhere; text-decoration: none !important; }
.rep-copy-doi { display: inline-flex; width: 28px; height: 28px; padding: 0; align-items: center; justify-content: center; border-radius: 6px; }
.rep-copy-doi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.rep-book-actions { display: grid; margin-bottom: 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rep-book-button svg, .rep-book-facts svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.rep-book-facts { display: grid; padding-top: 20px; border-top: 1px solid var(--rep-line); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.rep-book-facts > div { display: flex; min-width: 0; align-items: center; gap: 9px; color: var(--rep-muted); font-size: 12px; }
.rep-book-facts > div > span { min-width: 0; }
.rep-book-facts small { display: block; margin-bottom: 2px; color: #9a9baa; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rep-book-facts a { color: inherit !important; text-decoration: none !important; }

.rep-conference-publications { margin-top: 0; margin-bottom: 70px; padding-top: 42px; border-top: 1px solid var(--rep-line); }
.rep-publications-heading { display: flex; margin-bottom: 23px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rep-publications-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.rep-counts { display: inline-flex; flex: 0 0 auto; padding: 6px 11px; border-radius: 999px; color: var(--rep-accent); background: var(--rep-accent-soft); font-size: 12px; font-weight: 750; }
.rep-search {
    display: flex; width: min(100%, 520px); min-height: 46px; margin-bottom: 30px; padding: 0 14px;
    align-items: center; gap: 9px; border: 1px solid var(--rep-line); border-radius: 9px; color: var(--rep-muted);
    background: #fff; box-shadow: var(--rep-shadow-sm);
}
.rep-search:focus-within { border-color: rgba(91,43,189,.55); box-shadow: 0 0 0 3px rgba(91,43,189,.10); }
.rep-search__icon { color: var(--rep-accent); font-size: 22px; line-height: 1; }
.rep-search input { width: 100%; border: 0; outline: 0; color: var(--rep-ink); background: transparent; font-size: 13px; }
.rep-publication-groups { display: grid; gap: 38px; }
.rep-section-group { margin: 0; }
.rep-section-group__heading {
    display: grid; margin-bottom: 11px; padding-bottom: 12px; align-items: center; border-bottom: 2px solid var(--rep-accent-soft);
    grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px;
}
.rep-section-group__heading > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; color: var(--rep-accent); background: var(--rep-accent-soft); font-size: 10px; font-weight: 800; }
.rep-section-group__heading h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.rep-section-group__heading small { color: var(--rep-muted); font-size: 12px; }
.rep-publication-list { display: grid; gap: 10px; }
.rep-publication-list article {
    display: grid; margin: 0; padding: 18px 20px; align-items: center; border: 1px solid var(--rep-line); border-radius: 11px;
    background: #fff; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rep-publication-list article:hover { border-color: rgba(91,43,189,.35); box-shadow: var(--rep-shadow-sm); transform: translateY(-1px); }
.rep-list-authors { margin: 0 0 4px; color: var(--rep-accent); font-size: 11px; font-weight: 750; }
.rep-publication-list h4 { margin: 0 0 6px; font-size: 16px; line-height: 1.4; letter-spacing: -.01em; }
.rep-publication-list h4 a { color: var(--rep-ink) !important; text-decoration: none !important; }
.rep-publication-list h4 a:hover { color: var(--rep-accent) !important; }
.rep-list-meta { display: flex; margin: 0; flex-wrap: wrap; gap: 6px 14px; color: var(--rep-muted); font-size: 11px; }
.rep-list-meta a { color: var(--rep-muted) !important; text-decoration: none !important; }
.rep-list-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.rep-list-actions a { min-height: 36px; padding: 7px 12px; font-size: 11px; }

/* Certificate directory */
.rep-certificate-directory { margin-bottom: 70px; }
.rep-directory-hero {
    position: relative; overflow: hidden; padding: 44px 0 40px;
    background: radial-gradient(circle at 86% 8%, rgba(91,43,189,.13), transparent 27%), linear-gradient(120deg, #fff 8%, #faf8ff 60%, #f0ebfb);
}
.rep-directory-hero::after {
    position: absolute; top: -80px; right: 6%; width: 320px; height: 260px; opacity: .55;
    background: radial-gradient(circle, rgba(91,43,189,.17) 2px, transparent 2.5px); background-size: 26px 26px; content: "";
}
.rep-directory-hero__inner, .rep-directory-content { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--container, 1180px)); margin-inline: auto; }
.rep-directory-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rep-directory-title h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 4vw, 3.55rem); }
.rep-directory-title p, .rep-directory-conference { max-width: 800px; margin: 0; color: var(--rep-muted); }
.rep-directory-conference { margin-top: 20px; padding-left: 13px; border-left: 3px solid var(--rep-accent); color: #4f5060; font-size: 14px; font-weight: 650; }
.rep-directory-content { padding-top: 38px; }
.rep-certificate-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.rep-certificate-directory-card {
    display: grid; min-width: 0; padding: 18px; align-items: start; border: 1px solid var(--rep-line); border-radius: 12px;
    color: var(--rep-ink) !important; background: #fff; box-shadow: var(--rep-shadow-sm);
    grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rep-certificate-directory-card:hover { border-color: rgba(91,43,189,.42); box-shadow: var(--rep-shadow); transform: translateY(-2px); }
.rep-certificate-directory-copy, .rep-certificate-directory-copy strong, .rep-certificate-directory-copy small, .rep-certificate-directory-copy > span { display: block; }
.rep-certificate-directory-copy strong { margin-bottom: 2px; font-size: 15px; }
.rep-certificate-directory-copy small { margin-bottom: 9px; color: var(--rep-accent); font-size: 11px; font-weight: 700; }
.rep-certificate-directory-copy > span { color: var(--rep-muted); font-size: 12px; line-height: 1.5; }
.rep-certificate-directory-copy b { color: var(--rep-ink); }
.rep-certificate-directory-open { margin-top: 10px; color: var(--rep-accent); font-size: 11px; font-weight: 750; grid-column: 2; }
.rep-certificate-preview-link, .rep-certificate-preview { display: block; width: 100%; }
.rep-certificate-preview-link { overflow: hidden; border: 1px solid var(--rep-line); border-radius: 12px; background: var(--rep-soft); line-height: 0; box-shadow: var(--rep-shadow-sm); }
.rep-certificate-preview { height: auto; }
.rep-pdf-frame { display: block; width: 100%; height: min(78vh, 860px); border: 1px solid var(--rep-line); border-radius: 12px; }
.rep-notice { padding: 18px; border: 1px solid var(--rep-line); border-radius: 10px; color: var(--rep-muted); background: var(--rep-soft); }
.rep-conference-details { color: var(--rep-ink); }
[hidden] { display: none !important; }

@media (max-width: 999.98px) {
    .rep-document-layout { grid-template-columns: minmax(0, 1fr); }
    .rep-document-sidebar { position: static; }
    .rep-document-sidebar-inner { display: grid; align-items: center; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
    .rep-document-sidebar h2 { grid-column: 1 / -1; }
    .rep-related-collection { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; }
    .rep-related-collection-placeholder { aspect-ratio: 3 / 4; }
    .rep-book-feature-layout { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 28px; }
}

@media (max-width: 720px) {
    .rep-collection-page main > .page-hero { padding: 38px 0 34px; }
    .rep-document-layout { width: min(calc(100% - 30px), var(--container, 1180px)); margin-top: 28px; margin-bottom: 52px; }
    .rep-document-layout > .rep-publication, .rep-document-layout > .rep-certificate { padding: 22px; border-radius: 16px; }
    .rep-document-hero { margin: -22px -22px 24px; padding: 24px 22px 28px; border-radius: 16px 16px 0 0; }
    .rep-document-back, .rep-directory-back { margin-bottom: 20px; }
    .rep-document-hero h1 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
    .rep-author { width: 100%; }
    .rep-info-grid { grid-template-columns: 1fr; }
    .rep-info-wide, .rep-info-doi, .rep-info-udc { grid-column: auto; }
    .rep-actions, .rep-actions .rep-button { width: 100%; }
    .rep-document-sidebar { display: none; }
    .rep-book-feature-layout { width: min(calc(100% - 30px), var(--container, 1180px)) !important; margin-top: 30px; margin-bottom: 42px; grid-template-columns: minmax(0, 1fr); }
    .rep-book-feature-cover img { max-width: 290px; }
    .rep-book-actions, .rep-book-facts { grid-template-columns: minmax(0, 1fr); }
    .rep-conference-publications { width: min(calc(100% - 30px), var(--container, 1180px)) !important; margin-bottom: 52px; padding-top: 34px; }
    .rep-publications-heading, .rep-directory-title { align-items: flex-start; flex-direction: column; }
    .rep-publication-list article { grid-template-columns: minmax(0, 1fr); }
    .rep-list-actions { justify-content: flex-start; }
    .rep-list-actions a { flex: 1 1 auto; }
    .rep-directory-hero { padding: 34px 0 32px; }
    .rep-directory-hero__inner, .rep-directory-content { width: min(calc(100% - 30px), var(--container, 1180px)); }
    .rep-certificate-directory-list { grid-template-columns: 1fr; }
    .rep-pdf-frame { height: 520px; }
}

@media (max-width: 430px) {
    .rep-citation-heading { align-items: flex-start; flex-direction: column; }
    .rep-list-actions a { width: 100%; }
}

/* Editorial proceedings layout. */
.rep-collection-page .article-layout > .prose > .rep-book-hero,
.rep-collection-page .article-layout > .prose > .rep-conference-publications { width: 100%; max-width: none; }
.rep-book-page .article-layout { padding: 0 !important; }
.rep-book-page .article-layout > .prose { width: 100%; max-width: none; }
.rep-book-hero { position: relative; overflow: hidden; padding: 48px 0 52px; background: radial-gradient(circle at 78% 6%, rgba(120,82,211,.15), transparent 33%), linear-gradient(112deg, #fff 0%, #faf8ff 57%, #f1ebfd 100%); }
.rep-book-hero::after { position: absolute; top: 8px; right: 3%; width: 230px; height: 200px; opacity: .45; background: radial-gradient(circle, rgba(91,43,189,.16) 1.4px, transparent 2px); background-size: 18px 18px; content: ""; }
.rep-book-hero__inner { position: relative; z-index: 1; display: grid; width: min(calc(100% - 40px), var(--container, 1180px)); margin-inline: auto; align-items: center; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .72fr); gap: clamp(30px, 5vw, 76px); }
.rep-book-hero__copy { min-width: 0; }
.rep-book-hero__kicker { display: block; margin-bottom: 13px; color: var(--rep-accent); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.rep-book-hero h1 { max-width: 770px; margin: 0 0 16px; color: var(--rep-ink); font-family: inherit; font-size: clamp(2.1rem, 2.75vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.rep-book-hero .rep-book-overview { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.rep-book-hero .rep-book-doi { margin: 0; gap: 5px; font-size: 13px; }
.rep-book-hero .rep-copy-doi { width: 27px; height: 27px; }
.rep-book-hero .rep-book-facts { display: grid; margin: 22px 0 25px; padding: 0; border: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.rep-book-hero .rep-book-facts > div { min-width: 0; min-height: 45px; padding: 0 12px; align-items: center; gap: 8px; border-right: 1px solid #e3ddf0; color: var(--rep-ink); font-size: 12px; font-weight: 650; line-height: 1.35; }
.rep-book-hero .rep-book-facts > div:first-child { padding-left: 0; }
.rep-book-hero .rep-book-facts > div:last-child { border-right: 0; }
.rep-book-hero .rep-book-facts svg { width: 19px; height: 19px; color: var(--rep-accent); }
.rep-book-hero .rep-book-facts small { margin-bottom: 3px; color: #77748a; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.rep-book-hero .rep-book-actions { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rep-book-hero .rep-book-button { min-height: 48px; padding: 10px 15px; border-radius: 9px; font-size: 13px; text-align: center; }
.rep-book-hero__description { max-width: 740px; margin-top: 18px; color: #5d5b70; font-size: 14px; line-height: 1.65; }
.rep-book-hero__description p { margin: 0; }
.rep-book-hero__visual { display: flex; min-width: 0; justify-content: center; }
.rep-book-hero__cover { width: min(100%, 310px); padding: 12px; border: 1px solid #eee8f7; border-radius: 17px; background: #fff; box-shadow: 0 22px 47px rgba(48,28,94,.15); }
.rep-book-hero__cover-image { display: block; width: 100%; height: auto; margin: 0; border-radius: 5px; }
.rep-book-hero__cover--empty { display: grid; min-height: 390px; padding: 28px; align-content: space-between; color: #352064; background: linear-gradient(155deg, #e7d1fb, #fff 70%, #d2c5e6); }
.rep-book-hero__cover--empty span { font-family: inherit; font-size: 38px; }
.rep-book-hero__cover--empty strong { font-family: inherit; font-size: 22px; line-height: 1.25; }

.rep-collection-page .rep-conference-publications { width: min(calc(100% - 40px), var(--container, 1180px)) !important; margin: 30px auto 80px; padding: 0; border: 0; }
.rep-book-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.rep-book-stat { display: flex; min-width: 0; min-height: 88px; padding: 17px; align-items: center; gap: 12px; border: 1px solid #eae5f3; border-radius: 13px; color: var(--rep-ink); background: #fff; box-shadow: 0 7px 22px rgba(47,31,92,.045); text-decoration: none !important; }
.rep-book-stat__icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--rep-accent); background: #f1ebff; }
.rep-book-stat__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.rep-book-stat > span:last-child { display: grid; min-width: 0; gap: 3px; }
.rep-book-stat strong { color: var(--rep-ink); font-size: 19px; font-weight: 800; line-height: 1.14; }
.rep-book-stat small { color: #6f6c7d; font-size: 12px; line-height: 1.35; }
.rep-book-stat--access .rep-book-stat__icon { color: #0c9b75; background: #e7f9f2; }
.rep-book-stat--access strong, .rep-book-stat--link strong { font-size: 14px; }
.rep-book-stat--link:hover { border-color: #cbb9ee; box-shadow: 0 12px 28px rgba(47,31,92,.1); }
.rep-section-tabs { display: flex; overflow-x: auto; margin: 21px 0 30px; padding: 2px 0 5px; align-items: center; gap: 8px; scrollbar-width: thin; }
.rep-section-tabs button { flex: 0 0 auto; min-height: 38px; padding: 8px 13px; border: 1px solid #e6e0f0; border-radius: 9px; color: #686476; background: #faf9fd; font: inherit; font-size: 12px; font-weight: 750; line-height: 1.25; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.rep-section-tabs button:hover { border-color: #b9a4e6; color: var(--rep-accent); }
.rep-section-tabs button.is-active { border-color: var(--rep-accent); color: #fff; background: var(--rep-accent); }
.rep-section-tabs button span { opacity: .75; }
.rep-collection-page .rep-publications-heading { display: flex; margin-bottom: 17px; align-items: end; justify-content: space-between; gap: 20px; }
.rep-collection-page .rep-publications-heading h2 { margin: 0; color: var(--rep-ink); font-family: inherit; font-size: clamp(1.7rem, 2.55vw, 2.2rem); line-height: 1.2; }
.rep-collection-page .rep-search { width: min(100%, 410px); min-height: 43px; margin: 0; padding: 0 12px; }
.rep-search svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: #807a95; stroke-linecap: round; stroke-width: 1.8; }
.rep-collection-page .rep-search input { font-size: 13px; }
.rep-collection-page .rep-publication-groups { gap: 10px; }
.rep-collection-page .rep-section-group { overflow: hidden; border: 1px solid #e7e1ef; border-radius: 12px; background: #fff; box-shadow: 0 4px 15px rgba(44,28,80,.035); }
.rep-collection-page .rep-section-group__heading { display: grid; min-height: 52px; margin: 0; padding: 10px 15px; align-items: center; border: 0; grid-template-columns: 32px minmax(0, 1fr) auto 18px; gap: 11px; list-style: none; cursor: pointer; }
.rep-collection-page .rep-section-group__heading::-webkit-details-marker { display: none; }
.rep-collection-page .rep-section-group__heading > span { width: 30px; height: 30px; border-radius: 50%; font-size: 12px; }
.rep-collection-page .rep-section-group__heading h3 { min-width: 0; color: var(--rep-ink); font-size: 15px; font-weight: 800; line-height: 1.3; }
.rep-collection-page .rep-section-group__heading small { color: var(--rep-accent); font-size: 11px; font-weight: 750; white-space: nowrap; }
.rep-collection-page .rep-section-group__heading svg { width: 18px; height: 18px; fill: none; stroke: var(--rep-accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform .2s; }
.rep-collection-page .rep-section-group[open] .rep-section-group__heading svg { transform: rotate(180deg); }
.rep-collection-page .rep-publication-list { gap: 7px; padding: 8px 15px 15px; border-top: 1px solid #eee9f5; background: #fbfaff; }
.rep-collection-page .rep-publication-list article { min-height: 76px; padding: 11px 14px; border-radius: 9px; gap: 16px; }
.rep-collection-page .rep-list-authors { margin-bottom: 2px; color: #777285; font-size: 12px; font-weight: 650; }
.rep-collection-page .rep-publication-list h4 { margin-bottom: 3px; font-size: 15px; line-height: 1.34; }
.rep-collection-page .rep-list-meta { font-size: 11px; }
.rep-collection-page .rep-list-actions a { min-height: 35px; padding: 7px 11px; font-size: 12px; white-space: nowrap; }

@media (max-width: 1000px) {
  .rep-book-hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr); gap: 30px; }
  .rep-book-hero .rep-book-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 0; }
  .rep-book-hero .rep-book-facts > div:nth-child(2) { border-right: 0; }
  .rep-book-hero .rep-book-facts > div:nth-child(3) { padding-left: 0; }
  .rep-book-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .rep-book-hero { padding: 31px 0 38px; }
  .rep-book-hero__inner { width: min(calc(100% - 30px), var(--container, 1180px)); grid-template-columns: 1fr; gap: 25px; }
  .rep-book-hero h1 { font-size: clamp(2rem, 7vw, 2.65rem); }
  .rep-book-hero__visual { justify-content: flex-start; }
  .rep-book-hero__cover { width: min(100%, 250px); }
  .rep-collection-page .rep-conference-publications { width: min(calc(100% - 30px), var(--container, 1180px)) !important; margin-top: 24px; }
  .rep-collection-page .rep-publications-heading { align-items: stretch; flex-direction: column; }
  .rep-collection-page .rep-search { width: 100%; }
}
@media (max-width: 520px) {
  .rep-book-hero__kicker { font-size: 10px; }
  .rep-book-hero h1 { font-size: clamp(1.85rem, 8vw, 2.2rem); }
  .rep-book-hero .rep-book-facts { gap: 15px 0; }
  .rep-book-hero .rep-book-facts > div { padding-inline: 10px; font-size: 11px; }
  .rep-book-hero .rep-book-facts svg { width: 17px; height: 17px; }
  .rep-book-hero .rep-book-actions { grid-template-columns: 1fr; }
  .rep-book-hero__visual { justify-content: center; }
  .rep-book-stats { gap: 8px; }
  .rep-book-stat { min-height: 85px; padding: 11px; gap: 8px; }
  .rep-book-stat__icon { flex-basis: 32px; width: 32px; height: 32px; }
  .rep-book-stat__icon svg { width: 17px; height: 17px; }
  .rep-book-stat strong { font-size: 16px; }
  .rep-book-stat--access strong, .rep-book-stat--link strong { font-size: 12px; }
  .rep-book-stat small { font-size: 10px; }
  .rep-collection-page .rep-section-group__heading { padding: 9px 10px; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 8px; }
  .rep-collection-page .rep-section-group__heading small { display: none; }
  .rep-collection-page .rep-section-group__heading h3 { font-size: 12px; }
  .rep-collection-page .rep-publication-list { padding: 8px; }
  .rep-collection-page .rep-publication-list article { padding: 12px; }
  .rep-collection-page .rep-list-actions { width: 100%; }
  .rep-collection-page .rep-list-actions a { flex: 1 1 auto; }
}
