﻿.wpe-page-public,
.wpe-admin-page,
.wpe-admin-login-page {
    padding: clamp(2.75rem, 4vw, 5rem) 0 clamp(3.5rem, 5vw, 6rem);
}

.wpe-page-header-split,
.wpe-page-header-inline {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    justify-content: space-between;
}

.wpe-page-header-split {
    align-items: stretch;
}

.wpe-page-header-card {
    min-width: min(100%, 21rem);
    max-width: 24rem;
    padding: 1.35rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(28, 24, 20, .08);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,246,240,.9));
    box-shadow: 0 18px 45px rgba(40, 30, 18, .08);
}

.wpe-mini-label,
.wpe-kicker-sm {
    display: inline-block;
    margin-bottom: .65rem;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(70, 55, 38, .72);
}

.wpe-panel-head {
    margin-bottom: 1.6rem;
}

.wpe-input {
    min-height: 3.2rem;
    border-radius: 1rem;
    border-color: rgba(34, 28, 20, .14);
    background: rgba(255,255,255,.88);
}

    .wpe-input:focus {
        border-color: rgba(90, 67, 38, .45);
        box-shadow: 0 0 0 .25rem rgba(140, 110, 67, .12);
    }

.wpe-textarea {
    min-height: 12rem;
    resize: vertical;
}

.wpe-form-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wpe-form-note,
.wpe-muted {
    color: rgba(66, 57, 48, .72);
}

.wpe-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wpe-info-list {
    display: grid;
    gap: 1rem;
}

    .wpe-info-list > div {
        display: grid;
        gap: .25rem;
    }

        .wpe-info-list > div > span {
            font-size: .76rem;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: rgba(75, 61, 45, .6);
        }

    .wpe-info-list.compact > div {
        padding-bottom: .9rem;
        border-bottom: 1px solid rgba(28, 24, 20, .08);
    }

        .wpe-info-list.compact > div:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

.wpe-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .9rem;
}

    .wpe-check-list li {
        position: relative;
        padding-left: 1.6rem;
    }

        .wpe-check-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .45rem;
            width: .72rem;
            height: .72rem;
            border-radius: 999px;
            background: linear-gradient(135deg, #b38a52, #7a5b33);
            box-shadow: 0 0 0 .2rem rgba(179, 138, 82, .14);
        }

.wpe-rich-text p + p {
    margin-top: 1rem;
}

.wpe-commitments {
    display: grid;
    gap: 1rem;
}

    .wpe-commitments h3 {
        font-size: 1rem;
        margin-bottom: .35rem;
    }

    .wpe-commitments p,
    .wpe-quote-card blockquote {
        margin: 0;
        color: rgba(52, 46, 40, .78);
    }

.wpe-quote-card blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
}

.wpe-login-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.wpe-login-aside {
    padding: clamp(1.7rem, 3vw, 2.4rem);
    border-radius: 2rem;
    background: linear-gradient(160deg, rgba(38, 29, 20, .96), rgba(83, 61, 33, .92));
    color: #f8f4ed;
    box-shadow: 0 26px 60px rgba(32, 24, 18, .18);
}

    .wpe-login-aside .wpe-kicker,
    .wpe-login-aside .wpe-lead {
        color: rgba(248, 244, 237, .82);
    }

.wpe-login-points {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

    .wpe-login-points > div {
        padding: 1rem 1.1rem;
        border-radius: 1.15rem;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.09);
    }

    .wpe-login-points span {
        display: block;
        margin-top: .25rem;
        color: rgba(248, 244, 237, .74);
    }

.wpe-login-panel {
    justify-content: center;
}

.wpe-check-row {
    padding: .35rem 0;
}

.wpe-alert-success {
    border: 1px solid rgba(39, 110, 74, .18);
    background: rgba(235, 246, 239, .95);
    color: #245d42;
    border-radius: 1rem;
}

.wpe-metric-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(30, 25, 20, .08);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,244,238,.92));
    box-shadow: 0 16px 40px rgba(40, 30, 18, .08);
    display: flex;
    flex-direction: column;
}

.wpe-metric-label {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: rgba(72, 57, 38, .62);
}

.wpe-metric-value {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    margin: .55rem 0 .75rem;
    font-family: Georgia, "Times New Roman", serif;
}

.wpe-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.wpe-action-card {
    display: block;
    padding: 1.2rem;
    border-radius: 1.25rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(30, 25, 20, .08);
    background: rgba(255,255,255,.84);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .wpe-action-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(40, 30, 18, .08);
        border-color: rgba(122, 91, 51, .22);
    }

    .wpe-action-card strong,
    .wpe-action-card span {
        display: block;
    }

    .wpe-action-card span {
        margin-top: .35rem;
        color: rgba(67, 58, 49, .72);
    }

.wpe-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wpe-admin-table {
    min-width: 760px;
    margin-bottom: 0;
}

    .wpe-admin-table thead th {
        padding: 1rem 1rem 1.05rem;
        font-size: .78rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: rgba(74, 61, 44, .7);
        border-bottom-width: 1px;
    }

    .wpe-admin-table tbody td {
        padding: 1rem;
        border-color: rgba(28, 24, 20, .07);
        vertical-align: middle;
    }

.wpe-table-media {
    display: flex;
    gap: .9rem;
    align-items: center;
    min-width: 220px;
}

    .wpe-table-media span {
        display: block;
        color: rgba(71, 61, 50, .74);
    }

.wpe-table-cover {
    width: 54px;
    height: 78px;
    object-fit: cover;
    border-radius: .9rem;
    border: 1px solid rgba(30, 25, 20, .08);
    background: rgba(255,255,255,.8);
}

.wpe-actions-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.wpe-btn-sm {
    padding: .62rem .9rem;
    min-height: auto;
    font-size: .86rem;
}

.wpe-status-badge.is-success {
    background: rgba(45, 128, 89, .12);
    color: #276849;
}

.wpe-status-badge.is-warning {
    background: rgba(180, 124, 42, .13);
    color: #8a5b1e;
}

.wpe-status-badge.is-info {
    background: rgba(55, 110, 159, .12);
    color: #2b5e8a;
}

.wpe-status-badge.is-danger {
    background: rgba(169, 69, 69, .12);
    color: #8e3131;
}

.wpe-status-badge.is-muted {
    background: rgba(102, 100, 95, .11);
    color: #5b5752;
}

.wpe-empty-state {
    padding: 1.4rem;
    border-radius: 1.2rem;
    background: rgba(248, 245, 241, .92);
    border: 1px dashed rgba(79, 65, 49, .2);
    color: rgba(70, 62, 54, .86);
}

@media (max-width: 1199.98px) {
    .wpe-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .wpe-page-header-split,
    .wpe-page-header-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .wpe-page-header-card {
        max-width: none;
    }

    .wpe-login-wrap {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .wpe-page-public,
    .wpe-admin-page,
    .wpe-admin-login-page {
        padding-top: 2.25rem;
        padding-bottom: 3.5rem;
    }

    .wpe-action-grid {
        grid-template-columns: 1fr;
    }

    .wpe-admin-table {
        min-width: 680px;
    }

    .wpe-metric-card,
    .wpe-login-aside,
    .wpe-page-header-card {
        border-radius: 1.35rem;
    }
}
