html,
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-200%);
  padding: 10px 14px;
  border: 1px solid #0b6f60;
  background: #ffffff;
  color: #333333;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared theme tokens */
:root {
  --brand_color: rgb(151, 0, 46);
  --accent_color: #086050;
  --accent_color_hover: #06483d;
}

[x-cloak] {
  display: none !important;
}

html[data-admin-skip-page-overlay="1"] #admin-page-loading-overlay {
  display: none !important;
}

a:not([class]) {
  color: var(--accent_color);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f1b454;
  outline-offset: 2px;
}

/* Brand colors */
.bg-brand {
  background-color: var(--brand_color);
}

.bg-accent {
  background-color: var(--accent_color);
}

.bg-page {
  background-color: #e0d9c9;
}

.text-brand {
  color: var(--brand_color);
}

.text-menu {
  color: #d6cbb4;
}

.text-accent {
  color: var(--accent_color);
}

.page {
  margin-left: auto;
  margin-right: auto;
  /* padding-left: 30px;
  padding-right: 30px; */
  width: 100%;
  font-family: Verdana, sans-serif;
  color: #333333;
  line-height: 150%;
}

.site-brand-nav {
  display: flex;
  align-items: stretch;
  height: 135px;
  margin-top: 2px;
  margin-bottom: 0;
  background: #ffffff;
  overflow: hidden;
}

.site-brand {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 7px 16px 5px;
  text-decoration: none;
}

.site-brand:focus-visible {
  outline: 3px solid #d57700;
  outline-offset: -3px;
}

.site-brand__logo {
  display: block;
  width: 100%;
  max-width: 398px;
  max-height: 123px;
  height: auto;
}

.site-nav {
  display: flex;
  flex: 0 0 auto;
}

.site-nav__item {
  position: relative;
  display: flex;
  width: 176px;
  height: 135px;
  flex: 0 0 176px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #d7d0c6;
  background-image: url("/images/header/top-nav-bg-sprite.png");
  background-repeat: no-repeat;
  background-size: 704px 272px;
  text-decoration: none;
}

.site-nav__item:hover,
.site-nav__item:focus-visible,
.site-nav__item.is-active {
  background-position-y: -137px;
}

.site-nav__item--about {
  background-position: 0 0;
}

.site-nav__item--songs {
  background-position: -176px 0;
}

.site-nav__item--help {
  background-position: -352px 0;
}

.site-nav__item--resources {
  background-position: -528px 0;
  border-right: 1px solid #d7d0c6;
}

.site-nav__item--about:hover,
.site-nav__item--about:focus-visible,
.site-nav__item--about.is-active {
  background-position: 0 -137px;
}

.site-nav__item--songs:hover,
.site-nav__item--songs:focus-visible,
.site-nav__item--songs.is-active {
  background-position: -176px -137px;
}

.site-nav__item--help:hover,
.site-nav__item--help:focus-visible,
.site-nav__item--help.is-active {
  background-position: -352px -137px;
}

.site-nav__item--resources:hover,
.site-nav__item--resources:focus-visible,
.site-nav__item--resources.is-active {
  background-position: -528px -137px;
}

.site-nav__label {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
  color: #dfd3bf;
}

.sidebar-ad-link {
  display: block;
}

.sidebar-ad-link:focus-visible {
  outline: 3px solid #d57700;
  outline-offset: 3px;
}

.sidebar-ad-link img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero {
  margin-top: 2px;
}

.home-hero__content {
  display: flex;
  min-height: 108px;
  background: #000000;
}

.home-hero__title-wrap {
  display: flex;
  flex: 0 0 43%;
  align-items: center;
  padding: 20px 26px;
  background: #000000;
}

.home-hero__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #e0d9c9;
  text-transform: none;
}

.home-hero__image-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  padding: 0 28px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.22) 22%, rgba(0, 0, 0, 0.06) 38%, rgba(0, 0, 0, 0.08) 100%),
    url("/images/header/top-banner.jpg") center center / cover no-repeat;
}

.home-hero__subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 8px 18px 9px;
  background: var(--accent_color);
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f5f1e8;
}

.home-hero__subscribe:hover {
  background: var(--accent_color_hover);
}

.site-header-logo-row {
  background: #efe7d8;
  border-bottom: 1px solid #b8ad98;
}

.site-header-logo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
}

.site-header-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header-logo-image {
  display: block;
  width: min(398px, 100%);
  height: auto;
}

.site-header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-header-nav-link {
  color: var(--brand_color);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header-nav-link:hover {
  color: var(--accent_color);
}

.site-header-hero-row {
  background:
    linear-gradient(90deg, rgba(60, 28, 18, 0.78) 0%, rgba(60, 28, 18, 0.28) 45%, rgba(60, 28, 18, 0.1) 100%),
    url("/images/header/top-banner.jpg") center / cover no-repeat;
  border-bottom: 1px solid #9e937f;
}

.site-header-hero-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  padding: 18px;
}

.site-header-hero-copy {
  max-width: 520px;
  color: #fff8ee;
}

.site-header-hero-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header-hero-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  font-family: "Oswald", Verdana, sans-serif;
}

.site-header-hero-text {
  margin: 8px 0 0;
  font-size: 14px;
  max-width: 480px;
}

.site-header-hero-cta {
  margin-top: 14px;
}

@media (max-width: 800px) {
  .site-header-logo-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-nav {
    justify-content: flex-start;
  }

  .site-header-hero-inner {
    padding: 16px;
  }

  .site-header-hero-title {
    font-size: 24px;
  }
}

