:root {
    --ink: #111827;
    --muted: #64748b;
    --line: #d7dee8;
    --surface: #ffffff;
    --soft: #f4f7fb;
    --navy: #14213d;
    --navy-soft: #20345d;
    --red: #b3262d;
    --red-dark: #8e1f27;
    --gold: #d39b2a;
    --green: #14745f;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--soft);
    color: var(--ink);
    font-family: Cambria, Georgia, "Times New Roman", serif;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 10px 24px;
    background:
        linear-gradient(120deg, rgba(237, 243, 250, 0.96), rgba(225, 233, 244, 0.94) 52%, rgba(245, 232, 235, 0.95)),
        rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(148, 163, 184, 0.34);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100%, 1400px);
    margin: 0 auto;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-weight: 800;
    box-shadow: none;
    overflow: hidden;
}

.brand-symbol:not(:has(img)) {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 12px 22px rgba(179, 38, 45, 0.18);
}

.brand-symbol img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 22px rgba(15, 23, 42, 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-nav a,
.nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.nav-dropdown:hover > button,
.nav-dropdown:focus-within > button {
    border-color: #e5ebf3;
    background: #fff;
    color: var(--red);
    transform: translateY(-1px);
}

.site-nav .nav-login {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.site-nav .nav-login:hover {
    border-color: #9f1f2b;
    background: #9f1f2b;
    color: #fff;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > button::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 12;
    display: grid;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 22px;
    width: 14px;
    height: 14px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #fff;
    transform: rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    position: relative;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: #4b5563;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    border-color: transparent;
    background: #fff3f4;
    color: var(--red);
    transform: none;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 64px 6vw 40px;
    background:
        linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(32, 52, 93, 0.94) 64%, rgba(142, 31, 39, 0.94)),
        radial-gradient(circle at 15% 20%, rgba(211, 155, 42, 0.22), transparent 32%);
    color: #fff;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1,
.detail-hero h1 {
    max-width: 860px;
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-copy h1 {
    font-size: 66px;
}

.hero-text {
    max-width: 760px;
    margin-bottom: 26px;
    color: #dce5f2;
    font-size: 25.5px;
    line-height: 1.7;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 190px 130px 110px;
    gap: 12px;
    max-width: 980px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}

.search-panel label {
    display: grid;
    gap: 6px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

.search-panel input,
.search-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    padding: 0 12px;
    color: #fff;
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    background: rgba(255, 255, 255, 0.14);
}

.search-panel input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.search-panel select option {
    color: var(--ink);
}

.search-panel input:focus,
.search-panel select:focus {
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.search-panel button {
    align-self: end;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.search-panel button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.hero-card {
    align-self: end;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-card span {
    color: #dce5f2;
    font-weight: 700;
}

.hero-card strong {
    display: block;
    margin: 8px 0;
    font-size: 52px;
}

.hero-card p {
    margin: 0;
    color: #dce5f2;
    line-height: 1.6;
}

.hero-logo-space {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-self: center;
    min-height: 250px;
    align-content: center;
}

.hero-logo-card {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0;
    min-height: 112px;
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 34px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.hero-logo-card span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.hero-logo-card img {
    max-width: 112px;
    max-height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.16));
}

.hero-logo-card strong {
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.25;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 6vw 0;
}

.stats-band article,
.repository-item,
.detail-panel,
.empty-state,
.download-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.stats-band article {
    padding: 18px 20px;
}

.stats-band span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.stats-band strong {
    display: block;
    margin-top: 6px;
    font-size: 30px;
}

.catalog-section,
.download-section {
    padding: 34px 6vw 46px;
}

.catalog-section {
    background:
        radial-gradient(circle at 10% 22%, rgba(211, 155, 42, 0.2), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(179, 38, 45, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(20, 33, 61, 0.12), rgba(32, 52, 93, 0.08) 48%, rgba(179, 38, 45, 0.1)),
        #edf3fa;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-heading.compact {
    align-items: flex-start;
}

.section-heading h2,
.detail-panel h2 {
    margin: 0;
    font-size: 26px;
}

.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-links a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.filter-links a.active,
.filter-links a:hover {
    border-color: var(--red);
    background: #fff3f4;
    color: var(--red);
}

.repository-list {
    display: grid;
    gap: 14px;
}

.repository-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    padding: 22px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.repository-item:hover {
    border-color: #c5d0dd;
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f3ff;
    color: #175cd3;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.badge.jurnal {
    background: #fff4d7;
    color: #8a5a00;
}

.badge.laporan,
.badge.prosiding {
    background: #e9f8ef;
    color: var(--green);
}

.repository-item h3 {
    margin: 12px 0 8px;
    font-size: 21px;
    line-height: 1.35;
}

.repository-item h3 a {
    text-decoration: none;
}

.repository-item h3 a:hover {
    color: var(--red);
}

.repository-item p {
    color: var(--muted);
    line-height: 1.6;
}

.meta {
    margin-bottom: 8px;
    color: var(--ink) !important;
    font-weight: 800;
}

.item-detail,
.metadata-panel dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.item-detail {
    align-content: start;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
}

.item-detail div,
.metadata-panel dl div {
    display: grid;
    gap: 4px;
}

dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

dd {
    margin: 0;
    line-height: 1.45;
}

.empty-state {
    padding: 34px;
    border-style: dashed;
    text-align: center;
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.detail-hero {
    padding: 48px 6vw 36px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: #fff;
}

.info-hero,
.upload-hero {
    padding: 48px 6vw 34px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: #fff;
}

.info-hero h1,
.upload-hero h1 {
    max-width: 780px;
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: 0;
}

.info-hero p:not(.eyebrow),
.upload-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #dce5f2;
    line-height: 1.7;
}

.detail-hero p {
    color: #dce5f2;
    font-size: 17px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 20px;
    color: #dce5f2;
    font-weight: 800;
    text-decoration: none;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    padding: 28px 6vw 0;
}

.detail-panel {
    padding: 26px;
}

.main-detail p {
    color: var(--muted);
    line-height: 1.75;
}

.download-list {
    display: grid;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.download-item strong {
    color: var(--red);
}

.download-item small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.download-item:hover {
    border-color: #c5d0dd;
    box-shadow: var(--shadow);
}

.info-section {
    padding: 28px 6vw 56px;
}

.info-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.info-summary-grid article,
.info-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.info-summary-grid article {
    padding: 18px 20px;
}

.info-summary-grid span,
.info-summary-grid small,
.info-card-head span,
.bar-row span,
.info-empty {
    color: var(--muted);
}

.info-summary-grid span {
    display: block;
    font-weight: 800;
}

.info-summary-grid strong {
    display: block;
    margin: 8px 0 4px;
    color: var(--ink);
    font-size: 34px;
    line-height: 1;
}

.info-summary-grid small {
    font-size: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    padding: 22px;
}

.info-card.wide {
    grid-column: span 2;
}

.info-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.info-card-head h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}

.info-card-head span {
    white-space: nowrap;
    font-weight: 800;
}

.bar-list,
.compact-rank,
.faculty-strip {
    display: grid;
    gap: 12px;
}

.bar-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.bar-row div {
    display: grid;
    gap: 3px;
}

.bar-row strong,
.faculty-strip strong,
.compact-rank p {
    color: var(--ink);
    font-weight: 800;
}

.bar-row i,
.compact-rank i,
.faculty-strip i {
    display: block;
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef5;
}

.bar-row i::after,
.compact-rank i::after,
.faculty-strip i::after {
    content: "";
    display: block;
    width: var(--bar-width);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), #d49a21);
}

.year-chart {
    display: grid;
    grid-template-columns: repeat(8, minmax(34px, 1fr));
    align-items: end;
    gap: 10px;
    min-height: 230px;
    padding-top: 10px;
}

.year-bar {
    display: grid;
    align-items: end;
    justify-items: center;
    gap: 8px;
    height: 220px;
}

.year-bar span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.year-bar i {
    width: 100%;
    height: var(--bar-height);
    min-height: 18px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--red), #d49a21);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.year-bar strong {
    color: var(--muted);
    font-size: 12px;
}

.compact-rank div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 40px;
    gap: 10px;
    align-items: center;
}

.compact-rank span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f2f5f9;
    color: var(--red);
    font-weight: 900;
}

.compact-rank p {
    margin: 0;
}

.compact-rank strong {
    color: var(--muted);
    text-align: right;
}

.compact-rank i {
    grid-column: 2 / 4;
    height: 8px;
}

.faculty-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faculty-strip article {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #e5ebf2;
    border-radius: 8px;
    background: #f8fafc;
}

.info-empty {
    margin: 0;
    line-height: 1.6;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 6vw;
    background: #101a30;
    color: #fff;
}

.site-footer p {
    margin: 4px 0 0;
    color: #dce5f2;
}

.upload-section {
    padding: 30px 6vw 50px;
}

.notice {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
}

.notice p {
    margin: 0 0 4px;
}

.notice.success {
    border-color: #bfe8cd;
    background: #e9f8ef;
    color: #176b3a;
}

.notice.danger {
    border-color: #f3b4ae;
    background: #fff1f0;
    color: var(--red);
}

.public-upload-form,
.form-block {
    display: grid;
    gap: 20px;
}

.public-upload-form {
    max-width: 1180px;
    margin: 0 auto;
}

.form-block {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.block-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.block-heading > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 900;
}

.block-heading h2 {
    margin: 0 0 5px;
    font-size: 22px;
}

.block-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.span-2 {
    grid-column: span 2;
}

.field span {
    color: var(--ink);
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(179, 38, 45, 0.12);
}

.section-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.section-upload {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    min-height: 126px;
    align-content: start;
}

.section-upload[hidden] {
    display: none !important;
}

.section-upload strong {
    font-size: 16px;
}

.section-upload span {
    color: var(--muted);
    font-size: 13px;
}

.section-upload input {
    width: 100%;
    font: inherit;
}

.section-upload input::file-selector-button {
    margin-right: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    padding: 9px 12px;
    cursor: pointer;
}

.upload-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

.upload-actions button,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.upload-actions button {
    border: 0;
    background: var(--red);
    color: #fff;
    cursor: pointer;
}

.secondary-action {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.catalog-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.catalog-layout-left {
    grid-template-columns: 300px minmax(0, 1fr) 280px;
}

.catalog-sidebar {
    position: sticky;
    top: 94px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18)),
        rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}

.filter-sidebar {
    display: grid;
    gap: 16px;
}

.category-sidebar {
    position: static;
    top: auto;
}

.sidebar-search-form {
    display: grid;
    gap: 12px;
}

.sidebar-search-form label {
    display: grid;
    gap: 6px;
}

.sidebar-search-form label span {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.sidebar-search-form input,
.sidebar-search-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(203, 213, 225, 0.62);
    border-radius: 8px;
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.32);
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-search-form input:focus,
.sidebar-search-form select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(179, 38, 45, 0.12);
}

