@font-face {
    font-family: "Fira Sans";
    src: url("../calculadora-rf/assets/FiraSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: "Fira Sans";
    src: url("../calculadora-rf/assets/FiraSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap
}

@font-face {
    font-family: "Fira Sans";
    src: url("../calculadora-rf/assets/FiraSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap
}

@font-face {
    font-family: "Fira Sans";
    src: url("../calculadora-rf/assets/FiraSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap
}

:root {
    --nt-navy: #2c3852;
    --nt-ink: #223049;
    --nt-muted: #66758a;
    --nt-line: #d9e3ed;
    --nt-soft: #f5f8fb;
    --nt-sand: #c19770
}

html {
    scroll-behavior: smooth
}

body {
    background: #fff !important;
    color: var(--nt-navy) !important;
    font-family: "Fira Sans", Arial, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 320px
}

body * {
    box-sizing: border-box
}

button,
input,
select {
    font-family: "Fira Sans", Arial, sans-serif !important
}

a {
    color: inherit
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #97aacb !important;
    outline-offset: 2px
}

.content-wrapper {
    background: #fff !important
}

.nt-page {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 72px
}

.nt-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e5ebf0;
    padding-bottom: 18px
}

.nt-back {
    text-decoration: none;
    color: #617189;
    font-size: 12px;
    font-weight: 600
}

.nt-back:hover {
    text-decoration: underline;
    color: var(--nt-navy)
}

.nt-mini-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.nt-mini-nav a {
    text-decoration: none;
    font-size: 11px;
    color: #6d7b8f;
    border: 1px solid #d6e1e9;
    padding: 7px 10px
}

.nt-mini-nav a:hover,
.nt-mini-nav a[aria-current=page] {
    border-color: var(--nt-sand);
    color: var(--nt-navy);
    background: #fcfaf8
}

.nt-hero {
    text-align: center;
    padding: 47px 16px 49px
}

.nt-eyebrow,
.nt-index {
    color: #8b765f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em
}

.nt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px
}

.nt-eyebrow:before {
    content: "";
    width: 25px;
    height: 1px;
    background: var(--nt-sand)
}

.nt-hero h1 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 57px) !important;
    font-weight: 400 !important;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 14px 0 11px !important;
    color: var(--nt-navy) !important
}

.nt-hero p {
    font-size: 15px;
    color: #687891;
    max-width: 730px;
    line-height: 1.65;
    margin: 0 auto
}

.nt-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 17px
}

.nt-section-heading h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    letter-spacing: -.025em;
    color: var(--nt-navy) !important;
    margin: 7px 0 0 !important
}

.nt-section-heading p {
    font-size: 13px;
    color: #6c7c91;
    margin: 7px 0 0
}

.nt-section-heading .nt-step {
    font-size: 11px;
    color: #7b8a9d
}

.nt-section {
    margin: 0 0 47px
}

.nt-section+.nt-section {
    border-top: 1px solid var(--nt-sand);
    padding-top: 31px
}

.nt-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.nt-guide,
.nt-card {
    border: 1px solid #dce6ee;
    border-top: 2px solid var(--nt-sand);
    background: #fff;
    padding: 23px 25px;
    min-width: 0
}

.nt-guide {
    background: #f8fbfd
}

.nt-guide h3,
.nt-card h3 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    color: var(--nt-navy) !important;
    margin: 0 0 11px !important
}

.nt-guide p,
.nt-guide li,
.nt-card p {
    font-size: 13px;
    line-height: 1.58;
    color: #63748a
}

.nt-guide p:last-child {
    margin-bottom: 0
}

.nt-guide ol,
.nt-guide ul {
    padding-left: 18px;
    margin: 0
}

.nt-guide li+li {
    margin-top: 6px
}

.nt-lead {
    color: #4d6078 !important;
    font-size: 14px !important
}

