
.announcement-editor { display: grid; gap: 16px; max-width: 960px; padding: 20px; }
.announcement-editor h2, .announcement-editor p { margin: 0; }
.announcement-editor-heading, .announcement-editor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.announcement-editor-fields, .announcement-section {
  display: grid;
  justify-items: start;
  min-inline-size: 0;
  margin: 0;
  gap: 12px;
}
.announcement-editor-fields { border: 0; padding: 0; }
.announcement-section { width: 100%; padding: 12px; border: 1px solid #d6e1db; border-radius: 8px; }
.announcement-section legend { padding: 0 6px; font-weight: 650; }
.announcement-editor label { display: grid; gap: 5px; width: 100%; font-weight: 650; }
.announcement-editor label small { font-weight: 400; }
.announcement-editor input:not([type="checkbox"]), .announcement-editor textarea, .announcement-editor select {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #bacbc2;
  border-radius: 6px;
  color: inherit;
  background: #fff;
  font: inherit;
}
.announcement-editor label.announcement-checkbox { display: flex; align-items: center; gap: 8px; }
.announcement-notice:empty { display: none; }
.announcement-notice[role="alert"] { color: #91372e; }
.announcement-picture {
  position: relative;
  overflow: hidden;
  width: min(100%, 380px);
  aspect-ratio: 16 / 9;
  background: #edf3ef;
  border-radius: 9px;
}
.announcement-picture img, .announcement-picture .content-ledger-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.announcement-picture img { object-fit: contain; }

.announcement-activity-toggle { justify-self: start; }
.announcement-activity:not([hidden]) {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d6e1db;
  border-radius: 8px;
  background: #f7faf8;
}
.announcement-activity h3 { margin: 0; }
.announcement-activity [role="status"]:empty { display: none; }
.announcement-activity-summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.announcement-activity-summary > div {
  flex: 1 1 140px;
  padding: 10px;
  border: 1px solid #d6e1db;
  border-radius: 8px;
  background: #fff;
}
.announcement-activity-summary dt { font-weight: 650; }
.announcement-activity-summary dd { margin: 0; color: #0f766e; font-size: 22px; font-weight: 750; }
.announcement-activity-summary small { font-size: 12px; font-weight: 500; }
.announcement-activity-scroll { overflow: auto; max-height: 380px; }
.announcement-activity-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.announcement-activity-table :is(th, td) { padding: 8px; text-align: left; border-bottom: 1px solid #d6e1db; }
.announcement-activity-table th[scope="col"] { position: sticky; top: 0; background: #f7faf8; }
.announcement-activity-table th small { display: block; font-weight: 400; overflow-wrap: anywhere; }
