/**
 * IdeaBoard Premium Template Gallery
 * Original built-in template library, optimized for desktop, iPad and phone.
 */
body.template-picker-open {
  overflow: hidden;
}

.template-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(12px) saturate(1.03);
  -webkit-backdrop-filter: blur(12px) saturate(1.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.template-picker-overlay.visible { opacity: 1; }

.template-picker {
  width: min(1240px, calc(100vw - 36px));
  height: min(820px, calc(100dvh - 36px));
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(15,23,42,0.22), 0 8px 22px rgba(15,23,42,0.10);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.24s ease;
}

.template-picker-overlay.visible .template-picker {
  transform: translateY(0) scale(1);
}

.template-picker-sidebar {
  min-width: 0;
  padding: 28px 18px 22px;
  border-right: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.template-picker-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 0 10px 24px;
}

.template-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #0f172a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 760;
  box-shadow: 0 12px 24px rgba(15,23,42,0.16);
}

.template-eyebrow {
  margin: 0 0 5px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7a8598;
  font-weight: 700;
}

.template-picker-brand h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.055em;
  color: #0f172a;
  font-weight: 760;
}

.template-category-list {
  display: grid;
  gap: 4px;
}

.template-category-btn {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #202938;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 570;
  letter-spacing: -0.015em;
  text-align: left;
  cursor: pointer;
}

.template-category-btn:hover {
  background: rgba(15,23,42,0.045);
}

.template-category-btn.is-active {
  background: #f1f4f9;
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.035);
}

.template-category-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #475569;
  font-size: 13px;
  background: rgba(15,23,42,0.045);
}

.template-category-btn.is-active .template-category-icon {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 4px 10px rgba(15,23,42,0.05);
}

.template-category-btn em {
  font-style: normal;
  font-size: 11px;
  font-weight: 720;
  color: #94a3b8;
}

.template-picker-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  background: #ffffff;
  overflow: hidden;
}

.template-picker-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 18px;
  align-items: center;
  padding: 30px 36px 18px;
}

.template-search-wrap {
  position: relative;
  max-width: 680px;
}

.template-search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #475569;
  line-height: 1;
  pointer-events: none;
}

.template-search-input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(15,23,42,0.06);
  background: #f2f4f8;
  color: #0f172a;
  border-radius: 10px;
  padding: 0 18px 0 48px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  letter-spacing: -0.01em;
}

.template-search-input::placeholder {
  color: #737f91;
}

.template-search-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10), inset 0 0 0 1px rgba(37,99,235,0.24);
}

.template-picker-close {
  -webkit-appearance: none;
  appearance: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #111827;
  color: #ffffff;
  font-size: 34px;
  line-height: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15,23,42,0.16);
}

.template-picker-close:hover {
  transform: scale(1.015);
}

.template-picker-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 28px;
  align-items: end;
  padding: 0 36px 24px;
}

.template-picker-intro h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: #0f172a;
  font-weight: 780;
}

.template-picker-copy {
  margin: 0;
  max-width: 430px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.template-picker-results {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 36px 34px;
}

.template-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.template-results-head h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-weight: 720;
}

.template-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 26px 24px;
  padding-bottom: 20px;
}

.template-card {
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  cursor: pointer;
  min-width: 0;
}

.template-card:hover .template-thumbnail {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(15,23,42,0.12);
  border-color: rgba(15,23,42,0.12);
}

.template-card:focus-visible {
  outline: none;
}

.template-card:focus-visible .template-thumbnail {
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18), 0 16px 36px rgba(15,23,42,0.10);
}

.template-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1.68 / 1;
  min-height: 154px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 18%, rgba(99,102,241,0.13), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px solid rgba(15,23,42,0.075);
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.template-thumbnail.blank {
  min-height: 104px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f7fb 100%);
  border-style: dashed;
}

.template-preview {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.template-preview svg {
  width: 100%;
  height: 100%;
  display: block;
}

.template-card-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.template-source-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.template-source-row span + span {
  color: #94a3b8;
  font-weight: 560;
}

.template-source-row span + span::before {
  content: "•";
  margin-right: 7px;
  color: #cbd5e1;
}

.template-card h3 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 720;
}

.template-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.template-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 28px;
  margin-top: 2px;
}