.nt-note {
    border-left: 2px solid var(--nt-sand);
    background: #f5f8fb;
    padding: 13px 16px;
    margin: 15px 0 0;
    color: #63748a;
    font-size: 12px;
    line-height: 1.58
}

.nt-note strong {
    color: var(--nt-navy)
}

.nt-work-grid {
    display: grid;
    grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
    gap: 18px;
    align-items: start
}

.nt-work-grid>.nt-card {
    margin: 0 !important
}

.nt-work-grid .nt-output {
    border-top-color: var(--nt-navy)
}

.nt-card .form-group {
    margin: 0 0 16px !important
}

.nt-card label {
    display: block;
    color: #40516b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 7px !important
}

.nt-card .form-control,
.nt-card input[type=number],
.nt-card input[type=text],
.nt-card select {
    min-height: 45px;
    background: #fff !important;
    border: 1px solid #ccd9e5 !important;
    border-radius: 3px !important;
    color: var(--nt-navy) !important;
    box-shadow: none !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    width: 100%
}

.nt-card input[type=radio] {
    width: auto;
    min-height: 0
}

.nt-card .btn,
.nt-page .btn,
.nt-card button[type=submit] {
    border-radius: 3px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    min-height: 42px;
    padding: 9px 16px !important;
    box-shadow: none !important;
    width: auto
}

.nt-card .btn-primary,
.nt-page .btn-primary {
    background: var(--nt-navy) !important;
    border: 1px solid var(--nt-navy) !important;
    color: #fff !important
}

.nt-card .btn-primary:hover,
.nt-page .btn-primary:hover {
    background: #435777 !important
}

.nt-card .btn-light {
    background: #fff !important;
    border: 1px solid #ccd9e5 !important;
    color: var(--nt-navy) !important
}

.nt-card .btn-outline-primary,
.nt-page .btn-outline-primary {
    background: #fff !important;
    border: 1px solid #ccd9e5 !important;
    color: var(--nt-navy) !important
}

.nt-card .btn-outline-primary.active,
.nt-page .btn-outline-primary.active,
.nt-card .btn-check:checked+.btn-outline-primary {
    background: var(--nt-navy) !important;
    color: #fff !important;
    border-color: var(--nt-navy) !important
}

.nt-field-hint {
    font-size: 11px;
    color: #79889b;
    line-height: 1.4;
    margin: -8px 0 15px
}

.nt-action-row {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 21px
}

.nt-empty {
    min-height: 218px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #7c8999;
    background: #f8fbfd;
    border: 1px dashed #cbd9e4;
    padding: 24px
}

.nt-empty strong {
    display: block;
    color: var(--nt-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 7px
}

.nt-chart-shell {
    min-width: 0;
    min-height: 280px
}

.nt-chart-shell canvas {
    max-width: 100%
}

.nt-results-caption {
    font-size: 11px;
    color: #748399;
    line-height: 1.5;
    margin: 12px 0 0
}

.nt-metric-strip {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0 0 17px
}

.nt-metric {
    flex: 1;
    min-width: 170px;
    border: 1px solid #dce6ee;
    background: #f5f8fb;
    padding: 13px 15px
}

.nt-metric span {
    display: block;
    color: #718098;
    font-size: 11px
}

.nt-metric strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 25px;
    color: var(--nt-navy);
    margin-top: 5px
}

.nt-irp .row.d-flex {
    display: flex !important;
    margin: 0 !important;
    gap: 17px;
    align-items: flex-start
}

.nt-irp .card-fixed {
    width: min(390px, 100%) !important;
    flex: 0 0 390px;
    max-width: 100% !important
}

.nt-irp .card-fixed-right {
    flex: 1;
    min-width: 0;
    width: auto !important;
    max-width: none !important
}

.nt-irp .card,
.nt-universe .card {
    border: 1px solid #dce6ee !important;
    border-top: 2px solid var(--nt-sand) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    margin: 0 !important
}

.nt-irp .card-body {
    padding: 22px 25px !important
}

.nt-irp .card-fixed-right .card-body {
    padding: 0 !important
}

