.bes-site .bei {
  --bei-ink: #12344b;
  --bei-blue: #145379;
  --bei-edge: #a3b5be;
  min-width: 0;
  color: var(--bei-ink);
  background: #fff;
}
.bes-site .bei h2 {
  margin: 0 0 .55rem;
  color: var(--bei-ink);
  font-family: var(--bes-display, system-ui);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.bes-site .bei > p, .bes-site .bei-form > p { margin: .4rem 0 .8rem; }
.bes-site .bei-tabs {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  margin: 0 0 1.4rem;
  padding: .3rem;
  border: 1px solid #d6e0e5;
  border-radius: 9px;
  background: #f3f6f7;
}
.bes-site .bei-tabs a {
  display: inline-flex;
  flex: 1 1 8rem;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .45rem .7rem;
  color: var(--bei-blue);
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.bes-site .bei-tabs [aria-current="page"] {
  border-radius: 6px;
  background: var(--bei-ink);
  color: white;
}
.bes-site .bei-form {
  display: grid;
  min-width: 0;
  gap: 1.05rem;
  margin: 1.25rem 0 0;
}
.bes-site .bei-form .bes-btn { width: fit-content; min-height: 44px; }
.bes-site .bei-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 1rem; }
.bes-site .bei-field { display: flex; min-width: 0; flex-direction: column; gap: .25rem; text-align: left; }
.bes-site .bei-field label, .bes-site .bei-options legend { font-size: .96rem; font-weight: 700; }
.bes-site .bei-field :is(input, select) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  height: auto;
  margin: 0;
  padding: .56rem .68rem;
  border: 1px solid var(--bei-edge);
  border-radius: 6px;
  color: var(--bei-ink);
  background: white;
  font: inherit;
  box-shadow: none;
}
.bes-site .bei-match { padding-top: 1.2rem; border-top: 1px solid #d3dee3; }
.bes-site .bei-options { min-width: 0; border: 0; padding: 0; margin: 0; }
.bes-site .bei-options legend { margin: 0 0 .6rem; padding: 0; }
.bes-site .bei-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 50px;
  margin: .4rem 0;
  padding: .6rem .85rem;
  border: 1px solid #c5d3d9;
  border-radius: 7px;
  cursor: pointer;
}
.bes-site .bei-option:has(:checked) { background: #f3f8ed; border-color: #708750; }
.bes-site .bei-option input { width: 1.07rem; height: 1.07rem; flex: none; margin: 0; accent-color: var(--bei-blue); }
.bes-site .bei-option :is(strong,small) { display: block; }
.bes-site .bei-option small { color: #4d6470; font-size: .85rem; }
.bes-site .bei .bei-note, .bes-site .bei .bei-alert {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-inline-start: 4px solid #407299;
  background: #edf5f8;
  color: #1a4058;
}
.bes-site .bei .bei-alert { border-color: #ac711e; background: #fff6e7; color: #513917; }
.bes-site .bei .bei-help { margin: 1.2rem 0 0; font-size: .93rem; }
.bes-site .bei :is(button,a,input,select):focus-visible { outline: 3px solid #cb8e10; outline-offset: 3px; }
@media (max-width: 620px) {
  .bes-site .bei-form .bes-btn { width: 100%; }
  .bes-site .bei-fields { grid-template-columns: 1fr; }
}
