/* REALsnap 23.1 — shared reference-aligned functional layout. */
#snaap-chat-root{--rs231-shade:var(--rs23-pale);--rs231-glow:var(--rs23-primary);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#snaap-chat-root .rs23-appbar{padding:12px 20px!important}
#snaap-chat-root .rs23-brand{letter-spacing:-.045em;font-weight:820}
#snaap-chat-root .rs23-appbar-right{gap:8px}
#snaap-chat-root .rs23-contacts-block{padding:5px 15px 8px!important}
#snaap-chat-root .rs23-contact-heading{margin:2px 0 7px!important;font-size:12px!important}
#snaap-chat-root .rs23-contact-rail{gap:10px!important;padding:1px 2px 4px!important}
#snaap-chat-root .rs23-contact-shortcut{min-width:63px!important;max-width:71px!important;gap:3px!important}
#snaap-chat-root .rs23-contact-picture{width:49px!important;height:49px!important;border-width:2px!important;overflow:hidden}
#snaap-chat-root .rs23-contact-picture img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
#snaap-chat-root .rs23-contact-shortcut small{font-size:10px!important;max-width:75px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#snaap-chat-root .rs23-main-tabs{margin:3px 12px 10px!important;padding:3px!important;border-radius:15px!important;gap:4px!important}
#snaap-chat-root .rs23-main-tab{font-size:12px!important;font-weight:650!important;border-radius:12px!important;min-height:37px!important;padding:7px 4px!important}
#snaap-chat-root .snaap-search-wrap{display:flex!important;align-items:center;gap:5px;margin:0 12px 8px!important;padding:0 8px!important;min-height:43px!important}
#snaap-chat-root .snaap-search-wrap input{min-width:0;flex:1;min-height:37px!important;border:0!important;box-shadow:none!important;background:transparent!important}
#snaap-chat-root #rs231-filter{appearance:none;-webkit-appearance:none;border:1px solid var(--rs23-border)!important;border-radius:10px!important;padding:7px 21px 7px 9px!important;font-size:11px!important;font-weight:650;background:var(--rs23-paper)!important;color:var(--rs23-primary)!important;max-width:96px;min-width:0;min-height:31px}
#snaap-chat-root .rs23-filters{display:none!important}
#snaap-chat-root .snaap-v19-sidebar-tools{display:flex;justify-content:flex-end;margin:0 14px 3px!important}
#snaap-chat-root .snaap-v19-sidebar-tools #snaap-starred-mode{border:0!important;background:transparent!important;padding:2px 7px!important;color:var(--rs23-muted)!important;font-size:10px!important;min-height:24px!important}
#snaap-chat-root .snaap-conversation-list{padding:3px 11px 12px!important;scrollbar-width:thin}
#snaap-chat-root .snaap-conversation{width:100%;min-height:68px!important;margin:0 0 4px!important;padding:8px 10px!important;display:flex;align-items:center;border:1px solid var(--rs23-border)!important;border-radius:17px!important;background:var(--rs23-paper)!important;transition:background .14s,border-color .14s,transform .14s}
#snaap-chat-root .snaap-conversation:hover{transform:translateY(-1px)}
#snaap-chat-root .snaap-conversation>img,#snaap-chat-root .snaap-conversation>.snaap-avatar{width:47px!important;height:47px!important;min-width:47px!important;max-width:47px!important;object-fit:cover;border-radius:50%!important;flex-shrink:0}
#snaap-chat-root .snaap-conversation>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
#snaap-chat-root .snaap-conversation strong{font-size:14px!important;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--rs23-ink)!important}
#snaap-chat-root .rs231-conversation-preview{font-size:11px!important;color:var(--rs23-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#snaap-chat-root .rs231-conversation-time{align-self:flex-start;white-space:nowrap;font-size:10px;color:var(--rs23-muted);margin-left:4px}
#snaap-chat-root .snaap-unread-badge{flex-shrink:0}
#snaap-chat-root .rs23-bottom-nav{box-sizing:border-box}
#snaap-chat-root .rs23-bottom-camera svg{display:block}
#snaap-chat-root .snaap-chat-header{box-shadow:none!important}
#snaap-chat-root .snaap-message{border:1px solid var(--rs23-border)!important}
#snaap-chat-root .snaap-snap-action{font-family:inherit!important}
@media(max-width:760px){
 body:has(#snaap-chat-root){overflow:hidden!important}
 #snaap-chat-root{height:100dvh!important;min-height:0!important;box-shadow:none!important}
 #snaap-chat-root .rs23-appbar{padding:9px 15px!important;min-height:58px!important}
 #snaap-chat-root .rs23-brand{font-size:21px!important}
 #snaap-chat-root .rs23-brand-icon{height:35px!important;width:35px!important;border-radius:12px!important;font-size:21px!important}
 #snaap-chat-root .rs23-appbar-right>button,#snaap-chat-root .rs23-appbar-right>a{width:34px!important;height:34px!important}
 #snaap-chat-root .snaap-chat-sidebar{flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none}
 #snaap-chat-root .rs23-contact-heading span{display:none}
 #snaap-chat-root .rs23-contacts-block{padding:6px 12px 4px!important}
 #snaap-chat-root .rs23-contact-picture{height:48px!important;width:48px!important}
 #snaap-chat-root .rs23-main-tabs{margin:2px 11px 8px!important}
 #snaap-chat-root .rs23-main-tab{min-height:36px!important}
 #snaap-chat-root .snaap-search-wrap{margin:0 11px 5px!important}
 #snaap-chat-root .snaap-conversation-list{flex:1 1 auto;overflow-y:auto!important;min-height:120px!important;padding:0 10px 14px!important}
 #snaap-chat-root .snaap-conversation{min-height:67px!important}
 #snaap-chat-root .rs23-bottom-nav{min-height:62px!important;max-height:75px;padding:4px 8px calc(4px + env(safe-area-inset-bottom,0px))!important;gap:3px!important;z-index:20!important}
 #snaap-chat-root .rs23-bottom-nav>a,#snaap-chat-root .rs23-bottom-nav>button{font-size:19px!important;min-height:37px!important}
 #snaap-chat-root .rs23-bottom-nav small{font-size:9px!important;line-height:1.1}
 #snaap-chat-root .rs23-bottom-nav>.rs23-bottom-camera{width:49px!important;height:49px!important;min-height:49px!important;flex:0 0 49px!important;margin:-3px 5px 0!important;box-shadow:0 4px 14px var(--rs-outline,rgba(0,0,0,.16))!important}
 #snaap-chat-root .rs23-bottom-nav>.rs23-bottom-camera svg{width:23px;height:23px}
 #snaap-chat-root .snaap-chat-main{min-height:0!important}
 #snaap-chat-root .snaap-chat-header{min-height:61px!important}
 #snaap-chat-root .snaap-message-list{min-height:0!important}
 #snaap-chat-root.snaap-mobile-active .snaap-chat-main{overflow:hidden!important}
 #snaap-chat-root .snaap-composer .snaap-snap-tools{order:4!important}
}
@media(max-width:370px){#snaap-chat-root .rs23-brand{font-size:19px!important}#snaap-chat-root .rs23-appbar-right{gap:4px}#snaap-chat-root .rs23-main-tab{font-size:11px!important}}

/* 23.2: Theme-owned global navigation, no competing app header */
body.snaap-theme-body #snaap-chat-root .rs23-appbar{display:none!important}
