.pom-protected-placeholder {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 1rem;
    background: #f9fafb;
}

.pom-protected-placeholder .pom-inline-panel {
    display: none;
    max-width: 520px;
}

.pom-protected-placeholder .pom-inline-panel.is-active {
    display: block;
}

.pom-auth-switch {
    margin-top: 0.75rem;
}

.pom-resend-block {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.pom-resend-title {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pom-open-modal {
    cursor: pointer;
}

.pom-open-modal:focus-visible,
.pom-tab:focus-visible,
.pom-button:focus-visible,
.pom-modal__close:focus-visible,
.pom-input:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.pom-modal[hidden] {
    display: none;
}

.pom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.pom-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.pom-modal__panel {
    position: relative;
    max-width: 480px;
    margin: 10vh auto;
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    z-index: 1;
}

.pom-alert {
    border-radius: 6px;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
}

.pom-alert--error {
    background: #fee2e2;
    color: #991b1b;
}

.pom-alert--success {
    background: #dcfce7;
    color: #14532d;
}

.pom-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pom-tab {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.pom-tab.is-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.pom-tab-panel {
    display: none;
}

.pom-tab-panel.is-active {
    display: block;
}

.pom-field-label {
    display: block;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.pom-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem;
    box-sizing: border-box;
}

.pom-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.6rem;
    font-size: 0.9rem;
}

.pom-button {
    margin-top: 0.8rem;
    border: 1px solid #111827;
    background: #111827;
    color: #fff;
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
}

.pom-button--secondary {
    background: #fff;
    color: #111827;
}

.pom-modal__close {
    margin-top: 0.8rem;
}

.pom-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}
