/* Focused feed, inbox and connections; existing permissions and actions stay intact. */
body:not(.admin-view) .feed-heading{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:0;min-height:42px}body:not(.admin-view) .feed-heading h1{font-size:25px;margin:0}.feed-heading>span{flex:1}.feed-heading>.icon-button{display:none}
.feed-utilities{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;margin-bottom:14px;border-bottom:1px solid var(--line)}.feed-utilities a{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.feed-utilities svg{width:16px;height:16px}
body .feed-tools.community-shortcuts{display:block;position:relative;margin:0;padding:0;z-index:6}.feed-tools summary{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;cursor:pointer;list-style:none;font-size:17px;letter-spacing:2px}.feed-tools summary::-webkit-details-marker{display:none}.feed-tools[open] summary{background:var(--surface2)}.feed-tools>div{position:absolute;right:0;top:46px;min-width:180px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 12px 28px #0002}body .feed-tools.community-shortcuts a{display:block;padding:10px 12px;font-size:13px;color:var(--text);border-radius:7px}.feed-tools a:hover{background:var(--surface2)}
body .feed-compose{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:16px;background:var(--surface)}body .feed-compose .avatar{width:34px;height:34px}body .feed-compose>button:first-of-type{font-size:13px}
#feed-stories-slot:empty{display:none}#feed-stories-slot .feed-stories{margin:0 0 16px}#feed-stories-slot .feed-story-add:only-child{width:auto;background:none;border:0}body:not(.admin-view) .feed-post{margin-bottom:26px;padding-bottom:20px}body:not(.admin-view) .post-head .user-meta p{font-size:11px;line-height:1.5}body:not(.admin-view) .community-post-actions{gap:12px;font-size:11px;padding:0;margin-top:2px}body:not(.admin-view) .community-post-actions button{min-height:30px;color:var(--muted)}
.connections-workspace,.inbox-workspace{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:visible;padding:18px}.list-search{display:flex;align-items:center;gap:9px;background:var(--surface2);border:1px solid transparent;border-radius:10px;padding:0 12px;margin:0 0 16px;min-height:44px}.list-search:focus-within{border-color:var(--muted)}.list-search>svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}.list-search input{width:100%;min-width:0;min-height:44px;border:0;background:none!important;box-shadow:none;color:var(--text);outline:none;font-size:13px;padding:8px 0}.list-search input::placeholder{color:var(--muted)}
.connection-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:0 0 14px;margin:0 0 16px;border-bottom:1px solid var(--line)}.connection-tabs button,.inbox-filters button{display:flex;align-items:center;gap:7px;white-space:nowrap;min-height:38px;background:none;border:0;border-radius:8px;padding:8px 11px;font-size:12px;color:var(--muted)}.connection-tabs button[aria-pressed=true],.inbox-filters button[aria-pressed=true]{background:var(--text);color:var(--bg);font-weight:650}.connection-tabs button span,.inbox-filters button span{font-size:10px;opacity:.7}.connection-list[hidden],.connection-row[hidden],.conversation-row[hidden],.list-no-results[hidden]{display:none!important}.list-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 10px}.list-section-heading h2{font-size:15px;margin:0}.list-section-heading>span{font-size:11px;color:var(--muted)}body .connection-row{padding:15px 0;gap:12px;flex-wrap:nowrap;min-height:76px}body .connection-row .person-link{flex:1;min-width:0}.connection-row .avatar{width:42px;height:42px;flex-shrink:0}.connection-row .person-link strong{font-size:13px;overflow-wrap:anywhere}.connection-row .person-link small{font-size:11px;overflow-wrap:anywhere}.connection-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}.connection-actions>.secondary{font-size:11px;padding:8px 10px}.connection-actions>.secondary:first-child:not(:only-child){background:var(--text);color:var(--bg)}.connection-menu{position:relative}.connection-menu summary{display:grid;place-items:center;list-style:none;width:38px;height:38px;border-radius:8px;cursor:pointer;color:var(--muted)}.connection-menu summary::-webkit-details-marker{display:none}.connection-menu[open] summary{background:var(--surface2)}.connection-menu>div{position:absolute;right:0;top:40px;z-index:8;padding:7px;min-width:180px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 8px 25px #0002}.connection-menu .secondary{width:100%;white-space:nowrap;justify-content:flex-start}.list-empty{text-align:center;padding:48px 18px}.list-empty>svg{width:32px;height:32px;color:var(--muted);margin-bottom:16px}.list-empty h3{font-size:17px;margin:0 0 8px}.list-empty p{font-size:13px;color:var(--muted);max-width:310px;margin:0 auto 20px;line-height:1.65}.list-no-results{color:var(--muted);font-size:13px;text-align:center;padding:24px 12px}
.inbox-filters{display:flex;align-items:center;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--line)}.inbox-filters>a{margin-left:auto;color:var(--muted);font-size:12px}body .inbox-workspace .conversation-row{padding:17px 2px;border-radius:0;gap:13px;margin:0}body .inbox-workspace .conversation-row:last-child{border-bottom:0}.conversation-row .avatar{width:47px;height:47px;flex-shrink:0}.conversation-copy{min-width:0;flex:1}.conversation-top,.conversation-preview{display:flex;align-items:center;justify-content:space-between;gap:10px}.conversation-top strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-top time{color:var(--muted);font-size:10px;flex-shrink:0}.conversation-preview p{margin:5px 0 0;min-width:0;flex:1;font-size:13px;max-width:none}.has-unread .conversation-preview p{color:var(--text);font-weight:600}.inbox-workspace .unread-dot{display:grid;place-items:center;background:var(--text);color:var(--bg);min-width:20px;height:20px;padding:0 5px;font-size:10px;font-weight:700}
body:not(.admin-view) .chat-panel{border-radius:16px;box-shadow:none;min-height:360px;height:calc(100dvh - 140px);background:var(--bg)}body .chat-header{background:var(--surface);padding:14px 16px;gap:10px}.chat-header .person-link .avatar{width:38px;height:38px}.chat-header .person-link strong{font-size:13px}.chat-header .person-link small{font-size:11px}body .chat-history{padding:22px 18px;gap:12px}body .chat-bubble{padding:11px 14px;border-radius:16px 16px 16px 4px;background:var(--surface2);max-width:82%;overflow-wrap:anywhere}body .chat-bubble.mine{background:var(--text);color:var(--bg);border-radius:16px 16px 4px 16px;box-shadow:none}body .chat-bubble p{font-size:14px;line-height:1.6}body .chat-bubble small{font-size:10px;margin-top:5px}body .chat-compose{padding:12px;gap:8px;background:var(--surface);align-items:flex-end}body .chat-compose textarea{border:1px solid var(--line);border-radius:12px;background:var(--surface2);padding:12px;font-size:14px;min-height:46px;max-height:120px;line-height:1.5}body .chat-compose>.primary{width:44px;min-width:44px;min-height:46px;padding:10px;border-radius:12px}.chat-compose .form-error{width:100%;margin:0}.chat-note{text-align:center;padding:8px 12px!important;background:var(--surface);margin:0;color:var(--muted);font-size:10px!important}.chat-empty{margin:auto;text-align:center;color:var(--muted);font-size:13px}
@media(max-width:700px){.connections-workspace,.inbox-workspace{padding:0;border:0;border-radius:0;background:none}.list-search input{font-size:16px}.connection-tabs{margin-bottom:12px;gap:4px}.connection-tabs button{font-size:12px;min-height:42px;padding:8px 10px}.connection-actions{gap:5px}.connection-actions>.secondary{padding:8px;font-size:11px}.connection-row .person-link{gap:9px}.connection-row .avatar{width:36px;height:36px}.connection-row:has(.connection-actions>.secondary:nth-child(2)){flex-wrap:wrap}.connection-row:has(.connection-actions>.secondary:nth-child(2)) .connection-actions{margin-left:45px}.conversation-top time{font-size:9px}.conversation-top strong{font-size:13px}.conversation-row .avatar{width:44px;height:44px}.inbox-filters>a{font-size:11px}.inbox-filters{gap:5px}body:not(.admin-view) .chat-panel{height:calc(100dvh - 178px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:280px;border-radius:12px}body .chat-header{padding:10px 8px}body .chat-history{padding:16px 10px}body .chat-compose textarea{font-size:16px}body .chat-bubble{max-width:88%}.feed-heading .feed-tools{display:block}body:not(.admin-view) .feed-post{margin-bottom:20px}.feed-utilities{font-size:11px}.list-empty{padding:40px 18px}}
body .list-search input:focus-visible{outline:none}.new-chat-list{display:flex;flex-direction:column;gap:8px}.new-chat-person{padding:12px 0;border-bottom:1px solid var(--line)}.new-chat-person>svg{width:18px;height:18px;margin-left:auto}.new-chat-list>.secondary{margin-top:14px}
.feed-tools>div>button{display:block;width:100%;padding:10px 12px;border:0;border-radius:7px;background:none;text-align:left;color:var(--text);font-size:13px}.feed-tools>div>button:hover{background:var(--surface2)}
