/* carvel page — the order row's held line and its one model-and-effort pick.
   Kept out of app.css, whose line ceiling is full. */

/* The order's own card while the order is held: the held word and its
   reason, above the card's controls. The row itself shows none of it: the line is one press away, in the
   card the row's sentence opens. */
.order-release-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-11, 0.6875rem);
  line-height: 1.4;
  color: var(--prose-dim);
}
.order-held-mark {
  color: var(--signal-amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-held-why { color: var(--prose-dim); }
/* The line sits above the popup's controls, and its own reasons wrap. */
.dialog .order-release-line { margin: var(--s-3) var(--s-4) 0; }

/* One control for the model and the effort: the two picks in one box, reading
   `model · effort`, where a row shows one pick for both answers. The row's own
   bar draws it. */
.order-pick-pair {
  display: inline-flex;
  align-items: stretch;
  min-width: 0;
  max-width: 19rem;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: var(--radius-sm, 0.25rem);
}
.order-pick-pair .order-picker { max-width: 10rem; }
.order-pick-pair .order-picker > button {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.order-pick-pair .order-pick-effort { flex: none; min-width: 4.5rem; max-width: 5.5rem; }
.order-pick-pair .order-pick-effort > button { font-size: var(--fs-11, 0.6875rem); text-overflow: clip; }
.order-pick-dot {
  display: inline-flex;
  align-items: center;
  padding: 0 0.125rem;
  color: var(--prose-dim);
}
.order-pick-pair:focus-within { border-color: var(--signal-green); }

@media (max-width: 700px) {
  /* The row's buttons wrap, so a field among them can take a line of its own. */
  .inbox-order-bar .order-actions { flex-wrap: wrap; }
  .order-pick-pair { max-width: none; flex: 1 1 12rem; }
  .order-pick-pair .order-picker,
  .order-pick-pair .order-pick-effort { max-width: none; }
}
