:root{--bg:#f6f8fb;--surface:#fff;--text:#0f172a;--muted:#64748b;--line:#dbe3ef;--blue:#0ea5e9;--blue-dark:#0369a1;--green:#16a34a;--red:#dc2626;--yellow:#d97706;--nav:#0b1220}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none}
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(380px,.9fr) minmax(0,1.1fr)}
.brand-panel{background:linear-gradient(135deg,#0b1220,#12375f);color:#fff;padding:46px;display:flex;flex-direction:column;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:900}
.mark{width:42px;height:42px;border-radius:8px;background:var(--blue);display:grid;place-items:center}
.brand-copy h1{font-size:46px;line-height:1.06;margin:14px 0}
.brand-copy p{color:#dbeafe;font-size:17px;line-height:1.65;max-width:560px}
.demo-box{margin-top:26px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:16px;color:#dbeafe}
.form-panel{display:flex;align-items:center;justify-content:center;padding:38px}
.login-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:28px;box-shadow:0 18px 45px rgba(15,23,42,.10)}
.login-card h2{font-size:28px;margin-bottom:8px}
.sub{color:var(--muted);line-height:1.5;margin-bottom:20px}
label{display:block;color:#475569;font-size:13px;font-weight:900;margin-bottom:7px}
input,select{width:100%;min-height:46px;border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit;outline:none;background:#fff}
input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(14,165,233,.15)}
.form-grid{display:grid;gap:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 14px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-weight:900;cursor:pointer}
.btn:hover{background:var(--blue-dark)}
.btn-light{background:#fff;color:#0f172a;border:1px solid var(--line)}
.btn-soft{background:#e0f2fe;color:#0369a1}
.erro{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;border-radius:8px;padding:12px;margin-bottom:14px;font-weight:800}
.app{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.sidebar{background:#202b3a;color:#fff;padding:22px;position:sticky;top:0;height:100vh}
.sidebar .brand{margin-bottom:28px}
.menu{display:grid;gap:8px}
.menu a{color:#dbeafe;font-weight:800;padding:12px;border-radius:8px}
.menu a.active,.menu a:hover{background:#0f172a;color:#fff}
.logout{margin-top:24px;border-top:1px solid rgba(255,255,255,.12);padding-top:16px}
.main{padding:28px;min-width:0}
.hero{background:linear-gradient(135deg,#0f172a,#12375f);color:#fff;border-radius:8px;padding:28px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}
.eyebrow{color:#7dd3fc;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.hero h1{font-size:32px;line-height:1.12;margin-bottom:8px}
.hero p{color:#dbeafe;line-height:1.55}
.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.metric-label{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;margin-bottom:10px}
.metric-value{font-size:28px;font-weight:900}
.blue{color:var(--blue)}.green{color:var(--green)}.red{color:var(--red)}.yellow{color:var(--yellow)}
.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px}
table{width:100%;border-collapse:collapse;min-width:820px}
th,td{padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{font-size:12px;text-transform:uppercase;color:#64748b;background:#f8fafc}
.name{font-weight:900}.muted{color:#64748b;font-size:13px;line-height:1.45}
.badge{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}
.badge.ativo{background:#dcfce7;color:#166534}.badge.alerta{background:#fef3c7;color:#92400e}.badge.suspenso{background:#fee2e2;color:#991b1b}
.progress{height:10px;background:#e5edf7;border-radius:999px;overflow:hidden;margin-top:8px}
.progress div{height:100%;background:var(--blue)}
.section-title{font-size:22px;margin:24px 0 14px}
.plan-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.plan-card{min-height:230px;display:flex;flex-direction:column}
.plan-card h3{font-size:22px;margin-bottom:8px}
.plan-space{font-size:28px;font-weight:900;color:#0369a1;margin-bottom:14px}
.rows{display:grid;gap:10px;margin-top:auto;color:#64748b;font-weight:700}
.create-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.full{grid-column:1/-1}
.notice{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;padding:14px;border-radius:8px;font-weight:800;line-height:1.5}
.action-row{display:flex;gap:8px;flex-wrap:wrap}
.action-row .btn{min-height:34px;padding:8px 10px;font-size:12px}
.policy-card{background:#0f172a;color:#fff;border:0}
.policy-card p{color:#dbeafe}
.policy-list{display:grid;gap:10px;margin-top:12px}
.policy-list div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:12px;color:#dbeafe;font-weight:700}
@media(max-width:1120px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2,.plan-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.login-shell,.app{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.main{padding:18px}.hero{align-items:flex-start;flex-direction:column}.metrics,.grid-2,.plan-grid,.create-grid{grid-template-columns:1fr}.brand-panel{min-height:420px}.brand-copy h1{font-size:34px}}

/* DETAILS_PAGE_PARTNER_V1 */
.detail-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-top:18px;
}
.detail-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    padding:18px;
    box-shadow:0 12px 32px rgba(15,23,42,.05);
}
.detail-card.wide{
    grid-column:span 2;
}
.detail-label{
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:7px;
}
.detail-value{
    font-size:22px;
    font-weight:900;
}
.detail-text{
    color:#475569;
    line-height:1.55;
}
.action-grid{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
    margin-top:18px;
}
.action-grid form{
    display:inline-flex;
}
.action-grid .btn,
.action-grid button{
    min-width:144px;
}
.notice-box{
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e40af;
    padding:14px;
    border-radius:8px;
    font-weight:800;
    line-height:1.45;
}
.danger-box{
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    padding:14px;
    border-radius:8px;
    font-weight:800;
    line-height:1.45;
}
@media(max-width:900px){
    .detail-grid{
        grid-template-columns:1fr;
    }
    .detail-card.wide{
        grid-column:auto;
    }
    .action-grid{
        grid-template-columns:1fr;
    }
}


/* BUTTON_HOVER_FIX_V1 */
.btn,
.btn:visited,
.btn-soft,
.btn-soft:visited{
    color:inherit;
    text-decoration:none;
}

.btn-primary,
.btn-primary:visited{
    color:#fff;
}

.btn-soft,
.btn-soft:visited{
    color:#0369a1;
}

.btn:hover,
.btn-soft:hover{
    color:#fff;
    background:#0369a1;
    border-color:#0369a1;
}

.btn-primary:hover{
    color:#fff;
    background:#0369a1;
}

.action-grid .btn-soft:hover{
    color:#fff;
}


/* TOP_BUTTON_FIX_V1 */
.hero .btn,
.hero .btn:visited,
.hero-actions .btn,
.hero-actions .btn:visited{
    background:#ffffff;
    color:#0f172a;
    border:1px solid #ffffff;
}

.hero .btn:hover,
.hero-actions .btn:hover{
    background:#e0f2fe;
    color:#0369a1;
    border-color:#bae6fd;
}


/* VENCIMENTOS_PAGE_PARTNER_V1 */
.renewal-top{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
    margin:18px 0;
}
.renewal-filter{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:16px 0;
}
.renewal-filter .btn-soft{
    min-height:38px;
}
.status-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}
.status-pill.ok{
    background:#dcfce7;
    color:#166534;
}
.status-pill.warn{
    background:#fef3c7;
    color:#92400e;
}
.status-pill.danger{
    background:#fee2e2;
    color:#991b1b;
}
.renewal-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.renewal-actions .btn-soft{
    min-height:34px;
    padding:8px 10px;
    font-size:13px;
}
@media(max-width:900px){
    .renewal-top{
        grid-template-columns:1fr;
    }
}


/* MOVIMENTACOES_PAGE_PARTNER_V1 */
.mov-top{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
    margin:18px 0;
}
.mov-type{
    display:inline-flex;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}
.mov-type.credit{
    background:#dcfce7;
    color:#166534;
}
.mov-type.debit{
    background:#fee2e2;
    color:#991b1b;
}
.mov-type.info{
    background:#e0f2fe;
    color:#0369a1;
}
.money-positive{
    color:#16a34a;
    font-weight:900;
}
.money-negative{
    color:#dc2626;
    font-weight:900;
}
.money-neutral{
    color:#0f172a;
    font-weight:900;
}
.mov-note{
    color:#64748b;
    font-size:13px;
    line-height:1.4;
}
@media(max-width:900px){
    .mov-top{
        grid-template-columns:1fr;
    }
}


/* GLOBAL_BALANCE_TOP_V1 */
.partner-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.balance-top{
    min-width:250px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    border-radius:8px;
    padding:14px 16px;
    color:#fff;
}
.balance-top span{
    display:block;
    color:#bfdbfe;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:6px;
}
.balance-top strong{
    display:block;
    font-size:30px;
    line-height:1;
    color:#86efac;
}
.balance-top small{
    display:block;
    color:#dbeafe;
    font-size:12px;
    margin-top:7px;
    line-height:1.35;
}
.balance-top .btn{
    margin-top:12px;
    min-height:36px;
    width:100%;
    padding:8px 10px;
}
@media(max-width:900px){
    .partner-hero{
        align-items:flex-start;
        flex-direction:column;
    }
    .balance-top{
        width:100%;
        min-width:0;
    }
}


/* CRIAR_CLIENTE_REVENDA_V1 */
.create-layout{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
    gap:18px;
    align-items:start;
}
.form-grid-2{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.form-grid-1{
    display:grid;
    gap:14px;
}
.form-field label{
    display:block;
    color:#475569;
    font-size:13px;
    font-weight:900;
    margin-bottom:7px;
}
.form-field input,
.form-field select,
.form-field textarea{
    width:100%;
    min-height:46px;
    border:1px solid var(--line);
    border-radius:8px;
    padding:12px 13px;
    font:inherit;
    outline:none;
    background:#fff;
}
.form-field textarea{
    min-height:88px;
    resize:vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    border-color:#0ea5e9;
    box-shadow:0 0 0 3px rgba(14,165,233,.15);
}
.create-summary{
    display:grid;
    gap:12px;
}
.summary-row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    border-bottom:1px solid var(--line);
    padding:10px 0;
}
.summary-row:last-child{
    border-bottom:0;
}
.summary-row span{
    color:#64748b;
    font-weight:800;
}
.summary-row strong{
    text-align:right;
}
.summary-total{
    margin-top:8px;
    padding:14px;
    border-radius:8px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e40af;
    font-weight:900;
    line-height:1.45;
}
.create-warning{
    margin-top:14px;
    padding:14px;
    border-radius:8px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    font-weight:800;
    line-height:1.45;
}
.checkbox-line{
    display:flex;
    gap:10px;
    align-items:flex-start;
    color:#475569;
    font-size:14px;
    line-height:1.45;
}
.checkbox-line input{
    margin-top:3px;
}
.create-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}
.create-actions .btn{
    min-width:190px;
}
@media(max-width:980px){
    .create-layout,
    .form-grid-2{
        grid-template-columns:1fr;
    }
    .create-actions .btn{
        width:100%;
    }
}


/* CHECKBOX_CREATE_FIX_V1 */
.checkbox-line{
    display:grid;
    grid-template-columns:22px minmax(0,1fr);
    gap:10px;
    align-items:start;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#f8fafc;
    color:#334155;
    font-size:14px;
    font-weight:700;
    line-height:1.45;
}
.checkbox-line input[type="checkbox"]{
    width:18px;
    height:18px;
    min-height:18px;
    margin:1px 0 0;
    accent-color:#0ea5e9;
}
.checkbox-line span{
    display:block;
}


/* CREATE_CLIENT_STEPS_V1 */
.activation-steps{
    margin-top:16px;
    display:grid;
    gap:8px;
    padding:14px;
    border:1px solid #bfdbfe;
    border-radius:8px;
    background:#eff6ff;
}
.activation-steps h3{
    font-size:16px;
    margin-bottom:4px;
    color:#0f172a;
}
.activation-step{
    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    gap:10px;
    align-items:start;
    color:#1e3a8a;
    font-weight:800;
    line-height:1.4;
}
.activation-step span:first-child{
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#0ea5e9;
    color:#fff;
    font-size:12px;
    font-weight:900;
}
.demo-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:6px 10px;
    background:#fef3c7;
    color:#92400e;
    font-size:12px;
    font-weight:900;
    margin-left:8px;
}


/* MINHA_COBRANCA_PARTNER_V2 */
.billing-layout{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
    gap:18px;
    align-items:start;
}
.billing-preview{
    border:1px solid var(--line);
    border-radius:8px;
    background:#f8fafc;
    padding:18px;
}
.client-preview{
    margin-top:14px;
    border:1px solid #bfdbfe;
    background:#eff6ff;
    color:#1e3a8a;
    border-radius:8px;
    padding:16px;
}
.client-preview h3{
    font-size:18px;
    color:#0f172a;
    margin-bottom:8px;
}
.client-preview p{
    line-height:1.5;
    margin-bottom:12px;
}
.pix-box{
    display:grid;
    gap:8px;
    background:#fff;
    border:1px solid #dbe3ef;
    border-radius:8px;
    padding:14px;
}
.pix-line{
    display:flex;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid #e2e8f0;
    padding-bottom:8px;
}
.pix-line:last-child{
    border-bottom:0;
    padding-bottom:0;
}
.pix-line span{
    color:#64748b;
    font-weight:800;
}
.pix-line strong{
    text-align:right;
}
.billing-note{
    margin-top:14px;
    padding:14px;
    border-radius:8px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    font-weight:800;
    line-height:1.45;
}
@media(max-width:980px){
    .billing-layout{
        grid-template-columns:1fr;
    }
}

@media(max-width:720px){
    body.partner-page-cobranca .COBRANCA_CONFIG_DETAILS_V1{
        min-width:0;
        padding:16px !important;
    }

    body.partner-page-cobranca .billing-layout,
    body.partner-page-cobranca .billing-layout > *,
    body.partner-page-cobranca .billing-preview,
    body.partner-page-cobranca .client-preview,
    body.partner-page-cobranca .pix-box{
        min-width:0;
        width:100%;
        max-width:100%;
    }

    body.partner-page-cobranca .billing-layout .form-grid-2{
        grid-template-columns:1fr !important;
    }

    body.partner-page-cobranca .billing-preview,
    body.partner-page-cobranca .client-preview,
    body.partner-page-cobranca .pix-box{
        padding:14px !important;
    }

    body.partner-page-cobranca .billing-preview .pix-line{
        display:grid;
        grid-template-columns:1fr;
        gap:5px;
    }

    body.partner-page-cobranca .billing-preview .pix-line strong{
        min-width:0;
        text-align:left;
        overflow-wrap:anywhere;
    }

    body.partner-page-cobranca .billing-layout .create-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    body.partner-page-cobranca .billing-layout .create-actions .btn{
        width:100%;
    }

    body.partner-page-cobranca .billing-note{
        overflow-wrap:anywhere;
    }
}


/* PLANOS_ACTIONS_PARTNER_V1 */
.plan-actions-box{
    margin-top:18px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,.45fr);
    gap:16px;
}
.plan-info-box{
    background:#0f172a;
    color:#fff;
    border-radius:8px;
    padding:18px;
}
.plan-info-box h3{
    font-size:22px;
    margin-bottom:8px;
}
.plan-info-box p{
    color:#dbeafe;
    line-height:1.5;
}
.plan-info-list{
    margin-top:14px;
    display:grid;
    gap:8px;
}
.plan-info-list div{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    border-radius:8px;
    padding:10px 12px;
    font-weight:800;
}
.plan-cta-box{
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:8px;
    padding:18px;
    color:#1e3a8a;
}
.plan-cta-box h3{
    color:#0f172a;
    font-size:20px;
    margin-bottom:8px;
}
.plan-cta-actions{
    display:grid;
    gap:10px;
    margin-top:14px;
}
@media(max-width:900px){
    .plan-actions-box{
        grid-template-columns:1fr;
    }
}


/* FINANCEIRO_PARTNER_V1 */
.finance-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
    margin:18px 0;
}
.finance-layout{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
    gap:18px;
    align-items:start;
}
.finance-box{
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    padding:18px;
}
.finance-box h3{
    font-size:22px;
    margin-bottom:8px;
}
.finance-row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:11px 0;
    border-bottom:1px solid var(--line);
}
.finance-row:last-child{
    border-bottom:0;
}
.finance-row span{
    color:#64748b;
    font-weight:800;
}
.finance-row strong{
    text-align:right;
}
.finance-callout{
    margin-top:14px;
    padding:14px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e3a8a;
    border-radius:8px;
    font-weight:800;
    line-height:1.45;
}
.finance-warning{
    margin-top:14px;
    padding:14px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    border-radius:8px;
    font-weight:800;
    line-height:1.45;
}
@media(max-width:980px){
    .finance-grid,
    .finance-layout{
        grid-template-columns:1fr;
    }
}


/* SUPORTE_PARTNER_V1 */
.support-layout{
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
    gap:18px;
    align-items:start;
}
.support-options{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:18px 0;
}
.support-option{
    border:1px solid var(--line);
    background:#fff;
    border-radius:8px;
    padding:16px;
}
.support-option strong{
    display:block;
    margin-bottom:6px;
}
.support-option span{
    color:#64748b;
    font-size:13px;
    line-height:1.45;
}
.ticket-list{
    display:grid;
    gap:10px;
}
.ticket-item{
    border:1px solid var(--line);
    border-radius:8px;
    padding:14px;
    background:#fff;
}
.ticket-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:8px;
}
.ticket-head strong{
    font-size:15px;
}
.ticket-item p{
    color:#64748b;
    line-height:1.45;
}
.priority{
    display:inline-flex;
    border-radius:999px;
    padding:6px 9px;
    font-size:12px;
    font-weight:900;
}
.priority.low{
    background:#dcfce7;
    color:#166534;
}
.priority.medium{
    background:#fef3c7;
    color:#92400e;
}
.priority.high{
    background:#fee2e2;
    color:#991b1b;
}
.support-note{
    margin-top:14px;
    padding:14px;
    border-radius:8px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e3a8a;
    font-weight:800;
    line-height:1.45;
}
@media(max-width:980px){
    .support-layout,
    .support-options{
        grid-template-columns:1fr;
    }
}


/* LOGOUT_BUTTON_FIX_V1 */
.sidebar a.logout,
.sidebar a.logout:visited,
.sidebar button.logout{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:44px;
    border-radius:8px;
    background:#ffffff;
    color:#0f172a;
    font-weight:900;
    text-decoration:none;
}

.sidebar a.logout:hover,
.sidebar button.logout:hover{
    background:#e0f2fe;
    color:#0369a1;
}

.sidebar .logout form{
    margin:0;
}


/* PARTNER_TOPBAR_COMPACT_V1 */
.partner-topbar{
    background:#0f172a;
    color:#fff;
    border-radius:8px;
    padding:18px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    margin-bottom:22px;
}
.partner-topbar h1{
    font-size:26px;
    line-height:1.1;
    margin:0;
}
.partner-topbar p{
    color:#dbeafe;
    margin-top:6px;
    line-height:1.45;
}
.partner-topbar-balance{
    min-width:230px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    border-radius:8px;
    padding:12px;
}
.partner-topbar-balance span{
    display:block;
    color:#bfdbfe;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}
.partner-topbar-balance strong{
    display:block;
    color:#86efac;
    font-size:26px;
    margin:4px 0 10px;
}
.partner-topbar-balance a{
    width:100%;
    min-height:34px;
    padding:8px 10px;
}
.sidebar a.logout{
    border:1px solid rgba(255,255,255,.18);
}
@media(max-width:900px){
    .partner-topbar{
        align-items:flex-start;
        flex-direction:column;
    }
    .partner-topbar-balance{
        width:100%;
        min-width:0;
    }
}


/* NOTICE_MINI_CLIENTES_V1 */
.notice-mini{
    display:inline-block;
    margin-top:6px;
    padding:6px 8px;
    border-radius:8px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e40af;
    font-size:12px;
    font-weight:800;
    line-height:1.35;
}

/* BUTTONS_POLISH_FINANCEIRO_V1 */
.partner-topbar-balance .topbar-mov-btn{
    width:auto;
    min-height:32px;
    padding:7px 10px;
    font-size:12px;
    border-radius:8px;
}

.finance-save-btn{
    width:auto;
    min-width:210px;
    min-height:42px;
    padding:10px 14px;
}

form.card .create-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:8px;
}

.sidebar .logout{
    margin-top:24px;
    border-top:1px solid rgba(255,255,255,.12);
    padding-top:16px;
}

.sidebar a.logout,
.sidebar a.logout:visited{
    min-height:42px;
    border-radius:8px;
    background:#fff;
    color:#0f172a;
    border:1px solid rgba(255,255,255,.18);
    font-size:14px;
}

.sidebar a.logout:hover{
    background:#e0f2fe;
    color:#0369a1;
}


/* BUTTONS_FORCE_FIX_V2 */
.partner-topbar .partner-topbar-balance a.btn.topbar-mov-btn,
.partner-topbar .partner-topbar-balance a.btn.topbar-mov-btn:visited{
    display:inline-flex !important;
    width:auto !important;
    min-width:0 !important;
    min-height:30px !important;
    padding:6px 10px !important;
    font-size:12px !important;
    line-height:1 !important;
    border-radius:8px !important;
    background:#ffffff !important;
    color:#0f172a !important;
}

.partner-topbar .partner-topbar-balance a.btn.topbar-mov-btn:hover{
    background:#e0f2fe !important;
    color:#0369a1 !important;
}

.sidebar .logout{
    margin-top:24px !important;
    border-top:1px solid rgba(255,255,255,.12) !important;
    padding-top:16px !important;
}

.sidebar .logout a.logout,
.sidebar .logout a.logout:visited,
aside.sidebar a.logout,
aside.sidebar a.logout:visited,
.sidebar .logout button.logout,
aside.sidebar button.logout{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:42px !important;
    padding:0 12px !important;
    border-radius:8px !important;
    background:#ffffff !important;
    color:#0f172a !important;
    border:1px solid rgba(255,255,255,.18) !important;
    font-size:14px !important;
    font-weight:900 !important;
    text-decoration:none !important;
}

.sidebar .logout a.logout:hover,
aside.sidebar a.logout:hover,
.sidebar .logout button.logout:hover,
aside.sidebar button.logout:hover{
    background:#e0f2fe !important;
    color:#0369a1 !important;
}


.field-error{
    margin-top:6px;
    color:#b91c1c;
    font-size:13px;
    font-weight:800;
    min-height:18px;
}
.input-error{
    border-color:#ef4444 !important;
    background:#fff5f5 !important;
}
button[disabled]{
    opacity:.55;
    cursor:not-allowed;
}

/* LOGIN_PARTNER_COLORS_V1 */
.form-panel{
  background:
    radial-gradient(circle at top right,rgba(124,58,237,.20),transparent 42%),
    linear-gradient(145deg,#07111f,#050914) !important;
}

.login-card{
  background:
    radial-gradient(circle at top right,rgba(79,124,255,.16),transparent 46%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98)) !important;
  border:1px solid rgba(96,165,250,.28) !important;
  border-radius:22px !important;
  color:#e5eefc !important;
  box-shadow:0 24px 70px rgba(0,0,0,.38) !important;
}

.login-card h2{
  color:#ffffff !important;
}

.login-card .sub{
  color:#9fb2d6 !important;
}

.login-card label{
  color:#c7d7f2 !important;
}

.login-card input{
  background:#07111f !important;
  color:#f8fafc !important;
  border-color:rgba(148,163,184,.28) !important;
  border-radius:14px !important;
}

.login-card input::placeholder{
  color:#7184a3 !important;
}

.login-card input:focus{
  background:#081525 !important;
  border-color:rgba(96,165,250,.72) !important;
  box-shadow:0 0 0 4px rgba(79,124,255,.16) !important;
}

.login-card .btn{
  background:linear-gradient(135deg,#4f7cff,#7c3aed) !important;
  color:#ffffff !important;
}

.login-password-wrap{
  position:relative;
}

.login-password-wrap input{
  padding-right:48px;
}

.login-password-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  color:#9fb2d6;
  cursor:pointer;
}

.login-password-toggle:hover{
  color:#dbeafe;
}

.login-password-toggle svg{
  width:20px;
  height:20px;
}

.login-recovery{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(148,163,184,.18);
}

.login-recovery summary{
  color:#93c5fd;
  cursor:pointer;
  font-size:13px;
  font-weight:800;
}

.login-recovery form{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.login-card .notice,
.login-card .erro{
  margin-bottom:16px;
}


/* NEXADRIVE_PARTNER_DARK_SIDEBAR_UI_V1 */
:root{
  --bg:#050b16;
  --surface:#0b1220;
  --surface2:#0f1d36;
  --card:#0d1729;
  --card2:#101b31;
  --text:#e5eefc;
  --muted:#94a3b8;
  --line:rgba(148,163,184,.18);
  --blue:#4f7cff;
  --blue2:#38bdf8;
  --violet:#7c3aed;
  --green:#22c55e;
  --red:#ef4444;
  --yellow:#f59e0b;
  --nav:#050b16;
}

body{
  background:
    radial-gradient(circle at top left, rgba(79,124,255,.22), transparent 34%),
    radial-gradient(circle at top right, rgba(124,58,237,.20), transparent 32%),
    var(--bg) !important;
  color:var(--text) !important;
}

.app{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  min-height:100vh;
}

.sidebar{
  background:linear-gradient(180deg,#07111f,#050914) !important;
  border-right:1px solid var(--line);
  box-shadow:20px 0 60px rgba(0,0,0,.28);
  padding:22px 18px !important;
}

.sidebar .brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:28px !important;
  padding:10px 8px 18px;
  border-bottom:1px solid var(--line);
}

.sidebar .brand .mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--violet));
  color:white;
  font-weight:900;
  box-shadow:0 12px 34px rgba(79,124,255,.35);
}

.sidebar .brand span{
  color:white;
  font-size:18px;
  font-weight:900;
  letter-spacing:.02em;
}

.menu{
  gap:7px !important;
}

.menu a{
  color:#aebdde !important;
  border:1px solid transparent;
  border-radius:14px !important;
  padding:12px 14px !important;
  font-weight:800 !important;
  transition:.16s ease;
}

.menu a:hover{
  background:rgba(79,124,255,.10) !important;
  border-color:rgba(79,124,255,.25);
  color:#fff !important;
  transform:translateX(2px);
}

.menu a.active{
  background:linear-gradient(135deg,rgba(79,124,255,.28),rgba(124,58,237,.22)) !important;
  border-color:rgba(96,165,250,.42);
  color:#fff !important;
  box-shadow:0 14px 34px rgba(79,124,255,.18);
}

.sidebar .logout{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.main{
  padding:26px !important;
  background:transparent !important;
}

.partner-topbar,
.hero{
  background:linear-gradient(135deg,rgba(15,29,54,.96),rgba(13,23,41,.92)) !important;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px !important;
  box-shadow:0 22px 70px rgba(0,0,0,.26);
  margin-bottom:18px;
}

.eyebrow{
  color:var(--blue2) !important;
  letter-spacing:.14em;
  font-weight:900;
}

.partner-topbar h1,
.hero h1{
  color:#fff !important;
  font-size:30px;
  letter-spacing:-.04em;
}

.partner-topbar p,
.hero p,
.muted,
.metric-desc,
.sub{
  color:var(--muted) !important;
}

.partner-topbar-balance{
  background:rgba(5,11,22,.72);
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px 18px;
}

.partner-topbar-balance span{
  color:var(--muted);
}

.partner-topbar-balance strong{
  color:#fff;
  font-size:24px;
}

.metrics{
  gap:14px !important;
}

.card,
.detail-card,
form.card,
.table-wrap,
details.card{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(10,18,32,.96)) !important;
  border:1px solid var(--line) !important;
  border-radius:22px !important;
  color:var(--text) !important;
  box-shadow:0 18px 52px rgba(0,0,0,.22) !important;
}

.card h2,
.card h3,
.section-title,
.name{
  color:#fff !important;
}

.metric-label{
  color:#9fb2d6 !important;
  letter-spacing:.08em;
}

.metric-value{
  font-size:30px !important;
  letter-spacing:-.04em;
}

.blue{color:#60a5fa !important}
.green{color:#34d399 !important}
.red{color:#fb7185 !important}
.yellow,.orange{color:#fbbf24 !important}

.progress{
  background:rgba(148,163,184,.16) !important;
  border-radius:999px;
  overflow:hidden;
}

.progress div{
  background:linear-gradient(90deg,var(--blue),var(--violet)) !important;
}

.notice{
  background:rgba(79,124,255,.12) !important;
  border:1px solid rgba(79,124,255,.28) !important;
  color:#dbeafe !important;
  border-radius:16px !important;
}

.policy-card{
  background:linear-gradient(135deg,rgba(79,124,255,.20),rgba(124,58,237,.18)) !important;
}

table{
  color:var(--text) !important;
}

thead th{
  background:rgba(15,29,54,.95) !important;
  color:#bcd0ef !important;
  border-bottom:1px solid var(--line) !important;
}

tbody td{
  border-bottom:1px solid rgba(148,163,184,.12) !important;
}

tbody tr:hover{
  background:rgba(79,124,255,.08) !important;
}

input,
select,
textarea{
  background:#07111f !important;
  color:var(--text) !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
}

input:focus,
select:focus,
textarea:focus{
  outline:none !important;
  border-color:rgba(79,124,255,.65) !important;
  box-shadow:0 0 0 4px rgba(79,124,255,.14) !important;
}

.btn,
button.btn{
  background:linear-gradient(135deg,var(--blue),var(--violet)) !important;
  color:white !important;
  border:0 !important;
  border-radius:14px !important;
  font-weight:900 !important;
  box-shadow:0 12px 28px rgba(79,124,255,.26);
}

.btn-light,
.btn-soft{
  background:rgba(255,255,255,.08) !important;
  color:#dbeafe !important;
  border:1px solid var(--line) !important;
  box-shadow:none !important;
}

.badge{
  border-radius:999px !important;
  padding:6px 10px !important;
  font-weight:900 !important;
}

@media(max-width:820px){
  .app{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto}
}


/* NEXADRIVE_CLIENTES_TABLE_POLISH_V1 */
.table-wrap{
  border-radius:24px !important;
  overflow:auto !important;
}

table{
  border-spacing:0 !important;
}

th,td{
  padding:18px 16px !important;
}

thead th{
  font-size:11px !important;
  letter-spacing:.10em !important;
}

tbody tr{
  transition:background .14s ease, transform .14s ease;
}

tbody tr:hover{
  background:rgba(79,124,255,.10) !important;
}

td .name,
.name{
  font-size:17px !important;
  font-weight:900 !important;
  letter-spacing:-.02em;
}

td .muted,
.muted{
  color:#8fa5c8 !important;
}

.progress{
  height:13px !important;
  background:rgba(148,163,184,.18) !important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.22);
}

.progress div{
  min-width:3px;
  border-radius:999px;
  box-shadow:0 0 18px rgba(79,124,255,.28);
}

.badge{
  border:1px solid rgba(255,255,255,.10) !important;
  font-size:12px !important;
}

.badge.ativo{
  background:rgba(34,197,94,.14) !important;
  color:#86efac !important;
  box-shadow:0 0 20px rgba(34,197,94,.14);
}

.badge.alerta{
  background:rgba(245,158,11,.14) !important;
  color:#fcd34d !important;
  box-shadow:0 0 20px rgba(245,158,11,.14);
}

.badge.suspenso{
  background:rgba(239,68,68,.14) !important;
  color:#fca5a5 !important;
  box-shadow:0 0 20px rgba(239,68,68,.14);
}

.action-row{
  gap:10px !important;
}

.action-row .btn,
.action-row button{
  border-radius:12px !important;
  min-height:36px !important;
}

@media(max-width:720px){
  body:has(a[href="/?p=clientes"].active) .table-wrap{
    overflow:visible !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap table{
    display:block;
    width:100%;
    min-width:0;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap thead{
    display:none;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap tbody{
    display:grid;
    gap:14px;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap tr,
  body:has(a[href="/?p=clientes"].active) .table-wrap td{
    display:block;
    width:100%;
    min-width:0;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap tr{
    padding:16px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:20px;
    background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(10,18,32,.96));
    box-shadow:0 14px 38px rgba(0,0,0,.18);
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap td{
    padding:10px 0 !important;
    border:0 !important;
    border-bottom:1px solid rgba(148,163,184,.12) !important;
    overflow-wrap:anywhere;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap td:last-child{
    padding-bottom:0 !important;
    border-bottom:0 !important;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap td::before{
    display:block;
    margin-bottom:5px;
    color:#9fb2d6;
    font-size:10px;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap td:nth-child(1)::before{content:"Cliente"}
  body:has(a[href="/?p=clientes"].active) .table-wrap td:nth-child(2)::before{content:"Plano"}
  body:has(a[href="/?p=clientes"].active) .table-wrap td:nth-child(3)::before{content:"Uso"}
  body:has(a[href="/?p=clientes"].active) .table-wrap td:nth-child(4)::before{content:"Status"}
  body:has(a[href="/?p=clientes"].active) .table-wrap td:nth-child(5)::before{content:"Vencimento"}
  body:has(a[href="/?p=clientes"].active) .table-wrap td:nth-child(6)::before{content:"Ações"}

  body:has(a[href="/?p=clientes"].active) .table-wrap .action-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px !important;
  }

  body:has(a[href="/?p=clientes"].active) .table-wrap .action-row .btn,
  body:has(a[href="/?p=clientes"].active) .table-wrap .action-row form,
  body:has(a[href="/?p=clientes"].active) .table-wrap .action-row button{
    width:100%;
  }
}


/* NEXADRIVE_CREATE_CLIENT_UI_V1 */

.create-layout{
  gap:28px !important;
  align-items:start;
}

.form-grid-2{
  gap:18px !important;
}

.form-field{
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding:14px;
}

.form-field label{
  display:block;
  margin-bottom:8px;
  color:#9fb2d6;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.form-field input,
.form-field select,
.form-field textarea{
  min-height:48px;
}

#cliente_obs{
  min-height:120px;
}

.checkbox-line{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.checkbox-line:hover{
  background:rgba(79,124,255,.05);
}

.activation-steps{
  margin-top:22px;
  padding:20px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
}

.activation-steps h3{
  margin-bottom:18px;
}

.activation-step{
  display:flex;
  gap:14px;
  margin-bottom:14px;
}

.activation-step span{
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:white;
  background:linear-gradient(135deg,#4f7cff,#7c3aed);
  flex-shrink:0;
}

.create-actions{
  margin-top:24px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn-primary{
  min-width:240px;
  min-height:52px;
  font-size:15px;
}

.create-summary .detail-card{
  position:sticky;
  top:24px;
}

.summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.summary-total{
  margin-top:18px;
  padding:16px;
  border-radius:14px;
  background:rgba(79,124,255,.10);
  border:1px solid rgba(79,124,255,.18);
  color:#dbeafe;
}

.create-warning{
  margin-top:14px;
  padding:14px;
  border-radius:14px;
  background:rgba(245,158,11,.10);
  border:1px solid rgba(245,158,11,.18);
}


/* NEXADRIVE_PLANOS_SALDO_UI_V1 */

.plan-grid{
  gap:18px !important;
}

.plan-card{
  position:relative;
  overflow:hidden;
  min-height:250px !important;
  padding:22px !important;
}

.plan-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(79,124,255,.20), transparent 42%);
  pointer-events:none;
}

.plan-card h3{
  position:relative;
  color:#fff !important;
  font-size:20px !important;
  letter-spacing:-.03em;
}

.plan-space{
  position:relative;
  color:#60a5fa !important;
  font-size:34px !important;
  font-weight:900 !important;
  margin:10px 0 18px !important;
}

.plan-card .rows{
  position:relative;
  gap:12px !important;
}

.plan-card .rows div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#9fb2d6 !important;
}

.plan-card .rows strong{
  color:#fff !important;
}

.plan-card .rows div:last-child strong{
  color:#34d399 !important;
}

section.card:has(input[name^="precos"]){
  margin-top:22px !important;
}

section.card:has(input[name^="precos"]) h2{
  font-size:24px !important;
  color:#fff !important;
}

input[name^="precos"]{
  max-width:170px !important;
  font-weight:900 !important;
  text-align:right;
}

.plan-actions-box{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  margin-top:20px;
}

.plan-info-box,
.plan-cta-box{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(10,18,32,.96));
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 18px 52px rgba(0,0,0,.20);
}

.plan-info-box h3,
.plan-cta-box h3{
  color:#fff;
  font-size:22px;
  margin-bottom:8px;
}

.plan-info-box p,
.plan-cta-box p{
  color:#9fb2d6;
  line-height:1.55;
}

.plan-info-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.plan-info-list div{
  background:rgba(79,124,255,.08);
  border:1px solid rgba(79,124,255,.18);
  color:#dbeafe;
  border-radius:14px;
  padding:13px 14px;
  font-weight:800;
}

.plan-info-list div::before{
  content:"✓ ";
  color:#34d399;
  font-weight:900;
}

.plan-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

@media(max-width:1120px){
  .plan-actions-box{
    grid-template-columns:1fr;
  }
}


/* NEXADRIVE_VENCIMENTOS_UI_V1 */

.renewal-top,
.mov-top{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}

.renewal-top .metric,
.mov-top .metric{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(10,18,32,.96));
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:0 14px 38px rgba(0,0,0,.18);
}

.renewal-filter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 18px;
}

.renewal-filter .btn.active{
  background:linear-gradient(135deg,var(--blue),var(--violet)) !important;
  color:white !important;
}

.status-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
}

.status-pill.ok{
  background:rgba(34,197,94,.14);
  color:#86efac;
}

.status-pill.warn{
  background:rgba(245,158,11,.14);
  color:#fcd34d;
}

.status-pill.danger{
  background:rgba(239,68,68,.14);
  color:#fca5a5;
}

.renewal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.renewal-actions .btn,
.renewal-actions button{
  min-height:36px;
  border-radius:12px !important;
}

form.notice{
  background:linear-gradient(135deg,rgba(79,124,255,.14),rgba(124,58,237,.10)) !important;
  border-color:rgba(79,124,255,.28) !important;
}

@media(max-width:1120px){
  .renewal-top,
  .mov-top{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .renewal-top,
  .mov-top{
    grid-template-columns:1fr;
  }
}


/* NEXADRIVE_VENCIMENTOS_UI_V2 */

body:has(a[href="/?p=vencimentos"].active) .main > .card{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(7,14,26,.98)) !important;
  border-radius:26px !important;
  padding:24px !important;
}

body:has(a[href="/?p=vencimentos"].active) .main > .card > h2{
  font-size:30px !important;
  margin-bottom:6px !important;
}

body:has(a[href="/?p=vencimentos"].active) form.notice{
  padding:18px !important;
  border-radius:20px !important;
  box-shadow:0 18px 46px rgba(79,124,255,.14);
}

body:has(a[href="/?p=vencimentos"].active) .renewal-top .metric{
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.18), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98)) !important;
}

body:has(a[href="/?p=vencimentos"].active) .renewal-top .metric-value{
  font-size:36px !important;
}

body:has(a[href="/?p=vencimentos"].active) .renewal-filter{
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  padding:12px;
}

body:has(a[href="/?p=vencimentos"].active) table{
  border-collapse:separate !important;
  border-spacing:0 10px !important;
  min-width:980px;
}

body:has(a[href="/?p=vencimentos"].active) thead th{
  border-bottom:0 !important;
  background:rgba(15,29,54,.92) !important;
}

body:has(a[href="/?p=vencimentos"].active) tbody tr{
  background:rgba(255,255,255,.025);
  border-radius:18px;
}

body:has(a[href="/?p=vencimentos"].active) tbody td{
  border-top:1px solid rgba(255,255,255,.06) !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
  padding:20px 16px !important;
}

body:has(a[href="/?p=vencimentos"].active) tbody td:first-child{
  border-left:1px solid rgba(255,255,255,.06) !important;
  border-radius:18px 0 0 18px;
}

body:has(a[href="/?p=vencimentos"].active) tbody td:last-child{
  border-right:1px solid rgba(255,255,255,.06) !important;
  border-radius:0 18px 18px 0;
}

body:has(a[href="/?p=vencimentos"].active) tbody tr:hover{
  background:rgba(79,124,255,.10) !important;
}

body:has(a[href="/?p=vencimentos"].active) td strong{
  color:#fff;
}

body:has(a[href="/?p=vencimentos"].active) .renewal-actions{
  gap:8px !important;
}

body:has(a[href="/?p=vencimentos"].active) .renewal-actions .btn{
  padding:10px 13px !important;
}

@media(max-width:720px){
  body:has(a[href="/?p=vencimentos"].active) .main > .card{
    padding:16px !important;
  }

  body:has(a[href="/?p=vencimentos"].active) form.notice{
    align-items:stretch !important;
  }

  body:has(a[href="/?p=vencimentos"].active) form.notice .btn{
    width:100%;
  }

  body:has(a[href="/?p=vencimentos"].active) .renewal-filter{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:10px;
  }

  body:has(a[href="/?p=vencimentos"].active) .renewal-filter .btn{
    width:100%;
    padding:10px 8px !important;
  }

  body:has(a[href="/?p=vencimentos"].active) table{
    display:block;
    width:100%;
    min-width:0;
    border-spacing:0 !important;
  }

  body:has(a[href="/?p=vencimentos"].active) thead{
    display:none;
  }

  body:has(a[href="/?p=vencimentos"].active) tbody{
    display:grid;
    gap:14px;
  }

  body:has(a[href="/?p=vencimentos"].active) tbody tr,
  body:has(a[href="/?p=vencimentos"].active) tbody td{
    display:block;
    width:100%;
    min-width:0;
  }

  body:has(a[href="/?p=vencimentos"].active) tbody tr{
    padding:16px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:20px;
    background:rgba(255,255,255,.025);
    box-shadow:0 14px 38px rgba(0,0,0,.18);
  }

  body:has(a[href="/?p=vencimentos"].active) tbody td,
  body:has(a[href="/?p=vencimentos"].active) tbody td:first-child,
  body:has(a[href="/?p=vencimentos"].active) tbody td:last-child{
    padding:10px 0 !important;
    border:0 !important;
    border-bottom:1px solid rgba(148,163,184,.12) !important;
    border-radius:0;
    overflow-wrap:anywhere;
  }

  body:has(a[href="/?p=vencimentos"].active) tbody td:last-child{
    padding-bottom:0 !important;
    border-bottom:0 !important;
  }

  body:has(a[href="/?p=vencimentos"].active) tbody td::before{
    display:block;
    margin-bottom:5px;
    color:#9fb2d6;
    font-size:10px;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;
  }

  body:has(a[href="/?p=vencimentos"].active) tbody td:nth-child(1)::before{content:"Cliente"}
  body:has(a[href="/?p=vencimentos"].active) tbody td:nth-child(2)::before{content:"Plano"}
  body:has(a[href="/?p=vencimentos"].active) tbody td:nth-child(3)::before{content:"Vencimento"}
  body:has(a[href="/?p=vencimentos"].active) tbody td:nth-child(4)::before{content:"Status"}
  body:has(a[href="/?p=vencimentos"].active) tbody td:nth-child(5)::before{content:"Cobrança"}
  body:has(a[href="/?p=vencimentos"].active) tbody td:nth-child(6)::before{content:"Ações"}

  body:has(a[href="/?p=vencimentos"].active) .renewal-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px !important;
  }

  body:has(a[href="/?p=vencimentos"].active) .renewal-actions .btn,
  body:has(a[href="/?p=vencimentos"].active) .renewal-actions form,
  body:has(a[href="/?p=vencimentos"].active) .renewal-actions button{
    width:100%;
  }
}


/* NEXADRIVE_MOVIMENTACOES_UI_V1 */

body:has(a[href="/?p=movimentacoes"].active) .main > .card{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(7,14,26,.98)) !important;
  border-radius:26px !important;
  padding:24px !important;
}

body:has(a[href="/?p=movimentacoes"].active) .main > .card > h2{
  font-size:30px !important;
  margin-bottom:6px !important;
}

body:has(a[href="/?p=movimentacoes"].active) .mov-top{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin:20px 0;
}

body:has(a[href="/?p=movimentacoes"].active) .mov-top .metric{
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.18), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98)) !important;
  border:1px solid rgba(148,163,184,.18);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 38px rgba(0,0,0,.18);
}

body:has(a[href="/?p=movimentacoes"].active) .mov-top .metric-value{
  font-size:34px !important;
}

body:has(a[href="/?p=movimentacoes"].active) table{
  border-collapse:separate !important;
  border-spacing:0 10px !important;
  min-width:980px;
}

body:has(a[href="/?p=movimentacoes"].active) thead th{
  border-bottom:0 !important;
  background:rgba(15,29,54,.92) !important;
}

body:has(a[href="/?p=movimentacoes"].active) tbody tr{
  background:rgba(255,255,255,.025);
  border-radius:18px;
}

body:has(a[href="/?p=movimentacoes"].active) tbody td{
  border-top:1px solid rgba(255,255,255,.06) !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
  padding:20px 16px !important;
}

body:has(a[href="/?p=movimentacoes"].active) tbody td:first-child{
  border-left:1px solid rgba(255,255,255,.06) !important;
  border-radius:18px 0 0 18px;
}

body:has(a[href="/?p=movimentacoes"].active) tbody td:last-child{
  border-right:1px solid rgba(255,255,255,.06) !important;
  border-radius:0 18px 18px 0;
}

body:has(a[href="/?p=movimentacoes"].active) tbody tr:hover{
  background:rgba(79,124,255,.10) !important;
}

.mov-type{
  display:inline-flex;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
}

.mov-type.credit{
  background:rgba(34,197,94,.14);
  color:#86efac;
}

.mov-type.debit{
  background:rgba(239,68,68,.14);
  color:#fca5a5;
}

.mov-type.info{
  background:rgba(79,124,255,.14);
  color:#bfdbfe;
}

.money-positive{
  color:#86efac !important;
  font-weight:900;
}

.money-negative{
  color:#fca5a5 !important;
  font-weight:900;
}

.money-neutral{
  color:#bfdbfe !important;
  font-weight:900;
}

.mov-note{
  color:#8fa5c8 !important;
  font-size:12px;
}

body:has(a[href="/?p=movimentacoes"].active) td strong{
  color:#fff;
}

@media(max-width:1120px){
  body:has(a[href="/?p=movimentacoes"].active) .mov-top{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  body:has(a[href="/?p=movimentacoes"].active) .mov-top{
    grid-template-columns:1fr;
  }

  body:has(a[href="/?p=movimentacoes"].active) .main > .card{
    padding:16px !important;
  }

  body:has(a[href="/?p=movimentacoes"].active) table{
    display:block;
    width:100%;
    min-width:0;
    border-spacing:0 !important;
  }

  body:has(a[href="/?p=movimentacoes"].active) thead{
    display:none;
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody{
    display:grid;
    gap:14px;
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody tr,
  body:has(a[href="/?p=movimentacoes"].active) tbody td{
    display:block;
    width:100%;
    min-width:0;
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody tr{
    padding:16px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:20px;
    background:rgba(255,255,255,.025);
    box-shadow:0 14px 38px rgba(0,0,0,.18);
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody td,
  body:has(a[href="/?p=movimentacoes"].active) tbody td:first-child,
  body:has(a[href="/?p=movimentacoes"].active) tbody td:last-child{
    padding:10px 0 !important;
    border:0 !important;
    border-bottom:1px solid rgba(148,163,184,.12) !important;
    border-radius:0;
    overflow-wrap:anywhere;
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody td:last-child{
    padding-bottom:0 !important;
    border-bottom:0 !important;
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody td::before{
    display:block;
    margin-bottom:5px;
    color:#9fb2d6;
    font-size:10px;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;
  }

  body:has(a[href="/?p=movimentacoes"].active) tbody td:nth-child(1)::before{content:"Data"}
  body:has(a[href="/?p=movimentacoes"].active) tbody td:nth-child(2)::before{content:"Tipo"}
  body:has(a[href="/?p=movimentacoes"].active) tbody td:nth-child(3)::before{content:"Descrição"}
  body:has(a[href="/?p=movimentacoes"].active) tbody td:nth-child(4)::before{content:"Cliente"}
  body:has(a[href="/?p=movimentacoes"].active) tbody td:nth-child(5)::before{content:"Valor"}
  body:has(a[href="/?p=movimentacoes"].active) tbody td:nth-child(6)::before{content:"Saldo"}
}


/* NEXADRIVE_SUPORTE_UI_V1 */

body:has(a[href="/?p=suporte"].active) .main > .card{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(7,14,26,.98)) !important;
  border-radius:26px !important;
  padding:24px !important;
}

body:has(a[href="/?p=suporte"].active) .main > .card > h2{
  font-size:30px !important;
  margin-bottom:6px !important;
}

body:has(a[href="/?p=suporte"].active) .support-options{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:22px 0;
}

body:has(a[href="/?p=suporte"].active) .support-option{
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.18), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98));
  border:1px solid rgba(148,163,184,.18);
  border-radius:22px;
  padding:20px;
  min-height:120px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

body:has(a[href="/?p=suporte"].active) .support-option strong{
  color:#fff;
  font-size:18px;
  margin-bottom:8px;
}

body:has(a[href="/?p=suporte"].active) .support-option span{
  color:#9fb2d6;
  line-height:1.5;
}

body:has(a[href="/?p=suporte"].active) .support-layout{
  display:grid !important;
  grid-template-columns:1.25fr .75fr;
  gap:22px;
  margin-top:20px;
}

body:has(a[href="/?p=suporte"].active) .support-layout form,
body:has(a[href="/?p=suporte"].active) .support-layout aside{
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.12), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98));
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  padding:22px;
}

body:has(a[href="/?p=suporte"].active) .support-layout h3{
  color:#fff;
  font-size:24px;
}

body:has(a[href="/?p=suporte"].active) .ticket-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

body:has(a[href="/?p=suporte"].active) .ticket-item{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:16px;
  transition:.2s ease;
}

body:has(a[href="/?p=suporte"].active) .ticket-item:hover{
  background:rgba(79,124,255,.08);
  transform:translateY(-2px);
}

body:has(a[href="/?p=suporte"].active) .ticket-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

body:has(a[href="/?p=suporte"].active) .ticket-head strong{
  color:#fff;
}

body:has(a[href="/?p=suporte"].active) .priority{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

body:has(a[href="/?p=suporte"].active) .priority.baixa{
  background:rgba(34,197,94,.14);
  color:#86efac;
}

body:has(a[href="/?p=suporte"].active) .priority.media{
  background:rgba(245,158,11,.14);
  color:#fcd34d;
}

body:has(a[href="/?p=suporte"].active) .priority.alta{
  background:rgba(239,68,68,.14);
  color:#fca5a5;
}

body:has(a[href="/?p=suporte"].active) .support-note{
  margin-top:18px;
  padding:16px;
  border-radius:18px;
  background:rgba(79,124,255,.08);
  border:1px solid rgba(79,124,255,.18);
  color:#dbeafe;
}

@media(max-width:1100px){
  body:has(a[href="/?p=suporte"].active) .support-layout{
    grid-template-columns:1fr;
  }

  body:has(a[href="/?p=suporte"].active) .support-options{
    grid-template-columns:1fr;
  }
}


/* NEXADRIVE_CONFIG_UI_V1 */

body.partner-page-config .main > .card{
  background:linear-gradient(180deg,rgba(13,23,41,.98),rgba(7,14,26,.98)) !important;
  border-radius:26px !important;
  padding:24px !important;
}

body.partner-page-config .main > .card > h2{
  font-size:30px !important;
  margin-bottom:6px !important;
}

body.partner-page-config .grid-2{
  gap:22px !important;
  align-items:start;
}

body.partner-page-config .grid-2 > .card,
body.partner-page-config .grid-2 > form.card,
body.partner-page-config .grid-2 > aside.card{
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.12), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98)) !important;
  border:1px solid rgba(148,163,184,.18) !important;
  border-radius:24px !important;
  padding:22px !important;
}

body.partner-page-config h3{
  color:#fff !important;
  font-size:22px !important;
}

body.partner-page-config .detail-card{
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:18px !important;
  padding:16px !important;
}

body.partner-page-config .detail-label{
  color:#8fa5c8 !important;
  font-size:12px !important;
  text-transform:uppercase;
  letter-spacing:.08em;
}

body.partner-page-config .detail-value{
  color:#fff !important;
  font-size:24px !important;
  font-weight:800;
}

body.partner-page-config .detail-value.green{
  color:#34d399 !important;
  font-size:30px !important;
}

body.partner-page-config .pix-box{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:14px;
}

body.partner-page-config .pix-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

body.partner-page-config .pix-line:last-child{
  border-bottom:none;
}

body.partner-page-config .pix-line span{
  color:#8fa5c8;
}

body.partner-page-config .pix-line strong{
  color:#fff;
}

body.partner-page-config .create-actions{
  margin-top:18px !important;
}

body.partner-page-config .create-actions .btn{
  min-height:44px;
  border-radius:12px;
}

body.partner-page-config .password-toggle-wrap{
  position:relative;
}

body.partner-page-config .password-eye-toggle{
  border-radius:10px;
}

@media(max-width:1100px){
  body.partner-page-config .grid-2{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:720px){
  body.partner-page-config .main > .card{
    padding:16px !important;
  }

  body.partner-page-config .grid-2 > .card,
  body.partner-page-config .grid-2 > form.card,
  body.partner-page-config .grid-2 > aside.card{
    min-width:0;
    padding:16px !important;
  }

  body.partner-page-config .form-grid-2{
    grid-template-columns:1fr !important;
  }

  body.partner-page-config .form-field,
  body.partner-page-config .password-toggle-wrap,
  body.partner-page-config .password-toggle-wrap input{
    min-width:0;
    width:100%;
  }

  body.partner-page-config .create-actions{
    display:block;
  }

  body.partner-page-config .create-actions .btn{
    width:100%;
  }

  body.partner-page-config .pix-line{
    display:grid;
    grid-template-columns:1fr;
    gap:5px;
  }

  body.partner-page-config .pix-line strong{
    min-width:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
}


/* NEXADRIVE_DASHBOARD_UI_V2 */

body:has(a[href="/?p=dashboard"].active) .metrics .card{
  min-height:142px;
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.18), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98)) !important;
  border-radius:24px !important;
  padding:22px !important;
}

body:has(a[href="/?p=dashboard"].active) .metrics .metric-value{
  font-size:36px !important;
}

body:has(a[href="/?p=dashboard"].active) .grid-2{
  gap:22px !important;
}

body:has(a[href="/?p=dashboard"].active) .grid-2 > .card{
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.14), transparent 45%),
    linear-gradient(180deg,rgba(15,29,54,.98),rgba(10,18,32,.98)) !important;
  border-radius:26px !important;
  padding:24px !important;
}

body:has(a[href="/?p=dashboard"].active) .grid-2 > .card h2{
  font-size:26px !important;
  margin-bottom:8px;
}

body:has(a[href="/?p=dashboard"].active) .progress{
  height:15px !important;
  margin-top:16px !important;
}

body:has(a[href="/?p=dashboard"].active) .notice{
  padding:18px !important;
  border-radius:18px !important;
  line-height:1.55;
}

body:has(a[href="/?p=dashboard"].active) .policy-list{
  gap:12px !important;
}

body:has(a[href="/?p=dashboard"].active) .policy-list div{
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:16px !important;
  padding:14px 16px !important;
}

body:has(a[href="/?p=dashboard"].active) .policy-list div::before{
  content:"✓ ";
  color:#34d399;
  font-weight:900;
}

body:has(a[href="/?p=dashboard"].active) .card:not(.policy-card) .notice{
  background:rgba(34,197,94,.10) !important;
  border-color:rgba(34,197,94,.20) !important;
  color:#bbf7d0 !important;
}

body:has(a[href="/?p=dashboard"].active) .section-title{
  display:none !important;
}



/* PARTNER_CENTER_V2_DARK_MATCH_V3 */
body:has(a[href="/?p=dashboard"].active){--pc-bg:#0b1220;--pc-sidebar:#202b3a;--pc-panel:#202a37;--pc-border:#334155;--pc-muted:#94a3b8;--pc-blue:#1f7ae0}
body:has(a[href="/?p=dashboard"].active) .app{background:var(--pc-bg)!important}
body:has(a[href="/?p=dashboard"].active) .sidebar{background:var(--pc-sidebar)!important;border-right:1px solid rgba(148,163,184,.10)}
body:has(a[href="/?p=dashboard"].active) .mark{background:#1f7ae0!important;border-radius:8px!important}
body:has(a[href="/?p=dashboard"].active) .menu a{color:#b8c4d4!important;border-radius:8px!important;padding:11px 10px!important}
body:has(a[href="/?p=dashboard"].active) .menu a.active,body:has(a[href="/?p=dashboard"].active) .menu a:hover{background:rgba(31,122,224,.16)!important;color:#fff!important}
body:has(a[href="/?p=dashboard"].active) .main{background:var(--pc-bg)!important;padding:0 24px 40px!important}
body:has(a[href="/?p=dashboard"].active) .partner-shellbar{min-height:70px;margin:0 -24px 34px;padding:0 30px;border-bottom:1px solid rgba(148,163,184,.14);display:flex;justify-content:flex-end;align-items:center;gap:14px}
body:has(a[href="/?p=dashboard"].active) .system-pill{display:inline-flex;align-items:center;min-height:20px;padding:3px 9px;border-radius:6px;background:rgba(34,197,94,.12);color:#22c55e;font-size:12px;font-weight:900}
body:has(a[href="/?p=dashboard"].active) .user-chip{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#1f2937;border:1px solid rgba(148,163,184,.22);color:#fff;font-weight:900}
body:has(a[href="/?p=dashboard"].active) .partner-topbar{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:18px 0!important;margin-bottom:0!important;display:block!important}
body:has(a[href="/?p=dashboard"].active) .partner-topbar:after,body:has(a[href="/?p=dashboard"].active) .partner-topbar-balance,body:has(a[href="/?p=dashboard"].active) .dashboard-hero-actions{display:none!important}
body:has(a[href="/?p=dashboard"].active) .partner-topbar .eyebrow{display:none}
body:has(a[href="/?p=dashboard"].active) .partner-topbar h1{color:#fff!important;font-size:20px!important;line-height:1.25!important;margin-bottom:7px!important}
body:has(a[href="/?p=dashboard"].active) .partner-topbar p{color:var(--pc-muted)!important;font-size:13px!important}
body:has(a[href="/?p=dashboard"].active) .metrics{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important;margin-bottom:24px!important}
body:has(a[href="/?p=dashboard"].active) .metrics .card{min-height:118px!important;background:var(--pc-panel)!important;border:1px solid var(--pc-border)!important;border-radius:8px!important;padding:22px!important;box-shadow:none!important}
body:has(a[href="/?p=dashboard"].active) .metrics .card:before{display:none!important}
body:has(a[href="/?p=dashboard"].active) .metric-label{color:#6b7280!important;font-size:13px!important;text-transform:none!important;letter-spacing:0!important}
body:has(a[href="/?p=dashboard"].active) .metric-value{color:#fff!important;font-size:27px!important;line-height:1.05!important}
body:has(a[href="/?p=dashboard"].active) .metric-value.green{color:#22c55e!important}
body:has(a[href="/?p=dashboard"].active) .metric-value.red{color:#ef4444!important}
body:has(a[href="/?p=dashboard"].active) .metric-value.yellow{color:#f59e0b!important}
body:has(a[href="/?p=dashboard"].active) .metric-desc{color:#2f8cff!important;font-size:10px!important;min-height:auto!important;margin-top:8px!important}
body:has(a[href="/?p=dashboard"].active) .grid-2{grid-template-columns:1fr 1fr!important;gap:16px!important}
body:has(a[href="/?p=dashboard"].active) .grid-2>.card{background:var(--pc-panel)!important;border:1px solid var(--pc-border)!important;border-radius:8px!important;color:#fff!important;padding:22px 24px!important;box-shadow:none!important}
body:has(a[href="/?p=dashboard"].active) .grid-2>.card h2{color:#fff!important;font-size:20px!important}
body:has(a[href="/?p=dashboard"].active) .muted,body:has(a[href="/?p=dashboard"].active) .policy-card p{color:var(--pc-muted)!important;font-size:13px!important}
body:has(a[href="/?p=dashboard"].active) .progress{height:8px!important;background:#3b4657!important;border-radius:999px!important}
body:has(a[href="/?p=dashboard"].active) .progress div{background:#1f7ae0!important}
body:has(a[href="/?p=dashboard"].active) .notice,body:has(a[href="/?p=dashboard"].active) .policy-list div{background:rgba(15,23,42,.35)!important;border:1px solid rgba(148,163,184,.18)!important;color:#dbeafe!important;border-radius:8px!important}
@media(max-width:1120px){body:has(a[href="/?p=dashboard"].active) .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){body:has(a[href="/?p=dashboard"].active) .main{padding:0 16px 28px!important}body:has(a[href="/?p=dashboard"].active) .metrics,body:has(a[href="/?p=dashboard"].active) .grid-2{grid-template-columns:1fr!important}}

/* PARTNER_CLIENT_CARDS_V2 */
.partner-client-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:6px}
.partner-client-card{background:#202a37;border:1px solid #334155;border-radius:8px;padding:22px;color:#f8fafc;box-shadow:none}
.partner-client-head{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:start;margin-bottom:18px}
.partner-client-avatar{width:46px;height:46px;border-radius:8px;display:grid;place-items:center;background:#1f7ae0;color:#fff;font-weight:900}
.partner-client-name{color:#fff;font-size:17px;font-weight:900;line-height:1.2}
.partner-client-email{color:#64748b;font-size:13px;line-height:1.35;margin-top:4px;overflow-wrap:anywhere}
.partner-client-status{color:#22c55e;font-size:12px;font-weight:900;text-transform:lowercase;white-space:nowrap}
.partner-client-status.suspenso,.partner-client-status.vencido{color:#ef4444}
.partner-client-status.alerta{color:#f59e0b}
.partner-client-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin-bottom:18px}
.partner-client-metrics span{display:block;color:#64748b;font-size:12px;margin-bottom:5px}
.partner-client-metrics strong{display:block;color:#fff;font-size:15px;line-height:1.25}
.partner-client-usage{margin:4px 0 20px}
.partner-client-usage-label{display:flex;justify-content:space-between;gap:10px;color:#64748b;font-size:12px;margin-bottom:7px}
.partner-client-usage .progress{height:8px;margin:0;background:#3b4657}
.partner-client-usage .progress div{background:#1f7ae0}
.partner-client-actions{display:flex;gap:9px;flex-wrap:wrap}
.partner-client-actions .btn,.partner-client-actions button{min-height:38px;padding:9px 14px;border-radius:8px;font-size:13px}
.partner-client-actions .btn-primary-card{background:#1f7ae0;border:1px solid #1f7ae0;color:#fff}
.partner-client-actions .btn-outline-card{background:transparent;border:1px solid #94a3b8;color:#cbd5e1}
@media(max-width:1180px){.partner-client-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.partner-client-cards{grid-template-columns:1fr}}

/* PARTNER_CLIENT_CARDS_POLISH_V3 */
body:has(a[href="/?p=dashboard"].active) .partner-client-cards{
  grid-template-columns:repeat(2,minmax(300px,1fr))!important;
  gap:16px!important;
  margin-top:6px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-card{
  min-height:292px;
  background:#202a37!important;
  border:1px solid #334155!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-email{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#64748b!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-actions .btn-primary-card,
body:has(a[href="/?p=dashboard"].active) .partner-client-actions button.btn-primary-card{
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-actions .btn-outline-card,
body:has(a[href="/?p=dashboard"].active) .partner-client-actions button.btn-outline-card{
  background:transparent!important;
  border:1px solid #94a3b8!important;
  color:#cbd5e1!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-actions .btn-outline-card:hover,
body:has(a[href="/?p=dashboard"].active) .partner-client-actions button.btn-outline-card:hover{
  border-color:#1f7ae0!important;
  color:#fff!important;
  background:rgba(31,122,224,.12)!important;
}
@media(max-width:900px){
  body:has(a[href="/?p=dashboard"].active) .partner-client-cards{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CLIENT_CARDS_COMPACT_4COL_V4 */
body:has(a[href="/?p=dashboard"].active) .partner-client-cards{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:8px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-card{
  min-height:220px!important;
  padding:16px!important;
  border-radius:8px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-head{
  grid-template-columns:38px 1fr auto!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-avatar{
  width:38px!important;
  height:38px!important;
  border-radius:8px!important;
  font-size:13px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-name{
  font-size:14px!important;
  line-height:1.15!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-email{
  font-size:11px!important;
  line-height:1.25!important;
  -webkit-line-clamp:1!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-status{
  font-size:11px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-metrics{
  gap:10px 12px!important;
  margin-bottom:12px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-metrics span{
  font-size:11px!important;
  margin-bottom:3px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-metrics strong{
  font-size:13px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-usage{
  margin:0 0 14px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-usage-label{
  font-size:11px!important;
  margin-bottom:5px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-actions{
  gap:7px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-client-actions .btn,
body:has(a[href="/?p=dashboard"].active) .partner-client-actions button{
  min-height:26px!important;
  padding:7px 10px!important;
  font-size:10px!important;
}
@media(max-width:1360px){
  body:has(a[href="/?p=dashboard"].active) .partner-client-cards{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1040px){
  body:has(a[href="/?p=dashboard"].active) .partner-client-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=dashboard"].active) .partner-client-cards{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_STORAGE_DONUT_V1 */
body:has(a[href="/?p=dashboard"].active) .storage-visual{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:22px;
  align-items:center;
  margin-top:16px;
}
body:has(a[href="/?p=dashboard"].active) .storage-donut{
  --value:0;
  width:156px;
  aspect-ratio:1;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at center,#202a37 0 58%,transparent 59%),
    conic-gradient(#1f7ae0 calc(var(--value) * 1%),#334155 0);
  box-shadow:inset 0 0 0 1px rgba(148,163,184,.18),0 18px 40px rgba(2,6,23,.22);
}
body:has(a[href="/?p=dashboard"].active) .storage-donut strong{
  color:#fff;
  font-size:28px;
  line-height:1;
}
body:has(a[href="/?p=dashboard"].active) .storage-donut span{
  color:#94a3b8;
  font-size:11px;
  font-weight:800;
  margin-top:4px;
}
body:has(a[href="/?p=dashboard"].active) .storage-donut-center{
  display:grid;
  place-items:center;
  text-align:center;
}
body:has(a[href="/?p=dashboard"].active) .storage-stats{
  display:grid;
  gap:10px;
}
body:has(a[href="/?p=dashboard"].active) .storage-stat{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid rgba(148,163,184,.14);
}
body:has(a[href="/?p=dashboard"].active) .storage-stat:last-child{
  border-bottom:0;
}
body:has(a[href="/?p=dashboard"].active) .storage-stat span{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
body:has(a[href="/?p=dashboard"].active) .storage-stat strong{
  color:#fff;
  font-size:15px;
}
@media(max-width:820px){
  body:has(a[href="/?p=dashboard"].active) .storage-visual{
    grid-template-columns:1fr;
  }
  body:has(a[href="/?p=dashboard"].active) .storage-donut{
    margin:auto;
  }
}

/* PARTNER_STORAGE_DONUT_ZERO_STATE_V2 */
body:has(a[href="/?p=dashboard"].active) .storage-donut{
  background:
    radial-gradient(circle at center,#202a37 0 58%,transparent 59%),
    conic-gradient(#1f7ae0 max(calc(var(--value) * 1%), 3%),#334155 0)!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-donut.is-empty{
  background:
    radial-gradient(circle at center,#202a37 0 58%,transparent 59%),
    conic-gradient(#1f7ae0 3%,#334155 0)!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-donut.is-empty strong{
  color:#38bdf8!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-insight{
  margin-top:14px;
  padding:12px 14px;
  border-radius:8px;
  background:rgba(31,122,224,.10);
  border:1px solid rgba(31,122,224,.24);
  color:#bfdbfe;
  font-size:13px;
  font-weight:800;
  line-height:1.4;
}

/* PARTNER_CLIENT_REAL_USAGE_LABELS_V1 */

/* PARTNER_DASHBOARD_QUICK_CLIENTS_V1 */
body:has(a[href="/?p=dashboard"].active) .dashboard-quick-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-end;
  margin:8px 0 12px;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-quick-head h2{
  color:#fff;
  font-size:20px;
  margin:0;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-quick-head p{
  color:#94a3b8;
  font-size:13px;
  margin-top:4px;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-quick-head a{
  color:#60a5fa;
  font-size:13px;
  font-weight:900;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick .partner-client-card{
  min-height:196px!important;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick .partner-client-actions{
  margin-top:4px;
}
@media(max-width:1360px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1040px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_DASHBOARD_OPERATION_STRIP_V1 */
body:has(a[href="/?p=dashboard"].active) .dashboard-operation-strip{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
  margin-top:18px;
}
body:has(a[href="/?p=dashboard"].active) .operation-card{
  background:#202a37;
  border:1px solid #334155;
  border-radius:8px;
  padding:18px 20px;
  color:#fff;
}
body:has(a[href="/?p=dashboard"].active) .operation-card h2{
  color:#fff;
  font-size:18px;
  margin:0 0 8px;
}
body:has(a[href="/?p=dashboard"].active) .operation-card p{
  color:#94a3b8;
  font-size:13px;
  line-height:1.45;
}
body:has(a[href="/?p=dashboard"].active) .operation-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
body:has(a[href="/?p=dashboard"].active) .operation-pills span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:7px 10px;
  border-radius:8px;
  background:rgba(15,23,42,.35);
  border:1px solid rgba(148,163,184,.18);
  color:#dbeafe;
  font-size:12px;
  font-weight:900;
}
body:has(a[href="/?p=dashboard"].active) .operation-pills span:before{
  content:"✓";
  color:#22c55e;
  margin-right:6px;
}
body:has(a[href="/?p=dashboard"].active) .operation-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:8px;
  background:rgba(34,197,94,.10);
  border:1px solid rgba(34,197,94,.22);
  color:#bbf7d0;
  font-size:13px;
  font-weight:900;
  line-height:1.45;
}
@media(max-width:900px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-operation-strip{
    grid-template-columns:1fr;
  }
}

/* PARTNER_DASHBOARD_RECOMMENDED_ACTION_V1 */
body:has(a[href="/?p=dashboard"].active) .recommended-action{
  display:grid;
  gap:14px;
}
body:has(a[href="/?p=dashboard"].active) .recommended-badge{
  display:inline-flex;
  width:max-content;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border-radius:8px;
  background:rgba(31,122,224,.14);
  border:1px solid rgba(31,122,224,.34);
  color:#60a5fa;
  font-size:12px;
  font-weight:900;
}
body:has(a[href="/?p=dashboard"].active) .recommended-box{
  padding:16px;
  border-radius:8px;
  background:rgba(15,23,42,.35);
  border:1px solid rgba(148,163,184,.18);
}
body:has(a[href="/?p=dashboard"].active) .recommended-box strong{
  display:block;
  color:#fff;
  font-size:17px;
  margin-bottom:6px;
}
body:has(a[href="/?p=dashboard"].active) .recommended-box p{
  color:#94a3b8;
  font-size:13px;
  line-height:1.45;
}
body:has(a[href="/?p=dashboard"].active) .recommended-action .btn{
  width:max-content;
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
  border-radius:8px!important;
}

/* PARTNER_DASHBOARD_DENSITY_POLISH_V1 */
body:has(a[href="/?p=dashboard"].active) .partner-shellbar{
  min-height:58px!important;
  margin:0 -24px 22px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-topbar{
  padding:8px 0 16px!important;
}
body:has(a[href="/?p=dashboard"].active) .partner-topbar h1{
  font-size:22px!important;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-premium{
  gap:16px!important;
}
body:has(a[href="/?p=dashboard"].active) .metrics{
  margin-bottom:8px!important;
}
body:has(a[href="/?p=dashboard"].active) .metrics .card{
  min-height:104px!important;
  padding:18px 20px!important;
  position:relative;
  overflow:hidden;
}
body:has(a[href="/?p=dashboard"].active) .metrics .card:after{
  content:"";
  position:absolute;
  right:16px;
  bottom:14px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(31,122,224,.10);
  border:1px solid rgba(96,165,250,.18);
}
body:has(a[href="/?p=dashboard"].active) .metric-value{
  font-size:31px!important;
}
body:has(a[href="/?p=dashboard"].active) .metric-desc{
  max-width:130px;
}
body:has(a[href="/?p=dashboard"].active) .storage-visual{
  grid-template-columns:150px 1fr!important;
  gap:20px!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-donut{
  width:138px!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-insight{
  width:max-content;
  max-width:230px;
  margin-top:10px!important;
}
body:has(a[href="/?p=dashboard"].active) .recommended-action{
  align-content:start;
}
body:has(a[href="/?p=dashboard"].active) .recommended-box{
  padding:14px!important;
}
body:has(a[href="/?p=dashboard"].active) .recommended-action .btn{
  min-height:40px!important;
  padding:10px 16px!important;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-operation-strip{
  margin-top:10px!important;
}
body:has(a[href="/?p=dashboard"].active) .operation-card{
  padding:16px 18px!important;
}
body:has(a[href="/?p=dashboard"].active) .operation-pills{
  margin-top:10px!important;
}
@media(max-width:820px){
  body:has(a[href="/?p=dashboard"].active) .storage-visual{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_DASHBOARD_FINAL_POLISH_V1 */
body:has(a[href="/?p=dashboard"].active) .metrics .card:after{
  display:none!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-insight{
  width:auto!important;
  max-width:none!important;
  margin-top:12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#94a3b8!important;
  font-size:13px!important;
}
body:has(a[href="/?p=dashboard"].active) .storage-insight:before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#1f7ae0;
  margin-right:8px;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-quick-head{
  margin-top:2px!important;
}
body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:1360px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1040px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=dashboard"].active) .dashboard-client-quick{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CLIENTS_PAGE_V2_POLISH_V1 */
body:has(a[href="/?p=clientes"].active) .app{
  background:#0b1220!important;
}

body:has(a[href="/?p=clientes"].active) .main{
  background:#0b1220!important;
  padding:26px 26px 42px!important;
}
body:has(a[href="/?p=clientes"].active) .partner-topbar{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin-bottom:24px!important;
}
body:has(a[href="/?p=clientes"].active) .partner-topbar .eyebrow{
  display:none!important;
}
body:has(a[href="/?p=clientes"].active) .partner-topbar h1{
  font-size:22px!important;
  color:#fff!important;
}
body:has(a[href="/?p=clientes"].active) .partner-topbar p{
  color:#94a3b8!important;
  font-size:13px!important;
}
body:has(a[href="/?p=clientes"].active) .partner-topbar-balance{
  display:none!important;
}
body:has(a[href="/?p=clientes"].active) .partner-client-cards{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
body:has(a[href="/?p=clientes"].active) .partner-client-card{
  min-height:220px!important;
  padding:16px!important;
}
body:has(a[href="/?p=clientes"].active) .partner-client-actions .btn-primary-card,
body:has(a[href="/?p=clientes"].active) .partner-client-actions button.btn-primary-card{
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
}
body:has(a[href="/?p=clientes"].active) .partner-client-actions .btn-outline-card,
body:has(a[href="/?p=clientes"].active) .partner-client-actions button.btn-outline-card{
  background:transparent!important;
  border:1px solid #94a3b8!important;
  color:#cbd5e1!important;
}
body:has(a[href="/?p=clientes"].active) .partner-client-actions .btn-outline-card:hover,
body:has(a[href="/?p=clientes"].active) .partner-client-actions button.btn-outline-card:hover{
  border-color:#1f7ae0!important;
  background:rgba(31,122,224,.12)!important;
  color:#fff!important;
}
@media(max-width:1360px){
  body:has(a[href="/?p=clientes"].active) .partner-client-cards{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1040px){
  body:has(a[href="/?p=clientes"].active) .partner-client-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=clientes"].active) .partner-client-cards{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CLIENT_STATUS_BADGE_FIX_V1 */
.partner-client-card{
  position:relative!important;
  overflow:hidden!important;
}
.partner-client-head{
  grid-template-columns:48px 1fr!important;
  padding-right:74px!important;
}
.partner-client-status{
  position:absolute!important;
  top:18px!important;
  right:16px!important;
  max-width:70px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:right!important;
  font-size:11px!important;
  line-height:1.1!important;
}
.partner-client-name{
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
@media(max-width:760px){
  .partner-client-head{
    padding-right:68px!important;
  }
}

/* PARTNER_DETAILS_PAGE_V2_POLISH_V1 */
body:has(a[href="/?p=detalhes"].active),
body:has(.DETAILS_PAGE_PARTNER_V1),
body:has(.detail-grid){
  background:#0b1220!important;
}
body:has(a[href="/?p=detalhes"].active) .app,
body:has(.detail-grid) .app{
  background:#0b1220!important;
}

body:has(a[href="/?p=detalhes"].active) .main,
body:has(.detail-grid) .main{
  background:#0b1220!important;
  padding:26px 26px 42px!important;
}
body:has(a[href="/?p=detalhes"].active) .partner-topbar,
body:has(.detail-grid) .partner-topbar{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin-bottom:24px!important;
}
body:has(a[href="/?p=detalhes"].active) .partner-topbar .eyebrow,
body:has(.detail-grid) .partner-topbar .eyebrow{
  display:none!important;
}
body:has(a[href="/?p=detalhes"].active) .partner-topbar h1,
body:has(.detail-grid) .partner-topbar h1{
  color:#fff!important;
  font-size:22px!important;
}
body:has(a[href="/?p=detalhes"].active) .partner-topbar p,
body:has(.detail-grid) .partner-topbar p{
  color:#94a3b8!important;
  font-size:13px!important;
}
body:has(a[href="/?p=detalhes"].active) .partner-topbar-balance,
body:has(.detail-grid) .partner-topbar-balance{
  display:none!important;
}
body:has(a[href="/?p=detalhes"].active) section.card,
body:has(.detail-grid) section.card{
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  box-shadow:none!important;
  color:#fff!important;
  padding:22px!important;
}
body:has(a[href="/?p=detalhes"].active) section.card > h2,
body:has(.detail-grid) section.card > h2{
  color:#fff!important;
  font-size:22px!important;
  margin-bottom:4px!important;
}
body:has(a[href="/?p=detalhes"].active) .detail-grid,
body:has(.detail-grid) .detail-grid{
  grid-template-columns:1.5fr .75fr .75fr!important;
  gap:14px!important;
}
body:has(a[href="/?p=detalhes"].active) .detail-card,
body:has(.detail-grid) .detail-card{
  background:#202a37!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  box-shadow:none!important;
  padding:18px!important;
}
body:has(a[href="/?p=detalhes"].active) .detail-label,
body:has(.detail-grid) .detail-label{
  color:#64748b!important;
  font-size:10px!important;
}
body:has(a[href="/?p=detalhes"].active) .detail-value,
body:has(.detail-grid) .detail-value{
  color:#fff!important;
  font-size:22px!important;
}
body:has(a[href="/?p=detalhes"].active) .detail-text,
body:has(.detail-grid) .detail-text{
  color:#94a3b8!important;
}
body:has(a[href="/?p=detalhes"].active) .progress,
body:has(.detail-grid) .progress{
  height:8px!important;
  background:#3b4657!important;
}
body:has(a[href="/?p=detalhes"].active) .progress div,
body:has(.detail-grid) .progress div{
  background:#1f7ae0!important;
}
body:has(a[href="/?p=detalhes"].active) .action-grid,
body:has(.detail-grid) .action-grid{
  gap:10px!important;
  margin-top:18px!important;
}
body:has(a[href="/?p=detalhes"].active) .action-grid .btn,
body:has(a[href="/?p=detalhes"].active) .action-grid button,
body:has(.detail-grid) .action-grid .btn,
body:has(.detail-grid) .action-grid button{
  min-width:auto!important;
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:8px!important;
  background:transparent!important;
  border:1px solid #94a3b8!important;
  color:#cbd5e1!important;
}
body:has(a[href="/?p=detalhes"].active) .action-grid .btn-primary,
body:has(a[href="/?p=detalhes"].active) .action-grid button.btn-primary,
body:has(.detail-grid) .action-grid .btn-primary,
body:has(.detail-grid) .action-grid button.btn-primary{
  background:#1f7ae0!important;
  border-color:#1f7ae0!important;
  color:#fff!important;
}
body:has(a[href="/?p=detalhes"].active) .notice,
body:has(.detail-grid) .notice{
  background:rgba(31,122,224,.10)!important;
  border:1px solid rgba(31,122,224,.24)!important;
  color:#bfdbfe!important;
}
@media(max-width:1040px){
  body:has(a[href="/?p=detalhes"].active) .detail-grid,
  body:has(.detail-grid) .detail-grid{
    grid-template-columns:1fr 1fr!important;
  }
  body:has(a[href="/?p=detalhes"].active) .detail-card.wide,
  body:has(.detail-grid) .detail-card.wide{
    grid-column:1/-1!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=detalhes"].active) .detail-grid,
  body:has(.detail-grid) .detail-grid{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_DETAILS_BOTTOM_POLISH_V1 */
body:has(.detail-grid) section.card + section.card{
  margin-top:18px!important;
}
body:has(.detail-grid) section.card .create-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:0!important;
}
body:has(.detail-grid) section.card .create-actions .btn{
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:8px!important;
  background:transparent!important;
  border:1px solid #94a3b8!important;
  color:#cbd5e1!important;
}
body:has(.detail-grid) section.card .create-actions .btn:hover{
  border-color:#1f7ae0!important;
  background:rgba(31,122,224,.12)!important;
  color:#fff!important;
}
body:has(.detail-grid) section.card .notice{
  margin-top:14px!important;
  background:rgba(31,122,224,.10)!important;
  border:1px solid rgba(31,122,224,.28)!important;
  color:#bfdbfe!important;
  border-radius:8px!important;
}
body:has(.detail-grid) section.card:has(table){
  padding:22px!important;
}
body:has(.detail-grid) section.card table{
  min-width:0!important;
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  overflow:hidden!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body:has(.detail-grid) section.card thead th{
  background:#122039!important;
  color:#bfdbfe!important;
  border-bottom:1px solid #334155!important;
  padding:14px 16px!important;
  font-size:11px!important;
  letter-spacing:.05em!important;
}
body:has(.detail-grid) section.card tbody td{
  background:#0f172a!important;
  color:#e2e8f0!important;
  border-bottom:1px solid rgba(148,163,184,.14)!important;
  padding:16px!important;
}
body:has(.detail-grid) section.card tbody tr:nth-child(even) td{
  background:#142039!important;
}
body:has(.detail-grid) section.card tbody tr:last-child td{
  border-bottom:0!important;
}
body:has(.detail-grid) section.card tbody td:first-child{
  color:#fff!important;
  font-weight:900!important;
}
body:has(.detail-grid) section.card tbody td:last-child{
  color:#fff!important;
  font-weight:900!important;
}
@media(max-width:820px){
  body:has(.detail-grid) section.card .create-actions{
    justify-content:flex-start;
  }
  body:has(.detail-grid) section.card table{
    display:block;
    overflow:auto;
  }
}

/* PARTNER_DASHBOARD_CENTER_REBUILD_V1 */
body:has(a[href="/?p=dashboard"].active) .partner-topbar{display:none!important}
.partner-center-hero{
  background:linear-gradient(135deg,#13275a,#152454);
  border:1px solid rgba(96,165,250,.28);
  border-radius:8px;
  padding:30px 32px;
  min-height:210px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:start;
  margin-bottom:26px;
}
.partner-center-kicker{
  color:#38bdf8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.partner-center-hero h1{
  color:#fff;
  font-size:34px;
  line-height:1.05;
  margin:0 0 10px;
}
.partner-center-hero p{
  color:#b7c8e8;
  font-size:15px;
}
.partner-center-status{
  display:grid;
  justify-items:end;
  gap:12px;
}
.partner-center-status .system-pill{
  min-height:34px;
  padding:8px 14px;
  border-radius:999px;
}
.partner-center-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-self:end;
}
.partner-center-actions .btn{
  min-height:46px;
  padding:12px 18px;
  border-radius:8px;
  background:#1f7ae0;
  border:1px solid #1f7ae0;
  color:#fff;
}
.partner-center-actions .btn.btn-outline{
  background:transparent;
  border-color:#46638f;
  color:#dbeafe;
}
.partner-section-title{
  margin:0 0 16px;
}
.partner-section-title h2{
  color:#fff;
  font-size:20px;
  margin:0 0 5px;
}
.partner-section-title p{
  color:#94a3b8;
  font-size:13px;
}
.partner-summary-grid,
.partner-ops-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px;
}
.partner-center-card{
  background:#202a37;
  border:1px solid #334155;
  border-radius:8px;
  padding:22px;
  min-height:152px;
  color:#fff;
}
.partner-center-card-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:16px;
}
.partner-center-card span{
  color:#64748b;
  font-size:13px;
}
.partner-center-card strong{
  display:block;
  color:#fff;
  font-size:27px;
  line-height:1.12;
}
.partner-center-card small{
  display:block;
  color:#22c55e;
  font-size:12px;
  font-weight:800;
  margin-top:8px;
}
.partner-center-icon{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#2b3646;
  color:#fff;
  font-weight:900;
}
.partner-center-icon.blue{color:#38bdf8}
.partner-center-icon.green{color:#22c55e}
.partner-center-icon.yellow{color:#f59e0b}
.partner-center-icon.red{color:#ef4444}
.partner-wide-card{
  grid-column:span 2;
  min-height:210px;
}
.partner-center-storage{
  display:grid;
  grid-template-columns:138px 1fr;
  gap:20px;
  align-items:center;
}
.partner-center-note{
  margin-top:12px;
  color:#94a3b8;
  font-size:13px;
}
.partner-client-cards.dashboard-client-quick{
  margin-bottom:26px;
}
@media(max-width:1180px){
  .partner-summary-grid,.partner-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .partner-wide-card{grid-column:span 1}
}
@media(max-width:820px){
  .partner-center-hero{grid-template-columns:1fr}
  .partner-center-status{justify-items:start}
  .partner-summary-grid,.partner-ops-grid{grid-template-columns:1fr}
  .partner-center-storage{grid-template-columns:1fr}
}

/* PARTNER_DASHBOARD_CENTER_FINAL_TUNE_V2 */
.partner-center-hero{
  background:
    linear-gradient(135deg,rgba(31,122,224,.22),rgba(124,58,237,.12)),
    #13254f!important;
}
.partner-center-actions .btn{
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
}
.partner-center-actions .btn.btn-outline{
  background:transparent!important;
  border:1px solid #46638f!important;
  color:#dbeafe!important;
}
.partner-center-actions .btn.btn-outline:hover{
  background:rgba(31,122,224,.14)!important;
  border-color:#1f7ae0!important;
}
.partner-center-card{
  transition:border-color .18s ease, transform .18s ease;
}
.partner-center-card:hover,
.partner-client-card:hover{
  border-color:#41658f!important;
}
.partner-center-icon{
  background:rgba(148,163,184,.10)!important;
  border:1px solid rgba(148,163,184,.12)!important;
}
.partner-summary-grid .partner-center-card{
  min-height:142px!important;
}
.partner-client-cards.dashboard-client-quick .partner-client-card{
  min-height:210px!important;
  padding:16px!important;
}
.partner-client-cards.dashboard-client-quick .partner-client-actions .btn{
  min-height:34px!important;
  padding:8px 12px!important;
}

/* PARTNER_DASHBOARD_EXTRA_KPIS_V1 */
.partner-summary-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.partner-summary-grid .partner-center-card{
  min-height:132px!important;
  padding:18px!important;
}
.partner-summary-grid .partner-center-card strong{
  font-size:24px!important;
}
.partner-summary-grid .partner-center-card small{
  line-height:1.25;
}
@media(max-width:1400px){
  .partner-summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  .partner-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .partner-summary-grid{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CLIENTS_PAGE_HEADER_V1 */
body:has(a[href="/?p=clientes"].active) .clients-page-head{
  margin-bottom:22px;
}
body:has(a[href="/?p=clientes"].active) .clients-page-title{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:16px;
}
body:has(a[href="/?p=clientes"].active) .clients-page-title h1{
  color:#fff;
  font-size:28px;
  margin:0 0 6px;
}
body:has(a[href="/?p=clientes"].active) .clients-page-title p{
  color:#94a3b8;
  font-size:14px;
}
body:has(a[href="/?p=clientes"].active) .clients-page-title .btn{
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
  border-radius:8px!important;
  min-height:42px!important;
  padding:11px 16px!important;
}
body:has(a[href="/?p=clientes"].active) .clients-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
body:has(a[href="/?p=clientes"].active) .clients-summary-card{
  background:#202a37;
  border:1px solid #334155;
  border-radius:8px;
  padding:16px;
}
body:has(a[href="/?p=clientes"].active) .clients-summary-card span{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
body:has(a[href="/?p=clientes"].active) .clients-summary-card strong{
  display:block;
  color:#fff;
  font-size:24px;
  margin-top:8px;
}
body:has(a[href="/?p=clientes"].active) .clients-summary-card small{
  color:#22c55e;
  font-size:12px;
  font-weight:800;
}
body:has(a[href="/?p=clientes"].active) .partner-client-cards{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
@media(max-width:1360px){
  body:has(a[href="/?p=clientes"].active) .partner-client-cards,
  body:has(a[href="/?p=clientes"].active) .clients-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1040px){
  body:has(a[href="/?p=clientes"].active) .partner-client-cards,
  body:has(a[href="/?p=clientes"].active) .clients-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=clientes"].active) .clients-page-title{
    flex-direction:column;
  }
  body:has(a[href="/?p=clientes"].active) .partner-client-cards,
  body:has(a[href="/?p=clientes"].active) .clients-summary{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CLIENTS_SEARCH_FILTER_V1 */
body:has(a[href="/?p=clientes"].active) .clients-toolbar{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  background:#202a37;
  border:1px solid #334155;
  border-radius:8px;
  padding:14px;
  margin:16px 0 22px;
}
body:has(a[href="/?p=clientes"].active) .clients-search{
  min-height:44px;
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  color:#fff!important;
  padding:0 14px!important;
}
body:has(a[href="/?p=clientes"].active) .clients-search::placeholder{
  color:#64748b;
}
body:has(a[href="/?p=clientes"].active) .clients-filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
body:has(a[href="/?p=clientes"].active) .clients-filter{
  min-height:36px;
  border-radius:8px;
  border:1px solid #334155;
  background:transparent;
  color:#cbd5e1;
  padding:8px 11px;
  font-weight:900;
  cursor:pointer;
}
body:has(a[href="/?p=clientes"].active) .clients-filter.active{
  background:#1f7ae0;
  border-color:#1f7ae0;
  color:#fff;
}
body:has(a[href="/?p=clientes"].active) .partner-client-card.is-hidden{
  display:none!important;
}
@media(max-width:900px){
  body:has(a[href="/?p=clientes"].active) .clients-toolbar{
    grid-template-columns:1fr;
  }
}

/* PARTNER_CLIENTS_PAGE_FINAL_POLISH_V1 */
body:has(a[href="/?p=clientes"].active) .clients-summary{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body:has(a[href="/?p=clientes"].active) .clients-search:focus{
  border-color:#1f7ae0!important;
  box-shadow:0 0 0 2px rgba(31,122,224,.22)!important;
}
body:has(a[href="/?p=clientes"].active) .clients-toolbar{
  padding:12px!important;
}
body:has(a[href="/?p=clientes"].active) .clients-filter{
  min-width:64px;
}
@media(max-width:1180px){
  body:has(a[href="/?p=clientes"].active) .clients-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:680px){
  body:has(a[href="/?p=clientes"].active) .clients-summary{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CREATE_CLIENT_PAGE_V2_POLISH_V1 */
body:has(a[href="/?p=criar"].active) .app{
  background:#0b1220!important;
}

body:has(a[href="/?p=criar"].active) .main{
  background:#0b1220!important;
  padding:26px 26px 42px!important;
}
body:has(a[href="/?p=criar"].active) .partner-topbar{
  display:none!important;
}
body:has(a[href="/?p=criar"].active) .card{
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  box-shadow:none!important;
  color:#fff!important;
}
body:has(a[href="/?p=criar"].active) .card h2{
  color:#fff!important;
  font-size:28px!important;
  margin-bottom:6px!important;
}
body:has(a[href="/?p=criar"].active) .card > .muted,
body:has(a[href="/?p=criar"].active) .muted{
  color:#94a3b8!important;
}
body:has(a[href="/?p=criar"].active) .create-grid{
  gap:14px!important;
}
body:has(a[href="/?p=criar"].active) .form-field,
body:has(a[href="/?p=criar"].active) .create-grid > div{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:8px!important;
  padding:14px!important;
}
body:has(a[href="/?p=criar"].active) label{
  color:#a7c4ef!important;
  font-size:10px!important;
  letter-spacing:.05em!important;
}
body:has(a[href="/?p=criar"].active) input,
body:has(a[href="/?p=criar"].active) select,
body:has(a[href="/?p=criar"].active) textarea{
  background:#08111f!important;
  border:1px solid #26364d!important;
  border-radius:8px!important;
  color:#fff!important;
  min-height:46px!important;
}
body:has(a[href="/?p=criar"].active) input:focus,
body:has(a[href="/?p=criar"].active) select:focus,
body:has(a[href="/?p=criar"].active) textarea:focus{
  border-color:#1f7ae0!important;
  box-shadow:0 0 0 2px rgba(31,122,224,.22)!important;
}
body:has(a[href="/?p=criar"].active) aside.card{
  background:#101827!important;
}
body:has(a[href="/?p=criar"].active) aside.card h3{
  color:#94a3b8!important;
  font-size:10px!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
body:has(a[href="/?p=criar"].active) aside.card strong{
  color:#fff!important;
}
body:has(a[href="/?p=criar"].active) aside.card .detail-card,
body:has(a[href="/?p=criar"].active) aside.card .notice,
body:has(a[href="/?p=criar"].active) aside.card .danger-box{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:8px!important;
  color:#dbeafe!important;
}
body:has(a[href="/?p=criar"].active) aside.card .danger-box{
  background:rgba(245,158,11,.10)!important;
  border-color:rgba(245,158,11,.28)!important;
  color:#fed7aa!important;
}
body:has(a[href="/?p=criar"].active) .create-actions .btn,
body:has(a[href="/?p=criar"].active) button.btn{
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
  border-radius:8px!important;
  min-height:44px!important;
}
body:has(a[href="/?p=criar"].active) .btn-soft,
body:has(a[href="/?p=criar"].active) .btn-light{
  background:transparent!important;
  border:1px solid #94a3b8!important;
  color:#cbd5e1!important;
}
@media(max-width:1040px){
  body:has(a[href="/?p=criar"].active) .grid-2{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=criar"].active) .create-grid{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CREATE_CLIENT_LAYOUT_REBUILD_V2 */
body:has(a[href="/?p=criar"].active) .main > .card{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:22px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card > h2{
  font-size:30px!important;
  margin-bottom:4px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card > .muted{
  margin-bottom:20px!important;
}
body:has(a[href="/?p=criar"].active) .grid-2{
  grid-template-columns:minmax(0,1.65fr) 340px!important;
  gap:20px!important;
  align-items:start!important;
}
body:has(a[href="/?p=criar"].active) .create-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
body:has(a[href="/?p=criar"].active) .create-grid .full{
  grid-column:1/-1!important;
}
body:has(a[href="/?p=criar"].active) .create-grid > div{
  padding:12px!important;
}
body:has(a[href="/?p=criar"].active) textarea{
  min-height:96px!important;
}
body:has(a[href="/?p=criar"].active) aside.card{
  position:sticky!important;
  top:22px!important;
  padding:18px!important;
}
body:has(a[href="/?p=criar"].active) aside.card .detail-card,
body:has(a[href="/?p=criar"].active) aside.card .notice,
body:has(a[href="/?p=criar"].active) aside.card .danger-box{
  padding:13px!important;
}
body:has(a[href="/?p=criar"].active) .create-grid + .notice,
body:has(a[href="/?p=criar"].active) form > .notice{
  padding:12px 14px!important;
  min-height:auto!important;
}
body:has(a[href="/?p=criar"].active) form > .notice:has(input[type="checkbox"]){
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
}
body:has(a[href="/?p=criar"].active) form > .notice input[type="checkbox"]{
  width:18px!important;
  min-height:18px!important;
  margin-top:2px!important;
}
body:has(a[href="/?p=criar"].active) .create-actions{
  position:sticky!important;
  bottom:0!important;
  background:linear-gradient(180deg,rgba(11,18,32,0),#101827 32%)!important;
  padding-top:18px!important;
  margin-top:18px!important;
  z-index:5!important;
}
body:has(a[href="/?p=criar"].active) .create-actions .btn{
  min-width:190px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card div:has(> h3){
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  padding:16px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card div:has(> h3) h3{
  color:#fff!important;
  font-size:17px!important;
  margin-bottom:14px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card div:has(> h3) div{
  color:#cbd5e1!important;
}
@media(max-width:1040px){
  body:has(a[href="/?p=criar"].active) .grid-2{
    grid-template-columns:1fr!important;
  }
  body:has(a[href="/?p=criar"].active) aside.card{
    position:relative!important;
    top:auto!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=criar"].active) .create-grid{
    grid-template-columns:1fr!important;
  }
  body:has(a[href="/?p=criar"].active) .create-actions{
    position:relative!important;
  }
}

/* PARTNER_CREATE_CLIENT_ACTIVATION_FLOW_V1 */
body:has(a[href="/?p=criar"].active) .partner-topbar{
  display:none!important;
}
body:has(a[href="/?p=criar"].active) .main{
  background:#0b1220!important;
  padding:28px 26px 44px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card{
  max-width:1180px!important;
  margin:0 auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body:has(a[href="/?p=criar"].active) .main > .card > h2{
  font-size:34px!important;
  color:#fff!important;
  margin:0 0 6px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card > .muted{
  color:#94a3b8!important;
  font-size:15px!important;
  margin-bottom:18px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card > .muted:after{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(90deg,#1f7ae0,transparent);
  margin-top:18px;
}
body:has(a[href="/?p=criar"].active) .grid-2{
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:18px!important;
  align-items:start!important;
}
body:has(a[href="/?p=criar"].active) form.card{
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  padding:20px!important;
}
body:has(a[href="/?p=criar"].active) form.card:before{
  content:"1 Cliente   2 Plano   3 Regras   4 Revisão";
  display:block;
  color:#60a5fa;
  background:#0b1220;
  border:1px solid #26364d;
  border-radius:8px;
  padding:12px 14px;
  margin-bottom:16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  word-spacing:14px;
}
body:has(a[href="/?p=criar"].active) .create-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
body:has(a[href="/?p=criar"].active) .create-grid > div{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:8px!important;
  padding:12px!important;
}
body:has(a[href="/?p=criar"].active) .create-grid .full{
  grid-column:1/-1!important;
}
body:has(a[href="/?p=criar"].active) label{
  color:#93baf0!important;
  font-size:11px!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body:has(a[href="/?p=criar"].active) input,
body:has(a[href="/?p=criar"].active) select,
body:has(a[href="/?p=criar"].active) textarea{
  background:#07111f!important;
  border:1px solid #26364d!important;
  color:#fff!important;
  border-radius:8px!important;
  min-height:44px!important;
}
body:has(a[href="/?p=criar"].active) textarea{
  min-height:92px!important;
}
body:has(a[href="/?p=criar"].active) form.card > .notice{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:8px!important;
  color:#cbd5e1!important;
  margin-top:12px!important;
  padding:12px 14px!important;
}
body:has(a[href="/?p=criar"].active) form.card > .notice:has(input[type="checkbox"]){
  display:flex!important;
  gap:10px!important;
  align-items:flex-start!important;
}
body:has(a[href="/?p=criar"].active) form.card > .notice input[type="checkbox"]{
  width:18px!important;
  min-height:18px!important;
  margin-top:2px!important;
}
body:has(a[href="/?p=criar"].active) aside.card{
  position:sticky!important;
  top:22px!important;
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  padding:18px!important;
}
body:has(a[href="/?p=criar"].active) aside.card h3{
  color:#93baf0!important;
  font-size:10px!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body:has(a[href="/?p=criar"].active) aside.card .detail-card,
body:has(a[href="/?p=criar"].active) aside.card .notice,
body:has(a[href="/?p=criar"].active) aside.card .danger-box{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:8px!important;
  color:#dbeafe!important;
  padding:13px!important;
}
body:has(a[href="/?p=criar"].active) aside.card .danger-box{
  background:rgba(245,158,11,.10)!important;
  border-color:rgba(245,158,11,.28)!important;
  color:#fed7aa!important;
}
body:has(a[href="/?p=criar"].active) .main > .card div:has(> h3){
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  padding:16px!important;
  margin-top:14px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card div:has(> h3) h3{
  color:#fff!important;
  font-size:17px!important;
}
body:has(a[href="/?p=criar"].active) .main > .card div:has(> h3) div{
  color:#cbd5e1!important;
}
body:has(a[href="/?p=criar"].active) .create-actions{
  display:flex!important;
  gap:12px!important;
  margin-top:16px!important;
  padding-top:16px!important;
  border-top:1px solid rgba(148,163,184,.14)!important;
}
body:has(a[href="/?p=criar"].active) .create-actions .btn,
body:has(a[href="/?p=criar"].active) button.btn{
  min-width:180px!important;
  min-height:44px!important;
  background:#1f7ae0!important;
  border:1px solid #1f7ae0!important;
  color:#fff!important;
  border-radius:8px!important;
}
body:has(a[href="/?p=criar"].active) .create-actions .btn-soft{
  background:transparent!important;
  border-color:#94a3b8!important;
  color:#cbd5e1!important;
}
@media(max-width:1040px){
  body:has(a[href="/?p=criar"].active) .grid-2{
    grid-template-columns:1fr!important;
  }
  body:has(a[href="/?p=criar"].active) aside.card{
    position:relative!important;
    top:auto!important;
  }
}
@media(max-width:760px){
  body:has(a[href="/?p=criar"].active) .create-grid{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_CREATE_CLIENT_WIZARD_REBUILD_V3 */
body:has(a[href="/?p=criar"].active) .partner-topbar{display:none!important}
body:has(a[href="/?p=criar"].active) .main{background:#0b1220!important;padding:28px 26px 44px!important}
.create-page-v3{max-width:1180px;margin:0 auto;color:#fff}
.create-hero-v3{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}
.create-hero-v3 h2{font-size:34px;margin:0 0 8px;color:#fff}
.create-hero-v3 p{color:#94a3b8;font-size:15px;line-height:1.45}
.create-kicker-v3{color:#38bdf8;font-size:12px;font-weight:900;letter-spacing:.10em;text-transform:uppercase;margin-bottom:8px}
.create-shell-v3{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.create-panel-v3,.create-summary-v3{background:#101827;border:1px solid #334155;border-radius:8px;padding:18px}
.create-panel-v3{margin-bottom:14px}
.create-panel-v3 h3,.create-summary-v3 h3{font-size:17px;color:#fff;margin:0 0 14px}
.create-panel-v3 p,.create-summary-v3 p{color:#94a3b8;font-size:13px;line-height:1.45}
.create-grid-v3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.create-field-v3{display:grid;gap:7px}
.create-field-v3.full{grid-column:1/-1}
.create-field-v3 label{color:#93baf0!important;font-size:11px!important;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.create-field-v3 input,.create-field-v3 select,.create-field-v3 textarea{background:#07111f!important;border:1px solid #26364d!important;color:#fff!important;border-radius:8px!important;min-height:44px!important}
.create-field-v3 textarea{min-height:92px!important;resize:vertical}
.create-field-v3 input:focus,.create-field-v3 select:focus,.create-field-v3 textarea:focus{border-color:#1f7ae0!important;box-shadow:0 0 0 2px rgba(31,122,224,.22)!important}
.create-rules-v3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.create-rule-v3{display:flex;gap:10px;align-items:flex-start;background:#172132;border:1px solid #2f3f56;border-radius:8px;padding:12px;color:#cbd5e1;font-weight:800;font-size:13px;line-height:1.35}
.create-rule-v3 input{width:18px!important;min-height:18px!important;margin-top:1px}
.create-steps-v3{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.create-step-v3{background:#172132;border:1px solid #2f3f56;border-radius:8px;padding:12px;color:#cbd5e1;font-size:12px;font-weight:800;line-height:1.35}
.create-step-v3 span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#1f7ae0;color:#fff;font-size:12px;margin-bottom:8px}
.create-summary-v3{position:sticky;top:22px}
.summary-row-v3{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid rgba(148,163,184,.16)}
.summary-row-v3 span{color:#64748b;font-weight:900}
.summary-row-v3 strong{color:#fff}
.summary-total-v3{margin-top:14px;background:#14254a;border:1px solid rgba(96,165,250,.24);border-radius:8px;padding:14px;color:#dbeafe;font-weight:900;line-height:1.45}
.summary-warning-v3{margin-top:12px;background:rgba(245,158,11,.10);border:1px solid rgba(245,158,11,.28);border-radius:8px;padding:13px;color:#fed7aa;font-weight:900;line-height:1.4}
.create-actions-v3{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.create-actions-v3 .btn{min-width:180px;min-height:44px;border-radius:8px!important}
.create-actions-v3 .btn-primary{background:#1f7ae0!important;border:1px solid #1f7ae0!important;color:#fff!important}
.create-actions-v3 .btn-soft{background:transparent!important;border:1px solid #94a3b8!important;color:#cbd5e1!important}
.create-error-v3{margin:0 0 16px;background:#451a1a;border:1px solid rgba(248,113,113,.35);color:#fecaca;border-radius:8px;padding:12px;font-weight:900}
@media(max-width:1100px){.create-shell-v3{grid-template-columns:1fr}.create-summary-v3{position:relative;top:auto}.create-steps-v3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.create-hero-v3{flex-direction:column}.create-grid-v3,.create-rules-v3,.create-steps-v3{grid-template-columns:1fr}}

/* PARTNER_CREATE_CLIENT_WIZARD_POLISH_V4 */
.create-rules-v3{
  grid-template-columns:1fr!important;
}
.create-rule-v3{
  min-height:auto!important;
  align-items:center!important;
  padding:13px 14px!important;
}
.create-rule-v3 span{
  text-transform:none!important;
  letter-spacing:0!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.create-steps-v3{
  grid-template-columns:1fr!important;
  gap:8px!important;
}
.create-step-v3{
  display:grid!important;
  grid-template-columns:30px 1fr!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px 12px!important;
  min-height:auto!important;
}
.create-step-v3 span{
  margin:0!important;
}
.create-actions-v3{
  margin-bottom:20px!important;
}
.create-summary-v3{
  box-shadow:0 18px 48px rgba(2,6,23,.22)!important;
}
.create-summary-v3 .summary-warning-v3{
  font-size:13px!important;
}
@media(min-width:1180px){
  .create-shell-v3{
    grid-template-columns:minmax(0,1fr) 360px!important;
  }
}

/* PARTNER_CREATE_CLIENT_FORM_ALIGN_V5 */
.create-main-v3{
  display:flex!important;
  flex-direction:column!important;
}

.create-main-v3 > .create-panel-v3:nth-of-type(1){order:1!important;}
.create-main-v3 > .create-panel-v3:nth-of-type(2){order:2!important;}
.create-main-v3 > .create-actions-v3{order:3!important;}
.create-main-v3 > .create-panel-v3:nth-of-type(3){order:4!important;}
.create-main-v3 > .create-panel-v3:nth-of-type(4){order:5!important;}

.create-actions-v3{
  margin-top:2px!important;
  margin-bottom:16px!important;
  padding-top:0!important;
}

.create-actions-v3 .btn{
  min-height:48px!important;
}

.create-grid-v3{
  align-items:start!important;
}

.create-field-v3{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  min-height:0!important;
}

.create-field-v3 label{
  display:block!important;
  margin:0 0 10px!important;
  line-height:1.1!important;
}

.create-field-v3 input,
.create-field-v3 select,
.create-field-v3 textarea{
  width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* PARTNER_MOBILE_MENU_DRAWER_V1 */
.partner-mobile-menu-button,
.partner-mobile-menu-backdrop{
  display:none;
}

@media(max-width:900px){
  body{
    overflow-x:hidden!important;
  }

  .partner-mobile-menu-button{
    display:flex!important;
    position:fixed!important;
    top:12px!important;
    left:14px!important;
    z-index:10050!important;
    width:46px!important;
    height:46px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:12px!important;
    border:1px solid #334155!important;
    background:#111827!important;
    color:#fff!important;
    box-shadow:0 16px 34px rgba(2,6,23,.42)!important;
  }

  .partner-mobile-menu-button span,
  .partner-mobile-menu-button span::before,
  .partner-mobile-menu-button span::after{
    display:block!important;
    width:20px!important;
    height:2px!important;
    border-radius:999px!important;
    background:#fff!important;
    content:""!important;
    position:relative!important;
  }

  .partner-mobile-menu-button span::before{
    position:absolute!important;
    top:-7px!important;
    left:0!important;
  }

  .partner-mobile-menu-button span::after{
    position:absolute!important;
    top:7px!important;
    left:0!important;
  }

  .partner-mobile-menu-backdrop{
    position:fixed!important;
    inset:0!important;
    z-index:10030!important;
    background:rgba(2,6,23,.62)!important;
    backdrop-filter:blur(3px)!important;
  }

  body.partner-mobile-menu-open .partner-mobile-menu-backdrop{
    display:block!important;
  }

  aside,
  .sidebar,
  .partner-sidebar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    width:min(84vw,320px)!important;
    max-width:320px!important;
    min-height:100dvh!important;
    z-index:10040!important;
    transform:translateX(-105%)!important;
    transition:transform .22s ease!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    box-shadow:24px 0 60px rgba(2,6,23,.5)!important;
  }

  body.partner-mobile-menu-open aside,
  body.partner-mobile-menu-open .sidebar,
  body.partner-mobile-menu-open .partner-sidebar{
    transform:translateX(0)!important;
  }

  main,
  .main,
  .content,
  .app-content,
  .partner-content{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .layout,
  .app,
  .partner-layout{
    display:block!important;
  }
}

/* PARTNER_PLANS_PAGE_POLISH_V1 */
body:has(a[href="/?p=planos"].active) .metric-value,
body:has(a[href="/?p=planos"].active) .card .metric-value,
body:has(a[href="/?p=planos"].active) .card strong{
  font-size:clamp(18px,2vw,28px)!important;
  line-height:1.08!important;
  letter-spacing:0!important;
}

body:has(a[href="/?p=planos"].active) .plans-grid,
body:has(a[href="/?p=planos"].active) .plan-cards,
body:has(a[href="/?p=planos"].active) .pricing-grid{
  gap:16px!important;
}

body:has(a[href="/?p=planos"].active) .plans-grid .card,
body:has(a[href="/?p=planos"].active) .plan-card,
body:has(a[href="/?p=planos"].active) .pricing-card{
  min-width:0!important;
  padding:20px!important;
  overflow:hidden!important;
}

body:has(a[href="/?p=planos"].active) .plan-card h2,
body:has(a[href="/?p=planos"].active) .plan-card h3,
body:has(a[href="/?p=planos"].active) .pricing-card h2,
body:has(a[href="/?p=planos"].active) .pricing-card h3{
  font-size:20px!important;
  line-height:1.15!important;
}

body:has(a[href="/?p=planos"].active) .plan-card .metric-value,
body:has(a[href="/?p=planos"].active) .pricing-card .metric-value,
body:has(a[href="/?p=planos"].active) .plan-card strong,
body:has(a[href="/?p=planos"].active) .pricing-card strong{
  font-size:24px!important;
  line-height:1.1!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

body:has(a[href="/?p=planos"].active) .plan-card div,
body:has(a[href="/?p=planos"].active) .pricing-card div,
body:has(a[href="/?p=planos"].active) .plan-card span,
body:has(a[href="/?p=planos"].active) .pricing-card span{
  min-width:0!important;
}

body:has(a[href="/?p=planos"].active) .plan-card,
body:has(a[href="/?p=planos"].active) .pricing-card{
  font-size:14px!important;
}

body:has(a[href="/?p=planos"].active) table input{
  max-width:170px!important;
  font-size:16px!important;
}

@media(max-width:1180px){
  body:has(a[href="/?p=planos"].active) .plans-grid,
  body:has(a[href="/?p=planos"].active) .plan-cards,
  body:has(a[href="/?p=planos"].active) .pricing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  body:has(a[href="/?p=planos"].active) .plans-grid,
  body:has(a[href="/?p=planos"].active) .plan-cards,
  body:has(a[href="/?p=planos"].active) .pricing-grid{
    grid-template-columns:1fr!important;
  }

  body:has(a[href="/?p=planos"].active) .metric-value,
  body:has(a[href="/?p=planos"].active) .card .metric-value,
  body:has(a[href="/?p=planos"].active) .card strong{
    font-size:22px!important;
  }
}

/* PARTNER_PLANS_REMOVE_NEXT_ACTION_COMPACT_V2 */
body:has(a[href="/?p=planos"].active) .metrics{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
  margin-bottom:18px!important;
}

body:has(a[href="/?p=planos"].active) .metrics .card{
  min-height:104px!important;
  padding:18px 20px!important;
  border-radius:8px!important;
}

body:has(a[href="/?p=planos"].active) .metrics .metric-label{
  font-size:10px!important;
  line-height:1.15!important;
  margin-bottom:12px!important;
  letter-spacing:.04em!important;
}

body:has(a[href="/?p=planos"].active) .metrics .metric-value{
  font-size:clamp(22px,2.2vw,31px)!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}

body:has(a[href="/?p=planos"].active) .metrics .metric-desc{
  font-size:10px!important;
  line-height:1.25!important;
  margin-top:8px!important;
}

body:has(a[href="/?p=planos"].active) .grid.two{
  grid-template-columns:1fr!important;
}

body:has(a[href="/?p=planos"].active) .grid.two > .card{
  max-width:none!important;
}

@media(max-width:1180px){
  body:has(a[href="/?p=planos"].active) .metrics{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  body:has(a[href="/?p=planos"].active) .metrics{
    grid-template-columns:1fr 1fr!important;
  }

  body:has(a[href="/?p=planos"].active) .metrics .card{
    min-height:94px!important;
    padding:15px!important;
  }

  body:has(a[href="/?p=planos"].active) .metrics .metric-value{
    font-size:22px!important;
  }
}

/* PARTNER_PLANS_CARDS_COMPACT_TABLELIKE_V3 */
body:has(a[href="/?p=planos"].active) .plan-card,
body:has(a[href="/?p=planos"].active) .pricing-card{
  padding:18px!important;
  min-height:0!important;
  border-radius:8px!important;
}

body:has(a[href="/?p=planos"].active) .plan-card h2,
body:has(a[href="/?p=planos"].active) .plan-card h3,
body:has(a[href="/?p=planos"].active) .pricing-card h2,
body:has(a[href="/?p=planos"].active) .pricing-card h3{
  font-size:19px!important;
  margin-bottom:8px!important;
}

body:has(a[href="/?p=planos"].active) .plan-card > strong,
body:has(a[href="/?p=planos"].active) .pricing-card > strong,
body:has(a[href="/?p=planos"].active) .plan-card .metric-value,
body:has(a[href="/?p=planos"].active) .pricing-card .metric-value{
  display:block!important;
  font-size:28px!important;
  line-height:1.05!important;
  margin:6px 0 14px!important;
  white-space:nowrap!important;
}

body:has(a[href="/?p=planos"].active) .plan-card p,
body:has(a[href="/?p=planos"].active) .pricing-card p,
body:has(a[href="/?p=planos"].active) .plan-card div,
body:has(a[href="/?p=planos"].active) .pricing-card div{
  font-size:13px!important;
  line-height:1.25!important;
}

body:has(a[href="/?p=planos"].active) .plan-card div,
body:has(a[href="/?p=planos"].active) .pricing-card div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  border-top:1px solid rgba(148,163,184,.16)!important;
  padding-top:10px!important;
  margin-top:10px!important;
}

body:has(a[href="/?p=planos"].active) .plan-card div strong,
body:has(a[href="/?p=planos"].active) .pricing-card div strong,
body:has(a[href="/?p=planos"].active) .plan-card div b,
body:has(a[href="/?p=planos"].active) .pricing-card div b{
  font-size:15px!important;
  white-space:nowrap!important;
  text-align:right!important;
}

body:has(a[href="/?p=planos"].active) .plans-grid,
body:has(a[href="/?p=planos"].active) .plan-cards,
body:has(a[href="/?p=planos"].active) .pricing-grid{
  grid-template-columns:repeat(4,minmax(190px,1fr))!important;
  gap:14px!important;
}

@media(max-width:1180px){
  body:has(a[href="/?p=planos"].active) .plans-grid,
  body:has(a[href="/?p=planos"].active) .plan-cards,
  body:has(a[href="/?p=planos"].active) .pricing-grid{
    grid-template-columns:repeat(2,minmax(220px,1fr))!important;
  }
}

@media(max-width:760px){
  body:has(a[href="/?p=planos"].active) .plans-grid,
  body:has(a[href="/?p=planos"].active) .plan-cards,
  body:has(a[href="/?p=planos"].active) .pricing-grid{
    grid-template-columns:1fr!important;
  }
}

/* PARTNER_PLANS_HIDE_PLAN_SUMMARY_CARDS_V4 */
body:has(a[href="/?p=planos"].active) .plans-grid,
body:has(a[href="/?p=planos"].active) .plan-cards,
body:has(a[href="/?p=planos"].active) .pricing-grid{
  display:none!important;
}

body:has(a[href="/?p=planos"].active) .metrics{
  margin-bottom:18px!important;
}

body:has(a[href="/?p=planos"].active) table td,
body:has(a[href="/?p=planos"].active) table th{
  padding-top:18px!important;
  padding-bottom:18px!important;
}

body:has(a[href="/?p=planos"].active) table td{
  font-size:18px!important;
}

body:has(a[href="/?p=planos"].active) table td strong,
body:has(a[href="/?p=planos"].active) table td b{
  font-size:22px!important;
  line-height:1.1!important;
}

body:has(a[href="/?p=planos"].active) table input{
  height:46px!important;
  border-radius:12px!important;
}

/* PARTNER_PLANS_FINAL_CLEAN_V5 */
body:has(a[href="/?p=planos"].active) .metrics{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
  margin-bottom:18px!important;
}

body:has(a[href="/?p=planos"].active) .metrics .card{
  min-height:96px!important;
  padding:16px 18px!important;
}

body:has(a[href="/?p=planos"].active) .metrics .metric-value{
  font-size:26px!important;
  line-height:1.05!important;
}

body:has(a[href="/?p=planos"].active) .plan-actions-box{
  display:block!important;
}

body:has(a[href="/?p=planos"].active) .plan-info-box{
  width:100%!important;
  max-width:none!important;
}

@media(max-width:1180px){
  body:has(a[href="/?p=planos"].active) .metrics{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  body:has(a[href="/?p=planos"].active) .metrics{
    grid-template-columns:1fr 1fr!important;
  }
}

/* PARTNER_DUE_DATES_COMPACT_V1 */
body:has(a[href="/?p=vencimentos"].active) .metrics{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:16px 0!important;
  max-width:760px!important;
}

body:has(a[href="/?p=vencimentos"].active) .metrics .card{
  min-height:104px!important;
  padding:18px!important;
  border-radius:8px!important;
}

body:has(a[href="/?p=vencimentos"].active) .metrics .metric-label{
  font-size:10px!important;
  line-height:1.15!important;
  letter-spacing:.04em!important;
  margin-bottom:10px!important;
}

body:has(a[href="/?p=vencimentos"].active) .metrics .metric-value{
  font-size:30px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}

body:has(a[href="/?p=vencimentos"].active) .card .metric-value.green,
body:has(a[href="/?p=vencimentos"].active) .card .metric-value.red,
body:has(a[href="/?p=vencimentos"].active) .card .metric-value.yellow,
body:has(a[href="/?p=vencimentos"].active) .card .metric-value.blue{
  font-size:30px!important;
}

body:has(a[href="/?p=vencimentos"].active) .table-wrap{
  overflow-x:auto!important;
}

body:has(a[href="/?p=vencimentos"].active) table{
  min-width:880px!important;
}

body:has(a[href="/?p=vencimentos"].active) table th,
body:has(a[href="/?p=vencimentos"].active) table td{
  padding:16px!important;
  vertical-align:top!important;
}

body:has(a[href="/?p=vencimentos"].active) table td{
  font-size:15px!important;
  line-height:1.25!important;
}

body:has(a[href="/?p=vencimentos"].active) table td strong{
  font-size:16px!important;
  line-height:1.2!important;
}

body:has(a[href="/?p=vencimentos"].active) table .btn,
body:has(a[href="/?p=vencimentos"].active) table button,
body:has(a[href="/?p=vencimentos"].active) table a.btn{
  min-height:38px!important;
  padding:9px 13px!important;
  border-radius:10px!important;
  font-size:13px!important;
  line-height:1.1!important;
  white-space:normal!important;
  max-width:120px!important;
}

body:has(a[href="/?p=vencimentos"].active) table td:last-child{
  width:130px!important;
}

body:has(a[href="/?p=vencimentos"].active) table td:nth-last-child(2){
  width:150px!important;
}

body:has(a[href="/?p=vencimentos"].active) .filters,
body:has(a[href="/?p=vencimentos"].active) .filter-bar{
  gap:10px!important;
  padding:12px!important;
  margin-bottom:18px!important;
}

body:has(a[href="/?p=vencimentos"].active) .filters .btn,
body:has(a[href="/?p=vencimentos"].active) .filter-bar .btn{
  min-height:40px!important;
  padding:10px 14px!important;
  font-size:13px!important;
}

@media(max-width:900px){
  body:has(a[href="/?p=vencimentos"].active) .metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-width:none!important;
  }

  body:has(a[href="/?p=vencimentos"].active) .metrics .card{
    min-height:92px!important;
    padding:15px!important;
  }

  body:has(a[href="/?p=vencimentos"].active) .metrics .metric-value{
    font-size:24px!important;
  }
}

/* PARTNER_INTERNAL_PAGES_DASHBOARD_STANDARD_V1 */
body{
  overflow-x:hidden!important;
}

main,
.main,
.content,
.app-content,
.partner-content{
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

.card{
  border-radius:8px!important;
  background:#111827!important;
  border:1px solid #263244!important;
  box-shadow:none!important;
}

.metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:18px 0!important;
}

.metrics .card{
  min-height:100px!important;
  padding:17px 18px!important;
  overflow:hidden!important;
}

.metric-label{
  font-size:10px!important;
  line-height:1.15!important;
  letter-spacing:.04em!important;
  margin-bottom:10px!important;
  color:#9fb7df!important;
}

.metric-value{
  font-size:clamp(22px,2.3vw,30px)!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  white-space:normal!important;
}

.metric-desc{
  font-size:10px!important;
  line-height:1.25!important;
  margin-top:7px!important;
}

.table-wrap{
  width:100%!important;
  overflow-x:auto!important;
  border-radius:8px!important;
}

table{
  width:100%!important;
  border-collapse:collapse!important;
}

table th{
  font-size:11px!important;
  letter-spacing:.06em!important;
  color:#bfdbfe!important;
  white-space:nowrap!important;
}

table td{
  font-size:15px!important;
  line-height:1.25!important;
}

table th,
table td{
  padding:15px 16px!important;
  vertical-align:middle!important;
}

table td strong{
  font-size:16px!important;
  line-height:1.2!important;
}

table .btn,
table a.btn,
table button{
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:10px!important;
  font-size:13px!important;
  line-height:1.1!important;
  white-space:normal!important;
}

.btn{
  border-radius:8px!important;
}

@media(max-width:1180px){
  main,
  .main,
  .content,
  .app-content,
  .partner-content{
    max-width:100%!important;
  }

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

@media(max-width:760px){
  main,
  .main,
  .content,
  .app-content,
  .partner-content{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .metrics{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }

  .metrics .card{
    min-height:88px!important;
    padding:14px!important;
  }

  .metric-value{
    font-size:22px!important;
  }

  table{
    min-width:760px!important;
  }
}

/* PARTNER_LEGACY_PAGES_MATCH_CLIENTS_V1 */
body:has(a[href="/?p=planos"].active) main,
body.partner-page-cobranca main,
body:has(a[href="/?p=vencimentos"].active) main,
body:has(a[href="/?p=movimentacoes"].active) main,
body:has(a[href="/?p=financeiro"].active) main,
body:has(a[href="/?p=suporte"].active) main,
body:has(a[href="/?p=configuracoes"].active) main,
body:has(a[href="/?p=saldo"].active) main,
body:has(a[href="/?p=detalhes"].active) main,
body:has(a[href="/?p=alterar_plano"].active) main{
  max-width:950px!important;
  margin:0 auto!important;
  padding-top:24px!important;
}

body:has(a[href="/?p=planos"].active) h1,
body.partner-page-cobranca h1,
body:has(a[href="/?p=vencimentos"].active) h1,
body:has(a[href="/?p=movimentacoes"].active) h1,
body:has(a[href="/?p=financeiro"].active) h1,
body:has(a[href="/?p=suporte"].active) h1,
body:has(a[href="/?p=configuracoes"].active) h1,
body:has(a[href="/?p=saldo"].active) h1,
body:has(a[href="/?p=detalhes"].active) h1,
body:has(a[href="/?p=alterar_plano"].active) h1{
  font-size:30px!important;
  line-height:1.1!important;
  margin:0 0 6px!important;
  letter-spacing:0!important;
}

body:has(a[href="/?p=planos"].active) h2,
body.partner-page-cobranca h2,
body:has(a[href="/?p=vencimentos"].active) h2,
body:has(a[href="/?p=movimentacoes"].active) h2,
body:has(a[href="/?p=financeiro"].active) h2,
body:has(a[href="/?p=suporte"].active) h2,
body:has(a[href="/?p=configuracoes"].active) h2,
body:has(a[href="/?p=saldo"].active) h2,
body:has(a[href="/?p=detalhes"].active) h2,
body:has(a[href="/?p=alterar_plano"].active) h2{
  font-size:24px!important;
  line-height:1.12!important;
  margin:0 0 8px!important;
}

body:has(a[href="/?p=planos"].active) .muted,
body.partner-page-cobranca .muted,
body:has(a[href="/?p=vencimentos"].active) .muted,
body:has(a[href="/?p=movimentacoes"].active) .muted,
body:has(a[href="/?p=financeiro"].active) .muted,
body:has(a[href="/?p=suporte"].active) .muted,
body:has(a[href="/?p=configuracoes"].active) .muted,
body:has(a[href="/?p=saldo"].active) .muted,
body:has(a[href="/?p=detalhes"].active) .muted,
body:has(a[href="/?p=alterar_plano"].active) .muted{
  color:#9fc2f8!important;
  font-size:14px!important;
  line-height:1.4!important;
}

body:has(a[href="/?p=planos"].active) .card,
body.partner-page-cobranca .card,
body:has(a[href="/?p=vencimentos"].active) .card,
body:has(a[href="/?p=movimentacoes"].active) .card,
body:has(a[href="/?p=financeiro"].active) .card,
body:has(a[href="/?p=suporte"].active) .card,
body:has(a[href="/?p=configuracoes"].active) .card,
body:has(a[href="/?p=saldo"].active) .card,
body:has(a[href="/?p=detalhes"].active) .card,
body:has(a[href="/?p=alterar_plano"].active) .card{
  background:#202a37!important;
  border:1px solid #334155!important;
  border-radius:8px!important;
  box-shadow:none!important;
}

body:has(a[href="/?p=planos"].active) .metrics,
body.partner-page-cobranca .metrics,
body:has(a[href="/?p=vencimentos"].active) .metrics,
body:has(a[href="/?p=movimentacoes"].active) .metrics,
body:has(a[href="/?p=financeiro"].active) .metrics,
body:has(a[href="/?p=saldo"].active) .metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:18px 0!important;
}

body:has(a[href="/?p=planos"].active) .metrics .card,
body.partner-page-cobranca .metrics .card,
body:has(a[href="/?p=vencimentos"].active) .metrics .card,
body:has(a[href="/?p=movimentacoes"].active) .metrics .card,
body:has(a[href="/?p=financeiro"].active) .metrics .card,
body:has(a[href="/?p=saldo"].active) .metrics .card{
  min-height:110px!important;
  padding:20px!important;
}

body:has(a[href="/?p=planos"].active) .metric-label,
body.partner-page-cobranca .metric-label,
body:has(a[href="/?p=vencimentos"].active) .metric-label,
body:has(a[href="/?p=movimentacoes"].active) .metric-label,
body:has(a[href="/?p=financeiro"].active) .metric-label,
body:has(a[href="/?p=saldo"].active) .metric-label{
  font-size:10px!important;
  line-height:1.15!important;
  color:#8aa4cc!important;
  letter-spacing:.03em!important;
  margin-bottom:10px!important;
}

body:has(a[href="/?p=planos"].active) .metric-value,
body.partner-page-cobranca .metric-value,
body:has(a[href="/?p=vencimentos"].active) .metric-value,
body:has(a[href="/?p=movimentacoes"].active) .metric-value,
body:has(a[href="/?p=financeiro"].active) .metric-value,
body:has(a[href="/?p=saldo"].active) .metric-value{
  font-size:28px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}

body:has(a[href="/?p=planos"].active) .table-wrap,
body.partner-page-cobranca .table-wrap,
body:has(a[href="/?p=vencimentos"].active) .table-wrap,
body:has(a[href="/?p=movimentacoes"].active) .table-wrap,
body:has(a[href="/?p=financeiro"].active) .table-wrap,
body:has(a[href="/?p=saldo"].active) .table-wrap,
body:has(a[href="/?p=detalhes"].active) .table-wrap{
  border:1px solid #263244!important;
  border-radius:8px!important;
  overflow-x:auto!important;
  background:#0f172a!important;
}

body:has(a[href="/?p=planos"].active) table,
body.partner-page-cobranca table,
body:has(a[href="/?p=vencimentos"].active) table,
body:has(a[href="/?p=movimentacoes"].active) table,
body:has(a[href="/?p=financeiro"].active) table,
body:has(a[href="/?p=saldo"].active) table,
body:has(a[href="/?p=detalhes"].active) table{
  min-width:820px!important;
}

body:has(a[href="/?p=planos"].active) table th,
body.partner-page-cobranca table th,
body:has(a[href="/?p=vencimentos"].active) table th,
body:has(a[href="/?p=movimentacoes"].active) table th,
body:has(a[href="/?p=financeiro"].active) table th,
body:has(a[href="/?p=saldo"].active) table th,
body:has(a[href="/?p=detalhes"].active) table th{
  background:#12213a!important;
  color:#bfdbfe!important;
  font-size:11px!important;
  letter-spacing:.06em!important;
  padding:14px 16px!important;
}

body:has(a[href="/?p=planos"].active) table td,
body.partner-page-cobranca table td,
body:has(a[href="/?p=vencimentos"].active) table td,
body:has(a[href="/?p=movimentacoes"].active) table td,
body:has(a[href="/?p=financeiro"].active) table td,
body:has(a[href="/?p=saldo"].active) table td,
body:has(a[href="/?p=detalhes"].active) table td{
  padding:16px!important;
  font-size:15px!important;
  line-height:1.25!important;
}

body:has(a[href="/?p=planos"].active) .btn,
body.partner-page-cobranca .btn,
body:has(a[href="/?p=vencimentos"].active) .btn,
body:has(a[href="/?p=movimentacoes"].active) .btn,
body:has(a[href="/?p=financeiro"].active) .btn,
body:has(a[href="/?p=suporte"].active) .btn,
body:has(a[href="/?p=configuracoes"].active) .btn,
body:has(a[href="/?p=saldo"].active) .btn,
body:has(a[href="/?p=detalhes"].active) .btn,
body:has(a[href="/?p=alterar_plano"].active) .btn{
  border-radius:8px!important;
  min-height:40px!important;
  padding:10px 14px!important;
  font-size:14px!important;
}

body:has(a[href="/?p=planos"].active) .grid.two,
body.partner-page-cobranca .grid.two,
body:has(a[href="/?p=vencimentos"].active) .grid.two,
body:has(a[href="/?p=movimentacoes"].active) .grid.two,
body:has(a[href="/?p=financeiro"].active) .grid.two,
body:has(a[href="/?p=suporte"].active) .grid.two,
body:has(a[href="/?p=configuracoes"].active) .grid.two,
body:has(a[href="/?p=saldo"].active) .grid.two{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}

@media(max-width:980px){
  body:has(a[href="/?p=planos"].active) .metrics,
  body.partner-page-cobranca .metrics,
  body:has(a[href="/?p=vencimentos"].active) .metrics,
  body:has(a[href="/?p=movimentacoes"].active) .metrics,
  body:has(a[href="/?p=financeiro"].active) .metrics,
  body:has(a[href="/?p=saldo"].active) .metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body:has(a[href="/?p=planos"].active) .grid.two,
  body.partner-page-cobranca .grid.two,
  body:has(a[href="/?p=vencimentos"].active) .grid.two,
  body:has(a[href="/?p=movimentacoes"].active) .grid.two,
  body:has(a[href="/?p=financeiro"].active) .grid.two,
  body:has(a[href="/?p=suporte"].active) .grid.two,
  body:has(a[href="/?p=configuracoes"].active) .grid.two,
  body:has(a[href="/?p=saldo"].active) .grid.two{
    grid-template-columns:1fr!important;
  }
}

/* VENCIMENTOS — PESQUISA E PAGINAÇÃO V9 */
.renewal-search-v9 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px auto auto;
    gap: 10px;
    align-items: center;
    margin: 18px 0 10px;
}

.renewal-search-v9 input,
.renewal-search-v9 select {
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, .28);
    background: rgba(8, 18, 32, .72);
    color: #fff;
    padding: 0 14px;
    font-weight: 800;
}

.renewal-result-count-v9 {
    color: #93c5fd;
    font-weight: 800;
    font-size: 13px;
    margin: 0 0 14px;
}

.renewal-pagination-v9 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

.renewal-pagination-v9 a {
    min-width: 38px;
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, .32);
    background: rgba(20, 35, 57, .6);
    color: #dbeafe;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.renewal-pagination-v9 a.active {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    border-color: rgba(96, 165, 250, .65);
}

@media (max-width: 900px) {
    .renewal-search-v9 {
        grid-template-columns: 1fr;
    }
}

/* VENCIMENTOS — PESQUISA E PAGINAÇÃO V9 */
.renewal-search-v9 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px auto auto;
    gap: 10px;
    align-items: center;
    margin: 18px 0 10px;
}

.renewal-search-v9 input,
.renewal-search-v9 select {
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, .28);
    background: rgba(8, 18, 32, .72);
    color: #fff;
    padding: 0 14px;
    font-weight: 800;
}

.renewal-result-count-v9 {
    color: #93c5fd;
    font-weight: 800;
    font-size: 13px;
    margin: 0 0 14px;
}

.renewal-pagination-v9 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

.renewal-pagination-v9 a {
    min-width: 38px;
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, .32);
    background: rgba(20, 35, 57, .6);
    color: #dbeafe;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.renewal-pagination-v9 a.active {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    border-color: rgba(96, 165, 250, .65);
}

@media (max-width: 900px) {
    .renewal-search-v9 {
        grid-template-columns: 1fr;
    }
}

/* VENCIMENTOS — POLISH V10 */
.renewal-page-premium-v10 {
    padding: 24px 25px !important;
}

.renewal-page-premium-v10 > form.notice {
    margin: 0 0 18px !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
}

.renewal-top {
    gap: 14px !important;
    margin-bottom: 18px !important;
}

.renewal-top .metric {
    min-height: 124px !important;
    border-radius: 18px !important;
}

.renewal-search-v9 {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
}

.renewal-search-v9 input,
.renewal-search-v9 select {
    height: 44px !important;
}

.renewal-result-count-v9 {
    margin-bottom: 12px !important;
}

.renewal-days-v10 {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.renewal-days-v10.ok {
    color: #34d399;
    background: rgba(52, 211, 153, .11);
    border: 1px solid rgba(52, 211, 153, .22);
}

.renewal-days-v10.warn {
    color: #fbbf24;
    background: rgba(251, 191, 36, .11);
    border: 1px solid rgba(251, 191, 36, .22);
}

.renewal-days-v10.danger {
    color: #fb7185;
    background: rgba(251, 113, 133, .11);
    border: 1px solid rgba(251, 113, 133, .22);
}

.renewal-page-premium-v10 table th,
.renewal-page-premium-v10 table td {
    vertical-align: middle !important;
}

.renewal-page-premium-v10 .renewal-actions {
    display: grid !important;
    gap: 7px !important;
}

.renewal-page-premium-v10 .renewal-actions .btn,
.renewal-page-premium-v10 .renewal-actions button {
    min-height: 38px !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
}

/* VENCIMENTOS — FIX OVERFLOW V11 */
.renewal-page-premium-v10 {
    overflow: hidden !important;
}

.renewal-page-premium-v10 table {
    width: 100% !important;
    table-layout: fixed !important;
}

.renewal-page-premium-v10 th:nth-child(1),
.renewal-page-premium-v10 td:nth-child(1) {
    width: 29% !important;
}

.renewal-page-premium-v10 th:nth-child(2),
.renewal-page-premium-v10 td:nth-child(2) {
    width: 10% !important;
}

.renewal-page-premium-v10 th:nth-child(3),
.renewal-page-premium-v10 td:nth-child(3) {
    width: 17% !important;
}

.renewal-page-premium-v10 th:nth-child(4),
.renewal-page-premium-v10 td:nth-child(4) {
    width: 15% !important;
}

.renewal-page-premium-v10 th:nth-child(5),
.renewal-page-premium-v10 td:nth-child(5) {
    width: 18% !important;
}

.renewal-page-premium-v10 th:nth-child(6),
.renewal-page-premium-v10 td:nth-child(6) {
    width: 11% !important;
}

.renewal-page-premium-v10 td {
    overflow-wrap: anywhere !important;
}

.renewal-days-v10 {
    margin-top: 6px !important;
    max-width: 100%;
}

/* VENCIMENTOS — CARD COBRANÇA V11 */
.renewal-charge-card-v11 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 18px;
    align-items: center;
    margin: 0 0 18px !important;
    padding: 18px 20px !important;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20,35,57,.96), rgba(13,24,40,.96));
    border: 1px solid rgba(96,165,250,.26);
}

.renewal-charge-kicker-v11 {
    display: inline-flex;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 7px;
}

.renewal-charge-card-v11 strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.15;
}

.renewal-charge-card-v11 p {
    margin: 7px 0 0;
    color: #93c5fd;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.45;
}

.renewal-charge-action-v11 {
    background: rgba(8,18,32,.55);
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 15px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.renewal-charge-action-v11 small {
    color: #8fb3e8;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.renewal-charge-action-v11 strong {
    font-size: 26px;
    color: #34d399;
}

.renewal-charge-action-v11 .btn {
    width: 100%;
    min-height: 40px;
}

@media (max-width: 760px) {
    .renewal-charge-card-v11 {
        grid-template-columns: 1fr;
    }
}

/* PARTNER_PREMIUM_PATTERN_FINAL_V1 */
:root{
  --p-bg:#08111d;
  --p-panel:#202a37;
  --p-panel-2:#111927;
  --p-border:#334155;
  --p-border-soft:#26364c;
  --p-text:#f8fafc;
  --p-muted:#9db4d5;
  --p-blue:#2f80ed;
  --p-cyan:#38bdf8;
  --p-green:#35d893;
  --p-red:#fb7185;
  --p-yellow:#fbbf24;
}

.main{
  background:var(--p-bg)!important;
  color:var(--p-text)!important;
}

.partner-page-header,
.partner-center-hero{
  background:linear-gradient(135deg,#173a68 0%,#26306f 100%)!important;
  border:1px solid #315da3!important;
  border-radius:8px!important;
  box-shadow:none!important;
  min-height:208px!important;
  padding:32px!important;
  margin-bottom:28px!important;
}

.partner-page-header h1,
.partner-center-hero h1{
  color:var(--p-text)!important;
  font-size:34px!important;
  line-height:1.08!important;
  letter-spacing:0!important;
  margin:0 0 10px!important;
}

.partner-page-header p,
.partner-center-hero p{
  color:#c7d8f5!important;
  font-size:16px!important;
  line-height:1.35!important;
  max-width:620px!important;
}

.partner-page-header::before,
.partner-center-hero::before{
  color:var(--p-cyan)!important;
  font-size:10px!important;
  letter-spacing:.12em!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}

.card,
.finance-panel,
.support-page-v7 .support-card-v7,
.partner-client-card,
.partner-metric-card{
  background:var(--p-panel)!important;
  border:1px solid var(--p-border)!important;
  border-radius:8px!important;
  box-shadow:none!important;
}

.partner-metric-card{
  min-height:118px!important;
  padding:20px!important;
}

.partner-metric-card span,
.metric-label,
label{
  color:#93add3!important;
  font-size:10px!important;
  line-height:1.15!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  font-weight:900!important;
}

.partner-metric-card strong,
.metric-value{
  color:var(--p-text)!important;
  font-size:28px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}

.partner-metric-card small,
.muted{
  color:#a9c4eb!important;
  font-size:14px!important;
  line-height:1.35!important;
}

.btn,
button.btn,
a.btn{
  border-radius:8px!important;
  min-height:42px!important;
  padding:10px 16px!important;
  font-size:14px!important;
  font-weight:900!important;
  box-shadow:none!important;
}

.btn-primary,
.partner-page-header .btn:first-child,
.partner-center-hero .btn:first-child{
  background:linear-gradient(135deg,#48bdf0,#2f6ff2)!important;
  border:1px solid #4aa3ff!important;
  color:#fff!important;
}

.btn-soft,
.btn-outline{
  background:transparent!important;
  border:1px solid #577099!important;
  color:#f8fafc!important;
}

input,
select,
textarea{
  background:#09131f!important;
  border:1px solid #2c405b!important;
  border-radius:8px!important;
  color:#f8fafc!important;
  min-height:44px!important;
}

table,
.table,
.partner-table{
  background:#111927!important;
  border:1px solid var(--p-border)!important;
  border-radius:8px!important;
  overflow:hidden!important;
}

thead,
.table-head{
  background:#13233b!important;
}

th{
  color:#b8d2ff!important;
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}

td{
  color:#f8fafc!important;
  border-color:#26364c!important;
}

@media(max-width:820px){
  .partner-page-header,
  .partner-center-hero{
    min-height:auto!important;
    padding:24px 18px!important;
    margin-bottom:22px!important;
  }

  .partner-page-header h1,
  .partner-center-hero h1{
    font-size:28px!important;
  }

  .partner-metric-card strong,
  .metric-value{
    font-size:24px!important;
  }
}
/* PARTNER_MOBILE_RESPONSIVE_FIX_V1 */
html,
body{
  max-width:100%!important;
  overflow-x:hidden!important;
}

@media(max-width:820px){
  .main{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:18px 14px 34px!important;
    overflow-x:hidden!important;
  }

  .partner-page-header,
  .partner-center-hero{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    display:block!important;
  }

  .partner-page-header-left,
  .partner-page-header-right,
  .partner-center-hero > *,
  .partner-center-actions{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .partner-page-header-right,
  .partner-center-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    margin-top:18px!important;
  }

  .partner-page-header .btn,
  .partner-center-hero .btn{
    width:100%!important;
    justify-content:center!important;
  }

  .metrics,
  .grid-2,
  .partner-client-cards,
  .finance-layout,
  .support-grid-v7,
  .config-grid,
  .plans-grid{
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .card,
  .finance-panel,
  .partner-client-card,
  .partner-metric-card,
  .support-page-v7 .support-card-v7{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  table{
    min-width:720px!important;
  }

  .table-wrap,
  .table-responsive,
  .partner-table-wrap{
    width:100%!important;
    overflow-x:auto!important;
  }
}

/* PARTNER_MOBILE_MAIN_RESET_FIX_V1 */
@media (max-width: 900px){
  html,
  body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .app{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }

  .main{
    width:100%!important;
    max-width:100vw!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    left:0!important;
    transform:none!important;
    padding:18px 14px 32px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }

  .main > *,
  .partner-center-hero,
  .partner-page-header,
  .metrics,
  .grid,
  .grid-2,
  .grid-3,
  .card{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .metrics,
  .grid,
  .grid-2,
  .grid-3{
    grid-template-columns:1fr!important;
  }
}

/* MOBILE MENU FINAL LIMPO */
@media(max-width:820px){
  .partner-mobile-menu-button{
    display:flex!important;
    position:fixed!important;
    top:18px!important;
    left:18px!important;
    width:58px!important;
    height:58px!important;
    z-index:20000!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:18px!important;
    background:#0b1220!important;
    color:#fff!important;
    border:1px solid #334155!important;
    font-size:30px!important;
  }

  body.partner-mobile-menu-open .sidebar,
  body.partner-mobile-menu-open aside.sidebar{
    transform:translateX(0)!important;
  }

  body.partner-mobile-menu-open::before{
    content:""!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(2,6,23,.70)!important;
    z-index:10030!important;
  }

  .sidebar,
  aside.sidebar{
    z-index:10040!important;
  }
}

/* MOBILE SAFE WIDTH FINAL */
@media(max-width:820px){
  html, body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .app{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .main{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:18px 14px 32px!important;
    transform:none!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }

  .main > *,
  .partner-page-header,
  .partner-center-hero,
  .card,
  .metrics,
  .grid-2,
  .partner-client-cards,
  .create-page-v3,
  .create-shell-v3,
  .partner-config-grid,
  .finance-v2{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  .metrics,
  .grid-2,
  .partner-client-cards,
  .create-shell-v3,
  .partner-config-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}

/* MOBILE MENU RIGHT SIDE */
@media(max-width:820px){
  .partner-mobile-menu-button{
    left:auto!important;
    right:18px!important;
    top:18px!important;
  }

  .sidebar,
  aside.sidebar{
    left:auto!important;
    right:0!important;
    transform:translateX(105%)!important;
  }

  body.partner-mobile-menu-open .sidebar,
  body.partner-mobile-menu-open aside.sidebar{
    transform:translateX(0)!important;
  }
}

/* MOBILE MENU RIGHT FINAL LOCK */
@media(max-width:820px){
  .partner-mobile-menu-button,
  body.partner-mobile-menu-open .partner-mobile-menu-button{
    position:fixed!important;
    top:18px!important;
    right:18px!important;
    left:auto!important;
    transform:none!important;
    z-index:20050!important;
  }

  body:not(.partner-mobile-menu-open) .sidebar,
  body:not(.partner-mobile-menu-open) aside.sidebar{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(84vw,320px)!important;
    max-width:320px!important;
    height:100dvh!important;
    transform:translateX(110%)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:20040!important;
  }

  body.partner-mobile-menu-open .sidebar,
  body.partner-mobile-menu-open aside.sidebar{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(84vw,320px)!important;
    max-width:320px!important;
    height:100dvh!important;
    transform:translateX(0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:20040!important;
  }
}

/* MOBILE WIDTH LOCK — CRIAR CLIENTE E BASE GLOBAL */
@media(max-width:820px){
  html,
  body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .app{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
  }

  .main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:24px 14px 36px!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }

  body:not(.partner-mobile-menu-open) .sidebar,
  body:not(.partner-mobile-menu-open) aside.sidebar,
  body:not(.partner-mobile-menu-open) .partner-sidebar{
    left:auto!important;
    right:0!important;
    transform:translateX(115%)!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  .partner-center-hero,
  .create-page-v3,
  .create-shell-v3,
  .create-main-v3,
  .create-panel-v3,
  .create-summary-v3,
  .create-grid-v3,
  .create-actions-v3{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  .create-shell-v3,
  .create-grid-v3,
  .create-actions-v3{
    display:grid!important;
    grid-template-columns:1fr!important;
  }

  .create-actions-v3 .btn{
    width:100%!important;
    min-width:0!important;
  }
}

/* CONFIG PAGE SAFE STACK V1 */
body.partner-page-config .partner-config-grid{
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:22px auto 0!important;
}

body.partner-page-config .partner-config-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:block!important;
  position:relative!important;
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:12px!important;
  padding:22px!important;
  color:#fff!important;
  box-sizing:border-box!important;
}

body.partner-page-config .partner-section-head{
  margin-bottom:16px!important;
}

body.partner-page-config .partner-section-head h2{
  color:#fff!important;
  margin:0 0 6px!important;
  font-size:22px!important;
}

body.partner-page-config .partner-section-head .muted{
  color:#94a3b8!important;
}

body.partner-page-config .form-grid-2{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}

body.partner-page-config .form-field{
  display:grid!important;
  gap:7px!important;
}

body.partner-page-config .form-field label,
body.partner-page-config .partner-account-item span,
body.partner-page-config .partner-billing-summary span{
  color:#93baf0!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}

body.partner-page-config .form-field input{
  width:100%!important;
  min-height:46px!important;
  background:#07111f!important;
  border:1px solid #26364d!important;
  color:#fff!important;
  border-radius:8px!important;
  padding:11px 13px!important;
  box-sizing:border-box!important;
}

body.partner-page-config .partner-account-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}

body.partner-page-config .partner-account-item{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:10px!important;
  padding:14px!important;
}

body.partner-page-config .partner-account-item strong{
  display:block!important;
  margin-top:8px!important;
  color:#fff!important;
  font-size:20px!important;
}

body.partner-page-config .partner-account-item.is-green strong{
  color:#34d399!important;
}

body.partner-page-config .partner-password-premium{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,.55fr)!important;
  gap:16px!important;
}

body.partner-page-config .partner-password-rules{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:10px!important;
  padding:16px!important;
  color:#cbd5e1!important;
}

body.partner-page-config .partner-billing-summary{
  background:#172132!important;
  border:1px solid #2f3f56!important;
  border-radius:10px!important;
  padding:14px!important;
}

body.partner-page-config .partner-billing-summary > div{
  display:flex!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:12px 0!important;
  border-bottom:1px solid rgba(148,163,184,.16)!important;
}

body.partner-page-config .partner-billing-summary strong{
  color:#fff!important;
  text-align:right!important;
}

body.partner-page-config .partner-billing-summary strong.green{
  color:#34d399!important;
}

body.partner-page-config .create-actions{
  display:flex!important;
  gap:12px!important;
  margin-top:16px!important;
}

@media(max-width:820px){
  body.partner-page-config .partner-config-grid,
  body.partner-page-config .form-grid-2,
  body.partner-page-config .partner-account-summary,
  body.partner-page-config .partner-password-premium{
    grid-template-columns:1fr!important;
  }

  body.partner-page-config .partner-config-card{
    padding:18px!important;
  }

  body.partner-page-config .create-actions,
  body.partner-page-config .create-actions .btn,
  body.partner-page-config .create-actions button,
  body.partner-page-config .create-actions a{
    width:100%!important;
  }

  body.partner-page-config .create-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}

/* CONFIG SCROLL FIX V1 */
body.partner-page-config,
body.partner-page-config html{
  overflow-y:auto!important;
  height:auto!important;
  min-height:100%!important;
}

body.partner-page-config .app,
body.partner-page-config .main{
  overflow-y:visible!important;
  height:auto!important;
  min-height:100vh!important;
}

body.partner-page-config .partner-config-grid{
  padding-bottom:80px!important;
}

/* CONFIG SCROLL HARD FIX V2 */
html,
body.partner-page-config{
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:auto!important;
  touch-action:auto!important;
}

body.partner-page-config .app{
  height:auto!important;
  min-height:100vh!important;
  overflow:visible!important;
}

body.partner-page-config .main{
  height:auto!important;
  min-height:100vh!important;
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:120px!important;
}

body.partner-page-config .partner-config-grid,
body.partner-page-config .partner-config-card{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

/* CONFIG CARD HEIGHT FIX V1 */
body.partner-page-config .partner-config-card,
body.partner-page-config .partner-account-item,
body.partner-page-config .partner-billing-summary{
  min-height:0!important;
  height:auto!important;
}

body.partner-page-config .partner-account-summary{
  align-items:start!important;
}

body.partner-page-config .partner-config-card{
  padding-bottom:22px!important;
}

body.partner-page-config .partner-billing-summary{
  margin-bottom:14px!important;
}

body.partner-page-config .partner-config-grid{
  padding-bottom:40px!important;
}

/* CONFIG PASSWORD RULES FIX V1 */
body.partner-page-config .partner-password-rules{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  height:auto!important;
  z-index:1!important;
}

@media(max-width:820px){
  body.partner-page-config .partner-password-premium{
    display:grid!important;
    grid-template-columns:1fr!important;
  }

  body.partner-page-config .partner-password-rules{
    margin-top:12px!important;
  }
}

/* COBRANÇA PAGE CLEAN V1 */
body.partner-page-cobranca .partner-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:22px 0!important;
}

body.partner-page-cobranca .partner-summary-grid .card,
body.partner-page-cobranca .metric,
body.partner-page-cobranca .cobranca-history-pds{
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:12px!important;
  color:#fff!important;
  box-shadow:none!important;
}

body.partner-page-cobranca .partner-summary-grid .card,
body.partner-page-cobranca .metric{
  min-height:130px!important;
  padding:20px!important;
}

body.partner-page-cobranca .cobranca-history-pds{
  padding:20px!important;
}

body.partner-page-cobranca .cobranca-history-pds h3{
  font-size:24px!important;
  margin:0 0 4px!important;
  color:#fff!important;
}

body.partner-page-cobranca .muted{
  color:#9fb7d8!important;
}

body.partner-page-cobranca .table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  background:#101827!important;
  border:1px solid #334155!important;
  border-radius:12px!important;
}

body.partner-page-cobranca table{
  width:100%!important;
  min-width:900px!important;
  border-collapse:collapse!important;
}

body.partner-page-cobranca th{
  background:#14233c!important;
  color:#93c5fd!important;
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}

body.partner-page-cobranca td{
  background:#101827!important;
  color:#fff!important;
  border-bottom:1px solid rgba(148,163,184,.16)!important;
}

body.partner-page-cobranca .renewal-actions{
  display:grid!important;
  gap:8px!important;
}

body.partner-page-cobranca .renewal-actions form,
body.partner-page-cobranca .renewal-actions button,
body.partner-page-cobranca .renewal-actions .btn{
  width:100%!important;
}

body.partner-page-cobranca .btn,
body.partner-page-cobranca button,
body.partner-page-cobranca a.btn{
  border-radius:8px!important;
}

@media(max-width:820px){
  body.partner-page-cobranca .partner-summary-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.partner-page-cobranca .partner-summary-grid .card,
  body.partner-page-cobranca .metric{
    min-height:110px!important;
  }

  body.partner-page-cobranca .cobranca-history-pds{
    padding:16px!important;
  }

  body.partner-page-cobranca .table-wrap{
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
  }

  body.partner-page-cobranca table,
  body.partner-page-cobranca thead,
  body.partner-page-cobranca tbody,
  body.partner-page-cobranca tr,
  body.partner-page-cobranca td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }

  body.partner-page-cobranca thead{
    display:none!important;
  }

  body.partner-page-cobranca tr{
    background:#101827!important;
    border:1px solid #334155!important;
    border-radius:12px!important;
    padding:14px!important;
    margin-bottom:14px!important;
  }

  body.partner-page-cobranca td{
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:12px!important;
    padding:10px 0!important;
    border-bottom:1px solid rgba(148,163,184,.12)!important;
  }

  body.partner-page-cobranca td:last-child{
    border-bottom:0!important;
    grid-template-columns:1fr!important;
  }

  body.partner-page-cobranca td::before{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
  }

  body.partner-page-cobranca td:nth-child(1)::before{content:"Cliente";}
  body.partner-page-cobranca td:nth-child(2)::before{content:"Valor";}
  body.partner-page-cobranca td:nth-child(3)::before{content:"Vencimento";}
  body.partner-page-cobranca td:nth-child(4)::before{content:"Status";}
  body.partner-page-cobranca td:nth-child(5)::before{content:"Criada em";}
  body.partner-page-cobranca td:nth-child(6)::before{content:"E-mail";}
  body.partner-page-cobranca td:nth-child(7)::before{content:"Ações";}

  body.partner-page-cobranca .renewal-actions{
    grid-template-columns:1fr!important;
  }
}

/* MOBILE MENU PREMIUM LOCK V2 */
@media(max-width:820px){
  .partner-mobile-menu-button{
    position:fixed!important;
    top:18px!important;
    right:18px!important;
    left:auto!important;
    z-index:30050!important;
  }

  body:not(.partner-mobile-menu-open) aside.sidebar,
  body:not(.partner-mobile-menu-open) .sidebar,
  body:not(.partner-mobile-menu-open) .partner-sidebar{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(84vw,320px)!important;
    max-width:320px!important;
    height:100dvh!important;
    transform:translateX(115%)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:30040!important;
  }

  body.partner-mobile-menu-open aside.sidebar,
  body.partner-mobile-menu-open .sidebar,
  body.partner-mobile-menu-open .partner-sidebar{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(84vw,320px)!important;
    max-width:320px!important;
    height:100dvh!important;
    transform:translateX(0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:30040!important;

    background:#202b3a!important;
    border-left:1px solid rgba(148,163,184,.16)!important;
    padding:24px 18px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
    color:#fff!important;
    overflow-y:auto!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-brand{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    padding-bottom:16px!important;
    border-bottom:1px solid rgba(148,163,184,.16)!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-menu{
    display:grid!important;
    gap:8px!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-menu a{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-height:44px!important;
    padding:10px 12px!important;
    border-radius:10px!important;
    color:#cbd5e1!important;
    text-decoration:none!important;
    font-weight:800!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-menu a.active{
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    color:#fff!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-label{
    color:#8aa4cc!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
    margin:12px 0 4px!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-footer{
    margin-top:auto!important;
  }

  body.partner-mobile-menu-open .partner-sidebar-logout{
    width:100%!important;
  }
}

/* VENCIMENTOS MOBILE CLEAN V1 */
@media(max-width:820px){
  body.partner-page-vencimentos .renewal-top,
  body.partner-page-vencimentos .metrics,
  body.partner-page-vencimentos .partner-summary-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.partner-page-vencimentos .renewal-top .metric,
  body.partner-page-vencimentos .metrics .card,
  body.partner-page-vencimentos .partner-summary-grid .card{
    width:100%!important;
    min-height:96px!important;
    padding:16px!important;
  }

  body.partner-page-vencimentos .renewal-filter,
  body.partner-page-vencimentos form{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.partner-page-vencimentos input,
  body.partner-page-vencimentos select,
  body.partner-page-vencimentos .renewal-filter .btn,
  body.partner-page-vencimentos button{
    width:100%!important;
    min-height:48px!important;
  }

  body.partner-page-vencimentos .table-wrap{
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
  }

  body.partner-page-vencimentos table,
  body.partner-page-vencimentos thead,
  body.partner-page-vencimentos tbody,
  body.partner-page-vencimentos tr,
  body.partner-page-vencimentos td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }

  body.partner-page-vencimentos thead{
    display:none!important;
  }

  body.partner-page-vencimentos tr{
    background:#101827!important;
    border:1px solid #334155!important;
    border-radius:12px!important;
    padding:14px!important;
    margin-bottom:14px!important;
  }

  body.partner-page-vencimentos td{
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:12px!important;
    padding:10px 0!important;
    border-bottom:1px solid rgba(148,163,184,.12)!important;
    color:#fff!important;
  }

  body.partner-page-vencimentos td:last-child{
    border-bottom:0!important;
    grid-template-columns:1fr!important;
  }

  body.partner-page-vencimentos td::before{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
  }

  body.partner-page-vencimentos td:nth-child(1)::before{content:"Cliente";}
  body.partner-page-vencimentos td:nth-child(2)::before{content:"Plano";}
  body.partner-page-vencimentos td:nth-child(3)::before{content:"Vencimento";}
  body.partner-page-vencimentos td:nth-child(4)::before{content:"Status";}
  body.partner-page-vencimentos td:nth-child(5)::before{content:"Cobrança";}
  body.partner-page-vencimentos td:nth-child(6)::before{content:"Ações";}

  body.partner-page-vencimentos .renewal-actions,
  body.partner-page-vencimentos td:last-child form,
  body.partner-page-vencimentos td:last-child .btn,
  body.partner-page-vencimentos td:last-child button{
    width:100%!important;
  }

  body.partner-page-vencimentos .renewal-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
}

/* VENCIMENTOS MOBILE CARDS V12 */
.renewal-mobile-cards-v12{
  display:none;
}

@media(max-width:820px){
  body.partner-page-vencimentos .renewal-page-premium-v10 > table{
    display:none!important;
  }

  body.partner-page-vencimentos .renewal-mobile-cards-v12{
    display:grid!important;
    gap:14px!important;
    margin-top:14px!important;
  }

  body.partner-page-vencimentos .renewal-client-card-v12{
    background:#101827!important;
    border:1px solid #334155!important;
    border-radius:12px!important;
    padding:16px!important;
    color:#fff!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12{
    display:flex!important;
    justify-content:space-between!important;
    gap:12px!important;
    align-items:flex-start!important;
    margin-bottom:14px!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12 strong{
    display:block!important;
    font-size:17px!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12 span{
    display:block!important;
    color:#93c5fd!important;
    font-size:13px!important;
    word-break:break-word!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12{
    display:grid!important;
    gap:12px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 > div{
    border-top:1px solid rgba(148,163,184,.14)!important;
    padding-top:12px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 span{
    display:block!important;
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    margin-bottom:5px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 strong{
    display:block!important;
    color:#fff!important;
    font-size:16px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 small{
    display:block!important;
    margin-top:5px!important;
    color:#9fb7d8!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 small.ok{color:#34d399!important;}
  body.partner-page-vencimentos .renewal-client-grid-v12 small.warn{color:#fbbf24!important;}
  body.partner-page-vencimentos .renewal-client-grid-v12 small.danger{color:#fb7185!important;}

  body.partner-page-vencimentos .renewal-mobile-actions-v12{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:14px!important;
  }

  body.partner-page-vencimentos .renewal-mobile-actions-v12 form,
  body.partner-page-vencimentos .renewal-mobile-actions-v12 .btn,
  body.partner-page-vencimentos .renewal-mobile-actions-v12 button{
    width:100%!important;
  }
}

/* MOBILE MENU BUTTON RIGHT LOCK V3 */
@media(max-width:820px){
  .partner-mobile-menu-button,
  body .partner-mobile-menu-button,
  body.partner-page-dashboard .partner-mobile-menu-button,
  body.partner-page-vencimentos .partner-mobile-menu-button,
  body.partner-page-cobranca .partner-mobile-menu-button,
  body.partner-page-config .partner-mobile-menu-button,
  body.partner-page-clientes .partner-mobile-menu-button,
  body.partner-page-criar .partner-mobile-menu-button,
  body.partner-page-financeiro .partner-mobile-menu-button,
  body.partner-page-planos .partner-mobile-menu-button,
  body.partner-page-suporte .partner-mobile-menu-button{
    position:fixed!important;
    top:18px!important;
    right:18px!important;
    left:auto!important;
    margin:0!important;
    transform:none!important;
    z-index:30080!important;
  }
}

/* MOBILE MENU BUTTON ABSOLUTE RIGHT FIX V4 */
@media(max-width:820px){
  button.partner-mobile-menu-button,
  .partner-mobile-menu-button{
    position:fixed!important;
    top:18px!important;
    right:18px!important;
    left:auto!important;
    bottom:auto!important;
    margin:0!important;
    transform:none!important;
    translate:none!important;
    z-index:999999!important;
  }
}

/* MOBILE MENU BUTTON SIZE + RIGHT LOCK V5 */
@media(max-width:820px){
  .partner-mobile-menu-button{
    position:fixed!important;
    top:18px!important;
    right:18px!important;
    left:auto!important;
    bottom:auto!important;
    width:58px!important;
    max-width:58px!important;
    min-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    transform:none!important;
    translate:none!important;
    z-index:999999!important;
  }

  .partner-mobile-menu-button span{
    margin:0!important;
  }
}

/* CLIENTES MOBILE PREMIUM DASHBOARD MATCH V1 */
@media(max-width:820px){
  body.partner-page-clientes .metrics,
  body.partner-page-clientes .partner-summary-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:18px 0!important;
  }

  body.partner-page-clientes .metrics .card,
  body.partner-page-clientes .partner-summary-grid .card{
    background:linear-gradient(135deg,#111c30 0%,#152a50 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:14px!important;
    padding:18px!important;
    min-height:96px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-clientes .metric-label,
  body.partner-page-clientes .metrics .card span,
  body.partner-page-clientes .partner-summary-grid .card span{
    color:#93c5fd!important;
    font-size:10px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-clientes .metric-value,
  body.partner-page-clientes .metrics .card strong,
  body.partner-page-clientes .partner-summary-grid .card strong{
    color:#fff!important;
    font-size:28px!important;
    font-weight:950!important;
    line-height:1.05!important;
  }

  body.partner-page-clientes .client-filter,
  body.partner-page-clientes .filters,
  body.partner-page-clientes .filter-bar,
  body.partner-page-clientes .partner-client-filter{
    background:#101827!important;
    border:1px solid #334155!important;
    border-radius:14px!important;
    padding:14px!important;
    display:grid!important;
    gap:12px!important;
  }

  body.partner-page-clientes input[type="search"],
  body.partner-page-clientes input[name="busca"],
  body.partner-page-clientes .client-filter input,
  body.partner-page-clientes .filters input{
    width:100%!important;
    min-height:48px!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:10px!important;
    padding:12px 14px!important;
    font-size:15px!important;
  }

  body.partner-page-clientes .filter-tabs,
  body.partner-page-clientes .client-filter-tabs,
  body.partner-page-clientes .filters .tabs{
    display:flex!important;
    gap:8px!important;
    flex-wrap:wrap!important;
  }

  body.partner-page-clientes .filter-tabs a,
  body.partner-page-clientes .client-filter-tabs a,
  body.partner-page-clientes .filters a,
  body.partner-page-clientes .filter-bar a,
  body.partner-page-clientes .filters button{
    min-height:38px!important;
    border-radius:10px!important;
    padding:9px 13px!important;
    font-weight:900!important;
    border:1px solid rgba(96,165,250,.20)!important;
    background:#0f1b2e!important;
    color:#c7d2fe!important;
  }

  body.partner-page-clientes .filter-tabs a.active,
  body.partner-page-clientes .client-filter-tabs a.active,
  body.partner-page-clientes .filters a.active,
  body.partner-page-clientes .filter-bar a.active{
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    color:#fff!important;
    border-color:transparent!important;
  }

  body.partner-page-clientes .partner-client-card,
  body.partner-page-clientes .client-card,
  body.partner-page-clientes .cliente-card{
    background:linear-gradient(135deg,#101827 0%,#17243a 100%)!important;
    border:1px solid rgba(96,165,250,.18)!important;
    border-radius:14px!important;
    padding:16px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-clientes .partner-client-cards,
  body.partner-page-clientes .client-cards,
  body.partner-page-clientes .clientes-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  body.partner-page-clientes .usage-bar,
  body.partner-page-clientes .progress,
  body.partner-page-clientes .storage-bar{
    height:7px!important;
    border-radius:999px!important;
    background:#26364d!important;
    overflow:hidden!important;
  }

  body.partner-page-clientes .btn,
  body.partner-page-clientes button,
  body.partner-page-clientes a.btn{
    border-radius:10px!important;
    min-height:42px!important;
    font-weight:900!important;
  }
}

/* CLIENTES MOBILE PREMIUM POLISH V2 */
@media(max-width:820px){
  body.partner-page-clientes .metrics .card,
  body.partner-page-clientes .partner-summary-grid .card{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.16), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172b55 100%)!important;
    border:1px solid rgba(96,165,250,.24)!important;
    border-radius:16px!important;
    padding:20px!important;
    min-height:106px!important;
  }

  body.partner-page-clientes .metrics .card strong,
  body.partner-page-clientes .partner-summary-grid .card strong{
    font-size:32px!important;
    letter-spacing:-.03em!important;
  }

  body.partner-page-clientes .partner-client-filter,
  body.partner-page-clientes .filters,
  body.partner-page-clientes .filter-bar{
    background:
      radial-gradient(circle at top left, rgba(59,130,246,.12), transparent 42%),
      #101827!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:16px!important;
    padding:16px!important;
  }

  body.partner-page-clientes input[type="search"],
  body.partner-page-clientes input[name="busca"],
  body.partner-page-clientes .filters input{
    min-height:50px!important;
    border-radius:12px!important;
    font-size:16px!important;
    color:#fff!important;
  }

  body.partner-page-clientes .filter-tabs a,
  body.partner-page-clientes .client-filter-tabs a,
  body.partner-page-clientes .filters a,
  body.partner-page-clientes .filter-bar a,
  body.partner-page-clientes .filters button{
    min-height:42px!important;
    border-radius:12px!important;
    padding:10px 15px!important;
  }

  body.partner-page-clientes .partner-client-card,
  body.partner-page-clientes .client-card,
  body.partner-page-clientes .cliente-card{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.11), transparent 36%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:18px!important;
  }

  body.partner-page-clientes .partner-client-card .avatar,
  body.partner-page-clientes .client-avatar,
  body.partner-page-clientes .cliente-avatar{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    border-radius:14px!important;
    font-size:20px!important;
    font-weight:950!important;
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    color:#fff!important;
  }

  body.partner-page-clientes .partner-client-card h3,
  body.partner-page-clientes .client-card h3,
  body.partner-page-clientes .cliente-card h3{
    font-size:19px!important;
    line-height:1.15!important;
  }

  body.partner-page-clientes .usage-bar,
  body.partner-page-clientes .progress,
  body.partner-page-clientes .storage-bar{
    height:10px!important;
    border-radius:999px!important;
    background:#26364d!important;
  }

  body.partner-page-clientes .usage-bar > *,
  body.partner-page-clientes .progress > *,
  body.partner-page-clientes .storage-bar > *{
    border-radius:999px!important;
    background:linear-gradient(90deg,#38bdf8,#2563eb,#7c3aed)!important;
  }

  body.partner-page-clientes .partner-client-card .btn,
  body.partner-page-clientes .client-card .btn,
  body.partner-page-clientes .cliente-card .btn,
  body.partner-page-clientes .partner-client-card button,
  body.partner-page-clientes .client-card button,
  body.partner-page-clientes .cliente-card button{
    min-height:46px!important;
    border-radius:12px!important;
    padding:11px 16px!important;
  }

  body.partner-page-clientes .partner-client-card .btn-primary,
  body.partner-page-clientes .client-card .btn-primary,
  body.partner-page-clientes .cliente-card .btn-primary{
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    border-color:transparent!important;
    color:#fff!important;
  }
}

/* CRIAR CLIENTE MOBILE PREMIUM POLISH V1 */
@media(max-width:820px){
  body.partner-page-criar .create-page-v3,
  body.partner-page-criar .create-shell-v3,
  body.partner-page-criar .create-main-v3{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  body.partner-page-criar .create-panel-v3,
  body.partner-page-criar .create-summary-v3{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-criar .create-panel-v3 h3,
  body.partner-page-criar .create-summary-v3 h3{
    font-size:22px!important;
    color:#fff!important;
    margin-bottom:16px!important;
  }

  body.partner-page-criar .create-grid-v3{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  body.partner-page-criar .create-field-v3{
    background:rgba(15,23,42,.38)!important;
    border:1px solid rgba(96,165,250,.14)!important;
    border-radius:14px!important;
    padding:12px!important;
  }

  body.partner-page-criar .create-field-v3 label{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-criar .create-field-v3 input,
  body.partner-page-criar .create-field-v3 select,
  body.partner-page-criar .create-field-v3 textarea{
    width:100%!important;
    min-height:50px!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    font-size:16px!important;
  }

  body.partner-page-criar .create-field-v3 textarea{
    min-height:96px!important;
  }

  body.partner-page-criar .create-actions-v3{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:16px!important;
  }

  body.partner-page-criar .create-actions-v3 .btn,
  body.partner-page-criar .create-actions-v3 button,
  body.partner-page-criar .create-actions-v3 a{
    width:100%!important;
    min-height:50px!important;
    border-radius:12px!important;
    font-weight:950!important;
  }

  body.partner-page-criar .create-actions-v3 .btn-primary,
  body.partner-page-criar button[type="submit"]{
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    border-color:transparent!important;
    color:#fff!important;
  }

  body.partner-page-criar .create-actions-v3 .btn-soft,
  body.partner-page-criar .create-actions-v3 .btn-outline{
    background:#0b1220!important;
    border:1px solid rgba(148,163,184,.60)!important;
    color:#e5e7eb!important;
  }
}

/* PLANOS MOBILE PREMIUM REBUILD V1 */
@media(max-width:820px){
  body.partner-page-planos .metrics,
  body.partner-page-planos .partner-summary-grid,
  body.partner-page-planos .grid,
  body.partner-page-planos .grid.two{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.partner-page-planos .card,
  body.partner-page-planos .metric,
  body.partner-page-planos section.card{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
    color:#fff!important;
  }

  body.partner-page-planos .metrics .card,
  body.partner-page-planos .partner-summary-grid .card{
    min-height:104px!important;
  }

  body.partner-page-planos h2,
  body.partner-page-planos h3{
    font-size:24px!important;
    color:#fff!important;
    margin:0 0 10px!important;
  }

  body.partner-page-planos .muted,
  body.partner-page-planos p{
    color:#9fc2f8!important;
    line-height:1.35!important;
  }

  body.partner-page-planos .plan-card,
  body.partner-page-planos .price-card,
  body.partner-page-planos .plan-row{
    background:#0f1b2e!important;
    border:1px solid rgba(96,165,250,.18)!important;
    border-radius:16px!important;
    padding:16px!important;
    margin:12px 0!important;
  }

  body.partner-page-planos input,
  body.partner-page-planos select,
  body.partner-page-planos textarea{
    width:100%!important;
    max-width:100%!important;
    min-height:50px!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    box-sizing:border-box!important;
  }

  body.partner-page-planos label{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-planos .btn,
  body.partner-page-planos button,
  body.partner-page-planos a.btn{
    width:100%!important;
    min-height:48px!important;
    border-radius:12px!important;
    font-weight:950!important;
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    border-color:transparent!important;
    color:#fff!important;
    margin-top:8px!important;
  }

  body.partner-page-planos table,
  body.partner-page-planos thead,
  body.partner-page-planos tbody,
  body.partner-page-planos tr,
  body.partner-page-planos td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }

  body.partner-page-planos thead{
    display:none!important;
  }

  body.partner-page-planos tr{
    background:#0f1b2e!important;
    border:1px solid rgba(96,165,250,.18)!important;
    border-radius:16px!important;
    padding:16px!important;
    margin-bottom:14px!important;
  }

  body.partner-page-planos td{
    border:0!important;
    padding:6px 0!important;
  }
}

/* PLANOS MOBILE PRICE TABLE SEPARATION V2 */
@media(max-width:820px){
  body.partner-page-planos .card h3 + p{
    margin-bottom:18px!important;
  }

  body.partner-page-planos .card form,
  body.partner-page-planos section.card form{
    display:grid!important;
    gap:16px!important;
  }

  body.partner-page-planos .card form > div,
  body.partner-page-planos section.card form > div{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
      #0f1b2e!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:16px!important;
    padding:16px!important;
    margin:0!important;
  }

  body.partner-page-planos .card form > div h3,
  body.partner-page-planos section.card form > div h3{
    font-size:24px!important;
    margin:0 0 8px!important;
  }

  body.partner-page-planos .card form > div p,
  body.partner-page-planos section.card form > div p{
    margin:4px 0!important;
    color:#dbeafe!important;
  }

  body.partner-page-planos .card form > div input,
  body.partner-page-planos section.card form > div input{
    margin-top:10px!important;
  }

  body.partner-page-planos .card form > button,
  body.partner-page-planos section.card form > button{
    margin-top:4px!important;
  }
}

/* PLANOS PIX + PRICE CARDS MOBILE V3 */
@media(max-width:820px){
  body.partner-page-planos .partner-saldo-buy-grid,
  body.partner-page-planos .partner-price-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  body.partner-page-planos .partner-saldo-buy-card,
  body.partner-page-planos .partner-price-plan-card,
  body.partner-page-planos .partner-saldo-custom{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.12), transparent 38%),
      linear-gradient(135deg,#0f1b2e 0%,#14233c 100%)!important;
    border:1px solid rgba(96,165,250,.25)!important;
    border-radius:18px!important;
    padding:18px!important;
    margin:0!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-planos .partner-saldo-buy-card h3,
  body.partner-page-planos .partner-price-plan-card h3{
    font-size:24px!important;
    margin:0 0 6px!important;
    color:#fff!important;
  }

  body.partner-page-planos .saldo-quota,
  body.partner-page-planos .partner-price-plan-top span{
    color:#bfdbfe!important;
    font-size:15px!important;
    margin-bottom:12px!important;
    display:block!important;
  }

  body.partner-page-planos .saldo-price{
    display:block!important;
    font-size:28px!important;
    font-weight:950!important;
    color:#34d399!important;
    margin:12px 0!important;
  }

  body.partner-page-planos .partner-price-plan-top{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
    gap:12px!important;
    margin-bottom:14px!important;
  }

  body.partner-page-planos .partner-price-badge{
    background:rgba(34,197,94,.14)!important;
    border:1px solid rgba(34,197,94,.28)!important;
    color:#4ade80!important;
    border-radius:999px!important;
    padding:6px 10px!important;
    font-size:10px!important;
    font-weight:900!important;
  }

  body.partner-page-planos .partner-price-numbers{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    border-top:1px solid rgba(148,163,184,.14)!important;
    border-bottom:1px solid rgba(148,163,184,.14)!important;
    padding:14px 0!important;
    margin:14px 0!important;
  }

  body.partner-page-planos .partner-price-numbers small,
  body.partner-page-planos .partner-price-input-label span,
  body.partner-page-planos .partner-price-profit small{
    display:block!important;
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
    margin-bottom:5px!important;
  }

  body.partner-page-planos .partner-price-numbers strong,
  body.partner-page-planos .partner-price-profit strong{
    display:block!important;
    color:#fff!important;
    font-size:23px!important;
    font-weight:950!important;
  }

  body.partner-page-planos .partner-price-numbers > div:nth-child(2) strong,
  body.partner-page-planos .partner-price-profit strong{
    color:#34d399!important;
  }

  body.partner-page-planos .partner-price-input-label{
    display:block!important;
    margin:14px 0!important;
  }

  body.partner-page-planos .partner-price-input{
    width:100%!important;
    text-align:right!important;
    font-size:18px!important;
    font-weight:900!important;
  }

  body.partner-page-planos .partner-price-profit{
    background:rgba(34,197,94,.08)!important;
    border:1px solid rgba(34,197,94,.18)!important;
    border-radius:14px!important;
    padding:12px!important;
  }

  body.partner-page-planos .partner-price-actions{
    margin-top:16px!important;
  }

  body.partner-page-planos .partner-saldo-custom-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.partner-page-planos .partner-saldo-note{
    background:rgba(56,189,248,.08)!important;
    border:1px solid rgba(56,189,248,.18)!important;
    border-radius:14px!important;
    padding:14px!important;
    margin-top:16px!important;
  }
}

/* VENCIMENTOS COLOR MATCH DASHBOARD V1 */
@media(max-width:820px){
  body.partner-page-vencimentos .partner-center-hero{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
      linear-gradient(135deg,#152238 0%,#1b2d4a 48%,#1d3560 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
  }

  body.partner-page-vencimentos .renewal-page-premium-v10,
  body.partner-page-vencimentos .card,
  body.partner-page-vencimentos .metric,
  body.partner-page-vencimentos .renewal-client-card-v12{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
  }

  body.partner-page-vencimentos .renewal-top .metric,
  body.partner-page-vencimentos .metrics .card,
  body.partner-page-vencimentos .partner-summary-grid .card{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
  }
}

/* MOVIMENTAÇÕES MOBILE PREMIUM REBUILD V1 */
@media(max-width:820px){
  body.partner-page-movimentacoes .partner-summary-grid,
  body.partner-page-movimentacoes .metrics,
  body.partner-page-movimentacoes .grid,
  body.partner-page-movimentacoes .grid.two{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:18px 0!important;
  }

  body.partner-page-movimentacoes .card,
  body.partner-page-movimentacoes .metric{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:18px!important;
    padding:18px!important;
    color:#fff!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-movimentacoes form,
  body.partner-page-movimentacoes .filter-bar,
  body.partner-page-movimentacoes .filters{
    background:#101827!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:16px!important;
    padding:14px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:18px 0!important;
  }

  body.partner-page-movimentacoes input,
  body.partner-page-movimentacoes select{
    width:100%!important;
    min-height:50px!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    font-size:15px!important;
    box-sizing:border-box!important;
  }

  body.partner-page-movimentacoes .btn,
  body.partner-page-movimentacoes button,
  body.partner-page-movimentacoes a.btn{
    width:100%!important;
    min-height:48px!important;
    border-radius:12px!important;
    font-weight:950!important;
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    border-color:transparent!important;
    color:#fff!important;
  }

  body.partner-page-movimentacoes table,
  body.partner-page-movimentacoes thead,
  body.partner-page-movimentacoes tbody,
  body.partner-page-movimentacoes tr,
  body.partner-page-movimentacoes td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }

  body.partner-page-movimentacoes thead{
    display:none!important;
  }

  body.partner-page-movimentacoes tr{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:16px!important;
    margin-bottom:14px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-movimentacoes td{
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:12px!important;
    padding:10px 0!important;
    border-bottom:1px solid rgba(148,163,184,.12)!important;
    color:#fff!important;
    word-break:break-word!important;
  }

  body.partner-page-movimentacoes td:last-child{
    border-bottom:0!important;
  }

  body.partner-page-movimentacoes td::before{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-movimentacoes td:nth-child(1)::before{content:"Data";}
  body.partner-page-movimentacoes td:nth-child(2)::before{content:"Tipo";}
  body.partner-page-movimentacoes td:nth-child(3)::before{content:"Descrição";}
  body.partner-page-movimentacoes td:nth-child(4)::before{content:"Cliente";}
  body.partner-page-movimentacoes td:nth-child(5)::before{content:"Valor";}
  body.partner-page-movimentacoes td:nth-child(6)::before{content:"Saldo";}

  body.partner-page-movimentacoes td:nth-child(2){
    color:#38bdf8!important;
    font-weight:900!important;
  }

  body.partner-page-movimentacoes td:nth-child(5),
  body.partner-page-movimentacoes td:nth-child(6){
    font-weight:950!important;
    font-size:17px!important;
  }
}

/* MOVIMENTAÇÕES PREMIUM CARDS V10 */
@media(max-width:820px){
  body.partner-page-movimentacoes .movements-desktop-head-v10{
    display:none!important;
  }

  body.partner-page-movimentacoes .movements-v8-kpis{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:18px 0!important;
  }

  body.partner-page-movimentacoes .movements-v8-kpis article{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:18px!important;
    padding:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-movimentacoes .movements-v8-kpis span{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-movimentacoes .movements-v8-kpis strong{
    display:block!important;
    margin-top:8px!important;
    color:#fff!important;
    font-size:27px!important;
    font-weight:950!important;
  }

  body.partner-page-movimentacoes .movements-v8-list{
    display:grid!important;
    gap:16px!important;
  }

  body.partner-page-movimentacoes .movements-v8-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
    color:#fff!important;
  }

  body.partner-page-movimentacoes .mov-date{
    color:#94a3b8!important;
    font-size:13px!important;
    order:3!important;
  }

  body.partner-page-movimentacoes .mov-chip{
    display:inline-flex!important;
    width:max-content!important;
    border-radius:999px!important;
    padding:5px 10px!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-movimentacoes .mov-chip.credit{
    background:rgba(34,197,94,.14)!important;
    border:1px solid rgba(34,197,94,.28)!important;
    color:#4ade80!important;
  }

  body.partner-page-movimentacoes .mov-chip.debit{
    background:rgba(248,113,113,.14)!important;
    border:1px solid rgba(248,113,113,.28)!important;
    color:#fb7185!important;
  }

  body.partner-page-movimentacoes .mov-chip.info{
    background:rgba(56,189,248,.12)!important;
    border:1px solid rgba(56,189,248,.24)!important;
    color:#38bdf8!important;
  }

  body.partner-page-movimentacoes .mov-desc strong{
    display:block!important;
    color:#fff!important;
    font-size:18px!important;
    line-height:1.2!important;
  }

  body.partner-page-movimentacoes .mov-client{
    color:#bfdbfe!important;
    font-size:14px!important;
  }

  body.partner-page-movimentacoes .mov-money{
    font-size:27px!important;
    font-weight:950!important;
    letter-spacing:-.03em!important;
  }

  body.partner-page-movimentacoes .mov-money.positive{color:#34d399!important;}
  body.partner-page-movimentacoes .mov-money.negative{color:#fb7185!important;}
  body.partner-page-movimentacoes .mov-money.neutral{color:#38bdf8!important;}

  body.partner-page-movimentacoes .mov-balance{
    background:rgba(15,23,42,.48)!important;
    border:1px solid rgba(148,163,184,.14)!important;
    border-radius:14px!important;
    padding:13px!important;
  }

  body.partner-page-movimentacoes .mov-balance strong{
    display:block!important;
    color:#fff!important;
    font-size:18px!important;
  }

  body.partner-page-movimentacoes .mov-balance span{
    display:block!important;
    margin-top:5px!important;
    color:#94a3b8!important;
  }
}


/* Movimentações - KPIs simplificados */
@media (min-width:821px){
body.partner-page-movimentacoes .movements-v8-kpis{
display:grid!important;
grid-template-columns:repeat(3,1fr)!important;
gap:18px!important;
}
}

@media (max-width:820px){
body.partner-page-movimentacoes .movements-v8-kpis{
grid-template-columns:1fr!important;
}
}


/* FINANCEIRO PREMIUM POLISH */
.finance-method-card{
    margin-bottom:28px!important;
}

.finance-method-head{
    margin-bottom:18px!important;
}

.finance-actions{
    margin-top:32px!important;
}

.finance-actions .btn{
    width:100%!important;
    min-height:52px!important;
    border-radius:14px!important;
}

/* FINANCEIRO MOBILE CARDS FIX V2 */
@media(max-width:820px){
  body.partner-page-financeiro .finance-v2-grid,
  body.partner-page-financeiro .finance-separated-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    width:100%!important;
  }

  body.partner-page-financeiro .finance-panel{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:18px!important;
    padding:18px!important;
    color:#fff!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-financeiro .finance-method-card{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
      linear-gradient(135deg,#0f1b2e 0%,#14233c 100%)!important;
    border:1px solid rgba(96,165,250,.24)!important;
    border-radius:18px!important;
    padding:18px!important;
    margin:0 0 18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-financeiro .finance-method-head{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
    gap:12px!important;
    margin-bottom:16px!important;
  }

  body.partner-page-financeiro .finance-method-head h3{
    margin:0 0 6px!important;
    color:#fff!important;
    font-size:22px!important;
    line-height:1.15!important;
  }

  body.partner-page-financeiro .finance-method-head .muted{
    margin:0!important;
    color:#9fc2f8!important;
    line-height:1.35!important;
  }

  body.partner-page-financeiro .finance-method-badge{
    white-space:nowrap!important;
    border-radius:999px!important;
    padding:5px 10px!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
  }

  body.partner-page-financeiro .finance-method-badge.ok{
    background:rgba(34,197,94,.14)!important;
    border:1px solid rgba(34,197,94,.28)!important;
    color:#4ade80!important;
  }

  body.partner-page-financeiro .finance-method-badge.off{
    background:rgba(148,163,184,.12)!important;
    border:1px solid rgba(148,163,184,.22)!important;
    color:#cbd5e1!important;
  }

  body.partner-page-financeiro .finance-form-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  body.partner-page-financeiro .finance-field{
    display:grid!important;
    gap:7px!important;
  }

  body.partner-page-financeiro .finance-field label{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-financeiro .finance-field input{
    width:100%!important;
    min-height:50px!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    box-sizing:border-box!important;
  }

  body.partner-page-financeiro .finance-secret-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.partner-page-financeiro .finance-secret-row label{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:max-content!important;
  }

  body.partner-page-financeiro .finance-actions .btn{
    width:100%!important;
    min-height:52px!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,#38bdf8,#7c3aed)!important;
    border-color:transparent!important;
    color:#fff!important;
    font-weight:950!important;
  }
}

/* SUPORTE MOBILE PREMIUM V2 */
@media(max-width:820px){
  body.partner-page-suporte .support-page-v7{
    display:grid!important;
    gap:18px!important;
    width:100%!important;
  }

  body.partner-page-suporte .support-topics-v7{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin:18px 0!important;
  }

  body.partner-page-suporte .support-topics-v7 article,
  body.partner-page-suporte .support-card-v7{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:18px!important;
    color:#fff!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-suporte .support-topics-v7 article span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    color:#fff!important;
    font-weight:950!important;
    margin-bottom:10px!important;
  }

  body.partner-page-suporte .support-topics-v7 article strong{
    display:block!important;
    font-size:19px!important;
    color:#fff!important;
    margin-bottom:6px!important;
  }

  body.partner-page-suporte .support-topics-v7 article p,
  body.partner-page-suporte .support-section-title-v7 p{
    color:#9fc2f8!important;
    line-height:1.4!important;
    margin:0!important;
  }

  body.partner-page-suporte .support-layout-v7{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
  }

  body.partner-page-suporte .support-section-title-v7 h2{
    font-size:26px!important;
    margin:0 0 8px!important;
    color:#fff!important;
  }

  body.partner-page-suporte .support-fields-v7{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-top:18px!important;
  }

  body.partner-page-suporte .support-fields-v7 label,
  body.partner-page-suporte .support-full-v7{
    display:grid!important;
    gap:7px!important;
  }

  body.partner-page-suporte .support-fields-v7 span,
  body.partner-page-suporte .support-full-v7 span{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-suporte select,
  body.partner-page-suporte input,
  body.partner-page-suporte textarea{
    width:100%!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    box-sizing:border-box!important;
    font-size:15px!important;
  }

  body.partner-page-suporte select,
  body.partner-page-suporte input{
    min-height:50px!important;
  }

  body.partner-page-suporte textarea{
    min-height:170px!important;
    resize:vertical!important;
  }

  body.partner-page-suporte .support-full-v7{
    margin-top:14px!important;
  }

  body.partner-page-suporte .support-actions-v7{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:18px!important;
  }

  body.partner-page-suporte .support-actions-v7 .btn{
    width:100%!important;
    min-height:52px!important;
    border-radius:14px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-note-v7{
    background:rgba(56,189,248,.08)!important;
    border:1px solid rgba(56,189,248,.18)!important;
    border-radius:14px!important;
    padding:14px!important;
    margin-top:18px!important;
    color:#bfdbfe!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-ticket-list-v7{
    display:grid!important;
    gap:14px!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article,
  body.partner-page-suporte .support-empty-v7{
    background:#0f1b2e!important;
    border:1px solid rgba(96,165,250,.18)!important;
    border-radius:14px!important;
    padding:14px!important;
  }
}

/* SUPORTE WHATSAPP GREEN BUTTON V1 */
@media(max-width:820px){
  body.partner-page-suporte .support-whatsapp-v7,
  body.partner-page-suporte a.support-whatsapp-v7{
    background:linear-gradient(135deg,#22c55e,#16a34a)!important;
    border-color:rgba(34,197,94,.35)!important;
    color:#fff!important;
    box-shadow:0 14px 30px rgba(34,197,94,.18)!important;
  }
}

/* CONFIG PASSWORD RULES MOBILE FIX V2 */
@media(max-width:820px){
  body.partner-page-config .partner-password-premium{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }

  body.partner-page-config .partner-password-fields,
  body.partner-page-config .partner-password-rules{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  body.partner-page-config .partner-password-rules{
    display:block!important;
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:18px!important;
    color:#bfdbfe!important;
  }

  body.partner-page-config .partner-password-rules strong{
    display:block!important;
    color:#fff!important;
    font-size:20px!important;
    margin-bottom:8px!important;
  }

  body.partner-page-config .partner-password-rules ul{
    margin:14px 0 0!important;
    padding-left:20px!important;
  }

  body.partner-page-config .partner-password-rules li{
    margin-bottom:8px!important;
  }
}

/* CONFIG MOBILE SCROLL FIX */
@media (max-width:820px){

    html,
    body{
        overflow-y:auto!important;
        overflow-x:hidden!important;
        height:auto!important;
        min-height:100%!important;
        -webkit-overflow-scrolling:touch;
    }

    body.partner-page-config{
        overflow-y:auto!important;
    }

    body.partner-page-config main,
    body.partner-page-config .partner-main,
    body.partner-page-config .partner-content,
    body.partner-page-config .partner-password-premium{
        overflow:visible!important;
        height:auto!important;
        min-height:auto!important;
        max-height:none!important;
    }

}

/* CONFIG MOBILE SCROLL FIX */
@media (max-width:820px){

    html,
    body{
        overflow-y:auto!important;
        overflow-x:hidden!important;
        height:auto!important;
        min-height:100%!important;
        -webkit-overflow-scrolling:touch;
    }

    body.partner-page-config{
        overflow-y:auto!important;
    }

    body.partner-page-config main,
    body.partner-page-config .partner-main,
    body.partner-page-config .partner-content,
    body.partner-page-config .partner-password-premium{
        overflow:visible!important;
        height:auto!important;
        min-height:auto!important;
        max-height:none!important;
    }

}

/* CONFIG MOBILE SCROLL FINAL FIX */
@media(max-width:820px){
  body.partner-page-config,
  body.partner-page-config .app,
  body.partner-page-config .main,
  body.partner-page-config main,
  body.partner-page-config .partner-config-grid,
  body.partner-page-config .partner-config-card,
  body.partner-page-config .partner-password-premium,
  body.partner-page-config .partner-password-fields,
  body.partner-page-config .partner-password-rules{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }

  html,
  body{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
  }

  body.partner-page-config .main,
  body.partner-page-config main{
    padding-bottom:80px!important;
  }
}

/* DESKTOP SIDEBAR RESTORE V1 */
@media(min-width:821px){
  .app{
    display:grid!important;
    grid-template-columns:280px minmax(0,1fr)!important;
    min-height:100vh!important;
  }

  .sidebar,
  aside.sidebar,
  .partner-sidebar{
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    width:280px!important;
    background:linear-gradient(180deg,#07111f 0%,#0b1424 100%)!important;
    border-right:1px solid rgba(96,165,250,.16)!important;
    padding:28px 18px!important;
    color:#fff!important;
    overflow-y:auto!important;
    box-sizing:border-box!important;
  }

  .main{
    width:100%!important;
    max-width:1180px!important;
    margin:0 auto!important;
    padding:24px 32px 60px!important;
    box-sizing:border-box!important;
  }

  .sidebar a,
  aside.sidebar a,
  .partner-sidebar a{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    color:#cbd5e1!important;
    text-decoration:none!important;
    padding:12px 14px!important;
    border-radius:12px!important;
    font-weight:800!important;
  }

  .sidebar a.active,
  aside.sidebar a.active,
  .partner-sidebar a.active{
    color:#fff!important;
    background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
    box-shadow:0 14px 30px rgba(37,99,235,.20)!important;
  }

  .sidebar h3,
  aside.sidebar h3,
  .partner-sidebar h3{
    color:#94a3b8!important;
    font-size:10px!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
    margin:24px 0 8px!important;
  }
}

/* ==========================================================
   PLANOS DESKTOP V2
   ========================================================== */

@media (min-width:821px){

/* Área principal */

.plans-desktop-grid{
    display:grid;
    grid-template-columns:380px 1fr;
    gap:28px;
    align-items:start;
    margin-top:26px;
}

/* ------------------------- */
/* COMPRA DE SALDO           */
/* ------------------------- */

.plan-credit-card{
    background:linear-gradient(180deg,#222b38,#1b2330);
    border:1px solid rgba(96,165,250,.14);
    border-radius:18px;
    padding:28px;
    box-shadow:0 16px 42px rgba(0,0,0,.28);
}

.plan-credit-list{
    display:grid;
    gap:16px;
}

.plan-credit-item{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px;

    border-radius:14px;

    background:#1a2230;

    border:1px solid rgba(255,255,255,.06);

}

.plan-credit-item h4{

    margin:0;
    color:#fff;
    font-size:20px;

}

.plan-credit-item p{

    margin:4px 0 0;
    color:#aab8d4;

}

.plan-credit-price{

    font-size:24px;

    font-weight:700;

    color:#fff;

}

.plan-credit-item .btn{

    margin-left:18px;

}

/* ------------------------- */
/* SALDO PERSONALIZADO       */
/* ------------------------- */

.plan-custom-credit{

    margin-top:24px;

    padding:20px;

    border-radius:16px;

    background:#1a2230;

    border:1px solid rgba(255,255,255,.06);

}

/* ------------------------- */
/* TABELA                    */
/* ------------------------- */

.plan-price-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(320px,1fr));

    gap:22px;

}

.plan-price-card{

    background:linear-gradient(180deg,#222b38,#1b2330);

    border:1px solid rgba(96,165,250,.14);

    border-radius:18px;

    padding:24px;

}

.plan-price-card h3{

    margin:0 0 14px;

    color:#fff;

}

.plan-line{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

}

.plan-line strong{

    color:#fff;

}

.plan-price-card input{

    margin-top:12px;

}

.plan-profit{

    margin-top:16px;

    padding-top:14px;

    border-top:1px solid rgba(255,255,255,.08);

    font-size:18px;

    font-weight:700;

    color:#4ade80;

}

}

/* PLANOS DESKTOP CARDS FIX V3 */
@media(min-width:821px){
  body.partner-page-planos .partner-summary-grid{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
    margin:22px 0!important;
  }

  body.partner-page-planos .partner-saldo-buy,
  body.partner-page-planos .partner-price-card-section{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:18px!important;
    padding:22px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-planos .partner-saldo-buy-grid,
  body.partner-page-planos .partner-price-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
  }

  body.partner-page-planos .partner-saldo-buy-card,
  body.partner-page-planos .partner-price-plan-card,
  body.partner-page-planos .partner-saldo-custom{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
      linear-gradient(135deg,#0f1b2e 0%,#14233c 100%)!important;
    border:1px solid rgba(96,165,250,.24)!important;
    border-radius:18px!important;
    padding:20px!important;
    margin:0!important;
    box-shadow:0 18px 40px rgba(0,0,0,.16)!important;
  }

  body.partner-page-planos .partner-saldo-buy-card h3,
  body.partner-page-planos .partner-price-plan-card h3{
    font-size:24px!important;
    margin:0 0 6px!important;
    color:#fff!important;
  }

  body.partner-page-planos .saldo-quota,
  body.partner-page-planos .partner-price-plan-top span{
    color:#bfdbfe!important;
    font-size:15px!important;
    display:block!important;
  }

  body.partner-page-planos .saldo-price{
    display:block!important;
    font-size:30px!important;
    font-weight:950!important;
    color:#34d399!important;
    margin:16px 0!important;
  }

  body.partner-page-planos .partner-saldo-buy-card .btn,
  body.partner-page-planos .partner-saldo-custom .btn,
  body.partner-page-planos .partner-price-actions .btn{
    width:100%!important;
    min-height:48px!important;
    border-radius:12px!important;
    font-weight:950!important;
  }

  body.partner-page-planos .partner-price-plan-top{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
    gap:12px!important;
    margin-bottom:14px!important;
  }

  body.partner-page-planos .partner-price-badge{
    background:rgba(34,197,94,.14)!important;
    border:1px solid rgba(34,197,94,.28)!important;
    color:#4ade80!important;
    border-radius:999px!important;
    padding:6px 10px!important;
    font-size:10px!important;
    font-weight:900!important;
  }

  body.partner-page-planos .partner-price-numbers{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    border-top:1px solid rgba(148,163,184,.14)!important;
    border-bottom:1px solid rgba(148,163,184,.14)!important;
    padding:14px 0!important;
    margin:14px 0!important;
  }

  body.partner-page-planos .partner-price-input{
    width:100%!important;
    min-height:48px!important;
    text-align:right!important;
    background:#07111f!important;
    border:1px solid #26364d!important;
    color:#fff!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    font-size:18px!important;
    font-weight:900!important;
    box-sizing:border-box!important;
  }

  body.partner-page-planos .partner-price-profit{
    background:rgba(34,197,94,.08)!important;
    border:1px solid rgba(34,197,94,.18)!important;
    border-radius:14px!important;
    padding:12px!important;
  }

  body.partner-page-planos .partner-live-profit{
    color:#34d399!important;
  }

  body.partner-page-planos .partner-saldo-custom{
    margin-top:18px!important;
  }

  body.partner-page-planos .partner-saldo-custom-row{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:12px!important;
  }

  body.partner-page-planos .partner-saldo-note{
    background:rgba(56,189,248,.08)!important;
    border:1px solid rgba(56,189,248,.18)!important;
    border-radius:14px!important;
    padding:14px!important;
    margin-top:18px!important;
  }
}

/* ==========================================================
   COBRANÇAS DESKTOP PREMIUM V2
   ========================================================== */

@media (min-width:821px){

body.partner-page-cobranca .billing-table-card{
    padding:28px!important;
    border-radius:20px!important;
}

body.partner-page-cobranca .billing-table-wrapper{
    overflow-x:visible!important;
}

body.partner-page-cobranca table{
    width:100%!important;
    table-layout:auto!important;
}

body.partner-page-cobranca th,
body.partner-page-cobranca td{
    padding:18px 16px!important;
    vertical-align:middle!important;
}

body.partner-page-cobranca th{
    font-size:10px!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
    color:#93c5fd!important;
}

body.partner-page-cobranca td{
    font-size:15px!important;
}

body.partner-page-cobranca td:first-child{
    width:38%!important;
}

body.partner-page-cobranca td:nth-child(2){
    width:10%!important;
}

body.partner-page-cobranca td:nth-child(3){
    width:12%!important;
}

body.partner-page-cobranca td:nth-child(4){
    width:12%!important;
}

body.partner-page-cobranca td:last-child{
    white-space:nowrap!important;
}

/* KPIs */

body.partner-page-cobranca .billing-kpis{
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:18px!important;
}

body.partner-page-cobranca .billing-kpis article{
    padding:24px!important;
}

body.partner-page-cobranca .billing-kpis strong{
    display:block!important;
    font-size:46px!important;
    font-weight:950!important;
    line-height:1!important;
    margin:10px 0!important;
}

body.partner-page-cobranca .billing-kpis span{
    font-size:15px!important;
    color:#b8c7dc!important;
}

}

/* COBRANÇAS DESKTOP PREMIUM FIX REAL V1 */
@media(min-width:821px){

  body.partner-page-cobranca .cobranca-summary-pds{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    margin:22px 0!important;
  }

  body.partner-page-cobranca .cobranca-history-pds{
    background:
      radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 38%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:20px!important;
    padding:28px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  }

  body.partner-page-cobranca .cobranca-history-pds .table-wrap{
    overflow-x:hidden!important;
    width:100%!important;
    border-radius:16px!important;
  }

  body.partner-page-cobranca .cobranca-history-pds table{
    width:100%!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th,
  body.partner-page-cobranca .cobranca-history-pds td{
    padding:18px 14px!important;
    vertical-align:middle!important;
    word-break:break-word!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th{
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(1),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(1){
    width:28%!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(2),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(2){
    width:10%!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(3),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(3){
    width:11%!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(4),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(4){
    width:12%!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(5),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(5){
    width:13%!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(6),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(6){
    width:13%!important;
  }

  body.partner-page-cobranca .cobranca-history-pds th:nth-child(7),
  body.partner-page-cobranca .cobranca-history-pds td:nth-child(7){
    width:13%!important;
  }

  body.partner-page-cobranca .renewal-actions{
    display:grid!important;
    gap:8px!important;
  }

  body.partner-page-cobranca .renewal-actions form{
    display:block!important;
  }

  body.partner-page-cobranca .renewal-actions .btn{
    width:100%!important;
    min-height:38px!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    font-size:10px!important;
    white-space:normal!important;
  }
}

/* COBRANÇAS CARDS DESKTOP/MOBILE V1 */
body.partner-page-cobranca .cobranca-history-pds .table-wrap{
  display:none!important;
}

body.partner-page-cobranca .cobranca-cards-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  margin-top:20px!important;
}

body.partner-page-cobranca .cobranca-card-item{
  min-height:310px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 38%),
    linear-gradient(135deg,#0f1b2e 0%,#14233c 100%)!important;
  border:1px solid rgba(96,165,250,.24)!important;
  border-radius:18px!important;
  padding:20px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
}

body.partner-page-cobranca .cobranca-card-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:12px!important;
}

body.partner-page-cobranca .cobranca-card-head h4{
  margin:0 0 6px!important;
  color:#fff!important;
  font-size:18px!important;
  line-height:1.2!important;
}

body.partner-page-cobranca .cobranca-card-head span:not(.status-pill){
  display:block!important;
  color:#93c5fd!important;
  font-size:13px!important;
  word-break:break-word!important;
}

body.partner-page-cobranca .cobranca-card-info{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  margin:18px 0!important;
}

body.partner-page-cobranca .cobranca-card-info small{
  display:block!important;
  color:#93c5fd!important;
  font-size:11px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
  margin-bottom:5px!important;
}

body.partner-page-cobranca .cobranca-card-info strong{
  display:block!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:1.2!important;
}

body.partner-page-cobranca .cobranca-card-info span{
  display:block!important;
  color:#bfdbfe!important;
  font-size:13px!important;
  margin-top:4px!important;
}

body.partner-page-cobranca .cobranca-card-info .green{color:#34d399!important;}
body.partner-page-cobranca .cobranca-card-info .red{color:#fb7185!important;}
body.partner-page-cobranca .cobranca-card-info .yellow{color:#facc15!important;}

body.partner-page-cobranca .cobranca-card-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin-top:auto!important;
}

body.partner-page-cobranca .cobranca-card-actions form{
  display:block!important;
}

body.partner-page-cobranca .cobranca-card-actions .btn{
  width:100%!important;
  min-height:42px!important;
  border-radius:12px!important;
  font-weight:950!important;
}

body.partner-page-cobranca .cobranca-card-actions .danger-action{
  border-color:rgba(248,113,113,.35)!important;
  color:#fecaca!important;
}

body.partner-page-cobranca .cobranca-pagination{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:22px!important;
}

body.partner-page-cobranca .cobranca-pagination .btn{
  min-width:46px!important;
  min-height:42px!important;
  border-radius:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

body.partner-page-cobranca .cobranca-pagination .disabled{
  opacity:.45!important;
  pointer-events:none!important;
}

@media(max-width:1100px){
  body.partner-page-cobranca .cobranca-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:820px){
  body.partner-page-cobranca .cobranca-cards-grid{
    grid-template-columns:1fr!important;
  }

  body.partner-page-cobranca .cobranca-card-item{
    min-height:auto!important;
  }

  body.partner-page-cobranca .cobranca-card-info{
    grid-template-columns:1fr!important;
  }

  body.partner-page-cobranca .cobranca-pagination{
    justify-content:center!important;
    flex-wrap:wrap!important;
  }
}

/* VENCIMENTOS DESKTOP V2 */

@media (min-width:821px){

.partner-page-vencimentos table{
    display:none!important;
}

.partner-page-vencimentos .renewal-mobile-cards-v12{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    margin-top:24px;
}

.partner-page-vencimentos .renewal-client-card-v12{
    width:100%;
    min-height:360px;
}

.partner-page-vencimentos .renewal-actions{
    margin-top:auto;
}

.partner-page-vencimentos .renewal-pagination-v9{
    margin-top:30px;
}

}

/* VENCIMENTOS DESKTOP CARDS PREMIUM V3 */
@media(min-width:821px){

  body.partner-page-vencimentos .renewal-mobile-cards-v12{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px!important;
    margin-top:24px!important;
    width:100%!important;
  }

  body.partner-page-vencimentos .renewal-client-card-v12{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    min-height:360px!important;
    padding:22px!important;
    margin:0!important;
    box-sizing:border-box!important;

    background:
      radial-gradient(circle at top right,rgba(56,189,248,.10),transparent 38%),
      linear-gradient(135deg,#0f1b2e 0%,#14233c 100%)!important;

    border:1px solid rgba(96,165,250,.24)!important;
    border-radius:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
    color:#fff!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:14px!important;
    padding-bottom:16px!important;
    margin-bottom:18px!important;
    border-bottom:1px solid rgba(148,163,184,.14)!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12 > div{
    min-width:0!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12 strong{
    display:block!important;
    color:#fff!important;
    font-size:20px!important;
    line-height:1.2!important;
    word-break:break-word!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12 > div > span{
    display:block!important;
    margin-top:6px!important;
    color:#93c5fd!important;
    font-size:14px!important;
    line-height:1.3!important;
    word-break:break-word!important;
  }

  body.partner-page-vencimentos .renewal-client-head-v12 .status-pill{
    white-space:nowrap!important;
    min-width:max-content!important;
    flex-shrink:0!important;
    padding:5px 10px!important;
    font-size:11px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
    margin-bottom:22px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 > div{
    min-width:0!important;
    padding:14px!important;
    background:rgba(15,23,42,.46)!important;
    border:1px solid rgba(148,163,184,.13)!important;
    border-radius:14px!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 > div:nth-child(3){
    grid-column:1 / -1!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 span{
    display:block!important;
    margin-bottom:6px!important;
    color:#93c5fd!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 strong{
    display:block!important;
    color:#fff!important;
    font-size:17px!important;
    line-height:1.25!important;
  }

  body.partner-page-vencimentos .renewal-client-grid-v12 small{
    display:block!important;
    margin-top:6px!important;
    font-size:13px!important;
    line-height:1.3!important;
  }

  body.partner-page-vencimentos .renewal-mobile-actions-v12{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    margin-top:auto!important;
    padding-top:18px!important;
    border-top:1px solid rgba(148,163,184,.14)!important;
  }

  body.partner-page-vencimentos .renewal-mobile-actions-v12 form{
    display:block!important;
    width:100%!important;
  }

  body.partner-page-vencimentos .renewal-mobile-actions-v12 .btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:46px!important;
    padding:10px 14px!important;
    box-sizing:border-box!important;
    border-radius:12px!important;
    white-space:nowrap!important;
    word-break:normal!important;
    font-size:14px!important;
    font-weight:950!important;
  }

  body.partner-page-vencimentos .renewal-pagination-v9{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    margin-top:28px!important;
  }

  body.partner-page-vencimentos .renewal-pagination-v9 a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:44px!important;
    min-height:42px!important;
    padding:8px 13px!important;
    border:1px solid rgba(96,165,250,.28)!important;
    border-radius:11px!important;
    color:#bfdbfe!important;
    text-decoration:none!important;
    font-weight:900!important;
  }

  body.partner-page-vencimentos .renewal-pagination-v9 a.active{
    background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
    border-color:transparent!important;
    color:#fff!important;
  }

  body.partner-page-vencimentos table{
    display:none!important;
  }
}

@media(min-width:821px) and (max-width:1050px){
  body.partner-page-vencimentos .renewal-mobile-cards-v12{
    grid-template-columns:1fr!important;
  }
}

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

.partner-mov-card{
background:linear-gradient(180deg,#182235,#151d2c);
border:1px solid rgba(96,165,250,.18);
border-radius:18px;
padding:22px;
display:flex;
flex-direction:column;
gap:18px;
box-shadow:0 16px 34px rgba(0,0,0,.22);
}

.partner-mov-top{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:12px;
}

.partner-mov-top h3{
margin:0;
font-size:22px;
font-weight:800;
line-height:1.3;
color:#fff;
}

.partner-mov-client{
color:#93c5fd;
font-size:15px;
}

.partner-mov-values{
display:grid;
gap:12px;
padding:14px 0;
border-top:1px solid rgba(255,255,255,.06);
border-bottom:1px solid rgba(255,255,255,.06);
}

.partner-mov-values small{
display:block;
margin-bottom:4px;
font-size:11px;
font-weight:800;
text-transform:uppercase;
color:#8db5ff;
}

.partner-mov-values strong{
font-size:20px;
font-weight:900;
color:#fff;
}

.partner-mov-footer{
display:flex;
justify-content:flex-end;
font-size:13px;
color:#9fb4d8;
}

@media(max-width:1200px){
.partner-mov-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:820px){
.partner-mov-grid{
grid-template-columns:1fr;
}
}

/* =========================================================
   MOVIMENTAÇÕES DESKTOP CARDS — FINAL V3
   ========================================================= */

body.partner-page-movimentacoes .movements-desktop-head-v10,
body.partner-page-movimentacoes .movements-v8-list-head{
  display:none!important;
}

body.partner-page-movimentacoes .movements-premium-v9{
  display:grid!important;
  gap:22px!important;
  width:100%!important;
  margin-top:28px!important;
}

body.partner-page-movimentacoes .movements-filter-v9{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:16px!important;
  background:
    radial-gradient(circle at top right,rgba(56,189,248,.06),transparent 40%),
    linear-gradient(135deg,#101827,#172235)!important;
  border:1px solid rgba(96,165,250,.20)!important;
  border-radius:18px!important;
}

body.partner-page-movimentacoes .movements-filter-v9 input{
  width:100%!important;
  min-height:48px!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
  background:#07111f!important;
  border:1px solid #293a53!important;
  border-radius:12px!important;
  color:#fff!important;
  font-size:15px!important;
}

body.partner-page-movimentacoes .movements-filter-v9 .btn{
  min-height:48px!important;
  padding:10px 20px!important;
  border-radius:12px!important;
  white-space:nowrap!important;
}

body.partner-page-movimentacoes .movements-v8-kpis{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

body.partner-page-movimentacoes .movements-v8-kpis article{
  min-height:112px!important;
  padding:22px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at top right,rgba(56,189,248,.06),transparent 40%),
    linear-gradient(135deg,#182331,#202b3a)!important;
  border:1px solid rgba(96,165,250,.18)!important;
  border-radius:16px!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16)!important;
}

body.partner-page-movimentacoes .movements-v8-kpis article span{
  display:block!important;
  margin-bottom:8px!important;
  color:#93b9f5!important;
  font-size:11px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
}

body.partner-page-movimentacoes .movements-v8-kpis article strong{
  display:block!important;
  color:#fff!important;
  font-size:28px!important;
  font-weight:950!important;
  line-height:1.1!important;
}

body.partner-page-movimentacoes .movements-v8-list{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

body.partner-page-movimentacoes .partner-mov-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:22px!important;
  width:100%!important;
  margin:0!important;
}

body.partner-page-movimentacoes .partner-mov-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:330px!important;
  gap:18px!important;
  padding:22px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at top right,rgba(56,189,248,.10),transparent 38%),
    linear-gradient(135deg,#0f1b2e 0%,#14233c 100%)!important;
  border:1px solid rgba(96,165,250,.24)!important;
  border-radius:18px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
}

body.partner-page-movimentacoes .partner-mov-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:14px!important;
}

body.partner-page-movimentacoes .partner-mov-top h3{
  margin:0!important;
  color:#fff!important;
  font-size:19px!important;
  font-weight:900!important;
  line-height:1.3!important;
  word-break:break-word!important;
}

body.partner-page-movimentacoes .partner-mov-top .mov-chip{
  white-space:nowrap!important;
  min-width:max-content!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:950!important;
}

body.partner-page-movimentacoes .partner-mov-client{
  min-height:38px!important;
  color:#93c5fd!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.35!important;
  word-break:break-word!important;
}

body.partner-page-movimentacoes .partner-mov-values{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:16px 0!important;
  margin:0!important;
  border-top:1px solid rgba(148,163,184,.14)!important;
  border-bottom:1px solid rgba(148,163,184,.14)!important;
}

body.partner-page-movimentacoes .partner-mov-values > div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}

body.partner-page-movimentacoes .partner-mov-values small{
  margin:0!important;
  color:#93b9f5!important;
  font-size:11px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}

body.partner-page-movimentacoes .partner-mov-values strong{
  color:#fff!important;
  font-size:17px!important;
  font-weight:950!important;
  text-align:right!important;
}

body.partner-page-movimentacoes .partner-mov-values .positive{
  color:#34d399!important;
}

body.partner-page-movimentacoes .partner-mov-values .negative{
  color:#fb7185!important;
}

body.partner-page-movimentacoes .partner-mov-footer{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  margin-top:auto!important;
  padding-top:4px!important;
  color:#9fb4d8!important;
  font-size:13px!important;
}

body.partner-page-movimentacoes .movements-pagination-v9{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:28px!important;
}

body.partner-page-movimentacoes .movements-pagination-v9 a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  min-height:42px!important;
  padding:8px 13px!important;
  border:1px solid rgba(96,165,250,.28)!important;
  border-radius:11px!important;
  color:#bfdbfe!important;
  text-decoration:none!important;
  font-weight:900!important;
}

body.partner-page-movimentacoes .movements-pagination-v9 a.active{
  background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
  border-color:transparent!important;
  color:#fff!important;
}

@media(max-width:1150px){
  body.partner-page-movimentacoes .partner-mov-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:820px){
  body.partner-page-movimentacoes .movements-filter-v9{
    grid-template-columns:1fr!important;
  }

  body.partner-page-movimentacoes .movements-v8-kpis{
    grid-template-columns:1fr!important;
  }

  body.partner-page-movimentacoes .partner-mov-grid{
    grid-template-columns:1fr!important;
  }

  body.partner-page-movimentacoes .partner-mov-card{
    min-height:auto!important;
  }
}

/* =========================================================
   SUPORTE DESKTOP PREMIUM FINAL V1
   ========================================================= */

@media(min-width:821px){

  body.partner-page-suporte .support-page-v7{
    display:grid!important;
    gap:24px!important;
    width:100%!important;
    margin-top:0!important;
  }

  body.partner-page-suporte .support-topics-v7{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
    width:100%!important;
  }

  body.partner-page-suporte .support-topics-v7 article{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    align-items:start!important;
    column-gap:15px!important;
    row-gap:5px!important;
    min-width:0!important;
    min-height:145px!important;
    padding:22px!important;
    box-sizing:border-box!important;
    background:
      radial-gradient(circle at top right,rgba(56,189,248,.09),transparent 40%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.17)!important;
  }

  body.partner-page-suporte .support-topics-v7 article > span{
    grid-row:1 / span 2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-topics-v7 article strong{
    display:block!important;
    margin:1px 0 0!important;
    color:#fff!important;
    font-size:19px!important;
    line-height:1.2!important;
  }

  body.partner-page-suporte .support-topics-v7 article p{
    grid-column:2!important;
    margin:0!important;
    color:#a9c4eb!important;
    font-size:14px!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-layout-v7{
    display:grid!important;
    grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr)!important;
    align-items:start!important;
    gap:22px!important;
    width:100%!important;
  }

  body.partner-page-suporte .support-card-v7{
    min-width:0!important;
    padding:26px!important;
    box-sizing:border-box!important;
    background:
      radial-gradient(circle at top right,rgba(56,189,248,.06),transparent 42%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.17)!important;
  }

  body.partner-page-suporte .support-section-title-v7{
    margin-bottom:20px!important;
  }

  body.partner-page-suporte .support-section-title-v7 h2{
    margin:0 0 7px!important;
    color:#fff!important;
    font-size:26px!important;
    line-height:1.15!important;
  }

  body.partner-page-suporte .support-section-title-v7 p{
    margin:0!important;
    color:#a9c4eb!important;
    font-size:14px!important;
    line-height:1.4!important;
  }

  body.partner-page-suporte .support-fields-v7{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }

  body.partner-page-suporte .support-fields-v7 label,
  body.partner-page-suporte .support-full-v7{
    display:grid!important;
    gap:7px!important;
    min-width:0!important;
    margin:0!important;
  }

  body.partner-page-suporte .support-fields-v7 span,
  body.partner-page-suporte .support-full-v7 span{
    color:#93add3!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-suporte select,
  body.partner-page-suporte input,
  body.partner-page-suporte textarea{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    background:#07111f!important;
    border:1px solid #2c405b!important;
    border-radius:12px!important;
    color:#fff!important;
    padding:12px 14px!important;
    font-size:15px!important;
  }

  body.partner-page-suporte select,
  body.partner-page-suporte input{
    min-height:50px!important;
  }

  body.partner-page-suporte .support-full-v7{
    margin-top:16px!important;
  }

  body.partner-page-suporte textarea{
    display:block!important;
    min-height:190px!important;
    resize:vertical!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-actions-v7{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    margin-top:18px!important;
  }

  body.partner-page-suporte .support-actions-v7 .btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:50px!important;
    border-radius:12px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-whatsapp-v7,
  body.partner-page-suporte a.support-whatsapp-v7{
    background:linear-gradient(135deg,#22c55e,#16a34a)!important;
    border:1px solid rgba(74,222,128,.42)!important;
    color:#fff!important;
    box-shadow:0 12px 26px rgba(34,197,94,.16)!important;
  }

  body.partner-page-suporte .support-whatsapp-v7:hover,
  body.partner-page-suporte a.support-whatsapp-v7:hover{
    background:linear-gradient(135deg,#16a34a,#15803d)!important;
    border-color:rgba(74,222,128,.62)!important;
  }

  body.partner-page-suporte .support-note-v7{
    margin-top:18px!important;
    padding:15px 16px!important;
    background:rgba(56,189,248,.07)!important;
    border:1px solid rgba(56,189,248,.18)!important;
    border-radius:14px!important;
    color:#bfdbfe!important;
    font-size:14px!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-recent-v7{
    min-height:100%!important;
  }

  body.partner-page-suporte .support-empty-v7{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:180px!important;
    padding:24px!important;
    box-sizing:border-box!important;
    text-align:center!important;
    background:#0f1b2e!important;
    border:1px dashed rgba(96,165,250,.24)!important;
    border-radius:14px!important;
    color:#a9c4eb!important;
  }

  body.partner-page-suporte .support-ticket-list-v7{
    display:grid!important;
    gap:14px!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:14px!important;
    padding:16px!important;
    background:#0f1b2e!important;
    border:1px solid rgba(96,165,250,.18)!important;
    border-radius:14px!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article strong{
    color:#fff!important;
    font-size:15px!important;
    line-height:1.35!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article p{
    margin:6px 0 0!important;
    color:#a9c4eb!important;
    font-size:13px!important;
    line-height:1.4!important;
  }

  body.partner-page-suporte .support-priority-v7{
    white-space:nowrap!important;
    padding:6px 10px!important;
    border-radius:999px!important;
    font-size:11px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-priority-v7.alta{
    background:rgba(248,113,113,.14)!important;
    border:1px solid rgba(248,113,113,.28)!important;
    color:#fda4af!important;
  }

  body.partner-page-suporte .support-priority-v7.media{
    background:rgba(251,191,36,.13)!important;
    border:1px solid rgba(251,191,36,.25)!important;
    color:#fcd34d!important;
  }

  body.partner-page-suporte .support-priority-v7.baixa{
    background:rgba(34,197,94,.13)!important;
    border:1px solid rgba(34,197,94,.25)!important;
    color:#4ade80!important;
  }

  body.partner-page-suporte .partner-page-header .btn:first-child,
  body.partner-page-suporte .partner-center-hero .btn:first-child{
    background:linear-gradient(135deg,#22c55e,#16a34a)!important;
    border-color:rgba(74,222,128,.42)!important;
    color:#fff!important;
  }
}

@media(min-width:821px) and (max-width:1100px){
  body.partner-page-suporte .support-layout-v7{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   SUPORTE DESKTOP PREMIUM FINAL V1
   ========================================================= */

@media(min-width:821px){

  body.partner-page-suporte .support-page-v7{
    display:grid!important;
    gap:24px!important;
    width:100%!important;
    margin-top:0!important;
  }

  body.partner-page-suporte .support-topics-v7{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
    width:100%!important;
  }

  body.partner-page-suporte .support-topics-v7 article{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    align-items:start!important;
    column-gap:15px!important;
    row-gap:5px!important;
    min-width:0!important;
    min-height:145px!important;
    padding:22px!important;
    box-sizing:border-box!important;
    background:
      radial-gradient(circle at top right,rgba(56,189,248,.09),transparent 40%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.17)!important;
  }

  body.partner-page-suporte .support-topics-v7 article > span{
    grid-row:1 / span 2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-topics-v7 article strong{
    display:block!important;
    margin:1px 0 0!important;
    color:#fff!important;
    font-size:19px!important;
    line-height:1.2!important;
  }

  body.partner-page-suporte .support-topics-v7 article p{
    grid-column:2!important;
    margin:0!important;
    color:#a9c4eb!important;
    font-size:14px!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-layout-v7{
    display:grid!important;
    grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr)!important;
    align-items:start!important;
    gap:22px!important;
    width:100%!important;
  }

  body.partner-page-suporte .support-card-v7{
    min-width:0!important;
    padding:26px!important;
    box-sizing:border-box!important;
    background:
      radial-gradient(circle at top right,rgba(56,189,248,.06),transparent 42%),
      linear-gradient(135deg,#101827 0%,#172235 100%)!important;
    border:1px solid rgba(96,165,250,.20)!important;
    border-radius:18px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.17)!important;
  }

  body.partner-page-suporte .support-section-title-v7{
    margin-bottom:20px!important;
  }

  body.partner-page-suporte .support-section-title-v7 h2{
    margin:0 0 7px!important;
    color:#fff!important;
    font-size:26px!important;
    line-height:1.15!important;
  }

  body.partner-page-suporte .support-section-title-v7 p{
    margin:0!important;
    color:#a9c4eb!important;
    font-size:14px!important;
    line-height:1.4!important;
  }

  body.partner-page-suporte .support-fields-v7{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }

  body.partner-page-suporte .support-fields-v7 label,
  body.partner-page-suporte .support-full-v7{
    display:grid!important;
    gap:7px!important;
    min-width:0!important;
    margin:0!important;
  }

  body.partner-page-suporte .support-fields-v7 span,
  body.partner-page-suporte .support-full-v7 span{
    color:#93add3!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.05em!important;
  }

  body.partner-page-suporte select,
  body.partner-page-suporte input,
  body.partner-page-suporte textarea{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    background:#07111f!important;
    border:1px solid #2c405b!important;
    border-radius:12px!important;
    color:#fff!important;
    padding:12px 14px!important;
    font-size:15px!important;
  }

  body.partner-page-suporte select,
  body.partner-page-suporte input{
    min-height:50px!important;
  }

  body.partner-page-suporte .support-full-v7{
    margin-top:16px!important;
  }

  body.partner-page-suporte textarea{
    display:block!important;
    min-height:190px!important;
    resize:vertical!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-actions-v7{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    margin-top:18px!important;
  }

  body.partner-page-suporte .support-actions-v7 .btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:50px!important;
    border-radius:12px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-whatsapp-v7,
  body.partner-page-suporte a.support-whatsapp-v7{
    background:linear-gradient(135deg,#22c55e,#16a34a)!important;
    border:1px solid rgba(74,222,128,.42)!important;
    color:#fff!important;
    box-shadow:0 12px 26px rgba(34,197,94,.16)!important;
  }

  body.partner-page-suporte .support-whatsapp-v7:hover,
  body.partner-page-suporte a.support-whatsapp-v7:hover{
    background:linear-gradient(135deg,#16a34a,#15803d)!important;
    border-color:rgba(74,222,128,.62)!important;
  }

  body.partner-page-suporte .support-note-v7{
    margin-top:18px!important;
    padding:15px 16px!important;
    background:rgba(56,189,248,.07)!important;
    border:1px solid rgba(56,189,248,.18)!important;
    border-radius:14px!important;
    color:#bfdbfe!important;
    font-size:14px!important;
    line-height:1.45!important;
  }

  body.partner-page-suporte .support-recent-v7{
    min-height:100%!important;
  }

  body.partner-page-suporte .support-empty-v7{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:180px!important;
    padding:24px!important;
    box-sizing:border-box!important;
    text-align:center!important;
    background:#0f1b2e!important;
    border:1px dashed rgba(96,165,250,.24)!important;
    border-radius:14px!important;
    color:#a9c4eb!important;
  }

  body.partner-page-suporte .support-ticket-list-v7{
    display:grid!important;
    gap:14px!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:14px!important;
    padding:16px!important;
    background:#0f1b2e!important;
    border:1px solid rgba(96,165,250,.18)!important;
    border-radius:14px!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article strong{
    color:#fff!important;
    font-size:15px!important;
    line-height:1.35!important;
  }

  body.partner-page-suporte .support-ticket-list-v7 article p{
    margin:6px 0 0!important;
    color:#a9c4eb!important;
    font-size:13px!important;
    line-height:1.4!important;
  }

  body.partner-page-suporte .support-priority-v7{
    white-space:nowrap!important;
    padding:6px 10px!important;
    border-radius:999px!important;
    font-size:11px!important;
    font-weight:950!important;
  }

  body.partner-page-suporte .support-priority-v7.alta{
    background:rgba(248,113,113,.14)!important;
    border:1px solid rgba(248,113,113,.28)!important;
    color:#fda4af!important;
  }

  body.partner-page-suporte .support-priority-v7.media{
    background:rgba(251,191,36,.13)!important;
    border:1px solid rgba(251,191,36,.25)!important;
    color:#fcd34d!important;
  }

  body.partner-page-suporte .support-priority-v7.baixa{
    background:rgba(34,197,94,.13)!important;
    border:1px solid rgba(34,197,94,.25)!important;
    color:#4ade80!important;
  }

  body.partner-page-suporte .partner-page-header .btn:first-child,
  body.partner-page-suporte .partner-center-hero .btn:first-child{
    background:linear-gradient(135deg,#22c55e,#16a34a)!important;
    border-color:rgba(74,222,128,.42)!important;
    color:#fff!important;
  }
}

@media(min-width:821px) and (max-width:1100px){
  body.partner-page-suporte .support-layout-v7{
    grid-template-columns:1fr!important;
  }
}

/* FINANCEIRO DESKTOP PREMIUM V3 */
@media (min-width:821px){

body.partner-page-financeiro .finance-panel{
    max-width:980px!important;
    margin:0 auto!important;
}

body.partner-page-financeiro .finance-separated-grid{
    display:grid!important;
    gap:28px!important;
}

body.partner-page-financeiro .finance-method-card{
    background:
        radial-gradient(circle at top right,rgba(56,189,248,.08),transparent 38%),
        linear-gradient(135deg,#101827,#172235)!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:18px!important;
    padding:24px!important;
    margin-bottom:24px!important;
    box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
}

body.partner-page-financeiro .finance-method-head{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
    gap:18px!important;
    margin-bottom:18px!important;
}

body.partner-page-financeiro .finance-method-head h3{
    margin:0 0 6px!important;
    font-size:28px!important;
    color:#fff!important;
}

body.partner-page-financeiro .finance-method-head .muted{
    color:#9fc2f8!important;
}

body.partner-page-financeiro .finance-form-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
}

body.partner-page-financeiro .finance-field.full{
    grid-column:1/-1!important;
}

body.partner-page-financeiro .finance-field input{
    min-height:50px!important;
}

body.partner-page-financeiro .finance-secret-row{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
}

body.partner-page-financeiro .finance-actions{
    display:flex!important;
    justify-content:center!important;
    margin-top:30px!important;
}

body.partner-page-financeiro .finance-actions .btn{
    width:420px!important;
    max-width:100%!important;
    min-height:54px!important;
    border-radius:14px!important;
    font-size:17px!important;
    font-weight:900!important;
}

}


/* FINANCEIRO MÉTODOS PADRONIZADOS V4 */
body.partner-page-financeiro .finance-remove-secret{
  grid-column:1 / -1!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  width:max-content!important;
  margin-top:2px!important;
  color:#cbd5e1!important;
  font-size:13px!important;
  font-weight:800!important;
  text-transform:none!important;
  letter-spacing:0!important;
  cursor:pointer!important;
}

body.partner-page-financeiro .finance-remove-secret input{
  width:18px!important;
  height:18px!important;
  min-height:0!important;
  margin:0!important;
  accent-color:#7c3aed!important;
}

body.partner-page-financeiro .finance-remove-secret span{
  color:#cbd5e1!important;
  font-size:13px!important;
  font-weight:800!important;
  text-transform:none!important;
  letter-spacing:0!important;
}

@media(max-width:820px){
  body.partner-page-financeiro .finance-form-grid{
    grid-template-columns:1fr!important;
  }
}

/* DASHBOARD ANALYTICS PREMIUM V2 */

.partner-analytics-section{
  width:100%;
  min-width:0;
  margin-top:28px;
}

.partner-analytics-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.partner-analytics-title > div{
  min-width:0;
}

.partner-analytics-title h2{
  margin:0 0 4px;
}

.partner-analytics-title p{
  margin:0;
}

.partner-analytics-period{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 14px;
  border:1px solid rgba(96,165,250,.28);
  border-radius:999px;
  background:rgba(30,64,175,.15);
  color:#bfdbfe;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.partner-analytics-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  grid-template-areas:"chart kpis";
  gap:22px;
  width:100%;
  min-width:0;
  padding:22px;
  overflow:hidden;
  border:1px solid rgba(59,130,246,.20);
  border-radius:20px;
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(37,99,235,.16),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(16,27,46,.98),
      rgba(8,16,30,.98)
    );
  box-shadow:
    0 18px 45px rgba(2,6,23,.26),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.partner-analytics-card::before{
  content:"";
  position:absolute;
  top:0;
  left:26px;
  right:26px;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(96,165,250,.65),
    transparent
  );
}

.partner-analytics-chart-wrap{
  grid-area:chart;
  position:relative;
  z-index:1;
  width:100%;
  min-width:0;
  height:270px;
}

#partner-wallet-chart{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
}

.partner-analytics-kpis{
  grid-area:kpis;
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr;
  align-content:center;
  gap:11px;
  min-width:0;
}

.partner-analytics-kpi{
  position:relative;
  min-width:0;
  overflow:hidden;
  padding:15px 16px 14px 18px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:15px;
  background:rgba(15,23,42,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}

.partner-analytics-kpi::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:3px;
}

.partner-analytics-kpi.is-new::before{
  background:#22c55e;
}

.partner-analytics-kpi.is-renewed::before{
  background:#38bdf8;
}

.partner-analytics-kpi.is-expired::before{
  background:#f59e0b;
}

.partner-analytics-kpi span{
  display:block;
  margin-bottom:5px;
  color:#93c5fd;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.partner-analytics-kpi strong{
  display:block;
  margin-bottom:4px;
  color:#f8fafc;
  font-size:26px;
  line-height:1;
  letter-spacing:-.03em;
}

.partner-analytics-kpi small{
  display:block;
  color:#7184a3;
  font-size:11px;
  line-height:1.35;
}

@media(max-width:900px){
  .partner-analytics-card{
    grid-template-columns:minmax(0,1fr) 210px;
    gap:16px;
    padding:18px;
  }

  .partner-analytics-chart-wrap{
    height:250px;
  }
}

@media(max-width:680px){
  .partner-analytics-section{
    margin-top:24px;
  }

  .partner-analytics-title{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    margin-bottom:12px;
  }

  .partner-analytics-period{
    min-height:30px;
    padding:6px 11px;
    font-size:11px;
  }

  .partner-analytics-card{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:15px 12px 14px;
    border-radius:18px;
  }

  .partner-analytics-chart-wrap{
    order:1;
    width:100%;
    height:225px;
  }

  .partner-analytics-kpis{
    order:2;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    width:100%;
  }

  .partner-analytics-kpi{
    padding:11px 8px 10px 11px;
    border-radius:12px;
  }

  .partner-analytics-kpi span{
    margin-bottom:4px;
    font-size:9px;
    letter-spacing:0;
  }

  .partner-analytics-kpi strong{
    margin-bottom:3px;
    font-size:21px;
  }

  .partner-analytics-kpi small{
    font-size:9px;
  }
}

/* DASHBOARD ANALYTICS PREMIUM V3 */
.partner-analytics-card{
  grid-template-columns:minmax(0,1fr) 310px;
}

.partner-analytics-kpis{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:stretch;
}

.partner-analytics-kpi{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:112px;
}

.partner-analytics-kpi.is-active::before{
  background:#8b5cf6;
}

.partner-analytics-kpi.is-active span{
  color:#c4b5fd;
}

@media(max-width:1050px){
  .partner-analytics-card{
    grid-template-columns:minmax(0,1fr) 270px;
  }

  .partner-analytics-kpi{
    min-height:104px;
    padding:13px 12px 12px 15px;
  }

  .partner-analytics-kpi span{
    font-size:10px;
  }

  .partner-analytics-kpi strong{
    font-size:23px;
  }
}

@media(max-width:760px){
  .partner-analytics-card{
    display:flex;
    flex-direction:column;
  }

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

  .partner-analytics-kpi{
    min-height:88px;
  }
}

/* PARTNER SUMMARY CARDS PREMIUM V1 */

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

.partner-summary-grid .partner-center-card,
.partner-summary-grid .metric-card,
.partner-summary-grid > article,
.partner-summary-grid > div{
  position:relative;
  min-width:0;
  min-height:182px;
  overflow:hidden;
  padding:20px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:18px;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(59,130,246,.10),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(31,42,58,.98),
      rgba(23,33,48,.98)
    );
  box-shadow:
    0 14px 32px rgba(2,6,23,.18),
    inset 0 1px 0 rgba(255,255,255,.025);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.partner-summary-grid .partner-center-card:hover,
.partner-summary-grid .metric-card:hover,
.partner-summary-grid > article:hover,
.partner-summary-grid > div:hover{
  transform:translateY(-3px);
  border-color:rgba(96,165,250,.34);
  box-shadow:
    0 20px 40px rgba(2,6,23,.26),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.partner-summary-grid .partner-center-card::after,
.partner-summary-grid .metric-card::after,
.partner-summary-grid > article::after,
.partner-summary-grid > div::after{
  content:"";
  position:absolute;
  left:20px;
  right:20px;
  bottom:0;
  height:2px;
  border-radius:999px;
  opacity:.6;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(96,165,250,.55),
    transparent
  );
}

.partner-summary-grid .metric-label,
.partner-summary-grid .partner-center-card-head > span,
.partner-summary-grid .partner-metric-label{
  display:block;
  max-width:75%;
  color:#93b7ef;
  font-size:12px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:.035em;
  text-transform:uppercase;
}

.partner-summary-grid .metric-value,
.partner-summary-grid .partner-center-card > strong,
.partner-summary-grid .partner-metric-value{
  display:block;
  margin-top:18px;
  color:#fff;
  font-size:31px;
  font-weight:850;
  line-height:1;
  letter-spacing:-.035em;
}

.partner-summary-grid small,
.partner-summary-grid .metric-subtitle,
.partner-summary-grid .partner-metric-subtitle{
  display:block;
  margin-top:9px;
  max-width:85%;
  color:#9fc4ff;
  font-size:13px;
  font-weight:650;
  line-height:1.35;
}

.partner-summary-grid .partner-center-icon,
.partner-summary-grid .metric-icon,
.partner-summary-grid [class*="icon"]{
  position:absolute;
  top:20px;
  right:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border:1px solid rgba(96,165,250,.18);
  border-radius:14px;
  background:rgba(59,130,246,.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 8px 20px rgba(2,6,23,.14);
}

.partner-summary-grid .blue,
.partner-summary-grid .partner-center-icon.blue{
  color:#60a5fa;
  background:rgba(59,130,246,.18);
  border-color:rgba(96,165,250,.26);
}

.partner-summary-grid .green,
.partner-summary-grid .partner-center-icon.green{
  color:#34d399;
  background:rgba(16,185,129,.16);
  border-color:rgba(52,211,153,.24);
}

.partner-summary-grid .yellow,
.partner-summary-grid .partner-center-icon.yellow{
  color:#fbbf24;
  background:rgba(245,158,11,.16);
  border-color:rgba(251,191,36,.24);
}

.partner-summary-grid .red,
.partner-summary-grid .partner-center-icon.red{
  color:#fb7185;
  background:rgba(244,63,94,.15);
  border-color:rgba(251,113,133,.24);
}

@media(max-width:1180px){
  .partner-summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

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

  .partner-summary-grid .partner-center-card,
  .partner-summary-grid .metric-card,
  .partner-summary-grid > article,
  .partner-summary-grid > div{
    min-height:166px;
    padding:18px;
  }

  .partner-summary-grid .partner-center-icon,
  .partner-summary-grid .metric-icon,
  .partner-summary-grid [class*="icon"]{
    top:18px;
    right:18px;
    width:38px;
    height:38px;
    border-radius:12px;
  }

  .partner-summary-grid .metric-value,
  .partner-summary-grid .partner-center-card > strong,
  .partner-summary-grid .partner-metric-value{
    font-size:28px;
  }
}

@media(max-width:560px){
  .partner-summary-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .partner-summary-grid .partner-center-card,
  .partner-summary-grid .metric-card,
  .partner-summary-grid > article,
  .partner-summary-grid > div{
    min-height:150px;
    padding:18px 20px;
  }

  .partner-summary-grid .metric-label,
  .partner-summary-grid .partner-center-card-head > span,
  .partner-summary-grid .partner-metric-label{
    max-width:72%;
    font-size:11px;
  }

  .partner-summary-grid .metric-value,
  .partner-summary-grid .partner-center-card > strong,
  .partner-summary-grid .partner-metric-value{
    margin-top:16px;
    font-size:30px;
  }

  .partner-summary-grid small,
  .partner-summary-grid .metric-subtitle,
  .partner-summary-grid .partner-metric-subtitle{
    max-width:78%;
    font-size:13px;
  }
}

/* PARTNER SUMMARY CARDS COMPACT V2 */
.partner-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}

.partner-summary-grid .partner-metric-card{
  --metric-color:#3b82f6;
  --metric-rgb:59,130,246;

  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:154px!important;
  padding:16px 18px 18px!important;
  overflow:hidden!important;

  border:1px solid rgba(var(--metric-rgb),.42)!important;
  border-radius:18px!important;

  background:
    radial-gradient(
      circle at 90% 4%,
      rgba(var(--metric-rgb),.18),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      rgba(16,27,45,.98),
      rgba(10,18,32,.98)
    )!important;

  box-shadow:
    0 12px 28px rgba(2,6,23,.22),
    inset 0 1px 0 rgba(255,255,255,.035)!important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease!important;
}

.partner-summary-grid .partner-metric-card:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(var(--metric-rgb),.72)!important;
  box-shadow:
    0 18px 38px rgba(2,6,23,.30),
    0 0 26px rgba(var(--metric-rgb),.10),
    inset 0 1px 0 rgba(255,255,255,.05)!important;
}

.partner-summary-grid .partner-metric-blue{
  --metric-color:#3b82f6;
  --metric-rgb:59,130,246;
}

.partner-summary-grid .partner-metric-green{
  --metric-color:#22c55e;
  --metric-rgb:34,197,94;
}

.partner-summary-grid .partner-metric-yellow{
  --metric-color:#f59e0b;
  --metric-rgb:245,158,11;
}

.partner-summary-grid .partner-metric-red{
  --metric-color:#ef4444;
  --metric-rgb:239,68,68;
}

.partner-summary-grid .partner-metric-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-bottom:10px!important;
}

.partner-summary-grid .partner-metric-icon{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;

  border:1px solid rgba(var(--metric-rgb),.58)!important;
  border-radius:12px!important;

  color:var(--metric-color)!important;
  background:rgba(var(--metric-rgb),.16)!important;

  box-shadow:
    0 0 22px rgba(var(--metric-rgb),.14),
    inset 0 1px 0 rgba(255,255,255,.08)!important;
}

.partner-summary-grid .partner-metric-icon svg{
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.partner-summary-grid .partner-metric-arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:28px!important;
  height:28px!important;

  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:999px!important;

  color:#9fb3d0!important;
  background:rgba(15,23,42,.42)!important;

  font-size:22px!important;
  font-weight:400!important;
  line-height:1!important;
}

.partner-summary-grid .partner-metric-title{
  margin:0 0 8px!important;
  color:#dbeafe!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}

.partner-summary-grid .partner-metric-number{
  display:block!important;
  margin:0!important;

  color:#fff!important;
  font-size:29px!important;
  font-weight:900!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
}

.partner-summary-grid .partner-metric-description{
  display:block!important;
  margin:6px 0 0!important;
  max-width:100%!important;

  color:#a8c8f8!important;
  font-size:10px!important;
  font-weight:650!important;
  line-height:1.3!important;
}

.partner-summary-grid .partner-metric-accent{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  bottom:9px!important;
  height:2px!important;

  border-radius:999px!important;

  background:linear-gradient(
    90deg,
    rgba(var(--metric-rgb),.18),
    rgba(var(--metric-rgb),.95),
    rgba(var(--metric-rgb),.18)
  )!important;

  box-shadow:0 0 10px rgba(var(--metric-rgb),.34)!important;
}

.partner-summary-grid .partner-metric-card::after{
  display:none!important;
}

@media(max-width:1180px){
  .partner-summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:900px){
  .partner-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .partner-summary-grid .partner-metric-card{
    min-height:146px!important;
    padding:14px 16px 17px!important;
  }

  .partner-summary-grid .partner-metric-icon{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }

  .partner-summary-grid .partner-metric-icon svg{
    width:20px!important;
    height:20px!important;
  }

  .partner-summary-grid .partner-metric-number{
    font-size:26px!important;
  }
}

@media(max-width:430px){
  .partner-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }

  .partner-summary-grid .partner-metric-card{
    min-height:138px!important;
    padding:12px 12px 15px!important;
    border-radius:15px!important;
  }

  .partner-summary-grid .partner-metric-top{
    margin-bottom:8px!important;
  }

  .partner-summary-grid .partner-metric-icon{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
    border-radius:10px!important;
  }

  .partner-summary-grid .partner-metric-icon svg{
    width:18px!important;
    height:18px!important;
  }

  .partner-summary-grid .partner-metric-arrow{
    width:24px!important;
    height:24px!important;
    font-size:18px!important;
  }

  .partner-summary-grid .partner-metric-title{
    min-height:26px!important;
    margin-bottom:5px!important;
    font-size:9px!important;
  }

  .partner-summary-grid .partner-metric-number{
    font-size:22px!important;
  }

  .partner-summary-grid .partner-metric-description{
    margin-top:5px!important;
    font-size:10px!important;
  }

  .partner-summary-grid .partner-metric-accent{
    left:12px!important;
    right:12px!important;
    bottom:7px!important;
  }
}

/* DASHBOARD HERO PREMIUM V2 */

body:has(a[href="/?p=dashboard"].active) .partner-center-hero{
  position:relative!important;
  isolation:isolate!important;

  display:grid!important;
  grid-template-columns:minmax(0,1fr) 350px!important;
  align-items:center!important;
  gap:32px!important;

  width:100%!important;
  min-height:172px!important;
  margin:0 0 28px!important;
  padding:26px 28px 26px 32px!important;
  overflow:hidden!important;

  border:1px solid rgba(72,145,255,.50)!important;
  border-radius:20px!important;

  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(56,189,248,.20),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 8%,
      rgba(99,102,241,.28),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #10294b 0%,
      #193364 48%,
      #292d78 100%
    )!important;

  box-shadow:
    0 22px 52px rgba(2,6,23,.32),
    inset 0 1px 0 rgba(255,255,255,.08)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-hero::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:0!important;

  background:
    linear-gradient(
      115deg,
      rgba(255,255,255,.045),
      transparent 32%,
      transparent 70%,
      rgba(96,165,250,.05)
    )!important;

  pointer-events:none!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-hero::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;

  width:300px!important;
  height:300px!important;
  right:-100px!important;
  bottom:-185px!important;

  border:1px solid rgba(125,211,252,.18)!important;
  border-radius:50%!important;

  box-shadow:
    0 0 0 34px rgba(59,130,246,.035),
    0 0 0 72px rgba(99,102,241,.025)!important;

  pointer-events:none!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-hero > div:first-child{
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
  max-width:650px!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;

  margin:0 0 11px!important;

  color:#60d4ff!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-kicker::before{
  content:""!important;

  width:7px!important;
  height:7px!important;
  flex:0 0 7px!important;

  border-radius:50%!important;
  background:#38bdf8!important;

  box-shadow:
    0 0 0 4px rgba(56,189,248,.10),
    0 0 14px rgba(56,189,248,.90)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-hero h1{
  margin:0 0 10px!important;

  color:#fff!important;
  font-size:clamp(31px,3vw,40px)!important;
  font-weight:950!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;

  text-shadow:0 9px 25px rgba(2,6,23,.22)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-hero p{
  margin:0!important;
  max-width:590px!important;

  color:#c9dcf8!important;
  font-size:15px!important;
  font-weight:520!important;
  line-height:1.48!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-status{
  position:relative!important;
  z-index:2!important;

  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:center!important;
  justify-items:stretch!important;
  gap:13px!important;

  width:100%!important;
  min-width:0!important;
  padding:15px!important;

  border:1px solid rgba(147,197,253,.22)!important;
  border-radius:17px!important;

  background:
    linear-gradient(
      145deg,
      rgba(8,20,43,.48),
      rgba(15,23,42,.30)
    )!important;

  backdrop-filter:blur(10px)!important;

  box-shadow:
    0 16px 34px rgba(2,6,23,.20),
    inset 0 1px 0 rgba(255,255,255,.05)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-status::before{
  content:"AÇÕES RÁPIDAS"!important;
  display:block!important;

  color:#7fa4d7!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.13em!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-status .system-pill{
  position:absolute!important;
  top:-38px!important;
  right:0!important;

  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;

  min-height:30px!important;
  padding:6px 11px!important;

  border:1px solid rgba(52,211,153,.27)!important;
  border-radius:999px!important;

  color:#65efb0!important;
  background:rgba(5,70,52,.34)!important;

  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.015em!important;

  box-shadow:
    0 9px 22px rgba(2,6,23,.16),
    inset 0 1px 0 rgba(255,255,255,.04)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-status .system-pill::before{
  content:""!important;

  width:7px!important;
  height:7px!important;
  flex:0 0 7px!important;

  border-radius:50%!important;
  background:#34d399!important;

  box-shadow:0 0 11px rgba(52,211,153,.95)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-actions{
  display:grid!important;
  grid-template-columns:1.25fr 1fr 1fr!important;
  align-items:stretch!important;
  gap:8px!important;

  width:100%!important;
  margin:0!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-actions .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  padding:9px 11px!important;

  border-radius:11px!important;

  color:#fff!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-actions .btn:first-child{
  border:1px solid rgba(125,211,252,.72)!important;

  background:
    linear-gradient(
      135deg,
      #38bdf8,
      #2563eb
    )!important;

  box-shadow:
    0 10px 25px rgba(37,99,235,.28),
    inset 0 1px 0 rgba(255,255,255,.18)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-actions .btn:not(:first-child){
  border:1px solid rgba(147,197,253,.36)!important;
  background:rgba(7,18,39,.46)!important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035)!important;
}

body:has(a[href="/?p=dashboard"].active) .partner-center-actions .btn:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(125,211,252,.86)!important;

  box-shadow:
    0 14px 30px rgba(2,6,23,.25),
    inset 0 1px 0 rgba(255,255,255,.09)!important;
}

@media(max-width:1050px){
  body:has(a[href="/?p=dashboard"].active) .partner-center-hero{
    grid-template-columns:minmax(0,1fr) 310px!important;
    gap:22px!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-actions{
    grid-template-columns:1fr 1fr!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-actions .btn:first-child{
    grid-column:1 / -1!important;
  }
}

@media(max-width:820px){
  body:has(a[href="/?p=dashboard"].active) .partner-center-hero{
    grid-template-columns:1fr!important;
    gap:20px!important;
    padding:24px 20px!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-status{
    margin-top:15px!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-status .system-pill{
    top:-43px!important;
  }
}

@media(max-width:560px){
  body:has(a[href="/?p=dashboard"].active) .partner-center-hero{
    min-height:0!important;
    padding:22px 16px 17px!important;
    border-radius:18px!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-hero h1{
    max-width:calc(100% - 64px)!important;
    font-size:28px!important;
    line-height:1.08!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-hero p{
    max-width:calc(100% - 42px)!important;
    font-size:13px!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-status{
    padding:13px!important;
    border-radius:15px!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-actions{
    grid-template-columns:1fr 1fr!important;
  }

  body:has(a[href="/?p=dashboard"].active) .partner-center-actions .btn{
    min-height:40px!important;
    padding:8px!important;
    font-size:11px!important;
  }
}

/* END DASHBOARD HERO PREMIUM V2 */

/* DASHBOARD OPERATION CARDS COMPACT V2 */

body:has(a[href="/?p=dashboard"].active) .partner-ops-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  margin-bottom:26px!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .partner-center-card{
  position:relative!important;
  min-width:0!important;
  min-height:285px!important;
  padding:20px 22px!important;
  overflow:hidden!important;

  border:1px solid rgba(59,130,246,.46)!important;
  border-radius:18px!important;

  background:
    radial-gradient(
      circle at 92% 5%,
      rgba(37,99,235,.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(13,27,47,.98),
      rgba(8,17,31,.98)
    )!important;

  box-shadow:
    0 15px 34px rgba(2,6,23,.22),
    inset 0 1px 0 rgba(255,255,255,.035)!important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .partner-center-card:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(56,189,248,.74)!important;

  box-shadow:
    0 20px 42px rgba(2,6,23,.28),
    0 0 25px rgba(59,130,246,.08),
    inset 0 1px 0 rgba(255,255,255,.05)!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .partner-center-card::before{
  content:""!important;
  position:absolute!important;
  left:20px!important;
  right:20px!important;
  bottom:8px!important;
  height:2px!important;
  border-radius:999px!important;

  background:linear-gradient(
    90deg,
    rgba(56,189,248,.10),
    rgba(56,189,248,.90),
    rgba(56,189,248,.10)
  )!important;

  box-shadow:0 0 10px rgba(56,189,248,.28)!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .partner-center-card h2{
  position:relative!important;
  margin:0 0 16px!important;
  padding-left:43px!important;

  color:#fff!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .partner-center-card h2::before{
  content:""!important;
  position:absolute!important;
  top:50%!important;
  left:0!important;
  transform:translateY(-50%)!important;

  width:34px!important;
  height:34px!important;

  border:1px solid rgba(56,189,248,.50)!important;
  border-radius:11px!important;

  background:
    rgba(37,99,235,.18)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='7' ry='3'/%3E%3Cpath d='M5 5v6c0 1.7 3.1 3 7 3s7-1.3 7-3V5'/%3E%3Cpath d='M5 11v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E")
    center/18px 18px no-repeat!important;

  box-shadow:
    0 0 18px rgba(56,189,248,.16),
    inset 0 1px 0 rgba(255,255,255,.07)!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-center-storage{
  display:grid!important;
  grid-template-columns:140px minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-donut{
  width:136px!important;
  height:136px!important;
  margin:0!important;

  box-shadow:
    0 0 0 8px rgba(59,130,246,.035),
    0 14px 28px rgba(2,6,23,.18)!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-donut-center strong{
  color:#38bdf8!important;
  font-size:30px!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-donut-center span{
  color:#91acd0!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-stats{
  display:grid!important;
  min-width:0!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-stat{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;

  min-height:43px!important;
  padding:8px 0!important;

  border-bottom:1px solid rgba(148,163,184,.13)!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-stat:last-child{
  border-bottom:0!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-stat span{
  color:#7695c0!important;
  font-size:11px!important;
  font-weight:800!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-stat strong{
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-center-note{
  margin-top:15px!important;
  padding-top:12px!important;

  border-top:1px solid rgba(148,163,184,.12)!important;

  color:#86a6cf!important;
  font-size:11px!important;
  line-height:1.4!important;
}

/* CARD AÇÃO RECOMENDADA — ROXO */

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .recommended-action{
  border-color:rgba(139,92,246,.48)!important;

  background:
    radial-gradient(
      circle at 92% 5%,
      rgba(139,92,246,.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(25,22,54,.98),
      rgba(11,16,31,.98)
    )!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .recommended-action::before{
  background:linear-gradient(
    90deg,
    rgba(168,85,247,.10),
    rgba(168,85,247,.95),
    rgba(168,85,247,.10)
  )!important;

  box-shadow:0 0 10px rgba(168,85,247,.30)!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .recommended-action:hover{
  border-color:rgba(168,85,247,.78)!important;

  box-shadow:
    0 20px 42px rgba(2,6,23,.28),
    0 0 25px rgba(139,92,246,.10),
    inset 0 1px 0 rgba(255,255,255,.05)!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-action h2::before{
  border-color:rgba(168,85,247,.52)!important;

  background:
    rgba(126,34,206,.19)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.8-5.4 2.8 1-6.1-4.4-4.3 6.1-.9L12 3z'/%3E%3C/svg%3E")
    center/18px 18px no-repeat!important;

  box-shadow:
    0 0 18px rgba(168,85,247,.17),
    inset 0 1px 0 rgba(255,255,255,.07)!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-badge{
  display:inline-flex!important;
  align-items:center!important;

  min-height:27px!important;
  margin:0 0 12px!important;
  padding:5px 10px!important;

  border:1px solid rgba(52,211,153,.28)!important;
  border-radius:999px!important;

  color:#5ee6a8!important;
  background:rgba(6,78,59,.28)!important;

  font-size:10px!important;
  font-weight:900!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-box{
  position:relative!important;

  min-height:91px!important;
  margin:0 0 13px!important;
  padding:16px 16px 16px 61px!important;

  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:14px!important;

  background:rgba(7,17,34,.48)!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-box::before{
  content:""!important;
  position:absolute!important;
  top:17px!important;
  left:17px!important;

  width:26px!important;
  height:26px!important;

  border:1px solid rgba(147,197,253,.28)!important;
  border-radius:50%!important;

  background:
    rgba(37,99,235,.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19v-1a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E")
    center/17px 17px no-repeat!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-box strong{
  display:block!important;
  margin-bottom:5px!important;

  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-box p{
  margin:0!important;

  color:#91acd0!important;
  font-size:11px!important;
  line-height:1.4!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-action .btn{
  min-height:40px!important;
  padding:9px 15px!important;

  border:1px solid rgba(139,92,246,.65)!important;
  border-radius:10px!important;

  background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
  color:#fff!important;

  font-size:10px!important;
  font-weight:900!important;

  box-shadow:
    0 10px 23px rgba(79,70,229,.22),
    inset 0 1px 0 rgba(255,255,255,.12)!important;
}

@media(max-width:900px){
  body:has(a[href="/?p=dashboard"].active) .partner-ops-grid{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:560px){
  body:has(a[href="/?p=dashboard"].active)
  .partner-ops-grid .partner-center-card{
    min-height:0!important;
    padding:17px!important;
  }

  body:has(a[href="/?p=dashboard"].active)
  .partner-center-storage{
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:13px!important;
  }

  body:has(a[href="/?p=dashboard"].active)
  .storage-donut{
    width:116px!important;
    height:116px!important;
  }

  body:has(a[href="/?p=dashboard"].active)
  .storage-donut-center strong{
    font-size:25px!important;
  }
}

/* END DASHBOARD OPERATION CARDS COMPACT V2 */

/* DASHBOARD OPERATION SIZE FIX V3 */

body:has(a[href="/?p=dashboard"].active) .partner-ops-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  width:100%!important;
}

/* Neutraliza o grid-column antigo de partner-wide-card */
body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid > .partner-center-card,
body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid > .partner-wide-card{
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  max-width:none!important;
  min-height:278px!important;
  height:auto!important;
  padding:19px 20px!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-ops-grid .partner-center-card h2{
  margin-bottom:14px!important;
  font-size:21px!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-center-storage{
  grid-template-columns:128px minmax(0,1fr)!important;
  gap:16px!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-donut{
  width:124px!important;
  height:124px!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-donut-center strong{
  font-size:27px!important;
}

body:has(a[href="/?p=dashboard"].active)
.storage-stat{
  min-height:39px!important;
  padding:6px 0!important;
}

body:has(a[href="/?p=dashboard"].active)
.partner-center-note{
  margin-top:12px!important;
  padding-top:10px!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-badge{
  margin-bottom:10px!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-box{
  min-height:82px!important;
  margin-bottom:11px!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-box::before{
  top:15px!important;
}

body:has(a[href="/?p=dashboard"].active)
.recommended-action .btn{
  min-height:38px!important;
  padding:8px 14px!important;
}

@media(max-width:900px){
  body:has(a[href="/?p=dashboard"].active) .partner-ops-grid{
    grid-template-columns:1fr!important;
  }

  body:has(a[href="/?p=dashboard"].active)
  .partner-ops-grid > .partner-center-card,
  body:has(a[href="/?p=dashboard"].active)
  .partner-ops-grid > .partner-wide-card{
    grid-column:auto!important;
    min-height:0!important;
  }
}

/* END DASHBOARD OPERATION SIZE FIX V3 */

/* DASHBOARD CLIENT ATTENTION PREMIUM V1 */

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  margin-top:10px!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-card{
  position:relative!important;
  min-width:0!important;
  min-height:238px!important;
  padding:16px 17px!important;
  overflow:hidden!important;

  border:1px solid rgba(59,130,246,.34)!important;
  border-radius:17px!important;

  background:
    radial-gradient(
      circle at 92% 6%,
      rgba(59,130,246,.13),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(18,31,49,.98),
      rgba(10,18,32,.98)
    )!important;

  box-shadow:
    0 14px 32px rgba(2,6,23,.20),
    inset 0 1px 0 rgba(255,255,255,.035)!important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-card:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(96,165,250,.62)!important;

  box-shadow:
    0 20px 40px rgba(2,6,23,.27),
    0 0 24px rgba(59,130,246,.07),
    inset 0 1px 0 rgba(255,255,255,.05)!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-card::before{
  content:""!important;
  position:absolute!important;
  left:16px!important;
  right:16px!important;
  bottom:7px!important;
  height:2px!important;

  border-radius:999px!important;

  background:linear-gradient(
    90deg,
    rgba(59,130,246,.08),
    rgba(59,130,246,.86),
    rgba(59,130,246,.08)
  )!important;

  box-shadow:0 0 9px rgba(59,130,246,.24)!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-head{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:15px!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-avatar{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:40px!important;
  height:40px!important;

  border:1px solid rgba(96,165,250,.46)!important;
  border-radius:12px!important;

  color:#fff!important;
  background:linear-gradient(135deg,#38bdf8,#2563eb)!important;

  font-size:14px!important;
  font-weight:900!important;

  box-shadow:
    0 9px 20px rgba(37,99,235,.20),
    inset 0 1px 0 rgba(255,255,255,.16)!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-name{
  min-width:0!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-name strong{
  display:block!important;
  overflow:hidden!important;

  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.15!important;

  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-name small{
  display:block!important;
  margin-top:3px!important;
  overflow:hidden!important;

  color:#718bb0!important;
  font-size:10px!important;
  line-height:1.2!important;

  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .badge,
body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  min-height:24px!important;
  padding:5px 9px!important;

  border:1px solid rgba(52,211,153,.23)!important;
  border-radius:999px!important;

  color:#4ade80!important;
  background:rgba(6,78,59,.28)!important;

  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px 18px!important;
  margin-bottom:14px!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-field span{
  display:block!important;
  margin-bottom:4px!important;

  color:#6884aa!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-field strong{
  display:block!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.2!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-usage{
  margin-top:2px!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-usage-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:7px!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-usage-head span{
  color:#6f8bb2!important;
  font-size:10px!important;
  font-weight:800!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-usage-head strong{
  color:#93c5fd!important;
  font-size:10px!important;
  font-weight:900!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-progress,
body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .progress{
  width:100%!important;
  height:7px!important;
  overflow:hidden!important;

  border-radius:999px!important;
  background:#27364b!important;

  box-shadow:inset 0 1px 2px rgba(2,6,23,.40)!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-progress > div,
body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .progress > div{
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#38bdf8,#2563eb)!important;

  box-shadow:0 0 8px rgba(56,189,248,.30)!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-actions{
  display:flex!important;
  justify-content:flex-start!important;
  margin-top:14px!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-actions .btn{
  min-height:36px!important;
  padding:8px 13px!important;

  border:1px solid rgba(96,165,250,.48)!important;
  border-radius:10px!important;

  color:#fff!important;
  background:linear-gradient(135deg,#38bdf8,#2563eb)!important;

  font-size:11px!important;
  font-weight:900!important;

  box-shadow:
    0 9px 20px rgba(37,99,235,.20),
    inset 0 1px 0 rgba(255,255,255,.12)!important;
}

body:has(a[href="/?p=dashboard"].active)
.dashboard-client-quick .partner-client-actions .btn:hover{
  transform:translateY(-2px)!important;

  box-shadow:
    0 13px 25px rgba(37,99,235,.25),
    inset 0 1px 0 rgba(255,255,255,.15)!important;
}

@media(max-width:900px){
  body:has(a[href="/?p=dashboard"].active)
  .dashboard-client-quick{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:560px){
  body:has(a[href="/?p=dashboard"].active)
  .dashboard-client-quick .partner-client-card{
    min-height:0!important;
    padding:15px!important;
  }

  body:has(a[href="/?p=dashboard"].active)
  .dashboard-client-quick .partner-client-grid{
    gap:11px 14px!important;
  }
}

/* END DASHBOARD CLIENT ATTENTION PREMIUM V1 */

/* PARTNER SIDEBAR PREMIUM REAL V3 */

@media(min-width:901px){

  /*
   * SOMENTE APARÊNCIA.
   * Não altera position, width, margin-left ou estrutura da página.
   */

  body:not(.partner-page-login) .partner-sidebar{
    color:#dbeafe!important;
    border-right-color:rgba(96,165,250,.20)!important;

    background:
      radial-gradient(
        circle at 12% 4%,
        rgba(59,130,246,.16),
        transparent 25%
      ),
      radial-gradient(
        circle at 85% 92%,
        rgba(99,102,241,.08),
        transparent 30%
      ),
      linear-gradient(
        180deg,
        #1d2a3b 0%,
        #192637 48%,
        #142131 100%
      )!important;

    box-shadow:
      10px 0 30px rgba(2,6,23,.17),
      inset -1px 0 0 rgba(255,255,255,.025)!important;

    scrollbar-width:thin!important;
    scrollbar-color:rgba(96,165,250,.25) transparent!important;
  }

  .partner-sidebar::-webkit-scrollbar{
    width:5px!important;
  }

  .partner-sidebar::-webkit-scrollbar-track{
    background:transparent!important;
  }

  .partner-sidebar::-webkit-scrollbar-thumb{
    border-radius:999px!important;
    background:rgba(96,165,250,.26)!important;
  }

  /* MARCA */

  .partner-sidebar .partner-sidebar-brand{
    position:relative!important;

    display:flex!important;
    align-items:center!important;
    gap:12px!important;

    margin:0 0 17px!important;
    padding:4px 8px 19px!important;

    border-bottom:1px solid rgba(148,163,184,.14)!important;
  }

  .partner-sidebar .partner-sidebar-brand::after{
    content:""!important;

    position:absolute!important;
    right:8px!important;
    bottom:-1px!important;
    left:8px!important;

    height:1px!important;

    background:linear-gradient(
      90deg,
      rgba(56,189,248,.65),
      rgba(99,102,241,.22),
      transparent
    )!important;
  }

  .partner-sidebar .partner-sidebar-mark{
    display:grid!important;
    place-items:center!important;

    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;

    border:1px solid rgba(125,211,252,.48)!important;
    border-radius:14px!important;

    color:#fff!important;

    background:linear-gradient(
      135deg,
      #38bdf8 0%,
      #2563eb 58%,
      #7042ef 100%
    )!important;

    font-size:14px!important;
    font-weight:950!important;
    letter-spacing:.03em!important;

    box-shadow:
      0 11px 24px rgba(37,99,235,.26),
      0 0 22px rgba(56,189,248,.10),
      inset 0 1px 0 rgba(255,255,255,.18)!important;
  }

  .partner-sidebar .partner-sidebar-brand strong{
    display:block!important;

    color:#fff!important;
    font-size:17px!important;
    font-weight:900!important;
    line-height:1.1!important;
    letter-spacing:-.02em!important;
  }

  .partner-sidebar .partner-sidebar-brand span{
    display:block!important;
    margin-top:4px!important;

    color:#83a5d2!important;
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.2!important;
  }

  /* MENU */

  .partner-sidebar .partner-sidebar-menu{
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
  }

  .partner-sidebar .partner-sidebar-label{
    position:relative!important;

    margin:14px 9px 6px!important;
    padding-left:12px!important;

    color:#6682aa!important;
    font-size:9px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }

  .partner-sidebar .partner-sidebar-label::before{
    content:""!important;

    position:absolute!important;
    top:50%!important;
    left:0!important;
    transform:translateY(-50%)!important;

    width:5px!important;
    height:5px!important;

    border-radius:50%!important;
    background:#3b82f6!important;

    box-shadow:0 0 9px rgba(59,130,246,.65)!important;
  }

  /* LINKS */

  .partner-sidebar .partner-sidebar-menu a{
    position:relative!important;

    display:flex!important;
    align-items:center!important;
    gap:9px!important;

    min-height:39px!important;
    padding:5px 10px!important;

    overflow:hidden!important;

    border:1px solid transparent!important;
    border-radius:11px!important;

    color:#c7d5e8!important;
    background:transparent!important;

    font-size:14px!important;
    font-weight:800!important;
    line-height:1.15!important;
    text-decoration:none!important;

    box-shadow:none!important;

    transition:
      color .18s ease,
      background .18s ease,
      border-color .18s ease,
      transform .18s ease,
      box-shadow .18s ease!important;
  }

  .partner-sidebar .partner-sidebar-menu a::before{
    content:""!important;

    position:absolute!important;
    top:9px!important;
    bottom:9px!important;
    left:0!important;

    width:3px!important;

    border-radius:0 999px 999px 0!important;
    background:transparent!important;

    transition:
      background .18s ease,
      box-shadow .18s ease!important;
  }

  .partner-sidebar .partner-sidebar-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:26px!important;
    height:26px!important;
    flex:0 0 26px!important;

    border:1px solid rgba(148,163,184,.12)!important;
    border-radius:10px!important;

    color:#93bff2!important;
    background:rgba(29,48,74,.76)!important;

    font-size:10px!important;
    font-weight:900!important;
    line-height:1!important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.03)!important;

    transition:
      color .18s ease,
      background .18s ease,
      border-color .18s ease,
      box-shadow .18s ease!important;
  }

  .partner-sidebar .partner-sidebar-menu a > span:last-child{
    min-width:0!important;
    overflow:hidden!important;

    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* HOVER */

  .partner-sidebar .partner-sidebar-menu a:hover{
    transform:translateX(3px)!important;

    color:#fff!important;
    border-color:rgba(96,165,250,.18)!important;

    background:rgba(59,130,246,.08)!important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.025)!important;
  }

  .partner-sidebar .partner-sidebar-menu a:hover .partner-sidebar-icon{
    color:#d5ecff!important;
    border-color:rgba(96,165,250,.30)!important;
    background:rgba(37,99,235,.17)!important;

    box-shadow:
      0 0 15px rgba(59,130,246,.09),
      inset 0 1px 0 rgba(255,255,255,.05)!important;
  }

  /* ATIVO */

  .partner-sidebar .partner-sidebar-menu a.active{
    transform:none!important;

    color:#fff!important;
    border-color:rgba(96,165,250,.54)!important;

    background:
      radial-gradient(
        circle at 13% 16%,
        rgba(56,189,248,.23),
        transparent 38%
      ),
      linear-gradient(
        135deg,
        #277ce2 0%,
        #4258df 55%,
        #693ee9 100%
      )!important;

    box-shadow:
      0 12px 27px rgba(37,99,235,.23),
      0 0 23px rgba(99,102,241,.09),
      inset 0 1px 0 rgba(255,255,255,.13)!important;
  }

  .partner-sidebar .partner-sidebar-menu a.active::before{
    background:#7dd3fc!important;

    box-shadow:
      0 0 10px rgba(125,211,252,.95)!important;
  }

  .partner-sidebar
  .partner-sidebar-menu
  a.active
  .partner-sidebar-icon{
    color:#fff!important;
    border-color:rgba(255,255,255,.20)!important;
    background:rgba(255,255,255,.11)!important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.14),
      0 7px 16px rgba(15,23,42,.13)!important;
  }

  /* RODAPÉ / SAIR */

  .partner-sidebar .partner-sidebar-footer{
    margin-top:auto!important;
    padding-top:16px!important;

    border-top:1px solid rgba(148,163,184,.14)!important;
  }

  .partner-sidebar .partner-sidebar-footer form{
    margin:0!important;
  }

  .partner-sidebar .partner-sidebar-logout{
    position:relative!important;

    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;

    width:100%!important;
    min-height:43px!important;
    padding:9px 14px!important;

    border:1px solid rgba(96,165,250,.42)!important;
    border-radius:12px!important;

    color:#fff!important;

    background:linear-gradient(
      135deg,
      #38bdf8,
      #2563eb
    )!important;

    font-size:10px!important;
    font-weight:900!important;
    line-height:1!important;

    box-shadow:
      0 10px 23px rgba(37,99,235,.22),
      inset 0 1px 0 rgba(255,255,255,.16)!important;

    cursor:pointer!important;

    transition:
      transform .18s ease,
      border-color .18s ease,
      box-shadow .18s ease!important;
  }

  .partner-sidebar .partner-sidebar-logout::before{
    content:"↪"!important;

    font-size:16px!important;
    font-weight:900!important;
    line-height:1!important;
  }

  .partner-sidebar .partner-sidebar-logout:hover{
    transform:translateY(-2px)!important;

    border-color:rgba(125,211,252,.72)!important;

    box-shadow:
      0 14px 29px rgba(37,99,235,.28),
      inset 0 1px 0 rgba(255,255,255,.19)!important;
  }
}

/* END PARTNER SIDEBAR PREMIUM REAL V3 */

/* PARTNER SIDEBAR COLORS V4 */

@media(min-width:901px){

  /*
   * Cores individuais dos itens.
   * Não altera estrutura, largura, posição ou comportamento.
   */

  .partner-sidebar .partner-sidebar-menu a{
    --sidebar-item-color:#60a5fa;
    --sidebar-item-rgb:96,165,250;
  }

  /* Dashboard — azul */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=dashboard"]{
    --sidebar-item-color:#60a5fa;
    --sidebar-item-rgb:96,165,250;
  }

  /* Clientes — verde */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=clientes"]{
    --sidebar-item-color:#34d399;
    --sidebar-item-rgb:52,211,153;
  }

  /* Criar cliente — ciano */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=criar"]{
    --sidebar-item-color:#22d3ee;
    --sidebar-item-rgb:34,211,238;
  }

  /* Planos — roxo */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=planos"]{
    --sidebar-item-color:#a78bfa;
    --sidebar-item-rgb:167,139,250;
  }

  /* Cobranças — laranja */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=cobranca"]{
    --sidebar-item-color:#fb923c;
    --sidebar-item-rgb:251,146,60;
  }

  /* Vencimentos — vermelho */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=vencimentos"]{
    --sidebar-item-color:#fb7185;
    --sidebar-item-rgb:251,113,133;
  }

  /* Saldo — esmeralda */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=movimentacoes"]{
    --sidebar-item-color:#2dd4bf;
    --sidebar-item-rgb:45,212,191;
  }

  /* Financeiro — dourado */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=financeiro"]{
    --sidebar-item-color:#fbbf24;
    --sidebar-item-rgb:251,191,36;
  }

  /* Suporte — azul-claro */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=suporte"]{
    --sidebar-item-color:#38bdf8;
    --sidebar-item-rgb:56,189,248;
  }

  /* Configurações — violeta */
  .partner-sidebar .partner-sidebar-menu a[href="/?p=config"]{
    --sidebar-item-color:#c084fc;
    --sidebar-item-rgb:192,132,252;
  }

  /* Ícones coloridos */

  .partner-sidebar .partner-sidebar-menu a .partner-sidebar-icon{
    color:var(--sidebar-item-color)!important;
    border-color:rgba(var(--sidebar-item-rgb),.25)!important;

    background:
      linear-gradient(
        145deg,
        rgba(var(--sidebar-item-rgb),.16),
        rgba(var(--sidebar-item-rgb),.055)
      )!important;

    box-shadow:
      0 0 15px rgba(var(--sidebar-item-rgb),.055),
      inset 0 1px 0 rgba(255,255,255,.035)!important;
  }

  /* Hover seguindo a cor de cada item */

  .partner-sidebar .partner-sidebar-menu a:hover{
    border-color:rgba(var(--sidebar-item-rgb),.25)!important;

    background:
      linear-gradient(
        90deg,
        rgba(var(--sidebar-item-rgb),.14),
        rgba(var(--sidebar-item-rgb),.035)
      )!important;

    box-shadow:
      inset 3px 0 0 rgba(var(--sidebar-item-rgb),.70),
      0 0 18px rgba(var(--sidebar-item-rgb),.045)!important;
  }

  .partner-sidebar .partner-sidebar-menu a:hover::before{
    background:var(--sidebar-item-color)!important;

    box-shadow:
      0 0 10px rgba(var(--sidebar-item-rgb),.78)!important;
  }

  .partner-sidebar .partner-sidebar-menu a:hover .partner-sidebar-icon{
    color:#fff!important;
    border-color:rgba(var(--sidebar-item-rgb),.55)!important;

    background:
      linear-gradient(
        145deg,
        rgba(var(--sidebar-item-rgb),.38),
        rgba(var(--sidebar-item-rgb),.14)
      )!important;

    box-shadow:
      0 0 18px rgba(var(--sidebar-item-rgb),.20),
      inset 0 1px 0 rgba(255,255,255,.09)!important;
  }

  /*
   * Item ativo:
   * mantém o gradiente principal, mas o ícone recebe a cor da página.
   */

  .partner-sidebar .partner-sidebar-menu a.active .partner-sidebar-icon{
    color:#fff!important;
    border-color:rgba(var(--sidebar-item-rgb),.65)!important;

    background:
      linear-gradient(
        145deg,
        rgba(var(--sidebar-item-rgb),.60),
        rgba(var(--sidebar-item-rgb),.25)
      )!important;

    box-shadow:
      0 0 20px rgba(var(--sidebar-item-rgb),.28),
      inset 0 1px 0 rgba(255,255,255,.16)!important;
  }

  .partner-sidebar .partner-sidebar-menu a.active::before{
    background:var(--sidebar-item-color)!important;

    box-shadow:
      0 0 12px rgba(var(--sidebar-item-rgb),.95)!important;
  }

  /* Categorias com identidade própria */

  .partner-sidebar .partner-sidebar-label:nth-of-type(1){
    color:#7db8ff!important;
  }

  .partner-sidebar .partner-sidebar-label:nth-of-type(1)::before{
    background:#3b82f6!important;
    box-shadow:0 0 9px rgba(59,130,246,.70)!important;
  }

  .partner-sidebar .partner-sidebar-label:nth-of-type(2){
    color:#f4b461!important;
  }

  .partner-sidebar .partner-sidebar-label:nth-of-type(2)::before{
    background:#f59e0b!important;
    box-shadow:0 0 9px rgba(245,158,11,.70)!important;
  }

  .partner-sidebar .partner-sidebar-label:nth-of-type(3){
    color:#c49bff!important;
  }

  .partner-sidebar .partner-sidebar-label:nth-of-type(3)::before{
    background:#a855f7!important;
    box-shadow:0 0 9px rgba(168,85,247,.70)!important;
  }

  /* Logo com brilho um pouco mais colorido */

  .partner-sidebar .partner-sidebar-mark{
    background:
      linear-gradient(
        135deg,
        #38bdf8 0%,
        #2563eb 48%,
        #7c3aed 100%
      )!important;

    box-shadow:
      0 11px 24px rgba(37,99,235,.27),
      0 0 22px rgba(124,58,237,.13),
      inset 0 1px 0 rgba(255,255,255,.19)!important;
  }

  /* Botão Sair: azul para violeta */

  .partner-sidebar .partner-sidebar-logout{
    background:
      linear-gradient(
        135deg,
        #38bdf8 0%,
        #2563eb 55%,
        #6d3fe8 100%
      )!important;

    border-color:rgba(125,211,252,.48)!important;

    box-shadow:
      0 10px 23px rgba(37,99,235,.23),
      0 0 18px rgba(109,63,232,.08),
      inset 0 1px 0 rgba(255,255,255,.17)!important;
  }

  .partner-sidebar .partner-sidebar-logout:hover{
    border-color:rgba(196,181,253,.72)!important;

    box-shadow:
      0 14px 29px rgba(37,99,235,.28),
      0 0 22px rgba(124,58,237,.14),
      inset 0 1px 0 rgba(255,255,255,.20)!important;
  }
}

/* END PARTNER SIDEBAR COLORS V4 */
