/* Approved Figma message surface. Only the active message page is styled. */
[data-sy-message],.sy-message-dialog{--sym-bg:#fff;--sym-text:#0f1419;--sym-muted:#687078;--sym-accent:#496a52;--sym-line:#e7ebe8;--sym-soft:#f4f6f3;color:var(--sym-text);font-family:var(--ls-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif)}
[data-sy-message] [hidden],.sy-message-dialog [hidden]{display:none!important}
.sy-message-header{height:56px;display:flex;align-items:center;padding:6px 8px;box-sizing:border-box;background:#fff;gap:0}
.sy-message-brand,.sy-message-header-actions{display:flex;align-items:center;flex:none;width:88px;height:44px}.sy-message-brand{padding-left:4px;box-sizing:border-box}.sy-message-brand>a{display:flex;align-items:center}.sy-message-brand img{object-fit:contain}.sy-message-header h1{flex:1;min-width:0;text-align:center;margin:0;font-size:20px;line-height:30px;font-weight:700;color:var(--sym-text);letter-spacing:0}
.sy-message-icon{display:block;flex:none;max-width:none;object-fit:contain;pointer-events:none}[data-sy-message] img.sy-message-icon,.sy-message-dialog img.sy-message-icon{width:auto!important;height:auto!important;max-width:none!important;max-height:none!important}.sy-message-brand img:not(.sy-message-icon){width:28px!important;height:28px!important}.sy-message-icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0!important;flex:none;border:0!important;border-radius:0!important;background:transparent!important;cursor:pointer;box-shadow:none}
.sy-message-brand .ls-go-back{font-size:25px;color:var(--sym-text);display:flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer}
[data-sy-message] button:focus-visible,[data-sy-message] a:focus-visible,.sy-message-dialog button:focus-visible{outline:2px solid var(--sym-accent);outline-offset:-3px}
[data-sy-message] .ls-msg-notice-hori{height:84px;display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:0;padding:0;margin:0;background:#fff;border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--sym-line);box-sizing:border-box}
[data-sy-message] .ls-msg-notice-hori-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:0!important;margin:0;border:0;border-radius:0;background:transparent!important;min-width:0;height:83px;text-decoration:none;color:var(--sym-text);box-sizing:border-box;cursor:pointer}
[data-sy-message] .ls-msg-notice-hori-icon,.ls-message-page[data-sy-message] .ls-msg-notice-hori .ls-msg-notice-hori-item .ls-msg-notice-hori-icon{position:relative;width:36px!important;height:34px!important;display:flex;align-items:center;justify-content:center;overflow:visible;border:0;border-radius:0;background:transparent!important;color:var(--sym-accent)!important}
[data-sy-message] .ls-msg-notice-hori-icon:has(>.sy-message-icon)>i{display:none}
[data-sy-message] .ls-msg-notice-hori-title{font-size:12px;font-weight:500;line-height:18px;color:var(--sym-text)}
[data-sy-message] .ls-msg-notice-count{position:absolute;top:-5px!important;right:-7px!important;left:auto;display:flex;align-items:center;justify-content:center;padding:0 4px!important;min-width:18px;height:18px!important;line-height:16px;font-size:11px;font-weight:700;border-radius:999px;background:var(--sym-accent)!important;color:#fff;box-shadow:none;box-sizing:border-box;transform:none}
.sy-message-toolbar{height:52px;display:flex;align-items:center;padding:4px 8px;box-sizing:border-box;border-bottom:1px solid var(--sym-line);background:#fff;gap:0;flex:none}
.sy-message-tabs{display:flex;gap:0;align-items:center;flex:none;margin:0}.sy-message-toolbar-tools{display:flex;align-items:center;margin-left:auto;flex:none}
[data-sy-message] .sy-msg-tab{height:44px;min-width:74px;display:flex;align-items:flex-start;justify-content:center;gap:5px;position:relative;background:transparent;border:0;margin:0;padding:10px 2px 0;box-sizing:border-box;line-height:22px;font-size:15px;font-weight:700;color:var(--sym-muted);cursor:pointer;white-space:nowrap}
[data-sy-message] .sy-msg-tab[aria-selected=true]{color:var(--sym-text)}[data-sy-message] .sy-msg-tab[aria-selected=true]:after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:3px;width:34px;border-radius:6px;background:var(--sym-accent)}
[data-sy-message] .sy-msg-dot{display:none!important}.sy-message-tab-count{font-size:14px}.sy-message-unread{width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:var(--sym-muted);font-size:12px;cursor:pointer}.sy-message-unread[aria-pressed=true]{background:var(--sym-soft);color:var(--sym-accent)}
.sy-message-search-wrap{padding:8px 16px 10px;background:#fff;box-sizing:border-box}.sy-message-search-wrap p{font-size:12px;line-height:18px;color:var(--sym-muted);margin:6px 0 0}
[data-sy-message] .sy-msg-search{display:flex;align-items:center;gap:8px;min-height:40px;background:var(--sym-soft);border:0;border-radius:10px;padding:0 12px;margin:0;box-sizing:border-box}
[data-sy-message] .sy-msg-search input{border:0;border-radius:0;outline:none;background:transparent;min-width:0;width:100%;font-size:14px;line-height:22px;min-height:40px;padding:0;color:var(--sym-text);box-shadow:none;-webkit-appearance:none}
[data-sy-message] .sy-msg-search .sy-message-icon-button{width:32px;height:32px}
.sy-message-mobile-active .ls-page-active .ls-message-page{padding:0!important;margin:0!important;min-height:100%;background:#fff;color:#0f1419}.sy-message-mobile-active .ls-page-active .ls-page-navbar{display:none!important}.sy-message-mobile-active .ls-page-active .ls-page-has-navbar{padding-top:0!important}.sy-message-mobile-active .ls-page-active .ls-page-content{padding:0!important;background:#fff}
[data-sy-message] .ls-msg-chat-card{border:0!important;border-radius:0!important;margin:0!important;background:#fff;overflow:hidden;box-shadow:none}
[data-sy-message] .ls-msg-chat-item{height:80px;min-height:80px;box-sizing:border-box;padding:14px 16px!important;gap:12px;background:#fff!important;border:0!important;border-bottom:1px solid var(--sym-line)!important;border-radius:0;box-shadow:none}
[data-sy-message] .ls-msg-chat-avatar,[data-sy-message] .ls-msg-chat-avatar>img,[data-sy-message] .ls-avatar-fallback{width:48px;height:48px;border-radius:999px!important;flex:none}
[data-sy-message] .ls-avatar-fallback{background:var(--sym-soft);color:var(--sym-accent)}
[data-sy-message] .sy-message-avatar-fallback{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;width:48px;height:48px;border-radius:999px;background:var(--sym-soft);color:var(--sym-accent);font-size:15px;font-weight:700}
[data-sy-message] .ls-msg-chat-body{display:grid;grid-template-columns:minmax(0,1fr) 52px;column-gap:8px;min-width:0;height:52px}.ls-message-page[data-sy-message] .ls-msg-chat-main{min-width:0;gap:4px}.ls-message-page[data-sy-message] .ls-msg-chat-name{font-size:15px!important;line-height:22px;font-weight:700;color:var(--sym-text)}
[data-sy-message] .ls-msg-chat-name-row>*:not(.ls-msg-chat-name):not(.sy-message-row-status){display:none!important}
[data-sy-message] .ls-msg-chat-preview{font-size:14px!important;line-height:22px!important;color:var(--sym-muted);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sy-message-has-unread .ls-msg-chat-preview{color:var(--sym-text)}
[data-sy-message] .ls-msg-chat-meta{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:0;height:52px}.ls-message-page[data-sy-message] .ls-msg-chat-time{font-size:12px;line-height:18px;color:var(--sym-muted);white-space:nowrap}
[data-sy-message] .ls-msg-chat-mute-icon{display:none}.sy-message-row-status{display:inline-flex;align-items:center;gap:5px;flex:none;margin-left:4px;vertical-align:middle}
[data-sy-message] .ls-badge,[data-sy-message] .ls-chat-badge{background:var(--sym-accent);color:#fff;border-radius:999px;min-width:18px;height:18px;font-size:11px;font-weight:700;line-height:18px;padding:0 4px;box-sizing:border-box;box-shadow:none}
[data-sy-message] .ls-badge-muted,[data-sy-message] .ls-chat-badge-muted{background:var(--sym-soft);color:var(--sym-muted)}[data-sy-message] .ls-msg-at-badge{color:var(--sym-accent)}
[data-sy-message] .ls-msg-swipe-actions{border-radius:0}.sy-message-empty{min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px 16px;box-sizing:border-box;text-align:center}
.sy-message-empty-symbol{width:64px;height:64px;border-radius:999px;background:var(--sym-soft);display:flex;align-items:center;justify-content:center}.sy-message-empty strong{font-size:15px;line-height:22px}.sy-message-empty p{font-size:14px;line-height:22px;color:var(--sym-muted);margin:0}.sy-message-empty button{height:44px;min-width:144px;border:1px solid var(--sym-line);border-radius:22px;background:#fff;color:var(--sym-accent);padding:0 16px;cursor:pointer}
.sy-message-desktop-active{--ls-primary:#496a52;--ls-primary-hover:#3c5944;--ls-primary-light:#f4f6f3;--ls-primary-rgb:73,106,82;--lsc-primary:#496a52;--lsc-primary-hover:#3c5944;--lsc-primary-light:#f4f6f3;--lsc-primary-rgb:73,106,82;--lsc-bg:#fff;--lsc-bg-white:#fff;--lsc-text:#0f1419;--lsc-text-muted:#687078;--lsc-border:#e7ebe8;--lsc-border-light:#e7ebe8;--lsc-shadow:none;--lsc-bubble-self:#f4f6f3;--lsc-bubble-self-text:#496a52;--lsc-bubble-other:#f4f6f3;--lsc-bubble-other-text:#0f1419;background:#fff}
.sy-message-desktop-active .ls-header{height:68px;z-index:10000;background:#fff;border-bottom:1px solid #e7ebe8;box-shadow:none}.sy-message-desktop-active .ls-header-inner{max-width:1280px}
.ls-chat-app[data-sy-message]{top:68px;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:min(1120px,100%);height:calc(100dvh - 68px);border-left:1px solid var(--sym-line);border-right:1px solid var(--sym-line);background:#fff;box-sizing:border-box}
.ls-chat-app[data-sy-message] .ls-chat-nav{display:none}.ls-chat-app[data-sy-message] .ls-chat-sidebar{width:380px;flex-shrink:0;border-right:1px solid var(--sym-line);background:#fff}.ls-chat-app[data-sy-message] .sy-message-header{height:64px;padding:10px 16px}.ls-chat-app[data-sy-message] .sy-message-brand{display:none}.ls-chat-app[data-sy-message] .sy-message-header h1{text-align:left}.ls-chat-app[data-sy-message] .ls-chat-sidebar-header{padding:8px 16px;box-shadow:none;flex:none;transform:none!important;max-height:none!important;margin:0}
.ls-chat-app[data-sy-message] .ls-chat-sidebar-tabs,.ls-chat-app[data-sy-message] #chat-tab{min-height:0;flex:1}.ls-chat-app[data-sy-message] #chat-tab{overflow:hidden}.ls-chat-app[data-sy-message] .ls-chat-search{margin:0}.ls-chat-app[data-sy-message] .ls-chat-search-box{height:40px;min-height:40px;border:0;background:var(--sym-soft);border-radius:10px;padding:0 12px;gap:8px}.ls-chat-app[data-sy-message] .ls-chat-search-input{font-size:14px;line-height:22px;background:transparent;border:0;min-width:0}
.ls-chat-app[data-sy-message] .ls-chat-session-list{padding:0}.ls-chat-app[data-sy-message] .ls-chat-session-item{display:grid;grid-template-columns:48px minmax(0,1fr) 52px;grid-template-rows:22px 22px;align-content:center;column-gap:12px;row-gap:4px;height:80px;padding:14px 16px;margin:0;border-radius:0;border:0;border-bottom:1px solid var(--sym-line);box-shadow:none!important;background:#fff;box-sizing:border-box}
.ls-chat-app[data-sy-message] .ls-chat-session-item:is(.ls-active,:hover){background:var(--sym-soft);box-shadow:none!important}.ls-chat-app[data-sy-message] .ls-chat-session-info,.ls-chat-app[data-sy-message] .ls-chat-session-top{display:contents}.ls-chat-app[data-sy-message] .ls-chat-session-avatar{grid-column:1;grid-row:1/3;position:static;width:48px;height:48px}.ls-chat-app[data-sy-message] .ls-chat-session-avatar>.ls-avatar,.ls-chat-app[data-sy-message] .ls-chat-session-avatar>.ls-avatar>img,.ls-chat-app[data-sy-message] .ls-chat-group-avatar-img{width:48px;height:48px;border-radius:999px}
.ls-chat-app[data-sy-message] .ls-chat-session-name{grid-column:2;grid-row:1;font-size:15px;line-height:22px;font-weight:700;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ls-chat-app[data-sy-message] .ls-chat-session-time{grid-column:3;grid-row:1;font-size:12px;line-height:18px;justify-self:end;color:var(--sym-muted);white-space:nowrap;max-width:52px;overflow:hidden;text-overflow:ellipsis}
.ls-chat-app[data-sy-message] .ls-chat-session-bottom{grid-column:2;grid-row:2;min-width:0;display:flex;align-items:center;gap:2px}.ls-chat-app[data-sy-message] .ls-chat-session-msg{font-size:14px;line-height:22px;min-width:0;color:var(--sym-muted)}.ls-chat-app[data-sy-message] .sy-message-has-unread .ls-chat-session-msg{color:var(--sym-text)}.ls-chat-app[data-sy-message] .ls-chat-at-badge{font-size:12px;color:var(--sym-accent);white-space:nowrap;flex:none}
.ls-chat-app[data-sy-message] .ls-chat-session-icons{display:none}.ls-chat-app[data-sy-message] .ls-chat-badge{position:absolute;right:16px;top:47px;bottom:auto;left:auto;transform:none}.ls-chat-app[data-sy-message] .ls-chat-session-group-tag{display:none}.ls-chat-app[data-sy-message] .ls-chat-session-business{display:none}
.ls-chat-app[data-sy-message] .ls-chat-main{min-width:0;background:#fff;flex:1}.ls-chat-app[data-sy-message] .ls-chat-header{height:64px;min-height:64px;box-sizing:border-box;padding:12px 24px;border-bottom:1px solid var(--sym-line);box-shadow:none}.ls-chat-app[data-sy-message] .ls-chat-messages{background:#fff}.ls-chat-app[data-sy-message] .ls-chat-msg-bubble{padding:12px 16px;border-radius:12px;box-shadow:none}.ls-chat-app[data-sy-message] .ls-chat-msg-text{font-size:14px;line-height:22px}.ls-chat-app[data-sy-message] .ls-chat-input-area{background:#fff;border-top:1px solid var(--sym-line);box-shadow:none}.ls-chat-app[data-sy-message] .ls-chat-send-btn{background:var(--sym-accent);border-radius:22px;min-width:88px;height:44px}.ls-chat-app[data-sy-message] .ls-chat-send-btn:disabled{opacity:.45}
.sy-message-overlay{position:fixed;inset:0;z-index:21000;background:rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}.sy-message-dialog{background:#fff;border-radius:12px;padding:24px;width:326px;max-width:100%;box-sizing:border-box;outline:none}.sy-message-dialog h3{font-size:17px;line-height:26px;font-weight:700;margin:0 0 12px}.sy-message-dialog p{font-size:14px;line-height:22px;color:var(--sym-muted);margin:0 0 12px}.sy-message-confirm-buttons{display:flex;gap:12px}.sy-message-confirm-buttons button{height:44px;min-height:44px;flex:1;min-width:0;justify-content:center;text-align:center;padding:0;border:1px solid var(--sym-line);border-radius:22px;background:#fff;color:var(--sym-accent);font-size:14px;cursor:pointer}.sy-message-confirm-buttons .sy-message-primary{background:var(--sym-accent);color:#fff;border-color:var(--sym-accent)}.sy-message-confirm-buttons button:disabled{opacity:.5;cursor:wait}
.sy-message-sheet{align-self:flex-end;border-radius:16px 16px 0 0;padding:16px;width:390px;max-width:100%;margin-bottom:-24px}.sy-message-sheet-title{display:flex;align-items:center;justify-content:space-between;height:48px}.sy-message-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:0;border:0;border-bottom:1px solid var(--sym-line);background:#fff;color:var(--sym-text);font-size:14px;text-align:left;cursor:pointer}.sy-message-menu-item:last-child{border-bottom:0}.sy-message-menu-title{font-size:12px!important;line-height:18px!important;margin:0!important}.sy-message-management .sy-message-menu-item{min-height:52px}
@media(min-width:700px){.sy-message-sheet{align-self:center;border-radius:12px;margin:0;width:326px}.sy-message-management{padding:0}.sy-message-pc-notices:empty{display:none}}
@media(max-width:1100px){.ls-chat-app[data-sy-message] .ls-chat-sidebar{width:340px}}
@media(max-width:850px){.ls-chat-app[data-sy-message] .ls-chat-sidebar{width:320px}}
