/* SKGA_MESSAGES_EDIT_DELETE_5396169 — isolated chat actions */
#messageThread .msg739-actions{position:relative;display:inline-flex;vertical-align:middle;margin-left:6px}
#messageThread .msg739-more{border:1px solid rgba(127,137,153,.30);border-radius:8px;min-height:26px;min-width:29px;padding:1px 6px;color:inherit;background:transparent;cursor:pointer;font-weight:700;line-height:1}
#messageThread .msg739-more:hover,#messageThread .msg739-more:focus-visible{background:rgba(127,137,153,.18);outline-offset:2px}
#messageThread .msg739-menu{position:absolute;bottom:calc(100% + 6px);right:0;display:flex;flex-direction:column;gap:2px;min-width:170px;padding:5px;background:var(--card,#fff);color:var(--text,#1e293b);border:1px solid var(--border,#cbd5e1);border-radius:11px;box-shadow:0 10px 30px rgba(0,0,0,.22);z-index:40;text-align:left}
#messageThread .msg739-menu[hidden]{display:none!important}
#messageThread .msg739-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;text-align:left;font-size:13px;color:inherit;background:transparent;white-space:nowrap;cursor:pointer}
#messageThread .msg739-menu button:hover{background:rgba(127,137,153,.15)}
#messageThread .msg739-menu .msg739-danger{color:#c13c3c}
#messageThread .msg739-removed > div{font-style:italic;opacity:.75}
#messageThread .msg739-deleted-text{font-size:13px}
.msg739-modal{width:min(100%,580px)}
.msg739-modal form{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.msg739-modal textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:145px;max-height:55vh;border:1px solid var(--border,#9ca3af);border-radius:11px;padding:12px;font:inherit;line-height:1.5;background:var(--card,#fff);color:inherit}
.msg739-modal .msg739-modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:3px}
.msg739-modal .msg739-error{color:#c0392b;padding:8px 12px;background:rgba(192,57,43,.09);border-radius:8px}
@media(max-width:850px){#messageThread .msg739-menu{bottom:calc(100% + 6px);right:0}#messageThread .msg739-more{min-height:32px;min-width:32px}.msg739-modal textarea{min-height:110px}}

/* SKGA_MESSAGES_DARK_ACTION_MENU_5396170: explicit colors in dark theme. */
html[data-theme="dark"] #messageThread .msg739-menu{
  background:#262b33!important;color:#f5f7fb!important;
  border-color:#404956!important;box-shadow:0 14px 32px rgba(0,0,0,.5)!important;
}
html[data-theme="dark"] #messageThread .msg739-menu button{
  color:#f5f7fb!important;background:transparent!important;
  -webkit-text-fill-color:#f5f7fb!important;opacity:1!important;
}
html[data-theme="dark"] #messageThread .msg739-menu button:hover,
html[data-theme="dark"] #messageThread .msg739-menu button:focus-visible{
  background:#39414c!important;
}
html[data-theme="dark"] #messageThread .msg739-menu button.msg739-danger{
  color:#ff999e!important;-webkit-text-fill-color:#ff999e!important;
}

/* SKGA_MESSAGES_UNIFIED_ACTIONS_5396171 */
#messageThread .msg739-menu{min-width:205px;max-width:calc(100vw - 24px)}
#messageThread .msg739-menu.msg739-menu-below{top:calc(100% + 6px);bottom:auto}
@media(max-width:850px){#messageThread .msg739-menu.msg739-menu-below{top:calc(100% + 6px);bottom:auto}}


/* SKGA_MESSAGES_DIALOG_DELETE_UI_5396173 */
#messageDialogList .msg173-dialog-row{position:relative;min-width:0}
#messageDialogList .msg173-dialog-row[hidden]{display:none!important}
#messageDialogList .msg173-dialog-row .v24-dialog{padding-right:55px;box-sizing:border-box}
#messageDialogList .msg173-dialog-more{
 position:absolute;right:10px;top:50%;transform:translateY(-50%);z-index:2;
 min-width:32px;min-height:34px;padding:4px;border:1px solid transparent;
 border-radius:9px;background:transparent;color:var(--muted,#8893a2);
 cursor:pointer;font-size:20px;line-height:1
}
#messageDialogList .msg173-dialog-more:hover,#messageDialogList .msg173-dialog-more:focus-visible{
 background:rgba(127,137,153,.14);color:inherit;border-color:rgba(127,137,153,.28)
}
.msg173-dialog-menu{position:fixed;z-index:999999;min-width:190px;max-width:calc(100vw - 16px);padding:5px;
 background:var(--card,#fff);color:var(--text,#263044);border:1px solid var(--border,#d6dbe3);
 border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.28)
}
.msg173-dialog-menu button{display:block;width:100%;padding:11px 12px;text-align:left;border:0;
 background:transparent;border-radius:7px;color:#c13c3c;font:inherit;font-size:13px;cursor:pointer
}
.msg173-dialog-menu button:hover{background:rgba(193,60,60,.12)}
html[data-theme="dark"] .msg173-dialog-menu{background:#272c35;color:#f5f7fb;border-color:#404956;box-shadow:0 16px 34px rgba(0,0,0,.5)}
html[data-theme="dark"] .msg173-dialog-menu button{color:#ff9da3;-webkit-text-fill-color:#ff9da3}
html[data-theme="dark"] .msg173-dialog-menu button:hover{background:#423035}
@media(max-width:850px){#messageDialogList .msg173-dialog-more{min-width:36px;min-height:36px}}
