.eva-boletos{max-width:1180px;margin:18px auto 28px;font:inherit;color:#243f3e}.eva-boletos h2{margin:0 0 7px;font-size:1.45rem;color:#194741}.eva-boletos p{line-height:1.5;color:#58716c}.eva-boletos-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.eva-boletos-chip,.eva-boleto-tag{background:#e7f3ee;color:#216952;border-radius:14px;padding:5px 10px;font-size:.8rem;display:inline-block}.eva-boletos-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f5f8f6;border:1px solid #dce9e2;border-radius:12px;padding:12px;margin:14px 0}.eva-boletos-toolbar form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.eva-boletos button,.eva-boletos-link{background:#206f57;color:#fff!important;border:0;border-radius:7px;display:inline-block;padding:8px 12px;font-size:13px;text-decoration:none;cursor:pointer}.eva-boletos button:hover,.eva-boletos-link:hover{background:#164b40}.eva-boletos-table{overflow-x:auto;border:1px solid #e1e7e3;border-radius:12px}.eva-boletos table{width:100%;border-collapse:collapse;background:#fff}.eva-boletos th{text-align:left;padding:12px;background:#f4f7f5;font-size:12px;color:#4f6962}.eva-boletos td{padding:12px;border-top:1px solid #edf0ee;vertical-align:top;font-size:13px}.eva-boletos small{display:block;color:#84928b;font-size:11px;margin-top:3px}.eva-boleto-muted{color:#8a928d}.eva-boletos details>summary{cursor:pointer;color:#206f57}.eva-boletos-actions{max-width:320px;min-width:230px;background:#f9fbf9;border:1px solid #e5ebe8;border-radius:10px;padding:12px;margin-top:8px}.eva-boletos-actions form{padding:10px 0;border-bottom:1px solid #e8ecea}.eva-boletos-actions label{display:block;margin-bottom:8px;color:#4f6059}.eva-boletos-actions input:not([type=checkbox]){max-width:100%;width:100%;box-sizing:border-box;display:block;margin-top:5px}.eva-boletos-notice{padding:10px 14px;border-left:3px solid #167557;background:#f0f8f3}.eva-boletos-pagination{display:flex;justify-content:center;gap:20px;margin:18px}.eva-boletos-pagination a{color:#206f57}@media(max-width:720px){.eva-boletos-head{align-items:flex-start;flex-direction:column}.eva-boletos td,.eva-boletos th{padding:9px}.eva-boletos-actions{min-width:185px}}

.eva-boletos-enrollment{background:#fff;border:1px solid #dfeae5;border-radius:12px;margin:10px 0;overflow:hidden}.eva-boletos-enrollment>summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 16px;cursor:pointer;list-style:revert}.eva-boletos-enrollment>summary strong{color:#204b42}.eva-boletos-enrollment>summary span:not(.eva-boletos-chip){color:#647a73;font-size:12px}.eva-boletos-enrollment>summary .eva-boletos-chip{margin-left:auto}.eva-boletos-enrollment .eva-boletos-table{border:0;border-top:1px solid #e3ede8;border-radius:0}.eva-boleto-finance-marker{display:inline-block;margin:6px 0 0;padding:3px 8px;border-radius:14px;background:#e7f3ee;color:#17634e;font-size:11px;font-weight:600;white-space:normal}
.eva-boletos-staff-inline{font-size:12px;margin-top:6px}.eva-boletos-staff-inline>details{max-width:230px}.eva-boletos-staff-inline summary{cursor:pointer;color:#206f57}.eva-boletos-staff-inline form{display:grid;gap:7px;padding:9px;margin-top:5px;background:#f5f8f6;border:1px solid #dce9e2;border-radius:8px}.eva-boletos-staff-inline input[type=file]{max-width:215px}.eva-boletos-staff-inline input[type=text]{max-width:215px}.eva-boletos-staff-inline button{cursor:pointer;padding:6px 9px;background:#206f57;border:0;color:white;border-radius:6px}.eva-boletos-checkout h3{font-size:1.08rem;margin:22px 0 8px}.eva-boletos-checkout .eva-boletos-link{margin-top:10px}

.eva-boleto-finance-download{display:inline-block;margin:6px 0 0 8px;font-size:12px;color:#206f57;text-decoration:underline}

/* Safe overlay added by the standalone boleto module. */
.eva-boleto-group-panel{background:#fff;border:1px solid #dce9e2;border-radius:12px;padding:18px;margin:12px 0 20px;color:#243f3e}
.eva-boleto-group-panel h3{color:#194741;margin:0 0 8px}.eva-boleto-group-panel .eva-boletos-link{padding:5px 9px;margin:3px;font-size:12px}
.eva-boleto-proof-picker{font-size:12px;display:block;margin-top:7px}.eva-boleto-proof-picker input{max-width:185px;display:block;margin-top:3px}
.eva-boleto-group-warning{background:#fff4e4;color:#69430e!important;border-left:3px solid #d99535;padding:9px 12px;border-radius:5px}
.eva-boleto-proof-status{font-weight:600;font-size:12px}

/* Safe overlay added by the standalone boleto module. */
.eva-boleto-group-panel{background:#fff;border:1px solid #dce9e2;border-radius:12px;padding:18px;margin:12px 0 20px;color:#243f3e}
.eva-boleto-group-panel h3{color:#194741;margin:0 0 8px}.eva-boleto-group-panel .eva-boletos-link{padding:5px 9px;margin:3px;font-size:12px}
.eva-boleto-proof-picker{font-size:12px;display:block;margin-top:7px}.eva-boleto-proof-picker input{max-width:185px;display:block;margin-top:3px}
.eva-boleto-group-warning{background:#fff4e4;color:#69430e!important;border-left:3px solid #d99535;padding:9px 12px;border-radius:5px}
.eva-boleto-proof-status{font-weight:600;font-size:12px}

/* EVA Boletos 1.2.5 — Family finance split */
.eva-boleto-family-block{margin:16px 0 22px;padding:17px;background:#fff;border:1px solid #dce8e2;border-radius:12px}
.eva-boleto-family-block h3{margin:0 0 6px;color:#194741;font-size:1.1rem}.eva-boleto-family-block p{font-size:13px;color:#58716c;margin:6px 0 13px}.eva-boleto-family-wrap{overflow-x:auto}
.eva-boleto-family-block table{width:100%;border-collapse:collapse}.eva-boleto-family-block th,.eva-boleto-family-block td{padding:10px;border-bottom:1px solid #e3ece6;text-align:left;font-size:12px;vertical-align:top}
.eva-boleto-family-block th{background:#eef5f1;color:#335b50}.eva-boleto-status{color:#226d54;font-weight:600}
.eva-boleto-inline-link,.eva-boleto-family-all{display:inline-block;font-size:12px;margin:3px 10px 3px 0;color:#226d54;text-decoration:underline}.eva-boleto-family-all{margin-top:12px}.eva-boleto-proof-upload{min-width:180px;max-width:310px}.eva-boleto-proof-upload p{font-size:11px;line-height:1.45}.eva-boleto-proof-upload input{max-width:100%;font-size:11px}

/* EVA Boletos 1.2.9: totals for each family finance table and combined summary */
.eva-boleto-table-total,.eva-boleto-native-total-value{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 10px;margin-top:5px;border-top:1px solid #dde9e2;color:#284f42;font-size:13px}
.eva-boleto-table-total strong,.eva-boleto-native-total-value strong{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}
.eva-boleto-native-total{margin:6px 0 14px;background:#f5f9f6;border:1px solid #e0eae3;border-radius:9px;padding:0 9px}
.eva-boleto-payment-summary{margin:14px 0 22px;background:#f5f9f6;border:1px solid #dce9e2;border-radius:12px;padding:12px 18px}
.eva-boleto-payment-summary>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:13px;color:#465f55}
.eva-boleto-payment-summary strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.eva-boleto-payment-summary .eva-boleto-summary-grand{border-top:1px solid #d6e2da;margin-top:5px;padding-top:12px;color:#194741;font-weight:700;font-size:15px}
.eva-boleto-summary-caption{display:block;color:#71867d;font-size:11px;margin-top:7px;line-height:1.5}

/* 1.2.10: totals inside both native tables and compact boleto actions */
.eva-boleto-family-block tfoot .eva-boleto-total-row th,.eva-boleto-family-block tfoot .eva-boleto-total-row td,
.eva-finance-scroll table tfoot .eva-boleto-total-row th,.eva-finance-scroll table tfoot .eva-boleto-total-row td{background:#f0f7f3!important;border-top:1px solid #dce9e2!important;color:#194b3c!important;font-weight:700!important;padding:12px!important;font-size:13px!important}
.eva-boleto-total-row th{text-align:right!important}.eva-boleto-total-amount{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}
.eva-boleto-actions-inline{min-width:180px}.eva-boleto-action{display:inline-flex;align-items:center;justify-content:center;gap:4px;text-decoration:none!important;white-space:nowrap;min-height:29px;padding:5px 10px;margin:2px 5px 4px 0;border-radius:7px;border:1px solid #bad8c8;color:#1b6650!important;background:#fff;font-size:11px;font-weight:650;transition:background .15s ease}
.eva-boleto-action:hover,.eva-boleto-action:focus-visible{background:#eaf4ee;color:#144b3b!important;border-color:#6aaa89;outline-offset:2px}
.eva-boleto-action-download{background:#206f57;color:white!important;border-color:#206f57}.eva-boleto-action-download:hover,.eva-boleto-action-download:focus-visible{background:#155340;color:white!important}
.eva-boleto-activity{display:flex;gap:5px;flex-wrap:wrap;margin:3px 0 6px}.eva-boleto-activity:empty{display:none}.eva-boleto-activity-badge{border-radius:20px;padding:3px 7px;font-size:10px;font-weight:650;background:#edf1f0;color:#4d6460;white-space:nowrap}.eva-boleto-activity-viewed{background:#eaf0fc;color:#365e95}.eva-boleto-activity-downloaded{background:#e2f4e9;color:#21734c}.eva-boleto-activity-proof{background:#fff3df;color:#825a17}
.eva-boleto-status{display:inline-block;border-radius:20px;background:#edf4ef;padding:4px 8px;font-size:11px;font-weight:650;white-space:normal}.eva-boleto-status-waiting,.eva-boleto-status-proof{background:#fff3df;color:#80561c}.eva-boleto-status-paid{background:#e0f4e7;color:#216c42}
@media(max-width:640px){.eva-boleto-action{margin-bottom:6px}.eva-boleto-total-row th{text-align:left!important}}

.eva-boleto-action-copy{border:1px solid #bfd6e3;background:#eff7fc;color:#084b76;border-radius:7px;padding:7px 10px;cursor:pointer;font:inherit}.eva-boleto-activity-copied{background:#eaf3ff;color:#185a8a}

/* 1.2.13 — private, in-page PDF preview and accessible action feedback. */
.eva-boleto-preview-dialog{width:min(960px,94vw);max-width:94vw;height:min(88vh,900px);max-height:90vh;padding:0;border:0;border-radius:14px;box-shadow:0 20px 70px rgba(10,35,28,.3);overflow:hidden;background:#fff;color:#183e32}
.eva-boleto-preview-dialog::backdrop{background:rgba(12,27,26,.72)}
.eva-boleto-preview-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:16px;border-bottom:1px solid #e2ebe5;background:#fff}
.eva-boleto-preview-header strong{font-size:15px}.eva-boleto-preview-close{background:#f0f6f2;border:1px solid #d2e4d8;border-radius:8px;padding:8px 12px;color:#205d49;cursor:pointer}
.eva-boleto-preview-close:hover{background:#e4f1e8}
.eva-boleto-preview-content{height:calc(100% - 62px);background:#e5ebe7}
.eva-boleto-preview-content iframe{width:100%;height:100%;display:block;border:0;background:#fff}
.eva-boleto-actions-inline button.eva-boleto-action{font-family:inherit;line-height:1.4;cursor:pointer}
.eva-boleto-action:disabled{opacity:.72;cursor:progress}
.eva-boleto-is-loading:before{content:"";width:12px;height:12px;display:inline-block;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:eva-boleto-spin .7s linear infinite}
@keyframes eva-boleto-spin{to{transform:rotate(360deg)}}
.eva-boleto-download-feedback{display:block;color:#ac3f34;font-size:11px;margin:3px 0}
@media(max-width:600px){.eva-boleto-preview-dialog{width:98vw;max-width:98vw;height:92vh;max-height:92vh}.eva-boleto-preview-header{padding:10px 12px}}

/* 1.2.14: WooCommerce orders (legacy and HPOS) boleto indicator */
.column-eva_boleto_link{width:165px;min-width:125px}.eva-boleto-order-badge,.eva-boleto-order-state{display:table;width:max-content;max-width:100%;box-sizing:border-box;border-radius:16px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1.5;margin-bottom:4px}.eva-boleto-order-badge{background:#e2f2eb;color:#17634b}.eva-boleto-order-state.is-pending{background:#fff2d7;color:#805819}.eva-boleto-order-state.is-paid{background:#e2f4e8;color:#1d6a40}.eva-boleto-order-action,.eva-boleto-order-count{display:block;font-size:11px;margin-top:3px}.eva-boleto-order-count{color:#646970}

/* 1.2.15 — paid method identification in family and staff Finance lists. */
.eva-app .eva-finance-scroll .eva-boleto-paid-method{display:inline-flex;align-items:center;vertical-align:middle;gap:5px;margin:4px 0 3px 7px;padding:4px 9px;border:1px solid #c7b7ea;border-radius:999px;background:#f2ecff;color:#67449b;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap}
.eva-app .eva-finance-scroll .eva-boleto-paid-method svg{display:inline-block;flex:none;stroke:currentColor}
/* EVA Complementos may also render a generic Boleto tag; avoid double labels. */
.eva-app .eva-finance-scroll tr:has(.eva-boleto-paid-method) .eva-comp-method[data-method="Boleto"]{display:none}