.home-search {
  color: #333333;
}

.home-search__intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}

.home-search__intro-link,
.home-search__details-link,
.home-search__assistive-copy a {
  color: var(--accent_color);
  font-weight: 700;
  text-decoration: none;
}

.home-search__details-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.home-search__intro-link:hover,
.home-search__details-link:hover,
.home-search__assistive-copy a:hover {
  text-decoration: underline;
}

.home-search__section-header .home-search__details-link {
  color: #ffffff;
  text-decoration: underline;
}

.home-search__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}

.home-search__section {
  border: 1px solid #d0ccc3;
  background: #f3f1ec;
}

.home-search__section-header {
  background: #6f6a64;
  color: #ffffff;
}

.home-search__section-header h2 {
  margin: 0;
  padding: 9px 10px 10px;
  font-size: 18px;
  line-height: 1.15;
}

.home-search__section-body {
  padding: 11px 12px 13px;
}

.home-search__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
}

.home-search__primary-grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.95fr) minmax(400px, 1.15fr) minmax(145px, 0.75fr);
  gap: 14px;
  align-items: start;
}

.home-search--subscribed .home-search__primary-grid {
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 28px;
  justify-content: stretch;
}

.home-search__fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.home-search__fieldset legend {
  margin-bottom: 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.home-search__check-item,
.home-search__radio-item,
.home-search__check-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  font-size: 13px;
  line-height: 1.25;
}

.home-search__check-item input,
.home-search__radio-item input,
.home-search__check-inline input {
  margin: 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #d67d1a;
}

.home-search__check-item + .home-search__check-item,
.home-search__radio-item + .home-search__radio-item,
.home-search__check-inline + .home-search__check-inline {
  margin-top: 3px;
}

.home-search__fieldset--composers .home-search__check-item {
  align-items: flex-start;
}

.home-search__composer-name {
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: help;
}

.home-search__composer-info {
  position: relative;
  display: inline-block;
}

.home-search__composer-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 35;
  display: none;
  width: min(440px, calc(100vw - 48px));
  border: 1px solid #cfcfcf;
  background: #ffffff;
  padding: 10px 12px;
  color: #333333;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.home-search__composer-info:hover .home-search__composer-popover,
.home-search__composer-info:focus-within .home-search__composer-popover {
  display: block;
}

.home-search__selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 132px));
  gap: 8px;
  justify-content: start;
}

.home-search--subscribed .home-search__selects {
  min-width: 0;
  width: 100%;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
}

.home-search--subscribed .home-search__fieldset--tone {
  width: auto;
  justify-self: start;
}

.home-search--subscribed .home-search__field select {
  width: 100%;
}

.home-search__field select,
.home-search__row input,
.home-search__row select,
.home-search__row textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c6c1b6;
  background: #ffffff;
  padding: 4px 7px;
  font-size: 13px;
  line-height: 1.25;
  color: #333333;
}

.home-search__field select,
.home-search__row select {
  height: 27px;
}

.home-search__field select {
  width: 132px;
}

.home-search__row textarea {
  min-height: 32px;
  resize: vertical;
}

.home-search__lyricist-combobox {
  position: relative;
}

.home-search__combo-input-wrap {
  position: relative;
}

.home-search__combo-input-wrap input {
  padding-right: 34px;
}

.home-search__combo-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 30px;
  border: 0;
  border-left: 1px solid #c6c1b6;
  background: linear-gradient(180deg, #f5f4f1 0%, #e7e2d8 100%);
  padding: 0;
  cursor: pointer;
}

.home-search__combo-toggle:hover {
  background: linear-gradient(180deg, #efede8 0%, #ded8cd 100%);
}

.home-search__combo-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #5f594f;
}

.home-search__combo-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 40;
  border: 1px solid #c6c1b6;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.home-search__combo-list {
  max-height: 220px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
}

.home-search__combo-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 6px 8px;
  text-align: left;
  font-size: 13px;
  line-height: 1.25;
  color: #333333;
  cursor: pointer;
}

.home-search__combo-option:hover,
.home-search__combo-option.is-active {
  background: #ece7df;
}

.home-search__combo-empty {
  margin: 0;
  padding: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #5c5c5c;
}

.home-search__keyword-picker {
  position: relative;
  min-width: 0;
}

.home-search__keyword-trigger {
  display: flex;
  min-height: 32px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #c6c1b6;
  background: #ffffff;
  padding: 4px 7px;
  cursor: pointer;
}

.home-search__keyword-chip-wrap {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
}

.home-search__keyword-placeholder {
  color: #5f5a52;
}

.home-search__keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #c7c7c7;
  background: linear-gradient(180deg, #fafafa 0%, #ececec 100%);
  padding: 2px 6px;
  line-height: 1.2;
}

.home-search__keyword-chip-remove {
  border: 0;
  background: transparent;
  padding: 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.home-search__keyword-trigger-arrow {
  flex: 0 0 auto;
  padding-top: 1px;
  color: #6b6b6b;
}

.home-search__keyword-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 45;
  border: 1px solid #c6c1b6;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.home-search__keyword-panel-header {
  border-bottom: 1px solid #ddd9d0;
  background: #f7f5f0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.2;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-search__keyword-panel-scroll,
.home-search__keyword-modal-scroll {
  max-height: 236px;
  overflow-y: auto;
}

.home-search__keyword-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 7px 10px;
  text-align: left;
  color: var(--accent_color);
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
}

