.dol-prayer-tab {
  position: fixed;
  z-index: 29;
  width: 28px;
  height: 54px;
  padding: 8px 0 4px;
  border: 0;
  color: white;
  background: linear-gradient(100deg, #2478b6, #104882);
  clip-path: polygon(0 0, 100% var(--dol-prayer-slope, 10px), 100% 100%, 50% calc(100% - 8px), 0 100%);
}
.dol-prayer-tab:focus-visible { background: #0d3462; outline: 2px solid white; outline-offset: -6px; }
.dol-prayer-tab svg { width: 19px; height: 19px; vertical-align: middle; }
.dol-prayer-dialog {
  box-sizing: border-box;
  width: min(31rem, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 7rem;
  border: 1px solid #aec5df;
  border-radius: 20px;
  box-shadow: 0 18px 54px rgb(12 30 64 / 30%);
  color: #132b4c;
  background: #fff;
}
.dol-prayer-dialog::backdrop { background: rgb(13 29 52 / 62%); }
.dol-prayer-dialog header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  color: white;
  background: linear-gradient(115deg, #102d68, #165794);
}
.dol-prayer-dialog header p { margin: 4px 0 0; line-height: 1.3; font-size: .86rem; }
.dol-prayer-dialog [data-close] {
  padding: 0;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 50%;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 1.5rem;
}
.dol-prayer-dialog h2 { margin: 0; font-size: 1.25rem; }
.dol-prayer-dialog form { display: grid; gap: 12px; margin: 0; padding: 16px; }
.dol-prayer-dialog label { display: block; }
.dol-prayer-dialog input:not([type=checkbox]), .dol-prayer-dialog select, .dol-prayer-dialog textarea {
  width: 100%; box-sizing: border-box; display: block; margin-top: 3px; padding: 9px;
  border: 1px solid #9eafc4; border-radius: 10px; background: white; color: #132b4c; font: inherit; font-size: max(1rem, 16px);
}
.dol-prayer-dialog button { min-height: 44px; min-width: 44px; }
.dol-prayer-dialog [type=submit] { padding: 8px 15px; color: white; background: #165794; border: 0; border-radius: 7px; width: 100%; font: inherit; font-weight: 700; }
.dol-prayer-dialog [hidden], .dol-prayer-tab[hidden] { display: none !important; }
.dol-prayer-dialog [role=status]:empty { display: none; }

.dol-prayer-dialog small { line-height: 1.4; color: #40546d; }
.dol-prayer-dialog .dol-prayer-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #f1f6fc;
  font-size: .88rem;
  line-height: 1.45;
}
.dol-prayer-check input { width: 16px; height: 16px; margin: .18em 0 0; accent-color: #165794; }
.dol-prayer-dialog [data-privacy] { width: fit-content; color: #164f90; font-size: .88rem; }
.dol-prayer-dialog [role=status] { margin: 0; padding: 0 16px 16px; }
.dol-prayer-dialog :focus-visible { outline: 2px solid #297bc4; outline-offset: 2px; }
.dol-prayer-dialog header button:focus-visible { outline-color: white; }

#dol-support #dol-support-panel {
  box-sizing: border-box;
  width: min(31rem, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 5rem;
  border-radius: 20px;
  box-shadow: 0 18px 54px rgb(67 14 26 / 30%);
}

#dol-support #dol-support-panel .dol-support-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  color: white;
  background: linear-gradient(115deg, #65162d, #a3324d);
}

#dol-support #dol-support-panel #dol-support-title {
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1.25;
  text-align: left;
}

#dol-support #dol-support-panel .dol-support-close {
  position: static;
  display: grid;
  box-sizing: border-box;
  flex: 0 0 44px;
  place-items: center;
  inline-size: 44px;
  min-inline-size: 44px;
  max-inline-size: 44px;
  block-size: 44px;
  min-block-size: 44px;
  max-block-size: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 50%;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

#dol-support #dol-support-panel .dol-support-close:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

#dol-support #dol-support-panel .dol-support-modal-content { padding: 16px; }
#dol-support #dol-support-panel .dol-support-modal-content > .dol-support-brand { display: none; }
#dol-support #dol-support-panel .dol-support-action { width: 100%; }
