/*  Songbook theme overrides extracted from Sabbath Prep ownership boundary.  */
body[data-theme] .songbook-dialog {
  border-color: var(--theme-panel-border);
  background: var(--theme-panel-bg);
  box-shadow: var(--theme-panel-shadow);
}
body.theme-dark .sabbath-prep-songs-help, body.theme-dark .sabbath-prep-songs-status, body.theme-dark .sabbath-prep-song-result-excerpt, body.theme-dark .sabbath-prep-song-suggestion-meta {
  color: #aebfdd;
}
body.theme-dark .sabbath-songbook-toggle, body.theme-dark .sabbath-prep-song-result, body.theme-dark .songbook-dialog {
  border-color: rgba(190, 154, 79, 0.22);
  background: rgba(34, 27, 13, 0.58);
}
body.theme-dark .sabbath-songbook-card {
  background: linear-gradient(180deg, rgba(18, 31, 38, 0.96), rgba(14, 24, 30, 0.86));
  border-color: rgba(93, 145, 177, 0.24);
}
body.theme-dark .sabbath-songbook-toggle {
  border-color: transparent;
  background: transparent;
}
body.theme-dark .sabbath-songbook-hero-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 28px rgba(3, 10, 19, 0.26);
}
body.theme-dark .sabbath-songbook-hero-icon {
  border-color: rgba(93, 156, 181, 0.24);
  background:
    radial-gradient(circle at 80% 18%, rgba(104, 185, 214, 0.22), transparent 28%),
    linear-gradient(160deg, rgba(18, 47, 58, 0.96), rgba(13, 35, 43, 0.94));
}
body.theme-dark .sabbath-prep-songbook-search-label, body.theme-dark .sabbath-prep-songbook-filter-label, body.theme-dark .sabbath-prep-song-result-meta, body.theme-dark .songbook-dialog-eyebrow, body.theme-dark .songbook-dialog-slide-label {
  color: #eac97a;
}
body.theme-dark .sabbath-prep-songs-title, body.theme-dark .sabbath-prep-song-result-title, body.theme-dark .sabbath-prep-song-suggestion-title, body.theme-dark .songbook-dialog-title, body.theme-dark .songbook-dialog-slide-text {
  color: #f7edd4;
}
body.theme-dark .songbook-dialog-meta, body.theme-dark .songbook-dialog-share-help, body.theme-dark .songbook-dialog-counter, body.theme-dark .songbook-dialog-zoom-value {
  color: #cbb690;
}
body.theme-dark.home-sabbath-songbook-active #sabbathPrepSongbookCard {
  background:
    radial-gradient(circle at top right, rgba(83, 145, 176, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(11, 21, 28, 0.99), rgba(13, 28, 37, 0.99));
}
body.theme-dark.home-sabbath-songbook-active #sabbathPrepSongbookCard > .sabbath-songbook-toggle {
  background: linear-gradient(180deg, rgba(11, 21, 28, 0.96), rgba(11, 21, 28, 0.88));
  border-bottom-color: rgba(90, 159, 193, 0.18);
}
body.theme-dark.home-sabbath-prep-active #sabbathPrepSongbookCard.is-quick-switch > .sabbath-songbook-toggle {
  background:
    radial-gradient(circle at top right, rgba(90, 159, 193, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(13, 28, 37, 0.98), rgba(18, 41, 50, 0.95));
}
body.theme-dark .sabbath-prep-songbook-search-input, body.theme-dark .sabbath-prep-songbook-filter-select, body.theme-dark .sabbath-prep-songbook-suggestions, body.theme-dark .sabbath-prep-song-suggestion, body.theme-dark .songbook-dialog-slide-surface, body.theme-dark .songbook-dialog-zoom, body.theme-dark .songbook-dialog-share-trigger.ghost-btn, body.theme-dark .songbook-dialog-share-action.ghost-btn, body.theme-dark .songbook-dialog-nav.ghost-btn, body.theme-dark .songbook-dialog-zoom-btn.ghost-btn, body.theme-dark .sabbath-prep-song-favorite-btn {
  border-color: rgba(190, 154, 79, 0.22);
  background: rgba(24, 19, 10, 0.86);
  color: #f7edd4;
}
body.theme-dark .songbook-dialog-share-trigger.ghost-btn[aria-expanded="true"] {
  background: rgba(74, 55, 19, 0.96);
}
body.theme-dark .songbook-dialog-share-panel {
  border-color: rgba(190, 154, 79, 0.24);
  background: linear-gradient(180deg, rgba(34, 27, 13, 0.96), rgba(50, 37, 16, 0.94));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}