.home-search__keyword-option:hover,
.home-search__keyword-option:focus-visible,
.home-search__keyword-option.is-selected {
  background: #ece7df;
}

.home-search__keyword-option.is-selected {
  font-weight: 700;
}

.home-search__keyword-option-check {
  flex: 0 0 auto;
  color: #3f3f3f;
}

.home-search__keyword-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
}

.home-search__keyword-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.home-search__keyword-modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border: 1px solid #d7d0c6;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.home-search__keyword-modal-header,
.home-search__keyword-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.home-search__keyword-modal-header {
  border-bottom: 1px solid #e0d9cf;
}

.home-search__keyword-modal-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #333333;
}

.home-search__keyword-modal-close {
  border: 0;
  background: transparent;
  padding: 0;
  color: #bfb9b2;
  font-size: 38px;
  line-height: 0.8;
  cursor: pointer;
}

.home-search__keyword-modal-body {
  padding: 16px 20px 20px;
}

.home-search__keyword-modal-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.home-search__keyword-definition-card {
  min-height: 220px;
  background: #171717;
  padding: 14px 16px;
  color: #ffffff;
}

.home-search__keyword-definition-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
}

.home-search__keyword-definition-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.home-search__keyword-modal-list-card {
  border: 1px solid #ddd9d0;
  background: #ffffff;
}

.home-search__keyword-option--modal {
  padding: 8px 10px;
}

.home-search__keyword-modal-footer {
  border-top: 1px solid #e0d9cf;
  justify-content: flex-end;
}

.home-search__keyword-modal-done {
  min-width: 126px;
  border: 1px solid #0b6f60;
  border-radius: 4px;
  background: linear-gradient(180deg, #17957f 0%, #0a7f6d 100%);
  padding: 9px 18px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.home-search__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-search__detail-card {
  border: 1px solid #cbc7bf;
  background: #fbfbfa;
  padding: 10px 9px 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.home-search__detail-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
  color: #333333;
}

.home-search__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-search__row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.home-search__row--textarea {
  align-items: start;
}

.home-search__row--split {
  align-items: center;
}

.home-search__row--voice-range {
  align-items: start;
}

.home-search__split-fields {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.home-search__split-fields select:first-child {
  max-width: 50px;
}

.home-search__split-fields select:last-child {
  max-width: 50px;
}

.home-search__split-fields--wide select:first-child {
  max-width: 56px;
}

.home-search__split-fields--wide select:last-child {
  flex: 1 1 auto;
  max-width: none;
}

.home-search__date-block {
  margin: 13px 0 0;
  border: 0;
  padding: 0;
}

.home-search__date-option {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
}

.home-search__date-option + .home-search__date-option {
  margin-top: 12px;
}

.home-search__date-choice {
  align-self: center;
}

.home-search__range-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.home-search__range-row select,
.home-search__range-row input {
  width: 58px;
  min-width: 0;
  height: 27px;
  border: 1px solid #c6c1b6;
  background: #ffffff;
  padding: 4px 7px;
  font-size: 13px;
  line-height: 1.25;
  color: #333333;
}

.home-search__criteria-pairs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.home-search__criteria-pair {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.home-search__pair-label {
  line-height: 1.25;
  padding-top: 1px;
}

.home-search__pair-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.home-search__pair-options .home-search__check-inline {
  width: fit-content;
  white-space: nowrap;
}

.home-search__voice-range-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.home-search__voice-range-launch,
.home-search__voice-preview {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.home-search__voice-range-launch {
  color: var(--accent_color);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-search__voice-preview {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 18px;
}

.home-search__voice-preview-icon {
  display: inline-flex;
  width: 62px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid #c6c1b6;
  background: #ffffff;
}

.home-search__voice-preview-icon svg {
  width: 62px;
  height: 28px;
  display: block;
}

.home-search__voice-preview-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #333333;
}

.home-search__voice-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.home-search__voice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.home-search__voice-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 32px);
  margin: 24px auto;
  overflow: auto;
  border: 1px solid #d7d0c6;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.home-search__voice-modal-header,
.home-search__voice-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.home-search__voice-modal-header {
  border-bottom: 1px solid #e0d9cf;
}

.home-search__voice-modal-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #333333;
}

.home-search__voice-close {
  border: 0;
  background: transparent;
  padding: 0;
  color: #bfb9b2;
  font-size: 38px;
  line-height: 0.8;
  cursor: pointer;
}

.home-search__voice-modal-body {
  padding: 10px 20px 20px;
}

.home-search__voice-instructions {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #4b463f;
}

.home-search__voice-keyboard-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
}

.home-search__voice-keyboard-wrap {
  position: relative;
  padding-top: 36px;
}

.home-search__voice-middle-c {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  color: #333333;
  font-size: 13px;
  line-height: 1;
}

.home-search__voice-middle-c i {
  display: block;
  width: 2px;
  height: 28px;
  margin: 6px auto 0;
  background: #222222;
}

.home-search__voice-keyboard {
  position: relative;
  height: 112px;
  border: 1px solid #d6d0c7;
  background: #fdfdfd;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.home-search__voice-key {
  position: absolute;
  top: 0;
  width: 25px;
  height: 100px;
  border: 1px solid #d4d0c7;
  border-radius: 0 0 7px 7px;
  background: #ffffff;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 0;
  cursor: pointer;
}

.home-search__voice-key:focus-visible,
.home-search__voice-key.is-focused {
  outline: 3px solid #d57700;
  outline-offset: 2px;
  z-index: 4;
}

.home-search__voice-key--black {
  z-index: 2;
  width: 24px;
  height: 70px;
  border-color: #232323;
  border-radius: 0 0 5px 5px;
  background: #232323;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.32), 0 3px 6px rgba(0, 0, 0, 0.12);
}

.home-search__voice-key--black:focus-visible,
.home-search__voice-key--black.is-focused {
  z-index: 5;
}

.home-search__voice-key.is-active {
  background: #9cc9dc;
  border-color: #7eb4cb;
}

.home-search__voice-key--black.is-active {
  background: #33579a;
  border-color: #29457a;
}

.home-search__voice-key.is-boundary {
  background: #8bc0d8;
  border-color: #5e9ab7;
}

.home-search__voice-key--black.is-boundary {
  background: #2d4f8c;
  border-color: #233d6d;
}

.home-search__voice-key.is-exact {
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.08), 0 0 0 2px #f1b454;
}

.home-search__voice-key--black.is-exact {
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.28), 0 0 0 2px #f1b454;
}

