/*
 * HAR SHALOM CEMETERY — Family-Opt-In Public Funeral Timeline & Alerts Styles.
 *
 * File     public/harshalom/static/funerals.css
 * Version  0.024.0 · 2026-11-27
 *
 * Bright, dignified light palette matching hs.css DESIGN_V2 tokens.
 * Text floor >= 13px across all viewports.
 */

.hs .hs-fnl {
  max-width: 1020px;
  margin: 0 auto;
  padding: 18px 16px 36px;
  display: grid;
  gap: 18px;
}

.hs .hs-fnl__privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--hs-r, 12px);
  border: 1px solid var(--hs-line);
  background: var(--hs-surface);
  font-size: 14px;
  line-height: 1.45;
  color: var(--hs-ink);
}

.hs .hs-fnl__privacy-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs .hs-fnl__live-banner {
  padding: 14px 16px;
  border-radius: var(--hs-r, 12px);
  border: 2px solid var(--hs-accent);
  background: var(--hs-accent-soft);
  color: var(--hs-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.hs .hs-fnl__live-banner.is-delay {
  border-color: #b45309;
  background: #fef3c7;
  color: #78350f;
}

.hs .hs-fnl__empty {
  padding: 26px 22px;
  text-align: left;
}

.hs .hs-fnl__empty-h {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--hs-ink);
}

.hs .hs-fnl__empty-yi {
  margin: 0 0 12px;
  font-family: var(--hs-serif);
  font-size: 17px;
  color: var(--hs-accent-ink);
}

.hs .hs-fnl__empty-p {
  margin: 0 0 18px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--hs-muted);
}

.hs .hs-fnl__empty-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs .hs-fnl__list {
  display: grid;
  gap: 18px;
}

.hs .hs-fnl__card {
  padding: 20px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--hs-line);
}

.hs .hs-fnl__card.is-delayed {
  border-color: #d97706;
}

.hs .hs-fnl__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hs .hs-fnl__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hs .hs-fnl__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hs .hs-fnl__badge--ok {
  background: var(--hs-accent-soft);
  color: var(--hs-accent-ink);
  border: 1px solid var(--hs-accent);
}

.hs .hs-fnl__badge--delay {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #d97706;
}

.hs .hs-fnl__badge--done {
  background: #f3f1ec;
  color: var(--hs-muted);
  border: 1px solid var(--hs-line);
}

.hs .hs-fnl__sec,
.hs .hs-fnl__date {
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-muted);
}

.hs .hs-fnl__name {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  color: var(--hs-ink);
}

.hs .hs-fnl__he {
  margin: 4px 0 0;
  font-family: var(--hs-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--hs-ink);
}

.hs .hs-fnl__delay {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d97706;
  background: #fffbeb;
  color: #78350f;
  font-size: 15px;
  line-height: 1.45;
}

.hs .hs-fnl__status {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--hs-line);
  background: #fbfaf7;
  font-size: 15px;
  font-weight: 600;
  color: var(--hs-ink);
}

.hs .hs-fnl__status.is-fifteen {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .hs-fnl__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}

.hs .hs-fnl__step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--hs-line);
  background: var(--hs-surface);
}

.hs .hs-fnl__step--done {
  background: #fbfaf7;
}

.hs .hs-fnl__step--now {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .hs-fnl__step-num {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #ebe7de;
  color: var(--hs-ink);
}

.hs .hs-fnl__step--done .hs-fnl__step-num,
.hs .hs-fnl__step--now .hs-fnl__step-num {
  background: var(--hs-accent);
  color: #ffffff;
}

.hs .hs-fnl__step-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hs .hs-fnl__step-lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--hs-ink);
}

.hs .hs-fnl__step-when {
  font-size: 13px;
  color: var(--hs-muted);
}

.hs .hs-fnl__alerts {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--hs-line);
  background: #fbfaf7;
  display: grid;
  gap: 12px;
}

.hs .hs-fnl__alerts-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs .hs-fnl__alerts-h {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--hs-ink);
}

.hs .hs-fnl__alerts-sub {
  margin: 0;
  max-width: 58ch;
  font-size: 14px;
  color: var(--hs-muted);
}

.hs .hs-fnl__quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs .hs-fnl__email-box {
  border-top: 1px solid var(--hs-line);
  padding-top: 10px;
}

.hs .hs-fnl__email-sum {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--hs-accent-ink);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.hs .hs-fnl__form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.hs .hs-fnl__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hs .hs-fnl__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.hs .hs-fnl__field {
  display: grid;
  gap: 4px;
}

.hs .hs-fnl__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-ink);
}

.hs .hs-fnl__chk {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--hs-ink);
}

.hs .hs-fnl__form-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs .hs-fnl__msg {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-accent-ink);
}

.hs .hs-fnl__msg.is-err {
  color: var(--hs-danger);
}
