.alx-safety-page {
    min-height: 70vh;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    background: var(--alx-surface-subtle, #f6f8fb);
}

.alx-safety-shell {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.alx-safety-hero,
.alx-safety-notice,
.alx-safety-workspace {
    border: 1px solid var(--alx-border, #dce3ec);
    border-radius: 20px;
    background: var(--alx-surface, #ffffff);
    box-shadow: 0 20px 55px rgba(30, 51, 84, 0.07);
}

.alx-safety-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.alx-safety-hero h1 {
    margin: 0.35rem 0 0.85rem;
    color: var(--alx-text, #172033);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.alx-safety-hero p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--alx-text-muted, #5f6b7a);
}

.alx-safety-mark,
.alx-safety-notice-icon {
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--alx-safety, #d92d3f);
    font-weight: 800;
}

.alx-safety-mark {
    width: clamp(72px, 10vw, 112px);
    aspect-ratio: 1;
    border-radius: 28px;
    font-size: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 18px 40px rgba(217, 45, 63, 0.2);
}

.alx-safety-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 1.4rem;
    border-color: rgba(217, 45, 63, 0.28);
    background: #fff7f8;
}

.alx-safety-notice-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.alx-safety-notice h2 {
    margin: 0 0 0.35rem;
    color: var(--alx-text, #172033);
    font-size: 1.05rem;
}

.alx-safety-notice p {
    margin: 0;
    color: var(--alx-text-muted, #5f6b7a);
}

.alx-safety-workspace {
    padding: clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
}

.alx-safety-plugin-output > :first-child,
.alx-safety-empty > :first-child {
    margin-top: 0;
}

.alx-safety-plugin-output > :last-child,
.alx-safety-empty > :last-child {
    margin-bottom: 0;
}

.alx-safety-empty {
    max-width: 760px;
}

.alx-safety-empty h2 {
    margin: 0.35rem 0 0.75rem;
    color: var(--alx-text, #172033);
}

@media (max-width: 720px) {
    .alx-safety-hero {
        grid-template-columns: 1fr;
    }

    .alx-safety-mark {
        width: 64px;
        border-radius: 20px;
    }

    .alx-safety-notice {
        grid-template-columns: 1fr;
    }
}