.home-search__voice-slider-rail {
  position: relative;
  height: 26px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3f1ec 0%, #e2dfd8 100%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.home-search__voice-slider-marker {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
}

.home-search__voice-slider-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 12px solid #8ab6e4;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.home-search__voice-slider-marker span {
  display: inline-block;
  min-width: 36px;
  border-radius: 4px 4px 0 0;
  background: #222222;
  padding: 5px 6px 4px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.home-search__voice-limits {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.home-search__voice-limit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.home-search__voice-limit-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-left: 0;
}

.home-search__voice-limit-controls select {
  width: 108px;
  height: 31px;
  border: 1px solid #c6c1b6;
  background: #ffffff;
  padding: 4px 6px;
  font-size: 13px;
  line-height: 1.25;
  color: #333333;
}

.home-search__voice-note-chip {
  min-width: 44px;
  color: #444444;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.home-search__voice-note-chip.is-empty {
  color: #6c675f;
  font-weight: 400;
}

.home-search__voice-modal-footer {
  border-top: 1px solid #e0d9cf;
  justify-content: space-between;
}

.home-search__voice-clear {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent_color);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.home-search__voice-done {
  min-width: 126px;
  border: 1px solid #0b6f60;
  border-radius: 4px;
  background: linear-gradient(180deg, #17957f 0%, #0a7f6d 100%);
  padding: 9px 18px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.home-search__assistive-copy {
  margin: -2px 0 4px 136px;
  font-size: 12px;
  line-height: 1.45;
  color: #5c5c5c;
}

.home-search__assistive-link-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent_color);
  font-size: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.home-search__assistive-link-button:hover {
  text-decoration: underline;
}

.home-search__label-with-help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-search__help {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.home-search__help-trigger {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: #0b8574;
  padding: 0;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.home-search__help-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: block;
  width: min(320px, calc(100vw - 32px));
  border: 1px solid #cfcfcf;
  background: #ffffff;
  padding: 10px;
  color: #333333;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.45;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.home-search__help-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.home-search__help-copy {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
}

.home-search__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.home-search__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent_color);
  font-size: 13px;
  cursor: pointer;
}

.home-search__clear::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle cx='7' cy='7' r='5.5' fill='%23ffffff' stroke='%23b8b1a4'/%3E%3Cpath d='M10.9 10.9l4.1 4.1' stroke='%23958d80' stroke-linecap='round' stroke-width='1.6'/%3E%3Cpath d='M7 4.2v5.6M4.2 7h5.6' stroke='%230d8b74' stroke-linecap='round' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 17px 17px;
}

.home-search__submit {
  min-width: 112px;
  border: 1px solid #0b6f60;
  border-radius: 4px;
  background: linear-gradient(180deg, #17957f 0%, #0a7f6d 100%);
  padding: 9px 20px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.home-search__submit:hover {
  background: linear-gradient(180deg, #138976 0%, #086f5f 100%);
}

.search-results {
  margin-top: 18px;
  border: 1px solid #d0ccc3;
  background: #ffffff;
  padding: 18px 18px 16px;
  color: #333333;
  font-size: 14px;
  line-height: 1.45;
}

.search-results__summary {
  margin: 0;
}

.search-results__summary em {
  font-style: italic;
}

.search-results__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
}

.search-results__action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent_color);
  text-decoration: none;
  font-size: 13px;
}

.search-results__action-link:hover {
  text-decoration: underline;
}

.search-results__action-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.search-results__action-icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

.search-results__action-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.search-results__button-row {
  margin-top: 12px;
}

