.community-view{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;width:100%;min-width:0;color:var(--ui-text);overflow-anchor:none}
.community-view>*{min-width:0;max-width:100%}
.community-view .campus-card{background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}
.community-toolbar{display:flex;align-items:center;gap:12px;min-width:0}
.community-toolbar>.campus-button{flex:none;min-height:44px;font-size:12px;padding:12px 17px;white-space:nowrap}
.community-toolbar>.campus-button .icon{width:16px;height:16px}
.community-search-form{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;padding:0 8px 0 14px;border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:12px}
.community-search-form>.icon{flex:none;width:17px;height:17px;color:var(--ui-text-muted)}
.community-search-form input{flex:1 1 0;width:0;min-width:0;padding:12px 0;border:0;background:transparent;color:var(--ui-text);font-size:12px;outline:none}
.community-search-form input::placeholder{color:var(--ui-text-muted)}
.community-search-form:focus-within{outline:2px solid var(--ui-focus);outline-offset:2px}
.community-search-form input:focus-visible{outline:none}
/* Share Coaching tab geometry while retaining filter-button semantics. */
.ui-tabs.community-filters{margin-block:-3px 0}
.ui-tabs.community-filters>.community-filter{border:0;background:transparent}
.ui-tabs.community-filters>.community-filter[aria-pressed="true"]{background:var(--ui-tabs-selected-background,var(--ui-accent-soft));color:var(--ui-tabs-selected-foreground,var(--ui-accent))}
.community-filter-count{display:inline-block;min-width:1.5ch;color:inherit;font-size:11px;font-weight:500;line-height:inherit;font-variant-numeric:tabular-nums;text-align:center}
.community-filter-count.is-pending{opacity:.4}
.community-question-list{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;min-width:0;max-width:100%}
.community-view .community-question-placeholder{min-height:230px;padding:25px 27px}
.community-placeholder-author{display:flex;align-items:center;gap:11px;margin-bottom:22px}
.community-placeholder-author>i{width:35px;height:35px;flex:none;border-radius:50%;background:var(--ui-surface-muted)}
.community-placeholder-author>span{width:112px;height:11px;border-radius:5px;background:var(--ui-surface-muted)}
.community-placeholder-title{width:58%;height:18px;margin-bottom:17px;border-radius:6px;background:var(--ui-surface-muted)}
.community-placeholder-copy{display:grid;gap:9px}
.community-placeholder-copy>span{height:10px;border-radius:5px;background:var(--ui-surface-muted)}
.community-placeholder-copy>span:last-child{width:73%}
.community-placeholder-footer{width:83px;height:11px;margin-top:23px;border-radius:5px;background:var(--ui-surface-muted)}
@media(max-width:600px){.community-view .community-question-placeholder{padding:21px 19px}}
.community-view .community-question{min-width:0;max-width:100%;padding:25px 27px}
.community-question.is-community-resizing{box-sizing:border-box;overflow:hidden;overflow:clip}
.community-question-copy{max-height:5.55em;overflow:hidden}
.community-question.is-expanded .community-question-copy{max-height:none;overflow:visible}
.community-question .community-question-copy.is-community-copy-resizing{overflow:hidden}
.community-motion-ghost{pointer-events:none;user-select:none}
.community-author-row{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:18px}
.community-author-row>.campus-avatar{width:35px;height:35px;flex:none;background:var(--ui-accent-soft);color:var(--ui-accent);font-size:11px}
.community-author-copy{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-width:0;flex:1}
.community-author-copy strong{font-size:12px;font-weight:550;line-height:1.4;overflow-wrap:anywhere}
.community-author-copy time{font-size:10px;color:var(--ui-text-muted);line-height:1.5;overflow-wrap:anywhere}
.community-demo-badge{display:inline-flex;vertical-align:middle;margin-left:7px;padding:2px 5px;border-radius:4px;background:var(--ui-surface-muted);color:var(--ui-text-muted);font-size:8px;font-weight:500;letter-spacing:.02em;line-height:1.4}
.community-author-row[data-demo-tone="blue"]>.campus-avatar{background:light-dark(#e8f0ff,#202f49);color:light-dark(#4772a7,#9dbef0)}
.community-author-row[data-demo-tone="peach"]>.campus-avatar{background:light-dark(#fff0e7,#40302d);color:light-dark(#9f6449,#e7b397)}
.community-author-row[data-demo-tone="green"]>.campus-avatar{background:light-dark(#e8f5ef,#213a34);color:light-dark(#477766,#93cbb4)}
.community-author-row[data-demo-tone="violet"]>.campus-avatar{background:light-dark(#efeaff,#332b48);color:light-dark(#7860a6,#c5b0e6)}
.community-demo-note{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border-radius:12px;background:var(--ui-surface-muted)}
.community-demo-note p{margin:0;font-size:12px;line-height:1.7;color:var(--ui-text-muted)}
.community-demo-note .campus-button{flex:none;font-size:12px}
@media(max-width:600px){.community-demo-note{align-items:flex-start;flex-direction:column;gap:12px}}
.community-category{display:inline-block;flex:none;max-width:45%;padding:5px 9px;border-radius:7px;background:var(--ui-surface-muted);color:var(--ui-text-muted);font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.community-question h2{font-size:19px;line-height:1.45;letter-spacing:-.025em;font-weight:600;margin:0 0 10px}
.community-question-title{max-width:100%;font:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-align:left;white-space:normal;padding:0;border:0;border-radius:3px;background:transparent;overflow-wrap:anywhere;transition:color .2s ease}
.community-question-title:hover{color:var(--ui-accent)}
.community-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ui-text-secondary);font-size:13px;line-height:1.75;margin:0}
.community-question-footer{display:flex;align-items:center;justify-content:space-between;margin-top:20px;color:var(--ui-text-muted)}
.community-reply-link{display:inline-flex;align-items:center;gap:9px;width:100%;min-width:0;min-height:36px;border:0;padding:3px 0;border-radius:4px;background:transparent;color:var(--ui-text-muted);font:inherit;font-size:11px;text-align:left;transition:color .2s ease}
.community-reply-link>span:not(.community-reply-avatars){min-width:0;overflow-wrap:anywhere}
.community-reply-avatars{display:inline-flex;align-items:center;flex:none;isolation:isolate}
.community-reply-avatar{display:flex;flex:none}
.community-reply-avatar+.community-reply-avatar{margin-left:-8px}
.community-reply-avatar>.campus-avatar{box-sizing:border-box;width:28px;height:28px;border:2px solid var(--ui-surface);font-size:9px}
@media(pointer:coarse){.community-reply-link{min-height:44px}}
.community-reply-link:hover{color:var(--ui-accent)}
.community-reply-link>.icon{width:15px;height:15px}
.community-question-chevron{margin-left:auto;transition:transform .2s ease}
.community-reply-link[aria-expanded="true"] .community-question-chevron{transform:rotate(180deg)}
.community-conversation{margin-top:22px;padding-top:8px;min-width:0}
.community-conversation-content{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-width:0;max-width:100%}
.community-conversation-content>*{min-width:0;max-width:100%}
.community-conversation[hidden]{display:none}
.community-body{min-width:0;max-width:100%;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ui-text-secondary)}
.community-body a{color:var(--ui-accent);text-decoration:underline;text-underline-offset:3px}
.community-replies{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0}
.community-replies>h3{font-size:14px;font-weight:550;letter-spacing:-.015em;margin:0 0 2px}
.community-view .community-reply{min-width:0;max-width:100%;padding:16px 0}
.community-reply:last-child{padding-bottom:0}
.community-reply .community-author-row{margin-bottom:13px}
.community-reply .community-body{padding-left:45px}
.community-replies-empty{font-size:12px;color:var(--ui-text-muted);padding:5px 0 8px}
.community-view .community-reply-form{min-width:0;max-width:100%;padding:0}
.community-reply-form>label{display:block;font-size:14px;font-weight:550;margin-bottom:13px}
.community-reply-form textarea,.community-composer textarea,.community-composer select,.community-composer input{box-sizing:border-box;min-width:0;max-width:100%;border:1px solid var(--ui-border);border-radius:11px;background:var(--ui-input);color:var(--ui-text);width:100%;font-size:13px;line-height:1.6;padding:12px}
.community-reply-form textarea{display:block;min-height:105px;resize:vertical}
.community-composer textarea{min-height:170px;resize:vertical}
.community-composer>.ui-select-field{margin-bottom:18px}
.community-composer .campus-field>label{color:var(--ui-text-secondary)}
.community-composer select{appearance:auto;min-height:45px}
.community-composer input::placeholder,.community-composer textarea::placeholder,.community-reply-form textarea::placeholder{color:var(--ui-text-muted)}
.community-form-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:14px}
.community-form-footer>span{font-size:10px;color:var(--ui-text-muted);line-height:1.5}
.community-form-footer>.campus-button{min-height:42px;font-size:12px;padding:11px 16px;white-space:nowrap}
.community-form-footer>.campus-button .icon{width:15px;height:15px}
.community-form-error{color:var(--ui-danger);font-size:12px;line-height:1.65;margin:12px 0 0;overflow-wrap:anywhere}
.community-feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:12px;color:var(--ui-text-muted);font-size:12px;line-height:1.6;padding:12px 14px;background:var(--ui-surface-muted)}
.community-feedback p{margin:0;overflow-wrap:anywhere}
.community-feedback.is-error{color:var(--ui-danger);background:var(--ui-danger-soft)}
.community-feedback .campus-button{flex:none;padding:5px;font-size:11px;color:inherit}
.community-feedback .icon{width:14px;height:14px}
.community-view .community-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:55px 25px;gap:13px}
.community-empty>.icon{width:31px;height:31px;color:var(--ui-accent);margin-bottom:5px}
.community-empty h2{font-size:23px;font-weight:550;line-height:1.35;letter-spacing:-.035em;max-width:380px}
.community-empty p{max-width:410px;color:var(--ui-text-muted);font-size:13px;line-height:1.75;margin:0}
.community-empty>.campus-button{margin-top:7px;font-size:12px}
.community-pagination{display:flex;justify-content:center;padding:5px 0}
.community-pagination>.campus-button{font-size:12px;min-height:42px}
.community-view .campus-button.secondary,.community-view .campus-button.secondary:hover{border-color:var(--ui-border)}
.community-view .campus-button.secondary:hover{background:var(--ui-accent-soft)}
html[data-theme="dark"] .community-view .campus-card{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme="dark"] .community-view .campus-button.secondary:hover{border-color:var(--ui-border);background:var(--ui-accent-soft)}
@media(max-width:600px){.community-view{gap:17px}.community-toolbar{flex-wrap:nowrap;gap:8px}.community-search-form{flex:1 1 0;padding-inline:10px}.community-toolbar>.campus-button{margin:0;min-height:44px;gap:6px;padding-inline:10px;font-size:12px}.community-search-form input,.community-reply-form textarea,.community-composer textarea,.community-composer select,.community-composer input{font-size:16px}.community-search-form input{padding-block:11px}.community-view .community-question{padding:21px 19px}.community-author-row{gap:9px;flex-wrap:wrap;margin-bottom:15px}.community-author-copy strong{font-size:11px}.community-author-copy time{font-size:9px}.community-category{font-size:9px;padding:4px 7px}.community-question h2{font-size:18px}.community-excerpt,.community-body{font-size:12px}.community-question-footer{margin-top:17px}.community-conversation{margin-top:19px;padding-top:6px}.community-conversation-content{gap:20px}.community-reply .community-body{padding-left:44px}.community-form-footer{gap:10px;align-items:flex-start}.community-form-footer>span{max-width:160px}.community-form-footer>.campus-button{font-size:11px;padding-inline:13px}.community-empty h2{font-size:21px}.community-view .community-empty{padding:40px 21px}.community-empty p{font-size:12px}.community-feedback{align-items:flex-start;flex-wrap:wrap}.community-feedback>.campus-button{margin-left:auto}}
@media(max-width:380px){.community-author-row>.community-category{margin-left:44px;max-width:calc(100% - 44px)}.community-form-footer{flex-wrap:wrap}.community-form-footer>.campus-button{margin-left:auto}.community-author-copy{flex-basis:calc(100% - 45px)}}
@media(prefers-reduced-motion:reduce){.community-filter,.community-question-title,.community-reply-link,.community-question-chevron{transition:none}}
@media(forced-colors:active){.ui-tabs.community-filters>.community-filter[aria-pressed="true"]{forced-color-adjust:none;background:Highlight;color:HighlightText}}
