.cbcom-wrap{max-width:none;width:100%;font-size:15px;color:#18344b;box-sizing:border-box}
.cbcom-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 20px}.cbcom-header h2{margin:0 0 5px;font-size:29px;line-height:1.2;color:#153b59}.cbcom-header p{margin:0;color:#64798b;font-size:15px}.cbcom-private-pill,.cbcom-locked-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:6px 11px;background:#eef7fd;color:#41677f;font-size:12px;font-weight:700}
.cbcom-live-notice{position:sticky;top:42px;z-index:30;opacity:0;transform:translateY(-5px);pointer-events:none;background:#e9f8ee;border:1px solid #a7d7b4;border-radius:10px;padding:10px 13px;margin-bottom:0;transition:.18s}.cbcom-live-notice.is-visible{opacity:1;transform:none;margin-bottom:14px}.cbcom-live-notice.is-error{background:#fff1f1;border-color:#e6b2b2}

/* Composer: a clear CoralBay panel, separate from discussions. */
.cbcom-compose{padding:14px;margin:0 0 24px;background:#cce3f2;border:1px solid #a9cde3;border-radius:17px;box-shadow:0 3px 12px rgba(25,70,100,.07)}.cbcom-composer-row{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #d7e6ef;border-radius:13px;padding:14px}.cbcom-composer-main{flex:1;min-width:0}.cbcom-composer-row>.cbcom-profile-avatar,.cbcom-composer-row>.avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:cover}
.cbcom-compose textarea,.cbcom-reply-form textarea,.cbcom-edit-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfdee8;border-radius:11px;padding:12px 14px;resize:vertical;background:#fff;color:#17364d;font:inherit;line-height:1.5;outline:none;transition:border-color .15s,box-shadow .15s}.cbcom-compose textarea{min-height:92px}.cbcom-compose textarea:focus,.cbcom-reply-form textarea:focus,.cbcom-edit-form textarea:focus{border-color:#54aee9;box-shadow:0 0 0 3px rgba(84,174,233,.13)}
.cbcom-compose-toolbar,.cbcom-reply-toolbar,.cbcom-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.cbcom-photo-button{display:inline-flex;align-items:center;gap:6px;color:#2b6e9a;font-weight:700;font-size:13px;cursor:pointer}.cbcom-photo-button input{position:absolute;opacity:0;pointer-events:none}.cbcom-photo-button.small{font-size:12px}.cbcom-file-summary{margin-left:8px;color:#7a8e9c;font-size:12px}.cbcom-primary-btn,.cbcom-secondary-btn,.cbcom-load-more{appearance:none;border:0;border-radius:9px;padding:8px 16px;font-weight:700;cursor:pointer}.cbcom-primary-btn{background:#28a7ed;color:#fff}.cbcom-primary-btn:hover{background:#168fd0}.cbcom-secondary-btn{background:#edf4f8;color:#41677f}.cbcom-admin-hint{margin-top:8px;color:#7b8d99;font-size:11px}.cbcom-compose select{margin-top:8px;max-width:260px}

/* Each top-level discussion is now its own visually obvious CoralBay container. */
.cbcom-feed{display:flex;flex-direction:column;gap:22px}.cbcom-post{position:relative;margin:0;padding:13px;background:#cce3f2;border:1px solid #a9cde3;border-radius:18px;box-shadow:0 4px 14px rgba(25,70,100,.075);overflow:visible}.cbcom-post:focus-within{z-index:20}.cbcom-post.is-pinned{background:#c5e1f2;border-color:#8fbedb}.cbcom-post.is-locked{border-color:#bdd3df}.cbcom-post-card{background:#fff;border:1px solid #d8e6ee;border-radius:13px;padding:17px 18px;box-shadow:0 1px 4px rgba(25,70,100,.035)}.cbcom-status-ribbon{margin:-13px -13px 12px;padding:8px 16px;background:#e8f5fd;border-bottom:1px solid #a9cde3;color:#337aa7;font-size:12px;font-weight:800}
.cbcom-post-head{display:flex;align-items:flex-start;gap:12px}.cbcom-post-head .cbcom-profile-avatar,.cbcom-post-head .avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 48px}.cbcom-head-copy{flex:1;min-width:0;padding-top:2px}.cbcom-author{font-weight:800;color:#176da8;text-decoration:none}.cbcom-author:hover{text-decoration:underline}.cbcom-meta{color:#8193a0;font-size:12px;margin-top:1px}
.cbcom-content{font-size:16px;line-height:1.62;margin:15px 0 11px;color:#17384f}.cbcom-content p{margin-top:0}.cbcom-content p:last-child,.cbcom-reply-content p:last-child{margin-bottom:0}
.cbcom-actions,.cbcom-mini-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#718795;font-size:12px}.cbcom-actions{border-top:1px solid #e7eff4;padding-top:10px;margin-top:12px}.cbcom-actions-main,.cbcom-actions-admin,.cbcom-mini-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.cbcom-inline-form{display:inline;margin:0}.cbcom-action-button,.cbcom-link-button{border:0;background:transparent;padding:0;color:#52788f;cursor:pointer;font:inherit;font-weight:700}.cbcom-action-button:hover,.cbcom-link-button:hover{color:#188ed2}.cbcom-like-count{min-width:12px}.cbcom-like-count-button{appearance:none;border:0;background:transparent;padding:0 2px;color:#52788f;font:inherit;font-weight:800;cursor:pointer;min-width:12px;text-align:center}.cbcom-like-count-button:hover{color:#188ed2;text-decoration:underline}.cbcom-like-count-button:disabled{cursor:default;text-decoration:none;color:#8193a0;opacity:1}.cbcom-inline-like{display:inline-flex;align-items:center;gap:4px}

/* Replies belong visually to the blue discussion container, not to the next thread. */
.cbcom-reply-summary{margin:13px 5px 5px;color:#476b82;font-size:12px;font-weight:600}.cbcom-replies{margin:0 5px 0 42px}.cbcom-reply{display:flex;gap:9px;padding:7px 0}.cbcom-reply>.avatar,.cbcom-reply>.cbcom-profile-avatar{width:35px;height:35px;flex:0 0 35px;border-radius:50%;object-fit:cover;margin-top:3px}.cbcom-reply-body{flex:1;min-width:0;background:#fff;border:1px solid #d5e4ed;border-radius:12px;padding:10px 12px;box-shadow:0 1px 3px rgba(25,70,100,.035)}.cbcom-reply-head{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap}.cbcom-reply-content{margin:5px 0 7px;font-size:14.5px;line-height:1.5;color:#28485d}.cbcom-mini-actions{justify-content:flex-start;border-top:1px solid #eef3f6;padding-top:6px;margin-top:6px}
.cbcom-load-earlier-replies{display:block;margin:4px 0 7px;border:0;background:transparent;color:#267daa;font:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:4px 0}.cbcom-load-earlier-replies:hover{text-decoration:underline}
.cbcom-reply-form{margin:11px 5px 1px 42px;overflow:visible;max-height:330px;opacity:1;transition:.2s}.cbcom-reply-form.is-collapsed{max-height:0;opacity:0;margin-top:0;overflow:hidden;pointer-events:none}.cbcom-reply-composer{display:flex;gap:9px;align-items:flex-start;padding:10px;background:#fff;border:1px solid #d5e4ed;border-radius:12px}.cbcom-reply-composer>.avatar,.cbcom-reply-composer>.cbcom-profile-avatar{width:35px;height:35px;border-radius:50%;object-fit:cover}.cbcom-reply-input{flex:1}.cbcom-reply-input:focus-within{position:relative;z-index:60}.cbcom-edit-form{margin:10px 0;padding:11px;background:#f8fbfd;border:1px solid #e3edf3;border-radius:10px}.cbcom-edit-form.is-hidden{display:none}.cbcom-closed-note{margin:12px 5px 1px 42px;padding:10px 12px;border-radius:10px;background:#f5f7f8;border:1px solid #dde6eb;color:#72828c;font-size:12px}

.cbcom-media-grid{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin:10px 0}.cbcom-media-grid a{display:flex;align-items:center;justify-content:center;max-width:360px;max-height:320px;overflow:hidden;border-radius:11px;background:#f3f7f9}.cbcom-media-grid img{display:block;width:auto;height:auto;max-width:360px;max-height:320px;object-fit:contain;border-radius:11px}.cbcom-category-filter{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 13px}.cbcom-category-filter a{padding:6px 11px;border:1px solid #d7e5ed;border-radius:999px;text-decoration:none;color:#4e7288;font-size:12px;background:#fff}.cbcom-category-filter a.is-active{background:#e8f6ff;border-color:#9ed1f2;color:#187fb9}.cbcom-load-more-wrap{text-align:center;padding:9px 0 18px}.cbcom-load-more{background:#e5f3fb;color:#277eae;padding:11px 24px;border:1px solid #bbd9e9}.cbcom-empty,.cbcom-notice{padding:14px;border-radius:10px;background:#f5f9fc;border:1px solid #e0ebf1}.cbcom-error{border-color:#edbbbb;background:#fff3f3}.cbcom-mention{font-weight:800;color:#1688cc}.cbcom-mention-all{color:#b32d2e}.cbcom-mention-menu{position:absolute;left:0;right:0;top:100%;z-index:50;background:#fff;border:1px solid #cbdde8;border-radius:9px;box-shadow:0 8px 24px rgba(15,54,78,.15);max-height:220px;overflow:auto}.cbcom-mention-menu button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:8px 10px;cursor:pointer}.cbcom-mention-menu button:hover{background:#eef7fd}.cbcom-ajax-form.is-busy{opacity:.65}.cbcom-ajax-form.is-busy:after{content:'Working…';font-size:11px;color:#718795}.cbcom-wrap button:disabled{opacity:.55;cursor:default}


/* Lightweight AJAX viewer for people who liked a post/reply. */
.cbcom-likers-modal[hidden]{display:none}.cbcom-likers-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px}.cbcom-likers-backdrop{position:absolute;inset:0;background:rgba(13,38,55,.48)}.cbcom-likers-dialog{position:relative;z-index:1;width:min(520px,100%);max-height:min(76vh,720px);display:flex;flex-direction:column;background:#fff;border:1px solid #c7dce8;border-radius:16px;box-shadow:0 24px 70px rgba(10,38,58,.30);overflow:hidden}.cbcom-likers-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;background:#cce3f2;border-bottom:1px solid #afd0e3}.cbcom-likers-head strong{color:#173b55;font-size:17px}.cbcom-likers-close{appearance:none;border:0;background:#fff;color:#456b82;width:31px;height:31px;border-radius:50%;font-size:21px;line-height:1;cursor:pointer}.cbcom-likers-body{overflow:auto;padding:5px 14px 13px}.cbcom-liker-row{display:flex;align-items:center;gap:11px;padding:11px 2px;border-bottom:1px solid #edf2f5}.cbcom-liker-row:last-child{border-bottom:0}.cbcom-liker-row .avatar,.cbcom-liker-row .cbcom-profile-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover}.cbcom-liker-copy{min-width:0;flex:1}.cbcom-liker-name{display:block;color:#176da8;font-weight:800;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cbcom-liker-name:hover{text-decoration:underline}.cbcom-liker-time{display:block;margin-top:2px;color:#8193a0;font-size:11px}.cbcom-likers-more-wrap{text-align:center;padding:10px 0 2px}.cbcom-likers-more{appearance:none;border:1px solid #bbd9e9;background:#e8f5fc;color:#277eae;border-radius:9px;padding:8px 17px;font-weight:700;cursor:pointer}.cbcom-likers-state{padding:20px 4px;text-align:center;color:#718795}.cbcom-likers-state.is-error{color:#a12626}.cbcom-likers-modal.is-loading .cbcom-likers-dialog{cursor:progress}
@media(max-width:900px){.cbcom-wrap{max-width:none}.cbcom-replies,.cbcom-reply-form,.cbcom-closed-note{margin-left:24px}.cbcom-post{padding:11px}.cbcom-post-card{padding:15px}.cbcom-status-ribbon{margin:-11px -11px 10px}}
@media(max-width:700px){.cbcom-header{align-items:flex-start}.cbcom-header h2{font-size:25px}.cbcom-private-pill{font-size:11px}.cbcom-feed{gap:16px}.cbcom-replies,.cbcom-reply-form,.cbcom-closed-note{margin-left:10px}.cbcom-actions{align-items:flex-start}.cbcom-actions-admin{width:100%;justify-content:flex-start;padding-top:3px}.cbcom-content{font-size:15.5px}}
@media(max-width:520px){.cbcom-compose{padding:9px}.cbcom-composer-row{padding:10px}.cbcom-composer-row>.avatar,.cbcom-composer-row>.cbcom-profile-avatar{width:38px;height:38px;flex-basis:38px}.cbcom-compose-toolbar,.cbcom-reply-toolbar{align-items:flex-end}.cbcom-post{padding:8px;border-radius:14px}.cbcom-post-card{padding:12px;border-radius:10px}.cbcom-status-ribbon{margin:-8px -8px 8px}.cbcom-post-head .avatar,.cbcom-post-head .cbcom-profile-avatar{width:42px;height:42px;flex-basis:42px}.cbcom-media-grid a,.cbcom-media-grid img{max-width:100%;max-height:300px}.cbcom-actions-main{gap:8px}.cbcom-header h2{font-size:23px}.cbcom-header{gap:8px}.cbcom-replies,.cbcom-reply-form,.cbcom-closed-note{margin-left:0}.cbcom-reply>.avatar,.cbcom-reply>.cbcom-profile-avatar{width:30px;height:30px;flex-basis:30px}}

/* User-posted links stay recognisable and wrap within mobile cards. */
.cbcom-content a:not(.cbcom-mention),.cbcom-reply-content a:not(.cbcom-mention){color:#0b6a9d;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;word-break:normal;}
.cbcom-content a:focus-visible,.cbcom-reply-content a:focus-visible{outline:2px solid #148fc4;outline-offset:3px;}
