/* Preserve the existing note-folder alignment. */
.pp .nt-block:has(.nt-grip)>.nt-folder-lbl{margin-left:19px}

.pp .wf-work-header{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%}
.pp .wf-work-caption{margin:5px 0 0;color:#64748b;font-size:13px}
.pp .wf-work-actions{display:flex;align-items:center;gap:10px}
.pp .wf-work-actions .cta,.pp .wf-work-actions .wf-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px}
.pp .wf-trigger{background:transparent!important;color:#475569!important;border:1px solid #dbe1e8!important;box-shadow:none!important}
.pp .wf-trigger:hover{background:#fff!important;color:#0f2942!important;border-color:#94a3b8!important}
.pp .wf-board{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important;align-items:start!important}
.pp .wf-board .kcol{width:auto!important;min-width:0;min-height:0!important;filter:none!important;flex:initial!important;gap:14px!important;background:transparent!important;border:1px solid transparent!important;padding:0!important}
.pp .wf-board .kcol.over{border-color:#93a9c5!important;background:#f1f5f9!important;border-radius:14px}
.pp .wf-board .kcol-h{padding:0 2px 14px;border-bottom:1px solid #dfe5ec}
.pp .wf-board .kcol-n{font-weight:600}
.pp .wf-board .dot{width:6px;height:6px}
.pp .wf-board .kcol-c{min-width:24px;padding:3px 7px;background:#e9edf2;border-radius:6px;text-align:center}
.pp .wf-board .kcard{padding:18px!important;gap:12px!important;border:1px solid #e0e5eb!important;border-radius:12px!important;box-shadow:0 2px 3px #12223a03!important}
.pp .wf-board .kcard:hover{border-color:#aebdce!important;box-shadow:0 3px 10px #12223a06!important}
.pp .wf-board .kcard .act{opacity:.6}
.pp .wf-board .kcard:hover .act,.pp .wf-board .kcard:focus-within .act{opacity:1}
.pp .wf-board .kempty{flex:none!important;min-height:148px!important;padding:24px 16px!important;gap:8px!important;background:transparent!important;border:1px dashed #dce2e9!important;border-radius:12px!important;text-align:center}
.pp .wf-board .kempty-ico{display:none}
.pp .wf-board .kempty b{font-size:13px;font-weight:500;color:#64748b}
.pp .wf-board .kempty small{font-size:12px;color:#64748b}
.pp .wf-board .kcard-mover{display:block!important;width:100%;margin-top:3px!important;height:34px!important;font-size:12px!important;background:#f8fafc!important;border-color:#e5e9ef!important;color:#526174!important}

.pp .wf-dialog{width:min(1040px,calc(100vw - 64px));max-width:none;max-height:calc(100dvh - 64px);padding:0;margin:auto;border:1px solid #dde3eb;border-radius:18px;background:#fff;color:#142c43;box-shadow:0 24px 100px #0f294233;overflow:auto;font-family:inherit}
.pp .wf-dialog::backdrop{background:rgb(15 29 48 / .32);backdrop-filter:blur(3px)}
.pp .wf-dialog button,.pp .wf-dialog input,.pp .wf-dialog select{font-family:inherit}
.pp .wf-dialog button{cursor:pointer}
.pp .wf-dialog :focus-visible,.pp .wf-work-header :focus-visible,.pp .wf-board :focus-visible{outline:2px solid #1d4ed8;outline-offset:3px}
.pp .wf-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 30px;background:#fff;border-bottom:1px solid #e9edf2}
.pp .wf-dialog-identity{display:flex;align-items:center;gap:13px}
.pp .wf-dialog-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e5eaf0;border-radius:12px;color:#4a6077}
.pp .wf-dialog h2{margin:0;font-size:21px;line-height:1.25;letter-spacing:-.02em;font-weight:700}
.pp .wf-dialog-header p{margin:4px 0 0;font-size:13px;color:#64748b}
.pp .wf-close{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#64748b;font-size:27px;line-height:1}
.pp .wf-close:hover{background:#f1f5f9;color:#142c43}
.pp .wf-dialog-content{padding:26px 30px 30px}
.pp .wf-dialog h3{margin:0;font-size:14px;font-weight:650}
.pp .wf-finance-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.pp .wf-period{display:flex;align-items:center;gap:10px;color:#64748b;font-size:13px}
.pp .wf-period select{width:190px;min-height:36px;padding:7px 10px;border:1px solid #dce3eb;border-radius:8px;background:#fff;font-size:13px;color:#334155}
.pp .wf-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px}
.pp .wf-summary-item{display:flex;flex-direction:column;gap:9px;min-width:0;padding:4px 24px;border-left:1px solid #e5eaf0}
.pp .wf-summary-item:first-child{padding-left:0;border-left:0}
.pp .wf-summary-item:last-child{padding-right:0}
.pp .wf-summary-item>span{color:#64748b;font-size:13px}
.pp .wf-summary-item>strong{font-size:clamp(20px,2.2vw,29px);font-weight:600;line-height:1.25;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pp .wf-summary-paid>strong{color:#25745a}
.pp .wf-unclassified{margin:-6px 0 24px;color:#64748b;font-size:12px;line-height:1.6}
.pp .wf-list-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 0 15px;border-top:1px solid #e5eaf0}
.pp .wf-list-heading>span{color:#64748b;font-size:12px}
.pp .wf-table-wrap{width:100%}
.pp .wf-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:13px}
.pp .wf-table th{padding:11px 12px;background:#f6f8fa;color:#64748b;font-size:12px;font-weight:500;text-align:left;white-space:nowrap}
.pp .wf-table th:first-child{border-radius:7px 0 0 7px}
.pp .wf-table th:last-child{border-radius:0 7px 7px 0}
.pp .wf-table td{padding:18px 12px;border-bottom:1px solid #edf0f4;vertical-align:middle}
.pp .wf-table tbody tr:last-child td{border-bottom:0}
.pp .wf-table tbody tr:hover{background:#fafbfd}
.pp .wf-table .wf-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.pp .wf-project-cell{width:31%;max-width:300px}
.pp .wf-project-link{display:block;padding:0;border:0;background:transparent;color:#142c43;text-align:left;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.pp .wf-project-link:hover{color:#1d4ed8}
.pp .wf-project-cell small{display:block;margin-top:4px;font-size:12px;color:#64748b;line-height:1.5}
.pp .wf-status{display:inline-flex;align-items:center;max-width:100%;padding:4px 8px;border-radius:6px;background:#f1f4f7;color:#586879;font-size:12px;font-weight:500;white-space:nowrap}
.pp .wf-status.wf-recebido{background:#edf6f1;color:#28684e}
.pp .wf-status.wf-parcial{background:#faf3e7;color:#8a641c}
.pp .wf-status.wf-nao_recebido{background:#f1f4f7;color:#526276}
.pp .wf-edit{display:flex;align-items:center;gap:6px;padding:8px 0;border:0;background:none;color:#526276;font-size:12px}
.pp .wf-edit:hover{color:#1d4ed8}
.pp .wf-empty{padding:36px 12px;text-align:center;color:#64748b}
.pp .wf-empty strong{font-size:15px;font-weight:500;color:#334155}
.pp .wf-empty p{margin:8px 0 0;font-size:13px;line-height:1.6}
.pp .wf-editor{padding:24px 30px 0}
.pp .wf-back{display:flex;align-items:center;gap:7px;padding:4px 0;border:0;background:none;color:#64748b;font-size:13px}
.pp .wf-editor-title{margin:24px 0}
.pp .wf-editor-title h3{font-size:19px;overflow-wrap:anywhere}
.pp .wf-editor-title p{margin:5px 0 0;font-size:14px;color:#64748b}
.pp .wf-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pp .wf-field{display:flex;flex-direction:column;gap:8px}
.pp .wf-field label{font-size:14px;color:#475569}
.pp .wf-field input,.pp .wf-field select{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#142c43;font-size:14px}
.pp .wf-editor-balance{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0;padding:20px 0;border-top:1px solid #e9edf2;color:#64748b;font-size:14px}
.pp .wf-editor-balance strong{color:#142c43;font-size:22px;font-variant-numeric:tabular-nums}
.pp .wf-editor-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px 0;border-top:1px solid #e9edf2}
.pp .wf-saved{margin:0 0 10px;color:#28684e;font-size:13px}
.pp .wf-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pp .wf-form-fields{display:flex;flex-direction:column;gap:13px;margin-top:2px;padding-top:16px;border-top:1px solid #e5e7eb}
.pp .wf-form-title{color:#0f2942;font-size:14px;font-weight:600}
@media(max-width:1100px){.pp .wf-board{gap:14px!important}.pp .wf-board .kcard{padding:15px!important}}
@media(max-width:760px){
  .pp .wf-work-header{align-items:flex-start;flex-wrap:wrap;gap:16px}.pp .wf-work-actions{flex-wrap:wrap}
  .pp .wf-board{grid-template-columns:1fr;gap:26px!important}
  .pp .wf-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:14px}
  .pp .wf-dialog-header{padding:20px}.pp .wf-dialog-content{padding:20px}
  .pp .wf-finance-toolbar{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:24px}
  .pp .wf-period{width:100%;justify-content:space-between}.pp .wf-period select{width:auto;max-width:75%}
  .pp .wf-summary-item{padding:2px 12px;gap:7px}.pp .wf-summary-item>span{font-size:12px}.pp .wf-summary-item>strong{font-size:20px}
  .pp .wf-table thead{display:none}.pp .wf-table,.pp .wf-table tbody{display:block}
  .pp .wf-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;padding:20px 0;border-bottom:1px solid #e5eaf0}
  .pp .wf-table tr:first-child{padding-top:6px}.pp .wf-table tr:last-child{border-bottom:0}
  .pp .wf-table td{display:block;padding:0;border:0}.pp .wf-table .wf-project-cell{grid-column:1/-1;width:100%;max-width:none}
  .pp .wf-table .wf-number{text-align:left;font-size:13px}.pp .wf-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:6px;color:#64748b;font-size:12px;font-weight:400}
  .pp .wf-table td[data-label='Situação']{grid-column:1/3}.pp .wf-table td[data-label='Situação']:before{display:none}.pp .wf-row-action{justify-self:end;align-self:center}
  .pp .wf-edit{padding:2px 0}.pp .wf-editor{padding:20px 20px 0}.pp .wf-editor-grid{gap:18px}
}
@media(max-width:450px){.pp .wf-work-actions{width:100%}.pp .wf-work-actions>.cta,.pp .wf-work-actions>.wf-trigger{flex:1}.pp .wf-summary{grid-template-columns:1fr;gap:14px}.pp .wf-summary-item{flex-direction:row;justify-content:space-between;align-items:baseline;padding:0;border:0;gap:12px}.pp .wf-summary-item>strong{font-size:23px}.pp .wf-dialog h2{font-size:19px}.pp .wf-dialog-icon{display:none}.pp .wf-editor-grid{grid-template-columns:1fr}.pp .wf-editor-footer>.btn-o,.pp .wf-editor-footer>.cta{flex:1;justify-content:center}}
