.app-main:has(.inbox-page){height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.app-main:has(.inbox-page)>.topbar{flex:none}
.page-content.inbox-page{display:flex;flex-direction:column;flex:1;width:100%;min-height:0;padding-bottom:12px;overflow:hidden}
.inbox-page .page-head{flex:none;margin-bottom:14px}
.inbox-page .inbox-layout{flex:1;min-height:0;height:auto;grid-template-rows:minmax(0,1fr)}
.inbox-page .chat-panel{min-height:0;overflow:hidden}.inbox-page .chat-head,.inbox-page .chat-compose{flex:none}
.inbox-page .chat-messages{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.inbox-page .chat-compose{position:relative;background:white;padding-bottom:max(10px,env(safe-area-inset-bottom))}
.inbox-page .chat-compose-row{align-items:center}.inbox-page .chat-compose-row textarea{min-width:0;flex:1}
.inbox-count{display:inline-grid;place-items:center;background:var(--green-dark,#0d9e72);color:white;min-width:22px;height:22px;padding:0 6px;border-radius:16px;font-size:11px;line-height:1}
.nav-item .inbox-count{margin-left:auto}.inbox-row-meta{display:grid;justify-items:end;align-content:start;gap:6px}
.conversation.has-unread{background:#eefaf5;box-shadow:inset 3px 0 var(--green,#11ba86)}.conversation.has-unread strong,.conversation.has-unread .conversation-details p{font-weight:700;color:#143b31}
.inbox-divider{display:flex;align-items:center;justify-content:center;gap:10px;color:#087656;font-weight:700;font-size:12px;flex:none}.inbox-divider:before,.inbox-divider:after{content:"";height:1px;background:#b0dacf;flex:1}
.inbox-picked,.inbox-emojis{display:flex;align-items:center;gap:6px;padding:5px;flex-wrap:wrap}.inbox-picked span{overflow-wrap:anywhere}
.inbox-picked button,.inbox-emojis button{border:0;border-radius:7px;background:#edf7f2;cursor:pointer;padding:5px 8px}.inbox-emojis button{font-size:20px}
.inbox-count[hidden],.inbox-page [hidden]{display:none!important}
@media(max-width:650px){.inbox-page .inbox-layout{min-height:0}.inbox-page:has(.chat-open) .page-head{display:none}.inbox-page:has(.chat-open){padding:4px 4px 0}.inbox-page .chat-compose{padding-left:8px;padding-right:8px}.inbox-page .chat-compose-row{gap:3px}.inbox-page .chat-head{height:58px}}
.inbox-photo{display:block;width:clamp(100px,32vw,270px);max-width:100%;margin-bottom:4px}.inbox-photo img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain;border-radius:9px}
.inbox-doc{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:9px;background:#ffffffa6;text-decoration:none;color:inherit}.inbox-doc svg{width:26px;height:26px;flex:none;fill:none;stroke:var(--green-dark,#0d9e72);stroke-width:1.6}.inbox-doc strong,.inbox-doc small{display:block;overflow-wrap:anywhere}.inbox-doc small{color:#496557;font-size:11px}.inbox-caption{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.inbox-page .chat-bubble,.inbox-page textarea,.inbox-emojis button,.conversation-details p{font-family:"DM Sans","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
