.purchase-exception-settings{padding:20px;max-width:1050px}.purchase-exception-settings p{color:var(--muted,#587269);line-height:1.65}.purchase-exemption-policy{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:14px;padding:18px;margin:16px 0;background:#f4fbf8;border:1px solid #cee6db;border-radius:12px}.purchase-exemption-policy h3,.purchase-exemption-policy p,.purchase-exemption-policy small{grid-column:1/-1;margin:0}.purchase-exemption-policy label{display:flex;flex-direction:column;gap:7px}.purchase-exemption-policy .checkbox-row{flex-direction:row;align-items:center}.purchase-exemption-policy input[type=checkbox]{width:auto}.purchase-policy-result{grid-column:2/-1;align-self:center;color:#237859}.purchase-exemption-note{margin:12px 0;padding:10px 14px;background:#e7f7ee;border-radius:8px;color:#236b4e}.purchase-exception-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.purchase-exception-toolbar input{flex:1;min-width:230px}.purchase-exception-toolbar select{width:auto;max-width:200px}.purchase-exception-table{max-width:100%;overflow-x:auto}.purchase-exception-table table{min-width:1030px;table-layout:fixed;width:100%}.purchase-exception-table th:nth-child(1){width:19%}.purchase-exception-table th:nth-child(2){width:17%}.purchase-exception-table th:nth-child(3){width:11%}.purchase-exception-table th:nth-child(4){width:18%}.purchase-exception-table th:nth-child(5){width:21%}.purchase-exception-table th:nth-child(6){width:14%}.purchase-exception-table td{vertical-align:top;overflow-wrap:anywhere;line-height:1.7}.purchase-exception-cell-actions{display:grid;gap:8px}.purchase-exception-actions{margin-top:12px}.purchase-exception-dialog{width:min(650px,calc(100vw - 36px));max-height:85vh;overflow:auto;border:1px solid #c8e5d8;border-radius:14px;padding:22px;background:#fff}.purchase-exception-dialog::backdrop{background:#17382b66}.purchase-exception-dialog h2{flex:1;margin:0}.purchase-exception-dialog label{display:grid;gap:10px}.purchase-exception-dialog textarea{width:100%}@media(max-width:700px){.purchase-exemption-policy{grid-template-columns:1fr}.purchase-exemption-policy>*{grid-column:1!important}.purchase-exception-toolbar>*{max-width:100%;flex:1 1 45%}.purchase-exception-toolbar input{min-width:0;flex-basis:100%}}
.purchase-exception-settings,#page-purchase_exceptions{min-width:0;width:100%;max-width:100%}
.purchase-return-draft-table th{white-space:nowrap}.purchase-return-draft-table th:nth-child(2){width:250px}.purchase-return-draft-table th:nth-child(4),.purchase-return-draft-table th:nth-child(5){width:150px}.purchase-return-table.purchase-return-draft-table td{vertical-align:middle}.purchase-return-draft-order{display:grid;gap:4px}.purchase-return-draft-order strong,.purchase-return-draft-order>span{white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}.purchase-return-draft-order strong{color:#0f766e}.purchase-return-draft-order small{color:var(--muted,#587269);overflow-wrap:break-word}.purchase-return-draft-table td:first-child{text-align:center}
.purchase-return-tabs{margin-bottom:16px;gap:10px;flex-wrap:wrap}.purchase-return-selection{margin:14px 0;gap:14px}.purchase-return-selection label{display:flex;align-items:center;gap:8px}.purchase-return-selection input,.purchase-return-table input[type=checkbox]{width:auto}.purchase-return-table{max-width:100%;overflow-x:auto;margin:16px 0}.purchase-return-table table{min-width:1150px;width:100%;table-layout:fixed}.purchase-return-table th:first-child{width:65px}.purchase-return-table td{vertical-align:top;line-height:1.7;overflow-wrap:anywhere}.purchase-return-table th:last-child{width:205px}.purchase-exception-dialog fieldset{margin:12px 0;border:1px solid #c8e5d8;border-radius:8px;padding:12px}.purchase-exception-dialog form{display:grid;gap:12px}.purchase-return-table td .purchase-exception-cell-actions{gap:8px}.purchase-return-table td button{white-space:normal}
#page-purchase_exceptions [hidden],.purchase-exception-dialog [hidden]{display:none!important}.purchase-return-table input[type=checkbox],.purchase-return-selection input[type=checkbox]{appearance:auto;width:16px!important;height:16px!important;min-width:0!important;min-height:0;padding:0;margin:0;display:inline-block;vertical-align:middle}
@media(max-width:700px){#page-purchase_exceptions .purchase-exception-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;min-width:0}#page-purchase_exceptions .purchase-exception-toolbar input,#page-purchase_exceptions .purchase-exception-toolbar select{grid-column:1/-1;width:100%;min-width:0;max-width:100%}#page-purchase_exceptions .purchase-exception-toolbar button{min-width:0;width:100%}}
