.po-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.po-toolbar [role=group]{flex-wrap:wrap;gap:6px;display:inline-flex}.po-toolbar [role=group] button{min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8cebf;border-radius:999px;padding:0 16px;font-weight:800}.po-toolbar [role=group] button[aria-pressed=true]{background:var(--erp-action-bg,#f2c34c);border-color:var(--erp-btn-primary-border,#d8ae42)}.po-error{color:#9a2b1f;background:#fdecea;border-radius:12px;margin:0 0 12px;padding:10px 12px;font-weight:700}.po-table-wrap{background:#fff;border:1px solid #e4d8c7;border-radius:16px;overflow:auto}.po-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:0}.po-table th{color:#806f56;text-align:left;text-transform:uppercase;white-space:normal;background:#fbf8f1;padding:10px 12px;font-size:12px}.po-table td{vertical-align:top;border-top:1px solid #f0e8da;padding:11px 12px;font-size:14px;line-height:1.45}.po-table tr[data-clickable]{cursor:pointer}.po-table tr[data-clickable]:hover{background:#fffaf0}.po-table tr.urgent{background:#fff6f1}.po-table td small{color:#6b6252;display:block}.po-actions{justify-items:start;gap:4px;display:grid}.po-file{color:#8a6200;white-space:nowrap;font-weight:800;text-decoration:none}.po-pill{color:#5b5240;white-space:nowrap;background:#f1ece1;border-radius:999px;margin-left:6px;padding:3px 10px;font-size:12px;font-weight:800;display:inline-block}.po-pill.waiting{color:#8a6200;background:#fff1c9}.po-pill.sent{color:#1f6a35;background:#e1f4e6}.po-pill.cancelled{color:#666;background:#eee}.po-pill.hot{color:#a6321a;background:#fde1d8}.po-table td .po-pill:first-child{margin-left:0}.po-wait{font-weight:800}.po-wait.warn{color:#b45f00}.po-wait.late{color:#b3261e}.po-empty{text-align:center;color:#6b6252;padding:24px}.po-backdrop{z-index:3100;background:#18140f80;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.po-dialog{background:#fffdf8;border-radius:20px;grid-template-rows:auto minmax(0,1fr) auto;width:min(640px,100%);max-height:calc(100vh - 32px);display:grid;overflow:hidden;box-shadow:0 26px 80px #1c160e59}.po-dialog>header{border-bottom:1px solid #ecdfc6;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px;display:flex}.po-dialog>header span{color:#98710f;letter-spacing:.1em;font-size:12px;font-weight:900}.po-dialog>header h2{margin:2px 0 0;font-size:20px}.po-dialog>header button{cursor:pointer;background:#fff;border:1px solid #e3d8c6;border-radius:50%;width:36px;height:36px;font-size:20px}.po-body{align-content:start;gap:14px;padding:18px 20px;display:grid;overflow:auto}.po-body label{color:#6b604f;gap:6px;font-size:13px;font-weight:800;display:grid}.po-body input:not([type=checkbox]):not([type=file]),.po-body textarea,.po-compose textarea{width:100%;min-height:44px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d8cebf;border-radius:12px;padding:10px 12px;font-size:14px}.po-results{gap:6px;max-height:220px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.po-results button{text-align:left;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #e4d8c7;border-radius:12px;grid-template-columns:96px 1fr auto;align-items:center;gap:10px;padding:9px 12px;display:grid}.po-results button:disabled{opacity:.55;cursor:not-allowed}.po-results small{color:#6b6252}.po-picked{background:#fff8e1;border:1px solid #d8ae42;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.po-picked small{color:#6b6252;display:block}.po-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:14px;display:grid}.po-body .po-check{color:#3d372d;cursor:pointer;background:#fff;border:1px solid #e4d8c7;border-radius:12px;flex-direction:row;align-items:center;gap:10px;min-height:44px;padding:0 14px;font-size:14px;display:flex}.po-body .po-check input{accent-color:#d8ae42;width:20px;height:20px;margin:0}.po-hint{color:#6b6252;margin:0;font-size:13px}.po-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.po-facts>div{background:#fff;border:1px solid #eadfce;border-radius:12px;padding:10px 12px}.po-facts dt{color:#806f56;text-transform:uppercase;font-size:12px;font-weight:800}.po-facts dd{margin:2px 0 0;font-weight:700}.po-note{white-space:pre-wrap;background:#faf5e8;border-radius:12px;margin:0;padding:10px 12px}.po-download{text-decoration:none;display:inline-flex}.po-comments h3{margin:0 0 8px;font-size:15px}.po-comments ol{gap:8px;max-height:220px;margin:0 0 10px;padding:0;list-style:none;display:grid;overflow:auto}.po-comments li{background:#faf7f1;border-radius:12px;padding:8px 12px}.po-comments li.system{color:#2a5a3a;background:#eef6ee}.po-comments li small{color:#6b6252;margin-left:8px}.po-comments li p{white-space:pre-wrap;margin:2px 0 0}.po-compose{justify-items:end;gap:8px;display:grid}.po-dialog>footer{border-top:1px solid #ecdfc6;justify-content:flex-end;gap:10px;padding:14px 20px;display:flex}.po-dialog>footer button{min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8cebf;border-radius:12px;padding:0 18px;font-weight:800}.po-dialog>footer .apps-primary{border-color:var(--erp-btn-primary-border,#d8ae42);background:var(--erp-action-bg,#f2c34c)}.po-dialog>footer .po-danger{color:#a6321a;margin-right:auto}@media (max-width:760px){.po-table{min-width:0}.po-table thead{display:none}.po-table,.po-table tbody,.po-table tr,.po-table td{display:block}.po-table tr{border-top:1px solid #f0e8da;padding:10px 12px}.po-table td{border:0;padding:3px 0}.po-table td[data-label]:before{content:attr(data-label)": ";color:#806f56;font-size:12px;font-weight:800}.po-facts,.po-results button{grid-template-columns:1fr}}.po-attach{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.po-attach-box{background:#fff9ee;border:1px dashed #d4c19d;border-radius:14px;align-content:start;gap:8px;padding:12px;display:grid}.po-attach-box>b{font-size:13px}.po-attach-box>b small{color:#6b6252;font-weight:600}.po-upload{cursor:pointer;background:#fff;border:1px solid #d8cebf;border-radius:12px;justify-content:center;align-items:center;min-height:42px;padding:0 14px;font-size:14px;font-weight:800;display:inline-flex;position:relative;overflow:hidden}.po-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.po-filelist{gap:6px;margin:0;padding:0;list-style:none;display:grid}.po-filelist li{overflow-wrap:anywhere;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:flex}.po-filelist li small{color:#6b6252}.po-filelist li button:not(.po-link){cursor:pointer;background:#fff;border:1px solid #e3d8c6;border-radius:50%;flex:none;width:28px;height:28px}.po-link{font:inherit;text-align:left;cursor:pointer;color:#7a5600;background:0 0;border:0;padding:0;font-weight:700}.po-files h3{margin:0 0 8px;font-size:15px}.po-error{white-space:pre-line}@media (max-width:760px){.po-attach,.po-row{grid-template-columns:1fr}}.po-picked button{min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8cebf;border-radius:12px;flex:none;padding:0 14px;font-size:14px;font-weight:800}.po-picked button:hover{background:#fffaf0;border-color:#d8ae42}.po-results button{font-size:14px}.po-picked-actions{flex:none;gap:8px;display:flex}.po-empty{color:#6b6252;padding:10px 12px;font-size:14px}.po-drop{border-radius:14px;position:relative}.po-drop.over{outline-offset:4px;background:#fff8e1;outline:2px dashed #d8ae42}.po-drop-hint{text-align:center;color:#7a5a00;pointer-events:none;background:#fff8e1ee;border-radius:14px;place-items:center;padding:12px;font-weight:800;display:grid;position:absolute;inset:0}.po-dialog.wide{width:min(1200px,100%);max-height:calc(100vh - 32px)}.po-body.split{grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);align-items:start;gap:20px;display:grid}.po-main{gap:14px;min-width:0;display:grid}.po-side{gap:12px;min-width:0;display:grid;position:sticky;top:0}.po-side .po-comments ol{max-height:min(52vh,520px)}.po-attach-box,.po-filelist li{min-width:0}.po-filelist li .po-link{overflow-wrap:anywhere;min-width:0}.po-thumbs{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.po-thumbs li{justify-items:center;gap:4px;min-width:0;display:grid;position:relative}.po-thumbs small{text-overflow:ellipsis;white-space:nowrap;color:#6b6252;max-width:100%;overflow:hidden}.po-thumb{aspect-ratio:1;cursor:zoom-in;background:#fff;border:1px solid #e0d3b8;border-radius:12px;place-items:center;width:100%;padding:0;display:grid;overflow:hidden}.po-thumb:hover{border-color:#d8ae42;box-shadow:0 4px 14px #785a142e}.po-thumb img{object-fit:cover;width:100%;height:100%}.po-thumb-del{cursor:pointer;background:#fffffff2;border:1px solid #e3d8c6;border-radius:50%;width:26px;height:26px;position:absolute;top:4px;right:4px}.po-viewer-backdrop{z-index:3300;background:#120e09b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.po-viewer{background:#fffdf8;border-radius:20px;grid-template-rows:auto minmax(0,1fr);width:min(1280px,100%);height:min(92vh,100%);display:grid;overflow:hidden;box-shadow:0 30px 90px #00000073}.po-viewer>header{border-bottom:1px solid #ecdfc6;align-items:center;gap:12px;padding:12px 16px;display:flex}.po-viewer>header b{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.po-viewer>header span{color:#6b6252;font-weight:700}.po-viewer>header a{color:#7a5600;white-space:nowrap;font-weight:700}.po-viewer>header button{cursor:pointer;background:#fff;border:1px solid #e3d8c6;border-radius:50%;width:36px;height:36px;font-size:20px}.po-viewer-body{background:#1d1812;place-items:center;min-height:0;display:grid;position:relative}.po-viewer-body img{object-fit:contain;max-width:100%;max-height:100%}.po-viewer-body iframe{background:#fff;border:0;width:100%;height:100%}.po-viewer-nav{cursor:pointer;z-index:1;background:#ffffffd9;border:0;border-radius:12px;width:48px;height:64px;font-size:32px;position:absolute;top:50%;transform:translateY(-50%)}.po-viewer-nav.prev{left:14px}.po-viewer-nav.next{right:14px}@media (max-width:1000px){.po-body.split{grid-template-columns:minmax(0,1fr)}.po-side{position:static}}.po-body.split{overflow-x:hidden}.po-comments li,.po-comments li p,.po-comments li b{overflow-wrap:anywhere;word-break:break-word;min-width:0}.po-compose{min-width:0}.po-compose textarea{max-width:100%}.po-table td,.po-table th{overflow-wrap:anywhere}.po-table .po-actions{white-space:normal}.po-table-wrap{overflow-x:auto}@media (max-width:1280px){.po-table th,.po-table td{padding-left:8px;padding-right:8px}.po-table .po-pill,.po-table .po-wait,.po-table .po-file{white-space:normal}}.po-quote-line{background:#faf5e8;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.po-quote-line .apps-primary{min-height:40px;padding:0 16px}.po-row3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;display:grid}@media (max-width:760px){.po-row3{grid-template-columns:1fr}}.po-filelist li button.po-thumb{cursor:zoom-in;background:#fff;border:1px solid #e4d9c7;border-radius:8px;flex:none;width:44px;height:44px;padding:0;overflow:hidden}.po-thumb img{object-fit:cover;width:100%;height:100%;display:block}.po-filelist li button.po-thumb:hover{border-color:#e2ad24}.po-filelist li:has(.po-thumb){align-items:center;gap:10px;display:flex}.po-filelist li:has(.po-thumb)>span{overflow-wrap:anywhere;flex:1;min-width:0}.po-paste-hint{color:var(--erp-text-muted,#6b604f);margin:0;font-size:12px}.po-combo{gap:6px;min-width:0;display:grid;position:relative}.po-combo>span{font-size:13px;font-weight:700}.po-combo-box{border:1px solid var(--potato-line,#ddd3c4);background:#fff;border-radius:10px;align-items:stretch;display:flex;overflow:hidden}.po-combo-box:focus-within{border-color:#e2ad24;box-shadow:0 0 0 3px #e2ad2438}.po-combo-box input{min-width:0;font:inherit;background:0 0;flex:1;padding:10px 12px;font-size:14px;box-shadow:none!important;border:0!important;border-radius:0!important}.po-combo-box button{color:#6b604f;cursor:pointer;background:#fbf7ee;border:0;border-left:1px solid #efe6d6;flex:0 0 38px;font-size:13px}.po-combo ul{z-index:30;background:#fff;border:1px solid #e4d9c7;border-radius:12px;max-height:240px;margin:4px 0 0;padding:6px;list-style:none;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 14px 34px #3c2d142e}.po-combo li button{color:#302b24;width:100%;font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:9px 10px;font-size:14px;display:block}.po-combo li button:hover,.po-combo li button.active{background:#fff4cc}
