/** VIEW: RELATÓRIOS */
.ec-view--reports .ec-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin:0 0 18px;background:#111;border-radius:8px;color:#fff}.ec-report-toolbar-copy{display:flex;flex-direction:column;gap:3px}.ec-report-toolbar-copy strong{font-size:14px;letter-spacing:.06em}.ec-report-toolbar-copy span{font-size:12px;color:#bbb}.ec-report-actions{display:flex;gap:8px}.ec-report-print{white-space:nowrap}.ec-report-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.ec-report-kpi{display:flex;align-items:center;gap:12px;min-height:88px;padding:15px;background:#fff;border:1px solid #e7e7e7;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.ec-report-kpi-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:7px;background:#f2f2f2;font-size:17px}.ec-report-kpi small{display:block;margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.045em;color:#777}.ec-report-kpi strong{font-size:20px;line-height:1.1;color:#171717}.ec-report-kpi.is-danger{border-color:#ffd1cf}.ec-report-kpi.is-danger .ec-report-kpi-icon,.ec-report-kpi.is-danger strong{color:#fd342f}.ec-report-tabs{display:flex;gap:4px;overflow-x:auto;padding:5px;margin-bottom:14px;background:#ececec;border-radius:8px}.ec-report-tab{appearance:none;border:0;background:transparent;color:#555;padding:11px 16px;border-radius:6px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.ec-report-tab:hover{background:#fff}.ec-report-tab.is-active{background:#111;color:#fff}.ec-report-panel{display:none}.ec-report-panel.is-active{display:block}.ec-reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ec-view--reports .ec-front-card{padding:0;overflow:hidden}.ec-report-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid #e8e8e8}.ec-report-card-title h2{margin:0 0 3px;font-size:14px;text-transform:uppercase}.ec-report-card-title p{margin:0;font-size:11px;color:#777}.ec-report-count{min-width:36px;height:28px;display:grid;place-items:center;border-radius:14px;background:#ededed;font-size:12px;font-weight:800}.ec-report-count.danger{background:#ffe5e4;color:#c6261d}.ec-report-table th{font-size:10px;letter-spacing:.04em}.ec-report-table td,.ec-report-table th{vertical-align:middle}.ec-report-table td:not(:first-child),.ec-report-table th:not(:first-child){text-align:right}.ec-report-object-list{padding:8px 16px 16px}.ec-report-object-list .ec-object-row{border-bottom:1px solid #eee}.ec-report-object-list .ec-object-row:last-child{border-bottom:0}.ec-report-position{width:25px;text-align:center;font-size:12px;font-weight:900;color:#999}.ec-report-empty{padding:20px;text-align:center;color:#777}.ec-view--reports .ec-front-pill{font-size:10px;text-transform:uppercase}@media(max-width:1350px){.ec-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.ec-report-toolbar{align-items:flex-start;flex-direction:column}.ec-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-reports-grid{grid-template-columns:1fr}}@media(max-width:520px){.ec-report-kpis{grid-template-columns:1fr}.ec-report-actions,.ec-report-print{width:100%}}
@media print{.ec-front-header,.ec-front-nav-wrap,.ec-report-toolbar,.ec-report-tabs{display:none!important}.ec-report-panel{display:block!important;margin-bottom:20px}.ec-report-kpis{grid-template-columns:repeat(3,1fr)}.ec-front-card{break-inside:avoid}}

