.jt-account-panel {
  box-sizing: border-box;
  border: 1px solid #e0e9ee;
  border-radius: 12px;
  background: #fff;
  color: #12212e;
}
.jt-account-panel[hidden] { display: none; }
.jt-account-panel[data-placement=dropdown] {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  right: var(--account-panel-right, 0px);
  width: min(300px, calc(100vw - 24px));
  box-shadow: 0 24px 60px rgb(18 33 46 / 16%);
}
.jt-account-panel[data-placement=dropdown]::before {
  position: absolute;
  top: -5px;
  right: var(--account-panel-arrow, 18px);
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  content: '';
  border-top: 1px solid #e0e9ee;
  border-left: 1px solid #e0e9ee;
  background: #fff;
}
.jt-account-panel-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e3eaee;
}
.jt-account-panel-identity > span {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 42px;
  height: 42px;
  border: 1px solid #dce7ed;
  border-radius: 50%;
  background: #fff;
  color: #11648e;
  font-weight: 700;
}
.jt-account-panel-identity > div { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.jt-account-panel-identity small { color: #526472; font-size: 13px; }
.jt-account-panel-links { display: grid; padding: 8px; }
.jt-account-panel .jt-account-panel-links > a:any-link,
.jt-account-panel-logout > button {
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #12212e;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.jt-account-panel .jt-account-panel-links > a:hover,
.jt-account-panel-logout > button:hover { background: #f4f7f9; }
.jt-account-panel-logout { margin-top: 4px; padding-top: 4px; border-top: 1px solid #e3eaee; }
.jt-account-panel-logout > button { width: 100%; color: #a32724; }
