.nrp-portal,
.nrp-message {
    --nrp-green: #029621;
    --nrp-green-dark: #026c19;
    --nrp-blue: #0507AB;
    --nrp-ink: #071225;
    --nrp-muted: #62708a;
    --nrp-line: rgba(7, 18, 37, 0.10);
    --nrp-soft: #f6faf8;
    font-family: inherit;
    max-width: 1120px;
    margin: 0 auto;
    color: var(--nrp-ink);
}

.nrp-portal {
    padding: 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(5, 7, 171, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(2, 150, 33, 0.08), rgba(255, 255, 255, 0.96) 34%, rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(2, 150, 33, 0.14);
    box-shadow: 0 28px 90px rgba(7, 18, 37, 0.12);
}

.nrp-message {
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(7, 18, 37, 0.10);
}

.nrp-hero {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 42px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(7, 18, 37, 0.96), rgba(5, 7, 171, 0.92)),
        linear-gradient(135deg, var(--nrp-green), var(--nrp-blue));
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 60px rgba(5, 7, 171, 0.18);
}

.nrp-hero:before,
.nrp-hero:after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.nrp-hero:before {
    width: 260px;
    height: 260px;
    right: -74px;
    top: -86px;
    background: rgba(2, 150, 33, 0.34);
    filter: blur(4px);
}

.nrp-hero:after {
    width: 180px;
    height: 180px;
    left: -80px;
    bottom: -88px;
    background: rgba(255, 255, 255, 0.10);
}

.nrp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.nrp-hero-mark {
    position: relative;
    z-index: 1;
    width: 112px;
    height: 112px;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.78);
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.nrp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #e8fff0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nrp-kicker:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--nrp-green);
    box-shadow: 0 0 0 7px rgba(2, 150, 33, 0.22);
}

.nrp-title,
.nrp-message h2 {
    margin: 0;
    font-family: var(--e-global-typography-primary-font-family, inherit);
    font-weight: var(--e-global-typography-primary-font-weight, 800);
    line-height: var(--e-global-typography-primary-line-height, 1.08);
    letter-spacing: -0.04em;
}

.nrp-title {
    max-width: 820px;
    font-size: clamp(34px, 4.2vw, 58px);
    color: #ffffff;
}

.nrp-subtitle {
    margin: 18px 0 0;
    max-width: 640px;
    font-family: var(--e-global-typography-secondary-font-family, inherit);
    font-weight: var(--e-global-typography-secondary-font-weight, 600);
    line-height: var(--e-global-typography-secondary-line-height, 1.45);
    font-size: clamp(18px, 2vw, 24px);
    color: rgba(255, 255, 255, 0.92);
}

.nrp-intro,
.nrp-message p,
.nrp-upload p {
    margin: 10px 0 0;
    color: var(--nrp-muted);
    line-height: 1.7;
}

.nrp-intro {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
}

.nrp-category-section {
    margin-top: -28px;
    position: relative;
    z-index: 3;
    padding: 0 22px;
}

.nrp-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nrp-category-card {
    text-align: center;
    min-height: 124px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 18, 37, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--nrp-ink);
    box-shadow: 0 16px 45px rgba(7, 18, 37, 0.10);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nrp-category-card:hover,
.nrp-category-card:focus {
    transform: translateY(-3px);
    border-color: rgba(2, 150, 33, 0.40);
    box-shadow: 0 22px 55px rgba(2, 150, 33, 0.14);
    outline: none;
}

.nrp-category-card.nrp-category-active {
    border-color: rgba(2, 150, 33, 0.60);
    box-shadow: 0 22px 55px rgba(2, 150, 33, 0.18);
}

.nrp-category-card.nrp-category-missing {
    opacity: 0.72;
}

.nrp-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(2, 150, 33, 0.16), rgba(5, 7, 171, 0.10));
    color: var(--nrp-green-dark);
    font-size: 13px;
    font-weight: 800;
}

.nrp-category-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.25;
    color: var(--nrp-ink);
    text-align: center;
    word-break: break-word;
}

.nrp-folders-empty {
    grid-column: 1 / -1;
}

