/* --- PROJECT ALL-HANDS HUB --- */
#message-area:has(.project-all-hands-content),
.message-area:has(.project-all-hands-content),
.project-all-hands-area {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 0% !important;
  overflow: hidden !important;
  position: relative !important;
  place-content: initial !important;
  place-items: initial !important;
  width: 100% !important;
}

#message-area:has(.project-all-hands-content) > *,
.message-area:has(.project-all-hands-content) > *,
.project-all-hands-area > * {
  grid-area: auto !important;
}

.project-all-hands-content {
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  box-sizing: border-box;
}

.all-hands-meeting-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.all-hands-meeting-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.25;
}

.all-hands-meeting-meta {
  color: var(--text-secondary);
  font-size: 14px;
}

.all-hands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 850px) {
  .all-hands-grid {
    grid-template-columns: 1fr;
  }
}

.all-hands-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.all-hands-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.all-hands-bullet-list {
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
}

.all-hands-bullet-list li {
  margin-bottom: 8px;
}

.all-hands-bullet-list li:last-child {
  margin-bottom: 0;
}

.all-hands-list-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.all-hands-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.all-hands-list-item--row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.all-hands-item-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.all-hands-item-title--completed {
  color: var(--text-secondary);
  text-decoration: line-through;
}

.all-hands-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: center;
}

.all-hands-action-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.all-hands-checkbox-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.all-hands-checkbox-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.all-hands-checkbox-input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-blue);
  cursor: pointer;
  margin: 0;
}

.all-hands-badge {
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.all-hands-badge--orange {
  background: #ffedd5;
  color: #c2410c;
}

.all-hands-badge--blue {
  background: #dbeafe;
  color: #1e3a8a;
}

.all-hands-secondary-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.all-hands-secondary-btn:hover {
  background: var(--surface-alt);
}

/* Meeting Notes Dialog Modal */
.all-hands-notes-dialog {
  background: transparent;
  border: 0;
  padding: 0;
  outline: none;
  margin: auto;
  max-width: 100vw;
  max-height: 100vh;
}

.all-hands-notes-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.all-hands-notes-panel {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  inline-size: min(540px, calc(100vw - 2rem));
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.all-hands-notes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.all-hands-notes-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.all-hands-notes-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.all-hands-notes-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.all-hands-notes-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  padding: 0 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.all-hands-notes-close-btn:hover {
  color: var(--text-primary);
  background: var(--surface-alt);
}

.all-hands-notes-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 4px;
}

.all-hands-notes-paragraph {
  margin: 0 0 12px 0;
}

.all-hands-notes-paragraph:last-child {
  margin-bottom: 0;
}

.all-hands-notes-empty {
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

.all-hands-notes-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}