.template-card-footer span {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.template-card-footer em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.template-card-footer strong {
  color: #2563eb;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.template-blank-card {
  padding: 12px;
  border-radius: 22px;
  border: 1px dashed rgba(15,23,42,0.14);
  background: #fbfcff;
}

.template-blank-card .template-thumbnail {
  min-height: 92px;
  aspect-ratio: auto;
}

.template-blank-card .template-card-body {
  padding: 0 2px 2px;
}

.template-empty-state {
  min-height: 280px;
  border-radius: 26px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  color: #64748b;
}

.template-empty-state strong {
  color: #0f172a;
  font-size: 18px;
  letter-spacing: -0.03em;
}

@media (max-width: 1020px) {
  .template-picker {
    grid-template-columns: 230px minmax(0, 1fr);
    width: min(960px, calc(100vw - 24px));
  }
  .template-picker-topbar,
  .template-picker-intro,
  .template-picker-results {
    padding-left: 24px;
    padding-right: 24px;
  }
  .template-picker-grid {
    gap: 24px;
  }
  .template-results-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .template-blank-card {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
  }
  .template-blank-card .template-thumbnail {
    height: 96px;
  }
}

@media (max-width: 760px) {
  .template-picker-overlay {
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }
  .template-picker {
    width: 100%;
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 24px;
  }
  .template-picker-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(15,23,42,0.08);
    padding: 16px 14px 12px;
    overflow: visible;
  }
  .template-picker-brand {
    display: none;
  }
  .template-category-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .template-category-list::-webkit-scrollbar {
    display: none;
  }
  .template-category-btn {
    width: auto;
    flex: 0 0 auto;
    min-height: 38px;
    border-radius: 999px;
    grid-template-columns: auto auto auto;
    padding: 0 12px 0 10px;
    white-space: nowrap;
    background: #f8fafc;
  }
  .template-category-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
  }
  .template-picker-main {
    min-height: 0;
  }
  .template-picker-topbar {
    padding: 16px 16px 12px;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 10px;
  }
  .template-picker-close {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  .template-search-input {
    height: 42px;
    font-size: 14px;
  }
  .template-picker-intro {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 16px 16px;
  }
  .template-picker-intro h3 {
    font-size: 27px;
  }
  .template-picker-copy {
    max-width: none;
    font-size: 13px;
  }
  .template-picker-results {
    padding: 0 16px 22px;
  }
  .template-results-head {
    gap: 14px;
  }
  .template-picker-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .template-thumbnail {
    min-height: 168px;
  }
  .template-blank-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .template-picker-intro h3 {
    font-size: 24px;
  }
  .template-thumbnail {
    min-height: 142px;
  }
  .template-card h3 {
    font-size: 17px;
  }
}

.template-category-section {
  padding: 18px 12px 8px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 760;
}

.template-category-section:first-child {
  padding-top: 6px;
}

.template-card:hover .template-card-footer strong {
  transform: translateX(1px);
}

.template-card-footer strong {
  transition: transform 0.18s ease;
}

.template-thumbnail::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.62);
  pointer-events: none;
}

.template-preview {
  padding: 6px;
}

.template-picker-results::-webkit-scrollbar,
.template-picker-sidebar::-webkit-scrollbar {
  width: 10px;
}

.template-picker-results::-webkit-scrollbar-thumb,
.template-picker-sidebar::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.template-picker-results::-webkit-scrollbar-track,
.template-picker-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

/* V118 — curated gallery, premium motion, and denser professional template system */
.template-picker {
  width: min(1320px, calc(100vw - 32px));
  height: min(860px, calc(100dvh - 32px));
}

.template-picker-intro {
  padding-bottom: 18px;
}

.template-collection-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.template-collection-card {
  -webkit-appearance: none;
  appearance: none;
  min-height: 86px;
  border: 1px solid rgba(15,23,42,0.075);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(37,99,235,0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 28px rgba(15,23,42,0.055);
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.template-collection-card:hover {
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.22);
  box-shadow: 0 16px 34px rgba(15,23,42,0.09);
}

.template-collection-card.is-active {
  border-color: rgba(37,99,235,0.34);
  background:
    radial-gradient(circle at 18% 12%, rgba(37,99,235,0.14), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.template-collection-card strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.template-collection-card span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 520;
}

.template-card {
  position: relative;
}

.template-card::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(37,99,235,0.055), rgba(15,23,42,0.035));
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  z-index: -1;
}

