@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-500.ttf") format("truetype");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-800.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-500.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-600.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-700.ttf") format("truetype");
}

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

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/geist-500.woff2") format("woff2");
}

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

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/geist-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --black: #0d0d0d;
  --white: #fff;
  --surface-1: #1a1a1a;
  --surface-2: #242424;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-soft: rgba(255, 255, 255, 0.06);
  --border-light: #e5e7eb;
  --text-dark: #1d1d1f;
  --text-muted: #86868b;
  --text-body-gray: #6b7280;
  --text-on-dark: #fff;
  --text-on-dark-muted: #aaa;
  --green: #44c67f;
  --blue: #3784f4;
  --purple: #9553f9;
  --pink: #f966ac;
  --amber: #ffbe4c;
  --input-bg: #f5f5f7;
  --font-sans: "Plus Jakarta Sans", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-geist: "Geist", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.page-transition {
  opacity: 0;
  transition: opacity 200ms ease;
}

body.page-transition.is-loaded {
  opacity: 1;
}

body.page-transition.is-leaving {
  opacity: 0;
  transition-duration: 150ms;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v3-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.v3-main {
  flex: 1 0 auto;
}

/* ---------- Navbar ---------- */

.v3-navbar {
  position: relative;
  display: flex;
  width: 100%;
  height: 64px;
  padding: 0 48px;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  z-index: 40;
}

.v3-navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.v3-navbar-brand svg {
  display: block;
}

.v3-navbar-brand span {
  font-weight: 700;
  font-size: 15px;
}

.v3-navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.v3-navbar-link {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.v3-navbar-link:hover,
.v3-navbar-link.active {
  opacity: 1;
}

.v3-navbar-cta {
  display: inline-flex;
  padding: 8px 16px;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.v3-navbar-cta:hover {
  background: var(--white);
  color: var(--black);
}

.v3-navbar-dropdown {
  position: relative;
  display: inline-flex;
}

.v3-navbar-dropdown-trigger {
  display: flex;
  align-items: baseline;
  gap: 4px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  opacity: 0.6;
  cursor: pointer;
  padding: 0;
}

.v3-navbar-dropdown-trigger[aria-expanded="true"],
.v3-navbar-dropdown-trigger:hover {
  opacity: 1;
}

.v3-navbar-dropdown-trigger .chevron {
  width: 8px;
  height: 8px;
  transition: transform 0.15s ease;
}

.v3-navbar-dropdown-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.v3-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 240px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border-dark);
  background: var(--surface-1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(.16, 1, .3, 1), transform 180ms cubic-bezier(.16, 1, .3, 1);
  z-index: 50;
}

.v3-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.v3-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
}

.v3-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.v3-dropdown-item strong {
  font-size: 14px;
  font-weight: 600;
}

.v3-dropdown-item span {
  font-size: 12px;
  color: var(--text-on-dark-muted);
}

.v3-user-dropdown {
  right: 0;
  left: auto;
  transform: translateY(-8px);
  min-width: 200px;
}

.v3-user-dropdown.open {
  transform: translateY(0);
}

/* ---------- Buttons ---------- */

.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.15s ease;
  white-space: nowrap;
}

.v3-btn:active {
  transform: scale(0.98);
}

.v3-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.v3-btn-primary {
  background: var(--green);
  color: #000;
}

.v3-btn-primary:hover {
  opacity: 0.9;
}

.v3-btn-dark {
  background: var(--black);
  color: var(--white);
}

.v3-btn-dark:hover {
  opacity: 0.85;
}

.v3-btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.v3-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.v3-btn-outline-dark {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-dark);
}

.v3-btn-outline-dark:hover {
  background: var(--input-bg);
}

.v3-btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.v3-btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Sections / typography ---------- */

.v3-section {
  padding: 120px;
}

.v3-section-tight {
  padding: 80px 120px;
}

.v3-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  padding: 180px 80px 120px;
  background: var(--black);
  color: var(--white);
}

.v3-hero-glow {
  background: radial-gradient(50% 50% at 50% 50%, rgba(68, 198, 127, 0.10) 0%, rgba(0, 0, 0, 0) 100%), var(--black);
}

.v3-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1000px;
}

.v3-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.v3-h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.v3-h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.v3-h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.v3-lede {
  margin: 0;
  max-width: 700px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

.v3-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.v3-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.v3-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 80px;
}

.v3-section.on-dark,
.v3-section-tight.on-dark {
  background: var(--black);
  color: var(--white);
}

.v3-section.on-tint {
  background: #f5f5f7;
}

/* ---------- Cards / grids ---------- */

.v3-grid {
  display: grid;
  gap: 24px;
}

.v3-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.v3-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.v3-card {
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  background: var(--white);
}

.v3-card-dark {
  border: 1px solid var(--border-dark-soft);
  background: var(--surface-1);
  color: var(--white);
}

.v3-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.v3-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.v3-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v3-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 18px;
  color: var(--text-dark);
}

.v3-bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- FAQ accordion ---------- */

.v3-faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
}

.v3-faq-item {
  border-bottom: 1px solid var(--border-light);
}

.v3-faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.v3-faq-question .plus {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}

.v3-faq-question .plus::before,
.v3-faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--text-dark);
  transition: transform 0.2s ease;
}

.v3-faq-question .plus::before {
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
}

.v3-faq-question .plus::after {
  left: 9px;
  top: 0;
  width: 2px;
  height: 20px;
}

.v3-faq-item.active .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.v3-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.v3-faq-item.active .v3-faq-answer {
  max-height: 400px;
}

.v3-faq-answer p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Forms ---------- */

.v3-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.v3-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.v3-field.on-dark label {
  color: var(--white);
}

.v3-input,
.v3-textarea,
.v3-select {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--input-bg);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: 0;
  transition: border-color 0.15s ease;
}

.v3-input:focus,
.v3-textarea:focus,
.v3-select:focus {
  border-color: var(--green);
}

.v3-textarea {
  min-height: 140px;
  resize: vertical;
}

.v3-input-group {
  position: relative;
  display: flex;
}

.v3-input-group .v3-input {
  flex: 1;
}

.v3-input-adorn-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Footer ---------- */

.v3-footer {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 100px 80px 60px;
  background: var(--black);
  color: var(--white);
}

.v3-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
}

.v3-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 340px;
}

.v3-footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.v3-footer-cols {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  flex-wrap: wrap;
}

.v3-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 120px;
}

.v3-footer-col h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.v3-footer-col a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.v3-footer-col a:hover {
  color: var(--white);
}

.v3-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.v3-footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.v3-footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Data / mono chips ---------- */

.v3-mono {
  font-family: var(--font-mono);
}

.v3-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border-dark-soft);
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-family: var(--font-mono);
}

.v3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v3-code-block {
  border-radius: 16px;
  background: var(--black);
  border: 1px solid var(--border-dark-soft);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  padding: 20px;
  overflow-x: auto;
  position: relative;
}

.v3-code-block .copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: var(--surface-1);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.v3-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-dark-soft);
  background: var(--surface-1);
}

.v3-stat strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.v3-stat span {
  font-size: 12px;
  color: var(--text-on-dark-muted);
}

/* ---------- Tables (dashboard / queue) ---------- */

.v3-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.v3-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.v3-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.v3-table tr:hover td {
  background: var(--input-bg);
}

.v3-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.v3-badge-green {
  background: rgba(68, 198, 127, 0.14);
  color: #1e8a53;
}

.v3-badge-amber {
  background: rgba(255, 190, 76, 0.18);
  color: #92660c;
}

.v3-badge-pink {
  background: rgba(249, 102, 172, 0.14);
  color: #ad2467;
}

.v3-badge-blue {
  background: rgba(55, 132, 244, 0.14);
  color: #1a56c7;
}

/* ---------- Dashboard shell ---------- */

.v3-dash-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 48px;
}

.v3-dash-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 4px;
}

.v3-dash-nav a.active,
.v3-dash-nav a:hover {
  color: var(--text-dark);
}

/* ---------- Profile modal / toast (functional UI) ---------- */

.v3-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.v3-profile-modal.open {
  display: flex;
}

.v3-profile-scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.5);
  opacity: 1;
  animation: none;
}

.v3-profile-card {
  position: relative;
  z-index: 1;
  width: 548px;
  height: 581px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  box-shadow: none;
  opacity: 1;
  transform: none;
  animation: none;
}

.v3-profile-card-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 548px;
  height: 581px;
  pointer-events: none;
  user-select: none;
}

.v3-profile-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
}

.v3-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 500;
}

.v3-profile-row span {
  color: var(--text-muted);
}

.v3-profile-row select {
  min-width: 120px;
  padding: 8px 10px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-sans);
}

.v3-profile-close {
  position: absolute;
  top: 56px;
  left: 440px;
  z-index: 2;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 0;
}

