.fp-shell{--fp-blue:#2563eb;--fp-ink:var(--text-main,#173253);color:var(--fp-ink);background:var(--bg-card,#fff);border:1px solid var(--border-color,#d6e1ef);border-radius:16px;padding:24px;min-width:0}.fp-head,.fp-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fp-head h2,.fp-head h3{margin:0 0 6px}.fp-head p,.fp-nota{color:var(--text-muted,#667e99);line-height:1.55;margin:4px 0}.fp-actions{justify-content:flex-end}.fp-filtros{display:grid;grid-template-columns:minmax(220px,2fr) minmax(160px,1fr);gap:16px;margin-top:24px;max-width:850px}.fp-shell label,.fp-dialog label{display:flex;flex-direction:column;gap:7px;color:var(--text-muted,#667e99);font-size:14px}.fp-shell input,.fp-shell select,.fp-dialog input,.fp-dialog select,.fp-dialog textarea{box-sizing:border-box;width:100%;min-height:42px;border:1px solid var(--border-color,#ccd9eb);border-radius:8px;background:var(--bg-card,#fff);color:var(--text-main,#173253);padding:9px 12px;font:inherit}.fp-dialog input[type=checkbox],.fp-shell input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0;padding:0;flex:0 0 18px;accent-color:var(--fp-blue,#2563eb)}.fp-dialog .fp-check{flex-direction:row;align-items:center;gap:12px;line-height:1.5}.fp-check span{flex:1}.fp-check b{color:var(--text-main,#173253);white-space:nowrap}.fp-dialog :is(button,input,select,textarea,summary):focus-visible,.fp-shell :is(button,input,select):focus-visible{outline:3px solid #8cafff;outline-offset:3px}.fp-resumo{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:24px 0;border-block:1px solid var(--border-color,#d6e1ef);margin:24px 0}.fp-resumo>div:not(.fp-actions){flex:1;min-width:200px}.fp-resumo span,.fp-resumo strong{display:block}.fp-resumo span{font-size:13px;color:var(--text-muted,#667e99);margin-bottom:8px}.fp-resumo strong{font-size:28px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.fp-bloco{margin-top:24px}.fp-bloco h3{font-size:17px}.fp-scroll{overflow:auto;max-width:100%;border:1px solid var(--border-color,#d6e1ef);border-radius:10px}.fp-shell table{width:100%;border-collapse:collapse;min-width:660px;font-size:13px}.fp-shell th{text-align:left;font-size:12px;font-weight:600;background:var(--bg-main,#f4f7fc);color:var(--text-muted,#667e99)}.fp-shell td,.fp-shell th{padding:14px 12px;border-bottom:1px solid var(--border-color,#d6e1ef);vertical-align:middle}.fp-shell tbody tr:last-child td{border-bottom:0}.fp-shell small,.fp-dialog small{display:block;font-size:12px;color:var(--text-muted,#667e99);margin-top:4px}.fp-status{display:inline-block;border-radius:20px;padding:5px 10px;background:var(--bg-main,#edf3ff);font-size:12px;white-space:nowrap}.fp-ok{background:#e7f6ef;color:#0b704f}.fp-vazio{padding:24px 0}.fp-dialog{margin:auto;box-sizing:border-box;width:min(820px,calc(100vw - 28px));max-height:88dvh;border:1px solid var(--border-color,#d6e1ef);border-radius:16px;padding:24px;color:var(--text-main,#173253);background:var(--bg-card,#fff);box-shadow:0 22px 80px #12294d33;overflow:auto}.fp-dialog::backdrop{background:#142c4b77}.fp-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:sticky;top:-24px;background:var(--bg-card,#fff);padding:12px 0;border-bottom:1px solid var(--border-color,#d6e1ef);z-index:1}.fp-dialog>header h2{margin:0;font-size:21px}.fp-dialog p{line-height:1.55;max-width:78ch}.fp-form{display:flex;flex-direction:column;gap:18px}.fp-form>.btn{align-self:flex-end}.fp-dupla{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fp-dialog details{border:1px solid var(--border-color,#d6e1ef);border-radius:10px;padding:14px}.fp-dialog summary{cursor:pointer;font-weight:600}.fp-selecao{max-height:220px;overflow:auto;padding:10px 2px 2px}.fp-selecao .fp-check{padding:10px 0;border-bottom:1px solid var(--border-color,#d6e1ef)}.fp-selecao .fp-check:last-child{border:0}.fp-calculo{margin:8px 0 16px;font-variant-numeric:tabular-nums}.fp-calculo>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 4px;border-bottom:1px solid var(--border-color,#d6e1ef)}.fp-calculo dd{margin:0;font-weight:700;white-space:nowrap}.fp-calculo .fp-liquido{padding:18px 14px;background:var(--bg-main,#edf3ff);border-radius:10px;border:0;margin-top:10px;color:var(--text-main,#173253);font-size:20px;font-weight:700}.fp-observacoes{white-space:pre-wrap;overflow-wrap:anywhere}#fpEditorAviso:not(:empty),#fpAviso:not(:empty){padding:10px 0;line-height:1.5}#fpEditorAviso button{margin-top:8px}.fp-app{width:min(1050px,calc(100vw - 20px));padding:16px}.fp-app .fp-shell{border:0;padding:16px 0}.fp-app>button{margin-bottom:12px}.fp-dialog button:disabled{opacity:.55;cursor:wait}@media(max-width:600px){.fp-shell{padding:16px}.fp-filtros,.fp-dupla{grid-template-columns:1fr}.fp-resumo{gap:16px}.fp-resumo strong{font-size:25px}.fp-head{align-items:flex-start}.fp-dialog{padding:18px;max-height:92dvh}.fp-dialog>header{top:-18px}.fp-form>.btn,.fp-resumo>.fp-actions{width:100%}.fp-dialog .fp-actions .btn{flex:1}.fp-calculo .fp-liquido{font-size:18px}.fp-check{font-size:13px}.fp-app{padding:12px}.fp-nota{font-size:13px}}
