.group-detail-heading { padding-bottom: 22px; border-bottom: 1px solid #edf1ed; }
.group-detail-title-row { display: flex; align-items: flex-start; gap: 18px; }
.group-detail-title-row h1 { min-width: 0; flex: 1; padding: 0; border: 0; }
.group-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; color: #76857b; font-size: 13px; line-height: 1.6; }
.group-detail-meta-dot { color: #b4c0b7; }
.group-post-schedule-banner { margin-bottom: 16px; padding: 10px 13px; border: 1px solid #dce8dd; border-radius: 8px; color: #547c60; background: #f7faf6; font-size: 13px; line-height: 1.6; }
.group-post-video { overflow: hidden; margin-top: 28px; border-radius: 12px; background: #f1f5f1; }
.group-post-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.group-post-actions { position: relative; flex: none; }
.group-post-menu-toggle { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 8px; color: #6f8276; background: transparent; }
.group-post-menu-toggle svg { width: 24px; height: 24px; }
.group-post-menu-toggle:hover,.group-post-menu-toggle[aria-expanded="true"] { color: #26734c; background: #f1f5f1; }
.group-post-menu { position: absolute; z-index: 10; top: calc(100% + 6px); right: 0; width: 148px; padding: 5px; border: 1px solid #e7eee9; border-radius: 10px; background: #fff; box-shadow: 0 8px 28px #263f2f14; }
.group-post-menu[hidden] { display: none; }
.group-post-menu button,.group-post-menu a { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: #52645a; background: transparent; font-size: 14px; text-align: left; }
.group-post-menu button svg,.group-post-menu a svg { width: 18px; height: 18px; flex: none; }
.group-post-menu button:hover,.group-post-menu button:focus-visible,.group-post-menu a:hover,.group-post-menu a:focus-visible { color: #26734c; background: #f1f5f1; }
.group-post-menu .group-post-menu-delete { color: #a54840; }
.group-post-menu .group-post-menu-delete:hover,.group-post-menu .group-post-menu-delete:focus-visible { color: #90362f; background: #fff3f1; }
.group-post-menu-toggle:focus-visible,.post-dialog button:focus-visible { outline: 2px solid #26734c; outline-offset: 2px; }
.post-dialog { position: fixed; width: min(calc(100% - 32px), 420px); max-width: none; max-height: calc(100dvh - 40px); padding: 30px; border: 1px solid #e7eee9; border-radius: 20px; color: #263f2f; background: #fff; box-shadow: 0 24px 80px #0003; }
.post-dialog::backdrop { background: #0009; }
.post-edit-dialog { width: min(calc(100% - 32px), 600px); }
.post-dialog form { margin: 0; }
.post-dialog h2 { margin: 0 0 20px; padding-right: 22px; font-size: 22px; font-weight: 750; line-height: 1.5; }
.post-dialog p { color: #76857b; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.post-dialog p strong { color: #314939; }
.post-dialog-close { position: absolute; top: 12px; right: 12px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #718077; background: #f3f6f3; font-size: 23px; }
.post-edit-field { margin-top: 18px; }
.post-edit-field label { display: block; margin-bottom: 8px; color: #314939; font-size: 13px; font-weight: 600; }
.post-edit-field input,.post-edit-field textarea { display: block; width: 100%; padding: 11px 13px; border: 1px solid #dce8dd; border-radius: 8px; color: #314939; background: #f7faf6; font-family: inherit; font-size: 16px; line-height: 1.7; }
.post-edit-field textarea { min-height: 180px; resize: vertical; }
.post-edit-field input:focus,.post-edit-field textarea:focus { outline: 2px solid #26734c; outline-offset: 2px; }
.post-dialog-actions { display: flex; gap: 10px; margin-top: 24px; }
.post-dialog-actions button { min-height: 44px; flex: 1; border-radius: 8px; font-size: 14px; font-weight: 700; }
.post-dialog-cancel { color: #52645a; background: #f1f5f1; }
.post-dialog-save { color: #fff; background: #26734c; }
.post-dialog-save:hover { background: #1d603e; }
.post-dialog-delete { color: #fff; background: #b54740; }
.post-dialog-delete:hover { background: #9e3932; }
.post-dialog button:disabled { opacity: .6; cursor: wait; }
.post-dialog .post-dialog-error { margin-top: 12px; color: #b54740; font-size: 13px; }
.post-dialog-error:empty { display: none; }
.post-notification-panel { margin-top: 24px; padding: 20px; border: 1px solid #e0e9e2; border-radius: 12px; background: #f7faf6; }
.post-notification-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.post-notification-heading h2 { margin: 0; color: #314939; font-size: 15px; font-weight: 650; line-height: 1.5; }
.post-notification-heading > span { padding: 3px 6px; border-radius: 5px; color: #547c60; background: #eaf3e7; font-size: 11px; line-height: 1.4; }
.post-notification-actions { display: flex; gap: 10px; }
.post-notification-actions button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 15px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.post-notification-send-all { flex: 1; color: #fff; background: #26734c; }
.post-notification-send-all:hover { background: #1d603e; }
.post-notification-send-all svg { width: 18px; height: 18px; flex: none; }
.post-notification-test { border: 1px solid #dce8dd; color: #547c60; background: #fff; }
.post-notification-test:hover { background: #edf5e9; }
.post-notification-actions button:focus-visible { outline: 2px solid #26734c; outline-offset: 3px; }
.post-notification-status { margin-top: 12px; color: #547c60; font-size: 13px; line-height: 1.7; }
.post-notification-status:empty { display: none; }
.post-dialog .post-notification-preview-note { margin-top: 12px; color: #8c9990; font-size: 12px; }
#notificationTestPhone[aria-invalid="true"] { border-color: #b54740; }
@media (max-width: 600px) {
    .group-detail-title-row { gap: 12px; }
    .group-detail-heading { padding-bottom: 18px; }
    .group-detail-meta { gap: 8px; font-size: 12px; }
    .post-dialog { padding: 26px 22px; }
    .post-dialog h2 { font-size: 20px; }
    .post-notification-panel { padding: 16px; }
    .post-notification-actions { flex-direction: column; }
    .post-notification-actions button { width: 100%; font-size: 13px; }
}
