.forum-page{--community-soft:#f1f5ef;--community-warm:#f8f2e8;--community-ai:#f0f2ff;overflow-x:hidden}.community-nav{display:flex;gap:6px;overflow-x:auto;margin:0 0 26px;padding:6px;border:1px solid var(--line);border-radius:15px;background:#fff;scrollbar-width:none}.community-nav a{flex:0 0 auto;padding:10px 15px;border-radius:10px;color:var(--muted);font-size:.88rem;font-weight:720;text-decoration:none}.community-nav a:hover,.community-nav a[aria-current=page]{background:var(--community-soft);color:var(--green-dark)}
.community-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);gap:34px;align-items:center;padding:clamp(30px,5vw,58px);border:1px solid var(--line);border-radius:28px;background:linear-gradient(130deg,#fff 0 66%,var(--community-soft) 66%)}.community-hero h1,.community-settings-head h1,.community-compose-layout h1{max-width:900px;margin:.12em 0 .28em;color:var(--green-dark);font-family:var(--font-sans);font-size:clamp(2.65rem,5vw,4.6rem);line-height:1.04;letter-spacing:-.045em}.community-hero__actions{display:flex;align-items:center;gap:22px;margin-top:26px}.community-hero__actions>a:not(.button){font-weight:760}.community-hero aside{padding:25px;border-radius:18px;background:rgba(255,255,255,.84)}.community-hero aside strong{font-size:1.1rem}.community-hero aside p{margin:.55rem 0;color:var(--ink)}.community-hero aside small{color:var(--muted);line-height:1.5}
.community-categories{margin-top:58px}.community-categories>header,.community-feed__head,.community-answers>header,.community-materials>header{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:22px}.community-categories h2,.community-feed h2,.community-answers h2,.community-reply-box h2,.community-materials h2,.community-settings-grid h2,.community-personal-grid h2{margin:.1em 0;color:var(--green-dark);font-family:var(--font-sans);font-size:clamp(1.75rem,3vw,2.55rem);letter-spacing:-.025em}.community-categories>header>p{max-width:430px;color:var(--muted)}.community-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.community-category-grid>a{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:14px;min-height:108px;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff;text-decoration:none}.community-category-grid>a:hover,.community-category-grid>a[aria-current=page]{border-color:#a9c4b3;background:var(--community-soft)}.community-category-grid svg{width:23px;height:23px;color:var(--green)}.community-category-grid span{display:grid;gap:4px}.community-category-grid small{color:var(--muted);font-size:.78rem}.community-category-grid b{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border-radius:999px;background:var(--community-warm);font-size:.76rem}
.community-workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;margin-top:62px}.community-feed__head p{margin:5px 0;color:var(--muted)}.community-filters{display:grid;grid-template-columns:minmax(260px,1fr) 170px 170px auto auto;gap:8px;align-items:stretch;margin-bottom:16px;padding:11px;border:1px solid var(--line);border-radius:16px;background:#fff}.community-filters input,.community-filters select{height:46px;margin:0}.community-filters button{min-height:46px;margin:0}.community-reset{align-self:center;padding:0 6px;font-size:.78rem;font-weight:700}.community-list{display:grid;gap:10px}.community-topic{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}.community-topic--pinned{border-color:#b7cbbb;background:linear-gradient(90deg,var(--community-soft),#fff 24%)}.community-topic>a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:15px;align-items:start;padding:20px;text-decoration:none}.community-avatar{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;font-size:.92rem;font-weight:800}.community-topic__body{display:grid;gap:7px}.community-topic__body>strong{color:var(--ink);font-size:1.08rem;line-height:1.35}.community-topic__body>span:not(.community-tags),.community-topic__body small{color:var(--muted);font-size:.86rem;line-height:1.5}.community-tags{display:flex;flex-wrap:wrap;gap:5px}.community-tags em,.community-answer__badges em{padding:4px 8px;border-radius:999px;background:var(--community-soft);color:var(--green-dark);font-size:.67rem;font-style:normal;font-weight:760}.community-tags .is-solved{background:#e5f5e9;color:#176c3b}.community-tags .is-waiting{background:#fff0dc;color:#91530a}.community-topic__metrics{display:flex;align-items:center;gap:16px}.community-topic__metrics b{display:grid;text-align:center;font-size:.95rem}.community-topic__metrics small{color:var(--muted);font-size:.61rem;font-weight:500}.community-sidebar,.community-thread-sidebar{display:grid;align-content:start;gap:12px}.community-sidebar section,.community-thread-sidebar section,.community-compose-help section{padding:20px;border:1px solid var(--line);border-radius:17px;background:#fff}.community-sidebar h3,.community-thread-sidebar h3{margin:0 0 10px}.community-sidebar p,.community-sidebar li,.community-thread-sidebar p{color:var(--muted);font-size:.86rem;line-height:1.55}.community-sidebar ol{padding-left:20px}.community-sidebar a,.community-thread-sidebar a{display:block;margin-top:8px;font-weight:720}.is-medical{background:#fff5ef!important}.community-pagination{display:flex;justify-content:center;gap:20px;margin-top:24px}
.community-thread-layout{display:grid;grid-template-columns:minmax(0,820px) minmax(260px,310px);justify-content:center;gap:26px}.community-thread-layout>section{min-width:0}.community-back{display:inline-flex;margin:3px 0 15px;font-weight:720}.community-question,.community-answer,.community-reply-box{padding:clamp(22px,4vw,36px);border:1px solid var(--line);border-radius:22px;background:#fff}.community-question h1{max-width:780px;margin:.35em 0 .5em;color:var(--green-dark);font-family:var(--font-sans);font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;letter-spacing:-.035em}.community-author{display:flex;align-items:center;gap:12px}.community-author>span:nth-child(2){display:grid}.community-author small{color:var(--muted);font-size:.78rem}.community-question__text,.community-answer__text{margin-top:28px;font-size:1.04rem;line-height:1.72}.community-warning{margin-top:25px;padding:18px;border-left:4px solid var(--terracotta);border-radius:10px;background:#fff3ed}.community-warning p{margin:5px 0}.community-question__footer{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}.community-question__footer details{margin-left:auto}.community-report-form,.community-inline-form{display:grid;gap:8px;width:min(320px,75vw);margin-top:9px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(23,50,40,.1)}.community-report-form label,.community-inline-form label{display:grid;gap:6px}.community-report-form textarea,.community-inline-form textarea{min-height:95px}.community-report-form button,.community-inline-form button{justify-self:start;min-height:38px;margin:0;padding:8px 13px}.community-answers{margin-top:44px}.community-answers>header span{color:var(--muted);font-size:.8rem}.community-answer{margin-top:12px}.community-answer.is-accepted{border-color:#6eae82;box-shadow:inset 4px 0 #6eae82}.community-answer.is-ai{border-color:#cfd4f5;background:linear-gradient(145deg,#fff 70%,var(--community-ai))}.community-answer__badges{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.community-answer__badges .is-ai-label{background:#e8eaff;color:#4c5597}.community-answer__actions,.community-replies footer{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:22px}.community-answer__actions form,.community-replies footer form{margin:0}.community-text-button{min-height:36px;margin:0;padding:7px 11px;border:1px solid var(--line);background:#fff;color:var(--green);font-size:.77rem}.community-answer__actions details:last-child{margin-left:auto}.community-ai-note{margin-top:20px;padding:16px;border-radius:13px;background:var(--community-ai);font-size:.83rem}.community-ai-note p{margin:5px 0;color:var(--muted);line-height:1.55}.community-ai-note span{color:#5d65a1;font-weight:700}.community-replies{display:grid;gap:9px;margin:23px 0 0 34px;padding-left:18px;border-left:2px solid var(--line)}.community-replies>article{padding:18px;border-radius:15px;background:var(--community-soft)}.community-replies .community-avatar{width:36px;height:36px}.community-replies>article>div{margin-top:14px;line-height:1.62}.community-empty-answer{padding:28px;border:1px dashed #b8c9bd;border-radius:18px;background:var(--community-soft)}.community-empty-answer h3{margin-top:0}.community-reply-box{display:grid;grid-template-columns:.75fr 1.25fr;gap:32px;margin-top:44px;background:var(--community-soft)}.community-reply-box form{display:grid;gap:8px}.community-reply-box textarea{min-height:170px}.community-reply-box button{justify-self:start}.community-materials{margin-top:48px}.community-materials>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.community-thread-sidebar{padding-top:38px}.community-thread-actions form{margin:0}.community-thread-actions button{width:100%;margin:7px 0 0}.community-related-topics{display:grid}.community-related-topics a{padding:11px 0;border-top:1px solid var(--line);text-decoration:none}.community-related-topics strong,.community-related-topics small{display:block}.community-related-topics small{margin-top:4px;color:var(--muted);font-size:.72rem}
.community-compose-layout{display:grid;grid-template-columns:minmax(0,820px) 280px;justify-content:center;gap:28px}.community-compose-layout .lead{color:var(--muted)}.community-compose-form{display:grid;gap:16px;margin-top:28px}.community-compose-form fieldset,.community-compose-note{display:grid;gap:10px;margin:0;padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff}.community-compose-form legend{padding:0 8px;color:var(--green-dark);font-size:1.2rem;font-weight:780}.community-compose-form textarea{min-height:190px}.community-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.community-check{display:flex!important;align-items:center;gap:9px}.community-check input{width:auto}.form-hint{margin:0;color:var(--muted);font-size:.8rem}.community-compose-note{background:var(--community-soft)}.community-compose-note p{margin:0;color:var(--muted)}.community-compose-help{display:grid;align-content:start;gap:12px;margin-top:44px}.community-compose-help h2{margin-top:0;font-size:1.25rem}.community-compose-help ol{padding-left:20px;color:var(--muted);font-size:.88rem;line-height:1.6}.community-similar{padding:14px;border-radius:12px;background:var(--community-warm)}.community-similar>div{display:grid;margin-top:7px}.community-similar a{padding:7px 0;border-top:1px solid rgba(0,0,0,.08);text-decoration:none}.community-similar small{display:block;color:var(--muted)}
.community-settings-head{max-width:820px;margin:28px auto 42px}.community-settings-grid{display:grid;grid-template-columns:minmax(300px,430px) minmax(0,1fr);gap:28px}.community-settings-card{padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--community-soft)}.community-settings-card form{display:grid;gap:8px}.community-settings-list,.community-personal-grid section{display:grid;gap:10px}.community-settings-list article,.community-personal-item{display:grid;gap:5px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none}.community-settings-list p,.community-personal-item small{margin:0;color:var(--muted)}.community-personal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.community-personal-grid section{align-content:start}
@media(max-width:1050px){.community-category-grid{grid-template-columns:repeat(2,1fr)}.community-workspace,.community-thread-layout,.community-compose-layout{grid-template-columns:1fr}.community-sidebar{grid-template-columns:repeat(3,1fr)}.community-thread-sidebar,.community-compose-help{grid-template-columns:repeat(3,1fr);padding-top:0}.community-filters{grid-template-columns:1fr 1fr}.community-search{grid-column:1/-1}.community-materials>div{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.community-nav{margin-inline:-8px}.community-hero{grid-template-columns:1fr;padding:28px 20px;border-radius:20px;background:linear-gradient(160deg,#fff,var(--community-soft))}.community-hero__actions{align-items:flex-start;flex-direction:column}.community-categories{margin-top:44px}.community-categories>header,.community-feed__head,.community-answers>header,.community-materials>header{align-items:flex-start;flex-direction:column}.community-category-grid{display:flex;overflow-x:auto;margin-inline:-14px;padding:0 14px 8px}.community-category-grid>a{flex:0 0 250px}.community-workspace{margin-top:44px}.community-filters{grid-template-columns:1fr}.community-search{grid-column:auto}.community-topic>a{grid-template-columns:40px 1fr;padding:16px}.community-topic__metrics{grid-column:2;justify-content:flex-start}.community-topic__metrics b:nth-child(2){display:none}.community-sidebar,.community-thread-sidebar,.community-compose-help,.community-personal-grid{grid-template-columns:1fr}.community-question,.community-answer,.community-reply-box{padding:20px;border-radius:18px}.community-question__footer details{margin-left:0}.community-answer__badges{width:100%;margin:5px 0 0 56px}.community-answer__actions details:last-child{margin-left:0}.community-replies{margin-left:5px;padding-left:11px}.community-reply-box{grid-template-columns:1fr;gap:18px}.community-materials>div{display:flex;overflow-x:auto}.community-materials>div>*{flex:0 0 82vw}.community-form-grid,.community-settings-grid{grid-template-columns:1fr}.community-compose-help{margin-top:0}}
@media(prefers-reduced-motion:reduce){.forum-page *{scroll-behavior:auto!important;transition:none!important}}
.community-tags .is-editorial{background:#e8eaff;color:#4c5597}