.template-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.template-thumbnail {
  background:
    radial-gradient(circle at 20% 18%, rgba(59,130,246,0.11), transparent 29%),
    radial-gradient(circle at 82% 8%, rgba(168,85,247,0.08), transparent 26%),
    linear-gradient(180deg, #fafcff 0%, #eef2f7 100%);
}

.template-card:hover .template-thumbnail {
  background:
    radial-gradient(circle at 20% 18%, rgba(59,130,246,0.14), transparent 31%),
    radial-gradient(circle at 82% 8%, rgba(168,85,247,0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.template-preview svg text {
  paint-order: stroke;
  stroke: rgba(255,255,255,0.72);
  stroke-width: 2.6px;
}

.template-source-row {
  font-size: 11.5px;
}

.template-card h3 {
  max-width: 95%;
}

.template-card-footer strong {
  opacity: 0.92;
}

.template-category-btn {
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.template-category-btn:hover {
  transform: translateX(1px);
}

.template-category-section {
  margin-top: 8px;
}

@media (max-width: 1120px) {
  .template-collection-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .template-collection-rail {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .template-collection-rail::-webkit-scrollbar {
    display: none;
  }
  .template-collection-card {
    min-width: 230px;
    min-height: 82px;
  }
  .template-card:hover::after {
    opacity: 0;
  }
  .template-category-section {
    display: none;
  }
}

/* V119 — mobile template picker cleanup: calmer, simpler, less cluttered */
@media (max-width: 760px) {
  .template-picker-overlay {
    padding: 0;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px) saturate(1.02);
    -webkit-backdrop-filter: blur(10px) saturate(1.02);
    align-items: stretch;
    justify-content: stretch;
  }

  .template-picker {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .template-picker-sidebar {
    position: relative;
    z-index: 2;
    padding: 10px 14px 8px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(15,23,42,0.06);
  }

  .template-category-list {
    gap: 6px;
    padding: 0 2px 2px;
    mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
  }

  .template-category-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    font-size: 13px;
    font-weight: 640;
    color: #334155;
  }

  .template-category-btn.is-active {
    background: #f3f6fb;
    border-color: rgba(37,99,235,0.16);
    box-shadow: inset 0 0 0 1px rgba(37,99,235,0.05);
  }

  .template-category-btn:hover,
  .template-category-btn:active {
    transform: none;
  }

  .template-category-icon,
  .template-category-btn em {
    display: none;
  }

  .template-picker-main {
    grid-template-rows: auto auto minmax(0, 1fr);
    background: #ffffff;
  }

  .template-picker-topbar {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 16px 8px;
  }

  .template-search-wrap {
    max-width: none;
  }

  .template-search-input {
    height: 50px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 4px 14px rgba(15,23,42,0.04);
    padding-left: 44px;
    padding-right: 56px;
    font-size: 14px;
    font-weight: 560;
  }

  .template-search-icon {
    left: 15px;
    font-size: 18px;
    color: #64748b;
  }

  .template-picker-close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(15,23,42,0.12);
  }

  .template-picker-intro {
    gap: 6px;
    padding: 4px 16px 12px;
  }

  .template-picker-intro .template-eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .template-picker-intro h3 {
    font-size: 23px;
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 280px;
  }

  .template-picker-copy {
    max-width: none;
    font-size: 13px;
    line-height: 1.42;
    color: #748296;
  }

  .template-picker-results {
    padding: 0 16px 18px;
  }

  .template-results-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .template-results-head h4 {
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }

  .template-blank-card {
    padding: 10px;
    border-radius: 20px;
    background: #fbfcfe;
  }

  .template-blank-card .template-thumbnail {
    min-height: 88px;
    border-radius: 16px;
  }

  .template-blank-card .template-card-body {
    gap: 4px;
  }

  .template-collection-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 16px;
  }

  .template-collection-card {
    min-width: 0;
    min-height: 76px;
    border-radius: 18px;
    padding: 12px 12px 11px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.04);
  }

  .template-collection-card strong {
    font-size: 14px;
    line-height: 1.05;
  }

  .template-collection-card span {
    font-size: 11px;
    line-height: 1.28;
  }

  .template-picker-grid {
    gap: 18px;
    padding-bottom: 12px;
  }

  .template-card {
    gap: 10px;
  }

  .template-thumbnail {
    min-height: 148px;
    border-radius: 18px;
  }

  .template-thumbnail::before {
    inset: 10px;
    border-radius: 14px;
  }

  .template-preview {
    padding: 4px;
  }

  .template-card-body {
    gap: 5px;
  }

  .template-source-row {
    font-size: 11px;
  }

  .template-card h3 {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.08;
  }

  .template-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .template-card-footer {
    min-height: 24px;
  }

  .template-card-footer em {
    height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .template-card-footer strong {
    font-size: 11.5px;
  }
}

@media (max-width: 420px) {
  .template-picker-intro {
    padding-top: 2px;
  }

  .template-picker-copy {
    display: none;
  }

  .template-picker-intro h3 {
    font-size: 21px;
    max-width: 250px;
  }

  .template-results-head {
    margin-bottom: 14px;
  }

  .template-collection-rail {
    grid-template-columns: 1fr 1fr;
  }

  .template-collection-card {
    min-height: 70px;
    padding: 10px 10px 9px;
  }

  .template-collection-card strong {
    font-size: 13px;
  }

  .template-collection-card span {
    font-size: 10.5px;
  }

  .template-thumbnail {
    min-height: 136px;
  }

  .template-blank-card .template-thumbnail {
    min-height: 80px;
  }
}


/* V121 — template quality pass: calmer cards, cleaner thumbnails, premium opened-board preview feel */
.template-card {
  -webkit-tap-highlight-color: transparent;
}

.template-thumbnail {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.template-preview svg {
  filter: saturate(0.98) contrast(1.02);
}

.template-card h3 {
  letter-spacing: -0.045em;
}

.template-card p {
  max-width: 92%;
}

.template-card-footer strong {
  color: #1d4ed8;
}

.template-category-btn.is-active {
  font-weight: 700;
}

@media (hover: hover) {
  .template-card:hover .template-card-body h3 {
    color: #0f172a;
  }
}

/* Phone: keep browsing professional and quiet, not like a wall of UI */
@media (max-width: 760px) {
  .template-picker-intro h3 {
    max-width: 310px;
  }

  .template-results-head h4 {
    font-weight: 760;
  }

  .template-card p {
    max-width: 100%;
  }

  .template-card-footer {
    display: none;
  }

  .template-card-body {
    padding: 0 2px;
  }

  .template-source-row span + span {
    display: none;
  }

  .template-source-row span + span::before {
    content: none;
  }

  .template-thumbnail {
    min-height: 132px;
  }

  .template-picker-grid {
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .template-thumbnail {
    min-height: 126px;
  }

  .template-card h3 {
    font-size: 17px;
  }

  .template-card p {
    font-size: 12.5px;
  }
}


/* V128 — responsive template picker intro fix */
.template-picker-intro {
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.88fr);
  align-items: end;
  gap: 22px;
}

.template-picker-intro h3 {
  max-width: 100%;
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.template-picker-copy {
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.48;
}

.template-picker-brand .template-eyebrow {
  text-transform: none;
  letter-spacing: 0.13em;
}

@media (max-width: 1180px) {
  .template-picker-intro {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding-bottom: 18px;
  }
  .template-picker-intro h3 {
    font-size: clamp(24px, 3.1vw, 32px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 420px;
  }
  .template-picker-copy {
    max-width: 650px;
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .template-picker-intro {
    padding: 2px 24px 16px;
  }
  .template-picker-intro h3 {
    max-width: 360px;
    font-size: 26px;
  }
  .template-picker-copy {
    font-size: 12.8px;
  }
}

@media (max-width: 760px) {
  .template-picker-intro {
    padding: 2px 16px 12px;
    gap: 6px;
  }
  .template-picker-intro h3 {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.06;
    letter-spacing: -0.035em;
  }
  .template-picker-copy {
    display: none;
  }
}

@media (max-width: 420px) {
  .template-picker-intro h3 {
    font-size: 20px;
  }
}

/* V131 — mobile-only curated collections: single-row swipe carousel */
@media (max-width: 760px) {
  .template-collection-rail {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0 -16px 16px !important;
    padding: 0 16px 6px !important;
  }

  .template-collection-rail::-webkit-scrollbar {
    display: none;
  }

  .template-collection-card {
    flex: 0 0 min(64vw, 236px) !important;
    width: min(64vw, 236px) !important;
    min-width: min(64vw, 236px) !important;
    max-width: min(64vw, 236px) !important;
    min-height: 74px !important;
    border-radius: 18px !important;
    padding: 12px 13px 11px !important;
    scroll-snap-align: start;
  }

  .template-collection-card strong {
    font-size: 14px !important;
    line-height: 1.05 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .template-collection-card span {
    font-size: 11px !important;
    line-height: 1.28 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .template-collection-rail {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .template-collection-card {
    flex-basis: min(70vw, 230px) !important;
    width: min(70vw, 230px) !important;
    min-width: min(70vw, 230px) !important;
    max-width: min(70vw, 230px) !important;
    min-height: 70px !important;
  }
}


/* V164 iOS/PWA template picker performance hardening */
.template-load-more-btn {
  width: min(420px, 92%);
  margin: 18px auto 6px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  font-weight: 760;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  -webkit-tap-highlight-color: transparent;
}
.template-load-more-btn:active {
  transform: scale(0.985);
}
.template-card,
.template-thumbnail,
.template-preview {
  content-visibility: auto;
  contain-intrinsic-size: 260px 280px;
}
@supports (-webkit-touch-callout: none) {
  .premium-template-gallery .template-picker-main,
  .premium-template-gallery .template-picker-sidebar,
  .premium-template-gallery .template-picker-results {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}


/* V164.1 — replace curated fake collection cards with real category rail */
.template-collection-rail {
  align-items: stretch;
}

.template-real-category-card {
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  min-height: 68px;
  text-align: left;
}

.template-real-category-card em {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 760;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.template-real-category-card strong {
  min-width: 0;
}

.template-real-category-card span {
  min-width: 0;
}

.template-real-category-card.is-active em {
  background: #ffffff;
  color: #0f172a;
}

@media (max-width: 760px) {
  .template-collection-rail {
    margin: 0 -16px 16px !important;
    padding: 0 16px 6px !important;
  }

  .template-real-category-card {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
    grid-template-columns: 24px auto;
    grid-template-rows: auto;
    column-gap: 8px;
    padding: 8px 12px 8px 9px !important;
    border-radius: 999px !important;
    align-items: center;
  }

  .template-real-category-card em {
    grid-row: auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 11px;
  }

  .template-real-category-card strong {
    font-size: 13px !important;
    line-height: 1 !important;
    max-width: 180px;
  }

  .template-real-category-card span {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .template-real-category-card {
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .template-real-category-card strong {
    max-width: 156px;
  }
}

/* V180.9 — Filmmaking Studio / Filmmaking Mode */
.template-filmmaking-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.88));
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.template-filmmaking-switch:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}

.template-filmmaking-switch.is-active {
  border-color: rgba(15, 23, 42, 0.16);
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.92), transparent 34%), linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
}

.template-filmmaking-switch-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15,23,42,0.07);
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.template-filmmaking-switch.is-active .template-filmmaking-switch-icon {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
}

.template-filmmaking-switch-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}

.template-filmmaking-switch-copy strong {
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.template-filmmaking-switch-copy em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.05;
  white-space: nowrap;
}

.template-filmmaking-switch.is-active .template-filmmaking-switch-copy em { color: rgba(255,255,255,0.72); }

.template-filmmaking-switch-knob {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15,23,42,0.10);
  box-shadow: inset 0 1px 3px rgba(15,23,42,0.14);
  position: relative;
}

.template-filmmaking-switch-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15,23,42,0.18);
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}

.template-filmmaking-switch.is-active .template-filmmaking-switch-knob {
  background: rgba(255,255,255,0.22);
}

.template-filmmaking-switch.is-active .template-filmmaking-switch-knob::after {
  transform: translateX(16px);
}

.premium-template-gallery.filmmaking-mode-active .template-picker {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,250,252,0.98));
  box-shadow: 0 34px 90px rgba(15,23,42,0.24), 0 10px 26px rgba(15,23,42,0.10);
}

.premium-template-gallery.filmmaking-mode-active .template-brand-mark {
  background: linear-gradient(135deg, #111827, #334155);
}

.premium-template-gallery.filmmaking-mode-active .template-picker-intro {
  background: radial-gradient(circle at 8% 18%, rgba(15,23,42,0.06), transparent 34%), linear-gradient(135deg, rgba(248,250,252,0.98), rgba(255,255,255,0.98));
  border-radius: 28px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.06), 0 16px 34px rgba(15,23,42,0.06);
}

.template-filmmaking-card .template-thumbnail {
  background: radial-gradient(circle at 24% 16%, rgba(255,255,255,0.95), transparent 34%), linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.template-filmmaking-card .template-card-body h3 {
  letter-spacing: -0.025em;
}

.template-filmmaking-card .template-card-footer strong {
  color: #111827;
}

.premium-template-gallery.filmmaking-mode-active .template-category-btn.is-active {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.premium-template-gallery.filmmaking-mode-active .template-category-btn.is-active em,
.premium-template-gallery.filmmaking-mode-active .template-category-btn.is-active .template-category-icon {
  color: rgba(255,255,255,0.82);
}

@media (max-width: 980px) {
  .template-picker-topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .template-filmmaking-switch-copy em {
    display: none;
  }
  .template-filmmaking-switch {
    grid-template-columns: 28px minmax(0, 1fr) 38px;
    min-width: 190px;
  }
}

@media (max-width: 767px) {
  .template-picker-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .template-search-wrap {
    grid-column: 1 / -1;
  }
  .template-filmmaking-switch {
    width: 100%;
    min-width: 0;
    grid-column: 1 / 2;
    justify-content: stretch;
  }
  .template-filmmaking-switch-copy em {
    display: block;
  }
  .template-picker-close {
    grid-column: 2 / 3;
  }
  .premium-template-gallery.filmmaking-mode-active .template-picker-intro {
    padding: 15px;
    margin-bottom: 14px;
  }
}

/* V180.9 layout correction: topbar has search + mode switch + close button on large screens. */
.template-picker-topbar {
  grid-template-columns: minmax(0, 1fr) auto 46px;
}

@media (max-width: 980px) {
  .template-picker-topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}

@media (max-width: 767px) {
  .template-picker-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .template-search-wrap {
    grid-column: 1 / -1;
  }
  .template-filmmaking-switch {
    grid-column: 1 / 2;
  }
  .template-picker-close {
    grid-column: 2 / 3;
  }
}


/* V180.10 — Filmmaking Studio visual rescue / Apple-grade cinematic cards */
.premium-template-gallery.filmmaking-mode-active .template-picker {
  background:
    radial-gradient(circle at 88% 0%, rgba(15,23,42,0.085), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.995), rgba(246,248,251,0.985));
}

.premium-template-gallery.filmmaking-mode-active .template-picker-intro {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,0.92), transparent 34%),
    linear-gradient(135deg, #111827 0%, #1f2937 54%, #334155 100%);
  color: #fff;
  padding: 22px 24px;
  border-radius: 32px;
  box-shadow: 0 24px 52px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.16);
}

.premium-template-gallery.filmmaking-mode-active .template-picker-intro .template-eyebrow,
.premium-template-gallery.filmmaking-mode-active .template-picker-copy {
  color: rgba(255,255,255,.72);
}

.premium-template-gallery.filmmaking-mode-active .template-picker-intro h3 {
  color: #fff;
  letter-spacing: -0.058em;
}

.template-filmmaking-card {
  position: relative;
  border-radius: 30px;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  border: 1px solid rgba(15,23,42,.075);
  box-shadow: 0 18px 44px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.78);
  overflow: hidden;
}