/* Relatórios v3.22.22 */
.ec-report-card-title .ec-report-stock-print-open{white-space:nowrap}
.ec-report-stock-print-modal{display:none;position:fixed;inset:0;z-index:100000}
.ec-report-stock-print-modal.is-open{display:block}
.ec-report-stock-print-modal .ec-front-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(3px)}
.ec-report-stock-print-modal .ec-front-modal-dialog{position:relative;width:min(620px,calc(100% - 28px));margin:8vh auto;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 20px 70px rgba(0,0,0,.35)}
.ec-report-print-options{display:grid;gap:10px;margin-bottom:18px}
.ec-report-print-options label{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:12px;font-weight:800;cursor:pointer}
.ec-report-print-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ec-report-print-fields label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:800}
.ec-report-print-fields select{width:100%;height:40px;text-transform:uppercase}
.ec-report-print-fields .is-hidden{display:none}
.ec-report-print-error{margin:14px 0 0;color:#c6261d;font-weight:700}
@media(max-width:620px){.ec-report-print-fields{grid-template-columns:1fr}.ec-report-card-title{align-items:flex-start;flex-direction:column}}


/* Relatórios v3.22.23 */
.ec-view--reports button.ec-report-stock-print-open,
.ec-view--reports button.ec-report-stock-print-open:hover,
.ec-view--reports button.ec-report-stock-print-open:focus,
.ec-view--reports button.ec-report-stock-print-open:focus-visible,
.ec-view--reports button.ec-report-stock-print-open:active{
    width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;
    border:1px solid var(--ec-map-button-bg,#0060ff)!important;
    border-radius:0!important;color:#fff!important;font-size:0!important;text-indent:-9999px!important;
    overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    cursor:pointer!important;box-sizing:border-box!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5'/%3E%3Cpath d='M6 17H3v-7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7h-3'/%3E%3Crect x='7' y='14' width='10' height='7' rx='1'/%3E%3C/g%3E%3Ccircle cx='18' cy='11' r='1' fill='%23fff'/%3E%3C/svg%3E")!important;
    background-color:var(--ec-map-button-bg,#0060ff)!important;background-repeat:no-repeat!important;
    background-position:center!important;background-size:18px 18px!important;
}
.ec-view--reports button.ec-report-stock-print-open:hover,
.ec-view--reports button.ec-report-stock-print-open:focus-visible{background-color:var(--ec-map-button-hover,#0151d5)!important;border-color:var(--ec-map-button-hover,#0151d5)!important}
.ec-view--reports button.ec-report-stock-print-open::before,.ec-view--reports button.ec-report-stock-print-open::after{content:none!important;display:none!important}

.ec-report-stock-print-modal .ec-front-modal-dialog{width:min(680px,calc(100% - 32px));margin:7vh auto;overflow:hidden}
.ec-report-stock-print-modal .ec-front-modal-body{padding:24px!important}
.ec-report-stock-print-modal .ec-front-modal-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
.ec-report-stock-print-modal .ec-front-modal-header h2{margin:0!important;line-height:1.25!important}
.ec-report-print-options{display:flex!important;flex-direction:column!important;gap:10px!important;margin:0 0 22px!important}
.ec-report-print-options label{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:46px!important;margin:0!important;padding:12px 14px!important;box-sizing:border-box!important}
.ec-report-print-options input[type="radio"]{width:16px!important;height:16px!important;margin:0!important}
.ec-report-print-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:end!important}
.ec-report-print-fields label{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;min-width:0!important}
.ec-report-print-fields select{display:block!important;width:100%!important;min-width:0!important;height:42px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important}
.ec-report-stock-print-modal .ec-front-modal-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;padding:16px 24px!important}
.ec-report-stock-print-modal .ec-front-modal-actions button{min-width:120px!important;margin:0!important}

.ec-report-panel[data-report-panel="financial"] .ec-report-object-list{padding:8px 18px 16px!important}
.ec-report-panel[data-report-panel="financial"] .ec-object-row{display:grid!important;grid-template-columns:30px 48px minmax(0,1fr) minmax(120px,auto)!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:66px!important;padding:10px 0!important;box-sizing:border-box!important}
.ec-report-panel[data-report-panel="financial"] .ec-report-position{width:auto!important;text-align:center!important}
.ec-report-panel[data-report-panel="financial"] .ec-object-img{margin:0!important}
.ec-report-panel[data-report-panel="financial"] .ec-object-info{min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}
.ec-report-panel[data-report-panel="financial"] .ec-object-info strong,.ec-report-panel[data-report-panel="financial"] .ec-object-info small{margin:0!important;line-height:1.3!important}
.ec-report-panel[data-report-panel="financial"] .ec-object-actions{margin:0!important;min-width:120px!important;text-align:right!important;justify-self:end!important;white-space:nowrap!important}
@media(max-width:620px){
 .ec-report-print-fields{grid-template-columns:1fr!important}
 .ec-report-stock-print-modal .ec-front-modal-actions{flex-direction:column-reverse!important}
 .ec-report-stock-print-modal .ec-front-modal-actions button{width:100%!important}
 .ec-report-panel[data-report-panel="financial"] .ec-object-row{grid-template-columns:26px 44px minmax(0,1fr)!important}
 .ec-report-panel[data-report-panel="financial"] .ec-object-actions{grid-column:3!important;justify-self:start!important;text-align:left!important}
}


/* Relatórios v3.22.24 - modal de impressão padronizado e campos condicionais */
.ec-report-stock-print-modal .ec-front-modal-header{background:#111!important;color:#fff!important;padding:16px 20px!important;border:0!important}
.ec-report-stock-print-modal .ec-front-modal-header h2{color:#fff!important;font-size:14px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.03em!important}
.ec-report-stock-print-modal .ec-front-modal-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fd342f!important;color:#fff!important;font-size:22px!important;line-height:1!important;cursor:pointer!important}
.ec-report-stock-print-modal .ec-front-modal-close:hover{background:#c6261d!important}
.ec-report-stock-print-modal .ec-report-print-fields{display:flex!important;flex-direction:column!important;gap:16px!important;align-items:stretch!important}
.ec-report-stock-print-modal .ec-report-print-fields label{width:100%!important}
.ec-report-stock-print-modal .ec-report-print-fields select{width:100%!important;height:42px!important;text-transform:uppercase!important}
.ec-report-stock-print-modal .ec-report-print-fields .is-hidden{display:none!important}
.ec-report-stock-print-modal .ec-front-modal-actions{background:#f7f7f7!important;border-top:1px solid #e6e6e6!important}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-front-secondary,
.ec-report-stock-print-modal .ec-front-modal-actions .ec-front-submit{height:38px!important;min-height:38px!important;padding:0 18px!important;border-radius:0!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-front-secondary{background:#ddd!important;border:1px solid #ccc!important;color:#222!important}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-front-secondary:hover{background:#cfcfcf!important}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-front-submit{background:#3dc302!important;border:1px solid #3dc302!important;color:#fff!important}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-front-submit:hover{background:#33a203!important;border-color:#33a203!important}


/* Relatórios v3.22.25 - busca condicionada e ações padronizadas */
.ec-report-stock-print-modal .ec-report-print-product-field{position:relative}
.ec-report-stock-print-modal .ec-report-print-product-search{display:block!important;width:100%!important;height:42px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important;text-transform:uppercase!important}
.ec-report-stock-print-modal .ec-report-print-product-field.is-hidden,
.ec-report-stock-print-modal .ec-report-print-location-field.is-hidden{display:none!important}
.ec-report-stock-print-modal .ec-report-print-mode-field{order:0}
.ec-report-stock-print-modal .ec-report-print-product-field{order:1}
.ec-report-stock-print-modal .ec-report-print-location-field{order:2}
.ec-report-stock-print-modal .ec-report-stock-print-run::before{display:none!important;content:none!important}


/* Relatórios v3.22.26 - modal e aba Valores */
.ec-report-stock-print-modal .ec-front-modal-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    padding:16px 24px!important;
}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-modal-cancel,
.ec-report-stock-print-modal .ec-front-modal-actions .ec-report-stock-print-run{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-width:130px!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 18px!important;
    border-radius:0!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1!important;
    text-transform:uppercase!important;
    box-sizing:border-box!important;
}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-modal-cancel{
    background:#fd342f!important;
    border:1px solid #fd342f!important;
    color:#fff!important;
}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-modal-cancel:hover{
    background:#c6261d!important;
    border-color:#c6261d!important;
}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-report-stock-print-run{
    background:#3dc302!important;
    border:1px solid #3dc302!important;
    color:#fff!important;
}
.ec-report-stock-print-modal .ec-front-modal-actions .ec-report-stock-print-run:hover{
    background:#33a203!important;
    border-color:#33a203!important;
}
.ec-report-stock-print-modal .ec-report-stock-print-run::before,
.ec-report-stock-print-modal .ec-report-stock-print-run::after{
    display:none!important;
    content:none!important;
}
.ec-report-stock-print-modal .ec-report-stock-print-run i{
    display:inline-block!important;
    font-size:13px!important;
    line-height:1!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-front-card{
    padding:0!important;
    overflow:hidden!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-report-card-title{
    padding:18px 22px!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-report-object-list{
    padding:12px 22px 20px!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-object-row{
    padding:12px 8px!important;
    margin:0!important;
    column-gap:14px!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-object-row:first-child{
    padding-top:12px!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-object-row:last-child{
    padding-bottom:12px!important;
}
.ec-report-panel[data-report-panel="financial"] .ec-object-actions{
    padding-left:16px!important;
    padding-right:4px!important;
}
@media(max-width:620px){
    .ec-report-stock-print-modal .ec-front-modal-actions{flex-direction:row!important;justify-content:center!important}
    .ec-report-stock-print-modal .ec-front-modal-actions .ec-modal-cancel,
    .ec-report-stock-print-modal .ec-front-modal-actions .ec-report-stock-print-run{width:auto!important;min-width:120px!important}
    .ec-report-panel[data-report-panel="financial"] .ec-report-card-title{padding:16px!important}
    .ec-report-panel[data-report-panel="financial"] .ec-report-object-list{padding:8px 14px 16px!important}
    .ec-report-panel[data-report-panel="financial"] .ec-object-row{padding:12px 4px!important}
    .ec-report-panel[data-report-panel="financial"] .ec-object-actions{padding-left:0!important;padding-right:0!important}
}