body.theme-dark .songbook-dialog-share-panel-title {
  color: #eac97a;
}
body.theme-dark .sabbath-prep-song-result.is-favorite {
  border-color: rgba(224, 171, 71, 0.42);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}
body.theme-dark .sabbath-prep-song-favorite-btn.is-active {
  border-color: rgba(224, 171, 71, 0.42);
  background: rgba(92, 63, 10, 0.92);
  color: #ffd27a;
}
body.theme-dark .sabbath-prep-card.is-shabbat-live .sabbath-prep-song-result, body.theme-dark .sabbath-prep-card.is-shabbat-live .songbook-dialog {
  background: rgba(52, 37, 11, 0.84);
}
body.theme-dark.sabbath-songbook-dialog-active::after {
  background: linear-gradient(180deg, rgba(16, 14, 11, 0.78), rgba(29, 23, 13, 0.92));
}
body.theme-dark .worship-program-songbook-panel .sabbath-prep-song-result.is-selected {
  border-color: rgba(112, 211, 179, 0.34);
  background: linear-gradient(160deg, rgba(19, 53, 48, 0.98), rgba(16, 46, 43, 0.94));
}
body.theme-dark.worship-program-song-active #worshipProgramSongDialogHost > .songbook-dialog, body.theme-dark.sabbath-songbook-dialog-active .songbook-dialog.is-sabbath-fullscreen {
  background: linear-gradient(180deg, rgba(34, 27, 13, 0.995), rgba(25, 20, 10, 0.99));
}
body.theme-dark.sabbath-songbook-dialog-active .songbook-dialog.is-sabbath-fullscreen::before {
  background: linear-gradient(180deg, rgba(31, 25, 14, 0.995), rgba(27, 22, 12, 0.96));
  border-bottom-color: rgba(196, 159, 89, 0.16);
}
body.theme-business #sabbathPrepSongbookCard {
  height: 100%;
}
body.theme-business .sabbath-songbook-toggle {
  border-radius: 18px;
  border-color: rgba(16, 66, 83, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 249, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed > .sabbath-songbook-toggle {
  min-height: 188px;
  padding: 18px;
  align-items: end;
  align-content: end;
  background-size: cover, cover, cover;
  background-position: center, center, center;
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed > .sabbath-songbook-toggle {
  background:
    linear-gradient(180deg, rgba(16, 48, 65, 0.02), rgba(16, 48, 65, 0.78)),
    linear-gradient(160deg, rgba(249, 252, 255, 0.98), rgba(208, 231, 244, 0.96));
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed > .sabbath-songbook-toggle::before {
  background: url("../../home-hymnal.jpg") center / cover no-repeat;
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed .sabbath-songbook-toggle-copy {
  display: grid;
  gap: 5px;
  align-self: end;
  max-width: min(100%, 17rem);
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed .sabbath-songbook-hero-icon {
  display: none;
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed .sabbath-songbook-eyebrow {
  color: rgba(233, 245, 246, 0.78);
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed .sabbath-songbook-title {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(7, 24, 31, 0.42);
}
body.theme-business .home-priority-grid > .sabbath-songbook-card.is-collapsed .sabbath-songbook-help {
  display: block !important;
  color: rgba(235, 244, 245, 0.88);
  text-shadow: 0 2px 16px rgba(7, 24, 31, 0.36);
}
body.theme-business .sabbath-songbook-hero-icon {
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(250, 253, 253, 0.98), rgba(223, 237, 237, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 28px rgba(12, 44, 55, 0.12);
}
body.theme-business .sabbath-songbook-title {
  overflow-wrap: anywhere;
  hyphens: auto;
}
body.theme-business .sabbath-songbook-help {
  color: #5a7481;
}
