@charset "EUC-JP";

.participant-message-card {
  margin: 22px 0;
  border: 1px solid #e5d6d6;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.participant-message-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px 12px;
}
.participant-message-card__head h2 { margin: 2px 0 0; font-size: 1.2rem; }
.participant-message-card__head a { font-weight: 700; text-decoration: none; }
.participant-message-card__label,
.participant-message-kicker {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 800;
  opacity: .72;
}
.participant-message-card__summary {
  display: flex;
  gap: 8px;
  align-items: center;
}
.participant-message-count {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #8f1d2c;
  color: #fff;
  font-weight: 800;
}
.participant-message-card__list { border-top: 1px solid #eee; }
.participant-message-card__item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}
.participant-message-card__item:last-child { border-bottom: 0; }
.participant-message-card__item.is-unread { background: #fff8f8; }
.participant-message-card__subject { display: block; font-weight: 800; }
.participant-message-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; font-size: .82rem; opacity: .78; }
.participant-message-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bbb;
}
.is-unread .participant-message-dot { background: #a51f32; box-shadow: 0 0 0 4px rgba(165,31,50,.10); }
.participant-message-mini-important { font-weight: 800; color: #9b1429; }
.participant-message-card__arrow { font-weight: 800; opacity: .5; }

.participant-message-hero {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #fff8f8;
  border: 1px solid #ead8da;
}
.participant-message-hero h2 { margin: 4px 0 8px; }
.participant-message-hero p { margin: 0; }
.participant-message-summary { display: flex; gap: 10px; }
.participant-message-summary > div {
  min-width: 92px;
  padding: 12px;
  text-align: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eadfe0;
}
.participant-message-summary span { display: block; font-size: .78rem; }
.participant-message-summary strong { display: block; margin-top: 2px; font-size: 1.5rem; }

.participant-message-filter { display: flex; gap: 8px; margin: 0 0 14px; }
.participant-message-filter a {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #ddd;
  text-decoration: none;
  font-weight: 700;
}
.participant-message-filter a.is-current { background: #3f3f43; color: #fff; border-color: #3f3f43; }

.participant-message-list {
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.participant-message-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 17px 18px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
.participant-message-row:last-child { border-bottom: 0; }
.participant-message-row.is-unread { background: #fff8f8; }
.participant-message-row.is-important { border-left: 5px solid #a51f32; }
.participant-message-unread-dot,
.participant-message-read-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.participant-message-unread-dot { background: #a51f32; box-shadow: 0 0 0 4px rgba(165,31,50,.10); }
.participant-message-read-dot { background: #bbb; }
.participant-message-row__meta { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.participant-message-row__meta time { font-size: .8rem; opacity: .68; }
.participant-message-row__body strong { display: block; }
.participant-message-row__body small { display: block; margin-top: 4px; opacity: .7; }
.participant-message-row__arrow { font-weight: 800; opacity: .45; }
.participant-message-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
}
.participant-message-badge--important { background: #a51f32; color: #fff; }
.participant-message-badge--ack { background: #fff0c7; color: #6e4a00; }
.participant-message-badge--done { background: #e7f4ea; color: #225a2d; }
.participant-message-empty { padding: 30px 20px; text-align: center; color: #666; }

.participant-message-detail {
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.participant-message-detail.is-important { border-top: 5px solid #a51f32; }
.participant-message-detail__head { padding: 22px 24px; border-bottom: 1px solid #eee; }
.participant-message-detail__head h2 { margin: 10px 0 18px; }
.participant-message-detail__head dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: .9rem;
}
.participant-message-detail__head dt { font-weight: 800; }
.participant-message-detail__head dd { margin: 0; }
.participant-message-detail__badges { display: flex; gap: 7px; flex-wrap: wrap; }
.participant-message-detail__body {
  padding: 28px 24px;
  line-height: 1.9;
  word-break: break-word;
}
.participant-message-confirm {
  margin: 0 24px 24px;
  padding: 18px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #ead8a5;
}
.participant-message-confirm h3 { margin-top: 0; }
.participant-message-confirm button {
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  background: #8f1d2c;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.participant-message-confirm__done { font-weight: 800; }
.participant-message-detail__footer {
  padding: 12px 24px 18px;
  border-top: 1px solid #eee;
  font-size: .82rem;
  color: #666;
}
@media (max-width: 720px) {
  .participant-message-hero { flex-direction: column; }
  .participant-message-summary { width: 100%; }
  .participant-message-summary > div { flex: 1; }
  .participant-message-card__head { align-items: flex-start; }
  .participant-message-detail__head dl { grid-template-columns: 1fr; }
}