.nrp-section-head-cards {
    margin-bottom: 18px;
}


.nrp-files-section {
    margin-top: 26px;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(7, 18, 37, 0.08);
    box-shadow: 0 18px 60px rgba(7, 18, 37, 0.08);
}

.nrp-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.nrp-section-label {
    display: block;
    margin-bottom: 6px;
    color: var(--nrp-green-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nrp-section-head h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    color: var(--nrp-ink);
}

.nrp-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 52%;
}

.nrp-breadcrumb-item {
    border: 0;
    background: rgba(2, 150, 33, 0.09);
    color: var(--nrp-green-dark);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

.nrp-breadcrumb-separator {
    color: rgba(7, 18, 37, 0.36);
}

.nrp-loading,
.nrp-empty,
.nrp-error,
.nrp-success {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: #475569;
    margin: 12px 0;
}

.nrp-error {
    background: #fef2f2;
    color: #991b1b;
}

.nrp-success {
    background: #ecfdf5;
    color: #065f46;
}

.nrp-files-table-wrap {
    overflow: hidden;
    border: 1px solid var(--nrp-line);
    border-radius: 18px;
    background: #ffffff;
}

.nrp-files-table-head,
.nrp-file-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 150px 110px 110px;
    gap: 16px;
    align-items: center;
}

.nrp-files-table-head {
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(2, 150, 33, 0.10), rgba(5, 7, 171, 0.06));
    color: var(--nrp-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nrp-files {
    display: block;
}

.nrp-file-row {
    padding: 16px 18px;
    border-top: 1px solid var(--nrp-line);
}

.nrp-file-row:hover {
    background: var(--nrp-soft);
}

.nrp-file-name-cell {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.nrp-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef8f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--nrp-green-dark);
    font-size: 12px;
    font-weight: 800;
}

.nrp-file-text {
    min-width: 0;
}

.nrp-file-text strong {
    display: block;
    color: var(--nrp-ink);
    line-height: 1.3;
    word-break: break-word;
    font-weight: 750;
}

.nrp-file-text small {
    display: block;
    color: var(--nrp-muted);
    font-size: 12px;
    margin-top: 4px;
}

.nrp-file-type-cell {
    color: var(--nrp-muted);
    font-weight: 650;
}

.nrp-file-action-cell {
    display: flex;
    align-items: center;
}

.nrp-muted {
    color: rgba(7, 18, 37, 0.36);
}

.nrp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--nrp-green);
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(2, 150, 33, 0.22);
}

.nrp-button:hover,
.nrp-button:focus {
    background: var(--nrp-green-dark);
    color: #ffffff !important;
    outline: none;
}

.nrp-button-secondary {
    background: rgba(5, 7, 171, 0.08);
    color: var(--nrp-blue) !important;
    box-shadow: none;
}

.nrp-button-secondary:hover,
.nrp-button-secondary:focus {
    background: rgba(5, 7, 171, 0.14);
    color: var(--nrp-blue) !important;
}


.nrp-home-card .nrp-category-icon {
    background: linear-gradient(135deg, rgba(5, 7, 171, 0.12), rgba(2, 150, 33, 0.14));
}

.nrp-category-card.nrp-category-active .nrp-category-icon {
    background: linear-gradient(135deg, rgba(2, 150, 33, 0.24), rgba(5, 7, 171, 0.16));
}

.nrp-upload {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(2, 150, 33, 0.14);
    box-shadow: 0 14px 45px rgba(7, 18, 37, 0.07);
}

.nrp-upload h3 {
    margin: 0;
    color: var(--nrp-ink);
    font-size: 22px;
}

#nrp-upload-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

#nrp-file-input {
    max-width: 100%;
}

.nrp-upload-status {
    grid-column: 1 / -1;
}

@media (max-width: 980px) {
    .nrp-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nrp-files-table-head,
    .nrp-file-row {
        grid-template-columns: minmax(220px, 1fr) 120px 100px 100px;
    }
}

