.po-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.po-filters label:first-child{flex:2;min-width:230px}.po-filters label{flex:1;min-width:130px}.po-table{min-height:220px}.po-table td{vertical-align:top}.po-money{white-space:nowrap;font-variant-numeric:tabular-nums}.po-address{white-space:pre-wrap;line-height:1.6;border-left:3px solid var(--teal,#0BCFB7);padding:12px 16px;margin:16px 0;background:var(--ground,#F5FAFE)}.po-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px}.po-summary dl{margin:0;display:grid;grid-template-columns:1fr 1.5fr;gap:12px}.po-summary dt{font-weight:600}.po-summary dd{margin:0;overflow-wrap:anywhere}.po-line-table{width:100%;min-width:760px}.po-line-table th:first-child{width:48%}.po-line-table input{min-width:80px;width:100%}.po-line-table td:first-child input{min-width:270px}.po-totals{display:flex;justify-content:flex-end;gap:24px;flex-wrap:wrap;margin-top:20px;font-variant-numeric:tabular-nums}.po-totals span{display:grid;gap:8px}.po-totals strong{font-size:20px}.po-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:20px 0}.po-form-footer .error{flex:1}.po-state-draft{background:#FFF2CB;color:#7B4D00}.po-state-issued{background:#DBEEE3;color:#1B5033}.po-dialog{width:min(560px,90vw);padding:28px;border:1px solid #D3E0EA;background:#fff;color:#001835}.po-dialog::backdrop{background:#00183580}.po-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#poForm textarea,#poVendorForm textarea{resize:none}#poForm input:focus-visible,#poForm select:focus-visible,#poForm textarea:focus-visible,.po-dialog button:focus-visible{outline:2px solid #001835;outline-offset:2px}@media(max-width:760px){.po-summary{grid-template-columns:1fr}.po-filters label{flex-basis:45%}.po-form-footer{flex-wrap:wrap}.po-form-footer .error{flex-basis:100%}.po-totals{justify-content:flex-start}.po-summary dl{grid-template-columns:1fr}.po-summary dd{margin-bottom:10px}}

.po-dialog{max-height:calc(100dvh - 48px);overflow:auto}.po-dialog button:disabled{opacity:.5;cursor:wait}.po-dialog button:hover{filter:brightness(.96)}

.po-file-actions{display:inline-flex;gap:14px;white-space:nowrap}.po-file-actions a{color:var(--green,#0a6b5d);font-weight:600;text-decoration:underline}.po-file-actions a:focus-visible{outline:2px solid var(--ink,#001835);outline-offset:3px}
