.direct-admin-panel{max-width:1120px}
.direct-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}
.direct-status-grid article{display:grid;gap:7px;padding:15px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--panel) 94%,#25c4df 6%)}
.direct-status-grid span{color:var(--muted);font-size:11px}
.direct-status-grid strong{font-size:16px}
.ok-text{color:#33d39b}
.warning-text{color:#ffcb7f}
.direct-security-note{margin:0 0 18px;padding:13px 15px;border-left:4px solid #ffcb7f;border-radius:9px;background:rgba(255,203,127,.08)}
.direct-security-note.safe{border-left-color:#33d39b;background:rgba(51,211,155,.07)}
.direct-security-note p{margin:4px 0 0;color:var(--muted);font-size:12px}
.direct-compliance-note{margin:0 0 18px}
.direct-compliance-note p{margin:5px 0 0;color:var(--muted);font-size:12px}
.direct-two-column{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.direct-card{padding:20px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}
.direct-card h2{margin:3px 0 10px;font-size:20px}
.direct-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.direct-card-head form{margin:0}
.direct-card-head button{white-space:nowrap}
.direct-address-list{display:grid;gap:8px;margin:16px 0;padding:0;list-style:none;counter-reset:addresses}
.direct-address-list li{display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;counter-increment:addresses;min-width:0}
.direct-address-list li:before{content:counter(addresses);display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:7px;background:rgba(37,196,223,.14);color:#25c4df;font-size:10px;font-weight:900}
.direct-address-list code{min-width:0;flex:1;overflow-wrap:anywhere;font-size:10px}
.direct-address-list span{padding:4px 7px;border-radius:999px;background:rgba(51,211,155,.1);color:#33d39b;font-size:9px;font-weight:800}
.unmatched-card{margin-top:16px}
.direct-command-note{margin-top:16px}
.direct-command-note p{margin:5px 0}
.direct-command-note code{display:inline-block;padding:7px 9px;border-radius:6px;background:rgba(0,0,0,.18)}
@media(max-width:850px){
  .direct-status-grid{grid-template-columns:1fr 1fr}
  .direct-two-column{grid-template-columns:1fr}
}
@media(max-width:540px){
  .direct-status-grid{grid-template-columns:1fr}
  .direct-card{padding:16px}
  .direct-card-head{display:grid}
  .direct-card-head button{width:100%}
}
.orders-admin-panel{max-width:1180px;overflow:hidden}
.order-table-wrap{max-width:100%;overflow-x:hidden}
.compact-order-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}
.compact-order-table th:nth-child(1){width:12%}
.compact-order-table th:nth-child(2){width:18%}
.compact-order-table th:nth-child(3){width:23%}
.compact-order-table th:nth-child(4){width:18%}
.compact-order-table th:nth-child(5){width:12%}
.compact-order-table th:nth-child(6){width:17%}
.compact-order-table th,.compact-order-table td{vertical-align:top;overflow-wrap:anywhere}
.order-id-stack,.order-product-cell,.order-payment-cell{display:grid;gap:5px;min-width:0}
.order-id-stack code{font-size:11px}
.order-id-stack small,.order-product-cell small,.order-payment-cell small{color:var(--muted);font-size:10px}
.order-badges{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.order-badges .test-order-badge{margin:0}
.order-customer-cell{font-size:11px}
.order-payment-cell .amount-due{color:#ffcb7f;font-weight:800}
.order-payment-cell .amount-over{color:#ff7899;font-weight:800}
.compact-order-table tr.has-overpayment{background:rgba(255,40,93,.035)}
.delivery-tracking.compact{gap:3px}
.delivery-tracking.compact .tracking-state{font-size:9px}
.order-actions-cell{display:grid;gap:7px;min-width:0}
.order-actions-cell form{margin:0}
.order-actions-cell .table-action{width:100%;white-space:normal}
.primary-table-action{border-color:rgba(255,40,93,.55);background:rgba(255,40,93,.11);color:#ff7899}
.test-filter{border-style:dashed!important}
@media(max-width:900px){
  .order-table-wrap{overflow-x:auto}
  .compact-order-table{min-width:860px}
}