@media (max-width: 767px) {
    .nrp-portal,
    .nrp-message {
        padding: 14px;
        border-radius: 22px;
    }

    .nrp-hero {
        min-height: auto;
        padding: 28px 22px 62px;
        border-radius: 22px;
    }

    .nrp-hero-mark {
        display: none;
    }

    .nrp-title {
        font-size: 32px;
        letter-spacing: -0.035em;
    }

    .nrp-subtitle {
        font-size: 18px;
    }

    .nrp-category-section {
        padding: 0 10px;
        margin-top: -42px;
    }

    .nrp-category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nrp-category-card {
        min-height: auto;
        padding: 18px;
    }

    .nrp-files-section {
        padding: 18px;
        border-radius: 20px;
    }

    .nrp-section-head {
        display: block;
    }

    .nrp-breadcrumb {
        justify-content: flex-start;
        max-width: 100%;
        margin-top: 14px;
    }

    .nrp-files-table-head {
        display: none;
    }

    .nrp-files-table-wrap {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .nrp-file-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        margin-bottom: 12px;
        border: 1px solid var(--nrp-line);
        border-radius: 18px;
        background: #ffffff;
    }

    .nrp-file-type-cell:before {
        content: "Tipo: ";
        font-weight: 800;
        color: var(--nrp-ink);
    }

    .nrp-file-action-cell,
    .nrp-file-action-cell .nrp-button,
    #nrp-upload-form,
    #nrp-upload-form .nrp-button {
        width: 100%;
    }

    
.nrp-home-card .nrp-category-icon {
    background: linear-gradient(135deg, rgba(5, 7, 171, 0.12), rgba(2, 150, 33, 0.14));
}

.nrp-category-card.nrp-category-active .nrp-category-icon {
    background: linear-gradient(135deg, rgba(2, 150, 33, 0.24), rgba(5, 7, 171, 0.16));
}

.nrp-upload {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    #nrp-upload-form {
        justify-content: flex-start;
    }
}


/* Ajustes v0.2.4: cards dinâmicos, topo limpo e hover premium */
.nrp-kicker::before {
    animation: nrpPulseGreen 2.4s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(2, 150, 33, 0.55);
}

@keyframes nrpPulseGreen {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 150, 33, 0.55);
    }
    55% {
        transform: scale(1.12);
        box-shadow: 0 0 0 9px rgba(2, 150, 33, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 150, 33, 0);
    }
}

.nrp-category-section {
    margin-top: 26px;
    padding: 0 22px;
}

.nrp-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nrp-category-card {
    min-height: 140px;
    padding: 26px 22px;
    overflow: hidden;
}

.nrp-category-card strong {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.nrp-category-card:hover,
.nrp-category-card:focus {
    background: #0507AB;
    border-color: #0507AB;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(5, 7, 171, 0.24);
}

.nrp-category-card:hover strong,
.nrp-category-card:focus strong {
    color: #ffffff;
}

.nrp-category-card:hover .nrp-category-icon,
.nrp-category-card:focus .nrp-category-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .nrp-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nrp-category-section {
        margin-top: 22px;
        padding: 0 10px;
    }

    .nrp-category-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nrp-category-card {
        min-height: 104px;
        padding: 22px 18px;
    }
}


/* Login premium v0.2.5 */
.nrp-login-page {
    min-height: 100vh;
    padding: 42px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 14% 16%, rgba(2, 150, 33, 0.16), transparent 32%),
        radial-gradient(circle at 86% 20%, rgba(5, 7, 171, 0.18), transparent 34%),
        linear-gradient(135deg, #f7fff9 0%, #eef2ff 100%);
}

.nrp-login-shell {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    padding: 24px;
    border: 1px solid rgba(7, 18, 37, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 30px 90px rgba(7, 18, 37, 0.14);
    backdrop-filter: blur(14px);
}

.nrp-login-brand {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 42px;
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 84% 12%, rgba(2, 150, 33, 0.46), transparent 28%),
        radial-gradient(circle at 10% 92%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #041226 0%, #0507AB 100%);
}

.nrp-login-brand::after {
    content: "N";
    position: absolute;
    right: 38px;
    bottom: 34px;
    width: 104px;
    height: 104px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.nrp-login-brand h1 {
    max-width: 520px;
    margin: 22px 0 18px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.nrp-login-brand p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.7;
}

.nrp-login-brand-card {
    position: absolute;
    left: 42px;
    bottom: 42px;
    padding: 18px 20px;
    min-width: 230px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.nrp-login-brand-card strong,
.nrp-login-brand-card span {
    display: block;
    color: #ffffff;
}

.nrp-login-brand-card strong {
    font-size: 18px;
}

.nrp-login-brand-card span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.72);
}

.nrp-login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(7, 18, 37, 0.08);
}

