.community-layout{display:grid;grid-template-columns:minmax(0,710px) minmax(210px,280px);gap:28px;justify-content:center}.community-main{min-width:0}.community-intro h1{font:700 clamp(26px,3vw,37px) Manrope,sans-serif;letter-spacing:-.04em;margin:7px 0}.community-intro p,.community-aside p{color:var(--muted,#718680);line-height:1.6;font-size:14px}.community-compose,.community-post,.community-profile,.community-empty{background:var(--surface,#fff);border:1px solid var(--line,#e7ece6);border-radius:18px;padding:20px;margin:18px 0}.community-compose label{display:block;font-weight:700;margin-bottom:12px}.community-compose textarea{display:block;width:100%;resize:vertical;min-height:90px;border:0;outline:0;color:inherit;background:transparent;line-height:1.5}.community-compose-bottom,.community-post-head,.community-actions,.community-profile{display:flex;align-items:center;justify-content:space-between;gap:12px}.community-compose-bottom{border-top:1px solid var(--line,#e7ece6);padding-top:12px}.community-compose-bottom small{color:var(--muted,#718680)}.community-tabs{position:sticky;top:0;z-index:2;display:flex;gap:6px;padding:8px;background:var(--surface,#fff);border:1px solid var(--line,#e7ece6);border-radius:13px}.community-tabs button{flex:1;border:0;border-radius:9px;background:transparent;color:inherit;padding:12px;font-weight:600}.community-tabs button.active{background:var(--accent-soft,#eaf5e7);color:var(--accent-ink,#225b43)}.community-person{display:flex;align-items:center;text-align:left;gap:12px;border:0;background:transparent;color:inherit;padding:0;min-width:0}.community-person strong,.community-person small{display:block}.community-person small{font-size:12px;color:var(--muted,#718680);margin-top:3px;overflow-wrap:anywhere}.community-avatar{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft,#eaf5e7);color:var(--accent-ink,#225b43);font-weight:700}.community-quiet{border:0;background:transparent;color:var(--accent-ink,#357957);white-space:nowrap}.community-text{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0}.community-actions{justify-content:flex-start;flex-wrap:wrap;border-top:1px solid var(--line,#e7ece6);padding-top:12px}.community-actions button{border:0;background:transparent;color:inherit;padding:8px 10px;border-radius:8px;font-size:13px}.community-actions button:hover{background:var(--accent-soft,#eaf5e7)}.community-actions button[aria-pressed=true]{color:var(--accent-ink,#357957)}.community-actions button:last-child{margin-left:auto}.community-comments{border-top:1px solid var(--line,#e7ece6);padding-top:10px}.community-comments p{font-size:13px;line-height:1.5}.community-comments form{display:flex;gap:8px}.community-comments input{flex:1;min-width:0;padding:10px;border:1px solid var(--line,#e7ece6);border-radius:9px;background:var(--surface,#fff);color:inherit}.community-profile{justify-content:flex-start}.community-profile h2{font-size:17px;margin:0}.community-profile p{font-size:13px;margin:4px 0}.community-profile .btn{margin-left:auto}.community-aside .card{position:sticky;top:20px}.community-aside h2{font:700 19px Manrope,sans-serif}.community-more{display:block;margin:20px auto}.community-empty{text-align:center;color:var(--muted,#718680);padding:35px}@media(max-width:900px){.community-layout{grid-template-columns:1fr}.community-aside{display:none}}@media(max-width:600px){.community-compose,.community-post,.community-profile{padding:15px}.community-compose-bottom small{font-size:11px}.community-actions{gap:0}.community-actions button{padding:8px 6px}.community-person small{font-size:11px}.community-quiet{font-size:12px}}
:root[data-theme="dark"] .community-compose,:root[data-theme="dark"] .community-post,:root[data-theme="dark"] .community-profile,:root[data-theme="dark"] .community-empty,:root[data-theme="dark"] .community-tabs,:root[data-theme="dark"] .community-comments input{--surface:var(--panel);--line:var(--edge);--muted:var(--quiet);background:var(--panel);border-color:var(--edge);color:var(--text)}
:root[data-theme="dark"] .community-intro p,:root[data-theme="dark"] .community-aside p,:root[data-theme="dark"] .community-person small,:root[data-theme="dark"] .community-compose-bottom small,:root[data-theme="dark"] .community-empty{color:var(--quiet)}
@media(max-width:700px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-nav button{font-size:10px}}
.community-shell{width:min(780px,100%);margin:0 auto;padding:0 0 105px}.community-head{padding:5px 2px 14px}.community-head h1{font:750 28px Manrope,sans-serif;letter-spacing:-.045em;margin:4px 0 0}.community-feed-tabs{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--edge,#e7ece6);margin:14px 0 20px}.community-feed-tabs button{flex:1;border:0;border-bottom:3px solid transparent;background:none;padding:14px 8px;color:var(--quiet,#718680);font-weight:650}.community-feed-tabs button.active{border-color:var(--accent,#287b5b);color:var(--accent-ink,#225b43)}.community-shell .community-compose{margin:5px 0 15px}.community-shell .community-post{margin:12px 0}.community-bottom{position:sticky;bottom:0;z-index:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px;background:var(--panel,#fff);border:1px solid var(--edge,#e7ece6);border-radius:18px;box-shadow:0 -8px 35px #102a2b12;margin-top:25px}.community-bottom button{display:grid;justify-items:center;gap:2px;border:0;border-radius:12px;padding:8px 4px;background:none;color:var(--quiet,#718680);font-size:12px;font-weight:650}.community-bottom button span{font-size:21px;line-height:1}.community-bottom button.active{color:var(--accent-ink,#225b43);background:var(--accent-soft,#eaf5e7)}.community-profile{flex-wrap:wrap}.community-profile>div:nth-child(2){min-width:0;flex:1}.community-profile-buttons{display:flex;gap:7px;flex-wrap:wrap}.community-chats{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);min-height:460px;background:var(--panel,#fff);border:1px solid var(--edge,#e7ece6);border-radius:18px;overflow:hidden}.community-chats-list{border-right:1px solid var(--edge,#e7ece6);padding:17px 8px}.community-chats-list h2{font:700 18px Manrope,sans-serif;margin:2px 10px}.community-chat-hint{font-size:12px;line-height:1.45;color:var(--quiet,#718680);margin:8px 10px 15px}.community-chat-row{display:flex;width:100%;align-items:center;gap:9px;text-align:left;padding:10px;border:0;border-radius:10px;background:none;color:inherit}.community-chat-row.active,.community-chat-row:hover{background:var(--accent-soft,#eaf5e7)}.community-chat-row>span:last-child{min-width:0}.community-chat-row strong,.community-chat-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-chat-row strong{font-size:13px}.community-chat-row small{font-size:12px;color:var(--quiet,#718680);margin-top:3px}.community-chat-room{display:flex;flex-direction:column;min-width:0;min-height:460px}.community-chat-title{padding:15px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--edge,#e7ece6)}.community-chat-title button{border:0;background:none;color:inherit;font-size:18px}.community-chat-messages{height:350px;overflow:auto;padding:15px;display:flex;flex-direction:column;gap:10px}.community-message{align-self:flex-start;max-width:82%;background:var(--accent-soft,#eaf5e7);padding:10px 13px;border-radius:14px 14px 14px 3px;overflow-wrap:anywhere;font-size:14px}.community-message.mine{align-self:flex-end;background:var(--accent,#287b5b);color:white;border-radius:14px 14px 3px 14px}.community-message small{display:block;text-align:right;font-size:10px;opacity:.7;margin-top:4px}.community-chat-room form{margin-top:auto;display:flex;gap:8px;padding:12px;border-top:1px solid var(--edge,#e7ece6)}.community-chat-room input{flex:1;min-width:0;border:1px solid var(--edge,#e7ece6);border-radius:10px;padding:10px;background:var(--panel,#fff);color:var(--text,#173334)}.community-chat-room .community-empty{border:0;background:none}.community-shell .community-empty{background:var(--panel,#fff);border-color:var(--edge,#e7ece6);color:var(--quiet,#718680)}.community-shell .community-compose,.community-shell .community-post,.community-shell .community-profile{background:var(--panel,#fff);border-color:var(--edge,#e7ece6);color:var(--text,#173334)}.community-shell .community-person small,.community-shell .community-compose-bottom small{color:var(--quiet,#718680)}
@media(max-width:700px){.community-shell{padding-bottom:75px}.community-bottom{position:fixed;bottom:calc(66px + env(safe-area-inset-bottom));left:12px;right:12px;margin:0;border-radius:16px}.community-head h1{font-size:24px}.community-chats{display:block;min-height:400px}.community-chats-list{border-right:0;border-bottom:1px solid var(--edge,#e7ece6)}.community-chats:has(.community-chat-title) .community-chats-list{display:none}.community-chats:not(:has(.community-chat-title)) .community-chat-room{display:none}.community-chat-room{min-height:480px}.community-chat-messages{height:360px}.community-profile-buttons{width:100%}.community-profile-buttons .btn{flex:1}}
.community-chat-title .community-chat-refresh{margin-left:auto;font-size:22px;color:var(--accent-ink,#225b43)}
.community-search{padding:8px 10px}.community-search label{display:block;font-size:12px;font-weight:700;line-height:1.4;margin-bottom:7px}.community-search input{width:100%;min-width:0;border:1px solid var(--edge,#dce7de);border-radius:10px;background:var(--panel,#fff);color:var(--text,#173334);padding:10px;font-size:13px}.community-search-status{min-height:18px;margin:0 10px 8px;color:var(--quiet,#718680);font-size:11px}.community-search-results{border-bottom:1px solid var(--edge,#e7ece6);padding:0 8px 8px}.community-search-result{padding:9px 3px;border-top:1px solid var(--edge,#e7ece6)}.community-search-result>button{display:flex;align-items:center;gap:8px;width:100%;min-width:0;text-align:left;border:0;background:none;color:inherit;padding:3px}.community-search-result>button span:last-child{min-width:0}.community-search-result strong,.community-search-result small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-search-result strong{font-size:12px}.community-search-result small{font-size:11px;color:var(--quiet,#718680)}.community-search-result>div{display:flex;gap:6px;margin:7px 0 0 50px;flex-wrap:wrap}.community-search-result .btn{padding:6px 9px;font-size:11px}.community-conversations-heading{font-size:13px;margin:15px 10px 6px;color:var(--quiet,#718680)}
.community-avatar{overflow:hidden}.community-avatar img{width:100%;height:100%;display:block;object-fit:cover}.community-avatar.large{width:86px;height:86px;border:4px solid var(--panel,#fff);box-shadow:0 4px 16px #102a2b20;font-size:32px}.community-profile-showcase{border:1px solid var(--edge,#e7ece6);border-radius:22px;overflow:hidden;background:var(--panel,#fff);margin:5px 0 15px}.community-profile-cover{min-height:180px;position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;background:radial-gradient(circle at 83% 20%,#ffffff22 0 8%,transparent 35%),linear-gradient(125deg,var(--accent,#266f56),#173f43);color:white}.community-profile-cover>span{font-size:11px;letter-spacing:.13em;font-weight:750;opacity:.85}.community-crest{display:grid;justify-items:center;gap:6px;width:130px;text-align:center;flex:none}.community-crest-shield{width:75px;height:86px;clip-path:polygon(50% 0,92% 15%,92% 68%,50% 100%,8% 68%,8% 15%);background:linear-gradient(140deg,#f8e4aa,#bb8e4b);display:grid;place-items:center;box-shadow:inset 0 0 0 5px #fff9}.community-crest-shield span{font-size:37px;filter:drop-shadow(0 2px 3px #472e2866)}.community-crest small{font-size:10px;line-height:1.2;font-weight:750;text-transform:uppercase;letter-spacing:.08em;max-height:36px;overflow:hidden}.community-profile-details{padding:0 25px 23px}.community-profile-identity{display:flex;align-items:end;gap:15px;margin-top:-42px;position:relative}.community-profile-identity h2{font:750 23px Manrope,sans-serif;letter-spacing:-.03em;margin:0 0 2px}.community-profile-identity p{margin:0;color:var(--quiet,#718680);font-size:13px}.community-profile-identity>div{padding-bottom:5px}.community-course{display:grid;gap:3px;margin:22px 0 16px;padding:16px;border:1px solid var(--edge,#e7ece6);border-radius:13px;background:var(--accent-soft,#edf7ed)}.community-course span{font-size:10px;font-weight:800;letter-spacing:.1em;color:var(--accent-ink,#245a42)}.community-course strong{font:750 20px Manrope,sans-serif;line-height:1.3}.community-course small{font-size:13px;color:var(--quiet,#718680)}.community-bio{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.community-profile-stats{display:flex;gap:20px;font-size:12px;color:var(--quiet,#718680);border-top:1px solid var(--edge,#e7ece6);padding-top:15px}.community-profile-stats strong{color:var(--text,#173334)}.community-profile-buttons{display:flex;gap:8px;margin-top:17px}.community-edit-profile{background:var(--panel,#fff);border:1px solid var(--edge,#e7ece6);border-radius:15px;padding:17px;margin-bottom:20px}.community-edit-profile summary{font-weight:700;cursor:pointer}.community-edit-profile form{display:grid;gap:10px;margin-top:16px}.community-edit-profile label{font-size:13px;font-weight:650}.community-edit-profile textarea{display:block;width:100%;margin-top:8px;border:1px solid var(--edge,#e7ece6);border-radius:10px;padding:11px;resize:vertical;background:var(--panel,#fff);color:var(--text,#173334)}.community-edit-profile form .btn{justify-self:start}.community-photo-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0 8px}.community-photo-controls input{position:absolute;width:1px;height:1px;opacity:0}.community-edit-profile small{display:block;color:var(--quiet,#718680);line-height:1.5}.community-edit-profile p[role=status]{font-size:12px;color:var(--accent-ink,#245a42)}@media(max-width:600px){.community-profile-cover{min-height:150px;padding:18px}.community-crest{width:95px}.community-crest-shield{width:59px;height:70px}.community-crest-shield span{font-size:30px}.community-profile-details{padding:0 17px 18px}.community-profile-identity h2{font-size:19px}.community-avatar.large{width:72px;height:72px}.community-profile-identity{margin-top:-36px}.community-course strong{font-size:18px}}
.community-profile-cover{background:linear-gradient(130deg,#f7f5f0,#e9f2ed);color:#126c58;border-bottom:1px solid #d5e6dc;min-height:185px}.community-profile-cover>span{color:#4c806e;opacity:1}.community-crest{width:155px;gap:2px;color:#13846d}.community-crest svg{display:block;width:96px;height:112px;overflow:visible}.community-crest small{color:#283c36;font:500 10px/1.25 'DM Sans',sans-serif;letter-spacing:.045em;max-height:none;overflow:visible}.community-profile-identity{margin-top:-42px}.community-profile-identity h2{color:var(--text,#173334)}:root[data-theme="dark"] .community-profile-cover{background:linear-gradient(130deg,#e2eee8,#cbded3);color:#126c58}:root[data-theme="dark"] .community-crest small{color:#223b32}@media(max-width:600px){.community-profile-cover{min-height:165px}.community-crest{width:120px}.community-crest svg{width:75px;height:90px}.community-crest small{font-size:8px}}
.community-profile-cover,:root[data-theme="dark"] .community-profile-cover{background:var(--cover-color,#dcefe5);color:var(--cover-ink,#173334);border-bottom:0}.community-profile-cover>span,:root[data-theme="dark"] .community-profile-cover>span{color:inherit;opacity:.86}.community-crest{width:140px;flex:none;color:#117d66}.community-crest-circle{width:118px;height:118px;display:grid;place-items:center;border-radius:50%;background:#f7f5f0;border:3px solid #fff;box-shadow:0 3px 15px #12291d30}.community-crest svg{width:78px;height:91px}.community-crest small{display:block;max-width:140px;color:var(--cover-ink,#173334);font-size:9px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;max-height:none}.community-profile-identity{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:start;gap:15px;min-height:112px;margin-top:-42px}.community-profile-identity>div{min-width:0;padding:51px 0 0}.community-profile-identity h2{line-height:1.25;overflow-wrap:anywhere}.community-profile-identity p{overflow-wrap:anywhere}.community-edit-profile input[type=color]{display:block;width:75px;height:44px;margin-top:7px;padding:3px;border:1px solid var(--edge,#dce7de);border-radius:10px;background:var(--panel,#fff);cursor:pointer}.community-edit-profile input[type=color]:focus-visible{outline:3px solid var(--accent,#287b5b)}@media(max-width:600px){.community-crest{width:105px}.community-crest-circle{width:87px;height:87px}.community-crest svg{width:60px;height:73px}.community-crest small{max-width:105px;font-size:8px}.community-profile-identity{grid-template-columns:72px minmax(0,1fr);min-height:105px;margin-top:-36px}.community-profile-identity>div{padding-top:44px}.community-profile-cover{min-height:165px}}
.community-profile-cover{isolation:isolate;overflow:hidden}.community-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.community-profile-cover.has-photo{color:#fff}:root[data-theme="dark"] .community-profile-cover.has-photo{color:#fff}.community-profile-cover.has-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b2029a8,#0b202955 58%,#0b202933);z-index:-1}.community-profile-cover.has-photo>span{color:#fff;opacity:1}.community-profile-cover.has-photo .community-crest small{color:#fff;text-shadow:0 1px 4px #102a2bcc}.community-cover-controls{border-top:1px solid var(--edge,#e7ece6);margin-top:17px;padding-top:15px}.community-cover-controls>strong{display:block;font-size:13px;margin-bottom:9px}.community-cover-controls>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:6px}.community-cover-controls input{position:absolute;width:1px;height:1px;opacity:0}.community-cover-controls small{font-size:12px;color:var(--quiet,#718680)}
.community-cover-preview-panel[hidden]{display:none}.community-cover-preview-panel{margin:16px 0 4px;padding:13px;border:1px solid var(--edge,#e7ece6);border-radius:13px;background:var(--panel,#fff)}.community-cover-preview-panel>p:first-child{font-size:13px;font-weight:700;margin:0 0 10px}.community-cover-preview{width:100%;min-height:185px;border-radius:12px}.community-cover-preview .community-crest{position:relative}.community-cover-sliders{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:16px 0 8px}.community-cover-sliders label{font-size:12px}.community-cover-sliders input{display:block;width:100%;margin:9px 0;accent-color:var(--accent,#287b5b)}.community-cover-hint{color:var(--quiet,#718680);font-size:12px;line-height:1.5}.community-cover-preview-actions{display:flex;gap:8px;flex-wrap:wrap}.community-cover-preview .community-cover-photo{object-position:50% 50%}@media(max-width:600px){.community-cover-preview{min-height:165px}.community-cover-sliders{grid-template-columns:1fr;gap:5px}}
/* Community has its own viewport: only the center pane scrolls. */
body:has(.community-shell){overflow:hidden}
.app:has(.community-shell){height:100dvh;min-height:0}
.app:has(.community-shell)>.sidebar{height:100dvh;overflow-y:auto}
.main:has(.community-shell){height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.main:has(.community-shell)>.topbar{flex:none}
.content:has(.community-shell){display:flex;justify-content:center;flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:0 24px;overflow:hidden}
.community-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(780px,100%);height:100%;min-height:0;margin:0 auto;padding:0;background:var(--panel,#fff);border-left:1px solid var(--edge,#e7ece6);border-right:1px solid var(--edge,#e7ece6)}
.community-fixed-top{padding:12px 14px 0;background:var(--panel,#fff);border-bottom:1px solid var(--edge,#e7ece6);z-index:2}
.community-fixed-top .community-head{display:flex;align-items:center;gap:12px;padding:0 2px 8px}
.community-fixed-top .community-head h1{font-size:20px;margin:0}
.community-fixed-top .community-feed-tabs{margin:0;border-bottom:0}
.community-fixed-top .community-feed-tabs button{min-height:48px;padding:12px 8px;font-size:14px}
.community-scroll{min-height:0;overflow:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:14px 14px 22px;overflow-x:hidden}
.community-scroll:focus-visible{outline:2px solid var(--accent,#287b5b);outline-offset:-2px}
.community-scroll #community-status:empty{display:none}
.community-scroll #community-status:not(:empty){padding:10px 0;font-size:14px;color:var(--accent-ink,#245a42)}
.community-shell .community-bottom{position:static;inset:auto;width:100%;margin:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));border-radius:0;border:0;border-top:1px solid var(--edge,#e7ece6);box-shadow:0 -4px 16px #102a2b09;background:var(--panel,#fff);z-index:2}
.community-shell .community-bottom button{min-height:52px;font-size:14px;padding:7px}
body:has(.community-shell) .mobile-nav{display:none}
.community-compose h2{font:700 22px Manrope,sans-serif;margin:0 0 18px}
.community-compose textarea{font-size:16px}
.community-compose label{font-size:14px}
@media(max-width:700px){.content:has(.community-shell){padding:0}.community-shell{width:100%;border:0}.community-fixed-top{padding:10px 12px 0}.community-fixed-top .community-head h1{font-size:18px}.community-scroll{padding:10px 10px 16px;scrollbar-gutter:auto}.community-shell .community-bottom{bottom:auto;left:auto;right:auto}.community-fixed-top .community-feed-tabs button{font-size:14px}.community-shell .community-bottom button{font-size:12px}}
.verified-badge{display:inline-flex;width:19px;height:19px;vertical-align:middle;color:#2387e9;flex-shrink:0;margin-left:3px}.verified-badge svg{display:block;width:100%;height:100%;flex:none}.community-feed-tabs{overflow-x:auto}.community-feed-tabs button{flex-shrink:0}.leagues-page{max-width:850px;margin:0 auto}.league-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px;margin-top:16px}.league-profile{padding:0!important;overflow:hidden}.league-banner{padding:28px 24px;background:var(--cover-color);color:var(--cover-ink);overflow-wrap:anywhere}.league-banner h2{font-size:24px;font-weight:600}.league-body{padding:24px}.leagues-page .form{margin-top:14px}.leagues-page h3{overflow-wrap:anywhere}.leagues-page summary{cursor:pointer}@media(max-width:600px){.league-banner,.league-body{padding:18px}.league-banner h2{font-size:21px}.community-feed-tabs button{padding-left:12px;padding-right:12px}}
.administrator-badge{display:inline-flex;align-items:center;border:1px solid var(--edge,#dce5e5);background:var(--accent-soft,#e3f3ee);color:var(--accent-ink,#075c4a);border-radius:7px;padding:3px 7px;font-size:10px;font-weight:600;vertical-align:middle;line-height:1.3;margin-left:4px}.profile-role-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.feedback-list{display:grid;gap:15px}.feedback-item{padding:18px;border:1px solid var(--edge,#dce5e5);border-radius:13px}.feedback-item p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.feedback-item .section-head{flex-wrap:wrap;font-size:12px}.feedback-status{background:var(--subtle,#f0f5f4);padding:6px 9px;border-radius:9px}.feedback-status.seen{background:var(--accent-soft,#e3f3ee);color:var(--accent-ink,#075c4a)}.support-layout{display:grid;grid-template-columns:minmax(230px,320px) minmax(0,1fr);gap:18px;align-items:start}.support-ticket{display:block;width:100%;text-align:left;border:1px solid var(--edge);border-radius:12px;padding:14px;margin:10px 0;background:var(--panel);color:var(--text)}.support-ticket.active{border-color:var(--accent);background:var(--accent-soft)}.support-ticket strong,.support-ticket small{display:block;overflow-wrap:anywhere}.support-ticket small{margin-top:5px;font-size:12px;color:var(--quiet);max-height:34px;overflow:hidden}.support-room{min-width:0}.support-room h2{overflow-wrap:anywhere}.support-messages{display:flex;flex-direction:column;gap:12px;max-height:480px;overflow:auto;padding:12px 4px;margin:15px 0}.support-message{max-width:90%;align-self:flex-start;background:var(--subtle);border-radius:14px 14px 14px 4px;padding:13px 15px;color:var(--text)}.support-message.mine{align-self:flex-end;background:var(--accent-soft);border-radius:14px 14px 4px 14px}.support-message>div,.support-message>small{font-size:11px;color:var(--quiet)}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px;margin:7px 0}.support-message .administrator-badge{font-size:9px}.support-message .verified-badge{width:15px;height:15px}@media(max-width:700px){.support-layout{grid-template-columns:1fr}.support-layout.has-thread .support-inbox{display:none}.support-layout:not(.has-thread) .support-room{display:none}.support-message{max-width:96%}.feedback-item{padding:13px}}
.xp-toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:1000;padding:14px 20px;border-radius:15px;background:var(--accent);color:white;max-width:calc(100vw - 28px);box-shadow:0 5px 25px #0003;text-align:center}.xp-mine{display:flex;flex-wrap:wrap;gap:15px;padding:18px;margin:16px 0;border-radius:15px;background:var(--accent-soft);color:var(--text)}.xp-list{list-style:none;padding:0;display:grid;gap:10px}.xp-list li{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--edge);border-radius:14px}.xp-list li.xp-self{background:var(--accent-soft);border-color:var(--accent)}.xp-list button{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;background:transparent;border:0;color:var(--text);cursor:pointer}.xp-list button>span{min-width:0;overflow-wrap:anywhere}.xp-list small{display:block;color:var(--quiet)}.xp-position{width:32px;flex:none}.xp-list strong{white-space:nowrap;font-size:14px}.xp-ranking details{line-height:1.6}.xp-ranking h2{font-size:20px}.community-feed-tabs{overflow-x:auto}.community-feed-tabs>button{flex-shrink:0}@media(max-width:600px){.xp-list li{padding:10px;gap:6px}.xp-list button{gap:8px}.xp-position{width:25px}.xp-list .community-avatar{width:34px;height:34px}}

.shared-folder-card{padding:16px;border:1px solid var(--border,#ccc);border-radius:16px;margin:12px 0}.shared-folder-reader{min-width:0}.shared-folder-reader details{margin:12px 0;padding:12px;border:1px solid var(--border,#ccc);border-radius:12px}.shared-folder-reader summary{cursor:pointer;overflow-wrap:anywhere}.shared-folder-reader p{overflow-wrap:anywhere}.shared-map ul{border-left:2px solid var(--accent,#247a75);padding-left:20px;list-style:none}.shared-map li{position:relative;padding:6px 0}.shared-map li:before{content:"";position:absolute;left:-20px;top:22px;width:16px;border-top:2px solid var(--accent,#247a75)}.shared-folder-reader [hidden]{display:none}

.community-media-preview,.community-post-media{display:grid;gap:12px;min-width:0;margin:16px 0}.community-media-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.community-media-preview figure{margin:0;min-width:0}.community-media-preview figcaption{overflow-wrap:anywhere;margin:8px 0;font-size:14px}.community-media-preview img,.community-media-preview video{width:100%;height:180px;object-fit:contain;border-radius:12px;background:#101820}.community-post-media img,.community-post-media video{display:block;width:100%;max-height:600px;object-fit:contain;border-radius:14px;background:#101820}.community-post-media a{min-width:0}.community-compose input[type=file]{max-width:100%}@media(max-width:500px){.community-media-preview{grid-template-columns:minmax(0,1fr)}.community-post-media img,.community-post-media video{max-height:70dvh}}
/* Responsive community and private conversations */
.community-shell{width:min(1120px,100%)}
.community-scroll>.community-post,.community-scroll>.community-compose{max-width:760px;margin-left:auto;margin-right:auto}
.community-chats{grid-template-columns:minmax(220px,300px) minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
.community-chats-list{overflow:auto;min-height:0}
.community-chat-room{display:flex;flex-direction:column;min-height:0;min-width:0;height:100%;overflow:hidden}
.community-chat-title{flex:none;min-width:0;gap:10px;padding:14px}
.community-chat-title strong{min-width:0;overflow-wrap:anywhere;flex:1}
.community-chat-messages{flex:1;min-height:100px;height:auto;max-height:none;overflow:auto;padding:16px;overscroll-behavior:contain}
.community-message{max-width:88%;overflow-wrap:anywhere;min-width:0}.community-message span{white-space:pre-wrap}
.private-chat-compose{flex:none!important;display:block!important;padding:12px!important;border-top:1px solid var(--edge);background:var(--panel);min-width:0}
.chat-attachments{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.chat-attachments label{min-width:0;font-size:14px}.chat-attachments input[type=file]{display:none}.chat-attachments select{max-width:100%;width:220px;min-height:42px;font-size:14px}
.private-chat-compose>small{display:block;color:var(--quiet);font-size:12px;line-height:1.4;margin:7px 0}.chat-send-row{display:flex;gap:8px;align-items:end}.chat-send-row textarea{min-width:0;flex:1;font-size:16px;max-height:110px;resize:vertical}.chat-send-row button{min-height:46px}.chat-draft-files{display:flex;gap:6px;flex-wrap:wrap}.chat-draft-files span{font-size:13px;overflow-wrap:anywhere}.chat-draft-files button{min-width:32px;min-height:32px}.private-chat-compose p:empty{display:none}
.chat-file{display:block;border:1px solid var(--edge);border-radius:10px;padding:10px;margin:8px 0;color:var(--text);background:var(--panel)}.chat-file small,.chat-folder small{display:block;font-size:12px;margin:5px 0}.chat-folder{margin:8px 0;display:grid;gap:5px}.chat-folder .btn{min-height:44px}
.chat-notice-button{border:1px solid var(--edge);border-radius:12px;background:var(--accent-soft);color:var(--text);min-height:42px;padding:8px 12px;cursor:pointer}.chat-unread{background:var(--accent);color:var(--accent-contrast,#fff);border-radius:20px;padding:3px 7px;font-size:12px!important}.chat-unread[hidden],.chat-notice-button[hidden]{display:none!important}
.private-chat-toast{position:fixed;top:80px;right:20px;z-index:1500;border:1px solid var(--edge);border-radius:14px;padding:16px;background:var(--panel);color:var(--text);box-shadow:0 8px 30px #0003;max-width:calc(100vw - 32px);cursor:pointer}
.community-scroll:has(.community-chats){padding:0;overflow:hidden}.community-scroll:has(.shared-folder-reader){overflow:auto;padding:16px}
@media(max-width:700px){
 .content:has(.community-shell){padding:0}.community-shell{width:100%}.community-fixed-top{padding:8px 12px 0}.community-feed-tabs{margin:8px 0 0!important}.community-feed-tabs button{min-height:44px;padding:10px 12px}.community-scroll{padding:12px}.community-post{padding:16px}.community-post-head{gap:8px;flex-wrap:wrap}.community-person{min-width:0;flex:1}.community-person>span{min-width:0;overflow-wrap:anywhere}.community-profile-identity h2{font-size:20px;line-height:1.4}.community-profile-details{padding:16px}.community-chats{display:block;height:100%;min-height:0}.community-chats-list{height:100%;padding:14px}.community-chat-room{height:100%;min-height:0}.community-chat-messages{padding:12px}.community-message{max-width:94%}.chat-attachments{gap:8px}.chat-attachments label{flex:1}.chat-attachments select{width:100%;font-size:16px}.chat-send-row textarea{font-size:16px}.private-chat-compose{padding:10px!important}.private-chat-compose>small{font-size:11px}.community-shell .community-bottom button{min-height:48px}.private-chat-toast{top:70px;right:16px}.community-chat-title .administrator-badge{display:none}
}

/* Menu de anexos compacto, acima do compositor. */
.private-chat-compose{position:relative}.chat-attachment-menu[hidden]{display:none!important}.chat-attachment-menu{position:absolute;z-index:20;bottom:calc(100% - 4px);left:12px;width:min(330px,calc(100% - 24px));padding:16px;display:grid;gap:12px;background:var(--panel);color:var(--text);border:1px solid var(--edge);border-radius:18px;box-shadow:0 10px 35px #0003}.chat-attachment-menu label{display:grid;gap:8px;font-size:14px}.chat-attachment-menu input[type=file]{display:none}.chat-attachment-menu select{width:100%;min-width:0;font-size:16px;min-height:44px}.chat-attachment-menu small{font-size:13px;color:var(--quiet);line-height:1.5}.chat-attach-toggle{flex:none;width:44px;min-height:46px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:23px;cursor:pointer}.chat-attach-toggle:hover,.chat-attach-toggle[aria-expanded=true]{background:var(--edge)}.chat-send-row>button[type=submit]{flex:none}.chat-draft-files:not(:empty){margin-bottom:8px}

.community-presence{display:block;font-size:13px!important;line-height:1.5;color:var(--quiet);font-weight:400;overflow-wrap:anywhere}.community-presence:empty{display:none}.community-presence.online{color:#16834b}.community-presence.online:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:6px}.community-chat-identity{min-width:0;flex:1}.community-chat-identity>strong{display:block;overflow-wrap:anywhere}.presence-setting{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5;margin:12px 0}.presence-setting input{width:20px!important;height:20px;flex:none;accent-color:var(--accent)}

.academic-course-crest .community-crest-circle{overflow:hidden}.academic-course-crest svg{width:68px;height:68px}.academic-course-logo{width:78%;height:86%;object-fit:contain;display:block}.academic-course-crest small{font-size:12px!important;line-height:1.4;text-transform:none;letter-spacing:0}.academic-institution{display:flex;align-items:center;gap:12px;margin-top:8px;min-width:0}.academic-institution-mark{display:grid;place-items:center;flex:none;width:60px;height:60px;background:#f7f5f0;border:1px solid var(--edge);border-radius:12px;color:#173334;padding:5px;overflow:hidden}.academic-institution-mark.official{width:100px;height:66px;background:#fff}.academic-institution-mark img{width:100%;height:100%;object-fit:contain;display:block}.academic-institution-mark span{font-size:17px;font-weight:650;letter-spacing:.04em}.academic-institution>small{font-size:14px!important;line-height:1.5;min-width:0;overflow-wrap:anywhere;color:var(--quiet)}@media(max-width:600px){.academic-course-crest svg{width:52px;height:52px}.academic-course-crest small{font-size:11px!important}.academic-institution-mark.official{width:90px;height:60px}.academic-institution{gap:10px}}

/* Identidade acadêmica centralizada e emblema veterinário mais nítido. */
.academic-institution{width:100%;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;margin-top:14px}.academic-institution>small{display:block;width:100%;text-align:center}.academic-institution-mark{margin-inline:auto}.academic-institution-mark.official{width:166px;height:108px;padding:8px;border-radius:16px;box-shadow:0 3px 12px #0000000c}.academic-institution-mark img{object-fit:contain;object-position:center}.academic-veterinary-crest .community-crest-circle{width:122px;height:122px;background:#fffdf6;border:3px solid var(--accent,#247a75);box-shadow:0 4px 16px #073d3028,inset 0 0 0 4px #ead8ab70}.academic-veterinary-crest svg{width:88px;height:100px;display:block}.academic-veterinary-crest small{font-size:12px!important;line-height:1.4;font-weight:600;letter-spacing:0;text-transform:none}@media(max-width:600px){.academic-institution-mark.official{width:146px;height:96px}.academic-veterinary-crest .community-crest-circle{width:91px;height:91px}.academic-veterinary-crest svg{width:65px;height:76px}.academic-veterinary-crest small{font-size:11px!important}}

/* Approved original course symbols: white surface preserves the original colors in both themes. */
.academic-course-crest .community-crest-circle{background:#fff;border:3px solid var(--accent,#247a75);box-shadow:0 4px 16px #073d3028;overflow:hidden}
.academic-course-crest .academic-course-logo{width:72%;height:76%;object-fit:contain;object-position:center;filter:none}
.academic-psychology-symbol{font-family:Arial,"DejaVu Sans",sans-serif;font-size:76px;line-height:1;color:#181d22;display:block}
@media(max-width:600px){.academic-psychology-symbol{font-size:56px}}

/* Center artwork within its circular frame; preserve the cover layout. */
.academic-course-crest .community-crest-circle{margin-inline:auto;display:grid;place-items:center}
.academic-course-crest .community-crest-circle>img,.academic-course-crest .community-crest-circle>svg,.academic-course-crest .community-crest-circle>span{margin:auto;display:block}
.academic-course-crest small{width:100%;max-width:none;text-align:center}
.community-course .academic-institution-name{display:block;margin-top:7px;font-size:14px;color:var(--quiet);line-height:1.5;overflow-wrap:anywhere}

/* Definite inner bounds prevent intrinsic image height from expanding grid rows. */
.academic-course-crest .community-crest-circle{position:relative;display:block;box-sizing:border-box;flex-shrink:0}
.academic-course-crest .community-crest-circle>img,.academic-course-crest .community-crest-circle>svg{position:absolute;left:50%;top:50%;width:68%;height:68%;max-width:68%;max-height:68%;min-width:0;min-height:0;margin:0;transform:translate(-50%,-50%);object-fit:contain;object-position:center;display:block}
.academic-course-crest .community-crest-circle>.academic-psychology-symbol{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);font-size:72px;line-height:1}
@media(max-width:600px){.academic-course-crest .community-crest-circle>.academic-psychology-symbol{font-size:52px}}
