@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../../concepts/assets/fonts/dm-sans-latin-wght-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/instrument-serif-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  src: url("../../concepts/assets/fonts/instrument-serif-latin-400-italic.woff2")
    format("woff2");
}
@font-face {
  font-family: "League Gothic";
  font-weight: 400;
  font-display: swap;
  src: url("../../concepts/assets/fonts/league-gothic-latin-standard-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 100 800;
  font-display: swap;
  src: url("../../concepts/assets/fonts/jetbrains-mono-latin-wght-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Archivo Black";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/archivo-black-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/space-mono-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/barlow-condensed-latin-600-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Gloock";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/gloock-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Courier Prime";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/courier-prime-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Young Serif";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../concepts/assets/fonts/young-serif-latin-400-normal.woff2")
    format("woff2");
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 12px;
}
body {
  margin: 0;
  font:
    400 16px/1.5 "DM Sans",
    Arial,
    sans-serif;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
a,
button {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a,
button,
summary,
input,
select {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  z-index: 25;
  top: 5px;
  left: 5px;
  padding: 9px;
  background: white;
  color: #123a29;
  transform: translateY(-155%);
}
.skip:focus {
  transform: none;
}
.demo-strip {
  position: relative;
  z-index: 3;
  background: #071410;
  color: #f5f3ec;
  font:
    600 12px/1.2 "DM Sans",
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.demo-strip > div {
  min-height: 37px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 clamp(12px, 4vw, 66px);
}
.demo-strip a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 37px;
  text-decoration: none;
  color: #fff;
}
.demo-strip a:last-child {
  justify-self: end;
}
.demo-strip a:hover {
  text-decoration: underline;
}
.embedded-sample .demo-strip {
  display: none;
}
.embedded-sample {
  overscroll-behavior: contain;
}
[data-compose] output {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ps-handoff {
  margin-top: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #16241e;
  border: 1px solid #cbd6d0;
  box-shadow: 0 8px 24px rgba(10, 26, 20, 0.08);
  text-align: left;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.ps-handoff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.ps-handoff-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e3f5ec;
  color: #0e5a3a;
  font-weight: 700;
  font-size: 12px;
}
.ps-handoff-ref {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #53645d;
}
.ps-handoff-msg {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f5f7f6;
  border: 1px solid #e1e8e4;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  color: #182721;
}
.ps-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ps-handoff-actions button {
  appearance: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 650;
  font-size: 13.5px;
  line-height: 1.2;
  cursor: pointer;
  width: auto !important;
  margin: 0 !important;
}
.ps-handoff-copy {
  background: #103f32 !important;
  color: #ffffff !important;
  border: 1px solid #103f32 !important;
}
.ps-handoff-chat {
  background: #eaf3ff !important;
  color: #0b4db7 !important;
  border: 1px solid #bfd7fa !important;
}
.ps-handoff-note {
  margin: 10px 0 0 !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8faf9;
  border-left: 3px solid #103f32;
  font-size: 12.5px;
  color: #364740 !important;
}
[data-compose] [data-save-copy] {
  margin-top: 8px;
  font-size: 12.5px;
  opacity: 0.78;
}
@media (max-width: 650px) {
  .demo-strip > div {
    padding: 0 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Brand-matched custom select dropdowns (replaces OS Vista-style native menus across all 40 templates) */
.ps-select {
  position: relative;
  display: block;
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
}
.ps-select.is-open {
  z-index: 60;
}
.ps-select-native {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}
.ps-select-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  padding: var(--ps-sel-pad, 10px 14px);
  background: var(--ps-sel-bg, #ffffff);
  color: var(--ps-sel-fg, #18241e);
  border: var(--ps-sel-border-w, 1.5px) solid var(--ps-sel-border, rgba(24, 36, 30, 0.24));
  border-radius: var(--ps-sel-radius, 8px);
  font-family: var(--ps-sel-font, inherit);
  font-size: var(--ps-sel-size, 15px);
  font-weight: var(--ps-sel-weight, 500);
  line-height: 1.35;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}
.ps-select-trigger:hover {
  border-color: var(--ps-sel-accent, #103f32);
}
.ps-select.is-open .ps-select-trigger,
.ps-select-trigger:focus-visible {
  outline: none;
  border-color: var(--ps-sel-accent, #103f32);
  box-shadow: 0 0 0 3px var(--ps-sel-ring, rgba(16, 63, 50, 0.2));
}
.ps-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ps-select-chevron {
  flex: none;
  width: 16px;
  height: 16px;
  opacity: 0.72;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-select.is-open .ps-select-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.ps-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ps-sel-menu-bg, #ffffff);
  color: var(--ps-sel-fg, #18241e);
  border: 1.5px solid var(--ps-sel-border, rgba(24, 36, 30, 0.2));
  border-radius: calc(var(--ps-sel-radius, 8px) + 2px);
  box-shadow:
    0 18px 40px -10px rgba(8, 18, 14, 0.28),
    0 4px 12px rgba(8, 18, 14, 0.1);
  max-height: 260px;
  overflow-y: auto;
  z-index: 80;
  animation: psMenuIn 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-select.is-up .ps-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
}
@keyframes psMenuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ps-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: max(4px, calc(var(--ps-sel-radius, 8px) - 2px));
  font-family: var(--ps-sel-font, inherit);
  font-size: var(--ps-sel-size, 14.5px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ps-sel-fg, #18241e);
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}
.ps-select-option:hover,
.ps-select-option.is-active {
  background: var(--ps-sel-hover, rgba(16, 63, 50, 0.1));
}
.ps-select-option[aria-selected="true"] {
  background: var(--ps-sel-accent, #103f32);
  color: var(--ps-sel-accent-fg, #ffffff);
  font-weight: 650;
}
.ps-select-check {
  flex: none;
  width: 15px;
  height: 15px;
  opacity: 0;
}
.ps-select-option[aria-selected="true"] .ps-select-check {
  opacity: 1;
}