.search-results__add-button {
  display: inline-block;
  min-width: 260px;
  border: 1px solid #0b6f60;
  border-radius: 4px;
  background: linear-gradient(180deg, #17957f 0%, #0a7f6d 100%);
  padding: 8px 12px;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.search-results__add-button:hover {
  background: linear-gradient(180deg, #138976 0%, #086f5f 100%);
}

.search-results__add-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.search-results__note {
  margin: 18px 0 0;
  font-size: 13px;
}

.search-results__note a {
  color: var(--accent_color);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-results__note a:hover {
  text-decoration: underline;
}

.search-results__table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.search-results__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.search-results__table th {
  background: #6f6a64;
  padding: 8px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  vertical-align: bottom;
}

.search-results__table th:last-child {
  width: 92px;
}

.search-results__table td {
  border-top: 1px solid #ddd9d0;
  padding: 9px 10px;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.25;
}

.search-results__table tbody tr:nth-child(even) td {
  background: #f4f2ee;
}

.search-results__secondary {
  color: #4f4f4f;
}

.search-results__title-head {
  min-width: 150px;
}

.search-results__head-label {
  display: block;
  text-decoration: underline;
}

.search-results__select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.search-results__select-all input,
.search-results__title-select input {
  margin: 0;
  width: 13px;
  height: 13px;
  accent-color: #d67d1a;
}

.search-results__title-cell {
  min-width: 150px;
}

.search-results__title-select {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.search-results__song-link {
  color: var(--accent_color);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-results__song-link:hover {
  text-decoration: underline;
}

.search-results__empty {
  padding: 16px 10px;
  color: #5f5a52;
}

.search-results__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.search-results__page-indicator {
  font-size: 13px;
}

.search-results__page-links {
  display: flex;
  gap: 12px;
}

.search-results__page-link {
  color: var(--accent_color);
  text-decoration: none;
}

.search-results__page-link:hover {
  text-decoration: underline;
}

.song-detail {
  color: #333333;
}

.song-detail__lead {
  margin-bottom: 14px;
}

.song-detail__lead p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
}

.song-detail__lead strong,
.song-detail__meta-label {
  font-weight: 700;
}

.song-detail a {
  color: var(--accent_color);
  text-decoration: none;
}

.song-detail a:hover {
  text-decoration: underline;
}

.song-detail__meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: #ece9e2;
  border: 1px solid #d5d1c8;
}

.song-detail__meta-column {
  padding: 12px 14px 10px;
}

.song-detail__meta-item {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.45;
}

.song-detail__meta-item:last-child {
  margin-bottom: 0;
}

.song-detail__meta-value {
  margin-left: 4px;
}

.song-detail__help {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.song-detail__help-trigger {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: #0b8574;
  padding: 0;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.song-detail__help-trigger:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.song-detail__help-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  display: block;
  width: min(260px, calc(100vw - 32px));
  border-radius: 2px;
  background: #111111;
  padding: 8px 10px;
  color: #ffffff;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.song-detail__help-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.song-detail__help-copy {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.song-detail__tag-row,
.song-detail__comment-row {
  border: 1px solid #d5d1c8;
  border-top: 0;
  background: #f6f3ee;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.55;
}

.song-detail__tag-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.song-detail__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.song-detail__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  background: #d7d4d0;
  color: #4a4742;
  font-size: 14px;
  line-height: 1.2;
}

.song-detail__comment-row p {
  display: inline;
  margin: 0 0 0 8px;
}

.song-detail__button-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.song-detail__add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid #086f5f;
  border-radius: 4px;
  background: #0a7f6d;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.song-detail__add-button:hover {
  opacity: 0.92;
  text-decoration: none !important;
}

.song-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 28px;
}

.song-detail__action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.song-detail__action-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent_color);
  cursor: pointer;
}

.song-detail__action-button:hover {
  text-decoration: underline;
}

.song-detail__link-popover {
  position: relative;
  display: inline-flex;
}

.song-detail__link-popover::before {
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 29;
  display: block;
  width: 275px;
  height: 14px;
  transform: translateX(-50%);
  content: "";
}

.song-detail__link-popover-panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 30;
  display: block;
  width: 275px;
  transform: translateX(-50%);
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #ffffff;
  color: #333333;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.song-detail__link-popover-panel::before,
.song-detail__link-popover-panel::after {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-style: solid;
  content: "";
}

.song-detail__link-popover-panel::before {
  bottom: -11px;
  border-width: 11px 11px 0;
  border-color: #cfcfcf transparent transparent;
}

.song-detail__link-popover-panel::after {
  bottom: -10px;
  border-width: 10px 10px 0;
  border-color: #ffffff transparent transparent;
}

.song-detail__link-popover-title {
  display: block;
  border-bottom: 1px solid #e2e2e2;
  background: #f5f5f5;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 400;
}

.song-detail__link-popover-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px 10px;
}

.song-detail__link-popover-list a {
  line-height: 1.2;
}

.song-detail__link-feedback {
  display: block;
  padding: 8px 14px 14px;
}

.song-detail__action-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.song-detail__action-icon svg {
  width: 30px;
  height: 30px;
}

.song-detail__resource-block {
  margin-top: 28px;
}

.song-detail__resource-block h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  color: #333333;
}

.song-detail__search-form {
  display: flex;
  max-width: 420px;
  gap: 8px;
}

.song-detail__search-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 32px;
  border: 1px solid #cfc8bd;
  padding: 0 10px;
  font-size: 14px;
  color: #333333;
}

