.request-receiver-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(30, 99, 182, 0.1), rgba(215, 0, 91, 0.08)),
    var(--panel);
  padding: 22px;
  box-shadow: var(--shadow);
}

.request-receiver-hero h3 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.request-receiver-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.request-receiver-layout {
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  margin-top: 16px;
}

.request-receiver-unit-list,
.request-template-check-list,
.request-receiver-form,
.request-receiver-detail,
#requestTemplateSelectorWrap {
  display: grid;
  gap: 10px;
}

.request-receiver-unit-list {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.request-receiver-unit-list button,
.request-template-check {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 10px;
  text-align: left;
}

.request-receiver-unit-list button {
  cursor: pointer;
}

.request-receiver-unit-list button.active,
.request-template-check:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.request-template-check-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.request-template-check-wrap > button {
  align-self: center;
  white-space: nowrap;
}

.request-receiver-unit-list strong,
.request-template-check strong {
  font-size: 14px;
}

.request-receiver-unit-list span,
.request-template-check em {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-receiver-unit-list em,
.request-template-check b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.request-template-check {
  grid-template-columns: auto minmax(0, 1fr) auto;
  cursor: pointer;
}

.request-template-check input {
  width: auto;
}

.request-template-check span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.church-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 4px;
}

.church-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.church-tab strong {
  min-width: 26px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  padding: 2px 7px;
  font-size: 12px;
  text-align: center;
}

.church-tab.active {
  border-color: var(--brand);
  background: rgba(215, 0, 91, 0.08);
  color: var(--brand);
}

.church-tab.active strong {
  background: var(--brand);
  color: #fff;
}

.request-direction-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.request-direction-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.request-direction-tabs button.active {
  border-color: var(--brand);
  background: rgba(215, 0, 91, 0.08);
  color: var(--brand);
}

