/* BAIRD Community — feed, profiles, notifications. Follows the BAIRD Core tokens (--bc-*). */
.cm-feed, .cm-profile, .cm-single, .cm-notif-main, .cm-panel {
	--cm-navy: var(--bc-navy, #08087A);
	--cm-red: var(--bc-red, #EA1C24);
	--cm-ink: var(--bc-ink, #14172B);
	--cm-muted: var(--bc-muted, #4A4F6A);
	--cm-line: var(--bc-line, #DCDDE8);
	--cm-soft: var(--bc-soft, #F6F6FB);
	--cm-r: 14px;
	color: var(--cm-ink);
}
.cm-feed *, .cm-profile *, .cm-panel *, .cm-sheet * { box-sizing: border-box; }
.cm-feed [hidden], .cm-profile [hidden], .cm-panel[hidden], .cm-notif-page [hidden], .cm-bell-n[hidden], .cm-ppanel[hidden] { display: none !important; }
.cm-feed button, .cm-profile button, .cm-panel button, .cm-sheet button { font: inherit; cursor: pointer; }
.cm-muted { color: var(--cm-muted); }
.cm-link { background: none; border: 0; padding: 0; color: var(--cm-navy); font-weight: 600; font-size: 13px; }
.cm-link:hover { text-decoration: underline; }

/* Buttons */
.cm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14px; text-decoration: none; transition: .15s; }
.cm-btn-red { background: var(--cm-red); color: #fff; }
.cm-btn-red:hover { background: #C8141C; }
.cm-btn-red:disabled { opacity: .45; cursor: not-allowed; }
.cm-btn-navy { background: var(--cm-navy); color: #fff; }
.cm-btn-ghost { background: #fff; color: var(--cm-navy); border-color: var(--cm-line); }
.cm-btn-ghost:hover { border-color: var(--cm-navy); }

/* Avatars */
.cm-av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: hsl(var(--h, 220) 55% 92%); color: hsl(var(--h, 220) 60% 32%); font-weight: 700; letter-spacing: .02em; }
.cm-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-av-sm { width: 32px; height: 32px; font-size: 12px; }
.cm-av-md { width: 44px; height: 44px; font-size: 15px; }
.cm-av-lg { width: 56px; height: 56px; font-size: 18px; }
.cm-av-link { display: inline-flex; border-radius: 50%; }

/* Badges */
.cm-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
.cm-badge-tier { background: #E8F3EC; color: #1E7A4F; }
.cm-badge-tier.is-fellow { background: #EDEBFF; color: #3B2FA0; }
.cm-badge-tier.is-master { background: #FFF1D6; color: #8A5A00; }
.cm-badge-spk { background: var(--cm-navy); color: #fff; }
.cm-badge-att { background: #FDE7E8; color: #B0121A; }
.cm-badge-pop { background: #FFF1D6; color: #8A5A00; }

/* Tabs */
.cm-tabs { display: flex; gap: 4px; align-items: center; border-bottom: 1px solid var(--cm-line); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.cm-tabs::-webkit-scrollbar { display: none; }
.cm-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 12px; color: var(--cm-muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.cm-tabs button.is-on { color: var(--cm-navy); border-bottom-color: var(--cm-red); }
.cm-tabs .cm-tab-search { margin-left: auto; padding: 8px; border-radius: 50%; display: inline-flex; }
.cm-tabs .cm-tab-right { margin-left: auto; }
.cm-tabs-sm button { font-size: 13px; padding: 8px 10px; }

/* Member search */
.cm-search { position: relative; margin: 0 0 14px; }
.cm-search input { width: 100%; min-height: 44px; border: 1px solid var(--cm-line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; }
.cm-search input:focus { outline: 2px solid var(--cm-navy); outline-offset: 1px; }
.cm-search-list { display: grid; gap: 2px; margin-top: 6px; }
.cm-search-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; }
.cm-search-list a:hover { background: var(--cm-soft); }
.cm-search-list strong { display: block; font-size: 14px; }
.cm-search-list small { display: block; color: var(--cm-muted); font-size: 12px; }
.cm-search-list .cm-badge { margin-left: auto; }

/* Compose */
.cm-compose { display: flex; gap: 12px; background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r); padding: 14px; margin-bottom: 16px; }
.cm-compose-body { flex: 1; min-width: 0; }
.cm-compose textarea { width: 100%; border: 0; resize: none; font: inherit; font-size: 16px; line-height: 1.5; padding: 10px 0; min-height: 44px; background: transparent; color: var(--cm-ink); }
.cm-compose textarea:focus { outline: none; }
.cm-compose-previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0 10px; }
.cm-compose-previews figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cm-soft); }
.cm-compose-previews img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-compose-previews button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.cm-compose-previews button svg { width: 14px; height: 14px; }
.cm-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--cm-muted); padding: 8px 10px; background: #FFF8E6; border-radius: 10px; margin-bottom: 10px; }
.cm-consent input { margin-top: 3px; accent-color: var(--cm-navy); }
.cm-compose-actions { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--cm-line); padding-top: 10px; }
.cm-photo-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--cm-navy); font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.cm-photo-btn:hover { background: var(--cm-soft); }
.cm-compose-note { flex: 1; font-size: 12px; color: var(--cm-muted); }
.cm-compose-note.is-err { color: var(--cm-red); }
.cm-signin { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cm-soft); border-radius: var(--cm-r); padding: 14px 16px; margin-bottom: 16px; font-size: 14px; }
.cm-rules { font-size: 13px; color: var(--cm-muted); margin: -6px 0 16px; }

/* Post card */
.cm-list { display: grid; gap: 12px; }
.cm-post { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r); padding: 16px; }
.cm-post.is-new { animation: cm-in .3s ease-out; }
@keyframes cm-in { from { opacity: 0; transform: translateY(-6px); } }
.cm-post-head { display: flex; align-items: flex-start; gap: 10px; }
.cm-post-who { flex: 1; min-width: 0; }
.cm-post-who a { color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; }
.cm-post-who a:hover { text-decoration: underline; }
.cm-post-who .cm-badge { vertical-align: 2px; margin-left: 6px; }
.cm-post-meta { display: block; color: var(--cm-muted); font-size: 12.5px; margin-top: 2px; }
.cm-post-meta .cm-day { display: inline-block; background: var(--cm-navy); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 10.5px; font-weight: 700; margin-right: 6px; vertical-align: 1px; }
.cm-post-more { position: relative; }
.cm-post-more > button { background: none; border: 0; color: var(--cm-muted); padding: 4px; border-radius: 50%; display: inline-flex; }
.cm-post-more > button:hover { background: var(--cm-soft); }
.cm-menu { position: absolute; right: 0; top: 100%; background: #fff; border: 1px solid var(--cm-line); border-radius: 10px; box-shadow: 0 10px 30px rgba(8,8,122,.12); min-width: 170px; z-index: 5; padding: 4px; }
.cm-menu button, .cm-menu a { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: var(--cm-ink); text-decoration: none; }
.cm-menu button:hover, .cm-menu a:hover { background: var(--cm-soft); }
.cm-menu .is-danger { color: var(--cm-red); }
.cm-post-text { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.cm-post-text p { margin: 0 0 .6em; }
.cm-post-text p:last-child { margin-bottom: 0; }
.cm-post-text a { color: var(--cm-navy); }
.cm-post-text.is-clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.cm-readmore { background: none; border: 0; color: var(--cm-navy); font-weight: 600; padding: 4px 0; font-size: 14px; }
.cm-gallery { display: grid; gap: 4px; margin-top: 12px; border-radius: 12px; overflow: hidden; }
.cm-gallery.n2, .cm-gallery.n4 { grid-template-columns: 1fr 1fr; }
.cm-gallery.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.cm-gallery.n3 a:first-child { grid-row: span 2; }
.cm-gallery a { display: block; background: var(--cm-soft); aspect-ratio: 4 / 3; }
.cm-gallery.n1 a { aspect-ratio: auto; max-height: 520px; }
.cm-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-gallery.n1 img { height: auto; max-height: 520px; }
.cm-post-actions { display: flex; align-items: center; gap: 2px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--cm-line); }
.cm-act { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--cm-muted); padding: 6px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.cm-act:hover { background: var(--cm-soft); color: var(--cm-navy); }
.cm-act.is-on { color: var(--cm-red); }
.cm-act.is-on svg { fill: currentColor; }
.cm-act-save.is-on { color: var(--cm-navy); }
.cm-act-save { margin-left: auto; }
.cm-likers { background: none; border: 0; color: var(--cm-muted); font-size: 13px; padding: 2px 10px; text-align: left; }
.cm-likers:hover { text-decoration: underline; color: var(--cm-navy); }

/* Comments */
.cm-comments { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--cm-line); }
.cm-comment { display: flex; gap: 8px; padding: 6px 0; }
.cm-comment-body { flex: 1; min-width: 0; background: var(--cm-soft); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.cm-comment-body a { color: inherit; font-weight: 700; text-decoration: none; }
.cm-comment-body a:hover { text-decoration: underline; }
.cm-comment-body small { color: var(--cm-muted); margin-left: 6px; font-size: 12px; }
.cm-comment-body p { margin: 2px 0 0; overflow-wrap: anywhere; }
.cm-comment-del { background: none; border: 0; color: var(--cm-muted); font-size: 12px; padding: 0; align-self: center; }
.cm-comment-del:hover { color: var(--cm-red); }
.cm-comment-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 6px; }
.cm-comment-form textarea { flex: 1; min-height: 40px; max-height: 140px; border: 1px solid var(--cm-line); border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; resize: none; }
.cm-comment-form textarea:focus { outline: 2px solid var(--cm-navy); outline-offset: 1px; }
.cm-comment-form button { min-height: 40px; padding: 0 14px; }

.cm-more { text-align: center; margin: 16px 0 8px; }
.cm-empty { text-align: center; color: var(--cm-muted); padding: 40px 16px; background: var(--cm-soft); border-radius: var(--cm-r); font-size: 14.5px; }
.cm-skeleton { height: 120px; border-radius: var(--cm-r); background: linear-gradient(90deg, var(--cm-soft), #fff, var(--cm-soft)); background-size: 200% 100%; animation: cm-sk 1.2s infinite; }
@keyframes cm-sk { to { background-position: -200% 0; } }
.cm-flash { background: #FFF8E6; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.cm-back { margin: 24px 0 12px; font-size: 14px; }
.cm-back a { color: var(--cm-navy); text-decoration: none; font-weight: 600; }
.cm-single { padding-bottom: 60px; }

/* Photos grid (profile) */
.cm-feed-grid .cm-list { grid-template-columns: repeat(3, 1fr); gap: 4px; }
.cm-feed-grid .cm-tile { display: block; aspect-ratio: 1; background: var(--cm-soft); border-radius: 8px; overflow: hidden; }
.cm-feed-grid .cm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-feed-grid .cm-empty { grid-column: 1 / -1; }

/* Bottom sheet (likers, image viewer) */
.cm-sheet-bg { position: fixed; inset: 0; background: rgba(5,5,79,.55); z-index: 100000; display: flex; align-items: flex-end; justify-content: center; }
.cm-sheet { background: #fff; width: min(520px, 100%); max-height: 80vh; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; animation: cm-up .22s ease-out; }
@keyframes cm-up { from { transform: translateY(40px); opacity: 0; } }
.cm-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--cm-line); font-weight: 700; }
.cm-sheet-head button { background: none; border: 0; color: var(--cm-muted); display: inline-flex; padding: 4px; }
.cm-sheet-list { overflow: auto; padding: 8px; }
.cm-sheet-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.cm-sheet-list a:hover { background: var(--cm-soft); }
.cm-sheet-list strong { display: block; font-size: 14px; }
.cm-sheet-list small { color: var(--cm-muted); font-size: 12px; }
.cm-sheet-list .cm-badge { margin-left: auto; }
.cm-sheet-empty { padding: 30px; text-align: center; color: var(--cm-muted); }
@media (min-width: 700px) { .cm-sheet-bg { align-items: center; } .cm-sheet { border-radius: 18px; max-height: 70vh; } }
.cm-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100001; display: flex; align-items: center; justify-content: center; }
.cm-lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.cm-lightbox button { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.cm-lightbox .cm-lb-nav { top: 50%; transform: translateY(-50%); font-size: 26px; }
.cm-lightbox .cm-lb-prev { left: 14px; right: auto; }
.cm-lightbox .cm-lb-next { right: 14px; }
.cm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--cm-ink, #14172B); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 100002; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Header bell */
.cm-bell-wrap { position: relative; display: inline-flex; }
.cm-bell { position: relative; background: none; border: 0; color: inherit; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cm-bell:hover { background: rgba(255,255,255,.12); }
.header.is-light .cm-bell:hover, .is-scrolled .cm-bell:hover { background: rgba(8,8,122,.08); }
.cm-bell-n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #EA1C24; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.cm-drawer-bell { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; padding: 10px 0; }
.cm-drawer-bell .cm-bell-n { position: static; }
.cm-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, calc(100vw - 24px)); background: #fff; color: #14172B; border-radius: 14px; box-shadow: 0 24px 60px rgba(8,8,122,.18); border: 1px solid #DCDDE8; z-index: 60; text-align: left; }
.cm-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #DCDDE8; font-size: 15px; }
.cm-panel-list { max-height: 60vh; overflow: auto; }
.cm-panel-foot { display: block; text-align: center; padding: 12px; border-top: 1px solid #DCDDE8; font-weight: 600; font-size: 13.5px; color: #08087A; text-decoration: none; }

/* Notification rows */
.cm-notifs { list-style: none; margin: 0; padding: 0; }
.cm-notifs li { list-style: none; margin: 0; padding: 0; }
.cm-notifs li::before { display: none; }
.cm-notif a { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--cm-line, #DCDDE8); position: relative; }
.cm-notif:last-child a { border-bottom: 0; }
.cm-notif a:hover { background: var(--cm-soft, #F6F6FB); }
.cm-notif.is-unread a { background: #F3F3FF; }
.cm-notif-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--cm-soft, #F6F6FB); color: var(--cm-navy, #08087A); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cm-notif-body { flex: 1; min-width: 0; }
.cm-notif-body strong { display: block; font-size: 14px; }
.cm-notif-body span { display: block; font-size: 13px; color: var(--cm-muted, #4A4F6A); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-notif-body small { display: block; font-size: 12px; color: var(--cm-muted, #4A4F6A); margin-top: 3px; }
.cm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cm-red, #EA1C24); flex: 0 0 auto; margin-top: 16px; }
.cm-notif-page .cm-notifs { border: 1px solid var(--cm-line); border-radius: var(--cm-r); overflow: hidden; background: #fff; }
.cm-notif-wrap { padding: 32px 0 70px; }
.cm-prefs-box { margin-top: 40px; }
.cm-prefs-box h2 { font-size: 22px; margin: 0 0 4px; }
.cm-prefs { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r); padding: 6px 18px 14px; margin-top: 14px; }
.cm-prefs-head, .cm-prefs-row { display: grid; grid-template-columns: 1fr 80px 80px; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--cm-line); }
.cm-prefs-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cm-muted); }
.cm-prefs-head span:not(:first-child), .cm-prefs-row .cm-switch { justify-self: center; }
.cm-prefs-row span { font-size: 14.5px; }
.cm-prefs p { margin: 12px 0 0; }
.cm-switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.cm-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.cm-switch i { position: absolute; inset: 0; background: #C9CBDA; border-radius: 999px; transition: .15s; }
.cm-switch i::after { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .15s; }
.cm-switch input:checked + i { background: var(--cm-navy); }
.cm-switch input:checked + i::after { transform: translateX(18px); }
.cm-prefs-msg { font-size: 13px; color: #1E7A4F; }

/* Profile */
.cm-profile { padding-bottom: 70px; }
.cm-cover { height: 190px; background: linear-gradient(120deg, #05054F, #08087A 55%, #2E2EA8); background-size: cover; background-position: center; }
.cm-cover.has-img { height: 240px; }
.cm-prof-head { position: relative; padding-top: 64px; text-align: center; margin-bottom: 18px; }
.cm-prof-avatar { position: absolute; top: -56px; left: 50%; transform: translateX(-50%); width: 112px; height: 112px; border-radius: 50%; border: 4px solid #fff; background: #fff; box-shadow: 0 10px 30px rgba(8,8,122,.15); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cm-prof-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cm-prof-avatar span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; background: hsl(var(--h, 220) 55% 92%); color: hsl(var(--h, 220) 60% 32%); }
.cm-prof-head h1 { margin: 0 0 6px; font-size: clamp(24px, 4vw, 34px); }
.cm-prof-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cm-prof-sub { color: var(--cm-muted); margin: 0 0 10px; font-size: 14px; }
.cm-prof-bio { max-width: 560px; margin: 0 auto 12px; font-size: 14.5px; line-height: 1.5; color: var(--cm-muted); }
.cm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 14px; }
.cm-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--cm-soft); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--cm-ink); text-decoration: none; }
.cm-chip-link { color: var(--cm-navy); font-weight: 600; }
.cm-chip-link:hover { background: #E6E6FA; }
.cm-prof-stats { display: flex; justify-content: center; gap: 28px; list-style: none; margin: 0 0 14px; padding: 0; }
.cm-prof-stats b { display: block; font-size: 20px; color: var(--cm-navy); }
.cm-prof-stats span { font-size: 12px; color: var(--cm-muted); text-transform: uppercase; letter-spacing: .06em; }
.cm-ptabs { display: flex; gap: 4px; border-bottom: 1px solid var(--cm-line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.cm-ptabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 14px; color: var(--cm-muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.cm-ptabs button.is-on { color: var(--cm-navy); border-bottom-color: var(--cm-red); }
.cm-teach-block { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r); padding: 16px 18px; margin-bottom: 12px; }
.cm-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cm-red); margin-bottom: 4px; }
.cm-teach-title { display: block; font-weight: 700; font-size: 17px; color: var(--cm-navy); text-decoration: none; margin-bottom: 8px; }
.cm-teach-list { list-style: none; margin: 0; padding: 0; }
.cm-teach-list li { padding: 8px 0; border-top: 1px solid var(--cm-line); font-size: 14.5px; }
.cm-teach-list li:first-child { border-top: 0; }
.cm-teach-list a { color: inherit; text-decoration: none; }
.cm-teach-list a:hover { text-decoration: underline; }
.cm-teach-list small { display: block; color: var(--cm-muted); font-size: 12.5px; margin-top: 2px; }
.cm-certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-certs li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--cm-line); border-radius: 12px; padding: 12px 14px; }
.cm-cert-ic { width: 32px; height: 32px; border-radius: 50%; background: #E8F3EC; color: #1E7A4F; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cm-certs strong { display: block; font-size: 14.5px; }
.cm-certs span { font-size: 13px; color: var(--cm-muted); }

/* Inside the congress app */
.bev-community .cm-feed { margin-top: 8px; }
.bev-community .cm-post, .bev-community .cm-compose { border-radius: 16px; }

@media (max-width: 600px) {
	.cm-post { padding: 14px; border-radius: 12px; }
	.cm-compose { padding: 12px; }
	.cm-act span { display: none; }
	.cm-act { padding: 6px 9px; gap: 4px; }
	.cm-act b { font-size: 13px; }
	.cm-prof-stats { gap: 20px; }
	.cm-prefs-head, .cm-prefs-row { grid-template-columns: 1fr 64px 64px; }
	.cm-cover { height: 140px; }
}

/* Account → My details → Public profile */
.bc-cm-fields { border: 1px solid var(--bc-line, #DCDDE8); border-radius: 14px; padding: 16px 18px 6px; margin: 24px 0 18px; }
.bc-cm-fields legend { padding: 0 8px; font-weight: 700; color: var(--bc-navy, #08087A); font-size: 15px; }
.bc-cm-fields .bc-fine a { color: var(--bc-navy, #08087A); font-weight: 600; }
.bc-cm-pick { display: flex; align-items: center; gap: 14px; }
.bc-cm-avatar-prev { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; display: block; }
.bc-cm-cover-prev { width: 120px; height: 64px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; display: block; }
.bc-cm-avatar-empty { background: var(--bc-soft, #F6F6FB); border: 1px dashed var(--bc-line, #DCDDE8); }
.bc-cm-pick input[type="file"] { font-size: 13px; color: var(--bc-muted, #4A4F6A); min-width: 0; max-width: 100%; }
.bc-cm-pick input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: 13px; color: var(--bc-navy, #08087A); background: #fff; border: 1px solid var(--bc-line, #DCDDE8); border-radius: 999px; padding: 7px 14px; margin-right: 10px; cursor: pointer; }
.bc-cm-pick input[type="file"]::file-selector-button:hover { border-color: var(--bc-navy, #08087A); }

/* Highlights (Instagram-style) */
.cm-hl { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 10px; margin: 0 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cm-hl::-webkit-scrollbar { display: none; }
.cm-hi { flex: 0 0 auto; width: 80px; text-align: center; text-decoration: none; color: var(--cm-ink); }
.cm-hi-ring { display: block; width: 74px; height: 74px; border-radius: 50%; padding: 3px; margin: 0 auto; background: linear-gradient(135deg, var(--cm-red), #FF8A3D); transition: transform .15s; }
.cm-hi:hover .cm-hi-ring { transform: scale(1.04); }
.cm-hi-ring i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--cm-soft) center / cover no-repeat; font-style: normal; font-weight: 700; font-size: 22px; color: var(--cm-navy); }
.cm-hi-ring i[data-ini]::after { content: attr(data-ini); }
.cm-hi.is-ev .cm-hi-ring { background: linear-gradient(135deg, var(--cm-navy), #4747D6); }
.cm-hi.is-past .cm-hi-ring { background: var(--cm-line); }
.cm-hi em { display: block; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cm-red); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-hi.is-ev em { color: var(--cm-navy); }
.cm-hi.is-past em { color: var(--cm-muted); }
.cm-hi small { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.25; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 700px) { .cm-hl { justify-content: center; flex-wrap: wrap; } }

/* About */
.cm-about p { font-size: 15.5px; line-height: 1.6; margin: 0 0 12px; }
.cm-about p a { color: var(--cm-navy); }
.cm-about .cm-eyebrow { margin: 18px 0 8px; }
.cm-quals { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cm-quals li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; background: var(--cm-soft); border-radius: 10px; padding: 10px 12px; }
.cm-quals li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cm-red); margin-top: 6px; flex: 0 0 auto; }
