/* Shared account window, independent of each page's typography and canvas scale. */
dialog.wy-auth {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(500px, calc(var(--auth-viewport-width, 100vw) - 32px));
  max-width: none;
  max-height: calc(var(--auth-viewport-height, 100dvh) - 32px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #142d30;
  box-shadow: 0 28px 110px #071a345c;
  font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
  color-scheme: light;
  scrollbar-width: thin;
}
.wy-auth::backdrop { background: #06142994; backdrop-filter: blur(9px); }
.wy-auth, .wy-auth * { box-sizing: border-box; }
.wy-auth [hidden] { display: none !important; }
.wy-auth button, .wy-auth input { font: inherit; letter-spacing: normal; }
.wy-auth button { cursor: pointer; }
.wy-auth .wy-auth-cover {
  position: relative;
  display: flex;
  align-items: end;
  height: 106px;
  padding: 24px 32px;
  background: linear-gradient(90deg, #082e3670, #082e3633), url("assets/garden-bridge-footer.png") center 72% / 130% auto;
  color: white;
}
.wy-auth .wy-auth-brand { font-size: 26px; line-height: 1.2; letter-spacing: -1.3px; font-weight: 730; text-shadow: 0 1px 12px #08272c55; }
.wy-auth .wy-auth-close { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #ffffffec; color: #354c50; }
.wy-auth-close svg { width: 17px; height: 17px; }
.wy-auth .wy-auth-body { padding: 26px clamp(20px, 6.4%, 32px) 24px; }
.wy-auth .wy-auth-eyebrow { display: block; margin-bottom: 8px; color: #78908c; font-size: 10px; font-weight: 550; letter-spacing: .15em; }
.wy-auth h2 { margin: 0 0 6px; color: #142d30; font: 650 26px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: -.035em; text-box-trim: none; }
.wy-auth .wy-auth-intro { margin: 0; color: #7a8787; font-size: 13px; line-height: 1.65; }
.wy-auth .wy-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 22px 0; border-radius: 12px; background: #f0f4f2; }
.wy-auth .wy-auth-tab { padding: 9px 8px; border: 0; border-radius: 9px; background: none; color: #73817f; font-size: 13px; font-weight: 600; }
.wy-auth .wy-auth-tab[aria-selected="true"] { background: #fff; color: #244d47; box-shadow: 0 1px 5px #1d403010; }
.wy-auth .wy-auth-form { display: grid; gap: 16px; margin: 0; }
.wy-auth .wy-auth-field { min-width: 0; }
.wy-auth .wy-auth-label { display: block; margin-bottom: 7px; color: #354e4e; font-size: 13px; font-weight: 600; }
.wy-auth .wy-auth-input-wrap { position: relative; }
.wy-auth .wy-auth-input { display: block; width: 100%; min-width: 0; height: 49px; padding: 12px 14px; border: 1px solid #e0e7e3; border-radius: 11px; background: #fafcfb; color: #1c3738; outline: none; font-size: 14px; box-shadow: none; }
.wy-auth .wy-auth-input-wrap .wy-auth-input { padding-right: 52px; }
.wy-auth .wy-auth-input::placeholder { color: #a1aeaa; opacity: 1; }
.wy-auth .wy-auth-input:focus { border-color: #719d90; background: #fff; box-shadow: 0 0 0 3px #62918015; outline: none; }
.wy-auth .wy-auth-input[aria-invalid="true"] { border-color: #bc6763; }
.wy-auth .wy-auth-reveal { position: absolute; inset: 3px 3px 3px auto; display: grid; place-items: center; width: 43px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #81938c; }
.wy-auth-reveal svg { width: 19px; height: 19px; }
.wy-auth-reveal[aria-pressed="true"] .wy-auth-eye-slash { display: none; }
.wy-auth .wy-auth-hint { margin: 6px 0 0; color: #86938d; font-size: 11px; line-height: 1.6; }
.wy-auth .wy-auth-error { margin: 6px 0 0; color: #a14340; font-size: 12px; line-height: 1.5; }
.wy-auth .wy-auth-help { display: flex; justify-content: end; margin-top: -3px; }
.wy-auth .wy-auth-link { border: 0; padding: 0; background: none; color: #567f72; font-size: 12px; text-decoration: none; }
.wy-auth .wy-auth-link:hover { color: #214c3e; text-decoration: underline; text-underline-offset: 3px; }
.wy-auth .wy-auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 49px; padding: 12px 18px; border: 0; border-radius: 11px; background: #254f45; color: #fff; font-size: 14px; font-weight: 600; box-shadow: none; }
.wy-auth .wy-auth-submit:hover { background: #1c4238; }
.wy-auth-submit > span:last-child { font-size: 20px; line-height: 1; font-weight: 400; }
.wy-auth .wy-auth-status { margin: 0; padding: 11px 13px; border-radius: 9px; background: #eff4f1; color: #526e64; font-size: 12px; line-height: 1.65; }
.wy-auth .wy-auth-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 21px; color: #9ba6a0; font-size: 11px; line-height: 1.5; }
.wy-auth .wy-auth-footer a { color: #71897d; font-size: inherit; text-decoration: none; }
.wy-auth :is(button, a):focus-visible { outline: 2px solid #719d90; outline-offset: 3px; }
@media (prefers-reduced-transparency: reduce) { .wy-auth::backdrop { backdrop-filter: none; background: #061429e6; } }