.song-detail__search-form button {
  height: 32px;
  min-width: 108px;
  border: 1px solid #b7b2ab;
  background: linear-gradient(to bottom, #ffffff 0%, #dfddd8 100%);
  color: #444444;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1280px) {
  .home-search--free .home-search__primary-grid {
    grid-template-columns: 1fr;
  }

  .home-search__selects {
    grid-template-columns: repeat(3, minmax(0, 132px));
  }
}

@media (max-width: 767px) {
  .song-detail__meta-grid {
    grid-template-columns: 1fr;
  }

  .song-detail__tag-row {
    flex-direction: column;
  }

  .song-detail__button-row {
    justify-content: flex-start;
  }

  .song-detail__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .song-detail__search-form {
    flex-direction: column;
  }

  .song-detail__search-form button {
    min-width: 0;
    width: 100%;
  }

  .site-brand-nav {
    flex-direction: column;
    height: auto;
  }

  .site-brand {
    padding: 14px 16px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav__item {
    width: 50%;
    height: 104px;
    flex-basis: 50%;
    background-size: 704px 272px;
  }

  .site-nav__label {
    font-size: 18px;
  }

  .home-hero__content {
    flex-direction: column;
  }

  .home-hero__title-wrap {
    flex-basis: auto;
    padding: 18px 20px;
  }

  .home-hero__title {
    font-size: 27px;
  }

  .home-hero__image-wrap {
    min-height: 120px;
    justify-content: flex-start;
    padding: 18px 20px;
  }

  .home-hero__subscribe {
    font-size: 22px;
  }

  .home-search__primary-grid,
  .home-search__detail-grid {
    grid-template-columns: 1fr;
  }

  .home-search__selects {
    grid-template-columns: 1fr;
  }

  .home-search__row,
  .home-search__criteria-pair {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-search__pair-options .home-search__check-inline {
    white-space: normal;
  }

  .home-search__row--stack-mobile {
    align-items: start;
  }

  .home-search__voice-preview {
    align-items: flex-start;
  }

  .home-search__voice-preview-text {
    font-size: 20px;
  }

  .home-search__voice-modal-panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }

  .home-search__keyword-modal-panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }

  .home-search__voice-modal-header,
  .home-search__voice-modal-body,
  .home-search__voice-modal-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-search__keyword-modal-header,
  .home-search__keyword-modal-body,
  .home-search__keyword-modal-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-search__voice-limits {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-search__voice-limit-controls {
    padding-left: 0;
    flex-wrap: wrap;
  }

  .home-search__assistive-copy {
    margin-left: 0;
  }

  .home-search__date-option {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .home-search__keyword-modal-grid {
    grid-template-columns: 1fr;
  }

  .home-search__keyword-definition-card {
    min-height: 0;
  }

  .home-search__range-row {
    flex-wrap: wrap;
  }

  .home-search__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .home-search__field select {
    width: 100%;
  }

  .home-search__submit {
    width: 100%;
  }

  .search-results {
    padding: 14px 12px;
  }

  .search-results__table {
    min-width: 660px;
  }
}

.subscribe-box h2 {
  font-size: 19px;
  background: #c4c3c1;
  padding: 14px 16px;
  margin: 0;
  font-weight: 400;
  line-height: 1;
}

/* .subscribe-box-header {
  background: #c9c9c9;
  padding: 12px 16px;
  font-size: 22px;
  font-weight: 600;
} */

.subscribe-box-body {
  padding: 16px 16px 16px;
  line-height: 150%;
}

.subscribe-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
  line-height: 21px;
  font-size: 14px;
}

.subscribe-list li {
  padding-left: 28px;
  margin-bottom: 0;
  background: url("/images/icons/bullet.png") no-repeat left 4px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent_color);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent_color_hover);
}

/* Admin list loading UI */
.admin-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(1px);
}

.admin-page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(1px);
}

.admin-loading-spinner {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 4px solid rgba(151, 0, 46, 0.18);
  border-top-color: var(--brand_color);
  border-right-color: var(--brand_color);
  animation: admin-spin 0.75s linear infinite;
}

.admin-loading-label {
  color: var(--brand_color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg);
  }
}

.panel {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  padding: 20px;
}

.panel h1 {
  font-size: 1.5em;
  margin-bottom: 0.75em;
}

.subscribe-page {
  font-size: 14px;
}

.subscribe-page h1 {
  font-size: 2.2em;
  margin-bottom: 0.9em;
  line-height: 1.1;
}

.subscribe-page-login-note {
  margin-bottom: 16px;
  color: #666;
}

.subscribe-page-login-note a {
  color: var(--accent_color);
}

.subscribe-page-section + .subscribe-page-section {
  margin-top: 28px;
}

.subscribe-page-section h2,
.subscribe-page-section h3 {
  margin-bottom: 12px;
}

.subscribe-page-section h2 {
  font-size: 1.55em;
}

.subscribe-page-subsection-heading {
  margin-top: 28px;
  font-weight: 700;
}

.subscribe-page-pricing-table {
  width: 100%;
  margin: 14px 0 20px;
  border-collapse: collapse;
}

.subscribe-page-pricing-table th,
.subscribe-page-pricing-table td {
  padding: 8px 10px;
  text-align: left;
  border: 1px solid #d0cbc0;
}

.subscribe-page-pricing-table thead th {
  background: #6f6a64;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}

.subscribe-page-pricing-table tbody td {
  background: rgb(236, 234, 229);
  font-weight: 700;
}

.subscribe-page-cta {
  min-width: 146px;
  text-align: center;
}

.subscribe-page-institutional-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}

.subscribe-page-copy p {
  margin-bottom: 14px;
}

