/* Phase 6 (#4): interest-group meetup / help posts */
.gp-tabs { display: flex; gap: 6px; margin: 4px 0 14px; border-bottom: 1px solid #e5e7eb; }
.gp-tab { appearance: none; border: 0; background: none; padding: 10px 14px; font: inherit; font-weight: 600; color: #6b7280; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.gp-tab--on { color: #1d4ed8; border-bottom-color: #2563eb; }
.gp-posts-open #chatRules, .gp-posts-open #chatLoading, .gp-posts-open #chatError,
.gp-posts-open #chatNotFound, .gp-posts-open #chatGate, .gp-posts-open #chatRoom { display: none !important; }
.gp-panel { display: grid; gap: 12px; }
.gp-intro { margin: 0; color: #374151; line-height: 1.55; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-actions .grp-btn, a.grp-btn { text-decoration: none; display: inline-flex; align-items: center; }
.gp-safety { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 0.86rem; line-height: 1.5; }
.gp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gp-empty { color: #6b7280; padding: 18px 0; text-align: center; }
.gp-item__link { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.gp-item__link:hover { border-color: #93c5fd; }
.gp-item__title { font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.gp-item__meta { color: #4b5563; font-size: 0.86rem; overflow-wrap: anywhere; }
.gp-badge { justify-self: start; display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.gp-badge--meetup { background: #dcfce7; color: #166534; }
.gp-badge--help { background: #e0e7ff; color: #3730a3; }
.gp-badge--past { background: #f3f4f6; color: #6b7280; }
.gp-more { margin-top: 22px; padding: 16px; border: 1px dashed #cbd5e1; border-radius: 16px; background: #f8fafc; display: grid; gap: 10px; }
.gp-more__title { margin: 0; font-size: 1.05rem; }
.gp-more__text, .gp-more__hint { margin: 0; color: #4b5563; line-height: 1.5; }
.gp-more__hint { font-size: 0.84rem; color: #6b7280; }
.gp-create { display: grid; gap: 8px; padding: 14px; margin-bottom: 16px; border-radius: 14px; background: #eff6ff; border: 1px solid #bfdbfe; }
.gp-create__title { margin: 0; font-weight: 700; color: #1e3a8a; }
.gp-create__group { margin: 0; color: #1e40af; font-size: 0.9rem; }
.gp-create__label { margin-top: 4px; }
.gp-create input { width: 100%; box-sizing: border-box; }
.gp-postline { display: grid; gap: 4px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.gp-postline p { margin: 0; }
.gp-postline__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gp-postline__group { color: #166534; font-weight: 600; text-decoration: none; }
.gp-postline__meta { color: #374151; font-size: 0.9rem; overflow-wrap: anywhere; }
.gp-map { color: #1d4ed8; }
.gp-panel[hidden], .gp-actions [hidden] { display: none !important; }

/* Simplified group posting (PO 2026-10-23): hide everything except what the group post needs. */
body.gp-mode .create-type-toggle,
body.gp-mode .form-page__intro,
body.gp-mode .create-more { display: none !important; }
body.gp-mode--meetup .create-media,
body.gp-mode--meetup .form-group--checkbox { display: none !important; }
body.gp-mode--meetup #content { min-height: 4.5rem; }
.gp-create--head { margin-bottom: 0.5rem; }
