:root {
  --keyra-font-sans: "Inter", system-ui, sans-serif;
  --keyra-bg: var(--color-canvas);
  --keyra-accent: #000000;
  --keyra-border: rgba(0, 0, 0, 0.08);
  --keyra-primary: #000000;
  --keyra-text-2: rgba(0, 0, 0, 0.55);
  --keyra-radius-pill: 9999px;
  --keyra-radius-sheet: 16px;
  --keyra-shadow-hover: 0 14px 44px rgba(0, 0, 0, 0.07);
}

body > main {
  padding-top: 0;
}

body[data-page-type="login"] > main {
  padding-top: 0;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-color: #bdbdbd #3a3a3a;
  scrollbar-width: auto;
}

body {
  min-height: 100%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 14px;
}

html::-webkit-scrollbar-button,
html::-webkit-scrollbar-button:single-button {
  display: none;
  width: 0;
  height: 0;
}

html::-webkit-scrollbar-track {
  background: #3a3a3a;
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 999px;
  border: 2px solid #3a3a3a;
}

html::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:active {
  background: #c9c9c9;
}

html::-webkit-scrollbar-corner {
  background: #3a3a3a;
}

.keyra-site-header-shell {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  z-index: 200;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  min-height: 56px;
  margin-inline: auto;
  padding: 16px max(0.75rem, env(safe-area-inset-left, 0px)) 16px
    max(0.75rem, env(safe-area-inset-right, 0px));
}

.brand.keyra-header-logo-link {
  position: relative;
  z-index: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  gap: 0;
  overflow: visible;
  height: auto;
  aspect-ratio: auto;
  text-decoration: none;
}

.brand.keyra-header-logo-link img {
  width: auto;
  height: 1.75rem;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.keyra-header-logo-link__tagline {
  display: none;
  margin: 0;
  padding: 0;
  font: 500 10px/1.35 var(--keyra-font-sans);
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.52);
  white-space: nowrap;
}

.header-actions {
  position: relative;
  z-index: 10;
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.header-actions > div {
  display: flex;
  align-items: center;
}

.kc-launcher,
.keyra-account-menu {
  position: relative;
  flex-shrink: 0;
}

.keyra-account-menu {
  margin-right: 0.125rem;
  display: flex;
  align-items: center;
}

.kc-launcher__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--keyra-primary);
  cursor: pointer;
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out,
    box-shadow 150ms ease-out;
}

.kc-launcher__trigger:hover,
.kc-launcher__trigger:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}

.kc-launcher.is-open .kc-launcher__trigger {
  background: rgba(0, 0, 0, 0.04);
}

