@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 64px 50px minmax(0, 1fr);
  background: #f5f1e8;
}

.page {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: #0e0f11;
  color: #f5f1e8;
  font: 600 14px/1.2 "Inter", system-ui, sans-serif;
  text-decoration: none;
}

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

.site-nav {
  position: relative;
  z-index: 60;
  width: 100%;
  height: 64px;
  border-bottom: 1px solid #e8e4dc;
  background: rgba(245, 241, 232, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}

.site-nav .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0e0f11;
  font: 500 16px/1 "Inter", system-ui, sans-serif;
  text-decoration: none;
}

.site-nav .brand img {
  display: block;
  width: auto;
  height: 26px;
  aspect-ratio: 3 / 5;
}

.site-nav .brand-word {
  font-family: "Instrument Sans", "Inter", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #0e0f11;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav .nav-links a {
  color: #696b70;
  font: 500 14px/1.2 "Inter", system-ui, sans-serif;
  text-decoration: none;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a[aria-current="page"] {
  color: #0e0f11;
}

.site-nav .nav-links .site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 1px solid #0e0f11;
  border-radius: 2px;
  background: #0e0f11;
  color: #f5f1e8;
}

.site-nav .nav-links .site-nav-cta:hover {
  background: #fcfbf8;
  color: #0e0f11;
}

.site-nav .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0e0f11;
  font-size: 22px;
  cursor: pointer;
}

.tour-controls {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 40px minmax(220px, 330px) auto auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 50px;
  padding: 0 24px;
  border-bottom: 1px solid #d7d4cd;
  background: rgba(252, 251, 248, .96);
}

.tour-step-button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d7d4cd;
  border-radius: 999px;
  background: #fcfbf8;
  color: #0e0f11;
  font: 700 10px/1 "IBM Plex Mono", ui-monospace, monospace;
  cursor: pointer;
}

.tour-step-button:hover {
  border-color: #0e0f11;
}

.tour-step-button:disabled {
  opacity: .35;
  cursor: default;
}

