.nf-public,
.nf-portal,
.nutrifit-admin {
    --nf-green: #1f7a4d;
    --nf-green-2: #2fa36b;
    --nf-mint: #e9f7ef;
    --nf-dark: #17211b;
    --nf-muted: #6b7280;
    --nf-line: #e5e7eb;
    --nf-bg: #f7faf8;
    color: var(--nf-dark);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nf-public *,
.nf-portal *,
.nutrifit-admin * {
    box-sizing: border-box;
}

.nf-public,
.nf-portal {
    background: var(--nf-bg);
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    margin: 0 auto;
    max-width: 1180px;
    padding: 18px;
}

.nf-public {
    overflow: hidden;
}

.nf-hero,
.nf-portal-head {
    background: linear-gradient(135deg, rgba(31, 122, 77, .95), rgba(47, 163, 107, .78));
    border-radius: 8px;
    color: #fff;
    margin: 0 0 18px;
    padding: 28px;
}

.nf-portal-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.nf-head-actions a {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    padding: 10px 12px;
    text-decoration: none;
}

.nf-hero h2,
.nf-portal-head h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    margin: 8px 0;
}

.nf-public .nf-hero h2 {
    max-width: 840px;
}

.nf-hero p,
.nf-portal-head p {
    color: rgba(255, 255, 255, .9);
    margin: 0;
}

.nf-eyebrow {
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: inherit;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 10px;
}

.nf-eyebrow-green {
    background: var(--nf-mint);
    color: var(--nf-green);
}

.nf-card {
    background: #fff;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .035);
    margin: 0 0 14px;
    padding: 16px;
}

.nf-public .nf-card {
    overflow: hidden;
}

.nf-card h3,
.nf-card h4 {
    margin-top: 0;
}

.nf-kpis {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 16px;
}

.nf-kpis .nf-card span {
    color: var(--nf-muted);
    display: block;
    font-size: 13px;
}

.nf-kpis .nf-card strong {
    color: var(--nf-green);
    display: block;
    font-size: 28px;
    margin-top: 4px;
}

.nf-form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-full {
    grid-column: 1 / -1;
}

