.social-post-tools, .social-post-actions, .social-post-networks {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}
.social-post-tools > .field { flex: 1 1 230px; min-width: 0; }
.social-post-tools input, .social-post-tools select { width: 100%; min-width: 0; }
.social-post-tools select {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.social-post-networks { margin: 12px 0; }
.social-post-networks label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
}
.social-post-networks input { accent-color: #a35b38; width: 18px; height: 18px; }
.social-post-list { display: grid; gap: 10px; }
.social-post-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.social-post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fbf8f4; border-radius: 7px; }
.social-post-meta { display: grid; gap: 5px; }
.social-post-meta time, .social-post-state { color: var(--muted); }
.social-post-actions, .social-post-state, .social-post-date { grid-column: 1 / -1; }
.social-post-date {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}
.social-post-date input { width: 100%; min-width: 0; }
.social-post-state summary { cursor: pointer; }
.social-post-state p { white-space: pre-wrap; margin: 6px 0; }
@media (max-width: 480px) {
  .social-post-card { grid-template-columns: 58px minmax(0, 1fr); }
}
#tab-social-posts [hidden] { display: none; }


.social-post-caption { grid-column: 1 / -1; min-width: 0; }
.social-post-caption p { white-space: pre-wrap; margin: 5px 0; }
.social-post-caption textarea { display: block; width: 100%; min-width: 0; margin: 5px 0 8px; resize: vertical; }
.social-post-card-networks, .social-post-previews { grid-column: 1 / -1; min-width: 0; }
.social-post-card-networks { margin: 0; }
.social-post-previews { display: grid; gap: 6px; }
.social-post-previews summary { cursor: pointer; }
.social-post-previews p { margin: 6px 0; white-space: pre-wrap; }
.social-post-fill { margin-top: 16px; }
.social-post-fill fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.social-post-fill legend { font-weight: 600; padding: 0; }
.social-post-fill-days { margin: 8px 0 12px; }
.social-post-fill .field { flex: 0 1 180px; }
