.tpf{--tpf-blue:#123d8d;--tpf-border:#dbe3ef;--tpf-muted:#5d6b81;color:#182840;max-width:100%;min-width:0;padding:20px 0}.tpf *{box-sizing:border-box}.tpf h1{font-size:1.65rem;margin:0 0 6px}.tpf h2{font-size:1.2rem;margin:0}.tpf p{color:var(--tpf-muted);margin:8px 0 16px}.tpf-heading,.tpf-actions,.tpf-results,.tpf-pagination{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tpf-heading,.tpf-results{justify-content:space-between}.tpf button,.tpf .tpf-button{font:inherit;font-size:.9rem;border:1px solid var(--tpf-border);background:#fff;color:#172c50;border-radius:7px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;cursor:pointer;line-height:1.4;min-height:40px}.tpf button:hover,.tpf .tpf-button:hover{background:#eef3fb;color:#172c50}.tpf button:disabled{opacity:.6;cursor:not-allowed}.tpf .tpf-primary,.tpf [aria-current=page]{background:var(--tpf-blue);border-color:var(--tpf-blue);color:#fff}.tpf .tpf-primary:hover,.tpf [aria-current=page]:hover{background:#0b2c68;color:#fff}.tpf :focus-visible{outline:3px solid #89b6ff;outline-offset:2px}.tpf-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#f5f8fd;border:1px solid var(--tpf-border);padding:16px;border-radius:9px;margin:20px 0 16px}.tpf label{display:flex;flex-direction:column;gap:6px;font-size:.88rem;font-weight:500;margin:0}.tpf input,.tpf select{font:inherit;font-weight:400;color:#182840;background:#fff;border:1px solid #cbd6e6;border-radius:6px;padding:10px;min-width:0;max-width:100%}.tpf .tpf-grow{flex:1;min-width:180px}.tpf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.tpf-results{font-size:.88rem;margin-bottom:12px}.tpf-results span{color:var(--tpf-muted)}.tpf-table-wrap{overflow-x:auto;border:1px solid var(--tpf-border);border-radius:8px}.tpf table{border-collapse:collapse;width:100%;background:#fff;font-size:.92rem}.tpf th{background:#edf2fa;text-align:left;color:#33496c;font-weight:600}.tpf td,.tpf th{padding:13px 12px;border-bottom:1px solid #e5ebf4;vertical-align:middle}.tpf tbody tr:last-child td{border-bottom:0}.tpf tbody tr[data-tpf-row]{cursor:pointer}.tpf tbody tr:hover{background:#f4f8ff}.tpf-document{color:#15438c;font-weight:500;text-decoration:none;overflow-wrap:anywhere}.tpf-document:hover{text-decoration:underline}.tpf-chip{display:inline-block;padding:4px 7px;background:#eef1f6;border-radius:5px;font-size:.76rem;white-space:nowrap}.tpf-published{background:#e5f3e9;color:#216139}.tpf-pagination{justify-content:flex-end;margin-top:18px}.tpf .tpf-alert{padding:12px;background:#fff0ed;color:#9b2c20;border-radius:7px}.tpf .tpf-success{padding:12px;background:#eaf6ee;color:#24653a;border-radius:7px}.tpf dialog{color:#182840;border:1px solid var(--tpf-border);padding:0;border-radius:12px;background:#fff;box-shadow:0 20px 70px #07152e66;max-width:calc(100vw - 24px)}.tpf dialog::backdrop{background:#061630a6}.tpf dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 18px;border-bottom:1px solid var(--tpf-border)}.tpf-viewer{width:60vw;max-width:1050px!important;height:90vh;max-height:800px}.tpf-viewer[open]{display:flex;flex-direction:column}.tpf-view-title{padding:10px 18px;background:#f3f6fb;overflow-wrap:anywhere}.tpf-view-content{flex:1;min-height:0;overflow:auto;background:#e9edf3;padding:8px;text-align:center}.tpf-view-content iframe{width:100%;height:100%;min-height:260px;border:0;background:#fff}.tpf-view-content img{max-width:100%;height:auto;background:#fff}.tpf-view-content p{padding:24px;background:#fff}.tpf-share{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px;border-bottom:1px solid var(--tpf-border)}.tpf-share input{flex:1;min-width:160px}.tpf-share [role=status]{width:100%;font-size:.85rem}.tpf [hidden]{display:none!important}.tpf-editor{width:600px;max-height:90vh;overflow:auto}.tpf-editor form{display:flex;flex-direction:column;gap:16px;padding:20px}.tpf-editor>p,.tpf-menu-list{margin:16px 20px}.tpf-editor small{font-size:.8rem;color:var(--tpf-muted);overflow-wrap:anywhere}.tpf-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tpf-menu-list>div{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--tpf-border)}.tpf-menu-list small{display:block}.tpf-editor form>button{align-self:flex-end}.tpf-editor form p{font-size:.85rem;margin:0}@media(max-width:1100px){.tpf-viewer{width:75vw}}@media(max-width:650px){.tpf-heading{align-items:flex-start}.tpf-heading h1{font-size:1.4rem}.tpf-search{padding:12px}.tpf .tpf-grow{flex-basis:100%}.tpf button,.tpf .tpf-button{min-height:44px}.tpf input,.tpf select{font-size:16px}.tpf td,.tpf th{padding:11px 8px}.tpf-viewer{width:100vw!important;max-width:100vw!important;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.tpf-viewer header{padding:12px}.tpf-viewer header strong{width:100%}.tpf-viewer .tpf-actions{width:100%;justify-content:space-between}.tpf-fields{grid-template-columns:1fr}.tpf-pagination{justify-content:center}}
/* Direct WhatsApp delivery controls, scoped to Forms. */
.tpf .tpf-wa-button{background:#128447;color:#fff;border-color:#128447}.tpf .tpf-wa-button:hover{background:#0c6938;color:#fff}.tpf-wa-status{padding:12px 16px;background:#edf7ef;color:#17482c;border-bottom:1px solid #dbe3ef;overflow-wrap:anywhere}.tpf-wa-panel{padding:16px;background:#fff;border-bottom:1px solid #dbe3ef;overflow:auto;max-height:55vh;flex-shrink:0}.tpf-wa-panel label{margin:10px 0}.tpf-wa-panel textarea{width:100%;font:inherit;padding:10px;border:1px solid #cbd6e6;border-radius:6px}.tpf .tpf-wa-confirm{flex-direction:row;align-items:flex-start;font-weight:400}.tpf-wa-panel p,.tpf-wa-panel small{font-size:.85rem}.tpf-viewer header .tpf-actions{gap:6px}.tpf-viewer header .tpf-actions button,.tpf-viewer header .tpf-actions a{font-size:.8rem;padding:8px 10px}@media(max-width:650px){.tpf-wa-panel textarea{font-size:16px}.tpf-viewer header .tpf-actions{justify-content:flex-start}.tpf-wa-status{max-height:20vh;overflow:auto}}