.nt-irp #result {
    background: var(--nt-navy) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 22px !important;
    width: 100% !important
}

.nt-irp #result h3,
.nt-irp #result h4 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
    color: inherit
}

.nt-irp #result p {
    color: inherit
}

.nt-irp #irpChartContainer,
.nt-irp #irpGastoChartContainer {
    height: 300px !important;
    min-height: 300px !important
}

.nt-irp #chartButtons {
    margin: 0 !important
}

.nt-irp .input-with-action {
    display: flex;
    gap: 6px
}

.nt-irp .input-with-action button {
    flex: 0 0 45px !important;
    width: 45px !important;
    min-height: 45px !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    background: #fff !important;
    color: var(--nt-navy) !important;
    border: 1px solid #ccd9e5 !important;
    padding: 0 !important
}

.nt-irp .input-with-action input {
    flex: 1;
    min-width: 0
}

.nt-irp .btn-danger {
    background: #fff !important;
    border: 1px solid #ccd9e5 !important;
    color: var(--nt-navy) !important
}

.nt-irp .btn {
    width: auto !important;
    margin: 0 !important;
    box-shadow: none !important
}

.nt-irp form .w-100 {
    width: 100% !important
}

.nt-irp form br {
    display: none
}

.nt-irp form .btn-light {
    margin-top: 9px !important;
    background: #fff !important;
    color: var(--nt-navy) !important;
    border: 1px solid #ccd9e5 !important
}

.nt-universe .results {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    box-shadow: none !important
}

.nt-universe .filtro-card {
    padding: 22px 24px !important;
    border-radius: 0 !important;
    box-shadow: none !important
}

.nt-universe .filtro-card h4,
.nt-universe .filtro-card h5,
.nt-universe #painelDetalhes h4 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
    color: var(--nt-navy) !important
}

.nt-universe #painelDetalhes {
    position: static !important;
    border: 1px solid #dce6ee !important;
    border-top: 2px solid var(--nt-sand) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 22px 24px !important;
    background: #fff !important
}

.nt-universe .layout-universo {
    margin: 0 !important;
    gap: 16px
}

.nt-universe .layout-universo>div {
    padding: 0 !important
}

.nt-universe .filtro-card .row {
    row-gap: 14px
}

.nt-universe .filtro-card .form-group {
    margin-bottom: 4px !important
}

.nt-universe .btn-group {
    display: flex
}

.nt-universe .btn-group .btn {
    flex: 1
}

.nt-universe #grafico-cdi36 {
    min-height: 420px
}

.nt-universe #loading {
    font-size: 12px;
    color: #75859b;
    margin-bottom: 7px
}

.nt-universe .detalhes-card {
    display: block !important;
    width: auto !important
}

.nt-irp .card h3 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: var(--nt-navy) !important
}

.nt-irp form label {
    display: block;
    font-size: 12px !important;
    color: #40516b !important;
    margin-bottom: 7px !important
}

.nt-irp form .form-group {
    margin: 0 0 16px !important
}

.nt-irp form .form-control {
    display: block;
    width: 100% !important;
    min-height: 45px !important;
    background: #fff !important;
    border: 1px solid #ccd9e5 !important;
    border-radius: 3px !important;
    color: var(--nt-navy) !important;
    box-shadow: none !important;
    padding: 9px 12px !important;
    font-size: 14px !important
}

.nt-irp form .input-with-action .form-control {
    width: auto !important
}

.nt-universe .forms-sample>.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
    margin: 0 0 20px !important
}

.nt-universe .forms-sample>.row>div {
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0
}

.nt-universe .form-group label {
    display: block;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #40516b !important;
    margin: 0 0 7px !important
}

.nt-universe .form-control {
    display: block;
    width: 100% !important;
    min-height: 45px !important;
    background: #fff !important;
    border: 1px solid #ccd9e5 !important;
    border-radius: 3px !important;
    color: var(--nt-navy) !important;
    box-shadow: none !important;
    padding: 9px 12px !important;
    font-size: 14px !important
}

