.wpum-cest-panel,
.wpum-cest-card {
    color: #1f2933;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wpum-cest-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.wpum-cest-header h1,
.wpum-cest-card h2 {
    margin: 0 0 8px;
    color: #17212b;
    line-height: 1.2;
}

.wpum-cest-header p,
.wpum-cest-muted,
.wpum-cest-note {
    color: #637083;
}

.wpum-cest-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.wpum-cest-filters input,
.wpum-cest-filters select,
.wpum-cest-form input {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    background: #fff;
}

.wpum-cest-table-wrap {
    overflow-x: auto;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
}

.wpum-cest-table {
    min-width: 820px;
}

.wpum-cest-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.wpum-cest-summary div {
    padding: 14px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
}

.wpum-cest-summary strong {
    display: block;
    color: #4b0f6b;
    font-size: 28px;
    line-height: 1;
}

.wpum-cest-summary span {
    display: block;
    margin-top: 6px;
    color: #637083;
    font-weight: 700;
}

.wpum-cest-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wpum-cest-status--ok {
    background: #f0fdf4;
    color: #166534;
}

.wpum-cest-status--warn {
    background: #fef2f2;
    color: #991b1b;
}

.wpum-cest-temp {
    user-select: all;
}

.wpum-cest-card {
    max-width: 760px;
    margin: 40px auto;
    padding: 24px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.wpum-cest-panel > .wpum-cest-card {
    margin: 0 0 18px;
}

.wpum-cest-form {
    display: grid;
    gap: 14px;
}

.wpum-cest-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: #263442;
}

.wpum-cest-button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.wpum-cest-button:hover {
    background: #1e40af;
}

.wpum-cest-alert {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #bcccdc;
    background: #f8fafc;
}

.wpum-cest-alert--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 720px) {
    .wpum-cest-card {
        margin: 20px 0;
    }

    .wpum-cest-filters {
        display: grid;
    }

    .wpum-cest-summary {
        grid-template-columns: 1fr;
    }
}
