.community-board{padding:24px;color:#dce3ed;max-width:1000px;margin:auto;width:100%;font-size:15px}.community-heading h1{font-size:26px;margin:0 0 10px}.community-heading p,.community-status,.community-empty{color:#acb8c9;line-height:1.6}.community-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.community-board button,.community-board select{font:inherit;cursor:pointer}.community-tabs button,.community-tools button,.community-board select,[data-community-more]{background:#1b2838;color:#dce3ed;border:1px solid #344356;border-radius:4px;padding:9px 12px}.community-tabs [aria-current]{color:#e0bf73;border-color:#9a8358}.community-tools{display:flex;gap:12px;margin:16px 0}.community-board select{max-width:100%}.community-post{background:#182434;border:1px solid #344356;border-radius:6px;padding:18px;margin:12px 0}.community-post header{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:#aab7ca}.community-post header strong{color:#e0bf73}.community-post p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#dce3ed}.community-post footer{display:flex;gap:20px}.community-hidden{border-style:dashed;opacity:.8}.community-board textarea{width:100%;resize:vertical;min-height:100px;background:#101b2b;color:#eef1f5;border:1px solid #4a5870;border-radius:4px;padding:12px;font:inherit;display:block;margin:10px 0}.community-board form{margin-top:24px}.community-board button:disabled{opacity:.5;cursor:wait}.community-board :focus-visible{outline:2px solid #e0bf73;outline-offset:3px}@media(max-width:600px){.community-board{padding:18px 12px}.community-tabs button{font-size:14px}.community-post{padding:14px}}
#community-admin form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;margin:24px 0}#community-admin label{display:grid;gap:8px;font-size:14px}#community-admin input,#community-admin select,#community-admin textarea{min-width:0;max-width:100%;padding:10px;background:#172438;color:#e4ebf5;border:1px solid #465a75;border-radius:4px;font:inherit}#community-admin input[type=checkbox]{width:18px}#community-admin p{color:#b6c4d6;line-height:1.6}
.community-chat{display:grid;grid-template-columns:220px minmax(0,1fr);height:calc(100svh - 180px);min-height:400px;color:#dde6f4;background:#111d2d}.community-chat [data-chat-channels]{overflow:auto;border-right:1px solid #34445a;padding:12px}.community-chat [data-chat-channels] a{display:block;padding:12px;color:#cbb57f}.community-chat small{display:block;color:#98abc1}.chat-main{min-width:0;min-height:0;display:flex;flex-direction:column}.chat-main>header{display:flex;align-items:center;justify-content:space-between;padding:12px}.chat-main h1{font-size:21px;margin:0}.chat-main>[role=status]{font-size:13px;padding:0 12px;margin:4px}.chat-main form{padding:12px;border-top:1px solid #34445a;display:flex;gap:8px;flex-wrap:wrap}.chat-main form label{position:absolute;clip-path:inset(50%)}.chat-main textarea{flex:1;min-width:100px;resize:vertical;max-height:150px;background:#213149;color:#eef3fa;border:1px solid #465b76;border-radius:6px;padding:10px;font:inherit}.chat-main button{background:#23354d;color:#ddc58b;border:1px solid #405472;border-radius:4px;padding:6px;cursor:pointer}.chat-main [data-chat-history]{flex:1;min-height:0;overflow:auto;padding:12px;overflow-anchor:none}.chat-message{display:flex;gap:12px;padding:10px 4px;overflow-wrap:anywhere}.chat-message>div{min-width:0}.chat-avatar{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;background:#2d425d;border-radius:50%;font-size:12px}.chat-message header{font-size:13px;color:#b4c5da}.chat-message p{white-space:pre-wrap;margin:5px 0;line-height:1.6}.chat-message footer{display:flex;gap:8px;flex-wrap:wrap}.chat-message footer button{font-size:12px;border:0;background:none;padding:2px}.unread-badge{display:inline-block;background:#bc303c;color:white;border-radius:20px;padding:2px 7px;margin-left:6px;font-size:12px;font-weight:700}.campus-app:has(.community-chat){grid-template-columns:52px 226px minmax(0,1fr)}.campus-app:has(.community-chat) .campus-info{display:none}.campus-app:has(.community-chat) .campus-topbar{grid-column:3}.inside-campus .community-chat{display:flex;height:100%;min-height:0}.inside-campus .chat-main{width:100%}.inside-campus [data-chat-channels]{display:none}.channel-link small{display:none}@media(max-width:760px){.community-chat{grid-template-columns:110px minmax(0,1fr);height:calc(100svh - 130px)}.community-chat [data-chat-channels]{padding:4px;font-size:13px}.campus-app:has(.community-chat){grid-template-columns:48px minmax(0,1fr)}.campus-app:has(.community-chat) .campus-topbar{grid-column:2}.chat-avatar{display:none}}
/* One persistent conversation workspace for both global and campus routes. */
body.community-open>.sidebar,body.community-open .app-shell>.topbar,body.community-open .app-shell>.footer{display:none}
body.community-open .app-shell{margin:0;min-height:0;height:100svh}
body.community-open:has(#test-environment) .app-shell{height:calc(100svh - 38px)}
body.community-open #main{padding:0;margin:0;max-width:none;min-height:0;height:100%;overflow:hidden}
.community-workspace{height:100%;display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr);background:#111d2d}
.community-rail{grid-row:1/3;display:flex;flex-direction:column;gap:16px;align-items:center;border-right:1px solid #34445a;background:#131e2e;padding:18px 4px}
.community-rail a{position:relative;display:grid;place-items:center;width:44px;height:42px;color:#c6d3e5;border-radius:6px}.community-rail a:hover{background:#2b3d57;color:#dfbf79}.community-rail .unread-badge{position:absolute;right:0;top:0;font-size:10px;padding:1px 4px}
.community-topbar{grid-column:2;display:flex;align-items:center;gap:16px;padding:8px 20px;border-bottom:1px solid #34445a;background:#131e2e;min-width:0}.community-topbar>span:first-of-type{font-weight:600}.community-topbar>[data-account-role]{margin-left:auto}.community-topbar [data-chat-courses]{color:#dfbf79}.community-topbar [data-chat-toggle]{display:none}
.community-workspace .community-chat{grid-column:2;grid-row:2;grid-template-columns:260px minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
.community-workspace [data-chat-channels]{background:#162234;padding:12px 10px;min-width:0}.chat-channel-group{margin-bottom:24px}.chat-channel-group h2{color:#93a7c2;font-size:12px;line-height:1.5;text-transform:uppercase;letter-spacing:.6px;margin:10px 10px;overflow-wrap:anywhere}
.community-chat a.chat-channel{display:block;margin:3px 0;padding:10px;border:1px solid transparent;border-radius:5px;color:#d7e2f1;overflow-wrap:anywhere}.chat-channel-name{display:flex;align-items:flex-start;gap:7px;font-size:15px;line-height:1.4}.chat-channel-name>span:nth-child(2){flex:1;min-width:0}.chat-channel-name>.unread-badge{flex-shrink:0;margin:0;font-size:12px}.chat-channel-name>span:first-child{color:#a7b7cc}.community-chat a.chat-channel small{font-size:12px;line-height:1.5;padding-left:18px;margin-top:4px;color:#9daec5}.community-chat a.chat-channel:hover{background:#23334b}.community-chat a.chat-channel[aria-current]{background:#293a50;border-color:#655c46;color:#efd398}
.community-workspace .chat-main>header{padding:16px 20px;gap:12px;border-bottom:1px solid #2b3b50;align-items:flex-start}.chat-main>header>div{min-width:0}.chat-main h1{font-size:21px;overflow-wrap:anywhere}.chat-main [data-chat-description]{font-size:13px;line-height:1.5;color:#a8b9cf;margin:5px 0 0}.chat-main [data-chat-description]:empty,.chat-main>[data-chat-status]:empty{display:none}.community-workspace .chat-main [data-chat-history]{padding:12px 20px}.chat-message{font-size:15px}.chat-message header{display:flex;gap:6px 10px;flex-wrap:wrap;align-items:baseline}.chat-message strong{font-size:15px;color:#e3eaf3}.chat-message .chat-author-admin{color:#dfbf79}.chat-admin-label{font-size:10px;margin-left:5px;padding:2px 4px;border:1px solid #776742;border-radius:3px;letter-spacing:.5px}.chat-handle{font-size:12px;color:#a2b5cd}.chat-message time{font-size:12px}.chat-avatar{display:grid;position:relative;width:36px;height:36px;overflow:hidden;font-size:13px}.chat-avatar img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.chat-main form{align-items:center;padding:14px 20px}.chat-main form textarea{font-size:15px}.chat-main form button{min-height:38px;padding:8px 12px;font-size:14px}.chat-main button:disabled{opacity:.5}.chat-main :focus-visible{outline:2px solid #dfbf79;outline-offset:2px}
.public-profile{margin-top:28px;padding-top:20px;border-top:1px solid #34445a}.public-profile form{display:grid;gap:12px;margin-top:16px}.public-profile label{display:grid;gap:7px;text-align:left;font-size:14px}.public-profile input{width:100%;min-width:0;background:#122033;color:#e6edf6;padding:10px;border:1px solid #526680;border-radius:4px;font:inherit}.public-profile small{color:#a6b6ca;line-height:1.5;text-align:left}.public-profile .chat-avatar{width:44px;height:44px}
@media(max-width:760px){.community-workspace{grid-template-columns:48px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr)}.community-rail a{width:38px}.community-topbar{padding:8px;gap:8px}.community-topbar>span:first-of-type{display:none}.community-topbar [data-chat-toggle]{display:block;background:#23354d;border:1px solid #405472;color:#dfbf79;border-radius:4px;padding:8px;font-size:14px}.community-workspace .community-chat{grid-template-columns:minmax(0,1fr);position:relative}.community-workspace [data-chat-channels]{display:none}.community-workspace.channels-open [data-chat-channels]{display:block;position:absolute;inset:0 0 0 0;z-index:5;overflow:auto}.community-workspace .chat-main>header{padding:12px;gap:8px}.chat-main h1{font-size:19px}.community-workspace .chat-main [data-chat-history]{padding:8px}.chat-message{gap:8px}.chat-avatar{display:grid;width:30px;height:30px;font-size:11px}.chat-main form{padding:10px 8px}.chat-main form textarea{min-width:0;width:100%;flex-basis:65%}.chat-main [data-chat-reply]{overflow-wrap:anywhere;max-width:100%}.chat-message header{gap:4px 8px}.community-topbar .account-admin-badge{font-size:11px;padding:5px}.community-topbar .account-menu summary{padding:8px 6px}}
