.yo-account-dialog {
  --account-ink:#102b35;
  --account-muted:#566a71;
  --account-line:#d6e0e2;
  --account-accent:#146158;
  box-sizing:border-box;
  width:min(464px,calc(100% - 24px));
  max-height:calc(100dvh - 24px);
  padding:clamp(22px,6vw,32px);
  border:1px solid #dce5e4;
  border-radius:19px;
  background:#fff;
  color:var(--account-ink);
  box-shadow:0 24px 80px #071d2c52;
  font:400 15px/1.5 var(--yo-sans,system-ui,sans-serif);
  overflow:auto;
}
.yo-account-dialog::backdrop { background:#0a2635a6 }
.yo-account-chrome { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px }
.yo-account-chrome form { margin:0 }
.yo-account-brand { display:flex; align-items:center; gap:7px; font-size:14px; font-weight:720; letter-spacing:-.025em }
.yo-account-brand img { object-fit:contain }
.yo-account-dialog h2 { margin:0 0 22px; font:690 clamp(26px,6vw,34px)/1.1 var(--yo-sans,system-ui,sans-serif); letter-spacing:-.045em }
.yo-account-dialog button { font:inherit; cursor:pointer }
.yo-account-dialog :is(a,button,input):focus-visible { outline:2px solid #137e70; outline-offset:2px }
.yo-account-close {
  width:36px;
  height:36px;
  padding:0;
  border:1px solid transparent;
  border-radius:50%;
  background:#f2f6f6;
  color:var(--account-ink);
  font-size:22px!important;
  line-height:1!important;
}
.yo-account-close:hover { background:#e7eeee }
.yo-account-google[hidden] { display:none }
.yo-account-google-target { min-height:40px }
.yo-account-google-target:has(>button) > button { width:100% }
.yo-account-google p { color:var(--account-muted); margin:0 0 8px }
.yo-account-separator {
  display:flex;
  align-items:center;
  gap:13px;
  margin:15px 0;
  color:var(--account-muted);
  font-size:13px;
}
.yo-account-separator::before,.yo-account-separator::after {
  content:"";
  height:1px;
  background:var(--account-line);
  flex:1;
}
.yo-account-form { display:grid; gap:14px; margin:0 }
.yo-account-form label,.yo-account-password { display:grid; gap:6px }
.yo-account-form label { color:#294853; font-size:.875rem; font-weight:630 }
.yo-account-password small { color:var(--account-muted); font-size:12px }
.yo-account-form input {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:47px;
  padding:10px 12px;
  border:1px solid #b9cbcf;
  border-radius:8px;
  background:#fff;
  color:var(--account-ink);
  font:400 16px/1.35 var(--yo-sans,system-ui,sans-serif);
}
.yo-account-password-input { position:relative }
.yo-account-password-input input { padding-inline-end:68px }
.yo-account-reveal {
  position:absolute;
  inset:5px 5px 5px auto;
  min-width:52px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:var(--account-accent);
  font-size:13px!important;
}
.yo-account-reveal:hover { background:#f0f5f4 }
.yo-account-primary {
  min-height:47px;
  border:1px solid var(--account-accent);
  border-radius:8px;
  padding:10px 14px;
  background:var(--account-accent);
  color:#fff;
  font-weight:650!important;
}
.yo-account-primary:hover { background:#104e47 }
.yo-account-dialog button:disabled { cursor:wait; opacity:.67 }
.yo-account-footer {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:4px 16px;
  margin-top:19px;
  padding-top:15px;
  border-top:1px solid var(--account-line);
  font-size:13px;
  color:var(--account-muted);
}
.yo-account-footer p { margin:0 }
.yo-account-footer a,.yo-account-text-button { color:var(--account-accent); text-underline-offset:3px }
.yo-account-text-button {
  border:0;
  padding:1px 1px 1px 3px;
  background:none;
  font-weight:670!important;
  text-decoration:underline;
}
.yo-account-status:empty { display:none }
.yo-account-status { margin:0 0 14px; color:var(--account-muted); font-size:14px }
.yo-account-status.is-error { padding:9px 12px; border-radius:7px; background:#fff1ee; color:#873a32 }
.yo-account-email { margin:0 0 18px; overflow-wrap:anywhere; color:var(--account-muted) }
.yo-account-links { display:flex; flex-wrap:wrap; align-items:center; gap:14px }
.yo-account-links :is(a,button) { color:var(--account-accent) }
.yo-account-links button { min-height:40px; padding:8px 14px; border:1px solid var(--account-line); border-radius:7px; background:#fff }
body[data-page] .top .account-link[hidden] { display:none }
@media (max-width:420px) {
  .yo-account-chrome { margin-bottom:17px }
  .yo-account-dialog h2 { margin-bottom:17px }
}
