.lhq-wrap{
  --lhq-surface: #ffffff;
  --lhq-border: rgba(0,0,0,.08);
  --lhq-text: #6b6c6c;

  --lhq-primary: #EA2CB3;
  --lhq-secondary: #3f78fe;
  --lhq-tertiary: #a855f7;

  font-family: inherit;
  color: var(--lhq-text);
}

.lhq-card{
  background: transparent;
  border: 0;
  padding: 0;
  max-width: 980px;
  margin: 0 auto;
}

.lhq-field{ margin-bottom: 14px; position: relative; }
.lhq-label{
  display:block;
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--lhq-text);
}

.lhq-input{
  width: 100%;
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: 15px;
  padding: 12px 14px;
  color: var(--lhq-text);
  outline: none;
}

.lhq-input:focus{
  border-color: rgba(63,120,254,.35);
  box-shadow: 0 0 0 4px rgba(63,120,254,.15);
}

.lhq-input[readonly]{
  opacity: .75;
  cursor: pointer;
}

.lhq-dropdown{
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 8px);
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: 15px;
  overflow: hidden;
  display: none;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.lhq-dropdown.is-open{ display: block; }

.lhq-dd-item{
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--lhq-text);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
}
.lhq-dd-item:hover{ background: rgba(63,120,254,.08); }

.lhq-output{ margin-top: 10px; }
.lhq-selected{
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--lhq-secondary);
}

.lhq-codewrap{
  border: 1px solid var(--lhq-border);
  border-radius: 18px;
  background: var(--lhq-surface);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.lhq-code{
  margin: 0;
  padding: 16px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
  overflow: auto;
  max-height: 540px;
  color: var(--lhq-text);
  background: #ffffff;
}

.lhq-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lhq-primary);
  border: 0;
  color: #ffffff;
  font-weight: 700;
  border-radius: 15px;
  padding: 11px 16px;
  cursor: pointer;
  margin: 14px 14px 0;
  text-decoration: none;
}

.lhq-btn:hover{
  color: #ffffff;
  filter: brightness(0.98);
}

.lhq-btn:disabled{
  opacity: .55;
  cursor: not-allowed;
}

.lhq-btn-secondary{
  background: rgba(63,120,254,.10);
  color: var(--lhq-secondary);
  border: 1px solid rgba(63,120,254,.20);
}

.lhq-btn-secondary:hover{
  color: var(--lhq-secondary);
  filter: none;
}

/* Modal */
.lhq-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lhq-modal.is-open{ display: block; }

.lhq-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.lhq-modal-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, calc(100% - 24px));
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}

.lhq-modal-panel h5{
  margin: 0 0 10px;
  color: var(--lhq-secondary);
}

.lhq-modal-panel p{
  margin: 0 0 10px;
  color: var(--lhq-text);
  font-size: 14px;
  line-height: 1.6;
}

.lhq-list{
  margin: 0 0 12px 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lhq-text);
}
.lhq-list li{ margin: 0 0 4px; }

.lhq-info{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #166534;
}
.lhq-info-ico{ line-height: 1.4; }

.lhq-modal-actions{
  display:flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.lhq-modal-actions .lhq-btn{ margin: 0; }
