.hl-wrap {
  width: 100%;
  max-width: 720px;
  padding: 4px 0 28px;
  box-sizing: border-box;
}

.hl-form {
  max-width: 560px;
}

.hl-field {
  margin-bottom: 16px;
}

.hl-label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.hl-input,
.hl-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.hl-input:focus,
.hl-search:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.hl-dd {
  position: relative;
}

.hl-dd-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 32px 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.hl-dd-btn:focus,
.hl-dd.is-open .hl-dd-btn {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.hl-dd-panel {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.hl-dd-panel[hidden] {
  display: none;
}

.hl-search {
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 14px;
}

.hl-dd-list {
  overflow: auto;
  max-height: 220px;
}

.hl-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  color: #111827;
  text-align: left;
  cursor: pointer;
}

.hl-opt:hover,
.hl-opt.is-on {
  background: #eff6ff;
}

.hl-opt input {
  margin: 0;
}

.hl-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  font-size: 15px;
  color: #111827;
  cursor: pointer;
}

.hl-check input {
  width: 16px;
  height: 16px;
}

.hl-actions {
  margin: 0 0 14px;
}

.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}

.hl-btn-primary {
  background: #22c55e;
  color: #fff;
}

.hl-btn-primary:hover {
  background: #16a34a;
}

.hl-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.hl-error {
  margin: 0 0 12px;
  font-size: 14px;
  color: #dc2626;
}

.hl-result {
  margin: 8px 0 20px;
  overflow-x: auto;
}

.hl-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.hl-table th,
.hl-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
  font-size: 14px;
  color: #111827;
  vertical-align: middle;
}

.hl-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.hl-table tbody tr:last-child td {
  border-bottom: none;
}

.hl-intro {
  margin-top: 8px;
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.hl-intro h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.hl-intro p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
}

.hl-intro p:last-child {
  margin-bottom: 0;
}