.nf-form label {
    color: #374151;
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.nf-form input,
.nf-form select,
.nf-form textarea {
    appearance: auto;
    background: #fff;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    color: var(--nf-dark);
    display: block;
    font-size: 15px;
    height: auto;
    line-height: 1.4;
    margin-top: 6px;
    max-width: 100%;
    min-height: 48px;
    padding: 11px;
    width: 100%;
}

.nf-form textarea {
    min-height: 96px;
}

.nf-form select {
    padding-right: 34px;
}

.nf-check {
    align-items: flex-start;
    background: var(--nf-bg);
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    display: flex !important;
    gap: 10px;
    padding: 12px;
}

.nf-check input {
    margin-top: 2px;
    width: auto;
}

.nf-form .nf-check input[type="checkbox"] {
    appearance: auto;
    display: inline-block;
    flex: 0 0 16px;
    height: 16px;
    line-height: 1;
    margin: 2px 0 0;
    min-height: 0;
    padding: 0;
    width: 16px;
}

.nf-check span {
    display: block;
    line-height: 1.45;
}

.nf-button,
.nf-tab-buttons button {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.nf-button {
    display: inline-flex;
    text-decoration: none;
}

.nf-button {
    background: var(--nf-green);
    color: #fff;
    margin-top: 14px;
    padding: 12px 15px;
}

.nf-form .nf-button {
    min-width: 180px;
    justify-content: center;
}

.nf-button-secondary {
    background: #fff;
    border: 1px solid #bfe2cc;
    color: var(--nf-green);
}

.nf-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.nf-note {
    color: var(--nf-muted);
    font-size: 13px;
}

.nf-ok {
    color: var(--nf-green);
    font-weight: 800;
}

.nf-warning {
    color: #b7791f;
    font-weight: 800;
}

.nf-tabs {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: 230px minmax(0, 1fr);
}

.nf-tab-buttons {
    background: #fff;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
    position: sticky;
    top: 88px;
}

.nf-tab-buttons button {
    background: transparent;
    color: #374151;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.nf-tab-buttons button.active {
    background: var(--nf-mint);
    color: var(--nf-green);
}

.nf-tab-panel {
    display: none;
    min-width: 0;
}

.nf-tab-panel.active {
    display: block;
}

.nf-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-portal .nf-card ul {
    margin-bottom: 0;
}

.nf-portal .nf-card li {
    margin: 0 0 8px;
}

.nf-login {
    max-width: 640px;
}

.nf-login .login-username label,
.nf-login .login-password label {
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
}

.nf-login input[type="text"],
.nf-login input[type="password"] {
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    padding: 11px;
    width: 100%;
}

.nf-login input[type="submit"] {
    background: var(--nf-green);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 12px 15px;
}

.nutrifit-admin code {
    background: #f3f4f6;
    border-radius: 6px;
    padding: 3px 6px;
}

.nf-admin-form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-admin-form-grid label {
    display: block;
}

.nf-admin-form-grid input,
.nf-admin-form-grid select {
    border: 1px solid #dcdcde;
    border-radius: 6px;
    display: block;
    margin-top: 6px;
    max-width: 100%;
    min-height: 38px;
    padding: 7px 9px;
    width: 100%;
}

.nf-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
}

.nf-status-nou {
    background: #e0f2fe;
    color: #075985;
}

.nf-status-contactat {
    background: #fef3c7;
    color: #92400e;
}

.nf-status-cita {
    background: #ede9fe;
    color: #5b21b6;
}

.nf-status-convertit {
    background: #dcfce7;
    color: #166534;
}

.nf-status-descartat {
    background: #fee2e2;
    color: #991b1b;
}

.nf-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.nf-status-actions a {
    font-size: 11px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .nf-kpis,
    .nf-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nf-tabs {
        grid-template-columns: 1fr;
    }

    .nf-tab-buttons {
        display: flex;
        position: static;
    }

    .nf-tab-buttons button {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nf-kpis,
    .nf-list,
    .nf-form-grid {
        grid-template-columns: 1fr;
    }

    .nf-hero,
    .nf-portal-head {
        padding: 20px;
    }

    .nf-public,
    .nf-portal {
        padding: 12px;
    }

    .nf-portal-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.nf-natacio .nf-card h4 {
    margin: 18px 0 10px;
}

.nf-table-wrap {
    overflow-x: auto;
}

.nf-table {
    border-collapse: collapse;
    min-width: 680px;
    width: 100%;
}

.nf-table th,
.nf-table td {
    border: 1px solid var(--nf-line);
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.nf-table th {
    background: var(--nf-mint);
    color: var(--nf-green);
    font-weight: 900;
}

.nf-natacio details.nf-card summary,
.nf-legal-box summary {
    cursor: pointer;
    margin-bottom: 10px;
}

.nf-legal-box {
    background: var(--nf-bg);
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    margin: 14px 0;
    padding: 14px;
}

.nf-ok-box {
    background: var(--nf-mint);
    border-color: #bfe2cc;
}

.nf-status-pagat,
.nf-status-completed,
.nf-status-processing {
    background: #dcfce7;
    color: #166534;
}

.nf-status-pendent,
.nf-status-on-hold,
.nf-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.nf-status-cancelled,
.nf-status-refunded,
.nf-status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* v0.7.0 Natació premium */
.nf-public p,
.nf-public li,
.nf-public td,
.nf-public summary,
.nf-public label,
.nf-public .nf-note {
    color: #1f2937;
}

.nf-public .nf-note {
    font-size: 14px;
}

.nf-public .strong-note {
    color: #111827;
    font-weight: 700;
}

.nf-hero-premium {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.nf-collaboration-text {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    display: inline-block;
    font-weight: 800;
    margin-top: 12px !important;
    padding: 8px 10px;
}

.nf-ajuntament-logo,
.nf-ajuntament-placeholder {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    color: var(--nf-dark);
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 92px;
    min-width: 160px;
    padding: 12px;
    text-align: center;
}

.nf-ajuntament-logo img {
    height: auto;
    max-height: 86px;
    max-width: 180px;
}

.nf-step-grid,
.nf-level-boxes {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 14px;
}

.nf-step-grid .nf-card span {
    align-items: center;
    background: var(--nf-mint);
    border-radius: 999px;
    color: var(--nf-green);
    display: inline-flex;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    margin-bottom: 8px;
    width: 32px;
}

.nf-step-grid .nf-card strong {
    color: #111827;
    display: block;
    font-size: 17px;
}

.nf-step-grid .nf-card p {
    margin: 6px 0 0;
}

.nf-accordion,
.nf-form-section {
    background: #fff;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.035);
    margin: 0 0 14px;
    overflow: hidden;
}

.nf-accordion summary,
.nf-form-section summary {
    background: #f8fbf9;
    cursor: pointer;
    font-size: 17px;
    font-weight: 900;
    list-style: none;
    padding: 15px 18px;
}

.nf-accordion summary::-webkit-details-marker,
.nf-form-section summary::-webkit-details-marker {
    display: none;
}

.nf-accordion summary::after,
.nf-form-section summary::after {
    content: '+';
    float: right;
    font-weight: 900;
}

.nf-accordion[open] summary::after,
.nf-form-section[open] summary::after {
    content: '–';
}

.nf-accordion-body,
.nf-form-section > .nf-form-grid,
.nf-form-section > p,
.nf-form-section > label,
.nf-form-section > .nf-legal-box {
    margin: 0;
    padding: 16px 18px;
}

.nf-form-section > .nf-form-grid {
    padding-top: 14px;
}

.nf-level-box {
    background: var(--nf-mint);
    border: 1px solid #bfe2cc;
    border-radius: 8px;
    color: #111827;
    font-weight: 700;
    padding: 12px;
}

.nf-warning-text {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #7c2d12 !important;
    padding: 12px;
}

.nf-button-big {
    font-size: 16px;
    justify-content: center;
    min-height: 52px;
    width: 100%;
}

.nf-status-pendent_validacio {
    background: #fef3c7;
    color: #92400e;
}

.nf-status-no_solicitat {
    background: #f3f4f6;
    color: #374151;
}

.nf-status-validat {
    background: #dcfce7;
    color: #166534;
}

.nf-status-rebutjat {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 900px) {
    .nf-hero-premium,
    .nf-step-grid,
    .nf-level-boxes {
        grid-template-columns: 1fr;
    }

    .nf-ajuntament-logo,
    .nf-ajuntament-placeholder {
        justify-content: flex-start;
        min-width: 0;
    }
}

/* v0.7.1 Natació: més separació visual i filtratge intel·ligent */
/* v0.7.2 Natació: observacions de nivell/horari i preguntes de cursos previs actualitzades */
.nf-natacio-premium .nf-step-grid {
    gap: 18px;
    margin-bottom: 24px;
}

.nf-natacio-premium .nf-step-grid .nf-card {
    border-radius: 14px;
    padding: 20px;
}

.nf-natacio-premium .nf-accordion,
.nf-natacio-premium .nf-form-section {
    border-radius: 14px;
    margin-bottom: 22px;
}

.nf-natacio-premium .nf-accordion summary,
.nf-natacio-premium .nf-form-section summary {
    background: linear-gradient(180deg, #ffffff, #f8fbf9);
    border-bottom: 1px solid var(--nf-line);
    color: #111827;
    padding: 18px 22px;
}

.nf-natacio-premium .nf-accordion-body,
.nf-natacio-premium .nf-form-section > .nf-form-grid,
.nf-natacio-premium .nf-form-section > p,
.nf-natacio-premium .nf-form-section > label,
.nf-natacio-premium .nf-form-section > .nf-legal-box {
    padding: 22px;
}

.nf-natacio-premium .nf-form-grid {
    gap: 18px;
}

.nf-natacio-premium .nf-table th,
.nf-natacio-premium .nf-table td {
    padding: 13px 14px;
}

.nf-natacio-premium .nf-level-boxes {
    gap: 18px;
    margin: 20px 0 22px;
}

.nf-natacio-premium .nf-level-box {
    background: #ffffff;
    border: 1px solid #cfe9d8;
    border-left: 5px solid var(--nf-green);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(23, 33, 27, .07);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 126px;
    padding: 18px;
}

.nf-natacio-premium .nf-level-title {
    color: var(--nf-green);
    display: block;
    font-size: 18px;
    font-weight: 900;
}

.nf-natacio-premium .nf-level-desc {
    color: #1f2937;
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.nf-natacio-premium .nf-smart-help {
    color: #374151;
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 8px;
}

.nf-natacio-premium .nf-smart-help-error {
    color: #991b1b;
}

.nf-natacio-premium .nf-form-section select:disabled {
    background: #f3f4f6;
    color: #6b7280;
}

.nf-natacio-premium .nf-button-big {
    border-radius: 14px;
    margin-top: 6px;
}

/* v0.7.3 - millores formulari natació */
.nf-subsection-title {
    background: #f1f5f9;
    border-left: 4px solid var(--nf-green);
    border-radius: 8px;
    color: var(--nf-dark);
    font-size: 15px;
    margin: 12px 0 0;
    padding: 10px 12px;
}

.nf-form-section[open] {
    margin-bottom: 22px;
}

.nf-form .nf-check a {
    color: var(--nf-green);
    font-weight: 900;
    text-decoration: underline;
}

.nf-form textarea::placeholder,
.nf-form input::placeholder {
    color: #64748b;
}


/* v0.7.4 - separació del títol superior en la pàgina Natació */
.nf-public.nf-natacio-premium {
    margin-top: 36px !important;
}

.nf-public.nf-natacio-premium .nf-hero {
    margin-top: 0 !important;
}

@media (max-width: 700px) {
    .nf-public.nf-natacio-premium {
        margin-top: 26px !important;
    }
}


/* v0.7.5 - logo Ajuntament en ajustos */
.nf-admin-help {
    color: #64748b;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.nf-logo-preview {
    background: #ffffff;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    padding: 12px;
}

.nf-logo-preview strong {
    display: block;
    margin-bottom: 8px;
}

.nf-logo-preview img {
    background: #ffffff;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    height: auto;
    max-height: 90px;
    max-width: 260px;
    padding: 10px;
}

/* v0.7.7 - bloc legal més clar i visible */
.nf-legal-box-premium {
    background: #ffffff;
    border: 1px solid #cfe9d8;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(23, 33, 27, .07);
    overflow: hidden;
}

.nf-legal-box-premium summary {
    background: linear-gradient(180deg, #ffffff, #eefaf3);
    border-bottom: 1px solid #cfe9d8;
    color: #111827;
    padding: 18px 22px;
}

.nf-legal-box-premium .nf-legal-box-content {
    padding: 22px;
}

.nf-legal-box-premium p,
.nf-legal-box-premium li,
.nf-legal-box-premium strong {
    color: #111827;
}

.nf-legal-link-button {
    background: var(--nf-green);
    border-radius: 10px;
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 900;
    line-height: 1.2;
    padding: 12px 16px;
    text-decoration: none !important;
}

.nf-legal-link-button:hover,
.nf-legal-link-button:focus {
    background: #17643e;
    color: #ffffff !important;
}

.nf-legal-summary-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    margin: 18px 0;
}

.nf-legal-summary-grid ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.nf-legal-summary-grid li {
    margin-bottom: 7px;
}

.nf-legal-responsable {
    background: #f8fbf9;
    border: 1px solid var(--nf-line);
    border-radius: 12px;
    padding: 16px;
}

.nf-legal-responsable p {
    margin: 6px 0 14px;
}

.nf-legal-responsable a {
    color: var(--nf-green);
    font-weight: 900;
    text-decoration: underline;
}

@media (max-width: 800px) {
    .nf-legal-summary-grid {
        grid-template-columns: 1fr;
    }
}

.nf-product-map {
    background: #f8fbf9;
    border: 1px solid var(--nf-line, #d8e6dc);
    border-radius: 14px;
    padding: 14px;
}

.nf-product-map h3 {
    margin: 0 0 8px;
}

.nf-product-map label {
    display: block;
    margin: 12px 0;
}

/* v0.8.0 - justificant PDF Natació */
.nf-natacio-receipt-box {
    margin-top: 24px !important;
    padding: 18px 20px !important;
    border-left: 5px solid #2f7d32 !important;
}
.nf-natacio-receipt-box .button {
    margin-top: 10px;
}


/* v0.9.3 - millora responsive mòbil Natació: legal visible però més net */
.nf-mobile-form-guide,
.nf-mobile-legal-compact,
.nf-field-help {
    display: none;
}

@media (max-width: 768px) {
    .nf-public.nf-natacio-premium {
        border-left: 0;
        border-right: 0;
        margin-left: -8px;
        margin-right: -8px;
        max-width: none;
        padding: 10px;
        width: calc(100% + 16px);
    }

    .nf-public.nf-natacio-premium .nf-hero {
        border-radius: 14px;
        padding: 18px 16px;
    }

    .nf-public.nf-natacio-premium .nf-hero h2 {
        font-size: clamp(28px, 9vw, 36px);
        line-height: 1.08;
    }

    .nf-hero-premium {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nf-ajuntament-logo,
    .nf-ajuntament-placeholder {
        align-self: flex-start;
        min-height: 74px;
        min-width: 0;
        padding: 10px;
        width: 100%;
    }

    .nf-ajuntament-logo img {
        height: auto;
        max-height: 70px;
        max-width: 100%;
        object-fit: contain;
    }

    .nf-step-grid {
        gap: 10px;
        grid-template-columns: 1fr;
        margin-bottom: 16px;
    }

    .nf-natacio-premium .nf-step-grid .nf-card {
        align-items: flex-start;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 4px 10px;
        margin-bottom: 0;
        padding: 13px 14px;
    }

    .nf-natacio-premium .nf-step-grid .nf-card p {
        grid-column: 2;
        margin: 0;
    }

    .nf-natacio-premium .nf-accordion,
    .nf-natacio-premium .nf-form-section {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .nf-natacio-premium .nf-accordion summary,
    .nf-natacio-premium .nf-form-section summary {
        font-size: 16px;
        line-height: 1.25;
        padding: 14px 15px;
    }

    .nf-natacio-premium .nf-accordion-body,
    .nf-natacio-premium .nf-form-section > .nf-form-grid,
    .nf-natacio-premium .nf-form-section > p,
    .nf-natacio-premium .nf-form-section > label,
    .nf-natacio-premium .nf-form-section > .nf-legal-box {
        padding: 14px;
    }

    .nf-form-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .nf-form label {
        font-size: 14px;
        line-height: 1.35;
    }

    .nf-form input,
    .nf-form select,
    .nf-form textarea {
        font-size: 16px;
        min-height: 48px;
        padding: 11px 12px;
    }

    .nf-check {
        border-radius: 12px;
        gap: 9px;
        padding: 12px;
    }

    .nf-check span {
        font-size: 14px;
        line-height: 1.42;
    }

    .nf-mobile-form-guide {
        background: #eefaf3;
        border: 1px solid #cfe9d8;
        border-radius: 12px;
        color: #0f5132;
        display: block;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.35;
        margin: 0 0 14px;
        padding: 12px 14px;
    }

    .nf-mobile-legal-compact {
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-radius: 10px;
        color: #14532d !important;
        display: block;
        font-weight: 800;
        line-height: 1.4;
        margin-bottom: 12px;
        padding: 11px 12px;
    }

    .nf-field-help {
        color: #475569;
        display: block;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        margin-top: 6px;
    }

    .nf-legal-box-premium summary {
        padding: 14px 15px;
    }

    .nf-legal-box-premium .nf-legal-box-content {
        padding: 14px;
    }

    .nf-legal-summary-grid {
        gap: 12px;
        grid-template-columns: 1fr;
        margin: 12px 0;
    }

    .nf-legal-summary-grid ul {
        margin-left: 18px;
    }

    .nf-legal-summary-grid li {
        margin-bottom: 5px;
    }

    .nf-legal-link-button,
    .nf-button-big {
        border-radius: 12px;
        justify-content: center;
        min-height: 50px;
        text-align: center;
        width: 100%;
    }

    .nf-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nf-table {
        min-width: 620px;
    }

    .nf-level-boxes {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nf-natacio-premium .nf-level-box {
        min-height: 0;
        padding: 14px;
    }

    .nf-subsection-title {
        font-size: 14px;
        margin-top: 6px;
    }

    .grecaptcha-badge {
        bottom: 8px !important;
        right: 6px !important;
        transform: scale(.72);
        transform-origin: bottom right;
        z-index: 30 !important;
    }
}

@media (max-width: 430px) {
    .nf-public.nf-natacio-premium {
        margin-left: -12px;
        margin-right: -12px;
        padding: 8px;
        width: calc(100% + 24px);
    }

    .nf-public.nf-natacio-premium .nf-hero {
        padding: 16px 14px;
    }

    .nf-public.nf-natacio-premium .nf-card {
        padding: 13px;
    }

    .nf-collaboration-text,
    .nf-eyebrow {
        font-size: 12px;
        line-height: 1.25;
    }

    .nf-check span,
    .nf-form label {
        font-size: 13.5px;
    }
}
