:host{
  all:initial;
  font-family:Arial,"Helvetica Neue",sans-serif;
  color:#352b55;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}

.banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:2147483000;
  background:#fff;
  border-top:1px solid rgba(56,45,91,.18);
  box-shadow:0 -10px 32px rgba(35,26,64,.14);
}
.banner-inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:22px 0;
}
.copy{max-width:760px}
.copy strong{
  display:block;
  margin-bottom:5px;
  color:#352b55;
  font-size:17px;
}
.copy p{
  margin:0;
  color:#5f5870;
  font-size:14px;
  line-height:1.5;
}
.copy a{
  color:#5d4b92;
  text-decoration:underline;
  text-underline-offset:2px;
}
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.btn{
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1.5px solid #5d4b92;
  font:700 14px/1 Arial,"Helvetica Neue",sans-serif;
  cursor:pointer;
  background:#fff;
  color:#4b3c77;
}
.btn:hover{background:#f4f1fa}
.btn.primary{
  background:#8171ab;
  border-color:#8171ab;
  color:#fff;
}
.btn.primary:hover{background:#6d5d98}
.btn:focus-visible,
.switch input:focus-visible + .slider{
  outline:3px solid #352b55;
  outline-offset:3px;
}

.modal{
  position:fixed;
  inset:0;
  z-index:2147483100;
}
.scrim{
  position:absolute;
  inset:0;
  background:rgba(29,22,49,.58);
}
.panel{
  position:relative;
  z-index:1;
  width:min(620px,calc(100% - 32px));
  max-height:calc(100vh - 48px);
  overflow:auto;
  margin:24px auto;
  padding:28px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(29,22,49,.28);
}
.panel h2{
  margin:0 0 10px;
  color:#352b55;
  font-size:28px;
  line-height:1.15;
}
.panel > p{
  margin:0 0 22px;
  color:#5f5870;
  font-size:15px;
  line-height:1.55;
}
.row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center;
  padding:20px 0;
  border-top:1px solid #e6e1ef;
}
.row:first-of-type{border-top:0}
.row strong{
  display:block;
  margin-bottom:5px;
  color:#352b55;
  font-size:15px;
}
.row p{
  margin:0;
  color:#665f72;
  font-size:13.5px;
  line-height:1.5;
}
.always{
  padding:6px 10px;
  border-radius:999px;
  background:#eeeaf5;
  color:#4b3c77;
  font-size:12px;
  font-weight:700;
}
.switch{
  position:relative;
  width:52px;
  height:30px;
  display:inline-block;
}
.switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.slider{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#c8c2d3;
  transition:.2s ease;
}
.slider::after{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  left:4px;
  top:4px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 1px 5px rgba(0,0,0,.2);
  transition:.2s ease;
}
.switch input:checked + .slider{background:#8171ab}
.switch input:checked + .slider::after{transform:translateX(22px)}
.modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  padding-top:20px;
  border-top:1px solid #e6e1ef;
  margin-top:4px;
}
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media(max-width:760px){
  .banner-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
  }
  .actions{
    width:100%;
    justify-content:flex-start;
  }
  .btn{flex:1 1 auto}
  .panel{padding:22px}
}