.sidebar-year-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sidebar-search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sidebar-search-actions a,
.sidebar-search-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.sidebar-search-actions a {
    border: 1px solid rgba(203, 213, 225, 0.62);
    background: rgba(255, 255, 255, 0.28);
    color: var(--muted);
}

.sidebar-search-actions button {
    border: 0;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.sidebar-search-actions button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.sidebar-divider {
    height: 1px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.58);
}

.sidebar-eyebrow {
    margin: 0 0 4px;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.catalog-sidebar h3 {
    margin: 0 0 16px;
    color: #33383f;
    font-size: 20px;
    line-height: 1.2;
}

.sidebar-category-list {
    display: grid;
    gap: 8px;
}

.sidebar-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid rgba(203, 213, 225, 0.56);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.28);
    color: #566176;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-category-list a span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sidebar-category-list a span i {
    flex: 0 0 auto;
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: #dbe3ee;
    transition: background 0.18s ease, height 0.18s ease;
}

.sidebar-category-list a:hover,
.sidebar-category-list a.active {
    border-color: rgba(179, 38, 45, 0.48);
    background: rgba(255, 255, 255, 0.52);
    color: var(--red);
    box-shadow: 0 12px 24px rgba(179, 38, 45, 0.1);
    transform: translateX(-2px);
}