.kc-launcher__trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.kc-launcher__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  width: min(calc(100vw - 1.5rem), 20rem);
  max-height: min(34rem, calc(100dvh - 6rem));
  min-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.kc-launcher__heading {
  flex-shrink: 0;
  margin: 0;
  padding: 0 0.25rem 0.5rem;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kc-launcher__panel-scroll {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.kc-launcher__panel-scroll::before,
.kc-launcher__panel-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 12px;
  pointer-events: none;
}

.kc-launcher__panel-scroll::before {
  top: 0;
  background: linear-gradient(to bottom, #ffffff 25%, transparent);
}

.kc-launcher__panel-scroll::after {
  bottom: 0;
  background: linear-gradient(to top, #ffffff 30%, transparent);
}

.kc-launcher__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-height: min(28rem, calc(100dvh - 9rem));
  margin: 0;
  padding: 0.125rem 0.25rem 0.125rem 0;
  list-style: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

.kc-launcher__grid::-webkit-scrollbar {
  width: 6px;
}

.kc-launcher__grid::-webkit-scrollbar-track {
  margin: 6px 0;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.kc-launcher__grid::-webkit-scrollbar-thumb {
  min-height: 2.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  background-clip: padding-box;
}

.kc-launcher__section,
.kc-launcher__divider {
  grid-column: 1 / -1;
}

.kc-launcher__section {
  list-style: none;
  padding: 0.125rem 0.25rem 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kc-launcher__divider {
  list-style: none;
  height: 1px;
  margin: 0.25rem 0;
  background: rgba(0, 0, 0, 0.1);
}

.kc-launcher__tile-link {
  display: flex;
  min-height: 4.25rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  text-decoration: none;
  color: #171717;
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}

.kc-launcher__tile-link:hover,
.kc-launcher__tile-link:focus-visible {
  border-color: rgba(0, 0, 0, 0.1);
  background: #ffffff;
  outline: none;
}

.kc-launcher__tile-mark {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.kc-launcher__tile-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
  opacity: 0.28;
}

.kc-launcher__tile-mark span {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  background: #ffffff;
  padding: 0.125rem 0.25rem;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  outline: 1px solid rgba(0, 0, 0, 0.06);
}

.kc-launcher__tile-label {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.keyra-header-action-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 9999px;
  border: 0;
  padding: 0.5rem 1rem;
  font-family: var(--keyra-font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: opacity 200ms ease-out, background-color 150ms ease-out;
}

.keyra-header-action-access:hover {
  opacity: 0.88;
}

.keyra-header-action-access:active {
  opacity: 0.82;
}

.keyra-account-menu__trigger {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  max-width: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--keyra-border) 90%, transparent);
  border-radius: var(--keyra-radius-pill);
  background: #f8f8f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--keyra-primary);
  font-family: var(--keyra-font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 150ms ease-out;
}

.keyra-account-menu__trigger:hover {
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--keyra-bg);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.keyra-account-menu__trigger:active {
  transform: scale(0.99);
}

.keyra-account-menu__trigger--open {
  border-color: color-mix(in srgb, var(--keyra-accent) 35%, transparent);
  background: var(--keyra-bg);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px color-mix(in srgb, var(--keyra-accent) 20%, transparent);
}

.keyra-account-menu__trigger:focus-visible {
  outline: 2px solid var(--keyra-primary);
  outline-offset: 3px;
}

.keyra-account-menu__label {
  display: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #171717;
}

.keyra-account-menu__chevron {
  display: none;
  flex-shrink: 0;
  color: var(--keyra-text-2);
  transition: transform 150ms ease-out, color 150ms ease-out;
}

.keyra-account-menu__chevron--open {
  transform: rotate(180deg);
  color: var(--keyra-accent);
}

.keyra-account-menu__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    var(--keyra-profile-avatar-from, #1a1a1a) 0%,
    var(--keyra-profile-avatar-to, #e0e0e0) 100%
  );
  color: #ffffff;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 2px rgba(255, 255, 255, 0.9);
}

.keyra-account-menu__mark--md {
  width: 2.5rem;
  height: 2.5rem;
}

.keyra-account-menu__initials {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.keyra-account-menu__initials--md {
  font-size: 13px;
}

.keyra-account-menu__person-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  color: #ffffff;
  transform: translate(-50%, -50%);
}

.keyra-account-menu__status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 1;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: 1.5px solid #ffffff;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.55);
  pointer-events: none;
}

.keyra-account-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 220px;
  overflow: hidden;
  border: 1px solid var(--keyra-border);
  border-radius: var(--keyra-radius-sheet);
  background: var(--keyra-bg);
  padding: 0.5rem 0;
  box-shadow: var(--keyra-shadow-hover);
}

.keyra-account-menu__panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--keyra-border);
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--keyra-accent) 8%, transparent),
    color-mix(in srgb, var(--keyra-accent) 3%, transparent),
    transparent
  );
  padding: 0.875rem 1rem;
}

.keyra-account-menu__panel-meta {
  min-width: 0;
  flex: 1;
}

.keyra-account-menu__panel-name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--keyra-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #171717;
}

.keyra-account-menu__panel-phone {
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--keyra-font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.55);
}

.keyra-account-menu__panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 6px 0 0;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 8px;
  font-family: var(--keyra-font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.8);
}

.keyra-account-menu__panel-badge-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #10b981;
}

.keyra-account-menu__item {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  border: 0;
  font-family: var(--keyra-font-sans);
  font-size: 14px;
  line-height: 1.4;
  color: #171717;
  text-decoration: none;
  transition: background-color 150ms ease-out;
}

.keyra-account-menu__item--button {
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.keyra-account-menu__item:hover {
  background: var(--keyra-bg);
}

.keyra-header-download-app {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.625rem 0 0.25rem;
  margin-left: 0.375rem;
  border: 1px solid color-mix(in srgb, var(--keyra-border) 90%, transparent);
  border-radius: var(--keyra-radius-pill);
  background: #f8f8f8;
  color: var(--keyra-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out,
    box-shadow 150ms ease-out;
}

.keyra-header-download-app:hover {
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--keyra-bg);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.keyra-header-download-app__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 0.4375rem;
  object-fit: cover;
}

.keyra-header-download-app__label {
  color: #171717;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-footer.keyra-site-footer {
  padding: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  background: #171717;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer.keyra-site-footer .shell.footer-keyra {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 16px 2.5rem;
}

.footer-keyra__grid {
  display: grid;
  gap: 40px;
  align-items: flex-start;
}

.footer-keyra__section-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
}

.footer-keyra__lede {
  margin: 0;
  max-width: 28rem;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.footer-keyra__logo-wrap {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 18px;
}

.footer-keyra__logo-frame {
  position: relative;
  display: inline-flex;
  width: min(172px, 100%);
  max-width: 100%;
}

.footer-keyra__logo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-keyra__switcher {
  margin-top: 14px;
}

.footer-keyra__lane-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-keyra__lane-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
}

.footer-keyra__lane-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.footer-keyra__nav {
  margin-top: 10px;
}

