.hem-publish-readiness {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.hem-pr-hero,
.hem-pr-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 1.5rem;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    margin-bottom: 1.25rem;
}

.hem-pr-hero {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(240, 253, 244, 0.96));
}

.hem-pr-kicker {
    margin: 0 0 0.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
    font-size: 0.78rem;
}

.hem-pr-hero h1,
.hem-pr-panel h2 {
    margin-top: 0;
}

.hem-pr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hem-pr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    padding: 0.75rem 1rem;
    text-decoration: none;
    cursor: pointer;
}

.hem-pr-button-primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.hem-pr-button-danger {
    color: #991b1b;
}

.hem-pr-score-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hem-pr-score {
    min-width: 8.5rem;
    min-height: 8.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f8fafc;
    border: 10px solid #dbeafe;
    text-align: center;
}

.hem-pr-score span {
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.hem-pr-score small {
    display: block;
    color: #475569;
    margin-top: -1.5rem;
}

.hem-pr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.hem-pr-panel label {
    display: grid;
    gap: 0.4rem;
    font-weight: 800;
    margin: 0.9rem 0;
}

.hem-pr-panel input[type="text"],
.hem-pr-panel select,
.hem-pr-panel textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 0.9rem;
    padding: 0.8rem 0.9rem;
    font: inherit;
    background: #ffffff;
}

.hem-pr-panel textarea {
    resize: vertical;
}

.hem-pr-muted {
    color: #475569;
}

.hem-pr-checks {
    display: grid;
    gap: 0.7rem;
}

.hem-pr-checks label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
}

.hem-pr-checks input {
    margin-top: 0.18rem;
    transform: scale(1.2);
}

.hem-pr-output-panel {
    grid-column: 1 / -1;
}

.hem-pr-output {
    white-space: pre-wrap;
    min-height: 10rem;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    overflow-x: auto;
}

.hem-pr-note {
    background: #fffbeb;
}

@media (max-width: 820px) {
    .hem-pr-grid,
    .hem-pr-score-panel {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hem-pr-score {
        justify-self: start;
    }
}
