.westarp-wero-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-left: 0.75rem;
    padding: 0.2rem 0.7rem;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.westarp-wero-badge:hover,
.westarp-wero-badge:focus-visible {
    background: #dbeafe;
    border-color: #93c5fd;
    outline: none;
}

.westarp-wero-notice[hidden] {
    display: none;
}

.westarp-wero-notice {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a8a;
}

.westarp-wero-notice p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.westarp-wero-notice.is-active {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
}

.westarp-wero-modal {
    padding: 0;
    border: 0;
    background: transparent;
    max-width: min(32rem, calc(100vw - 2rem));
}

.westarp-wero-modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.westarp-wero-modal__card {
    position: relative;
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.westarp-wero-modal__kicker {
    margin: 0 0 0.35rem;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.westarp-wero-modal h2 {
    margin: 0 0 0.75rem;
    color: #1e3a8a;
    font-size: 1.25rem;
    line-height: 1.3;
}

.westarp-wero-modal p,
.westarp-wero-modal li {
    font-size: 0.9375rem;
    line-height: 1.55;
}

.westarp-wero-modal ul {
    margin: 0.75rem 0 1rem;
    padding-left: 1.15rem;
}

.westarp-wero-modal__close {
    position: absolute;
    top: 0.6rem;
    right: 0.7rem;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.westarp-wero-modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1rem 0 0;
}

.westarp-wero-modal__link {
    color: #1d4ed8;
    font-weight: 600;
}

.westarp-wero-modal__ok {
    padding: 0.45rem 1rem;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.westarp-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

@media (max-width: 767px) {
    .westarp-wero-badge {
        margin-left: 0;
    }
}
