/* Chat actions stage 2 (worker/chat-book.ts, public/chat-book.js): Card 4, the order card the chat filled in from the
   client's own words. The question takes the place of the "Sends ..." box (the same coral-edged panel, so it reads as
   the one thing to check); the sign-by line under it is the card's small print. */
.order-card .order-book-ask { margin: 8px 0 8px; padding: 12px 14px; border: 1px solid var(--coral-line); border-radius: 14px;
  background: var(--surface); font-size: 16px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.order-card .order-book-ask b { font-weight: 700; }
.order-card .order-book-by { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.order-card .order-book-by b { font-weight: 600; color: var(--text); }
/* "Change the date": the card's second, quiet button (card-btn-quiet) beside its one coral button. */
@media (max-width: 560px) { .order-card .draft-acts > .order-book-change { flex: 1 1 100%; } }

/* Every confirm card (the chat's action cards, stage 1 and 2): a press that did not go through says so in the problem
   colour, never as faint small print (design critic r1, blocker 2; app.js settle adds is-failed). */
.action-card.is-failed .action-note { color: var(--danger); font-weight: 600; }

/* Every order card's send-time menu drawn like its date box (design critic r1, blocker 3): Safari kept the native menu,
   ~28pt tall beside the 44px date box, below the tap size. Flat, 44px, a drawn chevron in the theme's text colour; the
   date's value starts at the left like the time's. */
.order-card select.order-input {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.order-card input[type="date"].order-input::-webkit-date-and-time-value { text-align: left; }

/* A date on the order card's dates line kept on one line (app.js paintDates; design critic r3, F1). */
.order-date-whole { white-space: nowrap; }

/* The team's move and cancel cards ("Ask the team", app.js is-ask-team): the question as a sentence, as "Order this
   audience?" is, and the new day and time set apart from the booked one (design critic r1, finding 6). A settled card
   keeps card-polish's dimmed facts (is-settled). */
.action-card.is-ask-team .action-head { font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); }
.action-card.is-ask-team .action-facts dd { text-wrap: pretty; }
.action-card.is-ask-team:not(.is-settled) .action-facts dd.is-new { color: var(--navy-text); font-weight: 700; }
.action-card.is-ask-team .action-facts dd.is-old { color: var(--text-dim); font-weight: 400; }
