/* V614 — pátio 1017: relatório diário de caixa; estilos isolados da impressão térmica. */
.pc614-daily-button{background:#1561d3!important;border-color:#1561d3!important;color:#fff!important;font-weight:750!important}
.pc614-daily-dialog{border:1px solid #c9d8ec;border-radius:16px;width:min(94vw,780px);max-width:780px;max-height:92vh;overflow:auto;padding:0;background:#fff;color:#092c4f;box-shadow:0 24px 90px rgba(0,23,53,.32)}
.pc614-daily-dialog::backdrop{background:rgba(8,26,48,.6)}
.pc614-dialog-title{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 22px;background:#0f62d8;color:white}
.pc614-dialog-title h2{font-size:21px;font-weight:800;color:#fff;margin:0}
.pc614-close{color:#fff;background:transparent;border:0;font-size:30px;line-height:1;padding:0 7px;cursor:pointer}
.pc614-datebar{display:flex;gap:18px;align-items:end;padding:20px 22px;border-bottom:1px solid #e0e8f1;flex-wrap:wrap}
.pc614-datebar label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:750;flex:1;min-width:175px}
.pc614-datebar input{width:100%;height:42px;font-size:15px;border:1px solid #c6d7ed;border-radius:8px;padding:6px 12px;color:#193b61;background:#fff}
.pc614-datebar>div{display:flex;flex-direction:column;gap:5px;flex:1;min-width:170px}
.pc614-datebar small{font-weight:600;color:#5f7089}
.pc614-datebar strong{font-size:13px;line-height:1.45}
.pc614-datebar button,.pc614-actions button{border:1px solid #195acf;border-radius:8px;padding:11px 16px;color:#fff;background:#1561d3;font-weight:750;cursor:pointer;min-height:42px}
.pc614-datebar button:disabled,.pc614-actions button:disabled{background:#d2dceb;border-color:#d2dceb;color:#73839c;cursor:not-allowed}
.pc614-result{padding:16px 22px}
.pc614-report-head h3{font-size:18px;color:#123e6c;margin:0 0 5px}
.pc614-report-head p{font-size:12px;margin:0 0 16px;color:#61768e}
.pc614-panels{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.pc614-summary-block{border:1px solid #d9e5f1;border-radius:10px;padding:14px;background:#fbfdff}
.pc614-summary-block h4{font-size:15px;margin:0 0 12px;color:#153f6a;border-bottom:1px solid #e5edf6;padding-bottom:10px}
.pc614-value{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:8px 0;border-bottom:1px solid #eff3f7;font-size:13px}
.pc614-value:last-child{border-bottom:0}.pc614-value strong{white-space:nowrap;color:#092c4f}
.pc614-total{background:#eaf7ee;border:1px solid #cfe9d4;border-radius:7px;padding:10px;margin-top:8px;font-weight:800}
.pc614-finance{margin-top:13px}
.pc614-hint{font-size:12px;color:#536d86;line-height:1.55;margin:12px 0 0}
.pc614-error{border-radius:8px;background:#fff0f0;border:1px solid #f3caca;padding:12px;color:#a12b2b}
.pc614-actions{padding:16px 22px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid #e0e8f1}
.pc614-actions .pc614-muted{background:#edf1f7;color:#1d3550;border-color:#d7e1ed}
.pc614-daily-dialog>.pc614-hint{padding:0 22px 18px;margin:0}
@media(max-width:610px){.pc614-dialog-title{padding:13px 15px}.pc614-dialog-title h2{font-size:17px}.pc614-datebar,.pc614-result{padding:14px}.pc614-panels{grid-template-columns:1fr}.pc614-actions{padding:12px;justify-content:stretch}.pc614-actions button{flex:1;min-width:42%}}
/* Evita sobreposição da data e do nome do pátio no formulário. */
.pc614-datebar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(185px,1fr) auto;align-items:end}
.pc614-datebar label,.pc614-datebar>div{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.pc614-datebar input{display:block;max-width:100%}
@media(max-width:610px){.pc614-datebar{grid-template-columns:minmax(0,1fr);gap:12px}.pc614-datebar button{width:100%}}

/* V615: botão do relatório entre Adicionar recebido e Fechar o caixa, só no pátio 1017. */
#pc614-daily-cash{white-space:nowrap;flex-shrink:0}
@media(max-width:560px){#pc614-daily-cash{width:100%;white-space:normal}}

/* V616: o relatorio aparece para o perfil Gerente no patio 1017. */
.cash-toolbar-actions #pc614-daily-cash{white-space:nowrap;flex-shrink:0}
@media(max-width:760px){.cash-toolbar-actions #pc614-daily-cash{min-height:42px;max-width:100%;white-space:normal}}

/* V617: relatorio diario liberado para os patios 1001, 1004, 1005, 1011 e 1017. */
.cash-toolbar-actions #pc614-daily-cash{white-space:nowrap;flex-shrink:0}
