/* shadcn Card structure, Dongli tokens. All long text wraps inside the card. */
body.friend-inbox-open .shell.v2 .composer,
body.friend-inbox-open .shell.v2 .sidebar,
body.friend-inbox-open .shell.v2 #togglePanel,
body.friend-inbox-open .shell.v2 #chatInfoButton,
body.friend-inbox-open .shell.v2 #resolve,
body.friend-inbox-open .shell.v2 #sendHealth,
body.friend-inbox-open .shell.v2 #messageSearch,
body.friend-inbox-open .shell.v2 #historyAccessNotice,
body.friend-inbox-open .shell.v2 #historyPullNotice,
body.friend-inbox-open .shell.v2 #internalMessages {display:none!important}
body.friend-inbox-open .shell.v2 #messages {min-width:0;overflow-x:hidden}
/* 11-17 老板：仿企业微信原生「新的联系人」——白底整行列表（无卡片框），40px 圆角头像，名字后绿色「@微信」，
   灰色验证信息一行，右侧蓝色小「通过」按钮或灰色状态字，分隔线从文字处开始。 */
body.friend-inbox-open .shell.v2 #messages {background:#fff;padding:0!important}
.friend-inbox-notice {padding:10px 16px 6px;color:#8f959e;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.friend-application-list {display:flex;flex-direction:column;width:100%;min-width:0;max-width:100%;background:#fff}
.friend-application-card {box-sizing:border-box;display:flex;align-items:stretch;width:100%;min-width:0;max-width:100%;padding:0 0 0 16px;background:#fff;color:#1f2329;overflow-wrap:anywhere;word-break:break-word}
.friend-application-card:active {background:#f2f3f5}
.friend-application-avatar {position:relative;overflow:hidden;flex:0 0 auto;align-self:center;width:40px;height:40px;margin:12px 12px 12px 0;border-radius:4px;background:#c5d3e6;color:#fff;font-size:17px;font-weight:500;display:flex;align-items:center;justify-content:center;text-transform:uppercase}
.friend-application-avatar img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.friend-application-main {flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px;padding:12px 16px 12px 0;border-top:1px solid #eff0f1}
.friend-application-card:first-child .friend-application-main {border-top:0}
.friend-application-body {flex:1 1 auto;min-width:0}
.friend-application-head {display:flex;align-items:baseline;gap:8px;min-width:0}
.friend-application-name {flex:1 1 auto;min-width:0;margin:0;font-size:15px;line-height:21px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-wechat-tag {margin-left:4px;color:#2ba245;font-size:13px}
.friend-application-time {flex:0 0 auto;color:#b0b6bf;font-size:11px;font-weight:400}
.friend-application-reason {margin:2px 0 0;font-size:13px;line-height:18px;color:#8f959e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-application-truncated {display:block;margin-top:2px;color:#b0b6bf;font-size:11px}
.friend-application-side {flex:0 0 auto;display:flex;align-items:center}
.friend-application-status {color:#b0b6bf;font-size:13px;white-space:nowrap}
.friend-loading {color:#8f959e;padding:16px}

@media(min-width:1280px){body.friend-inbox-open .shell.v2{grid-template-columns:232px 288px minmax(0,1fr) 0!important}body.friend-inbox-open.r59-sidebar-collapsed .shell.v2{grid-template-columns:0 288px minmax(0,1fr) 0!important}}
@media(min-width:1536px){body.friend-inbox-open .shell.v2{grid-template-columns:232px 320px minmax(0,1fr) 0!important}body.friend-inbox-open.r59-sidebar-collapsed .shell.v2{grid-template-columns:0 320px minmax(0,1fr) 0!important}}


.friend-name-source{margin-left:6px;font-size:12px;font-weight:400;color:var(--muted,#7a869c)}

.friend-accept-button{min-width:56px;height:28px;min-height:28px;margin:0;padding:0 14px;border:0;border-radius:4px;background:#2167b4;color:#fff;font-size:13px;line-height:28px;white-space:nowrap;cursor:pointer}
.friend-accept-button:disabled{background:#a9c1e0;cursor:default}