.nt-universe .form-group .d-flex {
    display: flex;
    gap: 8px
}

.nt-universe .form-group .d-flex input {
    flex: 1;
    min-width: 0
}

.nt-universe .btn-check {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important
}

.nt-universe .btn-group label.btn {
    flex: 1;
    margin: 0 !important
}

.nt-universe .layout-universo {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    align-items: start
}

.nt-universe .layout-universo>div {
    width: auto !important;
    max-width: none !important;
    min-width: 0
}

.nt-universe .btn-check:checked+label.btn-outline-primary {
    background: var(--nt-navy) !important;
    color: #fff !important;
    border-color: var(--nt-navy) !important
}

.nt-universe .btn-check:focus-visible+label.btn-outline-primary {
    outline: 3px solid #97aacb;
    outline-offset: 2px
}

.nt-fear .nt-graph-card {
    border: 1px solid #dce6ee;
    border-top: 2px solid var(--nt-sand);
    padding: 20px 24px;
    background: #fff
}

.nt-fear .filtros {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 20px
}

.nt-fear .filtros button {
    background: #fff;
    border: 1px solid #cbd8e3;
    color: var(--nt-navy);
    border-radius: 3px;
    padding: 9px 15px;
    font-size: 12px;
    position: static;
    cursor: pointer
}

.nt-fear .filtros button.ativo {
    background: var(--nt-navy);
    color: #fff;
    border-color: var(--nt-navy)
}

.nt-fear .filtros button.ativo:after {
    display: none
}

.nt-fear #indexChart {
    width: 100% !important;
    max-height: 470px
}

.nt-fear .nt-graph-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #62738a;
    font-size: 11px;
    margin: 13px 0 0
}

.nt-fear .nt-graph-legend span:before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 2px;
    background: var(--nt-sand);
    vertical-align: middle;
    margin-right: 6px
}

.nt-fear .nt-graph-legend span:nth-child(2):before {
    background: #aaa
}

.nt-fear .nt-graph-legend span:nth-child(3):before {
    background: green
}

.nt-fear .nt-graph-legend span:nth-child(4):before {
    background: red
}

.nt-hub-header {
    border-bottom: 1px solid #e7edf1;
    background: #fff
}

.nt-hub-header .nt-hub-bar {
    max-width: 1220px;
    margin: auto;
    min-height: 78px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px
}

.nt-hub-header img {
    width: 190px;
    display: block
}

.nt-hub-header nav {
    display: flex;
    gap: 25px;
    align-items: center
}

.nt-hub-header nav a {
    text-decoration: none;
    color: #5b6980;
    font-size: 13px
}

.nt-hub-header nav a:hover {
    text-decoration: underline
}

.nt-hub-label {
    margin-left: auto;
    color: #8290a0;
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 700
}

.nt-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.nt-tool-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid #dce6ee;
    border-top: 2px solid var(--nt-sand);
    padding: 23px 25px;
    min-height: 223px;
    transition: transform .15s, border-color .15s;
    background: #fff
}

.nt-tool-link:hover {
    transform: translateY(-3px);
    border-color: #9cafbf;
    border-top-color: var(--nt-sand)
}

.nt-tool-link .nt-index {
    font-size: 10px
}

.nt-tool-link h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
    color: var(--nt-navy);
    margin: 19px 0 9px
}

.nt-tool-link p {
    font-size: 12px;
    color: #6b7c90;
    line-height: 1.55;
    margin: 0 0 15px
}

.nt-tool-link em {
    font-style: normal;
    color: #8b765f;
    font-size: 11px;
    font-weight: 700;
    margin-top: auto
}

.nt-hub-footer {
    border-top: 1px solid #dce6ee;
    margin-top: 65px;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #76869a;
    font-size: 11px
}

.nt-hub-footer img {
    width: 155px
}

