/* The Orders list and one order's page: money columns, the order's facts,
   and the courier's parcels with the changes the poll saw. */
.orders-table__money {
  text-align: end;
  font-variant-numeric: tabular-nums;
}

/* A cancelled or test order is still a record, drawn quieter than the rest. */
.orders-table__row--void th,
.orders-table__row--void td {
  color: var(--k-color-muted);
}

.order-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-head__meta a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--k-color-line);
  text-underline-offset: 3px;
}

/* Label and figure on one line each, the figure at the end. */
.order-facts {
  margin: 0;
  padding: 4px 20px 8px;
}

.order-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--k-color-line);
}

.order-facts > div:last-child {
  border-bottom: 0;
}

.order-facts dt {
  color: var(--k-color-muted);
}

.order-facts dd {
  margin: 0;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.order-facts__row--strong dt,
.order-facts__row--strong dd {
  color: var(--k-color-ink);
  font-weight: 700;
}

.order-parcels {
  margin: 0;
  padding: 0 20px;
  list-style: none;
}

.order-parcel {
  padding: 14px 0;
}

.order-parcel + .order-parcel {
  border-top: 1px solid var(--k-color-line);
}

.order-parcel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.order-parcel__number {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.order-parcel__track {
  margin-inline-start: auto;
}

.order-parcel__reason {
  margin: 8px 0 0;
}

.order-parcel .order-facts {
  padding-inline: 0;
}

/* What the poll saw, newest first, each dated by the poll. */
.order-timeline {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-inline-start: 2px solid var(--k-color-line);
}

.order-timeline li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-block: 4px;
  padding-inline-start: 12px;
}

.order-timeline time {
  min-width: 150px;
  color: var(--k-color-muted);
  font-variant-numeric: tabular-nums;
}

/* An order number on another page is a way to the order's own, in the
   ink around it: the browser's link blue is not a colour in the system. */
.order-list__number a,
.cp-work__what strong a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--k-color-line);
  text-underline-offset: 3px;
}
