.community{--community-navy:#0c223b;--community-blue:#173c61;--community-gold:#b18b2b;--community-muted:#596d81;--community-line:#dce5ee;font-size:18px;line-height:1.65;min-width:0}
.community :is(p,label,input,textarea,select,button,small,summary){font-size:18px!important}
.community .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.community :is(button,input,textarea,select){border-radius:5px}
.community button{font-weight:500;line-height:1.4;letter-spacing:0;word-break:normal;overflow-wrap:normal}
.community :is(h2,h3,h4){font-weight:600;letter-spacing:-.02em}
.community strong{font-weight:600}
.community ::selection{background:#e9b838;color:#0c223b}
.community input,.community textarea{caret-color:#173c61}
.community svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
.community-main{min-width:0}
.community-room-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.community-room-head h2{font-size:24px;line-height:1.3;margin:0}

.community-room-head>.community-mute-toggle{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;color:#245b39;padding:8px 0 8px 4px;min-height:44px;font-weight:400;flex-shrink:0;font-size:14px!important}
.community-toggle-track{display:block;position:relative;width:40px;height:24px;border-radius:999px;background:#d7ecde;border:1px solid #8fbc9d;flex:none}
.community-toggle-track::after{content:"";position:absolute;top:3px;left:19px;width:16px;height:16px;border-radius:50%;background:#245b39;transition:left .15s ease}
.community-mute-toggle[aria-checked="false"]{color:#8b3932}
.community-mute-toggle[aria-checked="false"] .community-toggle-track{background:#fbe9e7;border-color:#d99e97}
.community-mute-toggle[aria-checked="false"] .community-toggle-track::after{left:3px;background:#8b3932}
.community-room-head>.community-mute-toggle:hover .community-toggle-track{filter:brightness(.97)}
@media(prefers-reduced-motion:reduce){.community-toggle-track::after{transition:none}}
.community-room-tabs{display:flex;gap:10px;margin-bottom:22px;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}
.community-room-tabs button{display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap;padding:9px 16px;min-height:46px;background:#fff;border:1px solid #d5e0eb;color:var(--community-blue)}
.community-room-tabs button strong{font-size:18px;font-weight:800;letter-spacing:-.015em}
.community-room-tabs button[aria-current=page]{color:#fff;background:var(--community-blue);border-color:var(--community-blue)}
.community-room-tabs button:hover{border-color:#7f99b3}
.community-tab-count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:50%;background:#e8b838;color:#0c223b;font-size:13px;font-weight:600;line-height:1}
.community-tab-note{font-size:14px;font-weight:400;opacity:.85}
.community-share{padding:18px;background:#fff;border:1px solid var(--community-line);border-radius:5px;margin-bottom:24px}
.community-share-trigger{display:flex;align-items:center;gap:13px;width:100%;min-height:62px;padding:16px 18px!important;text-align:left;background:#f6f8fb;color:#617388;border:1px solid #e0e7ee;font-weight:400!important}
.community-share-trigger:hover{background:#f0f4f8;border-color:#b5c6d7;color:#173c61}
.community-compose-mark{display:grid;place-items:center;width:28px;height:28px;flex:none;color:#7189a1}
.community-share-trigger span:last-child{min-width:0;overflow-wrap:normal}
.community-feed-tools{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-bottom:18px}
.community-feed-label{color:var(--community-muted);font-size:16px;font-weight:500}
.community-feed-tools form{display:flex;gap:8px;min-width:0;flex:1;max-width:330px}
.community-feed-tools input{min-width:0;width:100%;background:transparent;border-color:transparent;border-bottom-color:#c7d5e2;border-radius:0;padding:8px 0;min-height:44px}
.community-feed-tools form>button{flex:none;white-space:nowrap;min-height:44px;padding:7px 12px;border-color:transparent;background:transparent;color:#173c61}
.community-feed-tools form>button:hover{background:#e9f0f6}
.community-info{position:sticky;top:24px;min-width:0;background:#fff;border:1px solid var(--community-line);border-radius:5px;padding:26px 24px}
.community-info-seal{display:block;width:64px;height:64px;object-fit:contain;margin:0 0 20px}
.community-info>h3{font-size:22px;line-height:1.4;margin:0 0 12px;color:#0c223b;font-weight:600}
.community-info>p{margin:0 0 18px;color:var(--community-muted);line-height:1.6}
.community-access-note{display:flex;gap:8px;align-items:center;font-size:15px;color:#5a6f83;font-weight:400}
.community-access-note svg{width:16px;height:16px}
.community-private{margin-top:24px;padding-top:22px;border-top:1px solid var(--community-line)}
.community-private h3{font-size:18px;font-weight:600;margin:0 0 8px}
.community-private p{font-size:18px!important;color:var(--community-muted);line-height:1.6;margin-bottom:15px}
.community-private button,.community-admin-tools button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;background:transparent;border:0;padding:10px 0;color:#173c61;min-height:44px;font-size:16px!important;font-weight:500}
.community-private button:hover,.community-admin-tools button:hover{text-decoration:underline;text-underline-offset:4px}
.community-private button svg,.community-admin-tools button svg{width:17px;height:17px;color:#6a839a}
.community-admin-tools{padding-top:16px;margin-top:16px;border-top:1px solid var(--community-line)}
.community-admin-tools button{color:#5c7185}
.community-post{background:#fff;border:1px solid var(--community-line);border-radius:5px;padding:26px;margin-bottom:22px;min-width:0}
.community-post>header{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.community-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:#edf2f7;color:#173c61;font-size:15px;font-weight:500}
.community-post header>div{min-width:0;flex:1}
.community-post header strong{display:block;font-size:18px;font-weight:600;overflow-wrap:anywhere}
.community-post header p{font-size:14px!important;color:#607184;margin:3px 0 0;line-height:1.6;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.community-pin{display:inline-flex;align-items:center;border-radius:5px;background:#fff5d5;color:#795d16;font-size:13px;font-weight:500;padding:2px 8px}
.community-message{font-size:15px!important;font-weight:400!important;border-color:transparent;background:transparent;color:#607990;padding:6px 0 6px 10px;min-height:44px;flex:none}
.community-message:hover{color:#173c61;text-decoration:underline;text-underline-offset:4px;background:transparent}
.community-post h3{font-size:22px;font-weight:600;line-height:1.4;margin:0 0 16px;overflow-wrap:anywhere}
.community-body{font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch;line-height:1.7}
.community-body strong,.community-body b{font-weight:700}
.community-body a{color:#315c83;text-decoration:underline;text-underline-offset:4px}
.community-post>footer{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-top:1px solid #e6edf3;margin-top:24px;padding-top:13px}
.community-response{display:flex;gap:14px;flex-wrap:wrap}
.community-response button{padding:6px 0;min-height:44px;background:transparent;border-color:transparent;color:#607184;font-size:16px!important;font-weight:400}
.community-response button[aria-pressed=true]{color:#173c61;font-weight:600}
.community-response button:hover{color:#173c61}
.community-post-options{text-align:right;max-width:50%}
.community-post-options summary{font-size:14px!important;cursor:pointer;padding:10px 0;color:#607184;font-weight:400;white-space:nowrap}
.community-post-options>div{display:grid;gap:7px;margin-top:8px}
.community-post-options span{font-size:14px}
.community-post-options button{font-size:16px!important;font-weight:400}
.community-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 0}
.community-images img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:#f4f7fa;border-radius:5px}
.community-images img:only-child{grid-column:1/-1}
.community-pinned>h3{font-size:16px;font-weight:500;margin-bottom:14px;color:#7c6939}
.community-pinned .community-post{border-color:#ccb66e}
.community-composer{background:#fff;border:1px solid var(--community-line);border-radius:5px;padding:26px}
.community-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.community-composer h2{font-size:24px;font-weight:600;margin:0}
.community-composer label{display:grid;gap:8px;margin-bottom:20px;font-weight:500}
.community-composer label span{font-weight:400;color:var(--community-muted);font-size:16px}
.community-composer :is(input,select,textarea){width:100%;max-width:100%;border-color:#ccd8e2}
.community-composer textarea{min-height:180px;resize:vertical}
.community-upload{padding:20px 0;border-top:1px solid #e2e8ee}
.community-upload input{font-size:16px!important}
.community-attachments>div,.community-moderator{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e2e8ee}
.community-attachments button{font-size:16px!important}
.community-new{margin-bottom:20px}
.community-new button{width:100%;color:#0c223b;background:#fff8e4;border-color:#dac58a}
.community-empty{padding:35px 24px;color:var(--community-muted);text-align:center}
.community-empty h3{color:#0c223b}
.community-thread-head{display:flex;gap:12px;justify-content:space-between;margin-bottom:22px}
.community-back{color:#fff;background:#173c61;border-color:#173c61}
.community-back:hover{color:#fff;background:#0c223b}
.community-replies{margin-top:30px}
.community-reply{margin-left:22px}
.community .form-error:empty{display:none}
.community-moderator p{margin:0;color:var(--community-muted)}
.community .form-actions{flex-wrap:wrap}
@media(max-width:1200px){.community-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}.community-info{padding:22px 20px}.community-post{padding:24px}}
@media(max-width:1100px){.community-layout{grid-template-columns:1fr;gap:28px}.community-info{position:static}.community-info-seal{float:left;margin:0 18px 14px 0}.community-info>h3{padding-top:6px}.community-info>p{max-width:65ch}.community-private{clear:both}.community-private button,.community-admin-tools button{max-width:360px}}
@media(max-width:600px){.community-room-head{margin-bottom:18px}.community-room-tabs{margin-bottom:18px;gap:8px}.community-room-tabs button{padding:8px 13px}.community-room-tabs button strong{font-size:18px}.community-share{padding:12px;margin-bottom:18px}.community-share-trigger{padding:13px 12px!important;gap:10px;min-height:58px}.community-compose-mark{width:23px}.community-feed-tools{gap:12px}.community-feed-label{display:none}.community-feed-tools form{max-width:none}.community-post{padding:22px 20px}.community-post>header{flex-wrap:wrap;margin-bottom:18px}.community-message{margin-left:54px;padding:0;min-height:32px}.community-post h3{font-size:22px}.community-post>footer{flex-wrap:wrap}.community-response{flex:1}.community-post-options{max-width:none}.community-reply{margin-left:0}.community-thread-head,.community-section-head{flex-wrap:wrap}.community-composer{padding:22px 18px}.community-images{grid-template-columns:1fr}.community-moderator{flex-wrap:wrap}.community-info{padding:24px 20px}}
/* Keep member identity intact before wrapping secondary mobile actions. */
@media(max-width:600px){.community-post header>div{flex:1 1 calc(100% - 54px)}.community-room-tabs button{padding:9px 12px;gap:8px}.community-room-tabs button strong{font-size:16px}.community-tab-count{min-width:20px;height:20px;font-size:12px}.community-message{font-size:16px!important}}