.tour-select-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tour-position,
.tour-category {
  color: #696b70;
  font: 500 9px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tour-select-wrap select {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 30px 0 10px;
  border: 1px solid #d7d4cd;
  border-radius: 3px;
  background: #fcfbf8;
  color: #0e0f11;
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  cursor: pointer;
}

.tour-category {
  color: #6d5ef7;
}

.tour-directory {
  color: #555960;
  font: 500 10px/1 "IBM Plex Mono", ui-monospace, monospace;
  text-decoration: none;
  white-space: nowrap;
}

.tour-directory:hover {
  color: #0e0f11;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tour-progress {
  display: block;
  justify-self: stretch;
  height: 2px;
  background: #e8e4dc;
  overflow: hidden;
}

.tour-progress i {
  display: block;
  width: 6.666%;
  height: 100%;
  background: #6d5ef7;
  transition: width .35s ease;
}

.tour-next-control {
  min-width: 76px;
}

.legacy-tabs {
  display: none !important;
}

.demo-cursor span {
  display: block;
  width: 18px;
  height: 24px;
  background: #111318;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  clip-path: polygon(4% 0, 4% 79%, 34% 60%, 55% 100%, 75% 89%, 54% 54%, 94% 54%);
  filter:
    drop-shadow(-1px 0 #fff)
    drop-shadow(1px 0 #fff)
    drop-shadow(0 -1px #fff)
    drop-shadow(0 1px #fff)
    drop-shadow(0 2px 2px rgba(12, 15, 20, .28));
  transform: none;
  transform-origin: 18% 12%;
}

@keyframes cursor-click {
  50% { transform: scale(.82); }
}

.rail > .brand,
.brand-row > .brand,
.app-brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #0082c8;
  color: #fff;
  font: 800 12px/1 "SFMono-Regular", Consolas, monospace;
}

.source {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.source:hover,
.source:focus-visible {
  border-color: #79bde0;
  background: #f8fcff;
}

.built-features {
  display: grid;
  gap: 7px;
}

.tool-scenes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.tool-scenes[hidden] {
  display: none;
}

.tool-scenes > span {
  margin-right: 2px;
  color: #77726a;
  font: 700 8px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tool-scenes button {
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid #cfc8bd;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: #45484d;
  font: 700 8px/1.2 "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.tool-scenes button:hover,
.tool-scenes button:focus-visible {
  border-color: var(--product-accent, #705ef6);
}

.tool-scenes button.is-active {
  border-color: var(--product-accent, #705ef6);
  background: var(--product-accent, #705ef6);
  color: #fff;
}

.audience-tool-scenes {
  margin-bottom: 8px;
}

.conversation-scene {
  min-width: 0;
}

.audience-layout[hidden],
.audience .section-head[hidden],
.conversation-scene[hidden] {
  display: none !important;
}

.conversation-head {
  margin-bottom: 10px;
}

.conversation-layout {
  display: grid;
  grid-template-columns: 258px minmax(360px, 1fr) 286px;
  gap: 10px;
  min-height: 430px;
}

.conversation-layout > .card {
  min-width: 0;
  overflow: hidden;
}

.conversation-filters {
  display: flex;
  gap: 5px;
  padding: 8px;
  border-bottom: 1px solid var(--hair, #e1e6eb);
}

.conversation-filters button {
  padding: 5px 7px;
  border: 1px solid #dce2e8;
  border-radius: 999px;
  background: #fff;
  color: #647184;
  font: 700 8px/1 var(--mono);
  cursor: pointer;
}

.conversation-filters button.is-active {
  border-color: #0082c8;
  background: #e8f5fc;
  color: #006da8;
}

.conversation-list {
  display: grid;
}

.conversation-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
  color: #273240;
  text-align: left;
  cursor: pointer;
}

.conversation-row:hover,
.conversation-row:focus-visible,
.conversation-row.is-active {
  background: #edf7fc;
}

.conversation-row.is-active {
  box-shadow: inset 3px 0 #0082c8;
}

.conversation-row.has-failure {
  background: #fff7f6;
}

.conversation-row strong,
.conversation-row small,
.conversation-row em {
  display: block;
}

.conversation-row strong {
  margin-bottom: 2px;
  font-size: 9px;
}

.conversation-row small {
  overflow: hidden;
  color: #3e4855;
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-row em {
  margin-top: 3px;
  color: #7a8795;
  font: 7px/1.2 var(--mono);
  font-style: normal;
}

.conversation-row > b {
  color: #8a95a1;
  font: 7px/1 var(--mono);
}

.conversation-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0b2545;
  color: #fff;
  font: 700 8px/1 var(--mono);
}

.conversation-avatar.large {
  width: 38px;
  height: 38px;
  font-size: 10px;
}

.conversation-thread {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.conversation-messages {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 190px;
  padding: 14px;
  background: #f6f8fa;
}

.message-bubble {
  max-width: 78%;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 9px;
  line-height: 1.45;
}

.message-bubble small {
  display: block;
  margin-top: 5px;
  font: 7px/1 var(--mono);
  opacity: .66;
}

.message-bubble.outbound {
  align-self: end;
  border-bottom-right-radius: 3px;
  background: #0082c8;
  color: #fff;
}

.message-bubble.inbound {
  align-self: start;
  border: 1px solid #e0e5ea;
  border-bottom-left-radius: 3px;
  background: #fff;
  color: #273240;
}

.conversation-composer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 7px;
  padding: 9px;
  border-top: 1px solid #e1e6eb;
}

.conversation-composer textarea {
  min-height: 48px;
  max-height: 78px;
  resize: none;
  padding: 8px;
  border: 1px solid #d9e0e6;
  border-radius: 8px;
  background: #fff;
  color: #273240;
  font: 8px/1.4 "Inter", system-ui, sans-serif;
}

.conversation-send-receipt {
  display: none;
  margin: 0 9px 9px;
  padding: 8px 9px;
  border: 1px solid #b9dfce;
  border-radius: 7px;
  background: #eef9f4;
  color: #16623f;
  font: 7px/1.4 var(--mono);
}

.conversation-send-receipt.show {
  display: block;
}

.context-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-bottom: 1px solid #edf0f3;
}

.context-profile strong,
.context-profile small {
  display: block;
}

.context-profile strong {
  font-size: 10px;
}

.context-profile small {
  margin-top: 2px;
  color: #718092;
  font-size: 8px;
}

.conversation-context dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 0;
  padding: 10px;
}

.conversation-context dl > div {
  padding: 8px;
  border: 1px solid #e6eaee;
  border-radius: 8px;
  background: #f9fbfc;
}

.conversation-context dt {
  color: #718092;
  font: 7px/1 var(--mono);
  text-transform: uppercase;
}

.conversation-context dd {
  margin: 4px 0 0;
  color: #273240;
  font-size: 8px;
  line-height: 1.3;
}

.conversation-guard {
  margin: 0 10px 10px;
  padding: 9px;
  border: 1px solid #c7bbea;
  border-radius: 8px;
  background: #f7f4ff;
}

.conversation-guard b {
  display: block;
  color: #5849cf;
  font: 700 8px/1 var(--mono);
  text-transform: uppercase;
}

.conversation-guard p {
  margin: 4px 0 0;
  color: #655c80;
  font-size: 8px;
  line-height: 1.4;
}

.built-features > span {
  color: #77726a;
  font: 700 8px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.built-features > div {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  padding-bottom: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.built-features b {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 23px;
  padding: 5px 7px;
  border: 1px solid #d7d1c7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: #34373c;
  font: 600 8px/1.2 "Inter", system-ui, sans-serif;
}

.generic-next {
  display: none;
  align-items: center;
  border: 1px solid #101216;
  border-radius: 999px;
  background: transparent;
  color: #101216;
  padding: 8px 13px;
  font: 700 10px/1 var(--mono);
  cursor: pointer;
}

.generic-next.show {
  display: inline-flex;
}

.generic-stage {
  background-image:
    radial-gradient(circle at 78% 22%, rgba(109, 94, 247, .2), transparent 34%),
    linear-gradient(135deg, #e8e4dc, #d9e5ea 52%, #efeade);
}

.generic-stage::before {
  background: rgba(245, 241, 232, .46);
}

.stage .generic-window {
  grid-template-columns: 76px minmax(0, 1fr) !important;
}

.generic-surface {
  min-width: 0;
  background: #f4f6fa;
}

.generic-content {
  position: relative;
  min-width: 0;
}

.dashboard-route {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid #dfe5eb;
  border-radius: 5px;
  background: #f8fbfd;
  color: #6d7785;
  font: 600 8px/1 "IBM Plex Mono", ui-monospace, monospace;
}

.generic-section-head .eyebrow {
  margin-bottom: 4px;
  color: #6d5ef7;
}

.generic-product-tabs {
  display: flex;
  gap: 14px;
  min-width: 0;
  margin: -2px 0 10px;
  padding: 0 2px;
  border-bottom: 1px solid #dfe5eb;
  overflow-x: auto;
  scrollbar-width: none;
}

.generic-product-tabs::-webkit-scrollbar {
  display: none;
}

.generic-product-tabs span {
  position: relative;
  flex: 0 0 auto;
  padding: 7px 0 8px;
  color: #718092;
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.generic-product-tabs span.is-active {
  color: #17202b;
}

.generic-product-tabs span.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #0082c8;
}

.generic-filter-strip {
  display: flex;
  gap: 7px;
  min-width: 0;
  margin: -1px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.generic-filter-strip::-webkit-scrollbar {
  display: none;
}

.generic-filter-strip > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid #dfe5eb;
  border-radius: 6px;
  background: #fff;
}

.generic-filter-strip small {
  color: #8a94a1;
  font: 650 7px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.generic-filter-strip b {
  color: #273240;
  font-size: 8px;
  font-weight: 650;
}

.generic-kpis .kpi:first-child {
  background: #0b2545;
  color: #fff;
  border-color: #0b2545;
}

.generic-kpis .kpi:first-child .label,
.generic-kpis .kpi:first-child .sub {
  color: #a9bfd3;
}

.generic-workspace {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(440px, 1.18fr);
  gap: 12px;
}

.generic-query-card,
.generic-result-card {
  min-height: 282px;
}

.generic-query-card.is-live-entry {
  border-color: color-mix(in srgb, var(--product-accent) 58%, #dfe5eb);
}

.generic-query-card.is-live-entry .badge {
  animation: generic-entry-pulse 1.05s ease both;
}

@keyframes generic-entry-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--product-accent) 28%, transparent); }
  55% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--product-accent) 0%, transparent); }
  100% { box-shadow: none; }
}

.generic-query {
  min-height: 61px;
  margin: 12px;
  padding: 12px;
  border: 1px solid #dfe5eb;
  border-radius: 9px;
  background: #f8fbfd;
  color: #273240;
  font-size: 11px;
  line-height: 1.55;
}

.generic-pipeline {
  display: grid;
  gap: 7px;
  padding: 0 12px 12px;
}

.generic-pipeline-step {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  background: #fff;
  opacity: .28;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease;
}

.generic-pipeline-step.is-on {
  opacity: 1;
  transform: translateY(0);
  border-color: #b9b0ff;
}

.generic-pipeline-step i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #f1efff;
  color: #5849cf;
  font: 700 9px/1 var(--mono);
  font-style: normal;
}

.generic-pipeline-step strong {
  display: block;
  font-size: 10px;
}

.generic-pipeline-step small {
  color: #718092;
  font-size: 8px;
}

.generic-pipeline-step b {
  color: #159a63;
  font: 700 8px/1 var(--mono);
}

.generic-rows {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.generic-column-head {
  display: grid;
  grid-template-columns: minmax(116px, .7fr) minmax(180px, 1.5fr) 62px 74px;
  gap: 10px;
  padding: 7px 21px 0;
  color: #8a94a1;
  font: 650 7px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.generic-column-head span:nth-child(3),
.generic-column-head span:nth-child(4) {
  text-align: right;
}

.generic-row {
  display: grid;
  grid-template-columns: minmax(116px, .7fr) minmax(180px, 1.5fr) 62px 74px;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
  opacity: .25;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, background .35s ease;
}

.generic-row.is-on {
  opacity: 1;
  transform: translateY(0);
}

.generic-row.is-alert {
  border-color: #e8bd86;
  background: #fffaf1;
}

.generic-row-label strong {
  display: block;
  font-size: 10px;
}

.generic-row-label small {
  color: #718092;
  font-size: 8px;
}

.generic-row-context {
  color: #5f6c7a;
  font-size: 8px;
  line-height: 1.35;
}

.generic-row-track {
  height: 8px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}

.generic-row-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0082c8, #32a5db);
  transition: width .7s cubic-bezier(.22, .8, .3, 1);
}

.generic-row.is-alert .generic-row-track i {
  background: linear-gradient(90deg, #c77914, #e6aa55);
}

.generic-row-value {
  text-align: right;
  font: 700 10px/1 var(--mono);
}

.generic-row-status {
  justify-self: end;
  padding: 4px 6px;
  border-radius: 999px;
  background: #eef9f4;
  color: #08724a;
  font: 700 8px/1 var(--mono);
}

.generic-row.is-alert .generic-row-status {
  background: #fff1dc;
  color: #93580c;
}

.generic-exception {
  margin: 0 12px 12px;
  padding: 10px 11px;
  border: 1px solid #e8bd86;
  border-radius: 8px;
  background: #fff7e8;
  color: #67471c;
  font-size: 9px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .38s ease, transform .38s ease;
}

.generic-exception.show {
  opacity: 1;
  transform: translateY(0);
}

.generic-exception.generic-email-preview {
  padding: 0;
  border-color: #dfe5eb;
  background: #fff;
  color: #273240;
  box-shadow: 0 8px 22px rgba(22, 31, 45, .08);
  overflow: hidden;
}

.generic-email-meta {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 5px 10px;
  border-bottom: 1px solid #edf0f3;
  font-size: 8px;
}

.generic-email-meta span {
  color: #718092;
  font-family: var(--mono);
}

.generic-email-subject {
  padding: 8px 10px;
  border-bottom: 1px solid #edf0f3;
  font-size: 10px;
  font-weight: 750;
}

.generic-email-body {
  padding: 8px 10px;
}

.generic-email-body p {
  margin: 0 0 4px;
  color: #3f4855;
  font-size: 8px;
  line-height: 1.35;
}

.generic-email-body p:last-child {
  margin-bottom: 0;
}

.generic-action-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #c7bbea;
  border-radius: 10px;
  background: #f7f4ff;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .38s ease, transform .38s ease;
}

.generic-action-bar.show {
  opacity: 1;
  transform: translateY(0);
}

.generic-action-bar.is-passive {
  grid-template-columns: minmax(0, 1fr);
  border-color: #b9dfce;
  background: #eef9f4;
}

.generic-action-bar.is-passive p {
  color: #356d57;
}

.generic-action-bar strong {
  display: block;
  font-size: 10px;
}

.generic-action-bar p {
  margin: 2px 0 0;
  color: #655c80;
  font-size: 9px;
}

[data-generic-action][hidden] {
  display: none !important;
}

.generic-receipt {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  max-width: 520px;
  padding: 10px 12px;
  border: 1px solid #b9dfce;
  border-radius: 8px;
  background: #eef9f4;
  box-shadow: 0 16px 40px rgba(17, 45, 34, .16);
  color: #16623f;
  font: 9px/1.55 var(--mono);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .38s ease, transform .38s ease;
}

.generic-receipt.show {
  opacity: 1;
  transform: translateY(0);
}

.product-panel.has-email-preview .generic-action-bar {
  min-height: 62px;
  padding-right: 48%;
}

.product-panel.has-email-preview .generic-receipt {
  right: 10px;
  bottom: 9px;
  max-width: 45%;
  padding: 6px 8px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  font-size: 7.5px;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .site-nav .nav-links {
    display: none;
  }

  .site-nav .nav-links.open {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: calc(100dvh - 64px);
    padding: 24px;
    overflow-y: auto;
    border-bottom: 1px solid #d7d4cd;
    background: #f5f1e8;
    box-shadow: 0 18px 36px rgba(14, 13, 12, .12);
  }

  .site-nav .nav-links.open a {
    width: 100%;
    min-height: 44px;
  }

  .site-nav .nav-toggle {
    display: block;
  }

  .tour-controls {
    grid-template-columns: 36px minmax(180px, 290px) auto auto minmax(60px, 1fr) auto;
    padding-inline: 16px;
  }
}

@media (max-width: 699px) {
  body {
    grid-template-rows: 64px 46px minmax(0, 1fr);
  }

  .site-nav .container {
    padding-inline: 16px;
  }

  .tour-controls {
    height: 46px;
    grid-template-columns: 32px minmax(0, 1fr) 66px;
    gap: 7px;
    padding-inline: 8px;
  }

  .tour-position,
  .tour-category,
  .tour-directory,
  .tour-progress {
    display: none;
  }

  .tour-select-wrap {
    display: block;
  }

  .tour-select-wrap select {
    height: 32px;
    font-size: 11px;
  }

  .tour-step-button {
    min-width: 32px;
    padding-inline: 7px;
  }

  .tour-next-control {
    min-width: 66px;
  }

  .product-panel.is-active {
    grid-template-rows: 194px minmax(0, 1fr);
  }

  .built-features {
    gap: 4px;
  }

  .built-features > div { scrollbar-width: none; }

  .built-features > div::-webkit-scrollbar {
    display: none;
  }

  .built-features b {
    min-height: 20px;
    padding: 4px 6px;
    font-size: 7.5px;
  }

  .generic-next {
    padding: 7px 10px;
    font-size: 9px;
  }

  .product-panel:not(.has-email-preview) .generic-receipt {
    bottom: -52px;
  }
}

@media (max-height: 720px) and (min-width: 700px) {
  body {
    grid-template-rows: 56px 44px minmax(0, 1fr);
  }

  .site-nav,
  .site-nav .nav-inner {
    height: 56px;
  }

  .site-nav .nav-links .site-nav-cta {
    height: 38px;
  }

  .tour-controls {
    height: 44px;
  }

  .generic-section-head {
    margin-bottom: 5px;
  }

  .generic-product-tabs {
    margin-bottom: 5px;
  }

  .generic-product-tabs span {
    padding-block: 5px 6px;
  }

  .generic-filter-strip {
    margin-bottom: 6px;
  }

  .generic-filter-strip > span {
    min-height: 22px;
    padding: 4px 7px;
  }

  .generic-kpis {
    margin-bottom: 6px;
  }

  .generic-workspace {
    gap: 8px;
  }

  .generic-query-card,
  .generic-result-card {
    min-height: 0;
  }

  .generic-query {
    min-height: 48px;
    margin: 8px;
    padding: 8px;
  }

  .generic-pipeline {
    gap: 4px;
    padding: 0 8px 8px;
  }

  .generic-pipeline-step {
    padding: 5px 7px;
  }

  .generic-column-head {
    padding: 5px 15px 0;
  }

  .generic-rows {
    gap: 4px;
    padding: 6px 8px;
  }

  .generic-row {
    padding: 5px 7px;
  }

  .generic-exception {
    margin: 0 8px 8px;
    padding: 6px 8px;
    line-height: 1.35;
  }

  .generic-action-bar {
    margin-top: 6px;
    padding: 7px 9px;
  }

  .product-panel:not(.has-email-preview) .generic-receipt {
    bottom: -52px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .generic-next {
    display: inline-flex;
  }
}
