/* =====================================================
   PRIVATE PAY - Design System
   Paleta oficial + Mobile First
   ===================================================== */

:root {
    --purple-main: #17131F;
    --purple-secondary: #25202F;
    --purple-surface: #292333;
    --lavender: #B99AFF;
    --lavender-light: #C4A4FF;
    --graphite: #111318;
    --graphite-surface: #252630;
    --white: #FFFFFF;
    --text-secondary: #C5C0CD;
    --gray-aux: #AAA2B5;
    --success: #36B37E;
    --warning: #E5B65C;
    --error: #E46D79;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.35);
    --font: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--graphite);
    color: var(--white);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--lavender);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--lavender-light);
}

img {
    max-width: 100%;
    display: block;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #B99AFF, #9B6BFF);
    color: #1a1225;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(185,154,255,0.4);
    color: #1a1225;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--lavender);
    color: var(--lavender);
}

.btn-outline:hover {
    background: rgba(185,154,255,0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--purple-surface);
    border: 1px solid rgba(185,154,255,0.25);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    transition: border-color .2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--lavender);
    box-shadow: 0 0 0 3px rgba(185,154,255,0.15);
}

.form-control::placeholder {
    color: var(--gray-aux);
}

/* ========== CARDS ========== */
.card {
    background: var(--purple-secondary);
    border-radius: var(--radius);
    border: 1px solid rgba(185,154,255,0.08);
    padding: 1.5rem;
}

.card-glow {
    box-shadow: 0 0 40px rgba(185,154,255,0.08);
}

/* ========== LAYOUT PUBLIC ========== */
.public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(23,19,31,0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(185,154,255,0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #B99AFF, #7B5CFF);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-links {
    display: none;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--white);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ========== HERO ========== */
.hero {
    padding: 3rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--lavender);
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    max-width: 420px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-card {
    width: 220px;
    height: 280px;
    background: linear-gradient(160deg, #2a2240, #1a1528);
    border-radius: 20px;
    border: 1px solid rgba(185,154,255,0.3);
    box-shadow: 0 20px 60px rgba(120,80,255,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.shield-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(185,154,255,0.15), transparent 70%);
}

.tracking-box {
    background: var(--purple-secondary);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem auto 0;
    max-width: 480px;
    border: 1px solid rgba(185,154,255,0.12);
}

.tracking-box h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tracking-form {
    display: flex;
    gap: 0.75rem;
}

.tracking-form input {
    flex: 1;
}

/* ========== FEATURES ========== */
.features {
    padding: 3rem 1.5rem;
    background: var(--purple-main);
}

.features h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.features h2 span {
    color: var(--lavender);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: var(--purple-surface);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(185,154,255,0.06);
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
    background: rgba(185,154,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender);
}

.feature-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== FOOTER ========== */
.public-footer {
    background: var(--graphite);
    border-top: 1px solid rgba(185,154,255,0.08);
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-aux);
}

/* ========== AUTH ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: radial-gradient(ellipse at top, #2a1f3d 0%, #111318 60%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--purple-secondary);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(185,154,255,0.1);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== CLIENT DASHBOARD ========== */
.client-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: var(--purple-main);
    border-right: 1px solid rgba(185,154,255,0.08);
    padding: 1.25rem 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-logo {
    padding: 0 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all .15s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(185,154,255,0.1);
    color: var(--lavender);
}

.sidebar-nav a.active {
    border-right: 3px solid var(--lavender);
}

.main-content {
    flex: 1;
    margin-left: 0;
    padding: 1.25rem;
    width: 100%;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.topbar h1 {
    font-size: 1.35rem;
}

.topbar .greeting {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--purple-secondary);
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid rgba(185,154,255,0.08);
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-card.purple { border-left: 3px solid var(--lavender); }
.stat-card.green  { border-left: 3px solid var(--success); }
.stat-card.orange { border-left: 3px solid var(--warning); }

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(185,154,255,0.2);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--purple-surface);
    border: 2px solid var(--lavender);
}

.timeline-item.active::before {
    background: var(--lavender);
    box-shadow: 0 0 0 4px rgba(185,154,255,0.25);
}

.timeline-item.done::before {
    background: var(--success);
    border-color: var(--success);
}

.timeline-item .date {
    font-size: 0.75rem;
    color: var(--gray-aux);
}

/* Alerts */
.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(54,179,126,0.15);
    border: 1px solid rgba(54,179,126,0.3);
    color: #6ee7b7;
}

.alert-error {
    background: rgba(228,109,121,0.15);
    border: 1px solid rgba(228,109,121,0.3);
    color: #fca5a5;
}

.alert-warning {
    background: rgba(229,182,92,0.15);
    border: 1px solid rgba(229,182,92,0.3);
    color: #fcd34d;
}

.alert-info {
    background: rgba(185,154,255,0.12);
    border: 1px solid rgba(185,154,255,0.25);
    color: var(--lavender-light);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: rgba(54,179,126,0.2); color: #6ee7b7; }
.badge-warning { background: rgba(229,182,92,0.2); color: #fcd34d; }
.badge-error   { background: rgba(228,109,121,0.2); color: #fca5a5; }
.badge-info    { background: rgba(185,154,255,0.2); color: var(--lavender); }
.badge-pending { background: rgba(165,162,181,0.2); color: var(--gray-aux); }

/* Tables */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(185,154,255,0.08);
}

th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 40;
}

.sidebar-overlay.show {
    display: block;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hero-title {
        font-size: 2.75rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .sidebar {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 240px;
    }

    .menu-toggle {
        display: none;
    }
}

@media (min-width: 1024px) {
    .public-header {
        padding: 1rem 3rem;
    }

    .hero {
        padding: 4rem 3rem 5rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.gap-2 { gap: 0.75rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none; }


/* PRIVATE PAY — acabamento visual de marca */
:root{--purple-main:#141020;--purple-secondary:#211b30;--purple-surface:#281f3a;--lavender:#b653ff;--lavender-light:#d29aff;--graphite:#100d19;--graphite-surface:#1b1727;--white:#f8f5fc;--text-secondary:#c4bdce;--gray-aux:#91899e;--success:#18ad78;--warning:#e89c2d;--error:#ef5d75;--radius:14px;--radius-sm:9px;--shadow:0 22px 70px rgba(0,0,0,.38);--font:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body{background:#100d19;color:#f8f5fc;line-height:1.55}a{color:#c993ff}a:hover{color:#fff}.btn{border-radius:10px;font-weight:650}.btn-primary{background:linear-gradient(125deg,#bd57ff,#8732e9);color:#fff;box-shadow:0 7px 22px rgba(139,53,237,.24)}.btn-primary:hover{color:#fff;box-shadow:0 10px 28px rgba(157,69,246,.38)}.btn-outline{border-color:rgba(190,120,255,.62);color:#ead9ff}.form-control{background:#171324;border-color:rgba(196,164,255,.24);border-radius:10px}.form-control:focus{border-color:#bd78ff;box-shadow:0 0 0 3px rgba(177,93,255,.15)}.card{background:linear-gradient(145deg,rgba(34,28,49,.98),rgba(26,22,39,.98));border-color:rgba(196,164,255,.13);box-shadow:0 9px 26px rgba(0,0,0,.12)}
.public-header{height:82px;padding:0 clamp(20px,4vw,64px);background:rgba(17,13,27,.96);border-bottom-color:rgba(196,164,255,.13)}.logo{font-size:1rem;font-weight:750;letter-spacing:.035em}.logo-icon{width:42px;height:42px;background:none;border-radius:0}.logo-icon img,.sidebar-logo img{width:100%;height:100%;object-fit:contain}.nav-links{gap:clamp(20px,3vw,44px)}.nav-links a{color:#dfd8e8}.nav-links a:hover{color:#d5a5ff}
.hero{position:relative;overflow:hidden;padding:65px clamp(20px,5vw,78px) 45px;background:radial-gradient(ellipse at 75% 35%,rgba(101,31,168,.19),transparent 40%),linear-gradient(120deg,#100d19 10%,#140f20 100%)}.hero::before{content:"";position:absolute;right:-120px;top:10px;width:580px;height:580px;border-radius:50%;background:radial-gradient(circle,rgba(128,48,214,.15),transparent 68%);pointer-events:none}.hero-grid{position:relative;z-index:1;max-width:1360px;grid-template-columns:1fr;gap:30px}.hero-title{font-size:clamp(2.45rem,4.3vw,4.7rem);line-height:1.08;letter-spacing:-.055em;margin-bottom:19px;max-width:630px}.hero-title span{color:#bb62ff}.hero-desc{color:#c4bdce;font-size:clamp(1rem,1.45vw,1.24rem);line-height:1.65}.hero-visual{min-height:300px}.hero-art{width:min(100%,550px);filter:drop-shadow(0 28px 44px rgba(92,27,168,.3));overflow:visible}.shield-card{background:linear-gradient(160deg,#2a2240,#1a1528);border-radius:20px;border-color:rgba(185,154,255,.3)}.tracking-box{position:relative;z-index:2;background:rgba(29,24,42,.96);border-radius:16px;padding:20px 22px;margin:28px auto 0;max-width:760px;border-color:rgba(201,159,255,.19);box-shadow:0 16px 44px rgba(0,0,0,.24)}.tracking-box h3{margin-bottom:3px}.tracking-box h3 svg{color:#bd78ff}.features{padding:43px clamp(20px,5vw,78px) 58px;background:#100d19;border-top:1px solid rgba(195,143,255,.1)}.features h2{font-size:clamp(1.5rem,2.4vw,2rem);letter-spacing:-.035em;margin-bottom:28px}.features-grid{max-width:1360px;gap:12px}.feature-item{background:linear-gradient(145deg,#211b31,#1a1626);border-radius:14px;padding:19px 16px;text-align:left;border-color:rgba(197,159,245,.11);min-height:136px}.feature-icon{width:39px;height:39px;margin:0 0 12px;background:rgba(164,68,244,.16);border:1px solid rgba(184,115,255,.17);border-radius:11px;color:#bd78ff}.feature-item h4{font-size:.91rem}.feature-item p{font-size:.81rem;color:#c4bdce}.public-footer{background:#0e0b16;border-top-color:rgba(196,164,255,.13)}.footer-slogan{color:#ddd4e8}.footer-slogan svg{color:#bd78ff}
.auth-page{background:radial-gradient(ellipse at 50% 5%,#2d1746 0%,#151121 46%,#100d19 76%)}.auth-card{background:linear-gradient(155deg,#211a30,#191523);border-color:rgba(196,164,255,.24);border-radius:18px}.sidebar{width:224px;background:#141020;border-right-color:rgba(197,159,245,.1);padding:22px 12px}.sidebar-logo{min-height:112px;padding:0 12px 22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;color:#c27aff;font-size:1.05rem;letter-spacing:.015em;border-bottom:1px solid rgba(197,159,245,.1);margin-bottom:17px}.sidebar-logo img{width:45px;height:45px}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-nav a{min-height:42px;gap:11px;padding:9px 12px;color:#bdb5ca;font-size:.86rem;border-radius:9px}.sidebar-nav a:hover,.sidebar-nav a.active{background:linear-gradient(90deg,rgba(122,39,211,.48),rgba(102,32,177,.29));color:white}.sidebar-nav a.active{border-right:0;box-shadow:inset 2px 0 0 #c176ff}.sidebar-nav a.active svg{color:#d4a0ff}.main-content{padding:24px 20px 38px;min-width:0}.topbar{gap:16px;min-height:60px;margin-bottom:23px}.topbar h1{font-size:clamp(1.25rem,2.3vw,1.75rem);letter-spacing:-.035em;font-weight:650}.topbar .greeting{color:#b7afc5}.stats-grid{gap:13px;margin-bottom:18px}.stat-card{position:relative;min-height:120px;background:linear-gradient(145deg,#251d36,#1c1729);border-radius:14px;padding:17px 18px;border-color:rgba(196,164,255,.13);overflow:hidden}.stat-card::after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-43px;top:-45px;background:radial-gradient(circle,rgba(172,86,255,.1),transparent 70%);pointer-events:none}.stat-card .label{font-size:.84rem;color:#ddd5e7;margin-bottom:7px}.stat-card .value{font-size:1.8rem;line-height:1.12;letter-spacing:-.04em;margin-bottom:8px}.stat-card>a{font-size:.78rem;color:#d4a0ff}.stat-card.purple{background:linear-gradient(135deg,#39157b,#2c145b);border:1px solid rgba(176,100,255,.28)}.stat-card.green{background:linear-gradient(135deg,#103d39,#12332f);border:1px solid rgba(53,205,156,.18)}.stat-card.orange{background:linear-gradient(135deg,#503018,#39241c);border:1px solid rgba(242,174,66,.2)}.timeline::before{background:rgba(185,119,255,.28)}.timeline-item::before{background:#211a30;border-color:#8d56c0}.timeline-item.active::before{background:#a447f3;border-color:#d19cff;box-shadow:0 0 0 4px rgba(170,73,246,.18)}.badge-success{background:rgba(24,173,120,.18);color:#79e2b8}.badge-warning{background:rgba(232,156,45,.18);color:#ffd17d}.badge-error{background:rgba(239,93,117,.17);color:#ffa2b1}.badge-info{background:rgba(167,81,237,.2);color:#d4a0ff}.badge-pending{background:rgba(165,157,180,.16);color:#cbc4d3}.table-wrap{border-radius:10px}table{min-width:580px}th,td{border-bottom-color:rgba(197,159,245,.1)}th{color:#aaa1b8;font-weight:600;font-size:.72rem;letter-spacing:.055em}tbody tr:hover{background:rgba(172,110,244,.045)}.menu-toggle{border:1px solid rgba(196,164,255,.13);border-radius:9px;font-size:1.15rem;padding:7px 10px}.sidebar-overlay{background:rgba(4,3,8,.68);backdrop-filter:blur(2px)}
@media(min-width:700px){.hero-grid{grid-template-columns:1.02fr .98fr}.hero-visual{min-height:390px}.features-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-item{padding:18px 19px}.sidebar{transform:translateX(0)}.main-content{margin-left:224px;padding:28px clamp(24px,3vw,46px) 42px}.menu-toggle{display:none}.sidebar-overlay{display:none!important}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
@media(min-width:1100px){.hero{padding-top:72px;padding-bottom:54px}.hero-visual{min-height:430px}.hero-art{width:min(100%,570px)}.tracking-box{margin-top:20px}.main-content>div[style*="grid-template-columns:1fr"]{grid-template-columns:1.12fr .88fr!important}}
@media(max-width:520px){.public-header{height:70px;padding:0 15px}.logo{font-size:.87rem;gap:6px}.logo-icon{width:35px;height:35px}.header-actions{gap:5px}.header-actions .btn{padding:8px 10px;font-size:.75rem}.hero{padding-top:42px}.hero-visual{min-height:245px}.hero-title{font-size:2.45rem}.tracking-box{padding:17px}.tracking-form{flex-direction:column}.tracking-form .btn{width:100%}.features-grid{gap:9px}.feature-item{padding:14px 12px;min-height:145px}.feature-item h4{font-size:.82rem}.feature-item p{font-size:.75rem}.main-content{padding:16px 13px 30px}.topbar{margin-bottom:17px}.stats-grid{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:14px;min-height:108px}.stat-card .label{font-size:.75rem}.stat-card .value{font-size:1.6rem}.card{padding:15px}.auth-card{padding:23px 19px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.stat-icon{position:absolute;right:16px;top:16px;width:39px;height:39px;border-radius:11px;background:rgba(213,160,255,.17);color:#e0bdff;display:grid;place-items:center}.stat-card.green .stat-icon{background:rgba(51,209,158,.15);color:#66e0b4}.stat-card.orange .stat-icon{background:rgba(255,193,81,.15);color:#ffd080}.stat-card .label,.stat-card .value,.stat-card>a{position:relative;z-index:1}.dashboard-grid{align-items:start}.dashboard-grid>.card{min-width:0}.dashboard-grid>.card:first-child{grid-row:span 2}.main-content .card h3{color:#f5effa;letter-spacing:-.02em}.main-content .card a:not(.btn){font-weight:550}.main-content form .btn{margin-top:4px}.main-content input[type=checkbox],.main-content input[type=radio]{accent-color:#a746ed}@media(min-width:1100px){.dashboard-grid{grid-template-columns:minmax(0,1.12fr) minmax(290px,.88fr)!important}.dashboard-grid>.card:first-child{grid-row:span 2}}

.stat-card.red{background:linear-gradient(135deg,#4b1e32,#341b2b);border:1px solid rgba(239,93,117,.2)}.stat-card.red::after{background:radial-gradient(circle,rgba(239,93,117,.14),transparent 70%)}.admin-sidebar .sidebar-nav a.active{background:linear-gradient(90deg,rgba(122,39,211,.48),rgba(102,32,177,.29))}@media(max-width:699px){.client-layout:has(>.admin-sidebar){display:block}.sidebar.admin-sidebar{position:relative;inset:auto;width:100%;max-height:none;transform:none!important;padding:10px 12px;background:#141020;border-right:0;border-bottom:1px solid rgba(197,159,245,.1);overflow:visible}.admin-sidebar .sidebar-logo{min-height:56px;padding:0 8px 8px;flex-direction:row;justify-content:flex-start;align-items:center;margin:0 0 8px;font-size:.92rem}.admin-sidebar .sidebar-logo img{width:36px;height:36px}.admin-sidebar .sidebar-nav{flex-direction:row;overflow-x:auto;gap:5px;padding:2px 0 5px;scrollbar-width:thin}.admin-sidebar .sidebar-nav a{flex:0 0 auto;white-space:nowrap;font-size:.78rem;padding:8px 10px;min-height:36px}.client-layout:has(>.admin-sidebar)>.main-content{margin:0;padding:17px 14px 30px}}

.nav-logout{margin:0}.nav-logout button{width:100%;display:flex;align-items:center;gap:10px;background:transparent;border:0;color:inherit;font:inherit;text-align:left;padding:12px 14px;cursor:pointer;border-radius:10px}.nav-logout button:hover{background:rgba(196,164,255,.08);color:var(--lavender)}

.dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr)!important;align-items:start}.support-dashboard-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:100%}.support-dashboard-card .support-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:rgba(142,55,235,.18);color:var(--lavender)}.support-dashboard-card p{color:var(--text-secondary);max-width:420px}.support-dashboard-card .support-count{color:var(--lavender);font-weight:600}.support-dashboard-card .btn{margin-top:auto}@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr!important}}


/* =====================================================
   PRIVATE PAY — fidelidade à referência enviada
   ===================================================== */
:root {
    --purple-main: #100b1d;
    --purple-secondary: #1c1730;
    --purple-surface: #28213d;
    --lavender: #ad45f2;
    --lavender-light: #d09aff;
    --graphite: #0d0a16;
    --graphite-surface: #191426;
    --white: #f7f4fb;
    --text-secondary: #c5bfd0;
    --gray-aux: #91899f;
    --success: #21b77d;
    --warning: #eca435;
    --error: #e85d74;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 16px 42px rgba(0, 0, 0, .28);
    --font: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --client-sidebar-width: clamp(138px, 18.3vw, 224px);
}

body { background: #0d0a16; color: var(--white); }
.public-header {
    height: 68px;
    padding: 0 clamp(18px, 3.2vw, 50px);
    background: #100b1d;
    border-bottom: 1px solid rgba(174, 89, 255, .14);
}
.logo { gap: 9px; font-size: .98rem; letter-spacing: .04em; }
.logo-icon { width: 42px; height: 42px; flex: 0 0 42px; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { gap: clamp(18px, 2.8vw, 42px); }
.nav-links a { color: #e5deec; font-size: .87rem; }
.header-actions { gap: 9px; }
.header-actions .btn { min-height: 36px; padding: 8px 16px; }

.hero {
    padding: 34px clamp(22px, 4vw, 60px) 22px;
    background: radial-gradient(ellipse at 75% 44%, rgba(110, 30, 184, .2), transparent 43%), linear-gradient(115deg, #100b1d 0%, #130e20 100%);
}
.hero::before { right: -150px; top: -20px; width: 570px; height: 570px; background: radial-gradient(circle, rgba(119, 33, 202, .16), transparent 69%); }
.hero-grid { max-width: 1290px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.hero-copy { position: relative; z-index: 1; }
.hero-title { max-width: 580px; font-size: clamp(2.45rem, 5.1vw, 4.35rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 15px; }
.hero-title span { color: #bd61ff; }
.hero-desc { max-width: 430px; font-size: clamp(1rem, 1.55vw, 1.18rem); line-height: 1.55; margin-bottom: 21px; }
.hero-visual { min-height: 330px; }
.hero-art { width: min(100%, 570px); filter: drop-shadow(0 22px 38px rgba(92, 27, 168, .25)); }
.hero .btn-primary { min-height: 42px; padding: 11px 20px; }
.tracking-box {
    max-width: 590px;
    margin: 7px auto 0;
    padding: 17px 20px;
    background: rgba(27, 22, 41, .97);
    border: 1px solid rgba(180, 120, 245, .2);
    border-radius: 15px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}
.tracking-box h3 { font-size: 1rem; margin-bottom: 3px; }
.tracking-box p { color: var(--text-secondary); font-size: .82rem; margin: 0 0 10px; }
.tracking-form { gap: 9px; }
.tracking-form .form-control { min-height: 39px; padding: 9px 13px; font-size: .86rem; }
.tracking-form .btn { min-height: 39px; padding: 9px 17px; white-space: nowrap; }

.features { padding: 27px clamp(22px, 4vw, 60px) 38px; background: #0d0a16; border-top: 1px solid rgba(180, 120, 245, .1); }
.features h2 { margin-bottom: 19px; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }
.features h2 span { color: #bd61ff; }
.features-grid { max-width: 1290px; gap: 11px; }
.feature-item {
    min-height: 114px;
    padding: 14px 16px;
    text-align: left;
    background: linear-gradient(145deg, #211b31, #181424);
    border: 1px solid rgba(197, 159, 245, .11);
    border-radius: 13px;
}
.feature-icon { width: 34px; height: 34px; margin: 0 0 8px; background: rgba(164, 68, 244, .13); border: 0; color: #b858ff; }
.feature-item h4 { font-size: .83rem; line-height: 1.35; margin: 0; font-weight: 550; }

.public-footer { padding: 0; text-align: left; background: #0b0813; border-top: 0; }
.footer-brand-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #2d0c58 0%, #45117e 60%, #6b21a9 100%);
    border-top: 1px solid rgba(218, 175, 255, .22);
    border-bottom: 1px solid rgba(218, 175, 255, .2);
}
.footer-brand-band::after {
    content: '';
    position: absolute;
    right: 18%;
    top: -42px;
    width: 190px;
    height: 190px;
    transform: rotate(38deg);
    border: 1px solid rgba(216, 174, 255, .18);
    pointer-events: none;
}
.footer-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 1290px;
    min-height: 104px;
    margin: 0 auto;
    padding: 16px clamp(22px, 4vw, 60px);
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 18px;
}
.footer-handshake { color: #d79dff; }
.footer-motto { color: #f5eaff; font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.25; }
.footer-motto span { color: #d59aff; }
.footer-brand-lockup { display: flex; align-items: center; gap: 9px; padding-left: 21px; border-left: 1px solid rgba(229, 201, 255, .25); color: white; font-weight: 700; font-size: 1.02rem; line-height: 1.06; }
.footer-brand-lockup img { width: 43px; height: 48px; object-fit: contain; }
.footer-brand-lockup:hover { color: white; }
.footer-bottom {
    max-width: 1290px;
    min-height: 53px;
    margin: 0 auto;
    padding: 13px clamp(22px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.footer-copy { margin: 0; font-size: .73rem; color: #aaa2b6; }
.footer-links { margin: 0; gap: 16px; font-size: .73rem; }
.footer-links a { color: #c6bfd0; }

.auth-page { background: radial-gradient(ellipse at 50% 6%, #291541 0%, #151020 45%, #0d0a16 78%); }
.auth-card { background: linear-gradient(150deg, #211a30, #191523); border-color: rgba(196, 164, 255, .2); }
.card { background: linear-gradient(145deg, #211b30, #191525); border-color: rgba(196, 164, 255, .13); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }

.client-layout:not(:has(.admin-sidebar)) .sidebar {
    width: var(--client-sidebar-width);
    background: #100b1d;
    border-right-color: rgba(190, 138, 255, .12);
    padding: 17px 10px;
}
.client-layout:not(:has(.admin-sidebar)) .sidebar-logo {
    min-height: 112px;
    padding: 0 8px 18px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #c179ff;
    font-size: 1.03rem;
    line-height: 1.06;
    text-align: center;
}
.client-layout:not(:has(.admin-sidebar)) .sidebar-logo img { width: 44px; height: 48px; }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a {
    min-height: 39px;
    padding: 8px 9px;
    gap: 7px;
    border-radius: 7px;
    font-size: clamp(.74rem, 1.1vw, .86rem);
}
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a svg { flex: 0 0 18px; }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a.active {
    background: linear-gradient(90deg, #4a16a0, #35106f);
    box-shadow: inset 0 0 0 1px rgba(188, 117, 255, .14);
}
.client-layout:not(:has(.admin-sidebar)) .main-content {
    margin-left: var(--client-sidebar-width);
    padding: clamp(16px, 2vw, 28px) clamp(14px, 2.4vw, 36px) 38px;
}
.topbar { min-height: 58px; margin-bottom: 17px; }
.topbar h1 { font-size: clamp(1.25rem, 2.2vw, 1.62rem); font-weight: 650; letter-spacing: -.03em; }
.topbar .greeting { font-size: .83rem; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.account-control { display: inline-flex; align-items: center; gap: 7px; color: #ded6e9; }
.account-control:hover { color: white; }
.account-avatar { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #8130ce, #431785); border: 1px solid rgba(207, 154, 255, .55); color: white; font-size: .78rem; font-weight: 650; }

.client-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 13px; }
.client-summary .stat-card { min-height: 93px; padding: 13px 14px; border-radius: 12px; }
.client-summary .stat-card .label { font-size: .76rem; margin-bottom: 4px; }
.client-summary .stat-card .value { font-size: 1.45rem; margin-bottom: 5px; }
.client-summary .stat-card>a { font-size: .72rem; }
.client-summary .stat-icon { width: 31px; height: 31px; top: 12px; right: 12px; border-radius: 9px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important; gap: 13px; align-items: stretch; }
.dashboard-grid>.card:first-child { grid-row: auto !important; }
.dashboard-grid>.card, .promotion-card { min-width: 0; min-height: 170px; padding: 17px; border-radius: 13px; }
.dashboard-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.dashboard-card-heading h3, .dashboard-grid .card>h3 { margin: 0; color: #f4effa; font-size: .95rem; font-weight: 650; letter-spacing: -.015em; }
.dashboard-card-heading>a { flex: 0 0 auto; font-size: .76rem; color: #c995ff; }
.activity-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.activity-summary span { font-size: .88rem; font-weight: 650; }
.activity-summary small { color: var(--gray-aux); font-size: .7rem; }
.dashboard-activity-card .timeline { margin: 4px 0 0 4px; padding-left: 1.45rem; }
.dashboard-activity-card .timeline::before { left: 5px; top: 7px; bottom: 13px; background: rgba(177, 103, 241, .42); }
.dashboard-activity-card .timeline-item { min-height: 39px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 1px; }
.dashboard-activity-card .timeline-item::before { left: -1.45rem; top: 3px; width: 12px; height: 12px; background: #211832; border: 2px solid #a451e6; }
.dashboard-activity-card .timeline-item.done::before { background: #21b77d; border-color: #21b77d; }
.dashboard-activity-card .timeline-item.active::before { background: #a747ed; border-color: #d6a1ff; box-shadow: 0 0 0 4px rgba(170, 73, 246, .17); }
.dashboard-activity-card .timeline-item.terminal::before { background: #e85d74; border-color: #e85d74; }
.dashboard-activity-card .timeline-item strong { color: #f1ecf7; font-size: .79rem; font-weight: 550; }
.dashboard-activity-card .timeline-item .date { color: #a79fb3; font-size: .68rem; }
.dashboard-inline-link { display: inline-block; margin-top: 3px; font-size: .76rem; color: #c995ff; }
.empty-note { margin: 12px 0; color: var(--text-secondary); font-size: .8rem; }
.empty-state { min-height: 94px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; color: var(--text-secondary); font-size: .83rem; }

.tracking-code-card { display: flex; flex-direction: column; align-items: stretch; }
.tracking-code-card>h3 { margin-bottom: 18px !important; }
.tracking-code-frame { min-height: 62px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px dashed #a849eb; border-radius: 10px; background: rgba(57, 23, 94, .18); }
.tracking-code-frame code { color: #f2e9fb; font: 650 clamp(.82rem, 1.25vw, 1rem) var(--font); letter-spacing: .035em; }
.code-copy { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border: 0; border-radius: 7px; background: transparent; color: #d5a2ff; cursor: pointer; }
.code-copy:hover { background: rgba(180, 105, 244, .18); color: white; }
.tracking-code-card>p, .tracking-code-empty p { margin: 11px 0 0; color: var(--text-secondary); font-size: .73rem; line-height: 1.45; }
.copy-feedback { min-height: 16px; margin-top: 5px; color: #8fe2bd; font-size: .69rem; }
.tracking-code-empty { margin: auto 0; text-align: center; }
.tracking-code-placeholder { display: block; padding: 13px; border: 1px dashed rgba(168, 73, 235, .45); border-radius: 10px; color: #a99fb6; letter-spacing: .05em; }
.tracking-code-empty a { display: inline-block; margin-top: 9px; font-size: .76rem; }

.installments-card { display: flex; flex-direction: column; }
.installment-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(185, 154, 255, .08); }
.installment-row:last-child { border-bottom: 0; }
.installment-date { width: 43px; min-width: 43px; height: 47px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 9px; background: #2b2140; color: #f6efff; }
.installment-date strong { font-size: 1rem; line-height: 1.05; }
.installment-date span { font-size: .62rem; text-transform: uppercase; color: #c3a2e3; }
.installment-detail { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.installment-detail span { color: var(--text-secondary); font-size: .69rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.installment-detail strong { font-size: .84rem; }
.installment-row .badge { padding: 4px 8px; font-size: .66rem; }

.promotion-card { position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(118deg, #2d0e54 0%, #34116a 58%, #271046 100%); border: 1px solid rgba(187, 103, 255, .28); box-shadow: 0 10px 28px rgba(30, 10, 49, .2); }
.promotion-copy { position: relative; z-index: 1; max-width: 76%; }
.promotion-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 10px; background: #8d37d3; color: #f7eaff; }
.promotion-card h3 { max-width: 230px; margin: 0 0 5px; font-size: .93rem; line-height: 1.25; }
.promotion-card p { margin: 0 0 10px; color: #d4c5e3; font-size: .72rem; line-height: 1.4; }
.promotion-card .btn { min-height: 30px; padding: 7px 12px; font-size: .71rem; }
.promotion-gift { position: absolute; right: -5px; bottom: -10px; width: clamp(80px, 11vw, 118px); height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .28)); }

.notifications-card { display: flex; flex-direction: column; }
.notification-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 7px; padding: 8px 0; border-bottom: 1px solid rgba(185, 154, 255, .08); }
.notification-row:last-child { border-bottom: 0; }
.notification-dot { width: 22px; height: 22px; display: block; margin-top: 1px; border-radius: 50%; background: #393044; box-shadow: inset 0 0 0 5px #252033; }
.notification-dot.unread { background: #8d39d8; box-shadow: inset 0 0 0 5px #47236a; }
.notification-row strong { display: block; color: #f2edf7; font-size: .74rem; font-weight: 600; }
.notification-row p { margin: 2px 0; color: var(--text-secondary); font-size: .68rem; line-height: 1.35; }
.notification-row time { color: #92899e; font-size: .63rem; }
.support-dashboard-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: linear-gradient(145deg, #211a34, #191425); }
.support-dashboard-card .support-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(142, 55, 235, .18); color: #c27aff; }
.support-dashboard-card h3 { margin: 0; color: #f4effa; font-size: .95rem; }
.support-dashboard-card p { max-width: 360px; margin: 0; color: var(--text-secondary); font-size: .75rem; line-height: 1.45; }
.support-dashboard-card .support-count { color: #d09aff; font-weight: 600; }
.support-dashboard-card .btn { margin-top: auto; }

@media (min-width: 700px) {
    .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
    .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important; }
    .dashboard-grid>.card:first-child { grid-row: auto !important; }
    .client-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .client-layout:not(:has(.admin-sidebar)) .sidebar { transform: translateX(0); }
    .client-layout:not(:has(.admin-sidebar)) .main-content { margin-left: var(--client-sidebar-width); }
}
@media (max-width: 699px) {
    .public-header { height: 64px; padding: 0 14px; }
    .nav-links { display: none; }
    .hero { padding: 34px 18px 20px; }
    .hero-grid { grid-template-columns: 1fr; gap: 5px; }
    .hero-title { font-size: clamp(2.25rem, 11vw, 3rem); }
    .hero-visual { min-height: 220px; }
    .hero-art { width: min(100%, 390px); }
    .tracking-box { margin-top: 9px; padding: 15px; }
    .tracking-form { flex-direction: column; }
    .tracking-form .btn { width: 100%; }
    .features { padding: 25px 18px 30px; }
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-item { min-height: 112px; }
    .footer-brand-inner { min-height: 90px; grid-template-columns: 42px 1fr auto; gap: 10px; padding: 14px 17px; }
    .footer-handshake { width: 40px; height: 40px; }
    .footer-brand-lockup { gap: 5px; padding-left: 10px; font-size: .78rem; }
    .footer-brand-lockup img { width: 33px; height: 38px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding: 13px 17px; }
    .footer-links { flex-wrap: wrap; gap: 8px 14px; }
    .client-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 1fr !important; }
    .dashboard-grid>.card:first-child { grid-row: auto !important; }
    .dashboard-grid>.card, .promotion-card { min-height: 0; }
    .promotion-card { min-height: 175px; }
    .client-layout:not(:has(.admin-sidebar)) .sidebar { width: 240px; }
    .client-layout:not(:has(.admin-sidebar)) .main-content { margin-left: 0; }
    .topbar-actions { gap: 7px; }
    .topbar-actions > a[aria-label="Notificações"] { width: 34px !important; height: 34px !important; }
}
@media (max-width: 390px) {
    .logo { font-size: .78rem; }
    .header-actions .btn { padding: 7px 9px; font-size: .7rem; }
    .client-summary .stat-card { padding: 11px; }
    .client-summary .stat-card .label { max-width: 95px; }
    .tracking-code-frame { padding: 10px; }
    .footer-motto { font-size: .91rem; }
}

.footer-social { display: flex; align-items: center; gap: 15px; color: #c9bdd8; }
.footer-social svg { width: 17px; height: 17px; display: block; }
.footer-social svg:first-child { width: 15px; height: 17px; }
@media (max-width: 699px) { .footer-social { align-self: flex-end; margin-top: -2px; } }

.track-page { max-width: 520px; margin: clamp(28px, 5vw, 56px) auto; padding: 0 18px; }
.track-card { padding: clamp(22px, 4vw, 34px); border-radius: 17px; }
.track-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; }
.track-mark img { width: 100%; height: 100%; object-fit: contain; }
.track-card h1 { margin: 0 0 7px; text-align: center; font-size: clamp(1.25rem, 4vw, 1.55rem); letter-spacing: -.025em; }
.track-intro { max-width: 390px; margin: 0 auto 20px; text-align: center; color: var(--text-secondary); font-size: .86rem; }
.track-form .form-group { margin-bottom: 14px; }
.track-form .btn { margin-top: 5px; }
.track-privacy-note { margin: 15px 0 0; color: var(--gray-aux); font-size: .71rem; line-height: 1.55; }

.footer-social { flex: 0 0 auto; }

@media (min-width: 700px) and (max-width: 899px) { .hero-visual { min-height: 260px; } }

.hero-art { height: auto; }
@media (min-width: 700px) and (max-width: 899px) {
    .hero-visual { min-height: 330px; }
    .hero-copy { padding-top: 28px; }
    .features { padding-bottom: 80px; }
}


/* PRIVATE PAY — tokens oficiais e estados reais da interface */
:root {
    --page-bg: #10091B;
    --page-bg-secondary: #160E25;
    --surface-main: #1C1430;
    --surface-secondary: #25183A;
    --brand-purple: #7629D9;
    --brand-intense: #8B35F1;
    --brand-glow: #A94CFF;
    --lavender: #C58AFF;
    --lavender-light: #D9B4FF;
    --text-secondary: #C8BED7;
    --success: #18B981;
    --success-deep: #087D5B;
    --warning: #F0A83A;
    --error: #ED477B;
    --purple-main: #160E25;
    --purple-secondary: #1C1430;
    --purple-surface: #25183A;
    --graphite: #10091B;
    --graphite-surface: #1C1430;
    --white: #FFFFFF;
    --gray-aux: #A89BB7;
}

body { background: var(--page-bg); color: var(--white); }
.public-header { background: var(--page-bg); border-bottom-color: rgba(194,130,255,.16); }
.nav-links a { color: #EAE2F2; }
.nav-links a:hover { color: var(--lavender-light); }
.btn-primary { background: linear-gradient(135deg, var(--brand-intense), var(--brand-glow)); color: var(--page-bg); }
.btn-primary:hover { color: var(--page-bg); box-shadow: 0 6px 22px rgba(169,76,255,.34); }
.btn-outline { border-color: var(--brand-intense); color: var(--lavender-light); }
.btn-outline:hover { background: rgba(139,53,241,.13); color: #fff; }
.hero { background: radial-gradient(ellipse at 76% 43%, rgba(118,41,217,.2), transparent 45%), linear-gradient(115deg, var(--page-bg), var(--page-bg-secondary)); }
.hero-title span, .features h2 span { color: var(--lavender); }
.tracking-box { background: rgba(28,20,48,.96); border-color: rgba(194,130,255,.2); }
.features { background: var(--page-bg); border-top-color: rgba(194,130,255,.12); }
.feature-item { background: linear-gradient(145deg, var(--surface-secondary), var(--surface-main)); border-color: rgba(194,130,255,.16); }
.feature-icon { color: var(--lavender); background: rgba(139,53,241,.16); }
.public-footer { background: var(--page-bg); }
.footer-brand-band { background: linear-gradient(110deg, #25133C 0%, #3A1762 58%, #54228A 100%); }
.footer-motto span { color: var(--lavender-light); }
.footer-bottom { border-top: 1px solid rgba(194,130,255,.12); }
.footer-copy { color: #A89BB7; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--lavender-light); }
.footer-social { gap: 9px; color: var(--lavender-light); }
.footer-social svg, .footer-social svg:first-child { width: 31px; height: 31px; padding: 7px; border-radius: 50%; background: var(--surface-secondary); border: 1px solid rgba(194,130,255,.2); }
.auth-page { background: radial-gradient(ellipse at 50% 6%, #291541 0%, var(--page-bg-secondary) 45%, var(--page-bg) 78%); }
.auth-card, .card { background: linear-gradient(145deg, var(--surface-secondary), var(--surface-main)); border-color: rgba(194,130,255,.16); }
.client-layout { background: var(--page-bg); }
.client-layout:not(:has(.admin-sidebar)) .sidebar { background: var(--page-bg); border-right-color: rgba(194,130,255,.16); }
.client-layout:not(:has(.admin-sidebar)) .sidebar-logo { color: var(--lavender); }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a { color: #D8CDE4; }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a svg { color: var(--lavender); }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a.active { background: linear-gradient(100deg, var(--brand-purple), #4E1D8D); color: #fff; box-shadow: 0 0 18px rgba(118,41,217,.2), inset 0 0 0 1px rgba(217,180,255,.2); }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a.active svg { color: #fff; }
.sidebar-divider { height: 1px; margin: 9px 9px 10px; background: rgba(194,130,255,.16); }
.client-layout:not(:has(.admin-sidebar)) .main-content { background: var(--page-bg); }
.client-summary .stat-card { border: 1px solid rgba(194,130,255,.16); }
.client-summary .stat-card.purple { background: linear-gradient(145deg, #57229A, #35145F); }
.client-summary .stat-card.green { background: linear-gradient(145deg, #0C6E53, #084936); }
.client-summary .stat-card.orange { background: linear-gradient(145deg, #68411F, #442A16); }
.client-summary .stat-icon { background: rgba(255,255,255,.12); color: #fff; }
.dashboard-grid > .card, .promotion-card { border-color: rgba(194,130,255,.16); }
.dashboard-card-heading > a, .dashboard-inline-link { color: var(--lavender-light); }
.timeline-item { position: relative; }
.dashboard-activity-card .timeline-item::before { display: none; }
.timeline-marker { position: absolute; z-index: 1; left: -1.45rem; top: 1px; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-secondary); border: 2px solid var(--brand-glow); color: #fff; }
.timeline-item.done .timeline-marker { background: var(--success); border-color: var(--success); box-shadow: 0 0 10px rgba(24,185,129,.2); }
.timeline-item.active .timeline-marker { width: 16px; height: 16px; left: calc(-1.45rem - 1px); top: 0; background: var(--brand-intense); border-color: var(--lavender-light); box-shadow: 0 0 0 4px rgba(169,76,255,.18), 0 0 15px rgba(169,76,255,.28); }
.timeline-item.terminal .timeline-marker { background: var(--error); border-color: var(--error); }
.timeline-item .date { color: #B7A9C5; }
.tracking-code-frame { border-color: var(--brand-glow); background: rgba(118,41,217,.1); }
#pagamentos { scroll-margin-top: 1.5rem; }
.installment-date { background: var(--surface-secondary); border: 1px solid rgba(194,130,255,.12); }
.promotion-card { background: radial-gradient(ellipse at 88% 76%, rgba(169,76,255,.22), transparent 36%), linear-gradient(118deg, #2B1646, #32145C 58%, #25133D); }
.promotion-icon { background: linear-gradient(145deg, var(--brand-intense), var(--brand-purple)); box-shadow: 0 0 16px rgba(169,76,255,.22); }
.promotion-gift { filter: drop-shadow(0 8px 12px rgba(0,0,0,.28)) drop-shadow(0 0 12px rgba(169,76,255,.22)); }
.notification-row { grid-template-columns: 27px minmax(0,1fr) auto; align-items: start; gap: 8px; }
.notification-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; }
.notification-icon.info { color: #EAD8FF; background: rgba(139,53,241,.24); }
.notification-icon.warning { color: #FFD890; background: rgba(240,168,58,.2); }
.notification-icon.success { color: #9AF0C7; background: rgba(24,185,129,.2); }
.notification-content { min-width: 0; }
.notification-status { align-self: start; padding: 3px 7px; border-radius: 999px; font-size: .61rem; line-height: 1.25; white-space: nowrap; }
.notification-status.read { color: #D4C7E1; background: rgba(255,255,255,.08); }
.notification-status.unread { color: #F3E5FF; background: rgba(139,53,241,.28); }
.support-dashboard-card .support-mark { width: 62px; height: 62px; border-radius: 18px; background: radial-gradient(circle at 35% 28%, rgba(217,180,255,.28), rgba(139,53,241,.14) 65%); border: 1px solid rgba(194,130,255,.2); box-shadow: 0 0 22px rgba(139,53,241,.17), inset 0 1px rgba(255,255,255,.08); }
.support-dashboard-card .support-mark svg { filter: drop-shadow(0 3px 6px rgba(169,76,255,.35)); }
.settings-section-title { margin: 0 0 5px; color: #fff; font-size: 1.05rem; }
.settings-section-copy { margin: 0 0 20px; color: var(--text-secondary); font-size: .84rem; }
@media (min-width: 700px) {
    .client-layout:not(:has(.admin-sidebar)) .sidebar { padding-top: 36px; }
    .client-layout:not(:has(.admin-sidebar)) .sidebar-logo { min-height: 124px; }
    .client-layout:not(:has(.admin-sidebar)) .main-content { padding-top: 64px; }
    .hero-art { width: min(100%, 570px); }
}
@media (min-width: 700px) and (max-width: 899px) {
    .hero-art { width: min(115%, 420px); transform: translate(12px, -2px); }
}
@media (max-width: 699px) {
    .client-layout:not(:has(.admin-sidebar)) .sidebar { padding-top: 17px; }
    .client-layout:not(:has(.admin-sidebar)) .sidebar-logo { min-height: 112px; }
    .client-layout:not(:has(.admin-sidebar)) .main-content { padding-top: 16px; }
    .hero-art { width: min(100%, 390px); transform: none; }
    .notification-row { grid-template-columns: 27px minmax(0,1fr) auto; }
    .footer-social { align-self: flex-end; margin-top: -2px; }
}


/* PRIVATE PAY — reconstrução da composição da referência do usuário */
body:has(.public-shell), body:has(.client-layout:not(:has(.admin-sidebar))) {
    background: radial-gradient(ellipse at 52% -8%, #812dd5 0%, #6420ae 32%, #3d1267 74%, #260d44 100%);
}
.public-shell {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 32px);
    margin: 16px;
    overflow: hidden;
    border: 1px solid rgba(203, 143, 255, .78);
    border-radius: 16px;
    background: #10091B;
    box-shadow: 0 0 0 1px rgba(96, 34, 160, .5), 0 14px 42px rgba(0, 0, 0, .3);
}
.public-shell > main { flex: 1 0 auto; }
.public-shell > .public-header {
    display: grid;
    grid-template-columns: 1.31fr auto 1fr;
    height: 68px;
    min-height: 68px;
    padding: 0 28px;
    gap: 12px;
    background: #10091B;
    border-bottom: 1px solid rgba(194, 130, 255, .2);
}
.public-shell .logo { gap: 9px; font-size: .96rem; }
.public-shell .logo-icon { width: 40px; height: 40px; }
.public-shell .nav-links { justify-self: center; gap: clamp(14px, 2.4vw, 25px); white-space: nowrap; }
.public-shell .nav-links a { font-size: .79rem; }
.public-shell .header-actions { justify-self: end; gap: 9px; }
.public-shell .header-actions .btn { min-height: 35px; padding: 8px 13px; font-size: .76rem; }
.public-shell .hero {
    padding: 34px clamp(26px, 4.6vw, 44px) 0;
    background: radial-gradient(ellipse at 78% 43%, rgba(118, 41, 217, .25), transparent 48%), linear-gradient(120deg, #10091B 8%, #160E25 100%);
}
.public-shell .hero-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: start;
    gap: 0;
    min-height: 330px;
    max-width: none;
    overflow: visible;
}
.public-shell .hero-copy { position: relative; z-index: 2; max-width: 430px; padding-top: 5px; }
.public-shell .hero-title { max-width: 430px; margin-bottom: 17px; font-size: clamp(2.65rem, 5.8vw, 3.1rem); line-height: 1.08; letter-spacing: -.052em; }
.public-shell .hero-title span { white-space: nowrap; color: #B963FF; }
.public-shell .hero-desc { max-width: 390px; margin-bottom: 20px; color: #C8BED7; font-size: .99rem; line-height: 1.55; }
.public-shell .hero-copy .btn { min-height: 43px; padding: 11px 19px; font-size: .84rem; }
.public-shell .hero-visual { position: relative; height: 330px; min-height: 330px; overflow: visible; }
.public-shell .hero-art {
    position: absolute;
    top: -40px;
    right: -118px;
    width: 540px;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 25px 32px rgba(92, 27, 168, .28));
}
.public-shell .tracking-box {
    width: 77%;
    max-width: 590px;
    margin: 32px auto 0;
    padding: 16px 20px;
    background: rgba(28, 20, 48, .97);
    border: 1px solid rgba(194, 130, 255, .25);
    border-radius: 16px;
}
.public-shell .tracking-box h3 { display: flex; align-items: center; gap: 20px; margin: 0 0 2px; font-size: 1.04rem; }
.public-shell .tracking-box h3 svg { width: 32px; height: 32px; color: #A94CFF; }
.public-shell .tracking-box > p { margin: 0 0 11px 56px; font-size: .79rem; color: #C8BED7; }
.public-shell .tracking-form { display: flex; gap: 12px; margin-left: 0; }
.public-shell .tracking-form .form-control { min-width: 0; height: 40px; padding: 9px 13px; font-size: .8rem; }
.public-shell .tracking-form .btn { flex: 0 0 auto; min-height: 40px; padding: 9px 28px; font-size: .8rem; }
.public-shell .features {
    padding: 26px clamp(25px, 4vw, 36px) 16px;
    background: #10091B;
    border-top: 1px solid rgba(194, 130, 255, .15);
}
.public-shell .features h2 {
    max-width: 330px;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 1.62rem;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.public-shell .features h2 span { color: #B963FF; }
.public-shell .features-grid { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.public-shell .feature-item {
    min-height: 118px;
    padding: 14px 13px;
    text-align: left;
    background: linear-gradient(145deg, #211630, #1C1430);
    border: 1px solid rgba(194, 130, 255, .17);
    border-radius: 13px;
}
.public-shell .feature-icon { width: 44px; height: 44px; margin: 0 0 8px; border-radius: 10px; background: rgba(139, 53, 241, .17); color: #C58AFF; }
.public-shell .feature-icon svg { width: 26px; height: 26px; }
.public-shell .feature-item h4 { margin: 0; font-size: .82rem; line-height: 1.27; }
.public-shell .footer-brand-band { min-height: 104px; background: linear-gradient(110deg, #25133C 0%, #3A1762 58%, #54228A 100%); }
.public-shell .footer-brand-inner { min-height: 104px; padding: 12px 30px; }
.public-shell .footer-bottom { min-height: 42px; padding: 8px 28px; }

.client-layout:not(:has(.admin-sidebar)) {
    position: relative;
    display: block;
    width: calc(100% - 32px);
    min-height: calc(100vh - 32px);
    margin: 16px;
    overflow: hidden;
    border: 1px solid rgba(203, 143, 255, .78);
    border-radius: 16px;
    background: #10091B;
    box-shadow: 0 0 0 1px rgba(96, 34, 160, .5), 0 14px 42px rgba(0, 0, 0, .3);
}
.client-layout:not(:has(.admin-sidebar)) > .sidebar {
    position: absolute;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: var(--client-sidebar-width);
    height: auto;
    min-height: 100%;
    max-height: none;
    padding: 10px 10px 20px;
    overflow-y: auto;
    background: #10091B;
    border-right: 1px solid rgba(194, 130, 255, .17);
    transform: none;
}
.client-layout:not(:has(.admin-sidebar)) .sidebar-logo {
    min-height: 112px;
    margin: 0 0 39px;
    padding: 0 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    color: #C58AFF;
    border-bottom: 1px solid rgba(194, 130, 255, .14);
}
.client-layout:not(:has(.admin-sidebar)) .sidebar-logo img { width: 48px; height: 48px; }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav { margin: 0; gap: 4px; }
.client-layout:not(:has(.admin-sidebar)) .sidebar-nav a { min-height: 42px; padding: 9px 10px; gap: 10px; font-size: .82rem; }
.client-layout:not(:has(.admin-sidebar)) > .main-content {
    width: calc(100% - var(--client-sidebar-width));
    min-height: calc(100vh - 32px);
    margin-left: var(--client-sidebar-width);
    padding: 28px 16px 20px 10px;
    background: #10091B;
    box-sizing: border-box;
}
.client-layout:not(:has(.admin-sidebar)) .topbar { min-height: 60px; margin-bottom: 27px; }
.client-layout:not(:has(.admin-sidebar)) .topbar h1 { font-size: 1.48rem; line-height: 1.16; }
.client-layout:not(:has(.admin-sidebar)) .topbar .greeting { margin-top: 4px; font-size: .84rem; color: #C8BED7; }
.client-layout:not(:has(.admin-sidebar)) .topbar-actions { gap: 13px; }
.client-layout:not(:has(.admin-sidebar)) .topbar-actions > a:first-child { width: 30px !important; height: 32px !important; border: 0 !important; background: transparent !important; }
.client-layout:not(:has(.admin-sidebar)) .topbar-actions > a:first-child span { background: #E13D73 !important; box-shadow: 0 0 0 2px #10091B !important; }
.client-layout:not(:has(.admin-sidebar)) .account-avatar { width: 36px; height: 36px; border: 1px solid rgba(217, 180, 255, .55); background: linear-gradient(145deg, #7629D9, #4F1B91); box-shadow: 0 0 14px rgba(169, 76, 255, .22); }
.client-layout:not(:has(.admin-sidebar)) .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px; margin-bottom: 24px; }
.client-summary .stat-card {
    height: 120px;
    min-height: 120px;
    padding: 13px 11px 11px 62px;
    border-radius: 13px;
    box-sizing: border-box;
}
.client-summary .stat-card .stat-icon {
    top: 14px;
    right: auto;
    left: 13px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(139, 53, 241, .92);
    color: #fff;
}
.client-summary .stat-card.green .stat-icon { background: #159A6B; color: #fff; }
.client-summary .stat-card.orange .stat-icon { background: #B87522; color: #fff; }
.client-summary .stat-card .label { margin: 1px 0 0; font-size: .76rem; line-height: 1.2; color: #F1EAF7; }
.client-summary .stat-card .value { margin: 4px 0 0; font-size: 1.54rem; line-height: 1; }
.client-summary .stat-card > a { position: absolute; bottom: 9px; left: 50%; margin: 0; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-grid { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row { display: grid; gap: 13px; align-items: stretch; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row-activity { grid-template-columns: 1.5fr 1fr; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row-payments { grid-template-columns: 1.03fr 1fr; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row-notifications { grid-template-columns: 1.74fr 1fr; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row > * { min-width: 0; margin: 0; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row-activity > * { min-height: 268px; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row-payments > * { min-height: 160px; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row-notifications > * { min-height: 207px; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-row .card { padding: 20px 18px 15px; border-radius: 13px; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-card-heading { margin-bottom: 11px; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-card-heading h3,
.client-layout:not(:has(.admin-sidebar)) .main-content .card h3 { font-size: .98rem; line-height: 1.2; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-card-heading > a { font-size: .72rem; white-space: nowrap; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .activity-summary,
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .dashboard-inline-link { display: none; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline { position: relative; margin: 17px 0 0; padding-left: 29px; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline::before { left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(169, 76, 255, .62); }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item { min-height: 35px; margin: 0 0 9px; padding: 0; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item:last-child { margin-bottom: 0; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-marker { left: -29px; top: 0; width: 17px; height: 17px; border: 2px solid #A94CFF; background: #7629D9; color: #fff; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item.done .timeline-marker { background: #7629D9; border-color: #A94CFF; color: #fff; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item.active .timeline-marker { left: -30px; top: -1px; width: 19px; height: 19px; background: #8B35F1; border-color: #D9B4FF; box-shadow: 0 0 0 4px rgba(169, 76, 255, .2), 0 0 16px rgba(169, 76, 255, .35); }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item.terminal .timeline-marker { background: #ED477B; border-color: #FF8EAD; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item.upcoming .timeline-marker { background: #25183A; border-color: #777084; box-shadow: none; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item.upcoming strong { color: #91899F; font-weight: 500; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item strong { font-size: .81rem; line-height: 1.15; }
.client-layout:not(:has(.admin-sidebar)) .dashboard-activity-card .timeline-item .date { margin-top: 2px; color: #B7A9C5; font-size: .7rem; }
.client-layout:not(:has(.admin-sidebar)) .tracking-code-card { text-align: left; }
.client-layout:not(:has(.admin-sidebar)) .tracking-code-card h3 { margin: 0; font-size: .79rem !important; line-height: 1.2; white-space: nowrap; }
.client-layout:not(:has(.admin-sidebar)) .tracking-code-card .tracking-code-frame { margin: 29px 0 11px; min-height: 58px; padding: 12px 14px; }
.client-layout:not(:has(.admin-sidebar)) .tracking-code-card .tracking-code-frame code { font-size: .91rem; }
.client-layout:not(:has(.admin-sidebar)) .tracking-code-card > p { margin: 0; text-align: center; font-size: .72rem; line-height: 1.45; }
.client-layout:not(:has(.admin-sidebar)) .installment-row { gap: 11px; padding: 8px 0 0; }
.client-layout:not(:has(.admin-sidebar)) .installment-date { width: 57px; height: 69px; flex: 0 0 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 11px; }
.client-layout:not(:has(.admin-sidebar)) .installment-date strong { font-size: 1.43rem; line-height: 1; }
.client-layout:not(:has(.admin-sidebar)) .installment-date span { text-transform: capitalize; font-size: .77rem; }
.client-layout:not(:has(.admin-sidebar)) .installment-detail span { font-size: .72rem; }
.client-layout:not(:has(.admin-sidebar)) .installment-detail strong { font-size: 1.08rem; }
.client-layout:not(:has(.admin-sidebar)) .installment-row .badge { margin-left: auto; font-size: .68rem; white-space: nowrap; }
.client-layout:not(:has(.admin-sidebar)) .promotion-card { position: relative; display: flex; align-items: center; min-height: 160px; padding: 12px 16px; overflow: hidden; border-radius: 13px; }
.client-layout:not(:has(.admin-sidebar)) .promotion-copy { position: relative; z-index: 1; width: 66%; max-width: 66%; }
.client-layout:not(:has(.admin-sidebar)) .promotion-icon { width: 32px; height: 32px; margin-bottom: 6px; }
.client-layout:not(:has(.admin-sidebar)) .promotion-copy h3 { margin: 0 0 4px; font-size: .87rem; line-height: 1.18; }
.client-layout:not(:has(.admin-sidebar)) .promotion-copy p { margin: 0 0 7px; font-size: .72rem; line-height: 1.25; }
.client-layout:not(:has(.admin-sidebar)) .promotion-copy .btn { min-height: 31px; padding: 7px 13px; font-size: .71rem; }
.client-layout:not(:has(.admin-sidebar)) .promotion-gift { position: absolute; right: 4px; bottom: -7px; z-index: 0; width: 119px; height: 119px; object-fit: contain; filter: drop-shadow(0 7px 9px rgba(0, 0, 0, .3)) drop-shadow(0 0 13px rgba(169, 76, 255, .22)); }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-row { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(194, 130, 255, .13); }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-row:last-child { border-bottom: 0; }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-icon { width: 25px; height: 25px; }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-content { min-width: 0; }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-content strong { display: block; overflow: hidden; font-size: .75rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-content p { display: none; }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-content time { display: block; margin-top: 3px; color: #B7A9C5; font-size: .67rem; line-height: 1.1; }
.client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-status { padding: 3px 7px; font-size: .62rem; }
.client-layout:not(:has(.admin-sidebar)) .support-dashboard-card { display: flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 15px 14px !important; text-align: center; }
.client-layout:not(:has(.admin-sidebar)) .support-dashboard-card .support-mark { display: block; width: 82px; height: 82px; margin: 0 auto; object-fit: contain; border: 0; border-radius: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .25)) drop-shadow(0 0 11px rgba(169, 76, 255, .25)); }
.client-layout:not(:has(.admin-sidebar)) .support-dashboard-card h3 { margin: 0; font-size: .93rem; }
.client-layout:not(:has(.admin-sidebar)) .support-dashboard-card p { margin: 0; max-width: 175px; font-size: .78rem; line-height: 1.35; }
.client-layout:not(:has(.admin-sidebar)) .support-dashboard-card .btn { width: 100%; max-width: 156px; min-height: 34px; margin-top: auto; padding: 8px 10px; justify-content: center; font-size: .72rem; }

@media (min-width: 700px) and (max-width: 900px) {
    .client-layout:not(:has(.admin-sidebar)) { --client-sidebar-width: 144px; }
}
@media (min-width: 901px) {
    body:has(.public-shell), body:has(.client-layout:not(:has(.admin-sidebar))) { background: linear-gradient(135deg, #7629D9 0%, #56208F 48%, #8B35F1 100%); }
    .public-shell .hero { padding-top: 48px; }
    .public-shell .hero-grid { min-height: clamp(370px, 38vw, 500px); }
    .public-shell .hero-visual { height: clamp(370px, 38vw, 500px); min-height: 0; }
    .public-shell .hero-art-frame { position: absolute; top: -44px; right: -70px; z-index: 1; width: min(130%, 660px); }
    .public-shell .hero-art { position: relative; display: block; inset: auto; width: 100%; max-width: none; height: auto; transform: none; filter: drop-shadow(0 25px 32px rgba(92, 27, 168, .28)); }
    .public-shell .hero-card-brand { position: absolute; top: 64%; left: 51%; z-index: 2; width: 260px; transform: rotate(-12deg); transform-origin: left top; pointer-events: none; color: #F4E9FF; text-shadow: 0 1px 3px rgba(7, 3, 14, .7); }
    .public-shell .hero-card-brand-name { display: block; font-size: 16px; font-weight: 700; line-height: 1.1; letter-spacing: .4px; }
    .public-shell .hero-card-brand-tagline { display: block; margin-top: 2px; color: #D4C5E4; font-size: 11px; line-height: 1.1; }
    .public-shell .hero-card-chip { position: absolute; top: 57px; left: 0; width: 32px; height: 23px; border: 1px solid rgba(238, 222, 255, .82); border-radius: 4px; background: linear-gradient(145deg, #D4C4E3, #837393); box-shadow: inset 0 0 0 1px rgba(55, 37, 67, .28); }
    .public-shell .hero-card-chip::before, .public-shell .hero-card-chip::after { position: absolute; content: ""; background: rgba(78, 61, 92, .62); }
    .public-shell .hero-card-chip::before { top: 0; bottom: 0; left: 50%; width: 1px; }
    .public-shell .hero-card-chip::after { top: 50%; right: 0; left: 0; height: 1px; }
    .public-shell .hero-card-contactless { position: absolute; top: 9px; right: 40px; width: 19px; height: 19px; color: #D9B4FF; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-icon { clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); border-radius: 0; background: linear-gradient(145deg, #8B35F1, #6024B2); box-shadow: 0 0 15px rgba(169, 76, 255, .24); }
    .client-layout:not(:has(.admin-sidebar)) { --client-sidebar-width: 224px; }
}
@media (min-width: 700px) and (max-width: 900px) {
    body:has(.public-shell), body:has(.client-layout:not(:has(.admin-sidebar))) { background: linear-gradient(135deg, #7629D9 0%, #56208F 48%, #8B35F1 100%); }
    .public-shell > .public-header { grid-template-columns: minmax(150px, 1fr) max-content max-content; gap: 12px; }
    .public-shell .nav-links { display: flex !important; justify-self: center; gap: clamp(12px, 2vw, 19px); }
    .public-shell .header-actions .btn { white-space: nowrap; }
    .public-shell .hero-copy { padding-top: 12px; }
    .public-shell .hero-title { margin-bottom: 17px; font-size: clamp(2.8rem, 6.1vw, 3.1rem); line-height: 1.03; }
    .public-shell .hero-desc { max-width: 260px; margin: 12px 0 31px; }
    .public-shell .hero-art-frame { position: absolute; top: -26px; right: -78px; z-index: 1; width: 520px; }
    .public-shell .hero-art { position: relative; display: block; inset: auto; width: 100%; max-width: none; height: auto; transform: none; filter: drop-shadow(0 25px 32px rgba(92, 27, 168, .28)); }
    .public-shell .hero-card-brand { position: absolute; top: 64%; left: 51%; z-index: 2; width: 224px; transform: rotate(-12deg); transform-origin: left top; pointer-events: none; color: #F4E9FF; text-shadow: 0 1px 3px rgba(7, 3, 14, .7); }
    .public-shell .hero-card-brand-name { display: block; font-size: 16px; font-weight: 700; line-height: 1.1; letter-spacing: .35px; }
    .public-shell .hero-card-brand-tagline { display: block; margin-top: 2px; color: #D4C5E4; font-size: 11px; line-height: 1.1; }
    .public-shell .hero-card-chip { position: absolute; top: 46px; left: 0; width: 30px; height: 23px; border: 1px solid rgba(238, 222, 255, .82); border-radius: 4px; background: linear-gradient(145deg, #D4C4E3, #837393); box-shadow: inset 0 0 0 1px rgba(55, 37, 67, .28); }
    .public-shell .hero-card-chip::before, .public-shell .hero-card-chip::after { position: absolute; content: ""; background: rgba(78, 61, 92, .62); }
    .public-shell .hero-card-chip::before { top: 0; bottom: 0; left: 50%; width: 1px; }
    .public-shell .hero-card-chip::after { top: 50%; right: 0; left: 0; height: 1px; }
    .public-shell .hero-card-contactless { position: absolute; top: 9px; right: 30px; width: 17px; height: 17px; color: #D9B4FF; }
    .public-shell .tracking-box { width: 88%; max-width: 590px; margin-top: 30px; padding: 13px 22px; transform: translateX(3px); }
    .public-shell .tracking-box > p { margin-bottom: 8px; }
    .public-shell .features { padding: 23px clamp(18px, 3.2vw, 25px) 12px; }
    .public-shell .features h2 { margin-bottom: 13px; }
    .public-shell .features-grid { transform: translateX(3px); }
    .public-shell .feature-item { min-height: 115px; }
    .public-shell .footer-brand-band { position: relative; display: block; min-height: 120px; }
    .public-shell .footer-brand-inner { min-height: 104px; padding: 12px 30px 12px 50px; }
    .public-shell .footer-brand-band::after { position: absolute; top: auto; right: 35%; bottom: 0; display: block; width: 110px; min-height: 16px; height: 16px; content: ""; border: 0; transform: skewX(-35deg); background: linear-gradient(105deg, #6B2BB1 0%, #3D176C 46%, #8B35F1 100%); box-shadow: 0 0 16px rgba(169, 76, 255, .28); }
    .public-shell .footer-bottom { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 9px; align-items: center; min-height: 48px; padding: 8px 26px; }
    .public-shell .footer-copy { margin: 0; font-size: .65rem; white-space: nowrap; }
    .public-shell .footer-links { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; font-size: .64rem; white-space: nowrap; }
    .public-shell .footer-social { display: flex; gap: 6px; }
    .public-shell .footer-social svg { width: 26px; height: 26px; }
    .client-layout:not(:has(.admin-sidebar)) .topbar { margin-bottom: 25px; }
    .client-layout:not(:has(.admin-sidebar)) .topbar .greeting { margin-top: 8px; }
    .client-layout:not(:has(.admin-sidebar)) .tracking-code-card .tracking-code-frame { gap: 8px; margin: 13px 0 11px; min-height: 66px; }
    .client-layout:not(:has(.admin-sidebar)) .tracking-code-card .tracking-code-frame code { font-size: .84rem; white-space: nowrap; word-break: normal; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-card { min-height: 160px; padding: 10px 16px; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-icon { width: 30px; height: 30px; margin-bottom: 5px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); border-radius: 0; background: linear-gradient(145deg, #8B35F1, #6024B2); box-shadow: 0 0 15px rgba(169, 76, 255, .24); }
    .client-layout:not(:has(.admin-sidebar)) .promotion-copy h3 { font-size: .84rem; line-height: 1.12; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-copy p { margin-bottom: 6px; font-size: .7rem; line-height: 1.18; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-copy .btn { min-height: 30px; padding: 6px 12px; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-gift { right: 4px; bottom: -3px; width: 100px; height: 100px; }
}
@media (max-width: 699px) {
    .public-shell { min-height: calc(100vh - 16px); margin: 8px; border-radius: 12px; }
    .public-shell > .public-header { display: flex; height: 68px; min-height: 68px; padding: 0 16px; }
    .public-shell .nav-links { display: none; }
    .public-shell .header-actions { margin-left: auto; }
    .public-shell .header-actions .btn { min-height: 33px; padding: 7px 10px; font-size: .71rem; }
    .public-shell .hero { padding: 28px 20px 0; }
    .public-shell .hero-grid { display: grid; grid-template-columns: 1fr; gap: 0; min-height: 0; }
    .public-shell .hero-copy { padding-top: 0; }
    .public-shell .hero-title { max-width: 100%; font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .public-shell .hero-title span { white-space: normal; }
    .public-shell .hero-desc { max-width: 100%; }
    .public-shell .hero-visual { height: 260px; min-height: 260px; }
    .public-shell .hero-art-frame { position: absolute; top: -35px; right: auto; left: 50%; z-index: 1; width: min(115vw, 430px); transform: translateX(-50%); }
    .public-shell .hero-art { position: relative; display: block; inset: auto; width: 100%; max-width: none; height: auto; transform: none; filter: drop-shadow(0 18px 24px rgba(92, 27, 168, .28)); }
    .public-shell .hero-card-brand { position: absolute; top: 64%; left: 51%; z-index: 2; width: 170px; transform: rotate(-12deg); transform-origin: left top; pointer-events: none; color: #F4E9FF; text-shadow: 0 1px 3px rgba(7, 3, 14, .7); }
    .public-shell .hero-card-brand-name { display: block; font-size: 11px; font-weight: 700; line-height: 1.1; letter-spacing: .3px; }
    .public-shell .hero-card-brand-tagline { display: block; margin-top: 2px; color: #D4C5E4; font-size: 7px; line-height: 1.1; }
    .public-shell .hero-card-chip { position: absolute; top: 45px; left: 0; width: 23px; height: 17px; border: 1px solid rgba(238, 222, 255, .82); border-radius: 3px; background: linear-gradient(145deg, #D4C4E3, #837393); }
    .public-shell .hero-card-chip::before, .public-shell .hero-card-chip::after { position: absolute; content: ""; background: rgba(78, 61, 92, .62); }
    .public-shell .hero-card-chip::before { top: 0; bottom: 0; left: 50%; width: 1px; }
    .public-shell .hero-card-chip::after { top: 50%; right: 0; left: 0; height: 1px; }
    .public-shell .hero-card-contactless { position: absolute; top: 9px; right: 4px; width: 14px; height: 14px; color: #D9B4FF; }
    .public-shell .tracking-box { width: 100%; max-width: none; margin-top: 8px; padding: 16px; }
    .public-shell .tracking-box > p { margin-left: 0; }
    .public-shell .tracking-form { flex-direction: column; }
    .public-shell .tracking-form .btn { width: 100%; }
    .public-shell .features { padding: 25px 16px 16px; }
    .public-shell .features h2 { max-width: 300px; font-size: 1.45rem; }
    .public-shell .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .public-shell .feature-item { min-height: 118px; padding: 12px; }
    .public-shell .footer-brand-band, .public-shell .footer-brand-inner { min-height: 90px; }
    .public-shell .footer-brand-inner { padding: 10px 14px; }
    .public-shell .footer-bottom { padding: 10px 14px; }
    .client-layout:not(:has(.admin-sidebar)) { width: 100%; min-height: 100vh; margin: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
    .client-layout:not(:has(.admin-sidebar)) > .sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 224px; height: 100vh; min-height: 0; padding: 22px 12px; transform: translateX(-100%); }
    .client-layout:not(:has(.admin-sidebar)) .sidebar.open { transform: translateX(0); }
    .client-layout:not(:has(.admin-sidebar)) .sidebar-logo { min-height: 112px; margin: 0 0 17px; padding: 0 12px 22px; align-items: flex-start; text-align: left; }
    .client-layout:not(:has(.admin-sidebar)) > .main-content { width: 100%; min-height: 100vh; margin: 0; padding: 16px 13px 30px; }
    .client-layout:not(:has(.admin-sidebar)) .topbar { margin-bottom: 17px; }
    .client-layout:not(:has(.admin-sidebar)) .topbar h1 { font-size: 1.3rem; }
    .client-layout:not(:has(.admin-sidebar)) .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px; margin-bottom: 16px; }
    .client-summary .stat-card { height: 108px; min-height: 108px; padding: 13px 10px 10px 58px; }
    .client-layout:not(:has(.admin-sidebar)) .dashboard-grid { gap: 12px; }
    .client-layout:not(:has(.admin-sidebar)) .dashboard-row { grid-template-columns: 1fr; gap: 12px; }
    .client-layout:not(:has(.admin-sidebar)) .dashboard-row-activity > *,
    .client-layout:not(:has(.admin-sidebar)) .dashboard-row-payments > *,
    .client-layout:not(:has(.admin-sidebar)) .dashboard-row-notifications > * { min-height: 0; }
    .client-layout:not(:has(.admin-sidebar)) .dashboard-row .card { padding: 15px; }
    .client-layout:not(:has(.admin-sidebar)) .tracking-code-card h3 { white-space: normal; }
    .client-layout:not(:has(.admin-sidebar)) .promotion-card { min-height: 166px; }
    .client-layout:not(:has(.admin-sidebar)) .notifications-card .notification-content strong { white-space: normal; }
    .client-layout:not(:has(.admin-sidebar)) .support-dashboard-card { min-height: 216px; }
}


/* Client dashboard — fintech palette inspired by familiar Brazilian finance apps;
   original Private Pay styling, no third-party brand assets. */
body:has(.client-layout.client-dashboard) { background: #EEE9F4 !important; color: #271631; }
.client-layout.client-dashboard {
    --dashboard-bg: #F7F5FA;
    --dashboard-surface: #FFFFFF;
    --dashboard-ink: #281733;
    --dashboard-muted: #756B7D;
    --dashboard-purple: #6815B8;
    --dashboard-purple-dark: #351052;
    --dashboard-green: #0D9652;
    width: calc(100% - 32px);
    min-height: calc(100vh - 32px);
    border: 1px solid rgba(69, 35, 90, .12);
    border-radius: 20px;
    background: var(--dashboard-bg);
    color: var(--dashboard-ink);
    box-shadow: 0 18px 56px rgba(40, 18, 54, .1);
}
.client-layout.client-dashboard > .sidebar {
    background: #FFFFFF;
    border-right: 1px solid #EEE8F2;
}
.client-layout.client-dashboard .sidebar-logo {
    color: #341744;
    border-bottom-color: #EEE8F2;
}
.client-layout.client-dashboard .sidebar-nav a {
    color: #675D70;
    border-radius: 11px;
}
.client-layout.client-dashboard .sidebar-nav a svg { color: #7C35B2; }
.client-layout.client-dashboard .sidebar-nav a:hover { background: #F5EFFB; color: #4F127A; }
.client-layout.client-dashboard .sidebar-nav a.active {
    background: #F0E5FB;
    color: #50117E;
    box-shadow: inset 3px 0 0 #7625BD;
}
.client-layout.client-dashboard .sidebar-nav a.active svg { color: #6815B8; }
.client-layout.client-dashboard .sidebar-divider { background: #EEE8F2; }
.client-layout.client-dashboard > .main-content { background: var(--dashboard-bg); }
.client-layout.client-dashboard .topbar h1 { color: var(--dashboard-ink); }
.client-layout.client-dashboard .topbar .greeting { color: var(--dashboard-muted); }
.client-layout.client-dashboard .topbar-actions { color: #5C5064; }
.client-layout.client-dashboard .topbar-actions > a:first-child span { background: #E44275 !important; box-shadow: 0 0 0 2px #F7F5FA !important; }
.client-layout.client-dashboard .account-avatar { color: #FFFFFF; background: linear-gradient(145deg, #7625BD, #4B1379); border-color: #E6D9F0; box-shadow: 0 5px 16px rgba(94, 25, 146, .18); }
.client-layout.client-dashboard .dashboard-welcome {
    position: relative;
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 17px;
    padding: 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    color: #FFFFFF;
    background: linear-gradient(115deg, #321047 0%, #4F1483 57%, #6E20A8 100%);
    box-shadow: 0 14px 30px rgba(62, 18, 89, .18);
}
.client-layout.client-dashboard .dashboard-welcome::after {
    position: absolute;
    top: -82px;
    right: 15%;
    width: 250px;
    height: 250px;
    content: "";
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.02);
    pointer-events: none;
}
.client-layout.client-dashboard .dashboard-welcome-copy { position: relative; z-index: 1; max-width: 600px; }
.client-layout.client-dashboard .dashboard-brand-label,
.client-layout.client-dashboard .dashboard-eyebrow {
    display: block;
    margin: 0 0 7px;
    color: #8C56B8;
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}
.client-layout.client-dashboard .dashboard-brand-label { color: #DCC7F0; font-size: .65rem; letter-spacing: .08em; }
.client-layout.client-dashboard .dashboard-brand-label span { padding: 0 5px; color: #87E4AE; }
.client-layout.client-dashboard .dashboard-welcome h2 { margin: 0; color: #FFFFFF; font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.1; letter-spacing: -.035em; }
.client-layout.client-dashboard .dashboard-welcome p { max-width: 430px; margin: 9px 0 0; color: #E4D7EE; font-size: .91rem; }
.client-layout.client-dashboard .dashboard-primary-action {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 17px;
    border-radius: 999px;
    color: #143A27;
    background: #9CE8B4;
    font-size: .84rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(10, 18, 13, .12);
    transition: transform .18s ease, background .18s ease;
}
.client-layout.client-dashboard .dashboard-primary-action:hover { color: #143A27; background: #B2F1C5; transform: translateY(-1px); }
.client-layout.client-dashboard .dashboard-welcome-mark { position: absolute; right: 29%; bottom: -30px; width: 148px; height: 148px; color: rgba(223, 191, 247, .22); transform: rotate(-9deg); }
.client-layout.client-dashboard .dashboard-welcome-mark svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2; }
.client-layout.client-dashboard .dashboard-quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 0 0 22px; }
.client-layout.client-dashboard .dashboard-quick-action {
    display: flex;
    min-width: 0;
    min-height: 66px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #EEE8F3;
    border-radius: 15px;
    color: #382A43;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(49, 26, 62, .035);
    font-size: .77rem;
    font-weight: 650;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.client-layout.client-dashboard .dashboard-quick-action:hover { color: #521281; border-color: #D7C0E8; box-shadow: 0 8px 18px rgba(49,26,62,.08); transform: translateY(-1px); }
.client-layout.client-dashboard .quick-action-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; }
.client-layout.client-dashboard .quick-action-icon.violet { color: #6D1BAA; background: #F1E6FA; }
.client-layout.client-dashboard .quick-action-icon.green { color: #087B42; background: #E6F7ED; }
.client-layout.client-dashboard .quick-action-arrow { flex: 0 0 15px; margin-left: auto; color: #9A8EA1; }
.client-layout.client-dashboard .dashboard-overview { margin-bottom: 16px; }
.client-layout.client-dashboard .dashboard-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 11px; }
.client-layout.client-dashboard .dashboard-section-heading .dashboard-eyebrow { margin-bottom: 2px; color: #80559A; }
.client-layout.client-dashboard .dashboard-section-heading h2 { color: #2C1B36; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.02em; }
.client-layout.client-dashboard .dashboard-updated-label { color: #83798A; font-size: .68rem; }
.client-layout.client-dashboard .stats-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 11px; margin: 0; }
.client-layout.client-dashboard .client-summary .stat-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 114px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 60px 14px 16px;
    overflow: hidden;
    border: 1px solid #EEE8F3;
    border-radius: 16px;
    color: #2B1B35;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(48, 24, 60, .045);
}
.client-layout.client-dashboard .client-summary .stat-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; content: ""; background: #7D2FC0; }
.client-layout.client-dashboard .client-summary .stat-card.green::before { background: #1CA560; }
.client-layout.client-dashboard .client-summary .stat-card.orange::before { background: #D28B38; }
.client-layout.client-dashboard .client-summary .stat-card .stat-icon { top: 14px; right: 14px; left: auto; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; color: #6D1BAA; background: #F1E6FA; }
.client-layout.client-dashboard .client-summary .stat-card.green .stat-icon { color: #087B42; background: #E6F7ED; }
.client-layout.client-dashboard .client-summary .stat-card.orange .stat-icon { color: #A85D11; background: #FFF1DF; }
.client-layout.client-dashboard .client-summary .stat-card .label { margin: 0; color: #796F81; font-size: .74rem; font-weight: 600; line-height: 1.25; }
.client-layout.client-dashboard .client-summary .stat-card .value { margin: 6px 0 7px; color: #291634; font-size: 1.55rem; font-weight: 750; line-height: 1; }
.client-layout.client-dashboard .client-summary .stat-card > a { position: static; display: inline-flex; align-items: center; gap: 4px; margin: auto 0 0; padding: 0; transform: none; color: #6B24A7; font-size: .69rem; font-weight: 700; }
.client-layout.client-dashboard .client-summary .stat-card.green > a { color: #0A8A4A; }
.client-layout.client-dashboard .dashboard-grid { display: flex; flex-direction: column; gap: 13px; }
.client-layout.client-dashboard .dashboard-row { display: grid; align-items: stretch; gap: 12px; }
.client-layout.client-dashboard .dashboard-row-activity { grid-template-columns: minmax(0,1.45fr) minmax(220px,.9fr); }
.client-layout.client-dashboard .dashboard-row-payments { grid-template-columns: minmax(0,1fr) minmax(220px,.94fr); }
.client-layout.client-dashboard .dashboard-row-notifications { grid-template-columns: minmax(0,1.4fr) minmax(235px,.9fr); }
.client-layout.client-dashboard .dashboard-row > * { min-width: 0; min-height: 0; margin: 0; }
.client-layout.client-dashboard .dashboard-row .card,
.client-layout.client-dashboard .support-dashboard-card {
    padding: 17px 17px 15px;
    border: 1px solid #EEE8F3;
    border-radius: 16px;
    color: #2B1B35;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(48, 24, 60, .045);
}
.client-layout.client-dashboard .dashboard-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.client-layout.client-dashboard .dashboard-card-heading .dashboard-eyebrow { margin: 0 0 3px; font-size: .6rem; }
.client-layout.client-dashboard .dashboard-card-heading h3,
.client-layout.client-dashboard .dashboard-row .card h3 { margin: 0; color: #2C1B36; font-size: .98rem; line-height: 1.2; }
.client-layout.client-dashboard .dashboard-card-heading > a { flex: 0 0 auto; color: #6D24A6; font-size: .69rem; font-weight: 650; white-space: nowrap; }
.client-layout.client-dashboard .dashboard-row .empty-note { color: #756B7D; font-size: .8rem; }
.client-layout.client-dashboard .dashboard-activity-card .activity-summary { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 3px; }
.client-layout.client-dashboard .dashboard-activity-card .activity-summary span { color: #321744; font-size: .88rem; font-weight: 700; }
.client-layout.client-dashboard .dashboard-activity-card .activity-summary small { color: #82788A; font-size: .7rem; }
.client-layout.client-dashboard .dashboard-activity-card .timeline { margin: 13px 0 0; padding-left: 26px; }
.client-layout.client-dashboard .dashboard-activity-card .timeline::before { left: 7px; background: #DFD1E9; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item { min-height: 33px; margin-bottom: 8px; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-marker { left: -26px; border-color: #B98BD8; background: #FFFFFF; color: #6B24A7; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item.done .timeline-marker { border-color: #18A45D; background: #E8F8EF; color: #13804A; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item.active .timeline-marker { border-color: #7625BD; background: #7625BD; color: #FFFFFF; box-shadow: 0 0 0 4px rgba(118,37,189,.11); }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item.terminal .timeline-marker { border-color: #D74F69; background: #FFF0F2; color: #B72C48; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item.upcoming .timeline-marker { border-color: #D7CFDC; background: #FFFFFF; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item strong { color: #382A43; font-size: .78rem; }
.client-layout.client-dashboard .dashboard-activity-card .timeline-item .date { color: #83798A; font-size: .68rem; }
.client-layout.client-dashboard .dashboard-inline-link { display: inline-flex; margin-top: 8px; color: #6921A3; font-size: .71rem; font-weight: 650; }
.client-layout.client-dashboard .tracking-code-card { text-align: left; }
.client-layout.client-dashboard .tracking-code-card .dashboard-eyebrow { color: #80559A; }
.client-layout.client-dashboard .tracking-code-card h3 { margin: 0; color: #2C1B36; font-size: .9rem !important; line-height: 1.25; white-space: normal; }
.client-layout.client-dashboard .tracking-code-card .tracking-code-frame { margin: 18px 0 10px; min-height: 56px; border: 1px dashed #BA9ACF; border-radius: 12px; background: #FAF7FD; }
.client-layout.client-dashboard .tracking-code-card .tracking-code-frame code { color: #4A1A68; font-size: .88rem; }
.client-layout.client-dashboard .tracking-code-card .code-copy { color: #6E25A6; }
.client-layout.client-dashboard .tracking-code-card > p { color: #756B7D; text-align: left; font-size: .72rem; }
.client-layout.client-dashboard .tracking-code-empty p { color: #756B7D; font-size: .78rem; }
.client-layout.client-dashboard .installment-row { gap: 11px; padding-top: 5px; }
.client-layout.client-dashboard .installment-date { flex: 0 0 56px; width: 56px; height: 66px; border: 0; border-radius: 13px; color: #FFFFFF; background: linear-gradient(145deg, #6518A4, #42116F); }
.client-layout.client-dashboard .installment-date strong { font-size: 1.35rem; }
.client-layout.client-dashboard .installment-date span { color: #E5D4F0; }
.client-layout.client-dashboard .installment-detail span { color: #796F81; font-size: .72rem; }
.client-layout.client-dashboard .installment-detail strong { color: #2B1B35; font-size: 1.07rem; }
.client-layout.client-dashboard .installment-row .badge-success { color: #087B42; background: #E5F6EC; border: 1px solid #C6EED5; }
.client-layout.client-dashboard .installment-row .badge-error { color: #B4314C; background: #FFF0F2; border: 1px solid #F5CBD3; }
.client-layout.client-dashboard .dashboard-action-card,
.client-layout.client-dashboard .support-dashboard-card {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 17px 19px;
    border: 1px solid #E7D8F2;
    border-radius: 16px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #42125F 0%, #5B1889 58%, #6E21A3 100%);
    box-shadow: 0 8px 20px rgba(65, 19, 96, .12);
}
.client-layout.client-dashboard .dashboard-action-card .action-card-icon,
.client-layout.client-dashboard .support-dashboard-card .support-card-icon { display: grid; width: 37px; height: 37px; place-items: center; margin-bottom: 8px; border-radius: 12px; color: #D8B8F0; background: rgba(255,255,255,.13); }
.client-layout.client-dashboard .dashboard-action-card .dashboard-eyebrow,
.client-layout.client-dashboard .support-dashboard-card .dashboard-eyebrow { margin: 0 0 3px; color: #CBA6E5; font-size: .58rem; }
.client-layout.client-dashboard .dashboard-action-card h3,
.client-layout.client-dashboard .support-dashboard-card h3 { margin: 0; color: #FFFFFF; font-size: .97rem; line-height: 1.22; }
.client-layout.client-dashboard .dashboard-action-card p,
.client-layout.client-dashboard .support-dashboard-card p { max-width: 350px; margin: 6px 0 10px; color: #E6D7EF; font-size: .72rem; line-height: 1.4; }
.client-layout.client-dashboard .dashboard-action-link { display: inline-flex; align-items: center; gap: 8px; color: #A7EDBD; font-size: .75rem; font-weight: 700; }
.client-layout.client-dashboard .dashboard-action-link:hover { color: #D2F7DD; }
.client-layout.client-dashboard .support-ticket-count { margin-top: 8px; color: #FFFFFF; font-size: 1.35rem; line-height: 1; }
.client-layout.client-dashboard .support-ticket-count span { color: #E5D4F0; font-size: .69rem; font-weight: 550; }
.client-layout.client-dashboard .notifications-card .notification-row { grid-template-columns: 28px minmax(0,1fr) auto; gap: 9px; padding: 9px 0; border-bottom-color: #F0EAF3; }
.client-layout.client-dashboard .notifications-card .notification-icon { width: 27px; height: 27px; border-radius: 9px; }
.client-layout.client-dashboard .notifications-card .notification-icon.info { color: #6620A1; background: #F1E6FA; }
.client-layout.client-dashboard .notifications-card .notification-icon.success { color: #087B42; background: #E6F7ED; }
.client-layout.client-dashboard .notifications-card .notification-icon.warning { color: #A85D11; background: #FFF1DF; }
.client-layout.client-dashboard .notifications-card .notification-content strong { color: #382A43; font-size: .75rem; }
.client-layout.client-dashboard .notifications-card .notification-content time { color: #83798A; font-size: .67rem; }
.client-layout.client-dashboard .notifications-card .notification-status { border-radius: 999px; font-size: .61rem; }
.client-layout.client-dashboard .notifications-card .notification-status.unread { color: #137A45; background: #E7F7ED; }
.client-layout.client-dashboard .notifications-card .notification-status.read { color: #766B80; background: #F1EEF4; }
.client-layout.client-dashboard .btn-primary { color: #FFFFFF; background: linear-gradient(135deg, #7625BD, #56128E); }
.client-layout.client-dashboard .btn-primary:hover { color: #FFFFFF; box-shadow: 0 7px 17px rgba(91, 25, 138, .2); }
@media (max-width: 900px) {
    .client-layout.client-dashboard .dashboard-welcome { padding: 20px 21px; }
    .client-layout.client-dashboard .dashboard-welcome-mark { right: 27%; }
    .client-layout.client-dashboard .dashboard-quick-action { gap: 7px; padding: 9px; font-size: .69rem; }
    .client-layout.client-dashboard .quick-action-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .client-layout.client-dashboard .quick-action-arrow { display: none; }
}
@media (max-width: 699px) {
    .client-layout.client-dashboard { width: calc(100% - 20px); min-height: calc(100vh - 20px); margin: 10px; border-radius: 16px; }
    .client-layout.client-dashboard > .main-content { width: 100%; margin-left: 0; padding: 18px 13px 24px; }
    .client-layout.client-dashboard .topbar { min-height: 54px; margin-bottom: 16px; }
    .client-layout.client-dashboard .topbar h1 { font-size: 1.2rem; }
    .client-layout.client-dashboard .topbar .greeting { font-size: .73rem; }
    .client-layout.client-dashboard .dashboard-welcome { min-height: 180px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 20px 18px; }
    .client-layout.client-dashboard .dashboard-brand-label { max-width: 250px; font-size: .56rem; }
    .client-layout.client-dashboard .dashboard-welcome h2 { max-width: 270px; font-size: 1.55rem; }
    .client-layout.client-dashboard .dashboard-welcome p { max-width: 285px; font-size: .79rem; }
    .client-layout.client-dashboard .dashboard-primary-action { min-height: 40px; padding: 0 14px; font-size: .76rem; }
    .client-layout.client-dashboard .dashboard-welcome-mark { right: -2px; bottom: 1px; width: 108px; height: 108px; opacity: .55; }
    .client-layout.client-dashboard .dashboard-quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 19px; }
    .client-layout.client-dashboard .dashboard-quick-action { min-height: 60px; padding: 8px; font-size: .68rem; }
    .client-layout.client-dashboard .quick-action-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .client-layout.client-dashboard .dashboard-section-heading h2 { font-size: 1rem; }
    .client-layout.client-dashboard .dashboard-updated-label { font-size: .6rem; }
    .client-layout.client-dashboard .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px; }
    .client-layout.client-dashboard .client-summary .stat-card { min-height: 105px; padding: 13px 50px 12px 13px; }
    .client-layout.client-dashboard .client-summary .stat-card .stat-icon { top: 12px; right: 10px; width: 31px; height: 31px; border-radius: 10px; }
    .client-layout.client-dashboard .client-summary .stat-card .label { max-width: 130px; font-size: .67rem; }
    .client-layout.client-dashboard .client-summary .stat-card .value { font-size: 1.38rem; }
    .client-layout.client-dashboard .client-summary .stat-card > a { font-size: .63rem; }
    .client-layout.client-dashboard .dashboard-row { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .client-layout.client-dashboard .dashboard-row .card,
    .client-layout.client-dashboard .support-dashboard-card { padding: 15px 14px 13px; }
    .client-layout.client-dashboard .dashboard-action-card,
    .client-layout.client-dashboard .support-dashboard-card { min-height: 150px; padding: 16px; }
    .client-layout.client-dashboard .dashboard-activity-card .timeline { margin-top: 11px; }
}

.client-layout.client-dashboard .menu-toggle { color: #6815B8; border: 1px solid #E5D9EE; border-radius: 10px; background: #F1E6FA; }
.client-layout.client-dashboard .menu-toggle:hover { color: #4F127A; background: #E9D8F6; }
.client-layout.client-dashboard .topbar-actions > a:first-child { color: #6815B8 !important; border: 1px solid #E7DDF0 !important; background: #FFFFFF !important; }
.client-layout.client-dashboard .topbar-actions > a:first-child span { box-shadow: 0 0 0 2px #FFFFFF !important; }


/* Global Private Pay visual language: light canvas, violet actions, green status.
   Dark violet remains only for deliberate brand banners and high-emphasis cards. */
:root {
    --lavender: #6B20A8;
    --lavender-light: #7C30B5;
    --text-secondary: #71677A;
    --gray-aux: #82788A;
    --success: #138B50;
    --warning: #B7781C;
    --error: #BD3C54;
    --shadow: 0 8px 24px rgba(44, 22, 57, .08);
}
body { background: #EEEAF2; color: #2B1B35; }
body:has(.public-shell),
body:has(.auth-page),
body:has(.client-layout) { background: #EEEAF2 !important; color: #2B1B35; }
a { color: #6820A5; }
a:hover { color: #4F147E; }
.btn { border-radius: 12px; font-weight: 650; }
.btn-primary { color: #FFFFFF; background: linear-gradient(135deg, #7625BD, #56128E); box-shadow: 0 5px 16px rgba(91, 25, 138, .16); }
.btn-primary:hover { color: #FFFFFF; background: linear-gradient(135deg, #6820A8, #4F117F); box-shadow: 0 7px 19px rgba(91, 25, 138, .2); }
.btn-outline { color: #5D197F; border-color: #D9C5E8; background: #FFFFFF; }
.btn-outline:hover { color: #4A116D; background: #F5EFF9; }
.form-label { color: #43334D; }
.form-control,
select.form-control,
textarea.form-control {
    color: #2B1B35;
    border-color: #DFD6E5;
    background: #FFFFFF;
    box-shadow: inset 0 1px 2px rgba(38, 17, 51, .025);
}
.form-control:focus,
select.form-control:focus,
textarea.form-control:focus { border-color: #8C50B2; box-shadow: 0 0 0 3px rgba(107, 32, 168, .12); }
.form-control::placeholder { color: #9A91A1; }
.subtitle, .form-hint, .text-muted, .empty-note { color: #756A7E; }
.alert-success { color: #12683E; border-color: #C7EBD5; background: #E9F8EF; }
.alert-error { color: #982B43; border-color: #F0CBD3; background: #FFF0F2; }
.alert-warning { color: #80540E; border-color: #F0DDB7; background: #FFF7E8; }
.badge-success { color: #087B42; border-color: #C6EED5; background: #E6F7ED; }
.badge-error { color: #B4314C; border-color: #F5CBD3; background: #FFF0F2; }
.badge-warning { color: #945C0A; border-color: #F0DDB7; background: #FFF7E8; }

/* Public pages and legal documents */
.public-shell {
    color: #2B1B35;
    border: 1px solid #E7DFEB;
    border-radius: 20px;
    background: #F7F5FA;
    box-shadow: 0 16px 48px rgba(41, 19, 54, .09);
}
.public-header {
    color: #2B1B35;
    border-bottom: 1px solid #ECE5F0;
    background: #FFFFFF;
    box-shadow: 0 3px 13px rgba(41, 19, 54, .035);
}
.public-shell .logo { color: #2B1B35; }
.public-shell .nav-links a { color: #62576B; }
.public-shell .nav-links a:hover { color: #63209A; }
.public-shell .hero {
    color: #2B1B35;
    background: radial-gradient(ellipse at 74% 34%, rgba(118,37,189,.09), transparent 40%), linear-gradient(120deg, #FFFFFF 0%, #F7F5FA 100%);
}
.public-shell .hero-title,
.public-shell .hero h1 { color: #291733; }
.public-shell .hero-title span { color: #7625BD; }
.public-shell .hero-desc { color: #71677A; }
.public-shell .tracking-box,
.public-shell .feature-item,
.public-shell .legal-document,
.public-shell .card {
    color: #2B1B35;
    border-color: #ECE5F0;
    background: #FFFFFF;
    box-shadow: 0 7px 22px rgba(43, 22, 57, .055);
}
.public-shell .tracking-box h3,
.public-shell .feature-item h3,
.public-shell .legal-document h1,
.public-shell .legal-document h2 { color: #2C1A35; }
.public-shell .tracking-box p,
.public-shell .feature-item p,
.public-shell .legal-document p,
.public-shell .legal-document li { color: #71677A; }
.public-shell .features { color: #2B1B35; background: #F7F5FA; }
.public-shell .features h2,
.public-shell .features h3 { color: #2C1A35; }
.public-shell .feature-icon { color: #6B20A8; background: #F1E6FA; }
.public-shell .public-footer { color: #2B1B35; background: #FFFFFF; border-top: 1px solid #ECE5F0; }
.public-shell .footer-brand-band { color: #FFFFFF; background: linear-gradient(110deg, #3D105E, #6520A0 67%, #7723B9); }
.public-shell .footer-bottom { color: #71677A; background: #FFFFFF; border-top-color: #ECE5F0; }
.public-shell .footer-copy,
.public-shell .footer-links a { color: #71677A; }
.public-shell .footer-links a:hover { color: #5D197F; }
.public-shell .footer-social { color: #8B6BA1; }

/* Authentication, registration and error screens */
.auth-page { min-height: 100vh; color: #2B1B35; background: radial-gradient(ellipse at 50% 0%, #F6F0FA 0%, #EEEAF2 58%, #E9E3EF 100%); }
.auth-card {
    color: #2B1B35;
    border: 1px solid #E7DFEB;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 16px 48px rgba(41, 19, 54, .1);
}
.auth-card h1,
.auth-card h2,
.auth-card h3 { color: #2C1A35; }
.auth-card .subtitle,
.auth-card p { color: #71677A; }
.auth-card .logo { color: #2B1B35; }
.auth-card a:not(.btn) { color: #6820A5; }
.auth-card a:not(.btn):hover { color: #4F147E; }

/* All client pages use the same navigation and light canvas as the dashboard. */
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) {
    color: #2B1B35;
    border-color: #E5DDEA;
    background: #F7F5FA;
    box-shadow: 0 16px 48px rgba(41, 19, 54, .09);
}
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) > .sidebar { background: #FFFFFF; border-right-color: #ECE5F0; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .sidebar-logo { color: #341744; border-bottom-color: #ECE5F0; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .sidebar-nav a { color: #675D70; border-radius: 11px; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .sidebar-nav a svg { color: #7C35B2; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .sidebar-nav a:hover { color: #4F127A; background: #F5EFFB; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .sidebar-nav a.active { color: #50117E; background: #F0E5FB; box-shadow: inset 3px 0 0 #7625BD; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .sidebar-divider { background: #EEE8F2; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) > .main-content { color: #2B1B35; background: #F7F5FA; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .topbar h1,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .main-content h1,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .main-content h2,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .main-content h3 { color: #2C1A35; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .topbar .greeting,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .main-content .subtitle { color: #756A7E; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .card,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card { color: #2B1B35; border-color: #ECE5F0; background: #FFFFFF; box-shadow: 0 7px 22px rgba(43,22,57,.055); }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card .label,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card small { color: #756A7E; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card .value,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card strong { color: #2C1A35; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .form-control { color: #2B1B35; border-color: #DFD6E5; background: #FFFFFF; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .table-wrap,
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) table { color: #2B1B35; background: #FFFFFF; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) th { color: #5B4C65; background: #F4EFF7; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) td { color: #3B2D44; border-bottom-color: #EEE8F2; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .menu-toggle { color: #6815B8; border-color: #E5D9EE; background: #F1E6FA; }

/* Admin pages share the same light menu, cards, forms and table surfaces. */
.client-layout:has(>.admin-sidebar) {
    color: #2B1B35;
    border-color: #E5DDEA;
    background: #F7F5FA;
    box-shadow: 0 16px 48px rgba(41, 19, 54, .09);
}
.client-layout:has(>.admin-sidebar) > .admin-sidebar { color: #2B1B35; background: #FFFFFF; border-right: 1px solid #ECE5F0; }
.client-layout:has(>.admin-sidebar) .sidebar-logo { color: #341744; border-bottom-color: #ECE5F0; }
.client-layout:has(>.admin-sidebar) .admin-sidebar .sidebar-nav a { color: #675D70; border-radius: 10px; }
.client-layout:has(>.admin-sidebar) .admin-sidebar .sidebar-nav a svg { color: #7C35B2; }
.client-layout:has(>.admin-sidebar) .admin-sidebar .sidebar-nav a:hover { color: #4F127A; background: #F5EFFB; }
.client-layout:has(>.admin-sidebar) .admin-sidebar .sidebar-nav a.active { color: #50117E; background: #F0E5FB; box-shadow: inset 3px 0 0 #7625BD; }
.client-layout:has(>.admin-sidebar) > .main-content { color: #2B1B35; background: #F7F5FA; }
.client-layout:has(>.admin-sidebar) .main-content h1,
.client-layout:has(>.admin-sidebar) .main-content h2,
.client-layout:has(>.admin-sidebar) .main-content h3,
.client-layout:has(>.admin-sidebar) .topbar h1 { color: #2C1A35; }
.client-layout:has(>.admin-sidebar) .main-content p,
.client-layout:has(>.admin-sidebar) .main-content .subtitle { color: #756A7E; }
.client-layout:has(>.admin-sidebar) .card,
.client-layout:has(>.admin-sidebar) .stat-card { color: #2B1B35; border-color: #ECE5F0; background: #FFFFFF; box-shadow: 0 7px 22px rgba(43,22,57,.055); }
.client-layout:has(>.admin-sidebar) .stat-card small,
.client-layout:has(>.admin-sidebar) .stat-card .label { color: #756A7E; }
.client-layout:has(>.admin-sidebar) .stat-card strong,
.client-layout:has(>.admin-sidebar) .stat-card .value { color: #2C1A35; }
.client-layout:has(>.admin-sidebar) .form-control { color: #2B1B35; border-color: #DFD6E5; background: #FFFFFF; }
.client-layout:has(>.admin-sidebar) .table-wrap,
.client-layout:has(>.admin-sidebar) table { color: #2B1B35; background: #FFFFFF; }
.client-layout:has(>.admin-sidebar) th { color: #5B4C65; background: #F4EFF7; }
.client-layout:has(>.admin-sidebar) td { color: #3B2D44; border-bottom-color: #EEE8F2; }
.client-layout:has(>.admin-sidebar) .menu-toggle { color: #6815B8; border-color: #E5D9EE; background: #F1E6FA; }

@media (max-width: 699px) {
    .public-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
    .client-layout:has(>.admin-sidebar) { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}

/* Specificity fixes for legacy header and client navigation. */
.public-shell > .public-header { color: #2B1B35 !important; border-bottom: 1px solid #ECE5F0 !important; background: #FFFFFF !important; }
.public-shell > .public-header .logo { color: #2B1B35 !important; }
.public-shell > .public-header .nav-links a { color: #62576B !important; }
.public-shell > .public-header .nav-links a:hover { color: #63209A !important; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .topbar-actions > a:first-child { color: #6815B8 !important; border-color: #E7DDF0 !important; background: #FFFFFF !important; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .topbar-actions > a:first-child span { box-shadow: 0 0 0 2px #FFFFFF !important; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-icon,
.client-layout:has(>.admin-sidebar) .stat-icon { color: #6B20A8; background: #F1E6FA; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card.green .stat-icon,
.client-layout:has(>.admin-sidebar) .stat-card.green .stat-icon { color: #087B42; background: #E6F7ED; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card.orange .stat-icon,
.client-layout:has(>.admin-sidebar) .stat-card.orange .stat-icon { color: #A85D11; background: #FFF1DF; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) .stat-card.red .stat-icon,
.client-layout:has(>.admin-sidebar) .stat-card.red .stat-icon { color: #B4314C; background: #FFF0F2; }
.client-layout:not(.client-dashboard):not(:has(>.admin-sidebar)) tbody tr:hover,
.client-layout:has(>.admin-sidebar) tbody tr:hover { background: #F8F4FB; }


/* Individualized credit analysis + permanent anti-fraud notice */
.credit-safety-banner {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    align-items: start;
    gap: 15px;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid #F0D7A8;
    border-radius: 16px;
    color: #513817;
    background: linear-gradient(115deg,#FFF9EC 0%,#FFFDF8 66%,#F7F0FF 100%);
    box-shadow: 0 8px 24px rgba(74,49,16,.055);
}
.credit-safety-banner::after { content: ''; position: absolute; width: 150px; height: 150px; right: -58px; top: -88px; border: 1px solid rgba(118,37,189,.13); border-radius: 50%; box-shadow: 0 0 0 19px rgba(118,37,189,.035),0 0 0 39px rgba(118,37,189,.025); pointer-events: none; }
.credit-safety-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #9B650D; background: #FCEBC8; }
.credit-safety-icon svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.credit-safety-eyebrow { display: block; margin: 0 0 4px; color: #94600C; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.credit-safety-banner h2 { margin: 0 0 5px; color: #3C2A19; font-size: 1rem; line-height: 1.35; letter-spacing: -.015em; }
.credit-safety-banner p { max-width: 840px; margin: 0; color: #715A3D; font-size: .83rem; line-height: 1.55; }
.credit-safety-banner--public { width: min(100% - 52px,1100px); margin: 20px auto 26px; }
.credit-safety-banner--dashboard { margin: 14px 0 22px; }

/* Credit balance card: live values come from CreditLimitService, never sample data. */
.credit-limit-panel {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 204px;
    margin: 0 0 15px;
    padding: 25px 28px;
    overflow: hidden;
    border: 1px solid #E6D9F0;
    border-radius: 20px;
    color: #2B1B35;
    background: linear-gradient(112deg,#FFFFFF 0%,#FBF8FE 58%,#F1E7F9 100%);
    box-shadow: 0 10px 26px rgba(43,22,57,.065);
}
.credit-limit-copy { position: relative; z-index: 1; min-width: 0; }
.credit-eyebrow { display: block; color: #7425A9; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.credit-limit-panel h2 { margin: 7px 0 0; color: #33213D; font-size: 1.05rem; font-weight: 650; }
.credit-available-value { margin: 3px 0 10px; color: #341744; font-size: clamp(2.1rem,5vw,3.1rem); font-weight: 760; line-height: 1.03; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.credit-status-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 27px; padding: 5px 10px; border: 1px solid #E4DAEB; border-radius: 999px; color: #675D70; background: #FFFFFF; font-size: .72rem; font-weight: 650; }
.credit-status-pill > span { width: 7px; height: 7px; border-radius: 50%; background: #8B7B96; }
.credit-status-pill.pending { color: #865709; border-color: #F0DDB7; background: #FFF8EA; }
.credit-status-pill.pending > span { background: #D39523; box-shadow: 0 0 0 3px rgba(211,149,35,.12); }
.credit-status-pill.approved { color: #087B42; border-color: #C6EED5; background: #EAF8EF; }
.credit-status-pill.approved > span { background: #159A58; box-shadow: 0 0 0 3px rgba(21,154,88,.12); }
.credit-status-pill.rejected { color: #A52D46; border-color: #F2D1D8; background: #FFF2F4; }
.credit-status-pill.rejected > span { background: #C94760; }
.credit-limit-support { margin: 11px 0 0; color: #756A7E; font-size: .82rem; line-height: 1.5; }
.credit-limit-support strong { color: #3D2948; font-weight: 700; }
.credit-limit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 15px; }
.credit-limit-actions .btn { min-height: 42px; font-size: .84rem; }
.credit-review-note { display: inline-flex; align-items: center; gap: 8px; color: #77591D; font-size: .8rem; }
.credit-review-note svg { width: 18px; height: 18px; stroke: #AF7C1B; stroke-width: 1.8; }
.credit-limit-side { position: relative; display: grid; flex: 0 0 180px; place-items: center; width: 180px; height: 150px; color: #7425A9; }
.credit-limit-side > svg { position: relative; z-index: 1; width: 90px; height: 90px; padding: 17px; border: 1px solid rgba(118,37,189,.17); border-radius: 26px; background: rgba(255,255,255,.86); box-shadow: 0 11px 26px rgba(91,25,138,.1); stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.credit-orbit { position: absolute; width: 136px; height: 136px; border: 1px solid rgba(118,37,189,.14); border-radius: 50%; }
.credit-orbit-two { width: 168px; height: 168px; border-color: rgba(118,37,189,.09); }

/* Accessible three-step conversational modal */
body.credit-modal-open { overflow: hidden; }
.credit-modal-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(36,22,46,.46); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; transition: opacity .22s ease,visibility .22s ease; }
.credit-modal-backdrop.is-open { opacity: 1; visibility: visible; }
.credit-analysis-modal { position: relative; width: min(100%,540px); max-height: min(90vh,760px); overflow-y: auto; padding: 27px 29px 25px; border: 1px solid #E8DDED; border-radius: 22px; color: #2B1B35; background: #FFFFFF; box-shadow: 0 26px 80px rgba(37,17,48,.24); transform: translateY(13px) scale(.985); transition: transform .24s cubic-bezier(.2,.75,.2,1); outline: none; }
.credit-modal-backdrop.is-open .credit-analysis-modal { transform: translateY(0) scale(1); }
.credit-modal-close { position: absolute; top: 14px; right: 15px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #EEE7F1; border-radius: 11px; color: #6A5C70; background: #FAF8FB; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.credit-modal-close:hover { color: #51167C; background: #F3EAF8; }
.credit-modal-heading { display: flex; align-items: center; gap: 13px; padding-right: 40px; }
.credit-modal-mark { display: grid; flex: 0 0 45px; place-items: center; width: 45px; height: 45px; border-radius: 14px; color: #7123A8; background: #F2E9F8; }
.credit-modal-mark svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.credit-modal-heading h2 { margin: 3px 0 0; color: #34213D; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.025em; }
.credit-modal-description { margin: 14px 0 18px; color: #766A7D; font-size: .84rem; line-height: 1.5; }
.credit-stepper { position: relative; display: flex; align-items: center; gap: 7px; margin: 0 0 20px; }
.credit-stepper > span:not([data-credit-step-label]) { width: 28px; height: 5px; border-radius: 999px; background: #E9E2ED; transition: background .2s,transform .2s; }
.credit-stepper > span.active { background: #7625BD; }
.credit-stepper small { margin-left: 4px; color: #766A7D; font-size: .72rem; font-weight: 650; }
.credit-modal-step label { display: block; margin: 0 0 9px; color: #37243F; font-size: .97rem; font-weight: 700; }
.credit-question-number { display: block; margin-bottom: 7px; color: #7625BD; font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.credit-modal-step .form-control { min-height: 48px; color: #2B1B35; border-color: #DFD6E5; border-radius: 12px; background: #FFFFFF; font-size: .9rem; }
.credit-modal-step textarea.form-control { min-height: 118px; resize: vertical; }
.credit-modal-step select.form-control { appearance: auto; }
.credit-amount-input { position: relative; }
.credit-amount-input > span { position: absolute; left: 14px; top: 15px; z-index: 1; color: #65546E; font-size: .9rem; font-weight: 700; }
.credit-amount-input input { padding-left: 45px; }
.credit-amount-input small { display: block; margin: 7px 1px 0; color: #7C7183; font-size: .74rem; }
.credit-modal-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.credit-modal-actions .btn { min-height: 42px; padding: 10px 15px; font-size: .82rem; }
.credit-privacy-note { max-width: 210px; color: #807487; font-size: .71rem; line-height: 1.35; }
.credit-last-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; color: #62516D; background: #F7F2FA; font-size: .75rem; line-height: 1.45; }
.credit-modal-progress { width: 100%; height: 4px; margin-top: 23px; overflow: hidden; border-radius: 99px; background: #F0EAF3; }
.credit-modal-progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7625BD,#9D55CC); transition: width .25s ease; }
.credit-schema-notice { margin-top: 20px; padding: 16px 17px; border: 1px solid #F0DDB7; border-radius: 13px; color: #634A22; background: #FFF9EC; font-size: .85rem; line-height: 1.55; }
.credit-schema-notice strong { display: block; margin-bottom: 5px; color: #493514; }
.credit-schema-notice p { margin: 0; }
.credit-schema-notice code { overflow-wrap: anywhere; color: #5B2381; font-size: .78rem; }

/* Light fintech treatment applied consistently to the client dashboard. */
.client-layout.client-dashboard { color: #2B1B35 !important; border-color: #E5DDEA !important; background: #F7F5FA !important; box-shadow: 0 16px 48px rgba(41,19,54,.09) !important; }
.client-layout.client-dashboard > .sidebar { color: #2B1B35 !important; background: #FFFFFF !important; border-right: 1px solid #ECE5F0 !important; }
.client-layout.client-dashboard .sidebar-logo { color: #341744 !important; border-bottom-color: #ECE5F0 !important; }
.client-layout.client-dashboard .sidebar-nav a { color: #675D70 !important; border-radius: 10px; }
.client-layout.client-dashboard .sidebar-nav a svg { color: #7C35B2 !important; }
.client-layout.client-dashboard .sidebar-nav a:hover { color: #4F127A !important; background: #F5EFFB !important; }
.client-layout.client-dashboard .sidebar-nav a.active { color: #50117E !important; background: #F0E5FB !important; box-shadow: inset 3px 0 0 #7625BD; }
.client-layout.client-dashboard > .main-content { color: #2B1B35 !important; background: #F7F5FA !important; }
.client-layout.client-dashboard .topbar h1,
.client-layout.client-dashboard .main-content h1,
.client-layout.client-dashboard .main-content h2,
.client-layout.client-dashboard .main-content h3 { color: #2C1A35; }
.client-layout.client-dashboard .topbar .greeting { color: #756A7E; }
.client-layout.client-dashboard .dashboard-welcome { color: #352044; border: 1px solid #E8DCEE; background: linear-gradient(115deg,#FFFFFF,#F2EAF8 95%); box-shadow: 0 9px 24px rgba(43,22,57,.06); }
.client-layout.client-dashboard .dashboard-welcome h2 { color: #2C1A35; }
.client-layout.client-dashboard .dashboard-welcome p { color: #71677A; }
.client-layout.client-dashboard .dashboard-brand-label { color: #7625BD; }
.client-layout.client-dashboard .dashboard-welcome-mark { color: #8B43B7; opacity: .12; }
.client-layout.client-dashboard .dashboard-quick-action,
.client-layout.client-dashboard .dashboard-row .card,
.client-layout.client-dashboard .dashboard-action-card,
.client-layout.client-dashboard .support-dashboard-card,
.client-layout.client-dashboard .stat-card { color: #2B1B35; border-color: #ECE5F0; background: #FFFFFF; box-shadow: 0 7px 22px rgba(43,22,57,.055); }
.client-layout.client-dashboard .dashboard-quick-action { border: 1px solid #ECE5F0; }
.client-layout.client-dashboard .dashboard-quick-action > span:not(.quick-action-icon) { color: #44334D; }
.client-layout.client-dashboard .client-summary .stat-card .label { color: #756A7E; }
.client-layout.client-dashboard .client-summary .stat-card .value { color: #2C1A35; }
.client-layout.client-dashboard .client-summary .stat-card.purple .stat-icon { color: #6B20A8; background: #F1E6FA; }
.client-layout.client-dashboard .client-summary .stat-card.green .stat-icon { color: #087B42; background: #E6F7ED; }
.client-layout.client-dashboard .client-summary .stat-card.orange .stat-icon { color: #A85D11; background: #FFF1DF; }
.client-layout.client-dashboard .dashboard-eyebrow { color: #782BA8; }
.client-layout.client-dashboard .dashboard-updated-label,
.client-layout.client-dashboard .empty-note { color: #756A7E; }
.client-layout.client-dashboard .dashboard-card-heading h3,
.client-layout.client-dashboard .main-content .card h3 { color: #34213D; }
.client-layout.client-dashboard .dashboard-card-heading > a,
.client-layout.client-dashboard .dashboard-inline-link,
.client-layout.client-dashboard .dashboard-action-link { color: #6820A5; }
.client-layout.client-dashboard .timeline-item strong { color: #46354F; }
.client-layout.client-dashboard .timeline-item .date { color: #82778A; }
.client-layout.client-dashboard .tracking-code-frame { color: #48215F; border-color: #E7DCEF; background: #F8F4FB; }
.client-layout.client-dashboard .installment-detail span { color: #756A7E; }
.client-layout.client-dashboard .installment-detail strong { color: #34213D; }
.client-layout.client-dashboard .notifications-card .notification-row { border-bottom-color: #EEE8F2; }
.client-layout.client-dashboard .notification-content strong { color: #3B2C45; }
.client-layout.client-dashboard .notification-content time { color: #82778A; }
.client-layout.client-dashboard .support-ticket-count { color: #34213D; }
.client-layout.client-dashboard .support-ticket-count span,
.client-layout.client-dashboard .dashboard-action-card p,
.client-layout.client-dashboard .support-dashboard-card p { color: #756A7E; }
.client-layout.client-dashboard .menu-toggle { color: #6815B8; border-color: #E5D9EE; background: #FFFFFF; }
.client-layout.client-dashboard .topbar-actions > a:first-child { color: #6815B8 !important; border-color: #E7DDF0 !important; background: #FFFFFF !important; }
.client-layout.client-dashboard .topbar-actions > a:first-child span { box-shadow: 0 0 0 2px #FFFFFF !important; }

@media (max-width: 700px) {
    .credit-safety-banner { grid-template-columns: 38px minmax(0,1fr); gap: 11px; padding: 14px; border-radius: 14px; }
    .credit-safety-icon { width: 36px; height: 36px; border-radius: 11px; }
    .credit-safety-icon svg { width: 20px; height: 20px; }
    .credit-safety-banner h2 { font-size: .9rem; }
    .credit-safety-banner p { font-size: .75rem; }
    .credit-safety-banner--public { width: calc(100% - 32px); margin: 16px auto 20px; }
    .credit-safety-banner--dashboard { margin: 12px 0 17px; }
    .credit-limit-panel { min-height: 0; margin-bottom: 12px; padding: 19px 17px; border-radius: 17px; }
    .credit-limit-panel h2 { max-width: 245px; font-size: .94rem; }
    .credit-available-value { font-size: 2.3rem; }
    .credit-limit-side { flex: 0 0 72px; width: 72px; height: 92px; margin-right: -8px; }
    .credit-limit-side > svg { width: 59px; height: 59px; padding: 11px; border-radius: 18px; }
    .credit-orbit { width: 83px; height: 83px; }
    .credit-orbit-two { width: 106px; height: 106px; }
    .credit-limit-support { max-width: 450px; font-size: .76rem; }
    .credit-limit-actions { gap: 8px; }
    .credit-limit-actions .btn { min-height: 40px; padding: 9px 12px; font-size: .75rem; }
    .credit-analysis-modal { padding: 23px 18px 20px; border-radius: 18px; }
    .credit-modal-heading h2 { font-size: 1.05rem; }
    .credit-modal-description { font-size: .78rem; }
    .credit-modal-actions { gap: 8px; }
    .credit-modal-actions .btn { padding: 9px 11px; font-size: .75rem; }
    .credit-privacy-note { max-width: 150px; font-size: .65rem; }
}
@media (max-width: 420px) {
    .credit-limit-side { display: none; }
    .credit-modal-backdrop { padding: 10px; }
    .credit-analysis-modal { max-height: 94vh; }
}
@media (prefers-reduced-motion: reduce) {
    .credit-modal-backdrop,.credit-analysis-modal,.credit-stepper > span,.credit-modal-progress span { transition: none !important; }
}


/* Immersive credit planner — light fintech surfaces, real server-side figures. */
.simulator-page { width: min(100%, 1160px); margin: 0 auto; color: #2B1B35; }
.simulator-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 235px; margin: 0 0 18px; padding: 31px 35px; overflow: hidden; border: 1px solid #E8DDF1; border-radius: 23px; background: radial-gradient(ellipse at 82% 12%,rgba(177,121,218,.19),transparent 35%),linear-gradient(116deg,#FFFFFF 0%,#F9F5FC 50%,#F0E6F8 100%); box-shadow: 0 12px 34px rgba(52,24,70,.065); }
.simulator-hero::before { position: absolute; right: 21%; bottom: -190px; width: 430px; height: 260px; border: 1px solid rgba(120,53,162,.1); border-radius: 50%; content: ''; transform: rotate(-17deg); pointer-events: none; }
.simulator-hero-copy { position: relative; z-index: 1; max-width: 690px; }
.simulator-eyebrow,.simulator-section-index { display: inline-flex; align-items: center; gap: 8px; color: #7425A9; font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.simulator-live-dot,.simulator-policy-dot { width: 7px; height: 7px; border-radius: 50%; background: #28A96B; box-shadow: 0 0 0 4px rgba(40,169,107,.11); }
.simulator-hero h2 { margin: 12px 0 10px; color: #2E183C; font-size: clamp(1.75rem,3.6vw,2.75rem); font-weight: 760; line-height: 1.04; letter-spacing: -.055em; }
.simulator-hero h2 span { color: #7625BD; }
.simulator-hero-copy > p { max-width: 630px; margin: 0; color: #74677C; font-size: .92rem; line-height: 1.62; }
.simulator-hero-assurance { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #5E4E68; font-size: .75rem; font-weight: 600; }
.simulator-hero-assurance svg { width: 18px; height: 18px; flex: 0 0 18px; stroke: #168652; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.simulator-payment-notice { position: relative; display: flex; align-items: flex-start; gap: 14px; max-width: 690px; margin: 16px 0 0; padding: 13px 15px; overflow: hidden; border: 1px solid rgba(191,145,231,.34); border-radius: 14px; color: #F8F3FC !important; background: linear-gradient(118deg,#2B1A3D 0%,#21172F 100%); box-shadow: 0 7px 22px rgba(17,8,25,.2); }
.simulator-payment-notice::after { position: absolute; right: -35px; top: -66px; width: 150px; height: 150px; border: 1px solid rgba(118,37,189,.11); border-radius: 50%; content: ''; box-shadow: 0 0 0 16px rgba(118,37,189,.025),0 0 0 33px rgba(118,37,189,.018); pointer-events: none; }
.simulator-payment-notice-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border: 1px solid #E4D4EF; border-radius: 13px; color: #7625BD; background: #F4EAF9; }
.simulator-payment-notice-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.simulator-payment-notice-copy { position: relative; z-index: 1; min-width: 0; }
.simulator-payment-notice-kicker { display: block; margin-bottom: 3px; color: #D0A8F0 !important; font-size: .59rem; font-weight: 800; letter-spacing: .14em; }
.simulator-payment-notice h3 { margin: 0 0 4px; color: #FFFFFF !important; font-size: .93rem; font-weight: 750; letter-spacing: -.015em; }
.simulator-payment-notice p { max-width: 850px; margin: 0; color: #E5D9EC !important; font-size: .76rem; line-height: 1.52; }
.simulator-payment-notice p strong { color: #F2CFFF !important; font-weight: 750; }
.simulator-payment-notice-mark { position: relative; z-index: 1; display: grid; flex: 0 0 22px; place-items: center; width: 22px; height: 22px; margin: 2px 2px 0 auto; border-radius: 50%; color: #FFFFFF; background: #159A58; font-size: .68rem; font-weight: 800; box-shadow: 0 0 0 4px rgba(21,154,88,.1); }
.simulator-hero-visual { position: relative; display: grid; flex: 0 0 250px; place-items: center; height: 190px; }
.simulator-visual-orbit { position: absolute; width: 180px; height: 180px; border: 1px solid rgba(118,37,189,.15); border-radius: 50%; }
.simulator-visual-orbit-one { transform: rotateX(62deg) rotate(-20deg); }
.simulator-visual-orbit-two { width: 215px; height: 215px; border-color: rgba(118,37,189,.08); transform: rotateX(62deg) rotate(22deg); }
.simulator-visual-card { position: relative; z-index: 1; width: 205px; padding: 16px 17px 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 17px; color: #FFFFFF; background: linear-gradient(145deg,#5B1685,#351052 80%); box-shadow: 0 15px 32px rgba(65,20,91,.2); transform: rotate(3deg); animation: simulator-float 5s ease-in-out infinite; }
.simulator-visual-card-top,.simulator-visual-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.simulator-visual-card-top { color: #E7D5F3; font-size: .55rem; font-weight: 800; letter-spacing: .14em; }
.simulator-chip { width: 19px; height: 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; background: linear-gradient(135deg,rgba(255,255,255,.6),rgba(255,255,255,.12)); }
.simulator-visual-label { margin-top: 17px; color: #D6BCE8; font-size: .48rem; font-weight: 700; letter-spacing: .16em; }
.simulator-visual-card svg { width: 100%; height: 46px; margin: 2px 0 0; }
.simulator-visual-card svg path:first-child { stroke: #B994F1; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.simulator-visual-card svg path:last-child { fill: #A680D8; opacity: .24; }
.simulator-visual-card-bottom { color: #E6D8EF; font-size: .58rem; }
.simulator-visual-card-bottom strong { color: #B8F0CE; font-size: .61rem; }
.simulator-alert { margin: 0 0 16px; }
.simulator-workspace { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(265px,.72fr); align-items: start; gap: 16px; }
.simulator-config-card,.simulator-context-card { border: 1px solid #ECE5F0; border-radius: 19px; background: #FFFFFF; box-shadow: 0 8px 26px rgba(43,22,57,.055); }
.simulator-config-card { padding: 24px 25px 22px; }
.simulator-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.simulator-section-heading h3,.simulator-schedule-heading h3 { margin: 5px 0 0; color: #33213D; font-size: 1.27rem; font-weight: 720; letter-spacing: -.035em; }
.simulator-secure-mark { display: inline-flex; align-items: center; gap: 6px; color: #71657A; font-size: .68rem; white-space: nowrap; }
.simulator-secure-mark svg { width: 15px; height: 15px; stroke: #14854F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.simulator-form { display: grid; gap: 19px; }
.simulator-field-block { padding-bottom: 17px; border-bottom: 1px solid #F0EBF3; }
.simulator-field-block > label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #392746; font-size: .86rem; font-weight: 700; }
.simulator-field-number { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border: 1px solid #E7D9EF; border-radius: 8px; color: #7425A9; background: #F7F1FA; font-size: .68rem; font-weight: 800; }
.simulator-form .form-control { min-height: 47px; border: 1px solid #DDD3E4; border-radius: 11px; color: #31213A; background: #FFFFFF; box-shadow: none; }
.simulator-form .form-control:focus { border-color: #9B62BE; box-shadow: 0 0 0 3px rgba(118,37,189,.1); }
.simulator-money-field,.simulator-installments-field { position: relative; display: flex; align-items: center; }
.simulator-money-field > span { position: absolute; left: 14px; z-index: 1; color: #6D5B77; font-size: .83rem; font-weight: 750; pointer-events: none; }
.simulator-money-field input { padding-left: 47px; font-size: 1.05rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.simulator-installments-field { gap: 10px; }
.simulator-installments-field input { max-width: 128px; text-align: center; font-size: 1rem; font-weight: 700; }
.simulator-installments-field > span { color: #766B7D; font-size: .79rem; }
.simulator-date-block input { color-scheme: light; }
.simulator-field-block > small { display: block; margin: 7px 0 0 35px; color: #807487; font-size: .72rem; line-height: 1.5; }
.simulator-field-block > small strong { color: #5A4566; font-weight: 700; }
.simulator-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; }
.simulator-policy-note { display: flex; align-items: center; gap: 9px; max-width: 260px; color: #786D80; font-size: .69rem; line-height: 1.4; }
.simulator-policy-note strong { color: #4A3656; }
.simulator-submit,.simulator-continue { min-height: 46px; gap: 10px; padding-inline: 18px; border: 0; border-radius: 12px; color: #FFFFFF; background: linear-gradient(115deg,#7625BD,#5D1B96); box-shadow: 0 7px 16px rgba(103,31,161,.18); font-size: .82rem; font-weight: 700; }
.simulator-submit:hover,.simulator-continue:hover { color: #FFFFFF; background: linear-gradient(115deg,#6820A8,#501780); transform: translateY(-1px); }
.simulator-submit svg,.simulator-continue svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.simulator-context-card { position: sticky; top: 18px; padding: 21px 21px 19px; }
.simulator-context-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.simulator-context-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #EADFF0; border-radius: 13px; color: #7223A8; background: #F6EFFA; }
.simulator-context-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.simulator-context-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #CEEDDA; border-radius: 999px; color: #087B42; background: #F0FAF4; font-size: .63rem; font-weight: 700; }
.simulator-context-status i { width: 6px; height: 6px; border-radius: 50%; background: #159A58; }
.simulator-context-overline { color: #84778D; font-size: .6rem; font-weight: 800; letter-spacing: .14em; }
.simulator-context-card h3 { margin: 4px 0 0; color: #45324F; font-size: .9rem; font-weight: 650; }
.simulator-context-balance { display: block; margin-top: 3px; color: #321544; font-size: clamp(2rem,3vw,2.5rem); font-weight: 780; line-height: 1.1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.simulator-context-caption { margin: 7px 0 0; color: #7A6F81; font-size: .72rem; line-height: 1.5; }
.simulator-context-divider { height: 1px; margin: 17px 0 12px; background: #F0EBF3; }
.simulator-context-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: #796D81; font-size: .69rem; line-height: 1.4; }
.simulator-context-row strong { color: #43314E; text-align: right; font-size: .7rem; font-weight: 700; }
.simulator-context-row-date { padding-top: 10px; border-top: 1px dashed #E9E0ED; }
.simulator-no-fees { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; padding: 12px; border: 1px solid #D8EFE0; border-radius: 12px; background: #F3FBF6; }
.simulator-no-fees-icon { display: grid; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #FFFFFF; background: #159A58; font-size: .68rem; font-weight: 800; }
.simulator-no-fees p { margin: 0; color: #5C7665; font-size: .68rem; line-height: 1.45; }
.simulator-no-fees strong { color: #17643C; }
.simulator-result { width: min(100%,1160px); margin: 19px auto 0; padding: 25px; border: 1px solid #E8DDF1; border-radius: 21px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(43,22,57,.06); }
.simulator-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.simulator-result-kicker { color: #7A2CAB; font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.simulator-result-header h2 { margin: 5px 0 3px; color: #321B40; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.04em; }
.simulator-result-header p { margin: 0; color: #7B7082; font-size: .77rem; }
.simulator-result-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #CDEBD8; border-radius: 999px; color: #087B42; background: #F1FAF4; font-size: .66rem; font-weight: 700; white-space: nowrap; }
.simulator-result-badge svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.simulator-result-highlight { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 20px 0 13px; padding: 19px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; color: #FFFFFF; background: radial-gradient(ellipse at 90% 0%,rgba(186,128,228,.34),transparent 37%),linear-gradient(112deg,#42125E,#6B2399 72%,#7B35A9); }
.simulator-result-highlight > div:first-child > span { display: block; color: #E2D1ED; font-size: .6rem; font-weight: 800; letter-spacing: .14em; }
.simulator-result-highlight > div:first-child > strong { display: block; margin-top: 3px; color: #FFFFFF; font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 780; line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.simulator-result-highlight > div:first-child > small { display: block; margin-top: 4px; color: #E3D5EC; font-size: .72rem; }
.simulator-result-highlight-meta { display: grid; gap: 3px; max-width: 260px; padding-left: 21px; border-left: 1px solid rgba(255,255,255,.2); }
.simulator-result-highlight-meta span { color: #E0CDEB; font-size: .65rem; }
.simulator-result-highlight-meta strong { color: #FFFFFF; font-size: 1.05rem; }
.simulator-result-highlight-meta small { color: #D8C2E6; font-size: .62rem; line-height: 1.4; }
.simulator-result-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 23px; border: 1px solid #EFE9F3; border-radius: 14px; background: #FCFAFD; }
.simulator-result-metrics > div { display: grid; gap: 4px; padding: 13px 15px; border-right: 1px solid #EFE9F3; }
.simulator-result-metrics > div:last-child { border-right: 0; }
.simulator-result-metrics span { color: #81758A; font-size: .63rem; }
.simulator-result-metrics strong { color: #372244; font-size: .91rem; font-variant-numeric: tabular-nums; }
.simulator-schedule-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 11px; }
.simulator-schedule-heading h3 { font-size: 1.05rem; }
.simulator-schedule-heading > span { color: #81758A; font-size: .68rem; }
.simulator-schedule { display: grid; gap: 7px; }
.simulator-schedule-row { position: relative; display: grid; grid-template-columns: 42px minmax(120px,.7fr) minmax(180px,1fr); align-items: center; gap: 11px; padding: 9px 12px; border: 1px solid #F0EAF3; border-radius: 12px; background: #FFFFFF; }
.simulator-schedule-row:hover { border-color: #E0CBEF; background: #FDFBFE; }
.simulator-schedule-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #7024A7; background: #F4ECF9; font-size: .7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.simulator-schedule-date,.simulator-schedule-breakdown { display: grid; gap: 3px; }
.simulator-schedule-date strong { color: #392747; font-size: .77rem; }
.simulator-schedule-date small { color: #8B7F92; font-size: .63rem; }
.simulator-schedule-breakdown { justify-items: end; }
.simulator-schedule-breakdown > span { color: #8A7E91; font-size: .59rem; }
.simulator-schedule-breakdown i { color: #B9A7C3; font-style: normal; }
.simulator-schedule-breakdown > strong { color: #3D254A; font-size: .81rem; font-variant-numeric: tabular-nums; }
.simulator-result-disclosure { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0; padding: 12px 13px; border: 1px solid #EAE2EF; border-radius: 12px; background: #FAF7FC; }
.simulator-result-disclosure svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; stroke: #7A39A3; stroke-width: 1.8; stroke-linecap: round; }
.simulator-result-disclosure p { margin: 0; color: #6F6377; font-size: .69rem; line-height: 1.5; }
.simulator-result-disclosure strong { color: #5B287A; }
.simulator-continue { width: fit-content; min-height: 44px; text-decoration: none; }
@keyframes simulator-float { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
@media (max-width: 900px) { .simulator-hero { padding: 27px; } .simulator-hero-visual { flex-basis: 205px; } .simulator-workspace { grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 12px; } .simulator-config-card { padding: 21px; } .simulator-result { padding: 21px; } }
@media (max-width: 700px) { .simulator-hero { min-height: 0; padding: 23px 21px; } .simulator-hero-visual { flex-basis: 160px; transform: scale(.82); transform-origin: right center; margin-left: -25px; } .simulator-hero-copy > p { font-size: .82rem; } .simulator-workspace { grid-template-columns: 1fr; } .simulator-context-card { position: static; } .simulator-result-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .simulator-result-metrics > div:nth-child(2) { border-right: 0; } .simulator-result-metrics > div:nth-child(-n+2) { border-bottom: 1px solid #EFE9F3; } }
@media (max-width: 520px) { .simulator-hero { display: block; padding: 20px 18px 13px; border-radius: 18px; } .simulator-hero h2 { font-size: 1.8rem; } .simulator-hero-assurance { align-items: flex-start; font-size: .69rem; } .simulator-hero-visual { height: 105px; margin: 0 -2px -4px; transform: scale(.74); transform-origin: center center; } .simulator-visual-card { width: 190px; } .simulator-payment-notice { gap: 10px; padding: 14px; border-radius: 14px; } .simulator-payment-notice-icon { flex-basis: 35px; width: 35px; height: 35px; border-radius: 10px; } .simulator-payment-notice-icon svg { width: 18px; height: 18px; } .simulator-payment-notice h3 { font-size: .82rem; } .simulator-payment-notice p { font-size: .69rem; } .simulator-payment-notice-mark { display: none; } .simulator-config-card { padding: 18px 15px; border-radius: 16px; } .simulator-section-heading { align-items: flex-start; margin-bottom: 18px; } .simulator-section-heading h3 { font-size: 1.14rem; } .simulator-secure-mark { font-size: .59rem; } .simulator-secure-mark svg { width: 13px; height: 13px; } .simulator-form-footer { align-items: stretch; flex-direction: column; } .simulator-policy-note { max-width: none; } .simulator-submit { width: 100%; min-height: 45px; } .simulator-context-card { padding: 18px; } .simulator-result { padding: 17px 14px; border-radius: 17px; } .simulator-result-header { display: block; } .simulator-result-badge { margin-top: 10px; } .simulator-result-highlight { align-items: flex-start; flex-direction: column; padding: 16px; } .simulator-result-highlight-meta { width: 100%; max-width: none; padding: 11px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; } .simulator-result-metrics > div { padding: 11px 9px; } .simulator-result-metrics span { font-size: .58rem; } .simulator-result-metrics strong { font-size: .8rem; } .simulator-schedule-row { grid-template-columns: 36px minmax(0,1fr) auto; gap: 8px; padding: 8px; } .simulator-schedule-number { width: 30px; height: 30px; border-radius: 9px; font-size: .64rem; } .simulator-schedule-date strong { font-size: .7rem; } .simulator-schedule-breakdown > span { max-width: 105px; font-size: .52rem; text-align: right; } .simulator-schedule-breakdown > strong { font-size: .72rem; } .simulator-schedule-heading h3 { font-size: .95rem; } .simulator-continue { width: 100%; justify-content: center; font-size: .75rem; } }
@media (prefers-reduced-motion: reduce) { .simulator-visual-card { animation: none; } .simulator-schedule-row { transition: none; } }


.credit-request-card { width: min(100%,740px); margin: 0 auto; padding: 27px; border: 1px solid #ECE5F0; border-radius: 19px; color: #2B1B35; background: #FFFFFF; box-shadow: 0 9px 28px rgba(43,22,57,.06); }
.credit-request-header { margin-bottom: 21px; padding-bottom: 18px; border-bottom: 1px solid #F0EBF3; }
.credit-request-header h2 { margin: 7px 0 6px; color: #321B40; font-size: 1.55rem; font-weight: 740; letter-spacing: -.045em; }
.credit-request-header p { max-width: 600px; margin: 0; color: #786D80; font-size: .81rem; line-height: 1.55; }
.credit-request-form { display: grid; gap: 15px; }
.credit-request-form .form-group { margin: 0; }
.credit-request-form .form-control { border: 1px solid #DDD3E4; border-radius: 11px; color: #31213A; background: #FFFFFF; }
.credit-request-form .form-control:focus { border-color: #9B62BE; box-shadow: 0 0 0 3px rgba(118,37,189,.1); }
.credit-request-form small { display: block; margin-top: 6px; color: #807487; font-size: .71rem; line-height: 1.5; }
.credit-request-optional { margin-left: 5px; color: #8B7F92; font-size: .68rem; font-weight: 500; }
.credit-request-linked { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 17px; padding: 12px; border: 1px solid #D8EFE0; border-radius: 12px; background: #F3FBF6; }
.credit-request-linked-mark { display: grid; flex: 0 0 21px; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #FFFFFF; background: #159A58; font-size: .69rem; font-weight: 800; }
.credit-request-linked span:last-child { display: grid; gap: 3px; }
.credit-request-linked strong { color: #17643C; font-size: .77rem; }
.credit-request-linked small { color: #64816F; font-size: .67rem; }
.credit-request-policy { display: grid; gap: 5px; padding: 13px; border: 1px solid #EAE2EF; border-radius: 12px; background: #FAF7FC; }
.credit-request-policy strong { color: #4B3158; font-size: .73rem; }
.credit-request-policy span,.credit-request-policy small { color: #766A7E; font-size: .68rem; line-height: 1.45; }
.credit-request-safety { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; border: 1px solid #D8EFE0; border-radius: 12px; background: #F3FBF6; }
.credit-request-safety > span { display: grid; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #FFFFFF; background: #159A58; font-size: .68rem; font-weight: 800; }
.credit-request-safety p { margin: 0; color: #5C7665; font-size: .7rem; line-height: 1.5; }
.credit-request-safety strong { color: #17643C; }
.credit-request-form .btn-primary { min-height: 45px; border: 0; border-radius: 11px; color: #FFFFFF; background: linear-gradient(115deg,#7625BD,#5D1B96); font-size: .81rem; font-weight: 700; box-shadow: 0 7px 16px rgba(103,31,161,.16); }
.credit-request-back,.credit-request-resimulate { margin-top: 11px; }
.credit-request-resimulate { margin: -8px 0 15px; }
@media (max-width: 520px) { .credit-request-card { padding: 19px 15px; border-radius: 16px; } .credit-request-header h2 { font-size: 1.35rem; } }


/* Credit application preparation and review — consistent private-banking journey. */
.applications-page,.application-review-page { width: min(100%,1160px); margin: 0 auto; color: #2B1B35; }
.applications-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 184px; margin-bottom: 15px; padding: 26px 29px; overflow: hidden; border: 1px solid #E8DDF1; border-radius: 21px; background: radial-gradient(ellipse at 92% 2%,rgba(177,121,218,.21),transparent 35%),linear-gradient(115deg,#FFFFFF,#F6EFFA); box-shadow: 0 10px 28px rgba(43,22,57,.055); }
.applications-hero > div:first-child { position: relative; z-index: 1; max-width: 630px; }
.applications-hero h2 { margin: 7px 0 6px; color: #321B40; font-size: clamp(1.45rem,3vw,2rem); font-weight: 750; line-height: 1.11; letter-spacing: -.05em; }
.applications-hero p { max-width: 560px; margin: 0; color: #786D80; font-size: .82rem; line-height: 1.55; }
.applications-new-button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 43px; border: 0; border-radius: 11px; background: linear-gradient(115deg,#7625BD,#5D1B96); font-size: .77rem; font-weight: 700; box-shadow: 0 7px 16px rgba(103,31,161,.17); }
.applications-new-button > span { font-size: 1.05rem; }
.applications-hero-orbit { position: absolute; top: -45px; right: 10%; width: 270px; height: 270px; border: 1px solid rgba(118,37,189,.1); border-radius: 50%; transform: scaleY(.56) rotate(-20deg); }
.applications-hero-orbit span,.applications-hero-orbit i { position: absolute; display: block; width: 12px; height: 12px; border-radius: 50%; background: #A66BC5; box-shadow: 0 0 0 8px rgba(166,107,197,.1); }
.applications-hero-orbit span { top: 25px; left: 50px; }.applications-hero-orbit i { right: 23px; bottom: 45px; width: 8px; height: 8px; background: #39A66B; box-shadow: 0 0 0 6px rgba(57,166,107,.1); }
.applications-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-bottom: 20px; }
.applications-summary > div { display: grid; gap: 3px; padding: 13px 16px; border: 1px solid #ECE5F0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 5px 16px rgba(43,22,57,.035); }
.applications-summary span { color: #81758A; font-size: .66rem; }.applications-summary strong { color: #382248; font-size: 1.15rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.applications-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 2px 10px; }
.applications-list-heading h3 { margin: 5px 0 0; color: #372244; font-size: 1.08rem; }.applications-list-heading > span { color: #85798D; font-size: .67rem; }
.applications-list { display: grid; gap: 9px; }
.application-list-card { display: grid; grid-template-columns: minmax(210px,1fr) minmax(210px,.9fr) auto; align-items: center; gap: 15px; padding: 15px 17px; border: 1px solid #ECE5F0; border-radius: 15px; background: #FFFFFF; box-shadow: 0 5px 17px rgba(43,22,57,.035); transition: border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.application-list-card:hover { border-color: #DDC9E9; box-shadow: 0 9px 24px rgba(43,22,57,.065); transform: translateY(-1px); }
.application-list-main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.application-list-symbol { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border: 1px solid #E9DDF0; border-radius: 13px; color: #7024A7; background: #F6EFFA; }
.application-list-symbol svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.application-list-main > div { display: grid; min-width: 0; gap: 3px; }
.application-list-code { overflow: hidden; color: #877A90; font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-overflow: ellipsis; white-space: nowrap; }
.application-list-amount { color: #34203F; font-size: 1.02rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.application-list-main small { overflow: hidden; color: #83778B; font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }.application-list-main small i { padding: 0 3px; color: #B9A7C3; font-style: normal; }
.application-list-status { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.application-status-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #8B70A0; box-shadow: 0 0 0 4px #F1EAF5; }
.application-list-status > span:last-child { display: grid; gap: 3px; min-width: 0; }.application-list-status strong { color: #493456; font-size: .73rem; }.application-list-status small { color: #85798D; font-size: .62rem; line-height: 1.4; }
.application-status-review .application-status-dot { background:#8060D5;box-shadow:0 0 0 4px #F0ECFC }.application-status-documents .application-status-dot { background:#D28A17;box-shadow:0 0 0 4px #FBF4E6 }.application-status-approved .application-status-dot { background:#159A58;box-shadow:0 0 0 4px #EAF7EF }.application-status-rejected .application-status-dot,.application-status-cancelled .application-status-dot { background:#C95469;box-shadow:0 0 0 4px #FCEEF0 }
.application-list-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 11px; border: 1px solid #E7DDEE; border-radius: 10px; color: #672293; background: #FBF8FD; font-size: .67rem; font-weight: 700; text-decoration: none; white-space: nowrap; }.application-list-action:hover { color:#501879;background:#F4ECF9;border-color:#D9C4E8 }.application-list-action span { font-size: .95rem; }
.applications-empty { display: grid; justify-items: center; padding: 35px 20px; border: 1px solid #ECE5F0; border-radius: 18px; text-align: center; background: linear-gradient(145deg,#FFFFFF,#FCFAFD); }
.applications-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 13px; border: 1px solid #E9DDF0; border-radius: 17px; color: #7625BD; background: #F6EFFA; }.applications-empty-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.applications-empty h3 { margin: 7px 0 5px; color:#372244;font-size:1.12rem }.applications-empty p { max-width:480px;margin:0 0 15px;color:#81758A;font-size:.77rem;line-height:1.55 }.applications-empty .btn { min-height:40px;border:0;border-radius:10px;background:linear-gradient(115deg,#7625BD,#5D1B96);font-size:.73rem;font-weight:700 }
.application-review-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 194px; margin-bottom: 13px; padding: 24px 26px; overflow: hidden; border: 1px solid #E8DDF1; border-radius: 20px; background: radial-gradient(ellipse at 95% 0%,rgba(177,121,218,.2),transparent 34%),linear-gradient(115deg,#FFFFFF,#F7F2FA); box-shadow: 0 10px 28px rgba(43,22,57,.05); }
.application-review-hero::after { position:absolute;right:12%;bottom:-145px;width:300px;height:230px;border:1px solid rgba(118,37,189,.1);border-radius:50%;content:'';transform:rotate(-19deg);pointer-events:none; }
.application-review-heading { position:relative;z-index:1;max-width:650px }.application-review-back { display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;color:#7D6C88;font-size:.66rem;font-weight:650;text-decoration:none }.application-review-back:hover { color:#64218E }.application-review-back span { font-size:.95rem }
.application-review-code { display:block;color:#7B2DAA;font-size:.57rem;font-weight:800;letter-spacing:.13em }.application-review-heading h2 { margin:7px 0 6px;color:#321B40;font-size:clamp(1.45rem,3vw,2rem);font-weight:750;line-height:1.1;letter-spacing:-.05em }.application-review-heading p { margin:0;color:#766B7E;font-size:.8rem;line-height:1.55 }
.application-review-state { position:relative;z-index:1;display:grid;justify-items:start;min-width:190px;padding:15px 16px;border:1px solid rgba(255,255,255,.8);border-radius:16px;background:rgba(255,255,255,.79);box-shadow:0 6px 18px rgba(43,22,57,.06);backdrop-filter:blur(8px) }
.application-review-state-icon { display:grid;place-items:center;width:32px;height:32px;margin-bottom:8px;border:1px solid #E8DDEE;border-radius:11px;color:#7528A6;background:#F7F1FA }.application-review-state-icon svg { width:18px;height:18px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round }.application-review-state-label { color:#8A7D92;font-size:.53rem;font-weight:800;letter-spacing:.13em }.application-review-state > strong { margin-top:3px;color:#3E294A;font-size:.92rem }.application-review-state > small { margin-top:3px;color:#8A7D92;font-size:.59rem }
.application-review-hero-review .application-review-state-icon { color:#684FC1;background:#F2EFFB }.application-review-hero-documents .application-review-state-icon { color:#B87911;background:#FCF5E8;border-color:#F0E2C2 }.application-review-hero-approved .application-review-state-icon { color:#13844D;background:#EFF9F2;border-color:#D9EFE0 }.application-review-hero-rejected .application-review-state-icon,.application-review-hero-cancelled .application-review-state-icon { color:#B84159;background:#FFF2F4;border-color:#F3DDE1 }
.application-review-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px }.application-review-metrics > div { display:grid;gap:4px;padding:14px 16px;border:1px solid #ECE5F0;border-radius:13px;background:#FFFFFF;box-shadow:0 4px 14px rgba(43,22,57,.03) }.application-review-metrics span { color:#84788C;font-size:.64rem }.application-review-metrics strong { color:#382248;font-size:.94rem;font-weight:750;font-variant-numeric:tabular-nums }
.application-review-columns { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;margin-top:13px }.application-review-panel,.application-docs-panel { padding:18px;border:1px solid #ECE5F0;border-radius:16px;background:#FFFFFF;box-shadow:0 6px 20px rgba(43,22,57,.04) }
.application-panel-heading { display:flex;align-items:center;gap:10px;margin-bottom:15px }.application-panel-heading > div { display:grid;gap:3px }.application-panel-heading h2 { margin:0;color:#382448;font-size:.95rem;font-weight:730;letter-spacing:-.025em }.application-panel-heading p { margin:1px 0 0;color:#807487;font-size:.68rem;line-height:1.45 }
.application-panel-icon { display:grid;flex:0 0 37px;place-items:center;width:37px;height:37px;border:1px solid #E8DDEE;border-radius:12px;color:#7225A6;background:#F7F1FA }.application-panel-icon svg { width:19px;height:19px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round }.application-panel-icon-warn { color:#B87911;background:#FCF5E8;border-color:#F0E2C2 }
.application-docs-panel { margin-top:13px;border-color:#E9DDF0;background:linear-gradient(145deg,#FFFFFF,#FCF9FE) }.application-docs-reason { margin:0 0 14px;padding:12px 13px;border:1px solid #E9DDF0;border-radius:11px;color:#493654;background:#F8F3FB;font-size:.75rem;line-height:1.55 }.application-docs-form { display:grid;grid-template-columns:1fr 1fr;gap:12px 14px }.application-docs-form .form-group { margin:0 }.application-docs-form .form-control { border-color:#DDD3E4;border-radius:10px;color:#31213A;background:#FFFFFF }.application-docs-form small { display:block;margin-top:5px;color:#82768A;font-size:.64rem;line-height:1.45 }.application-docs-form button { align-self:end;min-height:41px;border:0;border-radius:10px;background:linear-gradient(115deg,#7625BD,#5D1B96);font-size:.72rem;font-weight:700 }
.application-timeline { display:grid }.application-timeline-item { position:relative;display:grid;grid-template-columns:25px 1fr;gap:10px;min-height:64px;padding-bottom:14px }.application-timeline-item:not(:last-child)::after { position:absolute;top:24px;bottom:0;left:11px;width:1px;background:#E8E0ED;content:'' }.application-timeline-marker { position:relative;z-index:1;display:grid;place-items:center;width:23px;height:23px;border:1px solid #D8C9E2;border-radius:50%;color:#7E6290;background:#F7F2FA;font-size:.63rem;font-weight:800 }.application-timeline-item.is-current .application-timeline-marker { border-color:#D7C0E8;color:#7425A9;background:#F3EAF9;box-shadow:0 0 0 4px rgba(118,37,189,.07) }.application-timeline-marker i { width:7px;height:7px;border-radius:50%;background:#7625BD }.application-timeline-content { min-width:0;padding:2px 0 0 }.application-timeline-top { display:flex;align-items:baseline;justify-content:space-between;gap:8px }.application-timeline-top strong { color:#463151;font-size:.73rem }.application-timeline-top time { color:#8B7F92;font-size:.58rem;white-space:nowrap }.application-timeline-content p { margin:5px 0 0;color:#786D80;font-size:.66rem;line-height:1.5;overflow-wrap:anywhere }.application-empty-inline { margin:0;color:#85798D;font-size:.72rem }
.application-documents-caption { margin:-5px 0 12px;color:#81758A;font-size:.66rem;line-height:1.5 }.application-document-list { display:grid;gap:7px }.application-document-row { display:flex;align-items:center;gap:8px;min-width:0;padding:9px;border:1px solid #F0EAF3;border-radius:11px;background:#FCFAFD }.application-document-file { display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border-radius:9px;color:#7225A6;background:#F3EAF9 }.application-document-file svg { width:16px;height:16px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round }.application-document-meta { display:grid;flex:1;min-width:0;gap:3px }.application-document-meta strong { overflow:hidden;color:#4A3655;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap }.application-document-meta small { overflow:hidden;color:#8A7E91;font-size:.57rem;text-overflow:ellipsis;white-space:nowrap }.application-document-size { color:#85798D;font-size:.58rem;white-space:nowrap }.application-empty-docs { display:flex;align-items:center;gap:9px;padding:12px;border:1px dashed #E7DDEE;border-radius:11px;color:#8A7E91;background:#FCFAFD }.application-empty-docs > span { font-size:1.1rem }.application-empty-docs p { margin:0;font-size:.66rem;line-height:1.45 }
.application-review-note { display:flex;gap:10px;margin:0 0 13px;padding:13px;border:1px solid #E5DCEF;border-radius:13px;background:#FAF7FC }.application-review-note-icon { display:grid;flex:0 0 22px;place-items:center;width:22px;height:22px;border-radius:50%;color:#FFFFFF;background:#8057A0;font-weight:800;font-size:.7rem }.application-review-note strong { color:#483154;font-size:.73rem }.application-review-note p { margin:4px 0 0;color:#74677C;font-size:.71rem;line-height:1.5 }.application-review-safety { display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:12px 14px;border:1px solid #D8EFE0;border-radius:12px;background:#F3FBF6 }.application-review-safety > span { display:grid;flex:0 0 19px;place-items:center;width:19px;height:19px;border-radius:50%;color:#FFFFFF;background:#159A58;font-size:.65rem;font-weight:800 }.application-review-safety p { margin:0;color:#5C7665;font-size:.66rem;line-height:1.5 }.application-review-safety strong { color:#17643C }
.credit-request-card { position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,rgba(177,121,218,.10),transparent 30%),#FFFFFF;box-shadow:0 12px 32px rgba(43,22,57,.07) }.credit-request-card::before { position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#7625BD,#A46CC0 55%,#36A76C);content:'' }.credit-request-header { position:relative;padding:2px 0 18px 51px;border-bottom:1px solid #F0EBF3 }.credit-request-header::before { position:absolute;top:3px;left:0;display:grid;place-items:center;width:36px;height:36px;border:1px solid #E8DDEE;border-radius:12px;color:#7225A6;background:#F7F1FA;content:'02';font-size:.7rem;font-weight:800;letter-spacing:.05em }.credit-request-header::after { position:absolute;top:43px;bottom:16px;left:17px;width:1px;background:linear-gradient(#D8C3E6,transparent);content:'' }.credit-request-form { position:relative;gap:16px }.credit-request-form .form-group { padding:12px 13px;border:1px solid #F0EAF3;border-radius:13px;background:rgba(255,255,255,.85) }.credit-request-form .form-label { color:#45324F;font-size:.75rem;font-weight:700 }.credit-request-form .form-control { min-height:43px }.credit-request-form textarea.form-control { min-height:85px }.credit-request-form .form-group small { color:#81758A;font-size:.67rem }.credit-request-form .btn-primary { min-height:47px;box-shadow:0 8px 18px rgba(103,31,161,.18);transition:transform .18s ease,box-shadow .18s ease }.credit-request-form .btn-primary:hover { transform:translateY(-1px);box-shadow:0 11px 22px rgba(103,31,161,.23) }.credit-request-safety { box-shadow:inset 3px 0 0 #42A871 }.credit-request-policy { background:linear-gradient(110deg,#FAF7FC,#FFFFFF) }
@media(max-width:900px) { .application-list-card { grid-template-columns:minmax(180px,1fr) minmax(180px,.9fr); }.application-list-action { grid-column:2;justify-self:end }.application-review-columns { grid-template-columns:1fr }.application-review-state { min-width:165px } }
@media(max-width:600px) { .applications-hero { align-items:flex-start;flex-direction:column;min-height:0;padding:22px 19px }.applications-hero h2 { max-width:380px;font-size:1.5rem }.applications-hero p { font-size:.75rem }.applications-new-button { min-height:40px }.applications-summary { gap:7px }.applications-summary > div { padding:11px 10px }.applications-summary span { font-size:.58rem }.applications-summary strong { font-size:1rem }.application-list-card { grid-template-columns:1fr;gap:11px;padding:13px }.application-list-action { grid-column:auto;justify-self:stretch }.application-list-status small { font-size:.62rem }.application-review-hero { align-items:flex-start;flex-direction:column;padding:20px 18px;gap:15px }.application-review-state { display:grid;grid-template-columns:29px 1fr;align-items:center;justify-items:start;column-gap:8px;width:100%;min-width:0;padding:10px 12px }.application-review-state-icon { grid-row:span 3;width:28px;height:28px;margin:0 }.application-review-state-icon svg { width:16px;height:16px }.application-review-state-label { font-size:.49rem }.application-review-state > strong { margin:0;font-size:.79rem }.application-review-state > small { display:none }.application-review-metrics { gap:6px }.application-review-metrics > div { padding:11px 9px }.application-review-metrics span { font-size:.57rem }.application-review-metrics strong { font-size:.77rem }.application-review-columns { gap:9px }.application-review-panel,.application-docs-panel { padding:14px }.application-docs-form { grid-template-columns:1fr }.application-timeline-top { align-items:flex-start;flex-direction:column;gap:3px }.application-review-safety p { font-size:.62rem }.application-review-note { padding:11px }.credit-request-card { padding:20px 14px 16px }.credit-request-header { padding-left:45px }.credit-request-header::before { width:32px;height:32px }.credit-request-header::after { left:15px }.credit-request-form .form-group { padding:11px }.credit-request-form .form-label { font-size:.72rem } }
@media(prefers-reduced-motion:reduce) { .application-list-card,.credit-request-form .btn-primary { transition:none } }


/* Contract document presentation — formal hierarchy with immutable proposal details. */
.legal-contracts-page { width:min(100%,1120px);margin:0 auto;color:#2B1B35 }
.legal-contracts-intro { position:relative;margin-bottom:17px;padding:22px 24px;border:1px solid #E8DDF1;border-radius:17px;background:linear-gradient(112deg,#FFFFFF,#F8F3FB);box-shadow:0 8px 24px rgba(43,22,57,.045) }
.legal-contracts-intro h2 { margin:6px 0 5px;color:#321B40;font-size:1.48rem;font-weight:760;letter-spacing:-.045em }.legal-contracts-intro p { max-width:760px;margin:0;color:#766B7E;font-size:.77rem;line-height:1.55 }
.legal-contract-card { margin:0 0 16px;padding:0 22px 14px;overflow:hidden;border:1px solid #E7DFEB;border-radius:18px;background:#FFFFFF;box-shadow:0 9px 28px rgba(43,22,57,.055) }
.legal-contract-card-head { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -22px 16px;padding:17px 22px;border-bottom:1px solid #EEE8F2;background:linear-gradient(110deg,#FCFAFD,#F7F2FA) }
.legal-contract-kicker { color:#7B2DAA;font-size:.57rem;font-weight:800;letter-spacing:.14em }.legal-contract-card-head h2 { margin:4px 0 3px;color:#321B40;font-size:1.13rem;font-weight:770;letter-spacing:-.025em }.legal-contract-card-head small { color:#81758A;font-size:.62rem }
.legal-contract-status { display:inline-flex;align-items:center;gap:7px;max-width:235px;padding:7px 10px;border:1px solid #E8DDEE;border-radius:999px;color:#5C4568;background:#FFFFFF;font-size:.62rem;font-weight:700;line-height:1.3;text-align:center }.legal-contract-status i { flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#9A7BA8 }.legal-contract-status-good { border-color:#D5EBDD;color:#147343;background:#F3FAF5 }.legal-contract-status-good i { background:#199657 }.legal-contract-status-review { border-color:#E4DCF4;color:#6651A0;background:#F7F5FC }.legal-contract-status-review i { background:#8060D5 }.legal-contract-status-closed { border-color:#F1E1E4;color:#9D4051;background:#FFF7F8 }.legal-contract-status-closed i { background:#C95469 }
.legal-contract-financials { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px }.legal-contract-financials > div { display:grid;gap:5px;padding:12px 13px;border:1px solid #EFE9F3;border-radius:12px;background:#FCFAFD }.legal-contract-financials span { color:#81758A;font-size:.59rem;line-height:1.35 }.legal-contract-financials strong { color:#362143;font-size:.84rem;font-variant-numeric:tabular-nums }
.legal-readiness-warning { display:flex;gap:10px;margin:0 0 13px;padding:13px;border:1px solid #EBD7B4;border-radius:12px;background:linear-gradient(110deg,#FFF9EF,#FFFCF6) }.legal-warning-icon { display:grid;flex:0 0 22px;place-items:center;width:22px;height:22px;border-radius:50%;color:#FFFFFF;background:#B87911;font-size:.76rem;font-weight:800 }.legal-readiness-warning strong { color:#71490F;font-size:.74rem }.legal-readiness-warning p { margin:4px 0 0;color:#786342;font-size:.68rem;line-height:1.52 }
.legal-contract-document { margin-top:10px;border:1px solid #E9E1ED;border-radius:13px;background:#FFFFFF }.legal-contract-document > summary { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none }.legal-contract-document > summary::-webkit-details-marker { display:none }.legal-contract-document > summary > span:first-child { display:grid;gap:3px }.legal-contract-document > summary strong { color:#432C50;font-size:.75rem }.legal-contract-document > summary small { color:#8A7E91;font-size:.61rem }.legal-contract-summary-action { display:inline-flex;align-items:center;gap:6px;color:#7024A7;font-size:.64rem;font-weight:700;white-space:nowrap }.legal-contract-summary-action i { font-size:.9rem;font-style:normal;transition:transform .18s ease }.legal-contract-document[open] .legal-contract-summary-action i { transform:rotate(180deg) }
.legal-document-sheet { margin:0 13px 13px;padding:22px 24px;border:1px solid #EAE4EE;border-radius:10px;color:#302938;background:#FFFEFF;box-shadow:inset 0 0 0 5px #FCFAFD }
.legal-document-title { padding-bottom:15px;border-bottom:1px solid #E9E3EC;text-align:center }.legal-document-title > span { color:#725184;font-size:.55rem;font-weight:800;letter-spacing:.17em }.legal-document-title h3 { margin:7px 0 4px;color:#30243A;font-family:Georgia,'Times New Roman',serif;font-size:1.16rem;font-weight:700;letter-spacing:0 }.legal-document-title p { margin:0;color:#7A7180;font-size:.62rem }
.legal-document-meta { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0;padding:11px 12px;border:1px solid #EEE8F1;border-radius:8px;background:#FAF8FB }.legal-document-meta > div { display:grid;gap:4px }.legal-document-meta span { color:#8A7F90;font-size:.55rem }.legal-document-meta strong { color:#45364D;font-size:.65rem }
.legal-document-parties,.legal-document-economics,.legal-contract-clauses,.legal-schedule-section,.legal-document-signature { margin-top:17px }.legal-document-sheet h4 { margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #E9E3EC;color:#382A40;font-family:Georgia,'Times New Roman',serif;font-size:.82rem;font-weight:700;letter-spacing:.01em }.legal-document-parties p { margin:6px 0;color:#554B5C;font-size:.68rem;line-height:1.55 }.legal-document-parties p strong { color:#35283C }
.legal-economics-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px }.legal-economics-grid > div { display:grid;gap:4px;padding:8px;border:1px solid #F0EBF2;border-radius:7px;background:#FCFBFC }.legal-economics-grid span { color:#817688;font-size:.54rem;line-height:1.3 }.legal-economics-grid strong { color:#3F2D48;font-size:.66rem;font-variant-numeric:tabular-nums }.legal-economics-method,.legal-cet-note { margin:9px 0 0;padding:9px 10px;border-radius:7px;color:#64586A;background:#F8F5F9;font-size:.61rem;line-height:1.48 }.legal-economics-method strong { color:#45334E }.legal-cet-note { border:1px solid #EBD7B4;color:#72551F;background:#FFFAF1 }.legal-cet-note strong { color:#704910 }
.legal-contract-clauses > article { margin:0 0 12px }.legal-contract-clauses h5 { margin:0 0 4px;color:#3F3047;font-family:Georgia,'Times New Roman',serif;font-size:.69rem;font-weight:700 }.legal-contract-clauses p { margin:0;color:#554B5C;font-size:.65rem;line-height:1.62;text-align:justify;white-space:pre-line }
.legal-schedule-section > p { margin:0 0 8px;color:#756A7C;font-size:.62rem;line-height:1.45 }.legal-schedule-section .table-wrap { border:1px solid #EEE8F1;border-radius:8px }.legal-schedule-section table { font-size:.62rem }.legal-schedule-section th { color:#65536E;background:#F8F5FA;font-size:.55rem;letter-spacing:.04em }.legal-schedule-section td { color:#514458 }.legal-schedule-section td strong { color:#33223D }
.legal-document-signature { padding-top:10px;border-top:1px solid #E9E3EC }.legal-document-signature p { margin:5px 0;color:#5E5364;font-size:.61rem;line-height:1.5 }.legal-document-signature code,.legal-contract-integrity code { color:#6E4B83;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.58rem;overflow-wrap:anywhere }
.legal-contract-action,.legal-contract-decline { display:grid;gap:10px;margin-top:13px;padding:13px;border:1px solid #E8DFED;border-radius:12px;background:#FCFAFD }.legal-contract-action label,.legal-contract-decline label { display:flex;align-items:flex-start;gap:8px;color:#61556A;font-size:.67rem;line-height:1.5 }.legal-contract-action label input,.legal-contract-decline label input { margin-top:3px;accent-color:#7625BD }.legal-contract-action .btn { width:fit-content;min-height:40px;border:0;border-radius:10px;background:linear-gradient(115deg,#7625BD,#5D1B96);font-size:.69rem;font-weight:700 }.legal-contract-decline { grid-template-columns:1fr auto;align-items:center;padding:9px 12px }.legal-contract-decline .btn { border-radius:9px;font-size:.64rem }
.legal-contract-state-note { margin-top:13px;padding:12px 13px;border:1px solid #E4DCF4;border-radius:11px;color:#5D4D87;background:#F8F6FC }.legal-contract-state-note strong { font-size:.7rem }.legal-contract-state-note p { margin:4px 0 0;font-size:.65rem;line-height:1.5 }.legal-contract-state-good { border-color:#D7EBDD;color:#27613F;background:#F3FAF5 }.legal-contract-integrity { margin-top:12px;padding-top:9px;border-top:1px solid #F0EBF3;color:#8A7E91;font-size:.57rem }.legal-contract-empty { display:grid;justify-items:center;padding:32px 20px;border:1px solid #ECE5F0;border-radius:16px;text-align:center;background:#FFFFFF }.legal-contract-empty > span { color:#7827A9;font-family:Georgia,serif;font-size:1.7rem }.legal-contract-empty h3 { margin:7px 0 4px;color:#392747;font-size:.95rem }.legal-contract-empty p { max-width:460px;margin:0;color:#82768A;font-size:.68rem;line-height:1.5 }
@media(max-width:760px) { .legal-contract-financials { grid-template-columns:repeat(2,minmax(0,1fr)) }.legal-economics-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }.legal-document-sheet { padding:17px 14px }.legal-contract-card { padding-inline:15px }.legal-contract-card-head { margin-inline:-15px;padding-inline:15px } }
@media(max-width:520px) { .legal-contracts-intro { padding:18px 16px }.legal-contracts-intro h2 { font-size:1.25rem }.legal-contract-card-head { align-items:flex-start;flex-direction:column;gap:9px }.legal-contract-status { max-width:100% }.legal-document-meta { grid-template-columns:1fr 1fr }.legal-document-title h3 { font-size:1rem }.legal-contract-document > summary { align-items:flex-start }.legal-contract-summary-action { font-size:.58rem }.legal-schedule-section .table-wrap { overflow:auto }.legal-contract-action .btn { width:100% }.legal-contract-decline { grid-template-columns:1fr }.legal-contract-decline .btn { width:100% } }


/* Installment calendar with early individual payment proof workflow. */
.installments-page { width:min(100%,1120px);margin:0 auto;color:#2B1B35 }
.installments-hero { position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:22px 24px;overflow:hidden;border:1px solid #E8DDF1;border-radius:18px;background:radial-gradient(ellipse at 94% 3%,rgba(177,121,218,.19),transparent 35%),linear-gradient(112deg,#FFFFFF,#F7F1FA);box-shadow:0 8px 25px rgba(43,22,57,.05) }
.installments-hero h2 { margin:6px 0 5px;color:#321B40;font-size:1.45rem;font-weight:760;letter-spacing:-.045em }.installments-hero p { max-width:680px;margin:0;color:#766B7E;font-size:.77rem;line-height:1.55 }.installments-hero-mark { display:grid;flex:0 0 48px;place-items:center;width:48px;height:48px;border:1px solid #E8DDEE;border-radius:15px;color:#7225A6;background:#F8F3FB }.installments-hero-mark svg { width:25px;height:25px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round }
.installments-pix-card { display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:13px 15px;border:1px solid #DDEFE4;border-radius:13px;background:linear-gradient(110deg,#F3FBF6,#FFFFFF) }.installments-pix-icon { display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;border:1px solid #D8EFE0;border-radius:12px;color:#17834D;background:#FFFFFF }.installments-pix-icon svg { width:21px;height:21px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round }.installments-pix-card > span:last-child { display:grid;gap:3px;min-width:0 }.installments-pix-card small { color:#47805F;font-size:.52rem;font-weight:800;letter-spacing:.13em }.installments-pix-card strong { overflow-wrap:anywhere;color:#245438;font-size:.78rem }.installments-pix-card > span:last-child > span { color:#718477;font-size:.62rem;line-height:1.4 }
.installments-advance-note { display:flex;align-items:flex-start;gap:9px;margin:0 0 16px;padding:11px 13px;border:1px solid #E8DDEE;border-radius:12px;background:#FBF8FD }.installments-advance-note > span { display:grid;flex:0 0 19px;place-items:center;width:19px;height:19px;border-radius:50%;color:#FFFFFF;background:#795198;font-size:.67rem;font-weight:800 }.installments-advance-note p { margin:0;color:#71647A;font-size:.65rem;line-height:1.5 }.installments-advance-note strong { color:#4A3157 }.installments-advance-note a { color:#6D249B;font-weight:700 }
.installments-list { display:grid;gap:9px }.installment-payment-card { display:grid;grid-template-columns:48px minmax(150px,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid #ECE5F0;border-radius:15px;background:#FFFFFF;box-shadow:0 5px 17px rgba(43,22,57,.035) }.installment-payment-card.is-future { border-left:3px solid #8B57B4 }.installment-payment-card.is-paid { opacity:.83 }.installment-payment-date { display:grid;justify-items:center;align-content:center;width:46px;height:51px;border:1px solid #E8DDEE;border-radius:12px;color:#7024A7;background:#F7F1FA }.installment-payment-date span { color:#8A70A0;font-size:.5rem;font-weight:800;text-transform:uppercase }.installment-payment-date strong { color:#422351;font-size:1.1rem;line-height:1.05;font-variant-numeric:tabular-nums }.installment-payment-date small { color:#8A7E91;font-size:.5rem }.installment-payment-main { display:grid;min-width:0;gap:3px }.installment-payment-contract { overflow:hidden;color:#8A7D92;font-size:.54rem;font-weight:800;letter-spacing:.09em;text-overflow:ellipsis;white-space:nowrap }.installment-payment-amount { color:#352040;font-size:1rem;font-weight:760;font-variant-numeric:tabular-nums }.installment-payment-due { color:#82768A;font-size:.61rem }.installment-payment-state { display:inline-flex;align-items:center;gap:6px;justify-self:end;padding:6px 9px;border:1px solid #EEE6F1;border-radius:999px;color:#695A72;background:#FAF7FB;font-size:.58rem;font-weight:700;white-space:nowrap }.installment-payment-state i { width:6px;height:6px;border-radius:50%;background:#9A7BA8 }.installment-payment-state-paid { border-color:#D5EBDD;color:#147343;background:#F3FAF5 }.installment-payment-state-paid i { background:#159A58 }.installment-payment-state-late { border-color:#F2D9DF;color:#A53E51;background:#FFF4F5 }.installment-payment-state-late i { background:#C94C62 }.installment-payment-state-checking { border-color:#E5DDF2;color:#644A91;background:#F8F5FC }.installment-payment-state-checking i { background:#8060D5 }.installment-payment-feedback { grid-column:2/-1;padding:8px 10px;border:1px solid #E6DFF1;border-radius:9px;color:#685582;background:#F9F7FC;font-size:.61rem }
.installment-payment-action { grid-column:2/-1;justify-self:stretch;border:1px solid #E9DDF0;border-radius:11px;background:#FCFAFD }.installment-payment-action > summary { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:#682394;cursor:pointer;font-size:.67rem;font-weight:750;list-style:none }.installment-payment-action > summary::-webkit-details-marker { display:none }.installment-payment-action > summary > span { display:grid;place-items:center;width:19px;height:19px;border-radius:7px;color:#FFFFFF;background:#7528A7;font-size:.85rem;transition:transform .16s ease }.installment-payment-action[open] > summary > span { transform:rotate(45deg) }.installment-proof-form { display:grid;grid-template-columns:minmax(140px,.8fr) minmax(180px,1fr) auto;align-items:center;gap:9px;padding:0 11px 11px }.installment-proof-info { display:grid;gap:3px }.installment-proof-info strong { color:#44304E;font-size:.66rem }.installment-proof-info span { color:#82768A;font-size:.59rem;line-height:1.4 }.installment-proof-upload { display:grid;gap:3px;padding:8px 10px;border:1px dashed #D8C8E2;border-radius:9px;color:#684083;background:#FFFFFF;font-size:.62rem;font-weight:700;cursor:pointer }.installment-proof-upload small { color:#8A7E91;font-size:.53rem;font-weight:500 }.installment-proof-upload input { max-width:100%;color:#756A7E;font-size:.56rem }.installment-proof-form .btn { min-height:37px;border:0;border-radius:9px;background:linear-gradient(115deg,#7625BD,#5D1B96);font-size:.62rem;font-weight:700;white-space:nowrap }.installments-empty { display:grid;justify-items:center;padding:30px 18px;border:1px solid #ECE5F0;border-radius:16px;text-align:center;background:#FFFFFF }.installments-empty>span { display:grid;place-items:center;width:47px;height:47px;margin-bottom:10px;border:1px solid #E8DDEE;border-radius:14px;color:#7225A6;background:#F7F1FA }.installments-empty svg { width:23px;height:23px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round }.installments-empty h3 { margin:5px 0;color:#3B2846;font-size:.95rem }.installments-empty p { max-width:460px;margin:0 0 12px;color:#81758A;font-size:.69rem;line-height:1.5 }.installments-empty .btn { font-size:.67rem }
@media(max-width:720px) { .installment-proof-form { grid-template-columns:1fr 1fr }.installment-proof-info { grid-column:1/-1 }.installment-proof-form .btn { min-height:40px } }
@media(max-width:520px) { .installments-hero { padding:18px 15px }.installments-hero h2 { max-width:300px;font-size:1.2rem }.installments-hero p { font-size:.68rem }.installments-hero-mark { flex-basis:38px;width:38px;height:38px }.installments-hero-mark svg { width:20px;height:20px }.installments-pix-card { padding:11px }.installments-advance-note { padding:10px }.installments-advance-note p { font-size:.61rem }.installment-payment-card { grid-template-columns:40px minmax(0,1fr) auto;gap:9px;padding:11px }.installment-payment-date { width:39px;height:47px;border-radius:10px }.installment-payment-date strong { font-size:1rem }.installment-payment-amount { font-size:.9rem }.installment-payment-contract { font-size:.48rem }.installment-payment-state { padding:5px 7px;font-size:.53rem }.installment-payment-action,.installment-payment-feedback { grid-column:1/-1 }.installment-proof-form { grid-template-columns:1fr }.installment-proof-info { grid-column:auto }.installment-proof-form .btn { width:100% } }


/* Credit review v1 — transparent decision workspace and client consent. */
.credit-reviews-page,.notifications-hub { width:min(100%,1220px);margin:0 auto;color:#2B1B35 }
.credit-reviews-hero,.notifications-hub-hero { display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 12px;padding:22px 24px;border:1px solid #E8DDF1;border-radius:18px;background:radial-gradient(ellipse at 93% 0%,rgba(177,121,218,.2),transparent 34%),linear-gradient(112deg,#FFFFFF,#F8F3FB);box-shadow:0 8px 24px rgba(43,22,57,.05) }
.credit-reviews-hero h2,.notifications-hub-hero h2 { margin:6px 0 5px;color:#321B40;font-size:1.48rem;font-weight:760;letter-spacing:-.045em }.credit-reviews-hero p,.notifications-hub-hero p { max-width:760px;margin:0;color:#766B7E;font-size:.75rem;line-height:1.55 }.credit-reviews-hero-mark { display:grid;flex:0 0 49px;place-items:center;width:49px;height:49px;border:1px solid #E8DDEE;border-radius:15px;color:#7225A6;background:#FFFFFF }.credit-reviews-hero-mark svg { width:27px;height:27px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round }
.credit-reviews-guardrail { display:flex;align-items:flex-start;gap:9px;margin-bottom:10px;padding:11px 13px;border:1px solid #E7DDEE;border-radius:12px;color:#6D5C78;background:#FBF8FD }.credit-reviews-guardrail>span { display:grid;flex:0 0 19px;place-items:center;width:19px;height:19px;border-radius:50%;color:#FFFFFF;background:#795198;font-size:.66rem;font-weight:800 }.credit-reviews-guardrail p { margin:0;font-size:.64rem;line-height:1.5 }.credit-reviews-guardrail strong { color:#493356 }.credit-reviews-policy { margin-bottom:13px;padding:10px 13px;border:1px solid #E6D9F0;border-radius:11px;color:#655274;background:#F8F3FB;font-size:.66rem }.credit-reviews-policy strong { color:#432554 }
.credit-reviews-run-panel { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px;padding:15px 17px;border:1px solid #E9E1ED;border-radius:14px;background:#FFFFFF;box-shadow:0 5px 17px rgba(43,22,57,.035) }.credit-reviews-run-panel h3,.credit-reviews-section-head h3 { margin:4px 0;color:#392547;font-size:.96rem }.credit-reviews-run-panel p { margin:0;color:#85798D;font-size:.63rem;line-height:1.45 }.credit-reviews-run-panel .btn { flex:0 0 auto;min-height:40px;border:0;border-radius:10px;background:linear-gradient(115deg,#7625BD,#5D1B96);font-size:.66rem;font-weight:700 }.credit-reviews-batches,.credit-reviews-queue { margin-bottom:16px }.credit-reviews-section-head { display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:9px }.credit-reviews-section-head select { min-width:180px;padding:8px 11px;border:1px solid #E5DDEA;border-radius:9px;color:#594866;background:#FFFFFF;font-size:.65rem }.credit-batch-strip { display:flex;gap:8px;overflow:auto;padding:1px 0 4px }.credit-batch-strip article { display:grid;flex:0 0 235px;gap:4px;padding:11px 12px;border:1px solid #ECE5F0;border-radius:12px;background:#FFFFFF }.credit-batch-type { color:#7A2EAA;font-size:.49rem;font-weight:800;letter-spacing:.12em }.credit-batch-strip article strong { color:#473153;font-size:.68rem }.credit-batch-strip article small { color:#877B8E;font-size:.55rem;line-height:1.4 }.credit-reviews-muted { color:#82768A;font-size:.67rem }
.credit-bulk-toolbar { display:flex;align-items:center;gap:11px;margin:0 0 10px;padding:10px 12px;border:1px solid #E5D9ED;border-radius:12px;background:#F8F3FB }.credit-bulk-toolbar label { display:flex;align-items:center;gap:7px;color:#553B65;font-size:.65rem;font-weight:700 }.credit-bulk-toolbar input,.credit-proposal-select input { accent-color:#7525AE }.credit-bulk-toolbar>span { flex:1;color:#82758A;font-size:.59rem }.credit-bulk-toolbar .btn { min-height:36px;border:0;border-radius:9px;background:#6E239C;font-size:.62rem;font-weight:700 }
.credit-review-proposal-list { display:grid;gap:11px }.credit-limit-proposal-card { padding:15px;border:1px solid #EAE3EE;border-radius:15px;background:#FFFFFF;box-shadow:0 6px 19px rgba(43,22,57,.04) }.credit-limit-proposal-head { display:flex;align-items:center;gap:10px }.credit-proposal-user-mark { display:grid;flex:0 0 38px;place-items:center;width:38px;height:38px;border:1px solid #E9DDF0;border-radius:13px;color:#7024A7;background:#F7F1FA;font-size:.86rem;font-weight:800 }.credit-proposal-user { display:grid;flex:1;min-width:0;gap:2px }.credit-proposal-user>span { color:#877A90;font-size:.49rem;font-weight:800;letter-spacing:.12em }.credit-proposal-user strong { overflow:hidden;color:#362243;font-size:.83rem;text-overflow:ellipsis;white-space:nowrap }.credit-proposal-user small { overflow:hidden;color:#81758A;font-size:.58rem;text-overflow:ellipsis;white-space:nowrap }.credit-proposal-status { display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #E8DDEE;border-radius:999px;color:#685476;background:#FBF8FD;font-size:.55rem;font-weight:700;white-space:nowrap }.credit-proposal-status i { width:6px;height:6px;border-radius:50%;background:#8A70A0 }.credit-proposal-status-customer { border-color:#E5DDF2;color:#624C91;background:#F8F6FC }.credit-proposal-status-customer i { background:#8060D5 }.credit-proposal-status-applied { border-color:#D5EBDD;color:#147343;background:#F3FAF5 }.credit-proposal-status-applied i { background:#159A58 }.credit-proposal-status-rejected,.credit-proposal-status-blocked { border-color:#F1DEE2;color:#A24555;background:#FFF6F7 }.credit-proposal-status-rejected i,.credit-proposal-status-blocked i { background:#C95469 }
.credit-proposal-comparison { display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;margin:12px 0;padding:10px;border:1px solid #F0EBF3;border-radius:12px;background:#FCFAFD }.credit-proposal-comparison>div { display:grid;gap:3px;min-width:0 }.credit-proposal-comparison span:not(.credit-proposal-arrow) { color:#82768A;font-size:.56rem }.credit-proposal-comparison strong { color:#3B2946;font-size:.85rem;font-variant-numeric:tabular-nums }.credit-proposal-comparison small { color:#81758A;font-size:.54rem;line-height:1.35 }.credit-proposal-comparison .is-proposed strong { color:#682392 }.credit-proposal-arrow { display:grid;place-items:center;width:22px;height:22px;border-radius:8px;color:#7024A7;background:#F1E8F7;font-size:.7rem }.credit-proposal-delta { padding-left:9px;border-left:1px solid #E9E1ED }.credit-proposal-delta.delta-up strong { color:#16804A }.credit-proposal-delta.delta-down strong { color:#B74A5B }
.credit-proposal-meta { display:flex;align-items:center;gap:10px;margin:10px 0 }.credit-score-ring { display:flex;align-items:baseline;justify-content:center;flex:0 0 48px;width:48px;height:48px;padding-top:15px;border:2px solid #D9C3E6;border-radius:50%;color:#67238F;background:radial-gradient(circle,#FFFFFF 58%,#F5ECFA 60%);font-variant-numeric:tabular-nums }.credit-score-ring strong { font-size:.84rem }.credit-score-ring small { color:#917DA0;font-size:.46rem }.credit-proposal-meta>div { display:grid;gap:3px }.credit-proposal-meta>div>strong { color:#473253;font-size:.69rem }.credit-proposal-meta>div>p { margin:0;color:#81758A;font-size:.6rem;line-height:1.4 }
.credit-score-factors { margin-top:9px;border-top:1px solid #F0EBF3 }.credit-score-factors>summary { display:flex;justify-content:space-between;gap:8px;padding:10px 0;color:#5B416A;cursor:pointer;font-size:.63rem;font-weight:700;list-style:none }.credit-score-factors>summary::-webkit-details-marker { display:none }.credit-score-factors>summary span { color:#8B7F92;font-size:.55rem;font-weight:500 }.credit-score-factor-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px }.credit-score-factor-list article { display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #F0EAF3;border-radius:9px;background:#FCFAFD }.credit-factor-points { display:grid;flex:0 0 28px;place-items:center;width:28px;height:28px;border-radius:9px;color:#167646;background:#EAF7EF;font-size:.63rem;font-weight:800;font-variant-numeric:tabular-nums }.credit-factor-points.factor-negative { color:#AD3D52;background:#FCEEF0 }.credit-score-factor-list article>div { display:grid;min-width:0;gap:2px }.credit-score-factor-list article strong { color:#493653;font-size:.57rem }.credit-score-factor-list article small { color:#867A8E;font-size:.53rem;line-height:1.35 }.credit-score-factor-foot { margin:8px 0 0;color:#908596;font-size:.53rem;line-height:1.4 }
.credit-proposal-admin-actions { display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid #F0EBF3 }.credit-proposal-select { display:flex;align-items:center;gap:6px;color:#6A5B73;font-size:.59rem }.credit-proposal-edit { display:grid;gap:3px }.credit-proposal-edit label { color:#82768A;font-size:.53rem }.credit-proposal-edit input { width:125px;padding:7px 8px;border:1px solid #DED4E5;border-radius:8px;color:#392746;background:#FFFFFF;font-size:.65rem }.credit-proposal-decision-form,.credit-proposal-reject-form { display:flex;grid-column:1/-1;gap:7px }.credit-proposal-decision-form input,.credit-proposal-reject-form input { flex:1;min-width:0;padding:8px 9px;border:1px solid #E7DFEB;border-radius:8px;color:#493653;background:#FFFFFF;font-size:.58rem }.credit-proposal-decision-form .btn,.credit-proposal-reject-form .btn { min-height:34px;border-radius:8px;font-size:.58rem;font-weight:700;white-space:nowrap }.credit-proposal-decision-form .btn { border:0;background:#7024A7 }.credit-proposal-reject-form .btn { color:#A44656;border-color:#EBCFD5;background:#FFF9FA }.credit-proposal-waiting,.credit-proposal-closed { margin-top:10px;padding:9px 10px;border:1px solid #E9E2EF;border-radius:9px;color:#6D5A77;background:#FAF7FC;font-size:.6rem;line-height:1.45 }.credit-proposal-closed p { margin:5px 0 0 }.credit-review-empty,.notifications-empty { display:grid;justify-items:center;padding:31px 18px;border:1px solid #ECE5F0;border-radius:15px;text-align:center;background:#FFFFFF }.credit-review-empty>span,.notifications-empty>span { display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:#16814A;background:#EAF7EF;font-size:1rem }.credit-review-empty h3,.notifications-empty h3 { margin:8px 0 3px;color:#3B2846;font-size:.88rem }.credit-review-empty p,.notifications-empty p { max-width:440px;margin:0;color:#82768A;font-size:.62rem;line-height:1.45 }
.notifications-hub-hero form { flex:0 0 auto }.notifications-hub-hero form .btn { white-space:nowrap;font-size:.59rem }.notifications-hub-hero form .btn span { margin-left:5px }.notifications-feed { display:grid;gap:9px }.notification-card { display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:13px;border:1px solid #ECE5F0;border-radius:14px;background:#FFFFFF;box-shadow:0 5px 16px rgba(43,22,57,.035) }.notification-card.is-unread { border-left:3px solid #8A55B3;background:linear-gradient(100deg,#FCF9FE,#FFFFFF 40%) }.notification-limit-proposal { border-color:#E1D2EB;background:radial-gradient(ellipse at 100% 0%,rgba(177,121,218,.1),transparent 33%),#FFFFFF }.notification-card-marker { display:grid;place-items:center;width:32px;height:32px;border:1px solid #E8DDEE;border-radius:11px;color:#7024A7;background:#F7F1FA;font-size:.92rem;font-weight:800 }.notification-limit-proposal .notification-card-marker { color:#17814B;border-color:#D7EBDE;background:#EFF9F2 }.notification-card-content { min-width:0 }.notification-card-top { display:flex;align-items:flex-start;justify-content:space-between;gap:8px }.notification-card-category { color:#8A7D92;font-size:.48rem;font-weight:800;letter-spacing:.13em }.notification-card-top h3 { margin:3px 0 0;color:#392747;font-size:.77rem }.notification-card-top time { color:#8A7E91;font-size:.54rem;white-space:nowrap }.notification-unread-dot { display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:#8A55B3;vertical-align:middle }.notification-card-message { margin:7px 0;color:#71657B;font-size:.62rem;line-height:1.5;white-space:pre-line }.notification-limit-comparison { display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:7px;margin:9px 0;padding:10px;border:1px solid #EEE7F2;border-radius:11px;background:#FCFAFD }.notification-limit-comparison>div { display:grid;gap:3px }.notification-limit-comparison>div span { color:#84788C;font-size:.53rem }.notification-limit-comparison>div strong { color:#432B50;font-size:.73rem;font-variant-numeric:tabular-nums }.notification-limit-comparison>div:nth-of-type(3),.notification-limit-comparison>div:nth-of-type(4) { margin-top:4px;padding-top:7px;border-top:1px solid #EEE7F2 }.notification-limit-comparison .notification-limit-available strong { color:#177B48 }.notification-limit-arrow { display:grid;place-items:center;color:#7625A8;font-size:.78rem }.notification-limit-caveat { margin:0 0 9px;color:#83778B;font-size:.55rem;line-height:1.4 }.notification-limit-actions { display:flex;flex-wrap:wrap;gap:7px }.notification-limit-actions form { flex:1 1 180px }.notification-limit-actions .btn { width:100%;min-height:37px;border-radius:9px;font-size:.61rem;font-weight:700 }.notification-limit-actions form:first-child .btn { border:0;background:linear-gradient(115deg,#7625BD,#5D1B96) }.notification-limit-actions form:last-child .btn { border-color:#D9CDE0;color:#5F4D6A;background:#FFFFFF }.notification-open-form { margin-top:5px }.notification-open-button { display:inline-flex;align-items:center;gap:6px;padding:5px 0;border:0;color:#6B2697;background:none;font-size:.59rem;font-weight:700;cursor:pointer }.notification-open-button span { font-size:.8rem }
@media(max-width:760px) { .credit-proposal-comparison { grid-template-columns:1fr 20px 1fr }.credit-proposal-delta { grid-column:1/-1;padding:7px 0 0;border-top:1px solid #E9E1ED;border-left:0 }.credit-proposal-admin-actions { grid-template-columns:1fr auto }.credit-reviews-run-panel { align-items:flex-start;flex-direction:column }.credit-bulk-toolbar { flex-wrap:wrap }.credit-bulk-toolbar>span { flex-basis:100%;order:3 }.credit-bulk-toolbar .btn { margin-left:auto } }
@media(max-width:540px) { .credit-reviews-hero,.notifications-hub-hero { align-items:flex-start;padding:17px 15px }.credit-reviews-hero h2,.notifications-hub-hero h2 { font-size:1.2rem }.credit-reviews-hero p,.notifications-hub-hero p { font-size:.66rem }.notifications-hub-hero { flex-direction:column }.credit-reviews-hero-mark { flex-basis:37px;width:37px;height:37px }.credit-reviews-run-panel { padding:13px }.credit-review-proposal-list { gap:8px }.credit-limit-proposal-card { padding:11px }.credit-proposal-status { max-width:122px;white-space:normal;text-align:center }.credit-proposal-user small { font-size:.52rem }.credit-proposal-comparison { gap:5px;padding:8px }.credit-proposal-comparison strong { font-size:.76rem }.credit-proposal-comparison small { font-size:.49rem }.credit-score-factor-list { grid-template-columns:1fr }.credit-proposal-admin-actions { grid-template-columns:1fr }.credit-proposal-edit input { width:100% }.credit-proposal-decision-form,.credit-proposal-reject-form { grid-column:auto }.credit-reviews-section-head { align-items:flex-start;flex-direction:column }.credit-reviews-section-head form,.credit-reviews-section-head select { width:100% }.notification-card { grid-template-columns:27px minmax(0,1fr);gap:8px;padding:10px }.notification-card-marker { width:26px;height:26px;border-radius:9px;font-size:.8rem }.notification-card-top { flex-direction:column;gap:4px }.notification-card-top time { font-size:.5rem }.notification-limit-comparison { grid-template-columns:1fr 16px 1fr;padding:8px }.notification-limit-comparison>div strong { font-size:.66rem }.notification-limit-actions { flex-direction:column }.notification-limit-actions form { flex-basis:auto } }
@media(prefers-reduced-motion:reduce) { .credit-proposal-status,.credit-contract-card,.notification-limit-actions .btn { transition:none } }

.credit-proposal-record { margin:10px 0 0;border-top:1px solid #F0EBF3 }.credit-proposal-record>summary { display:flex;justify-content:space-between;gap:8px;padding:9px 0;color:#5C426A;cursor:pointer;font-size:.62rem;font-weight:700;list-style:none }.credit-proposal-record>summary::-webkit-details-marker { display:none }.credit-proposal-record>summary span { color:#8A7E91;font-size:.54rem;font-weight:500 }.credit-proposal-record-grid { display:grid;grid-template-columns:1fr 1fr;gap:8px }.credit-proposal-record-grid section,.credit-proposal-docs { padding:10px;border:1px solid #F0EAF3;border-radius:10px;background:#FCFAFD }.credit-proposal-record-grid h4,.credit-proposal-docs h4 { margin:0 0 7px;color:#4A3456;font-size:.59rem }.credit-proposal-record-grid dl { display:grid;grid-template-columns:minmax(95px,.55fr) minmax(0,1fr);gap:5px 8px;margin:0;font-size:.55rem }.credit-proposal-record-grid dt { color:#8A7E91 }.credit-proposal-record-grid dd { margin:0;color:#4B3A55;font-weight:600;overflow-wrap:anywhere }.credit-proposal-record-grid p,.credit-proposal-docs>p { margin:7px 0 0;color:#786C80;font-size:.54rem }.credit-record-link { display:inline-block;margin-top:8px;color:#7024A7;font-size:.55rem;font-weight:700;text-decoration:none }.credit-proposal-docs { margin-top:8px }.credit-proposal-docs>div { display:grid;gap:6px }.credit-proposal-docs article { display:grid;grid-template-columns:125px minmax(0,1fr) minmax(0,auto) auto;align-items:center;gap:7px;padding:7px;border:1px solid #EEE8F2;border-radius:8px;background:#FFFFFF }.credit-proposal-docs article>span { color:#70557D;font-size:.52rem;font-weight:700 }.credit-proposal-docs article strong { overflow:hidden;color:#4C3B56;font-size:.53rem;text-overflow:ellipsis;white-space:nowrap }.credit-proposal-docs article small { color:#897D91;font-size:.5rem }.credit-proposal-docs article .btn { white-space:nowrap;font-size:.5rem }
@media(max-width:600px) { .credit-proposal-record-grid { grid-template-columns:1fr }.credit-proposal-docs article { grid-template-columns:1fr auto }.credit-proposal-docs article strong { white-space:normal }.credit-proposal-docs article small { grid-column:1/-1 }.credit-proposal-docs article .btn { grid-column:2;grid-row:1/3 } }

.credit-review-pagination { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #EEE8F2;color:#766A7D;font-size:.6rem }.credit-review-pagination .disabled { pointer-events:none;opacity:.45 }

.credit-analysis-declarations { margin-top:8px;padding:10px;border:1px solid #EAE1F0;border-radius:10px;background:linear-gradient(135deg,#F9F5FC,#FFFFFF) }.credit-analysis-declarations h4 { margin:0 0 7px;color:#4A3456;font-size:.59rem }.credit-analysis-declarations dl { display:grid;grid-template-columns:minmax(100px,.45fr) minmax(0,1fr);gap:5px 8px;margin:0;font-size:.55rem }.credit-analysis-declarations dt { color:#8A7E91 }.credit-analysis-declarations dd { margin:0;color:#4B3A55;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere }.credit-analysis-declarations small { display:block;margin-top:8px;color:#887992;font-size:.5rem }

/* Corrige a perspectiva do wordmark sobre o cartão da hero: acompanha a aresta superior; chip e contactless seguem o plano inferior. */
.public-shell .hero-card-brand { transform: rotate(-20deg); }
.public-shell .hero-card-chip { left: -6px; transform: rotate(8deg); }
.public-shell .hero-card-contactless { transform: rotate(8deg); }


/* Homepage institucional: menos efeitos decorativos, mais clareza sobre o processo real. */
body:has(.public-shell) {
    background: #F1EFF4;
}
.public-shell {
    margin: 16px;
    overflow: hidden;
    border: 1px solid #E5E1E9;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 18px 54px rgba(38, 25, 49, .08);
}
.public-shell > .public-header {
    height: 72px;
    min-height: 72px;
    padding: 0 clamp(20px, 4vw, 54px);
    background: #FFFFFF;
    border-bottom: 1px solid #EEEAF1;
}
.public-shell .logo { color: #2C2333; }
.public-shell .nav-links a { color: #645B6C; }
.public-shell .nav-links a:hover { color: #623A89; }
.public-shell .header-actions .btn-primary,
.public-shell .home-hero-actions .btn-primary,
.public-shell .tracking-form .btn-primary {
    border: 1px solid #623A89;
    border-radius: 9px;
    background: #623A89;
    box-shadow: none;
    color: #FFFFFF;
}
.public-shell .header-actions .btn-outline {
    border: 1px solid #D8D1DE;
    border-radius: 9px;
    background: #FFFFFF;
    color: #45394F;
}
.public-shell .home-hero {
    padding: clamp(42px, 6vw, 76px) clamp(24px, 6.2vw, 86px) 28px;
    background: radial-gradient(ellipse at 83% 12%, rgba(115, 72, 151, .075), transparent 37%), #FBFAFC;
}
.public-shell .home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .94fr);
    align-items: center;
    gap: clamp(36px, 6.5vw, 82px);
    width: 100%;
    max-width: 1180px;
    min-height: 0;
    margin: 0 auto;
}
.public-shell .home-hero-copy { max-width: 590px; padding: 0; }
.public-shell .home-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 19px;
    color: #655B6C;
    font-size: .69rem;
    font-weight: 750;
    letter-spacing: .12em;
}
.public-shell .home-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #704B91; }
.public-shell .home-eyebrow i { color: #B6AFC0; font-style: normal; }
.public-shell .home-hero-title,
.public-shell .hero-title {
    max-width: 620px;
    margin: 0 0 19px;
    color: #2D2434;
    font-size: clamp(2.65rem, 5.1vw, 4.35rem);
    font-weight: 750;
    line-height: 1.035;
    letter-spacing: -.055em;
}
.public-shell .hero-title span { display: block; color: #623A89; white-space: normal; }
.public-shell .home-hero-desc,
.public-shell .hero-desc {
    max-width: 505px;
    margin: 0 0 24px;
    color: #696171;
    font-size: clamp(.96rem, 1.2vw, 1.05rem);
    line-height: 1.65;
}
.public-shell .home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.public-shell .home-hero-actions .btn { min-height: 48px; padding: 13px 19px; font-size: .87rem; font-weight: 700; }
.public-shell .home-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    color: #594369;
    font-size: .83rem;
    font-weight: 650;
    text-decoration: none;
}
.public-shell .home-secondary-link span { color: #795899; }
.public-shell .home-secondary-link:hover { color: #321E43; }
.public-shell .home-hero-assurance {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 470px;
    margin: 22px 0 0;
    color: #62596A;
    font-size: .76rem;
    line-height: 1.5;
}
.public-shell .home-hero-assurance svg { flex: 0 0 19px; width: 19px; height: 19px; color: #5E806A; }
.public-shell .home-hero-visual { height: auto; min-height: 0; overflow: visible; }
.public-shell .home-journey-card {
    position: relative;
    width: 100%;
    max-width: 510px;
    margin-left: auto;
    padding: clamp(21px, 3vw, 31px);
    border: 1px solid #E7E2EA;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 16px 38px rgba(45, 35, 53, .065);
}
.public-shell .home-journey-header { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; }
.public-shell .home-journey-mark {
    display: grid;
    flex: 0 0 43px;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid #E9E2EF;
    border-radius: 12px;
    background: #F8F5FA;
}
.public-shell .home-journey-mark img { display: block; width: 26px; height: 30px; object-fit: contain; }
.public-shell .home-journey-header p { margin: 0 0 4px; color: #776C7D; font-size: .59rem; font-weight: 750; letter-spacing: .13em; }
.public-shell .home-journey-header h2 { margin: 0; color: #302638; font-size: 1.13rem; font-weight: 700; letter-spacing: -.025em; }
.public-shell .home-journey-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.public-shell .home-journey-steps li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #F0EDF2;
}
.public-shell .home-step-number {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid #E7DDED;
    border-radius: 10px;
    background: #F8F4FA;
    color: #684786;
    font-size: .67rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}
.public-shell .home-journey-steps h3 { margin: 1px 0 3px; color: #352B3D; font-size: .84rem; font-weight: 700; }
.public-shell .home-journey-steps p { margin: 0; color: #756D7B; font-size: .72rem; line-height: 1.5; }
.public-shell .home-journey-footer {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid #EAE4EF;
    border-radius: 10px;
    background: #FAF8FB;
}
.public-shell .home-journey-footer > span {
    display: grid;
    flex: 0 0 17px;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #EDE6F2;
    color: #614A75;
    font-size: .67rem;
    font-weight: 750;
}
.public-shell .home-journey-footer p { margin: 0; color: #665D6D; font-size: .69rem; line-height: 1.45; }
.public-shell .tracking-box {
    width: min(100%, 820px);
    max-width: 820px;
    margin: 35px auto 4px;
    padding: 20px 23px;
    border: 1px solid #E7E2EA;
    border-radius: 15px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(45, 35, 53, .035);
}
.public-shell .tracking-box h3 { gap: 12px; margin: 0 0 3px; color: #342A3C; font-size: .98rem; }
.public-shell .tracking-box h3 svg { width: 23px; height: 23px; color: #674585; }
.public-shell .tracking-box > p { margin: 0 0 12px 35px; color: #716978; font-size: .76rem; }
.public-shell .tracking-form { display: flex; gap: 10px; }
.public-shell .tracking-form .form-control { height: 43px; border: 1px solid #DDD7E1; border-radius: 9px; background: #FFFFFF; color: #32283A; }
.public-shell .tracking-form .form-control::placeholder { color: #978E9C; }
.public-shell .tracking-form .btn { min-height: 43px; border-radius: 9px; }
.public-shell .credit-safety-banner--public {
    max-width: 1100px;
    margin: 24px auto;
    padding: 18px 22px;
    border: 1px solid #E9DCC7;
    border-left: 4px solid #A9793F;
    border-radius: 13px;
    background: #FFFCF7;
    box-shadow: none;
}
.public-shell .credit-safety-banner--public .credit-safety-eyebrow { color: #84623B; }
.public-shell .credit-safety-banner--public h2 { color: #3D3023; font-size: 1rem; }
.public-shell .credit-safety-banner--public p { color: #665A4B; }
.public-shell .features {
    padding: 35px clamp(22px, 5vw, 58px) 38px;
    border-top: 1px solid #EEEAF1;
    background: #F8F7F9;
}
.public-shell .features h2 { max-width: none; margin: 0 0 20px; color: #342A3B; text-align: left; font-size: 1.35rem; letter-spacing: -.025em; }
.public-shell .features h2 span { color: #623A89; }
.public-shell .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.public-shell .feature-item {
    min-height: 118px;
    padding: 17px;
    border: 1px solid #E8E3EA;
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: 0 5px 14px rgba(45, 35, 53, .025);
}
.public-shell .feature-icon { width: 36px; height: 36px; margin: 0 0 11px; border: 1px solid #E8E0EF; border-radius: 10px; background: #F7F3F9; color: #684786; }
.public-shell .feature-icon svg { width: 21px; height: 21px; }
.public-shell .feature-item h4 { color: #413749; font-size: .79rem; line-height: 1.4; }
.public-shell .footer-brand-band { min-height: 92px; background: #F1EDF4; }
.public-shell .footer-brand-inner { min-height: 92px; padding: 12px 30px; color: #51445A; }
.public-shell .footer-handshake { color: #755A88; }
.public-shell .footer-motto { color: #42364B; }
.public-shell .footer-motto span { color: #684786; }
.public-shell .footer-brand-lockup { color: #413548; }
.public-shell .footer-bottom { min-height: 52px; padding: 10px 28px; border-top: 1px solid #E5E0E8; background: #FFFFFF; color: #6D6472; }
.public-shell .footer-bottom a { color: #63586B; }
.public-shell .footer-bottom a:hover { color: #623A89; }

@media (min-width: 900px) {
    .public-shell .home-hero { padding-top: 65px; padding-bottom: 34px; }
    .public-shell .home-hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr); }
}
@media (max-width: 899px) {
    .public-shell .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; max-width: 700px; }
    .public-shell .home-hero-copy { max-width: 640px; }
    .public-shell .home-journey-card { max-width: none; margin: 0; }
    .public-shell .home-hero-visual { height: auto; min-height: 0; }
    .public-shell .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
    body:has(.public-shell) { background: #F1EFF4; }
    .public-shell { margin: 8px; border-radius: 15px; }
    .public-shell > .public-header { height: 68px; min-height: 68px; padding: 0 14px; }
    .public-shell .home-hero { padding: 32px 17px 18px; }
    .public-shell .home-hero-grid { gap: 25px; }
    .public-shell .home-eyebrow { margin-bottom: 14px; font-size: .59rem; }
    .public-shell .hero-title { margin-bottom: 14px; font-size: clamp(2.35rem, 10vw, 3rem); line-height: 1.04; }
    .public-shell .hero-desc { margin-bottom: 19px; font-size: .91rem; line-height: 1.6; }
    .public-shell .home-hero-actions { gap: 11px 17px; }
    .public-shell .home-hero-actions .btn { min-height: 45px; padding: 12px 15px; font-size: .79rem; }
    .public-shell .home-secondary-link { min-height: 40px; font-size: .76rem; }
    .public-shell .home-hero-assurance { margin-top: 16px; font-size: .69rem; }
    .public-shell .home-journey-card { padding: 18px 16px; border-radius: 15px; }
    .public-shell .home-journey-header { gap: 10px; padding-bottom: 14px; }
    .public-shell .home-journey-mark { flex-basis: 38px; width: 38px; height: 38px; }
    .public-shell .home-journey-header h2 { font-size: 1rem; }
    .public-shell .home-journey-steps li { grid-template-columns: 31px minmax(0, 1fr); gap: 9px; padding: 11px 0; }
    .public-shell .home-step-number { width: 29px; height: 29px; font-size: .62rem; }
    .public-shell .home-journey-steps h3 { font-size: .79rem; }
    .public-shell .home-journey-steps p { font-size: .68rem; }
    .public-shell .home-journey-footer { padding: 9px; }
    .public-shell .home-journey-footer p { font-size: .64rem; }
    .public-shell .tracking-box { margin: 23px auto 0; padding: 16px; }
    .public-shell .tracking-box > p { margin-left: 0; }
    .public-shell .tracking-form { flex-direction: column; }
    .public-shell .tracking-form .btn { width: 100%; }
    .public-shell .credit-safety-banner--public { margin: 16px 14px; padding: 15px; }
    .public-shell .credit-safety-banner--public h2 { font-size: .93rem; }
    .public-shell .credit-safety-banner--public p { font-size: .74rem; }
    .public-shell .features { padding: 26px 15px 20px; }
    .public-shell .features h2 { margin-bottom: 14px; font-size: 1.17rem; }
    .public-shell .features-grid { gap: 9px; }
    .public-shell .feature-item { min-height: 108px; padding: 13px 11px; }
    .public-shell .feature-icon { width: 32px; height: 32px; margin-bottom: 8px; }
    .public-shell .feature-item h4 { font-size: .72rem; }
    .public-shell .footer-brand-inner { padding: 10px 14px; }
    .public-shell .footer-bottom { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .public-shell .home-hero-actions .btn,
    .public-shell .home-secondary-link,
    .public-shell .nav-links a { transition: none !important; }
}


/* Homepage focada no crédito: imagem original aprovada, passos acessíveis e movimento comedido. */
.public-shell .home-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    min-height: 0;
}
.public-shell .home-hero-copy { animation: home-fade-up .72s cubic-bezier(.2,.75,.25,1) both; }
.public-shell .home-hero-visual {
    display: flex;
    height: auto !important;
    min-height: 0 !important;
    align-items: center;
    justify-content: center;
    overflow: visible;
    animation: home-fade-up .78s cubic-bezier(.2,.75,.25,1) .1s both;
}
.public-shell .home-hero-art-stage {
    position: relative;
    z-index: 0;
    width: min(100%, 570px);
    margin: 0 auto;
    transform-origin: 50% 55%;
    animation: home-art-float 7.5s ease-in-out .8s infinite;
}
.public-shell .home-hero-art-stage::before {
    position: absolute;
    z-index: -1;
    inset: 14% 10% 8%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(116, 72, 151, .15), rgba(116, 72, 151, .035) 55%, transparent 74%);
    content: "";
    filter: blur(16px);
    animation: home-art-glow 8s ease-in-out infinite;
}
.public-shell .home-hero-art-stage .hero-art-frame {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 570px;
    margin: 0 auto;
    transform: none !important;
}
.public-shell .home-hero-art-stage .hero-art {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 24px rgba(57, 33, 73, .14));
}
.public-shell .home-hero-assurance { margin-top: 18px; }
.public-shell .home-process-section,
.public-shell .home-payments-section {
    padding: clamp(36px, 5.5vw, 66px) clamp(20px, 6vw, 82px);
    background: #FFFFFF;
}
.public-shell .home-process-section { border-top: 1px solid #EEEAF1; }
.public-shell .home-process-heading,
.public-shell .home-payments-heading {
    width: min(100%, 790px);
    margin: 0 auto 21px;
    text-align: center;
}
.public-shell .home-process-eyebrow { margin: 0 0 9px; color: #705587; font-size: .65rem; font-weight: 750; letter-spacing: .12em; }
.public-shell .home-process-heading h2,
.public-shell .home-payments-heading h2 {
    margin: 0 0 9px;
    color: #302638;
    font-size: clamp(1.55rem, 3.1vw, 2.05rem);
    font-weight: 740;
    line-height: 1.15;
    letter-spacing: -.04em;
}
.public-shell .home-process-heading > p:last-child,
.public-shell .home-payments-heading > p:last-child { margin: 0 auto; color: #706777; font-size: .89rem; line-height: 1.58; }
.public-shell .home-process-slider {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(18px, 3.3vw, 30px);
    border: 1px solid #E7E2EA;
    border-radius: 17px;
    background: linear-gradient(145deg, #FFFFFF 0%, #FBFAFC 100%);
    box-shadow: 0 12px 30px rgba(45, 35, 53, .055);
    animation: home-fade-up .6s ease-out .15s both;
}
.public-shell .home-process-slider-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #756B7C; font-size: .64rem; font-weight: 700; letter-spacing: .1em; }
.public-shell .home-process-slider-topline [data-step-status] { color: #553C69; font-variant-numeric: tabular-nums; letter-spacing: .015em; }
.public-shell .home-process-progress { height: 3px; margin: 12px 0 20px; overflow: hidden; border-radius: 99px; background: #EDE8F0; }
.public-shell .home-process-progress > span { display: block; width: 16.67%; height: 100%; border-radius: inherit; background: #744B91; transition: width .32s ease; }
.public-shell .home-process-slides { position: relative; }
.public-shell .home-process-slide {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    margin: 0 0 12px;
    padding: 20px;
    border: 1px solid #ECE8EF;
    border-radius: 13px;
    background: #FFFFFF;
}
.public-shell .home-process-step-number {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid #E5DCEB;
    border-radius: 15px;
    background: #F8F4FA;
    color: #694985;
    font-size: .9rem;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
}
.public-shell .home-process-kicker { margin: 0 0 5px; color: #786987; font-size: .59rem; font-weight: 760; letter-spacing: .1em; }
.public-shell .home-process-slide h3 { margin: 0 0 7px; color: #332A3B; font-size: clamp(1.03rem, 2vw, 1.25rem); font-weight: 720; line-height: 1.24; letter-spacing: -.02em; }
.public-shell .home-process-slide p:last-child { max-width: 720px; margin: 0; color: #6D6574; font-size: .83rem; line-height: 1.62; }
.public-shell .home-process-slider.is-interactive .home-process-slides { overflow: hidden; transition: height .28s ease; }
.public-shell .home-process-slider.is-interactive .home-process-slide {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(16px);
    transition: opacity .27s ease, transform .32s cubic-bezier(.2,.75,.25,1), visibility 0s linear .32s;
}
.public-shell .home-process-slider.is-interactive .home-process-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity .27s ease, transform .32s cubic-bezier(.2,.75,.25,1), visibility 0s;
}
.public-shell .home-process-slider.is-interactive .home-process-slide.is-leaving { visibility: visible; transform: translateX(-16px); }
.public-shell .home-process-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
.public-shell .home-slider-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #DDD6E2;
    border-radius: 9px;
    background: #FFFFFF;
    color: #493A55;
    font: inherit;
    font-size: .74rem;
    font-weight: 680;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.public-shell .home-slider-button:hover:not(:disabled) { border-color: #C7B5D4; background: #F9F6FB; transform: translateY(-1px); }
.public-shell .home-slider-button:focus-visible,
.public-shell .home-process-dot:focus-visible { outline: 3px solid rgba(116, 75, 145, .35); outline-offset: 2px; }
.public-shell .home-slider-button:disabled { color: #A9A1AE; cursor: default; }
.public-shell .home-process-dots { display: flex; align-items: center; justify-content: center; gap: 8px; }
.public-shell .home-process-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #D9D2DE; cursor: pointer; transition: width .24s ease, background-color .24s ease; }
.public-shell .home-process-dot[aria-current="step"] { width: 24px; background: #704B8B; }
.public-shell .home-process-static-note { margin: 15px 0 0; color: #726A78; font-size: .72rem; line-height: 1.5; text-align: center; }
.public-shell .home-payments-section { background: #F7F6F8; border-top: 1px solid #EEEAF1; }
.public-shell .home-payments-heading { margin-bottom: 21px; }
.public-shell .home-payment-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 1080px); margin: 0 auto; }
.public-shell .home-payment-card { padding: 18px; border: 1px solid #E7E2EA; border-radius: 13px; background: #FFFFFF; }
.public-shell .home-payment-card > span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 11px; border: 1px solid #E9E1EE; border-radius: 9px; background: #F8F4FA; color: #694985; font-size: .64rem; font-weight: 750; }
.public-shell .home-payment-card h3 { margin: 0 0 5px; color: #382E40; font-size: .88rem; font-weight: 700; }
.public-shell .home-payment-card p { margin: 0; color: #726A79; font-size: .75rem; line-height: 1.55; }
.public-shell .home-process-section, .public-shell .home-payments-section { scroll-margin-top: 18px; }
.public-shell .home-hero-actions .btn, .public-shell .home-secondary-link { transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.public-shell .home-hero-actions .btn:hover { transform: translateY(-2px); }

@keyframes home-fade-up { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-art-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(.35deg); } }
@keyframes home-art-glow { 0%, 100% { opacity: .55; transform: scale(.98); } 50% { opacity: .88; transform: scale(1.025); } }

@media (min-width: 900px) {
    .public-shell .home-hero { padding-top: 48px; padding-bottom: 30px; }
    .public-shell .home-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr); gap: clamp(24px, 4vw, 55px); }
    .public-shell .home-hero-art-stage { width: min(100%, 570px); }
}
@media (max-width: 899px) {
    .public-shell .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 700px; margin: 0 auto; }
    .public-shell .home-hero-copy { max-width: 640px; }
    .public-shell .home-hero-visual { width: 100%; }
    .public-shell .home-hero-art-stage { width: min(100%, 550px); }
}
@media (max-width: 699px) {
    .public-shell .home-hero { padding: 32px 17px 18px; }
    .public-shell .home-eyebrow { margin-bottom: 14px; font-size: .59rem; }
    .public-shell .hero-title { margin-bottom: 14px; font-size: clamp(2.35rem, 10vw, 3rem); line-height: 1.04; }
    .public-shell .hero-desc { margin-bottom: 18px; font-size: .91rem; line-height: 1.58; }
    .public-shell .home-hero-actions { gap: 11px 15px; }
    .public-shell .home-hero-actions .btn { min-height: 45px; padding: 12px 15px; font-size: .79rem; }
    .public-shell .home-secondary-link { min-height: 40px; font-size: .74rem; }
    .public-shell .home-hero-assurance { margin-top: 14px; font-size: .68rem; }
    .public-shell .home-hero-art-stage { width: min(100%, 420px); }
    .public-shell .tracking-box { margin: 17px auto 0; padding: 16px; }
    .public-shell .tracking-box > p { margin-left: 0; }
    .public-shell .tracking-form { flex-direction: column; }
    .public-shell .tracking-form .btn { width: 100%; }
    .public-shell .credit-safety-banner--public { margin: 16px 13px; padding: 15px; }
    .public-shell .credit-safety-banner--public h2 { font-size: .93rem; }
    .public-shell .credit-safety-banner--public p { font-size: .74rem; }
    .public-shell .home-process-section, .public-shell .home-payments-section { padding: 31px 15px; }
    .public-shell .home-process-heading, .public-shell .home-payments-heading { margin-bottom: 17px; }
    .public-shell .home-process-heading h2, .public-shell .home-payments-heading h2 { font-size: 1.5rem; }
    .public-shell .home-process-heading > p:last-child, .public-shell .home-payments-heading > p:last-child { font-size: .79rem; }
    .public-shell .home-process-slider { padding: 15px; border-radius: 14px; }
    .public-shell .home-process-progress { margin: 10px 0 14px; }
    .public-shell .home-process-slide { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 14px 12px; }
    .public-shell .home-process-step-number { width: 37px; height: 37px; border-radius: 11px; font-size: .72rem; }
    .public-shell .home-process-kicker { font-size: .54rem; }
    .public-shell .home-process-slide h3 { font-size: 1rem; }
    .public-shell .home-process-slide p:last-child { font-size: .75rem; line-height: 1.54; }
    .public-shell .home-process-controls { gap: 7px; margin-top: 14px; }
    .public-shell .home-slider-button { min-height: 37px; gap: 5px; padding: 7px 8px; font-size: .68rem; }
    .public-shell .home-process-dots { gap: 5px; }
    .public-shell .home-process-dot { width: 7px; height: 7px; }
    .public-shell .home-process-dot[aria-current="step"] { width: 18px; }
    .public-shell .home-process-static-note { font-size: .66rem; }
    .public-shell .home-payment-cards { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .public-shell .home-payment-card { padding: 14px; }
    .public-shell .home-payment-card > span { float: left; margin: 0 11px 16px 0; }
    .public-shell .home-payment-card h3 { padding-top: 3px; }
    .public-shell .home-payment-card p { clear: both; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
    .public-shell .home-hero-copy,
    .public-shell .home-hero-visual,
    .public-shell .home-hero-art-stage,
    .public-shell .home-hero-art-stage::before,
    .public-shell .home-process-slider { animation: none !important; }
    .public-shell .home-process-slider.is-interactive .home-process-slides,
    .public-shell .home-process-slider.is-interactive .home-process-slide,
    .public-shell .home-process-progress > span,
    .public-shell .home-process-dot,
    .public-shell .home-slider-button,
    .public-shell .home-hero-actions .btn,
    .public-shell .home-secondary-link { transition: none !important; }
    .public-shell .home-process-slider.is-interactive .home-process-slide.is-active { transform: none; }
}

@media (max-width: 699px) {
    .public-shell { width: calc(100% - 16px); box-sizing: border-box; }
}
.public-shell .home-process-slides { min-width: 0; }
.public-shell .home-process-slider.is-interactive .home-process-slide { box-sizing: border-box; min-width: 0; }

.public-shell .home-process-controls[hidden] { display: none !important; }


/* Homepage Private Pay: atmosfera fintech clara, mais respiro e animação comedida. */
body.page-home {
    scroll-behavior: smooth;
    background: #F4F2F6;
    color: #2B2431;
}
body.page-home .public-shell {
    width: calc(100% - clamp(16px, 3.2vw, 48px));
    margin: clamp(8px, 1.6vw, 24px) auto;
    overflow: hidden;
    border: 1px solid #E9E4ED;
    border-radius: clamp(16px, 2vw, 26px);
    background: #FFFFFF;
    box-shadow: 0 18px 55px rgba(47, 32, 58, .08);
}
body.page-home .public-shell > .public-header {
    height: 76px;
    min-height: 76px;
    padding: 0 clamp(20px, 4.5vw, 62px);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #F0ECF2;
}
body.page-home .public-shell .logo { color: #30273A; }
body.page-home .public-shell .nav-links a { color: #62576B; transition: color .2s ease; }
body.page-home .public-shell .nav-links a:hover { color: #6A3FA0; }
body.page-home .public-shell .header-actions .btn-outline { border-color: #DED6E5; color: #493D54; background: #FFFFFF; }
body.page-home .public-shell .header-actions .btn-primary,
body.page-home .public-shell .home-hero-actions .btn-primary { background: #6E45A2; border-color: #6E45A2; box-shadow: 0 7px 17px rgba(110, 69, 162, .18); }
body.page-home .public-shell .header-actions .btn-primary:hover,
body.page-home .public-shell .home-hero-actions .btn-primary:hover { background: #5F378F; border-color: #5F378F; }
body.page-home .public-shell .home-hero {
    padding: clamp(54px, 7.2vw, 92px) clamp(24px, 7vw, 92px) 34px;
    background: radial-gradient(ellipse at 79% 36%, rgba(133, 94, 174, .10), transparent 39%), linear-gradient(135deg, #FFFFFF 0%, #FCFAFD 72%, #F8F5FA 100%);
}
body.page-home .public-shell .home-hero-grid {
    width: min(100%, 1210px);
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: clamp(28px, 5.5vw, 78px);
    min-height: 0;
    margin: 0 auto;
}
body.page-home .public-shell .home-hero-copy { max-width: 590px; padding-top: 0; }
body.page-home .public-shell .home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    padding: 8px 12px;
    border: 1px solid #E8E0EF;
    border-radius: 999px;
    background: #F8F4FB;
    color: #674782;
    font-size: .67rem;
    font-weight: 760;
    letter-spacing: .1em;
}
body.page-home .public-shell .home-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #7A53A0; box-shadow: 0 0 0 4px rgba(122, 83, 160, .11); }
body.page-home .public-shell .hero-title {
    max-width: 620px;
    margin: 0 0 21px;
    color: #29222F;
    font-size: clamp(3rem, 6.3vw, 5.1rem);
    font-weight: 760;
    line-height: .99;
    letter-spacing: -.066em;
}
body.page-home .public-shell .hero-title span { color: #70449E; white-space: normal; }
body.page-home .public-shell .hero-desc {
    max-width: 485px;
    margin: 0 0 26px;
    color: #696170;
    font-size: clamp(.96rem, 1.15vw, 1.08rem);
    line-height: 1.72;
}
body.page-home .public-shell .home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
body.page-home .public-shell .home-hero-actions .btn { min-height: 48px; padding: 13px 21px; border-radius: 11px; font-size: .86rem; }
body.page-home .public-shell .home-secondary-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #5D4A6E; font-size: .82rem; font-weight: 650; }
body.page-home .public-shell .home-hero-assurance { max-width: 440px; margin: 23px 0 0; color: #62576A; font-size: .76rem; line-height: 1.55; }
body.page-home .public-shell .home-hero-assurance svg { flex: 0 0 20px; color: #6C4A8D; }
body.page-home .public-shell .home-hero-visual { min-height: 0; }
body.page-home .public-shell .home-hero-art-stage {
    width: min(100%, 620px);
    transform-style: preserve-3d;
    will-change: transform;
    animation: home-card-orbit 8.8s cubic-bezier(.45, 0, .55, 1) .45s infinite;
}
body.page-home .public-shell .home-hero-art-stage::before {
    inset: 18% 12% 12%;
    background: radial-gradient(ellipse, rgba(111, 73, 150, .17), rgba(111, 73, 150, .045) 56%, transparent 76%);
}
body.page-home .public-shell .home-hero-art-stage .hero-art {
    filter: drop-shadow(0 25px 29px rgba(50, 35, 64, .17));
    transform: translateZ(0);
    transition: transform .7s cubic-bezier(.2, .75, .25, 1), filter .7s ease;
}
@media (hover: hover) and (pointer: fine) {
    body.page-home .public-shell .home-hero-art-stage:hover .hero-art {
        transform: translate3d(0, -3px, 8px) scale(1.012);
        filter: drop-shadow(0 31px 34px rgba(50, 35, 64, .22));
    }
}
body.page-home .public-shell .tracking-box {
    width: min(100%, 940px);
    margin: clamp(28px, 4vw, 46px) auto 0;
    padding: clamp(19px, 2.4vw, 27px);
    border: 1px solid #EAE5EE;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 32px rgba(50, 35, 64, .07);
}
body.page-home .public-shell .tracking-box h3 { color: #352B3D; font-size: 1.02rem; }
body.page-home .public-shell .tracking-box h3 svg { color: #705091; }
body.page-home .public-shell .tracking-box > p { color: #726A79; }
body.page-home .public-shell .tracking-form .form-control { border-color: #E4DEE8; background: #FFFFFF; }
body.page-home .public-shell .tracking-form .btn { border-radius: 10px; background: #6E45A2; border-color: #6E45A2; }
body.page-home .public-shell .credit-safety-banner--public {
    width: min(calc(100% - 40px), 1120px);
    margin: 28px auto 0;
    padding: clamp(18px, 2.7vw, 27px) clamp(18px, 3vw, 32px);
    border: 1px solid #E8E0EF;
    border-radius: 18px;
    background: linear-gradient(105deg, #F8F4FB, #FCFAFD);
    box-shadow: 0 8px 25px rgba(56, 37, 69, .045);
}
body.page-home .public-shell .credit-safety-banner--public h2 { color: #33283C; }
body.page-home .public-shell .credit-safety-banner--public p { color: #665D6C; }
body.page-home .public-shell .credit-safety-banner--public .credit-safety-eyebrow { color: #705091; }
body.page-home .public-shell .credit-safety-banner--public .credit-safety-icon { color: #705091; background: #EEE5F5; }
body.page-home .public-shell .home-process-section,
body.page-home .public-shell .home-payments-section { padding: clamp(64px, 8vw, 100px) clamp(22px, 7vw, 92px); }
body.page-home .public-shell .home-process-section { border-top: 0; }
body.page-home .public-shell .home-process-heading,
body.page-home .public-shell .home-payments-heading {
    width: min(100%, 1120px);
    margin: 0 auto 29px;
    text-align: left;
}
body.page-home .public-shell .home-process-eyebrow { color: #705091; }
body.page-home .public-shell .home-process-heading h2,
body.page-home .public-shell .home-payments-heading h2 { color: #2D2533; font-size: clamp(1.8rem, 3.6vw, 2.55rem); }
body.page-home .public-shell .home-process-heading > p:last-child,
body.page-home .public-shell .home-payments-heading > p:last-child { margin-left: 0; color: #6A6270; font-size: .96rem; }
body.page-home .public-shell .home-process-slider {
    width: min(100%, 1120px);
    padding: clamp(22px, 3.6vw, 38px);
    border-color: #E9E4ED;
    border-radius: 20px;
    background: linear-gradient(145deg, #F9F7FB 0%, #F5F2F7 100%);
    box-shadow: 0 18px 40px rgba(45, 35, 53, .065);
}
body.page-home .public-shell .home-process-slide { padding: clamp(21px, 3vw, 32px); border-color: #ECE7EF; border-radius: 16px; box-shadow: 0 6px 18px rgba(48, 35, 58, .035); }
body.page-home .public-shell .home-process-step-number { border-color: #E5D9EE; background: #F5EEF9; color: #6E4B8F; }
body.page-home .public-shell .home-process-progress > span,
body.page-home .public-shell .home-process-dot[aria-current="step"] { background: #70499A; }
body.page-home .public-shell .home-slider-button { min-height: 43px; border-radius: 10px; }
body.page-home .public-shell .home-payment-cards { width: min(100%, 1120px); gap: clamp(13px, 2vw, 22px); }
body.page-home .public-shell .home-payment-card {
    min-height: 172px;
    padding: clamp(20px, 2.5vw, 28px);
    border-color: #E9E4ED;
    border-radius: 17px;
    box-shadow: 0 8px 23px rgba(45, 35, 53, .045);
    transition: transform .3s cubic-bezier(.2, .75, .25, 1), box-shadow .3s ease;
}
body.page-home .public-shell .home-payment-card > span { border-color: #E7DCEC; background: #F7F2FA; color: #6E4B8F; }
body.page-home .public-shell .home-payment-card h3 { color: #342A3D; }
body.page-home .public-shell .home-payment-card p { color: #6B6371; }
@media (hover: hover) and (pointer: fine) {
    body.page-home .public-shell .home-payment-card:hover { transform: translateY(-3px); box-shadow: 0 14px 29px rgba(45, 35, 53, .08); }
}
body.page-home .public-shell .footer-brand-band { background: linear-gradient(105deg, #F7F3FA, #EEE6F5); border-top: 1px solid #EAE3EF; }
body.page-home .public-shell .footer-motto { color: #43364E; }
body.page-home .public-shell .footer-brand-lockup { color: #5E3D80; }
body.page-home .public-shell .footer-bottom { background: #FFFFFF; color: #6F6876; border-top: 1px solid #F0ECF2; }
body.page-home .public-shell .footer-links a { color: #655A6D; }

@keyframes home-card-orbit {
    0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-.22deg) rotateY(-.45deg); }
    50% { transform: translate3d(0, -9px, 0) rotateZ(.24deg) rotateY(.7deg); }
}

@media (min-width: 900px) {
    body.page-home .public-shell .home-hero-grid { min-height: 390px; }
}
@media (max-width: 899px) {
    body.page-home .public-shell .home-hero { padding-top: 55px; padding-bottom: 30px; }
    body.page-home .public-shell .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body.page-home .public-shell .home-hero-copy { max-width: 680px; }
    body.page-home .public-shell .home-hero-visual { width: 100%; }
    body.page-home .public-shell .home-hero-art-stage { width: min(100%, 560px); }
    body.page-home .public-shell .home-process-heading,
    body.page-home .public-shell .home-payments-heading { margin-bottom: 23px; }
}
@media (max-width: 699px) {
    body.page-home { background: #FFFFFF; }
    body.page-home .public-shell { width: calc(100% - 16px); margin: 8px; border-radius: 17px; }
    body.page-home .public-shell > .public-header { height: 66px; min-height: 66px; padding: 0 14px; }
    body.page-home .public-shell .home-hero { padding: 43px 18px 23px; }
    body.page-home .public-shell .home-hero-grid { gap: 16px; }
    body.page-home .public-shell .home-eyebrow { margin-bottom: 17px; font-size: .58rem; }
    body.page-home .public-shell .hero-title { max-width: 520px; margin-bottom: 16px; font-size: clamp(2.55rem, 10.2vw, 3.35rem); line-height: 1.02; }
    body.page-home .public-shell .hero-desc { margin-bottom: 21px; font-size: .91rem; line-height: 1.66; }
    body.page-home .public-shell .home-hero-actions { gap: 9px 13px; }
    body.page-home .public-shell .home-hero-actions .btn { min-height: 46px; padding: 12px 15px; font-size: .78rem; }
    body.page-home .public-shell .home-secondary-link { min-height: 40px; font-size: .72rem; }
    body.page-home .public-shell .home-hero-assurance { margin-top: 16px; font-size: .68rem; }
    body.page-home .public-shell .home-hero-art-stage { width: min(100%, 430px); }
    body.page-home .public-shell .tracking-box { margin-top: 16px; padding: 17px; border-radius: 15px; }
    body.page-home .public-shell .tracking-box > p { margin-left: 0; }
    body.page-home .public-shell .tracking-form { flex-direction: column; }
    body.page-home .public-shell .tracking-form .btn { width: 100%; }
    body.page-home .public-shell .credit-safety-banner--public { width: calc(100% - 28px); margin: 15px auto 0; padding: 16px; border-radius: 15px; }
    body.page-home .public-shell .credit-safety-banner--public h2 { font-size: .94rem; }
    body.page-home .public-shell .credit-safety-banner--public p { font-size: .75rem; line-height: 1.55; }
    body.page-home .public-shell .home-process-section,
    body.page-home .public-shell .home-payments-section { padding: 48px 17px; }
    body.page-home .public-shell .home-process-heading,
    body.page-home .public-shell .home-payments-heading { margin-bottom: 19px; }
    body.page-home .public-shell .home-process-heading h2,
    body.page-home .public-shell .home-payments-heading h2 { font-size: 1.66rem; }
    body.page-home .public-shell .home-process-heading > p:last-child,
    body.page-home .public-shell .home-payments-heading > p:last-child { font-size: .8rem; }
    body.page-home .public-shell .home-process-slider { padding: 16px; border-radius: 15px; }
    body.page-home .public-shell .home-process-progress { margin: 10px 0 14px; }
    body.page-home .public-shell .home-process-slide { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 15px 12px; }
    body.page-home .public-shell .home-process-step-number { width: 37px; height: 37px; border-radius: 11px; font-size: .72rem; }
    body.page-home .public-shell .home-process-kicker { font-size: .54rem; }
    body.page-home .public-shell .home-process-slide h3 { font-size: 1rem; }
    body.page-home .public-shell .home-process-slide p:last-child { font-size: .75rem; line-height: 1.55; }
    body.page-home .public-shell .home-process-controls { gap: 7px; margin-top: 14px; }
    body.page-home .public-shell .home-slider-button { min-height: 38px; gap: 5px; padding: 7px 8px; font-size: .68rem; }
    body.page-home .public-shell .home-payment-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body.page-home .public-shell .home-payment-card { min-height: 0; padding: 17px; }
    body.page-home .public-shell .home-payment-card p { font-size: .74rem; }
    body.page-home .public-shell .footer-brand-inner { padding: 12px 15px; }
    body.page-home .public-shell .footer-bottom { padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-home { scroll-behavior: auto; }
    body.page-home .public-shell .home-hero-copy,
    body.page-home .public-shell .home-hero-visual,
    body.page-home .public-shell .home-hero-art-stage,
    body.page-home .public-shell .home-hero-art-stage::before,
    body.page-home .public-shell .home-process-slider { animation: none !important; }
    body.page-home .public-shell .home-hero-art-stage .hero-art,
    body.page-home .public-shell .home-payment-card,
    body.page-home .public-shell .home-hero-actions .btn,
    body.page-home .public-shell .home-secondary-link { transition: none !important; }
}


/* Fundos originais da homepage; overlays preservam contraste e hierarquia do conteúdo. */
body.page-home .public-shell .home-hero {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .91) 41%, rgba(255, 255, 255, .56) 72%, rgba(255, 255, 255, .38) 100%),
        url('../images/home-bg-hero.webp');
    background-position: center, center;
    background-size: cover, cover;
}
body.page-home .public-shell .home-process-section {
    background-color: #FCFAFD;
    background-image: linear-gradient(rgba(255, 255, 255, .83), rgba(255, 255, 255, .83)), url('../images/home-bg-steps.webp');
    background-position: center;
    background-size: cover;
}
@media (max-width: 699px) {
    body.page-home .public-shell .home-hero {
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .77)),
            url('../images/home-bg-hero.webp');
        background-position: center, 63% center;
        background-size: cover, cover;
    }
    body.page-home .public-shell .home-process-section {
        background-image: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url('../images/home-bg-steps.webp');
    }
}


/* Microinterações e revelações progressivas solicitadas para a experiência da homepage. */
body.page-home .public-shell .home-hero {
    position: relative;
    isolation: isolate;
}
body.page-home .public-shell .home-hero::before {
    position: absolute;
    z-index: 0;
    top: 10%;
    right: 0;
    width: min(44%, 540px);
    height: 76%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(112, 68, 158, .12), rgba(148, 115, 177, .055) 48%, transparent 73%);
    content: "";
    filter: blur(18px);
    pointer-events: none;
    animation: home-ambient-breathe 15s ease-in-out infinite;
}
body.page-home .public-shell .home-hero-grid,
body.page-home .public-shell .home-hero > .tracking-box { position: relative; z-index: 1; }
body.page-home .public-shell .home-hero-copy > .home-eyebrow { animation: home-fade-up .58s cubic-bezier(.2, .75, .25, 1) .05s both; }
body.page-home .public-shell .home-hero-copy > .hero-title { animation: home-fade-up .64s cubic-bezier(.2, .75, .25, 1) .13s both; }
body.page-home .public-shell .home-hero-copy > .hero-desc { animation: home-fade-up .66s cubic-bezier(.2, .75, .25, 1) .21s both; }
body.page-home .public-shell .home-hero-copy > .home-hero-actions { animation: home-fade-up .68s cubic-bezier(.2, .75, .25, 1) .29s both; }
body.page-home .public-shell .home-hero-copy > .home-hero-assurance { animation: home-fade-up .7s cubic-bezier(.2, .75, .25, 1) .37s both; }
body.page-home.has-scroll-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(.995);
    transition: opacity .62s ease var(--reveal-delay, 0ms), transform .62s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
}
body.page-home.has-scroll-reveal [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
body.page-home .public-shell .home-process-slider.is-interactive .home-process-slide {
    border-color: #E9E4ED;
    transition: opacity .27s ease, transform .32s cubic-bezier(.2, .75, .25, 1), visibility 0s linear .32s, border-color .25s ease, box-shadow .25s ease;
}
body.page-home .public-shell .home-process-slider.is-interactive .home-process-slide.is-active {
    border-color: #DCCCE8;
    background: #FFFFFF;
    box-shadow: 0 9px 24px rgba(76, 48, 96, .07);
}
body.page-home .public-shell .home-process-progress > span { transition: width .72s cubic-bezier(.2, .75, .25, 1); }
body.page-home .public-shell .home-slider-button,
body.page-home .public-shell .home-hero-actions .btn,
body.page-home .public-shell .header-actions .btn,
body.page-home .public-shell .tracking-form .btn {
    transition: transform .18s cubic-bezier(.2, .75, .25, 1), color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}
body.page-home .public-shell .nav-links a,
body.page-home .public-shell .footer-links a,
body.page-home .public-shell .logo,
body.page-home .public-shell .home-secondary-link {
    transition: color .2s ease, opacity .2s ease, transform .18s ease;
    -webkit-tap-highlight-color: transparent;
}
body.page-home .public-shell .home-hero-actions .btn:active,
body.page-home .public-shell .header-actions .btn:active,
body.page-home .public-shell .tracking-form .btn:active,
body.page-home .public-shell .home-slider-button:active { transform: scale(.975); }
body.page-home .public-shell .nav-links a:active,
body.page-home .public-shell .footer-links a:active,
body.page-home .public-shell .logo:active,
body.page-home .public-shell .home-secondary-link:active { transform: scale(.985); }
body.page-home .public-shell :is(a, button, input):focus-visible {
    outline: 3px solid rgba(112, 73, 154, .42);
    outline-offset: 3px;
}
body.page-home .public-shell .home-process-slide { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
    body.page-home .public-shell .home-process-slider.is-interactive .home-process-slide.is-active:hover {
        transform: translate3d(0, -2px, 0);
        border-color: #D3BCE2;
        box-shadow: 0 13px 28px rgba(76, 48, 96, .11);
    }
    body.page-home .public-shell .home-slider-button:hover:not(:disabled),
    body.page-home .public-shell .home-hero-actions .btn:hover,
    body.page-home .public-shell .header-actions .btn:hover,
    body.page-home .public-shell .tracking-form .btn:hover { transform: translateY(-2px); }
    body.page-home .public-shell .footer-links a:hover,
    body.page-home .public-shell .home-secondary-link:hover { color: #70449E; }
}
@media (hover: none) {
    body.page-home .public-shell .home-payment-card:active,
    body.page-home .public-shell .home-process-slider.is-interactive .home-process-slide.is-active:active {
        transform: scale(.992);
        border-color: #D8C7E4;
    }
    body.page-home .public-shell .home-hero-art-stage .hero-art { transition-duration: .35s; }
}
@keyframes home-ambient-breathe {
    0%, 100% { opacity: .55; transform: translate3d(0, 0, 0) scale(.98); }
    50% { opacity: .92; transform: translate3d(-5px, 4px, 0) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
    body.page-home .public-shell .home-hero::before,
    body.page-home .public-shell .home-hero-copy > *,
    body.page-home .public-shell .home-hero-art-stage { animation: none !important; }
    body.page-home.has-scroll-reveal [data-reveal],
    body.page-home .public-shell .home-process-slider.is-interactive .home-process-slides,
    body.page-home .public-shell .home-process-slider.is-interactive .home-process-slide,
    body.page-home .public-shell .home-process-progress > span,
    body.page-home .public-shell .home-process-dot,
    body.page-home .public-shell .home-payment-card,
    body.page-home .public-shell .home-slider-button,
    body.page-home .public-shell .home-hero-actions .btn,
    body.page-home .public-shell .header-actions .btn,
    body.page-home .public-shell .tracking-form .btn,
    body.page-home .public-shell .nav-links a,
    body.page-home .public-shell .footer-links a,
    body.page-home .public-shell .logo,
    body.page-home .public-shell .home-secondary-link { transition: none !important; }
    body.page-home.has-scroll-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* Dashboard do cliente: limite em foco e navegação por ícones, sem blocos de resumo. */
.client-layout.client-dashboard .main-content { padding: clamp(18px, 2.4vw, 30px); }
.client-layout.client-dashboard .topbar { margin-bottom: 22px; }
.client-layout.client-dashboard .topbar h1 { margin: 0; color: #2C1A35; font-size: clamp(1.42rem, 2.5vw, 1.9rem); font-weight: 720; letter-spacing: -.045em; }
.client-layout.client-dashboard .topbar .greeting { display: none; }
.client-layout.client-dashboard .dashboard-limit-focus { min-height: 188px; margin-bottom: 12px; padding: clamp(20px, 3vw, 30px); border-radius: 20px; }
.client-layout.client-dashboard .dashboard-limit-focus h2 { margin-top: 8px; font-size: .96rem; font-weight: 600; }
.client-layout.client-dashboard .dashboard-limit-focus .credit-available-value { margin: 7px 0 11px; font-size: clamp(2.45rem, 5vw, 3.4rem); }
.client-layout.client-dashboard .dashboard-limit-focus .credit-limit-actions { margin-top: 12px; }
.client-layout.client-dashboard .dashboard-limit-focus .credit-limit-side { width: 138px; flex-basis: 138px; height: 130px; }
.client-layout.client-dashboard .dashboard-limit-focus .credit-limit-side > svg { width: 74px; height: 74px; padding: 16px; color: #70499A; border-color: #E9DDF0; background: rgba(255,255,255,.82); box-shadow: 0 12px 28px rgba(91,25,138,.08); }
.client-layout.client-dashboard .dashboard-safety-note { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 10px 13px; border: 1px solid #F0E3C9; border-radius: 12px; color: #735322; background: #FFFBF3; font-size: .75rem; line-height: 1.4; }
.client-layout.client-dashboard .dashboard-safety-note svg { flex: 0 0 17px; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.client-layout.client-dashboard .dashboard-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.client-layout.client-dashboard .dashboard-shortcut { display: flex; min-width: 0; min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid #ECE5F0; border-radius: 16px; color: #44334D; background: #FFFFFF; box-shadow: 0 5px 16px rgba(43,22,57,.035); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease; -webkit-tap-highlight-color: transparent; }
.client-layout.client-dashboard .dashboard-shortcut > span:last-child { font-size: .78rem; font-weight: 650; line-height: 1.25; }
.client-layout.client-dashboard .dashboard-shortcut-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #E8DDF0; border-radius: 13px; color: #70499A; background: #F8F3FB; }
.client-layout.client-dashboard .dashboard-shortcut-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.client-layout.client-dashboard .dashboard-shortcut-primary { border-color: #E1D3EC; background: linear-gradient(145deg, #FFFFFF, #F9F4FC); }
.client-layout.client-dashboard .dashboard-shortcut-primary .dashboard-shortcut-icon { color: #FFFFFF; border-color: #70499A; background: #70499A; }
.client-layout.client-dashboard .dashboard-shortcut:hover { transform: translateY(-2px); border-color: #D9C5E8; box-shadow: 0 10px 21px rgba(43,22,57,.075); }
.client-layout.client-dashboard .dashboard-shortcut:active { transform: scale(.98); }
.client-layout.client-dashboard .dashboard-shortcut:focus-visible { outline: 3px solid rgba(112,73,154,.36); outline-offset: 3px; }
@media (max-width: 760px) {
    .client-layout.client-dashboard .main-content { padding: 16px; }
    .client-layout.client-dashboard .topbar { margin-bottom: 18px; }
    .client-layout.client-dashboard .dashboard-limit-focus { min-height: 0; padding: 20px 18px; }
    .client-layout.client-dashboard .dashboard-limit-focus .credit-limit-side { width: 74px; flex-basis: 74px; height: 84px; margin-right: -7px; }
    .client-layout.client-dashboard .dashboard-limit-focus .credit-limit-side > svg { width: 57px; height: 57px; padding: 12px; border-radius: 17px; }
    .client-layout.client-dashboard .dashboard-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .client-layout.client-dashboard .dashboard-shortcut { min-height: 92px; gap: 8px; padding: 10px 9px; border-radius: 13px; }
    .client-layout.client-dashboard .dashboard-shortcut-icon { width: 35px; height: 35px; border-radius: 11px; }
    .client-layout.client-dashboard .dashboard-shortcut-icon svg { width: 18px; height: 18px; }
    .client-layout.client-dashboard .dashboard-shortcut > span:last-child { font-size: .66rem; }
}
@media (max-width: 370px) {
    .client-layout.client-dashboard .main-content { padding: 12px; }
    .client-layout.client-dashboard .dashboard-shortcuts { gap: 6px; }
    .client-layout.client-dashboard .dashboard-shortcut { padding: 9px 7px; }
    .client-layout.client-dashboard .dashboard-shortcut > span:last-child { font-size: .61rem; }
}
@media (prefers-reduced-motion: reduce) {
    .client-layout.client-dashboard .dashboard-shortcut { transition: none; }
}

.client-layout.client-dashboard .credit-modal-backdrop[hidden] { display: none !important; }


/* PRIVATE PAY — evolução premium da área autenticada conforme anexo 07. */
.client-layout.client-dashboard,
.client-layout.client-profile {
    --pc-bg: #111318;
    --pc-panel: #17131F;
    --pc-panel-2: #25202F;
    --pc-panel-3: #292333;
    --pc-lavender: #B99AFF;
    --pc-lavender-bright: #C4A4FF;
    --pc-white: #FFFFFF;
    --pc-muted: #C5C0CD;
    --pc-muted-2: #AAA2B5;
    --pc-success: #36B37E;
    --pc-warning: #E5B65C;
    --pc-error: #E46D79;
    --client-sidebar-width: 248px;
    color: var(--pc-white) !important;
    border: 1px solid rgba(196,164,255,.12) !important;
    border-radius: 22px !important;
    background: radial-gradient(ellipse at 78% 1%,rgba(185,154,255,.095),transparent 32%),radial-gradient(ellipse at 12% 24%,rgba(185,154,255,.04),transparent 37%),#111318 !important;
    box-shadow: 0 24px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.035) !important;
}
body:has(.client-layout.client-dashboard),
body:has(.client-layout.client-profile) { background: #111318 !important; color: #FFFFFF; }
.client-layout.client-dashboard:not(:has(.admin-sidebar)),
.client-layout.client-profile:not(:has(.admin-sidebar)) { width: min(calc(100% - 36px),1600px) !important; min-height: calc(100vh - 36px) !important; margin: 18px auto !important; overflow: hidden; }
.client-layout.client-dashboard:not(:has(.admin-sidebar)) > .sidebar,
.client-layout.client-profile:not(:has(.admin-sidebar)) > .sidebar {
    width: var(--client-sidebar-width) !important;
    padding: 18px 13px 16px !important;
    background: linear-gradient(180deg,#17131F 0%,#15131B 100%) !important;
    border-right: 1px solid rgba(196,164,255,.1) !important;
}
.client-layout.client-dashboard .sidebar-logo,
.client-layout.client-profile .sidebar-logo {
    min-height: 88px !important;
    margin: 0 0 20px !important;
    padding: 0 10px 17px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    border-bottom: 1px solid rgba(196,164,255,.12) !important;
    color: #FFFFFF !important;
    text-align: left !important;
    font-size: .9rem !important;
    font-weight: 750 !important;
    letter-spacing: .09em !important;
    line-height: 1.17 !important;
}
.client-layout.client-dashboard .sidebar-logo img,
.client-layout.client-profile .sidebar-logo img { width: 42px !important; height: 42px !important; flex: 0 0 42px !important; }
.client-layout.client-dashboard .sidebar-nav,
.client-layout.client-profile .sidebar-nav { gap: 5px !important; }
.client-layout.client-dashboard .sidebar-nav a,
.client-layout.client-profile .sidebar-nav a {
    position: relative;
    min-height: 45px !important;
    padding: 10px 11px !important;
    gap: 11px !important;
    border: 1px solid transparent;
    border-radius: 12px !important;
    color: #C5C0CD !important;
    background: transparent !important;
    font-size: .79rem !important;
    font-weight: 540 !important;
    transition: color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease !important;
}
.client-layout.client-dashboard .sidebar-nav a svg,
.client-layout.client-profile .sidebar-nav a svg { width: 18px; height: 18px; flex: 0 0 18px; color: #B99AFF !important; }
.client-layout.client-dashboard .sidebar-nav a:hover,
.client-layout.client-profile .sidebar-nav a:hover { color: #FFFFFF !important; background: rgba(196,164,255,.075) !important; border-color: rgba(196,164,255,.1); transform: translateX(2px); }
.client-layout.client-dashboard .sidebar-nav a.active,
.client-layout.client-profile .sidebar-nav a.active { color: #FFFFFF !important; border-color: rgba(185,154,255,.18); background: linear-gradient(100deg,rgba(185,154,255,.16),rgba(185,154,255,.055)) !important; box-shadow: inset 2px 0 0 #B99AFF,0 6px 18px rgba(0,0,0,.12) !important; }
.client-layout.client-dashboard .sidebar-nav a.active svg,
.client-layout.client-profile .sidebar-nav a.active svg { color: #C4A4FF !important; }
.client-layout.client-dashboard .sidebar-divider,
.client-layout.client-profile .sidebar-divider { height: 1px; margin: 11px 5px !important; background: rgba(196,164,255,.11) !important; }
.client-layout.client-dashboard .sidebar-admin-link,
.client-layout.client-profile .sidebar-admin-link { color: #E4D4FF !important; }
.nav-unread-count { display: inline-grid; min-width: 19px; height: 19px; place-items: center; margin-left: auto; padding: 0 5px; border: 1px solid rgba(228,109,121,.35); border-radius: 99px; color: #FFECEF; background: rgba(228,109,121,.16); font-size: .62rem; font-weight: 750; }
.client-layout.client-dashboard .nav-logout,
.client-layout.client-profile .nav-logout { margin-top: 4px; }
.client-layout.client-dashboard .nav-logout button,
.client-layout.client-profile .nav-logout button { min-height: 44px; gap: 11px; padding: 10px 11px; border: 1px solid transparent; border-radius: 12px; color: #C5C0CD; font-size: .79rem; transition: color .18s ease,background .18s ease,border-color .18s ease; }
.client-layout.client-dashboard .nav-logout button svg,
.client-layout.client-profile .nav-logout button svg { width: 18px; height: 18px; color: #AAA2B5; }
.client-layout.client-dashboard .nav-logout button:hover,
.client-layout.client-profile .nav-logout button:hover { color: #FFFFFF; border-color: rgba(228,109,121,.17); background: rgba(228,109,121,.08); }
.sidebar-security { display: flex; align-items: center; gap: 8px; margin: auto 4px 0; padding: 13px 7px 0; color: #AAA2B5; font-size: .65rem; }
.security-indicator { width: 7px; height: 7px; border-radius: 50%; background: #36B37E; box-shadow: 0 0 0 4px rgba(54,179,126,.11),0 0 12px rgba(54,179,126,.4); }
.client-layout.client-dashboard:not(:has(.admin-sidebar)) > .main-content,
.client-layout.client-profile:not(:has(.admin-sidebar)) > .main-content {
    width: calc(100% - var(--client-sidebar-width)) !important;
    min-height: calc(100vh - 36px) !important;
    margin-left: var(--client-sidebar-width) !important;
    padding: 28px clamp(23px,3vw,48px) 38px !important;
    color: #FFFFFF !important;
    background: transparent !important;
}
.client-layout.client-dashboard .topbar,
.client-layout.client-profile .topbar { position: relative; z-index: 20; min-height: 58px !important; margin-bottom: 24px !important; gap: 16px; }
.client-layout.client-dashboard .topbar h1,
.client-layout.client-profile .topbar h1 { color: #FFFFFF !important; font-size: clamp(1.3rem,2vw,1.7rem) !important; font-weight: 650; letter-spacing: -.04em; }
.client-layout.client-dashboard .topbar .greeting,
.client-layout.client-profile .topbar .greeting { color: #C5C0CD !important; }
.client-layout.client-dashboard .topbar-title,
.client-layout.client-profile .topbar-title { min-width: 0; }
.client-layout.client-dashboard .topbar-actions,
.client-layout.client-profile .topbar-actions { gap: 11px !important; color: #C5C0CD !important; }
.menu-toggle { display: none; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(196,164,255,.15) !important; border-radius: 13px !important; color: #FFFFFF !important; background: rgba(37,38,48,.8) !important; cursor: pointer; transition: background .18s ease,border-color .18s ease,transform .18s ease; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle:hover { border-color: rgba(185,154,255,.4) !important; background: #25202F !important; }
.header-popover-wrap { position: relative; }
.header-icon-button { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(196,164,255,.14); border-radius: 13px; color: #D5CBE1; background: rgba(37,38,48,.68); cursor: pointer; transition: color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease; }
.header-icon-button:hover,.header-icon-button[aria-expanded="true"] { color: #FFFFFF; border-color: rgba(185,154,255,.42); background: #25202F; }
.header-icon-button svg { width: 20px; height: 20px; }
.notification-count { position: absolute; top: -6px; right: -6px; display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 5px; border: 2px solid #111318; border-radius: 99px; color: #FFFFFF; background: #E46D79; font-size: .59rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.notification-count[hidden] { display: none; }
.notification-count-pulse { animation: pc-notification-pulse .58s ease-out 1; }
@keyframes pc-notification-pulse { 0%{box-shadow:0 0 0 0 rgba(228,109,121,.65);transform:scale(.82)} 65%{box-shadow:0 0 0 8px rgba(228,109,121,0);transform:scale(1.17)} 100%{box-shadow:0 0 0 0 transparent;transform:scale(1)} }
.account-control { display: inline-flex !important; align-items: center; gap: 9px !important; min-height: 44px; padding: 3px 5px 3px 4px; border: 1px solid transparent; border-radius: 999px; color: #E4DDED !important; background: transparent; font: inherit; cursor: pointer; transition: border-color .18s ease,background .18s ease; }
.account-control:hover,.account-control[aria-expanded="true"] { border-color: rgba(196,164,255,.18); color: #FFFFFF !important; background: rgba(37,38,48,.75); }
.account-avatar { position: relative; display: grid; width: 38px !important; height: 38px !important; flex: 0 0 38px; overflow: hidden; place-items: center; border: 1px solid rgba(196,164,255,.37) !important; border-radius: 50%; color: #FFFFFF !important; background: linear-gradient(140deg,#6F58A2,#30283F) !important; box-shadow: 0 5px 18px rgba(0,0,0,.25) !important; font-size: .73rem; font-weight: 750; letter-spacing: .03em; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-large { width: 46px !important; height: 46px !important; flex-basis: 46px; }
.account-control-name { max-width: 130px; overflow: hidden; color: #EAE6F0; font-size: .77rem; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.account-chevron { width: 15px; height: 15px; color: #AAA2B5; transition: transform .18s ease; }
.account-control[aria-expanded="true"] .account-chevron { transform: rotate(180deg); }
.notification-popover,.account-popover { position: absolute; top: calc(100% + 12px); right: 0; z-index: 70; width: min(370px,calc(100vw - 32px)); overflow: hidden; border: 1px solid rgba(196,164,255,.17); border-radius: 19px; color: #FFFFFF; background: rgba(23,19,31,.97); box-shadow: 0 24px 70px rgba(0,0,0,.54),inset 0 1px 0 rgba(255,255,255,.04); backdrop-filter: blur(18px); transform-origin: top right; animation: pc-popover-in .18s cubic-bezier(.2,.75,.2,1) both; }
.notification-popover[hidden],.account-popover[hidden] { display: none; }
@keyframes pc-popover-in { from{opacity:0;transform:translateY(-5px) scale(.985)} to{opacity:1;transform:translateY(0) scale(1)} }
.popover-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px 13px; border-bottom: 1px solid rgba(196,164,255,.1); }
.popover-kicker,.profile-eyebrow { display: block; color: #B99AFF; font-size: .56rem; font-weight: 800; letter-spacing: .15em; }
.popover-heading h2 { margin: 4px 0 0; color: #FFFFFF; font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
.popover-heading > a { display: inline-flex; align-items: center; gap: 5px; min-height: 35px; color: #C4A4FF; font-size: .67rem; font-weight: 650; white-space: nowrap; }
.popover-heading > a:hover { color: #FFFFFF; }
.notification-preview-list { display: grid; max-height: min(390px,55vh); overflow: auto; padding: 5px 9px; scrollbar-color: #494055 transparent; scrollbar-width: thin; }
.notification-preview-item { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 11px; padding: 12px 9px; border-bottom: 1px solid rgba(196,164,255,.075); border-radius: 10px; color: #FFFFFF; transition: background .15s ease; }
.notification-preview-item:hover { color: #FFFFFF; background: rgba(196,164,255,.07); }
.notification-preview-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: transparent; }
.notification-preview-item[data-read="false"] .notification-preview-dot { background: #B99AFF; box-shadow: 0 0 0 4px rgba(185,154,255,.12),0 0 12px rgba(185,154,255,.3); }
.notification-preview-copy { display: grid; min-width: 0; gap: 4px; }
.notification-preview-copy strong { color: #FFFFFF; font-size: .72rem; font-weight: 680; line-height: 1.4; }
.notification-preview-copy small { display: -webkit-box; overflow: hidden; color: #AAA2B5; font-size: .64rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.notification-preview-item[data-read="true"] .notification-preview-copy strong { color: #C5C0CD; font-weight: 530; }
.notification-preview-date { color: #857D90; font-size: .58rem; }
.notification-preview-message { margin: 0; padding: 21px 18px; color: #C5C0CD; font-size: .72rem; line-height: 1.55; }
.notification-preview-loading { display: grid; gap: 10px; padding: 17px 18px; }
.notification-preview-loading[hidden] { display: none; }
.notification-preview-loading span { display: block; height: 10px; border-radius: 20px; background: linear-gradient(90deg,#25202F,#383044,#25202F); background-size: 200% 100%; animation: pc-skeleton 1.15s ease-in-out infinite; }
.notification-preview-loading span:nth-child(1) { width: 82%; }.notification-preview-loading span:nth-child(2) { width: 100%; }.notification-preview-loading span:nth-child(3) { width: 57%; }
@keyframes pc-skeleton { to{background-position:-200% 0} }
.account-popover { width: min(300px,calc(100vw - 32px)); padding: 10px; }
.account-popover-identity { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 9px 14px; border-bottom: 1px solid rgba(196,164,255,.1); }
.account-popover-identity > span:last-child { display: grid; min-width: 0; gap: 3px; }
.account-popover-identity strong { overflow: hidden; color: #FFFFFF; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.account-popover-identity small { overflow: hidden; color: #AAA2B5; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.account-popover-link,.account-logout-form button { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: space-between; padding: 9px 10px; border: 1px solid transparent; border-radius: 10px; color: #DAD4E3; background: transparent; font-size: .7rem; text-align: left; transition: color .15s ease,background .15s ease,border-color .15s ease; }
.account-popover-link:hover { color: #FFFFFF; border-color: rgba(196,164,255,.1); background: rgba(196,164,255,.065); }
.account-popover-link > span:last-child { color: #B99AFF; }
.account-logout-form { margin-top: 5px; padding-top: 5px; border-top: 1px solid rgba(196,164,255,.09); }
.account-logout-form button { color: #F0A1A9; font-family: inherit; cursor: pointer; }
.account-logout-form button:hover { color: #FFFFFF; border-color: rgba(228,109,121,.16); background: rgba(228,109,121,.1); }

/* Limite: destaque imersivo, dados verdadeiros do CreditLimitService. */
.client-layout.client-dashboard .credit-limit-panel {
    position: relative; display: flex; min-height: 260px; align-items: center; justify-content: space-between; gap: 25px;
    margin: 0 0 15px; padding: clamp(23px,3.3vw,37px) clamp(22px,3.8vw,43px); overflow: hidden;
    border: 1px solid rgba(196,164,255,.21) !important; border-radius: 24px !important; color: #FFFFFF !important;
    background: radial-gradient(ellipse at 80% 18%,rgba(185,154,255,.20),transparent 39%),linear-gradient(122deg,#25202F 0%,#1C1925 52%,#292333 100%) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.client-layout.client-dashboard .credit-limit-panel::before { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(128deg,rgba(255,255,255,.055),transparent 36%,transparent 75%,rgba(196,164,255,.045)); content: ""; pointer-events: none; }
.client-layout.client-dashboard .credit-limit-panel::after { position: absolute; right: 17%; bottom: -160px; width: 360px; height: 290px; border: 1px solid rgba(196,164,255,.105); border-radius: 50%; content: ""; transform: rotate(-17deg); box-shadow: 0 0 0 26px rgba(196,164,255,.018),0 0 0 55px rgba(196,164,255,.013); pointer-events: none; }
.client-layout.client-dashboard .credit-limit-copy { position: relative; z-index: 2; min-width: 0; max-width: 570px; }
.client-layout.client-dashboard .credit-eyebrow { margin-bottom: 8px; color: #C4A4FF !important; font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.client-layout.client-dashboard .credit-limit-panel h2 { margin: 0; color: #F3F0F7 !important; font-size: .97rem; font-weight: 550; letter-spacing: -.01em; }
.client-layout.client-dashboard .credit-available-value { margin: 7px 0 8px; color: #FFFFFF !important; font-size: clamp(2.7rem,6vw,4rem); font-weight: 680; line-height: 1; letter-spacing: -.065em; font-variant-numeric: tabular-nums; text-shadow: 0 7px 32px rgba(196,164,255,.12); }
.client-layout.client-dashboard .credit-availability-note { max-width: 520px; margin: 0 0 10px; color: #C5C0CD; font-size: .73rem; line-height: 1.5; }
.client-layout.client-dashboard .credit-status-pill { display: inline-flex; min-height: 28px; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid rgba(196,164,255,.19); border-radius: 999px; color: #D8D1E0; background: rgba(17,19,24,.42); font-size: .64rem; font-weight: 620; }
.client-layout.client-dashboard .credit-status-pill > span { width: 7px; height: 7px; border-radius: 50%; background: #AAA2B5; }
.client-layout.client-dashboard .credit-status-pill.pending,.client-layout.client-dashboard .credit-status-pill.pending_customer { color: #F1D495; border-color: rgba(229,182,92,.23); background: rgba(229,182,92,.08); }
.client-layout.client-dashboard .credit-status-pill.pending > span,.client-layout.client-dashboard .credit-status-pill.pending_customer > span { background: #E5B65C; box-shadow: 0 0 0 3px rgba(229,182,92,.13); }
.client-layout.client-dashboard .credit-status-pill.approved { color: #8DE3B8; border-color: rgba(54,179,126,.24); background: rgba(54,179,126,.085); }
.client-layout.client-dashboard .credit-status-pill.approved > span { background: #36B37E; box-shadow: 0 0 0 3px rgba(54,179,126,.12); }
.client-layout.client-dashboard .credit-status-pill.rejected,.client-layout.client-dashboard .credit-status-pill.customer_rejected { color: #F4A9B0; border-color: rgba(228,109,121,.25); background: rgba(228,109,121,.085); }
.client-layout.client-dashboard .credit-status-pill.rejected > span,.client-layout.client-dashboard .credit-status-pill.customer_rejected > span { background: #E46D79; }
.client-layout.client-dashboard .credit-limit-breakdown { display: flex; flex-wrap: wrap; gap: 8px 21px; margin: 11px 0 0; }
.client-layout.client-dashboard .credit-limit-breakdown > div { display: grid; gap: 2px; }
.client-layout.client-dashboard .credit-limit-breakdown dt { color: #AAA2B5; font-size: .57rem; }
.client-layout.client-dashboard .credit-limit-breakdown dd { margin: 0; color: #F3F0F7; font-size: .72rem; font-weight: 670; font-variant-numeric: tabular-nums; }
.client-layout.client-dashboard .credit-limit-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.client-layout.client-dashboard .credit-limit-actions .btn { min-height: 42px; padding: 10px 16px; border-radius: 12px !important; font-size: .72rem; font-weight: 700; }
.client-layout.client-dashboard .credit-limit-actions .btn-primary { color: #17131F !important; background: linear-gradient(118deg,#C4A4FF,#9F7CEB) !important; box-shadow: 0 8px 24px rgba(185,154,255,.17) !important; }
.client-layout.client-dashboard .credit-limit-actions .btn-primary:hover { color: #111318 !important; background: #D2BCFF !important; box-shadow: 0 10px 27px rgba(185,154,255,.28) !important; transform: translateY(-2px); }
.client-layout.client-dashboard .credit-limit-actions .btn-outline { color: #E7DCFA !important; border: 1px solid rgba(196,164,255,.31) !important; background: rgba(17,19,24,.28) !important; }
.client-layout.client-dashboard .credit-limit-actions .btn-outline:hover { background: rgba(196,164,255,.1) !important; }
.limit-visual { position: relative; z-index: 1; display: grid; flex: 0 0 min(31%,300px); min-height: 178px; place-items: center; }
.limit-visual-card { position: relative; z-index: 2; display: flex; width: min(100%,250px); height: 155px; flex-direction: column; justify-content: space-between; padding: 17px 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.32); border-radius: 18px; background: linear-gradient(145deg,rgba(255,255,255,.20),rgba(196,164,255,.055) 42%,rgba(23,19,31,.68)),linear-gradient(135deg,#453C57,#24202D 70%); box-shadow: 0 18px 35px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.22); transform: rotate(-7deg); transition: transform .45s cubic-bezier(.2,.75,.2,1),box-shadow .45s ease; backdrop-filter: blur(15px); }
.client-layout.client-dashboard .credit-limit-panel:hover .limit-visual-card { transform: rotate(-3deg) translateY(-4px); box-shadow: 0 25px 45px rgba(0,0,0,.4),0 0 40px rgba(185,154,255,.1),inset 0 1px 0 rgba(255,255,255,.22); }
.limit-visual-brand { color: #F9F6FC; font-size: .63rem; font-weight: 750; letter-spacing: .09em; }
.limit-visual-brand b { color: #C4A4FF; font-weight: 750; }
.limit-visual-chip { position: relative; display: block; width: 28px; height: 22px; margin-top: auto; margin-bottom: 13px; border: 1px solid rgba(237,222,255,.7); border-radius: 6px; background: linear-gradient(145deg,#E5D9F1,#9585A6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.limit-visual-chip::before,.limit-visual-chip::after { position: absolute; content: ""; background: rgba(69,56,83,.65); }
.limit-visual-chip::before { top: 0; bottom: 0; left: 50%; width: 1px; }.limit-visual-chip::after { top: 50%; right: 0; left: 0; height: 1px; }
.limit-visual-wave { position: absolute; right: 17px; bottom: 16px; color: #D6C1F4; font-size: 1.5rem; transform: rotate(90deg); }
.limit-visual-line { width: 45%; height: 3px; border-radius: 9px; background: rgba(255,255,255,.3); }
.limit-visual-orbit { position: absolute; width: 210px; height: 120px; border: 1px solid rgba(196,164,255,.15); border-radius: 50%; transform: rotate(-18deg); }
.limit-visual-orbit-two { width: 260px; height: 154px; border-color: rgba(196,164,255,.085); transform: rotate(18deg); }
.limit-visual-glint { position: absolute; right: 6%; bottom: 11%; width: 8px; height: 8px; border-radius: 50%; background: #C4A4FF; box-shadow: 0 0 0 7px rgba(196,164,255,.07),0 0 25px rgba(196,164,255,.75); animation: pc-glint 3.8s ease-in-out infinite; }
@keyframes pc-glint { 50%{opacity:.52;transform:translateY(-5px)} }
.client-layout.client-dashboard .dashboard-safety-note { display: flex; min-height: 64px; align-items: center; gap: 12px; margin: 0 0 21px; padding: 12px 16px; border: 1px solid rgba(229,182,92,.22); border-radius: 15px; color: #F1DDAF; background: linear-gradient(100deg,rgba(229,182,92,.085),rgba(37,32,47,.56)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.client-layout.client-dashboard .safety-note-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgba(229,182,92,.19); border-radius: 11px; color: #E5B65C; background: rgba(229,182,92,.095); }
.client-layout.client-dashboard .safety-note-icon svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.client-layout.client-dashboard .dashboard-safety-note > span:last-child { display: grid; gap: 2px; }
.client-layout.client-dashboard .dashboard-safety-note strong { color: #F2D590; font-size: .65rem; font-weight: 720; }
.client-layout.client-dashboard .dashboard-safety-note small { color: #D4C6A7; font-size: .66rem; line-height: 1.45; }
.client-layout.client-dashboard .dashboard-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin: 0; }
.client-layout.client-dashboard .dashboard-shortcut { position: relative; display: flex; min-width: 0; min-height: 78px; align-items: center; gap: 11px; padding: 12px 13px; overflow: hidden; border: 1px solid rgba(196,164,255,.11); border-radius: 15px; color: #E8E3EF; background: linear-gradient(145deg,rgba(37,38,48,.84),rgba(23,19,31,.91)); box-shadow: 0 7px 20px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025); font-size: .71rem; font-weight: 620; line-height: 1.3; transition: border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease; transition-delay: calc(var(--shortcut-index,0) * 45ms); }
.client-layout.client-dashboard .dashboard-shortcut { height: 78px; flex-direction: row; justify-content: flex-start; text-align: left; }
.client-layout.client-dashboard .dashboard-shortcut::before { position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%,rgba(185,154,255,.08),transparent 54%); content: ""; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.client-layout.client-dashboard .dashboard-shortcut:hover { z-index: 1; color: #FFFFFF; border-color: rgba(185,154,255,.31); background: linear-gradient(145deg,#292333,#1D1A26); box-shadow: 0 12px 26px rgba(0,0,0,.25),0 0 22px rgba(185,154,255,.065); transform: translateY(-3px); }
.client-layout.client-dashboard .dashboard-shortcut:hover::before { opacity: 1; }
.client-layout.client-dashboard .dashboard-shortcut:active { transform: translateY(-1px) scale(.985); }
.client-layout.client-dashboard .dashboard-shortcut-primary { border-color: rgba(185,154,255,.2); background: linear-gradient(145deg,rgba(78,58,102,.54),rgba(37,32,47,.94)); }
.client-layout.client-dashboard .dashboard-shortcut-icon { position: relative; z-index: 1; display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border: 1px solid rgba(196,164,255,.14); border-radius: 12px; color: #C4A4FF; background: linear-gradient(145deg,rgba(185,154,255,.14),rgba(185,154,255,.055)); }
.client-layout.client-dashboard .dashboard-shortcut-icon svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.client-layout.client-dashboard .dashboard-shortcut-primary .dashboard-shortcut-icon { color: #E0D0FF; border-color: rgba(196,164,255,.25); background: rgba(185,154,255,.16); }
.client-layout.client-dashboard .dashboard-shortcut > span:nth-child(2) { position: relative; z-index: 1; min-width: 0; }
.client-layout.client-dashboard .shortcut-chevron { position: relative; z-index: 1; margin-left: auto; color: #8D839C; font-size: .86rem; transition: color .18s ease,transform .18s ease; }
.client-layout.client-dashboard .dashboard-shortcut:hover .shortcut-chevron { color: #C4A4FF; transform: translateX(2px); }
.client-layout.client-dashboard .credit-modal-backdrop { background: rgba(8,7,12,.76); }
.client-layout.client-dashboard .credit-analysis-modal { color: #FFFFFF; border-color: rgba(196,164,255,.2); background: linear-gradient(145deg,#25202F,#17131F); box-shadow: 0 26px 90px rgba(0,0,0,.65); }
.client-layout.client-dashboard .credit-modal-heading h2,.client-layout.client-dashboard .credit-modal-step label { color: #FFFFFF; }
.client-layout.client-dashboard .credit-modal-description,.client-layout.client-dashboard .credit-privacy-note,.client-layout.client-dashboard .credit-modal-step small { color: #AAA2B5; }
.client-layout.client-dashboard .credit-modal-close { color: #D5CBE1; border-color: rgba(196,164,255,.15); background: rgba(37,38,48,.9); }
.client-layout.client-dashboard .credit-modal-step .form-control { color: #FFFFFF; border-color: rgba(196,164,255,.2); background: #111318; }
.client-layout.client-dashboard .credit-last-note { color: #D7CEDE; background: rgba(196,164,255,.09); }
.client-layout.client-dashboard .credit-modal-progress { background: #332D3D; }
.client-layout.client-dashboard .credit-modal-progress span { background: linear-gradient(90deg,#B99AFF,#C4A4FF); }
.client-layout.client-dashboard .credit-modal-step .btn-primary { color: #17131F; background: linear-gradient(120deg,#C4A4FF,#A17CEB); }
.client-layout.client-dashboard :focus-visible,
.client-layout.client-profile :focus-visible { outline: 3px solid #C4A4FF !important; outline-offset: 3px; }

/* Perfil e imagem do titular. */
.client-layout.client-profile .profile-page { display: grid; width: min(100%,1100px); gap: 14px; margin: 0 auto; }
.client-layout.client-profile .profile-hero { display: flex; min-height: 122px; align-items: center; gap: 15px; padding: 18px 22px; border: 1px solid rgba(196,164,255,.13); border-radius: 18px; background: radial-gradient(ellipse at 90% 5%,rgba(185,154,255,.12),transparent 45%),linear-gradient(120deg,#1A1721,#17131F); }
.client-layout.client-profile .profile-hero-icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid rgba(196,164,255,.16); border-radius: 14px; color: #C4A4FF; background: rgba(185,154,255,.09); }
.client-layout.client-profile .profile-hero-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.client-layout.client-profile .profile-hero h2,.client-layout.client-profile .profile-data-heading h2,.client-layout.client-profile .profile-photo-card-heading h2 { margin: 4px 0 3px; color: #FFFFFF !important; font-size: 1.03rem; font-weight: 650; letter-spacing: -.025em; }
.client-layout.client-profile .profile-hero p,.client-layout.client-profile .profile-photo-card-heading p,.client-layout.client-profile .profile-data-heading p { margin: 0; color: #AAA2B5; font-size: .7rem; line-height: 1.5; }
.client-layout.client-profile .profile-photo-card,.client-layout.client-profile .profile-data-card { padding: 19px 21px; border: 1px solid rgba(196,164,255,.12); border-radius: 18px; background: linear-gradient(145deg,rgba(37,38,48,.83),rgba(23,19,31,.98)); box-shadow: 0 12px 30px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.025); }
.client-layout.client-profile .profile-photo-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.client-layout.client-profile .profile-photo-lock { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgba(54,179,126,.18); border-radius: 11px; color: #6DD5A3; background: rgba(54,179,126,.08); }
.client-layout.client-profile .profile-photo-lock svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.client-layout.client-profile .profile-photo-form { display: flex; align-items: center; gap: 20px; }
.client-layout.client-profile .profile-photo-preview { position: relative; display: grid; width: 104px; height: 104px; flex: 0 0 104px; overflow: hidden; place-items: center; border: 1px solid rgba(196,164,255,.28); border-radius: 50%; color: #FFFFFF; background: radial-gradient(circle at 30% 20%,#705B91,#322B40 72%); box-shadow: 0 10px 27px rgba(0,0,0,.28),0 0 0 6px rgba(185,154,255,.045); }
.client-layout.client-profile .profile-photo-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.client-layout.client-profile .profile-photo-preview img[hidden],.client-layout.client-profile .profile-photo-fallback[hidden] { display: none; }
.client-layout.client-profile .profile-photo-fallback { font-size: 1.55rem; font-weight: 700; letter-spacing: .04em; }
.client-layout.client-profile .profile-photo-controls { display: grid; min-width: 0; gap: 5px; }
.client-layout.client-profile .profile-photo-input,.client-layout.client-profile .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; clip-path: inset(50%) !important; }
.client-layout.client-profile .profile-photo-input:focus-visible + * { outline: 3px solid #C4A4FF; }
.client-layout.client-profile .profile-file-label { display: inline-flex; width: fit-content; min-height: 38px; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(196,164,255,.22); border-radius: 11px; color: #E8DDF8; background: rgba(185,154,255,.09); font-size: .68rem; font-weight: 650; cursor: pointer; transition: background .18s ease,border-color .18s ease,transform .18s ease; }
.client-layout.client-profile .profile-file-label:hover { border-color: rgba(196,164,255,.42); background: rgba(185,154,255,.15); transform: translateY(-1px); }
.client-layout.client-profile .profile-file-label > span { color: #C4A4FF; font-size: 1rem; }
.client-layout.client-profile .profile-photo-filename { overflow: hidden; max-width: 430px; color: #C5C0CD; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.client-layout.client-profile .profile-photo-controls > small { color: #AAA2B5; font-size: .59rem; line-height: 1.45; }
.client-layout.client-profile .profile-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.client-layout.client-profile .profile-photo-actions .btn,.client-layout.client-profile .profile-data-actions .btn { min-height: 38px; padding: 9px 13px; border-radius: 11px !important; font-size: .65rem; font-weight: 680; }
.client-layout.client-profile .profile-photo-actions .btn-primary,.client-layout.client-profile .profile-data-actions .btn-primary { color: #17131F !important; background: linear-gradient(120deg,#C4A4FF,#A17CEB) !important; }
.client-layout.client-profile .profile-photo-actions .btn-outline,.client-layout.client-profile .profile-data-actions .btn-outline { color: #D8D0E2 !important; border: 1px solid rgba(196,164,255,.22) !important; background: rgba(17,19,24,.25) !important; }
.client-layout.client-profile .profile-data-heading { margin-bottom: 13px; }
.client-layout.client-profile .profile-data-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.client-layout.client-profile .profile-data-field { display: grid; min-width: 0; gap: 4px; padding: 10px 12px; border: 1px solid rgba(196,164,255,.09); border-radius: 11px; background: rgba(17,19,24,.36); }
.client-layout.client-profile .profile-data-field > span { color: #AAA2B5; font-size: .59rem; }
.client-layout.client-profile .profile-data-field > strong { overflow-wrap: anywhere; color: #F2EFF7; font-size: .7rem; font-weight: 570; }
.client-layout.client-profile .profile-privacy-note { margin: 13px 0 0; color: #AAA2B5; font-size: .63rem; line-height: 1.5; }
.client-layout.client-profile .profile-data-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.client-layout.client-profile .profile-page .form-control { color: #FFFFFF; }

/* Reveal apenas com JavaScript funcional; sem JS/reduced-motion todo conteúdo continua visível. */
.pc-motion-ready [data-reveal] { opacity: 0; transform: translate3d(0,12px,0); transition: opacity .46s cubic-bezier(.2,.75,.2,1),transform .46s cubic-bezier(.2,.75,.2,1); transition-delay: var(--reveal-delay,0ms); }
.pc-motion-ready [data-reveal].pc-in-view { opacity: 1; transform: none; }
.client-layout.client-dashboard .topbar { animation: pc-topbar-in .45s cubic-bezier(.2,.75,.2,1) both; }
@keyframes pc-topbar-in { from{opacity:0;transform:translateY(-5px)} to{opacity:1;transform:none} }
.client-layout.client-dashboard .credit-available-value { animation: pc-balance-in .62s cubic-bezier(.2,.75,.2,1) both; }
@keyframes pc-balance-in { from{opacity:0;transform:translateY(8px);filter:blur(3px)} to{opacity:1;transform:none;filter:blur(0)} }
.client-layout.client-dashboard .dashboard-shortcut { opacity: 1; }
.client-layout.client-dashboard .dashboard-shortcut:hover .dashboard-shortcut-icon { transform: translateY(-1px) rotate(-3deg); }
.client-layout.client-dashboard .dashboard-shortcut-icon { transition: transform .2s ease,background .2s ease; }
.sidebar-overlay { z-index: 39; border: 0; padding: 0; background: rgba(7,6,12,.7) !important; opacity: 0; visibility: hidden; transition: opacity .24s ease,visibility .24s ease !important; backdrop-filter: blur(3px); }
.sidebar-overlay.show { display: block; opacity: 1; visibility: visible; }
.client-layout.client-dashboard :is(a,button),.client-layout.client-profile :is(a,button) { -webkit-tap-highlight-color: transparent; }
.client-layout.client-dashboard :is(a,button):focus-visible,.client-layout.client-profile :is(a,button):focus-visible { outline: 3px solid #C4A4FF !important; outline-offset: 3px; }

@media (min-width:700px) {
    .client-layout.client-dashboard:not(:has(.admin-sidebar)) > .sidebar,
    .client-layout.client-profile:not(:has(.admin-sidebar)) > .sidebar { transform: translateX(0) !important; }
    .client-layout.client-dashboard:not(:has(.admin-sidebar)) .main-content,
    .client-layout.client-profile:not(:has(.admin-sidebar)) .main-content { margin-left: var(--client-sidebar-width) !important; }
}
@media (max-width:699px) {
    .client-layout.client-dashboard:not(:has(.admin-sidebar)),.client-layout.client-profile:not(:has(.admin-sidebar)) { width: 100% !important; min-height: 100vh !important; margin: 0 !important; overflow: visible; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
    .client-layout.client-dashboard:not(:has(.admin-sidebar)) > .sidebar,.client-layout.client-profile:not(:has(.admin-sidebar)) > .sidebar { position: fixed !important; z-index: 60; top: 0; right: auto; bottom: 0; left: 0; width: min(290px,84vw) !important; height: 100dvh !important; min-height: 100dvh !important; max-height: none; padding: 19px 13px 16px !important; overflow-y: auto; border-right: 1px solid rgba(196,164,255,.17) !important; background: #17131F !important; box-shadow: 18px 0 55px rgba(0,0,0,.36); transform: translateX(-104%) !important; transition: transform .28s cubic-bezier(.2,.75,.2,1) !important; }
    .client-layout.client-dashboard:not(:has(.admin-sidebar)) > .sidebar.open,.client-layout.client-profile:not(:has(.admin-sidebar)) > .sidebar.open { transform: translateX(0) !important; }
    .client-layout.client-dashboard:not(:has(.admin-sidebar)) > .main-content,.client-layout.client-profile:not(:has(.admin-sidebar)) > .main-content { width: 100% !important; min-height: 100vh !important; margin: 0 !important; padding: max(14px,env(safe-area-inset-top)) 16px max(28px,env(safe-area-inset-bottom)) !important; }
    .client-layout.client-dashboard .topbar,.client-layout.client-profile .topbar { min-height: 51px !important; margin-bottom: 18px !important; gap: 10px; }
    .client-layout.client-dashboard .topbar h1,.client-layout.client-profile .topbar h1 { font-size: clamp(1.16rem,5vw,1.42rem) !important; }
    .client-layout.client-dashboard .topbar-actions,.client-layout.client-profile .topbar-actions { gap: 7px !important; }
    .menu-toggle { display: grid !important; }
    .account-control { gap: 0 !important; padding: 2px !important; }
    .account-control-name,.account-chevron { display: none; }
    .account-avatar { width: 37px !important; height: 37px !important; flex-basis: 37px; }
    .client-layout.client-dashboard .credit-limit-panel { min-height: 0; gap: 7px; padding: 22px 19px 19px; border-radius: 20px !important; }
    .client-layout.client-dashboard .credit-limit-copy { max-width: none; }
    .client-layout.client-dashboard .credit-limit-panel h2 { font-size: .83rem; }
    .client-layout.client-dashboard .credit-available-value { margin: 8px 0; font-size: clamp(2.45rem,12vw,3.45rem); }
    .client-layout.client-dashboard .credit-availability-note { max-width: 100%; font-size: .67rem; }
    .client-layout.client-dashboard .credit-limit-actions { gap: 7px; margin-top: 13px; }
    .client-layout.client-dashboard .credit-limit-actions .btn { min-height: 40px; padding: 9px 12px; font-size: .65rem; }
    .limit-visual { position: absolute; top: 9px; right: -27px; width: 145px; min-height: 110px; flex-basis: 145px; opacity: .18; pointer-events: none; }
    .limit-visual-card { width: 137px; height: 89px; padding: 10px 11px; border-radius: 12px; }
    .limit-visual-brand { font-size: .47rem; }.limit-visual-chip { width: 18px; height: 14px; margin-bottom: 5px; }.limit-visual-wave { right: 10px; bottom: 9px; font-size: 1rem; }.limit-visual-line { height: 2px; }
    .limit-visual-orbit { width: 130px; height: 75px; }.limit-visual-orbit-two { width: 165px; height: 102px; }.limit-visual-glint { display: none; }
    .client-layout.client-dashboard .dashboard-safety-note { gap: 10px; min-height: 56px; margin-bottom: 16px; padding: 10px 12px; border-radius: 13px; }
    .client-layout.client-dashboard .safety-note-icon { width: 31px; height: 31px; flex-basis: 31px; }
    .client-layout.client-dashboard .dashboard-safety-note strong { font-size: .6rem; }.client-layout.client-dashboard .dashboard-safety-note small { font-size: .6rem; }
    .client-layout.client-dashboard .dashboard-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .client-layout.client-dashboard .dashboard-shortcut { min-height: 69px; gap: 9px; padding: 10px; border-radius: 13px; font-size: .65rem; }
    .client-layout.client-dashboard .dashboard-shortcut-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
    .client-layout.client-dashboard .dashboard-shortcut-icon svg { width: 17px; height: 17px; }
    .client-layout.client-dashboard .shortcut-chevron { font-size: .72rem; }
    .notification-popover,.account-popover { position: fixed; top: calc(max(62px,env(safe-area-inset-top) + 52px)); right: 12px; width: min(370px,calc(100vw - 24px)); }
    .client-layout.client-profile .profile-page { gap: 11px; }
    .client-layout.client-profile .profile-hero { min-height: 104px; padding: 15px; border-radius: 15px; }
    .client-layout.client-profile .profile-hero-icon { width: 39px; height: 39px; flex-basis: 39px; }
    .client-layout.client-profile .profile-hero h2 { font-size: .92rem; }
    .client-layout.client-profile .profile-hero p,.client-layout.client-profile .profile-photo-card-heading p,.client-layout.client-profile .profile-data-heading p { font-size: .64rem; }
    .client-layout.client-profile .profile-photo-card,.client-layout.client-profile .profile-data-card { padding: 15px 14px; border-radius: 15px; }
    .client-layout.client-profile .profile-photo-form { align-items: flex-start; gap: 13px; }
    .client-layout.client-profile .profile-photo-preview { width: 77px; height: 77px; flex-basis: 77px; }
    .client-layout.client-profile .profile-photo-fallback { font-size: 1.2rem; }
    .client-layout.client-profile .profile-photo-controls { gap: 5px; }
    .client-layout.client-profile .profile-file-label { min-height: 36px; padding: 7px 9px; font-size: .63rem; }
    .client-layout.client-profile .profile-photo-controls > small { font-size: .55rem; }
    .client-layout.client-profile .profile-photo-actions { gap: 6px; }
    .client-layout.client-profile .profile-photo-actions .btn { min-height: 35px; padding: 8px 9px; font-size: .59rem; }
    .client-layout.client-profile .profile-data-grid { grid-template-columns: 1fr; gap: 6px; }
    .client-layout.client-profile .profile-data-field { padding: 9px 10px; }
    .client-layout.client-profile .profile-data-actions { flex-direction: column; }
    .client-layout.client-profile .profile-data-actions .btn { width: 100%; }
}
@media (max-width:380px) {
    .client-layout.client-dashboard:not(:has(.admin-sidebar)) > .main-content,.client-layout.client-profile:not(:has(.admin-sidebar)) > .main-content { padding-right: 12px !important; padding-left: 12px !important; }
    .client-layout.client-dashboard .dashboard-shortcut { gap: 7px; padding: 9px 8px; font-size: .61rem; }
    .client-layout.client-dashboard .dashboard-shortcut-icon { width: 31px; height: 31px; flex-basis: 31px; }
    .client-layout.client-dashboard .credit-limit-actions { flex-direction: column; align-items: stretch; }
    .client-layout.client-dashboard .credit-limit-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .client-layout.client-dashboard .topbar,.client-layout.client-dashboard .credit-available-value { animation: none !important; }
    .client-layout.client-dashboard .limit-visual-glint { animation: none !important; }
    .client-layout.client-dashboard .credit-limit-panel:hover .limit-visual-card { transform: rotate(-7deg); }
    .pc-motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .notification-preview-loading span { animation: none !important; }
}

.client-layout.client-dashboard .proposal-consent-pill { margin-left: 7px; color: #F1D495; }
.client-layout.client-dashboard .credit-schema-notice { color: #E9DDAF; border-color: rgba(229,182,92,.22); background: rgba(229,182,92,.08); }
.client-layout.client-dashboard .credit-schema-notice strong { color: #FFF1CC; }
.client-layout.client-dashboard .credit-schema-notice code { color: #D4BBFF; }
.client-layout.client-profile .profile-photo-form:focus-within .profile-file-label { outline: 3px solid #C4A4FF; outline-offset: 3px; }
@media (max-width:699px) { .client-layout.client-dashboard .proposal-consent-pill { margin: 7px 0 0; } }

/* MERGE 2026-11-11 — tema global do cliente e contraste jurídico; escopado por .client-area. */
/* Premium credit gate modal */
.pc-modal-open{overflow:hidden}.pc-gate-modal-backdrop{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:20px;background:rgba(7,5,12,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;transition:opacity .24s ease}.pc-gate-modal-backdrop[hidden]{display:none}.pc-gate-modal-backdrop.is-open{opacity:1}.pc-gate-modal{position:relative;width:min(100%,430px);padding:32px 30px 28px;overflow:hidden;border:1px solid rgba(213,180,255,.35);border-radius:26px;color:#fff;background:radial-gradient(circle at 84% 0,rgba(160,91,255,.28),transparent 34%),linear-gradient(145deg,#2b1d3c,#171020 78%);box-shadow:0 28px 90px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.14);transform:translateY(14px) scale(.97);transition:transform .3s cubic-bezier(.2,.8,.2,1)}.pc-gate-modal-backdrop.is-open .pc-gate-modal{transform:none}.pc-gate-modal:before{content:'';position:absolute;right:-65px;top:-90px;width:210px;height:210px;border:1px solid rgba(211,180,255,.13);border-radius:50%;box-shadow:0 0 0 24px rgba(190,141,255,.035),0 0 0 48px rgba(190,141,255,.025);pointer-events:none}.pc-gate-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#cfc2dd;background:rgba(255,255,255,.05);font-size:1.35rem;line-height:1;cursor:pointer}.pc-gate-close:hover{color:#fff;background:rgba(255,255,255,.12)}.pc-gate-symbol{display:grid;place-items:center;width:58px;height:58px;margin-bottom:21px;border:1px solid rgba(224,193,255,.32);border-radius:18px;color:#d5b1ff;background:linear-gradient(145deg,rgba(177,104,255,.28),rgba(89,45,131,.27));box-shadow:0 12px 30px rgba(123,55,211,.22)}.pc-gate-symbol svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.pc-gate-kicker{position:relative;color:#c69cff;font-size:.62rem;font-weight:750;letter-spacing:.16em}.pc-gate-modal h2{position:relative;margin:8px 0 9px;color:#fff;font-size:2rem;letter-spacing:-.045em}.pc-gate-modal p{position:relative;max-width:340px;margin:0;color:#c9c0d2;font-size:.95rem;line-height:1.6}.pc-gate-actions{position:relative;display:flex;align-items:center;gap:14px;margin-top:27px}.pc-gate-actions .btn{min-height:43px}.pc-gate-dismiss{padding:10px 2px;border:0;color:#a99bb6;background:none;font-size:.78rem;cursor:pointer}.pc-gate-dismiss:hover{color:#fff}@media(max-width:520px){.pc-gate-modal-backdrop{padding:16px;align-items:end}.pc-gate-modal{padding:29px 23px 23px;border-radius:23px}.pc-gate-actions{flex-direction:column;align-items:stretch;gap:9px}.pc-gate-actions .btn{width:100%}.pc-gate-dismiss{padding:9px;text-align:center}}@media(prefers-reduced-motion:reduce){.pc-gate-modal-backdrop,.pc-gate-modal{transition:none}}

/* Robust client-area theme and modal positioning */
html:has(.client-area),body:has(.client-area){background:#0e0b15!important;color:#f8f6fb!important}.client-area{background:linear-gradient(135deg,#0e0b15,#17121f 55%,#100c18)!important;color:#f8f6fb!important}.client-area>.main-content{background:transparent!important;color:#f8f6fb!important}.client-area h1,.client-area h2,.client-area h3,.client-area h4,.client-area .topbar h1{color:#fff!important}.client-area .topbar .greeting,.client-area .muted,.client-area .text-muted{color:#b9afc4!important}.client-area .sidebar{background:#120e19!important;border-color:rgba(204,172,255,.15)!important}.client-area .sidebar-nav a{color:#bdb3c9!important;border-radius:10px;margin:2px 9px}.client-area .sidebar-nav a:hover,.client-area .sidebar-nav a.active{color:#fff!important;background:linear-gradient(90deg,rgba(142,77,206,.3),rgba(78,42,113,.18))!important;border-right:0!important;box-shadow:inset 3px 0 #b76cff}.client-area .sidebar-nav a svg{color:#c295ff!important}.client-area .card,.client-area .panel,.client-area .form-card,.client-area .content-card,.client-area .box{color:#eee8f4!important;background:linear-gradient(145deg,rgba(37,28,50,.98),rgba(22,17,30,.98))!important;border-color:rgba(204,172,255,.17)!important;box-shadow:0 18px 40px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.04)!important}.client-area input,.client-area select,.client-area textarea,.client-area .form-control{color:#f8f5fb!important;background:#15101e!important;border-color:rgba(204,172,255,.23)!important}.client-area input::placeholder,.client-area textarea::placeholder,.client-area .form-control::placeholder{color:#837990!important}.client-area input:focus,.client-area select:focus,.client-area textarea:focus,.client-area .form-control:focus{border-color:#b978ff!important;box-shadow:0 0 0 3px rgba(185,120,255,.16)!important;outline:none}.client-area label,.client-area .form-label{color:#d9d0e2!important}.client-area option{color:#fff;background:#191321}.client-area th{color:#a99db5!important;border-color:rgba(204,172,255,.19)!important}.client-area td{color:#e2dbe9!important;border-color:rgba(204,172,255,.11)!important}.client-area tr:hover td{background:rgba(185,154,255,.045)!important}.client-area hr{border-color:rgba(204,172,255,.13)!important}.client-area .alert-error{color:#ffc6ce!important;background:rgba(228,109,121,.12)!important;border-color:rgba(228,109,121,.3)!important}.client-area .alert-success{color:#bdf2d8!important;background:rgba(54,179,126,.12)!important;border-color:rgba(54,179,126,.3)!important}.client-area .alert-warning{color:#f6d796!important;background:rgba(229,182,92,.12)!important;border-color:rgba(229,182,92,.3)!important}.client-area .alert-info{color:#ddc7ff!important;background:rgba(185,154,255,.11)!important;border-color:rgba(185,154,255,.28)!important}.client-area .btn-outline{color:#ddc8f4!important;border-color:rgba(203,163,255,.55)!important;background:transparent!important}.client-area .btn-ghost{color:#c9bfd2!important}.client-area .empty-state{color:#b9afc4!important;background:rgba(33,25,45,.66)!important;border-color:rgba(204,172,255,.15)!important}.client-area .pagination a,.client-area .pagination button{color:#d8c8e7!important;background:#21192d!important;border-color:rgba(204,172,255,.17)!important}.client-area .tracking-code-card,.client-area .support-dashboard-card,.client-area .promotion-card,.client-area .installment-row{color:#eee8f4!important;background:linear-gradient(145deg,rgba(37,28,50,.96),rgba(22,17,30,.96))!important;border-color:rgba(204,172,255,.16)!important}.client-area .tracking-code-frame{color:#e7d9f4!important;background:#130e1b!important;border-color:rgba(204,172,255,.22)!important}.client-area .tracking-code-frame code{color:#d3adff!important}
.pc-gate-modal-backdrop{position:fixed!important;z-index:2147483000!important;inset:0!important;width:100vw!important;height:100dvh!important;display:grid!important;place-items:center!important;visibility:hidden!important;pointer-events:none!important;opacity:0!important}.pc-gate-modal-backdrop.is-open{visibility:visible!important;pointer-events:auto!important;opacity:1!important}.pc-gate-modal-backdrop[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}.pc-gate-modal{position:relative!important;z-index:1!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important}
@media(max-width:520px){.pc-gate-modal-backdrop{align-items:end!important;padding:16px!important}.pc-gate-modal{width:100%!important}}
/* Final contrast pass for every authenticated client view */
.client-area [class*="-card"],.client-area [class*="-panel"],.client-area [class*="-hero"],.client-area [class*="-empty"],.client-area [class*="-box"],.client-area [class*="-row"],.client-area [class*="-comparison"],.client-area [class*="-form"],.client-area [class*="-section"]{color:#eee8f4!important;background:linear-gradient(145deg,rgba(37,28,50,.98),rgba(22,17,30,.98))!important;border-color:rgba(204,172,255,.17)!important;box-shadow:0 14px 32px rgba(0,0,0,.17)!important}.client-area [class*="-card"] h1,.client-area [class*="-card"] h2,.client-area [class*="-card"] h3,.client-area [class*="-card"] h4,.client-area [class*="-panel"] h1,.client-area [class*="-panel"] h2,.client-area [class*="-panel"] h3,.client-area [class*="-panel"] h4,.client-area [class*="-hero"] h1,.client-area [class*="-hero"] h2,.client-area [class*="-hero"] h3,.client-area [class*="-hero"] h4{color:#fff!important}.client-area [class*="-card"] p,.client-area [class*="-panel"] p,.client-area [class*="-hero"] p,.client-area [class*="-empty"] p,.client-area [class*="-message"],.client-area [class*="-description"],.client-area [class*="-caption"],.client-area [class*="-reason"],.client-area [class*="-note"]{color:#bdb3c8!important}.client-area [class*="-title"],.client-area [class*="-name"],.client-area [class*="-amount"],.client-area [class*="-value"],.client-area [class*="-code"],.client-area [class*="-status"],.client-area [class*="-state"],.client-area [class*="-summary"],.client-area [class*="-content"],.client-area [class*="-detail"],.client-area [class*="-document"],.client-area [class*="-financial"],.client-area [class*="-clauses"],.client-area [class*="-info"],.client-area [class*="-meta"],.client-area [class*="-date"],.client-area [class*="-due"],.client-area [class*="-size"],.client-area [class*="-label"]{color:#e9e1ef!important}.client-area [class*="-card"] small,.client-area [class*="-panel"] small,.client-area [class*="-hero"] small,.client-area [class*="-row"] small{color:#a89caf!important}.client-area [class*="-card"] a,.client-area [class*="-panel"] a,.client-area [class*="-hero"] a,.client-area [class*="-row"] a{color:#cf9aff!important}.client-area [class*="-card"] input,.client-area [class*="-card"] select,.client-area [class*="-card"] textarea,.client-area [class*="-panel"] input,.client-area [class*="-panel"] select,.client-area [class*="-panel"] textarea,.client-area [class*="-form"] input,.client-area [class*="-form"] select,.client-area [class*="-form"] textarea{color:#fff!important;background:#15101e!important;border-color:rgba(204,172,255,.23)!important}.client-area [class*="-card"] table,.client-area [class*="-panel"] table{color:#eee8f4!important}.client-area [class*="-card"] th,.client-area [class*="-panel"] th{color:#a99db5!important}.client-area [class*="-card"] td,.client-area [class*="-panel"] td{color:#e2dbe9!important}.client-area [class*="-state-"]{background:rgba(185,154,255,.13)!important;border-color:rgba(204,172,255,.22)!important}.client-area .badge-success,.client-area [class*="-state-good"],.client-area [class*="-status-paid"]{color:#bdf2d8!important;background:rgba(54,179,126,.15)!important;border-color:rgba(54,179,126,.3)!important}.client-area .badge-warning,.client-area [class*="-status-late"]{color:#f6d796!important;background:rgba(229,182,92,.15)!important;border-color:rgba(229,182,92,.3)!important}.client-area .badge-error,.client-area [class*="-status-rejected"]{color:#ffc6ce!important;background:rgba(228,109,121,.15)!important;border-color:rgba(228,109,121,.3)!important}.client-area [class*="-icon"]{color:#d8b7ff!important;background:linear-gradient(145deg,#593d78,#2b203d)!important;border-color:rgba(212,178,255,.28)!important}
/* Contracts/proposals and metric indicators contrast correction */
.client-area .legal-contracts-page,.client-area .applications-page,.client-area .application-review-page{color:#eee8f4!important}.client-area .legal-contracts-intro,.client-area .applications-hero,.client-area .application-review-hero{color:#eee8f4!important;background:radial-gradient(circle at 90% 0,rgba(151,87,231,.22),transparent 34%),linear-gradient(145deg,#2a2039,#17121f)!important;border-color:rgba(204,172,255,.2)!important}.client-area .legal-contracts-intro h2,.client-area .applications-hero h2,.client-area .application-review-hero h2{color:#fff!important}.client-area .legal-contracts-intro p,.client-area .applications-hero p,.client-area .application-review-hero p{color:#c0b5cb!important}.client-area .legal-contract-card{color:#eae3ef!important;background:linear-gradient(145deg,#251b32,#17111f)!important;border-color:rgba(204,172,255,.23)!important}.client-area .legal-contract-card-head{background:linear-gradient(110deg,#2d2140,#1d1528)!important;border-color:rgba(204,172,255,.16)!important}.client-area .legal-contract-kicker{color:#c194ff!important}.client-area .legal-contract-card-head h2{color:#fff!important}.client-area .legal-contract-card-head small{color:#afa3b8!important}.client-area .legal-contract-status{color:#e5dcef!important;background:rgba(255,255,255,.07)!important;border-color:rgba(204,172,255,.27)!important}.client-area .legal-contract-status-good,.client-area .legal-contract-state-good{color:#bdf2d8!important;background:rgba(54,179,126,.13)!important;border-color:rgba(54,179,126,.32)!important}.client-area .legal-contract-status-review{color:#ddc9ff!important;background:rgba(137,91,218,.16)!important;border-color:rgba(190,145,255,.3)!important}.client-area .legal-contract-status-closed{color:#ffc6ce!important;background:rgba(228,109,121,.13)!important;border-color:rgba(228,109,121,.31)!important}.client-area .legal-contract-financials>div,.client-area .legal-economics-grid>div,.client-area .legal-document-meta{background:rgba(16,11,24,.7)!important;border-color:rgba(204,172,255,.18)!important}.client-area .legal-contract-financials span,.client-area .legal-economics-grid span,.client-area .legal-document-meta span{color:#aaa0b4!important}.client-area .legal-contract-financials strong,.client-area .legal-economics-grid strong,.client-area .legal-document-meta strong{color:#fff!important}.client-area .legal-contract-document{color:#eae3ef!important;background:#191321!important;border-color:rgba(204,172,255,.2)!important}.client-area .legal-contract-document>summary strong{color:#fff!important}.client-area .legal-contract-document>summary small{color:#aaa0b4!important}.client-area .legal-contract-summary-action{color:#d09aff!important}.client-area .legal-document-sheet h4,.client-area .legal-document-parties p strong,.client-area .legal-contract-clauses h5,.client-area .legal-document-signature strong{color:#f2ebf6!important;border-color:rgba(204,172,255,.17)!important}.client-area .legal-document-parties p,.client-area .legal-contract-clauses p,.client-area .legal-document-signature p{color:#c6bbcD!important}.client-area .legal-economics-method{color:#d2c5dc!important;background:rgba(185,154,255,.09)!important}.client-area .legal-economics-method strong{color:#f2eaff!important}.client-area .legal-cet-note{color:#f1d89b!important;background:rgba(229,182,92,.11)!important;border-color:rgba(229,182,92,.3)!important}.client-area .legal-cet-note strong{color:#ffdf93!important}.client-area .legal-contract-action,.client-area .legal-contract-decline{color:#e8e0ed!important;background:#1b1426!important;border-color:rgba(204,172,255,.2)!important}.client-area .legal-contract-action label,.client-area .legal-contract-decline label{color:#d4c9dd!important}.client-area .legal-contract-state-note{color:#dfd1fa!important;background:rgba(137,91,218,.13)!important;border-color:rgba(190,145,255,.28)!important}.client-area .legal-contract-state-note p{color:#c8bbd8!important}.client-area .legal-contract-integrity{color:#9f93aa!important;border-color:rgba(204,172,255,.14)!important}.client-area .legal-contract-integrity code,.client-area .legal-document-signature code{color:#c995ff!important}.client-area .legal-contract-empty{color:#e9e1ef!important;background:linear-gradient(145deg,#251b32,#17111f)!important;border-color:rgba(204,172,255,.2)!important}.client-area .legal-contract-empty h3{color:#fff!important}.client-area .legal-contract-empty p{color:#bdb3c8!important}
.client-area .applications-summary>div,.client-area .application-review-metrics>div{color:#eae3ef!important;background:linear-gradient(145deg,#251b32,#17111f)!important;border-color:rgba(204,172,255,.2)!important}.client-area .applications-summary span,.client-area .application-review-metrics span{color:#aaa0b4!important}.client-area .applications-summary strong,.client-area .application-review-metrics strong{color:#fff!important}.client-area .application-list-card,.client-area .application-review-panel,.client-area .application-docs-panel{color:#eae3ef!important;background:linear-gradient(145deg,#251b32,#17111f)!important;border-color:rgba(204,172,255,.2)!important}.client-area .application-list-symbol,.client-area .application-review-state-icon,.client-area .application-panel-icon{color:#ddbfff!important;background:linear-gradient(145deg,#593d78,#2b203d)!important;border-color:rgba(212,178,255,.3)!important}.client-area .application-list-code,.client-area .application-list-main small,.client-area .application-list-status small{color:#aaa0b4!important}.client-area .application-list-amount,.client-area .application-list-status strong{color:#fff!important}.client-area .application-list-action{color:#d09aff!important;background:rgba(185,154,255,.1)!important;border-color:rgba(204,172,255,.25)!important}.client-area .application-review-state{color:#eee8f4!important;background:rgba(185,154,255,.1)!important;border-color:rgba(204,172,255,.22)!important}.client-area .application-review-state-label,.client-area .application-review-state>small{color:#b9afc4!important}.client-area .application-review-state>strong{color:#fff!important}


/* Contraste jurídico: o documento e a tabela deixam de usar papel branco no tema escuro. */
.client-area .legal-document-sheet {
    color: #EAE3EF !important;
    border-color: rgba(204,172,255,.2) !important;
    background: linear-gradient(155deg,#1C1725 0%,#15111C 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(204,172,255,.06), 0 10px 28px rgba(0,0,0,.18) !important;
}
.client-area .legal-document-title { border-bottom-color: rgba(204,172,255,.18) !important; }
.client-area .legal-document-title > span { color: #C4A4FF !important; }
.client-area .legal-document-title h3 { color: #FFFFFF !important; }
.client-area .legal-document-title p,
.client-area .legal-schedule-section > p { color: #C5C0CD !important; }
.client-area .legal-document-sheet h4 { color: #F2EBF6 !important; border-bottom-color: rgba(204,172,255,.17) !important; }
.client-area .legal-document-sheet p { color: #C6BBCD !important; }
.client-area .legal-document-sheet strong { color: #F2EBF6 !important; }
.client-area .legal-document-meta { background: #100B18 !important; }
.client-area .legal-schedule-section .table-wrap { overflow-x: auto; border-color: rgba(204,172,255,.18) !important; background: #17131F !important; }
.client-area .legal-schedule-section table { color: #E2DBE9 !important; background: #17131F !important; }
.client-area .legal-schedule-section thead,
.client-area .legal-schedule-section th { color: #E2DBE9 !important; background: #292333 !important; border-color: rgba(204,172,255,.18) !important; }
.client-area .legal-schedule-section td { color: #E2DBE9 !important; background: #17131F !important; border-color: rgba(204,172,255,.12) !important; }
.client-area .legal-schedule-section td strong { color: #FFFFFF !important; }
@media (prefers-reduced-motion: reduce) {
    .pc-gate-modal-backdrop, .pc-gate-modal { transition: none !important; }
}

.client-area .legal-schedule-section .table-wrap:focus-visible { outline: 3px solid #C4A4FF; outline-offset: 3px; }

/* Regras recentes do fluxo legal: exibicao de CET e rateio de custos por prestacao. */
/* Contrato final: explicação do CET e rateio auditável dos custos por prestação. */
.client-area .legal-note{margin:1rem 0;padding:1rem 1.15rem;border:1px solid rgba(183,145,255,.34);border-radius:14px;background:rgba(123,82,191,.13);color:#e7d8ff;line-height:1.65}
.client-area .legal-note strong{color:#fff}
.client-area .legal-schedule-cost-list{margin:0;padding-left:1.05rem;min-width:180px;color:#d9d0e3;line-height:1.5}
.client-area .legal-schedule-cost-list li{margin:.2rem 0;overflow-wrap:anywhere}
@media(max-width:640px){.client-area .legal-schedule-cost-list{min-width:160px;font-size:.78rem}}


/* Correção de contraste: cartões claros da preparação de solicitação no tema escuro. */
.client-area .credit-request-form .form-label,
.client-area .credit-request-form .pix-holder-confirm{color:#45324F!important}
.client-area .credit-request-form .pix-destination-fieldset{color:#45324F!important;background:#FFFFFF!important;border-color:#E3D8E9!important}
.client-area .credit-request-form .pix-cpf-preview{color:#5C5064!important}
.client-area .credit-request-form .form-control{color:#31213A!important;background:#FFFFFF!important;border-color:#D7CBE0!important;color-scheme:light}
.client-area .credit-request-form .form-control::placeholder{color:#756A7E!important;opacity:1}
.client-area .credit-request-form .form-control:focus{border-color:#8A49AC!important;box-shadow:0 0 0 3px rgba(118,37,189,.15)!important;outline:none}
.client-area .credit-request-form small,
.client-area .credit-request-form .pix-destination-fieldset small{color:#62566A!important}
.client-area .credit-request-form .credit-request-policy{color:#45324F!important}
.client-area .credit-request-form .credit-request-policy strong{color:#3F2E49!important}
.client-area .credit-request-form .credit-request-policy span{color:#5C5064!important}
.client-area .credit-request-form .credit-request-policy small{color:#62566A!important}
.client-area .credit-request-form .credit-request-safety p{color:#4F5B55!important}
.client-area .credit-request-form .credit-request-safety p strong{color:#155B3B!important}
.client-area .credit-request-form .pix-holder-confirm input{accent-color:#7625BD}

/* Textos auxiliares do modal conversacional sobre a superfície escura. */
.client-layout.client-dashboard .credit-modal-description,
.client-layout.client-dashboard .credit-privacy-note,
.client-layout.client-dashboard .credit-modal-step small{color:#D0C8D9!important}
.client-layout.client-dashboard .credit-modal-step .form-control::placeholder{color:#B9AFC4!important;opacity:1}
.client-layout.client-dashboard .credit-last-note{color:#E7DFED!important}

/* Emblema ilustrado original da PRIVATE PAY ACADEMY. */
.academy-nav-link{gap:10px}.academy-nav-icon{width:23px;height:23px;flex:0 0 23px;object-fit:contain}.academy-admin-nav-link{gap:9px}.academy-admin-nav-link img{width:21px;height:21px;flex:0 0 21px;object-fit:contain}.academy-dashboard-shortcut .dashboard-shortcut-icon{overflow:hidden}.academy-dashboard-shortcut .dashboard-shortcut-icon img{width:32px;height:32px;max-width:100%;object-fit:contain;filter:drop-shadow(0 4px 7px rgba(0,0,0,.2));transition:transform .2s ease}.academy-dashboard-shortcut:hover .dashboard-shortcut-icon img{transform:scale(1.06)}


/* Contraste da simulação: o tema global do cliente clareia títulos, mas o resumo de resultado mantém superfície branca. */
.client-area .simulator-result h1,
.client-area .simulator-result h2,
.client-area .simulator-result h3,
.client-area .simulator-result h4 { color: #321B40 !important; }


/* PRIVATE PAY — documentos públicos e página institucional da missão. */
body.page-terms .public-shell,
body.page-privacy .public-shell,
body.page-mission .public-shell { background: #F7F4F9; }
body.page-terms .public-shell main,
body.page-privacy .public-shell main,
body.page-mission .public-shell main { min-height: 45vh; }

body.page-terms .legal-page,
body.page-privacy .legal-page {
    width: min(100% - 36px, 980px);
    margin: clamp(25px, 4vw, 48px) auto clamp(42px, 6vw, 70px);
    padding: clamp(22px, 4.2vw, 52px);
    border: 1px solid #E8E0ED;
    border-radius: 22px;
    color: #34283C;
    background: #FFFFFF;
    box-shadow: 0 18px 50px rgba(49, 28, 66, .075), 0 2px 8px rgba(49, 28, 66, .035);
}
body.page-terms .legal-page-heading,
body.page-privacy .legal-page-heading {
    margin: 0 0 clamp(27px, 4vw, 42px);
    padding: 0 0 25px;
    border-bottom: 1px solid #EEE7F2;
}
body.page-terms .legal-document-kicker,
body.page-privacy .legal-document-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #6B20A8;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
}
body.page-terms .legal-document-kicker::before,
body.page-privacy .legal-document-kicker::before {
    width: 7px; height: 7px; border-radius: 50%; background: #A76BDC; content: "";
}
body.page-terms .legal-page h1,
body.page-privacy .legal-page h1 {
    margin: 0;
    color: #2F1D3A;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.16;
    overflow-wrap: anywhere;
}
body.page-terms .legal-page .subtitle,
body.page-privacy .legal-page .subtitle {
    margin: 12px 0 0;
    color: #776B80;
    font-size: .9rem;
    line-height: 1.6;
}
body.page-terms .legal-page h2,
body.page-privacy .legal-page h2 {
    margin: 31px 0 11px;
    padding-top: 18px;
    border-top: 1px solid #F0EAF3;
    color: #54227C;
    font-size: clamp(1rem, 2.2vw, 1.13rem);
    font-weight: 750;
    letter-spacing: -.015em;
    line-height: 1.45;
    scroll-margin-top: 24px;
}
body.page-terms .legal-page h2:first-of-type,
body.page-privacy .legal-page h2:first-of-type { margin-top: 16px; }
body.page-terms .legal-page p,
body.page-terms .legal-page li,
body.page-privacy .legal-page p,
body.page-privacy .legal-page li {
    color: #574E60;
    font-size: .94rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
body.page-terms .legal-page p,
body.page-privacy .legal-page p { margin: 0 0 13px; }
body.page-terms .legal-page ul,
body.page-terms .legal-page ol,
body.page-privacy .legal-page ul,
body.page-privacy .legal-page ol { margin: 8px 0 18px; padding-left: 1.35rem; }
body.page-terms .legal-page li,
body.page-privacy .legal-page li { margin: 5px 0; padding-left: 3px; }
body.page-terms .legal-page li::marker,
body.page-privacy .legal-page li::marker { color: #8B56B1; }
body.page-terms .legal-page strong,
body.page-privacy .legal-page strong { color: #392547; }
body.page-terms .legal-page a,
body.page-privacy .legal-page a { color: #6B20A8; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.page-terms .legal-page a:hover,
body.page-privacy .legal-page a:hover { color: #4E1D8D; }
body.page-terms .legal-page .alert,
body.page-privacy .legal-page .alert { margin: 18px 0 22px; border-radius: 13px; line-height: 1.65; }
body.page-terms .legal-page table,
body.page-privacy .legal-page table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
body.page-terms .legal-page :focus-visible,
body.page-privacy .legal-page :focus-visible { outline: 3px solid rgba(107, 32, 168, .42); outline-offset: 3px; }

/* Institucional: missão e expansão responsável do acesso ao crédito. */
body.page-mission .public-shell { background: #F7F4F9; }
.mission-page { max-width: 1160px; margin: 0 auto; padding: clamp(25px, 5vw, 66px) clamp(18px, 4vw, 42px) clamp(44px, 6vw, 76px); color: #35283E; }
.mission-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(255px, .65fr); align-items: center; gap: clamp(28px, 6vw, 76px); padding: clamp(31px, 5.5vw, 68px); overflow: hidden; border: 1px solid #E7DCEF; border-radius: 28px; background: radial-gradient(ellipse at 88% 12%, rgba(188, 151, 222, .24), transparent 36%), linear-gradient(125deg, #FFFFFF, #F2EAF8); box-shadow: 0 20px 55px rgba(55, 26, 76, .08); }
.mission-hero::after { position: absolute; right: 21%; bottom: -110px; width: 210px; height: 210px; border: 1px solid rgba(107, 32, 168, .1); border-radius: 50%; box-shadow: 0 0 0 25px rgba(107, 32, 168, .025), 0 0 0 50px rgba(107, 32, 168, .02); content: ""; pointer-events: none; }
.mission-hero-copy, .mission-hero-note { position: relative; z-index: 1; }
.mission-kicker { display: inline-flex; align-items: center; gap: 9px; color: #702BA3; font-size: .67rem; font-weight: 800; letter-spacing: .14em; line-height: 1.4; }
.mission-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #A66BCD; box-shadow: 0 0 0 4px rgba(166, 107, 205, .12); }
.mission-hero h1 { max-width: 720px; margin: 18px 0 15px; color: #2F1D3A; font-size: clamp(2rem, 5vw, 3.55rem); font-weight: 770; letter-spacing: -.055em; line-height: 1.08; }
.mission-hero h1 em { color: #6B20A8; font-style: normal; }
.mission-hero-copy > p { max-width: 675px; margin: 0; color: #665A70; font-size: clamp(.98rem, 1.5vw, 1.08rem); line-height: 1.78; }
.mission-primary-link, .mission-secondary-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; margin-top: 24px; padding: 11px 17px; border: 1px solid #64219B; border-radius: 12px; color: #FFFFFF; background: linear-gradient(110deg, #64219B, #7A32B1); box-shadow: 0 8px 20px rgba(87, 29, 133, .17); font-size: .82rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.mission-primary-link:hover, .mission-secondary-link:hover { color: #FFFFFF; background: #4E1D8D; box-shadow: 0 11px 25px rgba(87, 29, 133, .22); transform: translateY(-2px); }
.mission-hero-note { display: grid; justify-items: start; gap: 12px; max-width: 310px; margin: 0 auto; padding: 24px; border: 1px solid rgba(131, 85, 163, .2); border-radius: 20px; background: rgba(255, 255, 255, .83); box-shadow: 0 16px 36px rgba(63, 33, 80, .09); }
.mission-note-symbol { display: grid; width: 53px; height: 53px; place-items: center; border: 1px solid #E4D5F0; border-radius: 16px; color: #6B20A8; background: #F4ECFA; }
.mission-note-symbol svg { width: 35px; height: 35px; }
.mission-note-label { color: #7A5A8D; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.mission-hero-note strong { color: #382447; font-size: 1.15rem; line-height: 1.45; }
.mission-note-caption { color: #766B7D; font-size: .78rem; line-height: 1.6; }
.mission-intro { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(22px, 5vw, 62px); padding: clamp(47px, 7vw, 82px) clamp(4px, 2vw, 20px); }
.mission-section-index { display: flex; align-items: baseline; gap: 11px; padding-top: 7px; color: #7235A0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.mission-section-index span { color: #84778C; font-size: .6rem; letter-spacing: .14em; }
.mission-intro-copy { max-width: 820px; }
.mission-intro h2, .mission-section-heading h2, .mission-sustainability h2, .mission-academy h2 { margin: 0 0 14px; color: #34213F; font-size: clamp(1.5rem, 3.3vw, 2.15rem); font-weight: 740; letter-spacing: -.04em; line-height: 1.22; }
.mission-intro p, .mission-section-heading > p, .mission-sustainability-copy > p, .mission-academy p { color: #655B6C; font-size: .95rem; line-height: 1.8; }
.mission-intro p { margin: 0 0 12px; }
.mission-balance { padding: clamp(27px, 4vw, 47px); border: 1px solid #E8E0ED; border-radius: 24px; background: #FFFFFF; box-shadow: 0 15px 38px rgba(48, 24, 64, .055); }
.mission-section-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.mission-section-heading > .mission-kicker { margin-bottom: 12px; }
.mission-section-heading h2 { margin-bottom: 10px; }
.mission-section-heading > p { margin: 0; }
.mission-balance-grid { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: stretch; gap: 16px; }
.mission-balance-card { position: relative; padding: clamp(21px, 3vw, 32px); border: 1px solid #EBE3F0; border-radius: 19px; background: #FBF9FD; }
.mission-company-card { background: linear-gradient(145deg, #F8F3FC, #F5F0FA); }
.mission-card-number { position: absolute; top: 19px; right: 20px; color: #D5C7DE; font-size: .77rem; font-weight: 800; }
.mission-card-label { display: block; margin-bottom: 10px; color: #7C548F; font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.mission-balance-card h3 { max-width: 330px; margin: 0 25px 11px 0; color: #3A2548; font-size: 1.22rem; letter-spacing: -.025em; line-height: 1.33; }
.mission-balance-card p { margin: 0 0 10px; color: #665D6E; font-size: .86rem; line-height: 1.75; }
.mission-balance-card p:last-child { margin-bottom: 0; }
.mission-balance-connector { display: grid; align-content: center; justify-items: center; gap: 7px; color: #8959AA; }
.mission-balance-connector span { font-size: .55rem; font-weight: 800; letter-spacing: .1em; }
.mission-balance-connector b { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #E5D7EF; border-radius: 50%; background: #F8F3FB; font-size: 1.2rem; font-weight: 500; }
.mission-sustainability { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; margin: clamp(38px, 6vw, 65px) 0; padding: clamp(25px, 4.5vw, 47px); border: 1px solid #DCD0E6; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, rgba(194, 158, 223, .2), transparent 44%), #F0E9F5; }
.mission-sustainability-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #DDCAE9; border-radius: 17px; color: #6B20A8; background: #FFFFFF; font-size: 1.65rem; font-weight: 500; }
.mission-sustainability-copy { max-width: 880px; }
.mission-sustainability-copy > .mission-kicker { margin-bottom: 12px; }
.mission-sustainability-copy h2 { max-width: 750px; }
.mission-sustainability-copy > p { margin: 0 0 12px; }
.mission-sustainability-copy > p:last-child { margin-bottom: 0; }
.mission-pillars { padding: 15px 0 clamp(45px, 6vw, 68px); }
.mission-pillars .mission-section-heading { margin: 0 0 20px; text-align: left; }
.mission-pillar-list { border-top: 1px solid #E6DDEB; }
.mission-pillar { display: grid; grid-template-columns: 57px minmax(0, 1fr); gap: 18px; padding: 21px 5px; border-bottom: 1px solid #E6DDEB; }
.mission-pillar > span { color: #8B5BA9; font-size: .78rem; font-weight: 800; }
.mission-pillar h3 { margin: 0 0 5px; color: #392747; font-size: 1rem; }
.mission-pillar p { max-width: 760px; margin: 0; color: #685E70; font-size: .88rem; line-height: 1.7; }
.mission-academy { display: grid; grid-template-columns: 67px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(25px, 4vw, 40px); border: 1px solid rgba(197, 164, 222, .28); border-radius: 23px; color: #F3EEF8; background: radial-gradient(ellipse at 90% 0, rgba(169, 117, 204, .22), transparent 44%), linear-gradient(120deg, #201729, #30213C); box-shadow: 0 18px 42px rgba(34, 19, 46, .14); }
.mission-academy-icon { display: grid; width: 61px; height: 61px; place-items: center; border: 1px solid rgba(210, 182, 232, .29); border-radius: 18px; color: #D6B8EE; background: rgba(210, 182, 232, .1); }
.mission-academy-icon svg { width: 43px; height: 43px; }
.mission-academy .mission-kicker { margin-bottom: 9px; color: #C9A5E2; }
.mission-academy h2 { margin-bottom: 8px; color: #FFFFFF; font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
.mission-academy p { max-width: 700px; margin: 0; color: #D3C9DB; font-size: .88rem; }
.mission-academy .mission-secondary-link { margin: 0; white-space: nowrap; }
.mission-disclaimer { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 24px; padding: 18px 20px; border: 1px solid #E8DFED; border-radius: 14px; background: #FFFFFF; }
.mission-disclaimer strong { color: #6B20A8; font-size: .78rem; }
.mission-disclaimer p { margin: 0; color: #6D6374; font-size: .78rem; line-height: 1.65; }
.mission-page :is(a, button):focus-visible { outline: 3px solid rgba(107, 32, 168, .43); outline-offset: 3px; }
@media (max-width: 850px) {
    .mission-hero { grid-template-columns: minmax(0, 1fr) minmax(220px, .62fr); gap: 25px; padding: 32px; }
    .mission-balance-grid { grid-template-columns: 1fr; gap: 13px; }
    .mission-balance-connector { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
    .mission-balance-connector::before, .mission-balance-connector::after { height: 1px; background: #E9E0EF; content: ""; }
    .mission-balance-connector b { width: 34px; height: 34px; }
    .mission-academy { grid-template-columns: 58px minmax(0, 1fr); }
    .mission-academy-icon { width: 54px; height: 54px; }
    .mission-academy .mission-secondary-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 620px) {
    body.page-terms .legal-page, body.page-privacy .legal-page { width: calc(100% - 24px); margin: 17px auto 36px; padding: 22px 18px; border-radius: 17px; }
    body.page-terms .legal-page p, body.page-terms .legal-page li, body.page-privacy .legal-page p, body.page-privacy .legal-page li { font-size: .9rem; line-height: 1.75; }
    body.page-terms .legal-page h2, body.page-privacy .legal-page h2 { margin-top: 25px; padding-top: 15px; }
    .mission-page { padding: 20px 15px 42px; }
    .mission-hero { grid-template-columns: 1fr; gap: 25px; padding: 27px 22px; border-radius: 21px; }
    .mission-hero h1 { font-size: clamp(1.9rem, 9vw, 2.75rem); }
    .mission-hero-note { width: 100%; max-width: none; margin: 0; }
    .mission-intro { grid-template-columns: 1fr; gap: 12px; padding: 42px 4px; }
    .mission-section-index { padding: 0; }
    .mission-balance { padding: 22px 16px; border-radius: 19px; }
    .mission-balance-card { padding: 22px 18px; }
    .mission-sustainability { grid-template-columns: 1fr; gap: 14px; padding: 23px 19px; }
    .mission-sustainability-mark { width: 49px; height: 49px; border-radius: 14px; }
    .mission-pillar { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 18px 2px; }
    .mission-academy { grid-template-columns: 1fr; gap: 15px; padding: 23px 19px; }
    .mission-academy .mission-secondary-link { grid-column: 1; justify-self: stretch; }
    .mission-disclaimer { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .mission-primary-link, .mission-secondary-link { transition: none !important; }
}

/* Refinamento dos documentos: um único painel de leitura, sem cartões aninhados. */
body.page-terms .legal-page,
body.page-privacy .legal-page {
    width: min(100% - 36px, 980px);
    margin: clamp(25px, 4vw, 48px) auto clamp(42px, 6vw, 70px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.page-terms .legal-page > .legal-document,
body.page-privacy .legal-page > .legal-document {
    margin: 0;
    padding: clamp(24px, 4.2vw, 52px);
    border: 1px solid #E8E0ED;
    border-radius: 22px;
    color: #34283C;
    background: #FFFFFF;
    box-shadow: 0 18px 50px rgba(49, 28, 66, .075), 0 2px 8px rgba(49, 28, 66, .035);
}
body.page-privacy .legal-page-heading { margin-bottom: 19px; }
body.page-privacy .legal-page h2:first-of-type { margin-top: 10px; }
@media (max-width: 620px) {
    body.page-terms .legal-page,
    body.page-privacy .legal-page { width: calc(100% - 24px); }
    body.page-terms .legal-page > .legal-document,
    body.page-privacy .legal-page > .legal-document { padding: 22px 18px; border-radius: 17px; }
}

body.page-privacy .legal-page-heading { padding-bottom: 0; border-bottom: 0; }


/* PRIVATE PAY ADMIN — workspace lateral, responsivo e orientado à operação */
.admin-console{background:radial-gradient(ellipse at 82% 0%,rgba(102,43,151,.15),transparent 34%),#100d19;color:#f7f3fb}
.admin-layout{min-height:100vh}
.admin-sidebar{width:260px;padding:17px 12px 14px;background:linear-gradient(180deg,#171220 0%,#100d19 100%);border-right:1px solid rgba(204,172,255,.12);display:flex;flex-direction:column;gap:12px;scrollbar-color:rgba(185,126,231,.36) transparent}
.admin-brand{min-height:66px;padding:5px 10px 13px;margin:0;border-bottom:1px solid rgba(204,172,255,.12);color:#fff;flex:0 0 auto;flex-direction:row;align-items:center;gap:11px}
.admin-brand img{width:39px;height:39px;flex:0 0 39px}
.admin-brand>span{display:flex;min-width:0;flex-direction:column;gap:3px}
.admin-brand strong{color:#fbf7ff;font-size:.91rem;letter-spacing:.055em}
.admin-brand small{color:#9f90ae;font-size:.57rem;font-weight:700;letter-spacing:.14em}
.admin-nav-search{height:39px;flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:0 9px;border:1px solid rgba(207,174,238,.13);border-radius:10px;background:rgba(255,255,255,.035);color:#a99bb7}
.admin-nav-search svg{width:16px;height:16px;flex:0 0 16px;stroke:currentColor;stroke-width:1.7}
.admin-nav-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f6efff;font:inherit;font-size:.75rem}
.admin-nav-search input::placeholder{color:#91869f}
.admin-nav-search kbd{padding:1px 5px;border:1px solid rgba(207,174,238,.18);border-radius:5px;color:#9d91a8;font:600 .64rem var(--font)}
.admin-sidebar-nav{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;gap:3px;padding:2px 0 6px;scrollbar-width:thin;scrollbar-color:rgba(185,126,231,.28) transparent}
.admin-sidebar-nav>[hidden],.admin-nav-heading[hidden],.admin-nav-empty[hidden],.admin-activity-chart[hidden]{display:none!important}
.admin-nav-heading{display:block;padding:14px 11px 5px;color:#82768d;font-size:.59rem;font-weight:750;letter-spacing:.16em}
.admin-sidebar-nav a,.admin-sidebar-nav .nav-logout button{min-height:39px;margin:0;padding:8px 10px;gap:10px;border:0;border-radius:9px;color:#b9afc5;font-size:.77rem;font-weight:550;transition:background .18s ease,color .18s ease,transform .18s ease}
.admin-sidebar-nav a svg,.admin-sidebar-nav .nav-logout svg{width:17px;height:17px;flex:0 0 17px;color:#a68bb8;stroke:currentColor}
.admin-sidebar-nav a:hover,.admin-sidebar-nav .nav-logout button:hover{color:#fff;background:rgba(167,89,222,.12);transform:translateX(2px)}
.admin-sidebar-nav a.active{color:#fff;background:linear-gradient(95deg,rgba(151,63,208,.26),rgba(117,53,151,.12));box-shadow:inset 3px 0 #c075f2}
.admin-sidebar-nav a.active svg{color:#d6a0ff}
.admin-sidebar-nav .academy-admin-nav-link{gap:9px;color:#e3d0ff;background:rgba(144,65,187,.09)}
.admin-sidebar-nav .academy-admin-nav-link img{width:21px;height:21px;flex:0 0 21px;object-fit:contain}
.admin-sidebar-nav .academy-admin-nav-link span{display:flex;flex-direction:column;font-weight:700;letter-spacing:.035em}
.admin-sidebar-nav .academy-admin-nav-link small{margin-top:1px;color:#a99ab4;font-size:.59rem;font-weight:500;letter-spacing:0}
.admin-sidebar-nav .nav-logout{margin-top:4px;border-top:1px solid rgba(204,172,255,.09);padding-top:7px}
.admin-nav-empty{padding:12px;color:#9e91aa;font-size:.73rem}
.admin-sidebar-footer{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:10px 8px 1px;border-top:1px solid rgba(204,172,255,.1);color:#9c91a7;font-size:.65rem}
.admin-online-dot{width:7px;height:7px;border-radius:50%;background:#43d69a;box-shadow:0 0 0 4px rgba(67,214,154,.1)}
.admin-menu-toggle,.admin-sidebar-backdrop{display:none}
.admin-dashboard-main{flex:1;min-width:0;width:auto;margin-left:260px;padding:32px clamp(22px,3.2vw,50px) 48px}
.admin-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 24px}
.admin-kicker{display:block;color:#b786d2;font-size:.64rem;font-weight:750;letter-spacing:.15em}
.admin-dashboard-heading h1{margin:6px 0 5px;color:#fbf8ff;font-size:clamp(1.65rem,2.6vw,2.18rem);font-weight:700;letter-spacing:-.055em}
.admin-dashboard-heading p,.admin-panel-heading p{color:#a89caf;font-size:.83rem;line-height:1.55}
.admin-refresh-link{display:inline-flex;align-items:center;gap:8px;min-height:39px;padding:0 13px;border:1px solid rgba(207,174,238,.17);border-radius:10px;background:rgba(255,255,255,.035);color:#e2d5ef;font-size:.73rem;font-weight:600;white-space:nowrap;transition:background .2s,border-color .2s,transform .2s}
.admin-refresh-link:hover{background:rgba(164,83,218,.12);border-color:rgba(207,174,238,.34);color:#fff;transform:translateY(-1px)}
.admin-refresh-link svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}
.admin-kpi-card{position:relative;display:flex;min-width:0;min-height:153px;flex-direction:column;align-items:flex-start;overflow:hidden;padding:16px 16px 14px;border:1px solid rgba(207,174,238,.12);border-radius:15px;background:linear-gradient(145deg,rgba(36,29,48,.98),rgba(25,20,34,.98));color:#fff;box-shadow:0 9px 25px rgba(0,0,0,.13);transition:transform .2s,border-color .2s,box-shadow .2s}
.admin-kpi-card::after{position:absolute;top:-51px;right:-39px;width:115px;height:115px;border-radius:50%;background:radial-gradient(circle,rgba(190,117,243,.12),transparent 69%);content:"";pointer-events:none}
.admin-kpi-card:hover{transform:translateY(-3px);border-color:rgba(199,139,239,.35);box-shadow:0 14px 30px rgba(0,0,0,.2);color:#fff}
.admin-kpi-icon{position:absolute;top:14px;right:14px;display:grid;width:35px;height:35px;place-items:center;border:1px solid rgba(204,172,255,.1);border-radius:10px;background:rgba(185,120,230,.1);color:#d0a1f4}
.admin-kpi-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-kpi-label{max-width:calc(100% - 39px);min-height:32px;color:#c8bece;font-size:.72rem;font-weight:550;line-height:1.35}
.admin-kpi-card>strong{margin:7px 0 3px;color:#fff;font-size:1.95rem;line-height:1;letter-spacing:-.06em}
.admin-kpi-card>small{margin-top:auto;color:#9e93a8;font-size:.64rem;line-height:1.4}
.admin-kpi-card>small span{color:#d7b7f0}
.admin-kpi-card.kpi-violet .admin-kpi-icon{color:#d5a8ff;background:rgba(165,90,222,.13)}
.admin-kpi-card.kpi-amber .admin-kpi-icon{color:#f4c779;background:rgba(241,173,73,.1)}
.admin-kpi-card.kpi-green .admin-kpi-icon{color:#78dfb6;background:rgba(68,205,151,.1)}
.admin-kpi-card.kpi-rose .admin-kpi-icon{color:#ff9bae;background:rgba(229,95,132,.1)}
.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(290px,.82fr);align-items:stretch;gap:14px;margin-bottom:14px}
.admin-panel{min-width:0;padding:19px;border:1px solid rgba(207,174,238,.12);border-radius:16px;background:linear-gradient(150deg,rgba(31,26,41,.98),rgba(22,19,30,.98));box-shadow:0 10px 28px rgba(0,0,0,.12)}
.admin-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.admin-panel-heading h2{margin:4px 0 4px;color:#f6f0fa;font-size:1rem;font-weight:650;letter-spacing:-.025em}
.admin-panel-heading p{font-size:.71rem}
.admin-chart-period{display:flex;flex:0 0 auto;gap:3px;padding:3px;border:1px solid rgba(207,174,238,.1);border-radius:9px;background:rgba(8,7,12,.22)}
.admin-chart-period button{min-height:29px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:#9f93aa;font:600 .63rem var(--font);cursor:pointer;transition:background .18s,color .18s}
.admin-chart-period button:hover{color:#f6eefe}
.admin-chart-period button[aria-pressed="true"]{background:rgba(176,97,222,.2);color:#efd8ff;box-shadow:inset 0 0 0 1px rgba(194,123,234,.13)}
.admin-activity-chart{padding-top:12px}
.admin-chart-summary{display:flex;align-items:baseline;gap:8px;margin:0 0 7px}
.admin-chart-summary strong{color:#fff;font-size:1.42rem;letter-spacing:-.05em}
.admin-chart-summary span{color:#9f94a9;font-size:.67rem}
.admin-bar-chart{display:grid;height:174px;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:9px;padding-top:4px}
.admin-bar-column{display:grid;min-width:0;grid-template-rows:17px minmax(0,1fr) 20px;align-items:end;text-align:center}
.admin-bar-column>strong{color:#bfb2c9;font-size:.63rem;font-weight:650}
.admin-bar-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%;padding:0 2px;border-bottom:1px solid rgba(207,174,238,.15);background:repeating-linear-gradient(to bottom,transparent 0,transparent 32px,rgba(207,174,238,.055) 33px,transparent 34px)}
.admin-bar-track i{display:block;width:min(54px,72%);min-height:3px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#d094ff 0%,#9848d4 100%);box-shadow:0 0 16px rgba(171,84,222,.16);transition:height .45s cubic-bezier(.2,.8,.2,1)}
.admin-bar-column small{align-self:end;overflow:hidden;color:#91869c;font-size:.57rem;white-space:nowrap;text-overflow:ellipsis}
.admin-chart-footnote{margin-top:9px;color:#82778d;font-size:.62rem}
.admin-status-panel{display:flex;flex-direction:column}
.admin-status-stack{display:flex;height:11px;gap:3px;overflow:hidden;margin:21px 0 12px;border-radius:999px;background:#322a39}
.admin-status-stack a{display:block;min-width:3px;height:100%;transition:filter .2s,transform .2s}
.admin-status-stack a:hover{filter:brightness(1.25);transform:scaleY(1.35)}
.admin-status-stack .received,.admin-legend-dot.received{background:#a679ef}
.admin-status-stack .review,.admin-legend-dot.review{background:#e9b454}
.admin-status-stack .documents,.admin-legend-dot.documents{background:#63b6e7}
.admin-status-stack .approved,.admin-legend-dot.approved{background:#4ccc99}
.admin-status-stack .rejected,.admin-legend-dot.rejected{background:#ed7086}
.admin-status-stack .other,.admin-legend-dot.other{background:#81758e}
.admin-status-legend{display:grid;gap:1px;margin:0 0 13px;padding:0;list-style:none}
.admin-status-legend li a{display:grid;min-height:31px;grid-template-columns:9px minmax(0,1fr) auto 44px;align-items:center;gap:8px;color:#c1b7c9;font-size:.68rem;transition:color .18s}
.admin-status-legend li a:hover{color:#fff}
.admin-legend-dot{width:7px;height:7px;border-radius:50%}
.admin-status-legend strong{color:#f1eaf6;font-size:.69rem;font-weight:650;text-align:right}
.admin-status-legend small{color:#91869b;font-size:.61rem;text-align:right}
.admin-panel-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;color:#d5a4f2;font-size:.68rem;font-weight:650}
.admin-panel-link:hover{color:#f2dfff}
.admin-chart-empty{display:flex;min-height:100px;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#93879d;text-align:center}
.admin-chart-empty>span{color:#ba8ed6;font-size:1.5rem}
.admin-chart-empty p{max-width:340px;font-size:.72rem;line-height:1.5}
.admin-recent-panel{padding:18px 19px 10px}
.admin-recent-heading{align-items:center;margin-bottom:10px}
.admin-recent-heading .admin-panel-link{margin:0;white-space:nowrap}
.admin-recent-table table{min-width:590px;font-size:.74rem}
.admin-recent-table th{padding:10px 12px;color:#988da4;font-size:.58rem;letter-spacing:.09em}
.admin-recent-table td{padding:11px 12px;color:#d6cedc;font-size:.7rem}
.admin-recent-table tbody tr{transition:background .18s}
.admin-recent-table tbody tr:hover{background:rgba(172,110,244,.06)}
.admin-request-code{color:#dfc7f1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.66rem}
.admin-state-pill{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border:1px solid transparent;border-radius:999px;font-size:.61rem;font-weight:650;white-space:nowrap}
.admin-state-pill.received{border-color:rgba(166,121,239,.2);background:rgba(166,121,239,.11);color:#d7bcff}
.admin-state-pill.review{border-color:rgba(233,180,84,.2);background:rgba(233,180,84,.1);color:#f0cb7d}
.admin-state-pill.documents{border-color:rgba(99,182,231,.2);background:rgba(99,182,231,.1);color:#9ed9f5}
.admin-state-pill.approved{border-color:rgba(76,204,153,.2);background:rgba(76,204,153,.1);color:#8be3bd}
.admin-state-pill.rejected{border-color:rgba(237,112,134,.2);background:rgba(237,112,134,.1);color:#ffa0b2}
.admin-state-pill.other{border-color:rgba(166,153,180,.18);background:rgba(166,153,180,.08);color:#c4b8ce}
.admin-recent-panel .admin-chart-empty{min-height:130px}
.admin-menu-open{overflow:hidden}
.admin-console :focus-visible{outline:2px solid #d2a1f2;outline-offset:3px}
@media(min-width:900px){.admin-sidebar{width:260px}.admin-dashboard-main{margin-left:260px}.admin-menu-toggle{display:none!important}.admin-sidebar-backdrop{display:none!important}}
@media(max-width:899px){.client-layout:has(>.admin-sidebar){display:block}.admin-sidebar{position:fixed;inset:0 auto 0 0;z-index:70;width:min(88vw,310px);height:100dvh;max-height:100dvh;padding:16px 13px 13px;transform:translateX(-105%);transition:transform .26s cubic-bezier(.22,.72,.25,1);box-shadow:24px 0 65px rgba(0,0,0,.38)}.admin-sidebar.open{transform:translateX(0)}.admin-brand{padding-left:53px}.admin-menu-toggle{position:fixed;top:13px;left:13px;z-index:82;display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(210,165,239,.22);border-radius:12px;background:rgba(27,21,36,.96);color:#f4e9fc;box-shadow:0 7px 24px rgba(0,0,0,.24);cursor:pointer;backdrop-filter:blur(10px)}.admin-menu-toggle:hover{border-color:rgba(216,163,248,.48);background:#281b35}.admin-menu-toggle>span{display:grid;gap:4px}.admin-menu-toggle i{display:block;width:17px;height:2px;border-radius:4px;background:currentColor;transition:transform .2s,opacity .2s}.admin-menu-toggle[aria-expanded="true"] i:first-child{transform:translateY(6px) rotate(45deg)}.admin-menu-toggle[aria-expanded="true"] i:nth-child(2){opacity:0}.admin-menu-toggle[aria-expanded="true"] i:last-child{transform:translateY(-6px) rotate(-45deg)}.admin-sidebar-backdrop{position:fixed;inset:0;z-index:65;display:block;background:rgba(5,4,9,.68);opacity:0;pointer-events:none;transition:opacity .22s;backdrop-filter:blur(3px)}.admin-sidebar-backdrop.is-visible{opacity:1;pointer-events:auto}.admin-dashboard-main,.client-layout:has(>.admin-sidebar)>.main-content{width:100%;min-height:100vh;margin:0;padding:72px clamp(16px,4vw,30px) 32px}.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(250px,.85fr)}}
@media(max-width:650px){.admin-dashboard-heading{align-items:flex-start}.admin-dashboard-heading p{max-width:400px;font-size:.75rem}.admin-dashboard-grid{grid-template-columns:1fr}.admin-panel{padding:16px}.admin-activity-panel .admin-panel-heading{flex-direction:column}.admin-chart-period{align-self:flex-start}.admin-bar-chart{height:158px;gap:5px}.admin-bar-column small{font-size:.53rem}.admin-kpi-card{min-height:139px;padding:13px}.admin-kpi-card>strong{font-size:1.72rem}.admin-refresh-link{width:39px;min-width:39px;justify-content:center;padding:0}.admin-refresh-link span{display:none}.admin-recent-heading{align-items:flex-start}}
@media(max-width:420px){.admin-dashboard-main,.client-layout:has(>.admin-sidebar)>.main-content{padding-right:12px;padding-left:12px}.admin-dashboard-heading h1{font-size:1.55rem}.admin-dashboard-heading p{font-size:.7rem}.admin-kpi-grid{gap:8px}.admin-kpi-card{min-height:130px;padding:12px 11px}.admin-kpi-icon{top:11px;right:10px;width:31px;height:31px}.admin-kpi-label{font-size:.66rem}.admin-kpi-card>strong{font-size:1.55rem}.admin-kpi-card>small{font-size:.58rem}.admin-panel-heading h2{font-size:.93rem}.admin-chart-period button{padding:0 7px;font-size:.6rem}.admin-bar-chart{height:143px;gap:3px}.admin-bar-column small{font-size:.49rem}}
@media(prefers-reduced-motion:reduce){.admin-kpi-card,.admin-refresh-link,.admin-bar-track i,.admin-sidebar,.admin-sidebar-backdrop,.admin-menu-toggle i{transition:none!important}}

/* O tema de páginas antigas usa body:has(.client-layout); o shell admin precisa prevalecer. */
body:has(.admin-layout){background:radial-gradient(ellipse at 82% 0%,rgba(102,43,151,.15),transparent 34%),#100d19!important;color:#f7f3fb!important}

/* Harmoniza as regras antigas do menu e garante o mesmo trilho em todas as telas admin. */
@media(min-width:900px){.client-layout:has(>.admin-sidebar)>.main-content{width:calc(100% - 260px);margin-left:260px}}
@media(max-width:899px){.client-layout:has(>.admin-sidebar)>.sidebar.admin-sidebar{position:fixed;inset:0 auto 0 0;width:min(88vw,310px);height:100dvh;max-height:100dvh;overflow-y:auto;transform:translateX(-105%)!important}.client-layout:has(>.admin-sidebar)>.sidebar.admin-sidebar.open{transform:translateX(0)!important}}


/* Hotfix móvel do menu admin: vence o antigo menu horizontal do painel cliente. */
body:has(.admin-sidebar){background:radial-gradient(ellipse at 82% 0%,rgba(102,43,151,.15),transparent 34%),#100d19!important;color:#f7f3fb!important}
body:has(.admin-sidebar) .sidebar.admin-sidebar{background:linear-gradient(180deg,#171220 0%,#100d19 100%)!important;color:#f7f3fb!important;border-right:1px solid rgba(204,172,255,.12)!important}
.admin-nav-search .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:899px){
  .client-layout:has(>.admin-sidebar)>.sidebar.admin-sidebar .admin-sidebar-nav{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:3px!important;width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;padding:2px 0 8px!important}
  .client-layout:has(>.admin-sidebar)>.sidebar.admin-sidebar .admin-sidebar-nav>a,.client-layout:has(>.admin-sidebar)>.sidebar.admin-sidebar .admin-sidebar-nav>form{display:flex!important;flex:0 0 auto!important;align-self:stretch!important;width:100%!important;min-width:0!important;max-width:100%!important;justify-content:flex-start!important;white-space:normal!important;box-sizing:border-box!important}
  .client-layout:has(>.admin-sidebar)>.sidebar.admin-sidebar .admin-sidebar-nav>.admin-nav-heading{display:block!important;flex:0 0 auto!important;width:100%!important;text-align:left!important}
}


/* PRIVATE PAY — card informativo e modal; nenhum fluxo de pagamento existe nesta etapa. */
.client-layout.client-dashboard .private-pay-shortcut{grid-column:span 2;width:100%;min-height:94px;text-align:left;font:inherit;cursor:pointer;border-color:rgba(186,145,230,.3);background:linear-gradient(120deg,rgba(100,55,141,.22),rgba(255,255,255,.035))}.client-layout.client-dashboard .private-pay-shortcut:hover{border-color:rgba(201,159,249,.65);background:linear-gradient(120deg,rgba(100,55,141,.32),rgba(255,255,255,.06))}.client-layout.client-dashboard .private-pay-shortcut:focus-visible{outline:3px solid rgba(204,164,255,.7);outline-offset:3px}.client-layout.client-dashboard .private-pay-shortcut .dashboard-shortcut-icon{color:#d2b3ff;border-color:rgba(196,164,255,.3);background:rgba(109,67,151,.22)}.client-layout.client-dashboard .private-pay-shortcut .dashboard-shortcut-icon img{width:24px;height:24px;object-fit:contain;transition:transform .2s ease}.client-layout.client-dashboard .private-pay-shortcut:hover .dashboard-shortcut-icon img{transform:scale(1.06)}.private-pay-shortcut-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;white-space:normal}.private-pay-shortcut-copy strong{color:#f3edf9;font-size:.83rem;font-weight:750;line-height:1.2}.private-pay-shortcut-copy small{color:#bdb2ca;font-size:.65rem;font-weight:450;line-height:1.35}.private-pay-badge{display:inline-flex;align-items:center;width:max-content;padding:3px 7px;border:1px solid rgba(202,166,255,.28);border-radius:999px;color:#d7b9ff;background:rgba(132,82,183,.18);font-size:.53rem;font-weight:800;letter-spacing:.12em;line-height:1.2}.private-pay-modal-backdrop{z-index:410;place-items:center;align-items:center;padding:20px}.private-pay-modal{width:min(100%,480px);max-height:min(88vh,760px);max-height:min(88dvh,760px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:rgba(196,164,255,.45) transparent}.private-pay-modal .private-pay-symbol{margin-bottom:16px}.private-pay-modal .private-pay-symbol img{width:30px;height:30px;object-fit:contain;filter:brightness(0) invert(1)}.private-pay-title{position:relative;margin:0 38px 8px 0;color:#fff;font-size:1.48rem;font-weight:750;line-height:1.16;letter-spacing:-.035em}.private-pay-subtitle{position:relative;margin:0 0 15px;color:#e4d7f1;font-size:.96rem;font-weight:650;line-height:1.4}.private-pay-copy{position:relative;color:#d3c8de;font-size:.8rem;line-height:1.58}.private-pay-copy p{margin:0 0 10px}.private-pay-slogan{position:relative;margin:14px 0;padding:10px 12px;border-left:3px solid #b878f0;border-radius:0 10px 10px 0;color:#ead9ff;background:rgba(152,93,206,.12);font-size:.78rem;font-weight:750;letter-spacing:.01em}.private-pay-availability{position:relative;display:grid;gap:8px;padding:13px 14px;border:1px solid rgba(196,164,255,.25);border-radius:15px;background:linear-gradient(135deg,rgba(115,66,162,.2),rgba(255,255,255,.035))}.private-pay-availability>strong{color:#f0e7fa;font-size:.8rem;line-height:1.4}.private-pay-availability p{margin:0;color:#c9bdd4;font-size:.72rem;line-height:1.5}.private-pay-closing{position:relative;margin:13px 0 0;color:#e1d2f1;font-size:.76rem;font-weight:600}.private-pay-actions{justify-content:flex-end;margin-top:16px}.private-pay-actions .btn{min-width:126px}.private-pay-modal-backdrop[hidden]{display:none}
@media(max-width:520px){.client-layout.client-dashboard .private-pay-shortcut{grid-column:1/-1;min-height:88px}.private-pay-modal-backdrop{place-items:center;align-items:center;padding:12px}.private-pay-modal{width:min(100%,480px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:24px 20px 20px;border-radius:22px}.private-pay-title{font-size:1.3rem}.private-pay-subtitle{font-size:.89rem}.private-pay-copy{font-size:.76rem}.private-pay-availability{padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.client-layout.client-dashboard .private-pay-shortcut,.client-layout.client-dashboard .private-pay-shortcut .dashboard-shortcut-icon img{transition:none}.private-pay-modal-backdrop,.private-pay-modal{transition:none!important}}

/* Limite de viewport do Private Pay: prevalece sobre o max-height genérico do modal premium. */
.pc-gate-modal.private-pay-modal{max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important}
@media(max-width:520px){.pc-gate-modal.private-pay-modal{max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important}}

/* Private Pay: explicação ilustrada em três etapas. */
.private-pay-steps-heading{position:relative;margin:14px 0 8px;color:#f3eaff;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.private-pay-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 8px;padding:0;list-style:none}
.private-pay-step{display:grid;justify-items:center;align-content:start;min-width:0;padding:9px 7px 10px;overflow:hidden;text-align:center;border:1px solid rgba(196,164,255,.23);border-radius:15px;background:linear-gradient(155deg,rgba(116,69,164,.18),rgba(255,255,255,.035));box-shadow:inset 0 1px rgba(255,255,255,.04)}
.private-pay-step img{display:block;width:min(100%,76px);height:auto;aspect-ratio:1/1;object-fit:cover;margin:0 auto 5px;border:1px solid rgba(220,195,255,.2);border-radius:12px;background:#24182f;box-shadow:0 7px 18px rgba(0,0,0,.2)}
.private-pay-step-index{color:#cba8ff;font-size:.57rem;font-weight:800;letter-spacing:.14em;line-height:1.2}
.private-pay-step h4{margin:3px 0 3px;color:#fff;font-size:.72rem;font-weight:800;line-height:1.2}
.private-pay-step p{margin:0;color:#cfc2da;font-size:.64rem;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:520px){.private-pay-steps{gap:6px}.private-pay-step{padding:7px 5px 8px;border-radius:13px}.private-pay-step img{width:min(100%,64px);border-radius:10px}.private-pay-step h4{font-size:.69rem}.private-pay-step p{font-size:.62rem}}
@media(max-width:360px){.private-pay-steps{gap:4px}.private-pay-step{padding:6px 4px 7px}.private-pay-step img{width:min(100%,54px)}.private-pay-step h4{font-size:.65rem}}

/* Hotfix final de contraste do cartão de saldo do simulador. */
.simulator-page .simulator-context-card { color: #2B1B35 !important; border-color: #ECE5F0 !important; background: #FFFFFF !important; box-shadow: 0 8px 26px rgba(43,22,57,.055) !important; }
.simulator-page .simulator-context-icon { color: #7223A8 !important; border-color: #EADFF0 !important; background: #F6EFFA !important; }
.simulator-page .simulator-context-status { color: #087B42 !important; border-color: #CEEDDA !important; background: #F0FAF4 !important; }
.simulator-page .simulator-context-overline { color: #84778D !important; }
.simulator-page .simulator-context-card h3 { color: #45324F !important; }
.simulator-page .simulator-context-balance { color: #321544 !important; }
.simulator-page .simulator-context-caption { color: #7A6F81 !important; }
.simulator-page .simulator-context-divider { background: #F0EBF3 !important; }
.simulator-page .simulator-context-row { color: #796D81 !important; }
.simulator-page .simulator-context-row strong { color: #43314E !important; }
.simulator-page .simulator-no-fees { border-color: #D8EFE0 !important; background: #F3FBF6 !important; }
.simulator-page .simulator-no-fees p { color: #5C7665 !important; }
.simulator-page .simulator-no-fees strong { color: #17643C !important; }

/* Disbursement countdown — Private Pay */
.legal-contract-disbursement-countdown{display:flex;align-items:flex-start;gap:12px;background:linear-gradient(135deg,#F8F5FF,#F2ECFC);border-color:#DCCAF2}.legal-contract-state-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;color:#7625BD;background:#E7D8FA}.legal-contract-state-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.legal-contract-state-kicker{display:block;color:#7B2DAA;font-size:.54rem;font-weight:800;letter-spacing:.13em}.disbursement-countdown{display:flex;gap:7px;margin-top:11px}.disbursement-countdown>div{display:grid;min-width:54px;padding:7px 6px;border:1px solid #E1D4F0;border-radius:9px;text-align:center;background:rgba(255,255,255,.72)}.disbursement-countdown strong{color:#4D2674;font-size:.9rem;line-height:1}.disbursement-countdown span{margin-top:4px;color:#806D90;font-size:.5rem;text-transform:uppercase;letter-spacing:.05em}.disbursement-countdown-caption{display:block;margin-top:7px;color:#806D90;font-size:.55rem}.legal-contract-footnote{color:#85758F;font-size:.58rem!important}.client-area .legal-contract-disbursement-countdown .legal-contract-state-icon{color:#e5caff!important;background:rgba(167,112,240,.22)!important}.client-area .legal-contract-state-kicker{color:#d09aff!important}.client-area .disbursement-countdown>div{border-color:rgba(204,172,255,.24)!important;background:rgba(16,11,24,.45)!important}.client-area .disbursement-countdown strong{color:#fff!important}.client-area .disbursement-countdown span,.client-area .disbursement-countdown-caption{color:#bdb0c9!important}@media(max-width:520px){.legal-contract-disbursement-countdown{gap:8px;padding:10px}.legal-contract-state-icon{flex-basis:30px;width:30px;height:30px}.disbursement-countdown{gap:4px}.disbursement-countdown>div{min-width:47px;padding:6px 4px}}
