.eldo-workspace { display: grid; gap: 12px; }
.eldo-page-head { margin-bottom: 0; }
.eldo-actions, .eldo-toolbar, .eldo-thread-head, .eldo-compose { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eldo-toolbar { justify-content: space-between; }
.eldo-search { width: min(100%, 300px); }
.eldo-status:empty { display: none; }
.eldo-status { font-size: .9rem; }
.eldo-status.eldo-error { color: var(--danger, #d75158); }
.eldo-muted { opacity: .72; font-size: .87rem; }
.eldo-list { display: grid; gap: 8px; align-content: start; min-width: 0; }
.eldo-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; overflow-wrap: anywhere; }
.eldo-row > .button { flex-shrink: 0; }
.eldo-row strong { display: block; margin-bottom: 4px; }
.eldo-order-live:not(:empty) { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.eldo-create-fields { display: grid; gap: 12px; }
.eldo-consent { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.eldo-consent a { text-decoration: underline; }
.eldo-workspace .lot-actions-cell { gap: 6px; }
.eldo-workspace a.button { text-decoration: none; }
.eldo-workspace .lot-actions-cell .button { padding: 0 10px; min-height: 34px; }
.eldo-workspace .orders-status-tabs { flex-wrap: wrap; }
#chatListEmpty > button { margin-top: 12px; }
body[data-market="eldorado"] :is(#chatFilterPanel,
  #editChatTagButton, .chat-mute-wrap,
  #chatDirectionButton, #chatSupportButton, #chatPresence, #threadAccountTabs,
  #chatClaimBar, #chatAssignmentBar, #chatReplyAs) { display: none !important; }
.proxy-catalog-add, .proxy-catalog-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px; }
.proxy-catalog-entry > div { flex: 1 1 220px; overflow-wrap: anywhere; }
.proxy-catalog-add > input { flex: 1 1 160px; }
.eldo-message-text { font-family: inherit; white-space: pre-wrap; }

/* Separate proof upload and delivery confirmation, inside the shared order card. */
.eldo-fulfilment { margin-top: 18px; border: 1px solid var(--border-soft); border-radius: 18px; overflow: hidden; }
.eldo-proof-step, .eldo-delivery-step { padding: 20px; }
.eldo-step-heading { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.eldo-step-heading strong { display: block; font-size: .95rem; }
.eldo-step-heading p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.eldo-step-number { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #7862f426; color: #b5a7ff; font-size: .85rem; }
.eldo-proof-step.complete .eldo-step-number { background: #21c6ae20; color: #42dbc6; }
.eldo-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eldo-proof-grid:not(:empty) { margin-top: 16px; }
.eldo-proof-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--border-soft); border-radius: 12px; background: #0c101b; }
.eldo-proof-card img { display: block; width: 100%; height: 128px; object-fit: contain; background: #080c14; }
.eldo-proof-card > span { display: block; width: 100%; padding: 10px 12px; box-sizing: border-box; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.eldo-proof-card.sent > span { color: #42dbc6; }
.eldo-proof-preview.button { padding: 0; border: 0; min-height: 0; background: transparent; border-radius: 0; }
.eldo-proof-remove.button { position: absolute; top: 6px; right: 6px; min-height: 28px; width: 28px; padding: 0; border-radius: 8px; background: #111726ed; }
.eldo-proof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.eldo-proof-actions .button { flex: 1 1 170px; }
.eldo-proof-feedback { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.eldo-proof-feedback:empty { display: none; }
.eldo-discounts { display: grid; gap: 12px; }
.eldo-discounts + .hint + .button { margin-top: 12px; }
.eldo-discount-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(100px,1fr) 36px; gap: 12px; align-items: end; }
.eldo-discount-price { padding-bottom: 16px; color: var(--success, #2ed3b5); font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .eldo-discount-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 36px; }
  .eldo-discount-price { grid-row: 2; grid-column: 1 / 3; padding-bottom: 0; }
  .eldo-discount-row > .icon-button { grid-column: 3; grid-row: 1; }
}
.eldo-delivery-step { display: grid; gap: 16px; border-top: 1px solid var(--border-soft); background: #ffffff02; }
.eldo-delivery-step.ready { background: #7862f408; }
.eldo-delivery-step > .button { justify-self: end; }
@media (max-width: 560px) {
  .eldo-proof-step, .eldo-delivery-step { padding: 16px; }
  .eldo-proof-actions .button, .eldo-delivery-step > .button { width: 100%; flex-basis: 100%; }
  .eldo-proof-card img { height: 96px; }
}

.eldo-dispute { display:grid; grid-template-columns:minmax(7em,auto) minmax(0,1fr); gap:.5rem 1rem; padding:1rem; margin-block:.75rem; border:1px solid #976735; border-radius:.8rem; background:#221d22; }
.eldo-dispute dt {color:#ffbf78} .eldo-dispute dd {margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-conversation.eldo-disputed-chat {border-inline-start:3px solid #f3a24e}
@media(max-width:500px){.eldo-dispute{grid-template-columns:1fr}.eldo-dispute dd+dt{margin-top:.4rem}}

.eldo-chat-video {max-width: min(100%, 24rem); max-height: 16rem; border-radius:.6rem}

.eldo-order-detail .st-disputed, #page-eldoorders .st-disputed.status-chip {color:#ffd49a;background:#493021} #page-eldoorders .order-card.st-disputed {border-inline-start:3px solid #f3a24e}

.eldo-boost-workspace .eldo-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; justify-content:space-between }
.eldo-boost-workspace .eldo-tabs { display:flex; flex-wrap:wrap; gap:.3rem }
.eldo-boost-workspace .eldo-search { width:min(100%,20rem) }
.eldo-boost-workspace .eldo-list { display:grid; gap:.5rem }
.eldo-boost-row, .eldo-boost-workspace .eldo-list-empty { padding:.85rem 1rem; border:1px solid var(--line,#293149); background:var(--panel,#151a28); border-radius:12px }
.eldo-boost-row { display:flex; align-items:center; justify-content:space-between; gap:1rem }
.eldo-boost-info { display:grid; gap:.28rem; min-width:0; overflow-wrap:anywhere }
.eldo-boost-row .button { flex:none; min-height:2.5rem }
.eldo-boost-dialog { width:min(36rem,calc(100% - 2rem)); max-height:85dvh; padding:clamp(1rem,3vw,1.65rem); overflow:auto }
.eldo-boost-dialog .modal-heading { align-items:flex-start; gap:1rem }
.eldo-boost-dialog h2, .eldo-boost-dialog dd { overflow-wrap:anywhere }
.eldo-boost-content { display:grid; gap:1rem }
.eldo-boost-facts { display:grid; grid-template-columns:minmax(6rem,1fr) minmax(0,2fr); margin:0; gap:.6rem 1rem }
.eldo-boost-facts dt { color:var(--muted,#a1acc3) }
.eldo-boost-facts dd { margin:0; white-space:pre-wrap }
.eldo-boost-form { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:.85rem; padding-top:1rem; border-top:1px solid var(--line,#293149) }
.eldo-boost-form h3, .eldo-boost-form button { grid-column:1/-1; margin:0 }
.eldo-boost-form .field { min-width:0 }
.eldo-boost-feedback { margin:.85rem 0 0 }
.eldo-boost-feedback:empty { display:none }
@media(max-width:580px) {
  .eldo-boost-workspace .eldo-search {width:100%}
  .eldo-boost-form {grid-template-columns:1fr}
  .eldo-boost-row {flex-wrap:wrap}
  .eldo-boost-facts {grid-template-columns:1fr;gap:.2rem}
  .eldo-boost-facts dd + dt { margin-top:.45rem }
}

.eldo-boost-source { justify-self:start }
