﻿label.error {
    position: absolute;    
    padding: 2px 5px;
    top: -15px;
    left: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    display: inline-block;   
    z-index: 5;
    height: 20px;
    text-align: left;	
}

label.error:before {
    content: "";
    border: 4px solid transparent;
    border-top: 4px solid #ee0101;
    border-top: 4px solid rgba(238, 1, 1, 0.80);
    position: absolute;
    bottom: -8px;
}

.form-control {
    max-height: 40px !important;
}	
label.error:before {
    display: none;
}
.alert-success {
    background-color: inherit;
    border-color: inherit;
}
.alert {
    padding: 0px;
    margin-bottom: 6px !important;
    border: 0 solid transparent;
    border-radius: 2px;
}

/* Mensagens centrais de erro, sucesso e depuração. */
body.redir-mensagem-ativa .page-loader,
body.security-mensagem-ativa .page-loader,
body.php-debug-mensagem-ativa .page-loader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.system-message-content {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.system-message-content,
.system-message-content * {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.system-message-content .card-body {
    padding: 40px;
    text-align: center;
}

.system-message-details {
    display: inline-block;
    margin: 15px auto;
    text-align: left;
}

.system-message-action {
    margin-top: 8px;
    cursor: pointer;
}

.php-debug-message {
    width: 100%;
    max-width: none;
}

/* Dashboard de gastos com cartões */
.gastos-cartoes-dashboard {
    --gc-panel: rgba(0, 0, 0, .18);
    --gc-panel-strong: rgba(0, 0, 0, .26);
    --gc-border: rgba(255, 255, 255, .14);
    --gc-muted: rgba(255, 255, 255, .69);
    --gc-income: #73e68c;
    --gc-expense: #ff7878;
    --gc-accent: #66d9e8;
    display: grid;
    gap: 18px;
    font-size: 16px;
}

.gastos-cartoes-hero,
.gastos-cartoes-panel,
.gastos-cartoes-kpi,
.gastos-cartoes-ending-kpis > article {
    border: 1px solid var(--gc-border);
    background: linear-gradient(145deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .12));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.gastos-cartoes-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 154px;
    padding: 26px 30px;
    overflow: hidden;
    border-radius: 8px;
}

.gastos-cartoes-hero::before,
.gastos-cartoes-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #6bd77c, #29b6d1);
}

.gastos-cartoes-hero::after {
    content: '';
    position: absolute;
    top: -115px;
    right: -65px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    pointer-events: none;
}

.gastos-cartoes-hero__content,
.gastos-cartoes-hero__period {
    position: relative;
    z-index: 1;
}

.gastos-cartoes-eyebrow,
.gastos-cartoes-section-heading > div > span {
    display: block;
    margin-bottom: 6px;
    color: var(--gc-accent);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gastos-cartoes-hero h1 {
    margin: 0 0 7px;
    color: #fff;
    font-size: clamp(1.85rem, 2.7vw, 2.55rem);
    font-weight: 700;
    line-height: 1.12;
}

.gastos-cartoes-hero__content p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 1.03rem;
    line-height: 1.55;
}

.gastos-cartoes-hero__period {
    flex: 0 0 330px;
    margin-left: 28px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: rgba(0, 0, 0, .13);
}

.gastos-cartoes-hero__period > span,
.gastos-cartoes-hero__period > small,
.gastos-cartoes-hero__period > div > span {
    display: block;
    color: var(--gc-muted);
    font-size: .82rem;
}

.gastos-cartoes-hero__period > strong {
    display: block;
    margin: 3px 0;
    color: #fff;
    font-size: 1.35rem;
}

.gastos-cartoes-hero__period > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.gastos-cartoes-hero__period > div b {
    color: #fff;
    font-size: .9rem;
    text-align: right;
}

.gastos-cartoes-kpis,
.gastos-cartoes-ending-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gastos-cartoes-kpi {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 145px;
    padding: 20px;
    overflow: hidden;
    border-radius: 7px;
}

.gastos-cartoes-kpi::after {
    content: '';
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .025);
}

.gastos-cartoes-kpi__icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: rgba(102, 217, 232, .2);
    font-size: 1.45rem;
}

.gastos-cartoes-kpi--invoice .gastos-cartoes-kpi__icon {
    background: rgba(255, 120, 120, .2);
}

.gastos-cartoes-kpi--peak .gastos-cartoes-kpi__icon {
    background: rgba(255, 193, 88, .2);
}

.gastos-cartoes-kpi--release .gastos-cartoes-kpi__icon {
    background: rgba(115, 230, 140, .2);
}

.gastos-cartoes-kpi > div {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.gastos-cartoes-kpi > div > span,
.gastos-cartoes-ending-kpis article > span {
    display: block;
    color: rgba(255, 255, 255, .76);
    font-size: .94rem;
    line-height: 1.3;
}

.gastos-cartoes-kpi > div > strong {
    display: block;
    margin: 7px 0 8px;
    color: #fff;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.1;
}

.gastos-cartoes-kpi > div > small,
.gastos-cartoes-ending-kpis article > small {
    display: block;
    color: var(--gc-muted);
    font-size: .85rem;
    line-height: 1.45;
}

.gastos-cartoes-panel {
    position: relative;
    min-width: 0;
    padding: 23px 24px;
    overflow: hidden;
    border-radius: 7px;
}

.gastos-cartoes-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.gastos-cartoes-section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-weight: 700;
    line-height: 1.25;
}

.gastos-cartoes-section-heading p {
    margin: 5px 0 0;
    color: var(--gc-muted);
    font-size: .91rem;
    line-height: 1.5;
}

.gastos-cartoes-heading-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(102, 217, 232, .48);
    border-radius: 20px;
    color: #a9f3fc !important;
    font-size: .86rem;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease;
}

.gastos-cartoes-heading-link:hover,
.gastos-cartoes-heading-link:focus-visible {
    background: rgba(102, 217, 232, .12);
    transform: translateY(-1px);
}

.gastos-cartoes-chart-wrap {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gastos-cartoes-main-chart {
    width: 100%;
    min-width: 720px;
    height: 390px;
    cursor: pointer;
    outline: none;
}

.gastos-cartoes-main-chart:focus-visible {
    border-radius: 5px;
    box-shadow: 0 0 0 3px rgba(102, 217, 232, .32);
}

.gastos-cartoes-combo-chart {
    position: relative;
    width: 100%;
    min-width: 950px;
    height: 390px;
}

.gastos-cartoes-combo-chart__bars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(13, minmax(64px, 1fr));
    gap: 8px;
    width: 100%;
    height: 390px;
}

.gastos-cartoes-combo-chart__month {
    display: grid;
    grid-template-rows: 38px 320px 32px;
    min-width: 0;
    color: inherit !important;
    text-align: center;
}

.gastos-cartoes-combo-chart__month > strong {
    align-self: center;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: .78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gastos-cartoes-combo-chart__track {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 320px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 5px 5px 2px 2px;
    background-color: rgba(0, 0, 0, .2);
    background-image: repeating-linear-gradient(
        to top,
        transparent 0,
        transparent 63px,
        rgba(255, 255, 255, .07) 64px
    );
}

.gastos-cartoes-combo-chart__stack {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column-reverse;
    width: 100%;
    min-height: 0;
    transition: filter .2s ease, transform .2s ease;
}

.gastos-cartoes-combo-chart__segment {
    display: block;
    min-height: 2px;
    background: var(--card-color, #66d9e8);
    border-top: 1px solid rgba(255, 255, 255, .3);
    transition: opacity .2s ease, filter .2s ease;
}

.gastos-cartoes-combo-chart__segment.is-refund {
    background: var(--gc-income);
}

.gastos-cartoes-combo-chart__month:hover .gastos-cartoes-combo-chart__stack,
.gastos-cartoes-combo-chart__month:focus-visible .gastos-cartoes-combo-chart__stack {
    filter: brightness(1.17);
    transform: translateY(-2px);
}

.gastos-cartoes-combo-chart__month > small {
    align-self: center;
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    font-weight: 800;
}

.gastos-cartoes-combo-chart__line {
    position: absolute;
    z-index: 3;
    top: 38px;
    left: 0;
    width: 100%;
    height: 320px;
    overflow: visible;
    pointer-events: none;
}

.gastos-cartoes-combo-chart__line .gc-total-line {
    fill: none;
    stroke: #66d9e8;
    stroke-width: 2.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: .9;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .42));
    transition: opacity .2s ease;
}

.gastos-cartoes-combo-chart__line .gc-total-point {
    fill: #12383b;
    stroke: #66d9e8;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    opacity: .92;
    pointer-events: all;
    transition: opacity .2s ease, r .2s ease;
}

.gastos-cartoes-combo-chart__line .gc-total-point:hover,
.gastos-cartoes-combo-chart__line .gc-total-point:focus {
    r: 6.5px;
    outline: none;
}

.gastos-cartoes-combo-chart .is-series-hidden {
    opacity: 0;
    pointer-events: none;
}

.gastos-cartoes-chart-legend__item i.is-line {
    flex-basis: 22px;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #66d9e8;
}

.gastos-cartoes-chart-legend,
.gastos-cartoes-card-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px 14px;
    margin-top: 13px;
}

.gastos-cartoes-chart-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 19px;
    color: rgba(255, 255, 255, .88);
    background: rgba(0, 0, 0, .12);
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
}

.gastos-cartoes-chart-legend__item i,
.gastos-cartoes-card-legend i,
.gastos-cartoes-ending-table__card i {
    display: inline-block;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--card-color, #66d9e8);
}

.gastos-cartoes-chart-legend__item.is-hidden {
    opacity: .45;
    text-decoration: line-through;
}

.gastos-cartoes-chart-legend__item:hover,
.gastos-cartoes-chart-legend__item:focus-visible {
    border-color: rgba(102, 217, 232, .55);
    background: rgba(102, 217, 232, .1);
}

.gastos-cartoes-tooltip {
    position: absolute;
    z-index: 10020;
    display: none;
    min-width: 210px;
    max-width: 290px;
    padding: 13px 15px;
    border: 1px solid rgba(102, 217, 232, .38);
    border-radius: 6px;
    color: #fff;
    background: rgba(8, 28, 29, .98);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .32);
    pointer-events: none;
}

.gastos-cartoes-tooltip__period,
.gastos-cartoes-tooltip__series,
.gastos-cartoes-tooltip > strong,
.gastos-cartoes-tooltip > small {
    display: flex;
}

.gastos-cartoes-tooltip__period {
    color: #a9f3fc;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gastos-cartoes-tooltip__series {
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
}

.gastos-cartoes-tooltip__series i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.gastos-cartoes-tooltip > strong {
    margin-top: 4px;
    font-size: 1.24rem;
}

.gastos-cartoes-tooltip > small {
    margin-top: 8px;
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
}

.gastos-cartoes-participation-legend {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 7px 16px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    background: rgba(0, 0, 0, .1);
}

.gastos-cartoes-participation-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    white-space: nowrap;
}

.gastos-cartoes-participation-legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--participation-color, rgba(255, 255, 255, .9));
}

.gastos-cartoes-participation-legend .is-attention,
.gastos-cartoes-participation__item.is-attention {
    --participation-color: #ffe66d;
}

.gastos-cartoes-participation-legend .is-high,
.gastos-cartoes-participation__item.is-high {
    --participation-color: #ffad5a;
}

.gastos-cartoes-participation-legend .is-critical,
.gastos-cartoes-participation__item.is-critical {
    --participation-color: #ff6b6b;
}

.gastos-cartoes-participation-legend .is-neutral,
.gastos-cartoes-participation__item.is-neutral {
    --participation-color: rgba(255, 255, 255, .92);
}

.gastos-cartoes-participation-scroll {
    overflow-x: auto;
    padding: 3px 1px 4px;
    scrollbar-width: thin;
}

.gastos-cartoes-participation {
    display: grid;
    grid-template-columns: repeat(13, minmax(90px, 1fr));
    gap: 9px;
    min-width: 1280px;
}

.gastos-cartoes-participation__item {
    display: flex;
    flex-direction: column;
    min-height: 158px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 3px solid var(--participation-color);
    border-radius: 6px;
    color: inherit !important;
    background: rgba(0, 0, 0, .13);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gastos-cartoes-participation__item:hover,
.gastos-cartoes-participation__item:focus-visible {
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 9px 24px rgba(0, 0, 0, .15);
    transform: translateY(-3px);
}

.gastos-cartoes-participation__item > span {
    color: rgba(255, 255, 255, .72);
    font-size: .79rem;
    font-weight: 700;
}

.gastos-cartoes-participation__item > strong {
    margin: 6px 0 4px;
    color: var(--participation-color);
    font-size: 1.45rem;
    line-height: 1;
}

.gastos-cartoes-participation__item > small {
    min-height: 34px;
    color: var(--gc-muted);
    font-size: .72rem;
    line-height: 1.35;
}

.gastos-cartoes-participation__track {
    display: block;
    height: 6px;
    margin: 11px 0 8px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, .1);
}

.gastos-cartoes-participation__track > b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--participation-color);
}

.gastos-cartoes-participation__item > em {
    margin-top: auto;
    color: var(--participation-color);
    font-size: .69rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

.gastos-cartoes-analysis-grid {
    display: grid;
    grid-template-columns: minmax(310px, .75fr) minmax(600px, 1.65fr);
    gap: 14px;
}

.gastos-cartoes-insight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
}

.gastos-cartoes-insight-list > div {
    min-height: 135px;
    padding: 17px;
    background: rgba(0, 0, 0, .2);
}

.gastos-cartoes-insight-list span,
.gastos-cartoes-insight-list small {
    display: block;
    color: var(--gc-muted);
    font-size: .85rem;
    line-height: 1.4;
}

.gastos-cartoes-insight-list strong {
    display: block;
    margin: 7px 0;
    color: #fff;
    font-size: 1.26rem;
    line-height: 1.25;
}

.gastos-cartoes-insight-list .is-unfavorable strong {
    color: var(--gc-expense);
}

.gastos-cartoes-insight-list .is-favorable strong {
    color: var(--gc-income);
}

.gastos-cartoes-card-legend {
    justify-content: flex-start;
    margin: -4px 0 14px;
}

.gastos-cartoes-card-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .8);
    font-size: .83rem;
}

.gastos-cartoes-composition-scroll {
    overflow-x: auto;
    padding: 5px 1px 2px;
    scrollbar-width: thin;
}

.gastos-cartoes-composition {
    display: grid;
    grid-template-columns: repeat(13, minmax(55px, 1fr));
    align-items: end;
    gap: 8px;
    min-width: 850px;
}

.gastos-cartoes-composition__month {
    display: grid;
    grid-template-rows: 32px 190px 25px;
    align-items: end;
    min-width: 0;
    color: inherit !important;
    text-align: center;
}

