.mnasb-public {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    color: #1f2937;
    margin: 24px 0;
    padding: 24px;
}

.mnasb-public__header h2 {
    margin: 0 0 8px;
}

.mnasb-public__instructions {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    margin: 14px 0 0;
    padding: 12px 14px;
}

.mnasb-public__area {
    border-top: 1px solid #e5e7eb;
    margin-top: 22px;
    padding-top: 20px;
}

.mnasb-public__area h3 {
    margin: 0 0 6px;
}

.mnasb-public__area-desc {
    color: #64748b;
    margin: 0 0 14px;
}

.mnasb-public__question {
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    margin: 14px 0;
    padding: 14px;
}

.mnasb-public__question legend {
    font-weight: 650;
    padding: 0 6px;
}

.mnasb-public__scale {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: 10px;
}

.mnasb-public__scale label {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    padding: 10px;
}

.mnasb-public__scale label:hover {
    background: #f1f5f9;
}

.mnasb-public__open label {
    display: block;
    font-weight: 650;
    margin-bottom: 6px;
}

.mnasb-public__open textarea {
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    box-sizing: border-box;
    min-height: 100px;
    width: 100%;
}

.mnasb-public__submit button {
    background: #1d4ed8;
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 18px;
}

.mnasb-public__submit button:hover {
    background: #1e40af;
}

.mnasb-public__privacy {
    color: #64748b;
    font-size: 13px;
}

.mnasb-public-notice {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 18px;
}

.mnasb-public--thanks {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    margin: 32px auto;
    max-width: 680px;
    padding: 42px 34px;
    text-align: center;
}

.mnasb-public--thanks h2 {
    color: #0f172a;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
    margin: 18px 0 10px;
}

.mnasb-public--thanks p {
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
    margin: 10px auto;
    max-width: 560px;
}

.mnasb-public-thanks__icon {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    display: inline-flex;
    height: 88px;
    justify-content: center;
    width: 88px;
}

.mnasb-public-thanks__icon svg {
    height: 54px;
    width: 54px;
}

.mnasb-public-thanks__icon circle {
    fill: none;
    stroke: #bfdbfe;
    stroke-width: 3;
}

.mnasb-public-thanks__icon path {
    fill: none;
    stroke: #1d4ed8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.mnasb-public--thanks .mnasb-public-thanks__lead {
    color: #1e293b;
    font-size: 18px;
    font-weight: 650;
}

.mnasb-public--thanks .mnasb-public-thanks__close {
    color: #64748b;
    font-size: 15px;
    font-weight: 650;
    margin-top: 18px;
}

.mnasb-public-error {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 9px;
    color: #9a3412;
    font-weight: 650;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.mnasb-hp {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: -9999px;
    width: 0;
}

/* v0.3.18: selects públicos de segmentación. */
.mnasb-public__segmentation {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    margin: 18px 0 22px;
    padding: 16px;
}

.mnasb-public__segmentation h3 {
    margin: 0 0 4px;
}

.mnasb-public__segmentation-help {
    color: #64748b;
    font-size: 13px;
    margin: 0 0 12px;
}

.mnasb-public__segmentation-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mnasb-public__segment-field {
    margin: 0;
}

.mnasb-public__segment-field label {
    display: block;
    font-weight: 650;
    margin-bottom: 6px;
}

.mnasb-public__segment-field select {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    box-sizing: border-box;
    min-height: 42px;
    padding: 8px 10px;
    width: 100%;
}

@media (max-width: 760px) {
    .mnasb-public__segmentation-grid {
        grid-template-columns: 1fr;
    }
}
