.pff{width:100%;max-width:1680px;margin:0 auto 56px}.pff__hero{text-align:center;padding:8px 0 20px}.pff__hero-badges{display:flex;justify-content:center;gap:8px;align-items:center;flex-wrap:wrap}.pff__eyebrow,.pff__free{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:900}.pff__eyebrow{background:#eef0ff;color:var(--brand)}.pff__free{background:#eaf8ef;color:#18733b}.pff__hero h1{margin:12px 0 7px;font-size:clamp(30px,3.6vw,46px);line-height:1.08}.pff__hero p{max-width:860px;margin:0 auto;color:var(--muted);line-height:1.75;font-size:15px}.pff__upload-card{padding:15px}.pff__dropzone{min-height:210px;border:2px dashed #d7dcff;border-radius:22px;display:flex;align-items:center;justify-content:center;gap:20px;text-align:center;padding:28px;background:linear-gradient(180deg,#fff,#fafbff);cursor:pointer;transition:border-color .18s ease,transform .18s ease,background .18s ease}.pff__dropzone:hover,.pff__dropzone.is-over{border-color:var(--brand);background:#f7f8ff;transform:translateY(-1px)}.pff__dropzone:focus{outline:3px solid rgba(91,92,226,.16);outline-offset:3px}.pff__upload-icon{width:76px;height:76px;flex:0 0 76px;border-radius:20px;display:grid;place-items:center;background:#eef0ff;color:var(--brand);font-weight:900;font-size:17px}.pff__drop-content{max-width:700px}.pff__drop-content h2{margin:0 0 6px;font-size:23px}.pff__drop-content p{margin:0 auto 13px;color:var(--muted);line-height:1.7}.pff__pick{display:inline-flex;min-width:170px;justify-content:center}.pff__file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.pff__drop-content small{display:block;margin-top:9px;color:var(--muted);font-size:11px}.pff__editor{margin-top:15px}.pff__filebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 14px;margin-bottom:14px}.pff__file-id{display:flex;align-items:center;gap:11px;min-width:0}.pff__file-id>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eef0ff;color:var(--brand);font-weight:900;flex:0 0 44px}.pff__file-id strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.pff__file-id small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.pff__remove{border:0;background:transparent;color:var(--brand);font:inherit;font-weight:800;cursor:pointer}.pff__workspace{display:grid;grid-template-columns:minmax(0,2.65fr) minmax(350px,.78fr);gap:14px;align-items:start}.pff__preview{grid-column:1;padding:14px;min-width:0}.pff__fields{grid-column:2;position:sticky;top:12px;padding:14px}.pff__panel-head{display:flex;align-items:center;justify-content:space-between;padding:1px 1px 10px;border-bottom:1px solid var(--line);margin-bottom:10px}.pff__panel-head>div:first-child{display:flex;align-items:center;gap:9px}.pff__panel-head strong{display:block;font-size:16px}.pff__panel-head small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.pff__kicker{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#eef0ff;color:var(--brand);font-size:10px;font-weight:900}.pff__zoom{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff}.pff__zoom button{width:32px;height:30px;border:0;border-radius:8px;background:#f5f6fb;color:var(--text);font-size:17px;cursor:pointer}.pff__zoom span{min-width:50px;text-align:center;font-size:11px;color:var(--muted);font-weight:800}.pff__pdf-stage{min-height:820px;max-height:1260px;overflow:auto;border:1px solid #d9dde7;border-radius:14px;background:#e9ecf2;padding:16px}.pff__page{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 auto 20px}.pff__page:last-child{margin-bottom:0}.pff__page-label{font-size:10px;color:var(--muted);font-weight:800;align-self:flex-start}.pff__page-surface{position:relative;flex:0 0 auto;margin:0 auto}.pff__page-surface canvas{display:block;background:#fff;border-radius:4px;box-shadow:0 9px 28px rgba(30,40,80,.15);max-width:none}.pff__overlay-layer{position:absolute;left:0;top:0;pointer-events:none}.pff__field-overlay{position:absolute;box-sizing:border-box;display:flex;align-items:stretch;padding:0;margin:0;pointer-events:auto;z-index:5}.pff__overlay-control{width:100%;height:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(76,86,205,.75);border-radius:3px;background:rgba(238,240,255,.86);color:#15182b;font:inherit;padding:1px 4px;outline:none}.pff__overlay-control{font-size:13px}.pff__overlay-control:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(91,92,226,.13);background:#fff}.pff__overlay-select{padding:0 3px}.pff__overlay-checkbox,.pff__overlay-radio{width:min(22px,85%);height:min(22px,85%);margin:auto;accent-color:var(--brand);cursor:pointer}.pff__status{margin-top:9px;padding:9px 11px;border-radius:10px;background:#f7f8fb;color:var(--muted);line-height:1.5;font-size:12px}.pff__status.is-error{background:#fff5f5;color:var(--danger)}.pff__progress{height:5px;margin-top:8px;border-radius:999px;background:#eceef6;overflow:hidden}.pff__progress span{display:block;width:0;height:100%;background:var(--brand);transition:width .2s ease}.pff__fields-list{display:grid;gap:7px;max-height:735px;overflow:auto;padding-right:2px}.pff__empty-fields{padding:14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);line-height:1.6}.pff__empty-fields strong,.pff__empty-fields span{display:block}.pff__empty-fields span{margin-top:4px;font-size:11px}.pff__field-card{padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff}.pff__field-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:7px}.pff__field-head>div:first-child strong{display:block;overflow-wrap:anywhere;font-size:13px}.pff__field-head small{display:block;margin-top:2px;color:var(--muted);font-size:10px}.pff__field-no{display:grid;place-items:center;min-width:25px;height:25px;border-radius:7px;background:#f0f1ff;color:var(--brand);font-size:9px;font-weight:900}.pff__control{width:100%;box-sizing:border-box;padding:8px 9px;border:1px solid #dfe3ea;border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:13px;outline:none}.pff__control:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,92,226,.1)}.pff__check,.pff__radio-group label{display:flex;align-items:center;gap:8px;padding:6px 0;cursor:pointer;font-size:12px}.pff__check input,.pff__radio-group input{accent-color:var(--brand)}.pff__radio-group{display:grid;gap:1px}.pff__save-note{margin-top:9px;padding:9px 10px;border:1px solid #e7ebf2;border-radius:10px;background:#fafbfc;color:var(--muted);font-size:10px;line-height:1.5}.pff__actions{display:grid;gap:7px;margin-top:10px}.pff__actions .button:disabled{opacity:.45;cursor:not-allowed}.pff__trust{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px;padding:14px 16px}.pff__trust strong{display:block;font-size:13px}.pff__trust p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.pff__steps{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.pff__steps span{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:9px;background:#fafbfc;color:var(--muted);font-size:10px}.pff__steps b{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#eef0ff;color:var(--brand);font-size:8px}
@media(max-width:1100px){.pff__workspace{grid-template-columns:1fr}.pff__preview,.pff__fields{grid-column:1}.pff__fields{position:static}.pff__fields-list{max-height:none}}
@media(max-width:700px){.pff{margin-bottom:30px}.pff__hero h1{font-size:30px}.pff__dropzone{min-height:250px;flex-direction:column;gap:13px;padding:22px}.pff__upload-icon{width:68px;height:68px;flex-basis:68px}.pff__pdf-stage{min-height:520px;padding:10px}.pff__workspace{gap:10px}.pff__filebar{align-items:flex-start}.pff__remove{margin-top:6px}.pff__trust{display:grid}.pff__steps{justify-content:stretch}.pff__steps span{flex:1}.pff__overlay-control{font-size:9px;padding:0 2px}}
/* V12: roomier document preview and clearer editable overlays. */
.pff{max-width:1780px}
.pff__workspace{grid-template-columns:minmax(0,3fr) minmax(360px,.72fr)}
.pff__pdf-stage{min-height:900px;max-height:calc(100vh - 240px);background:#e4e8ef;padding:18px}
.pff__page-surface canvas{box-shadow:0 12px 32px rgba(20,28,52,.17)}
.pff__overlay-control{font-size:13px!important}
.pff__overlay-select{font-size:12px!important}
.pff__trust{background:linear-gradient(180deg,#fff,#fbfcff)}
@media(max-width:1100px){.pff__workspace{grid-template-columns:1fr}.pff__pdf-stage{max-height:none}}
