.gdpdf-library {
    --gdpdf-text: #d7e2e5;
    --gdpdf-text-strong: #f2f6f7;
    --gdpdf-muted: #9db0b6;
    --gdpdf-border: rgba(184, 207, 213, 0.22);
    --gdpdf-surface: rgba(255, 255, 255, 0.035);
    --gdpdf-surface-hover: rgba(255, 255, 255, 0.07);
    --gdpdf-accent: #70c5cc;
    --gdpdf-accent-soft: rgba(75, 169, 178, 0.16);
    --gdpdf-download: #e19a8f;
    --gdpdf-download-soft: rgba(190, 92, 78, 0.16);
    width: 100%;
    color: var(--gdpdf-text);
    font: inherit;
}

.gdpdf-season {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
    color: var(--gdpdf-text);
}

.gdpdf-season label {
    color: var(--gdpdf-text-strong);
    font-weight: 600;
}

.gdpdf-season select {
    min-width: 11rem;
    padding: 0.6rem 2.2rem 0.6rem 0.8rem;
    color: var(--gdpdf-text-strong);
    background-color: var(--gdpdf-surface);
    border: 1px solid var(--gdpdf-border);
    border-radius: 0.4rem;
    font: inherit;
}

.gdpdf-season select option {
    color: #172124;
    background: #f5f7f8;
}

.gdpdf-tabs,
.gdpdf-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-bottom: 1px solid var(--gdpdf-border);
}

.gdpdf-tabs button,
.gdpdf-subtabs button {
    padding: 0.8rem 1rem;
    color: var(--gdpdf-muted);
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gdpdf-tabs button:hover,
.gdpdf-subtabs button:hover {
    color: var(--gdpdf-text-strong);
}

.gdpdf-tabs button[aria-selected="true"] {
    color: var(--gdpdf-text-strong);
    border-bottom-color: var(--gdpdf-accent);
}

.gdpdf-tabs button:focus-visible,
.gdpdf-subtabs button:focus-visible,
.gdpdf-document__actions a:focus-visible,
.gdpdf-document__actions button:focus-visible {
    outline: 2px solid var(--gdpdf-accent);
    outline-offset: 3px;
}

.gdpdf-subtabs {
    margin-top: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 0;
}

.gdpdf-subtabs button {
    padding: 0.58rem 0.9rem;
    border: 1px solid var(--gdpdf-border);
    border-radius: 999px;
}

.gdpdf-subtabs button[aria-selected="true"] {
    color: var(--gdpdf-text-strong);
    background: var(--gdpdf-accent-soft);
    border-color: rgba(112, 197, 204, 0.68);
}

.gdpdf-documents {
    list-style: none !important;
    margin: 1rem 0 !important;
    padding: 0 !important;
}

.gdpdf-documents li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.8rem;
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid var(--gdpdf-border);
    transition: background-color 160ms ease;
}

.gdpdf-documents li:hover {
    background: var(--gdpdf-surface);
}

.gdpdf-document__main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.gdpdf-document__main > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gdpdf-document__main strong {
    color: var(--gdpdf-text-strong);
    font-weight: 650;
    line-height: 1.4;
}

.gdpdf-document__main small {
    margin-top: 0.25rem;
    color: var(--gdpdf-muted);
    line-height: 1.35;
}

.gdpdf-document__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 auto;
    color: var(--gdpdf-download);
    background: var(--gdpdf-download-soft);
    border: 1px solid rgba(225, 154, 143, 0.48);
    border-radius: 0.45rem;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.gdpdf-document__actions {
    display: flex;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.gdpdf-document__actions a,
.gdpdf-document__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.58rem 0.9rem;
    border-radius: 0.4rem;
    font: inherit;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gdpdf-document__actions button {
    color: #bce9ec;
    background: var(--gdpdf-accent-soft);
    border: 1px solid rgba(112, 197, 204, 0.58);
}

.gdpdf-document__actions button:hover {
    color: #f2ffff;
    background: rgba(75, 169, 178, 0.28);
    border-color: var(--gdpdf-accent);
}

.gdpdf-document__actions a {
    color: #ffd1c9;
    background: var(--gdpdf-download-soft);
    border: 1px solid rgba(225, 154, 143, 0.58);
}

.gdpdf-document__actions a:hover {
    color: #fff5f2;
    background: rgba(190, 92, 78, 0.28);
    border-color: var(--gdpdf-download);
    text-decoration: none;
}

.gdpdf-document__actions a:hover,
.gdpdf-document__actions button:hover {
    transform: translateY(-1px);
}

.gdpdf-empty,
.gdpdf-fallback {
    margin: 1rem 0;
    padding: 1rem;
    color: var(--gdpdf-text);
    background: var(--gdpdf-surface);
    border-left: 3px solid var(--gdpdf-accent);
}

.gdpdf-viewer {
    width: min(94vw, 1200px);
    height: min(90vh, 850px);
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
}

.gdpdf-viewer::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.gdpdf-viewer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1rem;
    color: #172124;
    background: #fff;
}

.gdpdf-viewer__bar button {
    padding: 0.2rem 0.6rem;
    color: #172124;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    cursor: pointer;
}

.gdpdf-viewer iframe {
    display: block;
    width: 100%;
    height: calc(100% - 3.4rem);
    border: 0;
}

@media (max-width: 767px) {
    .gdpdf-season {
        justify-content: flex-start;
    }

    .gdpdf-tabs,
    .gdpdf-subtabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .gdpdf-tabs button,
    .gdpdf-subtabs button {
        flex: 0 0 auto;
    }

    .gdpdf-documents li {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 0;
    }

    .gdpdf-document__actions {
        width: 100%;
    }

    .gdpdf-document__actions a,
    .gdpdf-document__actions button {
        flex: 1;
    }

    .gdpdf-document__actions button {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gdpdf-library *,
    .gdpdf-library *::before,
    .gdpdf-library *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
