.oef-public-header,
.oef-public-header *{
  box-sizing:border-box;
}

.oef-public-header{
  width:100%;
  height:64px;
  position:sticky;
  top:0;
  z-index:99999;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  color:#0f172a;
  font-family:Arial,"Microsoft YaHei",sans-serif;
}

.oef-public-header__inner{
  width:100%;
  height:64px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 24px;
}

.oef-public-brand{
  height:64px;
  display:flex;
  align-items:center;
  gap:0;
  flex:0 0 auto;
  color:#0f172a;
  text-decoration:none;
  white-space:nowrap;
  font-size:24px;
  font-weight:900;
  line-height:1;
}

.oef-public-brand img{
  display:none!important;
}

.oef-public-nav{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:1 1 auto;
  min-width:0;
}

.oef-public-nav > a{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  color:#0f172a;
  border-bottom:2px solid transparent;
  background:transparent;
  text-decoration:none;
  white-space:nowrap;
  font-size:14px;
  font-weight:700;
  line-height:64px;
}

.oef-public-nav > a:hover{
  color:#2563eb;
  background:#eff6ff;
}

.oef-public-nav > a.active{
  color:#2563eb;
  border-bottom-color:#2563eb;
}

.oef-public-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  margin-left:auto;
}

.oef-public-action{
  height:38px;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border:1px solid transparent;
  border-radius:9px;
  background:#2563eb;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  font-size:14px;
  font-weight:700;
  line-height:1;
  box-shadow:0 1px 2px rgba(15,23,42,.08);
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.oef-public-action--light{
  border-color:#bfdbfe;
  background:#f8fbff;
  color:#1d4ed8;
}

.oef-public-action:hover{
  background:#1d4ed8;
  color:#fff;
  box-shadow:0 4px 12px rgba(37,99,235,.2);
  transform:translateY(-1px);
}

.oef-public-action--light:hover{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
  box-shadow:0 3px 10px rgba(37,99,235,.1);
}

.oef-public-toggle{
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  display:none;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:0!important;
  border:1px solid #dbe3ef!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0f172a!important;
  box-shadow:none!important;
  cursor:pointer;
}

.oef-public-toggle-lines,
.oef-public-toggle-lines::before,
.oef-public-toggle-lines::after{
  width:20px;
  height:2px;
  display:block;
  position:relative;
  background:currentColor;
  border-radius:999px;
  content:"";
}

.oef-public-toggle-lines::before{
  position:absolute;
  top:-6px;
}

.oef-public-toggle-lines::after{
  position:absolute;
  top:6px;
}

@media(max-width:1180px){
  .oef-public-header__inner{
    justify-content:space-between;
    padding:0 16px;
  }

  .oef-public-toggle{
    display:inline-flex;
  }

  .oef-public-nav{
    height:auto;
    max-height:calc(100vh - 64px);
    display:none;
    position:absolute;
    top:64px;
    left:0;
    right:0;
    overflow-y:auto;
    padding:8px 16px 14px;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 12px 28px rgba(15,23,42,.12);
  }

  .oef-public-header.is-open .oef-public-nav{
    display:block;
  }

  .oef-public-nav > a{
    width:100%;
    height:44px;
    justify-content:flex-start;
    padding:0 12px;
    border-bottom:0;
    border-left:3px solid transparent;
    border-radius:6px;
    line-height:44px;
  }

  .oef-public-nav > a.active{
    border-left-color:#2563eb;
  }

  .oef-public-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-left:0;
    margin-top:8px;
  }

  .oef-public-action{
    min-height:40px;
  }
}

@media(max-width:520px){
  .oef-public-brand{
    font-size:20px;
  }

  .oef-public-brand img{
    width:24px;
    height:24px;
  }

  .oef-public-actions{
    grid-template-columns:1fr;
  }
}
