[data-volunteer-card] { position: relative; }
.volunteer-cover-loop {
  display: block;
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  pointer-events: none;
  visibility: hidden;
}
.volunteer-cover-loop[data-playing] { visibility: visible; }
.volunteer-cover-editor {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%, 18rem),1fr));
  gap: .8rem;
}
.volunteer-cover-card {
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.volunteer-cover-card img {
  width: 5.5rem;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: .4rem;
}
.volunteer-cover-card input { width: 100%; min-width: 0; }
.volunteer-cover-card .actions { margin-block-start: .65rem; }
.volunteer-cover-card [role="status"]:empty { display: none; }

.volunteer-cover-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: .8rem;
}
.volunteer-cover-tools + .volunteer-photos { margin-top: .5rem; }
.volunteer-cover-pencil {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: var(--surface);
  cursor: pointer;
}
.volunteer-cover-pencil:is(:hover,:focus-visible) { border-color: currentColor; }
.volunteer-cover-dialog {
  width: min(94vw,62rem);
  max-height: 88dvh;
  overflow: auto;
  padding: clamp(.75rem,2vw,1.25rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--paper);
  background: var(--surface);
}
.volunteer-cover-dialog::backdrop { background: #000a; }
.volunteer-cover-dialog > button { margin-bottom: .75rem; }
.volunteer-cover-card h3 { margin: 0 0 .45rem; }
.volunteer-cover-card label { display: grid; gap: .3rem; }
.volunteer-contact-fields { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .55rem; }
.volunteer-contact-fields summary { cursor: pointer; font-weight: 650; }
.volunteer-contact-fields label { margin-block: .5rem; }
.volunteer-contact-fields textarea { width: 100%; min-width: 0; }
.public-news-editor .house-event-form { max-width: none; }
.public-news-editor .house-event-form[hidden],
.public-news-editor .house-event-controls[hidden],
.public-news-editor .house-event-form [hidden],
.public-news-editor-status:empty { display: none; }
.public-news-editor .house-event-form > section { display: grid; gap: .65rem; }
.public-news-editor .house-event-form label { display: grid; gap: .3rem; }
.public-news-editor .house-event-form .house-event-single-day { display: flex; align-items: center; }
.public-news-editor .house-event-form .house-event-single-day input { width: 1.1rem; min-height: 0; }
.public-news-editor .house-event-row { display: grid; grid-template-columns: 3rem minmax(0,1fr) auto; gap: .6rem; align-items: center; border-top: 1px solid var(--line); padding-block: .6rem; }
.public-news-editor .house-event-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .3rem; }
.public-news-editor .house-event-row h3 { overflow-wrap: anywhere; }
.public-news-editor .house-event-row-actions { display: flex; gap: .2rem; }
.public-news-editor .house-event-row-actions button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
.public-news-editor .house-event-publisher { display: block; font-size: .85rem; }
.public-news-editor-status.error { color: var(--focus); }
