﻿.pl2-page {
    --pl2-border: #e3e9f2;
    --pl2-ink: #0f172a;
    --pl2-muted: #64748b;
}

.pl2-head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    padding: 28px 30px;
    margin-bottom: 14px;
    border-radius: 22px;
    background: linear-gradient(120deg,#0f2d64 0%,#17499c 55%,#2563eb 100%);
    box-shadow: 0 16px 38px rgba(23,73,156,.22);
}

    .pl2-head::after {
        content: '';
        position: absolute;
        width: 270px;
        height: 270px;
        right: -90px;
        top: -130px;
        border: 55px solid rgba(255,255,255,.07);
        border-radius: 50%;
    }

.pl2-head-main {
    position: relative;
    z-index: 1;
}

.pl2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

    .pl2-eyebrow::before {
        content: '';
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: #fbbf24;
    }

.pl2-head h1 {
    margin: 9px 0 7px;
    color: #fff;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.03em;
}

.pl2-head p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 13px;
    line-height: 1.75;
}

    .pl2-head p strong {
        color: #fbbf24;
    }

.pl2-head-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.pl2-stat {
    min-width: 110px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 13px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

    .pl2-stat strong {
        display: block;
        color: #fff;
        font-size: 20px;
    }

    .pl2-stat span {
        display: block;
        margin-top: 3px;
        color: rgba(255,255,255,.60);
        font-size: 10.5px;
    }

    .pl2-stat a {
        color: #fde68a;
        text-decoration: none;
        font-size: 10.5px;
    }

.pl2-stage-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 2px 12px;
}

.pl2-stage-chip {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid var(--pl2-border);
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .16s ease;
}

    .pl2-stage-chip:hover {
        border-color: #93c5fd;
        color: #2563eb;
        transform: translateY(-1px);
    }

    .pl2-stage-chip.active {
        border-color: #2563eb;
        background: #2563eb;
        color: #fff;
        box-shadow: 0 6px 14px rgba(37,99,235,.20);
    }

.pl2-searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 14px;
    border: 1px solid var(--pl2-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(15,23,42,.055);
}

.pl2-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
}

    .pl2-search-field span {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 17px;
    }

    .pl2-search-field input {
        width: 100%;
        height: 46px;
        padding: 0 16px 0 41px;
        border: 1.5px solid #dce4ef;
        border-radius: 11px;
        color: var(--pl2-ink);
        font-size: 14px;
        outline: none;
        transition: .16s ease;
    }

        .pl2-search-field input:focus {
            border-color: #60a5fa;
            box-shadow: 0 0 0 3px rgba(96,165,250,.14);
        }

.pl2-search-btn {
    height: 46px;
    padding: 0 26px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37,99,235,.22);
    white-space: nowrap;
}

    .pl2-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 11px 24px rgba(37,99,235,.30);
    }

.pl2-layout {
    display: grid;
    grid-template-columns: 232px minmax(0,1fr);
    gap: 16px;
    align-items: start;
}

.pl2-sidebar {
    position: sticky;
    top: calc(var(--navbar-height,64px) + 14px);
    padding: 16px;
    border: 1px solid var(--pl2-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}

.pl2-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 13px;
    border-bottom: 1px solid #eef2f7;
}

    .pl2-side-head h2 {
        margin: 0;
        color: var(--pl2-ink);
        font-size: 14px;
        font-weight: 850;
    }

    .pl2-side-head a {
        color: #2563eb;
        font-size: 11px;
        text-decoration: none;
    }

.pl2-fgroup {
    margin-bottom: 12px;
}

    .pl2-fgroup label {
        display: block;
        margin-bottom: 5px;
        color: #64748b;
        font-size: 11px;
        font-weight: 700;
    }

.pl2-select {
    width: 100%;
    height: 37px;
    padding: 0 10px;
    border: 1px solid #dce4ef;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 12.5px;
    outline: none;
}

    .pl2-select:focus {
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96,165,250,.12);
    }

.pl2-apply {
    width: 100%;
    height: 40px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

    .pl2-apply:hover {
        background: #1e293b;
    }

.pl2-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 16px;
    margin-bottom: 9px;
    border: 1px solid var(--pl2-border);
    border-radius: 14px;
    background: #fff;
}

.pl2-result-count {
    color: var(--pl2-muted);
    font-size: 12.5px;
}

    .pl2-result-count strong {
        color: #2563eb;
        font-size: 17px;
    }

