.community-panel { box-sizing: border-box; width: min(1040px,calc(100% - 40px)); margin: 10px auto; padding: 8px 0; color: #4f6a61; font-family: Arial,sans-serif; }
.community-panel *, .community-dialog * { box-sizing: border-box; }
.community-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 24px; min-width: 0; }
.community-panel .community-button, .community-support-link, .community-email-fallback { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; max-width: 100%; margin: 0; padding: 8px 0; border: 0; background: transparent; color: #4f6a61; font: 600 12px/1.5 Arial,sans-serif; text-align: center; text-decoration: underline; text-decoration-color: #a6b6ac; text-underline-offset: 4px; white-space: normal; cursor: pointer; }
.community-panel .community-support-link { color: #627068; font-size: 11px; font-weight: 400; }
.community-panel .community-button:hover, .community-support-link:hover, .community-email-fallback:hover { color: #254f44; text-decoration-color: currentColor; }
.community-panel--quiet { border-top: 1px solid #e5dfd1; }
.community-panel--compact { width: auto; margin: 0; padding: 6px clamp(22px,6vw,74px); }
.community-panel--compact .community-actions { justify-content: flex-start; }
.community-dialog { box-sizing: border-box; width: min(520px,calc(100% - 28px)); max-width: 520px; max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 30px; border: 1px solid #c5ab76; border-radius: 12px; color: #203b4c; background: #fffaf0; box-shadow: 0 24px 90px #08152a55; font-family: Arial,sans-serif; }
.community-dialog .community-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; max-width: 100%; border: 1px solid #2b675b; border-radius: 5px; padding: 12px 16px; font: 700 12px/1.5 Arial,sans-serif; text-align: center; text-decoration: none; white-space: normal; cursor: pointer; }
.community-dialog .community-button--share { color: #fffaf0; background: #245b50; }
.community-dialog .community-button--share:hover { background: #18483f; }
.community-dialog::backdrop { background: #061122c4; }
.community-dialog:not([open]) { display: none; }
.community-dialog.community-dialog--fallback[open] { position: fixed; inset: 0; z-index: 10000; box-shadow: 0 0 0 100vmax #061122c4; }
.community-dialog .community-dialog-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -16px -16px 0 auto; padding: 0; border: 0; border-radius: 4px; color: #245b50; background: transparent; font: 26px/1 Arial,sans-serif; cursor: pointer; }
.community-dialog .community-dialog-title { margin: 0 0 10px; color: #203b4c; font: 600 28px/1.2 Georgia,serif; }
.community-dialog .community-dialog-description { margin: 0 0 18px; color: #586e6d; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.community-dialog .community-link-label { display: block; color: #405e58; font-size: 12px; font-weight: 700; }
.community-dialog .community-link-field { display: block; width: 100%; min-height: 44px; margin: 8px 0 12px; padding: 11px; border: 1px solid #b3bfb3; border-radius: 4px; color: #203b4c; background: #fff; font: 12px/1.6 Arial,sans-serif; }
.community-dialog .community-copy { width: 100%; }
.community-dialog .community-native-share { width: 100%; margin-top: 12px; color: #245b50; background: #fffdf6; }
.community-dialog [hidden] { display: none !important; }
.community-dialog .community-social-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
.community-dialog .community-social-links a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px; border: 1px solid #d4c6a6; border-radius: 4px; color: #245b50; background: #fffdf6; font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; }
.community-dialog .community-copy-status { min-height: 22px; margin: 14px 0 0; color: #526e63; font-size: 12px; line-height: 1.6; }
.community-panel a:focus-visible, .community-panel button:focus-visible, .community-dialog a:focus-visible, .community-dialog button:focus-visible, .community-dialog input:focus-visible { outline: 3px solid #2b8c79; outline-offset: 3px; }
.share-link-label { display: block; margin: 18px 0 0; color: #526e63; font: 700 12px/1.6 Arial,sans-serif; }
.share-link-field { display: block; width: 100%; min-height: 44px; margin-top: 7px; padding: 10px; border: 1px solid #b3bfb3; background: #fff; color: #203b4c; font: 12px/1.6 Arial,sans-serif; }
@media(max-width:640px) { .community-panel { width: calc(100% - 40px); } .community-actions { gap: 0 18px; } .community-panel--compact { width: 100%; padding: 6px 22px; } .community-dialog { padding: 24px 20px; } .community-dialog .community-dialog-title { font-size: 25px; } }
@media print { .community-panel, .community-dialog { display: none !important; } }
