.invoice-lot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.invoice-actions{display:flex;flex-wrap:wrap;gap:12px}.invoice-edit-footer{position:sticky;bottom:12px;z-index:10;flex-wrap:wrap;padding:18px;margin:0;box-shadow:0 4px 20px #1111130d}.invoice-edit-footer .button{min-height:44px}
@media(max-width:850px){.invoice-lot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.invoice-lot-grid{grid-template-columns:minmax(0,1fr)}.invoice-edit-footer{bottom:0}.invoice-edit-footer .button{flex:1 1 100%}}
.purchase-picker{position:relative}.purchase-results{position:absolute;z-index:50;left:0;right:0;top:100%;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid #d7fe03;border-radius:9px;max-height:260px;overflow:auto;box-shadow:0 10px 28px #1111131a}.purchase-results[hidden]{display:none}.purchase-results li{padding:12px;cursor:pointer;border-radius:6px;overflow-wrap:anywhere}.purchase-results li:hover,.purchase-results li[aria-selected=true]{background:#d7fe03;color:#111113}.purchase-number-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.purchase-check{display:flex;align-items:center;gap:10px}.purchase-check input{width:18px;min-height:18px;height:18px}.purchase-entry-line .section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.purchase-upload{margin-top:24px}.purchase-total{margin-right:auto;align-self:center;font-size:20px}
@media(max-width:1000px){.purchase-number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.purchase-number-grid{grid-template-columns:minmax(0,1fr)}.purchase-total{width:100%}.invoice-edit-footer form{width:100%}.invoice-edit-footer form .button{width:100%}}

.invoice-account-name{display:block;width:clamp(180px,24vw,320px);max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.45}

.invoice-live-toolbar{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:520px;text-align:right}.invoice-live-toolbar [data-invoice-status-summary]{font-size:13px;overflow-wrap:anywhere}.invoice-live-toolbar [data-invoice-refresh]{min-width:190px;justify-content:center}@media(max-width:699px){.invoice-live-toolbar{width:100%;max-width:100%;align-items:flex-start;text-align:left}}.invoice-live-result{display:flex;align-items:flex-start;flex-direction:column;gap:6px;margin-top:7px}.invoice-live-state{min-width:140px;max-width:220px;white-space:normal;overflow-wrap:anywhere;background:#fff;color:#111113;border:1px solid #e6e6ed}.invoice-live-state.approved{background:#d7fe03;color:#111113;border-color:#d7fe03}.invoice-live-state.error{background:#111113;color:#d7fe03;border-color:#111113}.invoice-live-state.waiting{background:#fff;color:#111113}.invoice-live-result a{font-size:12px}.invoice-live-result a[hidden]{display:none}.invoice-live-state[aria-busy=true]::before{content:'';display:inline-block;width:10px;height:10px;margin-right:6px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:invoice-status-spin .7s linear infinite}@keyframes invoice-status-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.invoice-live-state[aria-busy=true]::before{animation:none}}

.order-record-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.order-record-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;background:#f7f7f9;border-radius:12px;min-width:0;overflow-wrap:anywhere}.order-record-card strong{font-size:17px;font-weight:600}.order-record-card .button{margin-top:auto;max-width:100%;white-space:normal;text-align:left}.order-record-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.order-record-error{background:#111113;color:#d7fe03}.order-record-sent{background:#d7fe03;color:#111113}.order-record-title{display:flex;flex-direction:column;gap:7px;color:#111113;text-decoration:none}.order-record-title:hover{text-decoration:underline}.order-record-title span{font-size:12px}

.order-record-heading h2{min-width:0;overflow-wrap:anywhere}.order-record-heading~.product-facts dd{min-width:0}


.taxpayer-result-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.taxpayer-result-heading h2{margin:0}.taxpayer-state{display:inline-block;padding:6px 10px;border-radius:6px;background:#d7fe03;color:#111113;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.taxpayer-state-error{background:#111113;color:#d7fe03}.taxpayer-state-muted{background:#eeeef2;color:#555561}.taxpayer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 26px}.taxpayer-facts dt{color:#767680;font-size:13px;margin-bottom:7px}.taxpayer-facts dd{margin:0;font-size:16px;overflow-wrap:anywhere}.taxpayer-fact-wide{grid-column:1/-1}.taxpayer-table-wrap{width:100%;overflow-x:auto}.taxpayer-mailboxes{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.taxpayer-mailboxes th,.taxpayer-mailboxes td{padding:14px 12px;text-align:left;border-bottom:1px solid #eeeef3;overflow-wrap:anywhere;white-space:normal;vertical-align:top;font-size:14px}.taxpayer-mailboxes th{font-size:13px;font-weight:500;color:#767680;background:#f8f8fa}.taxpayer-mailboxes th:first-child{width:50%}.taxpayer-mailboxes th:nth-child(2){width:18%}.taxpayer-mailboxes tbody tr:last-child td{border-bottom:0}@media(max-width:600px){.taxpayer-facts{grid-template-columns:minmax(0,1fr)}.taxpayer-mailboxes th,.taxpayer-mailboxes td{padding:12px 6px;font-size:12px}.taxpayer-mailboxes th:first-child{width:44%}.taxpayer-mailboxes th:nth-child(2){width:23%}.taxpayer-mailboxes .taxpayer-state{font-size:12px;padding:4px 6px}}

.trade-page .taxpayer-query{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px}.taxpayer-query>.field{min-width:0}.taxpayer-query>.field input,.taxpayer-query>.button{height:48px;min-height:48px;box-sizing:border-box}.taxpayer-query>.field-error{grid-column:1/-1}

.invoice-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.trade-page .invoice-info-grid>.category-surface{min-width:0;margin-bottom:0;overflow-wrap:anywhere}.invoice-info-grid>:only-child{grid-column:1/-1}@media(max-width:850px){.invoice-info-grid{grid-template-columns:minmax(0,1fr)}}

.trade-page .button.invoice-order-return{background:#d7fe03;color:#111113;border-color:#d7fe03}.trade-page .button.invoice-order-return:hover{background:#c9ee00;border-color:#c9ee00}

.invoice-header-status{display:inline-block;margin-left:8px}.invoice-live-state.invoice-preview-status{min-width:0;max-width:100%;vertical-align:middle}

.category-surface.invoice-buyer-card{background:#111113;border-color:#111113;color:#f5f5f7}.invoice-buyer-card h2{color:#d7fe03}.invoice-buyer-card .field label{color:#efeff4}.invoice-buyer-card .muted{color:#c4c4ce}.category-page .invoice-buyer-card .field :is(input,textarea){background:#1e1e24;color:#fff;caret-color:#d7fe03}.invoice-buyer-card .field textarea{width:100%;max-width:100%;min-width:0;font:inherit;font-size:16px;line-height:1.6;padding:11px 13px;border:1px solid #d7fe03;border-radius:9px;resize:vertical}.invoice-buyer-card .field :is(input,textarea)::placeholder{color:#aaaab5}.invoice-buyer-card .field :is(input,textarea).input-validation-error{border-color:#e99a9a}.invoice-buyer-card .field-error{color:#ffb4b4}.category-surface.invoice-type-card{background:#d7fe03;border-color:#d7fe03;color:#111113}.invoice-type-card h2,.invoice-type-card .field label{color:#111113}.category-page .invoice-type-card .field :is(input,select){background-color:#fff;color:#111113}