.gastos-cartoes-composition__month > strong {
    align-self: center;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-size: .74rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gastos-cartoes-composition__track {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 190px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(to top, rgba(255, 255, 255, .04), transparent);
}

.gastos-cartoes-composition__stack {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column-reverse;
    width: 100%;
    min-height: 0;
    transition: filter .2s ease, transform .2s ease;
}

.gastos-cartoes-composition__segment {
    display: block;
    min-height: 2px;
    background: var(--card-color, #66d9e8);
    border-top: 1px solid rgba(255, 255, 255, .26);
}

.gastos-cartoes-composition__segment.is-refund {
    background: var(--gc-income);
}

.gastos-cartoes-composition__month:hover .gastos-cartoes-composition__stack,
.gastos-cartoes-composition__month:focus-visible .gastos-cartoes-composition__stack {
    filter: brightness(1.2);
    transform: translateY(-3px);
}

.gastos-cartoes-composition__month > small {
    align-self: end;
    color: rgba(255, 255, 255, .68);
    font-size: .76rem;
    font-weight: 700;
}

.gastos-cartoes-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 28px;
    color: var(--gc-muted);
    text-align: center;
}

.gastos-cartoes-empty > i {
    margin-bottom: 10px;
    color: var(--gc-accent);
    font-size: 2.2rem;
}

.gastos-cartoes-empty > strong {
    color: #fff;
    font-size: 1.05rem;
}

.gastos-cartoes-empty > span {
    margin-top: 5px;
    font-size: .88rem;
}

.gastos-cartoes-installments {
    display: grid;
    gap: 14px;
    margin-top: 3px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.gastos-cartoes-section-heading--major {
    margin: 0;
    padding: 0 4px 3px;
}

.gastos-cartoes-section-heading--major h2 {
    font-size: clamp(1.5rem, 2vw, 1.9rem);
}

.gastos-cartoes-ending-kpis > article {
    min-height: 130px;
    padding: 19px;
    border-radius: 7px;
}

.gastos-cartoes-ending-kpis article > strong {
    display: block;
    margin: 7px 0;
    color: var(--gc-income);
    font-size: clamp(1.35rem, 1.8vw, 1.68rem);
    line-height: 1.15;
}

.gastos-cartoes-composition--ending .gastos-cartoes-composition__track {
    height: 220px;
}

.gastos-cartoes-composition--ending .gastos-cartoes-composition__month {
    grid-template-rows: 32px 220px 25px;
}

.gastos-cartoes-ending-details {
    padding: 0;
}

.gastos-cartoes-ending-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
    padding: 17px 22px;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.gastos-cartoes-ending-details > summary::-webkit-details-marker {
    display: none;
}

.gastos-cartoes-ending-details > summary > span {
    display: grid;
    grid-template-columns: 32px auto;
    align-items: center;
}

.gastos-cartoes-ending-details > summary > span > i {
    grid-row: 1 / span 2;
    color: var(--gc-accent);
    font-size: 1.45rem;
}

.gastos-cartoes-ending-details > summary b {
    font-size: 1rem;
}

.gastos-cartoes-ending-details > summary small {
    color: var(--gc-muted);
    font-size: .84rem;
}

.gastos-cartoes-ending-details > summary > i {
    font-size: 1.7rem;
    transition: transform .2s ease;
}

.gastos-cartoes-ending-details[open] > summary > i {
    transform: rotate(180deg);
}

.gastos-cartoes-ending-table-wrap {
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.gastos-cartoes-ending-table {
    width: 100%;
    border-collapse: collapse;
}

.gastos-cartoes-ending-table th,
.gastos-cartoes-ending-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    text-align: left;
    vertical-align: middle;
}

.gastos-cartoes-ending-table th {
    color: rgba(255, 255, 255, .58);
    font-size: .77rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gastos-cartoes-ending-table td > a {
    color: #a9f3fc !important;
    font-weight: 700;
}

.gastos-cartoes-ending-table td > strong,
.gastos-cartoes-ending-table td > small {
    display: block;
}

.gastos-cartoes-ending-table td > strong {
    color: #fff;
    font-size: .94rem;
}

.gastos-cartoes-ending-table td > small {
    margin-top: 3px;
    color: var(--gc-muted);
    font-size: .78rem;
}

.gastos-cartoes-ending-table__card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gastos-cartoes-ending-table__value {
    color: var(--gc-income) !important;
    font-size: 1rem !important;
    font-weight: 800;
    white-space: nowrap;
}

.gastos-cartoes-ending-table tr.is-refund {
    background: rgba(115, 230, 140, .055);
}

.gastos-cartoes-ending-table tr.is-refund td,
.gastos-cartoes-ending-table tr.is-refund td > strong {
    color: var(--gc-income);
}

@media (max-width: 1399px) {
    .gastos-cartoes-kpis,
    .gastos-cartoes-ending-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gastos-cartoes-analysis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .gastos-cartoes-hero {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .gastos-cartoes-hero__period {
        flex-basis: auto;
        width: 100%;
        margin-left: 0;
    }

    .gastos-cartoes-main-chart {
        height: 350px;
    }

    .gastos-cartoes-combo-chart,
    .gastos-cartoes-combo-chart__bars {
        height: 370px;
    }

    .gastos-cartoes-combo-chart__month {
        grid-template-rows: 38px 300px 32px;
    }

    .gastos-cartoes-combo-chart__track,
    .gastos-cartoes-combo-chart__line {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .gastos-cartoes-dashboard {
        gap: 12px;
        font-size: 15px;
    }

    .gastos-cartoes-hero,
    .gastos-cartoes-panel {
        padding: 19px 17px;
    }

    .gastos-cartoes-hero {
        min-height: 0;
    }

    .gastos-cartoes-hero__period > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .gastos-cartoes-hero__period > div b {
        text-align: left;
    }

    .gastos-cartoes-kpis,
    .gastos-cartoes-ending-kpis {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gastos-cartoes-kpi {
        min-height: 122px;
        padding: 17px;
    }

    .gastos-cartoes-section-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .gastos-cartoes-heading-link {
        align-self: flex-start;
    }

    .gastos-cartoes-main-chart {
        min-width: 680px;
        height: 330px;
    }

    .gastos-cartoes-combo-chart {
        min-width: 910px;
    }

    .gastos-cartoes-insight-list {
        grid-template-columns: 1fr;
    }

    .gastos-cartoes-insight-list > div {
        min-height: 112px;
    }

    .gastos-cartoes-ending-details {
        padding: 0;
    }

    .gastos-cartoes-ending-details > summary {
        padding: 15px 17px;
    }

    .gastos-cartoes-ending-table,
    .gastos-cartoes-ending-table tbody,
    .gastos-cartoes-ending-table tr,
    .gastos-cartoes-ending-table td {
        display: block;
        width: 100%;
    }

    .gastos-cartoes-ending-table thead {
        display: none;
    }

    .gastos-cartoes-ending-table tr {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .gastos-cartoes-ending-table td {
        display: grid;
        grid-template-columns: minmax(115px, 36%) 1fr;
        gap: 12px;
        padding: 7px 0;
        border: 0;
        text-align: right;
    }

    .gastos-cartoes-ending-table td::before {
        content: attr(data-label);
        color: rgba(255, 255, 255, .55);
        font-size: .76rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-align: left;
        text-transform: uppercase;
    }

    .gastos-cartoes-ending-table td > *,
    .gastos-cartoes-ending-table__value {
        justify-self: end;
    }
}

.card-purchase-recommendation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(103, 217, 232, .38);
    border-left-width: 4px;
    border-radius: .35rem;
    background: rgba(103, 217, 232, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.card-purchase-recommendation__icon {
    display: inline-flex;
    flex: 0 0 2.8rem;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: rgba(103, 217, 232, .15);
    color: #67d9e8;
    font-size: 1.25rem;
}
.card-purchase-recommendation > div,
.card-purchase-recommendation small,
.card-purchase-recommendation strong,
.card-purchase-recommendation [data-card-recommendation-detail] { display: block; }
.card-purchase-recommendation small {
    margin-bottom: .18rem;
    color: #67d9e8;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.card-purchase-recommendation strong { margin-bottom: .18rem; font-size: 1.08rem; }
.card-purchase-recommendation [data-card-recommendation-detail] { opacity: .7; line-height: 1.4; }
.card-purchase-recommendation.is-warning {
    border-color: rgba(255, 183, 77, .55);
    background: rgba(255, 183, 77, .08);
}
.card-purchase-recommendation.is-warning small,
.card-purchase-recommendation.is-warning .card-purchase-recommendation__icon { color: #ffb74d; }
.card-purchase-recommendation.is-error {
    border-color: rgba(239, 83, 80, .6);
    background: rgba(239, 83, 80, .08);
}
.card-purchase-recommendation.is-error small,
.card-purchase-recommendation.is-error .card-purchase-recommendation__icon { color: #ef5350; }

.card-purchase-invoice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: .4rem 0 1.6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .35rem;
    background: rgba(255, 255, 255, .1);
}
.card-purchase-invoice > div { padding: .9rem 1rem; background: rgba(0, 0, 0, .12); }
.card-purchase-invoice small,
.card-purchase-invoice strong { display: block; }
.card-purchase-invoice small { margin-bottom: .25rem; opacity: .62; }
.card-purchase-invoice strong { font-size: 1.05rem; }
.card-purchase-invoice.is-manual { border-color: rgba(255, 183, 77, .45); }
.card-purchase-invoice[hidden] { display: none !important; }

.card-purchase-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-purchase-tabs .profile-tab {
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}
.card-purchase-impact[hidden],
.card-purchase-impact [hidden] { display: none !important; }
.card-purchase-impact__empty {
    display: flex;
    min-height: 15rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .45rem;
    color: rgba(255,255,255,.58);
    text-align: center;
}
.card-purchase-impact__empty i { color: #80deea; font-size: 2rem; }
.card-purchase-impact__empty strong { color: rgba(255,255,255,.9); font-size: 1.05rem; }
.card-purchase-impact__summary { margin-bottom: 1rem; }
.card-purchase-impact__table td,
.card-purchase-impact__table th { white-space: nowrap; }
.card-purchase-impact__table .text-danger { color: #ff8a80 !important; font-weight: 700; }

@media (max-width: 767px) {
    .card-purchase-invoice { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .gastos-cartoes-hero h1 {
        font-size: 1.65rem;
    }

    .gastos-cartoes-kpi {
        gap: 12px;
    }

    .gastos-cartoes-kpi__icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
    }

    .gastos-cartoes-ending-table td {
        grid-template-columns: 1fr;
        gap: 3px;
        text-align: left;
    }

    .gastos-cartoes-ending-table td > *,
    .gastos-cartoes-ending-table__value {
        justify-self: start;
    }
}

/* Fluxo financeiro mensal */
.cashflow-page {
    --cashflow-income: #66bb6a;
    --cashflow-expense: #ef5350;
    --cashflow-accent: #29b6d1;
    --cashflow-warning: #ffb74d;
    --cashflow-surface: rgba(0, 0, 0, .15);
    --cashflow-border: rgba(255, 255, 255, .075);
    font-size: 1rem;
}

.cashflow-hero {
    position: relative;
    display: grid;
    grid-template-areas: "content balance navigation";
    grid-template-columns: minmax(230px, 1fr) minmax(360px, 1fr) minmax(380px, .95fr);
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1.35rem 1.65rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 7px;
    background: linear-gradient(145deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .12));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}

.cashflow-hero::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #66bb6a, #29b6d1, #42a5f5);
    content: '';
    pointer-events: none;
}

.cashflow-hero::after {
    position: absolute;
    top: -90px;
    right: -55px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(41, 182, 209, .035);
    content: '';
    pointer-events: none;
}

.cashflow-hero__content {
    position: relative;
    z-index: 1;
    grid-area: content;
    min-width: 0;
}

.cashflow-eyebrow {
    display: block;
    color: #80deea;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cashflow-hero__title-line {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: .38rem;
}

.cashflow-hero__title-line h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 2.35vw, 2.3rem);
    font-weight: 700;
}

.cashflow-hero__content > p {
    max-width: 720px;
    margin: .55rem 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 1rem;
}

.cashflow-balance-evolution {
    position: relative;
    z-index: 1;
    grid-area: balance;
    min-width: 0;
    padding: .85rem .95rem;
    border: 1px solid rgba(128, 222, 234, .16);
    border-radius: 6px;
    background: rgba(0, 0, 0, .14);
}

.cashflow-balance-evolution__title {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem;
}

.cashflow-balance-evolution__title i {
    color: #80deea;
    font-size: 1.25rem;
}

.cashflow-balance-evolution__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: .65rem;
}

.cashflow-balance-evolution__item {
    min-width: 0;
    padding: .15rem .7rem;
    border-left: 1px solid rgba(255, 255, 255, .075);
}

.cashflow-balance-evolution__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.cashflow-balance-evolution__item:last-child {
    padding-right: 0;
}

.cashflow-balance-evolution__item > span,
.cashflow-balance-evolution__item > strong,
.cashflow-balance-evolution__item > small {
    display: block;
}

.cashflow-balance-evolution__item > span {
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cashflow-balance-evolution__item > strong {
    margin-top: .22rem;
    overflow: hidden;
    color: #fff;
    font-size: 1.28rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cashflow-balance-evolution__item > small {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .46);
    font-size: .96rem;
    line-height: 1.35;
}

.cashflow-balance-evolution__item.is-current {
    background: rgba(41, 182, 209, .035);
}

.cashflow-balance-evolution .is-positive {
    color: #81c784;
}

.cashflow-balance-evolution .is-negative {
    color: #ff8a80;
}

.cashflow-balance-evolution .is-neutral {
    color: rgba(255, 255, 255, .52);
}

.cashflow-period-status {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .32rem .58rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cashflow-period-status.is-open {
    background: rgba(102, 187, 106, .09);
    color: #a5d6a7;
}

.cashflow-period-status.is-closed {
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .58);
}

.cashflow-period-navigation {
    position: relative;
    z-index: 1;
    display: flex;
    grid-area: navigation;
    min-width: min(460px, 38vw);
    align-items: center;
    flex-direction: column;
    gap: .38rem;
}

.cashflow-period-navigation__label {
    color: rgba(255, 255, 255, .52);
    font-size: .82rem;
    font-weight: 700;
}

.cashflow-period-navigation__controls {
    display: grid;
    width: 100%;
    grid-template-columns: auto 2.5rem minmax(165px, 1fr) 2.5rem auto;
    align-items: center;
    gap: .5rem;
}

.cashflow-period-navigation__arrow {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(128, 222, 234, .35);
    border-radius: 50%;
    background: rgba(41, 182, 209, .08);
    color: #80deea;
    font-size: 1.25rem;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.cashflow-period-navigation__arrow:hover,
.cashflow-period-navigation__arrow:focus {
    border-color: rgba(128, 222, 234, .7);
    background: rgba(41, 182, 209, .18);
    color: #fff;
    transform: translateY(-1px);
}

.cashflow-period-navigation__current {
    min-width: 0;
    margin: 0;
}

.cashflow-period-picker__year {
    display: inline-flex;
    min-height: 2.4rem;
    align-items: center;
    justify-content: center;
    gap: .28rem;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 5px;
    background: rgba(255, 255, 255, .035);
    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
    font-weight: 700;
}

.cashflow-period-picker__year:hover,
.cashflow-period-picker__year:focus {
    border-color: rgba(128, 222, 234, .35);
    color: #fff;
}

.cashflow-period-navigation__current select {
    width: 100%;
    height: 2.5rem;
    padding: .35rem 2rem .35rem .75rem;
    border: 1px solid rgba(128, 222, 234, .25);
    border-radius: 5px;
    background: rgba(0, 0, 0, .18);
    color: #fff;
    cursor: pointer;
    font-size: .95rem;
    text-align: center;
}

.cashflow-period-navigation__current select option {
    background: #123b38 !important;
    color: #fff;
}

.cashflow-period-navigation > small {
    color: rgba(255, 255, 255, .45);
    font-size: .8rem;
    text-align: center;
}

.cashflow-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.cashflow-kpi {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 170px;
    flex-direction: column;
    padding: 1rem 1.1rem;
    overflow: hidden;
    border: 1px solid var(--cashflow-border);
    border-top: 3px solid currentColor;
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .12));
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.cashflow-kpi::after {
    position: absolute;
    top: -42px;
    right: -42px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: currentColor;
    content: '';
    opacity: .035;
}

.cashflow-kpi.is-income {
    color: var(--cashflow-income);
}

.cashflow-kpi.is-expense,
.cashflow-kpi.is-negative {
    color: var(--cashflow-expense);
}

.cashflow-kpi.is-balance {
    color: var(--cashflow-accent);
}

.cashflow-kpi.is-forecast {
    color: #7e8ce0;
}

.cashflow-kpi.is-positive.is-balance,
.cashflow-kpi.is-positive.is-forecast {
    color: #5cc5b8;
}

.cashflow-kpi__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.cashflow-kpi__icon {
    display: inline-flex;
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 3.1rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: currentColor;
}

.cashflow-kpi__icon i {
    color: #fff;
    font-size: 1.45rem;
}

.cashflow-kpi__heading > div {
    min-width: 0;
}

.cashflow-kpi__heading > div > span,
.cashflow-kpi__heading > div > strong {
    display: block;
}

.cashflow-kpi__heading > div > span {
    color: rgba(255, 255, 255, .6);
    font-size: .92rem;
}

.cashflow-kpi__heading > div > strong {
    margin-top: .18rem;
    overflow: hidden;
    color: #fff;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cashflow-kpi__secondary-balance {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem .75rem;
    margin-top: auto;
    padding: .62rem .75rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 5px;
    background: rgba(0, 0, 0, .14);
}

.cashflow-kpi__secondary-balance > span {
    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
}

.cashflow-kpi__secondary-balance > strong {
    color: #fff;
    font-size: 1.12rem;
    font-variant-numeric: tabular-nums;
}

.cashflow-kpi__secondary-balance > strong.is-positive {
    color: var(--cashflow-income);
}

.cashflow-kpi__secondary-balance > strong.is-negative {
    color: var(--cashflow-expense);
}

.cashflow-kpi__split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.cashflow-kpi__split > span,
.cashflow-kpi__split > span > strong {
    display: block;
}

.cashflow-kpi__split > span {
    color: rgba(255, 255, 255, .48);
    font-size: .82rem;
}

.cashflow-kpi__split > span > strong {
    margin-top: .18rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cashflow-kpi__split.is-comparison > span > strong.is-positive {
    color: var(--cashflow-income);
}

.cashflow-kpi__split.is-comparison > span > strong.is-negative {
    color: var(--cashflow-expense);
}

.cashflow-kpi__split.is-comparison > span > strong.is-neutral {
    color: rgba(255, 255, 255, .7);
}

.cashflow-progress {
    position: relative;
    z-index: 1;
    height: 5px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.cashflow-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

.cashflow-kpi > small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: .45rem;
    color: rgba(255, 255, 255, .48);
    font-size: .8rem;
}

.cashflow-kpi__explanation {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.cashflow-kpi__explanation span,
.cashflow-kpi__explanation strong {
    display: block;
}

.cashflow-kpi__explanation span {
    color: rgba(255, 255, 255, .48);
    font-size: .82rem;
}

.cashflow-kpi__explanation strong {
    margin-top: .28rem;
    color: currentColor;
    font-size: 1rem;
}

.cashflow-kpi__explanation strong.is-positive {
    color: var(--cashflow-income);
}

.cashflow-kpi__explanation strong.is-negative {
    color: var(--cashflow-expense);
}

.cashflow-ledger {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--cashflow-border);
    border-radius: 7px;
    background: var(--cashflow-surface);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
}

.cashflow-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
}

.cashflow-section-heading h2 {
    margin: .28rem 0 .3rem;
    font-size: 1.45rem;
}

.cashflow-section-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: .92rem;
}

.cashflow-section-heading__count {
    padding: .35rem .6rem;
    border: 1px solid rgba(128, 222, 234, .18);
    border-radius: 999px;
    background: rgba(41, 182, 209, .07);
    color: #80deea;
    font-size: .82rem;
    white-space: nowrap;
}

.cashflow-filters {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    scrollbar-width: thin;
}

.cashflow-filters button {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    gap: .4rem;
    padding: .38rem .65rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    background: rgba(255, 255, 255, .025);
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
    font-family: inherit;
    font-size: .86rem;
    white-space: nowrap;
}

.cashflow-filters button > span {
    display: inline-flex;
    min-width: 1.35rem;
    height: 1.35rem;
    align-items: center;
    justify-content: center;
    padding: 0 .3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .8rem;
}

.cashflow-filters button:hover,
.cashflow-filters button:focus,
.cashflow-filters button.is-active {
    border-color: rgba(128, 222, 234, .42);
    background: rgba(41, 182, 209, .13);
    color: #fff;
}

.cashflow-day {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.cashflow-day:last-child {
    border-bottom: 0;
}

.cashflow-day.is-today {
    background: linear-gradient(90deg, rgba(41, 182, 209, .04), rgba(41, 182, 209, .012));
    box-shadow: inset 3px 0 0 rgba(41, 182, 209, .55);
}

.cashflow-day.has-negative-balance {
    position: relative;
    background: linear-gradient(90deg, rgba(244, 67, 54, .16), rgba(244, 67, 54, .035));
    box-shadow: inset 6px 0 0 #ff5252,
        inset 0 0 0 1px rgba(255, 82, 82, .42),
        0 0 22px rgba(244, 67, 54, .2);
}

.cashflow-day.has-negative-balance .cashflow-day__header {
    background: rgba(183, 28, 28, .16);
}

.cashflow-day.has-negative-balance.is-today .cashflow-day__header > div:first-child strong {
    color: #ff8a80;
}

.cashflow-day__header {
    display: flex;
    min-width: 0;
    justify-content: space-between;
    flex-direction: column;
    gap: .8rem;
    padding: 1rem 1.05rem;
    border-right: 1px solid rgba(255, 255, 255, .065);
    background: rgba(0, 0, 0, .075);
}

.cashflow-day__header strong,
.cashflow-day__header span {
    display: block;
}

.cashflow-day__header > div:first-child strong {
    color: rgba(255, 255, 255, .9);
    font-size: 1.02rem;
}

.cashflow-day__header > div:first-child span {
    margin-top: .18rem;
    color: rgba(255, 255, 255, .48);
    font-size: .84rem;
}

.cashflow-day.is-today .cashflow-day__header > div:first-child strong {
    color: #80deea;
}

.cashflow-day__summary {
    display: flex;
    flex-direction: column;
    gap: .18rem;
}

.cashflow-day__summary span {
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
}

.cashflow-day__summary .is-income {
    color: #81c784;
}

.cashflow-day__summary .is-expense {
    color: #ff8a80;
}

.cashflow-day__expected-balance {
    display: grid;
    gap: .18rem;
    margin-top: .65rem;
    padding: .65rem .7rem;
    border: 1px solid rgba(128, 203, 196, .4);
    border-left: 4px solid #80cbc4;
    border-radius: 5px;
    background: rgba(38, 166, 154, .1);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .12);
    font-variant-numeric: tabular-nums;
}

.cashflow-day__expected-balance > span {
    color: rgba(255, 255, 255, .76);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.cashflow-day__expected-balance > strong {
    color: #80cbc4;
    font-size: 1.35rem;
}

.cashflow-day__expected-balance.is-negative {
    border-color: rgba(255, 82, 82, .78);
    border-left-color: #ff5252;
    background: rgba(183, 28, 28, .32);
}

.cashflow-day__expected-balance.is-negative > strong {
    color: #ff8a80;
    font-size: 1.3rem;
}

.cashflow-day__expected-balance > em {
    color: #ffcdd2;
    font-size: .76rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.cashflow-movement {
    position: relative;
    display: grid;
    grid-template-columns: 2.5rem minmax(180px, 1fr) auto minmax(130px, auto) 2.25rem;
    min-height: 76px;
    align-items: center;
    gap: .85rem;
    padding: .75rem 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    transition: background-color .18s ease;
}

.cashflow-movement:last-child {
    border-bottom: 0;
}

.cashflow-movement:hover {
    background: rgba(255, 255, 255, .025);
}

.cashflow-movement__icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.cashflow-movement.is-income .cashflow-movement__icon {
    background: rgba(102, 187, 106, .12);
    color: #81c784;
}

.cashflow-movement.is-expense .cashflow-movement__icon {
    background: rgba(239, 83, 80, .12);
    color: #ff8a80;
}

.cashflow-movement.is-balance .cashflow-movement__icon {
    background: rgba(41, 182, 209, .12);
    color: #80deea;
}

.cashflow-movement__main {
    min-width: 0;
}

.cashflow-movement__title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .45rem;
}

.cashflow-movement__title > strong {
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Nomes coloridos dos cartões mantêm contraste sobre qualquer tema. */
.invoice-card-name {
    font-weight: 900;
    letter-spacing: .025em;
    -webkit-text-stroke: .55px currentColor;
    paint-order: stroke fill;
}

.invoice-card-name,
.card-color-name {
    text-shadow: -1px -1px 1px rgba(0, 0, 0, .82),
                  1px -1px 1px rgba(0, 0, 0, .82),
                 -1px  1px 1px rgba(0, 0, 0, .82),
                  1px  1px 1px rgba(0, 0, 0, .82),
                  0 0 4px rgba(0, 0, 0, .72);
}

.invoice-card-name.card-name-shadow--light,
.card-color-name.card-name-shadow--light {
    text-shadow: -1px -1px 1px rgba(255, 255, 255, .88),
                  1px -1px 1px rgba(255, 255, 255, .88),
                 -1px  1px 1px rgba(255, 255, 255, .88),
                  1px  1px 1px rgba(255, 255, 255, .88),
                  0 0 4px rgba(255, 255, 255, .68);
}

/* O saldo disponível recebe o mesmo contorno escuro usado nos nomes dos cartões. */
.financial-current-balance {
    color: var(--app-data-balance, #62baff) !important;
    font-weight: 900 !important;
    letter-spacing: .015em;
    -webkit-text-stroke: .4px currentColor;
    paint-order: stroke fill;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, .82),
                  1px -1px 1px rgba(0, 0, 0, .82),
                 -1px  1px 1px rgba(0, 0, 0, .82),
                  1px  1px 1px rgba(0, 0, 0, .82),
                  0 0 4px rgba(0, 0, 0, .72);
}

.financial-current-balance.is-negative {
    color: var(--app-data-expense, #ff8585) !important;
}

.cashflow-movement__main > span {
    display: block;
    margin-top: .22rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .46);
    font-size: .84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cashflow-movement__invoice {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(128, 222, 234, .28);
    border-radius: 50%;
    background: rgba(41, 182, 209, .1);
    color: #80deea;
    cursor: pointer;
}

.cashflow-movement__invoice:hover,
.cashflow-movement__invoice:focus {
    border-color: rgba(128, 222, 234, .6);
    background: rgba(41, 182, 209, .2);
    color: #fff;
}

.cashflow-movement__status {
    padding: .28rem .52rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cashflow-movement__status.is-realized {
    background: rgba(102, 187, 106, .11);
    color: #a5d6a7;
}

.cashflow-movement__status.is-pending {
    background: rgba(255, 183, 77, .12);
    color: #ffd095;
}

.cashflow-movement__status.is-overdue {
    background: rgba(239, 83, 80, .14);
    color: #ff8a80;
}

.cashflow-movement__status.is-balance {
    background: rgba(41, 182, 209, .11);
    color: #80deea;
}

.cashflow-movement__value {
    text-align: right;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cashflow-movement__value.is-income {
    color: #81c784;
}

.cashflow-movement__value.is-expense {
    color: #ff8a80;
}

.cashflow-movement__actions {
    justify-self: end;
}

.cashflow-movement__menu {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .56);
    cursor: pointer;
    font-size: 1.15rem;
}

.cashflow-movement__menu:hover,
.cashflow-movement__menu:focus {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.cashflow-movement__actions .dropdown-menu form,
.cashflow-movement__actions .dropdown-menu form > button {
    width: 100%;
}

.cashflow-movement__actions .dropdown-menu form > button {
    border: 0;
    text-align: left;
}

.cashflow-empty-state,
.cashflow-filter-empty {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    color: rgba(255, 255, 255, .52);
    text-align: center;
}

.cashflow-empty-state > i,
.cashflow-filter-empty > i {
    margin-bottom: .7rem;
    color: rgba(128, 222, 234, .58);
    font-size: 2.5rem;
}

.cashflow-empty-state > strong,
.cashflow-filter-empty > strong {
    color: rgba(255, 255, 255, .82);
    font-size: 1.06rem;
}

.cashflow-empty-state > span,
.cashflow-filter-empty > span {
    margin-top: .28rem;
    font-size: .88rem;
}

.cashflow-invoice-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 760px;
}

.cashflow-invoice-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(128, 222, 234, .16);
    border-radius: 7px;
    background: #0b2d2b;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.cashflow-invoice-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cashflow-invoice-modal .modal-title {
    margin: .28rem 0 0;
    font-size: 1.3rem;
}

.cashflow-invoice-modal .modal-header small {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .52);
    font-size: .86rem;
}

.cashflow-invoice-modal__close {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 2.1rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .68);
    cursor: pointer;
    font-size: 1.1rem;
}

.cashflow-invoice-modal__close:hover,
.cashflow-invoice-modal__close:focus {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.cashflow-invoice-modal .modal-body {
    max-height: min(58vh, 520px);
    padding: 0;
    overflow-y: auto;
}

.cashflow-invoice-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(125px, auto) 100px;
    align-items: center;
    gap: 1rem;
    min-height: 70px;
    padding: .8rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.cashflow-invoice-item:last-child {
    border-bottom: 0;
}

.cashflow-invoice-item > div:first-child {
    min-width: 0;
}

.cashflow-invoice-item > div:first-child strong,
.cashflow-invoice-item > div:first-child span {
    display: block;
}

.cashflow-invoice-item > div:first-child strong {
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: .98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cashflow-invoice-item > div:first-child span {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .42);
    font-size: .8rem;
}

.invoice-purchase-description {
    --invoice-purchase-description-size: 1.05rem;
    --invoice-purchase-installment-size: 1.2rem;
    display: flex;
    min-width: 0;
    max-width: 100%;
    align-items: flex-end;
    gap: .4rem;
}

.invoice-purchase-description__text {
    display: -webkit-box !important;
    min-width: 0;
    overflow: hidden;
    font-size: var(--invoice-purchase-description-size) !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.invoice-purchase-description__installment {
    display: block !important;
    flex: 0 0 auto;
    font-size: var(--invoice-purchase-installment-size) !important;
    line-height: 1.25;
    white-space: nowrap;
}

.invoice-purchase-description__installment--early {
    color: #ff7474 !important;
}

.invoice-purchase-description__installment--progress {
    color: #ffd166 !important;
}

.invoice-purchase-description__installment--last {
    color: #6fdf88 !important;
}

.overview-invoice-purchase-description {
    --invoice-purchase-description-size: .92rem;
    --invoice-purchase-installment-size: 1.05rem;
}

.invoice-purchase-value--refund {
    color: #6fdf88 !important;
}

.cashflow-invoice-item > strong {
    color: #ffb3b0;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.cashflow-invoice-item__action {
    text-align: center;
}

.cashflow-invoice-item__action form {
    margin: 0;
}

.cashflow-invoice-item__action .btn {
    padding: .28rem .45rem;
}

.cashflow-invoice-item__locked {
    color: rgba(255, 255, 255, .4);
    font-size: .82rem;
}

.cashflow-invoice-modal__footer {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
}

.cashflow-invoice-modal__footer > span {
    color: rgba(255, 255, 255, .56);
    font-size: .86rem;
}

.cashflow-invoice-modal__footer > strong {
    color: #fff;
    font-size: 1.1rem;
}

.cashflow-close-period {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-left: 3px solid currentColor;
    border-radius: 6px;
    background: rgba(0, 0, 0, .14);
}

.cashflow-close-period.is-open {
    color: #81c784;
}

.cashflow-close-period.is-blocked {
    color: #ffd095;
}

.cashflow-close-period.is-closed {
    color: rgba(255, 255, 255, .48);
}

.cashflow-close-period__icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: currentColor;
}

.cashflow-close-period__icon i {
    color: #fff;
    font-size: 1.2rem;
}

.cashflow-close-period__content {
    min-width: 0;
}

.cashflow-close-period__content > span,
.cashflow-close-period__content > strong,
.cashflow-close-period__content > small {
    display: block;
}

.cashflow-close-period__content > span {
    color: currentColor;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cashflow-close-period__content > strong {
    margin-top: .18rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
}

.cashflow-close-period__content > small {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .5);
    font-size: .85rem;
}

.cashflow-close-period__action form {
    margin: 0;
}

.cashflow-close-period__action .btn {
    min-height: 2.65rem;
    white-space: nowrap;
}

@media (max-width: 1399px) {
    .cashflow-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1279px) {
    .cashflow-hero {
        grid-template-areas:
            "content navigation"
            "balance balance";
        grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    }

    .cashflow-balance-evolution {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .cashflow-hero {
        grid-template-areas:
            "content"
            "navigation"
            "balance";
        grid-template-columns: minmax(0, 1fr);
    }

    .cashflow-period-navigation {
        width: min(100%, 620px);
        min-width: 0;
        justify-self: center;
    }

    .cashflow-movement {
        grid-template-columns: 2.5rem minmax(140px, 1fr) auto 2.25rem;
    }

    .cashflow-movement__status {
        grid-column: 2;
        justify-self: start;
        margin-top: -.25rem;
    }

    .cashflow-movement__value {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .cashflow-movement__actions {
        grid-column: 4;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 767px) {
    .cashflow-page {
        font-size: 1.03rem;
    }

    .cashflow-hero {
        gap: .9rem;
        padding: 1.2rem 1rem 1rem;
    }

    .cashflow-hero__title-line {
        align-items: flex-start;
        flex-direction: column;
        gap: .55rem;
    }

    .cashflow-hero__content > p {
        font-size: .95rem;
    }

    .cashflow-period-navigation {
        width: 100%;
    }

    .cashflow-balance-evolution__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cashflow-balance-evolution__item,
    .cashflow-balance-evolution__item:first-child,
    .cashflow-balance-evolution__item:last-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .2rem .75rem;
        padding: .65rem 0;
        border-top: 1px solid rgba(255, 255, 255, .075);
        border-left: 0;
    }

    .cashflow-balance-evolution__item:first-child {
        border-top: 0;
    }

    .cashflow-balance-evolution__item > strong {
        margin-top: 0;
        text-align: right;
    }

    .cashflow-balance-evolution__item > small {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .cashflow-period-navigation__controls {
        grid-template-columns: auto 2.7rem minmax(135px, 1fr) 2.7rem auto;
        gap: .4rem;
    }

    .cashflow-period-navigation__arrow {
        width: 2.7rem;
        height: 2.7rem;
    }

    .cashflow-period-picker__year {
        min-width: 0;
        padding: .45rem .5rem;
        font-size: .82rem;
    }

    .cashflow-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cashflow-kpi {
        min-height: 160px;
    }

    .cashflow-section-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.15rem 1rem .9rem;
    }

    .cashflow-filters {
        padding: .7rem 1rem;
    }

    .cashflow-filters button {
        min-height: 2.45rem;
        padding: .45rem .72rem;
        font-size: .86rem;
    }

    .cashflow-day {
        display: block;
    }

    .cashflow-day__header {
        align-items: center;
        flex-direction: row;
        padding: .75rem .9rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .065);
    }

    .cashflow-day__summary {
        align-items: flex-end;
    }

    .cashflow-movement {
        grid-template-columns: 2.4rem minmax(0, 1fr) auto;
        gap: .68rem;
        padding: .78rem .88rem;
    }

    .cashflow-movement__icon {
        width: 2.4rem;
        height: 2.4rem;
        grid-row: 1 / span 2;
    }

    .cashflow-movement__main {
        grid-column: 2;
        grid-row: 1;
    }

    .cashflow-movement__title > strong,
    .cashflow-movement__main > span {
        white-space: normal;
    }

    .cashflow-movement__status {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
    }

    .cashflow-movement__value {
        grid-column: 3;
        grid-row: 1;
        font-size: 1rem;
    }

    .cashflow-movement__actions {
        grid-column: 3;
        grid-row: 2;
    }

    .cashflow-close-period {
        grid-template-columns: 2.7rem minmax(0, 1fr);
        padding: 1rem;
    }

    .cashflow-close-period__icon {
        width: 2.7rem;
        height: 2.7rem;
    }

    .cashflow-close-period__action {
        grid-column: 1 / -1;
    }

    .cashflow-close-period__action form,
    .cashflow-close-period__action .btn {
        width: 100%;
    }

    .cashflow-invoice-modal .modal-dialog {
        width: calc(100% - 1rem);
        max-width: none;
        min-height: calc(100vh - 1rem);
        margin: .5rem;
    }

    .cashflow-invoice-modal .modal-content {
        min-height: calc(100vh - 1rem);
    }

    .cashflow-invoice-modal .modal-body {
        max-height: none;
        flex: 1;
    }

    .cashflow-invoice-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .5rem .8rem;
        padding: .85rem 1rem;
    }

    .cashflow-invoice-item > strong {
        grid-column: 2;
        grid-row: 1;
    }

    .cashflow-invoice-item__action {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
    }

    .cashflow-invoice-modal__footer {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cashflow-invoice-modal__footer .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 479px) {
    .cashflow-period-navigation__controls {
        grid-template-columns: 2.7rem 2.7rem minmax(105px, 1fr) 2.7rem 2.7rem;
        gap: .28rem;
    }

    .cashflow-period-picker__year {
        width: 2.7rem;
        height: 2.7rem;
        padding: 0;
        font-size: 0;
    }

    .cashflow-period-picker__year i {
        font-size: 1.15rem;
    }

    .cashflow-kpi__heading > div > strong {
        font-size: 1.3rem;
    }

    .cashflow-movement {
        grid-template-columns: 2.35rem minmax(0, 1fr) 2.2rem;
    }

    .cashflow-movement__value {
        grid-column: 2;
        grid-row: 3;
        justify-self: start;
        margin-top: .12rem;
        font-size: 1rem;
        text-align: left;
    }

    .cashflow-movement__actions {
        grid-column: 3;
        grid-row: 2 / span 2;
    }

    .cashflow-section-heading__count {
        align-self: flex-start;
    }
}

.php-debug-message .system-message-details {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Painel financeiro: cartões mensais consolidados. */
.bi-month-grid {
    margin-top: 1.5rem;
}

.bi-month-grid > [class*="col-"] {
    display: flex;
}

.bi-month-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 300px;
    margin-bottom: 30px;
    padding: 1.3rem;
    color: #fff;
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 3px solid rgba(255, 255, 255, .3);
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.bi-month-card:hover,
.bi-month-card:focus {
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, .32);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 9px 24px rgba(0, 0, 0, .2);
    transform: translateY(-3px);
}

.bi-month-card:focus {
    outline: 2px solid rgba(255, 255, 255, .7);
    outline-offset: 2px;
}

.bi-month-card--positive {
    border-top-color: #66bb6a;
}

.bi-month-card--negative {
    border-top-color: #ff5252;
}

.bi-month-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.bi-month-card__header strong,
.bi-month-card__header small {
    display: block;
}

.bi-month-card__header strong {
    font-size: 1.15rem;
    line-height: 1.2;
}

.bi-month-card__header small {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
}

.bi-month-card__header > i {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .5);
    font-size: 1.1rem;
}

.bi-month-card__metrics {
    padding-top: .75rem;
}

.bi-month-card__metric {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem 0;
}

.bi-month-card__metric > span,
.bi-month-card__commitment span,
.bi-summary__metric > span {
    color: rgba(255, 255, 255, .66);
    font-size: .78rem;
}

.bi-month-card__metric > span i {
    width: 1rem;
    margin-right: .2rem;
    text-align: center;
}

.bi-month-card__metric > strong,
.bi-month-card__commitment strong,
.bi-summary__metric > strong {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bi-month-card__metric > strong {
    min-width: 0;
    font-size: .92rem;
    text-align: right;
}

.bi-month-card__metric--balance {
    margin-top: .4rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.bi-month-card__commitment {
    --bi-status-color: #9e9e9e;
    margin-top: auto;
    padding-top: 1rem;
}

.bi-month-card__commitment > div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
}

.bi-month-card__commitment strong,
.bi-summary__metric.bi-commitment--good strong,
.bi-summary__metric.bi-commitment--warning strong,
.bi-summary__metric.bi-commitment--danger strong,
.bi-summary__metric.bi-commitment--neutral strong {
    color: var(--bi-status-color);
}

.bi-month-card__financial-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.bi-month-card__financial-balance > span {
    color: rgba(255, 255, 255, .72);
    font-size: .74rem;
}

.bi-month-card__financial-balance > strong {
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.bi-progress {
    display: block;
    width: 100%;
    height: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
}

.bi-progress > span {
    display: block;
    height: 100%;
    background: var(--bi-status-color);
    border-radius: inherit;
    transition: width .4s ease;
}

.bi-commitment--good {
    --bi-status-color: #66bb6a;
}

.bi-commitment--warning {
    --bi-status-color: #ffb74d;
}

.bi-commitment--danger {
    --bi-status-color: #ff5252;
}

.bi-commitment--neutral {
    --bi-status-color: #9e9e9e;
}

.bi-value--revenue,
.bi-value--positive {
    color: #81c784 !important;
}

.bi-value--expense,
.bi-value--negative {
    color: #ff8a80 !important;
}

.bi-value--warning {
    color: #ffcc80 !important;
}

.bi-summary {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
    margin: 0 0 2rem;
    overflow: hidden;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
}

.bi-summary__title,
.bi-summary__metric {
    min-width: 0;
    padding: 1.25rem 1.35rem;
}

.bi-summary__title {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.bi-summary__title > i {
    color: rgba(255, 255, 255, .7);
    font-size: 1.8rem;
}

.bi-summary__title strong,
.bi-summary__title small,
.bi-summary__metric span,
.bi-summary__metric strong,
.bi-summary__metric small {
    display: block;
}

.bi-summary__title strong {
    font-size: 1rem;
}

.bi-summary__title small {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .55);
    font-size: .75rem;
}

.bi-summary__metric {
    border-left: 1px solid rgba(255, 255, 255, .09);
}

.bi-summary__metric strong {
    margin-top: .4rem;
    overflow: hidden;
    font-size: 1.05rem;
    text-overflow: ellipsis;
}

.bi-summary__metric small {
    margin-top: .3rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.bi-summary--health {
    border-top: 3px solid #42a5f5;
}

.bi-summary--health .bi-summary__title > i {
    color: #42a5f5;
}

.bi-summary--risk {
    margin-top: 1.5rem;
    border-top: 3px solid #ffb74d;
}

.bi-summary--risk .bi-summary__title > i {
    color: #ffb74d;
}

.bi-summary--history {
    margin-top: 1.5rem;
    border-top: 3px solid #7e57c2;
}

.bi-summary--history .bi-summary__title > i {
    color: #b39ddb;
}

/* Painel financeiro: situação consolidada do mês atual. */
.bi-current-grid {
    margin-top: 1.5rem;
}

.bi-current-grid > [class*="col-"] {
    display: flex;
}

.bi-status-card {
    --bi-card-accent: #9e9e9e;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 275px;
    margin-bottom: 30px;
    padding: 1.35rem;
    color: #fff;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .09);
    border-top: 3px solid var(--bi-card-accent);
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
}

.bi-status-card--revenue {
    --bi-card-accent: #66bb6a;
}

.bi-status-card--expense {
    --bi-card-accent: #ef5350;
}

.bi-status-card--balance {
    --bi-card-accent: #42a5f5;
}

.bi-status-card__header {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.bi-status-card__icon {
    display: inline-flex;
    flex: 0 0 2.6rem;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    color: var(--bi-card-accent);
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    font-size: 1.35rem;
}

.bi-status-card__header > div,
.bi-status-card__header > div > span,
.bi-status-card__header > div > strong {
    display: block;
    min-width: 0;
}

.bi-status-card__header > div {
    flex: 1 1 auto;
}

.bi-status-card__header > div > span {
    color: rgba(255, 255, 255, .68);
    font-size: .8rem;
}

.bi-status-card__header > div > strong {
    margin-top: .2rem;
    overflow: hidden;
    font-size: 1.05rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bi-status-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.1rem 0;
}

.bi-status-card__metrics > div > span,
.bi-status-card__metrics > div > strong {
    display: block;
}

.bi-status-card__metrics > div > span,
.bi-status-card__progress > div > span {
    color: rgba(255, 255, 255, .63);
    font-size: .76rem;
}

.bi-status-card__metrics > div > strong {
    margin-top: .3rem;
    overflow: hidden;
    font-size: .98rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bi-status-card__metrics--balance > div:last-child {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.bi-status-card__metrics--balance > div:last-child > strong {
    margin-top: 0;
    text-align: right;
}

.bi-status-card__progress {
    --bi-status-color: #9e9e9e;
}

.bi-status-card__progress > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .5rem;
}

.bi-status-card__progress > div > strong {
    color: var(--bi-status-color);
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bi-status-card__comparison {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.bi-status-card__comparison-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.bi-status-card__comparison-values > div:last-child {
    text-align: right;
}

.bi-status-card__comparison-values span,
.bi-status-card__comparison-values strong,
.bi-status-card__variation span,
.bi-status-card__variation strong {
    display: block;
}

.bi-status-card__comparison-values span,
.bi-status-card__variation span {
    color: rgba(255, 255, 255, .58);
    font-size: .73rem;
}

.bi-status-card__comparison-values strong {
    margin-top: .25rem;
    overflow: hidden;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bi-status-card__variation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .75rem;
    padding-top: .65rem;
    border-top: 1px dashed rgba(255, 255, 255, .08);
}

.bi-status-card__variation > strong {
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.bi-comparison--positive {
    color: #81c784;
}

.bi-comparison--negative {
    color: #ff6b6b;
}

.bi-comparison--neutral {
    color: rgba(255, 255, 255, .58);
}

.bi-data-quality-alert {
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 183, 77, .45);
    border-left: 4px solid #ffb74d;
    border-radius: 4px;
    background: rgba(255, 183, 77, .09);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.bi-data-quality-alert__header {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.bi-data-quality-alert__header > div,
.bi-data-quality-alert__header > div > strong,
.bi-data-quality-alert__header > div > span {
    display: block;
}

.bi-data-quality-alert__header strong {
    color: #ffd095;
    font-size: .95rem;
}

.bi-data-quality-alert__header > div > span {
    margin-top: .18rem;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
}

.bi-data-quality-alert__icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 183, 77, .16);
    color: #ffb74d;
    font-size: 1.25rem;
}

.bi-data-quality-alert__icon > i {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bi-data-quality-alert__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem 1rem;
    margin: 1rem 0 .75rem;
    padding: 0;
    list-style: none;
}

.bi-data-quality-alert__list li {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
}

.bi-data-quality-alert__list strong {
    display: inline-flex;
    min-width: 1.65rem;
    min-height: 1.35rem;
    align-items: center;
    justify-content: center;
    padding: .1rem .35rem;
    border-radius: 999px;
    background: rgba(255, 183, 77, .18);
    color: #ffd095;
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
}

.bi-data-quality-alert > p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .74rem;
}

.bi-data-quality-details {
    margin-top: .9rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255, 183, 77, .18);
}

.bi-data-quality-details > summary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 183, 77, .28);
    border-radius: 3px;
    outline: 0;
    background: rgba(255, 183, 77, .1);
    color: #ffd095;
    cursor: pointer;
    font-size: .76rem;
    list-style: none;
}

.bi-data-quality-details > summary::-webkit-details-marker {
    display: none;
}

.bi-data-quality-details > summary:hover,
.bi-data-quality-details > summary:focus {
    border-color: rgba(255, 183, 77, .55);
    background: rgba(255, 183, 77, .16);
}

.bi-data-quality-details[open] > summary {
    margin-bottom: .85rem;
}

.bi-data-quality-details__table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 3px;
}

.bi-data-quality-details__table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: rgba(0, 0, 0, .08);
    color: rgba(255, 255, 255, .76);
    font-size: .74rem;
}

.bi-data-quality-details__table th,
.bi-data-quality-details__table td {
    padding: .7rem .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    vertical-align: middle;
    text-align: left;
}

.bi-data-quality-details__table th {
    background: rgba(0, 0, 0, .14);
    color: rgba(255, 255, 255, .62);
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.bi-data-quality-details__table tbody tr:last-child td {
    border-bottom: 0;
}

.bi-data-quality-details__table tbody tr:hover {
    background: rgba(255, 255, 255, .035);
}

.bi-data-quality-details__table td > strong,
.bi-data-quality-details__table td > span,
.bi-data-quality-details__table td > small {
    display: block;
}

.bi-data-quality-details__table td > small {
    margin-top: .18rem;
    color: rgba(255, 255, 255, .5);
    font-size: .68rem;
}

.bi-data-quality-details__problem {
    max-width: 260px;
    color: #ffd095;
    line-height: 1.4;
}

.bi-data-quality-details__limit {
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, .55);
    font-size: .7rem;
}

.bi-chart-interaction-hint {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .8rem 0 .35rem;
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
}

.bi-chart-interaction-hint i {
    color: #29b6d1;
    font-size: 1rem;
}

.flot-chart-legends {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin: 1rem 0 -.25rem;
}

.bi-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .7rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    outline: 0;
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .78);
    cursor: pointer;
    font-family: inherit;
    font-size: .76rem;
    line-height: 1.2;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

.bi-chart-legend-item:hover,
.bi-chart-legend-item:focus,
.bi-chart-legend-item.is-highlighted {
    border-color: rgba(41, 182, 209, .75);
    background: rgba(41, 182, 209, .15);
    color: #fff;
    transform: translateY(-1px);
}

.bi-chart-legend-item.is-hidden {
    opacity: .45;
    text-decoration: line-through;
}

.bi-chart-legend-item.is-hidden:hover,
.bi-chart-legend-item.is-hidden:focus {
    opacity: .75;
}

.bi-chart-legend-item__swatch {
    width: .65rem;
    height: .65rem;
    flex: 0 0 .65rem;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .08);
}

.bi-chart-legend-item__swatch--square {
    border-radius: 2px;
}

.bi-chart-legend-item__swatch--diamond {
    border-radius: 1px;
    transform: rotate(45deg) scale(.82);
}

.bi-chart-legend-item.is-hidden .bi-chart-legend-item__swatch {
    filter: grayscale(1);
}

.flot-curved-line .flot-x-axis .flot-tick-label:first-child {
    color: #80deea !important;
    font-weight: 700 !important;
}

.flot-tooltip--financial {
    z-index: 1200;
    min-width: 190px;
    max-width: min(360px, calc(100vw - 24px));
    padding: .75rem .85rem;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(8, 31, 31, .97);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    line-height: 1.35;
    pointer-events: auto;
}

.flot-period-link {
    position: relative;
    z-index: 4;
    display: inline-block;
    color: inherit;
    font: inherit;
    pointer-events: auto;
    text-decoration: none;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.flot-curved-line .flot-text,
.flot-line .flot-text {
    z-index: 3;
    pointer-events: none;
}

.flot-period-link:hover,
.flot-period-link:focus {
    color: #80deea;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.flot-tooltip__series-marker {
    display: inline-block;
    width: .62rem;
    height: .62rem;
    margin-right: .4rem;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .08);
}

.flot-tooltip__series {
    color: #fff;
    font-size: .78rem;
}

.flot-tooltip__descriptions {
    margin-top: .5rem;
    padding-top: .45rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.flot-tooltip__description,
.flot-tooltip__descriptions-more {
    display: block;
}

.flot-tooltip__description {
    color: rgba(255, 255, 255, .9);
    font-size: .76rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.flot-tooltip__description + .flot-tooltip__description {
    margin-top: .22rem;
}

.flot-tooltip__description::before {
    margin-right: .3rem;
    color: #80deea;
    content: '•';
}

.flot-tooltip__descriptions-more {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .52);
    font-size: .68rem;
}

.flot-tooltip__period,
.flot-tooltip__value {
    display: block;
}

.flot-tooltip__period {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
}

.flot-tooltip__value {
    margin-top: .12rem;
    color: #fff;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
}

.flot-tooltip__period-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    margin-top: .65rem;
    padding: .35rem .65rem;
    border: 1px solid rgba(128, 222, 234, .38);
    border-radius: .35rem;
    color: #80deea;
    background: rgba(128, 222, 234, .08);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.flot-tooltip__period-link:hover,
.flot-tooltip__period-link:focus {
    color: #fff;
    border-color: rgba(128, 222, 234, .72);
    background: rgba(128, 222, 234, .16);
}

@media (max-width: 1199px) {
    .bi-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bi-summary__title {
        grid-column: 1 / -1;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .bi-summary__metric:nth-child(2n) {
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .bi-data-quality-alert__list {
        grid-template-columns: 1fr;
    }

    .bi-chart-interaction-hint {
        align-items: flex-start;
        line-height: 1.45;
    }

    .flot-chart {
        height: 240px;
    }

    .bi-chart-legend-item {
        flex: 1 1 calc(50% - .5rem);
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .bi-month-card {
        min-height: 290px;
    }

    .bi-summary {
        grid-template-columns: 1fr;
    }

    .bi-summary__title {
        grid-column: auto;
    }

    .bi-summary__metric,
    .bi-summary__metric:nth-child(2n) {
        border-top: 1px solid rgba(255, 255, 255, .09);
        border-left: 0;
    }

    .bi-status-card {
        min-height: 260px;
    }

    .bi-status-card__comparison-values {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .bi-status-card__comparison-values > div:last-child,
    .bi-status-card__variation > strong {
        text-align: left;
    }

    .bi-status-card__variation {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }

    .bi-chart-legend-item {
        flex-basis: 100%;
    }

    .bi-data-quality-alert {
        padding: 1rem;
    }
}

/* Dashboard Overview — fluxo de caixa semanal */
.overview-weekly {
    --overview-income: #66bb6a;
    --overview-expense: #ef5350;
    --overview-balance: #42a5f5;
    --overview-warning: #ffb74d;
    padding-bottom: 3rem;
}

.overview-hero {
    position: relative;
    display: grid;
    grid-template-areas: "content navigation period";
    grid-template-columns: minmax(300px, 1.2fr) minmax(390px, .9fr) 230px;
    min-height: 132px;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding: 1.45rem 1.7rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .12));
    box-shadow: 0 16px 35px rgba(0, 0, 0, .18);
}

.overview-hero::before,
.overview-hero::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.overview-hero::before {
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #66bb6a, #29b6d1, #42a5f5);
}

.overview-hero::after {
    right: -70px;
    bottom: -115px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255, 255, 255, .018), 0 0 0 70px rgba(255, 255, 255, .012);
}

.overview-hero__content,
.overview-hero__period,
.overview-hero .overview-week-navigation {
    position: relative;
    z-index: 1;
}

.overview-hero__content {
    grid-area: content;
}

.overview-hero__eyebrow,
.overview-section-heading > div > span {
    color: #80deea;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.overview-hero h1 {
    margin: .45rem 0 .55rem;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -.025em;
}

.overview-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 1rem;
    line-height: 1.55;
}

.overview-hero p strong {
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
}

.overview-hero__period {
    grid-area: period;
    min-width: 230px;
    padding: .8rem 1rem;
    border: 1px solid rgba(128, 222, 234, .2);
    border-radius: 6px;
    background: rgba(0, 0, 0, .14);
    backdrop-filter: blur(8px);
}

.overview-hero__period > span,
.overview-hero__period > strong,
.overview-hero__period > small {
    display: block;
}

.overview-hero__period > span {
    color: rgba(255, 255, 255, .55);
    font-size: .78rem;
}

.overview-hero__period > strong {
    margin-top: .25rem;
    color: #fff;
    font-size: 1.22rem;
}

.overview-hero__period > small {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .45);
    font-size: .73rem;
}

.overview-week-navigation {
    display: grid;
    grid-area: navigation;
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: .25rem 0 0;
}

.overview-week-navigation__arrow {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(128, 222, 234, .24);
    border-radius: 50%;
    background: rgba(41, 182, 209, .1);
    color: #80deea;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.65rem;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-week-navigation__arrow:hover,
.overview-week-navigation__arrow:focus {
    border-color: rgba(128, 222, 234, .58);
    background: rgba(41, 182, 209, .2);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.overview-week-navigation__arrow:disabled,
.overview-week-navigation__arrow.is-disabled {
    border-color: rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .025);
    color: rgba(255, 255, 255, .18);
    cursor: default;
    transform: none;
}

.overview-week-navigation__current {
    min-width: 0;
    text-align: center;
}

.overview-week-navigation__current > span,
.overview-week-navigation__current > strong {
    display: block;
}

.overview-week-navigation__current > span {
    margin-bottom: .18rem;
    color: #80deea;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.overview-week-navigation__current > strong {
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-week-navigation__steps {
    position: relative;
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    padding-top: .45rem;
}

.overview-week-navigation__steps > button {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-week-navigation__steps > button:hover,
.overview-week-navigation__steps > button:focus {
    border-color: rgba(128, 222, 234, .5);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.overview-week-navigation__steps > button.is-active {
    border-color: #29b6d1;
    background: #29b6d1;
    box-shadow: 0 0 0 3px rgba(41, 182, 209, .12);
    color: #fff;
}

.overview-week-navigation__swipe-hint {
    display: none;
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, .4);
    font-size: .7rem;
    text-align: center;
}

.overview-week-navigation__close-period-form {
    grid-column: 1 / -1;
    justify-self: center;
    margin: .2rem 0 0;
}

.overview-week-navigation__close-period-form[hidden] {
    display: none !important;
}

.overview-week-navigation__close-period {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: 0;
    padding: .42rem .75rem;
    border: 1px solid rgba(255, 183, 77, .38);
    border-radius: 4px;
    background: rgba(255, 183, 77, .12);
    color: #ffd095;
    cursor: pointer;
    font-family: inherit;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-week-navigation__close-period:hover,
.overview-week-navigation__close-period:focus {
    border-color: rgba(255, 183, 77, .7);
    background: rgba(255, 183, 77, .2);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.overview-week-panels {
    touch-action: pan-y;
}

.overview-week-panel {
    display: flex;
    flex-direction: column;
}

.overview-week-panel[hidden] {
    display: none !important;
}

.overview-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.overview-kpi {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 195px;
    flex-direction: column;
    padding: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 3px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .12));
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.overview-kpi::after {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: currentColor;
    content: '';
    opacity: .035;
}

.overview-kpi--income {
    border-top-color: var(--overview-income);
    color: var(--overview-income);
}

.overview-kpi--expense {
    border-top-color: var(--overview-expense);
    color: var(--overview-expense);
}

.overview-kpi--result {
    border-top-color: #29b6d1;
    color: #29b6d1;
}

.overview-kpi--balance {
    border-top-color: var(--overview-balance);
    color: var(--overview-balance);
}

.overview-kpi.is-negative {
    border-top-color: var(--overview-expense);
}

.overview-kpi__header {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.overview-kpi__icon {
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 2.7rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: currentColor;
}

.overview-kpi__icon i {
    color: #fff;
    font-size: 1.2rem;
    mix-blend-mode: normal;
}

.overview-kpi__header > div {
    min-width: 0;
}

.overview-kpi__header > div > span,
.overview-kpi__header > div > strong {
    display: block;
}

.overview-kpi__header > div > span {
    color: rgba(255, 255, 255, .62);
    font-size: .82rem;
}

.overview-kpi__header > div > strong {
    margin-top: .22rem;
    overflow: hidden;
    color: #fff;
    font-size: clamp(1.15rem, 1.55vw, 1.48rem);
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-kpi__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.overview-kpi__split > span,
.overview-kpi__split > span > strong {
    display: block;
}

.overview-kpi__split > span {
    min-width: 0;
    color: rgba(255, 255, 255, .48);
    font-size: .75rem;
}

.overview-kpi__split > span > strong {
    margin-top: .25rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-progress,
.overview-kpi__result-line {
    height: 5px;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.overview-progress > span,
.overview-kpi__result-line > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.overview-kpi__result-line > span {
    width: 100%;
}

.overview-kpi > footer {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .8rem;
    padding-top: .15rem;
    color: rgba(255, 255, 255, .52);
    font-size: .76rem;
}

.overview-kpi > footer i {
    font-size: .9rem;
}

.overview-comparison--positive {
    color: #81c784 !important;
}

.overview-comparison--negative {
    color: #ff8a80 !important;
}

.overview-comparison--neutral {
    color: rgba(255, 255, 255, .48) !important;
}

.overview-insights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.overview-insight {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 5px;
    background: rgba(0, 0, 0, .13);
}

.overview-insight--warning {
    border-color: rgba(255, 183, 77, .28);
    background: rgba(255, 183, 77, .07);
}

.overview-insight--danger {
    border-color: rgba(239, 83, 80, .32);
    background: rgba(239, 83, 80, .07);
}

.overview-insight--ok {
    border-color: rgba(102, 187, 106, .2);
}

.overview-insight__icon {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(41, 182, 209, .11);
    color: #80deea;
    font-size: 1.05rem;
}

.overview-insight > div {
    min-width: 0;
}

.overview-insight > div > span,
.overview-insight > div > strong,
.overview-insight > div > small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-insight > div > span {
    color: rgba(255, 255, 255, .48);
    font-size: .72rem;
}

.overview-insight > div > strong {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .9);
    font-size: .9rem;
}

.overview-insight > div > small {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .52);
    font-size: .73rem;
}

.overview-insight > a {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 50%;
    color: rgba(255, 255, 255, .6);
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-insight > a:hover,
.overview-insight > a:focus {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transform: translateX(2px);
}

.overview-chart-card,
.overview-agenda-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 6px;
    background: rgba(0, 0, 0, .14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
}

.overview-chart-card {
    margin-bottom: 1.5rem;
}

.overview-agenda-card {
    order: -1;
    margin-bottom: 1.5rem;
}

.overview-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.overview-section-heading h2 {
    margin: .28rem 0 .35rem;
    font-size: 1.28rem;
}

.overview-section-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .52);
    font-size: .82rem;
}

.overview-section-heading__week-nav {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .42rem;
}

.overview-section-heading__week-nav > button {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(128, 222, 234, .24);
    border-radius: 50%;
    background: rgba(41, 182, 209, .1);
    color: #80deea;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.35rem;
    line-height: 1;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-section-heading__week-nav > button:hover,
.overview-section-heading__week-nav > button:focus {
    border-color: rgba(128, 222, 234, .58);
    background: rgba(41, 182, 209, .2);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.overview-section-heading__week-nav > button:disabled {
    border-color: rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .025);
    color: rgba(255, 255, 255, .18);
    cursor: default;
    transform: none;
}

.overview-section-heading__range {
    flex: 0 0 auto;
    padding: .42rem .7rem;
    border: 1px solid rgba(128, 222, 234, .18);
    border-radius: 999px;
    background: rgba(41, 182, 209, .08);
    color: #b2ebf2;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
}

.overview-weekly-chart {
    position: relative;
    height: 370px;
    margin-top: .5rem;
}

.overview-weekly-chart-value-label {
    position: absolute;
    z-index: 4;
    padding: .22rem .4rem;
    border: 1px solid rgba(66, 165, 245, .38);
    border-radius: 4px;
    background: rgba(6, 35, 38, .9);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .24);
    color: #b3e5fc;
    font-size: .68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    cursor: help;
    pointer-events: auto;
    transform: translate(-50%, calc(-100% - .5rem));
    white-space: nowrap;
}

.overview-weekly-chart-value-label:hover,
.overview-weekly-chart-value-label:focus {
    border-color: rgba(128, 222, 234, .85);
    color: #fff;
    outline: 0;
}

.overview-weekly-chart-value-label.is-below {
    transform: translate(-50%, .5rem);
}

.overview-weekly-chart-value-label.is-current {
    border-color: rgba(128, 222, 234, .75);
    background: rgba(10, 66, 72, .96);
    color: #fff;
}

.overview-weekly-chart-legends {
    margin-top: .75rem;
}

.overview-weekly-chart-legends .bi-chart-legend-item {
    font-size: .84rem;
}

.overview-agenda-card > .card-body {
    padding-bottom: .75rem;
}

.overview-agenda {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.overview-agenda-day {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.overview-agenda-day:last-child {
    border-bottom: 0;
}

.overview-agenda-day > header {
    padding: 1.2rem 1.4rem;
    border-right: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 0, 0, .08);
}

.overview-agenda-day.is-today > header {
    border-left: 3px solid #29b6d1;
    background: rgba(41, 182, 209, .07);
}

.overview-agenda-day__items {
    min-width: 0;
}

.overview-agenda-day > header strong,
.overview-agenda-day > header span,
.overview-agenda-day > header small {
    display: block;
}

.overview-agenda-day > header strong {
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
}

.overview-agenda-day > header span {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .5);
    font-size: .77rem;
}

.overview-agenda-day > header small {
    margin-top: .65rem;
    color: rgba(255, 255, 255, .42);
    font-size: .72rem;
}

.overview-agenda-item {
    position: relative;
    display: grid;
    grid-template-columns: 2.45rem minmax(180px, 1fr) auto minmax(120px, auto) 2rem;
    align-items: center;
    gap: .9rem;
    min-height: 82px;
    padding: .8rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    transition: background-color .18s ease;
}

.overview-agenda-day__items > .overview-agenda-item:last-child {
    border-bottom: 0;
}

.overview-agenda-item:hover {
    background: rgba(255, 255, 255, .025);
}

.overview-agenda-item__icon {
    display: inline-flex;
    width: 2.45rem;
    height: 2.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.05rem;
}

.overview-agenda-item.is-income .overview-agenda-item__icon {
    background: rgba(102, 187, 106, .12);
    color: #81c784;
}

.overview-agenda-item.is-expense .overview-agenda-item__icon {
    background: rgba(239, 83, 80, .12);
    color: #ff8a80;
}

.overview-agenda-item__main {
    min-width: 0;
}

.overview-agenda-item__main > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-agenda-item__title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .45rem;
}

.overview-agenda-item__title > strong {
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-agenda-item__invoice-details {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(128, 222, 234, .28);
    border-radius: 50%;
    background: rgba(41, 182, 209, .10);
    color: #80deea;
    cursor: pointer;
    font-size: .95rem;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.overview-agenda-item__invoice-details:hover,
.overview-agenda-item__invoice-details:focus {
    border-color: rgba(128, 222, 234, .58);
    background: rgba(41, 182, 209, .22);
    color: #fff;
}

.overview-agenda-item__main > span {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .46);
    font-size: .75rem;
}

.overview-agenda-item__status {
    padding: .3rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
}

.overview-agenda-item__status.is-received,
.overview-agenda-item__status.is-paid {
    background: rgba(102, 187, 106, .12);
    color: #a5d6a7;
}

.overview-agenda-item__status.is-pending {
    background: rgba(255, 183, 77, .12);
    color: #ffd095;
}

.overview-agenda-item__status.is-overdue {
    background: rgba(239, 83, 80, .14);
    color: #ff8a80;
}

.overview-agenda-item__value {
    text-align: right;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.overview-agenda-item__value.is-positive {
    color: #81c784;
}

.overview-agenda-item__value.is-negative {
    color: #ff8a80;
}

.overview-agenda-day.is-today {
    background: linear-gradient(90deg, rgba(41, 182, 209, .035), rgba(41, 182, 209, .012));
    box-shadow: inset 0 0 0 1px rgba(41, 182, 209, .10);
}

.overview-agenda-day.is-today .overview-agenda-item {
    background: rgba(255, 255, 255, .018);
}

.overview-agenda-day.is-today .overview-agenda-item:hover {
    background: rgba(255, 255, 255, .045);
}

.overview-agenda-day.is-today > header strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.overview-agenda-day.is-today > header span {
    color: rgba(255, 255, 255, .72);
    font-size: .84rem;
}

.overview-agenda-day.is-today > header small {
    color: #80deea;
    font-size: .78rem;
    font-weight: 700;
}

.overview-agenda-day.is-today .overview-agenda-item__title > strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.overview-agenda-day.is-today .overview-agenda-item__main > span {
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
}

.overview-agenda-day.is-today .overview-agenda-item__status {
    font-size: .72rem;
}

.overview-agenda-day.is-today .overview-agenda-item__value {
    min-width: 145px;
    padding: .48rem .7rem;
    border: 1px solid currentColor;
    border-radius: 5px;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: .015em;
    line-height: 1.15;
    text-align: center;
}

.overview-agenda-day.is-today .overview-agenda-item__value.is-positive {
    background: rgba(102, 187, 106, .14);
    box-shadow: 0 0 0 3px rgba(102, 187, 106, .045), 0 6px 16px rgba(0, 0, 0, .13);
    color: #a5e6a8;
}

.overview-agenda-day.is-today .overview-agenda-item__value.is-negative {
    background: rgba(239, 83, 80, .15);
    box-shadow: 0 0 0 3px rgba(239, 83, 80, .05), 0 6px 16px rgba(0, 0, 0, .13);
    color: #ff9e9b;
}

.overview-agenda-item__actions {
    position: static;
    justify-self: end;
}

.overview-agenda-item__actions .actions__item {
    color: rgba(255, 255, 255, .55);
}

.overview-agenda-item__actions .dropdown-menu form,
.overview-agenda-item__actions .dropdown-menu form > button {
    width: 100%;
}

.overview-agenda-item__actions .dropdown-menu form > button {
    border: 0;
    text-align: left;
}

.overview-invoice-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 760px;
}

.overview-invoice-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(128, 222, 234, .16);
    border-radius: 6px;
    background: #0b2d2b;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .48);
}

.overview-invoice-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.overview-invoice-modal .modal-header small,
.overview-invoice-modal .modal-header span {
    display: block;
}

.overview-invoice-modal .modal-header small {
    margin-bottom: .35rem;
    color: #80deea;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.overview-invoice-modal .modal-title {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
}

.overview-invoice-modal .modal-header span {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .55);
    font-size: .78rem;
}

.overview-invoice-modal__close {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .68);
    cursor: pointer;
    font-size: 1.1rem;
}

.overview-invoice-modal__close:hover,
.overview-invoice-modal__close:focus {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.overview-invoice-modal .modal-body {
    padding: 0;
}

.overview-invoice-modal__table-wrap {
    max-height: min(58vh, 520px);
    overflow: auto;
}

.overview-invoice-modal__table {
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.overview-invoice-modal__table th,
.overview-invoice-modal__table td {
    padding: .8rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.overview-invoice-modal__table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #103735;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.overview-invoice-modal__table th:nth-child(2),
.overview-invoice-modal__table td:nth-child(2) {
    width: 145px;
    text-align: right;
    white-space: nowrap;
}

.overview-invoice-modal__table th:nth-child(3),
.overview-invoice-modal__table td:nth-child(3) {
    width: 110px;
    text-align: center;
    white-space: nowrap;
}

.overview-invoice-modal__table td:nth-child(3) form {
    margin: 0;
}

.overview-invoice-modal__table td:nth-child(3) .btn {
    padding: .25rem .45rem;
}

.overview-invoice-modal__table tbody tr:hover {
    background: rgba(255, 255, 255, .025);
}

.overview-invoice-modal__table tfoot th {
    position: sticky;
    bottom: 0;
    border: 0;
    background: #123b38;
    color: #fff;
    font-size: .9rem;
}

.overview-invoice-modal__empty {
    padding: 2.5rem 1.5rem;
    color: rgba(255, 255, 255, .58);
    text-align: center;
}

.overview-invoice-modal .modal-footer {
    padding: .75rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.overview-empty-state {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    text-align: center;
}

.overview-empty-state > i {
    color: rgba(128, 222, 234, .55);
    font-size: 2.8rem;
}

.overview-empty-state > strong {
    margin-top: .7rem;
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
}

.overview-empty-state > span {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .45);
    font-size: .8rem;
}

@media (max-width: 1199px) {
    .overview-kpi-grid,
    .overview-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-hero {
        grid-template-areas:
            "content period"
            "navigation navigation";
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 1rem 1.25rem;
    }

    .overview-hero .overview-week-navigation {
        width: min(100%, 720px);
        justify-self: center;
    }
}

@media (max-width: 991px) {
    .overview-hero__period {
        width: 100%;
        min-width: 0;
    }

    .overview-agenda-day {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .overview-agenda-item {
        grid-template-columns: 2.45rem minmax(150px, 1fr) auto 2rem;
    }

    .overview-agenda-item__status {
        grid-column: 2;
        justify-self: start;
        margin-top: -.35rem;
    }

    .overview-agenda-item__value {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .overview-agenda-item__actions {
        grid-column: 4;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 767px) {
    .overview-hero {
        grid-template-areas:
            "content"
            "period"
            "navigation";
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        gap: .9rem;
        padding: 1.25rem;
    }

    .overview-hero .overview-week-navigation {
        width: 100%;
        gap: .5rem;
        padding: .35rem 0 0;
    }

    .overview-week-navigation__current > strong {
        font-size: .84rem;
    }

    .overview-week-navigation__swipe-hint {
        display: block;
    }

    .overview-kpi {
        min-height: 195px;
    }

    .overview-weekly-chart {
        height: 310px;
    }

    .overview-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }

    .overview-section-heading__week-nav {
        align-self: flex-end;
    }

    .overview-agenda-day {
        display: block;
    }

    .overview-agenda-day > header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .9rem 1rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .overview-agenda-day > header small {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .overview-kpi-grid,
    .overview-insights {
        grid-template-columns: 1fr;
    }

    .overview-hero h1 {
        font-size: 1.6rem;
    }

    .overview-hero p {
        font-size: .9rem;
    }

    .overview-kpi {
        min-height: 190px;
    }

    .overview-chart-card .card-body,
    .overview-agenda-card > .card-body {
        padding: 1.15rem;
    }

    .overview-weekly-chart {
        height: 280px;
    }

    .overview-weekly-chart-value-label {
        padding: .18rem .3rem;
        font-size: .61rem;
    }

    .overview-weekly-chart-legends .bi-chart-legend-item {
        flex-basis: calc(50% - .5rem);
        font-size: .74rem;
    }

    .overview-agenda-item {
        grid-template-columns: 2.35rem minmax(0, 1fr) auto;
        gap: .7rem;
        padding: .8rem .9rem;
    }

    .overview-agenda-item__icon {
        width: 2.35rem;
        height: 2.35rem;
    }

    .overview-agenda-item__status {
        grid-column: 2;
    }

    .overview-agenda-item__value {
        grid-column: 3;
        grid-row: 1;
        font-size: .82rem;
    }

    .overview-agenda-day.is-today .overview-agenda-item__value {
        min-width: 0;
        padding: .4rem .5rem;
        font-size: .98rem;
    }

    .overview-agenda-item__actions {
        grid-column: 3;
        grid-row: 2;
    }

    .overview-agenda-item__title > strong,
    .overview-agenda-item__main > span {
        white-space: normal;
    }

    .overview-invoice-modal__table {
        min-width: 540px;
    }
}

/* Tipografia ampliada dos dashboards financeiros. */
.cashflow-eyebrow,
.cashflow-period-status,
.cashflow-period-navigation__label,
.cashflow-period-picker__year,
.cashflow-period-navigation > small {
    font-size: 1.05rem;
}

.cashflow-hero__title-line h1 {
    font-size: clamp(2rem, 2.55vw, 2.5rem);
}

.cashflow-hero__content > p {
    font-size: 1.15rem;
    line-height: 1.55;
}

.cashflow-period-navigation__current select {
    font-size: 1.1rem;
}

.cashflow-kpi__heading > div > span {
    font-size: 1.1rem;
}

.cashflow-kpi__heading > div > strong {
    font-size: 1.65rem;
}

.cashflow-kpi__split > span,
.cashflow-kpi > small,
.cashflow-kpi__explanation span,
.cashflow-kpi__secondary-balance > span {
    font-size: 1.02rem;
    line-height: 1.45;
}

.cashflow-kpi__split > span > strong,
.cashflow-kpi__explanation strong,
.cashflow-kpi__secondary-balance > strong {
    font-size: 1.2rem;
}

.cashflow-section-heading h2 {
    font-size: 1.65rem;
}

.cashflow-section-heading p {
    font-size: 1.08rem;
    line-height: 1.5;
}

.cashflow-section-heading__count,
.cashflow-filters button {
    font-size: 1.02rem;
}

.cashflow-filters button > span,
.cashflow-movement__status {
    font-size: .95rem;
}

.cashflow-day__header > div:first-child strong {
    font-size: 1.22rem;
}

.cashflow-day__header > div:first-child span,
.cashflow-day__summary span {
    font-size: 1.05rem;
}

.cashflow-day__expected-balance > span {
    font-size: .9rem;
}

.cashflow-day__expected-balance > strong {
    font-size: 1.4rem;
}

.cashflow-day__expected-balance.is-negative > strong {
    font-size: 1.65rem;
}

.cashflow-movement__title > strong {
    font-size: 1.2rem;
}

.cashflow-movement__main > span {
    font-size: 1.03rem;
    line-height: 1.45;
}

.cashflow-movement__value {
    font-size: 1.35rem;
}

.cashflow-empty-state > strong,
.cashflow-filter-empty > strong {
    font-size: 1.25rem;
}

.cashflow-empty-state > span,
.cashflow-filter-empty > span {
    font-size: 1.05rem;
}

.cashflow-invoice-modal .modal-title {
    font-size: 1.5rem;
}

.cashflow-invoice-modal .modal-header small,
.cashflow-invoice-item > div:first-child span,
.cashflow-invoice-item__locked,
.cashflow-invoice-modal__footer > span {
    font-size: 1rem;
}

.cashflow-invoice-item > div:first-child strong,
.cashflow-invoice-item > strong,
.cashflow-invoice-modal__footer > strong {
    font-size: 1.2rem;
}

.cashflow-close-period__content > span,
.cashflow-close-period__content > small {
    font-size: 1rem;
}

.cashflow-close-period__content > strong {
    font-size: 1.25rem;
}

.bi-dashboard .card-title {
    font-size: 1.65rem;
}

.bi-dashboard .card-subtitle {
    font-size: 1.1rem;
    line-height: 1.55;
}

.bi-dashboard .btn {
    font-size: 1rem;
}

.bi-month-card__header strong {
    font-size: 1.35rem;
}

.bi-month-card__header small,
.bi-month-card__metric > span,
.bi-month-card__commitment span,
.bi-summary__metric > span,
.bi-month-card__financial-balance > span {
    font-size: 1.02rem;
}

.bi-month-card__metric > strong,
.bi-month-card__financial-balance > strong {
    font-size: 1.15rem;
}

.bi-summary__title strong {
    font-size: 1.3rem;
}

.bi-summary__title small,
.bi-summary__metric small {
    font-size: 1rem;
    line-height: 1.45;
}

.bi-summary__metric strong {
    font-size: 1.3rem;
}

.bi-status-card__header > div > span,
.bi-status-card__metrics > div > span,
.bi-status-card__progress > div > span,
.bi-status-card__comparison-values span,
.bi-status-card__variation span {
    font-size: 1.02rem;
}

.bi-status-card__header > div > strong {
    font-size: 1.4rem;
}

.bi-status-card__metrics > div > strong {
    font-size: 1.22rem;
}

.bi-status-card__progress > div > strong,
.bi-status-card__comparison-values strong,
.bi-status-card__variation > strong {
    font-size: 1.05rem;
}

.bi-data-quality-alert__header strong {
    font-size: 1.2rem;
}

.bi-data-quality-alert__header > div > span,
.bi-data-quality-alert__list li,
.bi-data-quality-alert > p,
.bi-data-quality-details > summary,
.bi-chart-interaction-hint,
.bi-chart-legend-item {
    font-size: 1.02rem;
    line-height: 1.45;
}

.bi-data-quality-alert__list strong {
    font-size: .95rem;
}

.bi-data-quality-details__table {
    font-size: 1rem;
}

.bi-data-quality-details__table th,
.bi-data-quality-details__table td > small,
.bi-data-quality-details__limit {
    font-size: .92rem;
}

.flot-tooltip__series,
.flot-tooltip__description,
.flot-tooltip__descriptions-more,
.flot-tooltip__period {
    font-size: 1.02rem;
}

.flot-tooltip__value {
    font-size: 1.3rem;
}

.overview-hero__eyebrow,
.overview-section-heading > div > span,
.overview-hero__period > span,
.overview-hero__period > small,
.overview-week-navigation__current > span,
.overview-week-navigation__swipe-hint,
.overview-week-navigation__close-period {
    font-size: 1rem;
}

.overview-hero h1 {
    font-size: clamp(2rem, 2.7vw, 2.5rem);
}

.overview-hero p {
    font-size: 1.15rem;
    line-height: 1.55;
}

.overview-hero__period > strong {
    font-size: 1.45rem;
}

.overview-week-navigation__current > strong {
    font-size: 1.15rem;
}

.overview-week-navigation__steps > button {
    width: 1.95rem;
    height: 1.95rem;
    font-size: .95rem;
}

.overview-kpi__header > div > span {
    font-size: 1.08rem;
}

.overview-kpi__header > div > strong {
    font-size: clamp(1.5rem, 1.8vw, 1.75rem);
}

.overview-kpi__split > span,
.overview-kpi > footer {
    font-size: 1rem;
    line-height: 1.45;
}

.overview-kpi__split > span > strong {
    font-size: 1.18rem;
}

.overview-insight > div > span,
.overview-insight > div > small {
    font-size: 1rem;
    line-height: 1.4;
}

.overview-insight > div > strong {
    font-size: 1.18rem;
}

.overview-section-heading h2 {
    font-size: 1.65rem;
}

.overview-section-heading p,
.overview-section-heading__range {
    font-size: 1.02rem;
    line-height: 1.5;
}

.overview-weekly-chart-value-label {
    font-size: .92rem;
}

.overview-weekly-chart-legends .bi-chart-legend-item {
    font-size: 1rem;
}

.overview-agenda-day > header strong {
    font-size: 1.2rem;
}

.overview-agenda-day > header span,
.overview-agenda-day > header small {
    font-size: 1rem;
}

.overview-agenda-item__title > strong {
    font-size: 1.18rem;
}

.overview-agenda-item__main > span {
    font-size: 1rem;
    line-height: 1.45;
}

.overview-agenda-item__status {
    font-size: .95rem;
}

.overview-agenda-item__value {
    font-size: 1.3rem;
}

.overview-agenda-day.is-today > header strong,
.overview-agenda-day.is-today .overview-agenda-item__title > strong {
    font-size: 1.3rem;
}

.overview-agenda-day.is-today > header span,
.overview-agenda-day.is-today > header small,
.overview-agenda-day.is-today .overview-agenda-item__main > span,
.overview-agenda-day.is-today .overview-agenda-item__status {
    font-size: 1.05rem;
}

.overview-agenda-day.is-today .overview-agenda-item__value {
    font-size: 1.45rem;
}

.overview-invoice-modal .modal-header small,
.overview-invoice-modal .modal-header span,
.overview-invoice-modal__table thead th {
    font-size: 1rem;
}

.overview-invoice-modal .modal-title {
    font-size: 1.45rem;
}

.overview-invoice-modal__table,
.overview-invoice-modal__empty,
.overview-invoice-modal .modal-footer .btn {
    font-size: 1.05rem;
}

.overview-invoice-modal__table tfoot th,
.overview-empty-state > strong {
    font-size: 1.2rem;
}

.overview-empty-state > span {
    font-size: 1.05rem;
}

@media (max-width: 575px) {
    .cashflow-hero__title-line h1,
    .overview-hero h1 {
        font-size: 1.9rem;
    }

    .cashflow-kpi__heading > div > strong,
    .overview-kpi__header > div > strong {
        font-size: 1.5rem;
    }

    .cashflow-day__header {
        align-items: stretch;
        flex-direction: column;
    }

    .cashflow-day__summary {
        align-items: stretch;
    }

    .cashflow-movement__value,
    .overview-agenda-item__value {
        font-size: 1.15rem;
    }

    .overview-agenda-day.is-today .overview-agenda-item__value {
        font-size: 1.3rem;
    }

    .overview-weekly-chart-value-label {
        font-size: .88rem;
    }

    .overview-weekly-chart-legends .bi-chart-legend-item {
        font-size: .95rem;
    }

    .bi-dashboard .card-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 479px) {
    .cashflow-period-picker__year {
        font-size: 0;
    }

    .cashflow-period-picker__year i {
        font-size: 1.25rem;
    }
}

/* Filtros e resumo financeiro diário da agenda semanal. */
.overview-agenda-filters {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.overview-agenda-day {
    grid-template-columns: 245px minmax(0, 1fr);
}

.overview-agenda-day > header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.overview-agenda-day__summary {
    display: grid;
    gap: .65rem;
    margin-top: .9rem;
}

.overview-agenda-day > header .overview-agenda-day__summary > small {
    margin-top: 0;
    color: rgba(255, 255, 255, .55);
    font-size: .96rem;
}

.overview-agenda-day__totals {
    display: grid;
    gap: .35rem;
}

.overview-agenda-day > header .overview-agenda-day__totals > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    margin-top: 0;
    color: rgba(255, 255, 255, .64);
    font-size: .9rem;
}

.overview-agenda-day__totals b,
.overview-agenda-day__balance b {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.overview-agenda-day__totals .is-income b {
    color: #a5e6a8;
}

.overview-agenda-day__totals .is-expense b {
    color: #ff9e9b;
}

.overview-agenda-day__balance {
    display: grid;
    gap: .18rem;
    padding: .65rem .75rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 5px;
    background: rgba(0, 0, 0, .12);
}

.overview-agenda-day > header .overview-agenda-day__balance > span {
    margin-top: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
}

.overview-agenda-day__balance > b {
    color: #80deea;
    font-size: 1.18rem;
}

.overview-agenda-day__balance.is-negative {
    border-color: rgba(255, 82, 82, .58);
    background: rgba(239, 83, 80, .18);
    box-shadow: 0 0 0 3px rgba(239, 83, 80, .06);
}

.overview-agenda-day__balance.is-negative > b {
    color: #ff8a80;
    font-size: 1.3rem;
}

.overview-agenda-day > header .overview-agenda-day__alert {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .6rem;
    border-radius: 4px;
    background: #d43f3c;
    color: #fff;
    font-size: .88rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25;
}

.overview-agenda-day.has-negative-balance > header {
    border-left: 4px solid #ff5252;
    background: linear-gradient(145deg, rgba(239, 83, 80, .16), rgba(0, 0, 0, .09));
}

.overview-agenda-filter-empty {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.overview-agenda-filter-empty[hidden],
.overview-agenda-day[hidden],
.overview-agenda-item[hidden] {
    display: none !important;
}

@media (max-width: 991px) and (min-width: 768px) {
    .overview-agenda-day {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .overview-agenda-day > header {
        align-items: flex-start;
        flex-direction: row;
        gap: 1rem;
    }

    .overview-agenda-day__date {
        min-width: 115px;
    }

    .overview-agenda-day__summary {
        width: min(100%, 420px);
        margin-top: 0;
        margin-left: auto;
    }

    .overview-agenda-day__totals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    .overview-agenda-day > header .overview-agenda-day__totals > span {
        align-items: flex-start;
        flex-direction: column;
        gap: .15rem;
    }
}

@media (max-width: 575px) {
    .overview-agenda-filters {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .overview-agenda-day > header {
        align-items: stretch;
        flex-direction: column;
    }

    .overview-agenda-day__date {
        min-width: 0;
    }

    .overview-agenda-day__summary {
        width: 100%;
        margin-left: 0;
    }

    .overview-agenda-day__balance > b {
        font-size: 1.25rem;
    }

    .overview-agenda-day__balance.is-negative > b {
        font-size: 1.4rem;
    }
}

@media (max-width: 399px) {
    .overview-agenda-day__totals {
        grid-template-columns: 1fr;
    }
}

/* Hierarquia visual compartilhada pelos fluxos mensal e semanal. */
.cashflow-day__summary > span,
.overview-agenda-day__totals b {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.cashflow-day__expected-balance > strong,
.cashflow-day__expected-balance.is-negative > strong,
.overview-agenda-day__balance > b,
.overview-agenda-day__balance.is-negative > b {
    font-size: 1.35rem;
    font-weight: 800;
}

.cashflow-day__expected-balance,
.cashflow-day__expected-balance.is-positive,
.cashflow-day__expected-balance.is-negative,
.overview-agenda-day__balance,
.overview-agenda-day__balance.is-positive,
.overview-agenda-day__balance.is-negative {
    border: 0;
    box-shadow: none;
}

.cashflow-day__expected-balance.is-positive {
    background: rgba(102, 187, 106, .10);
}

.cashflow-day__expected-balance.is-positive > strong,
.overview-agenda-day__balance.is-positive > b {
    color: #81c784;
}

.cashflow-day__expected-balance.is-negative > strong,
.overview-agenda-day__balance.is-negative > b {
    color: #ff8a80;
}

.cashflow-day.has-negative-balance,
.overview-agenda-day.has-negative-balance {
    background: linear-gradient(90deg, rgba(239, 83, 80, .105), rgba(239, 83, 80, .025));
    box-shadow: inset 4px 0 0 rgba(255, 82, 82, .84),
        inset 0 0 0 1px rgba(255, 82, 82, .20);
}

.cashflow-day.has-negative-balance .cashflow-day__header,
.overview-agenda-day.has-negative-balance > header {
    background: rgba(183, 28, 28, .09);
}

.cashflow-day.is-today,
.overview-agenda-day.is-today {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    width: calc(100% - 1.3rem);
    margin: .65rem;
    overflow: visible;
    border: 1px solid rgba(128, 222, 234, .58);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(41, 182, 209, .145), rgba(255, 255, 255, .025));
    box-shadow: 0 14px 30px rgba(0, 0, 0, .30),
        0 3px 8px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .09),
        inset 4px 0 0 #29b6d1;
    transform: translateY(-2px);
}

.cashflow-day.has-negative-balance.is-today,
.overview-agenda-day.has-negative-balance.is-today {
    border-color: rgba(255, 82, 82, .62);
    background: linear-gradient(135deg, rgba(239, 83, 80, .16), rgba(255, 255, 255, .025));
    box-shadow: 0 14px 30px rgba(66, 8, 8, .34),
        0 3px 8px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .08),
        inset 4px 0 0 #ff5252;
}

.cashflow-day.is-today .cashflow-day__header > div:first-child strong,
.overview-agenda-day.is-today .overview-agenda-day__date > strong {
    font-size: 1.48rem;
    font-weight: 900;
}

.cashflow-day.is-today .cashflow-day__header > div:first-child span,
.overview-agenda-day.is-today .overview-agenda-day__date > span {
    font-size: 1.12rem;
    font-weight: 700;
}

.cashflow-day.is-today .cashflow-day__summary > span,
.overview-agenda-day.is-today .overview-agenda-day__totals b {
    font-size: 1.2rem;
    font-weight: 900;
}

.cashflow-day.is-today .cashflow-day__expected-balance > span,
.overview-agenda-day.is-today .overview-agenda-day__balance > span {
    font-size: 1rem;
    font-weight: 800;
}

.cashflow-day.is-today .cashflow-day__expected-balance > strong,
.cashflow-day.has-negative-balance.is-today .cashflow-day__expected-balance > strong,
.overview-agenda-day.is-today .overview-agenda-day__balance > b,
.overview-agenda-day.has-negative-balance.is-today .overview-agenda-day__balance > b {
    font-size: 1.55rem;
    font-weight: 900;
}

.cashflow-day.is-today .cashflow-movement__title > strong,
.overview-agenda-day.is-today .overview-agenda-item__title > strong {
    font-size: 1.34rem;
    font-weight: 900;
}

.cashflow-day.is-today .cashflow-movement__main > span,
.overview-agenda-day.is-today .overview-agenda-item__main > span {
    font-size: 1.1rem;
    font-weight: 650;
}

.cashflow-day.is-today .cashflow-movement__status,
.overview-agenda-day.is-today .overview-agenda-item__status {
    font-size: 1rem;
    font-weight: 800;
}

.cashflow-day.is-today .cashflow-movement__value,
.overview-agenda-day.is-today .overview-agenda-item__value {
    font-size: 1.45rem;
    font-weight: 900;
}

/* Gráfico mensal no mesmo padrão visual do fluxo semanal. */
.cashflow-monthly-chart-card {
    margin-top: 1.5rem;
}

@media (max-width: 767px) {
    .cashflow-day.is-today,
    .overview-agenda-day.is-today {
        width: calc(100% - .8rem);
        margin: .55rem .4rem;
        transform: translateY(-1px);
    }

}

/* Seleção e ações individuais ou múltiplas nas tabelas financeiras. */
.compra-cartao-bulk-toolbar__hint {
    margin: .35rem 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
}

.bulk-table-action {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    appearance: none;
    overflow: visible !important;
}

.bulk-table-action > i {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    font-size: 1.55rem;
    line-height: 35px;
}

.bulk-table-action:disabled {
    cursor: not-allowed;
    color: rgba(255, 255, 255, .32) !important;
    opacity: 1;
}

.bulk-table-action--activate:not(:disabled) {
    color: #a5d6a7 !important;
}

.bulk-table-action--delete:not(:disabled) {
    color: #ef9a9a !important;
}

.bulk-table-action__count {
    position: absolute;
    z-index: 5;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #073c3d;
    border-radius: 9px;
    background: #00acc1;
    color: #fff;
    font-family: Nunito, sans-serif;
    font-size: .68rem;
    font-weight: 800;
    line-height: 13px;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.bulk-table-action--delete .bulk-table-action__count {
    background: #e57373;
}

.compra-cartao-select-cell {
    width: 48px;
    min-width: 48px;
    text-align: center;
    vertical-align: middle !important;
}

.compra-cartao-selection-checkbox {
    width: 19px;
    height: 19px;
    margin: 0;
    cursor: pointer;
    accent-color: #26c6da;
}

.compra-cartao-row-selected > td {
    background-color: rgba(38, 198, 218, .10) !important;
}

.table-row-actions-cell {
    width: 86px;
    min-width: 86px;
    text-align: center;
    vertical-align: middle !important;
}

.table-row-actions {
    display: inline-grid !important;
    grid-template-columns: repeat(2, 35px);
    align-items: center;
    justify-content: center;
    gap: .2rem;
    margin: 0 !important;
    padding: 0;
    white-space: nowrap;
}

.table-row-actions--single {
    grid-template-columns: 35px;
}

.table-row-action-form {
    display: contents;
    margin: 0;
}

.table-row-action {
    display: inline-flex !important;
    width: 35px !important;
    height: 35px !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    outline: 0 !important;
    appearance: none;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

.table-row-action > i {
    display: block;
    width: 100%;
    font-size: 1.55rem;
    line-height: 35px;
}

.table-row-action--activate {
    color: #a5d6a7 !important;
}

.table-row-action--edit {
    color: #80deea !important;
}

.table-row-action--delete {
    color: #ef9a9a !important;
}

.table-row-action:hover,
.table-row-action:focus {
    background-color: rgba(255, 255, 255, .08) !important;
}

.file-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
}

.table-row-actions__status {
    color: rgba(255, 255, 255, .65);
    font-size: .85rem;
    font-weight: 700;
}

/* Alinhamento dos atalhos das tabelas. */
.dataTables_buttons.table-actions-toolbar {
    display: flex !important;
    align-items: center;
    flex-direction: row;
    gap: .45rem;
    width: auto;
    white-space: nowrap;
    overflow: visible;
}

.dataTables_buttons.table-actions-toolbar > .actions__item,
.table-actions-toolbar__dropdown {
    flex: 0 0 35px;
    margin: 0;
}

.dataTables_buttons.table-actions-toolbar button.actions__item {
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    appearance: none;
}

.table-actions-toolbar__dropdown {
    width: 35px;
    height: 35px;
}

.table-actions-toolbar__toggle > i {
    display: block;
    width: 100%;
    font-size: 1.55rem;
    line-height: 35px;
}

/* Catálogo e códigos das regras de validação financeira. */
.bi-data-quality-rule-code,
.validation-rule-code {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: .22rem .48rem;
    border: 1px solid rgba(77, 208, 225, .34);
    border-radius: 4px;
    background: rgba(77, 208, 225, .12);
    color: #80deea;
    font-family: Consolas, "Courier New", monospace;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.bi-data-quality-alert__list .bi-data-quality-rule-code {
    flex: 0 0 auto;
}

.bi-data-quality-details__problem {
    margin-top: .42rem;
}

.validation-rules-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(77, 208, 225, .22);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(4, 58, 57, .94), rgba(4, 34, 38, .94));
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.validation-rules-page__header h1 {
    margin: .2rem 0 .4rem;
    color: #fff;
    font-size: 2rem;
}

.validation-rules-page__header p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 1.05rem;
    line-height: 1.55;
}

.validation-rules-page__eyebrow {
    color: #80deea;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.validation-rules-page__total {
    flex: 0 0 auto;
    padding: .55rem .8rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    font-weight: 700;
}

.validation-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.validation-rule-card {
    height: 100%;
    margin: 0;
    border-top: 3px solid rgba(77, 208, 225, .68);
}

.validation-rule-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.validation-rule-card__scope {
    color: rgba(255, 255, 255, .58);
    font-size: .92rem;
    font-weight: 700;
}

.validation-rule-card h2 {
    margin: 0 0 .65rem;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.35;
}

.validation-rule-card > .card-body > p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
    line-height: 1.55;
}

.validation-rule-card__criteria {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.validation-rule-card__criteria > strong {
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
}

.validation-rule-card__criteria ul {
    margin: .7rem 0 0;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, .68);
    font-size: .98rem;
    line-height: 1.55;
}

.validation-rule-card__criteria li + li {
    margin-top: .42rem;
}

.validation-rule-card__technical {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .42);
    font-family: Consolas, "Courier New", monospace;
    font-size: .82rem;
}

@media (max-width: 991px) {
    .validation-rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .validation-rules-page__header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.1rem;
    }

    .validation-rules-page__header h1 {
        font-size: 1.65rem;
    }

    .bi-data-quality-alert__list li {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .cashflow-day__summary > span,
    .overview-agenda-day__totals b {
        font-size: 1.05rem;
    }

    .cashflow-day.is-today .cashflow-day__summary > span,
    .overview-agenda-day.is-today .overview-agenda-day__totals b {
        font-size: 1.2rem;
    }

    .cashflow-day.is-today .cashflow-movement__value,
    .overview-agenda-day.is-today .overview-agenda-item__value {
        font-size: 1.3rem;
    }

}

/* Overview: leitura operacional, alertas e navegação orientada pelos dados. */
.overview-hero__updated {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    margin-top: .75rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.overview-hero__updated > span {
    color: rgba(255, 255, 255, .5);
    font-size: .83rem;
    font-weight: 600;
    line-height: 1.3;
}

.overview-hero__updated > button {
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .38rem .62rem;
    border: 1px solid rgba(128, 222, 234, .3);
    border-radius: 5px;
    background: rgba(41, 182, 209, .1);
    color: #9be7f0;
    cursor: pointer;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-hero__updated > button:hover,
.overview-hero__updated > button:focus-visible {
    border-color: rgba(128, 222, 234, .68);
    background: rgba(41, 182, 209, .2);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.overview-hero__updated > button.is-loading {
    cursor: wait;
    opacity: .75;
}

.overview-hero__updated > button.is-loading i {
    animation: overview-refresh-spin .8s linear infinite;
}

.overview-hero__updated > button.has-error {
    border-color: rgba(255, 138, 128, .6);
    background: rgba(239, 83, 80, .15);
    color: #ffaaa3;
}

@keyframes overview-refresh-spin {
    to { transform: rotate(360deg); }
}

.overview-today-summary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(190px, .75fr) minmax(560px, 2.5fr) auto;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.2rem;
    padding: 1.15rem 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(102, 187, 106, .3);
    border-left: 4px solid #66bb6a;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(102, 187, 106, .12), rgba(0, 0, 0, .13));
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.overview-today-summary.is-negative {
    border-color: rgba(255, 82, 82, .35);
    border-left-color: #ff5252;
    background: linear-gradient(135deg, rgba(239, 83, 80, .15), rgba(0, 0, 0, .13));
}

.overview-today-summary__heading > span,
.overview-today-summary__heading > strong,
.overview-today-summary__heading > small {
    display: block;
}

.overview-today-summary__heading > span {
    color: #a5e6a8;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.overview-today-summary.is-negative .overview-today-summary__heading > span {
    color: #ffaaa3;
}

.overview-today-summary__heading > strong {
    margin-top: .22rem;
    color: #fff;
    font-size: 1.32rem;
}

.overview-today-summary__heading > small {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .58);
    font-size: .88rem;
    line-height: 1.35;
}

.overview-today-summary__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: .7rem;
}

.overview-today-summary__metrics > span {
    display: grid;
    gap: .26rem;
    min-height: 4.4rem;
    align-content: center;
    padding: .7rem .8rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    background: rgba(0, 0, 0, .12);
    color: rgba(255, 255, 255, .63);
    font-size: .86rem;
    line-height: 1.25;
}

.overview-today-summary__metrics strong {
    color: #fff;
    font-size: 1.12rem;
    font-variant-numeric: tabular-nums;
}

.overview-today-summary__metrics strong.is-income {
    color: #81c784;
}

.overview-today-summary__metrics strong.is-expense,
.overview-today-summary.is-negative .overview-today-summary__metrics > span:last-child strong {
    color: #ff8a80;
}

.overview-today-summary__action,
.overview-liquidity-alert > button,
.overview-overdue-banner__actions > button {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .58rem .8rem;
    border: 1px solid rgba(128, 222, 234, .35);
    border-radius: 5px;
    background: rgba(41, 182, 209, .12);
    color: #a4e8f0;
    cursor: pointer;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.2;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-today-summary__action:hover,
.overview-today-summary__action:focus-visible,
.overview-liquidity-alert > button:hover,
.overview-liquidity-alert > button:focus-visible,
.overview-overdue-banner__actions > button:hover,
.overview-overdue-banner__actions > button:focus-visible {
    border-color: rgba(128, 222, 234, .7);
    background: rgba(41, 182, 209, .22);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.overview-liquidity-alert,
.overview-overdue-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 82, 82, .38);
    border-radius: 7px;
    background: linear-gradient(100deg, rgba(239, 83, 80, .16), rgba(0, 0, 0, .12));
    box-shadow: inset 4px 0 0 rgba(255, 82, 82, .85);
}

.overview-liquidity-alert__icon,
.overview-overdue-banner__icon {
    display: inline-flex;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 2.8rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 82, 82, .16);
    color: #ff8a80;
    font-size: 1.35rem;
}

.overview-liquidity-alert > div,
.overview-overdue-banner__content {
    display: grid;
    flex: 1 1 auto;
    gap: .18rem;
    min-width: 0;
}

.overview-liquidity-alert > div > span,
.overview-overdue-banner__content > span {
    color: #ffaaa3;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.overview-liquidity-alert > div > strong,
.overview-overdue-banner__content > strong {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.3;
}

.overview-liquidity-alert > div > small,
.overview-overdue-banner__content > small {
    color: rgba(255, 255, 255, .66);
    font-size: .9rem;
    line-height: 1.4;
}

.overview-overdue-banner {
    margin-top: .2rem;
    border-color: rgba(255, 183, 77, .38);
    background: linear-gradient(100deg, rgba(255, 183, 77, .12), rgba(0, 0, 0, .1));
    box-shadow: inset 4px 0 0 rgba(255, 183, 77, .82);
}

.overview-overdue-banner__icon {
    background: rgba(255, 183, 77, .14);
    color: #ffca80;
}

.overview-overdue-banner__content > span {
    color: #ffca80;
}

.overview-overdue-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: .55rem;
}

.overview-overdue-banner__actions > button {
    border-color: rgba(255, 183, 77, .35);
    background: rgba(255, 183, 77, .1);
    color: #ffcf91;
}

.overview-week-navigation__steps > button.has-positive-balance:not(.is-active) {
    border-color: rgba(102, 187, 106, .48);
    background: rgba(102, 187, 106, .13);
    color: #a5e6a8;
}

.overview-week-navigation__steps > button.has-negative-balance:not(.is-active) {
    border-color: rgba(255, 82, 82, .54);
    background: rgba(239, 83, 80, .15);
    color: #ffaaa3;
}

.overview-week-navigation__steps > button.has-overdue::after {
    position: absolute;
    top: -.16rem;
    right: -.16rem;
    width: .48rem;
    height: .48rem;
    border: 2px solid #123c3b;
    border-radius: 50%;
    background: #ffb74d;
    content: '';
}

.overview-week-navigation__steps > button {
    position: relative;
}

.overview-week-navigation__steps > button.is-active {
    border-color: #5ce4f6;
    background: #29b6d1;
    box-shadow: 0 0 0 3px rgba(41, 182, 209, .18), 0 5px 12px rgba(0, 0, 0, .22);
    color: #fff;
}

.overview-agenda-day > header {
    grid-column: 1;
}

.overview-agenda-day__content {
    min-width: 0;
    grid-column: 2;
}

.overview-agenda-day__detail {
    margin: .85rem .95rem .15rem;
    padding: 1rem;
    border: 1px solid rgba(128, 222, 234, .2);
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(41, 182, 209, .09), rgba(0, 0, 0, .15));
    box-shadow: 0 9px 22px rgba(0, 0, 0, .14);
}

.overview-agenda-day__detail[hidden] {
    display: none !important;
}

.overview-agenda-day__detail-toggle {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: .36rem;
    justify-self: start;
    padding: .35rem .6rem;
    border: 1px solid rgba(128, 222, 234, .22);
    border-radius: 4px;
    background: rgba(41, 182, 209, .08);
    color: #91dfe9;
    cursor: pointer;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 800;
}

.overview-agenda-day__detail-toggle:hover,
.overview-agenda-day__detail-toggle:focus-visible,
.overview-agenda-day__detail-toggle[aria-expanded="true"] {
    border-color: rgba(128, 222, 234, .6);
    background: rgba(41, 182, 209, .18);
    color: #fff;
    outline: 0;
}

.overview-agenda-day__detail-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.overview-agenda-day__detail-heading > div {
    display: grid;
    gap: .12rem;
}

.overview-agenda-day__detail-heading span {
    color: #80deea;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.overview-agenda-day__detail-heading strong {
    color: #fff;
    font-size: 1.05rem;
}

.overview-agenda-day__detail-heading button {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    font-size: 1rem;
}

.overview-agenda-day__detail-heading button:hover,
.overview-agenda-day__detail-heading button:focus-visible {
    border-color: rgba(128, 222, 234, .55);
    color: #fff;
    outline: 0;
}

.overview-agenda-day__detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: .6rem;
}

.overview-agenda-day__detail-grid > span {
    display: grid;
    gap: .24rem;
    padding: .62rem .7rem;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 5px;
    background: rgba(0, 0, 0, .1);
    color: rgba(255, 255, 255, .58);
    font-size: .84rem;
}

.overview-agenda-day__detail-grid strong {
    color: #fff;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.overview-agenda-day__detail-grid strong.is-income {
    color: #81c784;
}

.overview-agenda-day__detail-grid strong.is-expense {
    color: #ff8a80;
}

.overview-agenda-day__detail-movements {
    display: grid;
    gap: .5rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.overview-agenda-day__detail-movements > div {
    display: grid;
    grid-template-columns: minmax(125px, .25fr) minmax(0, 1fr);
    gap: .75rem;
}

.overview-agenda-day__detail-movements strong {
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
}

.overview-agenda-day__detail-movements span {
    color: rgba(255, 255, 255, .57);
    font-size: .84rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.overview-agenda-day.is-chart-selected {
    position: relative;
    z-index: 4;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(128, 222, 234, .62), 0 15px 32px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
}

.overview-agenda-day.has-negative-balance.is-chart-selected {
    box-shadow: 0 0 0 2px rgba(255, 138, 128, .7), 0 15px 32px rgba(50, 0, 0, .32);
}

.overview-agenda-card.is-chart-selected {
    box-shadow: 0 0 0 2px rgba(128, 222, 234, .62), 0 18px 36px rgba(0, 0, 0, .28);
}

.overview-weekly-chart,
.overview-weekly-chart-value-label {
    cursor: pointer;
}

.overview-weekly-chart-value-label:focus-visible,
.overview-week-navigation__steps > button:focus-visible,
.overview-week-navigation__arrow:focus-visible {
    outline: 2px solid rgba(128, 222, 234, .82);
    outline-offset: 3px;
}

@media (max-width: 1199px) {
    .overview-today-summary {
        grid-template-columns: minmax(190px, .65fr) minmax(0, 2fr);
    }

    .overview-today-summary__action {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .overview-today-summary__metrics {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 991px) {
    .overview-hero__updated {
        align-items: flex-start;
        flex-direction: column;
    }

    .overview-today-summary {
        grid-template-columns: 1fr;
    }

    .overview-today-summary__action {
        grid-column: auto;
        justify-self: start;
    }

    .overview-agenda-day__detail-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}

@media (max-width: 767px) {
    .overview-liquidity-alert,
    .overview-overdue-banner {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .overview-liquidity-alert > button,
    .overview-overdue-banner__actions {
        margin-left: 3.8rem;
    }

    .overview-agenda-day > header,
    .overview-agenda-day__content {
        grid-column: auto;
    }

    .overview-agenda-day__detail {
        margin: .75rem;
    }
}

@media (max-width: 575px) {
    .overview-hero__updated {
        align-items: stretch;
    }

    .overview-hero__updated > button {
        width: 100%;
    }

    .overview-today-summary {
        gap: .9rem;
        padding: 1rem;
    }

    .overview-today-summary__metrics {
        grid-template-columns: 1fr;
    }

    .overview-today-summary__metrics > span {
        min-height: 0;
    }

    .overview-today-summary__action,
    .overview-liquidity-alert > button,
    .overview-overdue-banner__actions {
        width: 100%;
        margin-left: 0;
    }

    .overview-overdue-banner__actions {
        flex-direction: column;
    }

    .overview-overdue-banner__actions > button {
        width: 100%;
    }

    .overview-liquidity-alert__icon,
    .overview-overdue-banner__icon {
        width: 2.45rem;
        height: 2.45rem;
        flex-basis: 2.45rem;
    }

    .overview-agenda-day__detail-grid {
        grid-template-columns: 1fr;
    }

    .overview-agenda-day__detail-movements > div {
        grid-template-columns: 1fr;
        gap: .18rem;
    }

    .overview-agenda-day__detail-toggle {
        width: 100%;
    }
}

/* Atalhos administrativos do menu superior. */
.top-nav > li .dropdown-menu--block {
    width: min(460px, calc(100vw - 30px));
}

.app-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    gap: .65rem;
    margin: 0;
    padding: 1.25rem;
}

.app-shortcuts > .app-shortcuts__item {
    display: flex;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 6.8rem;
    flex: none;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    padding: .85rem .45rem .75rem;
}

.app-shortcuts__item > small {
    display: flex;
    min-height: 2.5rem;
    align-items: flex-start;
    justify-content: center;
    margin-top: .65rem;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 575px) {
    .top-nav > li .dropdown-menu--block {
        left: 20px;
        width: calc(100% - 40px);
    }

    .app-shortcuts {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        gap: .55rem;
        padding: 1rem;
    }

    .app-shortcuts > .app-shortcuts__item {
        min-height: 6.35rem;
    }
}

/* Menu lateral recolhível e identificação da opção ativa. */
.sidebar__compact-toggle {
    position: absolute;
    top: 0;
    right: -30px;
    z-index: 112;
    display: flex;
    width: 30px;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, .76);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    text-align: center;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.sidebar__compact-toggle:hover,
.sidebar__compact-toggle:focus-visible {
    background: transparent;
    box-shadow: none;
    color: #fff;
    outline: 0;
}

.sidebar__compact-toggle:focus-visible {
    box-shadow: none;
}

.sidebar__compact-toggle > i {
    display: inline-flex;
    width: 30px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 0 9px 9px 0;
    text-shadow: 0 0 9px rgba(128, 222, 234, .45);
    transition: background-color .2s, box-shadow .2s, color .2s;
}

.sidebar__compact-toggle:hover > i,
.sidebar__compact-toggle:focus-visible > i {
    background: rgba(128, 222, 234, .1);
    box-shadow: 4px 0 12px rgba(0, 0, 0, .14);
}

.sidebar .user__details,
.sidebar .navigation__label,
.sidebar .navigation > li > a,
.sidebar .user__info,
.content:not(.content--boxed):not(.content--full) {
    transition: opacity .2s, padding .3s, width .3s, margin .3s;
}

.sidebar .dropdown-item > i {
    width: 1.35rem;
    margin-right: .55rem;
    text-align: center;
}

.navigation__sub > ul > li > a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding-left: 2.65rem;
}

.navigation__sub > ul > li > a > i {
    width: 1.45rem;
    flex: 0 0 1.45rem;
    color: rgba(255, 255, 255, .65);
    font-size: 1.14rem;
    text-align: center;
}

.navigation__sub .navigation__active:before {
    display: none;
}

.navigation__sub--active > a > i,
.navigation__active > a > i {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, .95), 0 0 14px rgba(128, 222, 234, .9);
}

.navigation__sub--active > a > i:after,
.navigation__active > a > i:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(128, 222, 234, .48);
    content: '';
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.navigation__sub > ul > li > a > i {
    position: relative;
}

.sidebar-flyout {
    position: fixed;
    z-index: 115;
    min-width: 235px;
    max-width: min(310px, calc(100vw - 105px));
    padding: .65rem;
    border: 1px solid rgba(128, 222, 234, .24);
    border-radius: 6px;
    background: rgba(6, 29, 31, .98);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .42);
}

.sidebar-flyout[hidden] {
    display: none !important;
}

.sidebar-flyout__title {
    display: block;
    padding: .45rem .7rem .65rem;
    color: rgba(128, 222, 234, .92);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar-flyout ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-flyout li > a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .75rem;
    border-radius: 4px;
    color: rgba(255, 255, 255, .78);
    font-weight: 600;
}

.sidebar-flyout li > a:hover,
.sidebar-flyout li > a:focus-visible,
.sidebar-flyout .navigation__active > a {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    outline: 0;
}

.sidebar-flyout li > a > i {
    position: relative;
    width: 1.6rem;
    color: rgba(255, 255, 255, .72);
    font-size: 1.2rem;
    text-align: center;
}

.sidebar-flyout .navigation__active > a > i {
    text-shadow: 0 0 8px #fff, 0 0 13px rgba(128, 222, 234, .9);
}

.sidebar-preference-form {
    display: none;
}

.sidebar-shortcuts {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 1200px) {
    .sidebar {
        overflow: visible;
        transition: width .3s, padding .3s, background-color .3s;
    }

    body.sidebar-compact .sidebar {
        width: 72px;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.sidebar-compact .content:not(.content--boxed):not(.content--full) {
        padding-left: 102px;
    }

    body.sidebar-compact .sidebar .user__info {
        justify-content: center;
        padding: .35rem 0;
        border-radius: 50%;
        background: transparent;
    }

    body.sidebar-compact .sidebar .user__info:hover {
        background: transparent;
    }

    body.sidebar-compact .sidebar .user__img {
        width: 3.15rem;
        height: 3.15rem;
        margin-right: 0;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
        object-fit: cover;
        transition: box-shadow .2s, transform .2s;
    }

    body.sidebar-compact .sidebar .user__info:hover .user__img {
        box-shadow: 0 0 0 2px rgba(128, 222, 234, .48), 0 0 14px rgba(128, 222, 234, .18);
        transform: scale(1.03);
    }

    body.sidebar-compact .sidebar .user__details,
    body.sidebar-compact .sidebar .navigation__label {
        display: none;
    }

    body.sidebar-compact .sidebar .navigation > li > a {
        display: flex;
        width: 52px;
        height: 50px;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    body.sidebar-compact .sidebar .navigation > li > a > i {
        width: 2rem;
        margin-right: 0;
        color: rgba(255, 255, 255, .62);
        font-size: 1.45rem;
        line-height: 2rem;
        top: 0;
    }

    body.sidebar-compact .sidebar .navigation > li:not(.navigation__sub--active) > a:hover > i {
        color: #fff;
    }

    body.sidebar-compact .sidebar .navigation__sub > ul {
        display: none !important;
    }

    body.sidebar-compact .sidebar .navigation__sub--active > a {
        background: rgba(128, 222, 234, .1);
    }

    body.sidebar-compact .sidebar .sidebar-shortcuts {
        position: absolute;
        bottom: 1rem;
        left: 10px;
        z-index: 113;
        display: flex;
        width: 52px;
        flex-direction: column;
        gap: .28rem;
        padding-top: .65rem;
        border-top: 1px solid rgba(128, 222, 234, .18);
    }

    body.sidebar-compact .sidebar .sidebar-shortcut > a {
        position: relative;
        display: flex;
        width: 52px;
        height: 43px;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        color: rgba(255, 255, 255, .62);
        transition: background-color .2s, color .2s, box-shadow .2s;
    }

    body.sidebar-compact .sidebar .sidebar-shortcut > a:hover,
    body.sidebar-compact .sidebar .sidebar-shortcut > a:focus-visible,
    body.sidebar-compact .sidebar .sidebar-shortcut--active > a {
        background: rgba(128, 222, 234, .1);
        color: #fff;
        outline: 0;
    }

    body.sidebar-compact .sidebar .sidebar-shortcut > a > i {
        position: relative;
        z-index: 1;
        width: 2rem;
        font-size: 1.35rem;
        line-height: 2rem;
        text-align: center;
    }

    body.sidebar-compact .sidebar .sidebar-shortcut--active > a > i {
        text-shadow: 0 0 8px rgba(255, 255, 255, .95), 0 0 14px rgba(128, 222, 234, .9);
    }

    body.sidebar-compact .sidebar .sidebar-shortcut--active > a > i:after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2rem;
        height: 2rem;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(128, 222, 234, .48);
        content: '';
        pointer-events: none;
        transform: translate(-50%, -50%);
    }

    body.sidebar-compact .sidebar .sidebar-shortcut__label {
        position: absolute;
        top: 50%;
        left: calc(100% + 48px);
        z-index: 119;
        visibility: hidden;
        padding: .55rem .75rem;
        border: 1px solid rgba(128, 222, 234, .22);
        border-radius: 4px;
        background: rgba(6, 29, 31, .98);
        box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
        color: rgba(255, 255, 255, .9);
        font-size: .9rem;
        font-weight: 700;
        line-height: 1.2;
        opacity: 0;
        pointer-events: none;
        transform: translate(6px, -50%);
        transition: opacity .16s, transform .16s, visibility .16s;
        white-space: nowrap;
    }

    body.sidebar-compact .sidebar .sidebar-shortcut > a:hover .sidebar-shortcut__label,
    body.sidebar-compact .sidebar .sidebar-shortcut > a:focus-visible .sidebar-shortcut__label {
        visibility: visible;
        opacity: 1;
        transform: translate(0, -50%);
    }

    body.sidebar-compact .sidebar .user .dropdown-menu {
        z-index: 118;
        width: 235px !important;
        min-width: 235px;
        max-width: calc(100vw - 125px);
        margin: 0;
        padding: .65rem;
        border: 1px solid rgba(128, 222, 234, .22);
        border-radius: 6px;
        background: rgba(6, 29, 31, .98);
        box-shadow: 0 14px 32px rgba(0, 0, 0, .42);
    }

    body.sidebar-compact .sidebar .user .dropdown-menu.show {
        position: fixed !important;
        right: auto !important;
        transform: none !important;
    }

    body.sidebar-compact .sidebar .user .dropdown-item {
        display: flex;
        align-items: center;
        gap: .7rem;
        width: auto;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding: .7rem .75rem;
        border-radius: 4px;
        color: rgba(255, 255, 255, .78);
        font-weight: 600;
        white-space: nowrap;
    }

    body.sidebar-compact .sidebar .user .dropdown-item:hover,
    body.sidebar-compact .sidebar .user .dropdown-item:focus {
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }

    body.sidebar-compact .sidebar .user .dropdown-item > i {
        width: 1.6rem;
        margin-right: 0;
        color: rgba(255, 255, 255, .72);
        font-size: 1.2rem;
    }

}

/* Cadastro e apresentação da foto/preferência do perfil. */
.profile-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.profile-summary__photo img,
.profile-photo-editor__stage > img {
    display: block;
    width: 7rem;
    height: 7rem;
    border: 2px solid rgba(128, 222, 234, .68);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 16px rgba(128, 222, 234, .16);
    object-fit: cover;
}

.profile-photo-editor__stage {
    display: flex;
    width: 14rem;
    min-height: 14rem;
    align-items: center;
    justify-content: center;
}

.profile-photo-cropper {
    position: relative;
    width: 14rem;
    height: 14rem;
    overflow: hidden;
    border: 3px solid rgba(128, 222, 234, .82);
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .34), 0 0 18px rgba(128, 222, 234, .2);
}

.profile-photo-cropper[hidden],
.profile-photo-crop-controls[hidden] {
    display: none !important;
}

.profile-photo-cropper:after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.profile-photo-cropper canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.profile-photo-cropper canvas.is-dragging {
    cursor: grabbing;
}

.profile-photo-editor {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    background: rgba(0, 0, 0, .09);
}

.profile-photo-editor__actions h5 {
    margin-bottom: .3rem;
}

.profile-photo-editor__actions p {
    margin-bottom: .8rem;
    color: rgba(255, 255, 255, .65);
}

.profile-photo-crop-controls {
    max-width: 25rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.profile-photo-crop-controls .profile-photo-crop-controls__hint {
    margin-bottom: .75rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
}

.profile-photo-crop-controls > label {
    margin-bottom: .35rem;
    color: rgba(255, 255, 255, .72);
}

.profile-photo-crop-controls__zoom {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.profile-photo-crop-controls__zoom > i {
    width: 1.4rem;
    color: rgba(128, 222, 234, .9);
    font-size: 1.25rem;
    text-align: center;
}

.profile-photo-crop-controls__zoom input[type="range"] {
    min-width: 0;
    flex: 1;
    accent-color: #80deea;
    cursor: pointer;
}

.profile-photo-crop-controls > button {
    margin-top: .75rem;
}

.profile-photo-editor__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.profile-photo-editor__input:focus + label {
    outline: 2px solid rgba(128, 222, 234, .8);
    outline-offset: 3px;
}

.profile-photo-editor__remove {
    display: block;
    margin-top: .85rem;
    color: rgba(255, 255, 255, .76);
    cursor: pointer;
}

.profile-photo-editor__remove input {
    margin-right: .45rem;
}

.profile-menu-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    background: rgba(0, 0, 0, .09);
}

.profile-appearance {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(128, 222, 234, .16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(128, 222, 234, .055), rgba(0, 0, 0, .11));
}

.profile-appearance__header {
    margin-bottom: 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.profile-appearance__header h5,
.profile-appearance__header p {
    margin: 0;
}

.profile-appearance__header p {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .66);
}

.profile-appearance__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
    gap: 1.5rem;
    align-items: end;
}

.profile-theme-fieldset legend {
    margin-bottom: .7rem;
    font-size: .95rem;
    font-weight: 700;
}

.profile-theme-options {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.profile-theme-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
    cursor: pointer;
}

.profile-theme-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.profile-theme-option span {
    display: block;
    width: 2.35rem;
    height: 2.35rem;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: var(--profile-theme-color);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.profile-theme-option:hover span,
.profile-theme-option:focus-within span {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .72);
}

.profile-theme-option input:checked + span {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(128, 222, 234, .48), 0 0 14px rgba(128, 222, 234, .32);
}

.profile-theme-option small {
    color: rgba(255, 255, 255, .66);
}

.profile-redirect-time {
    margin-bottom: 0;
}

.profile-menu-preference strong,
.profile-menu-preference small {
    display: block;
}

.profile-menu-preference small {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .62);
}

.profile-menu-preference .toggle-switch {
    flex: 0 0 36px;
}

.profile-shortcuts {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(128, 222, 234, .16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(128, 222, 234, .055), rgba(0, 0, 0, .11));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.profile-shortcuts__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.profile-shortcuts__header h5,
.profile-shortcuts__header p {
    margin: 0;
}

.profile-shortcuts__header p {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .66);
}

.profile-shortcuts__counter {
    display: inline-flex;
    min-width: 3.4rem;
    min-height: 2.15rem;
    align-items: center;
    justify-content: center;
    padding: .38rem .55rem;
    border: 1px solid rgba(128, 222, 234, .28);
    border-radius: 999px;
    background: rgba(128, 222, 234, .08);
    color: rgba(128, 222, 234, .96);
    text-align: center;
}

.profile-shortcuts.is-limit-reached .profile-shortcuts__counter {
    border-color: rgba(255, 193, 7, .45);
    background: rgba(255, 193, 7, .1);
    color: #ffd166;
}

.profile-shortcuts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .72rem;
}

.profile-shortcut-option {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 3.65rem;
    align-items: center;
    gap: .7rem;
    margin: 0;
    padding: .72rem 2.25rem .72rem .72rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    background: rgba(0, 0, 0, .1);
    color: rgba(255, 255, 255, .74);
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.profile-shortcut-option:hover,
.profile-shortcut-option:focus-within {
    border-color: rgba(128, 222, 234, .38);
    background: rgba(128, 222, 234, .075);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .13);
    color: #fff;
}

.profile-shortcut-option.is-selected {
    border-color: rgba(128, 222, 234, .55);
    background: rgba(128, 222, 234, .115);
    box-shadow: inset 3px 0 0 rgba(128, 222, 234, .82), 0 7px 18px rgba(0, 0, 0, .14);
    color: #fff;
}

.profile-shortcut-option.is-disabled {
    opacity: .42;
    cursor: not-allowed;
}

.profile-shortcut-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
    white-space: nowrap;
}

.profile-shortcut-option__icon {
    display: flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    font-size: 1.15rem;
}

.profile-shortcut-option.is-selected .profile-shortcut-option__icon {
    background: rgba(128, 222, 234, .16);
    color: #a8f5ff;
}

.profile-shortcut-option__label {
    min-width: 0;
    overflow: hidden;
    font-size: .94rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-shortcut-option__check {
    position: absolute;
    top: 50%;
    right: .75rem;
    display: flex;
    width: 1.35rem;
    height: 1.35rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(0, 0, 0, .12);
    color: transparent;
    font-size: .78rem;
    opacity: 1;
    transform: translateY(-50%);
    transition: opacity .2s, transform .2s, background-color .2s, border-color .2s;
}

.profile-shortcut-option.is-selected .profile-shortcut-option__check {
    border-color: rgba(143, 242, 195, .55);
    background: rgba(71, 180, 127, .2);
    color: #8ff2c3;
    opacity: 1;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .profile-shortcuts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .profile-summary,
    .profile-photo-editor {
        grid-template-columns: 1fr;
    }

    .profile-summary__photo img,
    .profile-photo-editor__stage > img {
        width: 6rem;
        height: 6rem;
    }

    .profile-photo-editor__stage {
        width: min(14rem, 100%);
        min-height: 12rem;
    }

    .profile-photo-cropper {
        width: 12rem;
        height: 12rem;
    }

    .profile-menu-preference {
        align-items: flex-start;
    }

    .profile-shortcuts__header {
        align-items: flex-start;
    }

    .profile-shortcuts__grid {
        grid-template-columns: 1fr;
    }
}

/* Perfil centralizado em abas. */
.profile-page__inner {
    width: min(100%, 1240px);
    margin-right: auto;
    margin-left: auto;
}

.profile-page__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(128, 222, 234, .2);
    border-radius: 9px;
    background: linear-gradient(120deg, rgba(128, 222, 234, .08), rgba(255, 255, 255, .025));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.profile-page__hero:after {
    position: absolute;
    top: -4.5rem;
    right: -2.5rem;
    width: 13rem;
    height: 13rem;
    border: 1px solid rgba(128, 222, 234, .08);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.profile-page__identity {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
}

.profile-page__identity img {
    display: block;
    width: 5.25rem;
    height: 5.25rem;
    flex: 0 0 5.25rem;
    border: 2px solid rgba(128, 222, 234, .62);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .26), 0 0 16px rgba(128, 222, 234, .14);
    object-fit: cover;
}

.profile-page__identity span,
.profile-panel__heading span {
    display: block;
    margin-bottom: .25rem;
    color: #80deea;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.profile-page__identity h1 {
    margin: 0;
    font-size: 1.72rem;
    line-height: 1.15;
}

.profile-page__identity p {
    margin: .3rem 0 0;
    color: rgba(255, 255, 255, .68);
}

.profile-page__status {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

.profile-page__status span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .48rem .7rem;
    border: 1px solid rgba(143, 242, 195, .22);
    border-radius: 999px;
    background: rgba(71, 180, 127, .08);
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 700;
}

.profile-page__status i {
    color: #8ff2c3;
    font-size: 1rem;
}

.profile-page__mandatory {
    margin-bottom: 1rem;
}

.profile-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .45rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: rgba(0, 0, 0, .1);
}

.profile-tab {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .7rem .8rem;
    border: 1px solid transparent;
    border-radius: 7px;
    color: rgba(255, 255, 255, .66);
    font-weight: 700;
    text-align: center;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}

.profile-tab:hover,
.profile-tab:focus {
    border-color: rgba(128, 222, 234, .2);
    background: rgba(128, 222, 234, .06);
    color: #fff;
}

.profile-tab.is-active {
    border-color: rgba(128, 222, 234, .42);
    background: rgba(128, 222, 234, .12);
    box-shadow: inset 0 -2px 0 #80deea, 0 7px 18px rgba(0, 0, 0, .14);
    color: #fff;
    transform: translateY(-1px);
}

.profile-tab.is-active i {
    color: #a8f5ff;
    text-shadow: 0 0 10px rgba(128, 222, 234, .5);
}

.profile-tab.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.profile-tab i {
    flex: 0 0 auto;
    font-size: 1.2rem;
}

.profile-panel {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: rgba(0, 0, 0, .07);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
}

.profile-panel > .card-body {
    padding: 1.45rem;
}

.profile-panel__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.profile-panel__heading h2,
.profile-panel__heading p {
    margin: 0;
}

.profile-panel__heading h2 {
    font-size: 1.3rem;
}

.profile-panel__heading p {
    max-width: 34rem;
    color: rgba(255, 255, 255, .62);
    text-align: right;
}

.profile-form-grid,
.profile-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profile-panel .form-group small {
    display: block;
    margin-top: .42rem;
    color: rgba(255, 255, 255, .58);
}

.profile-security-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: .9rem;
}

.profile-security-overview > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .1rem .7rem;
    align-items: center;
    padding: .9rem 1rem;
    border: 1px solid rgba(143, 242, 195, .16);
    border-radius: 8px;
    background: rgba(71, 180, 127, .06);
}

.profile-security-overview i {
    grid-row: 1 / 3;
    color: #8ff2c3;
    font-size: 1.45rem;
}

.profile-security-overview span {
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-security-overview strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-security-note {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.25rem;
    padding: .72rem .85rem;
    border-left: 3px solid rgba(128, 222, 234, .7);
    background: rgba(128, 222, 234, .055);
    color: rgba(255, 255, 255, .7);
}

.profile-security-note i {
    color: #80deea;
    font-size: 1.2rem;
}

.profile-passkey-layout {
    display: grid;
    grid-template-columns: minmax(18rem, .82fr) minmax(24rem, 1.18fr);
    gap: 1rem;
}

.profile-passkey-layout .profile-panel {
    height: calc(100% - 1rem);
}

.profile-passkeys {
    display: grid;
    gap: .65rem;
}

.profile-passkey {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    padding: .78rem;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 7px;
    background: rgba(0, 0, 0, .09);
}

.profile-passkey__icon,
.profile-empty-state > i {
    display: flex;
    width: 2.55rem;
    height: 2.55rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(128, 222, 234, .1);
    color: #a8f5ff;
    font-size: 1.3rem;
}

.profile-passkey__body {
    min-width: 0;
}

.profile-passkey__body strong,
.profile-passkey__body span,
.profile-passkey__body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-passkey__body span,
.profile-passkey__body small {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
}

.profile-passkey__delete {
    display: inline-flex;
    width: 2.45rem;
    height: 2.45rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 107, 107, .25);
    border-radius: 50%;
    background: rgba(255, 77, 77, .08);
    color: #ff8b8b;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.profile-passkey__delete:hover,
.profile-passkey__delete:focus {
    border-color: rgba(255, 107, 107, .65);
    background: rgba(255, 77, 77, .16);
    box-shadow: 0 0 14px rgba(255, 77, 77, .14);
    transform: translateY(-1px);
}

.profile-passkey__delete:disabled {
    opacity: .42;
    cursor: wait;
}

.profile-empty-state {
    display: flex;
    min-height: 9rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .65rem;
    border: 1px dashed rgba(255, 255, 255, .12);
    border-radius: 7px;
    color: rgba(255, 255, 255, .6);
    text-align: center;
}

.profile-empty-state p {
    margin: 0;
}

.profile-reauth[hidden] {
    display: none !important;
}

.profile-reauth {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity .18s;
}

.profile-reauth.is-open {
    opacity: 1;
}

.profile-reauth__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 10, 12, .76);
    backdrop-filter: blur(5px);
    cursor: default;
}

.profile-reauth__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 31rem);
    max-height: calc(100vh - 2rem);
    padding: 1.6rem;
    overflow-y: auto;
    border: 1px solid rgba(128, 222, 234, .34);
    border-radius: 10px;
    background: rgba(7, 35, 38, .98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .48), 0 0 22px rgba(128, 222, 234, .08);
    color: #fff;
    text-align: center;
    transform: translateY(10px) scale(.985);
    transition: transform .18s;
}

.profile-reauth.is-open .profile-reauth__dialog {
    transform: translateY(0) scale(1);
}

.profile-reauth__close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
}

.profile-reauth__close:hover,
.profile-reauth__close:focus {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.profile-reauth__icon {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto .8rem;
    border: 1px solid rgba(143, 242, 195, .38);
    border-radius: 50%;
    background: rgba(71, 180, 127, .1);
    color: #8ff2c3;
    font-size: 1.7rem;
}

.profile-reauth__dialog h2 {
    margin: 0;
    font-size: 1.4rem;
}

.profile-reauth__dialog > p {
    margin: .45rem 0 1.15rem;
    color: rgba(255, 255, 255, .64);
}

.profile-reauth__message {
    display: none;
    margin-bottom: .9rem;
    padding: .65rem .75rem;
    border: 1px solid rgba(255, 107, 107, .3);
    border-radius: 6px;
    background: rgba(255, 77, 77, .09);
    color: #ffadad;
    text-align: left;
}

.profile-reauth__message.is-visible {
    display: block;
}

.profile-reauth__passkey {
    width: 100%;
    justify-content: center;
}

.profile-reauth__passkey[hidden] + .profile-reauth__divider {
    display: none;
}

.profile-reauth__divider {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, .42);
    font-size: .72rem;
    text-transform: uppercase;
}

.profile-reauth__divider:before,
.profile-reauth__divider:after {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, .1);
    content: '';
}

.profile-reauth__password {
    text-align: left;
}

.profile-reauth__password button {
    width: 100%;
    justify-content: center;
}

body.profile-reauth-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .profile-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-passkey-layout {
        grid-template-columns: 1fr;
    }

    .profile-passkey-layout .profile-panel {
        height: auto;
    }
}

@media (max-width: 767px) {
    .profile-page__hero,
    .profile-panel__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-page__status {
        justify-content: flex-start;
    }

    .profile-panel__heading p {
        text-align: left;
    }

    .profile-form-grid,
    .profile-password-grid,
    .profile-security-overview,
    .profile-appearance__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .profile-page__hero,
    .profile-panel > .card-body {
        padding: 1rem;
    }

    .profile-page__identity img {
        width: 4.4rem;
        height: 4.4rem;
        flex-basis: 4.4rem;
    }

    .profile-page__identity h1 {
        font-size: 1.35rem;
    }

    .profile-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .profile-tab {
        min-width: 11.5rem;
        flex: 0 0 11.5rem;
        scroll-snap-align: start;
    }

    .profile-reauth__dialog {
        padding: 1.25rem 1rem;
    }
}

/* Relógio do cabeçalho */
.header .clock {
    background: transparent;
    box-shadow: none;
}

.header .clock > .time {
    margin-top: .45rem;
    font-size: 1.25rem;
    line-height: 1;
}
/* Calendário financeiro */
.holiday-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; max-width: 850px; }
.holiday-form__wide { grid-column: 1 / -1; }
.holiday-form__annual { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 1rem; }
.holiday-form [hidden] { display: none !important; }
.holiday-form > *,
.holiday-form__annual > * { min-width: 0; }
.holiday-form .select2-container { max-width: 100%; }
.holiday-form .select2-selection--single {
    min-height: 2.9rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    background: rgba(255, 255, 255, .045);
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.holiday-form .select2-container .select2-selection__rendered {
    padding: .7rem 2.4rem .7rem .85rem;
    line-height: 1.4;
    white-space: normal;
}
.holiday-form .select2-selection--single::before {
    top: 50%;
    right: 1rem;
    bottom: auto;
    width: .5rem;
    height: .5rem;
    margin-top: -.35rem;
    border: solid rgba(255, 255, 255, .7);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.holiday-form .select2-selection--single:hover {
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .075);
}
.holiday-form .select2-container--open .select2-selection--single,
.holiday-form .select2-selection--single:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .65);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .09);
}
.holiday-select-dropdown {
    padding: .35rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 5px;
    background: rgba(20, 25, 29, .98);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.select2-container--default .holiday-select-dropdown .select2-results__options {
    max-height: min(260px, 45vh);
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .3) transparent;
}
.holiday-select-dropdown .select2-results__option {
    padding: .7rem 2.4rem .7rem .75rem;
    border-radius: 3px;
    line-height: 1.45;
    overflow-wrap: break-word;
}
.holiday-select-dropdown .select2-results__option[aria-selected=true] {
    padding-right: 2.4rem;
    background: rgba(255, 255, 255, .1);
}
.holiday-select-dropdown .select2-results__option--highlighted[aria-selected] {
    background: rgba(255, 255, 255, .18);
}
.holiday-select-dropdown .select2-results__option[aria-selected=true]::before { right: .75rem; }
/* Fallback legível caso o JavaScript não esteja disponível. */
.holiday-form select option { background: #fff; color: #20262b; }
@media (max-width: 575px) { .holiday-form { grid-template-columns: minmax(0, 1fr); } }
.holiday-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px;flex-wrap:wrap}.holiday-toolbar p{margin:0;color:var(--finance-text-muted,#9fb7b6)}

/* Recomendação de cartão para o dia atual, independente da semana em exibição. */
.overview-card-recommendation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(128, 222, 234, .22);
    border-radius: 7px;
    background: rgba(255, 255, 255, .025);
}

.overview-card-recommendation__heading {
    flex: 1 1 230px;
    min-width: 0;
}

.overview-card-recommendation__heading > span {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #80deea;
    font-size: .78rem;
    font-weight: 700;
}

.overview-card-recommendation__heading h2 {
    margin: .3rem 0 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.overview-card-recommendation__options {
    display: flex;
    flex: 1 1 190px;
    flex-wrap: wrap;
    gap: .65rem 1.2rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.overview-card-recommendation__options > li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.overview-card-recommendation__options strong,
.overview-card-recommendation__options small {
    display: block;
}

.overview-card-recommendation__options strong {
    color: #a5d6a7;
    font-size: 1.1rem;
    font-weight: 800;
}

.overview-card-recommendation__options small,
.overview-card-recommendation__terms dt,
.overview-card-recommendation__empty {
    color: rgba(255, 255, 255, .65);
    font-size: .82rem;
    font-weight: 400;
}

.overview-card-recommendation__terms {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.overview-card-recommendation__terms dd {
    margin: .2rem 0 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.overview-card-recommendation__action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    min-height: 2.5rem;
    padding: .55rem .8rem;
    border: 1px solid rgba(128, 222, 234, .3);
    border-radius: 5px;
    color: #a4e8f0;
    font-size: .88rem;
    font-weight: 700;
}

.overview-card-recommendation__action:hover,
.overview-card-recommendation__action:focus-visible {
    border-color: #80deea;
    background: rgba(128, 222, 234, .1);
    color: #fff;
}

.overview-card-recommendation__empty { flex: 2 1 230px; margin: 0; }

@media (max-width: 575px) {
    .overview-card-recommendation { gap: .9rem; }
    .overview-card-recommendation__heading,
    .overview-card-recommendation__options { flex-basis: 100%; }
    .overview-card-recommendation__terms { flex: 1 1 100%; justify-content: space-between; }
}

/* Ajustes auditáveis de fatura */
.card-adjustments-page .content__title > div:first-child small,
.card-adjustment-table__meta {
    display: block;
    color: rgba(255, 255, 255, .58);
}
.card-adjustment-table__meta { margin-top: .25rem; font-size: .72rem; }
.card-adjustment-status {
    display: inline-flex;
    padding: .25rem .55rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}
.card-adjustment-status.is-active { color: #66d884; border-color: rgba(102,216,132,.42); }
.card-adjustment-status.is-settled { color: #80deea; border-color: rgba(128,222,234,.38); }
.card-adjustment-status.is-inactive { color: rgba(255,255,255,.58); }
.card-adjustment-status.is-draft { color: #ffd166; border-color: rgba(255,209,102,.42); }
.card-adjustments-page .table-row-actions-cell { width: 160px; min-width: 160px; }
.card-adjustments-page .table-row-actions { grid-template-columns: repeat(4, 35px); }
.card-adjustment-filter-card { margin-bottom: 1rem; }
.card-adjustment-list-filters {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: .8rem;
}
.card-adjustment-list-filter {
    appearance: none;
    display: grid;
    grid-template-columns: 2rem minmax(9rem, 1fr) auto;
    align-items: center;
    gap: .85rem;
    flex: 0 1 22rem;
    min-height: 4rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(128,222,234,.16);
    border-radius: 6px;
    background: rgba(0,0,0,.1);
    color: rgba(255,255,255,.78);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.card-adjustment-list-filter:hover,
.card-adjustment-list-filter:focus-visible {
    border-color: rgba(128,222,234,.45);
    background: rgba(128,222,234,.08);
    color: #fff;
}
.card-adjustment-list-filter.is-active {
    border-color: rgba(102,216,132,.48);
    background: rgba(102,216,132,.1);
    color: #fff;
}
.card-adjustment-list-filter > i {
    color: #80deea;
    font-size: 1.35rem;
    text-align: center;
}
.card-adjustment-list-filter.is-active > i { color: #66d884; }
.card-adjustment-list-filter strong,
.card-adjustment-list-filter small,
.card-adjustment-list-filter > span { display: block; }
.card-adjustment-list-filter small {
    margin-top: .2rem;
    color: rgba(255,255,255,.58);
    line-height: 1.35;
}
.card-adjustment-list-filter > b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .45rem;
    border: 1px solid rgba(128,222,234,.22);
    border-radius: 999px;
    color: #80deea;
    font-size: .78rem;
    font-weight: 800;
}
.card-anticipation-draft-notice .card-body {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.2rem;
}
.card-anticipation-draft-notice i { color: #80deea; font-size: 1.6rem; }
.card-anticipation-draft-notice strong,
.card-anticipation-draft-notice small { display: block; }
.card-anticipation-draft-notice small { margin-top: .2rem; color: rgba(255,255,255,.62); }
.card-anticipation-invoice-card {
    min-height: 9rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(128,222,234,.25);
    border-radius: 7px;
    background: rgba(128,222,234,.06);
}
.card-anticipation-invoice-card > span {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #80deea;
    font-size: .8rem;
    font-weight: 700;
}
.card-anticipation-invoice-card > strong {
    display: block;
    margin: .35rem 0 .8rem;
    color: #fff;
    font-size: 1.2rem;
}
.card-anticipation-invoice-card dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin: 0;
}
.card-anticipation-invoice-card dt { color: rgba(255,255,255,.55); font-size: .72rem; }
.card-anticipation-invoice-card dd { margin: .15rem 0 0; color: #fff; font-weight: 700; }
.card-anticipation-preview {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    background: rgba(0,0,0,.1);
}
.card-anticipation-preview__summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.08);
}
.card-anticipation-preview__summary > div { padding: 1rem; background: rgba(0,0,0,.18); }
.card-anticipation-preview__summary small,
.card-anticipation-preview__summary strong { display: block; }
.card-anticipation-preview__summary small { margin-bottom: .3rem; color: rgba(255,255,255,.56); }
.card-anticipation-preview__summary strong { color: #fff; font-size: 1.08rem; }
.card-anticipation-preview__table { margin: 0; }
.card-anticipation-preview > p { margin: 0; padding: 1.2rem; color: rgba(255,255,255,.6); text-align: center; }
.card-anticipation-actions { gap: .7rem; }
@media (max-width: 767px) {
    .card-anticipation-invoice-card dl,
    .card-anticipation-preview__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .card-anticipation-invoice-card dl,
    .card-anticipation-preview__summary { grid-template-columns: 1fr; }
}
.card-adjustment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.5rem;
}
.card-adjustment-form-grid__wide { grid-column: 1 / -1; }
.card-adjustment-form-grid [hidden] { display: none !important; }
.card-adjustment-form__actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.card-adjustment-format-switch {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: .8rem;
}
.card-adjustment-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.card-adjustment-mode {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 7rem;
    padding: 1.2rem;
    border: 1px solid rgba(103,217,232,.24);
    border-radius: .4rem;
    background: rgba(0,0,0,.14);
    color: inherit;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card-adjustment-mode:hover {
    transform: translateY(-2px);
    border-color: rgba(103,217,232,.65);
    background: rgba(103,217,232,.08);
    color: inherit;
}
.card-adjustment-mode__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(103,217,232,.12);
    color: #67d9e8;
    font-size: 1.35rem;
}
.card-adjustment-mode strong,
.card-adjustment-mode small { display: block; }
.card-adjustment-mode strong { margin-bottom: .3rem; font-size: 1.05rem; }
.card-adjustment-mode small { color: rgba(255,255,255,.62); line-height: 1.45; }
.card-adjustment-mode__arrow { color: #67d9e8; font-size: 1.4rem; }
.card-adjustment-section-title { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.card-adjustment-treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}
.card-adjustment-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-adjustment-treatment {
    position: relative;
    display: block;
    min-height: 8rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: .35rem;
    background: rgba(0,0,0,.12);
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.card-adjustment-treatment:hover { border-color: rgba(103,217,232,.45); }
.card-adjustment-treatment.is-selected {
    border-color: #67d9e8;
    background: rgba(103,217,232,.1);
    box-shadow: 0 0 0 1px rgba(103,217,232,.14), 0 7px 20px rgba(0,0,0,.16);
}
.card-adjustment-treatment input { position: absolute; top: 1rem; right: 1rem; }
.card-adjustment-treatment strong,
.card-adjustment-treatment small { display: block; padding-right: 1.5rem; }
.card-adjustment-treatment strong {
    margin-bottom: .65rem;
    font-size: 1.12rem;
    line-height: 1.35;
}
.card-adjustment-treatment small {
    color: rgba(255,255,255,.78);
    font-size: 1rem;
    line-height: 1.55;
}
.card-adjustments-page .form-group > small,
.card-adjustments-page .content__title small,
.card-adjustment-preview > [data-preview-description],
.card-adjustment-table__meta {
    font-size: .98rem;
    line-height: 1.5;
}
.card-adjustment-preview {
    padding: 1rem;
    border-left: 3px solid #67d9e8;
    border-radius: .3rem;
    background: rgba(103,217,232,.07);
}
.card-adjustment-preview > strong { display: block; margin-bottom: .25rem; color: #67d9e8; }
.card-adjustment-preview > [data-preview-description] { color: rgba(255,255,255,.7); }
.card-adjustment-preview__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: .85rem;
    overflow: hidden;
    border-radius: .25rem;
    background: rgba(255,255,255,.08);
}
.card-adjustment-preview__metrics > span { padding: .75rem; background: rgba(0,0,0,.16); }
.card-adjustment-preview__metrics small,
.card-adjustment-preview__metrics b { display: block; }
.card-adjustment-preview__metrics small { margin-bottom: .25rem; color: rgba(255,255,255,.55); }
.card-adjustment-period-results {
    max-height: min(430px, 62vh) !important;
    overflow-y: auto !important;
}
.card-adjustment-period-results .select2-results__option[aria-disabled="true"] {
    color: rgba(255,255,255,.38) !important;
}
.card-adjustment-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: .35rem;
    background: rgba(255,255,255,.08);
}
.card-adjustment-summary > div { padding: 1rem; background: rgba(0,0,0,.18); }
.card-adjustment-summary small,
.card-adjustment-summary strong { display: block; }
.card-adjustment-summary small { margin-bottom: .35rem; color: rgba(255,255,255,.55); }
.card-adjustment-deactivate { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.cashflow-movement__traces {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .18rem;
    margin-top: .22rem;
}
.cashflow-movement__trace {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    width: max-content;
    padding: .16rem .28rem;
    border-radius: .25rem;
    color: #62d8e8 !important;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, text-decoration-color .16s ease;
}
.cashflow-movement__trace:hover,
.cashflow-movement__trace:focus-visible,
.financial-trace-detail-link:hover,
.financial-trace-detail-link:focus-visible {
    background: rgba(98, 216, 232, .1);
    color: #b8f4fb !important;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: .16rem;
}
.financial-trace-detail-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .16rem .28rem;
    margin: -.16rem -.28rem;
    border-radius: .25rem;
    color: #62d8e8 !important;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, text-decoration-color .16s ease;
}
@media (max-width: 767px) {
    .card-adjustment-form-grid,
    .card-adjustment-summary,
    .card-adjustment-mode-grid,
    .card-adjustment-treatment-grid,
    .card-adjustment-preview__metrics { grid-template-columns: 1fr; }
    .card-adjustment-list-filter { flex-basis: 100%; }
    .card-adjustment-form-grid__wide { grid-column: auto; }
}

/* Acesso */
.auth-page {
    --auth-accent: #67d9e8;
    --auth-accent-secondary: #71dfa2;
    --auth-surface: rgba(4, 30, 32, .88);
    --auth-border: rgba(133, 235, 231, .2);
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
    font-size: 16px;
}
.auth-page::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    content: '';
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(2, 20, 22, .78), rgba(8, 47, 48, .58)),
        radial-gradient(circle at 78% 18%, rgba(103, 217, 232, .13), transparent 34%);
}
.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(340px, .85fr) minmax(520px, 1.15fr);
    min-height: 100vh;
}
.auth-visual {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 7rem);
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(145deg, rgba(4, 27, 29, .58), rgba(7, 51, 49, .32));
}
.auth-visual::after {
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    width: 26rem;
    height: 26rem;
    content: '';
    border: 1px solid rgba(103, 217, 232, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgba(103, 217, 232, .025), 0 0 0 9rem rgba(103, 217, 232, .018);
}
.auth-visual__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 590px;
}
.auth-visual__logo {
    display: block;
    width: 210px;
    max-width: 72%;
    height: auto;
    margin-bottom: clamp(3.5rem, 9vh, 7rem);
}
.auth-eyebrow {
    display: block;
    margin-bottom: .75rem;
    color: var(--auth-accent);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.auth-visual h1 {
    max-width: 600px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 4.1vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.auth-visual p {
    max-width: 530px;
    margin-bottom: 2.25rem;
    color: rgba(255, 255, 255, .74);
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.7;
}
.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.auth-benefits li {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem .9rem;
    color: rgba(255, 255, 255, .83);
    font-size: .94rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(0, 0, 0, .12);
}
.auth-benefits i { color: var(--auth-accent-secondary); font-size: 1.15rem; }
.auth-visual__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.auth-visual__glow--one {
    top: 12%;
    right: 8%;
    width: 9rem;
    height: 9rem;
    background: rgba(103, 217, 232, .08);
    box-shadow: 0 0 90px rgba(103, 217, 232, .24);
}
.auth-visual__glow--two {
    bottom: 8%;
    left: 13%;
    width: 6rem;
    height: 6rem;
    background: rgba(113, 223, 162, .07);
    box-shadow: 0 0 70px rgba(113, 223, 162, .19);
}
.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
}
.auth-card {
    width: 100%;
    max-width: 470px;
    padding: clamp(2rem, 4vw, 3.4rem);
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    background: var(--auth-surface);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .035);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.auth-card--setup { max-width: 570px; }
.auth-card__logo {
    display: none;
    width: 190px;
    max-width: 70%;
    height: auto;
    margin-bottom: 2.6rem;
}
.auth-card__header { margin-bottom: 2rem; }
.auth-card__header h2 {
    margin-bottom: .65rem;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -.025em;
}
.auth-card__header p,
.auth-card__description {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 1.02rem;
    line-height: 1.6;
}
.auth-feedback:empty { display: none; }
.auth-feedback .alert {
    margin: 0 0 1.5rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    font-size: .95rem;
    line-height: 1.5;
    text-align: left;
}
.auth-form { margin: 0; }
.auth-field { margin-bottom: 1.4rem; }
.auth-field > label {
    margin-bottom: .55rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    font-weight: 700;
}
.auth-input { position: relative; }
.auth-input > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    color: rgba(255, 255, 255, .48);
    font-size: 1.35rem;
    transform: translateY(-50%);
    transition: color .18s ease;
}
.auth-input .form-control {
    height: 56px;
    padding: .75rem 3.35rem .75rem 3rem;
    color: #fff;
    font-size: 1.06rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(0, 0, 0, .18) !important;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth-input .form-control::placeholder { color: rgba(255, 255, 255, .4); }
.auth-input .form-control:hover { border-color: rgba(255, 255, 255, .28); }
.auth-input .form-control:focus {
    border-color: var(--auth-accent);
    background: rgba(0, 0, 0, .24) !important;
    box-shadow: 0 0 0 3px rgba(103, 217, 232, .13);
}
.auth-input:focus-within > i { color: var(--auth-accent); }
.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: .55rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 1.3rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}
.auth-password-toggle:hover,
.auth-password-toggle:focus { color: #fff; background: rgba(255, 255, 255, .08); outline: 0; }
.auth-field label.error {
    display: block;
    margin: .5rem 0 0;
    color: #ff9da6;
    font-size: .9rem;
    font-weight: 600;
}
.auth-submit.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    min-height: 56px;
    margin-top: .35rem;
    padding: .8rem 1.25rem;
    color: #062d30;
    font-size: 1.05rem;
    font-weight: 800;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(105deg, var(--auth-accent), var(--auth-accent-secondary));
    box-shadow: 0 12px 28px rgba(29, 184, 186, .2);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.auth-submit.btn:hover,
.auth-submit.btn:focus {
    color: #062d30;
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow: 0 15px 32px rgba(29, 184, 186, .27), 0 0 0 3px rgba(103, 217, 232, .13);
}
.auth-submit.btn:disabled { cursor: wait; filter: saturate(.62); transform: none; opacity: .82; }
.auth-submit.is-loading > i { animation: auth-arrow-pulse .85s ease-in-out infinite alternate; }
@keyframes auth-arrow-pulse { to { transform: translateX(5px); } }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.9rem 0 1.35rem;
    color: rgba(255, 255, 255, .42);
    font-size: .9rem;
}
.auth-divider::before,
.auth-divider::after { flex: 1; height: 1px; content: ''; background: rgba(255, 255, 255, .1); }
.auth-passkey-area { text-align: center; }
.auth-passkey {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto .8rem;
    padding: 0;
    color: var(--auth-accent);
    border: 1px solid rgba(103, 217, 232, .48);
    border-radius: 50%;
    background: rgba(103, 217, 232, .08);
    box-shadow: 0 0 0 5px rgba(103, 217, 232, .035), 0 10px 28px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.auth-passkey:hover,
.auth-passkey:focus {
    color: #b7f8ff;
    border-color: var(--auth-accent);
    background: rgba(103, 217, 232, .15);
    box-shadow: 0 0 0 5px rgba(103, 217, 232, .08), 0 0 24px rgba(103, 217, 232, .2);
    outline: 0;
    transform: translateY(-2px);
}
.auth-passkey:disabled { cursor: wait; transform: none; opacity: .72; }
.auth-passkey__icon,
.auth-passkey__icon svg { display: block; width: 38px; height: 38px; }
.auth-passkey__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.auth-passkey.is-loading .auth-passkey__icon { opacity: .22; }
.auth-passkey.is-loading::after {
    position: absolute;
    width: 28px;
    height: 28px;
    content: '';
    border: 2px solid rgba(103, 217, 232, .25);
    border-top-color: var(--auth-accent);
    border-radius: 50%;
    animation: auth-spin .75s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-passkey__label {
    margin: 0 0 .25rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    font-weight: 700;
}
.auth-passkey-area > small { color: rgba(255, 255, 255, .5); font-size: .88rem; }
.auth-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, .68);
    font-size: .96rem;
}
.auth-back:hover,
.auth-back:focus { color: var(--auth-accent); }
.auth-code-input .form-control {
    padding-right: 1rem;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-align: center;
}
.auth-setup-steps { display: grid; gap: 1rem; }
.auth-setup-step {
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    background: rgba(0, 0, 0, .13);
}
.auth-setup-step__title {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .9rem;
    font-size: 1rem;
    font-weight: 800;
}
.auth-setup-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #073236;
    border-radius: 50%;
    background: var(--auth-accent);
}
.auth-qrcode { margin: 1rem 0; text-align: center; }
.auth-qrcode__image {
    display: inline-block;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}
.auth-qrcode__error { display: none; margin: .8rem 0 0; color: #ff9da6; }
.auth-secret { margin: 1rem 0 0; color: rgba(255, 255, 255, .65); font-size: .92rem; }
.auth-secret code {
    display: block;
    margin-top: .45rem;
    padding: .65rem .75rem;
    overflow-wrap: anywhere;
    color: #d8fbff;
    border: 1px solid rgba(103, 217, 232, .15);
    border-radius: 6px;
    background: rgba(0, 0, 0, .2);
    font-size: 1rem;
    letter-spacing: .04em;
}
@media (max-width: 991px) {
    .auth-shell { display: block; }
    .auth-visual { display: none; }
    .auth-panel { min-height: 100vh; padding: 2rem; }
    .auth-card__logo { display: block; }
}
@media (max-width: 575px) {
    .auth-panel { align-items: flex-start; padding: 1rem; }
    .auth-card { margin: 1rem 0; padding: 1.65rem 1.25rem; border-radius: 11px; }
    .auth-card__logo { width: 165px; margin-bottom: 2.1rem; }
    .auth-card__header { margin-bottom: 1.65rem; }
    .auth-card__header h2 { font-size: 2rem; }
    .auth-input .form-control { height: 54px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-page *,
    .auth-page *::before,
    .auth-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
[data-csp-style*="display:none"] {
    display: none !important;
}