.pl2-sort {
    display: flex;
    gap: 4px;
    padding: 3px;
    border-radius: 9px;
    background: #f1f5f9;
}

    .pl2-sort a {
        padding: 6px 12px;
        border-radius: 7px;
        color: #64748b;
        font-size: 12px;
        text-decoration: none;
    }

        .pl2-sort a.active {
            background: #fff;
            color: #2563eb;
            font-weight: 800;
            box-shadow: 0 2px 7px rgba(15,23,42,.08);
        }

.pl2-active {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin: 0 0 10px;
}

.pl2-active-label {
    color: #94a3b8;
    font-size: 11px;
}

.pl2-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    text-decoration: none;
}

    .pl2-chip.clear {
        border-color: #fecaca;
        background: #fef2f2;
        color: #dc2626;
    }

.pl2-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pl2-doc {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) 126px;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--pl2-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15,23,42,.025);
    transition: .17s ease;
}

    .pl2-doc:hover {
        transform: translateY(-2px);
        border-color: #bfdbfe;
        box-shadow: 0 13px 28px rgba(37,99,235,.09);
    }

.pl2-file {
    position: relative;
    width: 58px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 10px;
    background: linear-gradient(145deg,#3b82f6,#2563eb);
    color: #fff;
    box-shadow: 0 8px 16px rgba(37,99,235,.19);
    text-decoration: none;
}

    .pl2-file.pdf {
        background: linear-gradient(145deg,#ef4444,#dc2626);
        box-shadow: 0 8px 16px rgba(220,38,38,.18);
    }

    .pl2-file.docx {
        background: linear-gradient(145deg,#3b82f6,#2563eb);
    }

    .pl2-file strong {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .04em;
    }

    .pl2-file span {
        font-size: 9px;
        opacity: .72;
    }

.pl2-doc-main {
    min-width: 0;
}

.pl2-doc-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--pl2-ink);
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
}

    .pl2-doc-title:hover {
        color: #2563eb;
    }

.pl2-doc-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 11px;
}

.pl2-doc-meta {
    display: flex;
    align-items: center;
    gap: 8px 13px;
    flex-wrap: wrap;
    margin-top: 7px;
    color: #94a3b8;
    font-size: 10.5px;
}

.pl2-doc-tags {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pl2-tag {
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    text-decoration: none;
}

    .pl2-tag:hover {
        background: #eff6ff;
        color: #2563eb;
    }

    .pl2-tag.gold {
        background: #fffbeb;
        color: #b45309;
    }

.pl2-doc-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.pl2-download {
    color: #64748b;
    font-size: 11px;
}

.pl2-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

    .pl2-view:hover {
        background: #2563eb;
        color: #fff;
    }

.pl2-empty {
    padding: 72px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    color: var(--pl2-muted);
}

.pl2-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 22px;
}

    .pl2-pager a, .pl2-pager span {
        min-width: 35px;
        height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border: 1px solid var(--pl2-border);
        border-radius: 9px;
        background: #fff;
        color: #475569;
        font-size: 12px;
        text-decoration: none;
    }

        .pl2-pager a:hover {
            border-color: #60a5fa;
            color: #2563eb;
        }

        .pl2-pager a.active {
            border-color: #2563eb;
            background: #2563eb;
            color: #fff;
            font-weight: 800;
        }

    .pl2-pager .disabled {
        opacity: .4;
        pointer-events: none;
    }

    .pl2-pager .dots {
        border: 0;
        background: transparent;
    }

@media (max-width: 960px) {
    .pl2-layout {
        grid-template-columns: 1fr;
    }

    .pl2-sidebar {
        position: static;
    }

    .pl2-side-fields {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .pl2-fgroup {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .pl2-head {
        padding: 22px 18px;
        border-radius: 18px;
    }

        .pl2-head h1 {
            font-size: 26px;
        }

    .pl2-head-stats {
        width: 100%;
    }

    .pl2-stat {
        flex: 1;
        min-width: 0;
    }

    .pl2-searchbar {
        flex-wrap: wrap;
    }

    .pl2-search-btn {
        width: 100%;
    }

    .pl2-side-fields {
        grid-template-columns: 1fr;
    }

    .pl2-doc {
        grid-template-columns: 48px minmax(0,1fr);
        gap: 11px;
        padding: 12px;
    }

    .pl2-file {
        width: 48px;
        height: 58px;
    }

    .pl2-doc-side {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .pl2-doc-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .pl2-doc-desc {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
