:root{}
@charset "UTF-8";
:root {
  --collection-card-cover-height-large: 220px!important;
}

.notion-collection-gallery.large, .notion-collection-gallery.medium {
  gap: 24px !important;
}

/* Template filters (SSO-2352, 2026-11-17). The gallery views are: All, Free, one per use case, Paid, and as the LAST 27 one per profession.
   The page body script builds a filter list (aside.tpl-side) from those tabs and adds .tpl-has-side to the collection; the tabs
   themselves are then hidden. Without the script the tabs stay, with the professions on their own rows (fallback rules below). */
.page__templates .notion-dropdown__option-list > .notion-dropdown__option:nth-last-child(-n+27) {
  order: 2;
  height: 34px !important;
  padding: 2px 10px !important;
}

.page__templates .notion-dropdown__option-list > .notion-dropdown__option:nth-last-child(-n+27) p {
  font-size: 0.875rem !important;
}

.page__templates .notion-dropdown__option-list::after {
  content: "By profession";
  order: 1;
  flex-basis: 100%;
  border-top: 1px solid var(--gray-100);
  margin: 8px 0 2px;
  padding: 10px 10px 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.page__templates .notion-collection .notion-dropdown {
  position: relative !important;
  z-index: 30 !important;
}

@media (min-width: 768px) {
  .page__templates .notion-dropdown__option-list > .notion-dropdown__option:nth-last-child(n+28) {
    height: 38px !important;
    padding: 4px 10px !important;
  }
  .page__templates .notion-dropdown__option-list > .notion-dropdown__option:nth-last-child(n+28) p {
    font-size: 0.875rem !important;
  }
}
/* Filter sidebar */
.page__templates .tpl-has-side > .notion-collection__header-wrapper {
  display: none !important;
}

.page__templates .tpl-side {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.page__templates .tpl-side input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  background: #fff;
  color: inherit;
  margin-bottom: 12px;
  outline: none;
  -webkit-appearance: none;
}

.page__templates .tpl-side input:focus {
  border-color: var(--gray-400);
}

.page__templates .tpl-side a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px;
  margin-top: 2px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
}

.page__templates .tpl-side a span {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.page__templates .tpl-side a:hover {
  background: var(--gray-50);
}

.page__templates .tpl-side a.on {
  background: #111;
  color: #fff;
}

.page__templates .tpl-side a.on span {
  color: #bbb;
}

.page__templates .tpl-side details {
  border-top: 1px solid var(--gray-100);
  margin-top: 10px;
  padding-top: 10px;
}

.page__templates .tpl-side summary {
  display: flex;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 2px 10px 2px 0;
}

.page__templates .tpl-side summary::-webkit-details-marker {
  display: none;
}

.page__templates .tpl-side summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gray-400);
  font-weight: 400;
}

.page__templates .tpl-side details[open] > summary::after {
  content: "–";
}

.page__templates .tpl-empty {
  grid-column: 2;
  color: var(--gray-500);
  margin: 0;
}

/* Sentence above the filters */
.page__templates .tpl-sentence {
  grid-column: 1/-1;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--gray-900);
  margin: 0 0 28px;
}

.page__templates .tpl-sel {
  position: relative;
  display: inline-block;
}

.page__templates .tpl-sel > button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 3px solid #ffbe3d;
  padding: 0 22px 0 2px;
  margin: 0 2px;
  cursor: pointer;
  position: relative;
}

.page__templates .tpl-sel > button::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: translateY(-70%) rotate(45deg);
}

.page__templates .tpl-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 40;
  width: 560px;
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  overflow-y: auto;
  columns: 3;
  column-gap: 18px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35);
  padding: 14px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.page__templates .tpl-sel.open .tpl-menu {
  display: block;
}

.page__templates .tpl-menu h5 {
  margin: 10px 0 4px;
  padding: 0 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  break-after: avoid;
}

.page__templates .tpl-menu a {
  display: block;
  padding: 4px 6px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none !important;
  break-inside: avoid;
}

.page__templates .tpl-menu a:hover {
  background: var(--gray-50);
}

.page__templates .tpl-menu a.on {
  font-weight: 600;
}

@media (max-width: 700px) {
  .page__templates .tpl-sentence {
    font-size: 1.125rem;
    margin-bottom: 20px;
  }
  /* Menus hang from the whole sentence, not from the word: a word that wraps to a line start pushed a right-aligned menu off screen. */
  .page__templates .tpl-sentence {
    position: relative;
  }
  .page__templates .tpl-sel {
    position: static;
  }
  .page__templates .tpl-menu {
    columns: 1;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    top: calc(100% + 8px);
  }
}
@media (min-width: 900px) {
  .page__templates .notion-collection.tpl-has-side {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }
  .page__templates .tpl-has-side > .tpl-side {
    grid-column: 1;
    grid-row: 2/span 3;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    margin-bottom: 0;
    padding-right: 4px;
  }
  .page__templates .tpl-has-side > .notion-collection-gallery {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* No jump while the page loads: the tab row is collapsed and the room for the sentence and the filter list is reserved from the first
   paint, so the gallery does not move when the script mounts them. If the script never runs, the tabs come back after 6 s. */
@keyframes tpl-fallback {
  to {
    height: auto;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
  }
}
@keyframes tpl-unreserve {
  to {
    padding: 0;
  }
}
@keyframes tpl-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.page__templates .tpl-side, .page__templates .tpl-sentence {
  animation: tpl-in 0.25s ease-out;
}

.page__templates .notion-collection.inline:not(.tpl-has-side) {
  padding-top: 875px;
  animation: tpl-unreserve 0s 6s forwards;
}

.page__templates .notion-collection.inline:not(.tpl-has-side) > .notion-collection__header-wrapper {
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  animation: tpl-fallback 0s 6s forwards;
}

@media (min-width: 900px) {
  .page__templates .notion-collection.inline:not(.tpl-has-side) {
    padding: 61px 0 0 270px;
  }
  .page__templates .notion-collection.inline > .notion-collection-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}