.bulk-roll-section .table-wrap{max-height:410px;overflow:auto}.bulk-roll-section td{padding:7px 9px}.bulk-roll-section td input{min-width:64px;width:100%;padding:7px}.bulk-roll-section td:nth-child(2) input{min-width:110px}.bulk-roll-section td:nth-child(3) input{min-width:100px}.roll-footer,.roll-pagination{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}.roll-pagination{justify-content:center}.roll-import-body{max-width:100%}.roll-import-body textarea{width:100%;font-family:ui-monospace,monospace}.image-import{padding:16px;background:var(--pale,#f2f7f5);border:1px dashed #b6cdc5;border-radius:8px;margin-bottom:18px}.image-import small{font-weight:400;color:#60716b}.roll-review-confirm{display:flex;align-items:center;gap:10px;margin:16px 0}.roll-review-confirm input{width:auto}.annual-summary .metric strong{font-variant-numeric:tabular-nums}.profit-tabs{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.profit-tabs button[aria-selected=true]{background:#194c41;color:#fff}.annual-expense-form textarea{min-height:76px}.annual-expense-form .field-grid{margin-bottom:18px}.profit-year{display:flex;align-items:center;gap:10px}.profit-year select{width:auto;min-width:100px}.profit-policy{padding:12px 20px;font-size:13px;color:#63706a}.shipment-costs input{max-width:240px}.receipt-terms-note{font-size:13px;color:#66776e}.expense-note{max-width:300px;white-space:normal}

#document-form label[hidden]{display:none!important}

.purchasing-editor{max-width:1180px;width:min(96vw,1180px)}
.purchasing-editor .form-header-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.purchase-header-relations,.purchase-row-relations{border:1px solid #dce5e0;border-radius:8px;padding:12px 16px;margin:14px 0;background:#fafcfb}
.purchase-header-relations>summary,.purchase-row-relations>summary{cursor:pointer;font-weight:600;color:#4a6358}
.purchase-header-relations .field-grid,.purchase-row-relations .field-grid{margin-top:14px}
.purchase-row-relations .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.purchase-item .field-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
.purchase-requirements{display:block;margin:18px 0 8px;grid-column:1/-1}
.purchase-long-text{display:block;box-sizing:border-box;width:100%;min-height:150px;resize:vertical;overflow-y:hidden;line-height:1.7;white-space:pre-wrap}
.purchase-line-amount{padding:12px 0 2px;text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.purchase-source-balance{display:flex;gap:16px;flex-wrap:wrap;padding:12px;background:#eef5f1;border-radius:6px;margin-bottom:16px;font-size:13px}
.purchase-source-balance small{flex-basis:100%;color:#5e7065}
.purchase-progress-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:8px 20px 24px}
.purchase-progress-summary div{display:flex;flex-direction:column;gap:8px;padding:14px;background:#f4f7f5;border-radius:7px}
.purchase-progress-summary span{color:#687a6f;font-size:13px}
.purchase-progress-summary strong{font-size:20px;font-variant-numeric:tabular-nums}
.purchase-progress-summary small{font-size:12px;font-weight:400}
.purchase-requirement-row td{background:#fbfcfb;white-space:normal!important}
.purchase-requirement-row span{font-size:12px;color:#6c7b71}
.purchase-requirement-row div,.purchase-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin-top:6px}
.purchase-list-tabs{flex-wrap:wrap}
@media(max-width:760px){.purchasing-editor .form-header-fields,.purchase-item .field-grid,.purchase-row-relations .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-progress-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.purchasing-editor .form-header-fields,.purchase-item .field-grid,.purchase-row-relations .field-grid{grid-template-columns:1fr}}
.purchase-roll-entry{margin-top:16px;border-top:1px solid #e2e8e4;padding-top:12px}
.purchase-roll-entry>summary{cursor:pointer;color:#245e4c;font-weight:600;padding:5px 0}
.purchase-roll-entry .bulk-roll-section{margin-top:12px}
