.orders-workspace{min-width:0;margin-bottom:24px}.order-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px;background:#fff;border:1px solid #dce7ec;border-radius:14px}.order-filters label{display:flex;flex-direction:column;gap:7px;color:#536b7b;font-size:13px;font-weight:600}.order-filters input,.order-filters select{width:100%;min-width:0;min-height:42px;border:1px solid #d6e2e8;border-radius:8px;padding:9px 11px;background:#fff;color:#173b4b;font:inherit}.order-filter-actions{display:flex;gap:8px;align-items:end}.order-company-scope:empty{display:none}.order-company-scope{margin:14px 0;padding:12px 16px;background:#e7f7f4;border-radius:8px}.orders-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.orders-summary>div{background:#fff;border:1px solid #dce7ec;border-radius:12px;padding:17px 20px;display:grid;gap:9px}.orders-summary span{color:#637b8a;font-size:13px}.orders-summary strong{font-size:27px;color:#153b4b}.order-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #dce7ec;border-radius:12px;background:#fff}.order-table{width:100%;min-width:1120px;border-collapse:collapse;text-align:left}.order-table th{padding:15px;background:#f6f9fb;color:#526979;font-size:13px;white-space:nowrap}.order-table td{padding:17px 15px;border-top:1px solid #edf1f4;vertical-align:top;font-size:14px;max-width:225px;overflow-wrap:anywhere}.order-table tr:hover td{background:#fcfefe}.order-table small{display:block;margin-top:7px;color:#70838e;font-size:12px;line-height:1.5}.order-money{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650}.order-badge{display:inline-flex;padding:4px 9px;border-radius:6px;font-size:12px;line-height:1.5;white-space:nowrap}.order-badge--good{color:#087c68;background:#e7f7f1}.order-badge--muted{color:#526a7b;background:#eef3f7}.order-badge--warning{color:#9b590f;background:#fff1db}.order-attention{color:#955714;font-size:12px;line-height:1.8}.order-muted{color:#8396a2}.order-table .order-empty{text-align:center;padding:48px 16px;color:#647b8a}.order-empty button,.orders-workspace .empty-state button{margin-left:14px}.order-detail-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0}.order-detail-status strong{margin-left:auto;font-size:24px}.order-detail-status>span:last-child{font-size:12px;color:#647b8a}.order-detail-card{border:1px solid #dce7ec;border-radius:12px;padding:22px;margin-top:16px;background:#fff}.order-detail-card h3{margin:0 0 16px}.order-detail-card p{color:#647b8a;line-height:1.7}.order-detail-card strong{overflow-wrap:anywhere}.order-detail-card h3 small{font-size:12px;font-weight:400;color:#70838e;margin-left:8px}.order-alert{background:#fff6e9;color:#875016;padding:18px 22px;border:1px solid #f4ddb6;border-radius:10px}.order-alert ul{margin:10px 0 0;padding-left:20px;line-height:1.9}.order-events{list-style:none;padding:0;margin:0}.order-events li{display:flex;gap:18px;flex-wrap:wrap;padding:13px 0;border-top:1px solid #edf1f4;font-size:13px}.order-events li span,.order-events li small{color:#718591}.order-price-panel{border-top:1px solid #dce7ec;padding-top:20px;margin-top:26px}.order-price-panel>summary{cursor:pointer;color:#244a5d;font-weight:700;padding:10px 0 20px}.orders-workspace [hidden]{display:none!important}@media(max-width:1100px){.order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.order-filters{grid-template-columns:1fr;padding:15px}.orders-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.orders-summary>div{padding:14px}.order-detail-card{padding:16px}.order-detail-status strong{margin-left:0}}

/* Keep query links consistent with the admin shell and all seven columns visible on desktop. */
.orders-workspace .console-link { appearance:none; border:0; padding:0; margin:0; background:transparent; box-shadow:none; color:#197466; font:inherit; font-weight:600; line-height:1.6; text-align:left; cursor:pointer; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.orders-workspace .console-link:hover { color:#0d554b; text-decoration:underline; }
.orders-workspace .console-link:focus-visible { outline:2px solid #27a494; outline-offset:3px; border-radius:3px; }
.order-table { min-width:960px; table-layout:fixed; }
.order-table th,.order-table td { padding-left:10px; padding-right:10px; }
.order-table th:nth-child(1){width:17%}.order-table th:nth-child(2){width:18%}.order-table th:nth-child(3){width:14%}.order-table th:nth-child(4){width:9%}.order-table th:nth-child(5){width:10%}.order-table th:nth-child(6){width:16%}.order-table th:nth-child(7){width:16%}

.order-detail-card form { display:grid; gap:12px; max-width:640px; margin:16px 0; }
.order-detail-card form label { display:grid; gap:6px; }
.order-detail-card form input { border:1px solid #cbd5e1; border-radius:8px; padding:10px; min-width:0; }
.order-refund-row { padding:16px 0; border-bottom:1px solid #e2e8f0; }

.payment-health{grid-column:1/-1;padding:18px;border:1px solid #dce7ec;border-radius:12px;background:#fff;min-width:0}
.payment-health p{color:#55717c;font-size:14px;line-height:1.7}.payment-health-jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:18px}
.payment-health-jobs>div{display:grid;gap:8px;padding:12px;background:#f4f9f8;border-radius:8px}.payment-health-jobs span,.payment-health-jobs small{font-size:13px;color:#55717c}
.payment-health-table{overflow:auto}.payment-health table{width:100%;min-width:520px;border-collapse:collapse}.payment-health th,.payment-health td{text-align:left;padding:12px;border-bottom:1px solid #e4ecef;font-size:14px}
.payment-health form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-top:18px}.payment-health label{display:grid;gap:6px;font-size:14px}.payment-health input{padding:10px;border:1px solid #cbd5e1;border-radius:8px;min-width:0}.payment-health [role=status]{flex-basis:100%}
