.mode-host #moments .moment-moderation {
  display: grid;
  gap: 14px;
  padding: 0 0 20px;
}
.mode-host #moments .moment-moderation .feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
}
.mode-host #moments .moment-moderation .feed-toolbar h2 {
  margin: 0;
  line-height: 1.15;
}
.mode-host #moments .moment-moderation .view-toggle {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 6px;
  background: none;
  border: 0;
  overflow: visible;
}
.mode-host #moments .moment-moderation .view-toggle button {
  min-width: 44px;
  margin: 0;
  padding-inline: 11px;
  background: #1e1b2b;
  border: 1px solid #494057;
  color: #e3d8ee;
}
.mode-host #moments .moment-moderation .view-toggle button[aria-pressed=true] {
  background: #49304d !important;
  border-color: #805675 !important;
  color: #fff !important;
}
.mode-host #moments .moment-host-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,135px),1fr));
  gap: 10px;
  max-width: 520px;
}
.mode-host #moments .moment-host-filters label {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #ded4e7;
  font-size: .84rem;
  font-weight: 650;
}
.mode-host #moments .moment-host-filters select {
  min-height: 44px;
  width: 100%;
  margin: 0;
}
.mode-host #moments .moment-moderation .evm-bulk {
  justify-self: start;
  margin: 0;
  max-width: 100%;
  white-space: normal;
}
.mode-host #moments .share-box .toolbar,
.mode-host #moments .photo-actions,
.mode-guest #moments .moment-share-actions,
.mode-guest #moments .media-filters,
.moment-feed .reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mode-host #moments .share-box .toolbar :is(button,a),
.mode-host #moments .photo-actions button,
.mode-guest #moments .moment-share-actions button,
.mode-guest #moments .media-filters button {
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  white-space: normal;
}
.mode-host #moments .share-box .print-card button { margin: 4px 3px; }
:is(#upload-dialog,#profile-dialog) .composer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
:is(#upload-dialog,#profile-dialog) .composer-top button { flex: 0 0 auto; }
#lightbox .evm-viewer-nav { gap: 8px; }
#lightbox :is(#download-photo,#view-publication) {
  min-height: 44px;
  max-width: 100%;
  margin: 5px 3px;
  white-space: normal;
}
@media(max-width:740px){
  .mode-guest .moment-dock {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr);
    gap: 4px;
  }
  .mode-guest .moment-dock button {
    min-width: 0;
    padding-inline: 1px;
    white-space: normal;
    line-height: 1.15;
  }
  .moment-demo-bar nav { max-width: 100%; }
  .moment-demo-bar button { min-width: 0; line-height: 1.2; }
}
