/* ticket-requests.css - b688tl (2026-10-05): the requests that name a job ticket, on the Whole Ticket */
.treq-panel{grid-column:1/-1}
.treq-summary{font-weight:650;margin:6px 0 12px}
.treq-empty{color:var(--muted,#5b6b75);margin:8px 0 14px}
.treq-card{border:1px solid var(--line,#d9e5eb);border-left:4px solid var(--teal,#087e83);border-radius:12px;padding:14px 16px;margin:12px 0;background:#fff}
.treq-card.is-closed{border-left-color:#9fb3bf;background:#fbfcfd}
.treq-card.is-late{border-left-color:var(--bad,#b3261e)}
.treq-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.treq-head strong{font-size:1.02rem;margin-right:4px;overflow-wrap:anywhere}
.treq-badge{font-size:12px;padding:2px 8px;border-radius:999px;background:#e8f1f5;color:#21465c}
.treq-badge.good{background:#e3f4ea;color:#1d6b3a}.treq-badge.warn{background:#fff3dc;color:#7a4b00}.treq-badge.bad{background:#fde7e5;color:#8c1d16}.treq-badge.muted{background:#eef1f3;color:#56646d}
.treq-meta{color:var(--muted,#5b6b75);font-size:13px;margin:6px 0;overflow-wrap:anywhere}
.treq-next{margin:8px 0;padding:8px 12px;border-radius:8px;background:#eaf3fa;color:#163e57;font-weight:600}
.treq-progress{margin:6px 0;color:#244962}
.treq-desc{white-space:pre-wrap;margin:8px 0}
.treq-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px 16px;margin:10px 0}
.treq-facts div{min-width:0}.treq-facts dt{font-size:12px;color:var(--muted,#5b6b75)}.treq-facts dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
.treq-deliverable{margin:10px 0;padding:10px 12px;border-radius:8px;background:#effaf3;border:1px solid #cfe9d8}
.treq-deliverable p{margin:4px 0}
.treq-files{font-size:13px;margin:6px 0;overflow-wrap:anywhere}
.treq-steps-box summary{cursor:pointer;font-weight:600;margin:6px 0}
.treq-steps{margin:6px 0 0;padding-left:20px;font-size:13px}.treq-steps li{margin:3px 0;overflow-wrap:anywhere}.treq-steps time{color:var(--muted,#5b6b75)}
.treq-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}
.treq-link{font-weight:600}
.treq-closed summary{cursor:pointer;font-weight:600;margin:10px 0}
.treq-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid #d9e5eb;border-radius:14px;margin:18px 0;background:#f8fbfc}
.treq-form h3{grid-column:1/-1;margin:0}
.treq-form label{display:grid;gap:7px;font-weight:650;min-width:0}
.treq-form input,.treq-form select,.treq-form textarea{min-width:0;width:100%;padding:11px;border:1px solid #b8cdd8;border-radius:8px;font:inherit;box-sizing:border-box}
.treq-form textarea{min-height:95px}
.treq-form .treq-wide,.treq-form .treq-note,.treq-form .treq-status,.treq-form button{grid-column:1/-1}
.treq-form button{justify-self:start}
.treq-note{color:var(--muted,#5b6b75);font-size:13px;margin:0}
.treq-status:empty{display:none}
@media(max-width:640px){.treq-form{grid-template-columns:1fr;padding:12px}.treq-form>*{min-width:0}.treq-card{padding:12px}}
/* b688tl Build 2: the PO a material request closed on, as the OS recorded it */
.treq-deliverable .treq-po { margin: 4px 0 2px; font-weight: 600; }
.treq-deliverable .treq-po-lines { margin: 4px 0 6px 18px; padding: 0; font-size: 13px; }
.treq-deliverable .treq-po-lines li { margin: 2px 0; overflow-wrap: anywhere; }