.template-filmmaking-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.86), transparent 30%), linear-gradient(135deg, rgba(15,23,42,.035), transparent 44%);
  opacity: .85;
}

.template-filmmaking-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(15,23,42,.13), inset 0 1px 0 rgba(255,255,255,.92);
}

.template-filmmaking-card .template-thumbnail {
  min-height: 184px;
  border-radius: 24px;
  background: #f8fafc;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06), 0 12px 28px rgba(15,23,42,.06);
  overflow: hidden;
}

.template-filmmaking-card .template-thumbnail::before {
  display: none;
}

.template-filmmaking-card .template-preview {
  inset: 0;
  padding: 0;
}

.template-filmmaking-card .template-preview svg,
.template-filmmaking-card .film-preview-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.04) contrast(1.01);
}

.template-filmmaking-card .template-card-body {
  position: relative;
  z-index: 1;
  gap: 8px;
  padding: 2px 2px 0;
}

.template-filmmaking-card .template-source-row {
  color: #64748b;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 780;
}

.template-filmmaking-card .template-card-body h3 {
  font-size: 19px;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #0f172a;
}

.template-filmmaking-card .template-card-body p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.36;
}

.template-filmmaking-card .template-card-footer {
  padding-top: 2px;
}

.template-filmmaking-card .template-card-footer strong {
  color: #0f172a;
  font-weight: 760;
}

