#nico-family-support-button{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:2147483000;
  border:0;
  border-radius:999px;
  background:#245c47;
  color:#fff;
  box-shadow:0 14px 34px rgba(23,72,54,.28);
  padding:9px 17px 9px 9px;
  display:none;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font:700 14px/1.15 "Open Sans",Arial,sans-serif;
}
#nico-family-support-button.is-visible{display:flex}
#nico-family-support-button.is-active::after{
  content:"";
  position:absolute;
  top:2px;
  right:3px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#35c759;
  border:2px solid #fff;
}
.nico-family-support-logo{
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f2f6eb;
  color:#245c47;
  font-size:21px;
  font-weight:800;
}
.nico-family-support-button-copy{
  display:grid;
  text-align:left;
}
.nico-family-support-button-copy small{
  margin-top:2px;
  font-size:10px;
  font-weight:500;
  opacity:.85;
}

#nico-family-support-modal{
  position:fixed;
  inset:0;
  z-index:2147483001;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(20,49,38,.52);
  backdrop-filter:blur(5px);
}
#nico-family-support-modal.open{display:flex}

.nico-family-support-card{
  width:min(580px,100%);
  max-height:min(760px,calc(100vh - 36px));
  overflow:auto;
  background:#fffdf9;
  border-radius:22px;
  box-shadow:0 24px 70px rgba(20,49,38,.28);
  color:#183d31;
  font-family:"Open Sans",Arial,sans-serif;
}

.nico-family-support-head{
  padding:20px 22px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  background:linear-gradient(135deg,#245c47,#173f31);
  color:#fff;
}
.nico-family-support-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.nico-family-support-brand-logo{
  width:46px;
  height:46px;
  border-radius:15px;
  background:#f2f6eb;
  color:#245c47;
  display:grid;
  place-items:center;
  font-size:24px;
}
.nico-family-support-brand strong{
  display:block;
  font-size:20px;
}
.nico-family-support-brand small{
  display:block;
  margin-top:3px;
  font-size:11px;
  opacity:.86;
}
.nico-family-support-close{
  width:38px;
  height:38px;
  border:0;
  border-radius:11px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:21px;
  cursor:pointer;
}

.nico-family-support-body{padding:22px}
.nico-family-support-body h2{
  margin:0 0 7px;
  color:#173f31;
  font-size:26px;
}
.nico-family-support-lead{
  margin:0 0 18px;
  color:#68796f;
  line-height:1.5;
  font-size:13px;
}
.nico-family-support-user{
  margin:0 0 17px;
  padding:12px 13px;
  border:1px solid #dbe5d6;
  border-radius:13px;
  background:#f4f7ef;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.nico-family-support-user span{
  color:#718177;
  font-size:11px;
}
.nico-family-support-user b{
  font-size:13px;
  text-align:right;
}
.nico-family-support-field{
  display:grid;
  gap:6px;
  margin-bottom:14px;
}
.nico-family-support-field label{
  font-size:12px;
  font-weight:800;
}
.nico-family-support-field input,
.nico-family-support-field textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #ccd9d0;
  border-radius:11px;
  padding:12px 13px;
  background:#fff;
  color:#183d31;
  font:inherit;
}
.nico-family-support-field textarea{
  min-height:130px;
  resize:vertical;
}

.nico-family-support-submit,
.nico-family-support-action{
  border:0;
  border-radius:11px;
  padding:13px 15px;
  cursor:pointer;
  font-weight:800;
}
.nico-family-support-submit{
  width:100%;
  background:#245c47;
  color:#fff;
  font-size:15px;
}
.nico-family-support-submit:disabled{
  opacity:.55;
  cursor:wait;
}
.nico-family-support-action.allow{
  background:#245c47;
  color:#fff;
}
.nico-family-support-action.decline{
  color:#a42a32;
  background:#fff1ef;
  border:1px solid #edc4c1;
}
.nico-family-support-action.secondary{
  color:#245c47;
  background:#edf3e8;
}

.nico-family-support-state{
  padding:15px;
  border:1px solid #dce5da;
  border-radius:13px;
  background:#f5f8f1;
  line-height:1.5;
  font-size:13px;
}
.nico-family-support-state.good{
  border-color:#bdd9c1;
  background:#eff8ed;
}
.nico-family-support-state.warn{
  border-color:#ead6a0;
  background:#fff8e6;
}
.nico-family-support-ticket{
  margin:9px 0 2px;
  color:#245c47;
  font-size:20px;
  font-weight:900;
}
.nico-family-support-free{
  color:#6d7d73;
  font-size:11px;
}
.nico-family-support-access{
  margin-top:15px;
  padding:16px;
  border:1px solid #bdd9c1;
  border-radius:14px;
  background:#eff8ed;
}
.nico-family-support-access h3{
  margin:0 0 7px;
  font-size:18px;
}
.nico-family-support-access p{
  margin:0;
  color:#607469;
  font-size:12px;
  line-height:1.55;
}
.nico-family-support-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:14px;
}

@media(max-width:700px){
  #nico-family-support-button{
    right:12px;
    bottom:12px;
    padding:8px 14px 8px 8px;
  }
  .nico-family-support-logo{
    width:36px;
    height:36px;
  }
  #nico-family-support-modal{
    padding:7px;
    align-items:flex-end;
  }
  .nico-family-support-card{
    border-radius:19px 19px 0 0;
    max-height:89vh;
  }
  .nico-family-support-body{padding:17px}
  .nico-family-support-body h2{font-size:22px}
  .nico-family-support-user{
    align-items:flex-start;
    flex-direction:column;
  }
  .nico-family-support-user b{text-align:left}
  .nico-family-support-field input,
  .nico-family-support-field textarea{
    font-size:16px;
  }
}
