:root{--green:#0d4b3b;--leaf:#1b8b5a;--petrol:#0e5260;--bg:#f3f7f5;--gold:#d99a2b;--danger:#b42318;--muted:#64748b}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#10231d}.app-shell{display:flex;min-height:100vh}.sidebar{width:276px;background:linear-gradient(180deg,#08392f,#0d4b3b);color:white;padding:22px 16px;position:fixed;top:0;left:0;bottom:0;overflow:auto}.brand{display:flex;gap:12px;align-items:center;margin-bottom:24px}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#fff;color:var(--green);font-weight:900}.brand small{display:block;color:#cbe6dd}.sidebar nav a{display:block;color:#eaf7f2;text-decoration:none;padding:11px 13px;border-radius:12px;margin:4px 0;font-weight:650}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(255,255,255,.14);color:#fff}.content{margin-left:276px;flex:1;padding:26px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.topbar h1{margin:0;color:var(--green);font-size:30px;font-weight:900}.topbar p{margin:4px 0 0;color:var(--muted)}.card-pro{background:#fff;border:1px solid #e6eee9;border-radius:22px;box-shadow:0 16px 40px rgba(16,35,29,.06);padding:22px;margin-bottom:20px}.card-pro h2,.card-pro h3{color:var(--green);font-weight:850}.grid{display:grid;gap:18px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{background:linear-gradient(135deg,#fff,#f7fbf9);border:1px solid #e2eee8;border-radius:18px;padding:16px}.metric b{font-size:28px;color:var(--green)}.form-label{font-weight:750;color:#24443a}.btn-primary{background:var(--green);border-color:var(--green)}.btn-primary:hover{background:#08392f;border-color:#08392f}.btn-gold{background:var(--gold);border:0;color:#231b04;font-weight:800}.table{font-size:14px}.status{display:inline-flex;border-radius:999px;padding:4px 10px;font-weight:800;font-size:12px}.status-Adequado{background:#dcfce7;color:#166534}.status-Atenção,.status-Baixo{background:#fef3c7;color:#92400e}.status-Crítico{background:#fee2e2;color:#991b1b}.chart-box{position:relative;width:100%;min-height:390px}.chart-box-sm{position:relative;width:100%;min-height:330px}.chart-box-lg{position:relative;width:100%;min-height:560px}.nutri-card{border:1px solid #e6eee9;border-radius:18px;background:#fff;padding:18px;box-shadow:0 10px 24px rgba(16,35,29,.045)}.nutri-head{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:12px}.nutri-symbol{font-size:30px;font-weight:950;color:var(--green)}.mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mini{background:#f8faf9;border-radius:14px;padding:10px}.mini span{display:block;color:var(--muted);font-size:12px}.mini strong{color:#10231d}.hint{color:var(--muted);font-size:13px}.relatorio-box{white-space:pre-wrap;background:#fbfdfc;border:1px solid #e2eee8;border-radius:18px;padding:18px;line-height:1.55}@media(max-width:1000px){.sidebar{position:relative;width:100%;height:auto}.app-shell{display:block}.content{margin-left:0}.grid-2,.grid-3,.grid-4,.mini-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;gap:12px;flex-direction:column}}

/* ===== Interpretação avançada unificada ===== */
.report-title{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    background:linear-gradient(135deg,#0f3f35,#176b54);
    color:#fff;
    border-radius:22px;
    padding:24px;
    margin-bottom:18px;
    box-shadow:0 14px 32px rgba(0,0,0,.10);
}
.report-title h2{margin:0 0 6px;font-weight:800;letter-spacing:-.02em;}
.report-title p{margin:0;opacity:.9;}
.report-stamp{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:12px 16px;font-weight:800;white-space:nowrap;}
.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;}
.summary-card{background:#fff;border:1px solid #edf2ef;border-radius:18px;padding:16px 18px;box-shadow:0 8px 24px rgba(0,0,0,.05);}
.summary-card span{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#6b7d76;font-weight:700;}
.summary-card strong{display:block;margin-top:4px;color:#123c33;font-size:1.02rem;}
.chart-dashboard{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,.9fr);gap:18px;margin-bottom:18px;align-items:stretch;}
.chart-dashboard.equal-charts{grid-template-columns:repeat(2,minmax(0,1fr));}
.chart-dashboard.two-cols{grid-template-columns:repeat(2,minmax(0,1fr));}
.chart-card{overflow:hidden;}
.chart-box{position:relative;width:100%;min-height:320px;}
.chart-box-lg{min-height:430px;}
.chart-box-eq{min-height:430px;}
.chart-box-md{min-height:290px;}
.chart-box-rel{min-height:390px;}
.micro-table{max-height:none;overflow:visible;border:1px solid #e9f0ed;border-radius:16px;}
.micro-table table{width:100%;border-collapse:collapse;font-size:.82rem;}
.micro-table th{background:#f4f8f6;color:#16483d;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;}
.micro-table th,.micro-table td{padding:8px 10px;border-bottom:1px solid #e9f0ed;vertical-align:top;}
.micro-table tr:last-child td{border-bottom:0;}
.nutrient-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.nutrient-card{border:1px solid #e5eee9;border-left:6px solid #7f8c8d;background:#fff;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(0,0,0,.04);break-inside:avoid;page-break-inside:avoid;}
.nutrient-card.status-crítico,.nutrient-card.status-critico{border-left-color:#dc3545;}
.nutrient-card.status-baixo{border-left-color:#f0ad4e;}
.nutrient-card.status-atencao,.nutrient-card.status-atenção{border-left-color:#0dcaf0;}
.nutrient-card.status-adequado{border-left-color:#198754;}
.nutrient-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:8px;}
.nutrient-head strong{font-size:1.35rem;color:#0d4b3b;}
.nutrient-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;}
.nutrient-metrics div{background:#f7faf8;border:1px solid #edf2ef;border-radius:12px;padding:9px 10px;min-width:0;}
.nutrient-metrics span{display:block;font-size:.72rem;color:#687b74;font-weight:700;line-height:1.1;}
.nutrient-metrics b{display:block;margin-top:4px;color:#153f36;font-size:.92rem;word-break:break-word;}
.nutrient-note{font-size:.86rem;color:#2f403b;border-top:1px solid #eef3f1;padding-top:8px;margin-top:8px;}
.chart-img-salva{display:block;max-width:100%;height:auto;margin:auto;}
.saved-report-wrap .card-pro,.saved-report .card-pro{box-shadow:none;border:1px solid #e8efec;}
.disclaimer-print{background:#fbf8ef;border-color:#f2e2ba;}

@media (max-width: 1200px){
    .nutrient-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .chart-dashboard,.chart-dashboard.two-cols,.chart-dashboard.equal-charts{grid-template-columns:1fr;}
}
@media (max-width: 768px){
    .summary-grid{grid-template-columns:1fr 1fr;}
    .nutrient-card-grid{grid-template-columns:1fr;}
    .report-title{flex-direction:column;}
    .chart-box-lg,.chart-box-rel{min-height:340px;}
}
@media print{
    body{background:#fff!important;color:#111!important;}
    .sidebar,.topbar,.no-print,.btn,.alert{display:none!important;}
    .app-shell{display:block!important;}
    .content{margin:0!important;padding:0!important;width:100%!important;}
    .print-area,.saved-report-wrap{width:100%!important;margin:0!important;}
    .report-title{box-shadow:none!important;border-radius:0!important;background:#0f3f35!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
    .summary-grid{grid-template-columns:repeat(4,1fr)!important;gap:8px!important;}
    .summary-card,.card-pro,.nutrient-card{box-shadow:none!important;break-inside:avoid;page-break-inside:avoid;}
    .chart-dashboard,.chart-dashboard.two-cols,.chart-dashboard.equal-charts{grid-template-columns:1fr!important;gap:10px!important;}
    .chart-box{min-height:auto!important;height:auto!important;}
    canvas{max-width:100%!important;}
    .chart-img-salva{max-width:100%!important;height:auto!important;}
    .nutrient-card-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;}
    .nutrient-card{padding:12px!important;font-size:11px!important;}
    .nutrient-head strong{font-size:16px!important;}
    .nutrient-metrics{grid-template-columns:repeat(2,1fr)!important;gap:6px!important;}
    .nutrient-note{font-size:11px!important;}
    h2{font-size:22px!important;} h3{font-size:16px!important;}
    @page{size:A4;margin:12mm;}
}


/* ===== Ajuste de impressão e leitura - gráficos compactos ===== */
.grupo-reserva{
    padding:20px 22px 18px;
}
.grupo-reserva-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:1px solid #dfeae5;
    background:linear-gradient(135deg,#f7fbf9,#ffffff);
    border-radius:16px;
    padding:12px 16px;
    margin-bottom:14px;
}
.grupo-reserva-head h3{
    margin:0;
    font-size:1.25rem;
    letter-spacing:-.01em;
}
.chart-dashboard-compact{
    gap:14px;
    margin-bottom:0;
}
.chart-subcard{
    border:1px solid #edf2ef;
    border-radius:18px;
    padding:14px 14px 10px;
    background:#fff;
    min-width:0;
}
.chart-subcard h4{
    margin:0 0 8px;
    color:#16483d;
    font-size:1.02rem;
    font-weight:850;
}
.chart-box-eq{
    min-height:300px !important;
}
.chart-box-rel{
    min-height:300px !important;
}
.chart-box-lg{
    min-height:320px !important;
}
.chart-card h3{
    font-size:1.15rem;
    margin-bottom:10px;
}
.nutrient-card-grid{
    gap:12px;
}
.nutrient-card{
    padding:13px;
}
.nutrient-metrics{
    gap:6px;
}
.nutrient-metrics div{
    padding:7px 8px;
}
.nutrient-note{
    font-size:.80rem;
    padding-top:6px;
    margin-top:6px;
}

@media (min-width: 1201px){
    .chart-dashboard.equal-charts{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
@media print{
    .grupo-reserva{
        padding:12px!important;
        margin-bottom:10px!important;
    }
    .grupo-reserva-head{
        padding:8px 10px!important;
        margin-bottom:8px!important;
        border-radius:10px!important;
    }
    .grupo-reserva-head h3{
        font-size:15px!important;
    }
    .chart-dashboard-compact{
        grid-template-columns:repeat(2,1fr)!important;
        gap:8px!important;
    }
    .chart-subcard{
        padding:8px!important;
        border-radius:10px!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }
    .chart-subcard h4{
        font-size:12px!important;
        margin-bottom:3px!important;
    }
    .chart-box-eq{
        height:185px!important;
        min-height:185px!important;
    }
    .chart-box-rel{
        height:220px!important;
        min-height:220px!important;
    }
    .chart-dashboard.two-cols{
        grid-template-columns:repeat(2,1fr)!important;
    }
    .card-pro{
        padding:12px!important;
        margin-bottom:10px!important;
        border-radius:12px!important;
    }
    .report-title{
        padding:16px!important;
        margin-bottom:10px!important;
    }
    .summary-grid{
        margin-bottom:10px!important;
    }
    .summary-card{
        padding:10px!important;
        border-radius:10px!important;
    }
    .nutrient-card-grid{
        grid-template-columns:repeat(2,1fr)!important;
        gap:8px!important;
    }
}


/* ===== Ajuste final: gráficos compactos e organizados no PDF ===== */
.chart-card,
.chart-subcard,
.grupo-reserva,
.card-pro{
    overflow:hidden;
}
.chart-box canvas{
    display:block !important;
    max-width:100% !important;
    max-height:100% !important;
}
.grupo-reserva{
    padding:16px 18px 14px;
}
.grupo-reserva-head{
    padding:10px 14px;
    margin-bottom:10px;
}
.grupo-reserva-head h3{
    font-size:1.12rem;
}
.chart-dashboard-compact{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px;
}
.chart-subcard{
    padding:10px 10px 8px;
}
.chart-subcard h4{
    font-size:.92rem;
    margin-bottom:4px;
}
.chart-box-eq{
    height:245px !important;
    min-height:245px !important;
}
.chart-box-rel{
    height:260px !important;
    min-height:260px !important;
}
.chart-dashboard.two-cols{
    gap:12px;
}
.chart-dashboard.two-cols .card-pro{
    padding:16px;
}
.chart-dashboard.two-cols h3{
    font-size:1.05rem;
    margin-bottom:6px;
}

@media print{
    html,body{
        font-size:10px!important;
        background:#fff!important;
    }
    .content{
        padding:0!important;
    }
    .print-area{
        transform:none!important;
        width:100%!important;
    }
    .report-title{
        padding:10px 12px!important;
        margin-bottom:6px!important;
        border-radius:0!important;
    }
    .report-title h2{
        font-size:16px!important;
        margin-bottom:3px!important;
    }
    .report-title p{
        font-size:9px!important;
        line-height:1.2!important;
    }
    .report-stamp{
        padding:6px 8px!important;
        border-radius:8px!important;
        font-size:10px!important;
    }
    .summary-grid{
        grid-template-columns:repeat(4,1fr)!important;
        gap:5px!important;
        margin-bottom:6px!important;
    }
    .summary-card{
        padding:6px 7px!important;
        border-radius:8px!important;
    }
    .summary-card span{
        font-size:7px!important;
        letter-spacing:.04em!important;
    }
    .summary-card strong{
        font-size:9px!important;
        margin-top:2px!important;
        line-height:1.15!important;
    }
    .card-pro{
        padding:8px!important;
        margin-bottom:6px!important;
        border-radius:9px!important;
        box-shadow:none!important;
    }
    .card-pro h3{
        font-size:11px!important;
        margin:0 0 4px!important;
        line-height:1.15!important;
    }
    .card-pro p{
        font-size:9px!important;
        line-height:1.25!important;
        margin-bottom:0!important;
    }
    .grupo-reserva{
        padding:7px!important;
        margin-bottom:6px!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }
    .grupo-reserva-head{
        padding:5px 7px!important;
        margin-bottom:5px!important;
        border-radius:7px!important;
    }
    .grupo-reserva-head h3{
        font-size:11px!important;
        margin:0!important;
    }
    .chart-dashboard-compact{
        display:grid!important;
        grid-template-columns:repeat(2,1fr)!important;
        gap:5px!important;
    }
    .chart-subcard{
        padding:5px!important;
        border-radius:7px!important;
        min-height:0!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }
    .chart-subcard h4{
        font-size:9px!important;
        margin:0 0 1px!important;
        line-height:1.05!important;
    }
    .chart-box,
    .chart-box-eq{
        height:118px!important;
        min-height:118px!important;
        max-height:118px!important;
        overflow:hidden!important;
        position:relative!important;
    }
    .chart-dashboard.two-cols{
        display:grid!important;
        grid-template-columns:repeat(2,1fr)!important;
        gap:5px!important;
        margin-bottom:6px!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }
    .chart-dashboard.two-cols .card-pro{
        padding:7px!important;
        min-height:0!important;
    }
    .chart-dashboard.two-cols h3{
        font-size:10px!important;
        margin:0 0 2px!important;
        line-height:1.05!important;
    }
    .chart-box-rel{
        height:128px!important;
        min-height:128px!important;
        max-height:128px!important;
        overflow:hidden!important;
    }
    canvas{
        width:100%!important;
        height:100%!important;
        max-height:100%!important;
    }
    .report-block{
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }
    .nutrient-card-grid{
        grid-template-columns:repeat(3,1fr)!important;
        gap:5px!important;
    }
    .nutrient-card{
        padding:7px!important;
        border-radius:8px!important;
        border-left-width:4px!important;
        font-size:8px!important;
    }
    .nutrient-head{
        margin-bottom:4px!important;
    }
    .nutrient-head strong{
        font-size:11px!important;
    }
    .badge{
        font-size:7px!important;
        padding:2px 4px!important;
    }
    .nutrient-metrics{
        grid-template-columns:repeat(2,1fr)!important;
        gap:3px!important;
        margin-bottom:4px!important;
    }
    .nutrient-metrics div{
        padding:4px!important;
        border-radius:6px!important;
    }
    .nutrient-metrics span{
        font-size:6.8px!important;
    }
    .nutrient-metrics b{
        font-size:8px!important;
        margin-top:1px!important;
    }
    .nutrient-note{
        font-size:7px!important;
        line-height:1.15!important;
        padding-top:3px!important;
        margin-top:3px!important;
    }
    h2{font-size:15px!important;}
    @page{
        size:A4 portrait;
        margin:7mm;
    }
}

/* ===== Ajuste fino: impressão da interpretação - melhor distribuição dos gráficos na 1a página ===== */
@media print{
    /* não altera a versão web; somente impressão/PDF */
    .print-area{
        width:100% !important;
        max-width:100% !important;
    }

    .report-title{
        margin-bottom:5px !important;
        padding:10px 12px !important;
    }

    .summary-grid{
        margin-bottom:5px !important;
        gap:4px !important;
    }

    .summary-card{
        padding:6px 7px !important;
    }

    .report-block{
        margin-bottom:5px !important;
    }

    .grupo-reserva{
        padding:8px !important;
        margin-bottom:5px !important;
    }

    .grupo-reserva-head{
        margin-bottom:5px !important;
    }

    .chart-dashboard-compact{
        grid-template-columns:repeat(2,1fr) !important;
        gap:6px !important;
    }

    .chart-subcard{
        padding:6px !important;
    }

    /* Aumenta os gráficos da primeira página para ocupar o espaço útil */
    .chart-box,
    .chart-box-eq{
        height:160px !important;
        min-height:160px !important;
        max-height:160px !important;
    }

    .chart-dashboard.two-cols{
        gap:6px !important;
        margin-bottom:5px !important;
    }

    .chart-dashboard.two-cols .card-pro{
        padding:7px !important;
    }

    .chart-box-rel{
        height:150px !important;
        min-height:150px !important;
        max-height:150px !important;
    }

    .chart-subcard h4,
    .chart-dashboard.two-cols h3,
    .grupo-reserva-head h3,
    .card-pro h3{
        margin-bottom:3px !important;
    }

    .disclaimer-print{
        margin-top:4px !important;
    }

    /* Garante que a parte gráfica feche melhor a primeira página */
    .grupo-reserva,
    .chart-dashboard.two-cols,
    .chart-dashboard.two-cols .card-pro,
    .chart-subcard{
        break-inside:avoid !important;
        page-break-inside:avoid !important;
    }

    @page{
        size:A4 portrait;
        margin:6mm;
    }
}


/* ===== Ajuste exclusivo de IMPRESSÃO: ocupar melhor a primeira página ===== */
@media print{
    /*
      Não altera o layout web.
      Objetivo: usar melhor o espaço em branco inferior da página 1.
    */

    @page{
        size:A4 portrait;
        margin:5mm;
    }

    html, body{
        background:#fff !important;
    }

    .content{
        padding:0 !important;
    }

    .print-area{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
    }

    .report-title{
        padding:10px 13px !important;
        margin-bottom:5px !important;
    }

    .report-title h2{
        font-size:16px !important;
        margin-bottom:3px !important;
    }

    .report-title p{
        font-size:9px !important;
        line-height:1.18 !important;
    }

    .report-stamp{
        font-size:9px !important;
        padding:6px 8px !important;
    }

    .summary-grid{
        grid-template-columns:repeat(4,1fr) !important;
        gap:5px !important;
        margin-bottom:6px !important;
    }

    .summary-card{
        padding:7px 8px !important;
        min-height:30px !important;
    }

    .summary-card span{
        font-size:7px !important;
    }

    .summary-card strong{
        font-size:9px !important;
        line-height:1.1 !important;
    }

    .card-pro.report-block{
        margin-bottom:6px !important;
        border-radius:9px !important;
    }

    .card-pro h3{
        font-size:11px !important;
        line-height:1.1 !important;
        margin-bottom:4px !important;
    }

    .card-pro p{
        font-size:9px !important;
        line-height:1.2 !important;
    }

    .grupo-reserva{
        padding:8px !important;
        margin-bottom:6px !important;
    }

    .grupo-reserva-head{
        padding:6px 8px !important;
        margin-bottom:5px !important;
        border-radius:8px !important;
    }

    .grupo-reserva-head h3{
        font-size:12px !important;
        margin:0 !important;
    }

    /*
      Para impressão, macro e micro ficam empilhados em largura total.
      Isso melhora a leitura e usa melhor a altura da primeira página.
    */
    .chart-dashboard-compact{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:7px !important;
        margin-bottom:0 !important;
    }

    .chart-subcard{
        padding:6px 7px !important;
        border-radius:8px !important;
        break-inside:avoid !important;
        page-break-inside:avoid !important;
    }

    .chart-subcard h4{
        font-size:9.5px !important;
        margin:0 0 2px !important;
        line-height:1.05 !important;
    }

    /*
      Altura ampliada para preencher a área em branco.
      Mantém os dois gráficos dentro da página 1 com melhor leitura.
    */
    .chart-box,
    .chart-box-eq{
        height:198px !important;
        min-height:198px !important;
        max-height:198px !important;
        overflow:hidden !important;
        position:relative !important;
    }

    .chart-dashboard.two-cols{
        display:grid !important;
        grid-template-columns:repeat(2,1fr) !important;
        gap:7px !important;
        margin-bottom:4px !important;
        break-inside:avoid !important;
        page-break-inside:avoid !important;
    }

    .chart-dashboard.two-cols .card-pro{
        padding:8px !important;
        border-radius:9px !important;
        min-height:0 !important;
    }

    .chart-dashboard.two-cols h3{
        font-size:10.5px !important;
        margin:0 0 3px !important;
        line-height:1.05 !important;
    }

    .chart-box-rel{
        height:172px !important;
        min-height:172px !important;
        max-height:172px !important;
        overflow:hidden !important;
    }

    canvas{
        width:100% !important;
        height:100% !important;
        max-height:100% !important;
        display:block !important;
    }

    .grupo-reserva,
    .chart-dashboard.two-cols,
    .chart-subcard,
    .chart-dashboard.two-cols .card-pro{
        break-inside:avoid !important;
        page-break-inside:avoid !important;
    }

    /*
      Mantém os cards dos nutrientes na página seguinte com boa leitura.
    */
    .nutrient-card-grid{
        grid-template-columns:repeat(3,1fr) !important;
        gap:6px !important;
    }
}


/* ===== Cadastro público, dashboard e correção de solos ===== */
.dashboard-welcome{
    display:inline-block;
    font-size:.92rem;
    font-weight:650;
    color:#5f716b;
    margin-left:10px;
    letter-spacing:0;
}
.dashboard-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:linear-gradient(135deg,#ffffff,#f2fbf6);
    border:1px solid #dcece3;
}
.dash-kicker{
    display:inline-block;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#16805f;
    font-weight:800;
    margin-bottom:4px;
}
.plan-pill{
    min-width:170px;
    padding:14px 18px;
    border-radius:18px;
    background:#0f3d33;
    color:#fff;
    text-align:center;
    box-shadow:0 10px 25px rgba(15,61,51,.18);
}
.plan-pill small{
    display:block;
    opacity:.78;
    text-transform:uppercase;
    font-size:.68rem;
    letter-spacing:.08em;
}
.plan-pill strong{
    display:block;
    font-size:1.25rem;
}
.free-callout{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    background:linear-gradient(135deg,#fff7df,#ffffff);
    border:1px solid #f4d27a;
}
.free-callout h3{
    margin-bottom:4px;
}
@media(max-width:768px){
    .dashboard-hero,.free-callout{flex-direction:column;align-items:flex-start;}
    .plan-pill{width:100%;}
    .dashboard-welcome{display:block;margin-left:0;margin-top:4px;}
}


/* ===== Ajustes: Clientes/Usuários unificados, plano no topo e Correção de Solos ===== */
.topbar-account{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.topbar-plan{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:7px 11px;
    border-radius:999px;
    background:#eef8f3;
    border:1px solid #d8eadf;
    color:#16483d;
    font-size:.84rem;
    white-space:nowrap;
}
.topbar-plan strong{
    color:#0f3d33;
}
.correcao-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:linear-gradient(135deg,#ffffff,#f4fbf7);
    border:1px solid #dcece3;
}
.correcao-result-main{
    border-left:6px solid #16805f;
}
.correcao-bars{
    display:grid;
    gap:10px;
}
.correcao-bars div{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#eef4f1;
    padding:9px 10px;
    min-height:42px;
}
.correcao-bars span,
.correcao-bars b{
    position:relative;
    z-index:2;
}
.correcao-bars span{
    font-weight:800;
    color:#16483d;
}
.correcao-bars b{
    float:right;
    color:#0f3d33;
}
.correcao-bars i{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    background:linear-gradient(90deg,#bfe8d3,#dff5ea);
    z-index:1;
}
@media(max-width:768px){
    .correcao-hero{flex-direction:column;align-items:flex-start;}
    .topbar-account{justify-content:flex-start;width:100%;}
}


/* =========================================================
   NutriUva Pro — Layout premium consolidado
   ========================================================= */
:root{
    --green:#0f3d33;
    --green-2:#17634f;
    --leaf:#1b8b5a;
    --mint:#e9f6ef;
    --gold:#f0b429;
    --bg:#f4f8f6;
    --surface:#ffffff;
    --surface-2:#f8fcfa;
    --text:#18312b;
    --muted:#63736f;
    --border:#dfece5;
    --shadow:0 18px 45px rgba(15,61,51,.10);
    --shadow-soft:0 10px 28px rgba(15,61,51,.075);
    --radius:24px;
}

html{scroll-behavior:smooth}
body{
    margin:0;
    background:
        radial-gradient(circle at 12% 8%, rgba(240,180,41,.12), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(23,99,79,.10), transparent 24%),
        var(--bg);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    color:var(--text);
}

a{text-decoration:none}

.premium-shell{
    display:flex;
    min-height:100vh;
}

.premium-sidebar{
    width:292px;
    background:
        radial-gradient(circle at 50% -10%, rgba(240,180,41,.18), transparent 30%),
        linear-gradient(180deg,#0b3028 0%,#0f3d33 55%,#092922 100%);
    color:white;
    padding:22px 16px;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    overflow:auto;
    z-index:1035;
    box-shadow:12px 0 34px rgba(15,61,51,.16);
}

.brand{
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:24px;
    color:#fff;
    padding:8px;
    border-radius:20px;
}

.brand:hover{color:#fff;background:rgba(255,255,255,.06)}

.brand-mark{
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border-radius:17px;
    background:rgba(255,255,255,.98);
    color:var(--green);
    font-weight:950;
    letter-spacing:-.04em;
    box-shadow:0 12px 28px rgba(0,0,0,.16);
}

.brand strong{
    display:block;
    font-size:1.05rem;
    line-height:1;
}

.brand small{
    display:block;
    color:rgba(255,255,255,.70);
    font-size:.76rem;
    margin-top:4px;
}

.sidebar nav{
    display:grid;
    gap:4px;
    padding-bottom:18px;
}

.nav-section{
    margin:18px 10px 7px;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;
    color:rgba(255,255,255,.47);
}

.sidebar nav a{
    display:flex;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,.86);
    text-decoration:none;
    padding:11px 12px;
    border-radius:15px;
    font-weight:750;
    line-height:1.1;
    transition:.18s ease;
    border:1px solid transparent;
}

.sidebar nav a span{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:.78rem;
    flex:0 0 auto;
}

.sidebar nav a:hover{
    background:rgba(255,255,255,.10);
    color:#fff;
    transform:translateX(2px);
}

.sidebar nav a.active{
    background:#fff;
    color:var(--green);
    box-shadow:0 12px 28px rgba(0,0,0,.16);
}

.sidebar nav a.active span{
    background:var(--mint);
    color:var(--green);
}

.sidebar-footer{
    margin-top:22px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
}

.sidebar-footer span{
    display:block;
    color:rgba(255,255,255,.58);
    font-size:.73rem;
    text-transform:uppercase;
    font-weight:850;
    letter-spacing:.06em;
}

.sidebar-footer strong{
    display:block;
    color:#fff;
    font-size:.88rem;
    margin-top:4px;
}

.premium-content{
    margin-left:292px;
    flex:1;
    padding:28px;
    max-width:100%;
}

.mobile-topbar{
    display:none;
}

.premium-topbar{
    min-height:102px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:22px 24px;
    margin-bottom:24px;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(223,236,229,.95);
    border-radius:28px;
    box-shadow:var(--shadow);
    backdrop-filter:blur(10px);
}

.page-kicker{
    display:inline-flex;
    padding:6px 10px;
    border-radius:999px;
    background:var(--mint);
    color:var(--green);
    font-size:.68rem;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:7px;
}

.topbar h1{
    margin:0;
    color:var(--green);
    font-size:clamp(1.55rem,2.4vw,2.25rem);
    font-weight:950;
    letter-spacing:-.045em;
    line-height:1.05;
}

.topbar p{
    margin:7px 0 0;
    color:var(--muted);
    font-size:.95rem;
}

.dashboard-welcome{
    display:block;
    margin-top:7px;
    font-size:.88rem;
    font-weight:750;
    color:#60736d;
    letter-spacing:0;
}

.topbar-account{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
    min-width:fit-content;
}

.account-chip{
    display:flex;
    flex-direction:column;
    gap:1px;
    padding:9px 12px;
    border-radius:16px;
    background:var(--surface-2);
    border:1px solid var(--border);
}

.account-chip span{
    color:var(--green);
    font-size:.84rem;
    font-weight:850;
    max-width:170px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.account-chip strong{
    color:var(--muted);
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.topbar-plan{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:10px 12px;
    border-radius:999px;
    background:#eef8f3;
    border:1px solid #d8eadf;
    color:#16483d;
    font-size:.84rem;
    white-space:nowrap;
    font-weight:800;
}

.topbar-plan strong{
    color:var(--green);
}

/* Cards, grids e métricas */
.card-pro{
    background:rgba(255,255,255,.92);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow-soft);
    padding:24px;
    margin-bottom:22px;
}

.card-pro h2,
.card-pro h3,
.card-pro h4{
    color:var(--green);
    font-weight:900;
    letter-spacing:-.025em;
}

.card-pro h2{font-size:1.45rem}
.card-pro h3{font-size:1.16rem}

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

.metric{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#fff,#f7fbf9);
    border:1px solid #e2eee8;
    border-radius:20px;
    padding:18px;
    box-shadow:0 8px 20px rgba(15,61,51,.05);
}

.metric::after{
    content:"";
    position:absolute;
    width:92px;
    height:92px;
    right:-42px;
    bottom:-42px;
    border-radius:50%;
    background:rgba(27,139,90,.08);
}

.metric span{
    position:relative;
    z-index:2;
    display:block;
    color:var(--muted);
    font-size:.78rem;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.045em;
}

.metric b{
    position:relative;
    z-index:2;
    display:block;
    margin-top:5px;
    font-size:clamp(1.6rem,2.7vw,2.15rem);
    color:var(--green);
    font-weight:950;
    letter-spacing:-.04em;
}

.dashboard-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:
        radial-gradient(circle at 90% 20%, rgba(240,180,41,.14), transparent 24%),
        linear-gradient(135deg,#ffffff,#f2fbf6);
    border:1px solid #dcece3;
}

.dash-kicker{
    display:inline-block;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--green-2);
    font-weight:900;
    margin-bottom:4px;
}

.plan-pill{
    min-width:180px;
    padding:16px 18px;
    border-radius:20px;
    background:linear-gradient(135deg,var(--green),var(--green-2));
    color:#fff;
    text-align:center;
    box-shadow:0 14px 30px rgba(15,61,51,.20);
}

.plan-pill small{
    display:block;
    opacity:.78;
    text-transform:uppercase;
    font-size:.68rem;
    letter-spacing:.08em;
    font-weight:850;
}

.plan-pill strong{
    display:block;
    font-size:1.25rem;
    font-weight:950;
}

.free-callout{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    background:linear-gradient(135deg,#fff7df,#ffffff);
    border:1px solid #f4d27a;
}

/* Forms */
.form-label{
    font-weight:850;
    color:#29453d;
    margin-bottom:7px;
}

.form-control,
.form-select{
    min-height:46px;
    border-radius:15px;
    border-color:#dce9e2;
    background:#fbfdfc;
    padding-left:14px;
}

textarea.form-control{min-height:96px}

.form-control:focus,
.form-select:focus{
    border-color:var(--green-2);
    box-shadow:0 0 0 .22rem rgba(23,99,79,.12);
    background:#fff;
}

.input-group-text{
    border-radius:15px;
    border-color:#dce9e2;
    background:#f3faf6;
    color:var(--green);
    font-weight:850;
}

/* Botões sempre com estética simétrica */
.btn{
    border-radius:999px;
    font-weight:850;
    padding:.65rem 1.05rem;
}

.btn-sm{
    padding:.42rem .75rem;
}

.btn-primary{
    background:var(--green);
    border-color:var(--green);
}

.btn-primary:hover{
    background:#0a2d26;
    border-color:#0a2d26;
}

.btn-success{
    background:var(--leaf);
    border-color:var(--leaf);
}

.btn-warning,
.btn-gold{
    background:var(--gold);
    border-color:var(--gold);
    color:#1f2a25;
    font-weight:900;
}

.btn-outline-primary{
    color:var(--green);
    border-color:var(--green);
}

.btn-outline-primary:hover{
    background:var(--green);
    border-color:var(--green);
}

.d-flex.gap-2,
.d-flex.flex-wrap.gap-2{
    align-items:center;
}

/* Tabelas */
.table-responsive{
    border-radius:20px;
}

.table{
    font-size:.9rem;
    margin-bottom:0;
}

.table thead th{
    background:#f4faf7;
    color:var(--green);
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.06em;
    border-bottom:1px solid #dfece5;
    white-space:nowrap;
}

.table tbody td{
    vertical-align:middle;
    color:#2e4640;
}

.table-hover tbody tr:hover{
    background:#f8fcfa;
}

/* Status e badges */
.badge{
    border-radius:999px;
    padding:.45rem .65rem;
    font-weight:850;
}

.status{
    display:inline-flex;
    border-radius:999px;
    padding:5px 11px;
    font-weight:900;
    font-size:12px;
}

/* Gráficos */
.chart-card{
    border-radius:var(--radius);
}

.chart-box,
.chart-box-sm,
.chart-box-lg,
.chart-box-md,
.chart-box-rel{
    background:linear-gradient(135deg,#fff,#fbfdfc);
    border:1px solid #e9f0ed;
    border-radius:20px;
    padding:10px;
}

canvas{
    max-width:100%;
}

/* Relatórios e impressão */
.report-title{
    border-radius:26px;
    background:
        radial-gradient(circle at 90% 10%, rgba(240,180,41,.18), transparent 28%),
        linear-gradient(135deg,var(--green),var(--green-2));
}

.summary-card{
    border-radius:20px;
    box-shadow:0 8px 20px rgba(15,61,51,.055);
}

.saved-report-wrap{
    background:#fff;
    border-radius:24px;
}

/* Modais */
.modal-content{
    border-radius:24px;
    border:0;
    box-shadow:0 24px 70px rgba(15,61,51,.18);
}

.modal-header{
    border-bottom:1px solid #e7f0ea;
}

.modal-footer{
    border-top:1px solid #e7f0ea;
}

/* Mobile */
.sidebar-backdrop{
    display:none;
}

@media(max-width:1100px){
    .premium-sidebar{
        transform:translateX(-105%);
        transition:.22s ease;
    }

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

    .sidebar-backdrop{
        display:none;
        position:fixed;
        inset:0;
        background:rgba(5,20,16,.46);
        z-index:1030;
    }

    body.sidebar-open .sidebar-backdrop{
        display:block;
    }

    .premium-content{
        margin-left:0;
        padding:18px;
    }

    .mobile-topbar{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        background:#fff;
        border:1px solid var(--border);
        border-radius:22px;
        padding:12px;
        margin-bottom:14px;
        box-shadow:var(--shadow-soft);
    }

    .sidebar-toggle{
        border:0;
        width:42px;
        height:42px;
        border-radius:14px;
        background:var(--green);
        color:#fff;
        font-weight:900;
        font-size:1.2rem;
    }

    .premium-topbar{
        flex-direction:column;
        align-items:flex-start;
        padding:18px;
        border-radius:24px;
    }

    .topbar-account{
        width:100%;
        justify-content:flex-start;
    }

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

@media(max-width:720px){
    .premium-content{padding:12px}
    .grid-2,.grid-3,.grid-4,.mini-grid,.summary-grid,.chart-dashboard,.chart-dashboard.equal-charts,.chart-dashboard.two-cols{
        grid-template-columns:1fr !important;
    }

    .card-pro{padding:18px;border-radius:22px}
    .dashboard-hero,.free-callout{
        flex-direction:column;
        align-items:flex-start;
    }

    .plan-pill{width:100%}
    .account-chip{width:100%}
    .topbar-plan{width:100%;justify-content:center}
}

@media print{
    body{
        background:#fff !important;
        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
    }

    .premium-sidebar,
    .mobile-topbar,
    .premium-topbar,
    .sidebar-backdrop,
    .no-print,
    .btn,
    form{
        display:none !important;
    }

    .premium-content{
        margin-left:0 !important;
        padding:0 !important;
    }

    .card-pro{
        box-shadow:none !important;
        break-inside:avoid;
    }
}

.module-card{
    display:flex;
    flex-direction:column;
    min-height:220px;
}
.module-card .hint{
    margin-bottom:18px;
}
.card-button-row{
    margin-top:auto;
    display:flex;
    justify-content:flex-end;
}

/* ===== Organização Dashboard / Banco de Dados / Diagnóstico / Relatórios ===== */
.dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#0b3f35,#145f4d);color:#fff;overflow:hidden;position:relative}.dashboard-hero h2{color:#fff;margin:4px 0 8px}.dashboard-hero .hint{color:#dcefe8}.dash-kicker,.section-head span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:#d99a2b}.plan-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:13px 16px;min-width:170px}.plan-pill small{display:block;opacity:.85}.plan-pill strong{font-size:1.15rem}.dashboard-section{padding:20px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-head h3{margin:2px 0 0}.module-link{display:block;text-decoration:none;color:inherit;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease}.module-link:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(13,75,59,.12);border-color:rgba(27,139,90,.36);background:linear-gradient(135deg,#ffffff,#f4fbf7);color:inherit}.module-card{border:1px solid #e2eee8;border-radius:20px;padding:18px;background:#fff;min-height:130px}.module-card h3{font-size:1.05rem;margin-bottom:8px}.btn{border-radius:12px;font-weight:750;transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(13,75,59,.14)}.btn-outline-primary:hover{background:#0d4b3b;border-color:#0d4b3b;color:#fff}.btn-success:hover{filter:brightness(.92)}.btn-light:hover{background:#eef7f2;border-color:#d9e9e1}.sidebar nav a{transition:background .15s ease, transform .15s ease}.sidebar nav a:hover{transform:translateX(3px)}
@media(max-width:768px){.dashboard-hero{flex-direction:column;align-items:flex-start}.plan-pill{width:100%}.dashboard-section{padding:16px}.module-card{min-height:auto}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr!important}}
@media print{.no-print,.sidebar,.topbar,.mobile-topbar,.sidebar-backdrop{display:none!important}.saved-report-wrap{margin:0!important}.saved-report .report-title,.print-area .report-title{-webkit-print-color-adjust:exact;print-color-adjust:exact}.saved-report .table,.print-area .table{font-size:10px!important}.saved-report .card-pro,.print-area .card-pro{break-inside:avoid;page-break-inside:avoid}.chart-box-md{height:230px!important;min-height:230px!important}}

/* Atualização 2026-05-12: gráficos horizontais e indicadores por fazenda */
.analysis-chart-grid{display:grid;gap:16px;align-items:stretch;margin-top:16px}.analysis-chart-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-chart-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-panel{background:#fbfdfc;border:1px solid #dfeae5;border-radius:20px;padding:16px;box-shadow:0 12px 28px rgba(15,61,51,.06)}.chart-panel h4{font-size:.95rem;font-weight:900;color:#0f3d33;margin-bottom:10px}.chart-box-sm{height:260px}.indicador-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.admin-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.admin-kpi{border:1px solid #dfeae5;background:linear-gradient(180deg,#fff,#f8fbf9);border-radius:18px;padding:14px}.admin-kpi span{display:block;color:#66766e;font-weight:800;font-size:.78rem}.admin-kpi strong{display:block;color:#0f3d33;font-size:1.65rem;line-height:1.1}.btn,.module-card,.metric,.admin-kpi{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}.btn:hover,.module-card:hover,.metric:hover,.admin-kpi:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,61,51,.13)}.btn-outline-primary:hover,.btn-outline-success:hover{color:#fff!important}@media(max-width:1180px){.analysis-chart-grid.three,.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.indicador-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.analysis-chart-grid.three,.analysis-chart-grid.two,.admin-kpi-grid,.indicador-filter{grid-template-columns:1fr}.chart-box-sm{height:240px}}

/* Ajuste visual 2026-05-12: hover premium dos botões e leitura dos gráficos */
:root{--hover-yellow:#f0b429;--hover-yellow-dark:#c98506;--btn-petrol:#0e5260;}
.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover{
    background:var(--hover-yellow)!important;
    border-color:var(--hover-yellow)!important;
    color:#1f2a25!important;
    filter:none!important;
}
.btn-warning:hover,
.btn-gold:hover{
    background:var(--green)!important;
    border-color:var(--green)!important;
    color:#fff!important;
}
.btn-outline-secondary:hover,
.btn-secondary:hover{
    background:var(--btn-petrol)!important;
    border-color:var(--btn-petrol)!important;
    color:#fff!important;
}
.btn-light:hover,
.btn-outline-light:hover{
    background:#fff4d6!important;
    border-color:#f5d68a!important;
    color:#1f2a25!important;
}
.btn-outline-danger:hover,
.btn-danger:hover{
    background:#b42318!important;
    border-color:#b42318!important;
    color:#fff!important;
}
.chart-panel canvas{border-radius:12px;}


/* Atualização 2026-05-12: filtros, paginação e gráficos internos */
.filter-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;background:#f8fbf9;border:1px solid #dfeae5;border-radius:18px;padding:14px;margin-top:12px}
.filter-bar .form-label{font-size:.82rem;margin-bottom:4px}.pagination-pro .page-link{color:#0d4b3b;border-color:#dfeae5;font-weight:800}.pagination-pro .page-item.active .page-link{background:#0d4b3b;border-color:#0d4b3b;color:#fff}.pagination-pro .page-link:hover{background:#f6d56f;border-color:#f6d56f;color:#0d4b3b}.selectable-table tbody tr{cursor:pointer;transition:background .15s ease, box-shadow .15s ease}.selectable-table tbody tr:hover{background:#f7fbf2}.selectable-table tbody tr.selected{background:#fff8db!important;box-shadow:inset 4px 0 0 #d99a2b}.analysis-chart-grid-wide .chart-panel{min-width:0}.analysis-chart-grid-wide .chart-box-sm{height:300px}.indicador-filter-fazenda{grid-template-columns:minmax(280px,1fr) 180px 180px}.admin-kpi-grid-compact{grid-template-columns:repeat(5,minmax(0,1fr))}.chart-panel canvas{max-width:100%}
@media(max-width:1180px){.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-kpi-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.indicador-filter-fazenda{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.filter-bar,.indicador-filter-fazenda{grid-template-columns:1fr}.analysis-chart-grid-wide .chart-box-sm{height:260px}}

/* Atualização indicadores/parametros técnicos */
.parametros-module-card h3{margin-bottom:18px;color:var(--green-dark,#0d4b3b)}
.parametros-group{border:1px solid rgba(13,75,59,.10);border-radius:18px;padding:16px;margin-bottom:18px;background:#fff}
.parametros-group h4{font-size:1rem;color:#0d4b3b;margin-bottom:12px;font-weight:800}
.parametros-table textarea{min-height:48px;resize:vertical}
.indicador-filter-fazenda{grid-template-columns:minmax(240px,1fr) minmax(260px,1fr) 160px 160px;align-items:end}
@media(max-width:992px){.indicador-filter-fazenda{grid-template-columns:1fr}.analysis-chart-grid.three{grid-template-columns:1fr!important}}
.chart-panel{overflow:hidden}
.chart-box-sm{min-height:260px}

/* Atualização 2026-05-12: indicadores e recomendação nutricional */
.chart-panel-wide { grid-column: span 1; }
.rec-identificacao {
    background: #f8fbf7;
    border: 1px solid rgba(13,75,59,.12);
    border-radius: 18px;
    padding: 14px 16px;
    margin: 16px 0;
    line-height: 1.7;
}
.rec-table { font-size: .86rem; }
.rec-table th { white-space: nowrap; }
.rec-table td { vertical-align: middle; }
.rec-alertas li { margin-bottom: 6px; }
@media (min-width: 1200px) { .analysis-chart-grid.three .chart-panel-wide { grid-column: span 1; } }
@media print {
    .rec-table { font-size: 10px; }
    .rec-identificacao { border: 1px solid #cbd5d1; background: #fff; }
    .report-block { box-shadow: none !important; border: 0 !important; }
}

/* ===== Recomendação Nutricional Quantitativa - relatório limpo ===== */
.rec-actions-bar{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px;align-items:center;}
.rec-report{background:#f3f7f5;border-radius:26px;}
.rec-hero{background:linear-gradient(135deg,#08392f,#0d4b3b);color:#fff;border-radius:26px;padding:26px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;box-shadow:0 18px 42px rgba(13,75,59,.16);margin-bottom:18px;}
.rec-hero span{display:inline-block;font-weight:850;letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;color:#f7d48a;margin-bottom:6px;}
.rec-hero h2{margin:0 0 6px;font-size:1.75rem;font-weight:950;color:#fff;letter-spacing:-.03em;}
.rec-hero p{margin:0;color:rgba(255,255,255,.88);max-width:780px;}
.rec-hero-chip{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28);border-radius:18px;padding:12px 16px;font-weight:900;white-space:nowrap;}
.rec-section{background:#fff;border:1px solid #e6eee9;border-radius:24px;box-shadow:0 16px 40px rgba(16,35,29,.06);padding:22px;margin-bottom:18px;break-inside:avoid;page-break-inside:avoid;}
.rec-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.rec-section-title span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#edf7f2;color:#0d4b3b;font-weight:950;}
.rec-section-title h3{margin:0;color:#0d4b3b;font-weight:950;letter-spacing:-.02em;}
.rec-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.rec-info{border:1px solid #e7efeb;background:linear-gradient(135deg,#fbfdfc,#f6faf8);border-radius:18px;padding:14px;min-width:0;}
.rec-info span{display:block;color:#64748b;font-size:.76rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px;}
.rec-info strong{display:block;color:#10231d;font-size:1.02rem;word-break:break-word;}
.rec-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:10px;}
.rec-summary-card{border:1px solid #e7efeb;background:#f8fbf9;border-radius:18px;padding:14px;}
.rec-summary-card span{display:block;color:#64748b;font-size:.73rem;text-transform:uppercase;font-weight:850;letter-spacing:.05em;}
.rec-summary-card strong{display:block;color:#0d4b3b;font-size:1.65rem;font-weight:950;line-height:1.05;margin-top:4px;}
.rec-summary-card small{color:#64748b;font-weight:650;}
.rec-short-note{color:#556b63;font-size:.92rem;line-height:1.45;}
.rec-chart-section{padding-bottom:18px;}
.rec-chart-box{height:380px;position:relative;border:1px solid #edf2ef;background:#fbfdfc;border-radius:20px;padding:14px;}
.rec-table-subtitle{font-size:1rem;font-weight:900;color:#0d4b3b;margin:8px 0 8px;}
.rec-table-clean-wrap{border:1px solid #e6eee9;border-radius:18px;overflow:hidden;}
.rec-table-clean{margin:0;font-size:.92rem;}
.rec-table-clean thead th{background:#f3f8f5;color:#0d4b3b;border-bottom:1px solid #e3ece7;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;}
.rec-table-clean tbody td{border-color:#edf2ef;vertical-align:middle;}
.rec-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;font-size:.76rem;font-weight:900;white-space:nowrap;background:#eef2f7;color:#334155;}
.rec-badge-muito-baixo,.rec-badge-baixo{background:#fef3c7;color:#92400e;}
.rec-badge-médio,.rec-badge-adequado{background:#dcfce7;color:#166534;}
.rec-badge-alto{background:#e0f2fe;color:#075985;}
.rec-badge-muito-alto,.rec-badge-excessorisco{background:#fee2e2;color:#991b1b;}
.rec-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.rec-alert-item{border:1px solid #f2e2ba;background:#fffaf0;border-radius:16px;padding:11px 12px;color:#60420b;font-size:.9rem;}
.rec-final-note p{margin:0;color:#2f403b;line-height:1.5;}
@media(max-width:900px){.rec-hero{flex-direction:column}.rec-info-grid,.rec-summary-grid,.rec-alert-grid{grid-template-columns:1fr}.rec-chart-box{height:330px}.rec-section{padding:16px;border-radius:20px}.rec-hero{padding:20px;border-radius:22px}.rec-hero h2{font-size:1.4rem}.rec-actions-bar{justify-content:stretch}.rec-actions-bar .btn,.rec-actions-bar form{width:100%;}.rec-actions-bar form .btn{width:100%;}}
@media print{.rec-actions-bar{display:none!important}.rec-report{background:#fff!important;border-radius:0!important}.rec-hero{box-shadow:none!important;border-radius:0!important;padding:12px 14px!important;margin-bottom:7px!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.rec-hero h2{font-size:16px!important;margin-bottom:2px!important}.rec-hero p{font-size:9px!important;line-height:1.2!important}.rec-hero span{font-size:7px!important;margin-bottom:2px!important}.rec-hero-chip{font-size:9px!important;padding:6px 8px!important;border-radius:8px!important}.rec-section{box-shadow:none!important;border-radius:10px!important;padding:8px!important;margin-bottom:7px!important;break-inside:avoid!important;page-break-inside:avoid!important}.rec-section-title{gap:6px!important;margin-bottom:5px!important}.rec-section-title span{width:20px!important;height:20px!important;border-radius:6px!important;font-size:9px!important}.rec-section-title h3{font-size:12px!important}.rec-info-grid{grid-template-columns:repeat(3,1fr)!important;gap:5px!important}.rec-info{padding:6px!important;border-radius:8px!important}.rec-info span{font-size:6.7px!important;margin-bottom:1px!important}.rec-info strong{font-size:8.5px!important}.rec-summary-grid{grid-template-columns:repeat(4,1fr)!important;gap:5px!important}.rec-summary-card{padding:6px!important;border-radius:8px!important}.rec-summary-card span{font-size:6.5px!important}.rec-summary-card strong{font-size:14px!important}.rec-summary-card small,.rec-short-note{font-size:8px!important;line-height:1.15!important}.rec-chart-box{height:220px!important;min-height:220px!important;padding:4px!important;border-radius:8px!important}.rec-table-subtitle{font-size:10px!important;margin:4px 0!important}.rec-table-clean{font-size:7.8px!important}.rec-table-clean thead th{font-size:6.7px!important;padding:4px!important}.rec-table-clean tbody td{padding:4px!important}.rec-badge{font-size:6.5px!important;padding:2px 4px!important}.rec-alert-grid{grid-template-columns:repeat(2,1fr)!important;gap:4px!important}.rec-alert-item{font-size:7px!important;padding:5px!important;border-radius:7px!important}.rec-final-note p{font-size:8px!important;line-height:1.2!important}@page{size:A4 portrait;margin:8mm}}

/* Ajuste pontual - Recomendação Nutricional Ajustada */
.rec-table-balanced-wrap{border-radius:20px;box-shadow:0 10px 28px rgba(16,35,29,.035);}
.rec-table-balanced{table-layout:fixed;}
.rec-table-balanced thead th{padding:13px 14px;}
.rec-table-balanced tbody td{padding:13px 14px;}
.rec-table-balanced tbody tr:hover{background:#fbf7e8;transition:background .18s ease;}
.rec-nutrient-pill{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:7px 10px;border-radius:999px;background:#edf7f2;color:#0d4b3b;font-weight:950;letter-spacing:.02em;}
.rec-dose-value{display:inline-flex;align-items:center;justify-content:flex-end;min-width:78px;font-size:1rem;font-weight:950;color:#10231d;background:#f8faf9;border:1px solid #e6eee9;border-radius:12px;padding:7px 10px;}
.rec-unit-chip{display:inline-flex;align-items:center;justify-content:center;min-width:58px;border-radius:999px;background:#fff7da;color:#76520a;font-weight:900;padding:6px 9px;white-space:nowrap;}
.rec-obs-cell{color:#34443f;line-height:1.45;}
@media(max-width:900px){.rec-table-balanced{table-layout:auto}.rec-table-balanced thead th,.rec-table-balanced tbody td{padding:10px 9px}.rec-nutrient-pill{min-width:46px}.rec-dose-value{min-width:66px}.rec-obs-cell{min-width:300px}}
@media print{.rec-table-balanced-wrap{box-shadow:none!important;border-radius:10px!important}.rec-table-balanced thead th{padding:4px!important}.rec-table-balanced tbody td{padding:4px!important}.rec-nutrient-pill{min-width:34px!important;padding:2px 4px!important;border-radius:6px!important;font-size:7px!important}.rec-dose-value{min-width:45px!important;padding:2px 4px!important;border-radius:6px!important;font-size:7.5px!important}.rec-unit-chip{min-width:34px!important;padding:2px 4px!important;border-radius:6px!important;font-size:7px!important}.rec-obs-cell{font-size:7.8px!important;line-height:1.2!important}}

/* Ajuste de impressão: Recomendação Nutricional em 1 página A4 */
@media print {
    @page { size: A4 portrait; margin: 5mm; }

    html, body {
        width: 210mm !important;
        min-height: 297mm !important;
        background: #fff !important;
        overflow: visible !important;
    }

    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body * {
        visibility: hidden;
    }

    .print-area, .print-area * {
        visibility: visible;
    }

    .print-area {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .rec-report.print-area {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4.6mm !important;
        background: #fff !important;
        border-radius: 0 !important;
        font-size: 7.7px !important;
        line-height: 1.16 !important;
        align-content: start !important;
    }

    .rec-report .rec-hero,
    .rec-report .rec-section:first-of-type,
    .rec-report .rec-section:nth-of-type(4),
    .rec-report .rec-final-note {
        grid-column: 1 / -1 !important;
    }

    .rec-report .rec-hero {
        padding: 9px 11px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        min-height: 0 !important;
    }

    .rec-report .rec-hero span {
        font-size: 6.2px !important;
        margin-bottom: 1px !important;
        line-height: 1 !important;
    }

    .rec-report .rec-hero h2 {
        font-size: 13px !important;
        line-height: 1.06 !important;
        margin: 0 0 2px !important;
    }

    .rec-report .rec-hero p {
        font-size: 7.2px !important;
        line-height: 1.14 !important;
        margin: 0 !important;
    }

    .rec-report .rec-hero-chip {
        font-size: 7.1px !important;
        padding: 5px 8px !important;
        border-radius: 7px !important;
    }

    .rec-report .rec-section {
        padding: 7px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        border-color: #dfe8e3 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        overflow: hidden !important;
    }

    .rec-report .rec-section-title {
        gap: 5px !important;
        margin-bottom: 5px !important;
        align-items: center !important;
    }

    .rec-report .rec-section-title span {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        font-size: 7.4px !important;
        border-radius: 6px !important;
    }

    .rec-report .rec-section-title h3 {
        font-size: 10.2px !important;
        line-height: 1.08 !important;
        margin: 0 !important;
    }

    .rec-report .rec-info-grid {
        grid-template-columns: repeat(9, 1fr) !important;
        gap: 4px !important;
    }

    .rec-report .rec-info {
        padding: 4px 5px !important;
        border-radius: 6px !important;
        min-height: 0 !important;
    }

    .rec-report .rec-info span {
        font-size: 5.2px !important;
        line-height: 1 !important;
        margin-bottom: 1px !important;
        letter-spacing: .025em !important;
    }

    .rec-report .rec-info strong {
        font-size: 6.8px !important;
        line-height: 1.08 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .rec-report .rec-chart-section .rec-short-note {
        display: none !important;
    }

    .rec-report .rec-chart-box {
        height: 92mm !important;
        min-height: 92mm !important;
        padding: 4px !important;
        border-radius: 8px !important;
    }

    .rec-report .rec-table-subtitle {
        display: inline-block !important;
        font-size: 8.4px !important;
        line-height: 1 !important;
        margin: 3px 0 3px !important;
        padding: 0 !important;
    }

    .rec-report .rec-table-subtitle.mt-3 {
        margin-top: 5px !important;
    }

    .rec-report .rec-table-balanced-wrap,
    .rec-report .rec-table-clean-wrap {
        border-radius: 6px !important;
        box-shadow: none !important;
    }

    .rec-report .rec-table-balanced,
    .rec-report .rec-table-clean {
        table-layout: fixed !important;
        width: 100% !important;
        font-size: 6.5px !important;
        line-height: 1.12 !important;
    }

    .rec-report .rec-table-balanced thead th,
    .rec-report .rec-table-clean thead th {
        padding: 3px 4px !important;
        font-size: 5.9px !important;
        line-height: 1 !important;
        letter-spacing: .025em !important;
    }

    .rec-report .rec-table-balanced tbody td,
    .rec-report .rec-table-clean tbody td {
        padding: 3px 4px !important;
        font-size: 6.5px !important;
        line-height: 1.12 !important;
    }

    .rec-report .rec-table-balanced th:nth-child(1),
    .rec-report .rec-table-balanced td:nth-child(1) { width: 9% !important; }
    .rec-report .rec-table-balanced th:nth-child(2),
    .rec-report .rec-table-balanced td:nth-child(2) { width: 13% !important; text-align: right !important; }
    .rec-report .rec-table-balanced th:nth-child(3),
    .rec-report .rec-table-balanced td:nth-child(3) { width: 9% !important; }
    .rec-report .rec-table-balanced th:nth-child(4),
    .rec-report .rec-table-balanced td:nth-child(4) { width: 69% !important; }

    .rec-report .rec-nutrient-pill {
        min-width: 26px !important;
        padding: 2px 4px !important;
        border-radius: 5px !important;
        font-size: 6.2px !important;
        line-height: 1 !important;
    }

    .rec-report .rec-dose-value {
        min-width: 38px !important;
        padding: 2px 4px !important;
        border-radius: 5px !important;
        font-size: 6.5px !important;
        line-height: 1 !important;
        justify-content: flex-end !important;
    }

    .rec-report .rec-unit-chip {
        min-width: 30px !important;
        padding: 2px 4px !important;
        border-radius: 5px !important;
        font-size: 6.2px !important;
        line-height: 1 !important;
    }

    .rec-report .rec-obs-cell {
        font-size: 6.45px !important;
        line-height: 1.14 !important;
    }

    .rec-report .rec-final-note {
        padding: 7px 8px !important;
    }

    .rec-report .rec-final-note .rec-section-title {
        margin-bottom: 2px !important;
    }

    .rec-report .rec-final-note p {
        font-size: 7.1px !important;
        line-height: 1.16 !important;
        margin: 0 !important;
    }

    .rec-report .rec-final-note {
        min-height: 20mm !important;
    }

    .rec-actions-bar,
    .no-print,
    .sidebar,
    .topbar,
    .mobile-topbar,
    .sidebar-backdrop,
    header,
    footer {
        display: none !important;
    }
}

/* ===== SOLO CORRECAO REPORT PREMIUM (2026-05-12) ===== */
.soil-report{background:#f7faf8;border-radius:28px;color:#14352d;}
.soil-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:linear-gradient(135deg,#083f35 0%,#0b5a49 100%);color:#fff;border-radius:28px;padding:28px 32px;margin-bottom:18px;box-shadow:0 18px 40px rgba(7,50,41,.14)}
.soil-hero span{display:block;color:#f6d58d;text-transform:uppercase;letter-spacing:.08em;font-weight:900;font-size:.82rem;margin-bottom:8px}
.soil-hero h2{margin:0 0 8px;font-size:2.08rem;line-height:1.02;font-weight:900;letter-spacing:-.03em;color:#fff}
.soil-hero p{margin:0;font-size:1rem;line-height:1.45;max-width:980px;opacity:.96;color:#fff}
.soil-hero-chip{flex:0 0 auto;align-self:flex-start;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff;border-radius:22px;padding:14px 20px;font-size:1rem;font-weight:800}
.soil-report-section{background:#fff;border:1px solid #e5eeea;border-radius:26px;padding:22px;margin-bottom:16px;box-shadow:0 12px 28px rgba(8,63,53,.06)}
.soil-section-title{display:flex;align-items:center;gap:14px;margin-bottom:14px}.soil-section-title span{width:50px;height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:#eaf3ef;color:#0b5a49;font-weight:900;font-size:1.5rem}.soil-section-title h3{margin:0;color:#0b5a49;font-size:1.85rem;font-weight:900;letter-spacing:-.03em}
.soil-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.soil-info{border:1px solid #dce8e2;background:#f8fbf9;border-radius:18px;padding:18px 20px;min-height:112px;display:flex;flex-direction:column;justify-content:center}.soil-info span{display:block;color:#64748b;font-size:.78rem;text-transform:uppercase;font-weight:850;letter-spacing:.05em;margin-bottom:6px}.soil-info strong{display:block;color:#102f29;font-size:1.18rem;line-height:1.18;font-weight:900;word-break:break-word}
.soil-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.soil-kpi{border:1px solid #e7efeb;background:#f8fbf9;border-radius:18px;padding:14px}.soil-kpi span{display:block;color:#64748b;font-size:.73rem;text-transform:uppercase;font-weight:850;letter-spacing:.05em}.soil-kpi strong{display:block;color:#0d4b3b;font-size:1.58rem;font-weight:950;line-height:1.05;margin-top:4px}.soil-kpi small{color:#64748b;font-weight:650}
.soil-balance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.soil-balance-item{border:1px solid #e2ebe6;background:#fbfdfc;border-radius:18px;padding:14px}.soil-balance-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:4px 0;color:#0f3d33}.soil-balance-top strong{font-size:1.2rem}.soil-balance-top span,.soil-balance-top small{font-weight:800;color:#64748b}.soil-track{height:12px;background:#edf3f0;border-radius:999px;overflow:hidden}.soil-fill{height:100%;border-radius:999px}.soil-fill.atual{background:#2563eb!important}.soil-fill.alvo{background:#16a34a!important}.soil-short-note{margin:12px 0 0;color:#28443d;font-weight:650;line-height:1.45}.soil-table-clean{width:100%;margin-bottom:0;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e3ece7;border-radius:22px}.soil-table-clean thead th{background:#eef5f1;color:#0b5a49;text-transform:uppercase;letter-spacing:.05em;font-size:.84rem;font-weight:900;padding:14px 16px;border-bottom:1px solid #e3ece7}.soil-table-clean tbody td{padding:16px;vertical-align:middle;border-top:1px solid #ebf1ee;color:#223b35;font-size:.96rem}.soil-table-clean tbody tr:first-child td{border-top:none}.soil-pill{display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:9px 14px;border-radius:999px;background:#eaf3ef;color:#0b5a49;font-weight:900;font-size:.92rem}.soil-value-chip{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:16px;background:#f8fbf9;border:1px solid #dfeae4;color:#122f29;font-weight:900;min-width:105px}.soil-unit-chip{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#fff3cf;color:#59400c;font-weight:900}.soil-final-note p{margin:0;color:#28443d;line-height:1.55}
@media(max-width:1100px){.soil-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.soil-kpi-grid,.soil-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.soil-hero{flex-direction:column;padding:22px 20px;border-radius:22px}.soil-hero h2{font-size:1.6rem}.soil-report-section{padding:16px;border-radius:20px}.soil-section-title span{width:38px;height:38px;font-size:1.1rem;border-radius:12px}.soil-section-title h3{font-size:1.35rem}.soil-info-grid,.soil-kpi-grid,.soil-balance-grid{grid-template-columns:1fr}.soil-info{min-height:90px;padding:14px 16px}}
@media print{.soil-report{background:#fff!important;border-radius:0!important;margin:0!important}.soil-hero{box-shadow:none!important;border-radius:0!important;padding:11px 14px!important;margin-bottom:7px!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.soil-hero span{font-size:7px!important;margin-bottom:2px!important}.soil-hero h2{font-size:16px!important;margin-bottom:3px!important}.soil-hero p{font-size:8px!important;line-height:1.18!important}.soil-hero-chip{font-size:8px!important;padding:6px 8px!important;border-radius:8px!important}.soil-report-section{box-shadow:none!important;border-radius:10px!important;padding:7px!important;margin-bottom:5px!important;break-inside:avoid!important;page-break-inside:avoid!important}.soil-section-title{gap:6px!important;margin-bottom:4px!important}.soil-section-title span{width:20px!important;height:20px!important;font-size:9px!important;border-radius:6px!important}.soil-section-title h3{font-size:11.5px!important}.soil-info-grid{grid-template-columns:repeat(4,1fr)!important;gap:5px!important}.soil-info{padding:6px!important;border-radius:8px!important;min-height:39px!important}.soil-info span{font-size:6.2px!important;margin-bottom:1px!important}.soil-info strong{font-size:8px!important;line-height:1.12!important}.soil-kpi-grid{grid-template-columns:repeat(6,1fr)!important;gap:4px!important}.soil-kpi{padding:5px!important;border-radius:8px!important}.soil-kpi span{font-size:5.8px!important}.soil-kpi strong{font-size:11px!important}.soil-kpi small{font-size:6.2px!important}.soil-balance-grid{grid-template-columns:repeat(4,1fr)!important;gap:4px!important}.soil-balance-item{padding:5px!important;border-radius:8px!important}.soil-balance-top{margin:1px 0!important}.soil-balance-top strong{font-size:8px!important}.soil-balance-top span,.soil-balance-top small{font-size:6px!important}.soil-track{height:6px!important}.soil-short-note{font-size:6.6px!important;line-height:1.12!important;margin-top:3px!important}.soil-table-clean{font-size:7px!important}.soil-table-clean thead th{font-size:5.8px!important;padding:3px!important}.soil-table-clean tbody td{font-size:6.5px!important;padding:3px!important}.soil-pill{min-width:0!important;padding:2px 4px!important;font-size:6px!important}.soil-value-chip{min-width:0!important;padding:2px 4px!important;border-radius:5px!important;font-size:6px!important}.soil-unit-chip{padding:2px 4px!important;font-size:6px!important}.soil-final-note p{font-size:6.7px!important;line-height:1.12!important}.no-print,.sidebar,.topbar,.mobile-topbar,.sidebar-backdrop,header,footer{display:none!important}@page{size:A4 portrait;margin:8mm}}


/* Ajuste v5.1.2 - títulos do menu e submenu financeiro */
.nav-section.nav-section-feature{
    color:#f1c96b;
    text-shadow:0 1px 12px rgba(241,201,107,.22);
}

.sidebar nav a.has-submenu{
    position:relative;
    padding-right:32px;
}

.sidebar nav a.has-submenu .submenu-caret{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    font-style:normal;
    font-size:1.15rem;
    opacity:.72;
    transition:.18s ease;
}

.sidebar nav a.has-submenu.open .submenu-caret{
    transform:translateY(-50%) rotate(90deg);
    opacity:1;
}

.finance-submenu{
    display:grid;
    gap:3px;
    margin:-1px 0 7px 20px;
    padding:6px 0 6px 12px;
    border-left:1px solid rgba(241,201,107,.36);
}

.finance-submenu a{
    min-height:32px;
    padding:8px 10px !important;
    border-radius:12px !important;
    font-size:.80rem;
    font-weight:800 !important;
    color:rgba(255,255,255,.74) !important;
    background:rgba(255,255,255,.035);
}

.finance-submenu a span{
    width:22px !important;
    height:22px !important;
    border-radius:8px !important;
    font-size:.58rem !important;
    font-weight:950;
    letter-spacing:.02em;
    color:#f1c96b !important;
    background:rgba(241,201,107,.13) !important;
}

.finance-submenu a:hover{
    transform:translateX(3px) !important;
    color:#fff !important;
    background:rgba(241,201,107,.13) !important;
    border-color:rgba(241,201,107,.22) !important;
}

.finance-submenu a.active{
    background:rgba(255,255,255,.96) !important;
    color:var(--green) !important;
    box-shadow:0 10px 22px rgba(0,0,0,.14);
}

.finance-submenu a.active span{
    background:var(--mint) !important;
    color:var(--green) !important;
}


/* Ajuste v5.1.3 - menu financeiro menor, recolhimento lateral e hover premium */
.sidebar-collapse-toggle{
    position:relative;
    width:100%;
    height:34px;
    margin:-8px 0 10px;
    border:1px solid rgba(241,201,107,.24);
    border-radius:14px;
    background:rgba(255,255,255,.065);
    color:#f1c96b;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 12px;
    font-size:1.35rem;
    font-weight:950;
    line-height:1;
    transition:background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.sidebar-collapse-toggle:hover{
    background:rgba(241,201,107,.16);
    border-color:rgba(241,201,107,.58);
    box-shadow:0 10px 24px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.08);
}
.sidebar-collapse-toggle .collapse-icon{display:inline-block;transition:transform .18s ease;}

.sidebar nav a{
    position:relative;
    overflow:hidden;
}
.sidebar nav a::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(180deg,#f1c96b,#4ade80);
    opacity:0;
    transform:scaleY(.35);
    transform-origin:center;
    transition:opacity .18s ease, transform .18s ease;
}
.sidebar nav a:hover{
    background:linear-gradient(90deg,rgba(241,201,107,.18),rgba(255,255,255,.085));
    color:#fff;
    transform:translateX(5px);
    border-color:rgba(241,201,107,.22);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.sidebar nav a:hover::before,
.sidebar nav a.active::before{
    opacity:1;
    transform:scaleY(1);
}
.sidebar nav a:hover span{
    background:rgba(241,201,107,.22);
    color:#fff;
    transform:scale(1.05);
}

.finance-submenu{
    margin:-2px 0 8px 18px;
    padding:5px 0 5px 11px;
}
.finance-submenu a{
    min-height:27px;
    padding:6px 9px !important;
    border-radius:10px !important;
    font-size:.68rem !important;
    font-weight:760 !important;
    letter-spacing:.005em;
    opacity:.94;
}
.finance-submenu a span{
    width:18px !important;
    height:18px !important;
    border-radius:7px !important;
    font-size:.48rem !important;
}
.finance-submenu a:hover{
    transform:translateX(4px) !important;
    background:linear-gradient(90deg,rgba(241,201,107,.18),rgba(255,255,255,.06)) !important;
}

@media(min-width:1101px){
    .premium-sidebar,
    .premium-content,
    .brand,
    .sidebar nav a,
    .nav-section,
    .finance-submenu{
        transition:width .22s ease, margin-left .22s ease, padding .22s ease, opacity .16s ease, transform .18s ease;
    }
    body.sidebar-collapsed .premium-sidebar{
        width:86px;
        padding:18px 10px;
        overflow-x:hidden;
    }
    body.sidebar-collapsed .premium-content{
        margin-left:86px;
    }
    body.sidebar-collapsed .brand{
        justify-content:center;
        padding:6px;
        margin-bottom:14px;
    }
    body.sidebar-collapsed .brand div,
    body.sidebar-collapsed .nav-section,
    body.sidebar-collapsed .sidebar nav a:not(.active)::after,
    body.sidebar-collapsed .sidebar nav a.has-submenu .submenu-caret{
        display:none !important;
    }
    body.sidebar-collapsed .brand-mark{
        width:44px;
        height:44px;
        border-radius:15px;
        font-size:.86rem;
    }
    body.sidebar-collapsed .sidebar-collapse-toggle{
        justify-content:center;
        padding:0;
        height:36px;
        margin:0 0 12px;
    }
    body.sidebar-collapsed .sidebar-collapse-toggle .collapse-icon{
        transform:rotate(180deg);
    }
    body.sidebar-collapsed .sidebar nav{
        gap:7px;
    }
    body.sidebar-collapsed .sidebar nav a{
        justify-content:center;
        padding:12px 8px !important;
        gap:0;
        border-radius:17px;
        min-height:44px;
        font-size:0;
    }
    body.sidebar-collapsed .sidebar nav a span{
        width:30px;
        height:30px;
        border-radius:12px;
        font-size:.78rem;
    }
    body.sidebar-collapsed .finance-submenu{
        margin:2px 0 8px 0;
        padding:0;
        border-left:0;
        gap:6px;
    }
    body.sidebar-collapsed .finance-submenu a{
        min-height:36px;
        padding:8px !important;
    }
    body.sidebar-collapsed .finance-submenu a span{
        width:26px !important;
        height:26px !important;
        font-size:.54rem !important;
    }
}

@media(max-width:1100px){
    .sidebar-collapse-toggle{display:none;}
}

/* Ajuste v5.1.4 - correção definitiva do menu lateral: cache, recolhimento, submenu menor e hover premium */
@media (min-width:1101px){
    .sidebar.premium-sidebar{
        width:292px !important;
        transition:width .24s ease, padding .24s ease, box-shadow .24s ease !important;
        overflow-x:hidden !important;
    }
    .content.premium-content{
        margin-left:292px !important;
        transition:margin-left .24s ease !important;
    }
    body.sidebar-collapsed .sidebar.premium-sidebar{
        width:82px !important;
        padding-left:10px !important;
        padding-right:10px !important;
    }
    body.sidebar-collapsed .content.premium-content{
        margin-left:82px !important;
    }

    .sidebar-collapse-toggle{
        position:fixed !important;
        top:88px !important;
        left:274px !important;
        width:34px !important;
        height:44px !important;
        padding:0 !important;
        margin:0 !important;
        border-radius:0 16px 16px 0 !important;
        border:1px solid rgba(241,201,107,.50) !important;
        border-left:0 !important;
        background:linear-gradient(135deg,#f1c96b,#d99a2b) !important;
        color:#082b24 !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        z-index:1060 !important;
        cursor:pointer !important;
        box-shadow:10px 10px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.35) !important;
    }
    .sidebar-collapse-toggle:hover{
        background:linear-gradient(135deg,#ffe08a,#f0b429) !important;
        transform:translateX(3px) scale(1.035) !important;
        box-shadow:14px 14px 32px rgba(0,0,0,.28),0 0 0 4px rgba(240,180,41,.18) !important;
    }
    .sidebar-collapse-toggle .collapse-icon{
        font-size:1.55rem !important;
        font-weight:950 !important;
        line-height:1 !important;
        transform:none !important;
    }
    body.sidebar-collapsed .sidebar-collapse-toggle{
        left:72px !important;
    }
    body.sidebar-collapsed .sidebar-collapse-toggle .collapse-icon{
        transform:rotate(180deg) !important;
    }

    body.sidebar-collapsed .brand{
        justify-content:center !important;
        padding:6px 0 !important;
        margin-bottom:18px !important;
    }
    body.sidebar-collapsed .brand div,
    body.sidebar-collapsed .nav-section,
    body.sidebar-collapsed .sidebar-footer,
    body.sidebar-collapsed .sidebar nav a .submenu-caret{
        display:none !important;
    }
    body.sidebar-collapsed .brand-mark{
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        border-radius:15px !important;
    }
    body.sidebar-collapsed .sidebar nav{
        gap:8px !important;
    }
    body.sidebar-collapsed .sidebar nav a{
        width:100% !important;
        min-height:44px !important;
        padding:10px 0 !important;
        justify-content:center !important;
        gap:0 !important;
        font-size:0 !important;
        border-radius:18px !important;
    }
    body.sidebar-collapsed .sidebar nav a span{
        width:31px !important;
        height:31px !important;
        font-size:.78rem !important;
        margin:0 !important;
    }
    body.sidebar-collapsed .finance-submenu{
        margin:4px 0 8px !important;
        padding:0 !important;
        border-left:0 !important;
        gap:5px !important;
    }
    body.sidebar-collapsed .finance-submenu a{
        min-height:34px !important;
        padding:6px 0 !important;
    }
    body.sidebar-collapsed .finance-submenu a span{
        width:25px !important;
        height:25px !important;
        font-size:.50rem !important;
    }
}

.sidebar nav a{
    position:relative !important;
    overflow:hidden !important;
    transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.sidebar nav a::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:8px !important;
    bottom:8px !important;
    width:5px !important;
    border-radius:0 999px 999px 0 !important;
    background:linear-gradient(180deg,#ffe08a,#f0b429,#4ade80) !important;
    opacity:0 !important;
    transform:scaleY(.35) !important;
    transition:opacity .18s ease, transform .18s ease !important;
}
.sidebar nav a:hover{
    background:linear-gradient(90deg,rgba(240,180,41,.28),rgba(255,255,255,.13)) !important;
    color:#fff !important;
    border-color:rgba(240,180,41,.42) !important;
    transform:translateX(7px) !important;
    box-shadow:0 14px 30px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
.sidebar nav a:hover::before,
.sidebar nav a.active::before{
    opacity:1 !important;
    transform:scaleY(1) !important;
}
.sidebar nav a:hover span{
    background:rgba(255,224,138,.26) !important;
    color:#fff !important;
    transform:scale(1.10) !important;
    box-shadow:0 0 0 3px rgba(240,180,41,.16) !important;
}
.sidebar nav a.active:hover{
    color:var(--green) !important;
    background:#fff !important;
}

.sidebar .finance-submenu{
    margin:-3px 0 8px 19px !important;
    padding:4px 0 4px 10px !important;
    gap:2px !important;
    border-left:1px solid rgba(241,201,107,.36) !important;
}
.sidebar .finance-submenu a{
    min-height:30px !important;
    padding:7px 9px !important;
    border-radius:11px !important;
    font-size:.74rem !important;
    line-height:1.12 !important;
    font-weight:780 !important;
    letter-spacing:0 !important;
    opacity:.88 !important;
    box-shadow:none !important;
}
.sidebar .finance-submenu a span{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    border-radius:7px !important;
    font-size:.50rem !important;
    line-height:1 !important;
}
.sidebar .finance-submenu a:hover{
    transform:translateX(5px) !important;
    opacity:1 !important;
    background:linear-gradient(90deg,rgba(240,180,41,.24),rgba(255,255,255,.09)) !important;
}

@media(max-width:1100px){
    .sidebar-collapse-toggle{display:none !important;}
}


/* Ajuste v5.1.5 - identidade visual do topo do menu e títulos de seção */
.brand strong{
    color:#f1c96b !important;
    text-shadow:0 1px 0 rgba(0,0,0,.18), 0 0 18px rgba(241,201,107,.16) !important;
}
.brand small{
    color:rgba(255,255,255,.78) !important;
    letter-spacing:.015em !important;
}
.sidebar .nav-section,
.sidebar .nav-section.nav-section-feature{
    color:#f1c96b !important;
    opacity:1 !important;
    text-shadow:0 1px 0 rgba(0,0,0,.18), 0 0 12px rgba(241,201,107,.12) !important;
}
@media (min-width:1101px){
    .sidebar-collapse-toggle{
        top:32px !important;
        left:274px !important;
        height:44px !important;
    }
    body.sidebar-collapsed .sidebar-collapse-toggle{
        top:32px !important;
        left:72px !important;
    }
}

/* Ajuste v5.1.6 - tagline da marca em uma linha */
.brand small{
    font-size:.62rem !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    display:block !important;
    letter-spacing:.005em !important;
    max-width:188px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
@media (min-width:1101px){
    .sidebar.premium-sidebar .brand{
        gap:10px !important;
    }
    .sidebar.premium-sidebar .brand strong{
        font-size:1.04rem !important;
        white-space:nowrap !important;
    }
    body.sidebar-collapsed .brand small{
        display:none !important;
    }
}

/* ===== Dashboard principal reformulada v5.1.7 ===== */
.nuva-dashboard{display:flex;flex-direction:column;gap:18px;}
.nuva-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:stretch;background:radial-gradient(circle at 10% 0%,rgba(217,154,43,.24),transparent 28%),linear-gradient(135deg,#08392f 0%,#0d4b3b 50%,#0a332b 100%);color:#fff;border-radius:30px;padding:30px;box-shadow:0 24px 55px rgba(8,57,47,.18);}
.nuva-hero::after{content:"";position:absolute;right:-90px;top:-90px;width:250px;height:250px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);}
.nuva-hero-copy{position:relative;z-index:1;max-width:940px;}
.nuva-eyebrow,.nuva-section-tag{display:inline-flex;align-items:center;gap:8px;color:#f5c96f;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;margin-bottom:10px;}
.nuva-hero h2{color:#fff;font-size:2.05rem;line-height:1.08;letter-spacing:-.04em;margin:0 0 12px;font-weight:950;}
.nuva-hero p{margin:0;color:rgba(255,255,255,.88);font-size:1rem;line-height:1.5;max-width:860px;}
.nuva-account-card{position:relative;z-index:1;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:24px;padding:20px;display:flex;flex-direction:column;justify-content:center;min-height:150px;backdrop-filter:blur(8px);}
.nuva-account-card small{color:rgba(255,255,255,.76);font-weight:800;text-transform:uppercase;letter-spacing:.08em;}
.nuva-account-card strong{color:#fff;font-size:1.45rem;line-height:1.1;margin:8px 0;font-weight:950;}
.nuva-account-card span{color:rgba(255,255,255,.84);font-size:.86rem;line-height:1.35;}
.nuva-free-card{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff9e6,#fff);border:1px solid #f2d38a;border-radius:24px;padding:18px 20px;box-shadow:0 14px 34px rgba(146,100,17,.08);}
.nuva-free-card strong{display:block;color:#6b4808;font-size:1.05rem;margin-bottom:4px;}
.nuva-free-card p{margin:0;color:#735c2a;font-size:.9rem;}
.nuva-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.nuva-kpi-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e1eee7;border-radius:24px;padding:18px;box-shadow:0 16px 38px rgba(16,35,29,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
.nuva-kpi-card::after{content:"";position:absolute;right:-28px;bottom:-28px;width:92px;height:92px;border-radius:50%;background:linear-gradient(135deg,rgba(217,154,43,.18),rgba(13,75,59,.08));}
.nuva-kpi-card:hover{transform:translateY(-4px);box-shadow:0 24px 52px rgba(13,75,59,.13);border-color:rgba(217,154,43,.42);}
.nuva-kpi-card span{display:block;color:#64748b;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;margin-bottom:8px;}
.nuva-kpi-card strong{display:block;color:#0d4b3b;font-size:1.9rem;line-height:1.05;font-weight:950;letter-spacing:-.03em;}
.nuva-kpi-card p{position:relative;z-index:1;margin:8px 0 0;color:#60736b;font-size:.84rem;line-height:1.35;}
.nuva-kpi-focus{background:linear-gradient(135deg,#ffffff,#f8fcfa);}
.nuva-kpi-focus strong{font-size:1.12rem;line-height:1.25;}
.nuva-panel,.nuva-section{background:#fff;border:1px solid #e1eee7;border-radius:26px;padding:22px;box-shadow:0 18px 42px rgba(16,35,29,.055);}
.nuva-flow-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#f7fbf8);}
.nuva-flow-panel h3,.nuva-section-head h3{margin:0;color:#0d4b3b;font-weight:950;letter-spacing:-.02em;}
.nuva-flow-panel p{margin:8px 0 0;color:#64748b;line-height:1.48;}
.nuva-flow-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.nuva-flow-steps span{display:flex;align-items:center;min-height:44px;background:#f5faf7;border:1px solid #dfeee6;border-radius:16px;padding:10px 12px;color:#24443a;font-weight:850;font-size:.85rem;}
.nuva-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:16px;}
.nuva-section-head span{display:block;color:#d99a2b;text-transform:uppercase;letter-spacing:.1em;font-size:.74rem;font-weight:950;margin-bottom:4px;}
.nuva-section-head small{color:#64748b;font-weight:750;text-align:right;max-width:330px;}
.nuva-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.nuva-module-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));}
.nuva-module-card{position:relative;display:flex;flex-direction:column;min-height:178px;text-decoration:none;color:inherit;background:linear-gradient(180deg,#fff,#fbfdfc);border:1px solid #e2eee8;border-radius:24px;padding:18px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;}
.nuva-module-card::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 999px 999px 0;background:linear-gradient(180deg,#d99a2b,#1b8b5a);opacity:.45;transition:opacity .22s ease,width .22s ease;}
.nuva-module-card:hover{color:inherit;transform:translateY(-5px);box-shadow:0 24px 54px rgba(13,75,59,.14);border-color:rgba(217,154,43,.46);background:linear-gradient(135deg,#ffffff,#f3faf6);}
.nuva-module-card:hover::before{opacity:1;width:6px;}
.nuva-module-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.nuva-module-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#0d4b3b,#1b8b5a);color:#fff;font-size:1.15rem;font-weight:950;box-shadow:0 10px 24px rgba(13,75,59,.18);}
.nuva-module-top small{display:inline-flex;align-items:center;min-height:28px;text-align:right;color:#8a620f;background:#fff8e9;border:1px solid #f0d493;border-radius:999px;padding:5px 10px;font-size:.68rem;font-weight:900;line-height:1.1;}
.nuva-module-card h3{margin:0 0 8px;color:#0d4b3b;font-size:1.08rem;font-weight:950;letter-spacing:-.02em;}
.nuva-module-card p{margin:0;color:#64748b;font-size:.86rem;line-height:1.42;}
.nuva-mini-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.nuva-mini-two{grid-template-columns:repeat(2,minmax(0,1fr));}
.nuva-mini-metrics div{background:#f7fbf9;border:1px solid #e3eee8;border-radius:18px;padding:14px 16px;}
.nuva-mini-metrics span{display:block;color:#64748b;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-bottom:4px;}
.nuva-mini-metrics strong{display:block;color:#0d4b3b;font-size:1.55rem;font-weight:950;line-height:1;}
.nuva-admin-panel{background:linear-gradient(135deg,#ffffff,#f7fbf8);}
.nuva-admin-actions{display:flex;flex-wrap:wrap;gap:10px;}
@media(max-width:1180px){.nuva-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.nuva-hero,.nuva-flow-panel{grid-template-columns:1fr;}.nuva-account-card{min-height:auto;}.nuva-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){.nuva-dashboard{gap:14px;}.nuva-hero{padding:22px;border-radius:24px;}.nuva-hero h2{font-size:1.45rem;}.nuva-kpi-grid,.nuva-module-grid,.nuva-module-grid-two,.nuva-mini-metrics,.nuva-mini-two,.nuva-flow-steps{grid-template-columns:1fr;}.nuva-section,.nuva-panel{padding:18px;border-radius:22px;}.nuva-section-head{align-items:flex-start;flex-direction:column;}.nuva-section-head small{text-align:left;}.nuva-free-card{align-items:flex-start;flex-direction:column;}.nuva-free-card .btn{width:100%;}.nuva-module-card{min-height:auto;}}


/* v5.1.8 - Ajustes solicitados na dashboard principal */
.dashboard-welcome{
    color:#5f756f;
    font-weight:800;
}
.dashboard-welcome .dashboard-user-name{
    color:#d99a2b;
    font-weight:950;
}
.topbar-account-clean{
    min-width:auto;
}
.nuva-account-summary{
    padding-top:16px;
}
.nuva-account-summary > span{
    color:#8b6a22;
}
.nuva-account-summary p{
    margin:7px 0 0;
    font-size:.90rem;
    color:#536963;
}
.nuva-account-summary p b{
    color:#183c32;
    font-weight:900;
}
.nuva-account-summary .nuva-client-name,
.nuva-account-summary .nuva-plan-name{
    display:inline;
    font-size:.95rem;
    line-height:1.2;
    letter-spacing:0;
}
.nuva-account-summary .nuva-client-name{
    color:#0d4b3b;
}
.nuva-account-summary .nuva-plan-name{
    color:#d99a2b;
}
.nuva-account-summary::after{
    background:linear-gradient(135deg,rgba(13,75,59,.11),rgba(217,154,43,.20));
}


/* v5.1.9 - Conta da dashboard posicionada ao lado do botão Sair */
.premium-topbar{
    gap:16px;
}
.topbar-account-clean{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    min-width:0;
}
.topbar-dashboard-account{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
    background:linear-gradient(135deg,#ffffff,#f7fbf8);
    border:1px solid rgba(217,154,43,.35);
    border-radius:16px;
    padding:8px 12px;
    box-shadow:0 10px 26px rgba(13,75,59,.07);
    font-size:.78rem;
    line-height:1.2;
}
.topbar-dashboard-account span{
    display:inline-flex;
    align-items:center;
    gap:4px;
    color:#536963;
    white-space:nowrap;
}
.topbar-dashboard-account b{
    color:#173f35;
    font-weight:900;
}
.topbar-dashboard-account .topbar-client-name{
    color:#0d4b3b;
    font-weight:950;
}
.topbar-dashboard-account .topbar-plan-name{
    color:#d99a2b;
    font-weight:950;
}
.nuva-kpi-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
@media(max-width:1180px){
    .topbar-account-clean{
        align-items:flex-end;
        flex-direction:column;
    }
    .topbar-dashboard-account{
        justify-content:flex-start;
    }
    .nuva-kpi-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:720px){
    .topbar-account-clean{
        width:100%;
        align-items:stretch;
    }
    .topbar-dashboard-account{
        width:100%;
        justify-content:flex-start;
    }
    .topbar-account-clean .btn{
        width:100%;
    }
    .nuva-kpi-grid{
        grid-template-columns:1fr;
    }
}

/* v5.2.0 - Box de conta global em todos os módulos, ao lado do botão Sair */
.topbar-account-clean{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    min-width:0 !important;
}
.topbar-account-stacked{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(104px, auto)) !important;
    align-items:center !important;
    gap:10px !important;
    justify-content:flex-end !important;
    background:linear-gradient(135deg,#ffffff 0%,#f8fbf7 100%) !important;
    border:1px solid rgba(217,154,43,.42) !important;
    border-radius:18px !important;
    padding:9px 13px !important;
    box-shadow:0 12px 28px rgba(13,75,59,.08) !important;
    line-height:1.12 !important;
}
.topbar-account-stacked .topbar-account-line{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:2px !important;
    min-width:0 !important;
    white-space:normal !important;
}
.topbar-account-stacked .topbar-account-label{
    display:block !important;
    color:#60736d !important;
    font-size:.66rem !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.055em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
}
.topbar-account-stacked strong{
    display:block !important;
    margin:0 !important;
    font-size:.80rem !important;
    line-height:1.12 !important;
    font-weight:950 !important;
    letter-spacing:-.01em !important;
    white-space:nowrap !important;
}
.topbar-account-stacked .topbar-client-name{
    color:#0d4b3b !important;
}
.topbar-account-stacked .topbar-plan-name{
    color:#d99a2b !important;
}
.topbar-account-stacked .topbar-account-limit{
    min-width:150px !important;
}
.topbar-account-stacked .topbar-account-limit .topbar-account-label{
    color:#173f35 !important;
    font-size:.72rem !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    line-height:1.2 !important;
}
@media(max-width:1320px){
    .topbar-account-stacked{
        grid-template-columns:1fr !important;
        gap:6px !important;
        min-width:190px !important;
    }
}
@media(max-width:900px){
    .premium-topbar{
        align-items:flex-start !important;
        flex-direction:column !important;
    }
    .topbar-account-clean{
        width:100% !important;
        align-items:stretch !important;
        flex-direction:column !important;
    }
    .topbar-account-stacked{
        width:100% !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
    .topbar-account-clean .btn{
        width:100% !important;
    }
}
@media(max-width:620px){
    .topbar-account-stacked{
        grid-template-columns:1fr !important;
    }
}


/* ===== v5.2.1 - Conta global vertical com valores em dourado ===== */
.topbar-account-clean{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    min-width:0 !important;
}
.topbar-account-stacked{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:7px !important;
    min-width:205px !important;
    max-width:260px !important;
    background:linear-gradient(135deg,#ffffff 0%,#f8fbf7 100%) !important;
    border:1px solid rgba(217,154,43,.46) !important;
    border-radius:18px !important;
    padding:10px 14px !important;
    box-shadow:0 12px 28px rgba(13,75,59,.08) !important;
    line-height:1.05 !important;
}
.topbar-account-stacked .topbar-account-line{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:2px !important;
    width:100% !important;
    min-width:0 !important;
    white-space:normal !important;
}
.topbar-account-stacked .topbar-account-label{
    display:block !important;
    color:#173f35 !important;
    font-size:.62rem !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.075em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
}
.topbar-account-stacked strong{
    display:block !important;
    margin:0 !important;
    font-size:.80rem !important;
    line-height:1.1 !important;
    font-weight:950 !important;
    letter-spacing:-.01em !important;
}
.topbar-account-stacked .topbar-client-name,
.topbar-account-stacked .topbar-plan-name{
    color:#d99a2b !important;
    white-space:nowrap !important;
}
.topbar-account-stacked .topbar-limit-value{
    color:#173f35 !important;
    font-size:.76rem !important;
    line-height:1.12 !important;
    white-space:normal !important;
}
@media(max-width:900px){
    .topbar-account-clean{
        width:100% !important;
        align-items:stretch !important;
        flex-direction:column !important;
    }
    .topbar-account-stacked{
        width:100% !important;
        max-width:none !important;
    }
    .topbar-account-clean .btn{
        width:100% !important;
    }
}


/* ===== v5.2.2 - Box global de conta com visual mais moderno ===== */
.topbar-account-clean{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    min-width:0 !important;
}
.topbar-account-stacked{
    position:relative !important;
    isolation:isolate !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    align-items:stretch !important;
    gap:8px !important;
    min-width:410px !important;
    max-width:520px !important;
    padding:9px !important;
    border:1px solid rgba(13,75,59,.13) !important;
    border-radius:22px !important;
    background:
        radial-gradient(circle at top left,rgba(217,154,43,.18),transparent 35%),
        linear-gradient(135deg,#ffffff 0%,#f7fbf6 52%,#eef7f1 100%) !important;
    box-shadow:0 14px 32px rgba(13,75,59,.10), inset 0 1px 0 rgba(255,255,255,.95) !important;
    line-height:1.05 !important;
    overflow:hidden !important;
}
.topbar-account-stacked::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:5px !important;
    background:linear-gradient(180deg,#d99a2b,#0d4b3b) !important;
    z-index:-1 !important;
}
.topbar-account-stacked .topbar-account-line{
    display:grid !important;
    grid-template-columns:30px minmax(0,1fr) !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    min-width:0 !important;
    padding:8px 9px !important;
    border-radius:16px !important;
    background:rgba(255,255,255,.68) !important;
    border:1px solid rgba(13,75,59,.07) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8) !important;
}
.topbar-account-stacked .topbar-account-icon{
    width:30px !important;
    height:30px !important;
    border-radius:12px !important;
    display:grid !important;
    place-items:center !important;
    background:linear-gradient(135deg,#0d4b3b,#1b8b5a) !important;
    color:#fff !important;
    box-shadow:0 8px 16px rgba(13,75,59,.18) !important;
}
.topbar-account-stacked .topbar-account-icon svg{
    width:16px !important;
    height:16px !important;
    fill:currentColor !important;
    display:block !important;
}
.topbar-account-stacked .topbar-account-text{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:2px !important;
}
.topbar-account-stacked .topbar-account-label{
    display:block !important;
    color:#173f35 !important;
    font-size:.58rem !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.085em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    opacity:.82 !important;
}
.topbar-account-stacked strong{
    display:block !important;
    margin:0 !important;
    font-size:.82rem !important;
    line-height:1.08 !important;
    font-weight:950 !important;
    letter-spacing:-.015em !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.topbar-account-stacked .topbar-client-name,
.topbar-account-stacked .topbar-plan-name{
    color:#d99a2b !important;
    white-space:nowrap !important;
    text-shadow:0 1px 0 rgba(255,255,255,.65) !important;
}
.topbar-account-stacked .topbar-limit-value{
    color:#173f35 !important;
    font-size:.76rem !important;
    line-height:1.12 !important;
    white-space:normal !important;
}
.topbar-account-clean .btn{
    border-radius:14px !important;
    font-weight:850 !important;
    padding:.48rem .82rem !important;
}
@media(max-width:1250px){
    .topbar-account-stacked{
        min-width:260px !important;
        max-width:320px !important;
        grid-template-columns:1fr !important;
    }
}
@media(max-width:900px){
    .topbar-account-clean{
        width:100% !important;
        align-items:stretch !important;
        flex-direction:column !important;
    }
    .topbar-account-stacked{
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
    .topbar-account-clean .btn{width:100% !important;}
}
@media(max-width:680px){
    .topbar-account-stacked{grid-template-columns:1fr !important;}
}


/* ===== v5.2.3 - Padronização fina da box de conta ===== */
.topbar-account-stacked .topbar-account-label{
    font-size:.58rem !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.085em !important;
}
.topbar-account-stacked .topbar-limit-value{
    display:flex !important;
    flex-direction:column !important;
    gap:2px !important;
    color:#d99a2b !important;
    font-size:.82rem !important;
    line-height:1.08 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    text-shadow:0 1px 0 rgba(255,255,255,.65) !important;
}
.topbar-account-stacked .topbar-limit-value span{
    display:block !important;
    color:#d99a2b !important;
}

/* ===== v5.2.4 - Correção do título LIMITE na box da conta ===== */
.topbar-account-stacked .topbar-account-limit .topbar-account-label{
    font-family:inherit !important;
    color:#173f35 !important;
    font-size:.58rem !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.085em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    opacity:.82 !important;
}
.topbar-account-stacked .topbar-account-client .topbar-account-label,
.topbar-account-stacked .topbar-account-plan .topbar-account-label,
.topbar-account-stacked .topbar-account-limit .topbar-account-label{
    font-family:inherit !important;
    font-size:.58rem !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.085em !important;
    text-transform:uppercase !important;
}


/* ===== v5.2.5 - Rodapé global NutriUva Pro ===== */
.nutriuva-global-footer{
    width:100%;
    margin:24px auto 10px;
    padding:0 0 4px;
    display:flex;
    justify-content:center;
}
.nutriuva-footer-box{
    width:100%;
    max-width:980px;
    text-align:center;
    font-size:.72rem;
    line-height:1.45;
    color:#49635b;
    background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(248,244,232,.88));
    border:1px solid rgba(22,70,57,.12);
    border-radius:18px;
    padding:10px 18px;
    box-shadow:0 12px 30px rgba(15,45,35,.08);
}
.nutriuva-footer-box strong{
    color:#0f5b3f;
    font-weight:900;
}
@media(max-width:768px){
    .nutriuva-global-footer{
        margin-top:18px;
    }
    .nutriuva-footer-box{
        font-size:.66rem;
        border-radius:14px;
        padding:9px 12px;
    }
}
@media print{
    .nutriuva-global-footer{
        display:none !important;
    }
}


/* ===== Ajustes de tabelas de análises e impressão individual ===== */
.analysis-table-wrap{overflow-x:hidden}.analysis-list-table{width:100%;table-layout:fixed;margin-bottom:0}.analysis-list-table th,.analysis-list-table td{padding:.70rem .55rem;font-size:.90rem;vertical-align:middle}.analysis-list-table th{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:#173e31}.analysis-list-table td:not(.analysis-ident-cell):not(.analysis-actions-cell){text-align:center;white-space:nowrap}.analysis-list-table .analysis-ident-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analysis-ident-main{display:block;font-weight:800;color:#123d2e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analysis-ident-sub{display:block;margin-top:3px;font-size:.74rem;color:#698075;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analysis-list-table .analysis-actions-cell{white-space:nowrap;width:1%;text-align:right!important}.table-actions-inline{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:nowrap}.table-actions-inline .btn{padding:.38rem .64rem;line-height:1.05;border-radius:999px;font-size:.76rem;font-weight:800;box-shadow:none!important}.table-actions-inline .btn-success{background:#11824d;border-color:#11824d}.table-actions-inline .btn-success:hover{background:#0c6f41;border-color:#0c6f41}.selectable-table tbody tr{cursor:pointer;transition:background .15s ease, box-shadow .15s ease}.selectable-table tbody tr:hover{background:rgba(13,75,59,.05)}.selectable-table tbody tr.selected{background:rgba(13,75,59,.12)!important;box-shadow:inset 4px 0 0 #0d4b3b}.analysis-report-page .card-pro{margin-bottom:16px}.analysis-report-head h2{margin-bottom:4px}.analysis-report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:10px}.analysis-report-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.analysis-meta-card{border:1px solid #dfeae5;border-radius:16px;padding:12px 14px;background:linear-gradient(180deg,#fff,#f8fbf9)}.analysis-meta-card span{display:block;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;font-weight:900;color:#60746a;margin-bottom:5px}.analysis-meta-card strong{display:block;font-size:.96rem;line-height:1.3;color:#123d2e;word-break:break-word}.analysis-pairs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.analysis-pair{border:1px solid #e2ece7;border-radius:14px;padding:10px 12px;background:#fff}.analysis-pair span{display:block;font-size:.78rem;font-weight:800;color:#698075;margin-bottom:3px}.analysis-pair strong{display:block;font-size:1rem;color:#123d2e}.analysis-report-page .chart-box-lg{height:300px}@media(max-width:1280px){.analysis-report-meta,.analysis-pairs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:992px){.analysis-list-table thead{display:none}.analysis-list-table,.analysis-list-table tbody,.analysis-list-table tr,.analysis-list-table td{display:block;width:100%}.analysis-list-table tr{border:1px solid #dfeae5;border-radius:16px;padding:10px 12px;background:#fff;margin-bottom:10px;box-shadow:0 8px 20px rgba(15,61,51,.05)}.analysis-list-table td{border:0;padding:6px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;white-space:normal;text-align:right!important}.analysis-list-table td::before{content:attr(data-label);flex:0 0 110px;text-align:left;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;font-weight:900;color:#60746a}.analysis-list-table .analysis-ident-cell{display:block;padding-top:0;text-align:left!important}.analysis-list-table .analysis-ident-cell::before{display:block;margin-bottom:6px}.analysis-list-table .analysis-actions-cell{padding-top:10px;border-top:1px dashed #dfeae5;margin-top:8px;width:100%;text-align:left!important}.analysis-list-table .analysis-actions-cell::before{display:none}.table-actions-inline{justify-content:flex-start;flex-wrap:wrap}.analysis-report-meta,.analysis-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.analysis-report-meta,.analysis-pairs{grid-template-columns:1fr}.analysis-report-page .chart-box-lg{height:250px}}@media print{html,body{background:#fff!important;overflow:visible!important}.no-print,.sidebar,.topbar,.mobile-topbar,.nutriuva-global-footer{display:none!important}.content,.main-content,.premium-content{margin:0!important;padding:0!important;width:100%!important}.analysis-report-page{padding:0!important}.analysis-report-page .card-pro{box-shadow:none!important;border:1px solid #d9e5df!important;page-break-inside:avoid}.analysis-report-meta{grid-template-columns:repeat(4,1fr);gap:8px}.analysis-pairs{grid-template-columns:repeat(4,1fr);gap:8px}.analysis-meta-card,.analysis-pair{padding:8px 10px}.analysis-report-page .chart-box-lg{height:240px}}
/* ===== Rev3 compactação das tabelas de análises ===== */
.analysis-compact-table th,.analysis-compact-table td{font-size:.76rem!important;padding:.42rem .34rem!important}
.analysis-compact-table th:first-child{width:22%}
.analysis-compact-table th:nth-child(2),.analysis-compact-table th:nth-child(3),.analysis-compact-table th:nth-child(4),.analysis-compact-table th:nth-child(5),.analysis-compact-table th:nth-child(6),.analysis-compact-table th:nth-child(7){width:7.4%}
.analysis-compact-table th:last-child{width:18%}
.analysis-date-main{display:block;font-weight:950;color:#123d2e;font-size:.84rem;line-height:1.05}
.analysis-compact-table .analysis-ident-sub{font-size:.67rem!important;line-height:1.1;margin-top:2px;color:#5b7167}
.analysis-compact-table .table-actions-inline{gap:4px}
.analysis-compact-table .table-actions-inline .btn{font-size:.68rem!important;padding:.27rem .48rem!important}
.analysis-compact-table td:not(.analysis-ident-cell):not(.analysis-actions-cell){font-variant-numeric:tabular-nums}
@media(max-width:992px){.analysis-compact-table th,.analysis-compact-table td{font-size:.84rem!important;padding:6px 0!important}.analysis-date-main{font-size:.92rem}.analysis-compact-table .analysis-ident-sub{font-size:.76rem!important}}


/* ===== REV4: alinhamento compacto das tabelas de análises ===== */
.analysis-list-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed}
.analysis-list-table thead th{padding:.56rem .45rem!important;text-align:center!important;vertical-align:middle!important;line-height:1.1;background:#f4fbf7!important;border-bottom:1px solid #d7e5dd!important}
.analysis-list-table thead th:first-child{text-align:left!important;width:22%}
.analysis-list-table thead th:last-child{text-align:center!important;width:18%}
.analysis-list-table tbody td{padding:.48rem .45rem!important;text-align:center!important;vertical-align:middle!important;line-height:1.15;border-bottom:1px solid #dfe7e2!important}
.analysis-list-table tbody td.analysis-ident-cell{text-align:left!important;width:22%}
.analysis-list-table tbody td.analysis-actions-cell{text-align:center!important;width:18%}
.analysis-list-table .analysis-ident-main{font-size:.88rem!important;letter-spacing:.035em;line-height:1.05;font-weight:950;color:#0d3f31}
.analysis-list-table .analysis-ident-sub{font-size:.68rem!important;line-height:1.05;margin-top:5px;color:#5f7068;font-weight:900;letter-spacing:.01em}
.analysis-list-table tbody td:not(.analysis-ident-cell):not(.analysis-actions-cell){font-size:.78rem!important;font-weight:800;color:#31433c}
.table-actions-inline{justify-content:center!important;gap:5px!important;flex-wrap:nowrap!important}
.table-actions-inline .btn{min-width:58px;padding:.30rem .46rem!important;font-size:.68rem!important;line-height:1!important;border-radius:999px!important;text-align:center;letter-spacing:.01em}
.table-actions-inline .btn-success{min-width:52px}
.selectable-table tbody tr.selected{background:rgba(13,75,59,.11)!important;box-shadow:inset 3px 0 0 #0d4b3b!important}
.selectable-table tbody tr:hover{background:rgba(13,75,59,.045)!important}
@media(max-width:1280px){
  .analysis-list-table thead th:first-child,.analysis-list-table tbody td.analysis-ident-cell{width:21%}
  .analysis-list-table thead th:last-child,.analysis-list-table tbody td.analysis-actions-cell{width:20%}
  .table-actions-inline .btn{min-width:52px;font-size:.64rem!important;padding:.28rem .38rem!important}
}
@media(max-width:992px){
  .analysis-list-table tbody td.analysis-ident-cell,.analysis-list-table tbody td.analysis-actions-cell{width:100%}
  .analysis-list-table .analysis-ident-main{font-size:.95rem!important}
  .analysis-list-table .analysis-ident-sub{font-size:.78rem!important}
  .analysis-list-table tbody td:not(.analysis-ident-cell):not(.analysis-actions-cell){font-size:.86rem!important}
  .table-actions-inline{justify-content:flex-start!important;flex-wrap:wrap!important}
}

/* ===== REV4: impressão individual com conteúdo visível e em uma página ===== */
.print-chart-img{display:none}
@media print{
  @page{size:A4 landscape;margin:7mm}
  html,body{width:auto!important;height:auto!important;background:#fff!important;overflow:visible!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .no-print,.sidebar,.topbar,.mobile-topbar,.nutriuva-global-footer,.sidebar-backdrop{display:none!important}
  .content,.main-content,.premium-content{display:block!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;overflow:visible!important;background:#fff!important}
  .analysis-report-page{display:block!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;color:#123d2e!important;font-size:8pt!important;line-height:1.12!important}
  .analysis-report-page .card-pro{display:block!important;box-shadow:none!important;border:1px solid #d7e5dd!important;border-radius:8px!important;padding:6px 7px!important;margin:0 0 5px!important;page-break-inside:avoid!important;break-inside:avoid!important;background:#fff!important}
  .analysis-report-head .page-kicker{font-size:6.5pt!important;line-height:1!important}
  .analysis-report-head h2{font-size:12pt!important;line-height:1.05!important;margin:1px 0 2px!important;color:#0d3f31!important}
  .analysis-report-head .hint{font-size:7pt!important;margin:0!important}
  .analysis-report-meta{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;margin-top:5px!important}
  .analysis-meta-card{padding:4px 5px!important;border-radius:7px!important;background:#f8fbf9!important;border:1px solid #dfeae5!important}
  .analysis-meta-card span{font-size:5.8pt!important;margin-bottom:1px!important;line-height:1!important;letter-spacing:.03em!important}
  .analysis-meta-card strong{font-size:7.2pt!important;line-height:1.08!important}
  .analysis-report-page h3{font-size:9pt!important;line-height:1!important;margin:0 0 2px!important;color:#0d3f31!important}
  .analysis-report-page .hint{font-size:6.5pt!important;line-height:1.05!important;margin:0!important}
  .analysis-pairs{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important;margin-top:3px!important}
  .analysis-pair{padding:4px 5px!important;border-radius:7px!important;border:1px solid #e2ece7!important;background:#fff!important;min-height:0!important}
  .analysis-pair span{font-size:5.8pt!important;line-height:1!important;margin-bottom:1px!important;font-weight:900!important;color:#617269!important}
  .analysis-pair strong{font-size:7.2pt!important;line-height:1.05!important;font-weight:900!important;color:#123d2e!important}
  .analysis-chart-grid{display:grid!important;gap:5px!important;margin-top:3px!important}
  .analysis-chart-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .analysis-chart-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .chart-panel{display:block!important;padding:5px!important;border-radius:8px!important;background:#fbfdfc!important;border:1px solid #dfeae5!important;box-shadow:none!important;min-width:0!important;page-break-inside:avoid!important;break-inside:avoid!important}
  .chart-panel h4{font-size:7.8pt!important;line-height:1!important;margin:0 0 2px!important;color:#0d3f31!important}
  .analysis-report-page .chart-box-lg{height:118px!important;min-height:118px!important;max-height:118px!important;position:relative!important;overflow:hidden!important}
  .analysis-report-page canvas{display:none!important}
  .analysis-report-page .print-chart-img{display:block!important;width:100%!important;height:112px!important;max-height:112px!important;object-fit:contain!important;margin:0 auto!important}
}

/* Minha conta - dropdown do usuário */
.account-menu-dropdown{display:flex;align-items:center;margin-left:10px}.account-menu-button{border-radius:999px;font-weight:800;border-color:rgba(7,61,43,.24);background:#fff;color:#073d2b}.account-menu-button:hover,.account-menu-button:focus{background:#073d2b;color:#fff;border-color:#073d2b}.nutriuva-account-dropdown{border:1px solid rgba(7,61,43,.12);border-radius:18px;box-shadow:0 22px 50px rgba(15,23,42,.14);padding:8px;min-width:245px}.nutriuva-account-dropdown .dropdown-header{font-weight:850;color:#073d2b}.nutriuva-account-dropdown .dropdown-item{border-radius:12px;font-weight:650;font-size:14px;padding:8px 10px}.nutriuva-account-dropdown .dropdown-item:hover{background:#edf7f1;color:#073d2b}.mobile-topbar .nutriuva-account-dropdown{min-width:230px}@media(max-width:768px){.account-menu-dropdown{margin-left:0}.topbar-account-clean{gap:8px}}

/* ===== v2026.05.15.1 - Correção de sobreposição do dropdown Minha conta ===== */
.premium-topbar,
.mobile-topbar{
    position:relative !important;
    z-index:3000 !important;
    overflow:visible !important;
}
.topbar-account-clean,
.account-menu-dropdown,
.mobile-topbar .dropdown{
    position:relative !important;
    z-index:3050 !important;
}
.account-menu-dropdown .dropdown-menu,
.mobile-topbar .dropdown-menu,
.nutriuva-account-dropdown{
    z-index:4000 !important;
}
.nuva-dashboard,
.nuva-hero,
.nuva-section,
.nuva-panel{
    position:relative;
    z-index:1;
}


/* ===== v2026.05.15.2 - Logo simples no cabeçalho do dropdown Minha conta ===== */
.account-dropdown-user{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    padding:10px 10px 8px !important;
    margin:0 !important;
    line-height:1.15 !important;
}
.account-dropdown-logo{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    border-radius:14px !important;
    background:#073d2b !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 8px 18px rgba(7,61,43,.16) !important;
    overflow:hidden !important;
}
.account-dropdown-logo img{
    width:24px !important;
    height:24px !important;
    object-fit:contain !important;
    display:block !important;
}
.account-dropdown-name{
    color:#d79a22 !important;
    font-weight:900 !important;
    font-size:18px !important;
    letter-spacing:.01em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    max-width:180px !important;
}
.mobile-topbar .account-dropdown-name{
    max-width:160px !important;
    font-size:16px !important;
}


/* Revendas / pacotes corporativos */
.revenda-topbar-card{
    display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:18px;
    background:linear-gradient(135deg,rgba(15,61,51,.08),rgba(240,180,41,.12));
    border:1px solid rgba(15,61,51,.12);box-shadow:0 10px 24px rgba(15,61,51,.08);
    min-width:230px;max-width:320px;
}
.revenda-logo-wrap{width:48px;height:48px;border-radius:15px;background:#fff;display:grid;place-items:center;overflow:hidden;flex:0 0 48px;border:1px solid rgba(15,61,51,.12);color:#0f3d33;font-weight:900;}
.revenda-logo-wrap img{width:100%;height:100%;object-fit:contain;padding:5px;}
.revenda-access-text{display:flex;flex-direction:column;line-height:1.12;min-width:0;}
.revenda-access-text small{font-size:.72rem;color:#6b7a74;text-transform:uppercase;letter-spacing:.04em;font-weight:800;}
.revenda-access-text strong{color:#0f3d33;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.revendas-page .card-pro h2{font-size:1.1rem;}
@media (max-width: 1100px){.revenda-topbar-card{order:3;width:100%;max-width:none}.premium-topbar{flex-wrap:wrap}}

/* Ajustes Revendas - 2026-05-15 */
.brand-revenda-note{
    display:flex;
    flex-direction:column;
    gap:1px;
    margin:-6px 16px 12px 16px;
    padding:6px 8px 7px 48px;
    border-left:2px solid rgba(240,180,41,.55);
    color:rgba(255,255,255,.72)!important;
    line-height:1.15;
    max-width:210px;
}
.brand-revenda-note span{
    display:block;
    font-size:9px!important;
    text-transform:uppercase;
    letter-spacing:.06em;
    font-weight:700;
    color:rgba(255,255,255,.58)!important;
}
.brand-revenda-note strong{
    display:block;
    font-size:11px!important;
    font-weight:800;
    color:rgba(240,180,41,.92)!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.sidebar-collapsed .brand-revenda-note{display:none!important;}
.revenda-topbar-card{
    transform:scale(.92);
    transform-origin:right center;
}

/* Ajustes Revendas - topo corporativo e estatísticas */
.topbar-revenda-line .topbar-account-text,
.topbar-revenda-licenses .topbar-account-text {
    gap: 2px;
}
.topbar-revenda-sub {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: .72rem;
    line-height: 1.1;
    margin-top: 1px;
}
.topbar-license-main {
    display: block;
    font-size: .98rem;
    line-height: 1.05;
    color: #ffd36a;
    white-space: nowrap;
}
.topbar-license-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 8px;
    margin-top: 4px;
    color: rgba(255,255,255,.76);
    font-size: .72rem;
    line-height: 1.1;
}
.revenda-chart-card h2 {
    font-size: 1rem;
    margin-bottom: 2px;
}
.revenda-chart-wrap {
    height: 295px;
    margin-top: 14px;
}
.revenda-stats-metrics {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
}
@media (max-width: 1199px) {
    .revenda-stats-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .topbar-license-grid { grid-template-columns: 1fr; gap: 2px; }
    .revenda-chart-wrap { height: 260px; }
    .revenda-stats-metrics { grid-template-columns: 1fr; }
}


/* v2026-05-15 - Ajuste fino do topo da revenda e gráficos estatísticos */
.topbar-account-stacked.topbar-revenda-corp{
    grid-template-columns: minmax(160px,.9fr) minmax(210px,1.1fr) !important;
    min-width: 0 !important;
    max-width: 470px !important;
    width: auto !important;
    padding: 7px !important;
    gap: 7px !important;
    border-radius: 18px !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-account-line{
    min-height: 76px !important;
    padding: 9px 12px !important;
    grid-template-columns: 34px minmax(0,1fr) !important;
    gap: 10px !important;
    align-items:center !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-account-icon{
    width:34px !important;
    height:34px !important;
    border-radius:13px !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-account-label{
    font-size:.58rem !important;
    letter-spacing:.12em !important;
}
.topbar-account-stacked.topbar-revenda-corp strong{
    font-size:.86rem !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-client-name,
.topbar-account-stacked.topbar-revenda-corp .topbar-license-main{
    color:#d99a2b !important;
    font-size:.9rem !important;
    line-height:1.05 !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-revenda-sub{
    color:#587169 !important;
    font-size:.66rem !important;
    margin-top:4px !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-license-grid{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:4px 10px !important;
    margin-top:7px !important;
    color:#536963 !important;
    font-size:.68rem !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-license-grid small{
    white-space:nowrap !important;
}
.revenda-chart-card{
    overflow:hidden;
}
.revenda-chart-card canvas{
    filter: drop-shadow(0 6px 10px rgba(13,75,59,.06));
}
@media(max-width:1100px){
    .topbar-account-stacked.topbar-revenda-corp{
        max-width:none !important;
        width:100% !important;
    }
}
@media(max-width:720px){
    .topbar-account-stacked.topbar-revenda-corp{
        grid-template-columns:1fr !important;
    }
}


/* v2026-05-15 - Licenças da revenda em linha única */
.topbar-account-stacked.topbar-revenda-corp .topbar-license-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:8px !important;
    margin-top:6px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    font-size:.64rem !important;
    line-height:1 !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-license-grid small{
    display:inline-flex !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
}
.topbar-account-stacked.topbar-revenda-corp .topbar-revenda-licenses .topbar-account-text{
    min-width:0 !important;
}
@media(max-width:520px){
    .topbar-account-stacked.topbar-revenda-corp .topbar-license-grid{
        gap:6px !important;
        font-size:.6rem !important;
    }
}


/* Revenda - logo no bloco exibido ao produtor e prévia da revenda */
.brand-revenda-note-logo{
    flex-direction:row!important;
    align-items:center!important;
    gap:9px!important;
    padding:8px 10px!important;
    border-left:0!important;
    background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(240,180,41,.13))!important;
    border:1px solid rgba(240,180,41,.22)!important;
    border-radius:16px!important;
    max-width:none!important;
}
.brand-revenda-logo{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:13px!important;
    background:#ffffff!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    color:#0f3d33!important;
    font-weight:900!important;
    box-shadow:0 8px 18px rgba(0,0,0,.10)!important;
}
.brand-revenda-logo img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    padding:4px!important;
    display:block!important;
}
.brand-revenda-logo em{
    font-style:normal!important;
    font-size:11px!important;
    color:#0f3d33!important;
}
.brand-revenda-copy{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
}
.brand-revenda-copy span{
    font-size:8.8px!important;
    line-height:1.1!important;
}
.brand-revenda-copy strong{
    max-width:132px!important;
}
.revenda-preview-card{
    background:linear-gradient(180deg,#ffffff,#f8fbf9);
    border:1px solid rgba(7,61,43,.10);
    border-radius:22px;
    box-shadow:0 14px 32px rgba(15,23,42,.06);
    padding:18px;
    margin-bottom:18px;
}
.revenda-preview-card h4{
    color:#073d2b;
    font-weight:850;
    margin-bottom:4px;
}
.revenda-preview-card p{
    color:#64748b;
    margin-bottom:14px;
}
.revenda-producer-preview{
    display:flex;
    align-items:center;
    gap:14px;
    border-radius:20px;
    padding:14px;
    background:linear-gradient(135deg,rgba(15,61,51,.08),rgba(240,180,41,.14));
    border:1px solid rgba(15,61,51,.12);
    max-width:420px;
}
.revenda-producer-preview-logo{
    width:58px;
    height:58px;
    min-width:58px;
    border-radius:18px;
    background:#fff;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid rgba(15,61,51,.12);
    color:#0f3d33;
    font-weight:900;
    box-shadow:0 10px 22px rgba(15,61,51,.08);
}
.revenda-producer-preview-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:6px;
}
.revenda-producer-preview-logo span{
    font-size:15px;
}
.revenda-producer-preview-text small{
    display:block;
    color:#64748b;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.04em;
    font-weight:800;
}
.revenda-producer-preview-text strong{
    display:block;
    color:#073d2b;
    font-size:1.05rem;
    font-weight:900;
    line-height:1.15;
}
.revenda-producer-preview-text span{
    display:block;
    color:#64748b;
    font-size:.86rem;
    margin-top:2px;
}
@media(max-width:640px){
    .revenda-producer-preview{max-width:none;width:100%;}
}

/* ===== Modo administrativo NutriUva Pro v2026-05-16 ===== */
.admin-sidebar{
    background:
        radial-gradient(circle at 40% -10%, rgba(240,180,41,.20), transparent 32%),
        linear-gradient(180deg,#071f1b 0%,#0b3028 48%,#061916 100%);
}
.admin-sidebar .brand{
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.10);
}
.admin-sidebar .nav-section{color:rgba(245,201,111,.72);}
.admin-sidebar nav a{font-size:.88rem;padding:10px 11px;border-radius:14px;}
.admin-sidebar nav a span{background:rgba(240,180,41,.13);color:#f5c96f;font-weight:950;font-size:.68rem;}
.admin-sidebar nav a.active span{background:#fff8e9;color:#0f3d33;}
.admin-sidebar-footer{background:rgba(240,180,41,.10);border-color:rgba(240,180,41,.18);}
.admin-dashboard{display:flex;flex-direction:column;gap:18px;}
.admin-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:24px;align-items:flex-end;background:radial-gradient(circle at 12% 0%,rgba(240,180,41,.24),transparent 28%),linear-gradient(135deg,#071f1b,#0f3d33 56%,#092922);color:#fff;border-radius:30px;padding:30px;box-shadow:0 24px 55px rgba(8,57,47,.18);}
.admin-hero::after{content:"";position:absolute;right:-80px;top:-80px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);}
.admin-hero > *{position:relative;z-index:1;}
.admin-eyebrow{display:inline-flex;align-items:center;color:#f5c96f;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:950;margin-bottom:10px;}
.admin-hero h2{max-width:930px;color:#fff;font-size:2rem;line-height:1.08;letter-spacing:-.04em;margin:0 0 10px;font-weight:950;}
.admin-hero p{max-width:840px;margin:0;color:rgba(255,255,255,.86);line-height:1.48;}
.admin-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:260px;}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
.admin-kpi{position:relative;overflow:hidden;min-height:132px;background:#fff;border:1px solid #e1eee7;border-radius:22px;padding:16px;text-decoration:none;color:inherit;box-shadow:0 16px 38px rgba(16,35,29,.055);transition:.2s ease;}
.admin-kpi:hover{color:inherit;transform:translateY(-4px);box-shadow:0 24px 52px rgba(13,75,59,.13);border-color:rgba(217,154,43,.42);}
.admin-kpi::after{content:"";position:absolute;right:-24px;bottom:-24px;width:82px;height:82px;border-radius:50%;background:linear-gradient(135deg,rgba(217,154,43,.18),rgba(13,75,59,.08));}
.admin-kpi span{display:block;color:#64748b;font-size:.70rem;text-transform:uppercase;letter-spacing:.08em;font-weight:950;margin-bottom:8px;}
.admin-kpi strong{position:relative;z-index:1;display:block;color:#0d4b3b;font-size:1.45rem;line-height:1.1;font-weight:950;letter-spacing:-.03em;}
.admin-kpi small{position:relative;z-index:1;display:block;margin-top:7px;color:#60736b;font-size:.78rem;line-height:1.3;font-weight:650;}
.admin-kpi-warning{background:linear-gradient(135deg,#fff,#fff9e9);border-color:#f1d48f;}
.admin-grid-main{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:16px;align-items:stretch;}
.admin-grid-secondary{grid-template-columns:minmax(300px,.55fr) minmax(0,1.45fr);}
.admin-panel{background:#fff;border:1px solid #e1eee7;border-radius:26px;padding:20px;box-shadow:0 18px 42px rgba(16,35,29,.055);}
.admin-chart-panel{min-height:340px;}
.admin-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;}
.admin-panel-head span{display:block;color:#d99a2b;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:950;margin-bottom:4px;}
.admin-panel-head h3{margin:0;color:#0d4b3b;font-size:1.12rem;font-weight:950;letter-spacing:-.02em;}
.admin-panel-head a{color:#0d4b3b;font-weight:850;font-size:.82rem;white-space:nowrap;}
.admin-status-list{display:grid;gap:10px;}
.admin-status-list div{display:flex;align-items:center;justify-content:space-between;background:#f7fbf9;border:1px solid #e3eee8;border-radius:16px;padding:12px 14px;}
.admin-status-list span{color:#64748b;font-weight:850;font-size:.84rem;}
.admin-status-list strong{color:#0d4b3b;font-size:1.2rem;font-weight:950;}
.admin-alert-list{display:grid;gap:10px;}
.admin-alert-list a{display:flex;align-items:center;gap:12px;background:#fff9e9;border:1px solid #f1d48f;border-radius:17px;padding:12px;text-decoration:none;color:#5d4210;}
.admin-alert-list strong{min-width:46px;min-height:38px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#0d4b3b;font-weight:950;}
.admin-alert-list span{font-weight:850;line-height:1.25;}
.admin-compact-table{display:grid;gap:8px;}
.admin-compact-table div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf3f0;}
.admin-compact-table strong{color:#0d4b3b;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.admin-compact-table span{color:#64748b;font-size:.84rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.admin-compact-table small{color:#8a9a94;font-weight:750;}
.admin-activity-list{display:grid;gap:8px;}
.admin-activity-list > div{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf3f0;}
.admin-activity-dot{width:10px;height:10px;border-radius:999px;background:#d99a2b;box-shadow:0 0 0 5px rgba(217,154,43,.13);}
.admin-activity-list strong{display:block;color:#0d4b3b;font-weight:900;}
.admin-activity-list small{display:block;color:#64748b;margin-top:2px;}
.admin-activity-list em{color:#8a9a94;font-size:.82rem;font-style:normal;font-weight:750;white-space:nowrap;}
.admin-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.admin-section-grid a{background:linear-gradient(180deg,#fff,#fbfdfc);border:1px solid #e2eee8;border-radius:20px;padding:16px;text-decoration:none;color:inherit;box-shadow:0 14px 34px rgba(16,35,29,.045);transition:.2s ease;}
.admin-section-grid a:hover{transform:translateY(-3px);box-shadow:0 22px 48px rgba(13,75,59,.12);border-color:rgba(217,154,43,.46);}
.admin-section-grid span{display:block;color:#d99a2b;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:950;margin-bottom:5px;}
.admin-section-grid strong{display:block;color:#0d4b3b;font-weight:950;}
@media(max-width:1280px){.admin-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.admin-grid-main,.admin-grid-secondary{grid-template-columns:1fr;}.admin-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.admin-hero{align-items:flex-start;flex-direction:column;}.admin-hero-actions{justify-content:flex-start;}}
@media(max-width:720px){.admin-hero{padding:22px;border-radius:24px;}.admin-hero h2{font-size:1.45rem;}.admin-kpi-grid,.admin-section-grid{grid-template-columns:1fr;}.admin-panel{padding:17px;border-radius:22px;}.admin-panel-head{align-items:flex-start;flex-direction:column;}.admin-compact-table div{grid-template-columns:1fr;gap:2px;}.admin-activity-list > div{grid-template-columns:12px minmax(0,1fr);}.admin-activity-list em{grid-column:2;color:#64748b;}}

/* ===== Admin premium compacto + modo escuro exclusivo v2026-05-16 ===== */
body.admin-mode-shell{
    background:#f4f8f6;
}
body.admin-mode-shell .premium-content{
    background:
        radial-gradient(circle at 18% 0%, rgba(217,154,43,.10), transparent 28%),
        linear-gradient(180deg,#f6faf8 0%,#eef5f1 100%);
}
.admin-sidebar-premium{
    width:284px;
    background:
        radial-gradient(circle at 24% -6%, rgba(245,201,111,.25), transparent 32%),
        linear-gradient(180deg,#061b18 0%,#0b3028 50%,#051512 100%) !important;
    border-right:1px solid rgba(245,201,111,.12);
}
.admin-brand{
    min-height:72px;
    border-radius:22px !important;
    background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.055)) !important;
    box-shadow:0 18px 38px rgba(0,0,0,.18);
}
.admin-sidebar-tools{
    display:grid;
    grid-template-columns:1fr 42px;
    gap:8px;
    margin:8px 0 14px;
    align-items:center;
}
.admin-sidebar-theme,
.admin-theme-toggle{
    border:1px solid rgba(217,154,43,.35);
    background:rgba(245,201,111,.12);
    color:#fff3c7;
    border-radius:999px;
    min-height:40px;
    padding:8px 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-weight:900;
    font-size:.82rem;
    transition:.2s ease;
}
.admin-theme-toggle{
    color:#0d4b3b;
    background:#fff8e9;
    border-color:#f1d48f;
    box-shadow:0 12px 26px rgba(217,154,43,.10);
}
.admin-sidebar-theme:hover,
.admin-theme-toggle:hover{
    transform:translateY(-1px);
    filter:brightness(1.03);
}
.admin-sidebar-theme strong,
.admin-theme-toggle strong{font-weight:950;white-space:nowrap;}
.admin-theme-icon{font-weight:950;font-size:1rem;line-height:1;}
.admin-nav-compact{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.admin-nav-compact .nav-section{
    margin:15px 4px 6px;
    padding:0;
    font-size:.67rem;
    letter-spacing:.13em;
}
.admin-nav-compact a{
    position:relative;
    min-height:43px;
    font-size:.91rem !important;
    font-weight:850;
    border:1px solid transparent;
    background:transparent;
}
.admin-nav-compact a:hover{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.08);
}
.admin-nav-compact a.active{
    background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(245,201,111,.13));
    border-color:rgba(245,201,111,.24);
    color:#fff;
    box-shadow:0 14px 26px rgba(0,0,0,.14);
}
.admin-nav-compact a.active::before{
    content:"";
    position:absolute;
    left:-8px;
    width:4px;
    height:22px;
    border-radius:999px;
    background:#f5c96f;
}
.admin-command-bar{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}
.admin-command-bar a{
    display:block;
    text-decoration:none;
    color:inherit;
    border-radius:20px;
    padding:14px 16px;
    background:linear-gradient(180deg,#fff,#fbfdfc);
    border:1px solid #e2eee8;
    box-shadow:0 14px 34px rgba(16,35,29,.045);
    transition:.2s ease;
}
.admin-command-bar a:hover{
    transform:translateY(-3px);
    border-color:rgba(217,154,43,.45);
    box-shadow:0 22px 48px rgba(13,75,59,.12);
}
.admin-command-bar span{
    display:block;
    color:#d99a2b;
    text-transform:uppercase;
    letter-spacing:.09em;
    font-size:.68rem;
    font-weight:950;
    margin-bottom:4px;
}
.admin-command-bar strong{
    display:block;
    color:#0d4b3b;
    font-size:.87rem;
    font-weight:900;
    line-height:1.25;
}
body.admin-mode-shell .admin-kpi-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
}
body.admin-mode-shell .admin-kpi{
    min-height:118px;
    border-radius:20px;
    padding:15px;
}
body.admin-mode-shell .admin-hero{
    border:1px solid rgba(245,201,111,.18);
}
body.admin-mode-shell .admin-panel,
body.admin-mode-shell .admin-kpi,
body.admin-mode-shell .admin-section-grid a,
body.admin-mode-shell .admin-command-bar a{
    backdrop-filter:saturate(1.15) blur(2px);
}

body.admin-mode-shell.admin-dark-mode{
    background:#07110f;
    color:#dce7e2;
}
body.admin-mode-shell.admin-dark-mode .premium-content{
    background:
        radial-gradient(circle at 20% 0%, rgba(217,154,43,.10), transparent 30%),
        radial-gradient(circle at 90% 12%, rgba(21,110,88,.20), transparent 28%),
        linear-gradient(180deg,#07110f 0%,#0a1815 100%);
}
body.admin-mode-shell.admin-dark-mode .premium-topbar,
body.admin-mode-shell.admin-dark-mode .mobile-topbar{
    background:rgba(10,24,21,.82);
    border-color:rgba(245,201,111,.12);
    box-shadow:0 18px 42px rgba(0,0,0,.22);
    backdrop-filter:blur(14px);
}
body.admin-mode-shell.admin-dark-mode .page-kicker,
body.admin-mode-shell.admin-dark-mode .topbar-account-label{
    color:#f5c96f;
}
body.admin-mode-shell.admin-dark-mode .topbar-title h1,
body.admin-mode-shell.admin-dark-mode .topbar-client-name,
body.admin-mode-shell.admin-dark-mode .topbar-plan-name,
body.admin-mode-shell.admin-dark-mode .topbar-limit-value{
    color:#f6faf8;
}
body.admin-mode-shell.admin-dark-mode .topbar-account-line,
body.admin-mode-shell.admin-dark-mode .dropdown-menu,
body.admin-mode-shell.admin-dark-mode .nutriuva-account-dropdown{
    background:#0c1f1b;
    border-color:rgba(245,201,111,.14);
    color:#dce7e2;
}
body.admin-mode-shell.admin-dark-mode .dropdown-item{color:#dce7e2;}
body.admin-mode-shell.admin-dark-mode .dropdown-item:hover{background:#14342d;color:#fff;}
body.admin-mode-shell.admin-dark-mode .admin-theme-toggle{
    background:#17362f;
    color:#fff3c7;
    border-color:rgba(245,201,111,.36);
}
body.admin-mode-shell.admin-dark-mode .admin-sidebar-premium{
    background:
        radial-gradient(circle at 24% -6%, rgba(245,201,111,.18), transparent 32%),
        linear-gradient(180deg,#030b0a 0%,#061b18 52%,#020706 100%) !important;
    border-right-color:rgba(245,201,111,.16);
}
body.admin-mode-shell.admin-dark-mode .admin-hero{
    background:
        radial-gradient(circle at 12% 0%,rgba(245,201,111,.18),transparent 28%),
        linear-gradient(135deg,#07110f,#09241f 58%,#051512);
    box-shadow:0 24px 58px rgba(0,0,0,.36);
}
body.admin-mode-shell.admin-dark-mode .admin-kpi,
body.admin-mode-shell.admin-dark-mode .admin-panel,
body.admin-mode-shell.admin-dark-mode .admin-section-grid a,
body.admin-mode-shell.admin-dark-mode .admin-command-bar a{
    background:linear-gradient(180deg,rgba(16,36,31,.98),rgba(10,24,21,.98));
    border-color:rgba(245,201,111,.12);
    box-shadow:0 20px 48px rgba(0,0,0,.28);
    color:#dce7e2;
}
body.admin-mode-shell.admin-dark-mode .admin-kpi:hover,
body.admin-mode-shell.admin-dark-mode .admin-section-grid a:hover,
body.admin-mode-shell.admin-dark-mode .admin-command-bar a:hover{
    border-color:rgba(245,201,111,.34);
    box-shadow:0 24px 58px rgba(0,0,0,.38);
}
body.admin-mode-shell.admin-dark-mode .admin-kpi span,
body.admin-mode-shell.admin-dark-mode .admin-kpi small,
body.admin-mode-shell.admin-dark-mode .admin-compact-table span,
body.admin-mode-shell.admin-dark-mode .admin-compact-table small,
body.admin-mode-shell.admin-dark-mode .admin-activity-list small,
body.admin-mode-shell.admin-dark-mode .admin-activity-list em{
    color:#9fb3ac;
}
body.admin-mode-shell.admin-dark-mode .admin-kpi strong,
body.admin-mode-shell.admin-dark-mode .admin-panel-head h3,
body.admin-mode-shell.admin-dark-mode .admin-status-list strong,
body.admin-mode-shell.admin-dark-mode .admin-compact-table strong,
body.admin-mode-shell.admin-dark-mode .admin-activity-list strong,
body.admin-mode-shell.admin-dark-mode .admin-section-grid strong,
body.admin-mode-shell.admin-dark-mode .admin-command-bar strong{
    color:#f6faf8;
}
body.admin-mode-shell.admin-dark-mode .admin-panel-head span,
body.admin-mode-shell.admin-dark-mode .admin-section-grid span,
body.admin-mode-shell.admin-dark-mode .admin-command-bar span{
    color:#f5c96f;
}
body.admin-mode-shell.admin-dark-mode .admin-status-list div{
    background:#0a1815;
    border-color:rgba(245,201,111,.10);
}
body.admin-mode-shell.admin-dark-mode .admin-alert-list a{
    background:rgba(245,201,111,.10);
    border-color:rgba(245,201,111,.22);
    color:#fff3c7;
}
body.admin-mode-shell.admin-dark-mode .admin-alert-list strong{
    background:#0a1815;
    color:#f5c96f;
}
body.admin-mode-shell.admin-dark-mode .admin-compact-table div,
body.admin-mode-shell.admin-dark-mode .admin-activity-list > div{
    border-color:rgba(245,201,111,.10);
}
body.admin-mode-shell.admin-dark-mode .table,
body.admin-mode-shell.admin-dark-mode table{
    color:#dce7e2;
}
body.admin-mode-shell.admin-dark-mode .card,
body.admin-mode-shell.admin-dark-mode .modal-content,
body.admin-mode-shell.admin-dark-mode .dropdown-menu,
body.admin-mode-shell.admin-dark-mode .form-control,
body.admin-mode-shell.admin-dark-mode .form-select{
    background-color:#0c1f1b;
    color:#dce7e2;
    border-color:rgba(245,201,111,.14);
}
body.admin-mode-shell.admin-dark-mode .form-control::placeholder{color:#789088;}
body.admin-mode-shell.admin-dark-mode .text-muted{color:#9fb3ac !important;}
body.admin-mode-shell.admin-dark-mode .bg-white{background-color:#0c1f1b !important;}
body.admin-mode-shell.admin-dark-mode .btn-light{background:#142d27;border-color:rgba(245,201,111,.16);color:#fff;}

@media(max-width:1280px){
    .admin-command-bar{grid-template-columns:repeat(2,minmax(0,1fr));}
    body.admin-mode-shell .admin-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
    .admin-command-bar{grid-template-columns:1fr;}
    body.admin-mode-shell .admin-kpi-grid{grid-template-columns:1fr;}
    .admin-theme-toggle{padding:8px 10px;}
    .admin-theme-toggle strong{display:none;}
}

/* ===== Admin premium completo: menu em tópicos expansíveis + modo escuro funcional ===== */
body.admin-mode-shell .admin-sidebar-accordion{
    width:306px;
    display:flex;
    flex-direction:column;
    overflow:hidden !important;
    padding:18px 14px 16px;
}
body.admin-mode-shell .admin-sidebar-accordion .admin-brand{
    margin-bottom:10px;
    flex:0 0 auto;
}
.admin-sidebar-tools-under-logo{
    flex:0 0 auto;
    display:grid;
    grid-template-columns:1fr 42px;
    gap:8px;
    margin:0 0 12px;
}
.admin-sidebar-tools-under-logo .admin-sidebar-theme{
    justify-content:flex-start;
    padding-left:14px;
    width:100%;
}
.admin-nav-accordion{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding:4px 4px 10px 0;
    scrollbar-width:thin;
    scrollbar-color:rgba(245,201,111,.45) rgba(255,255,255,.06);
}
.admin-nav-accordion::-webkit-scrollbar{width:8px;}
.admin-nav-accordion::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:999px;}
.admin-nav-accordion::-webkit-scrollbar-thumb{background:rgba(245,201,111,.38);border-radius:999px;}
.admin-nav-group{
    margin:0 0 7px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:16px;
    background:rgba(255,255,255,.035);
    overflow:hidden;
}
.admin-nav-group.is-active{
    border-color:rgba(245,201,111,.24);
    background:rgba(245,201,111,.055);
}
.admin-nav-group-toggle{
    width:100%;
    min-height:44px;
    border:0;
    background:transparent;
    color:#ecfff8;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:8px;
    align-items:center;
    padding:10px 11px;
    text-align:left;
    font-weight:950;
    font-size:.86rem;
    letter-spacing:-.01em;
}
.admin-nav-group-toggle:hover{background:rgba(255,255,255,.06);}
.admin-nav-group-toggle small{
    min-width:26px;
    height:22px;
    border-radius:999px;
    display:inline-grid;
    place-items:center;
    background:rgba(245,201,111,.14);
    color:#f5c96f;
    font-size:.68rem;
    font-weight:950;
}
.admin-nav-group-toggle i{
    font-style:normal;
    color:#f5c96f;
    transition:transform .18s ease;
    font-weight:950;
}
.admin-nav-group.is-open .admin-nav-group-toggle i{transform:rotate(180deg);}
.admin-nav-group-title{
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.admin-nav-group-panel{
    padding:0 8px 9px;
    display:grid;
    gap:3px;
}
.admin-nav-group-panel[hidden]{display:none!important;}
.sidebar .admin-nav-group-panel a{
    position:relative;
    margin:0;
    min-height:38px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:9px 10px;
    border-radius:12px;
    border:1px solid transparent;
    color:#dcefe8;
    font-size:.84rem;
    font-weight:800;
    line-height:1.15;
}
.sidebar .admin-nav-group-panel a span{
    flex:0 0 28px;
    min-width:28px;
    height:28px;
    display:inline-grid;
    place-items:center;
    border-radius:10px;
    background:rgba(245,201,111,.10);
    color:#f5c96f;
    font-size:.68rem;
    font-weight:950;
}
.sidebar .admin-nav-group-panel a:hover{
    transform:none;
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.08);
}
.sidebar .admin-nav-group-panel a.active{
    background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(245,201,111,.13));
    border-color:rgba(245,201,111,.26);
    color:#fff;
    box-shadow:0 12px 24px rgba(0,0,0,.16);
}
.sidebar .admin-nav-group-panel a.active::before{
    content:"";
    position:absolute;
    left:-8px;
    width:4px;
    height:20px;
    border-radius:999px;
    background:#f5c96f;
}
body.admin-mode-shell .admin-sidebar-footer{
    flex:0 0 auto;
    margin-top:10px;
}
body.admin-mode-shell .premium-content{margin-left:306px;}
body.admin-mode-shell .admin-theme-toggle{display:none!important;}

body.admin-mode-shell.admin-dark-mode .admin-nav-group{
    background:rgba(255,255,255,.025);
    border-color:rgba(245,201,111,.10);
}
body.admin-mode-shell.admin-dark-mode .admin-nav-group.is-active{
    background:rgba(245,201,111,.055);
    border-color:rgba(245,201,111,.24);
}
body.admin-mode-shell.admin-dark-mode .admin-nav-group-toggle{color:#f6faf8;}
body.admin-mode-shell.admin-dark-mode .sidebar .admin-nav-group-panel a{color:#dce7e2;}
body.admin-mode-shell.admin-dark-mode .sidebar .admin-nav-group-panel a:hover{background:rgba(245,201,111,.075);}
body.admin-mode-shell.admin-dark-mode .sidebar .admin-nav-group-panel a.active{
    background:linear-gradient(135deg,rgba(245,201,111,.18),rgba(255,255,255,.08));
    border-color:rgba(245,201,111,.30);
}
body.admin-mode-shell.admin-dark-mode .card-pro,
body.admin-mode-shell.admin-dark-mode .nutri-card,
body.admin-mode-shell.admin-dark-mode .metric,
body.admin-mode-shell.admin-dark-mode .module-card,
body.admin-mode-shell.admin-dark-mode .table-responsive,
body.admin-mode-shell.admin-dark-mode .relatorio-box{
    background:#0c1f1b !important;
    color:#dce7e2;
    border-color:rgba(245,201,111,.14) !important;
}
body.admin-mode-shell.admin-dark-mode .card-pro h1,
body.admin-mode-shell.admin-dark-mode .card-pro h2,
body.admin-mode-shell.admin-dark-mode .card-pro h3,
body.admin-mode-shell.admin-dark-mode .nutri-card h1,
body.admin-mode-shell.admin-dark-mode .nutri-card h2,
body.admin-mode-shell.admin-dark-mode .nutri-card h3,
body.admin-mode-shell.admin-dark-mode .metric b,
body.admin-mode-shell.admin-dark-mode .table th,
body.admin-mode-shell.admin-dark-mode label,
body.admin-mode-shell.admin-dark-mode .form-label{
    color:#f6faf8 !important;
}
body.admin-mode-shell.admin-dark-mode .table td,
body.admin-mode-shell.admin-dark-mode .table th{
    border-color:rgba(245,201,111,.12) !important;
}
body.admin-mode-shell.admin-dark-mode .table-striped>tbody>tr:nth-of-type(odd)>*{
    background-color:rgba(255,255,255,.025);
    color:#dce7e2;
}
body.admin-mode-shell.admin-dark-mode .alert-info{background:#0f2d27;color:#dce7e2;border-color:rgba(245,201,111,.16);}
body.admin-mode-shell.admin-dark-mode .alert-warning{background:rgba(245,201,111,.10);color:#fff3c7;border-color:rgba(245,201,111,.24);}
body.admin-mode-shell.admin-dark-mode .alert-success{background:rgba(34,197,94,.10);color:#d8ffe5;border-color:rgba(34,197,94,.20);}
body.admin-mode-shell.admin-dark-mode .alert-danger{background:rgba(239,68,68,.10);color:#ffd9d9;border-color:rgba(239,68,68,.20);}

@media(min-width:1001px){
    body.admin-mode-shell .admin-sidebar-accordion{position:fixed;top:0;left:0;bottom:0;}
}
@media(max-width:1000px){
    body.admin-mode-shell .admin-sidebar-accordion{
        width:306px;
        max-width:86vw;
        position:fixed;
        top:0;
        bottom:0;
        left:-320px;
        z-index:1050;
        transition:left .2s ease;
    }
    body.admin-mode-shell.sidebar-open .admin-sidebar-accordion{left:0;}
    body.admin-mode-shell .premium-content{margin-left:0;}
}
@media(min-width:1001px){
    body.sidebar-collapsed.admin-mode-shell .admin-sidebar-accordion{width:92px;}
    body.sidebar-collapsed.admin-mode-shell .premium-content{margin-left:92px;}
    body.sidebar-collapsed.admin-mode-shell .admin-brand div,
    body.sidebar-collapsed.admin-mode-shell .admin-sidebar-theme strong,
    body.sidebar-collapsed.admin-mode-shell .admin-nav-group-toggle .admin-nav-group-title,
    body.sidebar-collapsed.admin-mode-shell .admin-nav-group-toggle small,
    body.sidebar-collapsed.admin-mode-shell .admin-sidebar-footer{display:none!important;}
    body.sidebar-collapsed.admin-mode-shell .admin-sidebar-tools-under-logo{grid-template-columns:1fr;}
    body.sidebar-collapsed.admin-mode-shell .admin-sidebar-theme{justify-content:center;padding:8px;}
    body.sidebar-collapsed.admin-mode-shell .admin-nav-group-toggle{grid-template-columns:1fr;place-items:center;padding:10px 6px;}
    body.sidebar-collapsed.admin-mode-shell .admin-nav-group-toggle i{display:none;}
    body.sidebar-collapsed.admin-mode-shell .admin-nav-group-panel{display:none!important;}
}


/* ===== Correção admin: menu expansível premium + modo escuro aplicado nas páginas ===== */
body.admin-mode-shell{
    --admin-bg:#06130f;
    --admin-panel:#0b211b;
    --admin-panel-2:#102c24;
    --admin-border:rgba(229,190,92,.18);
    --admin-text:#f4faf7;
    --admin-muted:rgba(234,246,241,.70);
    --admin-gold:#f2be3e;
    --admin-green:#0f6b4d;
    background:#06130f !important;
}
body.admin-mode-shell .admin-sidebar-accordion{
    width:312px !important;
    background:linear-gradient(180deg,#06150f 0%, #071a14 52%, #05110d 100%) !important;
    border-right:1px solid rgba(242,190,62,.16) !important;
    box-shadow:18px 0 45px rgba(0,0,0,.22) !important;
}
body.admin-mode-shell .admin-sidebar-accordion .admin-brand{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    min-height:74px !important;
    padding:14px 12px !important;
    margin:0 0 10px !important;
    border-radius:22px !important;
    background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.025)) !important;
    border:1px solid rgba(255,255,255,.08) !important;
}
body.admin-mode-shell .admin-sidebar-tools-under-logo{
    display:grid !important;
    grid-template-columns:1fr 42px !important;
    gap:8px !important;
    margin:0 0 14px !important;
}
body.admin-mode-shell .admin-sidebar-theme{
    appearance:none !important;
    -webkit-appearance:none !important;
    height:42px !important;
    border-radius:999px !important;
    border:1px solid rgba(242,190,62,.30) !important;
    background:rgba(242,190,62,.10) !important;
    color:#fff6d6 !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:9px !important;
    font-weight:900 !important;
    cursor:pointer !important;
}
body.admin-mode-shell .sidebar-collapse-toggle{
    appearance:none !important;
    -webkit-appearance:none !important;
    height:42px !important;
    border-radius:14px !important;
    border:1px solid rgba(242,190,62,.22) !important;
    background:#f2be3e !important;
    color:#06351f !important;
    box-shadow:none !important;
}
body.admin-mode-shell .admin-nav-accordion{
    padding:2px 4px 12px 0 !important;
}
body.admin-mode-shell .admin-nav-group{
    margin:0 0 8px !important;
    border:0 !important;
    border-radius:18px !important;
    background:transparent !important;
    overflow:visible !important;
}
body.admin-mode-shell .admin-nav-group-toggle{
    appearance:none !important;
    -webkit-appearance:none !important;
    width:100% !important;
    min-height:46px !important;
    border:1px solid rgba(255,255,255,.09) !important;
    border-radius:17px !important;
    background:linear-gradient(135deg,rgba(255,255,255,.070),rgba(255,255,255,.022)) !important;
    color:#eefbf6 !important;
    box-shadow:none !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto 18px !important;
    align-items:center !important;
    gap:9px !important;
    padding:10px 12px !important;
    text-align:left !important;
    font-family:inherit !important;
    font-size:.88rem !important;
    font-weight:950 !important;
    line-height:1.1 !important;
    cursor:pointer !important;
}
body.admin-mode-shell .admin-nav-group-toggle:hover{
    background:linear-gradient(135deg,rgba(242,190,62,.13),rgba(255,255,255,.045)) !important;
    border-color:rgba(242,190,62,.24) !important;
}
body.admin-mode-shell .admin-nav-group.is-active > .admin-nav-group-toggle,
body.admin-mode-shell .admin-nav-group.is-open > .admin-nav-group-toggle{
    background:linear-gradient(135deg,rgba(242,190,62,.18),rgba(255,255,255,.055)) !important;
    border-color:rgba(242,190,62,.34) !important;
}
body.admin-mode-shell .admin-nav-group-toggle small{
    min-width:26px !important;
    height:22px !important;
    border-radius:999px !important;
    background:rgba(242,190,62,.20) !important;
    color:#ffd978 !important;
    display:inline-grid !important;
    place-items:center !important;
    font-size:.66rem !important;
    font-weight:950 !important;
}
body.admin-mode-shell .admin-nav-group-toggle i{
    display:inline-grid !important;
    place-items:center !important;
    width:18px !important;
    height:18px !important;
    color:#ffd978 !important;
    transform:rotate(0deg) !important;
    transition:transform .18s ease !important;
    font-style:normal !important;
}
body.admin-mode-shell .admin-nav-group.is-open > .admin-nav-group-toggle i{transform:rotate(180deg) !important;}
body.admin-mode-shell .admin-nav-group-panel{
    margin:7px 0 0 10px !important;
    padding:0 0 0 10px !important;
    display:grid !important;
    gap:4px !important;
    border-left:1px solid rgba(242,190,62,.20) !important;
}
body.admin-mode-shell .admin-nav-group-panel[hidden]{display:none !important;}
body.admin-mode-shell .sidebar .admin-nav-group-panel a{
    min-height:36px !important;
    padding:8px 10px !important;
    border-radius:13px !important;
    border:1px solid transparent !important;
    color:rgba(239,251,246,.84) !important;
    background:transparent !important;
    font-size:.835rem !important;
    font-weight:850 !important;
    letter-spacing:-.01em !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a span{
    flex:0 0 25px !important;
    min-width:25px !important;
    height:25px !important;
    border-radius:9px !important;
    background:rgba(242,190,62,.12) !important;
    color:#ffd978 !important;
    font-size:.62rem !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a:hover{
    background:rgba(255,255,255,.060) !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.08) !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active{
    background:linear-gradient(135deg,#f2be3e,#ffcf5a) !important;
    color:#06251c !important;
    border-color:rgba(255,224,132,.75) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active span{
    background:rgba(6,37,28,.12) !important;
    color:#06251c !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active::before{display:none !important;}
body.admin-mode-shell .premium-content{margin-left:312px !important;}

/* Modo escuro administrativo: aplica ao conteúdo, tabelas, formulários, cards e caixas Bootstrap */
body.admin-mode-shell.admin-dark-mode,
body.admin-mode-shell.admin-dark-mode .premium-content,
body.admin-mode-shell.admin-dark-mode .content,
body.admin-mode-shell.admin-dark-mode .app-shell{
    background:radial-gradient(circle at top right,rgba(18,91,65,.22),transparent 32%), #06130f !important;
    color:#eaf6f1 !important;
}
body.admin-mode-shell.admin-dark-mode .admin-page-header,
body.admin-mode-shell.admin-dark-mode .dashboard-hero,
body.admin-mode-shell.admin-dark-mode .hero-card,
body.admin-mode-shell.admin-dark-mode .page-header,
body.admin-mode-shell.admin-dark-mode .card,
body.admin-mode-shell.admin-dark-mode .card-pro,
body.admin-mode-shell.admin-dark-mode .nutri-card,
body.admin-mode-shell.admin-dark-mode .metric,
body.admin-mode-shell.admin-dark-mode .module-card,
body.admin-mode-shell.admin-dark-mode .relatorio-box,
body.admin-mode-shell.admin-dark-mode .table-responsive,
body.admin-mode-shell.admin-dark-mode .bg-white,
body.admin-mode-shell.admin-dark-mode .filter-box,
body.admin-mode-shell.admin-dark-mode .form-card,
body.admin-mode-shell.admin-dark-mode .box,
body.admin-mode-shell.admin-dark-mode .accordion-item,
body.admin-mode-shell.admin-dark-mode .modal-content,
body.admin-mode-shell.admin-dark-mode .dropdown-menu{
    background:linear-gradient(135deg,#0b211b,#071812) !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.16) !important;
    box-shadow:0 18px 44px rgba(0,0,0,.22) !important;
}
body.admin-mode-shell.admin-dark-mode .table,
body.admin-mode-shell.admin-dark-mode table{
    --bs-table-bg:#0b211b !important;
    --bs-table-color:#eaf6f1 !important;
    --bs-table-striped-bg:#102a23 !important;
    --bs-table-striped-color:#eaf6f1 !important;
    --bs-table-hover-bg:#14352c !important;
    --bs-table-hover-color:#ffffff !important;
    --bs-table-border-color:rgba(242,190,62,.13) !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.13) !important;
}
body.admin-mode-shell.admin-dark-mode .table > :not(caption) > * > *,
body.admin-mode-shell.admin-dark-mode table td,
body.admin-mode-shell.admin-dark-mode table th{
    background-color:var(--bs-table-bg) !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.13) !important;
}
body.admin-mode-shell.admin-dark-mode .table-striped > tbody > tr:nth-of-type(odd) > *{
    background-color:#102a23 !important;
    color:#eaf6f1 !important;
}
body.admin-mode-shell.admin-dark-mode h1,
body.admin-mode-shell.admin-dark-mode h2,
body.admin-mode-shell.admin-dark-mode h3,
body.admin-mode-shell.admin-dark-mode h4,
body.admin-mode-shell.admin-dark-mode h5,
body.admin-mode-shell.admin-dark-mode h6,
body.admin-mode-shell.admin-dark-mode .h1,
body.admin-mode-shell.admin-dark-mode .h2,
body.admin-mode-shell.admin-dark-mode .h3,
body.admin-mode-shell.admin-dark-mode .fw-bold,
body.admin-mode-shell.admin-dark-mode strong,
body.admin-mode-shell.admin-dark-mode label,
body.admin-mode-shell.admin-dark-mode .form-label,
body.admin-mode-shell.admin-dark-mode .table th{
    color:#f8fffb !important;
}
body.admin-mode-shell.admin-dark-mode p,
body.admin-mode-shell.admin-dark-mode small,
body.admin-mode-shell.admin-dark-mode .text-muted,
body.admin-mode-shell.admin-dark-mode .muted,
body.admin-mode-shell.admin-dark-mode .card-text{
    color:rgba(234,246,241,.70) !important;
}
body.admin-mode-shell.admin-dark-mode input,
body.admin-mode-shell.admin-dark-mode select,
body.admin-mode-shell.admin-dark-mode textarea,
body.admin-mode-shell.admin-dark-mode .form-control,
body.admin-mode-shell.admin-dark-mode .form-select,
body.admin-mode-shell.admin-dark-mode .input-group-text{
    background:#071a14 !important;
    color:#f4faf7 !important;
    border-color:rgba(242,190,62,.22) !important;
    box-shadow:none !important;
}
body.admin-mode-shell.admin-dark-mode input::placeholder,
body.admin-mode-shell.admin-dark-mode textarea::placeholder{color:rgba(234,246,241,.45) !important;}
body.admin-mode-shell.admin-dark-mode .btn-light,
body.admin-mode-shell.admin-dark-mode .btn-outline-secondary{
    background:#102a23 !important;
    color:#f4faf7 !important;
    border-color:rgba(242,190,62,.22) !important;
}
body.admin-mode-shell.admin-dark-mode .alert,
body.admin-mode-shell.admin-dark-mode .list-group-item{
    background:#102a23 !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.16) !important;
}
body.admin-mode-shell.admin-dark-mode a:not(.btn):not(.brand):not(.dropdown-item){color:#ffd978;}

@media(max-width:1000px){
    body.admin-mode-shell .premium-content{margin-left:0 !important;}
}
@media(min-width:1001px){
    body.sidebar-collapsed.admin-mode-shell .premium-content{margin-left:92px !important;}
}

/* Refinamento final do menu administrativo: acordeão recolhido, item ativo exato e dark completo */
body.admin-mode-shell .admin-nav-accordion{
    overflow-y:auto !important;
    overflow-x:hidden !important;
    max-height:calc(100vh - 205px) !important;
    scrollbar-width:thin;
    scrollbar-color:rgba(242,190,62,.35) transparent;
}
body.admin-mode-shell .admin-nav-accordion::-webkit-scrollbar{width:6px;}
body.admin-mode-shell .admin-nav-accordion::-webkit-scrollbar-thumb{background:rgba(242,190,62,.32);border-radius:999px;}
body.admin-mode-shell .admin-nav-group{
    margin:0 0 7px !important;
    border-radius:16px !important;
}
body.admin-mode-shell .admin-nav-group-toggle{
    min-height:43px !important;
    border-radius:15px !important;
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(255,255,255,.075) !important;
    box-shadow:0 8px 18px rgba(0,0,0,.08) !important;
    transition:background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}
body.admin-mode-shell .admin-nav-group-toggle:hover{
    transform:translateX(2px) !important;
    background:rgba(255,255,255,.075) !important;
    border-color:rgba(242,190,62,.28) !important;
    box-shadow:0 12px 26px rgba(0,0,0,.16) !important;
}
body.admin-mode-shell .admin-nav-group.is-active > .admin-nav-group-toggle{
    background:rgba(18,80,59,.38) !important;
    border-color:rgba(242,190,62,.22) !important;
    color:#fff !important;
}
body.admin-mode-shell .admin-nav-group.is-open > .admin-nav-group-toggle{
    background:linear-gradient(135deg,rgba(18,80,59,.62),rgba(255,255,255,.055)) !important;
    border-color:rgba(242,190,62,.32) !important;
}
body.admin-mode-shell .admin-nav-group-toggle small{
    background:rgba(255,255,255,.08) !important;
    color:rgba(255,236,177,.90) !important;
}
body.admin-mode-shell .admin-nav-group.is-active > .admin-nav-group-toggle small,
body.admin-mode-shell .admin-nav-group.is-open > .admin-nav-group-toggle small{
    background:rgba(242,190,62,.18) !important;
    color:#ffdc7a !important;
}
body.admin-mode-shell .admin-nav-group-panel{
    margin:6px 0 2px 8px !important;
    padding:2px 0 3px 10px !important;
    border-left:1px solid rgba(242,190,62,.18) !important;
    gap:3px !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a{
    position:relative !important;
    min-height:34px !important;
    padding:7px 10px 7px 9px !important;
    border-radius:12px !important;
    color:rgba(239,251,246,.78) !important;
    background:transparent !important;
    border:1px solid transparent !important;
    box-shadow:none !important;
    transition:background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a:hover{
    transform:translateX(2px) !important;
    color:#fff !important;
    background:rgba(255,255,255,.065) !important;
    border-color:rgba(255,255,255,.08) !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active{
    background:rgba(242,190,62,.13) !important;
    color:#ffda72 !important;
    border-color:rgba(242,190,62,.34) !important;
    box-shadow:inset 3px 0 0 #f2be3e, 0 10px 22px rgba(0,0,0,.14) !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active span{
    background:#f2be3e !important;
    color:#06251c !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a:not(.active) span{
    background:rgba(242,190,62,.10) !important;
    color:rgba(255,217,120,.90) !important;
}

/* Modo escuro administrativo mais abrangente nas páginas internas */
body.admin-mode-shell.admin-dark-mode .premium-shell,
body.admin-mode-shell.admin-dark-mode .content,
body.admin-mode-shell.admin-dark-mode main,
body.admin-mode-shell.admin-dark-mode .container,
body.admin-mode-shell.admin-dark-mode .container-fluid,
body.admin-mode-shell.admin-dark-mode .page-wrapper,
body.admin-mode-shell.admin-dark-mode .main-content{
    background:radial-gradient(circle at top right,rgba(18,91,65,.20),transparent 34%), #06130f !important;
    color:#eaf6f1 !important;
}
body.admin-mode-shell.admin-dark-mode .card-pro,
body.admin-mode-shell.admin-dark-mode .card-pro > *,
body.admin-mode-shell.admin-dark-mode .card-body,
body.admin-mode-shell.admin-dark-mode .table-responsive,
body.admin-mode-shell.admin-dark-mode .table-responsive > *,
body.admin-mode-shell.admin-dark-mode .table-responsive table,
body.admin-mode-shell.admin-dark-mode .shadow-sm,
body.admin-mode-shell.admin-dark-mode .border,
body.admin-mode-shell.admin-dark-mode .rounded,
body.admin-mode-shell.admin-dark-mode .rounded-3,
body.admin-mode-shell.admin-dark-mode .rounded-4{
    background-color:#0b211b !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.14) !important;
}
body.admin-mode-shell.admin-dark-mode table,
body.admin-mode-shell.admin-dark-mode thead,
body.admin-mode-shell.admin-dark-mode tbody,
body.admin-mode-shell.admin-dark-mode tfoot,
body.admin-mode-shell.admin-dark-mode tr,
body.admin-mode-shell.admin-dark-mode th,
body.admin-mode-shell.admin-dark-mode td{
    background-color:#0b211b !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.13) !important;
}
body.admin-mode-shell.admin-dark-mode thead th,
body.admin-mode-shell.admin-dark-mode .table thead th{
    background-color:#102a23 !important;
    color:#f8fffb !important;
}
body.admin-mode-shell.admin-dark-mode tbody tr:nth-child(odd) td,
body.admin-mode-shell.admin-dark-mode .table-striped tbody tr:nth-child(odd) td{
    background-color:#0f281f !important;
}
body.admin-mode-shell.admin-dark-mode tbody tr:hover td{
    background-color:#14372d !important;
}
body.admin-mode-shell.admin-dark-mode code{
    background:rgba(242,190,62,.12) !important;
    color:#ffe08a !important;
    border-radius:6px;
    padding:2px 5px;
}
body.admin-mode-shell.admin-dark-mode .badge.bg-warning.text-dark{color:#231a05 !important;}
body.admin-mode-shell.admin-dark-mode .btn-outline-primary{color:#9ee7ce !important;border-color:rgba(158,231,206,.35) !important;}
body.admin-mode-shell.admin-dark-mode .btn-outline-warning{color:#ffd978 !important;border-color:rgba(255,217,120,.55) !important;}
body.admin-mode-shell.admin-dark-mode .btn-outline-danger{color:#ffb5b5 !important;border-color:rgba(255,181,181,.45) !important;}
body.admin-mode-shell.admin-dark-mode .btn-outline-primary:hover,
body.admin-mode-shell.admin-dark-mode .btn-outline-warning:hover,
body.admin-mode-shell.admin-dark-mode .btn-outline-danger:hover{color:#06130f !important;}

/* Ajuste: menu administrativo objetivo + filtros internos nas páginas */
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active{
    background:rgba(18,80,59,.42) !important;
    color:#fff8dc !important;
    border-color:rgba(242,190,62,.28) !important;
    box-shadow:inset 3px 0 0 #f2be3e, 0 8px 18px rgba(0,0,0,.10) !important;
}
body.admin-mode-shell .sidebar .admin-nav-group-panel a.active span{
    background:rgba(242,190,62,.18) !important;
    color:#ffda72 !important;
}
body.admin-mode-shell .admin-nav-group-toggle small{display:none !important;}
body.admin-mode-shell .admin-nav-group-toggle{grid-template-columns:minmax(0,1fr) auto !important;}

.admin-filter-pills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}
.admin-filter-pills a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:7px 13px;
    border-radius:999px;
    border:1px solid rgba(13,75,59,.14);
    background:#fff;
    color:#305247;
    font-size:.84rem;
    font-weight:850;
    text-decoration:none;
    transition:transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.admin-filter-pills a:hover{
    transform:translateY(-1px);
    background:#f6fbf8;
    border-color:rgba(13,75,59,.24);
    box-shadow:0 8px 20px rgba(13,75,59,.08);
}
.admin-filter-pills a.active{
    background:#0d4b3b;
    color:#fff;
    border-color:#0d4b3b;
    box-shadow:0 10px 24px rgba(13,75,59,.16);
}

/* Reforço do modo escuro administrativo em páginas internas legadas */
body.admin-mode-shell.admin-dark-mode .card-header,
body.admin-mode-shell.admin-dark-mode .card-footer,
body.admin-mode-shell.admin-dark-mode .list-group,
body.admin-mode-shell.admin-dark-mode .list-group-item,
body.admin-mode-shell.admin-dark-mode .tab-content,
body.admin-mode-shell.admin-dark-mode .nav-tabs,
body.admin-mode-shell.admin-dark-mode .pagination,
body.admin-mode-shell.admin-dark-mode .page-link,
body.admin-mode-shell.admin-dark-mode .offcanvas,
body.admin-mode-shell.admin-dark-mode .toast,
body.admin-mode-shell.admin-dark-mode .popover,
body.admin-mode-shell.admin-dark-mode .accordion-button,
body.admin-mode-shell.admin-dark-mode .accordion-body{
    background:#0b211b !important;
    color:#eaf6f1 !important;
    border-color:rgba(242,190,62,.15) !important;
}
body.admin-mode-shell.admin-dark-mode .bg-light,
body.admin-mode-shell.admin-dark-mode .bg-body,
body.admin-mode-shell.admin-dark-mode .bg-body-tertiary,
body.admin-mode-shell.admin-dark-mode .bg-secondary-subtle,
body.admin-mode-shell.admin-dark-mode .bg-success-subtle,
body.admin-mode-shell.admin-dark-mode .bg-warning-subtle,
body.admin-mode-shell.admin-dark-mode .bg-danger-subtle,
body.admin-mode-shell.admin-dark-mode .bg-info-subtle{
    background:#0b211b !important;
    color:#eaf6f1 !important;
}
body.admin-mode-shell.admin-dark-mode .admin-filter-pills a{
    background:#0b211b;
    color:#dce7e2;
    border-color:rgba(242,190,62,.16);
}
body.admin-mode-shell.admin-dark-mode .admin-filter-pills a:hover{
    background:#102a23;
    border-color:rgba(242,190,62,.30);
    color:#fff;
}
body.admin-mode-shell.admin-dark-mode .admin-filter-pills a.active{
    background:#f2be3e;
    color:#06251c !important;
    border-color:#f2be3e;
}
body.admin-mode-shell.admin-dark-mode .form-check-input{
    background-color:#071a14 !important;
    border-color:rgba(242,190,62,.35) !important;
}
body.admin-mode-shell.admin-dark-mode .form-check-input:checked{
    background-color:#f2be3e !important;
    border-color:#f2be3e !important;
}
body.admin-mode-shell.admin-dark-mode .btn-close{filter:invert(1) grayscale(100%);}

/* Ajustes administrativos premium: clientes, planos e revendas */
.nu-admin-page-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}
.nu-admin-page-title h2{margin:0;font-weight:850;color:#073d2b;letter-spacing:-.02em}
.nu-admin-page-title .hint{max-width:780px}
.nu-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.nu-action-group{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:190px}
.nu-action-group .btn{white-space:nowrap;border-radius:999px;padding:.32rem .65rem;font-weight:700}
.nu-table-clean{border-collapse:separate;border-spacing:0 8px;margin-bottom:0}
.nu-table-clean thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.055em;color:#64748b;border:0;background:#f8fafc;padding:10px 12px;white-space:nowrap}
.nu-table-clean tbody tr{box-shadow:0 8px 22px rgba(15,23,42,.035)}
.nu-table-clean tbody td{background:#fff;border-top:1px solid rgba(15,23,42,.055);border-bottom:1px solid rgba(15,23,42,.055);padding:12px;vertical-align:middle}
.nu-table-clean tbody td:first-child{border-left:1px solid rgba(15,23,42,.055);border-radius:14px 0 0 14px}
.nu-table-clean tbody td:last-child{border-right:1px solid rgba(15,23,42,.055);border-radius:0 14px 14px 0}
.nu-main-cell strong{font-size:.98rem;color:#0f172a}.nu-main-cell small,.nu-subtext{color:#64748b;line-height:1.35}.nu-nowrap{white-space:nowrap}.nu-soft-label{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:800;font-size:.76rem;padding:.28rem .6rem}.nu-meta-grid{display:flex;gap:6px;flex-wrap:wrap}.nu-metric-chip{border:1px solid rgba(7,61,43,.10);background:#f8fafc;border-radius:12px;padding:7px 9px;min-width:76px}.nu-metric-chip span{display:block;font-size:.66rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:800}.nu-metric-chip strong{font-size:.92rem;color:#073d2b}.nu-form-section-title{font-size:.8rem;text-transform:uppercase;letter-spacing:.065em;font-weight:900;color:#0f6b49;background:#f4faf7;border:1px solid rgba(15,107,73,.10);border-radius:14px;padding:10px 12px;margin:6px 0 4px}.nu-form-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:8px}.nu-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.nu-plan-card{background:#fff;border:1px solid rgba(7,61,43,.10);border-radius:18px;padding:16px;box-shadow:0 14px 30px rgba(15,23,42,.045)}.nu-plan-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.nu-plan-card h3{font-size:1.05rem;margin:0;color:#073d2b;font-weight:850}.nu-price{font-size:1.25rem;color:#073d2b;font-weight:900;white-space:nowrap}.nu-plan-desc{color:#64748b;font-size:.88rem;min-height:36px}.nu-plan-limits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.nu-plan-limits div{background:#f8fafc;border-radius:12px;padding:8px;text-align:center}.nu-plan-limits span{display:block;font-size:.66rem;text-transform:uppercase;color:#64748b;font-weight:800}.nu-plan-limits strong{display:block;font-size:.95rem;color:#0f172a}.nu-revenda-cliente-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px}.nu-revenda-client-card{background:#fff;border:1px solid rgba(7,61,43,.10);border-radius:18px;padding:16px;box-shadow:0 14px 28px rgba(15,23,42,.045)}.nu-revenda-client-card .form-label{font-size:.72rem;font-weight:850;color:#475569;margin-bottom:4px}.nu-revenda-client-card textarea{resize:vertical}.nu-check-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.nu-check-row .form-check{margin-bottom:0}.nu-hero-admin{background:radial-gradient(circle at top left,rgba(245,199,83,.23),transparent 34%),linear-gradient(135deg,#073d2b,#0f6b49);border-radius:24px;color:#fff;padding:22px;box-shadow:0 18px 45px rgba(7,61,43,.18);margin-bottom:18px}.nu-hero-admin h2{font-weight:900;margin:0}.nu-hero-admin p{opacity:.9}.nu-hero-admin .btn{border-radius:999px;font-weight:800}.nu-empty-state{background:#f8fafc;border:1px dashed rgba(100,116,139,.35);border-radius:16px;padding:18px;color:#64748b;text-align:center}
@media(max-width:768px){.nu-admin-page-title{align-items:stretch;flex-direction:column}.nu-admin-actions{justify-content:flex-start}.nu-table-clean{border-spacing:0}.nu-table-clean tbody tr{box-shadow:none}.nu-table-clean tbody td:first-child,.nu-table-clean tbody td:last-child{border-radius:0}.nu-action-group{justify-content:flex-start}.nu-plan-limits{grid-template-columns:1fr 1fr}}


/* ===== v2026-05-17 - Topbar profissional Cliente / Plano / Limite ===== */
.topbar-account-professional:not(.topbar-revenda-corp){
    display:grid !important;
    grid-template-columns:minmax(140px,1.15fr) minmax(112px,.85fr) minmax(170px,1.25fr) !important;
    align-items:stretch !important;
    gap:8px !important;
    min-width:520px !important;
    max-width:690px !important;
    padding:8px !important;
    border-radius:24px !important;
    border:1px solid rgba(13,75,59,.12) !important;
    background:linear-gradient(135deg,#ffffff 0%,#f7fbf6 58%,#edf7f1 100%) !important;
    box-shadow:0 14px 34px rgba(13,75,59,.10), inset 0 1px 0 rgba(255,255,255,.92) !important;
    overflow:hidden !important;
}
.topbar-account-professional:not(.topbar-revenda-corp)::before{
    width:4px !important;
    background:linear-gradient(180deg,#0d4b3b,#d99a2b) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
    display:grid !important;
    grid-template-columns:28px minmax(0,1fr) !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
    padding:8px 10px !important;
    border-radius:17px !important;
    background:rgba(255,255,255,.78) !important;
    border:1px solid rgba(13,75,59,.08) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon{
    width:28px !important;
    height:28px !important;
    border-radius:11px !important;
    background:linear-gradient(135deg,#0d4b3b,#1f6b45) !important;
    color:#fff !important;
    box-shadow:0 7px 15px rgba(13,75,59,.18) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon svg{
    width:15px !important;
    height:15px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-label{
    color:#6b786f !important;
    font-size:.56rem !important;
    font-weight:950 !important;
    letter-spacing:.11em !important;
    line-height:1 !important;
    text-transform:uppercase !important;
    margin-bottom:3px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name,
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    color:#123c2f !important;
    font-size:.88rem !important;
    line-height:1.05 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    color:#d99a2b !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:4px !important;
    color:#123c2f !important;
    font-size:.78rem !important;
    line-height:1 !important;
    font-weight:900 !important;
    white-space:normal !important;
    text-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value span{
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    color:#123c2f !important;
    background:#eef7f1 !important;
    border:1px solid rgba(13,75,59,.10) !important;
    border-radius:999px !important;
    padding:3px 7px !important;
    white-space:nowrap !important;
}
@media(max-width:1320px){
    .topbar-account-professional:not(.topbar-revenda-corp){
        min-width:390px !important;
        max-width:470px !important;
        grid-template-columns:1fr 1fr !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-limit{
        grid-column:1 / -1 !important;
    }
}
@media(max-width:900px){
    .topbar-account-professional:not(.topbar-revenda-corp){
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}
@media(max-width:680px){
    .topbar-account-professional:not(.topbar-revenda-corp){
        grid-template-columns:1fr !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-limit{
        grid-column:auto !important;
    }
}


/* ===== v2026-05-17 - Topbar Cliente/Plano/Limite mais compacta e alinhada ===== */
.topbar .topbar-account.topbar-account-clean{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
    min-width:0 !important;
}
.topbar-account-clean .account-menu-dropdown{
    flex:0 0 auto !important;
    align-self:center !important;
    margin-left:0 !important;
}
.topbar-account-clean .account-menu-button{
    min-height:34px !important;
    padding:.35rem .72rem !important;
    font-size:.78rem !important;
    line-height:1 !important;
    white-space:nowrap !important;
}
.topbar-account-professional:not(.topbar-revenda-corp){
    flex:0 1 430px !important;
    display:grid !important;
    grid-template-columns:minmax(96px,.9fr) minmax(78px,.7fr) minmax(142px,1.15fr) !important;
    align-items:center !important;
    gap:5px !important;
    min-width:360px !important;
    max-width:455px !important;
    padding:5px !important;
    border-radius:18px !important;
    box-shadow:0 8px 20px rgba(13,75,59,.075), inset 0 1px 0 rgba(255,255,255,.92) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp)::before{
    width:3px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
    grid-template-columns:22px minmax(0,1fr) !important;
    gap:5px !important;
    padding:5px 7px !important;
    border-radius:13px !important;
    min-height:40px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon{
    width:22px !important;
    height:22px !important;
    border-radius:8px !important;
    box-shadow:0 4px 10px rgba(13,75,59,.14) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon svg{
    width:12px !important;
    height:12px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-label{
    font-size:.48rem !important;
    letter-spacing:.09em !important;
    margin-bottom:2px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name,
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    font-size:.73rem !important;
    line-height:1 !important;
    max-width:100% !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{
    gap:3px !important;
    font-size:.64rem !important;
    line-height:1 !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value span{
    padding:2px 5px !important;
    border-radius:999px !important;
}
@media(max-width:1320px){
    .topbar-account-professional:not(.topbar-revenda-corp){
        min-width:320px !important;
        max-width:385px !important;
        grid-template-columns:minmax(95px,1fr) minmax(80px,.8fr) !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-limit{
        grid-column:1 / -1 !important;
        min-height:34px !important;
    }
}
@media(max-width:1080px){
    .topbar .topbar-account.topbar-account-clean{
        flex-wrap:wrap !important;
        justify-content:flex-end !important;
        row-gap:6px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp){
        order:1 !important;
        flex:1 1 100% !important;
        max-width:100% !important;
        min-width:0 !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
    .topbar-account-clean .account-menu-dropdown{
        order:2 !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-limit{
        grid-column:auto !important;
    }
}
@media(max-width:768px){
    .topbar .topbar-account.topbar-account-clean{
        width:100% !important;
        justify-content:stretch !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp){
        grid-template-columns:1fr !important;
    }
    .topbar-account-clean .account-menu-dropdown,
    .topbar-account-clean .account-menu-button{
        width:100% !important;
    }
}


/* ===== v2026-05-17 - Topbar Cliente / Plano / Limite - modelo 2 sem abreviação ===== */
.topbar .topbar-account.topbar-account-clean{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
    min-width:0 !important;
}
.topbar-account-clean .account-menu-dropdown{
    flex:0 0 auto !important;
    align-self:center !important;
    margin-left:0 !important;
    order:2 !important;
}
.topbar-account-clean .account-menu-button{
    min-height:34px !important;
    padding:.38rem .78rem !important;
    font-size:.78rem !important;
    line-height:1 !important;
    white-space:nowrap !important;
}
.topbar-account-professional:not(.topbar-revenda-corp){
    order:1 !important;
    flex:0 1 500px !important;
    display:grid !important;
    grid-template-columns:minmax(118px,1fr) minmax(96px,.72fr) minmax(176px,1.2fr) !important;
    align-items:center !important;
    gap:0 !important;
    min-width:390px !important;
    max-width:520px !important;
    padding:0 !important;
    border-radius:16px !important;
    border:1px solid rgba(7,61,43,.12) !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(15,23,42,.06) !important;
    overflow:hidden !important;
}
.topbar-account-professional:not(.topbar-revenda-corp)::before{
    width:0 !important;
    display:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    min-width:0 !important;
    min-height:38px !important;
    padding:7px 10px !important;
    border-radius:0 !important;
    background:transparent !important;
    border:0 !important;
    border-right:1px solid rgba(7,61,43,.08) !important;
    box-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line:last-child{
    border-right:0 !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon{
    display:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-text{
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    min-width:0 !important;
    width:100% !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-label{
    flex:0 0 auto !important;
    margin:0 !important;
    color:#60746b !important;
    font-size:.64rem !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.02em !important;
    text-transform:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-label::after{
    content:':' !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name,
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    display:block !important;
    min-width:0 !important;
    color:#073d2b !important;
    font-size:.76rem !important;
    line-height:1.05 !important;
    font-weight:900 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    color:#b7791f !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{
    display:flex !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:4px !important;
    color:#073d2b !important;
    font-size:.69rem !important;
    line-height:1 !important;
    font-weight:900 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value span{
    display:inline !important;
    width:auto !important;
    color:#073d2b !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value span + span::before{
    content:' / ' !important;
    color:#94a3b8 !important;
    font-weight:700 !important;
}
@media(max-width:1320px){
    .topbar-account-professional:not(.topbar-revenda-corp){
        flex-basis:430px !important;
        min-width:340px !important;
        max-width:450px !important;
        grid-template-columns:minmax(105px,1fr) minmax(82px,.75fr) minmax(150px,1.25fr) !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
        padding:6px 8px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name,
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
        font-size:.72rem !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{
        font-size:.65rem !important;
    }
}
@media(max-width:1080px){
    .topbar .topbar-account.topbar-account-clean{
        flex-wrap:nowrap !important;
        justify-content:flex-end !important;
        width:100% !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp){
        flex:1 1 auto !important;
        min-width:0 !important;
        max-width:none !important;
        grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.35fr) !important;
    }
    .topbar-account-clean .account-menu-dropdown{
        flex:0 0 auto !important;
    }
}
@media(max-width:768px){
    .topbar .topbar-account.topbar-account-clean{
        flex-direction:column !important;
        align-items:stretch !important;
        gap:8px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp){
        width:100% !important;
        grid-template-columns:1fr !important;
        border-radius:14px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
        border-right:0 !important;
        border-bottom:1px solid rgba(7,61,43,.08) !important;
        min-height:34px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line:last-child{
        border-bottom:0 !important;
    }
    .topbar-account-clean .account-menu-dropdown,
    .topbar-account-clean .account-menu-button{
        width:100% !important;
    }
}


/* ===== v5.2.5 - Limites em duas linhas com ícones discretos ===== */
.topbar-account-stacked .topbar-limit-value{
    gap:4px !important;
}
.topbar-account-stacked .topbar-limit-row{
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    min-width:0 !important;
    color:#d99a2b !important;
    white-space:nowrap !important;
}
.topbar-account-stacked .topbar-limit-mini-icon{
    flex:0 0 auto !important;
    width:15px !important;
    height:15px !important;
    border-radius:6px !important;
    display:grid !important;
    place-items:center !important;
    color:#0d4b3b !important;
    background:rgba(13,75,59,.08) !important;
    border:1px solid rgba(13,75,59,.10) !important;
}
.topbar-account-stacked .topbar-limit-mini-icon svg{
    width:10px !important;
    height:10px !important;
    fill:currentColor !important;
    display:block !important;
}
.topbar-account-stacked .topbar-limit-row > span:last-child{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

/* ===== v2026-05-17 - Topbar Cliente / Plano / Limite - modelo 4 profissional ===== */
.topbar .topbar-account.topbar-account-clean{
    align-items:center !important;
    gap:12px !important;
}
.topbar-account-professional:not(.topbar-revenda-corp){
    flex:0 1 640px !important;
    min-width:460px !important;
    max-width:660px !important;
    display:grid !important;
    grid-template-columns:minmax(150px,1fr) minmax(125px,.82fr) minmax(170px,.96fr) !important;
    align-items:stretch !important;
    gap:8px !important;
    padding:8px 10px !important;
    border-radius:22px !important;
    border:1px solid rgba(15,61,51,.10) !important;
    background:rgba(245,248,247,.78) !important;
    box-shadow:0 10px 26px rgba(15,23,42,.055) !important;
    overflow:visible !important;
    backdrop-filter:saturate(1.05) blur(2px) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    align-items:center !important;
    column-gap:7px !important;
    min-height:48px !important;
    padding:7px 9px !important;
    border:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    border-radius:16px !important;
    background:rgba(255,255,255,.66) !important;
    box-shadow:inset 0 0 0 1px rgba(15,61,51,.035) !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line:last-child{
    border-right:0 !important;
    border-bottom:0 !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon{
    display:grid !important;
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    place-items:center !important;
    border-radius:9px !important;
    color:#0f3d33 !important;
    background:rgba(15,61,51,.075) !important;
    border:1px solid rgba(15,61,51,.08) !important;
    box-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-icon svg{
    width:13px !important;
    height:13px !important;
    fill:currentColor !important;
    display:block !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-text{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:3px !important;
    min-width:0 !important;
    width:100% !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-label{
    display:block !important;
    margin:0 !important;
    color:#75837e !important;
    font-size:.63rem !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.045em !important;
    text-transform:uppercase !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-label::after{
    content:':' !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name,
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    display:block !important;
    min-width:0 !important;
    max-width:100% !important;
    font-size:.86rem !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    letter-spacing:-.01em !important;
    text-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name{
    color:#073d2b !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
    color:#a96f18 !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:3px !important;
    width:100% !important;
    min-width:0 !important;
    color:#073d2b !important;
    font-size:.78rem !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    text-shadow:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-row{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#073d2b !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-row + .topbar-limit-row::before,
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value span + span::before{
    content:none !important;
    display:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-mini-icon{
    display:none !important;
}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-row > span:last-child{
    display:block !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
@media(max-width:1320px){
    .topbar-account-professional:not(.topbar-revenda-corp){
        flex-basis:560px !important;
        min-width:410px !important;
        max-width:590px !important;
        grid-template-columns:minmax(135px,1fr) minmax(112px,.82fr) minmax(155px,.98fr) !important;
        gap:7px !important;
        padding:7px 9px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
        padding:6px 8px !important;
        min-height:45px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-client-name,
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-plan-name{
        font-size:.80rem !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{
        font-size:.72rem !important;
    }
}
@media(max-width:1080px){
    .topbar .topbar-account.topbar-account-clean{
        width:100% !important;
        justify-content:flex-end !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp){
        flex:1 1 auto !important;
        min-width:0 !important;
        max-width:none !important;
        grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.05fr) !important;
    }
}
@media(max-width:768px){
    .topbar .topbar-account.topbar-account-clean{
        flex-direction:column !important;
        align-items:stretch !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp){
        width:100% !important;
        grid-template-columns:1fr !important;
        border-radius:18px !important;
        padding:8px !important;
    }
    .topbar-account-professional:not(.topbar-revenda-corp) .topbar-account-line{
        min-height:42px !important;
    }
}


/* Topbar modelo 5: mantém ícones apenas nos títulos Cliente, Plano e Limite. */
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-mini-icon{display:none!important;}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-row{display:block;text-align:center;line-height:1.18;margin:0;}
.topbar-account-professional:not(.topbar-revenda-corp) .topbar-limit-value{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12rem;}

/* NutriUva Pro - ajuste de legibilidade dos submenus laterais (Gestão Financeira, Safras e Operações de Campo) */
.sidebar .finance-submenu a{font-size:.74rem !important;min-height:30px !important;padding:7px 9px !important;}
.sidebar .finance-submenu a span{width:20px !important;height:20px !important;min-width:20px !important;font-size:.50rem !important;}
body.admin-mode-shell .sidebar .admin-nav-group-panel a{font-size:.875rem !important;min-height:38px !important;}


/* Ajuste 2026-05-20 - navegação interna premium e submenus mais legíveis */
.safras-menu-box{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    background:#fff;
    border:1px solid #dfece6;
    border-radius:22px;
    padding:12px;
    margin-bottom:14px;
    box-shadow:0 12px 28px rgba(16,35,29,.055);
}
.safras-menu-box a{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    min-height:58px;
    border-radius:16px;
    border:1px solid #dfece6;
    background:#f8fbf9;
    color:#0d4b3b;
    padding:10px 12px;
    font-weight:950;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}
.safras-menu-box a:hover{
    transform:translateY(-2px);
    background:#0d4b3b;
    color:#fff;
    border-color:#0d4b3b;
    box-shadow:0 14px 26px rgba(13,75,59,.14);
}
.safras-menu-box a.is-active{
    background:linear-gradient(135deg,#0d4b3b,#0a332b);
    color:#fff;
    border-color:#0d4b3b;
}
.safras-menu-box a span{
    width:34px;
    height:34px;
    border-radius:13px;
    display:inline-grid;
    place-items:center;
    background:#e8f4ee;
    color:#0d4b3b;
    font-size:.78rem;
    font-weight:950;
    flex:0 0 auto;
}
.safras-menu-box a:hover span,.safras-menu-box a.is-active span{
    background:rgba(255,255,255,.16);
    color:#ffd978;
}
.safras-menu-box small{
    display:block;
    color:inherit;
    opacity:.72;
    font-weight:750;
    font-size:.72rem;
    margin-top:2px;
}
.finance-submenu a{
    font-size:.90rem !important;
    line-height:1.16 !important;
    min-height:36px !important;
}
.finance-submenu a span{
    font-size:.64rem !important;
}
.sidebar .admin-nav-group-panel a,
body.admin-mode-shell .sidebar .admin-nav-group-panel a{
    font-size:.92rem !important;
    line-height:1.16 !important;
    min-height:39px !important;
}
.sidebar .admin-nav-group-panel a span,
body.admin-mode-shell .sidebar .admin-nav-group-panel a span{
    font-size:.66rem !important;
}
@media(max-width:1180px){.safras-menu-box{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.safras-menu-box{grid-template-columns:1fr}}
@media print{.safras-menu-box{display:none!important}}




/* Navegação interna da Gestão de Safras - robusta mesmo com cache/contexto de rota */
.nu-safras-nav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  background:#ffffff!important;
  border:1px solid #dfece6!important;
  border-radius:22px!important;
  padding:12px!important;
  margin:0 0 14px!important;
  box-shadow:0 12px 28px rgba(16,35,29,.055)!important;
  clear:both!important;
}
.nu-safras-nav a{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  padding:10px 12px!important;
  border-radius:16px!important;
  border:1px solid #dfece6!important;
  background:#f8fbf9!important;
  color:#0d4b3b!important;
  text-decoration:none!important;
  font-weight:950!important;
  line-height:1.12!important;
  overflow:hidden!important;
}
.nu-safras-nav a:hover{
  transform:translateY(-2px)!important;
  background:#0d4b3b!important;
  color:#fff!important;
  border-color:#0d4b3b!important;
  box-shadow:0 14px 26px rgba(13,75,59,.14)!important;
}
.nu-safras-nav a.is-active{
  background:linear-gradient(135deg,#0d4b3b,#0a332b)!important;
  color:#fff!important;
  border-color:#0d4b3b!important;
}
.nu-safras-nav a .nu-sigla{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:13px!important;
  display:inline-grid!important;
  place-items:center!important;
  background:#e8f4ee!important;
  color:#0d4b3b!important;
  font-size:.78rem!important;
  font-weight:950!important;
  flex:0 0 auto!important;
  line-height:1!important;
  text-decoration:none!important;
}
.nu-safras-nav a:hover .nu-sigla,
.nu-safras-nav a.is-active .nu-sigla{
  background:rgba(255,255,255,.16)!important;
  color:#ffd978!important;
}
.nu-safras-nav .nu-label{
  display:block!important;
  min-width:0!important;
  color:inherit!important;
  font-size:.92rem!important;
  white-space:normal!important;
  text-decoration:none!important;
}
.nu-safras-nav .nu-label small{
  display:block!important;
  color:inherit!important;
  opacity:.72!important;
  font-weight:750!important;
  font-size:.72rem!important;
  margin-top:2px!important;
  white-space:normal!important;
  text-decoration:none!important;
}
@media(max-width:1180px){.nu-safras-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){.nu-safras-nav{grid-template-columns:1fr!important}.nu-safras-nav a{min-height:54px!important}}
@media print{.nu-safras-nav{display:none!important}}


/* NutriUva Pro - subtítulos internos dos grupos administrativos de módulos */
.sidebar .admin-nav-group-panel .admin-nav-subtitle,
body.admin-mode-shell .admin-nav-group-panel .admin-nav-subtitle{
    margin:10px 8px 5px;
    padding:6px 8px;
    border-radius:10px;
    background:rgba(245,201,111,.10);
    color:rgba(255,255,255,.72);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    line-height:1.1;
}
body.sidebar-collapsed.admin-mode-shell .admin-nav-group-panel .admin-nav-subtitle{display:none!important;}
