/* A custom order's private pages: the customer's (/o/) and the contributor's (/w/). Builds on legal.css and login.css. */
.co-card { max-width: 640px; }
.co-card h1 { font-size: 1.9rem; margin-bottom: 4px; }
.co-ref { font: 600 .82rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.co-sec { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.co-sec h2 { font-size: 1.15rem; margin: 0 0 10px; }
.co-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 16px 0 0; }
.co-facts dt { color: var(--muted); font-size: .92rem; }
.co-facts dd { margin: 0; color: var(--ink); }
.co-status { display: inline-block; font: 700 .78rem var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.co-status.done { background: #eff8f1; border-color: #cde7d5; color: #1f5f34; }
.co-status.wait { background: #FFF4DC; border-color: #F3DEB0; color: #6B4700; }
.co-brief { white-space: pre-wrap; font-family: var(--serif); margin: 0 0 10px; }
.co-links { padding-left: 1.2em; margin: 0; }
.co-links li { overflow-wrap: anywhere; margin-bottom: 4px; }
.co-price { font: 700 1.6rem var(--serif); color: var(--ink); margin: 0 0 12px; }
.co-upi { display: grid; grid-template-columns: 168px 1fr; gap: 18px; align-items: start; margin-bottom: 16px; }
.co-qr { width: 168px; height: 168px; border: 1px solid var(--line); padding: 6px; background: #fff; }
.co-qr svg { width: 100%; height: 100%; display: block; }
.co-upi-id { font: 600 1.05rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; color: var(--ink); }
.co-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.co-files li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border: 1px solid var(--line); padding: 10px 12px; background: #fff; }
.co-files .lg-hint { white-space: nowrap; }
.co-note { white-space: pre-wrap; font-size: .92rem; color: var(--text); margin: 4px 0 0; }
.lg-field textarea { width: 100%; font: inherit; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; resize: vertical; }
.lg-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 160, 7, .3); }
.lg-field input[type=file] { padding: 8px; }
.co-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.co-actions .lg-btn { width: auto; }
@media (max-width: 520px) {
  .co-upi { grid-template-columns: 1fr; }
  .co-qr { margin: 0 auto; }
  .co-facts { grid-template-columns: 1fr; gap: 0; }
  .co-facts dd { margin-bottom: 8px; }
}

/* the Request a service form (/request/) */
.co-request { max-width: 680px; }
.co-pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
.co-pair2 .lg-field { align-content: start; }   /* the email's hint mustn't stretch the name beside it */
.co-choices { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.co-choices legend { font-weight: 600; color: var(--ink); font-size: .92rem; padding: 0; margin-bottom: 6px; }
.co-choices .lg-check { margin: 0; }
.co-date input { max-width: 220px; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-legal { margin: 14px 0 0; }
@media (max-width: 520px) { .co-pair2 { grid-template-columns: 1fr; } }

/* Messages with SolxLab, and asking for changes to the quote */
.co-ask { margin-top: 14px; }
.co-thread { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.co-msg { max-width: 85%; padding: 10px 13px; background: var(--surface); border: 1px solid var(--line); align-self: flex-start; }
.co-msg-you { align-self: flex-end; background: #fff; }
.co-msg-who { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.co-msg-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
