.fp-more-drawer {
  width: min(390px, 92vw);
}

.fp-more-header {
  align-items: flex-start;
  padding: 1rem;
}

.fp-more-header p {
  margin: .25rem 0 0;
  color: var(--fp-ink-600, #53645e);
  font-size: .82rem;
  line-height: 1.4;
}

.fp-more-header .btn-close {
  min-width: 44px;
  min-height: 44px;
  margin: 0;
}

.fp-more-drawer .offcanvas-body {
  background: var(--fp-sand-50, #fbf9f3);
}

.fp-more-drawer .fp-drawer-link {
  min-height: 62px;
  background: #fff;
}

.fp-drawer-link-copy {
  min-width: 0;
}

.fp-drawer-link-copy strong,
.fp-drawer-link-copy small {
  display: block;
}

.fp-drawer-link-copy small {
  margin-top: .12rem;
  color: var(--fp-ink-600, #53645e);
  font-size: .72rem;
  font-weight: 550;
  line-height: 1.35;
}

.fp-more-drawer .fp-drawer-link.is-current {
  border-color: var(--fp-forest-700, #176b5b);
  color: var(--fp-forest-800, #115347);
  background: var(--fp-mint-100, #ddf3ed);
}

.fp-more-drawer .fp-drawer-link.is-current::after {
  content: "Here";
  margin-left: auto;
  color: var(--fp-forest-700, #176b5b);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fp-more-drawer .fp-drawer-link.is-current .badge {
  margin-left: 0 !important;
}

.fp-more-drawer .accordion-button {
  min-height: 54px;
}

.fp-more-drawer .fp-sub-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.fp-more-drawer .fp-drawer-link:focus-visible,
.fp-more-drawer .fp-sub-link:focus-visible,
.fp-more-drawer .accordion-button:focus-visible,
.fp-more-drawer .fp-appearance-option:focus-visible,
.fp-more-drawer .btn-close:focus-visible {
  outline: 3px solid var(--fp-lime-400, #b7db6e);
  outline-offset: 2px;
  box-shadow: none;
}

@media (max-width: 430px) {
  .fp-more-drawer {
    width: 100vw;
  }
}

[data-bs-theme="dark"] .fp-more-header p,
[data-bs-theme="dark"] .fp-drawer-link-copy small {
  color: #b6c5bf;
}

[data-bs-theme="dark"] .fp-more-drawer .offcanvas-body {
  background: #111915;
}

[data-bs-theme="dark"] .fp-more-drawer .fp-drawer-link.is-current {
  border-color: #6fb7a5 !important;
  color: #d9f5eb !important;
  background: #1d3a31 !important;
}
/* Location and page search use only the existing, permission-filtered menu. */
.fp-more-drawer .fp-drawer-location { margin-top: .65rem; color: #294d40; }
.fp-drawer-search { padding: 1rem; }
.fp-drawer-search[hidden], #fp-page-search-results[hidden] { display: none !important; }
.fp-drawer-search label { display: block; font-weight: 700; margin-bottom: .4rem; }
.fp-drawer-search input { width: 100%; min-height: 44px; border: 1px solid #9cafa5; border-radius: 12px; padding: .6rem .75rem; font: inherit; font-size: 1rem; color: #17231f; background: #fff; }
.fp-drawer-search input:focus-visible, #fp-page-search-results a:focus-visible { outline: 3px solid #719532; outline-offset: 2px; }
#fp-page-search-status { font-size: .875rem; margin: .5rem 0 0; }
#fp-page-search-results { list-style: none; padding: 0; margin: .75rem 0 0; }
#fp-page-search-results a { display: flex; align-items: center; min-height: 44px; padding: .65rem .5rem; border-bottom: 1px solid #d7e2de; color: #176b5b; font-weight: 700; text-underline-offset: 4px; }
.is-searching-pages .offcanvas-body > :is(.fp-drawer-section-title, .fp-drawer-links, .fp-drawer-accordion, .fp-drawer-footer) { display: none; }
.fp-more-drawer [data-fp-current-destination] { background: #ddf3ed; border-inline-start: 3px solid #176b5b; color: #123b34; font-weight: 800; }
[data-bs-theme="dark"] .fp-more-drawer .fp-drawer-location { color: #ccdcd4; }
[data-bs-theme="dark"] #fp-page-search-results a { color: #c8ef8f; border-color: #567265; }
[data-bs-theme="dark"] .fp-more-drawer [data-fp-current-destination] { color: #c8ef8f; background: #19382e; border-color: #c8ef8f; }