.subscribe-page-copy a {
  color: var(--accent_color);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.subscribe-page-steps {
  margin: 0 0 14px 22px;
  padding-left: 0;
}

.subscribe-page-steps li + li {
  margin-top: 4px;
}

.subscribe-page-institutions-panel {
  background: rgb(236, 234, 229);
  padding: 18px 18px 16px;
}

.subscribe-page-institutions-panel h3 {
  font-size: 18px;
  line-height: 1.25;
}

.subscribe-page-institutions-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.subscribe-page-institutions-list li + li {
  margin-top: 4px;
}

.subscribe-page-note {
  color: #666;
}

.subscribe-form-page {
  font-size: 14px;
}

.subscribe-form-intro {
  margin-bottom: 22px;
  color: #444;
}

.subscribe-form {
  max-width: 720px;
}

.subscribe-form-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.subscribe-form-row + .subscribe-form-row {
  margin-top: 20px;
}

.subscribe-form-label {
  padding-top: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.subscribe-form-field {
  max-width: 420px;
}

.subscribe-form-input-wrap {
  position: relative;
}

.subscribe-form-input {
  width: 100%;
  border: 1px solid #c7c7c7;
  background: #eef4ff;
  padding: 10px 12px;
  line-height: 1.3;
}

.subscribe-form-input--with-reveal {
  padding-right: 48px;
}

.subscribe-form-input--locked {
  background: #f4f4f4;
}

.subscribe-form-reveal-button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c6256;
  cursor: pointer;
  transform: translateY(-50%);
}

.subscribe-form-reveal-button:hover {
  color: #41382f;
}

.subscribe-form-reveal-button:focus-visible {
  outline: 2px solid #8d7d67;
  outline-offset: 2px;
  border-radius: 4px;
}

.subscribe-form-reveal-icon {
  width: 18px;
  height: 18px;
}

.subscribe-form-hint {
  margin: 8px 0 0;
  color: #5f5f5f;
  line-height: 1.4;
}

.subscribe-form-hint--confirm {
  font-size: 13px;
}

.subscribe-form-generate-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8afa2;
  background: #f3efe8;
  color: #52473d;
  padding: 3px 10px;
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.subscribe-form-generate-button:hover {
  background: #ebe2d6;
}

.subscribe-form-generated {
  margin-top: 12px;
  border: 1px solid #d6ccbf;
  background: #f8f3ea;
  padding: 12px;
}

.subscribe-form-generated-label {
  margin: 0 0 6px;
  font-weight: 700;
}

.subscribe-form-generated-value {
  display: inline-block;
  min-width: 200px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #cfc7bb;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.subscribe-form-generated-note {
  margin: 8px 0 0;
  color: #5f5f5f;
}

.subscribe-form-error {
  margin-top: 8px;
  color: #d61f1f;
  line-height: 1.35;
}

.subscribe-form-success {
  margin-bottom: 20px;
  border: 1px solid #a9d7cf;
  background: #e6f5f2;
  color: #0a5f52;
  padding: 12px 14px;
}

.subscribe-form-actions {
  padding-left: 232px;
  margin-top: 28px;
}

.subscribe-form-submit {
  min-width: 112px;
  font-size: 18px;
}

.subscribe-payment-page {
  font-size: 14px;
}

.subscribe-payment-intro {
  margin-bottom: 22px;
  color: #444;
}

.subscribe-payment-success {
  margin-bottom: 20px;
  border: 1px solid #a9d7cf;
  background: #e6f5f2;
  color: #0a5f52;
  padding: 12px 14px;
}

.subscribe-payment-error-banner {
  margin-bottom: 20px;
  border: 1px solid #e0b4b4;
  background: #fff0f0;
  color: #8a1f1f;
  padding: 12px 14px;
}

.subscribe-payment-form {
  max-width: 980px;
}

.subscribe-payment-section + .subscribe-payment-section,
.subscribe-payment-actions {
  margin-top: 28px;
}

.subscribe-payment-section h2 {
  margin: 0 0 24px;
  background: #c3c0c0;
  color: #333;
  padding: 10px 12px;
  font-size: 20px;
  line-height: 1.2;
}

.subscribe-payment-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.subscribe-payment-row + .subscribe-payment-row {
  margin-top: 20px;
}

.subscribe-payment-label {
  padding-top: 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.subscribe-payment-label span[aria-hidden="true"] {
  color: #d61f1f;
}

.subscribe-payment-label-spacer {
  padding-top: 0;
}

.subscribe-payment-field {
  max-width: 540px;
}

.subscribe-payment-input {
  width: 100%;
  border: 1px solid #c7c7c7;
  background: #fff;
  padding: 10px 12px;
  line-height: 1.3;
}

.subscribe-payment-input-readonly {
  background: #f3f0ea;
  color: #666;
}

.subscribe-payment-textarea {
  min-height: 54px;
  resize: vertical;
}

.subscribe-payment-error {
  margin-top: 8px;
  color: #d61f1f;
  line-height: 1.35;
}

.subscribe-payment-help,
.subscribe-payment-note {
  margin-top: 10px;
  color: #444;
  line-height: 1.45;
}

.subscribe-payment-note {
  font-style: italic;
}

.subscribe-payment-radio-option,
.subscribe-payment-checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.25;
}

.subscribe-payment-radio-option + .subscribe-payment-radio-option,
.subscribe-payment-checkbox-option + .subscribe-payment-checkbox-option {
  margin-top: 6px;
}

.subscribe-payment-radio-option input,
.subscribe-payment-checkbox-option input {
  margin-top: 3px;
}

.subscribe-payment-coupon-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.subscribe-payment-coupon-row .subscribe-payment-input {
  max-width: 220px;
}

.subscribe-payment-apply-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.subscribe-payment-checkbox-list {
  display: grid;
  gap: 2px;
}

.subscribe-payment-other-input {
  margin-top: 12px;
  max-width: 260px;
}

.subscribe-payment-coupon-help {
  margin: 0 0 8px;
  color: #5b5146;
  line-height: 1.4;
}

.subscribe-payment-group-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.subscribe-payment-checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.subscribe-payment-summary-card {
  border: 1px solid #d6d0c3;
  background: #f8f5ef;
  padding: 18px;
}

.subscribe-payment-summary-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.2;
}