.sidebar-category-list a:hover span i,
.sidebar-category-list a.active span i {
    height: 32px;
    background: var(--red);
}

.sidebar-category-list strong {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 34px;
    height: 30px;
    border-radius: 999px;
    background: #edf2f8;
    color: #475569;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-category-list a.active strong,
.sidebar-category-list a:hover strong {
    background: #fff;
    color: var(--red);
}

.catalog-table {
    width: 100%;
    border-collapse: collapse;
}

.catalog-table th,
.catalog-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f6;
    text-align: left;
    vertical-align: top;
}

.catalog-table th {
    color: #3b3f46;
    font-size: 13px;
    font-weight: 800;
}

.catalog-table th:nth-child(2),
.catalog-table th:nth-child(3),
.catalog-table td:nth-child(2),
.catalog-table td:nth-child(3) {
    width: 92px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.catalog-table tr:last-child td {
    border-bottom: 0;
}

.catalog-title-cell {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.catalog-thumb {
    display: grid;
    place-items: center;
    width: 52px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    background: linear-gradient(135deg, #e8f3ff, #fff7e0);
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.catalog-pagination > span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
}

.catalog-pagination small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.catalog-pagination div {
    display: flex;
    gap: 8px;
}

.catalog-pagination a,
.catalog-pagination .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.catalog-pagination a {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.catalog-pagination a:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.catalog-pagination .disabled {
    background: #f3f6fa;
    color: #98a2b3;
}

.catalog-title-link {
    display: block;
    color: #0884ff;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.catalog-title-link:hover {
    text-decoration: underline;
}

.catalog-author,
.catalog-type {
    display: block;
    margin-top: 4px;
    color: #747b86;
    font-size: 12px;
}

.record-page {
    padding: 28px 6vw 52px;
}

.record-back {
    display: inline-flex;
    margin-bottom: 14px;
    color: #0884ff;
    font-weight: 800;
    text-decoration: none;
}

.record-card {
    max-width: 940px;
    margin: 0 auto;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.record-card h1,
.record-info h2,
.record-attachments h2,
.record-citation h2 {
    margin: 0 0 18px;
    color: #33383f;
    font-size: 22px;
}

.record-card h1 {
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.record-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 22px;
    padding: 20px 28px;
}

.record-type {
    margin: 0 0 8px;
    color: #33383f;
    font-size: 18px;
    font-weight: 800;
}

.record-title-block h2 {
    max-width: 620px;
    margin: 0 0 16px;
    color: #303238;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.32;
    text-transform: uppercase;
}

.record-tools {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.xml-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    background: #ff5a5f;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.image-badge {
    width: 32px;
    height: 32px;
    border: 1px solid #c9d2df;
    background:
        linear-gradient(135deg, transparent 58%, #9bd27c 0 70%, transparent 0),
        linear-gradient(45deg, transparent 48%, #7ab7e8 0 58%, transparent 0),
        #fff;
}

.record-author-line,
.record-abstract p,
.abstract-preview {
    color: #818891;
    line-height: 1.7;
}

.record-author-line {
    margin: 0;
    font-size: 13px;
}

.record-author-line a,
.record-info-table a,
.record-citation a {
    color: #0884ff;
    text-decoration: none;
}

.book-visual {
    display: grid;
    justify-items: center;
    align-content: center;
}

.book-cover {
    position: relative;
    width: 108px;
    height: 146px;
    border-radius: 5px;
    background: linear-gradient(90deg, #42b8e9 0 12%, #6bcaf2 12% 86%, #eef1f4 86% 100%);
    box-shadow: 10px 14px 24px rgba(17, 24, 39, 0.16);
}

.book-cover span {
    position: absolute;
    top: 0;
    left: 14px;
    width: 20px;
    height: 36px;
    background: #f05a28;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
}

.book-cover i {
    position: absolute;
    top: 46px;
    left: 25px;
    width: 66px;
    height: 30px;
    border-radius: 6px;
    background: linear-gradient(#fff 0 36%, transparent 36% 58%, #fff 58% 100%);
}

.record-cover-image {
    width: 132px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid #e1e8f0;
    border-radius: 7px;
    background: #fff;
    box-shadow: 10px 14px 24px rgba(17, 24, 39, 0.16);
}

.book-visual p {
    margin: 10px 0 7px;
    color: #8b929d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.share-row {
    display: flex;
    gap: 7px;
}

.share-row span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0b63aa;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.record-abstract {
    margin: 0 28px;
    padding: 16px 0 22px;
    border-top: 1px solid #edf1f5;
}

.record-abstract p {
    margin: 0;
    color: #747b86;
    font-size: 13px;
    font-style: italic;
    line-height: 1.85;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.record-info,
.record-attachments,
.record-citation {
    padding: 22px 28px 0;
}

.record-info-table {
    display: grid;
    margin: 0 0 34px;
    border-left: 0;
}

.record-info-table div {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    border-bottom: 1px dotted #dde4ec;
}

.record-info-table dt {
    padding: 12px 22px 12px 0;
    background: #f0f0f0;
    color: #34383f;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-align: right;
    text-transform: uppercase;
}

.record-info-table dd {
    min-height: 40px;
    margin: 0;
    padding: 12px 16px;
    color: #707984;
    font-size: 13px;
    line-height: 1.6;
}

.attachment-list {
    border: 1px solid #edf1f5;
}

.attachment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 18px;
    border-bottom: 1px solid #edf1f5;
    color: #0884ff;
    text-decoration: none;
}

.attachment-row:last-child {
    border-bottom: 0;
}

.attachment-row i {
    width: 18px;
    height: 22px;
    border: 1px solid #2dd4bf;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(104px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.qr-item {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 12px 10px 10px;
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: #737b86;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qr-item:hover {
    border-color: rgba(8, 132, 255, 0.3);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.qr-visual {
    display: grid;
    place-items: center;
    width: 122px;
    aspect-ratio: 1;
    padding: 8px;
    border: 1px solid #e5ebf2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.qr-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.qr-item strong {
    margin-top: 6px;
    font-family: Consolas, monospace;
    font-size: 12px;
    text-transform: uppercase;
}

.qr-item small {
    color: #8b929d;
    font-size: 11px;
    text-align: center;
}

.record-citation {
    padding-bottom: 22px;
}

.record-citation h2 {
    margin-top: 16px;
    padding-top: 28px;
    border-top: 1px solid #edf1f5;
    color: #7b838d;
    font-size: 24px;
}

.citation-style {
    color: #8b929d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.record-citation p:last-child {
    color: #747b86;
    font-size: 13px;
    line-height: 1.65;
}

.book-reader {
    min-height: calc(100vh - 94px);
    padding: 24px 4vw 44px;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.8), transparent 32%),
        #e8edf3;
}

.reader-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto 20px;
}

.reader-toolbar h1 {
    margin: 0 0 4px;
    color: #222833;
    font-size: 24px;
}

.reader-toolbar p {
    margin: 0;
    color: var(--muted);
}

.reader-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.reader-actions button,
.reader-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.reader-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

#pageInfo {
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}

.book-stage {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 62px;
}

.book-shell {
    display: grid;
    place-items: center;
    min-height: 650px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.14), transparent 7%, transparent 93%, rgba(15, 23, 42, 0.14)),
        radial-gradient(ellipse at 50% 96%, rgba(15, 23, 42, 0.28), transparent 58%);
    padding: 28px;
    overflow: hidden;
}

.flipbook {
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.2s ease;
}

.flipbook.is-ready {
    opacity: 1;
}

.book-leaf {
    background: #fbfbf8;
    color: var(--ink);
    overflow: hidden;
    backface-visibility: hidden;
    box-shadow: inset 0 0 18px rgba(15, 23, 42, 0.06);
}

.book-leaf::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 82%, rgba(15, 23, 42, 0.08)),
        linear-gradient(#fffef8, #f8f6ef);
    opacity: 0.66;
}

.book-leaf::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.08), transparent 22%, transparent 78%, rgba(15, 23, 42, 0.1)),
        linear-gradient(#fffdf7, #f7f4ec);
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.book-leaf-inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    justify-items: center;
    width: 100%;
    height: 100%;
    padding: 18px 16px 14px;
    backface-visibility: hidden;
}

.book-leaf canvas {
    width: 100%;
    height: auto;
    min-height: 300px;
    background:
        linear-gradient(135deg, #f8fafc 25%, #eef2f7 25% 50%, #f8fafc 50% 75%, #eef2f7 75%) 0 0 / 22px 22px;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.16);
    backface-visibility: hidden;
}

.book-leaf.is-rendered canvas {
    min-height: 0;
    background: #fff;
}

.book-leaf span {
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.stf__parent {
    filter: drop-shadow(0 24px 42px rgba(15, 23, 42, 0.3));
}

.stf__block {
    border-radius: 5px;
}

.stf__item {
    border-radius: 5px;
    backface-visibility: hidden !important;
}

.reader-bottom-wrap {
    position: sticky;
    bottom: 18px;
    z-index: 6;
    display: grid;
    justify-content: center;
    justify-items: center;
    margin: -8px auto 22px;
    pointer-events: none;
}

.reader-bottom-toolbar {
    display: flex;
    align-items: center;
    min-height: 56px;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.reader-page-count {
    min-width: 78px;
    padding: 0 14px;
    color: #8b929d;
    font-size: 18px;
    line-height: 56px;
    text-align: center;
}

.reader-bottom-toolbar button,
.reader-bottom-menu button {
    border: 0;
    background: transparent;
    color: #6b7280;
    font: inherit;
    cursor: pointer;
}

.reader-bottom-toolbar button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 56px;
    border-left: 1px solid #edf1f5;
    color: #69717c;
    font-size: 22px;
    transition: background 0.18s ease, color 0.18s ease;
}

.reader-bottom-toolbar button:hover,
.reader-bottom-toolbar button[aria-expanded="true"] {
    background: #eef4fb;
    color: #0884ff;
}

.reader-bottom-toolbar button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.reader-bottom-menu {
    width: 260px;
    margin-bottom: 10px;
    border: 1px solid #dfe5ed;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    pointer-events: auto;
}

.reader-bottom-menu[hidden] {
    display: none !important;
}

.reader-bottom-menu button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid #edf1f5;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
}

.reader-bottom-menu button:last-child {
    border-bottom: 0;
}

.reader-bottom-menu button:hover {
    background: #f7fafd;
    color: #0884ff;
}

.reader-bottom-menu button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.reader-bottom-menu span {
    display: inline-grid;
    place-items: center;
    width: 18px;
    color: #7b838d;
    font-weight: 900;
}

.reader-focus-mode .reader-toolbar {
    opacity: 0.22;
    transition: opacity 0.18s ease;
}

.reader-focus-mode .reader-toolbar:hover {
    opacity: 1;
}

.reader-single-mode .book-shell {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.page-turn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 72px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    font-size: 42px;
    cursor: pointer;
    transform: translateY(-50%);
}

.page-turn.prev {
    left: 0;
}

.page-turn.next {
    right: 0;
}

.page-turn:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.reader-fallback {
    display: none;
    max-width: 760px;
    margin: 18px auto 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.reader-fallback.show {
    display: block;
}

@media (max-width: 980px) {
    .hero-section,
    .repository-item,
    .detail-grid,
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .stats-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-summary-grid,
    .info-grid,
    .faculty-strip {
        grid-template-columns: 1fr 1fr;
    }

    .info-card.wide {
        grid-column: span 2;
    }

    .section-upload-grid {
        grid-template-columns: 1fr;
    }

    .record-hero {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .record-abstract,
    .record-info,
    .record-attachments,
    .record-citation {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .record-info-table div {
        grid-template-columns: 1fr;
    }

    .record-info-table dt {
        padding: 12px 14px;
        text-align: left;
    }

    .qr-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .hero-logo-space {
        max-width: 520px;
    }

    .catalog-sidebar {
        position: static;
    }

    .reader-toolbar {
        flex-direction: column;
    }

    .reader-actions {
        justify-content: flex-start;
    }

    .book-stage {
        padding-left: 0;
        padding-right: 0;
    }

    .book-shell {
        min-height: 560px;
        padding: 18px 8px;
    }

    .page-turn {
        display: none;
    }
}

@media (max-width: 680px) {
    .site-header-inner,
    .section-heading,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-section {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .hero-copy h1,
    .detail-hero h1 {
        font-size: 30px;
    }

    .hero-copy h1 {
        font-size: 45px;
    }

    .search-panel,
    .stats-band,
    .info-summary-grid,
    .info-grid,
    .faculty-strip,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .info-card.wide {
        grid-column: span 1;
    }

    .info-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bar-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .year-chart {
        grid-template-columns: repeat(4, minmax(34px, 1fr));
        row-gap: 18px;
    }

    .field.span-2 {
        grid-column: span 1;
    }

    .upload-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-section,
    .download-section,
    .detail-grid,
    .upload-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header,
    .hero-section,
    .detail-hero,
    .info-hero,
    .upload-hero,
    .stats-band,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-nav {
        width: 100%;
    }

    .info-hero h1,
    .upload-hero h1 {
        font-size: 30px;
    }

    .hero-logo-space {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        min-height: 0;
    }

    .hero-logo-card {
        min-height: 98px;
    }

    .record-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .record-card {
        padding: 18px;
    }

    .record-title-block h2,
    .record-card h1 {
        font-size: 20px;
    }

    .record-type {
        font-size: 16px;
    }

    .record-abstract p,
    .record-info-table dd,
    .record-citation p:last-child {
        font-size: 12px;
    }

    .catalog-table th:nth-child(3),
    .catalog-table td:nth-child(3) {
        display: none;
    }

    .qr-grid {
        grid-template-columns: 1fr;
    }

    .book-reader {
        padding-left: 12px;
        padding-right: 12px;
    }

    .book-shell {
        min-height: 480px;
    }

    .book-leaf-inner {
        padding: 12px 10px 10px;
    }
}