@media(max-width:950px) {
    .nt-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nt-work-grid {
        grid-template-columns: 1fr
    }

    .nt-irp .row.d-flex {
        display: block !important
    }

    .nt-irp .card-fixed,
    .nt-irp .card-fixed-right {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 18px !important
    }

    .nt-universe .forms-sample>.row {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nt-universe .layout-universo {
        grid-template-columns: 1fr
    }

    .nt-universe .layout-universo>div {
        width: 100% !important;
        max-width: 100% !important
    }
}

@media(max-width:650px) {
    .nt-page {
        width: min(100% - 30px, 550px);
        padding-top: 25px
    }

    .nt-topline {
        align-items: flex-start;
        flex-direction: column
    }

    .nt-mini-nav {
        gap: 5px
    }

    .nt-mini-nav a {
        font-size: 10px;
        padding: 6px 8px
    }

    .nt-hero {
        padding: 38px 3px 42px
    }

    .nt-hero h1 {
        font-size: 40px !important
    }

    .nt-section-heading {
        display: block
    }

    .nt-section-heading h2 {
        font-size: 29px !important
    }

    .nt-guide-grid,
    .nt-hub-grid {
        grid-template-columns: 1fr
    }

    .nt-guide,
    .nt-card {
        padding: 19px
    }

    .nt-hub-header .nt-hub-bar {
        min-height: 66px;
        gap: 10px
    }

    .nt-hub-header img {
        width: 145px
    }

    .nt-hub-header nav {
        margin-left: auto;
        gap: 12px
    }

    .nt-hub-header nav a {
        font-size: 11px
    }

    .nt-hub-label {
        display: none
    }

    .nt-hub-footer {
        flex-direction: column
    }

    .nt-fear .nt-graph-card {
        padding: 15px
    }

    .nt-universe .filtro-card {
        padding: 19px !important
    }

    .nt-universe .forms-sample>.row {
        grid-template-columns: 1fr
    }

    .nt-universe .layout-universo {
        grid-template-columns: 1fr
    }
}

/* V2: resultado e gráficos do IRP na mesma linguagem das demais ferramentas. */
.nt-irp #result {
    background: #fff !important;
    border: 1px solid var(--nt-line) !important;
    border-top: 2px solid var(--nt-sand) !important;
    color: var(--nt-navy) !important;
    padding: 0 !important;
    overflow: hidden
}

.nt-irp #result h3,
.nt-irp #result h4,
.nt-irp #result p {
    color: var(--nt-navy) !important
}

.nt-irp-result-head {
    padding: 24px 26px;
    border-bottom: 1px solid var(--nt-line);
    background: #f7f9fc
}

.nt-irp-result-head.nt-irp-attention {
    background: #fdf8f3
}

.nt-irp-result-label {
    display: block;
    color: #8a715b;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 15px
}

.nt-irp-result-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.nt-irp-result-summary h3 {
    font-size: 1.45rem !important;
    margin: 0 0 5px !important;
    line-height: 1.2
}

.nt-irp-result-summary p {
    font-size: .94rem !important;
    line-height: 1.45;
    margin: 0 !important;
    max-width: 46ch
}

.nt-irp-result-summary>strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--nt-navy);
    white-space: nowrap
}

.nt-irp-result-head small {
    display: block;
    color: var(--nt-muted);
    margin-top: 15px
}

.nt-irp-reference {
    padding: 18px 26px;
    border-bottom: 1px solid var(--nt-line)
}

.nt-irp-reference h4 {
    font-size: 1.18rem !important;
    margin: 0 0 12px !important
}

.nt-irp-reference p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 7px 0 !important;
    font-size: .9rem;
    line-height: 1.45
}

.nt-irp-reference p strong {
    white-space: nowrap;
    color: var(--nt-ink)
}

.nt-irp-chart-card {
    padding: 22px 26px 17px
}

.nt-irp-chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 14px
}

.nt-irp-chart-heading h4 {
    font-size: 1.3rem !important;
    margin: 0 0 4px !important
}