.subscribe-payment-summary-card p + p {
  margin-top: 12px;
}

.subscribe-payment-summary-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.subscribe-payment-summary-item {
  display: grid;
  gap: 4px;
}

.subscribe-payment-summary-item dt {
  font-weight: 700;
  color: #5b5146;
}

.subscribe-payment-summary-item dd {
  margin: 0;
  color: #222;
}

.subscribe-payment-actions {
  border-top: 1px solid #ded8cb;
  padding-top: 24px;
}

.subscribe-payment-terms {
  max-width: 720px;
}

.subscribe-payment-button-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.subscribe-payment-secondary-button {
  background: #f1eee7;
  border: 1px solid #c7c0b3;
  color: #444;
}

.subscribe-payment-submit {
  min-width: 224px;
  font-size: 18px;
}

.subscribe-payment-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.subscribe-payment-terms a {
  color: #0c6c5d;
  text-decoration: underline;
}

.subscribe-payment-terms a:hover {
  color: #084f45;
}

.subscribe-payment-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: 360px;
  padding: 12px 16px;
  border: 1px solid #cfc7bb;
  background: #fffdf8;
  color: #2f2f2f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.subscribe-payment-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.subscribe-payment-toast--success {
  border-color: #a9d7cf;
  background: #eef8f6;
  color: #0a5f52;
}

.subscribe-payment-toast--error {
  border-color: #e0b4b4;
  background: #fff0f0;
  color: #8a1f1f;
}

.subscribe-success-page {
  max-width: 980px;
}

.subscribe-success-hero {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 20px 22px;
  border: 1px solid #b9ddd6;
  background: linear-gradient(135deg, #eef8f6 0%, #f8f5ef 100%);
}

.subscribe-success-mark {
  display: flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent_color);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.subscribe-success-intro {
  margin: 8px 0 0;
  color: #4c4c4c;
}

.subscribe-success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.subscribe-success-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
}

.subscribe-success-next-steps {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #ded8cb;
}

.legal-page {
  padding: 28px 32px;
}

.legal-intro {
  margin: 0 0 20px;
  color: #4e4a43;
}

.legal-copy {
  display: grid;
  gap: 20px;
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  color: #302a23;
}

.legal-section p {
  margin: 0;
  color: #37332d;
  line-height: 1.65;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-modal {
  width: min(860px, calc(100vw - 32px));
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.legal-modal::backdrop {
  background: rgba(15, 17, 20, 0.58);
}

.legal-modal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d3ccbe;
  background: #fffdf8;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  max-height: min(88vh, 900px);
  overflow: hidden;
}

.legal-modal-card-loading {
  min-height: 120px;
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #e3ddcf;
}

.legal-modal-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.legal-modal-close {
  border: 1px solid #c8c1b4;
  background: #f5f1e8;
  color: #38332d;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1;
}

.legal-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 24px;
}

@media (max-width: 900px) {
  .subscribe-page-institutional-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .subscribe-form-label {
    padding-top: 0;
    text-align: left;
  }

  .subscribe-form-actions {
    padding-left: 0;
  }

  .subscribe-payment-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .subscribe-payment-label {
    padding-top: 0;
    text-align: left;
  }

  .subscribe-payment-coupon-row,
  .subscribe-payment-button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .subscribe-payment-checkout-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-success-hero {
    flex-direction: column;
  }

  .subscribe-success-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-payment-toast {
    right: 16px;
    left: 16px;
    bottom: 16px;
    max-width: none;
  }

  .legal-page {
    padding: 22px 20px;
  }

  .legal-modal {
    width: calc(100vw - 16px);
  }

  .legal-modal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-modal-body {
    padding: 20px;
  }
}

.panel h2 {
  font-size: 17.5px;
}

.panel .policy-section-heading {
  margin-bottom: 0.75em;
  font-size: 14px;
  line-height: 1.55;
}

.panel .policy-section-heading strong {
  font-size: 14px;
  font-weight: 700;
}

.panel a.text-accent,
.panel .font-medium.text-accent,
.panel .font-semibold.text-accent,
.panel .font-bold.text-accent {
  color: var(--accent_color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-answer a {
  color: var(--accent_color);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.panel .contact-section-heading {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.35;
}

.panel .contact-section-heading strong {
  font-size: 14px;
  font-weight: 700;
}

.panel .contact-email-bar {
  margin-bottom: 16px;
  background: #c4c3c1;
  padding: 8px 10px;
  font-size: 15px;
  line-height: 1.35;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin-bottom: 0.75em;
}

.social-login {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.social-oauth {
  text-decoration: none;
}

.social-oauth .gsi-material-button-icon img {
  width: 22px;
  height: 22px;
  display: block;
}


.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  /* font-family: "Roboto", arial, sans-serif; */
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
  transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  /* font-family: "Roboto", arial, sans-serif; */
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/* Brand colors */
.social-btn.facebook .icon {
  background: #3b5998;
}

.social-btn.google .icon {
  background: #dd4b39;
}

.social-btn.twitter .icon {
  background: #55acee;
}

@media (min-width: 1200px) {
  .page {
    max-width: 1170px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .page {
    max-width: 920px;
  }
}