.footer-keyra__link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-keyra__link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-keyra__link-list li {
  margin: 0;
}

.footer-keyra__link {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-keyra__link:hover {
  color: #ffffff !important;
}

.footer-keyra__copyright {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-keyra__copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-keyra__socials {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  align-self: flex-end;
}

.footer-keyra__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.footer-keyra__socials a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.footer-keyra__socials svg {
  width: 1.375rem;
  height: 1.375rem;
}

@media (min-width: 640px) {
  .footer-keyra__copyright {
    flex-direction: row;
    align-items: center;
  }
}

.keyra-site-footer,
.site-footer.keyra-site-footer {
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  background: #171717;
  color: rgba(255, 255, 255, 0.72);
}

.keyra-site-footer .keyra-site-footer-logo img,
.keyra-site-footer img[alt="Keyra"] {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.keyra-site-footer__inner {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  padding-top: 2.5rem;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 1023px) {
  .keyra-site-footer__inner {
    padding-top: 1.75rem;
    padding-bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
  }

  .keyra-site-footer__grid {
    gap: 1.25rem;
  }

  .keyra-site-footer__block--brand {
    gap: 0.5rem;
  }

  .keyra-site-footer__label {
    margin-bottom: 0.5rem;
  }

  .keyra-site-footer__meta {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }
}

@media (min-width: 640px) {
  .keyra-site-footer__inner {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 1024px) {
  .keyra-site-footer__inner {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
    padding-left: max(2rem, env(safe-area-inset-left, 0px));
    padding-right: max(2rem, env(safe-area-inset-right, 0px));
  }
}

.keyra-site-footer__grid {
  display: grid;
  width: 100%;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .keyra-site-footer__grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .keyra-site-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem 3rem;
  }
}

.keyra-site-footer__block {
  min-width: 0;
}

.keyra-site-footer__block--brand {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.keyra-site-footer__logo-wrap {
  display: inline-flex;
  align-items: center;
}

.keyra-site-footer__logo-frame {
  position: relative;
  display: block;
  height: 2rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .keyra-site-footer__logo-frame {
    height: 2.25rem;
  }
}

.keyra-site-footer__logo-img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.keyra-site-footer__label {
  margin: 0 0 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.keyra-site-footer__lede {
  margin: 0;
  max-width: 22rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1023px) {
  .keyra-site-footer__lede {
    max-width: none;
  }

  .keyra-site-footer__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .keyra-site-footer__block--brand {
    align-items: center;
  }

  .keyra-site-footer__logo-wrap {
    justify-content: center;
  }

  .keyra-site-footer__nav {
    display: flex;
    justify-content: center;
  }
}

.keyra-site-footer__nav {
  width: 100%;
}

.keyra-site-footer__link-grid {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.25rem 0.375rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: start;
}

.keyra-site-footer__link-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1023px) {
  .keyra-site-footer__link-grid {
    max-width: 100%;
  }

  .keyra-site-footer__link-grid .keyra-site-footer__link {
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    padding-block: 0.125rem;
    word-break: break-word;
  }

  .keyra-site-footer__meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .keyra-site-footer__block {
    align-items: flex-start;
    text-align: left;
  }

  .keyra-site-footer__block--brand {
    align-items: flex-start;
  }

  .keyra-site-footer__logo-wrap {
    justify-content: flex-start;
  }

  .keyra-site-footer__link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 2rem;
    grid-auto-flow: row;
    align-content: start;
  }

  .keyra-site-footer__link-grid .keyra-site-footer__link {
    font-size: 14px;
    text-align: left;
    overflow-wrap: anywhere;
  }
}

.keyra-site-footer__link {
  display: block;
  padding-block: 0.3rem;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.keyra-site-footer__link:hover {
  color: #ffffff;
}

.keyra-site-footer__link:focus-visible {
  outline: none;
  border-radius: 2px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.keyra-site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

p.keyra-site-footer__copyright,
.keyra-site-footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #ffffff6b;
}

@media (min-width: 640px) {
  .keyra-site-footer__copyright {
    text-align: left;
  }
}

.keyra-site-footer__social-list {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.keyra-site-footer__social {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.keyra-site-footer__social:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.keyra-site-footer__social:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.keyra-site-footer__social-icon {
  width: 1.375rem;
  height: 1.375rem;
  fill: currentColor;
}

.ev-auth-screen {
  min-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(23, 23, 23, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(13, 116, 206, 0.08), transparent),
    linear-gradient(180deg, #ffffff 0%, #fafafa 70%);
}

.ev-login-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  width: min(1040px, 100%);
  overflow: hidden;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 24px;
  background: var(--color-surface-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ev-login-panel {
  padding: clamp(24px, 4vw, 40px);
}

.ev-login-panel-dark {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #171717 0%, #262626 100%);
  color: #f5f5f5;
}

.ev-login-panel-dark .brand img {
  filter: brightness(0) invert(1);
}

.ev-login-panel-light {
  background: var(--color-surface-card);
}

.ev-login-title {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ev-login-copy {
  max-width: 32rem;
  margin: 16px 0 0;
  line-height: 1.6;
}

.ev-login-copy-dark {
  color: rgba(255, 255, 255, 0.72);
}

.ev-login-security {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.ev-login-security-label,
.ev-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ev-kicker {
  margin-bottom: 0;
  color: var(--color-body);
}

.ev-login-security-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ev-login-security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.ev-login-security-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.ev-login-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: center;
}

.ev-auth-title {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.ev-auth-copy {
  margin: 0;
  color: var(--color-body);
  line-height: 1.6;
}

.ev-login-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ev-auth-alert {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  font-size: 14px;
}

.ev-login-note {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-canvas-soft);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body);
}

.ev-login-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-ink);
}

.ev-login-note p {
  margin: 0;
}

.ev-login-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 9999px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ev-login-button:hover,
.ev-login-button:focus-visible {
  opacity: 0.92;
  outline: none;
}

.ev-login-button:disabled {
  opacity: 0.72;
  cursor: default;
}

.ev-login-footnote {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
}

@media (min-width: 640px) {
  .header-inner {
    padding-inline: max(1.5rem, env(safe-area-inset-left, 0px))
      max(1.5rem, env(safe-area-inset-right, 0px));
  }

  .brand.keyra-header-logo-link img {
    height: 1.75rem;
  }

  .keyra-account-menu__trigger {
    width: auto;
    max-width: 16.25rem;
    gap: 0.625rem;
    justify-content: flex-start;
    padding: 0 0.625rem 0 0.25rem;
    font-size: 14px;
  }

  .keyra-account-menu__label {
    display: inline;
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #171717;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .keyra-account-menu__chevron {
    display: block;
  }

  .site-footer.keyra-site-footer .shell.footer-keyra {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .keyra-account-menu__trigger,
  .keyra-account-menu__chevron,
  .keyra-account-menu__item {
    transition: none;
  }

  .keyra-account-menu__trigger:active {
    transform: none;
  }
}

@media (min-width: 1280px) {
  .header-inner {
    min-height: 56px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand.keyra-header-logo-link img {
    height: 1.75rem;
  }

  .header-actions {
    gap: 0.75rem;
  }

}

@media (min-width: 1025px) {
  .footer-keyra__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    column-gap: max(48px, 3vw);
  }

  .footer-keyra__copyright {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .ev-login-shell {
    grid-template-columns: 1fr;
  }

  .ev-login-panel-dark {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  body > main {
    padding-top: 0;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .kc-launcher__grid,
  .footer-keyra__link-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kc-launcher__panel,
  .keyra-account-menu__panel {
    right: -0.2rem;
    width: min(20rem, calc(100vw - 1rem));
  }

  .ev-landing-header {
    margin-bottom: 1.5rem;
  }

  .ev-landing-header .ev-landing-header__inner {
    gap: 0.35rem;
    min-height: 3.5rem;
    height: 3.5rem;
    padding-inline: max(0.75rem, env(safe-area-inset-left, 0px))
      max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .ev-landing-header .ev-landing-header__brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .ev-keyra-logo-header-wrap {
    gap: 0;
  }

  .ev-keyra-logo-header {
    height: 2rem;
  }

  .ev-keyra-logo-header__tagline {
    display: none;
  }

  .ev-landing-header .ev-landing-header__actions {
    gap: 0.125rem;
    flex: 0 0 auto;
    min-width: 0;
  }

  .ev-landing-header .ev-landing-header__actions-bento {
    margin-inline: 0;
  }

  .ev-landing-header .ev-landing-header__actions > [data-keyra-launcher],
  .ev-landing-header .ev-landing-header__actions > [data-keyra-auth],
  .ev-landing-header .ev-landing-header__actions > [data-keyra-app-link] {
    height: 2.5rem;
    min-height: 2.5rem;
  }

  .ev-landing-header .keyra-header-download-app {
    margin-left: 0;
    padding: 0 0.35rem;
    gap: 0;
  }

  .ev-landing-header .keyra-header-download-app__label {
    display: none;
  }

  .ev-landing-header .keyra-header-download-app__icon {
    width: 1.625rem;
    height: 1.625rem;
  }

  .ev-landing-header .keyra-account-menu__trigger {
    width: 2.5rem;
    max-width: 2.5rem;
    min-width: 2.5rem;
    padding: 0;
    justify-content: center;
  }
}

/* Translate landing shell */
:root {
  --tr-canvas: #fafafa;
  --tr-surface: #ffffff;
  --tr-ink: #171717;
  --tr-body: #60646c;
  --tr-muted: #999999;
  --tr-accent: #171717;
  --tr-line: #dcdee0;
  --tr-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  --tr-radius: 12px;
  --tr-radius-lg: 20px;
  --tr-canvas-soft: #f4f3ef;
  --tr-panel-dark: #131313;
  --tr-panel-dark-muted: rgba(255, 255, 255, 0.74);
  --tr-panel-line: rgba(255, 255, 255, 0.12);
  --tr-panel-fill: rgba(255, 255, 255, 0.065);
  --tr-shell-shadow:
    0 32px 90px rgba(17, 17, 17, 0.12),
    0 10px 28px rgba(17, 17, 17, 0.06);
}

.tr-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.tr-landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.tr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
}

.header-inner.tr-nav {
  width: min(1280px, calc(100% - 24px));
  max-width: none;
  min-height: 3rem;
  padding: 0.375rem 0 0;
}

.tr-nav-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.tr-nav-brand.keyra-header-logo-link,
.brand.keyra-header-logo-link {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
}

.tr-nav-brand.keyra-header-logo-link img,
.brand.keyra-header-logo-link img {
  height: 2.5rem;
}

.keyra-header-logo-link__tagline {
  display: block;
  margin: 0;
  padding: 0;
  font: 500 10px/1.35 var(--keyra-font-sans);
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.52);
  white-space: nowrap;
}

.keyra-shell-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Shared Keyra launcher classes */
.ds-bento-menu {
  position: relative;
  flex-shrink: 0;
  z-index: 66;
}

.keyra-app-launcher-backdrop {
  position: fixed;
  inset: 0;
  z-index: 64;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: default;
}

.ds-bento-menu__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--tr-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ds-bento-menu__trigger:hover,
.ds-bento-menu__trigger.is-open {
  background: rgba(0, 0, 0, 0.04);
}

.ds-bento-menu__trigger:focus-visible {
  outline: 2px solid var(--tr-ink);
  outline-offset: 2px;
}

.ds-bento-menu__trigger svg {
  display: block;
  flex-shrink: 0;
  color: currentColor;
}

.keyra-header-action-access {
  display: inline-flex;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.keyra-header-download-app {
  margin-left: 0.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.keyra-app-launcher-panel {
  --keyra-bg: #ffffff;
  --keyra-surface: #fafafa;
  --keyra-primary: #171717;
  --keyra-text-2: #999999;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 67;
  display: flex;
  width: min(calc(100vw - 1.5rem), 20rem);
  max-height: min(34rem, calc(100dvh - 6rem));
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  background: var(--keyra-bg);
  padding: 0.75rem;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.keyra-app-launcher-panel[hidden],
.keyra-account-menu__panel[hidden] {
  display: none !important;
}

.keyra-app-launcher-panel__heading {
  flex-shrink: 0;
  margin: 0;
  padding: 0 0.25rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--keyra-text-2);
}

.keyra-app-launcher-scroll-wrap {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.keyra-app-launcher-scroll-wrap::before,
.keyra-app-launcher-scroll-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 12px;
  pointer-events: none;
}

.keyra-app-launcher-scroll-wrap::before {
  top: 0;
  border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(to bottom, var(--keyra-bg) 25%, transparent);
}

.keyra-app-launcher-scroll-wrap::after {
  bottom: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  background: linear-gradient(to top, var(--keyra-bg) 30%, transparent);
}

.keyra-app-launcher-scroll.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-height: min(28rem, calc(100dvh - 9rem));
  margin: 0;
  padding: 0.125rem 0.25rem 0.125rem 0;
  list-style: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

.keyra-app-launcher-scroll::-webkit-scrollbar {
  width: 6px;
}

.keyra-app-launcher-scroll::-webkit-scrollbar-track {
  margin: 6px 0;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.keyra-app-launcher-scroll::-webkit-scrollbar-thumb {
  min-height: 2.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  background-clip: padding-box;
}

.keyra-app-launcher-section-divider,
.keyra-app-launcher-section-heading {
  grid-column: 1 / -1;
  list-style: none;
  min-width: 0;
  margin: 0;
}

.keyra-app-launcher-section-divider {
  padding-block: 0.25rem;
}

.keyra-app-launcher-section-divider > div {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.keyra-app-launcher-section-heading {
  padding: 0.125rem 0.25rem 0.25rem;
}

.keyra-app-launcher-section-heading p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--keyra-text-2);
}

.keyra-app-launcher-tile {
  list-style: none;
  min-width: 0;
  margin: 0;
}

.keyra-app-launcher-tile__link {
  display: flex;
  min-height: 4.25rem;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--keyra-primary);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.keyra-app-launcher-tile__link:hover,
.keyra-app-launcher-tile__link:focus-visible {
  border-color: rgba(0, 0, 0, 0.12);
  background: var(--keyra-surface);
  outline: none;
}

.keyra-app-launcher-tile__icon {
  position: relative;
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  background: var(--keyra-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.keyra-app-launcher-tile__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.18);
  object-fit: contain;
  opacity: 0.35;
}

.keyra-app-launcher-tile__initials {
  position: relative;
  border-radius: 0.125rem;
  background: #ffffff;
  padding: 0.125rem 0.125rem;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  outline: 1px solid rgba(0, 0, 0, 0.06);
}

.keyra-app-launcher-tile__label {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: var(--keyra-primary);
}

/* Translate login */
.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
  cursor: pointer;
}

.tr-btn-primary {
  background: var(--tr-accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.12);
}

.tr-btn-primary:hover:not(:disabled) {
  background: #0f0f0f;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.16);
}

.tr-btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(23, 23, 23, 0.14);
}

.tr-btn-primary:focus-visible {
  outline: 2px solid rgba(23, 23, 23, 0.24);
  outline-offset: 3px;
}

.tr-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tr-accent);
}

.tr-auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body[data-page-type="login"] .tr-auth-screen {
  width: 100%;
  min-height: auto;
  padding: 0;
}

body[data-page-type="login"] .tr-login-shell {
  margin: 0 auto;
}

.tr-login-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 24px;
  background: var(--tr-surface);
  box-shadow: var(--tr-shell-shadow);
}

.tr-login-panel {
  padding: clamp(24px, 4vw, 40px);
}

.tr-login-panel-dark {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #191919 0%, var(--tr-panel-dark) 100%);
  color: #f5f5f5;
}

.tr-login-panel-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.tr-login-panel-dark > * {
  position: relative;
  z-index: 1;
}

.tr-login-panel-dark .tr-nav-brand img {
  filter: brightness(0) invert(1);
  height: 2rem;
}

.tr-login-panel-dark .tr-nav-brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.tr-login-panel-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.96) 100%);
}

.tr-login-title {
  max-width: 12ch;
  margin: 12px 0 0;
  text-wrap: balance;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.tr-login-copy {
  max-width: 32rem;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.tr-login-copy-dark {
  color: var(--tr-panel-dark-muted);
}

.tr-login-security {
  border: 1px solid var(--tr-panel-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.04) 100%);
  padding: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 28px rgba(0, 0, 0, 0.16);
}

.tr-login-security-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.tr-login-security-list {
  display: grid;
  gap: 10px;
}

.tr-login-security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: var(--tr-panel-fill);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tr-login-security-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f5f5f5;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.tr-login-content {
  max-width: 420px;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tr-auth-title {
  margin: 10px 0 12px;
  text-wrap: balance;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--tr-ink);
}

.tr-auth-copy {
  margin: 0;
  color: var(--tr-body);
  font-size: 14px;
  line-height: 1.6;
}

.tr-login-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.tr-auth-alert {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  font-size: 14px;
  line-height: 1.55;
}

.tr-login-note {
  padding: 18px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 247, 247, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 24px rgba(23, 23, 23, 0.04);
}

.tr-login-note strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.tr-login-note p {
  margin: 8px 0 0;
  color: var(--tr-body);
  font-size: 14px;
  line-height: 1.6;
}

.tr-login-button {
  width: 100%;
  min-height: 48px;
}

.tr-login-button:hover:not(:disabled) {
  cursor: pointer;
}

.tr-login-button:disabled {
  cursor: default;
}

.tr-login-footnote {
  max-width: 28rem;
  margin: 24px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--tr-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .header-inner.tr-nav {
    width: min(1280px, calc(100% - 24px));
  }

  .tr-login-shell {
    grid-template-columns: 1fr;
  }

  .tr-login-panel-dark {
    min-height: auto;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  body[data-page-type="login"] .tr-auth-screen {
    padding: 0;
  }

  .ev-landing-header.keyra-site-header-shell {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 57px;
    height: 57px;
    flex-shrink: 0;
    overflow: visible;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    --keyra-accent: #000000;
    --keyra-primary: #000000;
    --keyra-text-2: rgba(0, 0, 0, 0.55);
    --keyra-border: rgba(0, 0, 0, 0.08);
    --keyra-bg: #ffffff;
    margin-bottom: 0;
  }

  .ev-keyra-logo-header__tagline {
    display: block;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    font-family: var(--keyra-font-sans);
    font-size: 10px;
    font-weight: 400;
    line-height: 15.5px;
    letter-spacing: 0.025em;
    color: #00000080;
    white-space: nowrap;
  }

  .ev-landing-header .ev-landing-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 80rem;
    min-width: 0;
    min-height: 63px;
    height: 63px;
    margin-inline: auto;
    padding: 0 max(0.75rem, env(safe-area-inset-left, 0px)) 0
      max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .tr-container,
  .header-inner.tr-nav {
    width: min(1280px, calc(100% - 16px));
  }

  .keyra-app-launcher-scroll.grid,
  .footer-keyra__link-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .keyra-app-launcher-panel,
  .keyra-account-menu__panel {
    right: -0.2rem;
    width: min(20rem, calc(100vw - 1rem));
  }

  .tr-auth-screen {
    padding: 16px;
  }

  .tr-login-shell {
    border-radius: 24px;
  }

  .tr-login-panel {
    padding: 24px 20px;
  }

  .tr-login-title {
    max-width: 12ch;
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .tr-auth-title {
    font-size: clamp(1.75rem, 9vw, 2.1rem);
  }
}

@media (min-width: 640px) {
  .keyra-header-logo-link__tagline {
    font-size: 11px;
  }
}

@media (min-width: 1024px) {
  .tr-nav-brand.keyra-header-logo-link img,
  .brand.keyra-header-logo-link img {
    height: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .header-inner.tr-nav {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    min-height: 3.5rem;
    padding-top: 0;
  }

  .tr-nav-brand.keyra-header-logo-link,
  .brand.keyra-header-logo-link {
    height: 3.5rem;
    padding-right: 0.75rem;
    justify-content: flex-start;
  }

  .keyra-shell-actions {
    gap: 0;
    margin-left: 0;
  }
}

/* Final shared Keyra/Event header parity */
.ev-landing-header.keyra-site-header-shell {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 57px;
  height: 57px;
  flex-shrink: 0;
  overflow: visible;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  --keyra-accent: #000000;
  --keyra-primary: #000000;
  --keyra-text-2: rgba(0, 0, 0, 0.55);
  --keyra-border: rgba(0, 0, 0, 0.08);
  --keyra-bg: #ffffff;
  margin-bottom: 50px;
}

.ev-landing-header .ev-landing-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  min-width: 0;
  min-height: 57px;
  height: 57px;
  margin-inline: auto;
  padding: 0 max(0.75rem, env(safe-area-inset-left, 0px)) 0
    max(0.75rem, env(safe-area-inset-right, 0px));
}

.ev-keyra-logo-header {
  position: relative;
  display: block;
  width: auto;
  flex-shrink: 0;
  height: 40px;
  max-width: none;
  aspect-ratio: auto;
}

.ev-keyra-logo-header__img {
  display: block;
  object-position: left center;
}

.ev-keyra-logo-header-wrap,
.keyra-header-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
  gap: 2px;
}

.ev-keyra-logo-header__tagline {
  display: block;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  font-family: var(--keyra-font-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 16.5px;
  letter-spacing: 0.025em;
  color: #00000080;
  white-space: nowrap;
}

.ev-landing-header .ev-landing-header__brand {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: flex-start;
  align-self: center;
  justify-content: flex-start;
  min-width: 0;
  flex-shrink: 0;
  overflow: visible;
  text-decoration: none;
  padding-top: 0;
}

.ev-landing-header .ev-landing-header__nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 0;
}

.ev-landing-header .ev-header-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.25rem;
  padding: 8px 16px;
  border: none;
  border-radius: 9999px;
  font: 500 14px/1.625 var(--keyra-font-sans);
  color: rgba(23, 23, 23, 0.9);
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  transition: background-color 150ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ev-landing-header .ev-header-nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: rgba(23, 23, 23, 0.9);
}

.ev-landing-header .ev-header-nav-link--active,
.ev-landing-header .ev-header-nav-link--active:hover {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(23, 23, 23, 0.9);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.tr-header-nav {
  display: flex;
  max-width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: visible;
  white-space: nowrap;
  padding-inline: 0.5rem;
}

.tr-header-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.25rem;
  padding: 8px 16px;
  border: none;
  border-radius: 9999px;
  font: 500 14px/1.625 var(--keyra-font-sans);
  color: rgba(23, 23, 23, 0.9);
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  transition: background-color 150ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tr-header-nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: rgba(23, 23, 23, 0.9);
}

.tr-header-nav-link--active,
.tr-header-nav-link--active:hover {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(23, 23, 23, 0.9);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.ev-landing-header .ev-landing-header__actions {
  position: relative;
  z-index: 10;
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  height: 40px;
  min-height: 40px;
  overflow: visible;
}

.ev-landing-header .ev-landing-header__actions > [data-keyra-launcher],
.ev-landing-header .ev-landing-header__actions > [data-keyra-auth],
.ev-landing-header .ev-landing-header__actions > [data-keyra-app-link] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
  min-height: 40px;
  overflow: visible;
}

.ev-landing-header .keyra-header-download-app {
  height: 40px;
  min-height: 40px;
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out,
    box-shadow 150ms ease-out;
}

.ev-landing-header .keyra-header-action-access {
  display: none;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: #ffffff;
  text-decoration: none;
  background: var(--keyra-accent, #000000);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ev-landing-header .keyra-header-action-access:hover {
  opacity: 0.88;
  background: var(--keyra-accent, #000000);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ev-landing-header .keyra-header-action-access:active {
  opacity: 0.82;
}

.ev-landing-header .keyra-header-action-access:focus {
  outline: none;
}

.ev-landing-header .keyra-header-action-access:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.ev-landing-header .keyra-header-download-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.375rem;
  padding: 0 0.625rem 0 0.25rem;
  border: 1px solid color-mix(in srgb, var(--keyra-border) 90%, transparent);
  background: #f8f8f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  height: 2.5rem;
  min-height: 2.5rem;
  line-height: 1;
  vertical-align: middle;
}

.ev-landing-header .keyra-header-download-app:hover {
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--keyra-bg);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.tr-landing-header__actions {
  position: relative;
  z-index: 10;
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  height: 40px;
  min-height: 40px;
}

.ev-landing-header .ev-landing-header__actions-bento,
.ev-landing-header .ev-landing-header__actions .keyra-account-menu,
.ev-landing-header .ev-landing-header__actions .ds-bento-menu {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  height: 40px;
  overflow: visible;
}

.ev-landing-header .ev-landing-header__actions-bento {
  margin-inline: 0.25rem;
}

.ev-landing-header .ds-bento-menu__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--keyra-border) 90%, transparent);
  border-radius: var(--keyra-radius-pill);
  background: transparent;
  color: var(--keyra-primary);
  box-shadow: none;
  cursor: pointer;
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out,
    box-shadow 150ms ease-out;
  position: relative;
  z-index: 68;
}

.ev-landing-header .ds-bento-menu__trigger:hover,
.ev-landing-header .ds-bento-menu__trigger.is-open {
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--keyra-bg);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ev-landing-header .ds-bento-menu__trigger:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

.ev-landing-header .ds-bento-menu__trigger-icon {
  display: block;
  flex-shrink: 0;
  color: currentColor;
}

.ev-landing-header .keyra-app-launcher-panel {
  width: min(calc(100vw - 1.5rem), 20rem);
  top: calc(100% + 8px);
  right: 0;
  max-width: 20rem;
  max-height: min(34rem, calc(100dvh - 6rem));
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--keyra-bg);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.keyra-app-launcher-tile__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.18);
  object-fit: contain;
  opacity: 0.35;
}

