@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #ffffff;
    --primary: #123B5D;
    --primary-dark: #0A2942;
    --accent: #00A896;
    --text: #050505;
    --muted: #4f5866;
    --line: #eceef2;
    --soft: #f7f7f8;
    --success: #087f5b;
    --warning: #b7791f;
    --danger: #cc0000;
    --debit: #cc0000;
}

.deposit-credit-flow { max-width: 820px; }
.deposit-balance-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin-bottom:22px; overflow:hidden; border:1px solid var(--line); background:var(--line); border-radius:8px; }
.deposit-balance-strip>div { min-width:0; padding:16px; background:#fff; }
.deposit-balance-strip span, .deposit-plan-confirmed>span, .credit-simulation-featured span { display:block; color:#526173; font-size:13px; font-weight:700; }
.deposit-balance-strip strong { display:block; margin-top:6px; color:var(--primary); font-size:20px; overflow-wrap:anywhere; }
.deposit-plan-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.credit-simulation-card { padding:22px; border:1px solid #cde7e3; border-left:5px solid var(--accent); background:#f4fbfa; border-radius:8px; }
.credit-simulation-featured { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid #d8ebe8; }
.credit-simulation-featured strong { color:var(--primary); font-size:30px; line-height:1; text-align:right; }
.credit-simulation-card dl { margin:6px 0 0; }
.credit-simulation-card dl>div { display:flex; justify-content:space-between; gap:18px; padding:11px 0; border-bottom:1px solid #d8ebe8; }
.credit-simulation-card dt { color:#526173; }
.credit-simulation-card dd { margin:0; color:#16283a; font-weight:800; text-align:right; }
.credit-simulation-card p, .deposit-plan-confirmed p { margin:16px 0 0; color:#526173; font-size:14px; line-height:1.55; }
.deposit-plan-confirmed { margin-bottom:22px; padding:20px; border:1px solid #cde7e3; background:#f4fbfa; border-radius:8px; }
.deposit-plan-confirmed>strong { display:block; margin:5px 0 14px; color:var(--primary); font-size:25px; }
.deposit-plan-confirmed>div { display:flex; flex-wrap:wrap; gap:8px; }
.deposit-plan-confirmed small { padding:7px 10px; color:#174b48; background:#dff4f1; border-radius:4px; font-weight:700; }
.policy-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr); gap:24px; align-items:start; }
.policy-form-panel { padding:26px; }
.policy-example-card { position:sticky; top:24px; padding:26px; color:#fff; background:var(--primary); border-radius:8px; box-shadow:var(--shadow); }
.policy-example-card>span { display:block; color:#b9d7e7; font-size:13px; font-weight:700; }
.policy-example-card>strong { display:block; margin:8px 0; font-size:36px; }
.policy-example-card>p { margin:0 0 20px; color:#d8e9f2; line-height:1.5; }
.policy-example-card dl { margin:0; border-top:1px solid rgba(255,255,255,.18); }
.policy-example-card dl>div { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.18); }
.policy-example-card dd { margin:0; font-weight:800; text-align:right; }
.credit-request-heading { max-width:700px; margin:0 auto 22px; text-align:center; }
.credit-request-heading .page-title { margin-bottom:8px; }
.credit-request-heading p { max-width:560px; margin:0 auto; color:#526173; font-size:17px; line-height:1.55; }
.credit-request-flow { max-width:700px; }
.credit-request-card { padding:34px; }
.credit-request-wizard { display:grid; gap:26px; }
.credit-wizard-progress { display:flex; align-items:center; justify-content:center; width:min(360px,100%); margin:0 auto; }
.credit-wizard-progress span { display:grid; width:34px; height:34px; place-items:center; flex:0 0 34px; border:1px solid #cdd6df; border-radius:50%; color:#657486; background:#fff; font-size:14px; font-weight:800; }
.credit-wizard-progress span.is-active { border-color:var(--primary); color:#fff; background:var(--primary); }
.credit-wizard-progress span.is-complete { border-color:#0f8a78; color:#fff; background:#0f8a78; }
.credit-wizard-progress i { width:72px; height:2px; background:#dfe5eb; }
.credit-wizard-step { display:grid; gap:22px; }
.credit-question { display:block; color:#0c1d2e; font-size:25px; font-weight:800; text-align:center; }
.credit-request-input { max-width:440px; width:100%; margin:0 auto; }
.credit-request-input input { min-width:0; font-size:34px; font-weight:800; text-align:center; }
.credit-wizard-step>small { display:block; color:#59697a; font-size:14px; line-height:1.5; text-align:center; }
.credit-step-title { text-align:center; }
.credit-step-title>span { color:var(--primary); font-size:13px; font-weight:800; text-transform:uppercase; }
.credit-step-title h2 { margin:5px 0 0; font-size:24px; }
.credit-request-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.credit-request-overview>div { min-width:0; padding:16px; background:#fff; }
.credit-request-overview>div+div { border-left:1px solid var(--line); }
.credit-request-overview span { display:block; color:#5c6a79; font-size:12px; font-weight:700; }
.credit-request-overview strong { display:block; margin-top:6px; color:#123b5d; font-size:18px; overflow-wrap:anywhere; }
.credit-installment-result { padding:20px; border-left:5px solid #0f8a78; border-radius:8px; background:#f0f8f7; text-align:center; }
.credit-installment-result>span { display:block; color:#516172; font-size:13px; font-weight:700; }
.credit-installment-result>strong { display:block; margin:5px 0; color:#123b5d; font-size:28px; }
.credit-installment-result small { color:#445565; font-size:14px; }
.credit-wizard-actions { display:grid; grid-template-columns:1fr 1.5fr; gap:12px; }
.credit-wizard-actions .btn { width:100%; min-width:0; }
.credit-final-message { padding:22px; border-left:5px solid var(--primary); border-radius:8px; background:#f4f6fa; }
.credit-final-message p { margin:0; color:#344454; font-size:17px; line-height:1.6; }
.credit-final-message p+p { margin-top:12px; }
.credit-final-message strong { color:#102f4a; }
.credit-final-summary { margin:0; }
.credit-final-summary>div { display:flex; justify-content:space-between; gap:18px; padding:13px 0; border-bottom:1px solid var(--line); }
.credit-final-summary dt { color:#526173; }
.credit-final-summary dd { margin:0; color:#16283a; font-weight:800; text-align:right; }
.credit-request-result { padding:22px; border:1px solid #cfe1ec; border-radius:8px; background:#f5fafc; }
.credit-request-result>span { color:var(--primary); font-size:13px; font-weight:800; text-transform:uppercase; }
.credit-request-result h2 { margin:6px 0 18px; font-size:25px; }
.credit-request-result dl { margin:0; }
.credit-request-result dl>div { display:flex; justify-content:space-between; gap:18px; padding:11px 0; border-bottom:1px solid #dbe7ed; }
.credit-request-result dd { margin:0; font-weight:800; text-align:right; }
.credit-request-result p { margin:16px 0 0; color:#4f6070; }

@media(max-width:760px) {
    .deposit-balance-strip, .deposit-plan-fields, .policy-layout { grid-template-columns:1fr; }
    .credit-simulation-featured { align-items:flex-start; flex-direction:column; gap:8px; }
    .credit-simulation-featured strong { text-align:left; }
    .policy-example-card { position:static; }
    .credit-request-heading { margin-bottom:18px; text-align:left; }
    .credit-request-heading p { margin:0; font-size:16px; }
    .credit-request-card { padding:22px 16px; }
    .credit-question { font-size:22px; text-align:left; }
    .credit-request-input input { font-size:30px; }
    .credit-request-overview { grid-template-columns:1fr; }
    .credit-request-overview>div+div { border-left:0; border-top:1px solid var(--line); }
    .credit-wizard-actions { grid-template-columns:1fr; }
    .credit-wizard-actions .btn-primary { order:-1; }
    .credit-final-message p { font-size:16px; }
}

.account-finance-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(210px, .58fr));
    gap: 16px;
}

.account-credit-summary {
    padding: 24px;
    border: 1px solid #dce6ec;
    background: #f3fbfa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.account-credit-summary span,
.credit-summary-grid span,
.account-installments article span {
    color: var(--muted);
    font-weight: 600;
}

.account-credit-summary strong { font-size: 30px; color: var(--primary); }
.account-credit-summary a { color: #087f70; font-weight: 800; }
.account-collateral-summary { background:#f7f8fb; }

.credit-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.credit-summary-grid > div {
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.credit-summary-grid strong { display: block; margin-top: 6px; font-size: 21px; color: var(--primary); }

.installment-preview {
    border: 1px solid #b9ddd8;
    border-left: 5px solid var(--accent);
    background: #f3fbfa;
    padding: 18px;
}

.installment-preview > span { color: var(--muted); font-weight: 700; }
.installment-preview > strong { display: block; margin: 6px 0 14px; color: var(--primary); font-size: 28px; }
.installment-preview dl { margin: 0; }
.installment-preview dl div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid #dceae8; }
.installment-preview dt { color: var(--muted); }
.installment-preview dd { margin: 0; font-weight: 800; text-align: right; }
.installment-preview small { display: block; margin-top: 14px; line-height: 1.55; color: #344b57; }

.credit-empty-state { padding: 20px; border: 1px solid #dce6ec; background: #f7fafb; }
.credit-empty-state strong { font-size: 20px; }
.credit-empty-state p { color: var(--muted); line-height: 1.6; }

.account-installments { margin-top: 28px; }
.account-installments article { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.account-installments article div { display: flex; flex-direction: column; gap: 4px; }
.account-installments article div:last-child { text-align: right; }

@media (max-width: 720px) {
    .account-finance-overview,
    .credit-summary-grid { grid-template-columns: 1fr; }
    .account-credit-summary { padding: 20px; }
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    font-family: Barlow, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.brand-logo {
    width: auto;
    height: 46px;
    display: block;
    object-fit: contain;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

.hero {
    position: relative;
    width: 100%;
    min-height: clamp(430px, 32.3vw, 620px);
    overflow: hidden;
    background: #111;
}

.hero-banner {
    border-bottom: 1px solid var(--line);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-slide picture,
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.hero-slide img {
    object-fit: cover;
    object-position: center;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 30, 0.32), rgba(0, 0, 30, 0.16) 42%, rgba(0, 0, 30, 0.02) 72%, transparent);
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: clamp(430px, 32.3vw, 620px);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-copy {
    width: min(600px, 92%);
    color: #fff;
    padding: 46px 0 74px;
    margin-left: clamp(0px, 8vw, 78px);
    pointer-events: auto;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 600;
}

.hero-copy p {
    max-width: 520px;
    margin: 0 0 30px;
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.36;
}

.hero-button {
    min-width: 150px;
    min-height: 48px;
    padding: 0 22px;
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

.hero-button:hover {
    background: #f8f8f8;
    color: var(--primary-dark);
}

.hero-pause {
    position: absolute;
    z-index: 5;
    top: 22px;
    left: calc((100% - min(1180px, calc(100% - 32px))) / 2 + clamp(0px, 8vw, 78px));
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.hero-pause-icon {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 10px;
    line-height: 1;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 30px;
    background: #fff;
}

.section {
    padding: 72px 0;
}

.section-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.section-lead {
    max-width: 780px;
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.5;
}

.self-service-section {
    background: #f7f8fb;
}

.self-service-heading {
    margin-bottom: 28px;
}

.self-service-heading h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(31px, 3.6vw, 46px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

.self-service-heading p {
    max-width: 790px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.5;
}

.self-service-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.service-card {
    --step-color: var(--primary);
    position: relative;
    min-height: 178px;
    border: 1px solid #e6e8ed;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    box-shadow: 0 10px 26px rgba(20, 24, 32, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--step-color);
    box-shadow: 0 18px 36px rgba(0, 0, 60, 0.16);
}

.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: var(--step-color);
    opacity: 0;
    transition: opacity 180ms ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card-badge {
    min-height: 22px;
    transform: translateY(-11px);
    border-radius: 4px;
    padding: 2px 8px;
    background: var(--step-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

.service-card-body {
    width: 100%;
    flex: 1;
    padding: 14px 18px 26px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 16px;
}

.service-card:nth-child(2) {
    --step-color: #8a7a4e;
}

.service-card:nth-child(3) {
    --step-color: #14765f;
}

.service-card:nth-child(4) {
    --step-color: #31315e;
}

.service-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    padding: 8px;
    border-radius: 8px;
    background: #f5f5f8;
    transition: transform 180ms ease;
}

.service-card:hover img {
    transform: scale(1.07);
}

.service-card h3 {
    max-width: 170px;
    margin: 0;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 700;
    color: var(--text);
}

.service-help {
    margin-top: 30px;
    padding: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    text-align: center;
}

.service-help a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-section {
    background: #fafbfc;
}

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

.news-card {
    position: relative;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 18px 42px rgba(20, 24, 32, 0.12);
}

.news-card picture,
.news-card img {
    width: 100%;
    height: 100%;
    display: block;
}

.news-card picture {
    position: absolute;
    inset: 0;
}

.news-card img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 220ms ease, filter 220ms ease;
}

.news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
}

.news-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.news-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 4px;
    text-align: left;
}

.news-card-overlay a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(3, 9, 18, 0.62);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.12;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13);
}

.news-card-overlay a:hover {
    background: var(--primary);
    color: #fff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.step {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.enhanced-footer {
    padding: 0;
    background: #030912;
    color: rgba(255, 255, 255, 0.72);
    border-top: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.8fr);
    gap: clamp(28px, 5vw, 70px);
    padding: 48px 0 34px;
}

.footer-brand-block {
    display: grid;
    align-content: start;
    gap: 18px;
}

.footer-logo {
    width: 190px;
    height: auto;
}

.footer-brand-block p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social a {
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

.footer-column h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
}

.footer-column ul {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 600;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-company {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0 28px;
}

.footer-company div:first-child {
    display: grid;
    gap: 4px;
}

.footer-company strong {
    color: #fff;
}

.footer-company span,
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 600;
}

.footer-legal-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-legal-links a:hover {
    color: #fff;
}

.cms-hero {
    padding: 76px 0 58px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #fff 0%, #fff6f6 100%);
}

.cms-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
}

.cms-hero p {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.45;
}

.cms-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}

.cms-content,
.cms-account-cta {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 24, 32, 0.05);
}

.cms-content {
    padding: clamp(22px, 4vw, 38px);
    color: #1f2937;
    font-size: 18px;
    line-height: 1.65;
}

.cms-content h2,
.cms-content h3 {
    margin: 1.2em 0 0.45em;
    color: var(--text);
    line-height: 1.14;
}

.cms-content h2:first-child,
.cms-content h3:first-child,
.cms-content p:first-child {
    margin-top: 0;
}

.cms-content a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cms-account-cta {
    position: sticky;
    top: 98px;
    padding: 24px;
    display: grid;
    gap: 12px;
    background: linear-gradient(180deg, #fff 0%, #fff6f6 100%);
}

.cms-account-cta h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.08;
}

.cms-account-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.grow-field {
    flex: 1 1 260px;
}

.footer-admin-columns,
.footer-admin-pages,
.footer-social-editor {
    display: grid;
    gap: 16px;
}

.footer-admin-column-card,
.new-footer-page-card,
.footer-social-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.footer-admin-page-card {
    display: grid;
    gap: 12px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    padding: 14px;
    background: #fafbfc;
}

.new-footer-page-card {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    background: #fffafa;
}

.new-footer-page-card h3,
.footer-social-editor h3 {
    margin: 0;
    font-size: 21px;
}

.new-footer-page-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.footer-social-editor {
    margin-top: 18px;
}

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

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px 16px;
    background: var(--soft);
}

.auth-card {
    width: min(460px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.auth-card h1 {
    margin: 18px 0 8px;
    font-size: 34px;
}

.auth-login-brand {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    margin: 0 auto 22px;
}

.auth-login-logo {
    display: block;
    width: 118px;
    height: 118px;
    object-fit: contain;
}

.auth-register-brand {
    display: grid;
    place-items: center;
    width: min(210px, 70%);
    aspect-ratio: 1;
    margin: 0 auto 18px;
}

.auth-register-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-card > h1,
.auth-card > p {
    text-align: center;
}

.secret-input {
    position: relative;
}

.secret-input input {
    width: 100%;
    padding-right: 82px;
    letter-spacing: 0;
}

.secret-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    padding: 8px;
}

.signup-flow {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.signup-progress {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.signup-progress span {
    height: 5px;
    border-radius: 999px;
    background: #eceff4;
}

.signup-progress span.is-active {
    background: var(--primary);
}

.signup-step {
    display: none;
    min-height: 176px;
}

.signup-step.is-active {
    display: grid;
    gap: 14px;
    align-content: start;
    animation: signupStepIn 220ms ease;
    justify-items: center;
    text-align: center;
}

.signup-step > .field,
.signup-step > .signup-address {
    width: 100%;
}

.signup-flow .field,
.signup-flow .field input {
    text-align: center;
}

.signup-address {
    display: grid;
    gap: 14px;
}

.signup-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.signup-actions .btn {
    min-width: 132px;
}

.signup-review {
    text-align: center;
    padding: 22px 0 8px;
}

.signup-review h2 {
    margin: 16px 0 8px;
    font-size: 24px;
}

.signup-review p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.signup-loader {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid #e7e9ff;
    border-top-color: var(--primary);
    animation: signupSpin 850ms linear infinite;
}

.field input.has-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
}

.field [data-field-error]:empty {
    display: none;
}

.field [data-field-error] {
    color: var(--danger);
    font-weight: 700;
}

@keyframes signupStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes signupSpin {
    to {
        transform: rotate(360deg);
    }
}

.form-grid {
    display: grid;
    gap: 14px;
}

.auth-secondary,
.auth-admin-link {
    margin: 20px 0 0;
    text-align: center;
    color: var(--muted);
}

.auth-secondary a {
    color: var(--primary);
    font-weight: 700;
}

.auth-admin-link {
    margin-top: 12px;
    font-size: 13px;
}

.auth-admin-link a {
    text-decoration: underline;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
}

.alert {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-weight: 600;
}

.alert-error {
    background: #fff0f0;
    color: #9b0000;
}

.alert-success {
    background: #eaf8f1;
    color: #075c42;
}

.dashboard-shell {
    --sidebar-width: 80px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    background: #fafbfc;
    transition: grid-template-columns 180ms ease;
}

.dashboard-shell.is-sidebar-open {
    --sidebar-width: 292px;
}

.sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 100vh;
    border-right: 1px solid var(--line);
    padding: 18px 12px;
    background: #fff;
    box-shadow: 10px 0 32px rgba(20, 24, 32, 0.05);
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.sidebar-head {
    min-height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dashboard-shell.is-sidebar-open .sidebar-head {
    justify-content: space-between;
}

.sidebar-brand {
    min-width: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    transition: width 160ms ease;
}

.sidebar-brand-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.sidebar .brand-logo {
    width: 174px;
    max-width: none;
    height: 42px;
    object-fit: contain;
    object-position: left center;
    transition: opacity 160ms ease, transform 160ms ease;
}

.dashboard-shell:not(.is-sidebar-open) .sidebar .brand-logo {
    opacity: 0;
    pointer-events: none;
}

.dashboard-shell:not(.is-sidebar-open) .sidebar-brand {
    width: 42px;
}

.dashboard-shell.is-sidebar-open .sidebar-brand-mark {
    display: none;
}

.sidebar-toggle {
    position: absolute;
    right: -36px;
    top: 3px;
    z-index: 35;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 60, 0.28);
    transition: transform 160ms ease, background 160ms ease;
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.04);
}

.sidebar-toggle span::before,
.sidebar-toggle span::after {
    content: "";
    position: absolute;
    left: 16px;
    width: 11px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: transform 160ms ease;
}

.sidebar-toggle span::before {
    top: 16px;
    transform: rotate(45deg);
}

.sidebar-toggle span::after {
    top: 23px;
    transform: rotate(-45deg);
}

.dashboard-shell.is-sidebar-open .sidebar-toggle span::before {
    transform: rotate(-45deg);
}

.dashboard-shell.is-sidebar-open .sidebar-toggle span::after {
    transform: rotate(45deg);
}

.sidebar-nav {
    display: grid;
    gap: 6px;
    margin-top: 26px;
    overflow-x: hidden;
}

.sidebar-trust {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 22px 4px 8px;
    overflow: hidden;
}

.sidebar-trust img {
    width: 150px;
    height: 50px;
    display: block;
    object-fit: contain;
}

.dashboard-shell:not(.is-sidebar-open) .sidebar-trust img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.sidebar-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    justify-content: center;
    padding: 0 12px;
    color: #20242c;
    font-weight: 700;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease;
}

.dashboard-shell:not(.is-sidebar-open) .sidebar-link {
    width: 48px;
    height: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 0;
}

.dashboard-shell.is-sidebar-open .sidebar-link {
    justify-content: flex-start;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    background: #f0f2ff;
    color: var(--primary);
}

.nav-label {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 150ms ease, transform 150ms ease;
    pointer-events: none;
    visibility: hidden;
    width: 0;
    overflow: hidden;
}

.dashboard-shell.is-sidebar-open .nav-label {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    width: auto;
    overflow: visible;
}

.nav-icon {
    position: relative;
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.nav-icon::before,
.nav-icon::after {
    content: "";
    position: absolute;
    border-color: currentColor;
}

.nav-icon-home::before {
    inset: 7px 3px 3px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.nav-icon-home::after {
    left: 4px;
    top: 1px;
    width: 11px;
    height: 11px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.nav-icon-wallet::before,
.nav-icon-bill::before,
.nav-icon-statement::before,
.nav-icon-edit::before {
    inset: 3px 2px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.nav-icon-wallet::after {
    right: 2px;
    top: 8px;
    width: 8px;
    height: 5px;
    border: 2px solid currentColor;
    border-radius: 3px 0 0 3px;
}

.nav-icon-pix::before {
    left: 4px;
    top: 4px;
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 4px;
    transform: rotate(45deg);
}

.nav-icon-cancel::before {
    inset: 3px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.nav-icon-cancel::after {
    left: 5px;
    top: 9px;
    width: 10px;
    border-top: 2px solid currentColor;
    transform: rotate(-45deg);
}

.nav-icon-credit::before {
    inset: 4px 2px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.nav-icon-credit::after {
    left: 5px;
    right: 5px;
    top: 9px;
    border-top: 2px solid currentColor;
}

.nav-icon-withdraw::before {
    left: 8px;
    top: 2px;
    height: 13px;
    border-left: 2px solid currentColor;
}

.nav-icon-withdraw::after {
    left: 5px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.nav-icon-users::before,
.nav-icon-user::before {
    left: 7px;
    top: 2px;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.nav-icon-users::after,
.nav-icon-user::after {
    left: 3px;
    top: 11px;
    width: 14px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 8px 8px 2px 2px;
}

.nav-icon-shield::before {
    left: 4px;
    top: 2px;
    width: 12px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 7px 7px 9px 9px;
}

.nav-icon-search::before {
    left: 2px;
    top: 2px;
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.nav-icon-search::after {
    right: 1px;
    bottom: 2px;
    width: 8px;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    transform-origin: right center;
}

.nav-icon-edit::after {
    right: 2px;
    top: 2px;
    width: 8px;
    border-top: 2px solid currentColor;
    transform: rotate(-45deg);
}

.balance-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(22px, 4vw, 32px);
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 24, 32, 0.07);
}

.balance-hero span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 700;
}

.balance-hero strong {
    color: var(--primary);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1;
}

.account-dashboard {
    display: grid;
    gap: 18px;
}

.account-hero-panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 28px);
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    box-shadow: 0 14px 34px rgba(20, 24, 32, 0.05);
}

.account-hero-panel .page-title {
    margin-bottom: 8px;
}

.page-subtitle {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

.dashboard-overview {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.quick-actions-panel {
    display: grid;
    align-content: space-between;
    gap: 22px;
}

.quick-actions-panel h2 {
    margin: 4px 0 8px;
    font-size: 26px;
}

.quick-actions-panel p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.panel-kicker {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

.quick-action-card {
    min-height: 116px;
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    color: var(--text);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quick-action-card:hover {
    border-color: rgba(0, 0, 60, 0.35);
    box-shadow: 0 14px 32px rgba(0, 0, 60, 0.08);
    transform: translateY(-1px);
}

.quick-action-card .nav-icon {
    color: var(--primary);
}

.quick-action-card strong,
.quick-action-card small {
    display: block;
}

.quick-action-card small {
    color: var(--muted);
    font-weight: 600;
    line-height: 1.35;
}

.icon-button {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
}

.icon-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.bank-statement {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 24, 32, 0.05);
}

.statement-row {
    display: grid;
    grid-template-columns: 44px 1fr auto auto;
    align-items: center;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 16px;
    background: #fafbfc;
    transition: border-color 160ms ease, background 160ms ease;
}

.statement-row:hover {
    border-color: #ffd6d6;
    background: #fff;
}

.statement-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
}

.statement-icon.is-credit {
    background: #eaf8f1;
    color: var(--success);
}

.statement-icon.is-debit {
    background: #fff0f0;
    color: var(--debit);
}

.statement-info {
    display: grid;
    gap: 4px;
}

.statement-info span {
    color: var(--muted);
    font-size: 14px;
}

.statement-info small {
    width: fit-content;
    border-radius: 999px;
    padding: 3px 8px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.statement-amount {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.statement-amount.is-credit {
    color: var(--success);
}

.statement-amount.is-debit {
    color: var(--debit);
}

.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    color: var(--muted);
    font-weight: 700;
}

.profile-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 340px);
    gap: 16px;
    margin-bottom: 18px;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 24, 32, 0.05);
}

.profile-card.is-compact {
    display: grid;
    align-content: center;
}

.profile-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.profile-card span,
.profile-card small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.profile-card strong {
    display: block;
    margin: 4px 0;
    font-size: 24px;
}

.profile-form .editor-section {
    box-shadow: 0 12px 32px rgba(20, 24, 32, 0.04);
}

.insufficient-balance {
    display: grid;
    gap: 12px;
    border: 1px solid #ffd6d6;
    border-radius: 8px;
    padding: 20px;
    background: #fff7f7;
}

.insufficient-balance h2 {
    margin: 0;
    font-size: 24px;
}

.insufficient-balance p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.insufficient-balance .btn {
    justify-self: start;
}

.dashboard-main {
    min-width: 0;
}

.topbar {
    min-height: 76px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    background: #fff;
}

.page-content {
    padding: 28px;
}

.page-title {
    margin: 0 0 22px;
    font-size: 34px;
}

.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 28px);
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    box-shadow: 0 14px 34px rgba(20, 24, 32, 0.05);
}

.admin-page-header .page-title {
    margin-bottom: 8px;
}

.admin-page-header p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 10px;
    background: #f0f2ff;
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card,
.panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(20, 24, 32, 0.04);
}

.stat-card {
    min-height: 126px;
    display: grid;
    align-content: center;
    gap: 8px;
}

.stat-card:hover,
.panel:hover,
.money-card:hover {
    box-shadow: 0 18px 42px rgba(20, 24, 32, 0.07);
}

.stat-label {
    color: var(--muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 30px;
    font-weight: 800;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 24, 32, 0.04);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

th {
    background: #fff7f7;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f0f2f5;
    font-weight: 700;
    font-size: 13px;
}

.environment-ribbon {
    background: #111;
    color: #fff;
    padding: 9px 14px;
    text-align: center;
    font-weight: 700;
}

.banner-editor {
    display: grid;
    gap: 18px;
}

.banner-edit-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.banner-edit-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.banner-edit-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.content-editor {
    display: grid;
    gap: 22px;
}

.editor-section {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(20, 24, 32, 0.05);
}

.editor-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.editor-section-heading h2 {
    margin: 0;
    font-size: 24px;
}

.editor-section-heading p {
    max-width: 640px;
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.editor-grid {
    display: grid;
    gap: 16px;
}

.editor-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-row {
    display: flex;
    align-items: end;
    gap: 14px;
    flex-wrap: wrap;
}

.short-field {
    width: 110px;
}

.toggle-line {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

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

.compact-editor-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.compact-card-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.compact-card-preview img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.compact-card-preview strong {
    font-size: 18px;
}

.compact-card-fields {
    display: grid;
    gap: 12px;
    padding: 16px;
}

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

.feature-editor-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.feature-editor-preview {
    position: relative;
    min-height: 180px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.feature-editor-preview picture,
.feature-editor-preview img {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-editor-preview picture {
    position: absolute;
    inset: 0;
}

.feature-editor-preview img {
    object-fit: cover;
}

.feature-editor-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.feature-editor-preview a {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    transform: none;
    min-height: 38px;
    border-radius: 6px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(3, 9, 18, 0.62);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.feature-editor-fields {
    display: grid;
    gap: 12px;
}

.banner-list {
    display: grid;
    gap: 18px;
}

.banner-row-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.banner-thumbs {
    display: grid;
    grid-template-columns: 1fr 86px;
    gap: 10px;
}

.banner-thumbs figure {
    margin: 0;
}

.banner-thumbs img {
    width: 100%;
    height: 116px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
    display: block;
}

.banner-thumbs figcaption {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.banner-thumbs small {
    display: block;
    margin-top: 3px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.banner-fields {
    display: grid;
    gap: 12px;
}

.banner-upload-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid #dfe3ff;
    border-radius: 8px;
    padding: 14px;
    background: #f8f9ff;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 8;
    display: flex;
    justify-content: flex-end;
    padding: 14px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 35%);
}

.money-flow {
    min-height: calc(100vh - 260px);
    display: grid;
    place-items: start center;
    padding-top: 18px;
}

.money-card {
    width: min(620px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #fff 72%, #fffafa 100%);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 18px 46px rgba(20, 24, 32, 0.08);
}

.money-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.money-card-header span {
    color: var(--muted);
    font-weight: 700;
}

.money-card-header strong {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary);
}

.currency-input-wrap label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
}

.currency-input {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e2e5eb;
    border-radius: 8px;
    padding: 0 18px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.currency-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 60, 0.08);
}

.currency-input span {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
}

.currency-input input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: 0;
}

.future-balance-box {
    border: 1px solid #ffd6d6;
    border-radius: 8px;
    background: #fff7f7;
    padding: 18px;
    display: grid;
    gap: 7px;
}

.future-balance-box span {
    color: var(--muted);
    font-weight: 700;
}

.future-balance-box strong {
    color: var(--primary);
    font-size: clamp(27px, 5vw, 38px);
}

.operation-summary {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.operation-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
}

.operation-summary div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.operation-summary span {
    color: var(--muted);
    font-weight: 700;
}

.operation-summary strong {
    text-align: right;
    font-size: 15px;
}

.pix-payment-flow {
    padding-bottom: 40px;
}

.pix-payment-card {
    width: min(580px, 100%);
}

.pix-payment-card .field {
    gap: 8px;
}

.pix-payment-card .field input {
    min-height: 52px;
}

.pix-field-feedback {
    min-height: 18px;
    color: var(--muted);
    line-height: 1.4;
}

.pix-field-feedback.is-valid {
    color: #08783e;
    font-weight: 700;
}

.pix-field-feedback.is-error {
    color: #b00020;
    font-weight: 700;
}

.pix-field-feedback a {
    color: inherit;
    text-decoration: underline;
}

.pix-payment-review {
    overflow: hidden;
    border-radius: 8px;
    background: #030912;
    color: #fff;
}

.pix-payment-review-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pix-payment-review-title span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.pix-payment-review-title strong {
    color: #fff;
    font-size: 24px;
}

.pix-payment-review dl,
.pix-receipt-data {
    margin: 0;
}

.pix-payment-review dl {
    padding: 8px 18px 12px;
}

.pix-payment-review dl div,
.pix-receipt-data div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
}

.pix-payment-review dt {
    color: rgba(255, 255, 255, 0.66);
}

.pix-payment-review dd,
.pix-receipt-data dd {
    max-width: 65%;
    margin: 0;
    text-align: right;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.pix-receipt {
    width: min(590px, 100%);
    background: #fff;
    text-align: center;
}

.pix-receipt-status {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #e7f7ee;
}

.pix-receipt-status span {
    width: 24px;
    height: 13px;
    border-left: 3px solid #08783e;
    border-bottom: 3px solid #08783e;
    transform: translateY(-2px) rotate(-45deg);
}

.pix-receipt-heading > span {
    color: #08783e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pix-receipt-heading h2 {
    margin: 7px 0 6px;
    font-size: 28px;
}

.pix-receipt-heading p {
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.45;
}

.pix-receipt-amount {
    display: block;
    margin: 24px 0;
    color: var(--text);
    font-size: clamp(34px, 7vw, 46px);
}

.pix-receipt-data {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.pix-receipt-data div + div {
    border-top: 1px solid var(--line);
}

.pix-receipt-data dt {
    color: var(--muted);
    font-weight: 600;
}

.pix-receipt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.boleto-result {
    display: grid;
    gap: 16px;
}

.boleto-result h2 {
    margin: 0;
    font-size: 30px;
}

.boleto-result p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.boleto-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.boleto-summary div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fafbfc;
}

.boleto-summary span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-weight: 700;
}

.boleto-summary strong {
    color: var(--primary);
    font-size: 24px;
}

.copy-code-field {
    min-height: 112px;
    resize: vertical;
    font-weight: 700;
    line-height: 1.6;
}

.copy-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 100;
    transform: translate(-50%, -50%) scale(0.94);
    border-radius: 8px;
    padding: 18px 24px;
    background: #111;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
}

.copy-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.trust-editor-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

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

.logo-editor-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.logo-preview {
    min-height: 100px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    place-items: center;
    padding: 18px;
}

.logo-preview-light {
    background: #fff;
}

.logo-preview-dark {
    background: #030912;
}

.logo-preview img {
    width: min(220px, 100%);
    max-height: 58px;
    object-fit: contain;
}

.logo-preview-square img {
    width: 116px;
    height: 116px;
    object-fit: contain;
}

.sidebar-trust-preview {
    width: 170px;
    min-height: 78px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.sidebar-trust-preview img {
    width: 150px;
    height: 50px;
    object-fit: contain;
}

.support-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.account-composition {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 18px;
}

.account-composition > div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: var(--soft);
}

.account-composition span {
    display: block;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 6px;
}

.account-composition strong {
    color: var(--text);
    font-size: 22px;
}

.btn-wide {
    width: 100%;
}

@media (max-width: 900px) {
    .self-service-cards,
    .news-grid,
    .steps,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-shell {
        --sidebar-width: 76px;
        display: block;
        padding-left: var(--sidebar-width);
    }

    .dashboard-shell.is-sidebar-open {
        --sidebar-width: 76px;
    }

    .admin-page-header,
    .editor-section-heading {
        flex-direction: column;
    }

    .editor-grid.two-columns,
    .trust-editor-card,
    .feature-editor-list,
    .compact-card-grid,
    .banner-row-card,
    .banner-upload-panel,
    .footer-main,
    .cms-page-grid,
    .footer-social-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cms-account-cta {
        position: static;
    }

    .banner-thumbs {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: var(--sidebar-width);
        border-right: 1px solid var(--line);
        border-bottom: 0;
        padding: 14px 10px;
        transition: width 180ms ease;
        overflow: visible;
    }

    .dashboard-shell.is-sidebar-open .sidebar {
        width: min(292px, calc(100vw - 22px));
        box-shadow: 18px 0 60px rgba(20, 24, 32, 0.16);
    }

    .sidebar-toggle {
        right: -22px;
        top: 14px;
    }

    .dashboard-shell:not(.is-sidebar-open) .sidebar-toggle {
        right: 8px;
        top: 74px;
    }

    .dashboard-shell:not(.is-sidebar-open) .sidebar-head {
        padding-bottom: 52px;
    }

    .dashboard-main {
        width: 100%;
        min-width: 0;
    }

    .sidebar-nav {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 158px);
        overflow-y: auto;
    }

    .sidebar-trust {
        padding-top: 14px;
    }

    .sidebar-link {
        padding: 0 12px;
    }

    .dashboard-shell:not(.is-sidebar-open) .sidebar-link {
        width: 50px;
        height: 50px;
        min-height: 50px;
        margin: 0 auto;
    }

    .money-flow {
        min-height: auto;
        place-items: start stretch;
        padding-top: 10px;
    }

    .money-card {
        width: 100%;
    }

    .account-hero-panel,
    .profile-overview,
    .dashboard-overview {
        grid-template-columns: 1fr;
    }

    .account-hero-panel {
        flex-direction: column;
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .trust-editor-card {
        align-items: stretch;
    }

    .feature-editor-card {
        grid-template-columns: 1fr;
    }

    .sidebar-trust-preview {
        width: 100%;
        justify-content: start;
        padding-left: 14px;
    }

    .statement-row {
        grid-template-columns: 38px 1fr;
    }

    .statement-amount,
    .statement-row form {
        grid-column: 2;
        justify-self: start;
    }

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

    .profile-card {
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
    }

    .brand-logo {
        height: 40px;
        max-width: min(260px, calc(100vw - 32px));
    }

    .header-actions .btn {
        flex: 1;
        padding: 0 10px;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .hero-slide::after {
        background: linear-gradient(180deg, rgba(0, 0, 30, 0.02), rgba(0, 0, 30, 0.1) 48%, rgba(0, 0, 30, 0.34));
    }

    .hero-content {
        align-items: flex-end;
    }

    .hero-copy {
        width: 100%;
        margin-left: 0;
        padding: 0 0 86px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-copy p {
        font-size: 18px;
    }

    .hero-pause {
        left: 16px;
        top: 18px;
    }

    .steps,
    .self-service-cards,
    .news-grid,
    .stats-grid,
    .sidebar-nav {
        grid-template-columns: 1fr;
    }

    .news-card {
        min-height: 360px;
    }

    .news-card-overlay a {
        max-width: none;
        font-size: 18px;
    }

    .service-card {
        min-height: 146px;
    }

    .service-card-body {
        grid-template-columns: 64px 1fr;
        justify-items: start;
        text-align: left;
        align-content: center;
        padding-left: 22px;
        padding-right: 22px;
    }

    .service-card h3 {
        max-width: none;
    }

    .money-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-shell {
        --sidebar-width: 74px;
    }

    .dashboard-shell.is-sidebar-open {
        --sidebar-width: 74px;
    }

    .sidebar {
        width: var(--sidebar-width);
        padding: 12px 8px;
    }

    .dashboard-shell.is-sidebar-open .sidebar {
        width: min(286px, calc(100vw - 18px));
    }

    .sidebar-link {
        min-height: 46px;
        padding: 0 11px;
    }

    .sidebar-toggle {
        right: -20px;
        width: 42px;
        height: 42px;
    }

    .dashboard-shell:not(.is-sidebar-open) .sidebar-toggle {
        right: 7px;
        top: 70px;
    }

    .dashboard-shell:not(.is-sidebar-open) .sidebar-trust {
        padding-left: 6px;
        padding-right: 6px;
    }

    .dashboard-shell:not(.is-sidebar-open) .sidebar-trust img {
        width: 40px;
        height: 40px;
    }

    .currency-input {
        min-height: 70px;
        gap: 8px;
        padding: 0 14px;
    }

    .currency-input span {
        font-size: 24px;
    }

    .currency-input input {
        font-size: clamp(26px, 7vw, 34px);
    }

    .account-composition {
        grid-template-columns: 1fr;
    }

    .footer-inner,
    .footer-company,
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-main {
        padding-top: 38px;
    }

    .footer-legal-links {
        justify-content: flex-start;
    }

    .cms-hero {
        padding: 52px 0 38px;
    }

    .page-content,
    .topbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-title {
        font-size: 28px;
        line-height: 1.12;
    }

    .balance-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .balance-hero .icon-button {
        align-self: flex-end;
        margin-top: -52px;
    }

    .account-hero-panel,
    .balance-hero,
    .quick-actions-panel {
        padding: 18px;
    }

    .operation-summary div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .operation-summary strong {
        text-align: left;
    }

    .profile-card {
        flex-direction: column;
    }

    .quick-action-card {
        min-height: 96px;
    }

    .pix-payment-review-title,
    .pix-payment-review dl div,
    .pix-receipt-data div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .pix-payment-review dd,
    .pix-receipt-data dd {
        max-width: 100%;
        text-align: left;
    }

    .pix-payment-review-title strong {
        font-size: 22px;
    }

    .pix-receipt-actions {
        grid-template-columns: 1fr;
    }
}
.bill-available-funds {
    margin-bottom: 22px;
}

.bill-funding {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.bill-funding legend {
    padding: 0 6px;
    font-weight: 700;
}

.receipt-code {
    overflow-wrap: anywhere;
}

/* Painéis de conta e operação */
.account-home,
.operations-home {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.account-home-heading,
.operations-heading,
.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.account-home-heading span,
.operations-heading span,
.section-heading-row span,
.operations-balance span {
    color: var(--muted);
    font-weight: 700;
}

.account-home-heading h1,
.operations-heading h1,
.section-heading-row h2 {
    margin: 4px 0 0;
    color: var(--text);
    letter-spacing: 0;
}

.account-home-heading h1,
.operations-heading h1 {
    font-size: clamp(28px, 4vw, 40px);
}

.account-profile-link {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--primary);
    background: #fff;
}

.account-balance,
.operations-balance {
    padding: 28px 0 22px;
    border-bottom: 1px solid var(--line);
}

.account-balance-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 17px;
}

.account-balance > strong,
.operations-balance > strong {
    display: block;
    margin-top: 10px;
    color: var(--text);
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1;
}

.balance-visibility {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: var(--primary);
    background: var(--soft);
    cursor: pointer;
}

.account-primary-actions {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
}

.account-primary-actions::-webkit-scrollbar,
.sidebar-nav::-webkit-scrollbar {
    display: none;
}

.account-primary-actions a {
    width: max-content;
    min-width: max-content;
    min-height: 56px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0, 0, 60, 0.14);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.account-primary-actions a:hover,
.account-primary-actions a:focus-visible {
    color: #fff;
    background: #09095a;
    box-shadow: 0 11px 24px rgba(0, 0, 60, 0.2);
    transform: translateY(-1px);
}

.account-primary-actions .nav-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.account-transactions {
    display: grid;
    gap: 18px;
    padding-top: 16px;
}

.section-heading-row a,
.account-support-callout > a {
    color: var(--primary);
    font-weight: 800;
}

.account-transactions .bank-statement {
    border: 0;
    padding: 0;
    box-shadow: none;
}

.account-transactions .statement-row {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 16px 0;
    background: transparent;
}

.account-support-callout {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.account-support-callout > .nav-icon {
    width: 46px;
    height: 46px;
    padding: 12px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--soft);
}

.account-support-callout p,
.operations-heading p,
.operations-balance small,
.warranty-item p {
    margin: 5px 0 0;
    color: var(--muted);
}

.operations-balance small {
    display: block;
}

.operations-stats .stat-card {
    border-radius: 8px;
    box-shadow: none;
}

.operations-stats .stat-value a {
    color: var(--primary);
    font-size: 18px;
}

.warranty-list {
    display: grid;
    gap: 14px;
}

.warranty-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.warranty-item-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.warranty-item-main > div {
    display: grid;
    gap: 5px;
}

.warranty-item-main small {
    color: var(--muted);
}

.warranty-icon {
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--soft);
}

.warranty-count {
    display: grid;
    justify-items: end;
}

.warranty-count strong {
    color: var(--primary);
    font-size: 30px;
}

.warranty-count span,
.status-pill {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--soft);
}

.status-pill.is-muted {
    color: var(--muted);
    background: #f2f3f5;
}

/* Cadastro e consulta de produtos protegidos */
.product-admin-form,
.product-admin-list,
.product-lookup-page {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.product-admin-form,
.product-admin-list,
.product-lookup-page,
.product-admin-grid {
    display: grid;
    gap: 20px;
}

.product-admin-panel {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-admin-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.product-admin-section-heading > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.product-admin-section-heading h2,
.product-admin-section-heading p,
.product-admin-card h3 {
    margin: 0;
}

.product-admin-section-heading p {
    margin-top: 4px;
    color: var(--muted);
}

.product-admin-photos {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
}

.product-admin-photos img {
    width: 92px;
    height: 92px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}

.product-video-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.product-admin-video {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.product-admin-video video,
.product-video-player video {
    width: 100%;
    display: block;
    border-radius: 8px;
    background: #030912;
}

.product-admin-video video {
    max-width: 560px;
    aspect-ratio: 16 / 9;
}

.product-verification-editor {
    display: grid;
    gap: 10px;
}

.product-verification-editor label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.product-verification-editor label:last-child {
    border-bottom: 0;
}

.product-admin-list {
    margin-top: 34px;
}

.product-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-admin-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-admin-card > img {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
}

.product-admin-card > div:not(.product-admin-card-actions) {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.product-admin-card code,
.product-code-line code {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 5px;
    color: var(--primary);
    background: var(--soft);
    font-weight: 800;
}

.product-admin-card-actions {
    padding: 0 18px 18px;
}

.product-lookup-heading span,
.product-code-line > span,
.product-protection-heading > div > span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-lookup-heading h1 {
    margin: 5px 0 8px;
    font-size: clamp(30px, 4vw, 42px);
}

.product-lookup-heading p,
.product-protection-heading p,
.product-not-found p,
.product-offer p,
.deposit-clarification p,
.insufficient-product-balance p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.product-protection-heading p {
    max-width: 760px;
    margin-top: 8px;
}

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

.product-search-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-search-card label {
    display: block;
    margin-bottom: 9px;
    font-weight: 800;
}

.product-search-card > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.product-search-card input {
    text-transform: uppercase;
}

.product-safety-notice {
    display: block;
    padding: 0;
    border: 1px solid #d8c58f;
    border-left: 5px solid #a47712;
    border-radius: 8px;
    color: #242936;
    background: #fffaf0;
    box-shadow: 0 10px 26px rgba(40, 32, 8, 0.07);
}

.product-safety-notice summary {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

.product-safety-notice summary::-webkit-details-marker {
    display: none;
}

.product-safety-notice summary::after {
    width: 10px;
    height: 10px;
    justify-self: center;
    border-right: 2px solid #4f5866;
    border-bottom: 2px solid #4f5866;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.product-safety-notice[open] summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.product-safety-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #9a6b18;
    font-size: 22px;
    font-weight: 900;
}

.product-safety-notice strong,
.product-safety-notice small {
    display: block;
}

.product-safety-notice strong {
    font-size: 18px;
}

.product-safety-notice small {
    margin-top: 3px;
    color: #4f5866;
    font-size: 14px;
    font-weight: 600;
}

.product-safety-content {
    padding: 0 66px 20px 82px;
}

.product-safety-notice p {
    margin: 0;
    color: #343946;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.58;
}

.product-safety-notice p + p {
    margin-top: 9px;
}

.product-not-found {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid #e6cfcf;
    border-radius: 8px;
    background: #fff8f8;
}

.product-not-found .nav-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    color: var(--primary);
}

.product-page-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 60, 0.08);
}

.product-gallery {
    min-width: 0;
    padding: 18px;
    background: #f6f7f9;
}

.product-gallery-main img {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: 9px;
    margin-top: 10px;
    overflow-x: auto;
}

.product-gallery-thumbs button {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 7px;
    background: none;
    cursor: pointer;
}

.product-gallery-thumbs button:hover,
.product-gallery-thumbs button:focus-visible {
    border-color: var(--primary);
}

.product-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-video-player {
    margin-top: 16px;
}

.product-video-player > span {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 800;
}

.product-video-player video {
    aspect-ratio: 16 / 9;
}

.product-page-summary {
    display: grid;
    align-content: start;
    gap: 20px;
    padding: clamp(24px, 4vw, 38px);
}

.product-code-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-page-summary h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.product-price {
    color: var(--primary);
    font-size: clamp(34px, 5vw, 48px);
}

.product-private-data,
.product-private-data div {
    margin: 0;
}

.product-private-data {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    background: #f7f8fb;
}

.product-private-data div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.product-private-data dt {
    color: var(--muted);
}

.product-private-data dd {
    margin: 0;
    font-weight: 800;
    text-align: right;
}

.product-verification-list {
    display: grid;
    gap: 9px;
}

.product-verification-list > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-verification-list > div > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
}

.product-verification-list .is-verified > span {
    background: #14765f;
}

.product-verification-list .is-pending > span {
    color: #6c7078;
    background: #eceef1;
}

.product-verification-list small {
    color: var(--muted);
    font-weight: 800;
}

.product-protection-card {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-protection-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-protection-heading > .nav-icon {
    width: 50px;
    height: 50px;
    padding: 13px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--soft);
}

.product-protection-heading h2 {
    margin: 4px 0 0;
}

.product-offer,
.deposit-clarification,
.insufficient-product-balance {
    padding: 18px;
    border-radius: 8px;
}

.product-offer {
    border: 1px solid #d8d1ba;
    background: #fbfaf5;
}

.product-offer.is-included {
    border-color: #b9d9cc;
    background: #f3faf7;
}

.product-offer strong,
.deposit-clarification > span {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
}

.product-warranty-details {
    border: 1px solid #e6d6b8;
    border-radius: 8px;
    background: #fffbf2;
}

.product-warranty-details summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    cursor: pointer;
    font-weight: 800;
}

.product-warranty-details summary > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    border-radius: 50%;
    color: #fff;
    background: #9a6b18;
}

.product-warranty-details > div {
    padding: 0 18px 18px 54px;
    color: var(--muted);
    line-height: 1.5;
}

.deposit-clarification {
    border-left: 4px solid var(--primary);
    background: #f4f4fa;
}

.deposit-clarification-compact {
    margin-bottom: 20px;
}

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

.product-payment-summary > div {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-payment-summary span,
.product-payment-summary strong {
    display: block;
}

.product-payment-summary span {
    margin-bottom: 5px;
    color: var(--muted);
}

.insufficient-product-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f7f8fb;
}

.selected-product-payment {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f8fb;
}

.selected-product-payment img {
    width: 76px;
    height: 76px;
    border-radius: 7px;
    object-fit: cover;
}

.selected-product-payment span,
.selected-product-payment strong,
.selected-product-payment small {
    display: block;
}

.selected-product-payment span,
.selected-product-payment small {
    color: var(--muted);
}

.selected-product-payment strong {
    margin: 4px 0;
}

@media (max-width: 860px) {
    .product-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-page-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .dashboard-shell,
    .dashboard-shell.is-sidebar-open {
        --sidebar-width: 0px;
        display: block;
        padding-left: 0;
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .sidebar,
    .dashboard-shell.is-sidebar-open .sidebar {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 80;
        width: 100%;
        height: auto;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        border: 0;
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -10px 30px rgba(20, 24, 32, 0.09);
        overflow: hidden;
        backdrop-filter: blur(12px);
    }

    .sidebar-head,
    .sidebar-trust,
    .sidebar-toggle {
        display: none !important;
    }

    .sidebar-nav {
        display: flex;
        grid-template-columns: none;
        gap: 4px;
        width: 100%;
        max-height: none;
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-link,
    .dashboard-shell:not(.is-sidebar-open) .sidebar-link,
    .dashboard-shell.is-sidebar-open .sidebar-link {
        flex: 0 0 76px;
        width: 76px;
        height: 62px;
        min-height: 62px;
        margin: 0;
        padding: 6px 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 8px;
        scroll-snap-align: start;
        white-space: normal;
        text-align: center;
    }

    .sidebar-link .nav-icon {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    .sidebar-link .nav-label,
    .dashboard-shell.is-sidebar-open .nav-label {
        display: block;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
        color: currentColor;
        font-size: 12px;
        line-height: 1.1;
        text-overflow: ellipsis;
        pointer-events: auto;
    }

    .sidebar-link.is-active {
        color: var(--primary);
        background: #f0f2ff;
    }

    .topbar {
        min-height: 58px;
        padding: 10px 16px;
        flex-direction: row;
        align-items: center;
    }

    .topbar .btn {
        min-height: 38px;
    }

    .page-content {
        padding: 18px 16px 30px;
    }

    .account-home,
    .operations-home {
        gap: 20px;
    }

    .account-balance,
    .operations-balance {
        padding: 16px 0 20px;
    }

    .account-primary-actions a {
        width: max-content;
        min-width: max-content;
        min-height: 52px;
        padding: 0 20px;
    }

    .product-admin-panel,
    .product-page-summary,
    .product-protection-card {
        padding: 18px;
    }

    .product-protection-heading {
        align-items: flex-start;
    }

    .product-admin-grid {
        grid-template-columns: 1fr;
    }

    .product-video-fields {
        grid-template-columns: 1fr;
    }

    .product-safety-notice summary {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
        gap: 12px;
        padding: 15px 16px;
    }

    .product-safety-icon {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .product-safety-notice strong {
        font-size: 16px;
    }

    .product-safety-notice small {
        font-size: 13px;
    }

    .product-safety-content {
        padding: 0 16px 17px 64px;
    }

    .product-search-card > div,
    .product-payment-summary {
        grid-template-columns: 1fr;
    }

    .product-search-card .btn {
        width: 100%;
    }

    .product-verification-editor label {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-private-data div,
    .insufficient-product-balance {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-private-data dd {
        text-align: left;
    }

    .product-code-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-transactions .statement-row,
    .statement-row {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .statement-row form,
    .statement-row > .status-pill {
        grid-column: 2 / -1;
    }

    .statement-amount {
        font-size: 14px;
        white-space: nowrap;
    }

    .account-support-callout {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 18px;
    }

    .account-support-callout > a {
        grid-column: 2;
    }

    .warranty-item {
        grid-template-columns: 1fr;
    }

    .warranty-count {
        justify-items: start;
        grid-template-columns: auto auto;
        align-items: baseline;
        gap: 6px;
    }
}
