/* Quiet Personal / Pro navigation in the page corner. */
.auth-main:has(.jotty-mode-switch) {
  position: relative;
  padding-top: 80px;
}
.jotty-mode-switch {
  position: absolute;
  top: 24px;
  right: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.jotty-mode-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #697061;
  font: 500 12px/1.4 Inter, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.jotty-mode-switch a:hover {
  color: #293023;
  text-decoration: none;
}
.jotty-mode-switch a[aria-current] {
  color: #293023;
  font-weight: 600;
}
.jotty-mode-switch a[aria-current]::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 5px;
  left: 2px;
  height: 1.5px;
  background: currentColor;
}
.jotty-mode-switch a:focus-visible {
  outline: 3px solid #768647;
  outline-offset: 3px;
  text-decoration: none;
}
@media (max-width: 760px) {
  .auth-main:has(.jotty-mode-switch) { padding-top: 68px; }
  .jotty-mode-switch { top: 12px; right: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .jotty-mode-switch a { transition: none; }
}