.v3-profile-done {
  position: absolute;
  top: 421.5px;
  left: 214px;
  z-index: 2;
  width: 120px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.v3-profile-state-select {
  position: absolute;
  top: 340.5px;
  left: 279px;
  z-index: 2;
  width: 181px;
  height: 57px;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.v3-form-status {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.v3-form-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.v3-tracker-review-actions.v3-box {
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(16px * var(--v3-render-scale, 1));
  background: #f5f5f7;
  font-family: var(--font-sans);
  line-height: normal;
  pointer-events: auto;
}

.v3-tracker-review-actions a {
  display: inline-flex;
  height: calc(42px * var(--v3-render-scale, 1));
  align-items: center;
  justify-content: center;
  padding: 0 calc(24px * var(--v3-render-scale, 1));
  border: calc(1px * var(--v3-render-scale, 1)) solid #0d0d0d;
  border-radius: 999px;
  font-size: calc(14px * var(--v3-render-scale, 1));
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.v3-tracker-review-login {
  min-width: calc(86px * var(--v3-render-scale, 1));
  background: #0d0d0d;
  color: #fff;
}

.v3-tracker-review-request {
  min-width: calc(155px * var(--v3-render-scale, 1));
  background: #f5f5f7;
  color: #0d0d0d;
}

/* ---------- Current Figma Receipt Tracker login ---------- */

.ay-tracker-access-stage {
  position: relative;
  width: min(100%, 1440px);
  height: var(--ay-tracker-scaled-height, 1310px);
  margin: 0 auto;
  overflow: hidden;
}

.ay-tracker-access-page {
  width: 1440px;
  min-height: 1310px;
  margin: 0;
  background: #fff;
  color: #343437;
  font-family: var(--font-sans);
  transform: scale(var(--ay-tracker-scale, 1));
  transform-origin: left top;
}

.ay-tracker-access-page > .ay-hipaa-nav {
  position: relative;
}

.ay-tracker-access-hero {
  display: flex;
  height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
  background: #0d0d0d;
  color: #fff;
  text-align: center;
}

.ay-tracker-access-hero h1 {
  width: 412px;
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: normal;
}

/*
 * Figma node 329:4 is a 1440 x 1736 desktop/unfolded frame. Its root frame is
 * authored at 73% opacity over Figma's #1e1e1e canvas, and its 56px title is a
 * single, non-wrapping line. Keep these properties out of the <=600px mobile
 * composition, whose sizing is independently authored below.
 */
@media (min-width: 601px) {
  /*
   * Figma node 234:1864 authors the complete desktop Payer Proof Guide root
   * at 73% opacity over the #1e1e1e canvas. The independently authored
   * 390px frame has no root opacity, so keep this strictly in the desktop /
   * unfolded range.
   */
  body[data-v3-page-slug="payerproof-guide"] {
    background: #1e1e1e;
  }

  body[data-v3-page-slug="payerproof-guide"] > .v3-page-frame[data-v3-page="payerproof-guide"] {
    opacity: 0.73;
  }

  body[data-v3-page-slug="tracker-access"] {
    background: #1e1e1e;
  }

  body[data-v3-page-slug="tracker-access"] > .ay-tracker-access-stage,
  body[data-v3-page-slug="tracker-access"] > .ay-figma-footer {
    opacity: 0.73;
  }

  .ay-tracker-access-hero h1 {
    width: auto;
    white-space: nowrap;
  }

  .ay-tracker-access-page > .ay-hipaa-nav {
    position: relative;
    top: auto;
    display: block;
    height: 64px;
    padding-right: 48px;
    padding-left: 48px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-brand {
    position: absolute;
    top: 22.5px;
    left: 48px;
    width: 111px;
    height: 19px;
    gap: 12px;
    font-size: 15px;
    line-height: 19px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-brand > span {
    display: block;
    width: 84px;
    height: 19px;
    flex: 0 0 84px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-nav-links {
    position: absolute;
    top: 24px;
    left: 520px;
    width: 379px;
    height: 16px;
    gap: 32px;
    line-height: 16px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(1) {
    flex: 0 0 90px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(2) {
    flex: 0 0 21px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(3) {
    flex: 0 0 66px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(4) {
    flex: 0 0 47px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(5) {
    flex: 0 0 27px;
  }

  .ay-tracker-access-page > .ay-hipaa-nav .ay-hipaa-request {
    position: absolute;
    top: 16px;
    right: 48px;
  }
}

.ay-tracker-access-hero p {
  margin: 0;
  color: #86868b;
  font-size: 16px;
  line-height: normal;
}

.ay-tracker-access-split {
  display: grid;
  height: 587px;
  grid-template-columns: 540px 540px;
  gap: 120px;
  padding: 140px max(120px, calc((100vw - 1200px) / 2)) 0;
  background: #fff;
}

.ay-tracker-access-copy {
  width: 540px;
}

.ay-tracker-access-copy h2 {
  margin: 0;
  color: #343433;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.ay-tracker-access-copy p {
  width: 540px;
  margin: 20px 0 0;
  color: #6b7280;
  font-size: 19px;
  line-height: 1.5;
}

.ay-tracker-access-form {
  position: relative;
  width: 540px;
  height: 187px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fafafa;
}

.ay-tracker-access-form > label {
  display: block;
  margin: 0 0 8px;
  color: #888;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
}

.ay-tracker-access-control {
  display: flex;
  width: 484px;
  height: 44px;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ay-tracker-access-control.field-error {
  border-color: #b42318;
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.12);
}

.ay-tracker-access-control input {
  min-width: 0;
  height: 42px;
  flex: 1;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #343437;
  font: 400 14px/18px var(--font-sans);
}

.ay-tracker-access-control input::placeholder {
  color: #6b7280;
  opacity: 1;
}

/*
 * Figma specifies normal leading for credential text. Chromium always
 * computes ::placeholder leading as normal, even when a numeric author value
 * is declared, so normalize the corresponding entered text as well. This
 * changes no family, size, weight, field box, padding, or responsive geometry.
 */
body[data-v3-page-slug="docs-login"] input[type="email"],
body[data-v3-page-slug="docs-login"] input[type="password"],
body[data-v3-page-slug="tracker-access"] input[type="password"],
body[data-v3-page-slug="multihop-login"] input[type="email"],
body[data-v3-page-slug="multihop-login"] input[type="password"],
body[data-v3-page-slug="payerproof-login"] input[type="email"],
body[data-v3-page-slug="payerproof-login"] input[type="password"],
body[data-v3-page-slug="docs-login"] input[type="email"]::placeholder,
body[data-v3-page-slug="docs-login"] input[type="password"]::placeholder,
body[data-v3-page-slug="tracker-access"] input[type="password"]::placeholder,
body[data-v3-page-slug="multihop-login"] input[type="email"]::placeholder,
body[data-v3-page-slug="multihop-login"] input[type="password"]::placeholder,
body[data-v3-page-slug="payerproof-login"] input[type="email"]::placeholder,
body[data-v3-page-slug="payerproof-login"] input[type="password"]::placeholder {
  line-height: normal !important;
}

.ay-tracker-access-control button {
  width: 59px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #888;
  font: 600 11px/normal var(--font-sans);
  cursor: pointer;
}

.ay-tracker-access-submit {
  width: 484px;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #0d0d0d;
  color: #fff;
  font: 600 15px/19px var(--font-sans);
  cursor: pointer;
}

.ay-tracker-access-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ay-tracker-access-error {
  position: absolute;
  top: 190px;
  left: 28px;
  display: none;
  width: 484px;
  margin: 0;
  color: #b42318;
  font-size: 12px;
  line-height: 16px;
}

.ay-tracker-access-error.visible {
  display: block;
}

.ay-tracker-access-cards {
  display: grid;
  height: 259px;
  grid-template-columns: repeat(3, 384px);
  gap: 24px;
  justify-content: center;
  padding: 0 120px 120px;
  background: #fff;
}

.ay-tracker-access-cards article {
  width: 384px;
  height: 139px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f5f5f7;
}

.ay-tracker-access-cards h2 {
  margin: 0;
  color: #343433;
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
}

.ay-tracker-access-cards p {
  width: 328px;
  margin: 16px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 21px;
}

body[data-v3-page-slug="tracker-access"] .v3-page-frame .v3-form .v3-input.v3-box:focus,
body[data-v3-page-slug="tracker-access"] .v3-page-frame .v3-form .v3-input.v3-box.has-value {
  padding: 0 14px;
  border-radius: 11px;
  background: #fff;
  color: #343433;
  caret-color: #343433;
  font: 400 14px/1 var(--font-sans);
}

/* ---------- Current Figma FAQ page ---------- */

.ay-faq-page {
  width: 1440px;
  max-width: none;
  margin: 0 auto;
  background: #fff;
  color: #1d1d1f;
}

.ay-faq-hero {
  display: flex;
  height: 516px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 180px 80px 120px;
  background: #0d0d0d;
  color: #fff;
  text-align: center;
}

.ay-faq-hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.ay-faq-hero p {
  width: 900px;
  max-width: 900px;
  margin: 24px 0 0;
  color: #aaa;
  font-size: 19px;
  line-height: 1.5;
}

.ay-faq-filter {
  display: flex;
  height: 108px;
  align-items: flex-start;
  padding: 32px 80px;
  background: #fff;
}

.ay-faq-filter-control {
  display: flex;
  width: 530px;
  height: 44px;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  background: #fff;
}

.ay-faq-filter-control > span,
.ay-faq-filter-control button {
  height: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1d1d1f;
  font: 500 13px/16px var(--font-sans);
  white-space: nowrap;
}

.ay-faq-filter-control > span {
  width: 66px;
  flex: 0 0 66px;
  padding: 8px 0;
  color: #86868b;
  text-align: center;
}

.ay-faq-filter-control button {
  padding: 8px 16px;
  cursor: pointer;
}

.ay-faq-filter-control button.active {
  background: #000;
  color: #fff;
}

.ay-faq-section {
  min-height: 726px;
  padding: 120px 80px;
  background: #f5f5f7;
}

.ay-faq-section[data-category="build-vs-buy"] {
  background: #fff;
}

.ay-faq-section.dark {
  background: #0d0d0d;
  color: #fff;
}

.ay-faq-section:last-of-type {
  min-height: 644px;
}

.ay-faq-section[hidden] {
  display: none;
}

.ay-faq-section > h2 {
  width: 637px;
  margin: 0 0 64px;
  color: #1d1d1f;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.ay-faq-section.dark > h2 {
  color: #fff;
}

.ay-faq-section .ay-faq-list {
  width: 800px;
}

/* ---------- FAQ accordions ---------- */

.ay-faq-list {
  display: flex;
  width: min(800px, 100%);
  flex-direction: column;
  gap: 12px;
}

.ay-faq-item {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.ay-faq-item.dark {
  border-color: #333;
  background: #1a1a1a;
  color: #fff;
}

.ay-faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 23px 24px;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.ay-faq-item.dark .ay-faq-question {
  color: #fff;
}

.ay-faq-question .plus {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.ay-faq-question .plus::before,
.ay-faq-question .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.ay-faq-question .plus::before {
  left: 4px;
  top: 9px;
  width: 12px;
  height: 2px;
}

.ay-faq-question .plus::after {
  left: 9px;
  top: 4px;
  width: 2px;
  height: 12px;
}

.ay-faq-item.active .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.ay-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 250ms ease, opacity 180ms ease, transform 250ms ease;
}

.ay-faq-item.active .ay-faq-answer {
  max-height: 480px;
  opacity: 1;
  transform: translateY(0);
}

.ay-faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
}

.ay-faq-item.dark .ay-faq-answer p {
  color: #c5c5c8;
}

.v3-product-faq-shell.v3-box {
  z-index: 6;
  min-height: calc((var(--h) / var(--page-h)) * 100%);
  height: auto;
  padding: 0;
  background: #fff;
  pointer-events: auto;
}

/* The public product hero exports lag behind the latest Figma CTA copy. Mask
   only the stale action row, then render the current buttons at their exact
   Figma bounds so both the artwork and hit targets stay aligned. */
.v3-product-hero-mask.v3-box {
  z-index: 7;
  background: #fff;
  pointer-events: none;
}

.v3-product-hero-mask.is-dark.v3-box {
  background-color: #0d0d0d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='760' viewBox='0 0 1440 760'%3E%3Crect width='1440' height='760' fill='%230d0d0d'/%3E%3Crect width='1440' height='760' fill='url(%23g)'/%3E%3Cdefs%3E%3CradialGradient id='g' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(720 380) scale(720 380)'%3E%3Cstop stop-color='%2344C67F' stop-opacity='.101961'/%3E%3Cstop offset='1' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(-440px * var(--v3-render-scale, 1)) calc(-486px * var(--v3-render-scale, 1));
  background-size: calc(1440px * var(--v3-render-scale, 1)) calc(760px * var(--v3-render-scale, 1));
}

.v3-product-hero-actions.v3-box {
  z-index: 8;
  display: flex;
  align-items: stretch;
  gap: calc(16px * var(--v3-render-scale, 1));
  pointer-events: none;
}

.v3-product-hero-actions a {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0;
  padding: 0 calc(28px * var(--v3-render-scale, 1));
  border: calc(1px * var(--v3-render-scale, 1)) solid #1d1d1f;
  border-radius: 9999px;
  color: #1d1d1f;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: calc(16px * var(--v3-render-scale, 1));
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  transition: filter 200ms ease, box-shadow 200ms ease;
}

.v3-product-hero-actions a:nth-child(1) {
  flex: 0 0 calc(179px * var(--v3-render-scale, 1));
}

.v3-product-hero-actions a:nth-child(2) {
  flex: 0 0 calc(143px * var(--v3-render-scale, 1));
}

.v3-product-hero-actions a:nth-child(3) {
  flex: 0 0 calc(99px * var(--v3-render-scale, 1));
}

.v3-product-hero-actions .v3-product-hero-primary {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
}

.v3-product-hero-actions.is-dark .v3-product-hero-primary {
  border-color: #44c67f;
  background: #44c67f;
  color: #000;
}

.v3-product-hero-actions.is-dark .v3-product-hero-secondary {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.v3-product-hero-actions a:hover,
.v3-product-hero-actions a:focus-visible {
  filter: brightness(.92);
  box-shadow: 0 calc(4px * var(--v3-render-scale, 1)) calc(12px * var(--v3-render-scale, 1)) rgba(0, 0, 0, .1);
}

/* Split the product artwork immediately after the closed FAQ. These values
   must be percentages: the desktop frame scales above 1440px, while fixed
   pixel clipping exposes a second copy of the Figma FAQ at wide viewports. */
body[data-v3-page-slug="multihop"] .v3-page-art {
  clip-path: inset(0 0 21.385% 0);
}

body[data-v3-page-slug="payerproof"] .v3-page-art {
  clip-path: inset(0 0 22.038% 0);
}

.v3-product-faq-tail {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(var(--v3-faq-shift, 0px));
  transition: transform 250ms ease;
  pointer-events: none;
  user-select: none;
}

body[data-v3-page-slug="multihop"] .v3-product-faq-tail {
  clip-path: inset(78.615% 0 0 0);
}

body[data-v3-page-slug="payerproof"] .v3-product-faq-tail {
  clip-path: inset(77.962% 0 0 0);
}

/* These two product frames reserve the open-answer footprint from the first
   paint. Their tail offset is constant, so animating the initial 0 -> 216px
   assignment creates a visible footer/CTA drift during page load. Keep only
   the answer reveal animated; the source tail and its hit targets never move. */
body[data-v3-page-slug="multihop"] .v3-product-faq-tail,
body[data-v3-page-slug="payerproof"] .v3-product-faq-tail,
body[data-v3-page-slug="multihop"] .v3-faq-tail-hotspot,
body[data-v3-page-slug="payerproof"] .v3-faq-tail-hotspot {
  transition: none;
}

.v3-faq-tail-hotspot {
  transform: translateY(var(--v3-faq-shift, 0px));
  transition: transform 250ms ease;
}

.v3-product-faq-shell .ay-faq-list {
  width: 100%;
  gap: 0;
}

.v3-product-faq-shell .ay-faq-item {
  border: 0;
  border-bottom: calc(1px * var(--v3-render-scale, 1)) solid #e5e7eb;
  border-radius: 0;
  background: #fff;
}

.v3-product-faq-shell .ay-faq-question {
  min-height: calc(72px * var(--v3-render-scale, 1));
  padding: calc(24px * var(--v3-render-scale, 1)) 0;
  color: #1d1d1f;
  font-size: calc(20px * var(--v3-render-scale, 1));
  font-weight: 600;
  line-height: normal;
}

/* The product FAQs use the same stable-row behavior as Security: every row owns
   enough vertical space for its answer from initial load, so opening a row
   never pushes another divider, the CTA, the footer, or the scroll position. */
body[data-v3-page-slug="multihop"] .v3-product-faq-shell.v3-box,
body[data-v3-page-slug="payerproof"] .v3-product-faq-shell.v3-box {
  height: calc((var(--h) / var(--page-h)) * 100%);
  min-height: 0;
}

body[data-v3-page-slug="multihop"] .v3-product-faq-shell .ay-faq-list,
body[data-v3-page-slug="payerproof"] .v3-product-faq-shell .ay-faq-list {
  height: 100%;
}

body[data-v3-page-slug="multihop"] .v3-product-faq-shell .ay-faq-item,
body[data-v3-page-slug="payerproof"] .v3-product-faq-shell .ay-faq-item {
  height: calc(100% / 3);
  min-height: 0;
  flex: 0 0 calc(100% / 3);
  overflow: hidden;
}

.v3-product-faq-shell .ay-faq-answer p {
  padding: 0 0 calc(24px * var(--v3-render-scale, 1));
  color: #6b7280;
  font-size: calc(16px * var(--v3-render-scale, 1));
  line-height: 1.45;
}

.v3-product-faq-shell .v3-faq-question .plus {
  width: calc(20px * var(--v3-render-scale, 1));
  height: calc(20px * var(--v3-render-scale, 1));
}

.v3-product-faq-shell .v3-faq-question .plus::before {
  left: calc(4px * var(--v3-render-scale, 1));
  top: calc(9px * var(--v3-render-scale, 1));
  width: calc(12px * var(--v3-render-scale, 1));
  height: calc(2px * var(--v3-render-scale, 1));
}

.v3-product-faq-shell .v3-faq-question .plus::after {
  left: calc(9px * var(--v3-render-scale, 1));
  top: calc(4px * var(--v3-render-scale, 1));
  width: calc(2px * var(--v3-render-scale, 1));
  height: calc(12px * var(--v3-render-scale, 1));
}

/* The current Security desktop frame uses four contiguous 123px rows. Keep
   each row's footprint when its answer retracts so the intended 140px section
   padding does not turn into a large blank area above the CTA. */
body[data-v3-page-slug="security"] .v3-product-faq-shell.v3-box {
  height: calc((var(--h) / var(--page-h)) * 100%);
  min-height: 0;
  padding: 0;
}

body[data-v3-page-slug="security"] .v3-product-faq-shell .ay-faq-list {
  height: 100%;
  gap: 0;
}

body[data-v3-page-slug="security"] .v3-product-faq-shell .ay-faq-item {
  height: 25%;
  min-height: 0;
  flex: 0 0 25%;
  border: 0;
  border-bottom: calc(1px * var(--v3-render-scale, 1)) solid #e5e7eb;
  border-radius: 0;
  background: #fff;
}

body[data-v3-page-slug="security"] .v3-product-faq-shell .ay-faq-question {
  min-height: 0;
  padding: calc(32px * var(--v3-render-scale, 1)) 0 0;
  font-size: calc(18px * var(--v3-render-scale, 1));
  line-height: normal;
}

body[data-v3-page-slug="security"] .v3-product-faq-shell .ay-faq-answer p {
  padding:
    calc(16px * var(--v3-render-scale, 1))
    0
    calc(32px * var(--v3-render-scale, 1));
  color: #6b7280;
  font-size: calc(16px * var(--v3-render-scale, 1));
  line-height: normal;
}

/* The Security export contains a static copy of both the questions and their
   answers. Keep that artwork fully covered by the functional accordion so the
   closed state never shows a second text layer or an answer underneath it. */
body[data-v3-page-slug="security"] .v3-product-faq-shell.v3-faq-source-pristine,
body[data-v3-page-slug="security"] .v3-product-faq-shell.v3-faq-source-pristine .ay-faq-item {
  background: #fff;
}

body[data-v3-page-slug="security"] .v3-product-faq-shell.v3-faq-source-pristine .ay-faq-item {
  border-bottom-color: #e5e7eb;
}

/* ---------- Multi-Hop authenticated inbox + packet dialogs ---------- */

.v3-inbox-workspace.v3-box {
  z-index: 8;
  height: calc((var(--h) / var(--page-h)) * 100%);
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f2f31;
  font-family: var(--font-sans);
  line-height: 1.35;
  pointer-events: none;
}

.v3-inbox-tabs {
  position: absolute;
  inset: 0;
}

.v3-inbox-tabs button {
  position: absolute;
  top: 0;
  width: 33.333%;
  height: 105px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.v3-inbox-tabs button:first-child { left: 33.333%; }
.v3-inbox-tabs button:last-child { left: 66.666%; }

.v3-inbox-tabs span {
  display: none;
}

.v3-inbox-list {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.v3-inbox-row {
  position: relative;
  top: 210px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(130px, .7fr) minmax(130px, .7fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 14px 16px 14px 20px;
  border: 1px solid #e4e4e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 13, 13, 0.04);
  pointer-events: auto;
}

.v3-inbox-row + .v3-inbox-row { margin-top: 10px; }

.v3-inbox-sent-hit {
  position: absolute;
  top: calc(738px + (var(--row) * 64px));
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.v3-inbox-sent-hit:focus-visible,
.v3-inbox-tabs button:focus-visible {
  outline: 3px solid #00774a;
  outline-offset: -3px;
}

.v3-inbox-row strong,
.v3-inbox-row small {
  display: block;
}

.v3-inbox-row strong {
  overflow: hidden;
  color: #2f2f31;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-inbox-row small {
  margin-top: 4px;
  overflow: hidden;
  color: #929296;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-inbox-row-action {
  min-width: 154px;
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid #171719;
  border-radius: 999px;
  background: #171719;
  color: #fff;
  font: 700 11px/1 var(--font-sans);
  cursor: pointer;
}

/* Current Figma inbox states: New Packet, Received Tab, and Sent Tab. */
body[data-v3-page-slug="multihop-inbox"] .v3-page-frame {
  width: min(100%, 1440px);
  height: 1354px;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  line-height: normal;
}

body[data-v3-page-slug="multihop-inbox"] .v3-page-art {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-workspace {
  position: absolute;
  top: 64px;
  left: 0;
  z-index: 4;
  width: 100%;
  min-height: calc(100% - 64px);
  background: #fff;
  color: #161a21;
  font-family: var(--font-sans);
  line-height: normal;
  pointer-events: auto;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-page-header {
  height: 241px;
  padding: 80px 80px 40px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-page-header h1 {
  width: 720px;
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.12px;
  line-height: 67px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-page-header p {
  width: 720px;
  margin: 12px 0 0;
  color: #6d6a64;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-filter-row {
  display: flex;
  height: 68px;
  align-items: flex-start;
  gap: 8px;
  padding: 0 80px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-filter-row span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #6d6a64;
  font-size: 13px;
  white-space: nowrap;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs {
  position: relative;
  inset: auto;
  display: grid;
  width: calc(100% - 160px);
  height: 107px;
  margin: 0 80px;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs button,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs button:first-child,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs button:last-child {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  width: auto;
  height: 107px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 20px 0 0;
  border: 0;
  border-left: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  pointer-events: auto;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs button:first-child {
  border-left: 0;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs button[aria-selected="true"] {
  background: #f5f5f7;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs span {
  display: block;
  color: #6d6a64;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs button[aria-selected="true"] span {
  color: #161a21;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-tabs strong {
  display: block;
  font-size: 38px;
  font-weight: 600;
  line-height: 45px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-list {
  position: relative;
  inset: auto;
  overflow: visible;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-loading {
  display: flex;
  height: 160px;
  align-items: center;
  justify-content: center;
  color: #6d6a64;
  font-size: 14px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-packet-section {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 32px;
  padding: 0 80px 100px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-list[data-active="new"] .v3-inbox-new-section,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-list[data-active="received"] .v3-inbox-received-section,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-list[data-active="sent"] .v3-inbox-sent-section {
  padding-top: 40px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-list[data-active="default"] .v3-inbox-received-section {
  height: 261px;
  padding-top: 40px;
  padding-bottom: 44px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-list[data-active="default"] .v3-inbox-sent-section {
  height: 597px;
  padding-top: 0;
  padding-bottom: 100px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-packet-section.is-muted {
  opacity: .35;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-packet-section > header {
  display: flex;
  height: 37px;
  align-items: center;
  justify-content: space-between;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-packet-section h2 {
  margin: 0;
  color: #161a21;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search {
  display: flex;
  height: 37px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search > span {
  position: relative;
  width: 14px;
  height: 14px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search > span::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 7px;
  height: 7px;
  border: 2px solid #6d6a64;
  border-radius: 50%;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search > span::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  background: #6d6a64;
  transform: rotate(45deg);
  transform-origin: left center;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search input {
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #161a21;
  font: 400 14px/21px var(--font-sans);
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search input::placeholder {
  color: #6d6a64;
  opacity: 1;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-new-section .v3-inbox-search { width: 154px; }
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-sent-section .v3-inbox-search { width: 208px; }
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-received-section .v3-inbox-search { width: 238px; }
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search input { width: 100%; }

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table {
  overflow: hidden;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-head,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-row {
  display: grid;
  width: 100%;
  grid-template-columns: 220px 180px minmax(0, 1fr) 140px 120px;
  align-items: center;
  padding: 0 16px;
  text-align: left;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-head {
  height: 44px;
  border-bottom: 1px solid #e5e7eb;
  background: #f5f5f7;
  color: #6d6a64;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-row {
  position: static;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-row + .v3-inbox-row {
  margin-top: 0;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-row,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-sent-hit {
  position: relative;
  top: auto;
  left: auto;
  height: 64px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  pointer-events: auto;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-row:last-child,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-row:last-child .v3-inbox-table-row {
  border-bottom: 0;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-row:hover,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-row:focus-visible {
  background: #fafafa;
  outline: 2px solid #161a21;
  outline-offset: -2px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-new-section .v3-inbox-table-row {
  background: #f5f5f7;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-table-row[hidden] {
  display: none;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search-empty {
  display: grid;
  min-height: 72px;
  margin: 0;
  place-items: center;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font: 500 14px/1.4 var(--font-sans);
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-search-empty[hidden] {
  display: none;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-cell {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-cell strong,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-cell small {
  display: block;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-cell strong {
  color: #161a21;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-cell small {
  margin-top: 2px;
  color: #6d6a64;
  font-size: 9px;
  font-weight: 600;
  line-height: 11px;
  text-transform: uppercase;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-patient strong {
  font-family: var(--font-mono);
  font-size: 12px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-status {
  text-align: right;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-status b {
  font-size: 11px;
  font-weight: 600;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-status b.is-new {
  display: inline-flex;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #0d0d0d;
  color: #fff;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-status b.is-unread::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #0d0d0d;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-section {
  height: 366px;
  padding: 40px 80px;
  background: #fff;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-section.is-invisible {
  height: 359px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-card {
  display: flex;
  width: 100%;
  height: 286px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 32px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f5f5f7;
  text-align: center;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-icon img,
body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-icon svg {
  width: 24px;
  height: 24px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-icon svg {
  fill: none;
  stroke: #161a21;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-card p {
  margin: 8px 0 0;
  color: #6d6a64;
  font-size: 14px;
  line-height: 21px;
}

body[data-v3-page-slug="multihop-inbox"] .v3-inbox-empty-card button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #0d0d0d;
  color: #fff;
  font: 600 14px/21px var(--font-sans);
  cursor: pointer;
}

/* ---------- Figma 810:4 · shared forgot-password dialog ---------- */

.v3-forgot-password-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: var(--font-sans);
  line-height: normal;
}

.v3-forgot-password-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: default;
}

.v3-forgot-password-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(636px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  flex-direction: column;
  gap: 32px;
  overflow: auto;
  padding: 48px;
  border-radius: 12px;
  background: #fff;
  color: #343433;
  box-shadow: 0 24px 24px rgba(0, 0, 0, 0.12);
}

.v3-forgot-password-header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.v3-forgot-password-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 24px;
  background: #f3f4f6;
}

.v3-forgot-password-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.v3-forgot-password-heading {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.v3-forgot-password-heading h2,
.v3-forgot-password-heading p {
  width: 100%;
  margin: 0;
}

.v3-forgot-password-heading h2 {
  color: #343433;
  font: 700 28px/normal var(--font-sans);
}

.v3-forgot-password-heading p {
  color: #6b7280;
  font: 400 14px/1.5 var(--font-sans);
}

.v3-forgot-password-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 32px;
}

.v3-forgot-password-field {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
}

.v3-forgot-password-field label {
  color: #343433;
  font: 600 14px/normal var(--font-sans);
}

.v3-forgot-password-field .v3-auth-control {
  position: static;
  inset: auto;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: 0;
  background: #f5f5f7;
  color: #343433;
  caret-color: #343433;
  font: 400 16px/1.5 var(--font-sans);
}

.v3-forgot-password-field .v3-auth-control::placeholder {
  color: #6b7280;
  opacity: 1;
}

.v3-forgot-password-field .v3-auth-control:focus-visible {
  border-color: #6b7280;
  box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.18);
}

.v3-forgot-password-field.field-error .v3-auth-control {
  border-color: #b42318;
}

.v3-forgot-password-field .v3-field-error-message {
  position: static;
  inset: auto;
  width: 100%;
  margin-top: -6px;
}

.v3-forgot-password-actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.v3-forgot-password-submit {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font: 600 16px/normal var(--font-sans);
  cursor: pointer;
}

.v3-forgot-password-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.v3-forgot-password-back {
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  font: 500 14px/normal var(--font-sans);
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}

.v3-forgot-password-error.v3-form-inline-error {
  display: none;
  width: 100%;
  margin: -8px 0 -8px;
  text-align: center;
}

.v3-forgot-password-error.v3-form-inline-error.visible {
  display: block;
}

.v3-profile-password-fields {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.v3-profile-password-dialog {
  gap: 28px;
}

@media (max-width: 600px) {
  .v3-profile-password-modal {
    padding: 20px;
  }

  .v3-profile-password-dialog {
    width: min(350px, calc(100vw - 40px));
    max-height: calc(100dvh - 40px);
    gap: 24px;
    padding: 28px 24px;
  }

  .v3-profile-password-dialog .v3-forgot-password-heading h2 {
    font-size: 24px;
  }

  .v3-profile-password-dialog .v3-forgot-password-form {
    gap: 24px;
  }
}

.v3-packet-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  font-family: var(--font-sans);
  line-height: 1.45;
}

.v3-packet-modal.open { display: flex; }

.v3-packet-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 13, 13, 0.48);
  cursor: default;
}

.v3-packet-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1120px, 96vw);
  max-height: calc(100vh - 64px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e5e7;
  border-radius: 30px;
  background: #fff;
  color: #303032;
  box-shadow: 0 36px 100px rgba(13, 13, 13, 0.24);
}

.v3-packet-dialog-initiate {
  width: min(720px, 96vw);
}

.v3-packet-dialog-initiate .v3-packet-dialog-header h2 {
  font-size: 25px;
}

.v3-packet-dialog-header,
.v3-packet-dialog-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.v3-packet-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px 24px;
  border-bottom: 1px solid #e8e8ea;
}

.v3-packet-dialog-header h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.08;
}

.v3-packet-dialog-header p {
  margin: 7px 0 0;
  color: #929296;
  font-size: 12px;
}

.v3-packet-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e1e1e3;
  border-radius: 50%;
  background: #fafafa;
  color: #303032;
  font: 400 25px/1 var(--font-sans);
  cursor: pointer;
}

.v3-packet-dialog-body {
  min-height: 0;
  padding: 30px 34px 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.v3-packet-dialog-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 34px;
  border-top: 1px solid #e8e8ea;
}

.v3-packet-dialog-footer p {
  margin: 0;
  color: #929296;
  font-size: 11px;
}

.v3-packet-primary,
.v3-packet-secondary {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font: 700 12px/1 var(--font-sans);
  cursor: pointer;
}

.v3-packet-primary {
  border: 1px solid #171719;
  background: #171719;
  color: #fff;
}

.v3-packet-primary:disabled { cursor: wait; opacity: .55; }

.v3-packet-secondary {
  border: 1px solid #dcdcdf;
  background: #fff;
  color: #303032;
}

.v3-packet-section {
  padding: 24px 0;
  border-bottom: 1px solid #ececee;
}

.v3-packet-section:first-child { padding-top: 0; }
.v3-packet-section:last-child { border-bottom: 0; }

.v3-packet-section h3 {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.v3-packet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v3-packet-field,
.v3-packet-stat {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #e4e4e6;
  border-radius: 16px;
  background: #fafafa;
}

.v3-packet-field label,
.v3-packet-stat span {
  display: block;
  margin: 0 0 7px;
  color: #909094;
  font-size: 10px;
  font-weight: 600;
}

.v3-packet-field input,
.v3-packet-field select,
.v3-packet-field textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #dcdcdf;
  border-radius: 10px;
  background: #fff;
  color: #303032;
  font: 500 13px/1.4 var(--font-sans);
}

.v3-packet-field textarea { min-height: 76px; resize: vertical; }
.v3-packet-stat strong { display: block; overflow-wrap: anywhere; font-size: 14px; }

.v3-packet-documents {
  display: grid;
  gap: 8px;
}

.v3-packet-document {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid #e5e5e7;
  border-radius: 14px;
  background: #fff;
}

.v3-packet-document-number {
  color: #199b60;
  font-size: 10px;
  font-weight: 800;
}

.v3-packet-document strong,
.v3-packet-document small { display: block; }
.v3-packet-document strong { font-size: 13px; }
.v3-packet-document small { margin-top: 3px; color: #929296; font-size: 10px; }
.v3-packet-document input { width: 18px; height: 18px; accent-color: #171719; }

.v3-packet-notice {
  padding: 17px 18px;
  border-left: 3px solid #199b60;
  border-radius: 0 13px 13px 0;
  background: #effaf4;
  color: #57625c;
  font-size: 12px;
}

/* ---------- Current Figma Multi-Hop record dialogs ---------- */

.v3-packet-dialog,
.v3-packet-dialog-initiate,
.v3-packet-dialog-received,
.v3-packet-dialog-sent,
.v3-packet-dialog-decrypted {
  width: 720px;
  max-width: 100vw;
  height: auto;
  max-height: none;
  border: 0;
  border-radius: 0;
  color: #111;
  box-shadow: -20px 0 70px rgba(13, 13, 13, .18);
  animation: ay-slide-over-in 300ms ease-out both;
}

.v3-packet-dialog-received {
  overflow: hidden;
  border-radius: 10px;
}

.v3-packet-dialog-sent {
  display: flex;
  height: min(1612px, 100vh);
  max-height: 100vh;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
}

.v3-packet-dialog-decrypted {
  display: flex;
  height: min(1768px, 100vh);
  max-height: 100vh;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5e7eb, -10px 0 40px rgba(0, 0, 0, .1);
}

.v3-packet-dialog-initiate {
  display: block;
  overflow-y: auto;
  border-radius: 10px;
  scrollbar-width: none;
}

.v3-packet-dialog-initiate::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@keyframes ay-slide-over-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.v3-packet-dialog-header,
.v3-packet-dialog-footer {
  background: #fff;
  backdrop-filter: none;
}

.v3-packet-dialog-header {
  position: relative;
  min-height: 104px;
  gap: 24px;
  padding: 24px;
  border-color: #e5e7eb;
}

.v3-packet-dialog-initiate .v3-packet-dialog-header {
  height: 116px;
  min-height: 116px;
}

.v3-packet-dialog-received .v3-packet-dialog-header,
.v3-packet-dialog-sent .v3-packet-dialog-header {
  height: 115px;
  min-height: 115px;
}

.v3-packet-dialog-decrypted .v3-packet-dialog-header {
  height: 115px;
  min-height: 115px;
  flex: 0 0 115px;
  border-radius: 24px 24px 0 0;
}

.v3-packet-dialog-sent .v3-packet-dialog-header {
  height: 143px;
  min-height: 143px;
  border-radius: 24px 24px 0 0;
}

.v3-packet-dialog-received .v3-packet-eyebrow { font-size: 11px; }

.v3-packet-header-titles {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.v3-packet-dialog-sent .v3-packet-header-titles { gap: 8px; }

.v3-packet-dialog-decrypted .v3-packet-header-titles { gap: 4px; }

.v3-packet-dialog-decrypted .v3-packet-header-context {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.v3-packet-dialog-decrypted .v3-packet-header-context code {
  flex: 0 0 auto;
  font-size: 12px;
}

.v3-packet-header-context {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v3-packet-header-context code {
  color: #0d0d0d;
  font: 700 13px/normal var(--font-mono);
}

.v3-packet-eyebrow {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  text-transform: none;
}

.v3-packet-dialog-header h2,
.v3-packet-dialog-initiate .v3-packet-dialog-header h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: normal;
}

.v3-packet-dialog-header p {
  margin: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-geist);
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-packet-close {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  padding: 0;
}

.v3-packet-dialog-received .v3-packet-close { background: transparent; }

.v3-packet-dialog-sent .v3-packet-close {
  width: 32px;
  height: 32px;
  border-radius: 20px;
  background: #f3f4f6;
}

.v3-packet-dialog-decrypted .v3-packet-close {
  width: 32px;
  height: 32px;
  border-radius: 20px;
  background: #f3f4f6;
}

.v3-packet-dialog-decrypted .v3-packet-close img {
  width: 14px;
  height: 14px;
  margin: auto;
}

.v3-packet-close img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.v3-packet-dialog-initiate .v3-packet-close {
  position: absolute;
  top: 46px;
  right: 24px;
}

.v3-packet-dialog-initiate .v3-packet-close img {
  width: 14px;
  height: 14px;
}

.v3-packet-dialog-body {
  padding: 24px;
  overflow-y: auto;
}

.v3-packet-dialog-initiate .v3-packet-dialog-body {
  overflow: visible;
  scrollbar-width: none;
}

.v3-packet-dialog-sent .v3-packet-dialog-body {
  flex: 1 1 auto;
  overflow-y: auto;
}

.v3-packet-dialog-decrypted .v3-packet-dialog-body {
  min-height: 0;
  flex: 1 1 1529px;
  overflow-y: auto;
  padding: 24px;
}

.v3-packet-dialog-initiate .v3-packet-dialog-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.v3-packet-dialog-body > form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.v3-figma-received-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.v3-figma-received-body > .v3-figma-received-documents-section { margin-top: -2px; }
.v3-figma-received-body > .v3-figma-password-input { margin-top: -1px; }

.v3-packet-dialog-footer {
  min-height: 84px;
  padding: 20px 24px;
  border-color: #e5e7eb;
}

.v3-packet-dialog-initiate .v3-packet-dialog-footer {
  position: sticky;
  bottom: 0;
  min-height: 82px;
  padding: 19px 24px;
}

html:has(style[data-ayraExpandedDialogAudit]) .v3-packet-dialog,
html:has(style[data-ayraExpandedDialogAudit]) .v3-packet-dialog-initiate,
html:has(style[data-ayraExpandedDialogAudit]) .v3-packet-dialog-received,
html:has(style[data-ayraExpandedDialogAudit]) .v3-packet-dialog-sent,
html:has(style[data-ayraExpandedDialogAudit]) .v3-packet-dialog-decrypted {
  height: auto !important;
  max-height: none !important;
}

.v3-packet-dialog-received .v3-packet-dialog-footer {
  min-height: 82px;
  padding: 19px 24px;
}

.v3-packet-dialog-sent .v3-packet-dialog-footer {
  height: 81px;
  min-height: 81px;
  padding: 19px 24px;
  justify-content: space-between;
}

.v3-packet-dialog-decrypted .v3-packet-dialog-footer {
  height: 82px;
  min-height: 82px;
  flex: 0 0 82px;
  justify-content: space-between;
  padding: 19px 24px;
}

.v3-decrypted-success {
  display: flex;
  height: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  background: #ecfdf5;
  color: #065f46;
  font: 600 13px/normal var(--font-geist);
}

.v3-decrypted-success svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.v3-decrypted-body {
  display: flex;
  height: 1481px;
  flex-direction: column;
  gap: 32px;
}

.v3-decrypted-card {
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.v3-decrypted-card h3,
.v3-decrypted-records-section h3 {
  margin: 0;
  color: #111;
  font: 700 16px/normal var(--font-geist);
  letter-spacing: 0;
}

.v3-decrypted-patient {
  height: 200px;
  flex: 0 0 200px;
  padding: 24px;
}

.v3-decrypted-patient-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  column-gap: 24px;
  row-gap: 18px;
}

.v3-decrypted-patient-grid::after {
  position: absolute;
  top: 49px;
  right: 0;
  left: 0;
  height: 1px;
  background: #e5e7eb;
  content: "";
}

.v3-decrypted-patient-grid p,
.v3-decrypted-verification p {
  margin: 0;
}

.v3-decrypted-patient-grid p:nth-child(n + 4) { padding-top: 1px; }

.v3-decrypted-patient-grid span,
.v3-decrypted-primary-diagnosis > span,
.v3-decrypted-assessments article > span,
.v3-decrypted-verification p > span {
  display: block;
  color: #6b7280;
  font: 400 11px/normal var(--font-geist);
}

.v3-decrypted-patient-grid strong {
  display: block;
  margin-top: 7px;
  color: #111;
  font: 500 13px/normal var(--font-geist);
}

.v3-decrypted-clinical {
  height: 380px;
  flex: 0 0 380px;
  padding: 24px;
}

.v3-decrypted-clinical > header {
  display: flex;
  height: 20px;
  align-items: center;
  justify-content: space-between;
}

.v3-decrypted-clinical > header > span,
.v3-decrypted-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1fae5;
  border-radius: 7px;
  background: #ecfdf5;
  color: #065f46;
  font: 600 10px/normal var(--font-geist);
}

.v3-decrypted-clinical > header > span {
  height: 21px;
  padding: 0 9px;
}

.v3-decrypted-primary-diagnosis {
  display: flex;
  height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-top: 27px;
  padding: 0 16px;
  border-radius: 10px;
  background: #0d0d0d;
}

.v3-decrypted-primary-diagnosis > span { color: #9ca3af; }

.v3-decrypted-primary-diagnosis strong {
  overflow: hidden;
  color: #fff;
  font: 500 13px/normal var(--font-geist);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-decrypted-primary-diagnosis code {
  margin-right: 12px;
  color: #fff;
  font: 700 13px/normal var(--font-mono);
}

.v3-decrypted-assessments {
  display: grid;
  height: 79px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.v3-decrypted-assessments article {
  padding: 15px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.v3-decrypted-assessments p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 0;
}

.v3-decrypted-assessments strong {
  color: #111;
  font: 700 24px/normal var(--font-geist);
}

.v3-decrypted-assessments small {
  color: #6b7280;
  font: 500 12px/normal var(--font-geist);
}

.v3-decrypted-medications {
  margin-top: 20px;
}

.v3-decrypted-medications > span {
  display: block;
  margin-bottom: 7px;
  color: #111;
  font: 600 12px/normal var(--font-geist);
}

.v3-decrypted-medications p {
  margin: 0;
  color: #6b7280;
  font: 400 12px/22px var(--font-geist);
}

.v3-decrypted-medications p::before {
  margin-right: 8px;
  content: "•";
}

.v3-decrypted-records-section {
  display: grid;
  height: 630px;
  flex: 0 0 630px;
  grid-template-rows: 16px 590px;
  gap: 24px;
}

.v3-decrypted-records-section h3 { line-height: 16px; }

.v3-decrypted-records {
  height: 590px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.v3-decrypted-record-row {
  display: grid;
  box-sizing: border-box;
  height: 59px;
  grid-template-columns: 22px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid #e5e7eb;
}

.v3-decrypted-record-row:nth-child(even) { background: #f9fafb; }
.v3-decrypted-record-row:last-child { border-bottom: 0; }

.v3-decrypted-record-row > span {
  color: #6b7280;
  font: 400 10px/normal var(--font-mono);
}

.v3-decrypted-record-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.v3-decrypted-record-row strong {
  overflow: hidden;
  color: #111;
  font: 600 12px/normal var(--font-geist);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-decrypted-record-row small {
  color: #6b7280;
  font: 400 10px/normal var(--font-geist);
}

.v3-decrypted-record-row button {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.v3-decrypted-record-row button:hover { background: #f3f4f6; }

.v3-decrypted-verification {
  height: 175px;
  flex: 0 0 175px;
  padding: 20px;
  background: #f9fafb;
}

.v3-decrypted-verification h3 { margin-bottom: 18px; }

.v3-decrypted-verification p {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px dashed #e5e7eb;
}

.v3-decrypted-verification p:last-child { border-bottom: 0; }

.v3-decrypted-verification code {
  color: #111;
  font: 500 11px/normal var(--font-mono);
}

.v3-decrypted-verification p > strong:not(.v3-decrypted-verified),
.v3-decrypted-verification em {
  overflow: hidden;
  color: #111;
  font: 400 11px/normal var(--font-geist);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-decrypted-verification em { font-style: italic; }

.v3-decrypted-verified {
  height: 20px;
  padding: 0 8px;
}

.v3-packet-primary,
.v3-packet-secondary {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
}

.v3-packet-primary {
  border-color: #111;
  background: #111;
}

.v3-packet-secondary {
  border-color: #e5e7eb;
  background: #e0e4e8;
  color: #6b7280;
}

.v3-packet-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v3-packet-download img {
  width: 16px;
  height: 16px;
}

.v3-figma-flow-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v3-figma-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v3-figma-section-heading > span:first-child {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.v3-figma-section-heading h3 {
  min-width: 0;
  flex: 1;
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
}

.v3-figma-section-heading button,
.v3-figma-optional {
  flex: 0 0 auto;
  border: 0;
  background: #fff;
  color: #0d0d0d;
  font: 600 13px/normal var(--font-sans);
  cursor: pointer;
}

.v3-figma-section-heading button { font-family: var(--font-geist); }

.v3-figma-optional {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: capitalize;
}

.v3-figma-section-copy {
  margin: -8px 0 0;
  color: #6b7280;
  font-size: 13px;
  font-family: var(--font-geist);
  line-height: 1.5;
}

.v3-figma-control {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
}

.v3-figma-control > img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.v3-figma-control input,
.v3-figma-control select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: 400 14px/normal var(--font-geist);
}

.v3-figma-control input::placeholder,
.v3-figma-control select:invalid { color: #6b7280; }

.v3-figma-control.is-select select {
  appearance: none;
  cursor: pointer;
}

.v3-figma-reason-dropdown {
  position: relative;
  width: 100%;
}

.v3-figma-reason-trigger {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #6b7280;
  text-align: left;
  font: 400 14px/normal var(--font-sans);
  cursor: pointer;
}

.v3-figma-reason-trigger span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v3-figma-reason-trigger img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 150ms ease;
}

.v3-figma-reason-dropdown.is-open {
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5e7eb, 0 1px 4px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.08);
}

.v3-figma-reason-dropdown.is-open .v3-figma-reason-trigger {
  height: 42px;
  padding: 0 14px;
  border-color: #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
}

.v3-figma-reason-dropdown.is-open .v3-figma-reason-trigger img {
  transform: rotate(180deg);
}

.v3-figma-reason-menu {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
  padding-top: 2px;
  border-top: 1px solid #e5e7eb;
}

.v3-figma-reason-menu[hidden] { display: none; }

.v3-figma-reason-menu button {
  display: flex;
  width: 100%;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #374151;
  text-align: left;
  font: 400 14px/normal var(--font-sans);
  cursor: pointer;
}

.v3-figma-reason-menu button:hover,
.v3-figma-reason-menu button:focus-visible,
.v3-figma-reason-menu button[aria-selected="true"] {
  background: #f3f4f6;
  color: #0d0d0d;
}

.v3-figma-reason-menu button[aria-selected="true"] {
  font-weight: 500;
}

.v3-figma-reason-menu button i {
  position: relative;
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.v3-figma-reason-menu button[aria-selected="true"] i {
  display: block;
}

.v3-figma-reason-menu button[aria-selected="true"] i::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 8px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(40deg);
}

.v3-figma-location-button {
  display: inline-flex;
  width: max-content;
  height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font: 500 14px/normal var(--font-geist);
  cursor: pointer;
}

.v3-figma-location-button img { width: 16px; height: 16px; }
.v3-figma-location-button.verified { border-color: #44c67f; background: #effaf4; }

.v3-figma-location-status {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-family: var(--font-geist);
  line-height: normal;
}

.v3-figma-clinical-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.2), 0 18px 48px -12px rgba(0,0,0,.4);
}

.v3-figma-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
}

.v3-figma-card-heading > div { display: contents; }

.v3-figma-card-heading h3,
.v3-figma-card-heading h3 {
  margin: 0;
  color: #0d0d0d;
  font-size: 16px;
  line-height: normal;
}

.v3-figma-insurance-heading h3 {
  margin: 0;
  color: #0d0d0d;
  font-size: 20px;
  line-height: normal;
}

.v3-figma-card-heading p,
.v3-figma-card-heading p {
  grid-column: 1 / -1;
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.5;
}

.v3-figma-insurance-heading p {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
}

.v3-figma-card-heading > span {
  grid-column: 2;
  grid-row: 1;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #1f2937;
  border-radius: 999px;
  background: #111827;
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  text-transform: none;
}

.v3-figma-snapshot-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-figma-snapshot-block h4,
.v3-figma-data-sources h4 {
  margin: 0;
  color: #0d0d0d;
  font-size: 14px;
  line-height: normal;
}

.v3-figma-diagnoses {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v3-figma-diagnoses > div {
  display: flex;
  height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #0d0d0d;
  border-radius: 10px;
  background: #0d0d0d;
  color: #f9fafb;
}

.v3-figma-diagnoses code {
  flex: 0 0 auto;
  color: #f9fafb;
  font: 700 13px/normal var(--font-mono);
}

.v3-figma-diagnoses strong {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.v3-figma-diagnoses b {
  padding: 6px 10px;
  border: 1px solid #0d0d0d;
  border-radius: 999px;
  background: #0b0f14;
  font-size: 11px;
}

.v3-figma-assessments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v3-figma-assessments > div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 7px;
  padding: 16px;
  border-radius: 10px;
  background: #0d0d0d;
  color: #f9fafb;
}

.v3-figma-assessments span { font-size: 12px; font-weight: 700; }
.v3-figma-assessments strong { font-size: 34px; line-height: 1; }
.v3-figma-assessments small { color: #9ca3af; font-size: 11px; }
.v3-figma-assessments b { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: #dc2626; font-size: 10px; }

.v3-figma-trajectory {
  overflow: hidden;
  border: 1px solid #0d0d0d;
  border-radius: 10px;
  background: #0b0f14;
  color: #f9fafb;
  font-family: var(--font-mono);
}

.v3-figma-trajectory > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid #0d0d0d;
  font-size: 12px;
}

.v3-figma-trajectory > div:not(.v3-figma-trajectory-head) { min-height: 40.5px; }

.v3-figma-trajectory > div:last-child { border-bottom: 0; }
.v3-figma-trajectory .v3-figma-trajectory-head { min-height: 36px; font-size: 11px; font-weight: 700; text-transform: none; }
.v3-figma-trajectory .improving { color: #44c67f; }
.v3-figma-trajectory .worsening { color: #fca5a5; }

.v3-figma-trajectory-note {
  margin: 0;
  color: #9ca3af;
  font-size: 10px;
  font-style: italic;
}

.v3-figma-insurance {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.v3-figma-insurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.v3-figma-insurance-grid > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v3-figma-insurance-grid p { margin: 0; }
.v3-figma-insurance-grid span { display: block; color: #9ca3af; font-size: 11px; font-weight: 500; line-height: normal; letter-spacing: .5px; text-transform: none; }
.v3-figma-insurance-grid strong { display: block; margin-top: 4px; color: #111; font-size: 15px; font-weight: 400; line-height: normal; }

.v3-figma-data-sources {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-figma-data-sources > p {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 18px;
}

.v3-figma-data-sources h4 { color: #f9fafb; }
.v3-figma-data-sources b { color: #111; font-size: 11px; text-transform: capitalize; }

.v3-figma-selectable-documents {
  display: flex;
  flex-direction: column;
}

.v3-figma-selectable-document {
  display: flex;
  height: 62px;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-family: var(--font-geist);
  cursor: pointer;
}

.v3-figma-selectable-document:last-child { border-bottom: 0; }
.v3-figma-selectable-document input {
  appearance: none;
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  place-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.v3-figma-selectable-document input:checked {
  border: 0;
  background: #fff url("/assets/figma/received-check.svg") center / 18px 18px no-repeat;
}

.v3-figma-selectable-document input:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}
.v3-figma-selectable-document > span { display: flex; min-width: 0; flex: 1; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.v3-figma-selectable-document strong { color: #111; font-size: 13px; }
.v3-figma-selectable-document em { color: #6b7280; font-size: 12px; font-style: normal; }
.v3-figma-selectable-document small { overflow: hidden; flex-basis: 100%; margin-top: 4px; color: #6b7280; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }

.v3-figma-password-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 19px 20px;
  border: 1px solid #0d0d0d;
  border-radius: 12px;
  background: #0d0d0d;
  color: #f9fafb;
  box-shadow: 0 10px 12px rgba(0,0,0,.2);
}

.v3-figma-password-section .v3-figma-section-heading > span:first-child { color: #9ca3af; }
.v3-figma-password-section .v3-figma-section-heading h3 { color: #f9fafb; font-size: 16px; font-weight: 700; }
.v3-figma-password-section > p { margin: -8px 0 0; color: #9ca3af; font: 400 13px/1.5 var(--font-geist); }
.v3-figma-password-section > div:last-child { display: flex; align-items: center; gap: 12px; }
.v3-figma-password-section label { display: flex; min-width: 0; height: 44px; flex: 1; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid #0d0d0d; border-radius: 8px; background: #fff; }
.v3-figma-password-section input { width: 100%; min-width: 0; border: 0; outline: 0; color: #111; font: 400 14px/normal var(--font-geist); }
.v3-figma-password-section label button { width: 18px; height: 18px; border: 0; background: transparent; padding: 0; }
.v3-figma-password-section label img { display: block; width: 18px; height: 18px; }
.v3-figma-password-section > div > button { height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: #fff; color: #0d0d0d; font: 700 14px/normal var(--font-geist); box-shadow: 0 8px 9px rgba(37,99,235,.2); }

.v3-figma-still-needed,
.v3-figma-footer-actions {
  display: flex;
  align-items: center;
}

.v3-figma-still-needed { gap: 6px; }
.v3-figma-still-needed > span { margin-right: 6px; color: #6b7280; font-size: 12px; font-weight: 400; }
.v3-figma-still-needed b { padding: 3px 8px; border-radius: 6px; color: #0d0d0d; font-size: 10px; text-transform: capitalize; }
.v3-figma-footer-actions { gap: 24px; }
.v3-figma-footer-actions > button:first-child { border: 0; background: transparent; color: #6b7280; font: 500 13px/normal var(--font-sans); cursor: pointer; }
.v3-packet-dialog-initiate .v3-figma-footer-actions > button:first-child { font-family: var(--font-geist); }
.v3-packet-dialog-initiate .v3-packet-primary { min-height: 0; padding: 12px 20px; border: 0; font: 600 14px/normal var(--font-geist); }
.v3-packet-dialog-received .v3-packet-primary,
.v3-packet-dialog-received .v3-packet-secondary,
.v3-packet-dialog-sent .v3-packet-primary,
.v3-packet-dialog-sent .v3-packet-secondary,
.v3-packet-dialog-decrypted .v3-packet-primary,
.v3-packet-dialog-decrypted .v3-packet-secondary {
  width: auto;
  height: 42px;
  min-height: 0;
  padding: 0 20px;
  border: 1px solid #e5e7eb;
  background: #e0e4e8;
  color: #888;
  font: 600 14px/normal var(--font-geist);
  opacity: .5;
}

.v3-packet-dialog-sent .v3-packet-primary {
  border-color: #111;
  background: #111;
  color: #fff;
  opacity: 1;
}

.v3-packet-dialog-sent .v3-packet-secondary {
  background: #fff;
  color: #111;
  opacity: 1;
}

.v3-packet-dialog-decrypted .v3-packet-primary {
  width: auto;
  height: 42px;
  min-height: 0;
  border: 1px solid #111;
  border-radius: 10px;
  background: #111;
  color: #fff;
  padding: 0 16px;
  font: 600 13px/normal var(--font-geist);
  opacity: 1;
}

.v3-packet-dialog-decrypted .v3-packet-primary img { display: none; }

.v3-packet-dialog-decrypted .v3-packet-secondary {
  width: auto;
  height: 42px;
  min-height: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  padding: 0 16px;
  font: 500 13px/normal var(--font-geist);
  opacity: 1;
}

.v3-figma-encrypted-gate {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v3-figma-encrypted-title {
  display: flex;
  height: 41px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #0f0f0f;
  color: #fff;
}

.v3-figma-encrypted-title span { width: 13px; color: #6b7280; font-size: 11px; }
.v3-figma-encrypted-title strong { flex: 1; text-align: center; font: 700 13px/normal var(--font-mono); }

.v3-figma-dark-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #0f0f0f;
  color: #fff;
}

.v3-figma-dark-card h3 { margin: 0; font-size: 14px; line-height: normal; }
.v3-figma-dark-card > p { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; line-height: normal; }
.v3-figma-dark-card > p span { color: #a1a1aa; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.v3-figma-dark-card > p strong { overflow-wrap: anywhere; text-align: right; font-size: 13px; }
.v3-figma-sender-card { gap: 16px; }
.v3-figma-sender-card { height: 175px; }
.v3-figma-dark-card-rows,
.v3-figma-security-rows { display: flex; width: 100%; flex-direction: column; }
.v3-figma-dark-card-rows { gap: 12px; }
.v3-figma-security-rows { gap: 10px; font: 700 12px/normal var(--font-mono); }
.v3-figma-dark-card-rows p,
.v3-figma-security-rows p { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; line-height: normal; }
.v3-figma-dark-card-rows span { color: #a1a1aa; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.v3-figma-dark-card-rows strong { overflow-wrap: anywhere; text-align: right; font-size: 13px; font-weight: 600; }
.v3-figma-dark-card-rows p:nth-child(3) strong { font-family: var(--font-mono); font-weight: 700; }
.v3-figma-security-rows span { color: #a1a1aa; }
.v3-figma-security-rows strong { overflow-wrap: anywhere; text-align: right; }
.v3-figma-protected-card { gap: 12px; }
.v3-figma-protected-card { height: 112px; }
.v3-figma-protected-card h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.v3-figma-protected-card h3 img { width: 18px; height: 18px; }
.v3-figma-protected-card > p { display: block; color: #a1a1aa; font-size: 13px; font-weight: 400; line-height: 1.5; text-transform: none; }
.v3-figma-security-card small { color: #a1a1aa; font-size: 12px; line-height: 1.5; }
.v3-figma-security-card { height: 194px; }

.v3-figma-patient-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.v3-packet-dialog-received .v3-figma-patient-card { height: 149px; }

.v3-figma-patient-card > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.v3-figma-patient-card > div:first-child strong { color: #111827; font-size: 15px; }
.v3-figma-patient-card > div:first-child span { color: #6b7280; font: 400 13px/normal var(--font-geist); }
.v3-figma-patient-card > div:first-child .v3-figma-patient-reference { color: #111827; font: 500 12px/normal var(--font-geist); }
.v3-figma-patient-card hr { width: 100%; height: 1px; margin: 0; border: 0; background: #e5e7eb; }
.v3-figma-patient-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v3-figma-patient-meta p { margin: 0; }
.v3-figma-patient-meta span { display: block; color: #6b7280; font-size: 11px; text-transform: uppercase; }
.v3-figma-patient-meta strong { display: block; margin-top: 4px; color: #111827; font: 400 14px/normal var(--font-geist); }

.v3-figma-clinical-card.is-received { gap: 20px; }
.v3-packet-dialog-received .v3-figma-trajectory > div:not(.v3-figma-trajectory-head) { min-height: 38.5px; }

.v3-figma-received-documents {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.v3-figma-received-document.v3-packet-document {
  display: flex;
  width: 100%;
  height: 55px;
  min-height: 55px;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-geist);
  text-align: left;
}

.v3-figma-received-document.v3-packet-document:hover,
.v3-figma-received-document.v3-packet-document:focus-visible { background: #f9fafb; }
.v3-figma-received-document.v3-packet-document:focus-visible { outline: 2px solid #111827; outline-offset: -2px; }
.v3-figma-received-document.v3-packet-document.is-expanded { height: auto; min-height: 74px; }

.v3-figma-received-document:last-child { border-bottom: 0; }
.v3-figma-received-document > img { width: 18px; height: 18px; flex: 0 0 auto; }
.v3-figma-received-document > div { min-width: 0; flex: 1; }
.v3-figma-received-document p { display: flex; gap: 8px; margin: 0; align-items: center; }
.v3-figma-received-document strong { color: #111827; font-size: 13px; }
.v3-figma-received-document p span { color: #6b7280; font-size: 12px; }
.v3-figma-received-document small { margin-top: 2px; color: #6b7280; font-size: 12px; line-height: 1.4; }
.v3-figma-received-document-detail { display: block; margin-top: 7px; color: #374151; font-size: 11px; line-height: 1.35; }
.v3-figma-received-document-detail[hidden] { display: none; }

.v3-figma-password-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v3-figma-password-input label { color: #111; font-size: 13px; font-weight: 600; }
.v3-packet-dialog-received .v3-figma-password-input label { line-height: normal; }
.v3-figma-password-input input { width: 100%; height: 44px; padding: 0 16px; border: 1px solid #333; border-radius: 8px; background: #111; color: #fff; font: 500 14px/normal var(--font-mono); }

.v3-figma-sent-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.v3-figma-sent-status {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
  height: 96px;
}

.v3-figma-sent-status > div,
.v3-figma-sent-status > p {
  display: flex;
  align-items: center;
}

.v3-figma-sent-status > div { justify-content: space-between; }

.v3-figma-sent-status time {
  color: #6b7280;
  font: 400 13px/normal var(--font-sans);
}

.v3-figma-sent-status > p {
  gap: 8px;
  margin: 0;
  color: #111827;
}

.v3-figma-sent-status > p svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.v3-figma-sent-status > p strong {
  font: 500 14px/normal var(--font-sans);
}

.v3-figma-sent-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font: 700 11px/normal var(--font-sans);
}

.v3-figma-sent-recipient {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  height: 174px;
}

.v3-figma-sent-recipient h3 {
  margin: 0;
  color: #111827;
  font: 700 14px/normal var(--font-sans);
}

.v3-figma-sent-recipient > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-figma-sent-recipient p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
}

.v3-figma-sent-recipient span {
  color: #a1a1aa;
  font: 600 11px/normal var(--font-sans);
}

.v3-figma-sent-recipient strong {
  color: #111827;
  text-align: right;
  font: 600 13px/normal var(--font-sans);
}

.v3-figma-sent-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v3-figma-sent-section > h3 {
  margin: 0;
  color: #111827;
  font: 700 16px/20px var(--font-sans);
}

.v3-figma-sent-records {
  height: 348px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.v3-figma-sent-record {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  height: 58px;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  font-family: var(--font-sans);
}

.v3-figma-sent-record:last-child { border-bottom: 0; }
.v3-figma-sent-record > span { color: #6b7280; font: 500 11px/normal var(--font-sans); }
.v3-figma-sent-record > div { min-width: 0; }
.v3-figma-sent-record p { display: flex; align-items: center; gap: 8px; margin: 0; }
.v3-figma-sent-record strong { color: #111827; font-size: 13px; line-height: normal; }
.v3-figma-sent-record em { color: #6b7280; font-size: 13px; font-style: normal; line-height: normal; }
.v3-figma-sent-record small { display: block; margin-top: 2px; color: #9ca3af; font: 400 12px/normal var(--font-geist); }
.v3-figma-sent-record button { border: 0; background: transparent; color: #111827; padding: 0; font: 600 13px/normal var(--font-sans); text-decoration: underline; cursor: pointer; }

.v3-figma-sent-timeline {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.v3-figma-sent-timeline article {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  min-height: 62px;
  gap: 16px;
}

.v3-figma-sent-timeline i {
  position: relative;
  width: 16px;
  height: 100%;
}

.v3-figma-sent-timeline i::before {
  position: absolute;
  top: 0;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #065f46;
  content: "";
}

.v3-figma-sent-timeline i::after {
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: #e5e7eb;
  content: "";
}

.v3-figma-sent-timeline article:last-child i::after { display: none; }
.v3-figma-sent-timeline article > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; }
.v3-figma-sent-timeline strong { display: block; color: #111827; font-size: 14px; font-weight: 600; line-height: normal; }
.v3-figma-sent-timeline small { display: block; margin-top: 0; color: #6b7280; font-size: 12px; line-height: normal; }

.v3-figma-sent-receipt {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 16px;
  background: #0f0f0f;
  color: #fff;
  height: 202px;
}

.v3-figma-sent-receipt header { display: flex; align-items: center; justify-content: space-between; }
.v3-figma-sent-receipt h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: normal; }
.v3-figma-sent-receipt div { display: flex; flex-direction: column; gap: 10px; }
.v3-figma-sent-receipt p { display: flex; justify-content: space-between; gap: 18px; margin: 0; }
.v3-figma-sent-receipt div span { color: #6b7280; font: 700 12px/normal var(--font-mono); }
.v3-figma-sent-receipt strong { overflow-wrap: anywhere; text-align: right; font: 700 12px/normal var(--font-mono); }
.v3-figma-sent-receipt > p { display: block; color: #6b7280; font: 400 13px/1.5 var(--font-geist); }

.v3-figma-sent-close {
  border: 0;
  background: transparent;
  color: #6b7280;
  padding: 0;
  font: 600 14px/normal var(--font-sans);
  cursor: pointer;
}

.v3-packet-dialog-sent .v3-packet-primary {
  height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: #0d0d0d;
  color: #fff;
  font: 700 14px/normal var(--font-sans);
}

body:has(.v3-packet-modal.open),
body:has(.v3-forgot-password-modal) { overflow: hidden; }


/* ---------- Current Figma legal pages ---------- */

.ay-hipaa-page {
  width: 100%;
  margin: 0;
  min-height: 100vh;
  background: #f5f5f7;
  color: #1d1d1f;
}

.ay-hipaa-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-right: max(48px, calc((100vw - 1344px) / 2));
  padding-left: max(48px, calc((100vw - 1344px) / 2));
  background: #0d0d0d;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.ay-hipaa-brand,
.ay-hipaa-nav-links,
.ay-hipaa-pilots-trigger {
  display: flex;
  align-items: center;
}

.ay-hipaa-brand {
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
}

.ay-hipaa-logo {
  width: 15px;
  height: 15px;
}

.ay-hipaa-nav-links {
  gap: 32px;
}

.ay-hipaa-nav-links > a,
.ay-hipaa-pilots-trigger {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.ay-hipaa-nav-links > a:hover,
.ay-hipaa-nav-links > a:focus-visible,
.ay-hipaa-pilots-trigger:hover,
.ay-hipaa-pilots-trigger:focus-visible {
  color: #fff;
}

.ay-faq-page .ay-hipaa-nav-links > a[href="/faq"] {
  color: #fff;
  font-weight: 600;
}

.ay-hipaa-pilots {
  position: static;
}

.ay-hipaa-pilots-trigger {
  gap: 4px;
  padding: 0;
}

.ay-hipaa-chevron {
  display: block;
  width: 8px;
  height: 5px;
  flex: 0 0 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ay-hipaa-pilots-menu {
  position: absolute;
  left: 749px;
  top: 24px;
  z-index: 90;
  display: none;
  width: 360px;
  height: 232px;
  transform: none;
}

.ay-hipaa-pilots-menu.open {
  display: block;
}

.ay-hipaa-pilots-menu .v3-dropdown-art {
  width: 100%;
  height: 100%;
}

.ay-hipaa-pilots-menu .v3-menu-hit {
  position: absolute;
  left: calc((var(--x) / var(--menu-w)) * 100%);
  top: calc((var(--y) / var(--menu-h)) * 100%);
  width: calc((var(--w) / var(--menu-w)) * 100%);
  height: calc((var(--h) / var(--menu-h)) * 100%);
}

.ay-hipaa-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 100px;
  min-height: 0;
  padding: 180px max(80px, calc((100vw - 1280px) / 2)) 120px;
  background: #0d0d0d;
  color: #fff;
}

.ay-hipaa-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 32px;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.12px;
  line-height: 68px;
}

.ay-hipaa-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: #86868b;
  font-size: 19px;
  line-height: 28px;
}

body[data-v3-page-slug="privacy"] .ay-hipaa-hero-copy p { color: rgba(255, 255, 255, 0.7); }
body[data-v3-page-slug="terms"] .ay-hipaa-hero-copy p { color: #e5e7eb; }

body[data-v3-page-slug="hipaa"] .ay-hipaa-hero { height: 534px; }
body[data-v3-page-slug="privacy"] .ay-hipaa-hero {
  height: 534px;
}
body[data-v3-page-slug="terms"] .ay-hipaa-hero { height: 464px; }

.ay-hipaa-hero-card {
  padding: 40px;
  border: 1px solid #1f1f1f;
  border-radius: 24px;
  background: #111;
}

.ay-hipaa-hero-card p {
  margin: 0 0 24px;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 28px;
}

.ay-hipaa-hero-card span {
  color: #86868b;
  font-size: 13px;
  line-height: 18px;
}

body[data-v3-page-slug="terms"] .ay-hipaa-hero-card {
  background: #0f0f0f;
  box-shadow: 0 18px 20px rgba(0, 0, 0, 0.2);
}

body[data-v3-page-slug="terms"] .ay-hipaa-hero-card p { margin-bottom: 0; }

.ay-hipaa-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 120px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 100px 80px 140px;
}

body[data-v3-page-slug="privacy"] .ay-hipaa-body {
  grid-template-columns: 240px 920px;
  gap: 80px;
  padding-bottom: 150px;
}

.ay-hipaa-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  max-height: calc(100vh - 120px);
  flex-direction: column;
  gap: 20px;
  overflow: auto;
  scrollbar-width: none;
}

.ay-hipaa-sidebar::-webkit-scrollbar { display: none; }

.ay-hipaa-sidebar a {
  padding: 0;
  color: #9a9a9e;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition: color 150ms ease, transform 150ms ease;
}

.ay-hipaa-sidebar a:hover,
.ay-hipaa-sidebar a:focus-visible,
.ay-hipaa-sidebar a.active {
  color: #1d1d1f;
  font-weight: 700;
  transform: translateX(2px);
}

.ay-hipaa-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 64px;
}

.ay-hipaa-section {
  display: flex;
  scroll-margin-top: 96px;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.ay-hipaa-section h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 24px;
  letter-spacing: -0.24px;
  line-height: 30px;
}

.ay-hipaa-section p,
.ay-hipaa-section li {
  color: #86868b;
  font-size: 16px;
  line-height: 24px;
}

.ay-hipaa-section p { margin: 0; }
.ay-hipaa-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding-left: 26px;
}
.ay-hipaa-section li { margin: 0; padding-left: 0; }

body[data-v3-page-slug="hipaa"] .ay-hipaa-section ul,
body[data-v3-page-slug="terms"] .ay-hipaa-section ul { gap: 0; }

body[data-v3-page-slug="terms"] .ay-hipaa-section h2 { line-height: 32px; }
body[data-v3-page-slug="terms"] .ay-hipaa-section p,
body[data-v3-page-slug="terms"] .ay-hipaa-section li { line-height: 28px; }
body[data-v3-page-slug="terms"] .ay-hipaa-section p + p { margin-top: 12px; }

/* Legal pages use the current desktop Figma frame as the visual source of
   truth. The sidebar is a pixel-identical crop of that frame inside a real
   sticky navigation region, with transparent semantic links above it. */
.v3-legal-art-page .v3-legal-sticky-region {
  position: absolute;
  z-index: 30;
  left: calc(var(--legal-x) * 1px);
  top: calc(var(--legal-y) * 1px);
  width: calc(var(--legal-w) * 1px);
  height: calc(var(--legal-region-h) * 1px);
  pointer-events: none;
}

.v3-legal-art-page .v3-legal-sticky-panel {
  position: sticky;
  top: 96px;
  display: block;
  width: calc(var(--legal-w) * 1px);
  height: calc(var(--legal-panel-h) * 1px);
  max-height: none;
  overflow: hidden;
  background: #f5f5f7;
  pointer-events: auto;
  scrollbar-width: auto;
}

.v3-legal-art-page .v3-legal-sticky-panel::-webkit-scrollbar { display: initial; }

.v3-legal-sidebar-crop,
.v3-legal-sidebar-links {
  position: absolute;
  inset: 0;
  display: block;
}

.v3-legal-sidebar-crop {
  display: none;
  pointer-events: none;
}

.v3-legal-sidebar-crop img {
  position: absolute;
  left: calc(var(--legal-x) * -1px);
  top: calc(var(--legal-y) * -1px);
  display: block;
  width: 1440px;
  height: calc(var(--legal-page-h) * 1px);
  max-width: none;
}

.v3-legal-sidebar-links {
  padding: 0;
  background: #f5f5f7;
  pointer-events: none;
}

.v3-legal-sidebar-links a,
.v3-legal-sidebar-links a:hover,
.v3-legal-sidebar-links a:focus-visible,
.v3-legal-sidebar-links a.active {
  position: absolute;
  left: 0;
  top: calc(var(--legal-link-index) * 44px);
  display: flex;
  align-items: flex-start;
  width: 240px;
  height: 36px;
  padding: 0;
  color: #9a9a9e;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transform: none;
  pointer-events: auto;
}

.v3-legal-sidebar-links a:hover,
.v3-legal-sidebar-links a:focus-visible,
.v3-legal-sidebar-links a.active {
  color: #1d1d1f;
  font-weight: 700;
}

.v3-legal-section-target {
  position: absolute;
  left: calc(var(--target-x) * 1px);
  top: calc(var(--target-y) * 1px);
  width: 1px;
  height: 1px;
  scroll-margin-top: 96px;
  pointer-events: none;
}

/* API Docs keeps the section navigation in its original Figma position. The
   links scroll with the page and remain semantic/clickable; this rail is not
   pinned or sticky. */
.v3-docs-sticky-region {
  z-index: 30;
  overflow: visible;
  pointer-events: none;
}

.v3-docs-sticky-panel {
  position: absolute;
  top: 0;
  display: block;
  width: 200px;
  height: 378px;
  overflow: hidden;
  background: #fff;
  color: #111;
  font-family: "Plus Jakarta Sans", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: normal;
  pointer-events: auto;
}

.v3-docs-nav-group {
  position: absolute;
  top: var(--docs-group-top);
  left: 0;
  width: 200px;
}

.v3-docs-nav-heading {
  display: block;
  height: 16px;
  color: #8f929a;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.v3-docs-nav-group a {
  position: absolute;
  top: calc(32px + (var(--docs-link-index) * 34px));
  left: 0;
  display: flex;
  align-items: flex-start;
  width: 200px;
  height: 22px;
  padding: 0;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: none;
  transition: color 150ms ease, font-weight 150ms ease, transform 150ms ease;
}

.v3-docs-nav-group a:hover,
.v3-docs-nav-group a:focus-visible,
.v3-docs-nav-group a.active {
  color: #111;
  font-weight: 700;
  transform: translateX(2px);
}

.v3-docs-nav-group a:focus-visible {
  outline: 2px solid rgba(68, 198, 127, 0.92);
  outline-offset: 2px;
}

.v3-docs-section-target {
  scroll-margin-top: 96px;
  pointer-events: none;
}

.v3-docs-support-email {
  z-index: 31;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0d0d;
  color: #aaa;
  font-family: "Plus Jakarta Sans", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: calc(14px * var(--v3-render-scale, 1));
  font-weight: 400;
  line-height: calc(20px * var(--v3-render-scale, 1));
  text-decoration: none;
  white-space: nowrap;
}

.v3-docs-support-email:hover,
.v3-docs-support-email:focus-visible {
  color: #fff;
}

.v3-docs-support-email:focus-visible {
  outline: 2px solid #44c67f;
  outline-offset: 2px;
}

/* ---------- API Docs Login · Figma 427:4 ---------- */

.ay-docs-login-page {
  width: 1440px;
  max-width: none;
  min-width: 1440px;
  height: 1624px;
  margin: 0 auto;
  overflow: visible;
  background: #fff;
  color: #343433;
  font-family: var(--font-sans);
  line-height: normal;
}

.ay-docs-login-page > .ay-hipaa-nav {
  position: relative;
  top: auto;
  display: block;
  height: 64px;
  padding-right: 48px;
  padding-left: 48px;
}

.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-brand {
  position: absolute;
  left: 48px;
  top: 22.5px;
  width: 111px;
  height: 19px;
  gap: 12px;
  font-size: 15px;
  line-height: 19px;
}

.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-brand > span {
  display: block;
  flex: 0 0 84px;
  width: 84px;
  height: 19px;
}

.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-nav-links {
  position: absolute;
  left: 520px;
  top: 24px;
  width: 379px;
  height: 16px;
  gap: 32px;
  line-height: 16px;
}

.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(1) { flex: 0 0 90px; }
.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(2) { flex: 0 0 21px; }
.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(3) { flex: 0 0 66px; }
.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(4) { flex: 0 0 47px; }
.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-nav-links > :nth-child(5) { flex: 0 0 27px; }

.ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-request {
  position: absolute;
  right: 48px;
  top: 16px;
}

.ay-docs-login-page .ay-hipaa-nav-links > a[href="/api"] {
  color: #fff;
  font-weight: 600;
}

.ay-docs-login-hero {
  display: flex;
  width: 100%;
  height: 590px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  background: #0d0d0d;
  text-align: center;
}

.ay-docs-login-hero h1,
.ay-docs-login-hero p,
.ay-docs-login-copy h2,
.ay-docs-login-copy p,
.ay-docs-login-support h2,
.ay-docs-login-support p {
  margin: 0;
}

.ay-docs-login-hero h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.ay-docs-login-hero p {
  color: #6b7280;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.ay-docs-login-split {
  display: grid;
  width: 100%;
  height: 653px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 120px;
  padding: 160px 120px 152px;
  background: #fff;
}

.ay-docs-login-copy {
  display: flex;
  width: 540px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.ay-docs-login-copy h2 {
  width: 100%;
  color: #343433;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
}

.ay-docs-login-copy p {
  width: 100%;
  color: #6b7280;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.ay-docs-login-form.v3-form {
  position: relative;
  inset: auto;
  z-index: 1;
  display: grid;
  width: 540px;
  height: 341px;
  grid-template-rows: 86px 86px 52px 21px;
  gap: 32px;
  line-height: normal;
  pointer-events: auto;
}

.ay-docs-login-field.v3-auth-field {
  position: relative;
  display: flex;
  width: 100%;
  height: 86px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  overflow: visible;
  border-radius: 0;
}

.ay-docs-login-field > label {
  display: block;
  height: 18px;
  color: #343433;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.ay-docs-login-field .v3-auth-control {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 56px;
  flex: 0 0 56px;
  margin: 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: 0;
  background: #f5f5f7;
  color: #343433;
  caret-color: #343433;
  font: 400 16px / 1.5 var(--font-sans);
}

.ay-docs-login-field .v3-auth-control::placeholder {
  color: #6b7280;
  opacity: 1;
}

.ay-docs-login-field .v3-auth-control:focus,
.ay-docs-login-field .v3-auth-control.has-value,
.ay-docs-login-field.has-value .v3-auth-control {
  border-color: #c9ccd3;
  background: #f5f5f7;
  color: #343433;
  caret-color: #343433;
  box-shadow: 0 0 0 2px rgba(13, 13, 13, 0.05);
}

.ay-docs-login-control-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 56px;
}

.ay-docs-login-password .v3-auth-control {
  padding-right: 72px;
}

.ay-docs-login-show {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 63px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #888;
  font: 600 11px / normal var(--font-sans);
  cursor: pointer;
}

.ay-docs-login-show:hover,
.ay-docs-login-show:focus-visible {
  color: #343433;
}

.ay-docs-login-field.field-error .v3-auth-control {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.ay-docs-login-field .v3-field-error-message {
  left: 4px;
  top: calc(100% + 4px);
  width: calc(100% - 8px);
}

.ay-docs-login-error.v3-form-inline-error {
  position: absolute;
  top: 290px;
  left: 4px;
  width: calc(100% - 8px);
  height: 24px;
  align-items: center;
  color: #b42318;
  font: 600 11px / 1.25 var(--font-sans);
}

.ay-docs-login-submit.v3-auth-submit {
  position: relative;
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: 1px solid #fff;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font: 600 16px / normal var(--font-sans);
  cursor: pointer;
}

.ay-docs-login-submit:hover:not(:disabled) {
  background: #1a1a1a;
}

.ay-docs-login-submit:disabled {
  cursor: wait;
  opacity: 0.74;
}

.ay-docs-login-submit.is-loading .ay-docs-login-submit-idle {
  display: none;
}

.ay-docs-login-submit.is-loading .v3-auth-submit-live-label {
  display: inline;
  color: #fff;
  font: 600 16px / normal var(--font-sans);
}

.ay-docs-login-forgot {
  display: block;
  justify-self: center;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-position: from-font;
}

.ay-docs-login-support {
  display: grid;
  width: 100%;
  height: 317px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  padding: 0 80px 120px;
  background: #fff;
}

.ay-docs-login-support article {
  display: flex;
  height: 195px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 48px;
  border-radius: 32px;
  background: #f5f5f7;
}

.ay-docs-login-support h2 {
  color: #343433;
  font-size: 28px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.ay-docs-login-support p {
  color: #6b7280;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.ay-figma-footer {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 1440 / 426;
  background: #0d0d0d;
  line-height: normal;
}

.ay-figma-footer-art {
  display: block;
  width: 100%;
  height: 100%;
}

.ay-figma-footer-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ay-figma-footer-hotspots .v3-box {
  left: calc((var(--x) / 1440) * 100%);
  top: calc((var(--y) / 426) * 100%);
  width: calc((var(--w) / 1440) * 100%);
  height: calc((var(--h) / 426) * 100%);
  pointer-events: auto;
}

.v3-footer-linkedin-mask {
  z-index: 5;
  display: block;
  background: #0d0d0d;
  pointer-events: none !important;
}

/* Correct the legacy HIPAA misspelling embedded in the shared footer art. */
.ay-figma-footer::after {
  content: "HIPAA";
  position: absolute;
  z-index: 1;
  left: calc((1240 / 1440) * 100%);
  top: calc((128 / 426) * 100%);
  display: flex;
  width: calc((168 / 1440) * 100%);
  height: calc((28 / 426) * 100%);
  align-items: center;
  background: #0d0d0d;
  color: #86868b;
  font: 400 .9027777778cqw / 1 "Plus Jakarta Sans", sans-serif;
  pointer-events: none;
}

/* ---------- Contact ---------- */

.ay-contact-page {
  width: 100%;
  min-width: 1024px;
  background: #fff;
  color: #343433;
  font-family: var(--font-sans);
}

.ay-contact-hero {
  display: flex;
  width: 100%;
  height: 590px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d0d0d;
}

.ay-contact-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.ay-contact-form-section {
  width: 100%;
  height: 916px;
  padding: 160px 120px 71px;
  scroll-margin-top: 64px;
  background: #fff;
}

.ay-contact-form-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 48px;
}

.ay-contact-form-content[hidden] {
  display: none;
}

.ay-contact-form-copy {
  display: flex;
  width: 100%;
  height: 97px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.ay-contact-form-copy h2,
.ay-contact-form-copy p {
  width: 100%;
  margin: 0;
}

.ay-contact-form-copy h2 {
  color: #343433;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
}

.ay-contact-form-copy p {
  color: #6b7280;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.ay-contact-form {
  display: flex;
  width: 100%;
  height: 540px;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.ay-contact-grid-2 {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ay-contact-field {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.ay-contact-field > label {
  height: 18px;
  color: #343433;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.ay-contact-control {
  display: block;
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: 0;
  background: #f5f5f7;
  color: #343433;
  font: 400 16px/20px var(--font-sans);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ay-contact-control::placeholder {
  color: #6b7280;
  opacity: 1;
}

.ay-contact-select-shell {
  position: relative;
  width: 100%;
  height: 42px;
}

.ay-contact-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ay-contact-select-trigger {
  display: flex;
  width: 100%;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  font: 500 14px/18px var(--font-sans);
  text-align: left;
}

.ay-contact-select-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-contact-select-trigger svg {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  transition: transform 180ms ease;
}

.ay-contact-select-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ay-contact-select-trigger:focus-visible {
  border-color: #343433;
  box-shadow: 0 0 0 2px rgba(52, 52, 51, .1);
}

.ay-contact-select-menu {
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 30;
  width: 100%;
  max-height: 300px;
  box-sizing: border-box;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.ay-contact-select-menu[hidden] {
  display: none;
}

.ay-contact-select-menu button {
  display: block;
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  font: 400 14px/1.3 var(--font-sans);
  text-align: left;
}

.ay-contact-select-menu button[data-active="true"] {
  background: #f3f4f6;
}

.ay-contact-select-menu button[aria-selected="true"] {
  background: #2563eb;
  color: #fff;
}

textarea.ay-contact-control {
  height: 120px;
  min-height: 120px;
  padding: 16px;
  line-height: 1.4;
  resize: none;
}

.ay-contact-control:focus-visible {
  border-color: #343433;
  box-shadow: 0 0 0 2px rgba(52, 52, 51, .1);
}

.ay-contact-field.field-error .ay-contact-control {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, .08);
}

.ay-contact-field.field-error .ay-contact-select-trigger {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, .08);
}

.ay-contact-field-error {
  position: absolute;
  top: calc(100% + 3px);
  left: 2px;
  z-index: 2;
  color: #b42318;
  font-size: 12px;
  line-height: 16px;
}

.ay-contact-form-error {
  display: none;
  min-height: 20px;
  margin: -14px 0;
  padding: 2px 12px;
  border: 1px solid #f0c9c5;
  border-radius: 8px;
  background: #fff5f4;
  color: #9f1c13;
  font-size: 13px;
  line-height: 20px;
}

.ay-contact-form-error.visible {
  display: block;
}

.ay-contact-submit {
  display: flex;
  width: 100%;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid #fff;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font: 600 16px/normal var(--font-sans);
  cursor: pointer;
  transition: filter 200ms ease, box-shadow 200ms ease;
}

.ay-contact-submit:hover,
.ay-contact-submit:focus-visible {
  filter: brightness(.88);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.ay-contact-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.ay-contact-success {
  display: flex;
  width: 100%;
  min-height: 685px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.ay-contact-success[hidden] {
  display: none;
}

.ay-contact-success:focus {
  outline: none;
}

.ay-contact-success-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #0d0d0d;
}

.ay-contact-success-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.ay-contact-success h2 {
  margin: 0 0 16px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.ay-contact-success p {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.ay-contact-success > a {
  color: #44c67f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.ay-contact-success > a:hover,
.ay-contact-success > a:focus-visible {
  text-decoration: underline;
}

.ay-contact-cards {
  display: grid;
  width: 100%;
  height: 435px;
  padding: 120px 80px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  background: #fff;
}

.ay-contact-cards article {
  display: flex;
  height: 195px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 48px;
  border-radius: 32px;
  background: #f5f5f7;
}

.ay-contact-cards h2,
.ay-contact-cards p {
  margin: 0;
}

.ay-contact-cards h2 {
  color: #000;
  font-size: 28px;
  font-weight: 600;
  line-height: normal;
}

.ay-contact-cards p {
  color: #6b7280;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.ay-contact-cards article:nth-child(1) p { width: 263px; }
.ay-contact-cards article:nth-child(2) p { width: 255px; }
.ay-contact-cards article:nth-child(3) p { width: 234px; }

/* Figma currently defines these legal surfaces as 1440px desktop frames only.
   Preserve that composition at narrower preview widths by scaling the desktop
   canvas as one unit. Do not reflow the sidebar, typography, hero, or footer
   into an unapproved mobile design. */
@media (max-width: 1439px) {
  body:has(.ay-hipaa-page),
  body:has(.ay-contact-page) {
    width: 1440px;
    overflow-x: hidden;
  }

  .ay-hipaa-page,
  .ay-contact-page {
    width: 1440px;
    zoom: calc(100vw / 1440px);
  }
}

/* Galaxy Fold/Flip unfolded widths are desktop surfaces, not a third layout.
   Scale the complete canonical 1440px page (including its in-page desktop
   footer) from the first paint. Keeping the document itself viewport-width
   prevents an unscaled 1440px body from creating right/bottom whitespace.
   The phone-specific Figma frames below take over at 600px. */
@media (min-width: 601px) and (max-width: 1439px) {
  body:has(.ay-hipaa-page),
  body:has(.ay-contact-page),
  body:has(.ay-faq-page),
  body:has(.ay-docs-login-page) {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
  }

  .ay-hipaa-page,
  .ay-contact-page,
  .ay-faq-page,
  .ay-docs-login-page {
    width: 1440px;
    max-width: none;
    min-width: 1440px;
    margin: 0;
    zoom: calc(100vw / 1440px);
  }

  /*
   * The scaled Status canvas is shorter than a 900px viewport at the narrow
   * end of the unfolded range. Continue its existing black footer field to
   * the viewport edge so the document cannot expose a white strip beneath it.
   */
  body[data-v3-page-slug="status"] .v3-page-frame[data-v3-page="status"] {
    min-height: 100vh;
    background: #0d0d0d;
  }

  /*
   * The four protected login canvases are shorter than a tall unfolded
   * viewport after their canonical 1440px desktop canvases are scaled down.
   * Extend only the black footer field to the viewport boundary; keep the
   * exported 426px footer artwork and its link hit planes at their exact
   * aspect ratio. The phone composition (<=600px) and canonical 1440px
   * desktop are outside this rule.
   */
  body[data-v3-page-slug="docs-login"] > .ay-figma-footer {
    min-height: max(
      29.5833333333vw,
      calc(100vh - 112.7777777778vw)
    );
  }

  body[data-v3-page-slug="tracker-access"] > .ay-figma-footer {
    min-height: max(
      29.5833333333vw,
      calc(100vh - 90.9722222222vw)
    );
  }

  body[data-v3-page-slug="multihop-login"] > .ay-figma-footer {
    min-height: max(
      29.5833333333vw,
      calc(100vh - 111.1111111111vw)
    );
  }

  body[data-v3-page-slug="payerproof-login"] > .ay-figma-footer {
    min-height: max(
      29.5833333333vw,
      calc(100vh - 110.7638888889vw)
    );
  }

  body[data-v3-page-slug="docs-login"] > .ay-figma-footer > .ay-figma-footer-art,
  body[data-v3-page-slug="tracker-access"] > .ay-figma-footer > .ay-figma-footer-art,
  body[data-v3-page-slug="multihop-login"] > .ay-figma-footer > .ay-figma-footer-art,
  body[data-v3-page-slug="payerproof-login"] > .ay-figma-footer > .ay-figma-footer-art {
    position: absolute;
    inset: 0 auto auto 0;
    height: auto;
    aspect-ratio: 1440 / 426;
  }

  body[data-v3-page-slug="docs-login"] > .ay-figma-footer > .ay-figma-footer-hotspots,
  body[data-v3-page-slug="tracker-access"] > .ay-figma-footer > .ay-figma-footer-hotspots,
  body[data-v3-page-slug="multihop-login"] > .ay-figma-footer > .ay-figma-footer-hotspots,
  body[data-v3-page-slug="payerproof-login"] > .ay-figma-footer > .ay-figma-footer-hotspots {
    inset: 0 0 auto;
    height: 29.5833333333vw;
  }

  body[data-v3-page-slug="docs-login"] > .ay-figma-footer::after,
  body[data-v3-page-slug="tracker-access"] > .ay-figma-footer::after,
  body[data-v3-page-slug="multihop-login"] > .ay-figma-footer::after,
  body[data-v3-page-slug="payerproof-login"] > .ay-figma-footer::after {
    top: 8.8888888889vw;
    height: 1.9444444444vw;
  }
}

/* ---------- Responsive ---------- */




/* ---------- Transaction Tracker: live receipt workbench ---------- */

.ay-tracker-live-metrics {
  display: contents;
}

.ay-tracker-live-summary.v3-box,
.ay-tracker-latest-record.v3-box,
.ay-tracker-atlas-card.v3-box,
.ay-tracker-atlas-total.v3-box,
.ay-tracker-banner-metric.v3-box {
  z-index: 18;
  box-sizing: border-box;
  margin: 0;
  background: #0d0d0d;
  color: #fff;
  font-family: var(--font-sans);
  line-height: normal;
  pointer-events: none;
}

.ay-tracker-live-summary.v3-box {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  column-gap: 34px;
  overflow: hidden;
  border-radius: 24px;
  padding: 40px;
}

.ay-tracker-summary-values,
.ay-tracker-summary-provenance,
.ay-tracker-latest-record {
  margin: 0;
}

.ay-tracker-summary-values,
.ay-tracker-summary-provenance {
  display: grid;
  grid-auto-rows: 91px;
}

.ay-tracker-summary-values > div,
.ay-tracker-summary-provenance > div {
  min-width: 0;
}

.ay-tracker-summary-values dt,
.ay-tracker-summary-provenance dt {
  overflow: hidden;
  margin: 0;
  color: #86868b;
  font: 500 10px/1.2 var(--font-mono);
  letter-spacing: .7px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ay-tracker-summary-values dd {
  overflow: hidden;
  margin: 12px 0 0;
  color: #fff;
  font: 700 26px/1.05 var(--font-sans);
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-summary-provenance dd {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: #b1b1b5;
  font: 500 10px/1.45 var(--font-mono);
  letter-spacing: .2px;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ay-tracker-latest-record.v3-box {
  display: grid;
  grid-template-rows: repeat(6, 46px);
  overflow: hidden;
  border-radius: 24px;
  padding: 24px 30px 20px;
  font-family: var(--font-mono);
}

.ay-tracker-latest-record > div {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  padding: 0 14px;
  border-radius: 8px;
}

.ay-tracker-latest-record > div:nth-child(odd) {
  background: rgba(26, 26, 26, .5);
}

.ay-tracker-latest-record dt,
.ay-tracker-latest-record dd {
  overflow: hidden;
  margin: 0;
  font: 500 11px/1.2 var(--font-mono);
  letter-spacing: .1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-latest-record dt {
  color: #aaa;
}

.ay-tracker-latest-record dd {
  color: #aaa;
}

.ay-tracker-latest-record dd[data-v3-tracker-latest="category"],
.ay-tracker-latest-record dd[data-v3-tracker-latest="status"].is-positive {
  color: #44c67f;
}

.ay-tracker-latest-record dd[data-v3-tracker-latest="ref-id"] {
  color: #3784f4;
}

.ay-tracker-latest-record dd[data-v3-tracker-latest="status"].is-warning {
  color: #ffbe4c;
}

.ay-tracker-latest-record dd[data-v3-tracker-latest="status"].is-danger,
.ay-tracker-latest-record dd[data-v3-tracker-latest="phi-exposed"] {
  color: #f966ac;
}

.ay-tracker-atlas-card.v3-box {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 15px 14px 9px;
  background: #1a1a1a;
}

.ay-tracker-atlas-card > span {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: #fff;
  font: 600 12px/1.1 var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-atlas-card > span i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ay-tracker-metric-color);
}

.ay-tracker-atlas-card > b,
.ay-tracker-atlas-card > small {
  display: inline-block;
  margin-top: 8px;
  color: #aaa;
  font: 400 10px/1 var(--font-sans);
}

.ay-tracker-atlas-card > b {
  margin-right: 3px;
}

.ay-tracker-atlas-total.v3-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 28px;
  background: #1a1a1a;
}

.ay-tracker-atlas-total b {
  color: #fff;
  font: 700 40px/1 var(--font-sans);
  letter-spacing: -.03em;
}

.ay-tracker-atlas-total small {
  margin-top: 15px;
  color: #aaa;
  font: 400 12px/1 var(--font-sans);
}

.ay-tracker-banner-metric.v3-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  padding: 0 18px;
  background: #1a1a1a;
}

.ay-tracker-banner-metric b {
  overflow: hidden;
  color: #fff;
  font: 700 26px/1 var(--font-sans);
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-banner-metric small {
  overflow: hidden;
  margin-top: 7px;
  color: #aaa;
  font: 400 10px/1 var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-banner-phi b,
.ay-tracker-live-metrics[data-realtime="live"] .ay-tracker-banner-realtime b {
  color: #44c67f;
}

.ay-tracker-window-mask.v3-box {
  z-index: 17;
  background: #fff;
}

.ay-tracker-window.v3-box {
  z-index: 18;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #0d0d0d;
  color: #fff;
  font-family: var(--font-sans);
  line-height: normal;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.ay-tracker-window button,
.ay-tracker-window input {
  font-family: var(--font-sans);
}

.ay-tracker-window-header {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 48px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: #0d0d0d;
}

.ay-tracker-window-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ay-tracker-window-header h2 {
  margin: 0;
  color: #fff;
  font: 700 22px/1.2 var(--font-sans);
  letter-spacing: -.02em;
}

.ay-tracker-window-count {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: #aaa;
  font: 400 14px/1 var(--font-sans);
  cursor: pointer;
}

.ay-tracker-window-count:hover,
.ay-tracker-window-count:focus-visible {
  color: #fff;
}

.ay-tracker-window-count:focus-visible,
.ay-tracker-filter:focus-visible,
.ay-tracker-search:focus-within,
.ay-tracker-receipt-row:focus-visible {
  outline: 2px solid #44c67f;
  outline-offset: -2px;
}

.ay-tracker-window-sidebar {
  position: absolute;
  left: 0;
  top: 73px;
  width: 260px;
  height: 881px;
  padding: 28px 24px 0;
  border-right: 1px solid rgba(255, 255, 255, .06);
  background: #1a1a1a;
}

.ay-tracker-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 15px;
  margin-bottom: 21px;
  color: #aaa;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0;
}

.ay-tracker-filter-heading b {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 700 12px/1 var(--font-sans);
  text-align: center;
}

.ay-tracker-filter-list {
  display: grid;
  gap: 10px;
}

.ay-tracker-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 212px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  background: #1a1a1a;
  color: #aaa;
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.ay-tracker-filter:hover {
  background: rgba(255, 255, 255, .045);
  color: #fff;
}

.ay-tracker-filter.is-active {
  border-color: rgba(255, 255, 255, .12);
  background: #242424;
  color: #fff;
}

.ay-tracker-filter span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ay-tracker-filter:not([data-v3-tracker-filter="all"]) span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #44c67f;
}

.ay-tracker-filter[data-v3-tracker-filter="payer-proof"] span::before { background: #3784f4; }
.ay-tracker-filter[data-v3-tracker-filter="anchor"] span::before { background: #9553f9; }
.ay-tracker-filter[data-v3-tracker-filter="synthetic"] span::before { background: #ffbe4c; }
.ay-tracker-filter[data-v3-tracker-filter="failed"] span::before { background: #f966ac; }

.ay-tracker-filter b {
  color: #aaa;
  font: 400 12px/1 var(--font-sans);
}

.ay-tracker-filter.is-active b {
  color: #aaa;
}

.ay-tracker-search {
  display: flex;
  align-items: center;
  width: 212px;
  height: 40px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: #242424;
}

.ay-tracker-search svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 12px;
  fill: none;
  stroke: #7e7e87;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.ay-tracker-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 11px;
  background: transparent;
  color: #fff;
  font: 400 13px/1 var(--font-sans);
}

.ay-tracker-search input::placeholder {
  color: #686871;
}

.ay-tracker-receipt-list {
  position: absolute;
  left: 261px;
  right: -1px;
  top: 74px;
  height: 880px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0d0d0d;
  scrollbar-width: none;
}

.ay-tracker-receipt-list::-webkit-scrollbar {
  display: none;
}

.ay-tracker-receipt-row,
.ay-tracker-receipt-skeleton {
  position: relative;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 172px;
  align-items: center;
  width: 100%;
  min-height: 80px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  padding: 0 28px;
  background: #0d0d0d;
  color: #fff;
  text-align: left;
}

.ay-tracker-receipt-row:nth-child(even),
.ay-tracker-receipt-skeleton.is-alt {
  background: #1a1a1a;
}

.ay-tracker-receipt-row {
  cursor: pointer;
  transition: background 200ms ease;
}

.ay-tracker-receipt-row:hover {
  background: #242424;
}

.ay-tracker-receipt-category {
  position: relative;
  overflow: hidden;
  padding-left: 16px;
  color: #44c67f;
  font: 600 12px/1.2 var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-receipt-category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #44c67f;
  transform: translateY(-50%);
}

.ay-tracker-receipt-category.is-payer-proof { color: #3784f4; }
.ay-tracker-receipt-category.is-anchor { color: #9553f9; }
.ay-tracker-receipt-category.is-synthetic { color: #ffbe4c; }
.ay-tracker-receipt-category.is-failed { color: #f966ac; }
.ay-tracker-receipt-category.is-payer-proof::before { background: #3784f4; }
.ay-tracker-receipt-category.is-anchor::before { background: #9553f9; }
.ay-tracker-receipt-category.is-synthetic::before { background: #ffbe4c; }
.ay-tracker-receipt-category.is-failed::before { background: #f966ac; }

.ay-tracker-receipt-copy {
  min-width: 0;
  padding: 0 16px;
}

.ay-tracker-receipt-copy strong {
  display: block;
  overflow: hidden;
  margin-bottom: 7px;
  color: #f6f6f7;
  font: 600 15px/normal var(--font-sans);
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-receipt-copy small {
  display: block;
  overflow: hidden;
  color: #aaa;
  font: 400 11px/normal var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-tracker-receipt-status {
  justify-self: start;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #44c67f;
  font: 600 13px/1 var(--font-sans);
  letter-spacing: 0;
  text-align: left;
  text-transform: lowercase;
}

.ay-tracker-receipt-status.is-failed {
  border-color: transparent;
  background: transparent;
  color: #f966ac;
}

.ay-tracker-receipt-empty {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 40px;
  color: #8d8d95;
  font: 500 13px/1.5 var(--font-sans);
  text-align: center;
}

.ay-tracker-receipt-skeleton {
  grid-template-columns: 112px minmax(0, 1fr) 100px;
  gap: 24px;
}

.ay-tracker-receipt-skeleton i,
.ay-tracker-receipt-skeleton span,
.ay-tracker-receipt-skeleton b,
.ay-tracker-receipt-skeleton em {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  animation: ay-tracker-pulse 1.4s ease-in-out infinite;
}

.ay-tracker-receipt-skeleton i { width: 72px; }
.ay-tracker-receipt-skeleton span { width: min(360px, 80%); }
.ay-tracker-receipt-skeleton b { width: 76px; justify-self: end; }
.ay-tracker-receipt-skeleton em { display: none; }

@keyframes ay-tracker-pulse {
  50% { opacity: .4; }
}

.ay-tracker-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ay-tracker-detail-modal.open { opacity: 1; }

.ay-tracker-detail-card {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  color: #111;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .28);
  transform: translateY(8px);
  transition: transform 180ms ease;
}

.ay-tracker-detail-modal.open .ay-tracker-detail-card { transform: none; }

.ay-tracker-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 30px 24px;
  border-bottom: 1px solid #eceef1;
}

.ay-tracker-detail-head p {
  margin: 0 0 7px;
  color: #44c67f;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ay-tracker-detail-head h2 {
  margin: 0;
  font: 700 24px/1.2 var(--font-sans);
  letter-spacing: -.03em;
}

.ay-tracker-detail-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111;
  font: 400 24px/1 var(--font-sans);
  cursor: pointer;
}

.ay-tracker-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: #eceef1;
}

.ay-tracker-detail-grid > div {
  min-width: 0;
  padding: 18px 22px;
  background: #fff;
}

.ay-tracker-detail-grid > div.is-wide { grid-column: 1 / -1; }

.ay-tracker-detail-grid span {
  display: block;
  margin-bottom: 7px;
  color: #8a8f99;
  font: 600 10px/1 var(--font-sans);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ay-tracker-detail-grid strong,
.ay-tracker-detail-grid a {
  display: block;
  overflow-wrap: anywhere;
  color: #111;
  font: 600 13px/1.45 var(--font-mono);
  text-decoration: none;
}

.ay-tracker-detail-grid a { color: #277653; }

.ay-tracker-detail-foot {
  display: flex;
  justify-content: flex-end;
  padding: 20px 30px 24px;
}

.ay-tracker-detail-foot button {
  min-width: 132px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #0d0d0d;
  color: #fff;
  font: 600 13px/1 var(--font-sans);
  cursor: pointer;
}

body:has(.ay-tracker-detail-modal.open) { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .ay-tracker-receipt-skeleton i,
  .ay-tracker-receipt-skeleton span,
  .ay-tracker-receipt-skeleton b,
  .ay-tracker-receipt-skeleton em { animation: none; }
}

/* ---------- Multi-Hop Patients: native filters and patient grid ---------- */

.ay-mh-patient-stat-value.v3-box {
  z-index: 19;
  display: block;
  background: #fff;
  color: #161a21;
  font-family: var(--font-sans);
  line-height: normal;
}

.ay-mh-patient-stat-value span {
  display: block;
  height: 14px;
  color: #6d6a64;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ay-mh-patient-stat-value strong {
  display: block;
  height: 40px;
  margin-top: 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -.02em;
}

.ay-mh-patient-filter-rail.v3-box {
  z-index: 22;
  overflow: visible;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #161a21;
  font-family: var(--font-sans);
  line-height: normal;
}

.ay-mh-patient-filter-rail button,
.ay-mh-patient-filter-rail input,
.ay-mh-patient-grid-overlay button { font-family: inherit; }

.ay-mh-patient-filter-controls {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
}

.ay-mh-patient-search {
  display: flex;
  flex: 0 0 380px;
  align-items: center;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.ay-mh-patient-search svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  fill: none;
  stroke: #6d6a64;
  stroke-linecap: round;
  stroke-width: 1.35;
}

.ay-mh-patient-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 16px 0 12px;
  background: transparent;
  color: #161a21;
  font: 400 14px/1.2 var(--font-sans);
}

.ay-mh-patient-search input::placeholder { color: #6d6a64; opacity: 1; }

.ay-mh-patient-search:focus-within,
.ay-mh-patient-dropdown-trigger:focus-visible,
.ay-mh-patient-clear:focus-visible,
.ay-mh-patient-card:focus-visible,
.ay-mh-patient-load:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.ay-mh-patient-dropdown { position: relative; flex: 0 0 auto; }
.ay-mh-patient-dropdown[data-v3-patient-dropdown="severity"] { width: 135px; }
.ay-mh-patient-dropdown[data-v3-patient-dropdown="diagnosis"] { width: 141px; }
.ay-mh-patient-dropdown[data-v3-patient-dropdown="insurance"] { width: 136px; }

.ay-mh-patient-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 10px 0 12px;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  font: 500 14px/1.2 var(--font-sans);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ay-mh-patient-dropdown-trigger:hover { border-color: #cfd4dc; }
.ay-mh-patient-dropdown-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ay-mh-patient-dropdown-trigger svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  fill: none;
  stroke: #161a21;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
  transition: transform 180ms ease;
}

.ay-mh-patient-dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.ay-mh-patient-dropdown-menu {
  position: absolute;
  z-index: 60;
  left: 0;
  top: 50px;
  width: 240px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  scrollbar-width: thin;
}

.ay-mh-patient-dropdown[data-v3-patient-dropdown="diagnosis"] .ay-mh-patient-dropdown-menu { width: 430px; }
.ay-mh-patient-dropdown[data-v3-patient-dropdown="severity"] .ay-mh-patient-dropdown-menu { width: 190px; }
.ay-mh-patient-dropdown-menu[hidden] { display: none; }

.ay-mh-patient-dropdown-menu button {
  display: block;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  font: 400 14px/1.3 var(--font-sans);
  text-align: left;
}

.ay-mh-patient-dropdown-menu button:hover:not(.is-selected) { background: #f3f4f6; }
.ay-mh-patient-dropdown-menu button.is-selected { background: #2563eb; color: #fff; }

.ay-mh-patient-clear {
  flex: 0 0 auto;
  height: 42px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #6d6a64;
  cursor: pointer;
  font: 600 14px/1.2 var(--font-sans);
  text-decoration: none;
}

.ay-mh-patient-clear:hover { color: #161a21; }

.ay-mh-patient-result-count {
  margin-left: auto;
  color: #161a21;
  font: 700 14px/1.2 var(--font-sans);
  white-space: nowrap;
}

.ay-mh-patient-grid-overlay.v3-box {
  z-index: 18;
  overflow: hidden;
  background: #fff;
  color: #161a21;
  font-family: var(--font-sans);
  line-height: normal;
}

.ay-mh-patient-grid {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 60px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 419px;
  gap: 32px;
}

.ay-mh-patient-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 419px;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .03);
  cursor: pointer;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.ay-mh-patient-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .08); transform: translateY(-1px); }

.ay-mh-patient-card-top {
  display: flex;
  flex: 0 0 48px;
  align-items: flex-start;
  justify-content: space-between;
}

.ay-mh-patient-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }

.ay-mh-patient-avatar {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d0d0d;
  color: #fbf7ef;
  font: 700 16px/1 var(--font-sans);
}

.ay-mh-patient-name { min-width: 0; }
.ay-mh-patient-name strong { display: block; overflow: hidden; color: #161a21; font: 700 18px/1.2 var(--font-sans); text-overflow: ellipsis; white-space: nowrap; }
.ay-mh-patient-name span { display: block; margin-top: 3px; color: #6d6a64; font: 500 12px/1.2 var(--font-sans); }

.ay-mh-patient-severity {
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 4px 8px;
  background: #f3f4f6;
  color: #374151;
  font: 700 11px/1.2 var(--font-sans);
}

.ay-mh-patient-severity.is-critical { border-color: transparent; background: #fff7ed; color: #9a3412; }
.ay-mh-patient-severity.is-severe { background: #fffbeb; color: #92400e; }
.ay-mh-patient-severity.is-moderate { background: #eff6ff; color: #1e40af; }
.ay-mh-patient-severity.is-mild,
.ay-mh-patient-severity.is-minimal { background: #ecfdf5; color: #065f46; }

.ay-mh-patient-card-body {
  display: grid;
  flex: 0 0 241px;
  grid-template-rows: 31px 31px 31px 100px;
  gap: 16px;
}

.ay-mh-patient-meta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ay-mh-patient-meta-row > div { min-width: 0; }
.ay-mh-patient-meta-row small { display: block; color: #6d6a64; font: 600 10px/1.3 var(--font-sans); text-transform: uppercase; }
.ay-mh-patient-meta-row strong { display: block; overflow: hidden; margin-top: 2px; color: #161a21; font: 600 13px/1.25 var(--font-sans); text-overflow: ellipsis; white-space: nowrap; }

.ay-mh-patient-card-action {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #0d0d0d;
  color: #fbf7ef;
  cursor: pointer;
  font: 600 14px/1.2 var(--font-sans);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.ay-mh-patient-card-action:hover { background: #202020; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }

.ay-mh-patient-empty {
  position: absolute;
  top: 180px;
  left: 80px;
  right: 80px;
  margin: 0;
  color: #6d6a64;
  font: 500 15px/1.4 var(--font-sans);
  text-align: center;
}

.ay-mh-patient-empty[hidden] { display: none; }

.ay-mh-patient-load {
  position: absolute;
  left: 50%;
  top: 2806px;
  min-width: 199px;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 24px;
  background: #fff;
  color: #161a21;
  cursor: pointer;
  font: 600 14px/1.2 var(--font-sans);
  transform: translateX(-50%);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.ay-mh-patient-load:hover { background: #f9fafb; box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.ay-mh-patient-load[hidden] { display: none; }

/* ---------- Multi-Hop Workflows: backend-driven table ---------- */

.ay-mh-workflow-hero.v3-box {
  z-index: 18;
  width: 1440px;
  height: 211px;
  overflow: hidden;
  background: #0d0d0d;
  color: #fbf7ef;
  font-family: var(--font-sans);
  line-height: normal;
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}

.ay-mh-workflow-hero h1 {
  position: absolute;
  left: 80px;
  top: 106px;
  margin: 0;
  color: #fbf7ef;
  font: 700 56px/67px var(--font-sans);
  letter-spacing: -1.68px;
}

.ay-mh-workflow-workspace.v3-box {
  z-index: 16;
  width: 1440px;
  height: 1244px;
  overflow: visible;
  color: #0d0d0d;
  font-family: var(--font-sans);
  line-height: normal;
  isolation: isolate;
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}

.ay-mh-workflow-workspace.v3-box::before {
  position: absolute;
  z-index: 0;
  top: 112px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  content: "";
  pointer-events: none;
}

.ay-mh-workflow-workspace button,
.ay-mh-workflow-workspace input { font: inherit; }

.ay-mh-workflow-controls {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 80px;
  background: #0d0d0d;
}

.ay-mh-workflow-section-title {
  position: absolute;
  z-index: 1;
  left: 80px;
  top: 154px;
  margin: 0;
  color: #161a21;
  font: 700 22px/28px var(--font-sans);
}

.ay-mh-workflow-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ay-mh-workflow-filters button {
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: #6d6a64;
  font: 600 13px/1 var(--font-sans);
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}

.ay-mh-workflow-filters button:hover,
.ay-mh-workflow-filters button.is-active {
  border-color: #fff;
  background: #fff;
  color: #0d0d0d;
}

.ay-mh-workflow-search {
  display: flex;
  align-items: center;
  width: 280px;
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: transparent;
}

.ay-mh-workflow-search svg {
  width: 14px;
  height: 14px;
  margin-left: 12px;
  fill: none;
  stroke: rgba(251, 247, 239, .58);
  stroke-linecap: round;
  stroke-width: 1.4;
}

.ay-mh-workflow-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 12px 0 8px;
  background: transparent;
  color: #fbf7ef;
  font: 500 12px/1 var(--font-sans);
}

.ay-mh-workflow-search input::placeholder { color: rgba(251, 247, 239, .5); }

.ay-mh-workflow-search:focus-within,
.ay-mh-workflow-filters button:focus-visible,
.ay-mh-workflow-table-head button:focus-visible,
.ay-mh-workflow-row:focus-visible,
.ay-mh-workflow-pagination button:focus-visible {
  outline: 2px solid #44c67f;
  outline-offset: 2px;
}

.ay-mh-workflow-stats {
  position: absolute;
  z-index: 1;
  left: 80px;
  right: 80px;
  top: 222px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 20px 16px;
  height: auto;
  border: 0;
  background: transparent;
}

.ay-mh-workflow-stats article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 20px;
  background: #f9fafb;
}

.ay-mh-workflow-stats span {
  width: 100%;
  color: #6d6a64;
  font: 700 12px/normal var(--font-sans);
}

.ay-mh-workflow-stats strong {
  width: 100%;
  color: #161a21;
  font: 700 28px/1 var(--font-sans);
  letter-spacing: 0;
}

.ay-mh-workflow-stats em {
  width: 100%;
  overflow: hidden;
  color: #6d6a64;
  font: normal 400 13px/normal var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-mh-workflow-stats i {
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.ay-mh-workflow-stats small {
  width: 100%;
  color: #6d6a64;
  font: 400 12px/1.4 var(--font-sans);
}

/*
 * Legacy 4-stat row declarations kept below this marker used to apply to the
 * old 1975px export. The current Figma frame uses the 8-card grid above.
 */
/*
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 122px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  background: #fff;
}

.ay-mh-workflow-stats article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #fff;
}

.ay-mh-workflow-stats article:last-child { border-right: 0; }

.ay-mh-workflow-stats span {
  margin-bottom: 1px;
  color: #6b7280;
  font: 600 10px/1.3 var(--font-sans);
  letter-spacing: .02em;
}

.ay-mh-workflow-stats strong {
  color: #111827;
  font: 700 36px/1.25 var(--font-sans);
  letter-spacing: -.035em;
}
*/

.ay-mh-workflow-table {
  position: absolute;
  z-index: 1;
  left: 80px;
  top: 674px;
  width: 1280px;
  height: 508px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.ay-mh-workflow-table-head,
.ay-mh-workflow-row,
.ay-mh-workflow-skeleton {
  display: grid;
  grid-template-columns: 114px 290.666px 290.666px 290.668px 110px 90px 90px;
  align-items: center;
}

.ay-mh-workflow-table-head {
  height: 44px;
  padding-left: 4px;
  border-bottom: 1px solid #e5e7eb;
  background: #f5f5f7;
}

.ay-mh-workflow-table-head button {
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: stretch;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #6b7280;
  font: 600 10px/1 var(--font-sans);
  text-align: left;
  cursor: pointer;
}

.ay-mh-workflow-table-head button:first-child { padding-left: 12px; }

.ay-mh-workflow-table-head button span::after {
  content: "↕";
  opacity: 0;
  font-size: 9px;
}

.ay-mh-workflow-table-head button:hover span::after,
.ay-mh-workflow-table-head button.is-sorted span::after { opacity: .65; }

.ay-mh-workflow-table-body { height: 464px; }

.ay-mh-workflow-row,
.ay-mh-workflow-skeleton {
  width: 100%;
  height: 58px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  padding-left: 4px;
  background: #fff;
  color: #111827;
}

.ay-mh-workflow-row {
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}

.ay-mh-workflow-row:hover { background: #f9fafb; }
.ay-mh-workflow-row.is-selected { background: #f3f4f6; }

.ay-mh-workflow-row > span {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding-right: 18px;
  font: 500 13px/normal var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-mh-workflow-row > span:first-child {
  padding-left: 12px;
  color: #161a21;
  font: 500 13px/normal var(--font-mono);
}

.ay-mh-workflow-status,
.ay-mh-workflow-gate {
  justify-self: start;
  width: auto;
  max-width: calc(100% - 10px);
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 4px 8px !important;
  font: 600 11px/1.1 var(--font-sans) !important;
  text-transform: capitalize;
}

.ay-mh-workflow-status.is-active { border-color: #e5e7eb; background: #ecfdf5; color: #065f46; }
.ay-mh-workflow-status.is-pending { border-color: #e5e7eb; background: #fffbeb; color: #92400e; }
.ay-mh-workflow-status.is-paused { border-color: #e5e7eb; background: #fff7ed; color: #9a3412; }
.ay-mh-workflow-status.is-flagged { border-color: #e5e7eb; background: #fff7ed; color: #9a3412; }
.ay-mh-workflow-gate { background: #f3f4f6; color: #374151; }

.ay-mh-workflow-receipt {
  color: #374151;
  font: 500 10px/1 var(--font-mono) !important;
}

.ay-mh-workflow-empty {
  display: grid;
  place-items: center;
  height: 464px;
  color: #6b7280;
  font: 500 13px/1.5 var(--font-sans);
}

.ay-mh-workflow-pagination {
  position: absolute;
  left: 80px;
  top: 1182px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 1280px;
  z-index: 8;
  height: 104px;
  padding-top: 8px;
  background: #fff;
}

.ay-mh-workflow-pagination > span {
  padding-top: 8px;
  color: #6b7280;
  font: 500 12px/1 var(--font-sans);
}

.ay-mh-workflow-pagination > div { display: flex; gap: 8px; }

.ay-mh-workflow-pagination button {
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 16px;
  background: #fff;
  color: #111827;
  font: 600 12px/1 var(--font-sans);
  cursor: pointer;
}

.ay-mh-workflow-pagination button:disabled {
  color: #9ca3af;
  cursor: default;
  opacity: .6;
}

.ay-mh-workflow-skeleton { gap: 18px; }

.ay-mh-workflow-skeleton i {
  width: calc(100% - 24px);
  height: 9px;
  border-radius: 999px;
  background: #eef0f2;
  animation: ay-tracker-pulse 1.4s ease-in-out infinite;
}

.ay-mh-new-handoff.v3-box {
  z-index: 20;
  width: 136px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 0 16px;
  background: #0d0d0d;
  color: #fbf7ef;
  font: 600 14px/1 var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease;
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}
.ay-mh-new-handoff:hover { background: #222; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }

.ay-mh-workflow-breakdown.v3-box {
  z-index: 19;
  width: 1440px;
  height: 387px;
  padding: 90px 80px;
  background: #0d0d0d;
  color: #fff;
  font-family: var(--font-sans);
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}
.ay-mh-workflow-breakdown article {
  display: grid;
  width: 1280px;
  height: 225px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 21px 136px;
  gap: 20px 48px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 24px;
  background: #2a2a2a;
}
.ay-mh-breakdown-heading { grid-column: 1 / -1; display: flex; height: 21px; align-items: center; gap: 12px; }
.ay-mh-breakdown-heading h2 { margin: 0; color: #fff; font: 700 16px/normal var(--font-sans); }
.ay-mh-breakdown-heading b { border-radius: 4px; padding: 3px 8px; background: #0d0d0d; color: #fff; font: 700 11px/normal var(--font-mono); }
.ay-mh-breakdown-column { display: grid; grid-template-rows: repeat(3, 34px); gap: 16px; }
.ay-mh-breakdown-column p { margin: 0; color: #fff; font: 500 14px/normal var(--font-mono); }
.ay-mh-breakdown-column small { display: block; margin-bottom: 4px; color: #86868b; font: 700 10px/normal var(--font-sans); }
.ay-mh-breakdown-column p.is-passed {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #15803d;
  font-family: var(--font-sans);
}

.ay-mh-workflow-recent.v3-box {
  z-index: 19;
  width: 1440px;
  height: 403px;
  overflow: visible;
  padding: 95px 80px 40px;
  background: #fff;
  color: #161a21;
  font-family: var(--font-sans);
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}
.ay-mh-workflow-recent h2 { margin: 0; font: 700 22px/28px var(--font-sans); }
.ay-mh-workflow-carousel {
  display: flex;
  width: 1280px;
  height: 160px;
  gap: 16px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ay-mh-workflow-carousel::-webkit-scrollbar { display: none; }
.ay-mh-recent-card {
  display: flex;
  width: 240px;
  height: 160px;
  flex: 0 0 240px;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  color: #161a21;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.ay-mh-recent-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .08); transform: translateY(-1px); }
.ay-mh-recent-card header,
.ay-mh-recent-card footer { display: flex; align-items: center; justify-content: space-between; }
.ay-mh-recent-card header code { color: #6d6a64; font: 400 12px/normal var(--font-sans); }
.ay-mh-recent-card > strong { font: 600 14px/normal var(--font-sans); }
.ay-mh-recent-card > small { color: #6d6a64; font: 400 12px/normal var(--font-sans); }
.ay-mh-recent-card footer { margin-top: auto; color: #6d6a64; font: 400 11px/normal var(--font-sans); }
.ay-mh-workflow-dots {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 1280px;
  height: 8px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}
.ay-mh-workflow-dots::before {
  content: none;
}
.ay-mh-workflow-dots button {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #e5e7eb;
  cursor: pointer;
}
.ay-mh-workflow-dots button.is-active { background: #dfe3e8; }

.ay-mh-workflow-skeleton i:first-child { margin-left: 12px; }

/* ---------- Payer Proof Dashboard: live claims workspace ---------- */

.ay-pp-dashboard-workspace.v3-box {
  z-index: 19;
  width: 1440px;
  height: 1832px;
  overflow: hidden;
  background: #f9fafb;
  color: #0d0d0d;
  font-family: var(--font-sans);
  line-height: normal;
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}

.ay-pp-dashboard-workspace button,
.ay-pp-dashboard-workspace input { font: inherit; }

.ay-pp-dashboard-hero {
  position: relative;
  width: 1440px;
  height: 321px;
  padding: 87px 80px 40px;
  background: #0d0d0d;
}

.ay-pp-dashboard-title-row,
.ay-pp-dashboard-control-row {
  display: flex;
  width: 1280px;
  align-items: center;
  justify-content: space-between;
}

.ay-pp-dashboard-title-row { height: 71px; }

.ay-pp-dashboard-title-row h1 {
  margin: 0;
  color: #fff;
  font: 700 56px/1.1 var(--font-sans);
  letter-spacing: -.035em;
}

.ay-pp-dashboard-title-row > button {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 0 16px;
  background: #0d0d0d;
  color: #fbf7ef;
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.ay-pp-dashboard-title-row > button:hover,
.ay-pp-dashboard-title-row > button:focus-visible {
  background: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.ay-pp-dashboard-title-row > button span {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.ay-pp-dashboard-title-row > button span::before,
.ay-pp-dashboard-title-row > button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: #fbf7ef;
  content: "";
  transform: translate(-50%, -50%);
}

.ay-pp-dashboard-title-row > button span::before { width: 10px; height: 1.5px; }
.ay-pp-dashboard-title-row > button span::after { width: 1.5px; height: 10px; }

.ay-pp-dashboard-control-row {
  height: 32px;
  margin-top: 24px;
}

.ay-pp-dashboard-filters { display: flex; align-items: center; gap: 8px; }

.ay-pp-dashboard-filters button {
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: #aaa;
  font: 600 13px/1 var(--font-sans);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.ay-pp-dashboard-filters button:hover { border-color: #fff; color: #fff; }

.ay-pp-dashboard-filters button.is-active {
  border-color: #fff;
  background: #fff;
  color: #1d1d1f;
}

.ay-pp-dashboard-search {
  display: flex;
  width: 280px;
  height: 32px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 12px;
  background: #0d0d0d;
}

.ay-pp-dashboard-search svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 1.35;
}

.ay-pp-dashboard-search input {
  min-width: 0;
  width: 100%;
  height: 30px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font: 400 13px/1 var(--font-sans);
}

.ay-pp-dashboard-search input::placeholder { color: #6d6a64; opacity: 1; }

.ay-pp-dashboard-claims {
  position: relative;
  width: 1440px;
  height: 686px;
  margin-top: 50px;
  padding: 24px 80px;
  background: #f9fafb;
}

.ay-pp-dashboard-stats {
  display: grid;
  width: 1280px;
  height: 56px;
  grid-template-columns: repeat(4, 1fr);
}

.ay-pp-dashboard-stats button {
  display: flex;
  height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-right: 1px solid #e5e5ea;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ay-pp-dashboard-stats button:last-child { border-right: 0; }
.ay-pp-dashboard-stats button:hover { background: rgba(255, 255, 255, .66); }
.ay-pp-dashboard-stats span { color: #6d6a64; font: 700 10px/1 var(--font-sans); text-transform: uppercase; }
.ay-pp-dashboard-stats strong { color: #161a21; font: 700 36px/1 var(--font-sans); }
.ay-pp-dashboard-stats strong.is-approved { color: #6366f1; }

.ay-pp-dashboard-table {
  position: absolute;
  left: 80px;
  top: 125px;
  width: 1280px;
  height: 428px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ay-pp-dashboard-table-head,
.ay-pp-dashboard-row,
.ay-pp-dashboard-skeleton {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 1fr) 110px 90px 90px;
  width: 100%;
  align-items: center;
}

.ay-pp-dashboard-table-head {
  height: 44px;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 4px;
  background: #f3f4f6;
}

.ay-pp-dashboard-table-head button {
  position: relative;
  height: 43px;
  overflow: hidden;
  border: 0;
  padding: 0 12px 0 0;
  background: transparent;
  color: #6d6a64;
  font: 600 10px/1 var(--font-sans);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.ay-pp-dashboard-table-head button:first-child { padding-left: 12px; }
.ay-pp-dashboard-table-head button:last-child { padding-right: 12px; text-align: right; }
.ay-pp-dashboard-table-head button:hover { color: #111827; }
.ay-pp-dashboard-table-head button.is-sorted span::after { content: "↑"; margin-left: 4px; }
.ay-pp-dashboard-table-head button.is-sorted.is-desc span::after { content: "↓"; }

.ay-pp-dashboard-table-body { height: 384px; }

.ay-pp-dashboard-row {
  height: 48px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 4px;
  background: #fff;
  color: #0d0d0d;
  text-align: left;
  cursor: pointer;
  transition: background 200ms ease;
}

.ay-pp-dashboard-row:last-child { border-bottom: 0; }
.ay-pp-dashboard-row:hover,
.ay-pp-dashboard-row.is-selected { background: #f9fafb; }

.ay-pp-dashboard-row > span {
  min-width: 0;
  overflow: hidden;
  padding-right: 12px;
  font: 500 12px/1.2 var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-pp-dashboard-row > span:first-child { padding-left: 12px; font-family: var(--font-mono); color: #0d0d0d; }
.ay-pp-dashboard-row .is-patient { font-size: 13px; font-weight: 600; }
.ay-pp-dashboard-row .is-muted { color: #6d6a64; }
.ay-pp-dashboard-row .is-receipt { padding-right: 12px; font: 500 10px/1 var(--font-mono); text-align: right; }

.ay-pp-status,
.ay-pp-gate {
  justify-self: start;
  width: auto;
  max-width: calc(100% - 10px);
  border-radius: 4px;
  padding: 4px 8px !important;
  font: 600 10px/1 var(--font-sans) !important;
  text-transform: none;
}

.ay-pp-status.is-ready,
.ay-pp-status.is-approved,
.ay-pp-status.is-active,
.ay-pp-status.is-passed,
.ay-pp-status.is-clear,
.ay-pp-status.is-completed,
.ay-pp-status.is-delivered,
.ay-pp-status.is-verified { background: #ecfdf5; color: #065f46; }
.ay-pp-status.is-fixed { background: #eff6ff; color: #1e40af; }
.ay-pp-status.is-held,
.ay-pp-status.is-pending { background: #fffbeb; color: #92400e; }
.ay-pp-status.is-needs-review,
.ay-pp-status.is-flagged,
.ay-pp-status.is-paused { background: #fff7ed; color: #9a3412; }
.ay-pp-gate { border: 1px solid #e5e7eb; background: #f3f4f6; color: #374151; }

.ay-pp-dashboard-empty {
  display: grid;
  height: 384px;
  place-items: center;
  color: #6b7280;
  font: 500 13px/1.5 var(--font-sans);
}

.ay-pp-dashboard-pagination {
  position: absolute;
  left: 80px;
  top: 598px;
  display: flex;
  width: 1280px;
  height: 64px;
  align-items: flex-start;
  justify-content: space-between;
}

.ay-pp-dashboard-pagination > span { padding-top: 16px; color: #6d6a64; font: 500 12px/1 var(--font-sans); }
.ay-pp-dashboard-pagination > div { display: flex; gap: 10px; padding-top: 4px; }

.ay-pp-dashboard-pagination button {
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 16px;
  background: #fff;
  color: #111827;
  font: 600 12px/1 var(--font-sans);
  cursor: pointer;
}

.ay-pp-dashboard-pagination button:disabled { color: #9ca3af; cursor: default; opacity: .6; }

.ay-pp-dashboard-breakdown {
  width: 1440px;
  height: 319px;
  margin-top: 50px;
  padding: 40px 80px;
  background: #0d0d0d;
}

.ay-pp-dashboard-breakdown article {
  position: relative;
  display: grid;
  width: 1280px;
  height: 239px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 21px 134px;
  gap: 20px 48px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #2a2a2a;
  color: #fff;
}

.ay-pp-breakdown-heading { grid-column: 1 / -1; display: flex; height: 21px; align-items: center; gap: 12px; }
.ay-pp-breakdown-heading h2 { margin: 0; font: 700 16px/normal var(--font-sans); }
.ay-pp-breakdown-heading b { border-radius: 4px; padding: 5px 8px; background: #0d0d0d; font: 500 10px/1 var(--font-mono); }
.ay-pp-breakdown-column { display: grid; grid-template-rows: repeat(3, 34px); gap: 16px; }
.ay-pp-breakdown-column p { margin: 0; color: #fff; font: 500 14px/normal var(--font-sans); }
.ay-pp-breakdown-column small { display: block; margin-bottom: 4px; color: #86868b; font: 700 10px/normal var(--font-sans); text-transform: uppercase; }

.ay-pp-dashboard-recent {
  width: 1440px;
  height: 356px;
  margin-top: 50px;
  padding: 40px 80px;
  background: #fff;
}

.ay-pp-dashboard-recent h2 { margin: 0; color: #161a21; font: 700 22px/28px var(--font-sans); }

.ay-pp-carousel-row {
  display: flex;
  width: 1280px;
  height: 160px;
  gap: 16px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ay-pp-carousel-row::-webkit-scrollbar { display: none; }

.ay-pp-claim-card {
  position: relative;
  display: flex;
  width: 240px;
  height: 160px;
  flex: 0 0 240px;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  color: #0d0d0d;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
  transition: box-shadow 200ms ease;
}

.ay-pp-claim-card:hover,
.ay-pp-claim-card:focus-visible { box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.ay-pp-claim-card header { display: flex; align-items: center; justify-content: space-between; }
.ay-pp-claim-card header code { font: 500 11px/1 var(--font-mono); color: #6d6a64; }
.ay-pp-claim-card > strong { margin-top: 20px; font: 600 13px/1 var(--font-sans); }
.ay-pp-claim-card > small { margin-top: 14px; color: #9ca3af; font: 500 11px/1 var(--font-sans); }
.ay-pp-claim-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: #9ca3af; font: 500 11px/1 var(--font-sans); }

.ay-pp-carousel-dots {
  display: flex;
  width: 1280px;
  height: 8px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.ay-pp-carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #e5e7eb;
  cursor: pointer;
}

.ay-pp-carousel-dots button.is-active { background: #6366f1; }

.ay-pp-dashboard-skeleton { height: 48px; padding: 0 16px; border-bottom: 1px solid #e5e7eb; }
.ay-pp-dashboard-skeleton i { width: calc(100% - 14px); height: 8px; border-radius: 999px; background: #eef0f2; animation: ay-tracker-pulse 1.4s ease-in-out infinite; }

.ay-pp-claim-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, .55);
}

.ay-pp-claim-dialog {
  width: min(620px, 100%);
  border-radius: 20px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.ay-pp-claim-dialog header { display: flex; align-items: center; justify-content: space-between; }
.ay-pp-claim-dialog h2 { margin: 0; font: 700 24px/1.2 var(--font-sans); }
.ay-pp-claim-dialog header button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f4f6; color: #111; font-size: 22px; cursor: pointer; }
.ay-pp-claim-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.ay-pp-claim-form label { display: flex; flex-direction: column; gap: 8px; color: #343433; font: 600 12px/1 var(--font-sans); }
.ay-pp-claim-form label.is-wide { grid-column: 1 / -1; }
.ay-pp-claim-form input { height: 46px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 0 14px; color: #111; font: 400 14px/1 var(--font-sans); }
.ay-pp-claim-form [data-v3-pp-claim-error] { grid-column: 1 / -1; min-height: 18px; color: #b42318; font: 500 12px/1.4 var(--font-sans); }
.ay-pp-claim-form footer { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.ay-pp-claim-form footer button { height: 42px; border: 1px solid #e5e7eb; border-radius: 999px; padding: 0 20px; background: #fff; color: #111; font: 600 13px/1 var(--font-sans); cursor: pointer; }
.ay-pp-claim-form footer button[type="submit"] { border-color: #0d0d0d; background: #0d0d0d; color: #fff; }

/* ---------- Payer Proof Queue: native Figma-matched controls ---------- */

.ay-pp-queue-workspace.v3-box {
  --ay-pp-queue-rows: 18;
  z-index: 19;
  width: 1440px;
  height: 1381px;
  overflow: visible;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}

.ay-pp-queue-workspace button,
.ay-pp-queue-workspace input,
.ay-pp-queue-detail button { font: inherit; }

.ay-pp-queue-heading {
  position: absolute;
  left: 80px;
  top: 80px;
  display: flex;
  width: 1280px;
  height: 82px;
  align-items: flex-start;
  justify-content: space-between;
}

.ay-pp-queue-heading > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.ay-pp-queue-heading > div:first-child > span { display: flex; height: 40px; align-items: center; gap: 16px; }
.ay-pp-queue-heading h1 { margin: 0; font: 700 32px/normal var(--font-sans); }
.ay-pp-queue-heading b { border: 1px solid #e5e7eb; border-radius: 4px; padding: 4px 10px; color: #86868b; font: 600 11px/normal var(--font-sans); }
.ay-pp-queue-heading p { margin: 0; color: #6b7280; font: 400 14px/normal var(--font-sans); }

.ay-pp-queue-heading > button {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: #000;
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
}

.ay-pp-queue-heading > button:hover { background: #f9fafb; }

.ay-pp-queue-filter-panel {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 44px;
  width: 360px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

.ay-pp-queue-filter-panel[hidden] { display: none; }
.ay-pp-queue-filter-panel label { display: flex; flex-direction: column; gap: 8px; color: #6b7280; font: 600 11px/1 var(--font-sans); text-transform: uppercase; }
.ay-pp-queue-filter-panel input { width: 100%; height: 42px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0 12px; color: #111827; font: 400 13px/1 var(--font-sans); text-transform: none; }
.ay-pp-queue-filter-panel > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ay-pp-queue-filter-panel > div button { height: 30px; border: 1px solid #e5e7eb; border-radius: 999px; padding: 0 11px; background: #fff; color: #374151; font: 600 11px/1 var(--font-sans); cursor: pointer; }
.ay-pp-queue-filter-panel > div button.is-active { border-color: #0d0d0d; background: #0d0d0d; color: #fff; }

.ay-pp-queue-table {
  position: absolute;
  left: 80px;
  top: 202px;
  width: 1280px;
  height: calc(41px + (var(--ay-pp-queue-rows) * 54px));
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ay-pp-queue-table-head,
.ay-pp-queue-row,
.ay-pp-queue-skeleton {
  display: grid;
  width: 100%;
  grid-template-columns: 100px 80px 200px minmax(0, 1fr) 120px;
  align-items: center;
  padding: 0 24px;
}

.ay-pp-queue-table-head { height: 41px; background: #f5f5f7; }
.ay-pp-queue-table-head button { height: 41px; overflow: hidden; border: 0; padding: 0; background: transparent; color: #86868b; font: 700 10px/normal var(--font-sans); text-align: left; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.ay-pp-queue-table-head button:hover { color: #111827; }
.ay-pp-queue-table-head button.is-sorted span::after { content: "↑"; margin-left: 4px; }
.ay-pp-queue-table-head button.is-sorted.is-desc span::after { content: "↓"; }
.ay-pp-queue-table-body { width: 100%; height: calc(var(--ay-pp-queue-rows) * 54px); background: #fff; }

.ay-pp-queue-row {
  height: 54px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  color: #000;
  text-align: left;
  cursor: pointer;
  transition: background 200ms ease;
}

.ay-pp-queue-row:nth-child(even) { background: #f9fafb; }
.ay-pp-queue-row:hover,
.ay-pp-queue-row.is-selected { background: #f3f4f6; }
.ay-pp-queue-row > span { min-width: 0; overflow: hidden; font: 400 14px/normal var(--font-sans); text-overflow: ellipsis; white-space: nowrap; }
.ay-pp-queue-row > span:first-child { font: 700 13px/normal var(--font-mono); }
.ay-pp-queue-row > span:nth-child(2) { font-weight: 600; }
.ay-pp-queue-details { display: flex; min-width: 0; align-items: center; gap: 8px; color: #86868b; font-size: 13px; }
.ay-pp-queue-details code { border-radius: 4px; padding: 2px 6px; background: #f5f5f7; color: #6b7280; font: 700 11px/normal var(--font-mono); }
.ay-pp-queue-status { justify-self: start; border-radius: 4px; padding: 4px 8px; font: 700 11px/normal var(--font-sans) !important; }
.ay-pp-queue-status.is-ready,
.ay-pp-queue-status.is-active,
.ay-pp-queue-status.is-passed,
.ay-pp-queue-status.is-clear,
.ay-pp-queue-status.is-completed,
.ay-pp-queue-status.is-delivered,
.ay-pp-queue-status.is-verified { background: #ecfdf5; color: #065f46; }
.ay-pp-queue-status.is-fixed { background: #eff6ff; color: #1e40af; }
.ay-pp-queue-status.is-held,
.ay-pp-queue-status.is-pending { background: #fffbeb; color: #92400e; }
.ay-pp-queue-status.is-needs-review,
.ay-pp-queue-status.is-flagged,
.ay-pp-queue-status.is-paused { background: #fff7ed; color: #9a3412; }
.ay-pp-queue-status.is-gate,
.ay-pp-queue-status.is-neutral {
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #374151;
}
.ay-pp-queue-empty { display: grid; height: 100%; place-items: center; color: #6b7280; font: 500 14px/1.5 var(--font-sans); }
.ay-pp-queue-skeleton { height: 54px; border-bottom: 1px solid #e5e7eb; }
.ay-pp-queue-skeleton:nth-child(even) { background: #f9fafb; }
.ay-pp-queue-skeleton i { width: calc(100% - 16px); height: 8px; border-radius: 999px; background: #eceef1; animation: ay-tracker-pulse 1.4s ease-in-out infinite; }

.ay-pp-run-checks {
  position: absolute;
  left: 80px;
  top: calc(283px + (var(--ay-pp-queue-rows) * 54px));
  height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  background: #0d0d0d;
  color: #fff;
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
}
.ay-pp-run-checks:disabled { opacity: .65; cursor: wait; }

.ay-pp-queue-tail.v3-box {
  z-index: 18;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.ay-pp-queue-tail img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-67.7593837%);
  pointer-events: none;
  user-select: none;
}

.v3-page-frame[data-v3-page="payerproof-queue"].is-queue-filtered {
  overflow: hidden;
}

.v3-page-frame[data-v3-page="payerproof-queue"].is-queue-filtered .ay-pp-queue-tail {
  display: block;
}

.ay-pp-queue-detail.v3-box {
  z-index: 19;
  display: grid;
  width: 1440px;
  height: 1221px;
  grid-template-columns: 608px 608px;
  gap: 64px;
  overflow: hidden;
  padding: 100px 80px;
  background: #0d0d0d;
  color: #fff;
  font-family: var(--font-sans);
  transform: scale(var(--v3-render-scale, 1));
  transform-origin: left top;
}

.ay-pp-queue-detail > article {
  display: flex;
  width: 608px;
  height: 1021px;
  flex-direction: column;
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 32px;
  padding: 40px;
  background: #1a1a1a;
}

.ay-pp-focus-heading { display: flex; flex-direction: column; gap: 8px; }
.ay-pp-focus-heading small { color: #fff; font: 700 13px/normal var(--font-sans); text-transform: uppercase; }
.ay-pp-focus-heading h2 { margin: 0; color: #fff; font: 700 32px/normal var(--font-sans); }
.ay-pp-focus-heading p { margin: 0; color: #86868b; font: 400 18px/normal var(--font-sans); }
.ay-pp-focus-checks { display: flex; flex-direction: column; gap: 12px; }
.ay-pp-focus-check { display: flex; width: 528px; height: 76px; align-items: center; justify-content: space-between; border-radius: 12px; padding: 20px; background: #0d0d0d; }
.ay-pp-focus-check > div { display: flex; align-items: center; gap: 16px; }
.ay-pp-focus-check code { color: #86868b; font: 400 14px/normal var(--font-mono); }
.ay-pp-focus-check p { margin: 0; color: #fff; font: 600 16px/normal var(--font-sans); }
.ay-pp-focus-check small { display: block; color: #86868b; font: 400 13px/normal var(--font-sans); }
.ay-pp-check-result { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 10px; background: #15803d; color: #fff; font: 700 12px/1 var(--font-sans); }
.ay-pp-check-result.is-paused { background: #b45309; }
.ay-pp-focus-reason { display: flex; min-height: 275px; flex-direction: column; gap: 24px; border: 1px solid rgba(99, 102, 241, .3); border-radius: 16px; padding: 32px; background: rgba(99, 102, 241, .05); }
.ay-pp-focus-reason > p { margin: 0; color: #d8d8ff; font: 400 15px/24px var(--font-sans); }
.ay-pp-focus-reason strong { color: #6366f1; font: 700 13px/normal var(--font-mono); }
.ay-pp-focus-reason small { display: block; margin-top: 8px; color: #86868b; font: 400 14px/22px var(--font-sans); }
.ay-pp-focus-actions { display: flex; gap: 16px; }
.ay-pp-focus-actions button { width: 256px; height: 39px; border: 1px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: 700 12px/1 var(--font-sans); cursor: pointer; }
.ay-pp-focus-actions button:first-child { border-color: #6366f1; background: #6366f1; color: #0d0d0d; }
.ay-pp-focus-history { margin: 0; color: #86868b; font: 400 13px/normal var(--font-sans); }

.ay-pp-queue-detail > aside { display: flex; width: 608px; flex-direction: column; gap: 40px; }
.ay-pp-packet-info h2 { margin: 0 0 24px; color: #fff; font: 700 24px/normal var(--font-sans); }
.ay-pp-packet-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; }
.ay-pp-packet-info-grid p { margin: 0; color: #fff; font: 400 14px/normal var(--font-sans); }
.ay-pp-packet-info-grid small { display: block; margin-bottom: 4px; color: #86868b; font: 700 10px/normal var(--font-sans); text-transform: uppercase; }
.ay-pp-packet-card { display: flex; width: 608px; min-height: 408px; flex-direction: column; gap: 32px; border-radius: 24px; padding: 40px; background: #fff; color: #000; }
.ay-pp-packet-card header { display: flex; align-items: center; justify-content: space-between; }
.ay-pp-packet-card h3 { margin: 0; font: 700 18px/normal var(--font-sans); }
.ay-pp-packet-card header span { border-radius: 4px; padding: 6px 12px; background: #6366f1; color: #000; font: 700 11px/normal var(--font-sans); }
.ay-pp-packet-rows { display: flex; flex-direction: column; gap: 16px; }
.ay-pp-packet-rows p { display: flex; min-height: 33px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5e7eb; margin: 0; color: #6b7280; font: 400 13px/normal var(--font-sans); }
.ay-pp-packet-rows b { color: #111827; font: 700 13px/normal var(--font-mono); }
.ay-pp-packet-card > button { align-self: flex-start; min-width: 216px; height: 58px; border: 0; border-radius: 12px; padding: 0 20px; background: #f5f5f7; color: #000; font: 600 14px/1 var(--font-sans); cursor: pointer; }

.ay-pp-action-card-hit.v3-box,
.ay-pp-verify-run.v3-box { z-index: 21; border: 0; padding: 0; background: transparent; cursor: pointer; }
.ay-pp-action-card-hit:hover { border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(99, 102, 241, .35); }

.ay-pp-verify-controls.v3-box { z-index: 21; display: flex; width: 311px; height: 56px; align-items: center; gap: 16px; overflow: visible; background: transparent; transform: scale(var(--v3-render-scale, 1)); transform-origin: left top; }
.ay-pp-verify-controls input { width: 120px; height: 56px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 16px; background: #fff; color: #111827; font: 600 16px/1 var(--font-sans); }
.ay-pp-verify-controls input.is-mismatch { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180, 35, 24, .12); }
.ay-pp-verify-controls button { height: 47px; border: 0; border-radius: 6px; background: #fff; color: #111827; font: 600 12px/1 var(--font-sans); cursor: pointer; }
.ay-pp-verify-controls button[data-v3-pp-reverify] { width: 120px; }
.ay-pp-verify-controls button[data-v3-pp-verify-reset] {
  width: 39px;
  padding: 0;
  background: #f5f5f7;
  color: #6b7280;
  font-size: 13px;
}

.ay-pp-packet-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 32px; background: rgba(0, 0, 0, .55); }
.ay-pp-packet-modal section { width: min(620px, 100%); border-radius: 20px; padding: 32px; background: #fff; color: #111827; box-shadow: 0 24px 80px rgba(0, 0, 0, .24); }
.ay-pp-packet-modal header { display: flex; align-items: center; justify-content: space-between; }
.ay-pp-packet-modal h2 { margin: 0; font: 700 24px/1.2 var(--font-sans); }
.ay-pp-packet-modal header button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f4f6; font-size: 22px; cursor: pointer; }
.ay-pp-packet-modal dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; }
.ay-pp-packet-modal div { min-width: 0; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; }
.ay-pp-packet-modal dt { color: #6b7280; font: 600 10px/1 var(--font-sans); text-transform: uppercase; }
.ay-pp-packet-modal dd { overflow: hidden; margin: 8px 0 0; font: 500 12px/1.4 var(--font-mono); text-overflow: ellipsis; }

/* ---------- Mobile website shell ----------
   The desktop exports remain unchanged above 600px. Phone layouts use native
   navigation, footers, and form grids so controls remain readable and meet a
   44px minimum touch target instead of shrinking the 1440px canvas controls. */

body[data-v3-mobile-route] .v3-art-desktop-nav {
  display: contents;
}

body[data-v3-mobile-route] .v3-art-footer-hotspots {
  display: contents;
}

body[data-v3-mobile-route] .v3-auth-forgot-link {
  display: block;
  overflow: hidden;
  color: transparent;
  text-decoration: none;
}

.ay-mobile-public-nav,
.ay-mobile-footer,
.ay-mobile-menu,
.ay-mobile-art-content,
.ay-mobile-auth-intro {
  display: none;
}

@media (max-width: 600px) {
  body[data-v3-mobile-route] {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body[data-v3-mobile-route] .v3-art-desktop-nav {
    display: none;
  }

  body[data-v3-mobile-route] .v3-art-footer-hotspots {
    display: none;
  }

  body[data-v3-mobile-native-content] .v3-page-frame {
    display: none;
  }

  .ay-mobile-art-content {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #161a21;
    font-family: var(--font-sans);
    line-height: 1.5;
  }

  .ay-mobile-art-content *,
  .ay-mobile-art-content *::before,
  .ay-mobile-art-content *::after {
    box-sizing: border-box;
  }

  .ay-mobile-art-content section {
    padding: 72px 20px;
    background: #fff;
  }

  .ay-mobile-art-content section.dark,
  .ay-mobile-art-content .ay-mobile-art-hero {
    background: #0d0d0d;
    color: #fff;
  }

  .ay-mobile-art-content section.light {
    background: #f5f5f7;
  }

  .ay-mobile-art-content h1,
  .ay-mobile-art-content h2,
  .ay-mobile-art-content h3,
  .ay-mobile-art-content p,
  .ay-mobile-art-content blockquote {
    margin: 0;
  }

  .ay-mobile-art-content h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: -.035em;
    line-height: 1.08;
  }

  .ay-mobile-art-content h2 {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -.025em;
    line-height: 1.15;
  }

  .ay-mobile-art-content h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .ay-mobile-art-content p {
    margin-top: 16px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
  }

  .ay-mobile-art-content .dark p,
  .ay-mobile-art-hero p {
    color: #9ca3af;
  }

  .ay-mobile-art-hero {
    display: flex;
    min-height: 440px;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .ay-mobile-art-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
  }

  .ay-mobile-art-actions a {
    display: inline-flex;
    min-width: 120px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }

  .ay-mobile-art-actions a.primary {
    border-color: #fff;
    background: #fff;
    color: #0d0d0d;
  }

  .ay-mobile-process,
  .ay-mobile-layer-list {
    display: grid;
    gap: 0;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
  }

  .ay-mobile-process {
    counter-reset: process;
  }

  .ay-mobile-process li,
  .ay-mobile-layer-list li {
    display: grid;
    min-height: 76px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-content: center;
    gap: 4px 12px;
    border-bottom: 1px solid #e5e7eb;
  }

  .ay-mobile-process li::before {
    counter-increment: process;
    content: counter(process, decimal-leading-zero);
    grid-row: 1 / span 2;
    color: #9ca3af;
    font: 600 11px/1.5 var(--font-mono);
  }

  .ay-mobile-process strong,
  .ay-mobile-layer-list strong {
    font-size: 15px;
  }

  .ay-mobile-process span,
  .ay-mobile-layer-list span {
    color: #6b7280;
    font-size: 13px;
  }

  .ay-mobile-art-split {
    display: grid;
    gap: 36px;
  }

  .ay-mobile-layer-list {
    margin: 0;
    padding: 8px 20px;
    border-radius: 20px;
    background: #0d0d0d;
    color: #fff;
  }

  .ay-mobile-layer-list li {
    grid-template-columns: 10px minmax(0, 1fr);
    border-color: rgba(255, 255, 255, .12);
  }

  .ay-mobile-layer-list li::before {
    content: "";
    grid-row: 1 / span 2;
    width: 6px;
    height: 6px;
    align-self: center;
    border-radius: 2px;
    background: #44c67f;
  }

  .ay-mobile-layer-list li > strong,
  .ay-mobile-layer-list li > span {
    grid-column: 2;
  }

  .ay-mobile-layer-list span { color: #9ca3af; }

  .ay-mobile-metrics,
  .ay-mobile-card-grid {
    display: grid;
    gap: 16px;
  }

  .ay-mobile-metrics article,
  .ay-mobile-card-grid article {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
  }

  .ay-mobile-metrics article > strong {
    display: block;
    margin-bottom: 16px;
    color: #d7d7da;
    font-size: 42px;
    letter-spacing: -.04em;
    line-height: 1;
  }

  .ay-mobile-receipt {
    text-align: center;
  }

  .ay-mobile-receipt > div {
    display: grid;
    gap: 10px;
    margin-top: 32px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
  }

  .ay-mobile-receipt span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #d1d5db;
    font-size: 13px;
    text-align: left;
  }

  .ay-mobile-receipt span::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 2px;
    background: #44c67f;
  }

  .ay-mobile-checkpoint {
    position: relative;
    display: grid;
    min-height: 210px;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 8px;
    padding: 24px;
    border-radius: 18px;
    background: #0d0d0d;
    color: #9ca3af;
    font: 600 10px/1.4 var(--font-mono);
  }

  .ay-mobile-checkpoint strong {
    grid-column: 3;
    color: #9ca3af;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
  }

  .ay-mobile-checkpoint::after {
    content: "";
    position: absolute;
    top: 99px;
    right: 76px;
    width: 16px;
    height: 16px;
    border-top: 2px solid #00ff94;
    border-right: 2px solid #00ff94;
    transform: rotate(-45deg);
  }

  .ay-mobile-quote {
    text-align: center;
  }

  .ay-mobile-quote blockquote {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.35;
  }

  .ay-mobile-founders {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 0;
    color: #fff;
    text-align: left;
  }

  .ay-mobile-founder-portraits {
    display: flex;
    width: 84px;
    height: 48px;
    flex: 0 0 84px;
    align-items: center;
  }

  .ay-mobile-founder-portraits img {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
  }

  .ay-mobile-founder-portraits img + img {
    margin-left: -12px;
  }

  .ay-mobile-founders figcaption {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .ay-mobile-founders strong {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
  }

  .ay-mobile-founders span {
    color: #9ca3af;
    font-size: 10px;
  }

  .ay-mobile-card-grid {
    margin-top: 36px;
  }

  .ay-mobile-native-page {
    --ay-mobile-accent: #44c67f;
  }

  .ay-mobile-native-page.accent-purple {
    --ay-mobile-accent: #7065e8;
  }

  .ay-mobile-native-page .ay-mobile-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--ay-mobile-accent);
    font: 700 11px/1.2 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ay-mobile-native-page .ay-mobile-art-hero {
    min-height: 420px;
  }

  .ay-mobile-native-page .ay-mobile-card-grid article {
    padding: 24px 20px;
  }

  .ay-mobile-native-page .ay-mobile-card-grid article > b {
    color: var(--ay-mobile-accent);
  }

  .ay-mobile-native-page .ay-mobile-card-grid article > p {
    font-size: 15px;
  }

  .ay-mobile-native-page .ay-mobile-bullets,
  .ay-mobile-native-page .ay-mobile-flow,
  .ay-mobile-native-page .ay-mobile-status-list,
  .ay-mobile-native-page .ay-mobile-plain-list {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
  }

  .ay-mobile-native-page .ay-mobile-bullets li {
    position: relative;
    padding: 13px 0 13px 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #343433;
    font-size: 15px;
    line-height: 1.5;
  }

  .ay-mobile-native-page .ay-mobile-bullets li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--ay-mobile-accent);
  }

  .ay-mobile-native-page .dark .ay-mobile-bullets li {
    border-color: rgba(255, 255, 255, .12);
    color: #e5e7eb;
  }

  .ay-mobile-native-page .ay-mobile-flow {
    counter-reset: mobile-flow;
  }

  .ay-mobile-native-page .ay-mobile-flow li {
    display: grid;
    min-height: 76px;
    grid-template-columns: 34px minmax(0, 1fr);
    align-content: center;
    gap: 4px 12px;
    border-bottom: 1px solid #e5e7eb;
  }

  .ay-mobile-native-page .ay-mobile-flow li::before {
    counter-increment: mobile-flow;
    content: counter(mobile-flow, decimal-leading-zero);
    grid-row: 1 / span 2;
    color: var(--ay-mobile-accent);
    font: 700 11px/1.5 var(--font-mono);
  }

  .ay-mobile-native-page .ay-mobile-flow strong {
    color: inherit;
    font-size: 15px;
  }

  .ay-mobile-native-page .ay-mobile-flow span {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
  }

  .ay-mobile-native-page .ay-mobile-code {
    overflow: auto;
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 20px;
    background: #151515;
    color: #d1d5db;
  }

  .ay-mobile-native-page .ay-mobile-code pre {
    margin: 0;
    color: inherit;
    font: 500 12px/1.7 var(--font-mono);
    white-space: pre-wrap;
  }

  .ay-mobile-native-page .ay-mobile-code .accent {
    color: var(--ay-mobile-accent);
  }

  .ay-mobile-native-page .ay-mobile-proof-panel {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    border-radius: 18px;
    padding: 20px;
    background: #151515;
    color: #fff;
  }

  .ay-mobile-native-page .ay-mobile-proof-panel span {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 8px;
    padding: 0 12px;
    background: #202020;
    color: #d1d5db;
    font-size: 13px;
  }

  .ay-mobile-native-page .ay-mobile-proof-panel b {
    color: var(--ay-mobile-accent);
    font: 600 11px/1.2 var(--font-mono);
  }

  .ay-mobile-native-page .ay-mobile-status-list {
    border-top: 1px solid #e5e7eb;
  }

  .ay-mobile-native-page .ay-mobile-status-list li {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #343433;
    font-size: 15px;
  }

  .ay-mobile-native-page .ay-mobile-status-list li::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #00d97e;
    box-shadow: 0 0 0 4px rgba(0, 217, 126, .12);
  }

  .ay-mobile-native-page .ay-mobile-stat-row {
    display: grid;
    gap: 12px;
    margin-top: 32px;
  }

  .ay-mobile-native-page .ay-mobile-stat-row article {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 20px;
    background: #151515;
  }

  .ay-mobile-native-page .ay-mobile-stat-row strong {
    display: block;
    color: #fff;
    font-size: 32px;
    letter-spacing: -.035em;
  }

  .ay-mobile-native-page .ay-mobile-stat-row span {
    display: block;
    margin-top: 8px;
    color: #9ca3af;
    font-size: 13px;
  }

  .ay-mobile-native-page .ay-mobile-stat-row .ay-mobile-stat-label {
    margin: 0 0 10px;
    color: #9ca3af;
    font: 700 10px/1.2 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ay-mobile-native-page .ay-mobile-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

  .ay-mobile-native-page .ay-mobile-pills span {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #343433;
    font-size: 12px;
  }

  .ay-mobile-native-page .ay-mobile-side-by-side {
    display: grid;
    gap: 16px;
    margin-top: 28px;
  }

  .ay-mobile-native-page .ay-mobile-side-by-side article {
    border-radius: 16px;
    padding: 22px;
    background: #fff;
    color: #343433;
  }

  .ay-mobile-native-page .ay-mobile-side-by-side article.dark {
    background: #151515;
    color: #fff;
  }

  .ay-mobile-native-page .ay-mobile-side-by-side h3 {
    color: inherit;
  }

  .ay-mobile-native-page .ay-mobile-side-by-side p,
  .ay-mobile-native-page .ay-mobile-side-by-side li {
    color: inherit;
    font-size: 14px;
    line-height: 1.55;
  }

  .ay-mobile-native-page .ay-mobile-side-by-side ul {
    margin: 16px 0 0;
    padding-left: 18px;
  }

  .ay-mobile-native-page .ay-mobile-centered {
    text-align: center;
  }

  .ay-mobile-native-page .ay-mobile-centered .ay-mobile-art-actions {
    justify-content: center;
  }

  .ay-mobile-card-grid article > b {
    display: inline-grid;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 10px;
    background: #0d0d0d;
    color: #fff;
    font: 600 11px/1 var(--font-mono);
  }

  .ay-mobile-art-content .dark .ay-mobile-card-grid article {
    border-color: rgba(255, 255, 255, .1);
    background: #181818;
  }

  .ay-mobile-art-content .dark .ay-mobile-card-grid h3 {
    color: #44c67f;
  }

  .ay-mobile-review-cta {
    text-align: center;
  }

  .ay-mobile-review-cta .ay-mobile-art-actions {
    justify-content: center;
  }

  .ay-mobile-review-cta .ay-mobile-art-actions a.primary {
    border-color: #0d0d0d;
    background: #0d0d0d;
    color: #fff;
  }

  .ay-mobile-public-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    width: 100%;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #0d0d0d;
    color: #fff;
    font-family: var(--font-sans);
    line-height: normal;
  }

  .ay-mobile-brand,
  .ay-mobile-footer-brand {
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .ay-mobile-brand img,
  .ay-mobile-footer-brand img {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .ay-mobile-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #0d0d0d;
    font: 600 14px/1 var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
  }

  .ay-hipaa-nav > a.ay-hipaa-request,
  .ay-docs-login-page > .ay-hipaa-nav > a.ay-hipaa-request,
  .ay-tracker-access-page > .ay-hipaa-nav > a.ay-hipaa-request {
    display: none !important;
  }

  .ay-mobile-menu {
    position: relative;
    z-index: 102;
    flex: 0 0 44px;
  }

  .ay-mobile-public-nav > .ay-mobile-menu {
    display: block;
  }

  .ay-mobile-menu > summary {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    list-style: none;
  }

  .ay-mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .ay-mobile-menu > summary i,
  .ay-mobile-menu > summary i::before,
  .ay-mobile-menu > summary i::after {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
  }

  .ay-mobile-menu > summary i {
    position: relative;
  }

  .ay-mobile-menu > summary i::before,
  .ay-mobile-menu > summary i::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .ay-mobile-menu > summary i::before { top: -5px; }
  .ay-mobile-menu > summary i::after { top: 5px; }

  .ay-mobile-menu[open] > summary i {
    background: transparent;
  }

  .ay-mobile-menu[open] > summary i::before {
    top: 0;
    transform: rotate(45deg);
  }

  .ay-mobile-menu[open] > summary i::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .ay-mobile-menu-panel {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    z-index: 103;
    display: grid;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #151515;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  }

  .ay-mobile-menu-panel a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 16px;
    border-radius: 10px;
    color: #fff;
    font: 600 15px/1 var(--font-sans);
    text-decoration: none;
  }

  .ay-mobile-menu-panel a:focus-visible,
  .ay-mobile-menu-panel a:active {
    background: #242424;
  }

  .ay-mobile-menu-panel .ay-mobile-menu-action {
    width: 100%;
    margin-top: 8px;
    border-color: #fff;
    background: #fff;
    color: #0d0d0d;
  }

  .ay-mobile-menu-panel .ay-mobile-menu-action:focus-visible,
  .ay-mobile-menu-panel .ay-mobile-menu-action:active {
    background: #f5f5f7;
    color: #0d0d0d;
  }

  .ay-mobile-public-nav + .v3-page-frame[data-v3-mobile-art-nav] {
    margin-top: -4.444444vw;
  }

  .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art {
    clip-path: inset(4.444444vw 0 0 0);
  }

  body[data-v3-page-slug="multihop"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art {
    clip-path: inset(4.444444vw 0 21.385% 0);
  }

  body[data-v3-page-slug="payerproof"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art {
    clip-path: inset(4.444444vw 0 22.038% 0);
  }

  .v3-page-frame[data-v3-mobile-art-nav] .v3-text-layer {
    pointer-events: none;
  }

  body[data-v3-mobile-route] .ay-figma-footer {
    display: none;
  }

  .ay-mobile-footer {
    position: relative;
    z-index: 90;
    display: block;
    width: 100%;
    padding: 40px 20px 28px;
    background: #0d0d0d;
    color: #fff;
    font-family: var(--font-sans);
    line-height: normal;
  }

  .v3-page-frame[data-v3-embedded-footer] + .ay-mobile-footer {
    margin-top: -29.583333vw;
  }

  .ay-mobile-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    margin-top: 32px;
  }

  .ay-mobile-footer-tagline {
    margin: 14px 0 0;
    color: #a1a1a6;
    font-size: 14px;
    line-height: 1.65;
  }

  .ay-mobile-footer-grid section {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  .ay-mobile-footer-grid section:last-child {
    grid-column: 1 / -1;
  }

  .ay-mobile-footer h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ay-mobile-footer-grid a {
    display: flex;
    min-height: 44px;
    align-items: center;
    color: #a1a1a6;
    font-size: 14px;
    text-decoration: none;
  }

  .ay-mobile-footer-grid a:focus-visible,
  .ay-mobile-footer-grid a:active {
    color: #fff;
  }

  .ay-mobile-footer-copyright {
    margin: 32px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
    color: #86868b;
    font-size: 12px;
    line-height: 1.5;
  }

  .v3-tracker-review-actions.v3-box {
    left: 20px;
    width: calc(100% - 40px);
    height: 64px;
    gap: 12px;
  }

  .v3-tracker-review-actions a {
    height: 44px;
    min-height: 44px;
    padding: 0 18px;
    border-width: 1px;
    font-size: 14px;
  }

  .v3-tracker-review-login {
    min-width: 96px;
  }

  .v3-tracker-review-request {
    min-width: 156px;
  }

  /* Native site header shared by FAQ, legal, contact, docs, and tracker. */
  .ay-hipaa-nav,
  .ay-docs-login-page > .ay-hipaa-nav,
  .ay-tracker-access-page > .ay-hipaa-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    width: 100%;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #0d0d0d;
  }

  .ay-hipaa-nav .ay-hipaa-nav-links {
    display: none;
  }

  .ay-hipaa-nav > .ay-mobile-menu {
    display: block;
  }

  .ay-hipaa-brand,
  .ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-brand {
    position: static;
    width: auto;
    height: 44px;
    flex: 0 1 auto;
    gap: 8px;
    font-size: 14px;
    line-height: 44px;
  }

  .ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-brand > span {
    width: auto;
    height: auto;
    flex: 0 1 auto;
  }

  .ay-docs-login-page > .ay-hipaa-nav .ay-hipaa-request {
    position: static;
  }

  /* FAQ */
  .ay-faq-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .ay-faq-hero {
    height: auto;
    min-height: 390px;
    padding: 96px 20px 72px;
  }

  .ay-faq-hero h1 {
    font-size: 40px;
    line-height: 1.15;
  }

  .ay-faq-hero p {
    width: 100%;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.55;
  }

  .ay-faq-filter {
    height: auto;
    padding: 16px 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ay-faq-filter::-webkit-scrollbar { display: none; }

  .ay-faq-filter-control {
    width: max-content;
    height: 56px;
    flex: 0 0 auto;
  }

  .ay-faq-filter-control > span,
  .ay-faq-filter-control button {
    height: 44px;
    min-height: 44px;
  }

  .ay-faq-section,
  .ay-faq-section:last-of-type {
    min-height: 0;
    padding: 64px 20px;
  }

  .ay-faq-section > h2 {
    width: 100%;
    margin-bottom: 36px;
    font-size: 32px;
  }

  .ay-faq-section .ay-faq-list {
    width: 100%;
  }

  .ay-faq-question {
    min-height: 64px;
    padding: 20px;
    font-size: 16px;
  }

  .ay-faq-answer p {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  /* Legal and privacy pages */
  body:has(.ay-hipaa-page),
  body:has(.ay-contact-page) {
    width: 100%;
    overflow-x: hidden;
  }

  .ay-hipaa-page,
  .ay-contact-page {
    width: 100%;
    min-width: 0;
    zoom: 1 !important;
  }

  .ay-hipaa-hero,
  body[data-v3-page-slug="hipaa"] .ay-hipaa-hero,
  body[data-v3-page-slug="privacy"] .ay-hipaa-hero,
  body[data-v3-page-slug="terms"] .ay-hipaa-hero {
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 20px;
  }

  .ay-hipaa-hero-copy h1 {
    margin-bottom: 24px;
    font-size: 40px;
    letter-spacing: -.4px;
    line-height: 1.18;
  }

  .ay-hipaa-hero-copy p {
    font-size: 17px;
    line-height: 1.55;
  }

  .ay-hipaa-hero-card {
    padding: 24px;
    border-radius: 18px;
  }

  .ay-hipaa-hero-card p {
    font-size: 17px;
    line-height: 1.5;
  }

  .ay-hipaa-body,
  body[data-v3-page-slug="privacy"] .ay-hipaa-body {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding: 48px 20px 72px;
  }

  .ay-hipaa-sidebar {
    position: static;
    display: flex;
    max-height: none;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ay-hipaa-sidebar::-webkit-scrollbar { display: none; }

  .ay-hipaa-sidebar a {
    display: flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    line-height: 1;
  }

  .ay-hipaa-sidebar a:hover,
  .ay-hipaa-sidebar a:focus-visible,
  .ay-hipaa-sidebar a.active {
    transform: none;
  }

  .ay-hipaa-content { gap: 48px; }
  .ay-hipaa-section { scroll-margin-top: 80px; }

  /* Contact */
  .ay-contact-hero {
    height: 360px;
    padding: 0 20px;
  }

  .ay-contact-hero h1 { font-size: 40px; }

  .ay-contact-form-section {
    height: auto;
    padding: 72px 20px;
  }

  .ay-contact-form-content { gap: 40px; }

  .ay-contact-form-copy {
    height: auto;
    gap: 16px;
  }

  .ay-contact-form-copy h2 { font-size: 34px; }
  .ay-contact-form-copy p { font-size: 17px; }

  .ay-contact-form {
    height: auto;
    gap: 28px;
  }

  .ay-contact-grid-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ay-contact-control,
  .ay-contact-select-shell,
  .ay-contact-select-trigger {
    height: 52px;
    min-height: 52px;
    font-size: 16px;
  }

  .ay-contact-select-menu button { min-height: 44px; }
  textarea.ay-contact-control { height: 132px; }

  .ay-contact-cards {
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px 72px;
  }

  .ay-contact-cards article {
    width: 100%;
    height: auto;
    min-height: 180px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .ay-contact-cards article p,
  .ay-contact-cards article:nth-child(1) p,
  .ay-contact-cards article:nth-child(2) p,
  .ay-contact-cards article:nth-child(3) p {
    width: 100%;
  }

  /* API documentation login */
  .ay-docs-login-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    zoom: 1 !important;
  }

  .ay-docs-login-hero {
    height: 360px;
    padding: 0 20px;
  }

  .ay-docs-login-hero h1 {
    font-size: 40px;
    white-space: normal;
  }

  .ay-docs-login-hero p {
    max-width: 320px;
    font-size: 17px;
  }

  .ay-docs-login-split {
    height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 20px;
  }

  .ay-docs-login-copy,
  .ay-docs-login-form.v3-form {
    width: 100%;
  }

  .ay-docs-login-copy h2 { font-size: 34px; }
  .ay-docs-login-copy p { font-size: 17px; }

  .ay-docs-login-form.v3-form {
    height: 341px;
  }

  .ay-docs-login-field .v3-auth-control {
    font-size: 16px;
  }

  .ay-docs-login-show { min-width: 56px; }

  .ay-docs-login-support {
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px 72px;
  }

  .ay-docs-login-support article {
    height: auto;
    min-height: 180px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  /* Receipt Tracker access */
  .ay-tracker-access-stage {
    width: 100%;
    height: auto !important;
    overflow: visible;
  }

  .ay-tracker-access-page {
    width: 100%;
    min-height: 0;
    transform: none !important;
  }

  .ay-tracker-access-page,
  .ay-tracker-access-page *,
  .ay-tracker-access-page *::before,
  .ay-tracker-access-page *::after {
    box-sizing: border-box;
  }

  .ay-tracker-access-hero {
    height: 360px;
    padding: 0 20px;
  }

  .ay-tracker-access-hero h1 {
    width: 100%;
    font-size: 40px;
  }

  .ay-tracker-access-hero p { font-size: 17px; }

  .ay-tracker-access-split {
    display: grid;
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding: 72px 20px;
  }

  .ay-tracker-access-split > * {
    min-width: 0;
  }

  .ay-tracker-access-copy,
  .ay-tracker-access-copy p,
  .ay-tracker-access-form,
  .ay-tracker-access-control,
  .ay-tracker-access-submit {
    width: 100%;
  }

  .ay-tracker-access-copy h2 { font-size: 34px; }
  .ay-tracker-access-copy p { font-size: 17px; }

  .ay-tracker-access-form {
    height: auto;
    min-height: 187px;
    padding: 24px;
  }

  .ay-tracker-access-control,
  .ay-tracker-access-control input,
  .ay-tracker-access-control button {
    min-height: 48px;
  }

  .ay-tracker-access-control input { font-size: 16px; }
  .ay-tracker-access-control button { width: 64px; font-size: 12px; }
  .ay-tracker-access-submit { min-height: 48px; }

  .ay-tracker-access-error {
    position: static;
    width: 100%;
    min-height: 20px;
    margin: 8px 0 0;
  }

  .ay-tracker-access-cards {
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px 72px;
  }

  .ay-tracker-access-cards article {
    width: 100%;
    height: auto;
    min-height: 150px;
    padding: 28px 24px;
  }

  .ay-tracker-access-cards p { width: 100%; font-size: 15px; }

}

@media (max-width: 600px) {
  body[data-v3-page-slug="faq"] {
    width: 100% !important;
    min-width: 0 !important;
  }

  .ay-faq-page {
    zoom: 1 !important;
  }

  .ay-docs-login-form.v3-form {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 28px;
  }

  .ay-docs-login-error.v3-form-inline-error {
    position: static;
    width: 100%;
    height: auto;
    min-height: 20px;
    margin: -12px 0;
  }

  .ay-docs-login-forgot {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .ay-docs-login-submit .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  /* The exported pilot entry artwork remains the background, while the
     existing semantic form becomes a readable single-column mobile card. */
  body[data-v3-page-slug="multihop-login"] .v3-page-frame,
  body[data-v3-page-slug="payerproof-login"] .v3-page-frame,
  body[data-v3-page-slug="multihop-redeem"] .v3-page-frame,
  body[data-v3-page-slug="payerproof-redeem"] .v3-page-frame,
  body[data-v3-page-slug="multihop-create-profile"] .v3-page-frame,
  body[data-v3-page-slug="payerproof-create-profile"] .v3-page-frame {
    overflow: hidden;
    background: #f5f5f7;
  }

  body[data-v3-page-slug="multihop-login"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art,
  body[data-v3-page-slug="payerproof-login"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art {
    clip-path: inset(4.444444vw 0 63.2% 0);
  }

  body[data-v3-page-slug="multihop-redeem"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art,
  body[data-v3-page-slug="payerproof-redeem"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art {
    clip-path: inset(4.444444vw 0 66.8% 0);
  }

  body[data-v3-page-slug="multihop-create-profile"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art,
  body[data-v3-page-slug="payerproof-create-profile"] .v3-page-frame[data-v3-mobile-art-nav] > .v3-page-art {
    clip-path: inset(4.444444vw 0 69% 0);
  }

  body[data-v3-page-slug="multihop-login"] .v3-page-frame,
  body[data-v3-page-slug="payerproof-login"] .v3-page-frame {
    min-height: 680px;
  }

  body[data-v3-page-slug="multihop-redeem"] .v3-page-frame,
  body[data-v3-page-slug="payerproof-redeem"] .v3-page-frame {
    min-height: 660px;
  }

  body[data-v3-page-slug="multihop-create-profile"] .v3-page-frame,
  body[data-v3-page-slug="payerproof-create-profile"] .v3-page-frame {
    min-height: 1120px;
  }

  body[data-v3-page-slug="multihop-login"] .v3-auth-form,
  body[data-v3-page-slug="payerproof-login"] .v3-auth-form,
  body[data-v3-page-slug="multihop-redeem"] .v3-auth-form,
  body[data-v3-page-slug="payerproof-redeem"] .v3-auth-form,
  body[data-v3-page-slug="multihop-create-profile"] .v3-auth-form,
  body[data-v3-page-slug="payerproof-create-profile"] .v3-auth-form {
    position: absolute;
    inset: 210px 20px auto;
    z-index: 25;
    display: flex;
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(13, 13, 13, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(13, 13, 13, .12);
    pointer-events: auto;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-field.v3-box {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 78px;
    flex-direction: column;
    gap: 8px;
    border-radius: 0;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-field > label.sr-only {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    color: #343433;
    font: 600 14px/18px var(--font-sans);
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-field .v3-auth-control {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: 52px;
    min-height: 52px;
    flex: 0 0 52px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f5f5f7;
    color: #343433;
    caret-color: #343433;
    font: 400 16px/1.4 var(--font-sans);
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-field .v3-auth-control::placeholder {
    color: #6b7280;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-select-field .v3-auth-select-value {
    display: none !important;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-field-error-message {
    position: static;
    width: 100%;
    min-height: 16px;
    margin: 0;
    font-size: 12px;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-form-inline-error.v3-box {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 20px;
    font-size: 12px;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-password-toggle.v3-box {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #343433;
    font-size: 14px;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-submit.v3-box {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #0d0d0d;
    color: #fff;
    font: 600 16px/1 var(--font-sans);
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-submit .sr-only {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    color: #fff;
    white-space: normal;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form .v3-auth-forgot-link.v3-box {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 15px;
    text-decoration: underline;
  }

  body[data-v3-mobile-auth-entry] .ay-mobile-public-nav + .v3-page-frame {
    margin-top: 0;
  }

  body[data-v3-mobile-auth-entry] .v3-page-frame {
    width: 100%;
    min-height: 0 !important;
    overflow: visible !important;
    background: #f5f5f7;
    line-height: normal;
  }

  body[data-v3-mobile-auth-entry] .v3-page-art,
  body[data-v3-mobile-auth-entry] .v3-text-layer {
    display: none !important;
  }

  body[data-v3-mobile-auth-entry] .v3-hotspots {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
  }

  body[data-v3-mobile-auth-entry] .v3-hotspots > :not(.v3-auth-form) {
    display: none !important;
  }

  body[data-v3-mobile-auth-entry] .v3-auth-form {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    margin: -28px 20px 72px;
  }

  .ay-mobile-auth-intro {
    --ay-mobile-auth-accent: #44c67f;
    --ay-mobile-auth-glow: rgba(68, 198, 127, .28);
    position: relative;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    padding: 56px 20px 76px;
    background:
      radial-gradient(circle at 90% 12%, var(--ay-mobile-auth-glow), transparent 42%),
      #0d0d0d;
    color: #fff;
    font-family: var(--font-sans);
    line-height: 1.45;
  }

  .ay-mobile-auth-intro.accent-purple {
    --ay-mobile-auth-accent: #6366f1;
    --ay-mobile-auth-glow: rgba(99, 102, 241, .3);
  }

  .ay-mobile-auth-intro::before {
    content: "";
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: var(--ay-mobile-auth-accent);
  }

  .ay-mobile-auth-intro h1,
  .ay-mobile-auth-intro p {
    margin: 0;
  }

  .ay-mobile-auth-intro h1 {
    max-width: 520px;
    font-size: clamp(34px, 10vw, 46px);
    letter-spacing: -.035em;
    line-height: 1.08;
  }

  .ay-mobile-auth-intro p {
    max-width: 520px;
    color: #a1a1a6;
    font-size: 16px;
    line-height: 1.6;
  }

  .ay-mobile-auth-intro a {
    display: inline-flex;
    width: max-content;
    min-height: 44px;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-underline-offset: 4px;
  }


}
