.qg-widget {
  width: 304px;
  min-height: 78px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  background: #f9f9f9;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 8px;
  box-sizing: border-box;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}
.qg-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 12px 8px;
  cursor: pointer;
  color: #000;
  font-size: 14px;
}
.qg-box {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #1c8c3a;
  flex: 0 0 auto;
}
.qg-widget[data-state="checking"] .qg-box {
  border-color: #1a73e8;
  border-top-color: transparent;
  border-radius: 50%;
  animation: qg-spin 0.8s linear infinite;
}
.qg-widget[data-state="error"] .qg-box {
  color: #b00020;
  border-color: #b00020;
}
.qg-label { text-align: left; }
.qg-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 1px;
  margin-left: 8px;
  user-select: none;
}
.qg-mark {
  width: 32px;
  height: 32px;
  display: block;
}
.qg-badge { fill: #1f4e79; }
.qg-q { fill: #fff; }
.qg-tail {
  fill: none;
  stroke: #3dbe7a;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.qg-name {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #1f4e79;
}
.qg-dark {
  background: #1e1e1e;
  border-color: #444;
  color: #fff;
}
.qg-dark .qg-hit { color: #fff; }
.qg-dark .qg-box { background: #111; border-color: #777; }
.qg-dark .qg-badge { fill: #d5e6f5; }
.qg-dark .qg-q { fill: #17324d; }
.qg-dark .qg-tail { stroke: #1f8a4a; }
.qg-dark .qg-name { color: #d5e6f5; }
@keyframes qg-spin { to { transform: rotate(360deg); } }
