/* Approved direct-communication mockup; all styles scoped to order communication. */
.od-related {margin:15px 0 0}.od-related .od-related-tabs {grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.od-related .od-related-tabs button {font-size:12px;gap:4px;min-height:41px;padding:7px 2px}.od-related .od-related-tabs svg {width:14px}.od-related .od-related-tabs .od-related-count {width:17px;min-width:17px;height:17px;font-size:10px}.od-related [role=tabpanel] {padding:0 10px}.od-related .panel-toolbar {display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px 0;border-bottom:1px solid #e7decd}.od-related .panel-toolbar .toolbar-title {display:flex;align-items:center;gap:5px;color:#897353;font-size:11px}.od-related .panel-toolbar .toolbar-title svg {width:12px;height:12px}.od-related .action-primary {background:#eadebd;border:1px solid #b99b4e;color:#614611;display:flex;align-items:center;justify-content:center;gap:5px;font-weight:900;font-size:12px;border-radius:5px;padding:5px 9px}.od-related .action-primary:hover {background:#e5d4a7}.od-related .action-primary svg {width:14px;height:14px}.od-related .action-quiet {display:inline-flex;align-items:center;gap:5px;padding:3px 0;background:transparent;border:0;color:#8c733b;font-size:11px}.od-related .action-quiet svg {width:12px;height:12px}.od-related .linked-foot {display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#9a8667;padding:9px 0}.od-related .linked-foot span {display:flex;align-items:center;gap:5px}.od-related .linked-foot svg {width:12px;height:12px}.od-related .thread-card {border-bottom:1px solid #e8dfcf}.od-related .thread-card:last-child {border-bottom:0}.od-related .thread-card>summary {list-style:none;display:grid;grid-template-columns:7px minmax(0,1fr) 36px 12px;align-items:center;gap:7px;cursor:pointer;padding:12px 0;min-height:43px}.od-related .thread-card>summary::-webkit-details-marker {display:none}.od-related .unread-dot {width:5px;height:5px;background:#b8960b;border-radius:50%}.od-related .thread-card.read .unread-dot {background:transparent}.od-related .thread-line {display:flex;align-items:baseline;gap:5px;min-width:0;line-height:19px;overflow:hidden}.od-related .thread-name {font-size:12px;flex-shrink:0;max-width:78px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.od-related .thread-name:after {content:' ·';color:#baa987;font-weight:800}.od-related .thread-subject {font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:0 1 auto;max-width:128px;min-width:52px}.od-related .thread-preview {font-size:11px;color:#8b795e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:24px;flex:1}.od-related .thread-time {font-size:10px;color:#9a8668;text-align:left}.od-related .thread-summary .od-related-icon-chevron {width:12px;height:12px;color:#a68d55;transition:transform .15s}.od-related .thread-card[open]>.thread-summary .od-related-icon-chevron {transform:rotate(180deg)}.od-related .thread-card[open]>.thread-summary {border-bottom:1px dashed #ddcfb4}.od-related .thread-card[open] .thread-name {color:#846013}.od-related .thread-content {padding:10px 0 12px}.od-related .conversation-title {display:flex;justify-content:space-between;align-items:start;gap:8px;margin-bottom:10px}.od-related .conversation-title h3 {font-size:14px;line-height:1.35}.od-related .conversation-title small {font-size:10px;color:#927c55;display:block;margin-top:2px}.od-related .conversation-title .action-quiet {white-space:nowrap}.od-related .messages {display:grid;gap:9px}.od-related .message {border:1px solid #e1d7c5;background:#fffdfa;border-radius:6px;padding:10px 11px;min-width:0}.od-related .message.outbound {background:#f3eee2;border-color:#e5dac2}.od-related .message-head {display:flex;justify-content:space-between;align-items:baseline;gap:7px;font-size:11px;margin-bottom:5px}.od-related .message-head strong {color:#6d5934}.od-related .message-head time {font-size:10px;color:#9b8767;white-space:nowrap}.od-related .message p {font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.od-related .message-to {font-size:10px;color:#9b8767;margin-bottom:5px;overflow:hidden;text-overflow:ellipsis}.od-related .attachment-chip {display:inline-flex;align-items:center;gap:4px;font-size:10px;padding:3px 6px;border:1px solid #daccb4;color:#7e662f;border-radius:4px;margin-top:7px;background:#fffdf7;max-width:100%;overflow-wrap:anywhere}.od-related .attachment-chip svg {width:12px;height:12px}.od-related .attachment-chip button {border:0;background:none!important;padding:0 2px!important;font-size:11px!important}.od-related .source-badge {border-radius:3px;background:#f2ecde;color:#9b824b;font-size:10px;padding:1px 5px}.od-related .reply-box {margin-top:10px;border:1px solid #d2bd89;background:#fffefa;border-radius:6px;overflow:hidden}.od-related .reply-to {display:flex;align-items:center;gap:5px;font-size:10px;color:#8a744e;padding:7px 9px;border-bottom:1px solid #eee5d2}.od-related .reply-to svg {width:12px;height:12px}.od-related .reply-box textarea {display:block;width:100%;resize:vertical;min-height:72px;max-height:180px;border:0;outline:none;background:transparent;padding:9px 10px;font-size:13px;line-height:1.5}.od-related .reply-box:focus-within {box-shadow:0 0 0 2px #b8960b18}.od-related .compose-bottom {display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px;border-top:1px solid #e8ddc6}.od-related .compose-context {font-size:10px;color:#967d52;display:flex;gap:4px;align-items:center}.od-related .compose-context svg {width:11px;height:11px}.od-related .send-button {background:#1e1810;color:#fff8e7;border-color:#1e1810;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;min-width:79px;padding:5px 10px}.od-related .send-button:hover {background:#453622}.od-related .send-button svg {width:13px;height:13px}.od-related .compose-form {padding:11px 0;border-bottom:1px solid #d9caab}.od-related .form-title {display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.od-related .form-title h3 {font-size:14px}.od-related .form-close {background:none;border:0;padding:2px;color:#9b7b20;display:grid;place-items:center}.od-related .form-close svg {width:13px}.od-related .field {display:block;margin-bottom:9px;font-size:11px;color:#8a7048}.od-related .field>span {display:block;margin-bottom:4px}.od-related .field input,.od-related .field select,.od-related .field textarea {width:100%;border:1px solid #dcd1bb;background:#fffefa;border-radius:5px;padding:7px 9px;outline:0;font-size:13px}.od-related .field input:focus,.od-related .field select:focus,.od-related .field textarea:focus {border-color:#b8960b;box-shadow:0 0 0 2px #b8960b15}.od-related .field textarea {min-height:104px;resize:vertical;line-height:1.5}.od-related .field-row {display:grid;grid-template-columns:1fr 1fr;gap:10px}.od-related .form-actions {display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:9px}.od-related .file-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap}.od-related .file-actions .action-quiet {font-size:11px}.od-related .file-list {display:flex;gap:5px;flex-wrap:wrap}.od-related .error-box {font-size:12px;color:#973f31;background:#fbefe6;border:1px solid #e6c4b3;padding:7px 9px;border-radius:4px;margin:8px 0;line-height:1.45}.od-related .internal-label {display:flex;align-items:center;gap:5px;font-size:10px;color:#8a7655}.od-related .internal-label svg {width:11px}.od-related .task-status {display:inline-flex;font-size:10px;padding:1px 5px;border-radius:4px;color:#89602d;background:#f2e5d2}.od-related .task-status.done {color:#3e6c4b;background:#e8efe3}.od-related .task-status.urgent {color:#a15c32;background:#f4e4d1}.od-related .task-detail {font-size:13px;line-height:1.5;margin-bottom:9px}.od-related .task-meta {display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px;color:#88704c;font-size:11px}.od-related .task-meta>span {border:1px solid #e4d9c3;border-radius:4px;padding:2px 6px}.od-related .complete-task {display:flex;align-items:center;gap:6px;width:100%;justify-content:center;margin-bottom:10px;border-color:#ceb985;background:#f4eddb;font-size:12px;color:#735a26}.od-related .complete-task.is-done {background:#eaf0e5;border-color:#c7d6bd;color:#43654b}.od-related .task-check {width:13px;height:13px;flex-shrink:0;border:1.5px solid #b89b54;border-radius:3px;background:#fffaf0;display:grid;place-items:center;font-size:10px}.od-related .task-check.done {background:#6a875f;color:#fff;border-color:#6a875f}.od-related .thread-card.kind-task>summary {grid-template-columns:14px minmax(0,1fr) auto 12px}.od-related .kind-task .thread-name {flex:1;max-width:none}.od-related .kind-task .thread-name:after {content:''}.od-related .kind-task .thread-preview {flex:0 1 85px}.od-related .empty-note {text-align:center;padding:25px 8px;color:#948060;font-size:13px}.od-related .call-record {font-size:13px;padding:12px 0}.od-related .call-record h3 {font-size:13px;margin-bottom:6px}.od-related .call-record p {line-height:1.6}.od-related .call-record small {display:block;font-size:11px;color:#9a8460;margin-top:6px}.od-related .call-disclaimer {font-size:11px;color:#9a8460;padding-bottom:10px}.od-related .manual-link {background:#f6f0e2;border:1px solid #dfd0ad;border-radius:5px;padding:10px;margin-bottom:9px;font-size:12px}.od-related .manual-link .field {margin:7px 0}.od-related .manual-link .action-primary {margin-right:auto}
.od-related .od-related-tabs:not(:has([data-arg1="mail"])) {grid-template-columns:repeat(2,minmax(0,1fr))}
.od-related p,.od-related h3 {margin:0}.od-related h3 {font-weight:900}.od-related input,.od-related select,.od-related textarea {font:700 13px/1.5 Assistant,sans-serif;color:#1e1810;min-width:0}
.od-related svg {width:16px;height:16px;flex-shrink:0}.od-related .thread-time {max-width:36px;overflow:hidden;white-space:nowrap}
.od-related .thread-content .od-related-body {font-size:13px}.od-related .thread-preview {white-space:nowrap}.od-related .message {overflow-wrap:anywhere}.od-related .message p {margin:0}
.od-related .thread-summary {font-weight:800}.od-related .thread-content [role=alert] {margin:8px 0}.od-related .manual-link select {width:100%}
@media(max-width:700px) {
.od-related .thread-line {display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 5px;line-height:17px}
.od-related .thread-name {max-width:112px}.od-related .thread-subject {max-width:none;min-width:0}.od-related .thread-preview {grid-column:1/-1;max-width:100%}
.od-related .thread-card>summary {gap:5px;padding:10px 0;grid-template-columns:6px minmax(0,1fr) 32px 11px;min-height:51px}
.od-related .thread-card.kind-task>summary {grid-template-columns:13px minmax(0,1fr) auto 11px}.od-related .kind-task .thread-name {max-width:none}
.od-related .od-related-tabs button {font-size:11px;gap:3px;padding-inline:1px}.od-related .od-related-tabs svg {width:12px}
.od-related .conversation-title {flex-wrap:wrap}.od-related .compose-context {font-size:9px}.od-related .action-primary {font-size:11px;padding:5px 7px}
}
@media(max-width:360px) {.od-related [role=tabpanel] {padding-inline:8px}.od-related .od-related-tabs svg {display:none}.od-related .thread-name {max-width:92px}}
@media(prefers-reduced-motion:reduce) {.od-related .thread-summary .od-related-icon-chevron {transition:none}}

/* Approved UX rounds: quiet hierarchy, readable writing, stable order context. */
.od-related { --od-cream:#faf8f3; margin-top:24px; }
.od-related .od-related-summary { min-height:48px; padding:10px 4px; border:0; border-radius:0; background:transparent; }
.od-related .od-related-disclosure[open]>.od-related-summary { background:transparent; border:0; }
.od-related .od-related-heading { font-size:18px; letter-spacing:-.3px; }
.od-related .od-related-total { background:#eee7d7; border:0; color:#66532e; min-width:22px; height:22px; }
.od-related .od-related-sections { padding-top:3px; }
.od-related .od-related-tabs { gap:0; padding:3px; margin-bottom:3px; background:#f0ece2; border:1px solid #e4ddcf; border-radius:9px; }
.od-related .od-related-tabs button { border:0; border-radius:6px; min-height:44px; padding:8px 3px; gap:5px; background:transparent; color:#6a5f4f; font-size:14px; }
.od-related .od-related-tabs button[aria-selected=true] { background:#fffdf8; color:#5f480d; box-shadow:0 1px 4px #49300e15,inset 0 -2px #b8960b; }
.od-related .od-related-tabs .od-related-count { background:transparent; border:0; color:#73664f; font-size:11px; min-width:12px; width:auto; padding:0; }
.od-related .od-related-tabs button[aria-selected=true] .od-related-count { color:#785b09; }
.od-related .od-related-tabs svg { width:15px; height:15px; }
.od-related [role=tabpanel] { background:transparent; border:0; border-radius:0; padding:0; }
.od-related .panel-toolbar { padding:12px 0; min-height:60px; border-bottom:1px solid #e5ddce; }
.od-related .panel-toolbar .toolbar-title { font-size:12px; color:#6e614c; }
.od-related .action-primary { min-height:36px; padding:7px 11px; font-size:13px; border-radius:7px; background:#eadebd; color:#58400c; border-color:#d3bc77; }
.od-related .action-quiet { color:#725612; font-size:12px; min-height:32px; }
.od-related .thread-card { border-bottom:1px solid #e6dece; }
.od-related .thread-card>summary { min-height:52px; grid-template-columns:6px minmax(0,1fr) 36px 14px; gap:8px; padding:12px 2px; border-radius:6px; }
.od-related .thread-card>summary:hover { background:#f2ede1; }
.od-related .thread-line { line-height:21px; gap:7px; }
.od-related .thread-line>* { line-height:inherit; }
.od-related .thread-name { color:#392d1e; font-size:14px; flex:0 1 88px; max-width:90px; }
.od-related .thread-name:after { content:none; }
.od-related .thread-subject { color:#66542f; font-size:14px; flex:0 1 106px; max-width:105px; }
.od-related .thread-preview { color:#786b55; font-size:13px; }
.od-related .thread-time { color:#7c6c52; font-size:11px; }
.od-related .thread-card[open]>summary { background:#f0eadd; border-radius:7px 7px 0 0; padding-inline:8px; }
.od-related .thread-content { padding:12px 4px 18px; }
.od-related .conversation-title { align-items:center; gap:12px; margin-bottom:10px; }
.od-related .conversation-title h3 { font-size:17px; color:#322718; overflow-wrap:anywhere; }
.od-related .conversation-title small { color:#77664d; font-size:11px; }
.od-related .messages { gap:10px; }
.od-related .message { border-color:#e4dbca; border-radius:8px; padding:10px 12px; margin-inline-end:14px; background:#fffdf8; }
.od-related .message.outbound { margin-inline-end:0; margin-inline-start:14px; background:#f1ecdf; border-color:transparent; }
.od-related .message-head { margin-bottom:5px; font-size:12px; }
.od-related .message-head strong { color:#655232; }
.od-related .message-head time { font-size:11px; color:#796b54; }
.od-related .message p { font-size:14px; line-height:1.65; }
.od-related .attachment-chip { font-size:12px; padding:6px 9px; border-radius:6px; min-height:34px; gap:6px; min-width:0; }
.od-related .attachment-chip button { display:grid; place-items:center; min-width:32px; min-height:32px; border-radius:4px; flex-shrink:0; font-size:16px!important; }
.od-related .file-list .attachment-chip { width:100%; justify-content:space-between; }
.od-related .attachment-name { min-width:0; overflow-wrap:anywhere; text-align:start; }
.od-related .reply-box { margin-top:12px; border-color:#c7ac5c; border-radius:9px; box-shadow:0 2px 7px #70501306; }
.od-related .reply-to { flex-wrap:wrap; padding:10px 12px; gap:5px 7px; color:#6a5734; background:#faf6e9; font-size:12px; }
.od-related .reply-to bdi { margin-inline-start:auto; overflow-wrap:anywhere; font-weight:700; }
.od-related .reply-box textarea { min-height:84px; padding:12px; font-size:15px; line-height:1.65; }
.od-related .reply-box textarea::placeholder { color:#82735b; }
.od-related .reply-box:focus-within { border-color:#8d6d0c; box-shadow:0 0 0 3px #b8960b20; }
.od-related .compose-bottom { background:#fffdf8; padding:10px; border-top:1px solid #eee5d3; }
.od-related .compose-context { color:#76664c; font-size:11px; }
.od-related .send-button { background:#292114; border:1px solid #292114; color:#fff9e9; min-height:40px; font-size:14px; padding:8px 15px; border-radius:7px; white-space:nowrap; }
.od-related .send-button:hover { background:#4a3b20; }
.od-related .send-button:disabled { background:#ece7db; border-color:#e1d7c4; color:#8a7956; opacity:1; cursor:not-allowed; }
.od-related .send-button[aria-busy=true] { background:#f1e6c8; color:#725613; cursor:wait; }
.od-related .compose-form { padding:10px 0 18px; border-bottom:1px solid #e1d5bf; }
.od-related .form-title { margin-bottom:9px; }
.od-related .form-title h3 { font-size:17px; }
.od-related .form-close { width:40px; height:40px; border:1px solid #d8c48b; border-radius:50%; background:#fffaed; }
.od-related .field { color:#5e503d; font-size:13px; margin-bottom:10px; }
.od-related .field>span { margin-bottom:5px; }
.od-related .field input,.od-related .field select,.od-related .field textarea { min-height:42px; font-size:15px; border-color:#d7cbb4; border-radius:7px; padding:9px 11px; background:#fffdf8; }
.od-related .field textarea { min-height:112px; }
/* Content follows its language; keep the surrounding controls in RTL. */
.od-related [dir=auto]:dir(ltr),.od-related input[dir=ltr] { direction:ltr; text-align:start; }
.od-related [dir=auto]:dir(rtl) { direction:rtl; text-align:start; }
.od-related .field input:focus,.od-related .field select:focus,.od-related .field textarea:focus { border-color:#8e6d0e; box-shadow:0 0 0 3px #b8960b1c; }
.od-related .field [aria-invalid=true] { border-color:#a6523b; box-shadow:0 0 0 2px #a6523b18; }
.od-related .file-actions { gap:12px; }
.od-related .file-actions .action-quiet { font-size:12px; min-height:38px; }
.od-related .file-list { gap:7px; }
.od-related .form-actions { padding-top:9px; }
.od-related .error-box { color:#8e3b29; background:#fff1e9; border-color:#ebc6b3; font-size:13px; padding:10px 12px; border-radius:7px; }
.od-related .error-box:focus { outline:2px solid #b76143; outline-offset:2px; }
.od-related .internal-label { color:#6e604b; font-size:12px; }
.od-related .linked-foot { padding-top:11px; font-size:11px; color:#75664e; }
.od-related .od-related-footer { border-top:1px solid #e5ddce; padding-top:10px; }
.od-related .od-related-footer button { min-height:36px; font-size:12px; background:transparent; border:0; }
.od-related .task-detail { font-size:14px; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.od-related .task-meta { font-size:12px; color:#6a5739; }
.od-related .task-status { font-size:11px; padding:2px 6px; }
.od-related .complete-task { min-height:40px; font-size:13px; border-radius:7px; }
.od-related .kind-task .thread-name { flex:1; max-width:none; }
.od-related input,.od-related textarea,.od-related summary,.od-related .error-box { scroll-margin-block:118px 16px; }
.od-related .od-com-context { display:none; align-items:center; gap:10px; position:sticky; top:0; z-index:4; background:#faf8f3; border-bottom:1px solid #dccdad; min-height:58px; padding:4px 2px; }
.od-related.od-com-working:has(.od-related-disclosure[open])>.od-com-context { display:flex; }
.od-related .od-com-context>span { display:grid; gap:1px; font-size:13px; min-width:0; }
.od-related .od-com-context small { font-size:11px; color:#74654d; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.od-related .od-com-context button { margin-inline-start:auto; min-height:44px; white-space:nowrap; }
.od-related.od-com-working .od-related-tabs { position:sticky; top:58px; z-index:3; box-shadow:0 4px 0 #faf8f3; }
@media(max-width:700px) {
  .od-related .thread-line { line-height:21px; row-gap:0; }
  .od-related .thread-card>summary { min-height:62px; padding-block:10px; }
  .od-related .thread-name,.od-related .thread-subject { font-size:13px; }
  .od-related .thread-name { max-width:113px; }
  .od-related .thread-subject { max-width:none; }
  .od-related .kind-task .thread-name { grid-column:1/-1; max-width:none; }
  .od-related .kind-task .thread-preview { width:100%; }
  .od-related .od-related-tabs svg { display:none; }
  .od-related .od-related-tabs button { gap:5px; font-size:14px; padding-inline:2px; }
  .od-related .od-related-tabs .od-related-count { min-width:10px; font-size:11px; }
  .od-related .od-related-tab-label { flex:none; overflow:visible; }
  .od-related .action-primary,.od-related .action-quiet,.od-related .complete-task { min-height:44px; }
  .od-related .form-close { width:44px; height:44px; }
  .od-related .conversation-title h3 { font-size:16px; }
  .od-related .reply-to bdi { width:100%; margin-inline-start:0; font-size:12px; }
  .od-related .send-button { min-height:44px; padding-inline:12px; }
  .od-related .compose-bottom { gap:6px; }
  .od-related .field input,.od-related .field select,.od-related .field textarea,.od-related .reply-box textarea { font-size:16px; }
  .od-related .file-actions { gap:3px 14px; }
  .od-related .attachment-chip button { min-width:44px; min-height:44px; }
  .od-related .compose-context { font-size:11px; }
}
@media(max-width:360px) {
  .od-related .od-related-tabs button { font-size:13px; gap:2px; padding-inline:1px; }
  .od-related [role=tabpanel] { padding-inline:0; }
  .od-related .od-com-context button { font-size:11px; }
  .od-related .compose-context { max-width:128px; line-height:1.3; }
  .od-related .send-button { font-size:13px; padding-inline:10px; }
}
/* Runtime round 2: selected counts and the shared order-mail writing surface. */
.od-related .od-related-tabs button[aria-selected=true] .od-related-count { background:transparent; border:0; }
#pmail-conv.pmail-order-context .pmail-conv-reply { background:#faf8f3; border-top:1px solid #d8c48b; }
#pmail-conv.pmail-order-context .pmail-reply-textarea { background:#fffdf8; border:1px solid #c7ac5c; border-radius:9px; font:700 16px/1.65 Assistant,sans-serif; min-height:110px; }
#pmail-conv.pmail-order-context .pmail-reply-meta { font-size:12px; color:#6a5734; overflow-wrap:anywhere; }
#pmail-conv.pmail-order-context .pmail-reply-foot { gap:12px; flex-wrap:wrap; }
#pmail-conv.pmail-order-context .pmail-reply-foot button { min-height:44px; font-size:14px; }
#pmail-conv.pmail-order-context [data-action=pmailBackToOrder] { min-height:44px; background:#f0eadd; color:#725612; }

#pmail-conv.pmail-order-context .pmail-order-error { margin:10px 0; padding:10px 12px; background:#fff1e9; border:1px solid #ebc6b3; border-radius:7px; color:#8e3b29; font-size:13px; }
#pmail-conv.pmail-order-context .pmail-order-error:focus { outline:2px solid #b76143; outline-offset:2px; }

/* Order-bound marketer inquiries: conditional fifth tab, mail remains last. */
.od-related .od-related-tabs:has([data-arg1=inquiries]) { grid-template-columns:repeat(5,minmax(0,1fr)); }
.od-related .od-related-tabs:has([data-arg1=inquiries]) .od-related-icon { display:none; }
.od-related .inquiry-label { color:#695431; font-size:12px; }
.od-related .inquiry-label strong { font-weight:900; }
.od-related .inquiry-label .source-badge { border:1px solid #d9c99d; background:#f7efd9; color:#796025; overflow-wrap:anywhere; }
.od-related .inquiry-empty { padding:12px 0 4px; }
.od-related .inquiry-card .thread-name { max-width:123px; }
.od-related .recipient-copy { display:grid; gap:2px; min-width:0; overflow-wrap:anywhere; }
.od-related .recipient-copy small { font-size:11px; color:#7b6d55; }
.od-related [data-related-kind=inquiries] .reply-to { justify-content:space-between; }
.od-related .sender-name { font-size:12px; color:#6e5730; overflow-wrap:anywhere; }
.od-related .inquiry-card .messages { max-height:320px; overflow-y:auto; scrollbar-width:thin; }
@media(max-width:600px) {
  .od-related .od-related-tabs:has([data-arg1=inquiries]) button { font-size:12px; gap:2px; }
  .od-related .inquiry-card .thread-name { max-width:none; }
  .od-related .inquiry-card button.attachment-chip { min-height:44px; }
  .od-related .recipient-copy { flex-basis:100%; }
}