.nrp-login-panel h1,
.nrp-login-panel h2 {
    margin: 0 0 10px;
    color: var(--nrp-ink, #071225);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.nrp-login-panel p,
.nrp-login-copy {
    margin: 0 0 24px;
    color: var(--nrp-muted, #5e6b82);
    line-height: 1.65;
}

.nrp-login-panel form p {
    margin-bottom: 16px;
}

.nrp-login-panel label {
    display: block;
    margin-bottom: 8px;
    color: var(--nrp-ink, #071225);
    font-weight: 700;
    font-size: 14px;
}

.nrp-login-panel input[type="text"],
.nrp-login-panel input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid rgba(7, 18, 37, 0.14);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--nrp-ink, #071225);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nrp-login-panel input[type="text"]:focus,
.nrp-login-panel input[type="password"]:focus {
    border-color: rgba(2, 150, 33, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 150, 33, 0.10);
}

.nrp-login-panel .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--nrp-muted, #5e6b82);
}

.nrp-login-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #029621;
}

.nrp-login-panel .login-submit {
    margin-top: 18px;
}

.nrp-login-panel input[type="submit"],
.nrp-login-main-button {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #029621, #037f20);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(2, 150, 33, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nrp-login-panel input[type="submit"]:hover,
.nrp-login-main-button:hover {
    transform: translateY(-2px);
    background: #0507AB;
    color: #ffffff;
    box-shadow: 0 22px 42px rgba(5, 7, 171, 0.24);
}

.nrp-login-error {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #fff0f0;
    color: #a10f0f;
    font-weight: 700;
}

.nrp-login-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-size: 14px;
}

.nrp-login-links a {
    color: #0507AB;
    font-weight: 700;
    text-decoration: none;
}

.nrp-login-links a:hover {
    color: #029621;
}

@media (max-width: 860px) {
    .nrp-login-page {
        padding: 20px 12px;
        align-items: flex-start;
    }

    .nrp-login-shell {
        grid-template-columns: 1fr;
        padding: 12px;
        border-radius: 24px;
    }

    .nrp-login-brand {
        min-height: 330px;
        padding: 30px;
    }

    .nrp-login-brand-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 30px;
        width: 100%;
    }

    .nrp-login-brand::after {
        width: 72px;
        height: 72px;
        right: 24px;
        bottom: 24px;
        font-size: 40px;
    }

    .nrp-login-panel {
        padding: 28px;
    }
}

@media (max-width: 520px) {
    .nrp-login-links {
        flex-direction: column;
    }

    .nrp-login-brand,
    .nrp-login-panel {
        padding: 24px;
    }
}


/* Ajustes v0.2.6: logout e login sem link padrão */
.nrp-login-links-single {
    justify-content: center;
}

.nrp-logout-area {
    margin: 18px 22px 0;
    display: flex;
    justify-content: center;
}

.nrp-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(7, 18, 37, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--nrp-muted, #5e6b82);
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nrp-logout-button:hover,
.nrp-logout-button:focus {
    background: #0507AB;
    border-color: #0507AB;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}


/* Página inicial pública do portal v0.2.7 */
.nrp-public-home {
    min-height: 100vh;
    padding: 44px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 12% 14%, rgba(2, 150, 33, 0.16), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(5, 7, 171, 0.18), transparent 34%),
        linear-gradient(135deg, #f7fff9 0%, #eef2ff 100%);
}

.nrp-public-shell {
    width: min(1120px, 100%);
}

.nrp-public-hero {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    padding: clamp(34px, 6vw, 68px);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 12%, rgba(2, 150, 33, 0.46), transparent 26%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(135deg, #041226 0%, #0507AB 100%);
    box-shadow: 0 34px 90px rgba(7, 18, 37, 0.18);
}

.nrp-public-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.nrp-public-hero h1 {
    margin: 24px 0 18px;
    color: #ffffff;
    font-size: clamp(42px, 6.5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.nrp-public-hero p {
    max-width: 610px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.65;
}

.nrp-public-main-button {
    min-height: 54px;
    padding: 16px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #029621, #047c1f);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(2, 150, 33, 0.28);
}

.nrp-public-main-button:hover,
.nrp-public-main-button:focus {
    background: #ffffff;
    color: #0507AB;
}

.nrp-public-hero-mark {
    position: absolute;
    right: clamp(28px, 6vw, 72px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(96px, 15vw, 160px);
    height: clamp(96px, 15vw, 160px);
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(58px, 9vw, 98px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.nrp-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.nrp-public-card {
    min-height: 190px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(7, 18, 37, 0.08);
    box-shadow: 0 18px 55px rgba(7, 18, 37, 0.08);
}

.nrp-public-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(2, 150, 33, 0.16), rgba(5, 7, 171, 0.10));
    color: #026b19;
    font-size: 13px;
    font-weight: 900;
}

.nrp-public-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--nrp-ink, #071225);
    font-size: 21px;
    line-height: 1.2;
}

.nrp-public-card p {
    margin: 0;
    color: var(--nrp-muted, #5e6b82);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .nrp-public-grid {
        grid-template-columns: 1fr;
    }

    .nrp-public-hero-mark {
        opacity: 0.22;
    }
}

@media (max-width: 560px) {
    .nrp-public-home {
        padding: 18px 10px;
        align-items: flex-start;
    }

    .nrp-public-hero {
        min-height: auto;
        padding: 30px 24px;
        border-radius: 26px;
    }

    .nrp-public-hero h1 {
        font-size: 44px;
    }

    .nrp-public-hero p {
        font-size: 16px;
    }

    .nrp-public-card {
        min-height: auto;
        padding: 24px;
        border-radius: 22px;
    }
}

/* Ajuste mantido: hover do botão da home */
.nrp-public-main-button:hover,
.nrp-public-main-button:focus {
    background: #03145F !important;
    color: #ffffff !important;
    border-color: #03145F !important;
    box-shadow: 0 22px 42px rgba(3, 20, 95, 0.30) !important;
}

/* Bolinha verde NEXO restaurada da versão 0.2.5 */
.nrp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #e8fff0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nrp-kicker:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--nrp-green);
    box-shadow: 0 0 0 7px rgba(2, 150, 33, 0.22);
}

.nrp-kicker::before {
    animation: nrpPulseGreen 2.4s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(2, 150, 33, 0.55);
}

@keyframes nrpPulseGreen {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 150, 33, 0.55);
    }
    55% {
        transform: scale(1.12);
        box-shadow: 0 0 0 9px rgba(2, 150, 33, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 150, 33, 0);
    }
}


/* Ajustes v0.4.0: visualizar imagens e mostrar/ocultar senha */
.nrp-files-table-head,
.nrp-file-row {
    grid-template-columns: minmax(240px, 1fr) 130px 120px 110px 110px;
}

.nrp-button-preview {
    background: #0507AB;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(5, 7, 171, 0.18);
}

.nrp-button-preview:hover,
.nrp-button-preview:focus {
    background: #03145F;
    color: #ffffff;
}

.nrp-password-wrap {
    position: relative;
    display: block;
}

.nrp-password-wrap input[type="password"],
.nrp-password-wrap input[type="text"] {
    padding-right: 92px;
}

.nrp-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    min-height: 36px;
    padding: 0 12px;
    border: none;
    border-radius: 10px;
    background: rgba(5, 7, 171, 0.08);
    color: #0507AB;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

.nrp-password-toggle:hover,
.nrp-password-toggle:focus {
    background: #0507AB;
    color: #ffffff;
}

@media (max-width: 780px) {
    .nrp-files-table-head {
        display: none;
    }

    .nrp-file-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nrp-file-action-cell {
        justify-content: flex-start;
    }
}
