.orders-page{--orders-muted:#5c6e83;max-width:1500px;margin:6px auto 0}.orders-heading{padding:5px 6px 16px}.orders-heading p{color:var(--orders-muted);margin-top:3px;font-size:15px}.orders-controls{flex-wrap:wrap;align-items:end;gap:16px;margin:0 0 16px;display:flex}.orders-controls label{color:var(--orders-muted);gap:5px;font-size:12px;font-weight:600;display:grid}.orders-controls select{min-width:216px;height:45px;color:var(--ink);font-size:14px}.orders-controls button{align-items:center;gap:9px;min-height:45px;padding:9px 20px;display:inline-flex}.orders-table-scroll{border:1px solid var(--line);scrollbar-color:#71869e #edf2f7;scrollbar-width:thin;background:#fff;border-radius:6px;overflow-x:auto}.orders-table{border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums;width:100%}.orders-table>thead>tr>th{color:#4b5f78;background:#f2f5f9;height:55px;padding:14px 22px;font-size:12px;font-weight:700}.orders-table>tbody>tr>td{border-top:1px solid var(--line);height:55px;padding:9px 22px}.orders-table>thead>tr>th:first-child,.orders-table>tbody>tr>td:first-child{width:21%}.orders-table>thead>tr>th:nth-child(2),.orders-table>tbody>tr>td:nth-child(2){width:20%}.orders-table>thead>tr>th:nth-child(3),.orders-table>tbody>tr>td:nth-child(3){width:18%}.orders-table>thead>tr>th:nth-child(4),.orders-table>tbody>tr>td:nth-child(4){width:21%}.orders-table>thead>tr>th:nth-child(5),.orders-table>tbody>tr>td:nth-child(5){width:20%}.orders-table>tbody>tr>td:first-child button{min-height:40px;color:var(--ink);white-space:nowrap;background:0 0;border:0;align-items:center;gap:20px;padding:5px 0;font-weight:700;display:inline-flex}.orders-table>tbody>tr>td:first-child button:hover{color:var(--focus);background:0 0}.orders-selected{background:#edf6ff}.orders-badge{white-space:normal;overflow-wrap:anywhere;color:#455c74;background:#e8eef5;border-radius:5px;align-items:center;max-width:100%;min-height:30px;padding:6px 11px;font-size:12px;font-weight:700;display:inline-flex}.orders-badge-confirmed,.orders-badge-captured,.orders-badge-ready{color:#126951;background:#d8f3e7}.orders-badge-awaiting_payment,.orders-badge-pending,.orders-badge-draft,.orders-badge-authorized{color:#1769aa;background:#e5f2ff}.orders-badge-review_required,.orders-badge-paid_allocation_failed{color:#975016;background:#fff0df}.orders-badge-cancelled{color:#5c6f84;background:#e9edf2}.orders-test{color:#245f9a;white-space:nowrap;margin-left:9px;font-size:12px;font-weight:700;display:inline-block}.orders-table>tbody>.orders-detail-row>td{background:#fff;width:auto;height:auto;padding:0}.orders-expanded{grid-template-columns:minmax(0,1.62fr) minmax(0,1fr) minmax(190px,.68fr);gap:26px;padding:26px 30px;display:grid}.orders-expanded>div{min-width:0}.orders-expanded>div+div{border-left:1px solid var(--line);padding-left:24px}.orders-expanded h2{margin:0 0 17px;font-size:16px}.orders-items-scroll{overflow-x:auto}.orders-items table{table-layout:fixed;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums;width:100%}.orders-items th:first-child{width:46%}.orders-items th:nth-child(2){width:22%}.orders-items th:nth-child(3){width:12%}.orders-items th:nth-child(4){width:20%}.orders-items th{color:var(--orders-muted);background:#f2f5f9;padding:10px 12px;font-size:12px}.orders-items td{border-bottom:1px solid var(--line);white-space:nowrap;height:auto;padding:10px 12px;font-size:13px}.orders-items td:first-child{white-space:normal;overflow-wrap:anywhere}.orders-items td:last-child,.orders-items th:last-child{text-align:right}.orders-items small{color:var(--orders-muted);margin-top:2px;display:block}.orders-totals{font-variant-numeric:tabular-nums;width:min(260px,100%);margin:13px 0 0 auto}.orders-totals div{justify-content:space-between;gap:15px;padding:4px 0;display:flex}.orders-totals dt{color:var(--orders-muted)}.orders-totals dd{white-space:nowrap;margin:0}.orders-totals .orders-grand{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;font-size:16px;font-weight:700}.orders-totals .orders-grand dt{color:var(--ink)}.orders-recipient dl,.orders-statuses dl{margin:0}.orders-recipient dl>div,.orders-statuses dl>div{grid-template-columns:80px minmax(0,1fr);align-items:start;gap:8px;margin:0 0 15px;display:grid}.orders-recipient dt,.orders-statuses dt{color:var(--orders-muted)}.orders-recipient dd,.orders-statuses dd{overflow-wrap:anywhere;margin:0}.orders-recipient p{color:var(--orders-muted);margin-top:18px;font-size:12px}.orders-statuses dl>div{grid-template-columns:70px minmax(0,1fr)}.orders-statuses .orders-test{margin:12px 0 0}.orders-message{border:1px solid var(--line);color:var(--orders-muted);background:#fff;border-radius:6px;padding:35px 22px}.orders-message button{margin-top:14px;display:block}.orders-detail-message{color:var(--orders-muted);padding:28px}.orders-pager{color:var(--orders-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 4px;font-size:13px;display:flex}.orders-pager>div{gap:8px;display:flex}@media (max-width:1100px){.orders-expanded{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.orders-statuses{grid-column:1/-1}.orders-expanded>.orders-statuses{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}}@media (max-width:680px){.orders-heading h1{font-size:23px}.orders-heading p{font-size:12px}.orders-controls{gap:9px}.orders-controls label{flex:170px}.orders-controls select{width:100%;min-width:0;min-height:44px}.orders-controls button,.orders-pager button{min-height:44px}.orders-table-scroll{overflow:visible}.orders-table,.orders-table>tbody,.orders-table>tbody>tr{width:100%;display:block}.orders-table>thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.orders-table>tbody>tr:not(.orders-detail-row){border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));padding:9px 13px;display:grid}.orders-table>tbody>tr:first-child{border-top:0}.orders-table>tbody>tr>td{border:0;justify-content:space-between;align-items:center;gap:7px;width:auto;min-width:0;height:auto;padding:5px 3px;font-size:12px;display:flex}.orders-table>tbody>tr:not(.orders-detail-row)>td{width:100%}.orders-table>tbody>tr>td:before{content:attr(data-label);color:var(--orders-muted);font-size:11px}.orders-table>tbody>tr>td:first-child{grid-column:1/-1}.orders-table>tbody>tr>td:first-child:before{display:none}.orders-table>tbody>tr>td:first-child button{gap:10px;min-height:44px}.orders-table>tbody>tr>td:nth-child(2),.orders-table>tbody>tr>td:nth-child(3){grid-column:1/-1}.orders-table>tbody>tr>td:nth-child(4),.orders-table>tbody>tr>td:nth-child(5){justify-content:start;gap:5px;display:grid}.orders-table>tbody>.orders-detail-row>td:first-child{width:100%;display:block}.orders-table>tbody>.orders-detail-row>td:before{display:none}.orders-expanded{padding:20px 15px;display:block}.orders-expanded>div+div{border-left:0;border-top:1px solid var(--line);margin-top:20px;padding:20px 0 0}.orders-items-scroll{max-width:100%}.orders-items table{min-width:470px}.orders-recipient dl>div,.orders-statuses dl>div{grid-template-columns:85px minmax(0,1fr)}.orders-pager{align-items:stretch}.orders-pager>div{width:100%}.orders-pager button{flex:1}}
.customers-search{flex:280px;max-width:420px}.customers-search input,.customers-page input[type=date]{box-sizing:border-box;height:45px;min-height:45px;color:var(--ink);font-size:14px}.customers-table>thead>tr>th,.customers-table>tbody>tr>td,.orders-table.customers-table>thead>tr>th:nth-child(n),.orders-table.customers-table>tbody>tr>td:nth-child(n){width:auto}.orders-table.customers-table>thead>tr>th:first-child,.orders-table.customers-table>tbody>tr>td:first-child{width:24%}.customers-table td small{color:var(--orders-muted);margin-top:2px;font-size:12px;display:block}.customers-table td:first-child a{min-height:40px;color:var(--ink);align-content:center;gap:1px;text-decoration:none;display:inline-grid}.customers-table td:first-child a:hover,.customers-table td:first-child a:focus-visible{color:var(--focus);text-decoration:underline}.customers-table td:first-child .orders-badge{margin-left:8px}.customers-table td .orders-badge{white-space:nowrap;min-height:26px;margin:2px 6px 2px 0;padding:4px 9px}.customers-back{color:var(--focus);margin:0 0 12px 6px;display:inline-block}.customers-section{border:1px solid var(--line);background:#fff;border-radius:6px;margin:0 0 16px;padding:22px 26px}.customers-section h2{margin:0 0 14px;font-size:16px}.customers-section .orders-facts{margin-bottom:0}.customers-section button,.customers-section .orders-export{min-height:40px;color:var(--ink);background:#fff;border:1px solid #cbd6e2;border-radius:5px;padding:8px 16px;font-weight:600}.customers-section button:hover:not(:disabled){color:var(--ink);background:#edf3f8}.customers-section button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.customers-section button.primary:hover:not(:disabled){color:#fff;background:#1c6554}.customers-section button.danger{color:#975016;border-color:#975016}.customers-section button.danger.primary{color:#fff;background:#975016}.customers-consent{gap:12px;margin:0 0 14px;padding:0;list-style:none;display:grid}.customers-consent li{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.customers-consent li>span:first-child{flex:260px}.customers-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.customers-erased{color:#455c74;background:#e8eef5;border-radius:5px;margin:0 0 12px;padding:12px 14px}.customers-page .orders-kv-table{min-width:0}.customers-page .orders-actions-table>tbody>tr>th{border-bottom:1px solid var(--line);width:42%;height:auto;color:var(--ink);text-align:left;vertical-align:top;background:0 0;padding:9px 10px;font-size:13px;font-weight:600}.customers-page .orders-actions-table td:last-child,.customers-page .orders-actions-table th:last-child{text-align:left}.customers-page .orders-kv-table td{white-space:normal;overflow-wrap:anywhere}.customers-page dialog p{margin:8px 0}.customers-finance-controls input{min-width:170px}.customers-finance-table tfoot td{border-top:2px solid var(--line);font-weight:700}.customers-page .customers-finance-table td:nth-child(n+4),.customers-page .customers-finance-table th:nth-child(n+4){text-align:right}.customers-page .customers-finance-table{min-width:620px}.billing-banner{border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 0 14px;padding:12px 16px;font-size:14px;font-weight:600;display:flex}.billing-banner a{color:inherit;white-space:nowrap;text-decoration:underline}.billing-plans{gap:10px;margin:0 0 14px;padding:0;list-style:none;display:grid}.billing-plans li{border:1px solid var(--line);border-radius:5px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px 14px;display:flex}.billing-plans strong{display:block}@media (max-width:680px){.customers-search{flex-basis:100%;max-width:none}.customers-section{padding:18px 15px}.orders-table.customers-table>tbody>tr:not(.orders-detail-row){grid-template-columns:repeat(2,minmax(0,1fr))}.orders-table.customers-table>tbody>tr>td:nth-child(n){grid-column:auto;justify-content:start;gap:4px;width:100%;display:grid}.orders-table.customers-table>tbody>tr>td:first-child{grid-column:1/-1;justify-content:space-between;display:flex}.orders-table.customers-table>tbody>tr>td:nth-child(4){order:1}.orders-table.customers-table>tbody>tr>td:nth-child(6){order:2}.orders-table.customers-table>tbody>tr>td:nth-child(5){flex-wrap:wrap;order:3;grid-column:1/-1;justify-content:flex-start;align-items:center;gap:4px 8px;display:flex}.orders-table.customers-table>tbody>tr>td:nth-child(5):before{flex-basis:100%}.orders-table.customers-table>tbody>tr>td:nth-child(n):before{display:block}.orders-table.customers-table>tbody>tr>td:first-child:before{display:none}.customers-page .customers-section button,.customers-page .customers-section .orders-export{min-height:44px}.customers-page .customers-finance-table{min-width:0}.customers-page .customers-finance-table th,.customers-page .customers-finance-table td{padding:8px 6px;font-size:12px}.customers-page .customers-finance-table th:nth-child(-n+3):not(:first-child),.customers-page .customers-finance-table td:nth-child(-n+3):not(:first-child){display:none}.customers-page .customers-finance-table td:nth-child(n+4){white-space:nowrap}}
