/* Existing communication center community and photo styles. */
.community-web-link{color:#0b638e;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;word-break:break-word}.community-web-link:focus-visible{outline:2px solid #0b638e;outline-offset:3px;border-radius:2px}
.community-board-view { gap:14px; }.community-board-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }.community-board-heading>div { min-width:0; }.community-board-heading span { color:#14718a; font-size:calc(9px * var(--portal-text-scale,1.05)); font-weight:950; letter-spacing:.13em; }.community-board-heading h2 { margin:4px 0 5px; color:#173f52; font-size:calc(23px * var(--portal-text-scale,1.05)); letter-spacing:-.05em; }.community-board-heading p { margin:0; color:#71828b; font-size:calc(11px * var(--portal-text-scale,1.05)); line-height:1.5; }.community-board-heading>b { flex:0 0 auto; padding:7px 9px; border-radius:999px; color:#166143; background:#e4f5eb; font-size:calc(9px * var(--portal-text-scale,1.05)); }
.community-board-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.community-board-tabs>button { min-height:64px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; padding:12px 14px; border:1px solid #d8e3e7; border-radius:15px; color:#536b76; background:#fff; text-align:left; }.community-board-tabs>button strong { font-size:calc(14px * var(--portal-text-scale,1.05)); }.community-board-tabs>button small { color:#84949b; font-size:calc(9px * var(--portal-text-scale,1.05)); }.community-board-tabs>button.active { border-color:#176781; color:#0d5570; background:#edf6f9; box-shadow:inset 0 0 0 1px #176781; }.community-board-tabs>button.active small { color:#4f7b8d; }
.community-board-guide { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:13px 14px; border:1px solid #d6e5ea; border-radius:15px; color:#31596a; background:#eff7fa; }.community-board-guide>div { display:flex; flex-direction:column; gap:4px; }.community-board-guide strong { font-size:calc(12px * var(--portal-text-scale,1.05)); }.community-board-guide span,.community-board-guide small { font-size:calc(10px * var(--portal-text-scale,1.05)); line-height:1.5; }.community-board-guide small { max-width:145px; color:#71868f; text-align:right; }.community-board-guide.anonymous { border-color:#ded8e9; color:#574878; background:#f7f3fb; }.community-board-guide.anonymous small { color:#7d7390; }
.community-board-error,.community-board-message { margin:0; padding:11px 13px; border-radius:11px; font-size:calc(11px * var(--portal-text-scale,1.05)); font-weight:800; line-height:1.5; }.community-board-error { color:#a4342e; background:#fff0ee; }.community-board-message { color:#176148; background:#e8f6f0; }
.community-board-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; }.community-board-toolbar>span { color:#70848e; font-size:calc(10px * var(--portal-text-scale,1.05)); }.community-board-toolbar>button,.community-comment-form>button { border:0; border-radius:11px; padding:10px 14px; color:#fff; background:#135d7b; font-size:calc(11px * var(--portal-text-scale,1.05)); font-weight:900; }
.community-post-list { display:grid; gap:8px; }.community-post-list .community-post-open { width:100%; display:flex; flex-direction:column; gap:7px; padding:15px; border:1px solid #dce5e9; border-radius:15px; color:#233f4d; background:#fff; text-align:left; }.community-post-list .community-post-open:hover { border-color:#9fc0cd; background:#fbfdfe; }.community-post-list .community-post-open.hidden { border-style:dashed; background:#fff9ea; }.community-post-list .community-post-open>div,.community-post-detail>header>div,.community-comment-list article>div { display:flex; align-items:center; gap:7px; }.community-post-list .community-post-open>div span,.community-post-detail>header span,.community-comment-list article strong { color:#33596a; font-size:calc(10px * var(--portal-text-scale,1.05)); font-weight:900; }.community-post-list em,.community-post-detail em,.community-comment-list em { padding:3px 5px; border-radius:6px; color:#8a5f00; background:#fff0b8; font-size:calc(8px * var(--portal-text-scale,1.05)); font-style:normal; font-weight:900; }.community-post-list small,.community-post-detail header small,.community-comment-list small { margin-left:auto; color:#8c9ba2; font-size:calc(9px * var(--portal-text-scale,1.05)); }.community-post-list .community-post-open>strong { font-size:calc(14px * var(--portal-text-scale,1.05)); letter-spacing:-.03em; }.community-post-list .community-post-open>p { margin:0; overflow:hidden; color:#61737d; font-size:calc(11px * var(--portal-text-scale,1.05)); line-height:1.55; }.community-post-list .community-post-open>footer { display:flex; gap:8px; color:#7b8c94; font-size:calc(9px * var(--portal-text-scale,1.05)); }.community-post-list .community-post-open>footer b { color:#126084; }
.community-post-editor { display:grid; gap:12px; padding:16px; border:1px solid #cbdde4; border-radius:17px; background:#f7fbfc; }.community-post-editor>div:first-child { display:flex; align-items:center; justify-content:space-between; }.community-post-editor>div:first-child span { color:#71868f; font-size:calc(9px * var(--portal-text-scale,1.05)); font-weight:900; }.community-post-editor>div:first-child strong { color:#155b78; font-size:calc(13px * var(--portal-text-scale,1.05)); }.community-post-editor label,.community-comment-form label { display:grid; gap:6px; color:#3e5b68; font-size:calc(11px * var(--portal-text-scale,1.05)); font-weight:900; }.community-post-editor input,.community-post-editor textarea,.community-comment-form textarea { width:100%; border:1px solid #cbdbe1; border-radius:11px; padding:11px 12px; color:#243f4d; background:#fff; font:inherit; font-size:calc(12px * var(--portal-text-scale,1.05)); line-height:1.6; outline:none; resize:vertical; }.community-post-editor input:focus,.community-post-editor textarea:focus,.community-comment-form textarea:focus { border-color:#4386a1; box-shadow:0 0 0 3px #dceff6; }.community-post-editor>small { color:#82939b; font-size:calc(9px * var(--portal-text-scale,1.05)); text-align:right; }.community-post-editor>div:last-child { display:grid; grid-template-columns:1fr 1.4fr; gap:8px; }.community-post-editor>div:last-child button { min-height:42px; border:1px solid #cddbe1; border-radius:11px; color:#5f737d; background:#fff; font-size:calc(11px * var(--portal-text-scale,1.05)); font-weight:900; }.community-post-editor>div:last-child button.primary { border-color:#135d7b; color:#fff; background:#135d7b; }
.community-post-detail { padding:17px; border:1px solid #d9e5e9; border-radius:17px; background:#fff; }.community-post-detail.hidden { border-style:dashed; background:#fffaf0; }.community-list-back { border:0; padding:0 0 12px; color:#527181; background:transparent; font-size:calc(10px * var(--portal-text-scale,1.05)); font-weight:900; }.community-post-detail>header { padding-bottom:14px; border-bottom:1px solid #e4eaed; }.community-post-detail>header h2 { margin:10px 0 0; color:#1d3f50; font-size:calc(19px * var(--portal-text-scale,1.05)); line-height:1.4; letter-spacing:-.04em; }.community-post-body { min-height:120px; margin:0; padding:18px 0; color:#394f5a; font-size:calc(13px * var(--portal-text-scale,1.05)); line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }.community-post-actions { display:flex; justify-content:flex-end; gap:7px; padding-bottom:15px; }.community-post-actions button,.community-comment-list footer button { border:0; border-radius:9px; padding:7px 9px; color:#3b6476; background:#eaf2f5; font-size:calc(9px * var(--portal-text-scale,1.05)); font-weight:900; }.community-post-actions button.danger { color:#9d3932; background:#f9e9e7; }.community-post-actions button.moderate { color:#805500; background:#fff0bc; }.community-post-actions button.restore { color:#176148; background:#e6f5ed; }
.community-comment-section { padding-top:15px; border-top:1px solid #e2eaed; }.community-comment-section .section-title h3 { margin:0; color:#294d5e; font-size:calc(14px * var(--portal-text-scale,1.05)); }.community-comment-list { display:grid; gap:7px; margin-top:10px; }.community-comment-list article { padding:11px 12px; border-radius:11px; background:#f4f8f9; }.community-comment-list article.hidden { border:1px dashed #dfc87c; background:#fff9e9; }.community-comment-list article>p { margin:7px 0 0; color:#4c606a; font-size:calc(11px * var(--portal-text-scale,1.05)); line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }.community-comment-list footer { display:flex; justify-content:flex-end; gap:6px; margin-top:7px; }.community-comment-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; margin-top:12px; }.community-comment-form>button { min-height:43px; }
.community-access-denied { min-height:420px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:30px 22px; border:1px solid #ecd3a2; border-radius:20px; color:#675529; background:#fffaf0; text-align:center; }.community-access-denied>span { width:54px; height:54px; display:grid; place-items:center; border-radius:50%; background:#fff0cb; font-size:calc(25px * var(--portal-text-scale,1.05)); }.community-access-denied>strong { font-size:calc(18px * var(--portal-text-scale,1.05)); }.community-access-denied>p { max-width:330px; margin:0; color:#7c6f50; font-size:calc(12px * var(--portal-text-scale,1.05)); line-height:1.65; }.community-access-denied>button { margin-top:8px; border:0; border-radius:11px; padding:11px 16px; color:#fff; background:#765f2d; font-size:calc(11px * var(--portal-text-scale,1.05)); font-weight:900; }
.community-post-list em.community-new-badge,.community-post-detail em.community-new-badge{color:#fff;background:#e4473b;letter-spacing:.04em}
.community-board-heading h2{margin:5px 0 8px}.community-board-tabs{gap:8px}.community-board-tabs button{padding:12px}.community-board-guide{padding:12px 14px}.community-post-list{gap:0;border:1px solid #d9e4e9;border-radius:14px;overflow:hidden;background:#fff}.community-post-list .community-post-open{position:relative;gap:6px;padding:16px 16px 16px 52px;border:0;border-radius:0;word-break:keep-all;overflow-wrap:break-word}.community-post-list .community-post-open+button{border-top:1px solid #e4ebef}.community-post-list .community-post-open>.list-row-number{position:absolute;top:17px;left:16px}.community-post-list .community-post-open>strong{font-size:calc(16px * var(--portal-text-scale,1.05));line-height:1.55;letter-spacing:-.025em;text-wrap:pretty}.community-post-list .community-post-open>p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;line-clamp:1;font-size:calc(13px * var(--portal-text-scale,1.05));line-height:1.6;overflow-wrap:anywhere}.community-post-list .community-post-open>div{flex-wrap:wrap;gap:5px 8px}.community-post-list .community-post-open>div span,.community-post-list .community-post-open small,.community-post-list .community-post-open>footer{font-size:calc(12px * var(--portal-text-scale,1.05));line-height:1.5}.community-post-list .community-post-open>div small{margin-left:0}.community-post-detail .community-post-body{font-size:calc(15px * var(--portal-text-scale,1.05));line-height:1.85;word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}.home-greeting strong{word-break:keep-all;overflow-wrap:break-word;text-wrap:balance;line-height:1.4}
.community-post-row{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding-bottom:12px}.community-post-row+.community-post-row{border-top:1px solid #e4ebef}.community-post-row.hidden{background:#fff9ea}.community-post-list .community-post-open{background:transparent;padding-bottom:8px}.community-like-button,.community-post-actions .community-like-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:8px 12px;border:1px solid #d5e2e8;border-radius:10px;color:#496c7d;background:#f8fbfc;font:inherit;font-size:calc(13px * var(--portal-text-scale,1.05));font-weight:700;cursor:pointer}.community-post-row>.community-like-button{align-self:flex-start;margin-left:52px}.community-like-button span{font-size:calc(19px * var(--portal-text-scale,1.05));line-height:1}.community-like-button.active,.community-post-actions .community-like-button.active{border-color:#e8b0bc;color:#a93251;background:#fff0f4}.community-like-button:disabled{opacity:.55;cursor:default}.community-like-button:focus-visible{outline:2px solid #167895;outline-offset:2px}@media(max-width:360px){.community-post-row>.community-like-button{margin-left:43px}}
.photo-editor{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid #d6e4e8;border-radius:14px;background:#f8fbfc;word-break:keep-all;overflow-wrap:break-word}
.photo-editor-heading,.photo-editor-tools,.photo-editor figure figcaption,.photo-viewer-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.photo-editor-heading,.photo-editor figure figcaption{justify-content:space-between}
.photo-editor .photo-editor-tools button,.photo-editor figure button{display:inline-flex;align-items:center;gap:7px;border:1px solid #c8dce2;border-radius:10px;background:white;color:#20586b;padding:10px 13px;font:inherit;font-size:calc(14px * var(--portal-text-scale,1.05));font-weight:700;min-height:42px}
.photo-editor .photo-camera-button{display:none}.photo-editor .photo-editor-help,.photo-editor>small{font-size:calc(12px * var(--portal-text-scale,1.05));color:#5b7784;line-height:1.7;margin:0}.photo-editor-blocks{display:grid;gap:12px;min-width:0}
.photo-editor .photo-editor-blocks textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical;border:1px solid #cfdee4;border-radius:10px;background:white;padding:12px;font:inherit;line-height:1.8;word-break:keep-all;overflow-wrap:break-word}
.photo-editor figure,.photo-body figure{margin:0;min-width:0}.photo-editor figure img{display:block;width:100%;max-height:350px;object-fit:contain;border-radius:10px;background:#edf3f6}.photo-editor figure figcaption{margin-top:8px;font-size:calc(12px * var(--portal-text-scale,1.05));color:#627b86}
.photo-body{min-width:0;word-break:keep-all;overflow-wrap:break-word}.photo-body>p{white-space:pre-wrap;line-height:1.9;text-wrap:pretty;margin:12px 0}.photo-body figure{margin:18px 0}.photo-body .photo-expand{display:block;border:0;padding:0;background:#f0f5f7;border-radius:12px;width:100%;overflow:hidden;cursor:zoom-in}.photo-body img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain}.photo-body figcaption{font-size:calc(13px * var(--portal-text-scale,1.05));line-height:1.6;color:#617681;margin-top:8px}
.photo-viewer{width:min(1100px,94vw);max-width:94vw;max-height:92dvh;box-sizing:border-box;border:0;border-radius:16px;background:#142a34;color:white;padding:14px;overflow:hidden}.photo-viewer::backdrop{background:rgba(6,20,29,.83)}.photo-viewer-toolbar{justify-content:flex-end;margin-bottom:12px}.photo-viewer-toolbar>span{margin-right:auto}.photo-viewer-toolbar button,.photo-viewer-toolbar a{color:white;border:1px solid #67818b;background:#2e4956;border-radius:9px;padding:10px;text-decoration:none;font:inherit;font-size:calc(13px * var(--portal-text-scale,1.05))}.photo-viewer .photo-viewer-canvas{max-height:75dvh;overflow:auto;text-align:center;touch-action:pan-x pan-y pinch-zoom}.photo-viewer .photo-viewer-canvas img{width:auto;max-width:100%;height:auto;max-height:75dvh;object-fit:contain}.photo-viewer .photo-viewer-canvas.zoomed img{max-width:none;max-height:none;width:1600px;height:auto}
.photo-editor button:focus-visible,.photo-expand:focus-visible,.photo-viewer button:focus-visible,.photo-viewer a:focus-visible{outline:3px solid #68bcd5;outline-offset:3px}
@media(pointer:coarse),(max-width:640px){.photo-editor .photo-camera-button{display:inline-flex}}@media(max-width:640px){.photo-editor{padding:11px}.photo-viewer{padding:10px}.photo-viewer-toolbar{gap:6px}.photo-viewer-toolbar>span{width:100%;font-size:calc(13px * var(--portal-text-scale,1.05))}.photo-editor .photo-editor-tools button{flex:1;justify-content:center}}
.photo-viewer{width:min(1100px,calc((100vw - 40px)/var(--portal-text-scale,1)));max-width:calc((100vw - 40px)/var(--portal-text-scale,1));max-height:calc(92dvh/var(--portal-text-scale,1));margin:auto}.photo-viewer .photo-viewer-canvas,.photo-viewer .photo-viewer-canvas img{max-height:calc(75dvh/var(--portal-text-scale,1))}
.community-board-view{display:grid;gap:16px;min-width:0}.community-post-editor{display:grid;gap:14px}.community-post-detail{min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.community-post-open{min-width:0}.community-board-heading{flex-wrap:wrap}.community-post-editor input,.community-post-editor textarea{font-size:calc(16px * var(--portal-text-scale,1.05))}.community-web-link{overflow-wrap:anywhere}.photo-viewer{max-width:calc(100vw - 20px)}

/* Visible writing entry points on home, board and room views. */
.compose-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.compose-actions button,.compose-actions a{min-height:44px;white-space:nowrap}.community-board-heading{flex-wrap:wrap;gap:12px}.compose-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cardhead:has(>.compose-actions){flex-wrap:wrap;gap:10px}@media(max-width:600px){.cardhead>.compose-actions{margin-left:auto}.community-board-heading>.compose-actions{width:100%;justify-content:flex-end}}
