/* Learn With Usaid community: calm, content-first, responsive navigation. */
:root{--blue:#245be4;--ink:#22262e;--line:#e5e5e7;--surface:#f6f6f4;--radius:14px}
body{background:var(--surface);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}
.community-portal{display:block;min-height:100vh}.community-portal .workspace{margin:0;width:100%;min-width:0}.community-portal .topbar{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line);height:76px;padding:0 max(24px,calc((100vw - 1200px)/2));display:flex;gap:18px;align-items:center;justify-content:flex-start}.community-brand{display:flex;align-items:center;gap:12px;color:#20242b;text-decoration:none;min-width:0}.community-logo{width:40px;height:40px;border-radius:12px;background:#245be4;color:#fff;display:grid;place-items:center;font-weight:800;font-size:25px}.community-brand strong{font-size:18px;line-height:1.2}.community-brand small{display:block;color:#7a7d84;font-size:11px;font-weight:400;margin-top:5px}.top-actions{margin-left:auto;display:flex;gap:18px;align-items:center}.community-portal .topbar .icon-button{flex-shrink:0;border:0;background:transparent;color:#666}.community-portal .community-tabs{display:flex;gap:30px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;background:#fff;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1200px)/2));position:sticky;top:76px;z-index:30;height:59px;align-items:stretch}.community-tabs::-webkit-scrollbar{display:none}.community-tabs a{display:flex;align-items:center;gap:8px;color:#87878c;border-bottom:3px solid transparent;font-weight:600;font-size:15px;text-decoration:none;flex-shrink:0;padding:0 2px}.community-tabs a svg{display:none}.community-tabs a.active{color:#222;border-bottom-color:#222}.community-portal #main{max-width:1200px;padding:30px 24px 45px;margin:0 auto;box-sizing:border-box;min-height:65vh;width:100%}.community-portal .sidebar{position:fixed;z-index:60;left:12px;top:88px;bottom:18px;width:280px;transform:translateX(-320px);box-shadow:0 16px 80px #15203925;border:1px solid var(--line);border-radius:18px;padding:24px;overflow-y:auto;background:#fff;display:block;transition:transform .16s ease}.community-portal .sidebar.open{transform:translateX(0)}.sidebar>strong{display:block;margin:0 0 16px}.sidebar nav>a{margin:2px 0;color:#59616b;padding:11px;display:flex;align-items:center;gap:12px;border-radius:8px}.sidebar nav>a.active{background:#eef3ff;color:var(--blue)}.sidebar .logout{display:block;margin-top:20px}.community-portal .portal-footer{max-width:1152px;margin:0 auto;padding:16px 24px 35px;font-size:12px;color:#8b8b90}.mobile-bottom{display:none}
.community-portal .page-heading{margin:0 0 24px;gap:16px}.community-portal .page-heading h1,.community-page-title h1{font-size:27px;letter-spacing:-.8px;line-height:1.25;margin:0 0 8px;color:#25272d}.community-portal .eyebrow{font-size:10px;letter-spacing:1.4px}.community-portal .page-heading>.eyebrow,.community-portal .page-heading .eyebrow{display:none}.community-portal .page-heading p,.community-page-title p{font-size:14px;color:#81838b;margin:0}.community-page-title{margin-bottom:24px}.community-portal .card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none;background:#fff}.community-portal .button{min-height:42px;border-radius:9px;font-size:13px;font-weight:600}.community-portal .button.primary{background:var(--blue);border-color:var(--blue);color:white}.community-portal .button.secondary{border-color:#dedee2;background:#fff;color:#50545d}.community-portal input,.community-portal textarea,.community-portal select{font:inherit;max-width:100%;box-sizing:border-box}.community-portal input,.community-portal textarea{border-color:#dddde2}.community-portal .avatar,.member-avatar{border-radius:50%;background:#e8efff;color:#3563bb;font-weight:700}.member-avatar{width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px;font-size:20px}
.community-portal .feed-layout{grid-template-columns:minmax(0,790px) minmax(240px,1fr);gap:26px}.community-portal .feed-tabs{border:0;display:flex;gap:10px;margin:0 0 20px}.community-portal .feed-tabs a{font-size:13px;border:1px solid #e1e1e4;border-radius:30px;padding:10px 18px;color:#8a8b90;background:white;white-space:nowrap}.community-portal .feed-tabs a.selected{background:#30343b;color:white;border-color:#30343b}.community-portal .feed-composer{padding:20px;margin:0 0 18px}.community-portal .social-compose-label textarea{background:#f8f8f8;border:1px solid #eee;border-radius:12px;font-size:15px;min-height:62px}.community-portal .feed-publish{margin-top:12px}.community-portal .feed-post{padding:24px;margin-bottom:15px;border-radius:14px}.community-portal .feed-author{gap:12px;margin-bottom:17px}.community-portal .feed-author small{color:#97989f;font-size:11px}.member-name{color:#2b2d33;text-decoration:none;font-size:15px;font-weight:700}.member-name:hover{text-decoration:underline}.community-portal .post-text{font-size:16px;color:#34373e;line-height:1.65}.community-portal .feed-post-footer{margin-top:22px;padding-top:12px;border-top:1px solid #f1f1f2;gap:18px}.community-portal .feed-guide{padding:22px;position:sticky;top:160px;background:#fff;align-self:start}.feed-guide h2{font-size:17px}.feed-guide p{font-size:13px;line-height:1.7;color:#85858b}.feed-guide a{font-size:13px}.social-search{margin-bottom:16px}.social-search input{border-radius:10px}.pinned-label{margin-left:auto;font-size:11px;color:#7a6c2e}.like-button{display:inline-flex!important;gap:6px;align-items:center;color:#85858a!important}.like-button.liked{color:var(--blue)!important}.reply-author{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.reply-author small{color:#999;font-size:11px}.reply-actions{display:flex;gap:16px;align-items:center;margin-top:12px;flex-wrap:wrap}.reply-actions .text-button{font-size:12px}.community-portal .reply{padding:20px;margin-bottom:12px}.reply blockquote{background:#f5f6f8;border-left:3px solid #cfd8e8;padding:10px 14px;margin:14px 0;color:#737a85;font-size:12px}.reply blockquote p{margin:4px 0}.nested-reply{margin-left:22px}.inline-comments .reply{background:#fbfbfc;padding:16px}.reply-target{font-size:13px;color:#526fa7}.thread-body h1{font-size:24px}.thread-body{padding:26px}.thread-body .feed-author{margin-bottom:20px}
.community-portal .cards.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:32px}.community-portal .course-card{overflow:hidden;content-visibility:visible}.community-portal .course-art{height:auto;aspect-ratio:16/9;border-radius:0;background:#eaf0fc}.community-portal .course-card .card-body{padding:22px}.community-portal .course-card h3{font-size:18px;line-height:1.3}.community-portal .course-card .card-body>p{font-size:13px;line-height:1.6;min-height:40px}.community-portal .course-card .eyebrow{display:none}.community-portal .course-card .progress-label{font-size:10px}.community-portal .course-card progress{height:7px;margin-bottom:20px}.community-portal .course-card .pill{background:white;color:#4d5f7c;box-shadow:0 2px 8px #0000000a}.community-portal .course-card .locked{font-size:16px;padding:8px 0 18px}.community-portal .module-classroom{grid-template-columns:270px minmax(0,1fr)}.community-portal .module-classroom .lesson-body{padding:24px}.community-portal .lesson-list h2{font-size:18px}.community-portal .module-classroom .lesson-body>h2{font-size:22px}.community-portal .course-module summary{background:#f6f7f9}.community-portal .course-module a.selected{background:#eef3ff;color:#245be4}.community-portal .watch-panel{font-size:12px;padding:12px}.community-portal .checkout-summary h2{font-size:20px}
.member-counts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px;align-items:center}.member-counts>a,.member-counts>span{padding:11px 17px;border-radius:30px;font-size:12px;background:#fff;border:1px solid var(--line);color:#86868c;text-decoration:none}.member-counts>a.selected{background:#34383d;color:#fff;border-color:#34383d}.member-counts strong{margin-left:6px;font-size:13px}.directory-search{display:flex;gap:10px;max-width:520px;margin:0 0 22px}.directory-search input{flex:1;min-width:0;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff}.member-list{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.member-row{display:flex;gap:18px;padding:25px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);align-items:flex-start}.member-row:last-child{border-bottom:0}.member-row>div{min-width:0;flex:1}.member-row p{font-size:14px;color:#7e8087;margin:7px 0 11px;line-height:1.5}.member-row small{font-size:12px;color:#999}.member-row .chat-link{font-size:12px;border:1px solid #e1e2e5;color:#717781;border-radius:20px;padding:9px 14px;white-space:nowrap}.online-dot{display:inline-block;background:#14ae7e;width:8px;height:8px;border-radius:50%;margin-right:5px}.profile-card{max-width:720px;margin:0 auto;padding:30px}.profile-card>.member-avatar{width:80px;height:80px;margin-bottom:22px;font-size:32px}.profile-card h2{font-size:24px}.profile-card p{font-size:14px;color:#7b7e85}.profile-card .settings-form{margin-top:28px}.profile-card small{font-size:12px;color:#90949d}.profile-card select{padding:12px;border:1px solid #ddd;border-radius:8px;background:#fff}
.map-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.community-map{background:#e8f0f3;border:1px solid #dce4e7;border-radius:16px;overflow:hidden;position:relative}.community-map svg{display:block;width:100%;height:480px;touch-action:none}.country{fill:#faf9f3;stroke:#c5d5d8;stroke-width:.15}.city-pin{fill:#262b32;stroke:white;stroke-width:.25}.city-count{font-size:1.8px;font-family:system-ui;fill:white;pointer-events:none}.community-map svg a{cursor:pointer}.map-privacy{background:#262b32;color:#fff;padding:12px 16px;font-size:12px;margin:0;line-height:1.5}.community-map>small{display:block;padding:5px 12px;color:#7e8c92;background:white;font-size:10px}.map-city-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.city-chip{padding:10px 14px;background:white;border:1px solid var(--line);border-radius:20px;font-size:12px;text-decoration:none;color:#757980}.city-chip strong{margin-left:6px;color:#333}
.reputation-card{display:grid;grid-template-columns:1fr auto;align-items:center;padding:24px;margin-bottom:22px}.reputation-card h2{font-size:29px;margin:8px 0}.reputation-card p{color:#7d8490;font-size:13px}.reputation-card>p{grid-column:1/-1;margin-bottom:0}.level-medal{width:75px;height:75px;background:#fce8af;border:5px solid #fff3d4;border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:700;color:#8a6d27}.leaderboard-list{padding:8px 24px}.leaderboard-list article{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.leaderboard-list article:last-child{border:0}.leaderboard-list article>strong{margin-left:auto;font-size:14px;color:#686e78}.rank{font-size:19px;font-weight:700;color:#9a9da4;width:22px}.level-guide{padding:20px;margin-top:20px;max-width:600px}.level-guide p{display:flex;justify-content:space-between;border-bottom:1px solid #eee;padding:8px;font-size:13px}.level-guide summary{cursor:pointer;font-weight:600}
.chat-tools{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.chat-tools a,.chat-tools button{font-size:12px}.chat-messages{max-height:55vh;min-height:240px;overflow-y:auto;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:12px}.chat-bubble{max-width:80%;padding:12px 16px;border-radius:14px;align-self:flex-start;background:#f0f1f3;overflow-wrap:anywhere}.chat-bubble.sent{align-self:flex-end;background:#e9efff}.chat-bubble p{white-space:pre-wrap;margin:0 0 7px;font-size:14px;line-height:1.6}.chat-bubble small{font-size:9px;color:#8a8f99}.chat-bubble .text-button{font-size:10px;margin-left:12px}.chat-compose{display:flex;gap:12px;margin-top:16px;align-items:flex-end}.chat-compose textarea{flex:1;min-width:0;padding:14px;background:white;border:1px solid #ddd;border-radius:12px}.chat-note{font-size:11px;color:#999;line-height:1.6}
.entry-shell{max-width:1100px;margin:55px auto;min-height:auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:32px;background:transparent}.entry-story{background:transparent;padding:28px;border-radius:18px}.entry-story .entry-intro h1{font-size:42px;color:#242931;line-height:1.18;letter-spacing:-1.7px}.entry-story .entry-intro>p{color:#858994;font-size:15px}.entry-story .entry-features{gap:20px}.entry-story .entry-features article{background:white;border:1px solid #e4e5e7;border-radius:12px;padding:16px}.entry-form{padding:0;display:block}.auth-card{border:1px solid #e2e4e8;background:white;box-shadow:0 8px 32px #1c253508;border-radius:18px;padding:30px;width:100%;box-sizing:border-box}.auth-card h2{font-size:26px}.auth-card input,.auth-card select{border:1px solid #ddd;border-radius:9px;padding:12px;background:#fff;box-sizing:border-box;max-width:100%}.auth-card label{font-size:13px;color:#656a76}.auth-card p{font-size:13px;line-height:1.7;color:#858994}.auth-card .registration-payment{border-top:1px solid #eee;padding-top:20px}.auth-card .registration-payment h3{font-size:18px}.auth-card .registration-payment small{font-size:11px;color:#999}.password-shell{display:block;max-width:480px;margin:60px auto;padding:20px}.password-shell .auth-card{padding:34px}.password-shell form{display:grid;gap:18px}.password-shell label{display:grid;gap:8px}.password-shell h1{font-size:27px;line-height:1.2}.auth-brand{display:block;font-size:19px;font-weight:750;text-decoration:none;color:#245be4;margin-bottom:30px}.auth-card .checkbox-label{display:flex;gap:10px;align-items:flex-start}.auth-card .checkbox-label input{width:auto;margin-top:3px}.auth-card .button{border-radius:9px;min-height:46px;font-size:14px}.auth-card .auth-message{background:#eef4ff;padding:14px;border-radius:9px;color:#3563a5}
@media(min-width:1500px){.community-portal #main{padding-top:36px}}
@media(max-width:1000px){.community-portal .feed-layout{grid-template-columns:minmax(0,1fr) 240px}.community-portal .cards.three{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-shell{gap:15px;padding:20px}.entry-story{padding:12px}.entry-story .entry-intro h1{font-size:34px}.community-portal .community-tabs{gap:24px}}
@media(max-width:760px){.community-portal .topbar{height:63px;padding:0 14px;gap:11px}.community-brand strong{font-size:15px}.community-brand small{display:none}.community-logo{width:30px;height:30px;border-radius:8px;font-size:20px}.top-actions{gap:12px}.top-actions .avatar.small{width:32px;height:32px;font-size:12px}.community-portal .community-tabs{height:54px;top:63px;gap:25px;padding:0 16px}.community-tabs a{font-size:14px}.community-portal #main{padding:20px 14px 30px;min-height:70vh}.community-portal .feed-layout{display:block}.community-portal .feed-guide{display:none}.community-portal .page-heading h1,.community-page-title h1{font-size:23px}.community-portal .page-heading p,.community-page-title p{font-size:12px}.community-portal .feed-composer{padding:15px}.community-portal .feed-composer .feed-author{margin:0;gap:10px}.community-portal .social-compose-label textarea{font-size:14px;min-height:50px;padding:12px}.community-portal .feed-publish small{font-size:10px}.community-portal .feed-publish button{padding:8px 18px;min-height:36px}.community-portal .feed-post{padding:19px 16px;border-radius:12px}.community-portal .post-text{font-size:15px}.feed-author .avatar{width:38px;height:38px}.community-portal .feed-post-footer{gap:12px}.feed-post-footer .text-link{font-size:10px}.community-portal .feed-tabs{overflow-x:auto;gap:8px}.community-portal .feed-tabs a{font-size:12px;padding:10px 14px}.community-portal .cards.three{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.community-portal .course-card .card-body{padding:20px}.community-portal .course-card h3{font-size:20px}.community-portal .course-card .card-body>p{min-height:0}.community-portal .course-card .progress-label{font-size:11px}.community-portal .module-classroom{display:flex;flex-direction:column}.community-portal .module-classroom .lesson-list{max-height:230px;overflow-y:auto;width:100%;box-sizing:border-box}.community-portal .module-classroom .lesson-body{width:100%;box-sizing:border-box;padding:16px}.community-portal .module-classroom .lesson-body>h2{font-size:18px}.community-portal .module-classroom video{min-height:0}.member-counts{gap:7px;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.member-counts>a,.member-counts>span{font-size:11px;padding:9px 12px;white-space:nowrap}.member-counts strong{font-size:11px}.member-row{gap:12px;padding:20px 15px}.member-avatar{width:42px;height:42px;flex-basis:42px;font-size:17px}.member-name{font-size:14px}.member-row p{font-size:12px}.member-row small{font-size:10px}.member-row .chat-link{padding:7px 9px;font-size:10px}.profile-card{padding:22px}.community-map svg{height:420px}.map-toolbar{gap:6px}.map-toolbar .button{font-size:10px;padding:8px 10px;min-height:34px}.map-privacy{font-size:10px}.leaderboard-list{padding:8px 16px}.leaderboard-list article{gap:12px}.leaderboard-list article>strong{font-size:11px}.nested-reply{margin-left:12px}.community-portal .reply{padding:16px}.thread-body{padding:20px}.thread-body h1{font-size:20px}.community-portal .portal-footer{padding:12px 16px 95px;font-size:10px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e5e5e7;z-index:45;justify-content:space-around;padding:10px 4px calc(9px + env(safe-area-inset-bottom));gap:0}.mobile-bottom>a{display:flex;flex-direction:column;align-items:center;gap:4px;color:#8f949b;font-size:9px;text-decoration:none;min-width:48px}.mobile-bottom>a.active{color:#245be4}.mobile-bottom svg{width:23px;height:23px}.community-portal .sidebar{top:75px;bottom:85px;max-width:85vw;left:8px}.community-portal .toast{bottom:88px;max-width:85vw;font-size:12px}.chat-bubble{max-width:90%}.chat-compose{gap:8px}.chat-compose textarea{font-size:14px}.chat-messages{max-height:46vh;min-height:230px;padding:14px}.chat-note{font-size:10px}.entry-shell{display:block;margin:0 auto;padding:22px 16px;max-width:500px}.entry-story{padding:0 5px}.entry-story>.brand{font-size:18px;margin-bottom:24px}.entry-story .entry-intro h1{font-size:30px;margin:0 0 14px}.entry-story .entry-intro>p{font-size:13px;margin-bottom:25px}.entry-features,.entry-story>.muted,.entry-story .eyebrow{display:none!important}.entry-form .auth-card{padding:24px}.password-shell{margin:25px auto;padding:16px}.password-shell .auth-card{padding:26px}.community-portal .dashboard-hub{margin-top:0}.community-portal .hub-top{gap:14px}.community-portal .hub-main{padding:22px}}
@media(prefers-reduced-motion:reduce){.community-portal *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* v0.12 — compact community density */
.community-portal .topbar{height:64px}.community-portal .community-tabs{height:49px;top:64px;gap:27px}.community-portal #main{padding-top:22px}.community-portal .page-heading{margin-bottom:18px}.community-portal .page-heading h1{font-size:24px}.community-portal .page-heading p{font-size:13px}.community-portal .feed-post{padding:18px 20px;margin-bottom:12px}.community-portal .feed-author{margin-bottom:12px}.community-portal .post-text{font-size:15px;line-height:1.6}.community-portal .feed-post-footer{margin-top:14px;padding-top:10px}.community-portal .feed-composer{padding:15px 18px}.community-portal .feed-publish{margin-top:8px}.community-portal .member-row{padding:18px 20px;gap:14px}.community-portal .member-row p{margin:4px 0 6px;font-size:13px}.community-portal .settings-form{padding:22px}.community-portal .settings-form label{margin-bottom:14px}.community-portal .profile-card{padding:24px}.community-portal .profile-card h2{font-size:22px;margin:8px 0}.community-portal .leaderboard-list article{padding:13px 0}.community-portal .reputation-card{padding:20px}.community-portal .course-card .card-body{padding:18px}.community-portal .course-card h3{margin:0 0 9px;font-size:18px}.community-portal .course-card .card-body>p{margin:8px 0 14px;min-height:0}.community-portal .button{min-height:38px;padding:10px 15px}.live-status{font-size:10px;font-weight:400;color:#98a1ad;white-space:normal}.live-status:before{content:'';display:inline-block;background:#71a593;width:5px;height:5px;border-radius:50%;margin-right:6px}
#lwuc-app[data-view="thread"] #main{max-width:920px}.community-portal .thread-body{padding:19px 22px;margin-bottom:16px}.community-portal .thread-body h1{font-size:21px;line-height:1.3;margin:13px 0}.community-portal .thread-body .feed-author{margin-bottom:10px}.discussion-section-heading{margin:16px 0 9px!important}.discussion-section-heading h2{font-size:15px;margin:0}#discussion-replies{background:#fff;border:1px solid #e4e8ee;border-radius:12px;overflow:hidden}.community-portal #discussion-replies>.reply{padding:12px 17px!important;min-height:0!important;border:0;border-bottom:1px solid #edf0f4;border-radius:0;margin:0!important;box-shadow:none;content-visibility:visible}.community-portal #discussion-replies>.reply:last-child{border-bottom:0}.community-portal .reply .reply-author{gap:10px;line-height:1.4}.community-portal .reply-author .member-name{font-size:12px}.community-portal .reply-author small{font-size:9px}.community-portal .reply>p.pre-wrap{font-size:14px;line-height:1.5;margin:6px 0!important}.community-portal .reply-actions{margin-top:5px;gap:16px;line-height:1.2}.community-portal .reply-actions .text-button{font-size:10px;padding:4px 0!important;min-height:0;margin:0}.community-portal .reply blockquote{padding:7px 10px;margin:8px 0;font-size:10px;border-left-width:2px;border-radius:0 5px 5px 0;line-height:1.4}.community-portal .reply blockquote p{margin:3px 0;max-height:42px;overflow:auto;font-size:10px}.community-portal #discussion-replies>.nested-reply{border-left:3px solid #dce7fa;padding-left:22px!important}.community-portal #new-reply{margin-top:13px;padding:12px 15px;border-radius:10px}.community-portal #new-reply label{margin:0}.community-portal #new-reply textarea{min-height:50px;padding:10px 12px;font-size:13px;line-height:1.5;border-radius:7px}.community-portal #new-reply button{margin-top:9px;min-height:34px;font-size:11px;padding:8px 13px}.community-portal #new-reply .reply-target{margin:0 0 7px;font-size:11px}.community-portal .inline-comments{padding-top:10px;margin-top:12px}.community-portal .inline-comments>.reply{padding:10px 12px;margin:0;border-radius:0;border:0;border-bottom:1px solid #e8edf4;background:#fafbfd}.community-portal .inline-reply-form{gap:7px;margin-top:10px}.community-portal .inline-reply-form textarea{font-size:13px;min-height:44px;padding:9px}.community-portal .chat-messages{padding:14px;gap:8px;max-height:58vh;min-height:200px}.community-portal .chat-bubble{padding:9px 13px;border-radius:12px}.community-portal .chat-bubble p{font-size:13px;line-height:1.5;margin-bottom:4px}.community-portal .chat-bubble small{font-size:8px}.community-portal .chat-tools{gap:14px;margin-bottom:12px}.community-portal .chat-compose{margin-top:11px}.community-portal .chat-compose textarea{font-size:14px;padding:10px 12px}.community-portal .pagination{margin:13px 0;gap:9px}
@media(max-width:760px){.community-portal .topbar{height:56px;gap:10px}.community-portal .community-tabs{top:56px;height:48px;gap:23px}.community-portal #main{padding:16px 12px 26px}.community-portal .community-brand strong{font-size:14px}.community-portal .feed-post{padding:15px}.community-portal .feed-composer{padding:13px}.community-portal .page-heading{margin-bottom:15px}.community-portal .page-heading h1{font-size:21px}.community-portal .page-heading p{font-size:12px}.community-portal .feed-post-footer{gap:12px}.community-portal .member-row{padding:15px 13px}.community-portal .member-row p{font-size:12px}.community-portal .member-row .member-avatar{width:37px;height:37px;flex-basis:37px;font-size:15px}.community-portal .member-row .member-name{font-size:13px}.community-portal .course-card .card-body{padding:17px}.community-portal .thread-body{padding:15px;margin-bottom:12px}.community-portal .thread-body h1{font-size:18px;margin:10px 0}.community-portal #discussion-replies>.reply{padding:10px 12px!important}.community-portal .reply>p.pre-wrap{font-size:13px}.community-portal .reply-author .member-name{font-size:12px}.community-portal .reply-author small{font-size:8px}.community-portal .reply-actions{gap:15px}.community-portal #discussion-replies>.nested-reply{padding-left:15px!important}.community-portal #new-reply{padding:11px 12px}.community-portal #new-reply textarea{min-height:45px;font-size:16px}.community-portal .chat-messages{max-height:54vh;min-height:190px;padding:11px}.community-portal .chat-bubble{padding:8px 11px;max-width:90%}.community-portal .chat-bubble p{font-size:13px}.community-portal .chat-compose textarea{font-size:16px}.community-portal .sidebar{top:67px}.community-portal .live-status{font-size:9px}.community-portal .portal-footer{padding-top:8px}.community-portal .settings-form{padding:18px}.community-portal .settings-form label{margin-bottom:12px}}
/* v0.13: compact content, responsive event cards and wide partner banners. */
.top-actions [data-message-badge],.mobile-bottom [data-nav]{position:relative}.message-count,.mobile-notice-count{position:absolute;top:0;right:0;min-width:18px;height:18px;border-radius:20px;background:#2458e8;color:#fff;font-size:11px;line-height:18px;text-align:center;padding:0 4px}.message-count:empty,.mobile-notice-count:empty{display:none}.mobile-bottom .message-count,.mobile-notice-count{top:3px;right:15%}
.community-portal .events-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px;align-items:stretch}.community-portal .events-list .event-card{display:flex;flex-direction:column;padding:0;overflow:hidden;min-width:0;gap:0;width:auto}.community-portal .event-banner{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;max-height:none;border-radius:12px}.community-portal .events-list .event-banner{border-radius:0}.event-details{padding:18px;display:flex;flex:1;flex-direction:column;gap:10px}.event-details h3{font-size:19px;line-height:1.35;margin:0}.event-details p{font-size:14px;margin:0}.event-details .event-actions{margin-top:auto;padding-top:12px}.event-booking-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;margin-top:20px}.event-overview .prose{margin-top:20px}.ticket-panel{align-self:start;display:flex;flex-direction:column;gap:14px}.ticket-panel h2,.ticket-panel p{margin:0}.ticket-panel .text-button{text-align:left}.ticket-panel strong{overflow-wrap:anywhere}
.resource-tabs{display:flex;gap:8px;overflow:auto;margin:20px 0;padding-bottom:8px;border-bottom:1px solid #e1e5eb}.resource-tabs a{padding:10px 18px;border-radius:24px;background:white;white-space:nowrap;text-decoration:none;color:#596475;border:1px solid #e1e5eb}.resource-tabs a.selected{background:#2458e8;color:white;border-color:#2458e8}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.resource-tile{padding:18px!important;min-width:0}.resource-tile h2{font-size:19px;line-height:1.4;margin:12px 0}.resource-tile .media-cover{aspect-ratio:16/9;object-fit:cover;width:100%;height:auto;margin-bottom:14px}.resource-detail{max-width:950px;margin-top:20px}.resource-detail .media-cover{max-height:420px;object-fit:contain}.resource-detail .lesson-video{width:100%;aspect-ratio:16/9;height:auto}.resource-detail iframe.lesson-video{min-height:320px}.prose img{max-width:100%;height:auto}.prose{overflow-wrap:anywhere}
.community-portal .whats-new{padding:22px 24px}.news-list{display:grid}.news-item{display:grid;grid-template-columns:92px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e9edf2;text-decoration:none;color:#263449}.news-item:last-child{border-bottom:0}.news-item strong{font-size:15px;line-height:1.45;font-weight:600}.news-type{text-transform:capitalize;font-size:12px;color:#68768b}.announcement-signal{display:inline-flex;gap:7px;align-items:center;font-size:13px}.activity-dot{width:7px;height:7px;background:#2458e8;border-radius:100%}.has-unread .activity-dot{animation:lwuc-attention 2.2s ease-in-out infinite}.announcement-item{padding:14px 0;border-bottom:1px solid #e9edf2}.announcement-item h3{font-size:18px;margin:0 0 10px}.announcement-item:last-child{border:0}
@keyframes lwuc-attention{50%{box-shadow:0 0 0 6px #2458e822;transform:scale(1.15)}}
.benefit-stack{display:flex;flex-direction:column;gap:24px;max-width:1100px;margin:20px auto}.benefit-banner{border:1px solid #e2e6ec;border-radius:14px;overflow:hidden;background:white}.benefit-banner>a{display:block;background:#f7f8fb}.benefit-banner img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain}.benefit-caption{padding:16px 20px}.benefit-caption h2{font-size:18px;margin:0 0 8px}.benefit-caption p{font-size:14px;margin:8px 0}.toast a{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none}.toast a span{font-size:12px}.toast button{position:absolute;right:8px;top:6px;border:0;background:none;color:inherit;font-size:22px;cursor:pointer}.toast{padding-right:38px!important;max-width:min(440px,calc(100vw - 32px));z-index:9999!important}
@media(max-width:1100px){.community-portal .events-list,.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.community-portal .events-list,.resource-grid,.event-booking-layout{grid-template-columns:minmax(0,1fr);gap:16px}.community-portal .whats-new{padding:16px}.whats-new .section-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.news-item{grid-template-columns:64px minmax(0,1fr) 16px;gap:8px;padding:12px 0}.news-item strong{font-size:14px}.news-type{font-size:11px}.benefit-caption{padding:14px}.resource-tabs a{padding:9px 14px}.ticket-panel,.event-overview{padding:18px!important}.toast{bottom:85px!important}.resource-detail iframe.lesson-video{min-height:190px}.benefit-stack{gap:16px}}
@media(prefers-reduced-motion:reduce){.has-unread .activity-dot{animation:none}}
@media print{.topbar,.community-tabs,.sidebar,.mobile-bottom,.portal-footer,.ticket-panel button{display:none!important}.ticket-panel{border:2px solid #ddd}}
/* v0.14: account-owned consultations and consent-based member chat. */
.calls-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(310px,1fr);gap:24px;margin-top:24px}.call-request{align-self:start}.call-request h2{font-size:25px}.call-request p{font-size:15px;line-height:1.65}.call-booking{padding:22px!important;margin-bottom:18px}.call-booking h3{margin:0}.call-booking small{display:block;margin-top:16px;overflow-wrap:anywhere}.call-booking .button{margin-top:12px}.call-date{display:flex;flex-direction:column;gap:6px;border-left:3px solid #2458e8;background:#f2f6ff;padding:14px 16px;margin:16px 0}.call-date span{font-size:13px;color:#5d6d84}.chat-consent{max-width:650px;margin:24px auto}.chat-consent p{line-height:1.65}.chat-consent .button{margin:8px 8px 8px 0}.chat-request-list{margin-bottom:20px;padding:20px!important}.chat-request-list h2{font-size:18px}.chat-request-list .member-row{padding:14px 0;border-radius:0;display:flex;justify-content:space-between}.portal-footer [data-alert-status]{display:inline-block;margin-left:8px;color:#60806b;font-size:11px}.call-request input,.call-request textarea{width:100%;min-width:0}
@media(max-width:760px){.calls-layout{grid-template-columns:minmax(0,1fr)}.call-request{order:-1}.call-booking{padding:18px!important}.call-booking .section-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.call-booking .pill{white-space:normal}.chat-consent{padding:20px!important}.portal-footer [data-alert-status]{display:block;margin:6px 0 0}}