.ev-landing-header .keyra-app-launcher-scroll.grid {
  height: 100%;
  min-height: 0;
  max-height: min(28rem, calc(100dvh - 9rem));
  gap: 0.5rem;
  padding: 0.125rem 0.375rem 0.125rem 0.25rem;
}

.ev-landing-header .keyra-app-launcher-tile__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.ev-landing-header .keyra-app-launcher-tile__label {
  color: var(--keyra-primary);
  font-size: 10px;
  line-height: 1.25;
}

.ev-landing-header .keyra-app-launcher-panel__heading {
  padding: 0 0.25rem 0.5rem;
}

.ev-landing-header .keyra-app-launcher-tile__link {
  min-height: 4.25rem;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.ev-landing-header .keyra-app-launcher-tile__link:hover {
  border-color: rgba(0, 0, 0, 0.12);
  background: var(--keyra-surface, #fafafa);
}

.ev-landing-header .keyra-app-launcher-tile__link:focus {
  outline: none;
}

.ev-landing-header .keyra-app-launcher-tile__link:focus-visible {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.ev-landing-header .keyra-app-launcher-tile__link.is-current {
  border-color: rgba(0, 0, 0, 0.12);
  background: var(--keyra-surface, #fafafa);
}

.ev-landing-header .keyra-app-launcher-section-divider {
  padding-block: 0.25rem;
}

.ev-landing-header .keyra-app-launcher-section-heading {
  padding: 0.125rem 0.25rem 0.25rem;
}

@media (min-width: 640px) {
  .ev-landing-header .keyra-header-action-access--desktop {
    display: inline-flex;
  }

  .ev-landing-header .ev-landing-header__inner {
    padding-inline: max(1.5rem, env(safe-area-inset-left, 0px))
      max(1.5rem, env(safe-area-inset-right, 0px));
  }

  .ev-keyra-logo-header {
    height: 44px;
  }
}

@media (min-width: 1024px) {
  .ev-keyra-logo-header {
    height: 40px;
  }
}

@media (min-width: 1280px) {
  .ev-landing-header .ev-landing-header__inner {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    min-height: 57px;
    height: 57px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ev-landing-header .ev-landing-header__brand {
    grid-column: 1;
    grid-row: 1;
    height: 3.6rem;
    padding-right: 0.75rem;
  }

  .ev-landing-header .ev-landing-header__actions {
    grid-column: 3;
    grid-row: 1;
    gap: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .ev-landing-header .ev-landing-header__inner {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .ev-landing-header .ev-landing-header__inner {
    width: 100%;
  }
}