.nt-irp-chart-heading p,
.nt-irp-chart-caption {
    font-size: .85rem !important;
    color: var(--nt-muted) !important;
    line-height: 1.45;
    margin: 0 !important
}

.nt-irp .nt-irp-chart-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0
}

.nt-irp .nt-irp-chart-tabs button {
    font-size: .8rem !important;
    min-height: 35px !important;
    padding: 6px 11px !important
}

.nt-irp .nt-irp-chart-tabs button[aria-pressed="true"] {
    background: var(--nt-navy) !important;
    color: #fff !important;
    border-color: var(--nt-navy) !important
}

.nt-irp .nt-irp-chart-tabs button[aria-pressed="false"] {
    background: #fff !important;
    color: var(--nt-navy) !important;
    border: 1px solid var(--nt-line) !important
}

.nt-irp #irpChartContainer,
.nt-irp #irpGastoChartContainer {
    height: 260px !important;
    min-height: 260px !important;
    margin: 0 0 12px !important;
    width: 100%;
    position: relative
}

.nt-irp #irpChart,
.nt-irp #irpGastoChart {
    height: 260px !important;
    max-height: 260px !important;
    width: 100% !important
}

.nt-fear .nt-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

#fundos-graph-title {
    scroll-margin-top: 25px
}

@media(max-width:900px) {
    .nt-irp-chart-heading {
        flex-direction: column;
        gap: 12px
    }

    .nt-fear .nt-guide-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {

    .nt-irp-result-head,
    .nt-irp-reference,
    .nt-irp-chart-card {
        padding-left: 18px;
        padding-right: 18px
    }

    .nt-irp-result-summary {
        align-items: start;
        flex-direction: column
    }

    .nt-irp-result-summary>strong {
        font-size: 1.9rem
    }

    .nt-irp-reference p {
        flex-direction: column;
        gap: 1px
    }

    .nt-irp #irpChartContainer,
    .nt-irp #irpGastoChartContainer,
    .nt-irp #irpChart,
    .nt-irp #irpGastoChart {
        height: 235px !important;
        min-height: 235px !important;
        max-height: 235px !important
    }
}

/* Tipografia sem serifa em todas as ferramentas Navigator. */
.nt-hero h1,
.nt-section-heading h2,
.nt-guide h3,
.nt-card h3,
.nt-empty strong,
.nt-metric strong,
.nt-irp #result h3,
.nt-irp #result h4,
.nt-universe .filtro-card h4,
.nt-universe .filtro-card h5,
.nt-universe #painelDetalhes h4,
.nt-irp .card h3,
.nt-tool-link h3,
.nt-irp-result-summary>strong {
    font-family: "Fira Sans", Arial, sans-serif !important
}

/* Mantém gráfico e detalhes do Universo de Fundos alinhados verticalmente. */
.nt-universe .layout-universo {
    align-items: stretch !important
}

.nt-universe .layout-universo>div {
    display: flex !important;
    margin-top: 0 !important
}

.nt-universe .layout-universo .filtro-card,
.nt-universe #painelDetalhes {
    width: 100% !important;
    height: 100% !important
}

.nt-universe .detalhes-card {
    display: flex !important
}

/* Alinha os títulos dos cards de gráfico e detalhes pela mesma linha superior. */
.nt-universe .filtro-card>h5,
.nt-universe #painelDetalhes>h4 {
    min-height: 26px;
    margin: 0 0 12px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3
}

.nt-universe #painelDetalhes>hr {
    margin-top: 0
}

/* O canvas do índice ocupa 68% da altura visível. */
.nt-fear #indexChart {
    display: block;
    height: 68vh !important;
    max-height: none !important
}

/* Cards das ferramentas: acabamento consistente sem alterar a grade. */
.nt-page .nt-card, .nt-irp .card, .nt-universe .card, .nt-universe .filtro-card, .nt-universe #painelDetalhes { border-radius: 6px !important; }
