/* EiD Office HF8: editable monthly draft in company CI */
.pf-editor-overlay{position:fixed;inset:0;z-index:2500;display:flex;align-items:center;justify-content:center;background:rgba(43,33,32,.52);padding:20px}
.pf-editor-overlay.hidden{display:none}
.pf-editor-window{width:min(1260px,100%);max-height:94dvh;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 20px 75px #35272344;overflow:hidden}
.pf-editor-header{padding:20px 24px;background:#F0ECE8;border-bottom:1px solid #e4dad3;display:flex;justify-content:space-between;gap:12px;align-items:start}
.pf-editor-header small{font-size:10px;letter-spacing:1.25px;font-weight:800;color:#9e8075}
.pf-editor-header h2{font-size:22px;margin:4px 0;color:#4c3f3c}.pf-editor-header p{margin:2px 0;font-size:12px;color:#766761}
.pf-editor-close{background:#fff;color:#755e56;border:1px solid #ddcfc7;width:36px;height:36px;font-size:24px;border-radius:9px;cursor:pointer;flex:none}
.pf-editor-content{padding:18px 24px;overflow:auto;min-height:0}
.pf-editor-warning{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#F0ECE8;border-left:4px solid #C0A999;border-radius:7px;padding:12px 15px;color:#65534b;font-size:12px;line-height:1.5}
.pf-editor-options{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:end;margin:18px 0}
.pf-editor-options>label{display:grid;gap:5px;font-size:12px;font-weight:700;flex:1;min-width:240px}
.pf-editor-options select,.pf-editor-row input,.pf-editor-row select{width:100%;min-height:38px;border:1px solid #e1d4ce;border-radius:8px;background:#fff;color:#423c39;padding:7px 9px;min-width:0;font:inherit;font-size:12px}
.pf-editor-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.pf-editor-table-head,.pf-editor-row{display:grid;grid-template-columns:110px 88px 88px minmax(155px,1.2fr) minmax(155px,1.2fr) 85px 30px;gap:8px;align-items:center}
.pf-editor-table-head{font-weight:800;font-size:11px;color:#6b5952;background:#C8E5DE;padding:10px;border-radius:7px 7px 0 0}
.pf-editor-row{border:1px solid #eee5e0;border-top:none;padding:10px;background:#fff}
.pf-editor-row:nth-child(even){background:#fcf9f7}.pf-editor-row label{min-width:0}.pf-editor-row label span{display:none}
.pf-editor-row-meta{grid-column:1/-1;margin:0;font-size:10px;color:#82766f}
.pf-editor-remove{width:28px;height:30px;border:1px solid #e3caca;background:#fff;color:#a85c55;border-radius:7px;font-size:19px;cursor:pointer}
.pf-editor-empty{padding:24px;color:#8b7e78;text-align:center;background:#faf8f6}
.pf-draft-notice{padding:11px 13px;margin-top:14px;background:#eef7f1;border:1px solid #c6e1d0;color:#436f58;border-radius:8px;font-size:12px}.pf-draft-notice.error{background:#fff2f0;border-color:#dfc0bc;color:#a2433e}
.pf-editor-footer{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;padding:15px 24px;background:#faf8f6;border-top:1px solid #eae0db}
.pf-editor-footer>:first-child{margin-right:auto}
@media(max-width:900px){.pf-editor-table-head{display:none}.pf-editor-row{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #eae0db;border-radius:10px;margin-bottom:11px}.pf-editor-row label{display:grid;gap:4px}.pf-editor-row label span{display:block;color:#7e6b62;font-size:11px}.pf-editor-row-meta{grid-column:1/-1}.pf-editor-remove{justify-self:end}.pf-editor-row label:nth-child(4),.pf-editor-row label:nth-child(5){grid-column:1/-1}}
@media(max-width:480px){.pf-editor-overlay{padding:5px}.pf-editor-window{max-height:99dvh;border-radius:8px}.pf-editor-header,.pf-editor-content,.pf-editor-footer{padding:13px}.pf-editor-header h2{font-size:18px}.pf-editor-toolbar{width:100%}.pf-editor-toolbar button{flex:1}.pf-editor-footer button{flex:1}.pf-editor-footer>:first-child{margin-right:0}}
