.order-overview-filters {display:flex;align-items:end;gap:.7rem 1rem;flex-wrap:wrap}
.order-overview-filters label {display:grid;gap:.3rem}
.order-overview td {vertical-align:top}
.order-overview td small {display:block;margin-top:.25em}
.order-overview time,.order-state {white-space:nowrap}
.order-state {display:inline-flex;align-items:center;gap:.45em;font-weight:600}
.order-state i {display:inline-block;width:.65em;height:.65em;flex:none;border:1px solid currentColor;border-radius:50%;background-color:var(--signal,#a3a5a0);color:var(--signal,#a3a5a0)}
.state-draft,.state-archived {--signal:#a3a5a0}
.state-submitted {--signal:#f2bf66}
.state-awaiting_payment {--signal:#ed9654}
.state-approved {--signal:#70bafa}
.state-production,.state-in-production {--signal:#f2b45a}
.state-ready {--signal:#c5d873}
.state-closed {--signal:#82cf79}
.state-shipped {--signal:#82cf79}
.state-invoiced {--signal:#c6a6ef}
.state-cancelled,.state-canceled {--signal:#ef827a}
.order-owner-actions {display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .8rem}
.order-owner-actions a {white-space:nowrap}
.order-owner-actions .order-delete,.handover-state.missing {color:#f39488}
.order-due-late {color:#ff8885;font-weight:700}
.order-due-soon {color:#efad61}
.handover-state.complete {color:#a4d998}
.order-attention {display:inline-block;font-size:.8rem;font-weight:650;line-height:1.3;border:1px solid currentColor;border-radius:1em;padding:.06em .5em;margin:.08em .12em}
.order-attention.new {color:#ffbf74;background:#3a2d22}
.order-attention.request {color:#ffa69a;background:#3e2623}
.order-attention.updated {display:inline-flex;box-sizing:border-box;inline-size:7.5rem;max-inline-size:100%;flex:none;align-self:start;justify-self:start;align-items:center;justify-content:center;white-space:nowrap;color:#ffd186;background:#372e23}
.workspace-recent .recent-status-cell {display:flex;flex-direction:column;align-items:flex-end;justify-self:end;gap:.2rem;text-align:right}
.workspace-recent .recent-status-badges,.workspace-recent li > span:has(> .order-state) {display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.2rem .3rem}
.workspace-recent .recent-status-badges:not(:has(.order-attention)) {display:none}
.workspace-recent li .order-attention {margin:0}
.workspace-recent li .order-attention.request {order:-1}
.workspace-recent li > span > .order-state {flex-basis:100%;justify-content:flex-end}
@media(min-width:581px) {
  .workspace-dashboard .workspace-recent li {grid-template-columns:minmax(0,1fr) auto 10rem}
}
@media(max-width:580px) {
  .workspace-dashboard .workspace-recent li {grid-template-columns:minmax(0,1fr) auto}
  .workspace-recent li > a:first-child {grid-column:1;grid-row:1}
  .workspace-recent li > span:nth-child(2) {grid-column:2;grid-row:1/span 2}
  .workspace-recent li > span:last-child {grid-column:1;grid-row:2;justify-items:start;text-align:left}
}
.order-updates ul {max-height:17rem;overflow:auto;padding-inline-start:1.25rem}
.stock-choice-line {padding:.65em 0;border-top:1px solid var(--line,#534f47)}
.panel.order-stock {border-inline-start:4px solid #a3cd74}
#stock-for-order {scroll-margin-top:5rem}
.stock-origin {display:inline-block;color:#bed79a;margin-inline:.3em}
.order-stock-form {display:flex;align-items:center;flex-wrap:wrap;gap:.5em 1em;margin-top:.3rem}
.order-stock-form input[type=number] {width:4.5em}
.order-overview-filters select {max-width:100%}
@media (max-width:42rem) {.order-overview-filters label {flex:1 1 11rem;min-width:0}}