.template-filmmaking-card .template-card-footer em {
  background: rgba(15,23,42,.05);
  color: #475569;
  border: 1px solid rgba(15,23,42,.06);
}

.template-film-family-story-structure .template-thumbnail { background: linear-gradient(135deg,#eff6ff,#fff); }
.template-film-family-scenes-sequences .template-thumbnail { background: linear-gradient(135deg,#fffbeb,#fff); }
.template-film-family-shots-storyboards .template-thumbnail { background: linear-gradient(135deg,#f1f5f9,#fff); }
.template-film-family-characters-blocking .template-thumbnail { background: linear-gradient(135deg,#f5f3ff,#fff); }
.template-film-family-production-planning .template-thumbnail { background: linear-gradient(135deg,#ecfdf5,#fff); }
.template-film-family-pitch-treatment .template-thumbnail { background: linear-gradient(135deg,#fff1f2,#fff); }
.template-film-family-full-boards .template-thumbnail { background: linear-gradient(135deg,#f8fafc,#fff); }

.premium-template-gallery.filmmaking-mode-active .template-collection-card {
  min-height: 96px;
  border-radius: 26px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.07);
}

.premium-template-gallery.filmmaking-mode-active .template-collection-card em {
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.14);
}

.premium-template-gallery.filmmaking-mode-active .template-category-btn {
  border-radius: 16px;
}

.premium-template-gallery.filmmaking-mode-active .template-category-btn.is-active {
  background: linear-gradient(135deg,#0f172a,#1f2937);
  box-shadow: 0 14px 30px rgba(15,23,42,.18);
}

@media (max-width: 760px) {
  .template-filmmaking-card {
    border-radius: 24px;
    padding: 10px;
  }
  .template-filmmaking-card .template-thumbnail {
    min-height: 172px;
    border-radius: 20px;
  }
  .premium-template-gallery.filmmaking-mode-active .template-picker-intro {
    padding: 18px 16px;
    border-radius: 24px;
  }
}


/* V180.11 — Filmmaking Studio visual direction repair */
.template-picker-intro { display: none !important; }
.template-picker-results { padding-top: 12px !important; }
.template-picker-topbar { margin-bottom: 8px; }
.template-filmmaking-card .template-thumbnail {
  min-height: 174px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,0.95), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 12px 28px rgba(15,23,42,0.07);
}
.template-filmmaking-card:hover .template-thumbnail {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 22px 46px rgba(15,23,42,0.14), inset 0 1px 0 rgba(255,255,255,0.88);
}
.film-preview-svg-v1811 {
  width: 100%;
  height: 100%;
  display: block;
}
.premium-template-gallery.filmmaking-mode-active .template-results-head {
  margin-top: 0;
  margin-bottom: 18px;
}
.premium-template-gallery.filmmaking-mode-active .template-card-body h3 {
  font-weight: 760;
  letter-spacing: -0.035em;
}
@media (max-width: 767px) {
  .template-picker-results { padding-top: 8px !important; }
  .template-filmmaking-card .template-thumbnail { min-height: 148px; border-radius: 22px; }
}


/* V180.12 — Template overlay boot repair: the old intro/pill is visually retired without destabilizing picker structure. */
.template-picker-intro-retired,
.template-picker-intro[hidden] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.template-picker-main > .template-picker-results {
  padding-top: 10px !important;
}
@media (max-width: 767px) {
  .template-picker-main > .template-picker-results {
    padding-top: 8px !important;
  }
}


/* V180.13 — Filmmaking Studio thumbnail subtlety + mobile canvas preview alignment pass */
.template-filmmaking-card .template-thumbnail {
  min-height: 158px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 8px 20px rgba(15,23,42,0.045) !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.88), transparent 26%),
    linear-gradient(135deg, #fbfcff 0%, #f4f7fb 100%) !important;
}
.template-filmmaking-card:hover .template-thumbnail {
  transform: translateY(-1px) scale(1.002) !important;
  box-shadow: 0 16px 34px rgba(15,23,42,0.09), inset 0 1px 0 rgba(255,255,255,0.88) !important;
}
.film-preview-svg-v1813 {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(.94) contrast(.985) !important;
}
.film-preview-svg-v1813 .film-motif-v1813 {
  opacity: .76;
}
@media (max-width: 767px) {
  .template-filmmaking-card .template-thumbnail {
    min-height: 138px !important;
    border-radius: 20px !important;
  }
  .template-filmmaking-card .template-card-body h3 {
    font-size: 18px;
    letter-spacing: -0.032em;
  }
}
