/* Compact workflow controls; chat and payment decoration remain independent. */
.djtk-table .djtk-live-actions.djtk-status-actions {
  display: inline-flex; flex-wrap: nowrap; gap: 5px; width: max-content; min-width: 0; align-items: center;
}
.djtk-table .djtk-status-actions > button {
  display: inline-flex; justify-content: center; align-items: center; width: 44px !important; min-width: 44px !important; flex-shrink: 0;
  height: 30px !important; min-height: 30px; padding: 0 !important; margin: 0; border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px; background: rgba(255,255,255,.06); color: #f5f5f5; line-height: 1; box-shadow: none;
}
.djtk-table .djtk-status-actions > .djtk-status-toggle {order: 0}
.djtk-table .djtk-status-actions > .djtk-status-reject {order: 1; font-size: 0 !important}
.djtk-table .djtk-status-actions > .djtk-copy-request-btn {order: 2}
.djtk-status-actions > .djtk-status-reject::after {content: '×'; font-size: 22px; line-height: 1; font-weight: 400}
.djtk-table .djtk-status-actions > button svg {width: 16px; height: 16px}
.djtk-table .djtk-status-actions > button:hover:not(:disabled) {background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.42)}
.djtk-table .djtk-status-actions > button:disabled {opacity: .35; cursor: default}
.djtk-table button:focus-visible,.djtk-status-menu button:focus-visible {outline: 2px solid #f9a664; outline-offset: 2px}
.djtk-table .djtk-pin-btn.is-shortlisted {color: #ffac65; border-color: rgba(255,172,101,.55); background: rgba(255,148,65,.1)}
.djtk-pin-btn.is-shortlisted svg path:first-child {fill: currentColor; fill-opacity: .16}
.djtk-table .djtk-pin-btn.is-active {background:#fff; color:#161616; border-color:#fff}
.djtk-status-menu[hidden] {display:none !important}
.djtk-status-menu {
  position: fixed; inset: auto; margin: 0; padding: 6px; width: 218px; max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px); overflow: auto; box-sizing: border-box; z-index: 100000;
  border: 1px solid #56504b; border-radius: 12px; background: #24211f; color: #fff;
  box-shadow: 0 12px 36px #0006; text-align:left; font: 14px/1.4 system-ui,sans-serif;
}
.djtk-status-menu::backdrop {background:transparent}
.djtk-status-menu button,.djtk-status-menu .djtk-paid-accept {
  display: block; width: 100%; height:auto; min-height:36px; padding: 8px 10px; margin: 0;
  border: 0; border-radius: 7px; background: transparent; color: #f5f1ed; text-align:left;
  white-space: normal; font:inherit; font-weight:400; box-shadow:none;
}
.djtk-status-menu button:hover,.djtk-status-menu button[aria-checked="true"] {background: #ffffff16}
.djtk-status-menu button[aria-checked="true"]::after {content:'✓'; float:right; margin-left:8px; color:#ffac65}
.djtk-status-menu__divider {height:1px; margin:5px 8px; background:#ffffff20}
.djtk-mg-card__workflow {display:block; margin-top:7px; font-size:12px; line-height:1.4; color:var(--djtk-guest-muted,#9a938c)}
.djtk-mg-card__workflow[data-status="shortlisted"] {color:var(--djtk-guest-accent,#d47729)}
.djtk-mg-status-notice {position:relative; padding:10px 34px 10px 12px; margin:0 0 12px; border:1px solid var(--djtk-guest-border,#b6a48a55); border-radius:10px; background:var(--djtk-guest-item-bg,#82776a12); color:var(--djtk-guest-text,inherit); font-size:13px; line-height:1.5}
.djtk-mg-status-notice p {margin:0 0 3px !important; font:inherit; color:inherit}
.djtk-mg-status-notice__close {position:absolute; top:4px; right:4px; padding:0; width:28px; height:28px; border:0; background:transparent; color:inherit; font-size:20px}
@media(pointer:coarse) {
  .djtk-table .djtk-status-actions > button {width:48px !important; min-width:48px !important; height:44px !important}
  .djtk-status-menu button {min-height:44px}
}
/* Completed requests stay readable and their remaining controls stay usable. */
.djtk-table tr.djtk-grayed:is([data-request-status="played"],[data-request-status="rejected"]) > td {opacity:1; background-color:#303135; color:#aaa9a8}
.djtk-table tr.djtk-grayed:is([data-request-status="played"],[data-request-status="rejected"]).djtk-related > td {background-color:#44474c}
