/* finesse · register=h5+product · morph=A-app-shell · inherited Banyan identity
 * A=alabaster+smoke+peach-rose · B=compact editorial · C=mixed rounded feed
 * D=local reactions + consult sheet · E=curated community journal */
:root{--community-canvas:#F4F4F6;--community-paper:#FFFFFF;--community-ink:#0F172A;--community-copy:#1E293B;--community-muted:#64748B;--community-smoke:#1C1C20;--community-gradient:linear-gradient(135deg,#FFA673,#E684B8);--community-label:#475569;--community-faint:#94A3B8;--community-student-bg:#EEF2FF;--community-student-ink:#4338CA;--community-parent-bg:#FFF1E6;--community-parent-ink:#D95D24;--community-soft:#F1F5F9;--community-reply-bg:#F8FAFC;--community-liked:#F472B6;--community-dark-muted:#CBD5E1;--community-selected:#18181C;}
.community-shell .community-scroll{padding:8px 16px calc(110px + env(safe-area-inset-bottom));color:var(--community-ink)}
.community-lead{padding:0 2px 16px}.community-lead>span{font-size:12px;color:var(--community-muted);line-height:1.6}.community-lead h1{font-size:22px;line-height:1.45;font-weight:700;letter-spacing:-.35px;margin-top:7px}
.community-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;margin:0 -16px;padding:0 16px;overscroll-behavior-x:contain}.community-filters::-webkit-scrollbar{display:none}.community-filter{min-height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:6px 14px;font-size:13px;line-height:1.4;position:relative;isolation:isolate;border-radius:9999px;color:var(--community-label)}.community-filter:before{content:"";position:absolute;inset:5px 0;background:var(--community-paper);border:1px solid rgba(0,0,0,.06);border-radius:inherit;z-index:-1}.community-filter[aria-pressed=true]{color:var(--community-paper)}.community-filter[aria-pressed=true]:before{background:var(--community-selected);border-color:var(--community-selected)}
.community-feed-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:49px;margin-bottom:2px;font-size:11px;color:var(--community-muted);padding-left:2px}.community-ask{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 2px 0 12px;color:var(--community-label);font-size:12px}.community-ask>span{font-size:18px}
.community-feed{display:flex;flex-direction:column;gap:14px}.community-card{background:var(--community-paper);border-radius:24px;padding:16px;box-shadow:0 4px 20px rgba(0,0,0,.03);min-width:0}.community-author{display:flex;align-items:center;gap:10px;margin-bottom:14px;min-width:0}.community-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:14px;font-weight:600;background:var(--community-student-bg);color:var(--community-student-ink);overflow:hidden}.community-avatar img{width:100%;height:100%;object-fit:cover}.community-avatar.parent{background:var(--community-parent-bg);color:var(--community-parent-ink)}.community-avatar.enterprise{background:var(--community-copy);color:var(--community-paper)}.community-author-info{min-width:0;flex:1}.community-author-name{font-size:14px;font-weight:700;line-height:1.5;color:var(--community-ink)}.community-badge{display:inline-block;font-size:10px;line-height:1.5;padding:2px 6px;border-radius:5px;background:var(--community-student-bg);color:var(--community-student-ink);margin-top:3px}.community-badge.parent{background:var(--community-parent-bg);color:var(--community-parent-ink)}.community-badge.enterprise{background:var(--community-copy);color:var(--community-paper)}.community-time{font-size:12px;color:var(--community-faint);flex-shrink:0;align-self:flex-start;margin-top:3px}.community-content{font-size:14.5px;line-height:1.6;color:var(--community-ink);overflow-wrap:anywhere}.community-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.community-tag{font-size:12px;line-height:1.6;color:var(--community-muted);padding:3px 8px;border-radius:6px;background:var(--community-soft)}.community-images{display:grid;gap:6px;margin-top:13px}.community-images img{display:block;width:100%;height:152px;object-fit:cover;border-radius:16px}.community-images.single img{height:200px;max-height:200px}.community-images.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.community-images.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.community-images.columns-3 img{height:105px}
.community-interactions{display:flex;align-items:center;gap:7px;margin-top:11px}.community-reaction{display:flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;font-size:12px;color:var(--community-muted);border-radius:9999px;flex-shrink:0}.community-reaction svg{width:19px;height:19px;flex-shrink:0}.community-reaction.is-liked{color:var(--community-liked)}.community-reaction.is-liked .heart-icon{fill:currentColor}.community-comment-prompt{background:var(--community-canvas);color:var(--community-faint);height:32px;line-height:16px;border-radius:9999px;text-align:left;font-size:11px;padding:8px 12px;width:100%}.community-comment-target{flex:1;min-width:0;display:flex;align-items:center;min-height:44px;margin-left:3px}
.community-cta{min-height:48px;width:100%;border-radius:9999px;background:var(--community-gradient);display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;color:var(--community-smoke);padding:10px 14px;margin-top:23px;text-align:center;line-height:1.6}.community-cta>span{font-size:20px;flex-shrink:0}.community-demo{text-align:center;font-size:10px;line-height:1.9;color:var(--community-muted);margin:14px 0 3px}.community-shell .floating-dock .dock-active{background:var(--community-gradient)}
.community-sheet-layer{position:absolute;inset:0;z-index:50}.community-sheet-layer[hidden]{display:none}.community-sheet-mask{position:absolute;inset:0;background:rgba(15,23,42,.28);opacity:0;transition:opacity .24s ease}.community-sheet{position:absolute;left:0;right:0;bottom:0;border-radius:24px 24px 0 0;background:rgba(255,255,255,.92);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:32px 24px calc(16px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .28s cubic-bezier(.2,.8,.24,1);box-shadow:0 -12px 45px rgba(24,30,27,.12);max-height:90%;overflow-y:auto;outline:none}.is-open .community-sheet-mask{opacity:1}.is-open .community-sheet{transform:translateY(0)}.community-sheet-handle{position:absolute;top:10px;left:calc(50% - 18px);height:4px;width:36px;border-radius:9999px;background:rgba(100,116,139,.22)}.community-sheet-close{position:absolute;right:10px;top:15px;width:44px;height:44px;border-radius:50%;font-size:26px;font-weight:300;color:var(--community-muted)}.community-sheet-kicker{font-size:11px;line-height:1.8;color:var(--community-muted)}.community-sheet h2{font-size:24px;line-height:1.45;font-weight:700;color:var(--community-ink);letter-spacing:-.4px;margin-top:10px}.community-sheet p{font-size:13px;line-height:1.85;color:var(--community-label);margin-top:18px}.community-sheet-later{display:block;min-height:44px;width:100%;margin-top:6px;font-size:13px;color:var(--community-label);text-align:center}.community-shell button:focus-visible,.community-shell a:focus-visible{outline:2px solid var(--community-label);outline-offset:3px}.community-shell button:active{transform:translateY(1px)}.community-shell .sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.community-empty{padding:24px 16px;font-size:13px;line-height:1.8;color:var(--community-muted);text-align:center;background:var(--community-paper);border-radius:24px}
@media(hover:hover){.community-filter:hover:before{box-shadow:0 2px 9px rgba(24,30,27,.08)}.community-reaction:hover,.community-ask:hover{background:var(--community-canvas)}.community-cta:hover{filter:brightness(1.03)}}
@media(prefers-reduced-motion:reduce){.community-sheet,.community-sheet-mask{transition:none}}
@media(prefers-reduced-transparency:reduce){.community-sheet{background:var(--community-paper);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(max-width:350px){.community-interactions{gap:3px}.community-comment-prompt{padding-left:9px;padding-right:9px;font-size:10px}.community-sheet{padding-left:20px;padding-right:20px}.community-author{gap:8px}.community-cta{font-size:12px}.community-author-name{font-size:13px}}

/* Unified thread floors: shared across questions, experiences and enterprise briefs. */
.community-badge.visitor,.community-avatar.visitor{background:var(--community-soft);color:var(--community-label)}
.community-question-mark{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:6px;vertical-align:1px;border-radius:50%;background:var(--community-gradient);color:var(--community-paper);font-size:11px;font-weight:700;line-height:1}
.community-thread-replies{background:var(--community-reply-bg);border-radius:16px;padding:12px;margin-top:12px}
.community-reply-list{list-style:none;margin:0;padding:0}.community-floor+.community-floor{margin-top:11px;padding-top:10px;border-top:1px solid rgba(100,116,139,.08)}
.community-floor-copy{font-size:13px;line-height:1.55;color:#334155;overflow-wrap:anywhere}.community-reply-author{font-weight:600;color:var(--community-ink);margin-right:5px}.community-floor .community-badge{font-size:9px;padding:1px 5px;margin:0 3px 0 0;vertical-align:1px;white-space:nowrap}.community-badge.coach{background:var(--community-smoke);color:var(--community-paper)}.community-reply-to{color:var(--community-muted)}.community-pinned{font-size:9px;color:var(--community-muted);margin-right:3px;white-space:nowrap}.community-reply-time{display:block;font-size:10px;line-height:1.6;color:var(--community-faint);margin-top:4px}.community-replies-toggle{display:flex;align-items:center;min-height:44px;font-size:12px;line-height:1.6;color:var(--community-muted);padding:7px 0 0;border-radius:6px;width:100%;text-align:left}.community-replies-toggle:active{color:var(--community-ink)}
@media(hover:hover){.community-replies-toggle:hover{color:var(--community-ink)}}
/* Real publishing and replying: same material language, input-focused sheets. */
.community-shell [hidden]{display:none!important}.community-composer{background:rgba(255,255,255,.94);bottom:var(--composer-keyboard,0px);max-height:calc(100% - var(--composer-keyboard,0px) - 12px);padding:28px 20px 16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));overflow:hidden;display:flex;flex-direction:column}.community-composer h2{font-size:22px;margin-top:6px;padding-right:30px}.community-composer .community-sheet-kicker{font-size:11px}.community-composer form{display:flex;flex-direction:column;min-height:0}.community-composer-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding-top:14px;scrollbar-width:none}.community-composer-body::-webkit-scrollbar{display:none}.community-form-field{margin-bottom:13px}.community-form-label{display:block;font-size:12px;line-height:1.6;font-weight:600;color:var(--community-ink);margin-bottom:6px}.community-form-label small{font-size:10px;font-weight:400;color:var(--community-muted);margin-left:5px}.community-choice-row{display:flex;gap:6px;flex-wrap:wrap}.community-choice{min-height:36px;padding:7px 12px;font-size:12px;line-height:1.6;border:1px solid rgba(100,116,139,.12);border-radius:9999px;background:var(--community-paper);color:var(--community-label)}.community-choice[aria-pressed=true]{background:var(--community-smoke);color:var(--community-paper);border-color:var(--community-smoke)}.community-composer textarea{display:block;width:100%;min-height:116px;max-height:180px;resize:none;border:1px solid rgba(100,116,139,.13);border-radius:16px;background:var(--community-canvas);padding:12px 13px;color:var(--community-ink);font:14px/1.65 var(--font);outline-offset:2px}.community-composer textarea::placeholder{color:var(--community-faint)}.community-composer textarea:focus-visible{outline:2px solid var(--community-muted)}.community-input-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;line-height:1.7;color:var(--community-muted);gap:10px;margin:6px 1px 13px}.community-input-meta>span:last-child{flex-shrink:0;font-variant-numeric:tabular-nums}.community-photo-row{display:flex;gap:10px;min-height:68px}.community-photo-preview{position:relative;width:68px;height:68px;flex-shrink:0;border-radius:12px;overflow:hidden}.community-photo-preview img{width:100%;height:100%;object-fit:cover}.community-photo-remove{position:absolute;right:0;top:0;width:32px;height:32px;display:grid;place-items:center;border-radius:0 0 0 12px;background:rgba(28,28,32,.7);color:var(--community-paper);font-size:20px}.community-add-photo{width:68px;height:68px;border:1px dashed rgba(100,116,139,.28);border-radius:12px;background:var(--community-canvas);color:var(--community-muted);font-size:26px;font-weight:300;display:grid;place-items:center}.community-composer .community-form-error{min-height:18px;color:#A63834;font-size:12px;line-height:1.5;margin:0 0 4px;overflow-wrap:anywhere}.community-composer-footer{flex-shrink:0;border-top:1px solid rgba(100,116,139,.09);padding-top:8px}.community-composer .community-scope{font-size:10px;color:var(--community-muted);line-height:1.6;margin:0 0 7px}.community-submit{margin-top:0;min-height:48px}.community-composer button:disabled,.community-ask:disabled{opacity:.5;cursor:not-allowed;transform:none}.community-composer button:disabled:active{transform:none}.community-composer.is-reply{padding-top:24px}.community-composer.is-reply .community-sheet-kicker{display:none}.community-composer.is-reply h2{font-size:16px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding-right:30px}.community-composer.is-reply .community-composer-body{padding-top:10px}.community-composer.is-reply .community-form-label{display:none}.community-composer.is-reply .community-form-field{margin-bottom:8px}.community-composer.is-reply textarea{min-height:64px;max-height:110px}.community-composer.is-reply .community-input-meta{margin-bottom:7px}.community-composer.is-reply .community-submit{min-height:42px}.community-composer.is-reply .community-scope{font-size:9px;margin-bottom:5px}.community-floor-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px;min-height:30px}.community-floor-meta .community-reply-time{margin:0}.community-floor-respond{font-size:11px;color:var(--community-muted);padding:6px 0 6px 12px;min-height:30px;min-width:44px;border-radius:6px}.community-also-ask{display:block;min-height:40px;color:var(--community-muted);font-size:12px;margin-left:auto;padding-left:12px}.community-toast{position:absolute;left:24px;right:24px;bottom:calc(100px + env(safe-area-inset-bottom));background:rgba(28,28,32,.94);border-radius:16px;padding:12px 16px;font-size:12px;line-height:1.7;text-align:center;color:var(--community-paper);z-index:110;box-shadow:0 8px 24px rgba(24,30,27,.12)}.community-load-error{font-size:12px;color:var(--community-label);padding:12px;background:var(--community-parent-bg);border-radius:16px;line-height:1.7}.community-load-error button{padding-top:0}.community-shell .community-feed-meta .community-ask{white-space:nowrap}.community-choice:focus-visible,.community-add-photo:focus-visible{outline:2px solid var(--community-label);outline-offset:2px}
@media(hover:hover){.community-choice:hover{border-color:var(--community-muted)}.community-floor-respond:hover,.community-also-ask:hover{color:var(--community-ink)}}
@media(prefers-reduced-transparency:reduce){.community-composer{background:var(--community-paper);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(max-width:350px){.community-composer{padding-left:16px;padding-right:16px}.community-choice{font-size:11px;padding-left:10px;padding-right:10px}.community-input-meta{font-size:9px}.community-composer h2{font-size:20px}}
